browserstack-node-sdk 1.43.0 → 1.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) 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/accessibilityRetryHelper.js +1 -1
  128. package/src/helpers/accessibility-automation/constants.js +1 -1
  129. package/src/helpers/accessibility-automation/helper.js +1 -1
  130. package/src/helpers/accessibility-automation/scripts.js +1 -1
  131. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  132. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  133. package/src/helpers/ats/constants.js +1 -1
  134. package/src/helpers/ats/helper.js +1 -1
  135. package/src/helpers/capsMapping.js +1 -1
  136. package/src/helpers/central-scanner/constants.js +1 -1
  137. package/src/helpers/central-scanner/helpers.js +1 -1
  138. package/src/helpers/classLogger.js +1 -1
  139. package/src/helpers/globals.js +1 -1
  140. package/src/helpers/helper.js +1 -1
  141. package/src/helpers/logger.js +1 -1
  142. package/src/helpers/metadata.js +1 -1
  143. package/src/helpers/patchHelper.js +1 -1
  144. package/src/helpers/patchHelpers.js +1 -1
  145. package/src/helpers/percy/Percy.js +1 -1
  146. package/src/helpers/percy/PercyBinary.js +1 -1
  147. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  148. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  149. package/src/helpers/percy/PercySDK.js +1 -1
  150. package/src/helpers/percy/index.js +1 -1
  151. package/src/helpers/percy/utils.js +1 -1
  152. package/src/helpers/performance/constants.js +1 -1
  153. package/src/helpers/performance/performance-tester.js +1 -1
  154. package/src/helpers/playwright-helper.js +1 -1
  155. package/src/helpers/processHelper.js +1 -1
  156. package/src/helpers/request-spy.js +1 -1
  157. package/src/helpers/setKeepAlive.js +1 -1
  158. package/src/helpers/test-observability/constants.js +1 -1
  159. package/src/helpers/test-observability/error-handler.js +1 -1
  160. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  161. package/src/helpers/test-observability/sessionHandler.js +1 -1
  162. package/src/helpers/test-observability/utils.js +1 -1
  163. package/src/helpers/test-orchestration/constants.js +1 -1
  164. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  165. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  166. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  167. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  168. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  169. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  170. package/src/helpers/testhub/constants.js +1 -1
  171. package/src/helpers/testhub/testhubHandler.js +1 -1
  172. package/src/helpers/testhub/utils.js +1 -1
  173. package/src/helpers/timeoutPromise.js +1 -1
  174. package/src/helpers/utilities.js +1 -1
  175. package/src/helpers/w3cMapping.js +1 -1
  176. package/src/hubAllocationMethods.js +1 -1
  177. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x154cb8=a10_0x4f56;(function(_0x2104e9,_0x3883af){const _0x4681ae=a10_0x4f56,_0x936da8=_0x2104e9();while(!![]){try{const _0x240904=-parseInt(_0x4681ae(0x137))/0x1+parseInt(_0x4681ae(0xcc))/0x2+parseInt(_0x4681ae(0x136))/0x3*(parseInt(_0x4681ae(0xa0))/0x4)+-parseInt(_0x4681ae(0x124))/0x5+parseInt(_0x4681ae(0xc3))/0x6+-parseInt(_0x4681ae(0x118))/0x7+parseInt(_0x4681ae(0xa1))/0x8;if(_0x240904===_0x3883af)break;else _0x936da8['push'](_0x936da8['shift']());}catch(_0x599794){_0x936da8['push'](_0x936da8['shift']());}}}(a10_0x5ebc,0x71379));const path=require(a10_0x154cb8(0x9c)),util=require(a10_0x154cb8(0x10b)),hooksMap={},SessionHandler=require(a10_0x154cb8(0xd5)),testhubUtils=require(a10_0x154cb8(0xe6)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x154cb8(0x101)),logger=require(a10_0x154cb8(0xa7))[a10_0x154cb8(0xdd)],{o11yClassErrorHandler}=require(a10_0x154cb8(0x107)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a10_0x154cb8(0xe7));this['_gitConfigured']=![],this[a10_0x154cb8(0x125)]=null;function a10_0x5ebc(){const _0x3f056c=['testCaseFinished','UnhandledError','../../helpers/test-observability/sessionHandler','uri','join','cucumber','xWgZx','jlaSx','FAILED','CxtQb','winstonLogger','fdCrY','hhngm','OVSig','TJzAh','failure_type','message','DYudN','hookId','../../helpers/testhub/utils','../playwright/reporter/test-details','zpgvM','RiPvT','every','testCaseStartedId','find','hYIUd','nanos','feature','getHookResult','cells','javascript','ZHhfG','tZLZc','tzSnF','iUzgR','failure_reason','getTestUUID','backtrace','QGrnf','TgQTf','Qjjni','Exception\x20in\x20sendHook:\x20','jKXKP','hook','unknown','../../helpers/helper','failureType','result','eUOMK','hooks','astNodeIds','../../helpers/test-observability/error-handler','tagExpression','tags','CUCUMBER','util','format','filter','toLowerCase','Exception\x20in\x20getHookRunEventData:\x20','BaKQS','LNpfK','ISghp','CRYKV','SKIPPED','status','oREri','configureGit','4557189IscsRW','updateTestStatus','pihik','examples','pickleStepId','rule','failure_data','REaCk','getScenarioExamples','sourceReference','map','failed','760645qLNEAr','_gitConfigPath','name','duration_in_ms','toString','uploadEventData','sendHook','testStepResult','strip-ansi','test_run','rYxrp','tableBody','GHbLi','split','pending','AFTER_EACH','flatMap','event_type','6ovrWoP','476284xhwwuA','appendTesthubParams','test','iUenW','gOWlF','path','value','uDWne','CrPbO','1563932USLwml','3349312igGCKA','BEFORE_EACH','1|2|3|0|4','tYQeq','sendTestRunEventForCucumber','length','../../helpers/logger','JJKRo','failureData','children','AwGjr','match','grQzG','TXyJx','finished_at','ZJbct','wSNSk','debug','root','_gitConfigured','exception','getHooksListForTest','Vsgll','getHookRunEventData','yDaWM','XNNcq','wlWho','HFpuj','forEach','HookRunFinished','xvlbs','push','scenario','sLYsq','2494056pGjqoI','kxtIy','AssertionError','testStepFinished','roEjr','failure','odnIf','passed','getCucumberHookType','253742SIPyNf','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','exports','uuid','relative','includes','toISOString'];a10_0x5ebc=function(){return _0x3f056c;};return a10_0x5ebc();}function a10_0x4f56(_0x43760e,_0x33b206){const _0x5ebc62=a10_0x5ebc();return a10_0x4f56=function(_0x4f568c,_0x193255){_0x4f568c=_0x4f568c-0x9b;let _0x1f29a9=_0x5ebc62[_0x4f568c];return _0x1f29a9;},a10_0x4f56(_0x43760e,_0x33b206);}class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x172008,_0x13e4a0,_0x1be914,_0x6e81b1,_0xe88c09){const _0x40b50f=a10_0x154cb8,_0x48485d={'hYIUd':function(_0x4c5de5,_0x28c8ba){return _0x4c5de5===_0x28c8ba;},'VfcaQ':_0x40b50f(0xdb),'HFpuj':'failed','DYudN':function(_0xb03c8e,_0x3b9234){return _0xb03c8e===_0x3b9234;},'tYQeq':_0x40b50f(0x114),'CrPbO':'skipped','eUOMK':function(_0x1c9120,_0x36e724){return _0x1c9120||_0x36e724;},'iUenW':function(_0x2ba0e0,_0x5d49a4){return _0x2ba0e0+_0x5d49a4;},'CRYKV':_0x40b50f(0x139),'jlaSx':_0x40b50f(0xf2),'wSNSk':_0x40b50f(0xd8),'xFHGu':'pending','AwGjr':_0x40b50f(0xca),'OVSig':function(_0x1e152a,_0x10e3cf){return _0x1e152a!==_0x10e3cf;},'CxtQb':function(_0x2f6589,_0x11a34e){return _0x2f6589/_0x11a34e;},'XNNcq':_0x40b50f(0x12c),'wlWho':function(_0x2fd453,_0x176b5c){return _0x2fd453(_0x176b5c);},'MrHPg':_0x40b50f(0x100),'ZHhfG':'AssertionError','GHbLi':_0x40b50f(0xd4),'roEjr':'TestRunFinished','BjHWv':function(_0x5dd219,_0xb737ea){return _0x5dd219>_0xb737ea;}},{feature:_0x155267,scenario:_0x2782bc,steps:_0x5727ec,uuid:_0x2e7e1e,startedAt:_0x42194a,finishedAt:_0x41c7a1}=_0x48485d[_0x40b50f(0x104)](_0xe88c09,{}),_0x198add=this[_0x40b50f(0x120)](_0x13e4a0,_0x1be914);await this[_0x40b50f(0x117)]();const _0x1ed671=_0x198add?_0x48485d[_0x40b50f(0x13a)](_0x48485d[_0x40b50f(0x13a)](_0x48485d[_0x40b50f(0x13a)](_0x1be914['name'],'\x20('),_0x198add[_0x40b50f(0xd7)](',\x20')),')'):_0x1be914[_0x40b50f(0x126)],_0x2f4a82={'uuid':_0x2e7e1e,'started_at':_0x42194a,'finished_at':_0x41c7a1,'type':_0x48485d[_0x40b50f(0x113)],'body':{'lang':_0x48485d[_0x40b50f(0xda)],'code':null},'name':_0x1ed671,'scopes':[_0x155267&&_0x155267[_0x40b50f(0x126)]?_0x155267['name']:''],'tags':_0x1be914[_0x40b50f(0x109)]?_0x1be914[_0x40b50f(0x109)][_0x40b50f(0x122)](({name:_0x3a0cf7})=>_0x3a0cf7):[],'file_name':_0x1be914[_0x40b50f(0xd6)],'location':_0x1be914[_0x40b50f(0xd6)],'vc_filepath':this[_0x40b50f(0x125)]&&_0x1be914[_0x40b50f(0xd6)]?path['relative'](this[_0x40b50f(0x125)],_0x1be914[_0x40b50f(0xd6)]):null,'framework':_0x48485d[_0x40b50f(0xb1)],'result':_0x48485d['xFHGu'],'meta':{'feature':_0x155267,'scenario':_0x2782bc,'steps':_0x5727ec,'examples':_0x198add},'customRerunParam':{'rerun_name':_0x1ed671}};if(_0x172008[_0x40b50f(0xd3)]&&_0x5727ec){const _0x495267=_0x172008[_0x40b50f(0xd3)];let _0x234687=_0x48485d[_0x40b50f(0xab)];_0x5727ec[_0x40b50f(0xea)](_0xfb96cc=>{const _0x3e1a84=_0x40b50f;if(_0x48485d[_0x3e1a84(0xed)](_0xfb96cc['result'],_0x48485d['VfcaQ']))return _0x234687=_0x48485d[_0x3e1a84(0xbc)],_0x495267['failure']=_0xfb96cc[_0x3e1a84(0xc8)],_0x495267[_0x3e1a84(0x102)]=_0xfb96cc[_0x3e1a84(0x102)],![];else{if(_0x48485d[_0x3e1a84(0xe4)](_0xfb96cc[_0x3e1a84(0x103)],_0x48485d[_0x3e1a84(0xa4)]))return _0x234687=_0x48485d[_0x3e1a84(0x9f)],![];}return!![];}),_0x2f4a82['finished_at']=new Date()[_0x40b50f(0xd2)](),_0x2f4a82['result']=_0x234687;_0x495267['timestamp']&&_0x48485d[_0x40b50f(0xe0)](_0x495267['timestamp']['nanos'],undefined)?_0x2f4a82['duration_in_ms']=_0x48485d[_0x40b50f(0xdc)](_0x495267['timestamp'][_0x40b50f(0xee)],0xf4240):_0x2f4a82[_0x40b50f(0x127)]=undefined;if(_0x48485d[_0x40b50f(0xe4)](_0x234687,_0x48485d[_0x40b50f(0xbc)])){const {default:_0x1734f7}=await import(_0x48485d[_0x40b50f(0xba)]);_0x2f4a82[_0x40b50f(0xc8)]=[{'backtrace':[_0x495267[_0x40b50f(0xc8)]?_0x48485d[_0x40b50f(0xbb)](_0x1734f7,_0x495267[_0x40b50f(0xc8)]):_0x48485d['MrHPg']]}],_0x2f4a82[_0x40b50f(0xf7)]=_0x495267[_0x40b50f(0xc8)]?_0x48485d[_0x40b50f(0xbb)](_0x1734f7,_0x495267['failure']):_0x495267[_0x40b50f(0xe3)],_0x495267['failureType']&&(_0x2f4a82[_0x40b50f(0xe2)]=_0x495267[_0x40b50f(0x102)][_0x40b50f(0xac)](/AssertError/)?_0x48485d[_0x40b50f(0xf3)]:_0x48485d[_0x40b50f(0x130)]);}}if(_0x48485d[_0x40b50f(0xe4)](_0x6e81b1,_0x48485d[_0x40b50f(0xc7)])){const _0x4a9a83=this[_0x40b50f(0xb6)](_0x172008[_0x40b50f(0xd3)][_0x40b50f(0xeb)]);_0x4a9a83&&_0x48485d['BjHWv'](_0x4a9a83['length'],0x0)&&(_0x2f4a82['hooks']=_0x4a9a83,this[_0x40b50f(0x119)](_0x172008['testCaseFinished'][_0x40b50f(0xeb)],_0x2f4a82));}testhubUtils[_0x40b50f(0x138)](_0x2f4a82,_0x6e81b1,'',FRAMEWORKS[_0x40b50f(0x10a)]);const _0x3eb25d={};_0x3eb25d[_0x40b50f(0x135)]=_0x6e81b1,_0x3eb25d[_0x40b50f(0x12d)]=_0x2f4a82;const _0x4fb7ca=_0x3eb25d;await SessionHandler[_0x40b50f(0x129)](_0x4fb7ca);}['updateTestStatus'](_0x962909,_0x44cd08){const _0x2cbb=a10_0x154cb8,_0x3bd538={};_0x3bd538[_0x2cbb(0x111)]=function(_0x460a06,_0x5eb198){return _0x460a06 instanceof _0x5eb198;},_0x3bd538['BaKQS']=function(_0x5d57c8,_0x2adee1){return _0x5d57c8===_0x2adee1;},_0x3bd538[_0x2cbb(0xd9)]=_0x2cbb(0x123),_0x3bd538[_0x2cbb(0xdf)]=_0x2cbb(0xa3);const _0x1c5ad5=_0x3bd538,_0x5270da=hooksMap[_0x962909];if(_0x1c5ad5[_0x2cbb(0x111)](_0x5270da,Array))for(const _0x3bc3a1 of _0x5270da){if(_0x1c5ad5[_0x2cbb(0x110)](_0x3bc3a1[_0x2cbb(0x103)],_0x1c5ad5[_0x2cbb(0xd9)])){const _0x186c47=_0x1c5ad5[_0x2cbb(0xdf)][_0x2cbb(0x131)]('|');let _0x1d7c65=0x0;while(!![]){switch(_0x186c47[_0x1d7c65++]){case'0':_0x44cd08[_0x2cbb(0xe2)]=_0x3bc3a1['failure_type'];continue;case'1':_0x44cd08[_0x2cbb(0x103)]=_0x3bc3a1[_0x2cbb(0x103)];continue;case'2':_0x44cd08[_0x2cbb(0xc8)]=_0x3bc3a1[_0x2cbb(0x11e)];continue;case'3':_0x44cd08['failure_reason']=_0x1c5ad5[_0x2cbb(0x111)](_0x3bc3a1['failure_data'],Array)?_0x3bc3a1['failure_data'][0x0]['backtrace']['join']('\x0a'):'';continue;case'4':return _0x44cd08;}break;}}};}['getHooksListForTest'](_0x176b7f){const _0x3369b2=a10_0x154cb8;if(hooksMap[_0x176b7f])return hooksMap[_0x176b7f][_0x3369b2(0x122)](_0x3285b0=>_0x3285b0['uuid']);return[];}[a10_0x154cb8(0xb8)](_0x365cf1,_0x4c8112,_0x2253c3,_0x483310,_0x1ea35e,_0x43b763){const _0x505732=a10_0x154cb8,_0x12c571={'UiDNR':function(_0x2665a2,_0x337edb){return _0x2665a2===_0x337edb;},'Vsgll':_0x505732(0xbe),'sLYsq':function(_0x48e9ff,_0x32f7fc,_0x452a92){return _0x48e9ff(_0x32f7fc,_0x452a92);},'iUzgR':_0x505732(0x121),'RiPvT':_0x505732(0xd6),'yDaWM':_0x505732(0x132),'tZLZc':_0x505732(0xff),'glghI':_0x505732(0xf2),'fdCrY':function(_0x4a6f45,_0x14f0d8,_0x552fe5){return _0x4a6f45(_0x14f0d8,_0x552fe5);},'kxtIy':_0x505732(0xef),'TJzAh':_0x505732(0x126),'REaCk':_0x505732(0xd8)};try{if(_0x12c571['UiDNR'](_0x2253c3,_0x12c571[_0x505732(0xb7)])){const _0x50c092=new Date()['toISOString'](),_0x5d9d85=hooksMap[_0x4c8112];if(!_0x5d9d85)return;const _0x35425a=_0x5d9d85['find'](_0x27a1d5=>_0x27a1d5[_0x505732(0xcf)]===_0x483310['id']);if(!_0x35425a)return;const _0x38a0c1=this[_0x505732(0xf0)](_0x365cf1,_0x4c8112);_0x35425a[_0x505732(0x103)]=_0x38a0c1[_0x505732(0x115)],_0x35425a[_0x505732(0xaf)]=_0x50c092,_0x35425a[_0x505732(0xe2)]=_0x38a0c1[_0x505732(0x102)];const _0x5431b7={};return _0x5431b7[_0x505732(0xf9)]=_0x38a0c1[_0x505732(0xa9)],_0x35425a['failure_data']=[_0x5431b7],_0x35425a;}const _0x12d439=TestDetails[_0x505732(0xf8)](_0x4c8112),_0x50acb3=_0x365cf1[_0x505732(0x105)][_0x505732(0xec)](_0x44c4dc=>_0x44c4dc['id']===_0x483310[_0x505732(0xe5)]),_0x8e1b80=_0x12c571[_0x505732(0xc2)](nestedKeyValue,_0x50acb3,[_0x12c571[_0x505732(0xf6)],_0x12c571[_0x505732(0xe9)]]),_0x446e81=new Date()[_0x505732(0xd2)](),_0x41650a=_0x12c571[_0x505732(0xb9)],_0x46d743=_0x50acb3[_0x505732(0x108)]?_0x50acb3[_0x505732(0x108)][_0x505732(0x131)]('\x20')[_0x505732(0x10d)](_0xe2fc06=>_0xe2fc06[_0x505732(0xd1)]('@')):[],_0x2c31e4={'uuid':_0x483310['id'],'type':_0x12c571[_0x505732(0xf4)],'hook_type':_0x43b763,'name':_0x50acb3[_0x505732(0x126)],'body':{'lang':_0x12c571['glghI'],'code':null},'tags':_0x46d743,'test_run_id':_0x12d439,'scope':_0x12c571[_0x505732(0xde)](nestedKeyValue,_0x1ea35e,[_0x12c571['kxtIy'],_0x12c571[_0x505732(0xe1)]]),'scopes':[_0x12c571[_0x505732(0xde)](nestedKeyValue,_0x1ea35e,[_0x12c571[_0x505732(0xc4)],_0x12c571[_0x505732(0xe1)]])||''],'file_name':_0x8e1b80,'location':_0x8e1b80,'vc_filepath':this[_0x505732(0x125)]?path[_0x505732(0xd0)](this['_gitConfigPath'],_0x8e1b80):null,'result':_0x41650a,'started_at':_0x446e81,'framework':_0x12c571[_0x505732(0x11f)]};return _0x2c31e4;}catch(_0x3d4df3){logger[_0x505732(0xb2)](_0x505732(0x10f)+util[_0x505732(0x10c)](_0x3d4df3)+'\x20');}}async[a10_0x154cb8(0x12a)](_0x1c8aea,_0x150cc0,_0x9d2263,_0xe53441,_0x1653a9,_0x4fcbc5){const _0x3083d3=a10_0x154cb8,_0x7c86a9={'oREri':function(_0x589f69,_0x3fa285){return _0x589f69===_0x3fa285;},'tzSnF':'HookRunStarted','jKXKP':function(_0x2afad5,_0x476815,_0x559634){return _0x2afad5(_0x476815,_0x559634);},'pihik':_0x3083d3(0x121),'ZJbct':_0x3083d3(0xd6),'TXyJx':_0x3083d3(0xcd)};try{const _0x53298e=_0xe53441[_0x3083d3(0xec)](_0x3966bb=>_0x3966bb['id']===_0x1653a9);if(!_0x53298e[_0x3083d3(0xe5)])return;const _0xc7c042=this[_0x3083d3(0xcb)](_0xe53441,_0x53298e),_0x5e6438=this[_0x3083d3(0xb8)](_0x1c8aea,_0x150cc0,_0x9d2263,_0x53298e,_0x4fcbc5,_0xc7c042);if(!_0x5e6438)return;_0x7c86a9[_0x3083d3(0x116)](_0x9d2263,_0x7c86a9[_0x3083d3(0xf5)])&&(hooksMap[_0x150cc0]?hooksMap[_0x150cc0][_0x3083d3(0xc0)](_0x5e6438):hooksMap[_0x150cc0]=[_0x5e6438]);const _0x2699ed=_0x1c8aea[_0x3083d3(0x105)][_0x3083d3(0xec)](_0x6c90ef=>_0x6c90ef['id']===_0x53298e[_0x3083d3(0xe5)]),_0x25959e=_0x7c86a9[_0x3083d3(0xfe)](nestedKeyValue,_0x2699ed,[_0x7c86a9[_0x3083d3(0x11a)],_0x7c86a9[_0x3083d3(0xb0)]]);if(!_0x25959e)return;else{if(_0x25959e[_0x3083d3(0xd1)](_0x7c86a9[_0x3083d3(0xae)]))return;}const _0x4e2226={};_0x4e2226[_0x3083d3(0x135)]=_0x9d2263,_0x4e2226['hook_run']=_0x5e6438;const _0x4961ed=_0x4e2226;await SessionHandler[_0x3083d3(0x129)](_0x4961ed);}catch(_0x5d2704){logger['debug'](_0x3083d3(0xfd)+util[_0x3083d3(0x10c)](_0x5d2704)+'\x20');}}[a10_0x154cb8(0xf0)](_0x5a704a,_0xb53e06){const _0x194a83=a10_0x154cb8,_0x49eea3={};_0x49eea3[_0x194a83(0x112)]=function(_0x1d8392,_0x31e1d2){return _0x1d8392===_0x31e1d2;},_0x49eea3[_0x194a83(0xe8)]='failed',_0x49eea3[_0x194a83(0xbf)]=function(_0x416926,_0x3a7eb5){return _0x416926===_0x3a7eb5;},_0x49eea3['rYxrp']=function(_0x32fb43,_0x2483dc){return _0x32fb43===_0x2483dc;},_0x49eea3[_0x194a83(0xfc)]=_0x194a83(0xd4),_0x49eea3[_0x194a83(0xfb)]=_0x194a83(0xc5),_0x49eea3[_0x194a83(0x9b)]=function(_0x3188f6,_0x4d476d){return _0x3188f6||_0x4d476d;};const _0x212d41=_0x49eea3,_0x47452e=_0x5a704a[_0x194a83(0xc6)][_0xb53e06][_0x194a83(0x12b)];let _0x3fe81b,_0x16c55b;return _0x47452e&&_0x212d41['ISghp'](_0x47452e[_0x194a83(0x115)][_0x194a83(0x128)]()[_0x194a83(0x10e)](),_0x212d41[_0x194a83(0xe8)])&&(_0x3fe81b=_0x212d41[_0x194a83(0xbf)](_0x47452e[_0x194a83(0xb5)],undefined)?_0x47452e[_0x194a83(0xe3)]:_0x47452e[_0x194a83(0xb5)]['message'],_0x16c55b=_0x212d41[_0x194a83(0x12e)](_0x47452e[_0x194a83(0xb5)],undefined)?_0x212d41['Qjjni']:_0x47452e[_0x194a83(0xe3)][_0x194a83(0xac)](/Assert/)?_0x212d41[_0x194a83(0xfb)]:_0x212d41['Qjjni']),{'status':_0x47452e['status']['toLowerCase'](),'failureType':_0x212d41[_0x194a83(0x9b)](_0x16c55b,null),'failureData':!_0x3fe81b?null:[_0x3fe81b]};}[a10_0x154cb8(0xcb)](_0x4bbc6c,_0x1b6e69){const _0x5547a3=a10_0x154cb8,_0x1b5af0={};_0x1b5af0[_0x5547a3(0xad)]=function(_0x25d905,_0x4112db){return _0x25d905===_0x4112db;},_0x1b5af0['uDWne']=_0x5547a3(0x133),_0x1b5af0['odnIf']=_0x5547a3(0xa2);const _0x876c8f=_0x1b5af0;let _0x45d93e=![];for(const _0x393144 of _0x4bbc6c){_0x393144[_0x5547a3(0x11c)]&&(_0x45d93e=!![]);if(_0x876c8f[_0x5547a3(0xad)](_0x1b6e69['id'],_0x393144['id']))return _0x45d93e?_0x876c8f[_0x5547a3(0x9e)]:_0x876c8f[_0x5547a3(0xc9)];}}[a10_0x154cb8(0x120)]=(_0x4ed6bc,_0x410782)=>{const _0x5ed6c4=a10_0x154cb8,_0x400db2={};_0x400db2[_0x5ed6c4(0xfa)]=function(_0x47d218,_0xc3c74c){return _0x47d218===_0xc3c74c;},_0x400db2[_0x5ed6c4(0xa8)]=function(_0x2b4c84,_0x232734){return _0x2b4c84===_0x232734;},_0x400db2['HSkQB']=function(_0x560b52,_0xad20e5){return _0x560b52>_0xad20e5;};const _0x90ce92=_0x400db2;if(!(_0x410782[_0x5ed6c4(0x106)]&&_0x90ce92['HSkQB'](_0x410782[_0x5ed6c4(0x106)]['length'],0x1)))return;const _0x55366a=_0x410782[_0x5ed6c4(0x106)][0x0],_0x12c21a=_0x410782[_0x5ed6c4(0x106)][0x1],_0x52e637=_0x4ed6bc[_0x5ed6c4(0xef)]&&_0x4ed6bc[_0x5ed6c4(0xef)]['children']?_0x4ed6bc[_0x5ed6c4(0xef)]['children']:undefined;let _0xc6e115=[];_0x52e637&&_0x52e637[_0x5ed6c4(0xbd)](_0x52fd0b=>{const _0x15f617=_0x5ed6c4;if(_0x52fd0b[_0x15f617(0x11d)])_0x52fd0b[_0x15f617(0x11d)][_0x15f617(0xaa)]['forEach'](_0x67cefc=>{const _0x239ccc=_0x15f617;if(_0x67cefc[_0x239ccc(0xc1)]&&_0x90ce92[_0x239ccc(0xfa)](_0x67cefc[_0x239ccc(0xc1)]['id'],_0x55366a)&&_0x67cefc[_0x239ccc(0xc1)]['examples']){const _0x7f5fa2=_0x67cefc['scenario'][_0x239ccc(0x11b)][_0x239ccc(0x134)](_0x49f575=>_0x49f575[_0x239ccc(0x12f)])['find'](_0x1f6400=>_0x1f6400['id']===_0x12c21a);let _0x382716;_0x7f5fa2&&_0x7f5fa2[_0x239ccc(0xf1)]?_0x382716=_0x7f5fa2['cells']['map'](_0x4a5cbf=>_0x4a5cbf['value']):_0x382716=[],_0x382716&&(_0xc6e115=_0x382716);}});else{if(_0x52fd0b[_0x15f617(0xc1)]&&_0x90ce92[_0x15f617(0xa8)](_0x52fd0b[_0x15f617(0xc1)]['id'],_0x55366a)&&_0x52fd0b['scenario']['examples']){const _0x4f4e30=_0x52fd0b['scenario'][_0x15f617(0x11b)][_0x15f617(0x134)](_0x50979a=>_0x50979a['tableBody'])[_0x15f617(0xec)](_0x146f65=>_0x146f65['id']===_0x12c21a);let _0x70c938;_0x4f4e30&&_0x4f4e30['cells']?_0x70c938=_0x4f4e30[_0x15f617(0xf1)][_0x15f617(0x122)](_0x4295f8=>_0x4295f8[_0x15f617(0x9d)]):_0x70c938=[],_0x70c938&&(_0xc6e115=_0x70c938);}}});if(_0xc6e115[_0x5ed6c4(0xa6)])return _0xc6e115;return;};async[a10_0x154cb8(0x117)](){const _0x2c5974=a10_0x154cb8,_0x453af2={'TcJkx':function(_0x24e6db){return _0x24e6db();}};if(this[_0x2c5974(0xb4)])return this['_gitConfigPath'];const _0x29ed4d=await _0x453af2['TcJkx'](getGitMetaData);_0x29ed4d&&(this[_0x2c5974(0x125)]=_0x29ed4d[_0x2c5974(0xb3)]),this[_0x2c5974(0xb4)]=!![];}}module[a10_0x154cb8(0xce)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x154cb8(0x117),'getScenarioExamples',a10_0x154cb8(0xcb),a10_0x154cb8(0xf0),a10_0x154cb8(0x12a),a10_0x154cb8(0xb8),a10_0x154cb8(0xa5)]);
1
+ function a10_0x2433(_0x124507,_0x1b3b23){const _0x5ed345=a10_0x5ed3();return a10_0x2433=function(_0x243354,_0xc63fe6){_0x243354=_0x243354-0xfa;let _0x455b81=_0x5ed345[_0x243354];return _0x455b81;},a10_0x2433(_0x124507,_0x1b3b23);}const a10_0x12de53=a10_0x2433;(function(_0x31c055,_0x35567d){const _0x406f7a=a10_0x2433,_0x57ebb5=_0x31c055();while(!![]){try{const _0x484ef1=-parseInt(_0x406f7a(0x162))/0x1*(-parseInt(_0x406f7a(0x10c))/0x2)+-parseInt(_0x406f7a(0x174))/0x3*(-parseInt(_0x406f7a(0x16c))/0x4)+parseInt(_0x406f7a(0x153))/0x5*(parseInt(_0x406f7a(0x130))/0x6)+parseInt(_0x406f7a(0xfa))/0x7*(parseInt(_0x406f7a(0x126))/0x8)+parseInt(_0x406f7a(0x18b))/0x9+parseInt(_0x406f7a(0x125))/0xa*(-parseInt(_0x406f7a(0x11c))/0xb)+-parseInt(_0x406f7a(0x123))/0xc*(-parseInt(_0x406f7a(0x10a))/0xd);if(_0x484ef1===_0x35567d)break;else _0x57ebb5['push'](_0x57ebb5['shift']());}catch(_0xb585b7){_0x57ebb5['push'](_0x57ebb5['shift']());}}}(a10_0x5ed3,0x64f65));const path=require(a10_0x12de53(0x13b)),util=require(a10_0x12de53(0x17f)),hooksMap={},SessionHandler=require(a10_0x12de53(0x157)),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x12de53(0xfe)),logger=require('../../helpers/logger')[a10_0x12de53(0x160)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a10_0x12de53(0x18e)),TestDetails=require('../playwright/reporter/test-details');this['_gitConfigured']=![],this[a10_0x12de53(0x12a)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x7511f4,_0xb83ad1,_0x1a57e7,_0x42ad74,_0x281741){const _0x4ab0b1=a10_0x12de53,_0x486d43={'YdJFg':function(_0x4c3299,_0x31742b){return _0x4c3299===_0x31742b;},'ZQXkM':_0x4ab0b1(0x107),'KxrRu':_0x4ab0b1(0x13e),'pfFVi':_0x4ab0b1(0x168),'MPyZO':_0x4ab0b1(0x16a),'DqAov':function(_0x2bff85,_0x1ad41a){return _0x2bff85||_0x1ad41a;},'wzlRq':function(_0x12b636,_0x2a2a08){return _0x12b636+_0x2a2a08;},'rWWOJ':function(_0x155196,_0x2e16e0){return _0x155196+_0x2e16e0;},'omxfh':function(_0x8247da,_0x5371d3){return _0x8247da+_0x5371d3;},'zpDEP':'test','hIVgD':_0x4ab0b1(0x14d),'crhbq':_0x4ab0b1(0x18c),'ZbOPe':_0x4ab0b1(0x193),'VWmSL':_0x4ab0b1(0xfd),'OaUqj':function(_0x4d90ca,_0x319aec){return _0x4d90ca!==_0x319aec;},'xrHsA':function(_0x45c696,_0x28ec0a){return _0x45c696/_0x28ec0a;},'lPxMN':function(_0x5d6051,_0x1a14b3){return _0x5d6051===_0x1a14b3;},'KEZMb':_0x4ab0b1(0x12f),'YMEmr':function(_0x24e396,_0x2d7be0){return _0x24e396(_0x2d7be0);},'ifLGV':_0x4ab0b1(0x120),'nYiln':_0x4ab0b1(0x14c),'jdfEQ':_0x4ab0b1(0x13f),'NDCqX':function(_0x47cf4d,_0x48daeb){return _0x47cf4d===_0x48daeb;},'Ahwkr':_0x4ab0b1(0x177),'gvjZv':function(_0x5d8914,_0xdf41aa){return _0x5d8914>_0xdf41aa;}},{feature:_0x28bd23,scenario:_0x7c1651,steps:_0x35368e,uuid:_0x328975,startedAt:_0x126776,finishedAt:_0x4b33b7}=_0x486d43[_0x4ab0b1(0x117)](_0x281741,{}),_0x16aad6=this[_0x4ab0b1(0x131)](_0xb83ad1,_0x1a57e7);await this[_0x4ab0b1(0x182)]();const _0x4a11ee=_0x16aad6?_0x486d43[_0x4ab0b1(0x128)](_0x486d43[_0x4ab0b1(0x15c)](_0x486d43[_0x4ab0b1(0x110)](_0x1a57e7[_0x4ab0b1(0x121)],'\x20('),_0x16aad6['join'](',\x20')),')'):_0x1a57e7[_0x4ab0b1(0x121)],_0x10b3e7={'uuid':_0x328975,'started_at':_0x126776,'finished_at':_0x4b33b7,'type':_0x486d43[_0x4ab0b1(0x164)],'body':{'lang':_0x486d43[_0x4ab0b1(0x18d)],'code':null},'name':_0x4a11ee,'scopes':[_0x28bd23&&_0x28bd23[_0x4ab0b1(0x121)]?_0x28bd23[_0x4ab0b1(0x121)]:''],'tags':_0x1a57e7[_0x4ab0b1(0x192)]?_0x1a57e7[_0x4ab0b1(0x192)][_0x4ab0b1(0x13c)](({name:_0x4119d0})=>_0x4119d0):[],'file_name':_0x1a57e7[_0x4ab0b1(0xfc)],'location':_0x1a57e7[_0x4ab0b1(0xfc)],'vc_filepath':this['_gitConfigPath']&&_0x1a57e7[_0x4ab0b1(0xfc)]?path[_0x4ab0b1(0x141)](this[_0x4ab0b1(0x12a)],_0x1a57e7[_0x4ab0b1(0xfc)]):null,'framework':_0x486d43[_0x4ab0b1(0x139)],'result':_0x486d43[_0x4ab0b1(0x12d)],'meta':{'feature':_0x28bd23,'scenario':_0x7c1651,'steps':_0x35368e,'examples':_0x16aad6},'customRerunParam':{'rerun_name':_0x4a11ee}};if(_0x7511f4[_0x4ab0b1(0x17e)]&&_0x35368e){const _0x5e7fa6=_0x7511f4['testCaseFinished'];let _0x135b52=_0x486d43[_0x4ab0b1(0x10e)];_0x35368e[_0x4ab0b1(0x118)](_0x53954d=>{const _0x39da1b=_0x4ab0b1;if(_0x486d43[_0x39da1b(0x129)](_0x53954d[_0x39da1b(0x17b)],_0x486d43[_0x39da1b(0x111)]))return _0x135b52=_0x486d43['KxrRu'],_0x5e7fa6[_0x39da1b(0x191)]=_0x53954d[_0x39da1b(0x191)],_0x5e7fa6[_0x39da1b(0x152)]=_0x53954d[_0x39da1b(0x152)],![];else{if(_0x486d43['YdJFg'](_0x53954d[_0x39da1b(0x17b)],_0x486d43[_0x39da1b(0x163)]))return _0x135b52=_0x486d43['MPyZO'],![];}return!![];}),_0x10b3e7[_0x4ab0b1(0x175)]=new Date()[_0x4ab0b1(0x11a)](),_0x10b3e7[_0x4ab0b1(0x17b)]=_0x135b52;_0x5e7fa6['timestamp']&&_0x486d43['OaUqj'](_0x5e7fa6[_0x4ab0b1(0x140)]['nanos'],undefined)?_0x10b3e7['duration_in_ms']=_0x486d43['xrHsA'](_0x5e7fa6['timestamp'][_0x4ab0b1(0x161)],0xf4240):_0x10b3e7['duration_in_ms']=undefined;if(_0x486d43[_0x4ab0b1(0x109)](_0x135b52,_0x486d43['KxrRu'])){const {default:_0x4682c5}=await import(_0x486d43[_0x4ab0b1(0x112)]);_0x10b3e7['failure']=[{'backtrace':[_0x5e7fa6[_0x4ab0b1(0x191)]?_0x486d43[_0x4ab0b1(0x143)](_0x4682c5,_0x5e7fa6['failure']):_0x486d43[_0x4ab0b1(0x12e)]]}],_0x10b3e7[_0x4ab0b1(0x11d)]=_0x5e7fa6[_0x4ab0b1(0x191)]?_0x486d43[_0x4ab0b1(0x143)](_0x4682c5,_0x5e7fa6[_0x4ab0b1(0x191)]):_0x5e7fa6[_0x4ab0b1(0x142)],_0x5e7fa6[_0x4ab0b1(0x152)]&&(_0x10b3e7[_0x4ab0b1(0x16f)]=_0x5e7fa6[_0x4ab0b1(0x152)][_0x4ab0b1(0x136)](/AssertError/)?_0x486d43['nYiln']:_0x486d43[_0x4ab0b1(0x17d)]);}}if(_0x486d43[_0x4ab0b1(0x187)](_0x42ad74,_0x486d43[_0x4ab0b1(0x186)])){const _0x199063=this[_0x4ab0b1(0x15e)](_0x7511f4[_0x4ab0b1(0x17e)][_0x4ab0b1(0x170)]);_0x199063&&_0x486d43[_0x4ab0b1(0x14a)](_0x199063[_0x4ab0b1(0x148)],0x0)&&(_0x10b3e7[_0x4ab0b1(0x190)]=_0x199063,this[_0x4ab0b1(0x132)](_0x7511f4[_0x4ab0b1(0x17e)][_0x4ab0b1(0x170)],_0x10b3e7));}testhubUtils['appendTesthubParams'](_0x10b3e7,_0x42ad74,'',FRAMEWORKS[_0x4ab0b1(0x10b)]);const _0x10ed30={};_0x10ed30[_0x4ab0b1(0x113)]=_0x42ad74,_0x10ed30['test_run']=_0x10b3e7;const _0x1ef876=_0x10ed30;await SessionHandler[_0x4ab0b1(0x10d)](_0x1ef876);}[a10_0x12de53(0x132)](_0x2a3c2c,_0x160df4){const _0xfcd418=a10_0x12de53,_0x21de02={};_0x21de02['amTDF']=function(_0x26062b,_0x392895){return _0x26062b instanceof _0x392895;},_0x21de02['ThLyf']=function(_0x568dc0,_0x4d6be1){return _0x568dc0===_0x4d6be1;},_0x21de02['pemol']=_0xfcd418(0x13e),_0x21de02[_0xfcd418(0x13a)]='0|1|2|4|3';const _0x153280=_0x21de02,_0xe0e24c=hooksMap[_0x2a3c2c];if(_0x153280['amTDF'](_0xe0e24c,Array))for(const _0x167dd8 of _0xe0e24c){if(_0x153280[_0xfcd418(0x114)](_0x167dd8[_0xfcd418(0x17b)],_0x153280[_0xfcd418(0x14b)])){const _0x52b784=_0x153280['yRGJc'][_0xfcd418(0x127)]('|');let _0xc12932=0x0;while(!![]){switch(_0x52b784[_0xc12932++]){case'0':_0x160df4[_0xfcd418(0x17b)]=_0x167dd8[_0xfcd418(0x17b)];continue;case'1':_0x160df4['failure']=_0x167dd8[_0xfcd418(0x14f)];continue;case'2':_0x160df4['failure_reason']=_0x153280['amTDF'](_0x167dd8[_0xfcd418(0x14f)],Array)?_0x167dd8[_0xfcd418(0x14f)][0x0][_0xfcd418(0x159)]['join']('\x0a'):'';continue;case'3':return _0x160df4;case'4':_0x160df4[_0xfcd418(0x16f)]=_0x167dd8[_0xfcd418(0x16f)];continue;}break;}}};}[a10_0x12de53(0x15e)](_0x5d97fb){const _0x7355e1=a10_0x12de53;if(hooksMap[_0x5d97fb])return hooksMap[_0x5d97fb][_0x7355e1(0x13c)](_0x5961d6=>_0x5961d6['uuid']);return[];}[a10_0x12de53(0xff)](_0x3f6407,_0x52f5db,_0x59c11d,_0x113bab,_0x550a36,_0x48085b){const _0x206c62=a10_0x12de53,_0x3c368b={'UDKVg':function(_0x21f268,_0x3ec405){return _0x21f268===_0x3ec405;},'MDEiJ':_0x206c62(0x171),'Crxbl':function(_0x1632e3,_0x24b003,_0x1ed029){return _0x1632e3(_0x24b003,_0x1ed029);},'RsEmU':_0x206c62(0x18a),'yJoqO':'uri','UphbJ':_0x206c62(0x193),'DegaG':_0x206c62(0x176),'CWfBW':_0x206c62(0x14d),'Xisga':function(_0x431270,_0x5ce0fc,_0x16666b){return _0x431270(_0x5ce0fc,_0x16666b);},'pLrhO':_0x206c62(0x12c),'EREMA':_0x206c62(0x121),'whcQI':function(_0x3deee6,_0x56f1af,_0x189045){return _0x3deee6(_0x56f1af,_0x189045);},'Icpjf':'cucumber'};try{if(_0x3c368b['UDKVg'](_0x59c11d,_0x3c368b['MDEiJ'])){const _0x91507b=new Date()[_0x206c62(0x11a)](),_0xac6a3a=hooksMap[_0x52f5db];if(!_0xac6a3a)return;const _0x2cdbbe=_0xac6a3a[_0x206c62(0x155)](_0x5b1601=>_0x5b1601[_0x206c62(0x116)]===_0x113bab['id']);if(!_0x2cdbbe)return;const _0x6fc7df=this[_0x206c62(0x17c)](_0x3f6407,_0x52f5db);_0x2cdbbe[_0x206c62(0x17b)]=_0x6fc7df['status'],_0x2cdbbe['finished_at']=_0x91507b,_0x2cdbbe[_0x206c62(0x16f)]=_0x6fc7df[_0x206c62(0x152)];const _0x33b200={};return _0x33b200['backtrace']=_0x6fc7df[_0x206c62(0x158)],_0x2cdbbe[_0x206c62(0x14f)]=[_0x33b200],_0x2cdbbe;}const _0x376763=TestDetails[_0x206c62(0x15b)](_0x52f5db),_0x1f2c92=_0x3f6407[_0x206c62(0x190)][_0x206c62(0x155)](_0x59dc16=>_0x59dc16['id']===_0x113bab['hookId']),_0xc9e027=_0x3c368b[_0x206c62(0x178)](nestedKeyValue,_0x1f2c92,[_0x3c368b[_0x206c62(0x11f)],_0x3c368b[_0x206c62(0x184)]]),_0x314751=new Date()['toISOString'](),_0x169fa7=_0x3c368b[_0x206c62(0x167)],_0x54833c=_0x1f2c92[_0x206c62(0x188)]?_0x1f2c92[_0x206c62(0x188)][_0x206c62(0x127)]('\x20')[_0x206c62(0x108)](_0x47c1ac=>_0x47c1ac[_0x206c62(0x134)]('@')):[],_0x5f47ce={'uuid':_0x113bab['id'],'type':_0x3c368b['DegaG'],'hook_type':_0x48085b,'name':_0x1f2c92[_0x206c62(0x121)],'body':{'lang':_0x3c368b[_0x206c62(0x165)],'code':null},'tags':_0x54833c,'test_run_id':_0x376763,'scope':_0x3c368b[_0x206c62(0x101)](nestedKeyValue,_0x550a36,[_0x3c368b[_0x206c62(0x144)],_0x3c368b[_0x206c62(0x138)]]),'scopes':[_0x3c368b['whcQI'](nestedKeyValue,_0x550a36,[_0x3c368b[_0x206c62(0x144)],_0x3c368b['EREMA']])||''],'file_name':_0xc9e027,'location':_0xc9e027,'vc_filepath':this[_0x206c62(0x12a)]?path[_0x206c62(0x141)](this[_0x206c62(0x12a)],_0xc9e027):null,'result':_0x169fa7,'started_at':_0x314751,'framework':_0x3c368b['Icpjf']};return _0x5f47ce;}catch(_0x4429bd){logger[_0x206c62(0x149)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x4429bd)+'\x20');}}async[a10_0x12de53(0x133)](_0x3c8c1c,_0x2d573d,_0x1027c1,_0x57e737,_0x2b3e3b,_0x21d2b2){const _0x2920d0=a10_0x12de53,_0x539efb={'lviCT':function(_0x43d6ed,_0x4f6692){return _0x43d6ed===_0x4f6692;},'vTBRb':'HookRunStarted','FxhQk':function(_0x50c65f,_0x73fe93,_0x346162){return _0x50c65f(_0x73fe93,_0x346162);},'wUijM':'sourceReference','UwCcJ':'uri','OChtt':_0x2920d0(0x169)};try{const _0x231804=_0x57e737[_0x2920d0(0x155)](_0x3347c8=>_0x3347c8['id']===_0x2b3e3b);if(!_0x231804[_0x2920d0(0x102)])return;const _0x10bae4=this[_0x2920d0(0x16e)](_0x57e737,_0x231804),_0x540cb9=this[_0x2920d0(0xff)](_0x3c8c1c,_0x2d573d,_0x1027c1,_0x231804,_0x21d2b2,_0x10bae4);if(!_0x540cb9)return;_0x539efb[_0x2920d0(0x15f)](_0x1027c1,_0x539efb[_0x2920d0(0x104)])&&(hooksMap[_0x2d573d]?hooksMap[_0x2d573d]['push'](_0x540cb9):hooksMap[_0x2d573d]=[_0x540cb9]);const _0x12cc74=_0x3c8c1c[_0x2920d0(0x190)]['find'](_0x3a8d4e=>_0x3a8d4e['id']===_0x231804[_0x2920d0(0x102)]),_0x3b452f=_0x539efb[_0x2920d0(0x181)](nestedKeyValue,_0x12cc74,[_0x539efb[_0x2920d0(0x173)],_0x539efb[_0x2920d0(0x115)]]);if(!_0x3b452f)return;else{if(_0x3b452f[_0x2920d0(0x134)](_0x539efb[_0x2920d0(0x156)]))return;}const _0x489ed7={};_0x489ed7[_0x2920d0(0x113)]=_0x1027c1,_0x489ed7[_0x2920d0(0x137)]=_0x540cb9;const _0x1306bd=_0x489ed7;await SessionHandler[_0x2920d0(0x10d)](_0x1306bd);}catch(_0x1c20b0){logger[_0x2920d0(0x149)](_0x2920d0(0x105)+util[_0x2920d0(0x16b)](_0x1c20b0)+'\x20');}}['getHookResult'](_0x45ea19,_0xa1f32e){const _0xa9d696=a10_0x12de53,_0x2225ab={};_0x2225ab['sxTgN']=function(_0x1a3c69,_0x366165){return _0x1a3c69===_0x366165;},_0x2225ab[_0xa9d696(0x17a)]='failed',_0x2225ab[_0xa9d696(0x15d)]=_0xa9d696(0x13f),_0x2225ab['qyDBT']='AssertionError',_0x2225ab['WtTFH']=function(_0x2a3b15,_0x7a0bdc){return _0x2a3b15||_0x7a0bdc;};const _0x344e9c=_0x2225ab,_0x25e81d=_0x45ea19['testStepFinished'][_0xa1f32e][_0xa9d696(0x185)];let _0x28128c,_0x4beae5;return _0x25e81d&&_0x344e9c['sxTgN'](_0x25e81d[_0xa9d696(0x145)][_0xa9d696(0x13d)]()[_0xa9d696(0x106)](),_0x344e9c[_0xa9d696(0x17a)])&&(_0x28128c=_0x344e9c['sxTgN'](_0x25e81d['exception'],undefined)?_0x25e81d['message']:_0x25e81d[_0xa9d696(0x11e)][_0xa9d696(0x142)],_0x4beae5=_0x344e9c[_0xa9d696(0x16d)](_0x25e81d[_0xa9d696(0x11e)],undefined)?_0x344e9c[_0xa9d696(0x15d)]:_0x25e81d['message'][_0xa9d696(0x136)](/Assert/)?_0x344e9c[_0xa9d696(0x172)]:_0x344e9c[_0xa9d696(0x15d)]),{'status':_0x25e81d[_0xa9d696(0x145)][_0xa9d696(0x106)](),'failureType':_0x344e9c[_0xa9d696(0x103)](_0x4beae5,null),'failureData':!_0x28128c?null:[_0x28128c]};}[a10_0x12de53(0x16e)](_0x59f6b1,_0xa761c8){const _0x2d69c9=a10_0x12de53,_0x543e48={};_0x543e48[_0x2d69c9(0x18f)]=function(_0x500363,_0x271aaf){return _0x500363===_0x271aaf;},_0x543e48[_0x2d69c9(0x166)]='AFTER_EACH',_0x543e48['DEqEM']=_0x2d69c9(0x135);const _0x1b7c6f=_0x543e48;let _0x586959=![];for(const _0x2f655a of _0x59f6b1){_0x2f655a[_0x2d69c9(0x154)]&&(_0x586959=!![]);if(_0x1b7c6f[_0x2d69c9(0x18f)](_0xa761c8['id'],_0x2f655a['id']))return _0x586959?_0x1b7c6f[_0x2d69c9(0x166)]:_0x1b7c6f[_0x2d69c9(0x11b)];}}[a10_0x12de53(0x131)]=(_0x4adbdd,_0x43d604)=>{const _0x5831c5=a10_0x12de53,_0x285b7f={};_0x285b7f[_0x5831c5(0x15a)]=function(_0x3eb00a,_0x1d6627){return _0x3eb00a===_0x1d6627;},_0x285b7f[_0x5831c5(0x10f)]=function(_0x48f341,_0x23026e){return _0x48f341>_0x23026e;};const _0x8abaec=_0x285b7f;if(!(_0x43d604[_0x5831c5(0xfb)]&&_0x8abaec[_0x5831c5(0x10f)](_0x43d604[_0x5831c5(0xfb)][_0x5831c5(0x148)],0x1)))return;const _0x108fb3=_0x43d604[_0x5831c5(0xfb)][0x0],_0x45a3d0=_0x43d604[_0x5831c5(0xfb)][0x1],_0x2f0f94=_0x4adbdd['feature']&&_0x4adbdd[_0x5831c5(0x12c)][_0x5831c5(0x12b)]?_0x4adbdd[_0x5831c5(0x12c)][_0x5831c5(0x12b)]:undefined;let _0x10b4d1=[];_0x2f0f94&&_0x2f0f94['forEach'](_0x23008a=>{const _0x9572cc=_0x5831c5,_0x3d85be={'FHAYk':function(_0x3714b2,_0x36b188){return _0x8abaec['YrgcS'](_0x3714b2,_0x36b188);}};if(_0x23008a[_0x9572cc(0x119)])_0x23008a[_0x9572cc(0x119)]['children'][_0x9572cc(0x183)](_0x2ef1e1=>{const _0x860613=_0x9572cc;if(_0x2ef1e1[_0x860613(0x14e)]&&_0x3d85be['FHAYk'](_0x2ef1e1[_0x860613(0x14e)]['id'],_0x108fb3)&&_0x2ef1e1[_0x860613(0x14e)][_0x860613(0x179)]){const _0x52ad5e=_0x2ef1e1['scenario']['examples'][_0x860613(0x147)](_0x483141=>_0x483141[_0x860613(0x122)])[_0x860613(0x155)](_0x1e0a82=>_0x1e0a82['id']===_0x45a3d0);let _0x29894b;_0x52ad5e&&_0x52ad5e[_0x860613(0x150)]?_0x29894b=_0x52ad5e[_0x860613(0x150)]['map'](_0x4ac76e=>_0x4ac76e[_0x860613(0x146)]):_0x29894b=[],_0x29894b&&(_0x10b4d1=_0x29894b);}});else{if(_0x23008a[_0x9572cc(0x14e)]&&_0x8abaec[_0x9572cc(0x15a)](_0x23008a[_0x9572cc(0x14e)]['id'],_0x108fb3)&&_0x23008a[_0x9572cc(0x14e)]['examples']){const _0x3274d1=_0x23008a[_0x9572cc(0x14e)][_0x9572cc(0x179)][_0x9572cc(0x147)](_0x3b13a8=>_0x3b13a8['tableBody'])[_0x9572cc(0x155)](_0x39aa86=>_0x39aa86['id']===_0x45a3d0);let _0x5a71fe;_0x3274d1&&_0x3274d1[_0x9572cc(0x150)]?_0x5a71fe=_0x3274d1[_0x9572cc(0x150)]['map'](_0x6c2e87=>_0x6c2e87[_0x9572cc(0x146)]):_0x5a71fe=[],_0x5a71fe&&(_0x10b4d1=_0x5a71fe);}}});if(_0x10b4d1[_0x5831c5(0x148)])return _0x10b4d1;return;};async['configureGit'](){const _0x21b959=a10_0x12de53,_0x4c1535={'XYPiw':function(_0x4849ed){return _0x4849ed();}};if(this[_0x21b959(0x124)])return this['_gitConfigPath'];const _0x4d0be1=await _0x4c1535[_0x21b959(0x100)](getGitMetaData);_0x4d0be1&&(this[_0x21b959(0x12a)]=_0x4d0be1[_0x21b959(0x180)]),this[_0x21b959(0x124)]=!![];}}function a10_0x5ed3(){const _0x51ddd3=['yRGJc','path','map','toString','failed','UnhandledError','timestamp','relative','message','YMEmr','pLrhO','status','value','flatMap','length','debug','gvjZv','pemol','AssertionError','javascript','scenario','failure_data','cells','exports','failureType','25qZAoZn','pickleStepId','find','OChtt','../../helpers/test-observability/sessionHandler','failureData','backtrace','YrgcS','getTestUUID','rWWOJ','KbOoi','getHooksListForTest','lviCT','winstonLogger','nanos','23098oNdHxK','pfFVi','zpDEP','CWfBW','fJQbS','UphbJ','SKIPPED','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','skipped','format','4JcoXQj','sxTgN','getCucumberHookType','failure_type','testCaseStartedId','HookRunFinished','qyDBT','wUijM','1181823xuetkw','finished_at','hook','TestRunFinished','Crxbl','examples','yqMac','result','getHookResult','jdfEQ','testCaseFinished','util','root','FxhQk','configureGit','forEach','yJoqO','testStepResult','Ahwkr','NDCqX','tagExpression','sendTestRunEventForCucumber','sourceReference','1270764MwNYwt','cucumber','hIVgD','../../helpers/test-observability/constants.js','ndyAV','hooks','failure','tags','pending','63MceASA','astNodeIds','uri','passed','../../helpers/helper','getHookRunEventData','XYPiw','Xisga','hookId','WtTFH','vTBRb','Exception\x20in\x20sendHook:\x20','toLowerCase','FAILED','filter','lPxMN','191243qUZhqM','CUCUMBER','8NKtWcI','uploadEventData','VWmSL','WITgb','omxfh','ZQXkM','KEZMb','event_type','ThLyf','UwCcJ','uuid','DqAov','every','rule','toISOString','DEqEM','44OKanLc','failure_reason','exception','RsEmU','unknown','name','tableBody','132pGifBE','_gitConfigured','2016420nAoUkg','257088MYtCow','split','wzlRq','YdJFg','_gitConfigPath','children','feature','ZbOPe','ifLGV','strip-ansi','169842rsWuUS','getScenarioExamples','updateTestStatus','sendHook','includes','BEFORE_EACH','match','hook_run','EREMA','crhbq'];a10_0x5ed3=function(){return _0x51ddd3;};return a10_0x5ed3();}module[a10_0x12de53(0x151)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit',a10_0x12de53(0x131),a10_0x12de53(0x16e),a10_0x12de53(0x17c),a10_0x12de53(0x133),a10_0x12de53(0xff),a10_0x12de53(0x189)]);
@@ -1 +1 @@
1
- const a11_0x388c89=a11_0x2dd4;(function(_0x56d40b,_0x2f540f){const _0x136ab8=a11_0x2dd4,_0x3ff75a=_0x56d40b();while(!![]){try{const _0x1d2440=-parseInt(_0x136ab8(0xeb))/0x1*(parseInt(_0x136ab8(0x108))/0x2)+-parseInt(_0x136ab8(0x16d))/0x3+-parseInt(_0x136ab8(0x138))/0x4+-parseInt(_0x136ab8(0x124))/0x5*(-parseInt(_0x136ab8(0x15b))/0x6)+parseInt(_0x136ab8(0x101))/0x7*(-parseInt(_0x136ab8(0x151))/0x8)+parseInt(_0x136ab8(0xc7))/0x9+-parseInt(_0x136ab8(0x14b))/0xa*(-parseInt(_0x136ab8(0x13f))/0xb);if(_0x1d2440===_0x2f540f)break;else _0x3ff75a['push'](_0x3ff75a['shift']());}catch(_0x4e086e){_0x3ff75a['push'](_0x3ff75a['shift']());}}}(a11_0x153b,0x97d91));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x388c89(0x168)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x388c89(0x131)),setKeepAlive=require(a11_0x388c89(0xae)),util=require(a11_0x388c89(0x12d)),PerformanceTester=require(a11_0x388c89(0xaa)),{commandRepository}=require(a11_0x388c89(0x154)),cucumberModule=requireModule(a11_0x388c89(0x113),a11_0x388c89(0x145)),logger=require('../../helpers/logger')[a11_0x388c89(0x12a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x388c89(0x153)),TestDetails=require(a11_0x388c89(0x133)),RequestQueueHandler=require(a11_0x388c89(0xbe)),{o11yErrorHandler}=require(a11_0x388c89(0xc0)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a11_0x388c89(0x134)),scripts=require(a11_0x388c89(0xe1)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a11_0x388c89(0xb2)),{isUndefined}=require(a11_0x388c89(0xfe)),helper=require(a11_0x388c89(0x168)),a11_0x23ef2a={};a11_0x23ef2a[a11_0x388c89(0xc3)]=undefined,a11_0x23ef2a[a11_0x388c89(0x122)]={},a11_0x23ef2a[a11_0x388c89(0x16a)]=![],a11_0x23ef2a[a11_0x388c89(0x135)]=null,a11_0x23ef2a['isPageFixture']=![],a11_0x23ef2a[a11_0x388c89(0x122)]['id']=undefined,a11_0x23ef2a[a11_0x388c89(0x122)][a11_0x388c89(0x11a)]=undefined;const workerDetails=a11_0x23ef2a;global[a11_0x388c89(0x10b)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3a789e){const _0x103540=a11_0x388c89,_0x27ac61=workerDetails['currentTest']['testInfo'];if(!_0x27ac61)return;await MyReporter[_0x103540(0x10f)](_0x27ac61,_0x3a789e);}),registerListeners=()=>{const _0x34dcff=a11_0x388c89,_0x3f90ca={};_0x3f90ca['NljkI']=_0x34dcff(0xfd);const _0xc55d43=_0x3f90ca;logger[_0x34dcff(0xcd)](_0xc55d43[_0x34dcff(0x170)]),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on'](_0x34dcff(0x11e)+process[_0x34dcff(0x14a)],sendTestLog),PerformanceTester[_0x34dcff(0xbd)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x388c89(0xee)],After=cucumberModule[a11_0x388c89(0x157)],AfterAll=cucumberModule[a11_0x388c89(0x15a)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule['AfterStep'],configuration=process[a11_0x388c89(0x103)][a11_0x388c89(0xab)],bstackConfig=process[a11_0x388c89(0x103)][a11_0x388c89(0x14f)];function a11_0x153b(){const _0x572168=['After','executeAsyncScript','__skipSessionName','AfterAll','86628bxHhkD','failed','TpCUh','browserstackAgentV2','toString','platformCaps','cleanup','tags','Passed','__platformCaps','finally','Owtrf','Inside\x20browserstack\x20AfterStep','../../helpers/helper','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','o11ySyncDone','dmZAj','aVWEC','610758sDSOFc','iIAEz','isAccessibilityPlatform','NljkI','testCaseStartedId','message','toLowerCase','BrHjU','thJwtToken','bootstrap','3|2|1|0|4','__sessionFailed','setConfig','event_type','Flow\x20detection:\x20isSeleniumFlow=','driverCleanup','Error\x20in\x20playwright\x20beforeTestHook:\x20','getTestUUID','../v2/cliUtils','Error:\x20quiting\x20driver\x20at\x20After:\x20','Inside\x20browserstack\x20Before','setDefaultTimeout','../../helpers/performance/performance-tester','CONFIG','cmtXy','TQXxw','../../helpers/setKeepAlive','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','thTestRunUuid','BROWSERSTACK_TESTHUB_JWT','../../helpers/accessibility-automation/helper','lQSum','pickle','ChpGU','browserstackSessionName','NGYSS','zOIta','idUAG','\x22}}','push','TODaG','startMonitoring','../../helpers/test-observability/requestQueueHandler','catch','../../helpers/test-observability/error-handler','Bveto','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','workerInfo','getGlobal','Error:\x20at\x20After\x20Step:\x20','Inside\x20browserstack\x20After','807912MHyARa','__skipSessionStatus','name','../v2/browserstackCLI','dxssT','dGQbo','debug','shutdown','IWBAS','\x20|\x20','text','Cucumber-JS','NkLsg','ENV_VAR',',\x20isPlaywrightFlow=','Inside\x20browserstack\x20AfterAll','bstack','eQIJy','length','./playwright-patcher','gKuTA','tYmhi','executeScript','closeTracker','integrations','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/accessibility-automation/scripts','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','PUPHV','mUfkd','ISXru','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','yGEQC','\x0aError:\x20','setTestNameForHealingContext','@playwright/test','69fjzVgQ','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Before','XLodn','timeout','join','bstackA11yShouldScan','parse','Failed:\x20','test_run','executeDeferredCloses','getInstance','initQuit','split','ovRgb','HqCya','riOdb','Inside\x20browserstack\x20registerListeners','lodash','passed','nXYsH','5404427EYJSoA','then','env','HWGqu','__drivers','getId','performScan','9058pFOfMF','CMTSM','result','__workerDetails','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','PLAYWRIGHT','getPackageVersion','addTestUIDAndReportLog','Completed\x20Playwright\x20afterTestHook\x20execution','initializePlaywrightPatching',',\x22level\x22:\x20\x22','@cucumber/cucumber/lib/index.js','../../index','FlMpu','format','Error:\x20sendPlatformDetails\x20at\x20After:\x20','info','setFrameworkDetail','testInfo','afterTestHook','Passed:\x20','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','bs:addLog:','session_','__error_messages__','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','currentTest','urCCM','400GuFUaA','gTAdd','shift','WwIZB','error','Error:\x20in\x20quitting\x20driver\x20','winstonLogger','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','JDsxo','util','mDiDG','Performing\x20scan\x20before\x20saving\x20results','Error:\x20cleaning\x20up\x20driver:\x20','../utils/constants','pickleStep','../playwright/reporter/test-details.js','../../helpers/test-observability/sessionHandler','pwPage','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','1133260NnPIAn','Error\x20initializing\x20Playwright\x20patching:\x20','CBTSessionCreated','uploadEventData','PRaRd','UwOnJ','quitCount_','264CSugbt','Performing\x20Playwright\x20Patching','oZhvZ','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','cucumber-js','CUCUMBER','@cucumber/cucumber','thBuildUuid','CgPkn','setFramework','ptssa','pid','395260GhfULz','stringify','Ejtha','skipSessionStatus','BSTACK_CONFIG','ftMty','8TlgSYx','status','../../helpers/test-observability/utils','../../helpers/ai-sdk/autoHealHelper','uuid','beforeTestHook'];a11_0x153b=function(){return _0x572168;};return a11_0x153b();}if(configuration!==undefined){const config=JSON[a11_0x388c89(0xf3)](configuration);isBrowserstackInfra()?(global[a11_0x388c89(0x159)]=isTrue(config['skipSessionName']),global[a11_0x388c89(0xc8)]=isTrue(config[a11_0x388c89(0x14e)])):(global[a11_0x388c89(0x159)]=!![],global[a11_0x388c89(0xc8)]=!![]);!helper[a11_0x388c89(0x10e)](a11_0x388c89(0xea))&&(logger[a11_0x388c89(0xcd)]('Performing\x20Selenium\x20Patching'),shouldProcessEventForTesthub()?require(a11_0x388c89(0x114))[a11_0x388c89(0x15e)](config,null,!![]):require('../../index')[a11_0x388c89(0x15e)](config));global[a11_0x388c89(0x164)]=config[a11_0x388c89(0x160)]||{};if(helper['getPackageVersion']('@playwright/test'))try{logger['debug'](a11_0x388c89(0x140)),playwrightPatcher=require(a11_0x388c89(0xda)),playwrightPatcher[a11_0x388c89(0x111)](config),logger[a11_0x388c89(0xcd)](a11_0x388c89(0xc2));}catch(a11_0x59523c){logger[a11_0x388c89(0xcd)](a11_0x388c89(0x139)+util['format'](a11_0x59523c));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x388c89(0xf3)](bstackConfig);browserStackConfig&&(commandRepository[a11_0x388c89(0xa0)](browserStackConfig),commandRepository[a11_0x388c89(0x148)](a11_0x388c89(0x143)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a11_0x388c89(0xa9)];function a11_0x2dd4(_0x542f59,_0x286238){const _0x153baf=a11_0x153b();return a11_0x2dd4=function(_0x2dd464,_0x166627){_0x2dd464=_0x2dd464-0x98;let _0x2497c6=_0x153baf[_0x2dd464];return _0x2497c6;},a11_0x2dd4(_0x542f59,_0x286238);}cucumberModule[a11_0x388c89(0xa9)]=_0x549adf=>{const _0xc90ac1={'zkWhe':function(_0x55bb48,_0x422a95){return _0x55bb48(_0x422a95);}};global['__timeout']=_0x549adf,_0xc90ac1['zkWhe'](__setDefaultTimeout,_0x549adf);};const a11_0x177957={};a11_0x177957[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),BeforeAll(a11_0x177957,async function(){const _0xe09d9=a11_0x388c89,_0x1aaf9c={'xSoBV':function(_0x568043,_0x3046d2,_0x1711d2,_0x30681f){return _0x568043(_0x3046d2,_0x1711d2,_0x30681f);},'Ejtha':'failed','WeuCd':_0xe09d9(0xd0),'HqCya':function(_0x1ba1a5,_0x137fef,_0x900955){return _0x1ba1a5(_0x137fef,_0x900955);},'WwIZB':_0xe09d9(0xff),'zOIta':'Inside\x20browserstack\x20BeforeAll','POhyv':function(_0x13d470,_0x3cf4db){return _0x13d470(_0x3cf4db);},'gTAdd':_0xe09d9(0xca),'sfQAo':function(_0x562053,_0x21b28f){return _0x562053(_0x21b28f);},'aQpwQ':_0xe09d9(0xa6),'rwuqY':_0xe09d9(0x131),'gKuTA':_0xe09d9(0x11d),'Owtrf':function(_0x482654){return _0x482654();},'ChpGU':function(_0x50eac3,_0x522e83){return _0x50eac3(_0x522e83);}};PerformanceTester[_0xe09d9(0xbd)](),logger[_0xe09d9(0xcd)](_0x1aaf9c[_0xe09d9(0xb8)]),global[_0xe09d9(0x120)]=[],global[_0xe09d9(0x9f)]=![];if(playwrightPatcher)try{const _0x38e31c=_0x1aaf9c['POhyv'](require,_0x1aaf9c[_0xe09d9(0x125)]),_0xb84398=_0x1aaf9c['sfQAo'](require,_0x1aaf9c['aQpwQ']),{FRAMEWORKS:_0x12112f}=_0x1aaf9c['POhyv'](require,_0x1aaf9c['rwuqY']);_0x38e31c[_0xe09d9(0xf7)]()['isCliEnabled']()&&(logger[_0xe09d9(0xcd)](_0x1aaf9c[_0xe09d9(0xdb)]),_0xb84398[_0xe09d9(0x119)](_0x12112f[_0xe09d9(0x144)],_0x12112f[_0xe09d9(0x10d)]),await _0x38e31c[_0xe09d9(0xf7)]()[_0xe09d9(0x9d)]());}catch(_0x17b7fd){logger['debug'](_0xe09d9(0xe2)+util[_0xe09d9(0x116)](_0x17b7fd));}_0x1aaf9c['Owtrf'](shouldProcessEventForTesthub)&&(_0x1aaf9c[_0xe09d9(0x166)](registerListeners),_0x1aaf9c[_0xe09d9(0xb5)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0xe9a865=_0xe09d9;let _0x3b4f83=![];try{global[_0xe9a865(0x105)]&&global[_0xe9a865(0x105)][0x0]&&(await global[_0xe9a865(0x105)][0x0]['session_'],_0x3b4f83=!![],global['__sessionFailed']?await _0x1aaf9c['xSoBV'](markSessionStatus,global[_0xe9a865(0x105)][0x0],_0x1aaf9c[_0xe9a865(0x14d)],global[_0xe9a865(0x120)]['join'](_0x1aaf9c['WeuCd'])):await _0x1aaf9c[_0xe9a865(0xfb)](markSessionStatus,global[_0xe9a865(0x105)][0x0],_0x1aaf9c[_0xe9a865(0x127)]));}catch(_0x3f5138){logger[_0xe9a865(0xcd)](_0xe9a865(0x130)+_0x3f5138);}global[_0xe9a865(0x120)]=[],global[_0xe9a865(0x9f)]=![];if(_0x3b4f83)try{await global['__drivers'][0x0][_0xe9a865(0xf8)](),global[_0xe9a865(0x105)][0x0][_0xe9a865(0x11f)]['then'](_0x2066af=>{const _0x23880c=_0xe9a865;logger[_0x23880c(0xcd)](_0x23880c(0x129)+_0x2066af[_0x23880c(0x106)]());})[_0xe9a865(0xbf)](_0x71d06c=>{});}catch(_0x178444){logger['debug'](_0xe9a865(0xec)+_0x178444);}};});const a11_0x3c4aeb={};a11_0x3c4aeb[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),a11_0x3c4aeb[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x3c4aeb,function(_0x4dbecd,_0x5342a0){const _0x6d2aa0=a11_0x388c89,_0xacf120={'cmtXy':function(_0x4b7661,_0x15ec31){return _0x4b7661>_0x15ec31;},'XLodn':function(_0x5f3c86,_0x476de7){return _0x5f3c86(_0x476de7);},'ptssa':function(_0x10d47c,_0x4ca986,_0x4b8e22,_0x56c569){return _0x10d47c(_0x4ca986,_0x4b8e22,_0x56c569);},'ISXru':'bstackA11yShouldScan','dtZSN':function(_0x200582){return _0x200582();},'CMTSM':_0x6d2aa0(0xa8)};commandRepository[_0x6d2aa0(0xe9)](_0x4dbecd[_0x6d2aa0(0xb4)]['name']),logger[_0x6d2aa0(0xcd)](_0xacf120[_0x6d2aa0(0x109)]),new Promise(async _0xc90160=>{const _0x3fbfdd=_0x6d2aa0;try{global[_0x3fbfdd(0x105)]&&_0xacf120[_0x3fbfdd(0xac)](global['__drivers'][_0x3fbfdd(0xd9)],0x1)&&(await global[_0x3fbfdd(0xa3)](),global[_0x3fbfdd(0x105)]['shift']()),global[_0x3fbfdd(0x105)]&&global[_0x3fbfdd(0x105)][0x0]&&global[_0x3fbfdd(0x105)][0x0]['quitCount_']&&_0xacf120[_0x3fbfdd(0xac)](global[_0x3fbfdd(0x105)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0xc7c47b){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0xc7c47b);}workerDetails[_0x3fbfdd(0x122)][_0x3fbfdd(0x11a)]=_0x4dbecd;if(playwrightPatcher)try{await playwrightPatcher[_0x3fbfdd(0x156)](_0x4dbecd);}catch(_0x32be18){logger[_0x3fbfdd(0xcd)](_0x3fbfdd(0xa4)+util['format'](_0x32be18));}try{if(!_0xacf120[_0x3fbfdd(0xef)](isUndefined,_0x4dbecd[_0x3fbfdd(0xb4)]['tags'])){const _0x45ba0f=_0xacf120[_0x3fbfdd(0x149)](shouldScanTestForAccessibility,null,![],_0x4dbecd[_0x3fbfdd(0xb4)][_0x3fbfdd(0x162)]['map'](({name:_0x19a4b9})=>_0x19a4b9));globals['setGlobal'](_0xacf120[_0x3fbfdd(0xe5)],_0x45ba0f);}}catch(_0x4199cd){logger[_0x3fbfdd(0xcd)](_0x3fbfdd(0x121)+util[_0x3fbfdd(0x116)](_0x4199cd));}_0xacf120['dtZSN'](_0xc90160);})[_0x6d2aa0(0x165)](_0x5342a0);});const a11_0x4aed21={};a11_0x4aed21[a11_0x388c89(0xc9)]='bstack',a11_0x4aed21[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],After(a11_0x4aed21,function(_0xc1cc53,_0x1b8055){const _0x34de4c=a11_0x388c89,_0x5180d3={'ugEfV':function(_0x486626,_0x1ea630){return _0x486626>_0x1ea630;},'ftMty':function(_0x38c401,_0x43eb97){return _0x38c401===_0x43eb97;},'nXYsH':'failed','dBxjJ':function(_0x390f35,_0x1ab1fd){return _0x390f35>_0x1ab1fd;},'urCCM':function(_0x25f9fb,_0x12f93f,_0x270a8a,_0x3eca1e){return _0x25f9fb(_0x12f93f,_0x270a8a,_0x3eca1e);},'eQIJy':_0x34de4c(0xd0),'DlMjn':function(_0x53a0a6,_0x458a22,_0x3ee42c){return _0x53a0a6(_0x458a22,_0x3ee42c);},'lQSum':_0x34de4c(0xff),'dmZAj':_0x34de4c(0x110),'Bveto':_0x34de4c(0xe6),'dxssT':function(_0x562f9b){return _0x562f9b();},'qOVTl':function(_0x3b34cb,_0x351b21,_0x11cf51,_0xaf91b5){return _0x3b34cb(_0x351b21,_0x11cf51,_0xaf91b5);},'BrHjU':_0x34de4c(0x13a),'Ihpmz':_0x34de4c(0x16f),'FlMpu':_0x34de4c(0xf2),'tYmhi':_0x34de4c(0xe0),'oZhvZ':_0x34de4c(0x12f),'mDiDG':_0x34de4c(0x137),'yGEQC':function(_0x43ef4d,_0x48340f){return _0x43ef4d>_0x48340f;},'IWBAS':_0x34de4c(0xc6)};logger[_0x34de4c(0xcd)](_0x5180d3[_0x34de4c(0xcf)]),workerDetails[_0x34de4c(0x122)][_0x34de4c(0x11a)]=_0xc1cc53,new Promise(async _0x107b87=>{const _0x288b9f=_0x34de4c;let _0x13df28=![],_0x4b110a=![],_0x362a0e=![];try{global[_0x288b9f(0x105)]&&_0x5180d3['ugEfV'](global[_0x288b9f(0x105)][_0x288b9f(0xd9)],0x0)&&(_0x4b110a=!![]),playwrightPatcher&&global[_0x288b9f(0x10b)]&&global['__workerDetails'][_0x288b9f(0x135)]&&(_0x362a0e=!![],logger[_0x288b9f(0xcd)](_0x288b9f(0x136)+!!global['__workerDetails'][_0x288b9f(0x135)]));}catch(_0x410306){logger[_0x288b9f(0xcd)]('Error\x20determining\x20test\x20flow:\x20'+_0x410306);}logger[_0x288b9f(0xcd)](_0x288b9f(0xa2)+_0x4b110a+_0x288b9f(0xd5)+_0x362a0e);const _0x1f31e6=_0xc1cc53[_0x288b9f(0x10a)][_0x288b9f(0x152)][_0x288b9f(0x15f)]()[_0x288b9f(0x9a)](),_0xb6e925=_0x5180d3[_0x288b9f(0x150)](_0x1f31e6,_0x5180d3[_0x288b9f(0x100)])||_0x5180d3[_0x288b9f(0x150)](_0x1f31e6,'6'),_0x1f9555=_0xb6e925?_0xc1cc53['result']['message']:null;if(_0xb6e925)try{global[_0x288b9f(0x120)][_0x288b9f(0xbb)](_0xc1cc53[_0x288b9f(0x10a)][_0x288b9f(0x99)]),global[_0x288b9f(0x9f)]=!![];}catch(_0x2caf5a){logger[_0x288b9f(0xcd)](_0x288b9f(0x142)+_0x2caf5a);}if(_0x4b110a)try{global[_0x288b9f(0x105)]&&_0x5180d3['dBxjJ'](global['__drivers'][_0x288b9f(0xd9)],0x1)&&(await global[_0x288b9f(0xa3)](),global[_0x288b9f(0x105)][_0x288b9f(0x126)](),global[_0x288b9f(0x120)]=[],global[_0x288b9f(0x9f)]=![]),global[_0x288b9f(0x105)]&&global[_0x288b9f(0x105)][0x0]&&(await global['__drivers'][0x0][_0x288b9f(0x11f)],_0x13df28=!![],!global[_0x288b9f(0x159)]&&await global[_0x288b9f(0x105)][0x0][_0x288b9f(0xdd)](_0x288b9f(0xaf)+_0xc1cc53[_0x288b9f(0xb4)][_0x288b9f(0xc9)]+_0x288b9f(0xba)),_0xb6e925?await _0x5180d3[_0x288b9f(0x123)](markSessionStatus,global[_0x288b9f(0x105)][0x0],_0x5180d3[_0x288b9f(0x100)],global['__error_messages__'][_0x288b9f(0xf1)](_0x5180d3[_0x288b9f(0xd8)])):await _0x5180d3['DlMjn'](markSessionStatus,global[_0x288b9f(0x105)][0x0],_0x5180d3[_0x288b9f(0xb3)]));}catch(_0x5a82c7){logger[_0x288b9f(0xcd)]('Error:\x20at\x20After\x20(Selenium):\x20'+util['format'](_0x5a82c7));}if(_0x362a0e)try{const _0x48ba5b=_0xb6e925?_0x5180d3[_0x288b9f(0x100)]:_0x5180d3['lQSum'];await playwrightPatcher[_0x288b9f(0x11b)](_0xc1cc53,_0x48ba5b,_0x1f9555),logger['debug'](_0x5180d3[_0x288b9f(0x16b)]);}catch(_0x4f996d){logger[_0x288b9f(0xcd)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x288b9f(0x116)](_0x4f996d));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x288b9f(0xcd)](_0x5180d3[_0x288b9f(0xc1)]));}catch(_0x494dbb){logger[_0x288b9f(0xcd)](_0x288b9f(0x10c)+util['format'](_0x494dbb));}}try{if(_0x5180d3['dxssT'](shouldProcessEventForTesthub)){const _0x5be8de=TestDetails[_0x288b9f(0xa5)](_0xc1cc53[_0x288b9f(0x98)]);let _0x570446=null;global['__drivers']&&global['__drivers'][0x0]&&(_0x570446=await _0x5180d3['qOVTl'](sendPlatformDetails,global['__drivers'][0x0],_0x5be8de,!![]));const _0x346065={};_0x346065[_0x288b9f(0x155)]=_0x5be8de,_0x346065[_0x288b9f(0xdf)]=_0x570446;const _0x2c46a1=_0x346065,_0xff4dab={};_0xff4dab[_0x288b9f(0xa1)]=_0x5180d3[_0x288b9f(0x9b)],_0xff4dab[_0x288b9f(0xf5)]=_0x2c46a1,await SessionHandler[_0x288b9f(0x13b)](_0xff4dab);}}catch(_0x206b28){logger['debug'](_0x288b9f(0x117)+util['format'](_0x206b28));}try{if(globals['getGlobal'](_0x5180d3['Ihpmz'])&&globals[_0x288b9f(0xc4)](_0x5180d3[_0x288b9f(0x115)])){logger[_0x288b9f(0x118)](_0x5180d3[_0x288b9f(0xdc)]);const _0x56a409=TestDetails['getTestUUID'](_0xc1cc53['testCaseStartedId']),_0x3662b2={};_0x3662b2[_0x288b9f(0xb0)]=_0x56a409,_0x3662b2[_0x288b9f(0x146)]=process['env'][testHubConstants[_0x288b9f(0xd4)]['BROWSERSTACK_TESTHUB_UUID']],_0x3662b2[_0x288b9f(0x9c)]=process[_0x288b9f(0x103)][testHubConstants[_0x288b9f(0xd4)][_0x288b9f(0xb1)]];const _0xc43d50=_0x3662b2;logger['debug'](_0x288b9f(0xed)+JSON['stringify'](_0xc43d50)),logger['debug'](_0x5180d3[_0x288b9f(0x141)]),global['__drivers']&&global[_0x288b9f(0x105)][0x0]&&(logger['debug'](util[_0x288b9f(0x116)](await global['__drivers'][0x0][_0x288b9f(0x158)](scripts[_0x288b9f(0x107)],{'method':global[_0x288b9f(0xb6)]}))),await global['__drivers'][0x0][_0x288b9f(0x158)](scripts['saveTestResults'],_0xc43d50)),logger['info'](_0x5180d3[_0x288b9f(0x12e)]);}}catch(_0x38cc43){logger[_0x288b9f(0x128)](_0x288b9f(0x12b)+util[_0x288b9f(0x116)]);}if(_0x13df28)try{global[_0x288b9f(0x105)][0x0]&&_0x5180d3[_0x288b9f(0xe7)](global[_0x288b9f(0x105)][0x0][_0x288b9f(0x13e)],0x0)&&await global[_0x288b9f(0x105)][0x0][_0x288b9f(0xf8)]();}catch(_0x37fe19){logger['debug'](_0x288b9f(0xa7)+_0x37fe19);}_0x5180d3[_0x288b9f(0xcb)](_0x107b87);})['finally'](()=>_0x1b8055());});const a11_0x247b57={};a11_0x247b57[a11_0x388c89(0xc9)]=a11_0x388c89(0xd7),a11_0x247b57[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],AfterStep(a11_0x247b57,function(_0xfcabce,_0x18ad8c){const _0x3e77bb=a11_0x388c89,_0x16e12b={'TQXxw':function(_0x426d23,_0x11c641){return _0x426d23===_0x11c641;},'mUfkd':_0x3e77bb(0x15c),'NkLsg':function(_0x695286,_0x3c87fd){return _0x695286===_0x3c87fd;},'wrfRq':function(_0x434472,_0x4f2afd){return _0x434472!==_0x4f2afd;},'HWGqu':function(_0x24be02,_0x1ebef0,_0x337189){return _0x24be02(_0x1ebef0,_0x337189);},'rxFoy':function(_0x4a5e33,_0x55602d){return _0x4a5e33+_0x55602d;},'CgPkn':function(_0xb3b0f2,_0x4440ee){return _0xb3b0f2+_0x4440ee;},'PRaRd':function(_0xfab8aa,_0x108f4b){return _0xfab8aa+_0x108f4b;},'PUPHV':_0x3e77bb(0xf4),'dGQbo':_0x3e77bb(0xe8),'UwOnJ':'error','riOdb':function(_0x259db3,_0x2d856b,_0x20c608){return _0x259db3(_0x2d856b,_0x20c608);},'TpCUh':function(_0x1281af,_0x489285){return _0x1281af!==_0x489285;},'klMMJ':function(_0x47dfe0,_0x4134a3){return _0x47dfe0+_0x4134a3;},'fzUOF':_0x3e77bb(0x11c),'iIAEz':_0x3e77bb(0x118),'ovRgb':function(_0x2e6926,_0x368ec9,_0x509dbb){return _0x2e6926(_0x368ec9,_0x509dbb);},'idUAG':_0x3e77bb(0x163),'STMYh':function(_0x160cc1){return _0x160cc1();},'mwpCG':_0x3e77bb(0x167)};logger[_0x3e77bb(0xcd)](_0x16e12b['mwpCG']);const _0x568ed5=async(_0x5c9ef3,_0x5c7ea8)=>{const _0x805b79=_0x3e77bb;global[_0x805b79(0x105)]&&global['__drivers'][0x0]&&await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5c9ef3+_0x805b79(0x112)+_0x5c7ea8+_0x805b79(0xba));};new Promise(async _0x367f8a=>{const _0x1b989c=_0x3e77bb;try{_0x16e12b[_0x1b989c(0xad)](_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x152)][_0x1b989c(0x15f)]()['toLowerCase'](),_0x16e12b[_0x1b989c(0xe4)])||_0x16e12b[_0x1b989c(0xd3)](_0xfcabce[_0x1b989c(0x10a)]['status'][_0x1b989c(0x15f)]()['toLowerCase'](),'6')?(global[_0x1b989c(0x9f)]=!![],global[_0x1b989c(0x120)][_0x1b989c(0xbb)](_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x99)]),_0x16e12b['wrfRq'](_0xfcabce[_0x1b989c(0x132)],undefined)?await _0x16e12b[_0x1b989c(0x104)](_0x568ed5,JSON[_0x1b989c(0x14c)](_0x16e12b['rxFoy'](_0x16e12b[_0x1b989c(0x147)](_0x16e12b[_0x1b989c(0x13c)](_0x16e12b[_0x1b989c(0xe3)],'\x22'+_0xfcabce['pickleStep'][_0x1b989c(0xd1)]+'\x22\x20'),_0x16e12b[_0x1b989c(0xcc)]),_0xfcabce[_0x1b989c(0x10a)][_0x1b989c(0x99)])),_0x16e12b[_0x1b989c(0x13d)]):await _0x16e12b[_0x1b989c(0xfc)](_0x568ed5,JSON['stringify'](_0x16e12b[_0x1b989c(0x13c)](_0x16e12b[_0x1b989c(0xe3)],_0xfcabce[_0x1b989c(0x10a)]['message'])),_0x16e12b[_0x1b989c(0x13d)])):_0x16e12b[_0x1b989c(0x15d)](_0xfcabce[_0x1b989c(0x132)],undefined)?await _0x16e12b[_0x1b989c(0x104)](_0x568ed5,JSON['stringify'](_0x16e12b['klMMJ'](_0x16e12b['fzUOF'],'\x22'+_0xfcabce[_0x1b989c(0x132)][_0x1b989c(0xd1)]+'\x22')),_0x16e12b[_0x1b989c(0x16e)]):await _0x16e12b[_0x1b989c(0xfa)](_0x568ed5,JSON[_0x1b989c(0x14c)](_0x16e12b[_0x1b989c(0xb9)]),_0x16e12b[_0x1b989c(0x16e)]),global[_0x1b989c(0x105)]&&global[_0x1b989c(0x105)][0x0]&&global[_0x1b989c(0x105)][0x0][_0x1b989c(0x11f)][_0x1b989c(0x102)](_0x4f736f=>{})[_0x1b989c(0xbf)](_0xe1c3b4=>{const _0x588147=_0x1b989c;logger[_0x588147(0xcd)](_0x588147(0x169)+util['format'](_0xe1c3b4));});}catch(_0x134c3a){logger[_0x1b989c(0xcd)](_0x1b989c(0xc5)+_0x134c3a);}_0x16e12b['STMYh'](_0x367f8a);})[_0x3e77bb(0x165)](()=>_0x18ad8c());});const a11_0x13897e={};a11_0x13897e[a11_0x388c89(0xc9)]='bstack',a11_0x13897e[a11_0x388c89(0xf0)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x388c89(0xd2)],AfterAll(a11_0x13897e,async function(_0x1fb4ea,_0x2c1b5a){const _0x45a188=a11_0x388c89,_0xb99bd3={'aVWEC':_0x45a188(0x9e),'NGYSS':'Cleaned\x20up\x20Playwright\x20close\x20tracker','TODaG':function(_0x1d9c0b){return _0x1d9c0b();},'JDsxo':_0x45a188(0xd6)};logger[_0x45a188(0xcd)](_0xb99bd3[_0x45a188(0x12c)]),await new Promise(async _0x2d9a48=>{const _0x31dad1=_0x45a188,_0x24527f=_0xb99bd3[_0x31dad1(0x16c)][_0x31dad1(0xf9)]('|');let _0x1d2605=0x0;while(!![]){switch(_0x24527f[_0x1d2605++]){case'0':await global[_0x31dad1(0xa3)]();continue;case'1':try{playwrightPatcher&&playwrightPatcher[_0x31dad1(0xf6)]&&(await playwrightPatcher[_0x31dad1(0xf6)](),playwrightPatcher[_0x31dad1(0xde)]&&playwrightPatcher[_0x31dad1(0xde)][_0x31dad1(0x161)](),logger[_0x31dad1(0xcd)](_0xb99bd3[_0x31dad1(0xb7)]));}catch(_0x394039){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x31dad1(0x116)](_0x394039));}continue;case'2':PerformanceTester['stopMonitoring']();continue;case'3':await RequestQueueHandler[_0x31dad1(0xf7)]()[_0x31dad1(0xce)]();continue;case'4':_0xb99bd3[_0x31dad1(0xbc)](_0x2d9a48);continue;}break;}});});
1
+ const a11_0x465cf5=a11_0x4425;(function(_0x2cbe44,_0x524411){const _0xa8ab5b=a11_0x4425,_0x4be833=_0x2cbe44();while(!![]){try{const _0x3f7d79=-parseInt(_0xa8ab5b(0x1d7))/0x1+parseInt(_0xa8ab5b(0x182))/0x2+-parseInt(_0xa8ab5b(0x195))/0x3*(parseInt(_0xa8ab5b(0x1eb))/0x4)+-parseInt(_0xa8ab5b(0x18b))/0x5+-parseInt(_0xa8ab5b(0x17c))/0x6*(parseInt(_0xa8ab5b(0x1d0))/0x7)+parseInt(_0xa8ab5b(0x1cd))/0x8*(-parseInt(_0xa8ab5b(0x170))/0x9)+parseInt(_0xa8ab5b(0x175))/0xa;if(_0x3f7d79===_0x524411)break;else _0x4be833['push'](_0x4be833['shift']());}catch(_0x4f3e76){_0x4be833['push'](_0x4be833['shift']());}}}(a11_0x31ff,0x82092));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x465cf5(0x18c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x465cf5(0x1e5)),setKeepAlive=require(a11_0x465cf5(0x173)),util=require(a11_0x465cf5(0x1d2)),PerformanceTester=require(a11_0x465cf5(0x171)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0x465cf5(0x1c3),a11_0x465cf5(0x19f)),logger=require(a11_0x465cf5(0x1bf))[a11_0x465cf5(0x20e)],{shouldProcessEventForTesthub}=require(a11_0x465cf5(0x1b1)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x465cf5(0x1a7)),TestDetails=require(a11_0x465cf5(0x1cc)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a11_0x465cf5(0x1b7)),MyReporter=require(a11_0x465cf5(0x216)),SessionHandler=require(a11_0x465cf5(0x1b3)),scripts=require(a11_0x465cf5(0x200)),globals=require('../../helpers/globals'),testHubConstants=require(a11_0x465cf5(0x208)),{shouldScanTestForAccessibility}=require(a11_0x465cf5(0x1d4)),{isUndefined}=require(a11_0x465cf5(0x199)),helper=require('../../helpers/helper'),a11_0x530a20={};a11_0x530a20['workerInfo']=undefined,a11_0x530a20[a11_0x465cf5(0x184)]={},a11_0x530a20[a11_0x465cf5(0x21e)]=![],a11_0x530a20[a11_0x465cf5(0x163)]=null,a11_0x530a20['isPageFixture']=![],a11_0x530a20[a11_0x465cf5(0x184)]['id']=undefined,a11_0x530a20[a11_0x465cf5(0x184)][a11_0x465cf5(0x165)]=undefined;const workerDetails=a11_0x530a20;global[a11_0x465cf5(0x1cb)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x5192a8){const _0x272a27=a11_0x465cf5,_0x4f43fb=workerDetails['currentTest']['testInfo'];if(!_0x4f43fb)return;await MyReporter[_0x272a27(0x1aa)](_0x4f43fb,_0x5192a8);}),registerListeners=()=>{const _0x564b8f=a11_0x465cf5,_0x32d218={};_0x32d218[_0x564b8f(0x1af)]=_0x564b8f(0x1ea);const _0x52a626=_0x32d218;logger[_0x564b8f(0x1d8)](_0x52a626[_0x564b8f(0x1af)]),process[_0x564b8f(0x202)](_0x564b8f(0x1fa)+process[_0x564b8f(0x192)]),process['on'](_0x564b8f(0x1fa)+process['pid'],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0x465cf5(0x1ff)],BeforeAll=cucumberModule[a11_0x465cf5(0x1b0)],AfterStep=cucumberModule['AfterStep'],configuration=process['env'][a11_0x465cf5(0x17b)],bstackConfig=process[a11_0x465cf5(0x1a5)][a11_0x465cf5(0x17a)];if(configuration!==undefined){const config=JSON[a11_0x465cf5(0x1e4)](configuration);isBrowserstackInfra()?(global[a11_0x465cf5(0x222)]=isTrue(config[a11_0x465cf5(0x1d5)]),global['__skipSessionStatus']=isTrue(config[a11_0x465cf5(0x19a)])):(global[a11_0x465cf5(0x222)]=!![],global[a11_0x465cf5(0x166)]=!![]);!helper[a11_0x465cf5(0x1f2)](a11_0x465cf5(0x1ae))&&(logger[a11_0x465cf5(0x1d8)]('Performing\x20Selenium\x20Patching'),shouldProcessEventForTesthub()?require(a11_0x465cf5(0x1de))[a11_0x465cf5(0x1c1)](config,null,!![]):require('../../index')[a11_0x465cf5(0x1c1)](config));global['__platformCaps']=config[a11_0x465cf5(0x1f7)]||{};if(helper[a11_0x465cf5(0x1f2)](a11_0x465cf5(0x1ae)))try{logger[a11_0x465cf5(0x1d8)]('Performing\x20Playwright\x20Patching'),playwrightPatcher=require('./playwright-patcher'),playwrightPatcher[a11_0x465cf5(0x190)](config),logger[a11_0x465cf5(0x1d8)](a11_0x465cf5(0x161));}catch(a11_0x2ec949){logger[a11_0x465cf5(0x1d8)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a11_0x465cf5(0x1ca)](a11_0x2ec949));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x465cf5(0x1e4)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a11_0x465cf5(0x1a4)](a11_0x465cf5(0x16a)));}global[a11_0x465cf5(0x1f9)]=0x0;const __setDefaultTimeout=cucumberModule[a11_0x465cf5(0x21f)];cucumberModule[a11_0x465cf5(0x21f)]=_0xe51db5=>{const _0x4ae454=a11_0x465cf5,_0x4a82de={'XOgjl':function(_0x1d4179,_0x2cb8d8){return _0x1d4179(_0x2cb8d8);}};global[_0x4ae454(0x1f9)]=_0xe51db5,_0x4a82de[_0x4ae454(0x1fd)](__setDefaultTimeout,_0xe51db5);};const a11_0x87c765={};a11_0x87c765['name']=a11_0x465cf5(0x229),BeforeAll(a11_0x87c765,async function(){const _0x4f95ea=a11_0x465cf5,_0x5834fa={'yMuNy':function(_0x48028b,_0x7edef4,_0x22b003,_0x4ca6bd){return _0x48028b(_0x7edef4,_0x22b003,_0x4ca6bd);},'GLsaz':_0x4f95ea(0x177),'Npwan':'\x20|\x20','PDYdE':function(_0x464993,_0x3ab172,_0x12b443){return _0x464993(_0x3ab172,_0x12b443);},'nDrVn':_0x4f95ea(0x228),'rriId':_0x4f95ea(0x1da),'gBqJl':function(_0x24614e,_0x4586e9){return _0x24614e(_0x4586e9);},'LPOpb':'../v2/browserstackCLI','NyAiy':_0x4f95ea(0x1e3),'IxucG':function(_0x4c3c64,_0x3cd92c){return _0x4c3c64(_0x3cd92c);},'SDNhX':_0x4f95ea(0x1e5),'AroDT':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','uLzOv':function(_0x8c8e7b){return _0x8c8e7b();},'JGIRl':function(_0x27a2b0){return _0x27a2b0();},'sHieG':function(_0x420b90,_0x4c35f5){return _0x420b90(_0x4c35f5);}};PerformanceTester[_0x4f95ea(0x186)](),logger['debug'](_0x5834fa[_0x4f95ea(0x1a9)]),global[_0x4f95ea(0x174)]=[],global[_0x4f95ea(0x21c)]=![];if(playwrightPatcher)try{const _0x235a14=_0x5834fa[_0x4f95ea(0x1f3)](require,_0x5834fa[_0x4f95ea(0x1ee)]),_0x57288e=_0x5834fa[_0x4f95ea(0x1f3)](require,_0x5834fa[_0x4f95ea(0x1a0)]),{FRAMEWORKS:_0x35a4b2}=_0x5834fa['IxucG'](require,_0x5834fa['SDNhX']);_0x235a14[_0x4f95ea(0x1ec)]()[_0x4f95ea(0x1c2)]()&&(logger['debug'](_0x5834fa[_0x4f95ea(0x1f5)]),_0x57288e[_0x4f95ea(0x1fc)](_0x35a4b2[_0x4f95ea(0x1c7)],_0x35a4b2[_0x4f95ea(0x21b)]),await _0x235a14['getInstance']()['bootstrap']());}catch(_0x58e808){logger[_0x4f95ea(0x1d8)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x4f95ea(0x1ca)](_0x58e808));}_0x5834fa['uLzOv'](shouldProcessEventForTesthub)&&(_0x5834fa[_0x4f95ea(0x16e)](registerListeners),_0x5834fa[_0x4f95ea(0x20a)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x368df9=_0x4f95ea;let _0x45ef58=![];try{global[_0x368df9(0x180)]&&global[_0x368df9(0x180)][0x0]&&(await global[_0x368df9(0x180)][0x0]['session_'],_0x45ef58=!![],global[_0x368df9(0x21c)]?await _0x5834fa[_0x368df9(0x1cf)](markSessionStatus,global[_0x368df9(0x180)][0x0],_0x5834fa[_0x368df9(0x167)],global[_0x368df9(0x174)][_0x368df9(0x185)](_0x5834fa['Npwan'])):await _0x5834fa['PDYdE'](markSessionStatus,global['__drivers'][0x0],_0x5834fa[_0x368df9(0x1f1)]));}catch(_0x363d98){logger[_0x368df9(0x1d8)](_0x368df9(0x169)+_0x363d98);}global[_0x368df9(0x174)]=[],global[_0x368df9(0x21c)]=![];if(_0x45ef58)try{await global[_0x368df9(0x180)][0x0]['initQuit'](),global[_0x368df9(0x180)][0x0][_0x368df9(0x212)]['then'](_0x328001=>{const _0x6bf6cb=_0x368df9;logger['debug'](_0x6bf6cb(0x16f)+_0x328001[_0x6bf6cb(0x204)]());})[_0x368df9(0x206)](_0x455566=>{});}catch(_0x5901ff){logger[_0x368df9(0x1d8)](_0x368df9(0x19c)+_0x5901ff);}};});const a11_0x1dfde3={};a11_0x1dfde3[a11_0x465cf5(0x221)]=a11_0x465cf5(0x229),a11_0x1dfde3[a11_0x465cf5(0x205)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],Before(a11_0x1dfde3,function(_0x5cda0b,_0x3bf378){const _0x13ada4=a11_0x465cf5,_0x125174={'htClI':function(_0x3a1aa8,_0x34e10d){return _0x3a1aa8>_0x34e10d;},'pcwAD':function(_0x21d654,_0x5d9455){return _0x21d654(_0x5d9455);},'kjMEK':function(_0x19d8f3,_0x9c21cb,_0x53aacb,_0x26f4d4){return _0x19d8f3(_0x9c21cb,_0x53aacb,_0x26f4d4);},'mFbHv':'bstackA11yShouldScan','yCgBo':function(_0x4528b0){return _0x4528b0();},'ntGEz':'Inside\x20browserstack\x20Before'};commandRepository[_0x13ada4(0x1e8)](_0x5cda0b[_0x13ada4(0x1e7)][_0x13ada4(0x221)]),logger[_0x13ada4(0x1d8)](_0x125174[_0x13ada4(0x1c0)]),new Promise(async _0x109bd8=>{const _0x1b3e5a=_0x13ada4;try{global[_0x1b3e5a(0x180)]&&_0x125174[_0x1b3e5a(0x211)](global[_0x1b3e5a(0x180)][_0x1b3e5a(0x17f)],0x1)&&(await global[_0x1b3e5a(0x18d)](),global['__drivers'][_0x1b3e5a(0x191)]()),global[_0x1b3e5a(0x180)]&&global[_0x1b3e5a(0x180)][0x0]&&global[_0x1b3e5a(0x180)][0x0][_0x1b3e5a(0x1c4)]&&_0x125174['htClI'](global[_0x1b3e5a(0x180)][0x0][_0x1b3e5a(0x1c4)],0x0)&&await global['driverCleanup']();}catch(_0x129ef6){logger[_0x1b3e5a(0x1d8)](_0x1b3e5a(0x1d1)+_0x129ef6);}workerDetails[_0x1b3e5a(0x184)][_0x1b3e5a(0x165)]=_0x5cda0b;if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x5cda0b);}catch(_0x2ca7d1){logger['debug'](_0x1b3e5a(0x198)+util[_0x1b3e5a(0x1ca)](_0x2ca7d1));}try{if(!_0x125174['pcwAD'](isUndefined,_0x5cda0b[_0x1b3e5a(0x1e7)]['tags'])){const _0x5d8cad=_0x125174[_0x1b3e5a(0x224)](shouldScanTestForAccessibility,null,![],_0x5cda0b[_0x1b3e5a(0x1e7)][_0x1b3e5a(0x1b6)][_0x1b3e5a(0x1df)](({name:_0xcdf3c6})=>_0xcdf3c6));globals[_0x1b3e5a(0x226)](_0x125174[_0x1b3e5a(0x16b)],_0x5d8cad);}}catch(_0x4a685b){logger[_0x1b3e5a(0x1d8)](_0x1b3e5a(0x164)+util[_0x1b3e5a(0x1ca)](_0x4a685b));}_0x125174[_0x1b3e5a(0x1c9)](_0x109bd8);})[_0x13ada4(0x197)](_0x3bf378);});const a11_0x2685d0={};function a11_0x31ff(){const _0x168875=['../../helpers/accessibility-automation/helper','skipSessionName','error','926424zVUxwq','debug','text','Inside\x20browserstack\x20BeforeAll','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','bdAQY','GBfnh','../../index','map','executeAsyncScript','Performing\x20scan\x20before\x20saving\x20results','BROWSERSTACK_TESTHUB_UUID','../v2/cliUtils','parse','../utils/constants','zdJFx','pickle','setTestNameForHealingContext','FNdVU','Inside\x20browserstack\x20registerListeners','56wmcQVT','getInstance','uploadEventData','LPOpb','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','HeFUq','nDrVn','getPackageVersion','gBqJl','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','AroDT','Cucumber-JS','platformCaps','test_run','__timeout','bs:addLog:','BROWSERSTACK_TESTHUB_JWT','setFrameworkDetail','XOgjl',',\x22level\x22:\x20\x22','AfterAll','../../helpers/accessibility-automation/scripts','gHdoj','removeAllListeners','browserstackSessionName','getId','timeout','catch','testCaseStartedId','../../helpers/testhub/constants.js','push','sHieG','MiAkm','performScan','NasAG','winstonLogger','BatRR',',\x20isPlaywrightFlow=','htClI','session_','info','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','toString','../playwright/reporter/reporter.js','Dqocb','KzDhM','executeScript','\x22}}','PLAYWRIGHT','__sessionFailed','closeTracker','o11ySyncDone','setDefaultTimeout','event_type','name','__skipSessionName','CBTSessionCreated','kjMEK','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','setGlobal','shutdown','passed','bstack','toLowerCase','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','SAKwe','pwPage','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','testInfo','__skipSessionStatus','GLsaz','getGlobal','Error:\x20cleaning\x20up\x20driver:\x20','cucumber-js','mFbHv','dcSqF','EHDhA','JGIRl','Error:\x20in\x20quitting\x20driver\x20','189tpwHLd','../../helpers/performance/performance-tester','Error:\x20quiting\x20driver\x20at\x20After:\x20','../../helpers/setKeepAlive','__error_messages__','18915040grTWhi','thJwtToken','failed','getTestUUID','Rbaxa','BSTACK_CONFIG','CONFIG','12114OMCwCb','kuIuR','saveTestResults','length','__drivers','Error:\x20sendPlatformDetails\x20at\x20After:\x20','1007232kMlikc','Error:\x20at\x20After\x20(Selenium):\x20','currentTest','join','startMonitoring','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Flow\x20detection:\x20isSeleniumFlow=','then','executeDeferredCloses','1336685WhpXPH','../../helpers/helper','driverCleanup','isAccessibilityPlatform','dEFQM','initializePlaywrightPatching','shift','pid','KMMhR','bUjjo','21366fTDMfv','message','finally','Error\x20in\x20playwright\x20beforeTestHook:\x20','lodash','skipSessionStatus','split','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','JjrAd','@cucumber/cucumber','NyAiy','Failed:\x20','AHkTA','thBuildUuid','setFramework','env','stringify','../../helpers/test-observability/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','rriId','addTestUIDAndReportLog','Passed:\x20','NQbPz','result','@playwright/test','jNsIi','BeforeAll','../../helpers/testhub/utils','pickleStep','../../helpers/test-observability/sessionHandler','1|2|4|3|0','XcHwi','tags','../../helpers/test-observability/error-handler','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','FXRbl','lidPs','YgoKG','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','cAKgz','Completed\x20Playwright\x20afterTestHook\x20execution','../../helpers/logger','ntGEz','browserstackAgentV2','isCliEnabled','@cucumber/cucumber/lib/index.js','quitCount_','Error\x20determining\x20test\x20flow:\x20','detis','CUCUMBER','xsItY','yCgBo','format','__workerDetails','../playwright/reporter/test-details.js','144472NCkNQO','status','yMuNy','658lalZZK','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','util','ENV_VAR'];a11_0x31ff=function(){return _0x168875;};return a11_0x31ff();}a11_0x2685d0['name']=a11_0x465cf5(0x229),a11_0x2685d0['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],After(a11_0x2685d0,function(_0x33176e,_0x5e4894){const _0x1ff4c3=a11_0x465cf5,_0x488d32={'cAKgz':function(_0x419ec8,_0xf7f55b){return _0x419ec8>_0xf7f55b;},'lidPs':function(_0x383d83,_0x811ada){return _0x383d83===_0x811ada;},'moEKU':_0x1ff4c3(0x177),'NQbPz':function(_0x25c22c,_0x121654,_0x24d925,_0x225805){return _0x25c22c(_0x121654,_0x24d925,_0x225805);},'KMYJN':'\x20|\x20','SxOHq':function(_0x19dd9d,_0x42ecd0,_0x2c58d2){return _0x19dd9d(_0x42ecd0,_0x2c58d2);},'FXRbl':_0x1ff4c3(0x228),'KzDhM':_0x1ff4c3(0x1be),'KMMhR':_0x1ff4c3(0x225),'FNdVU':function(_0x35d57e){return _0x35d57e();},'DNNMQ':_0x1ff4c3(0x223),'Dqocb':_0x1ff4c3(0x18e),'detis':'bstackA11yShouldScan','qJlNy':_0x1ff4c3(0x1b8),'zdJFx':_0x1ff4c3(0x1e1),'Rbaxa':_0x1ff4c3(0x19d),'BatRR':function(_0x62361b,_0x42fc0a){return _0x62361b>_0x42fc0a;},'XcHwi':'Inside\x20browserstack\x20After'};logger[_0x1ff4c3(0x1d8)](_0x488d32[_0x1ff4c3(0x1b5)]),workerDetails[_0x1ff4c3(0x184)][_0x1ff4c3(0x165)]=_0x33176e,new Promise(async _0x31a5c2=>{const _0x21f5ad=_0x1ff4c3;let _0x198e39=![],_0x25a232=![],_0x55db66=![];try{global[_0x21f5ad(0x180)]&&_0x488d32[_0x21f5ad(0x1bd)](global[_0x21f5ad(0x180)][_0x21f5ad(0x17f)],0x0)&&(_0x25a232=!![]),playwrightPatcher&&global[_0x21f5ad(0x1cb)]&&global[_0x21f5ad(0x1cb)][_0x21f5ad(0x163)]&&(_0x55db66=!![],logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x1db)+!!global[_0x21f5ad(0x1cb)][_0x21f5ad(0x163)]));}catch(_0x4fc61c){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x1c5)+_0x4fc61c);}logger['debug'](_0x21f5ad(0x188)+_0x25a232+_0x21f5ad(0x210)+_0x55db66);const _0x48b386=_0x33176e[_0x21f5ad(0x1ad)][_0x21f5ad(0x1ce)][_0x21f5ad(0x215)]()[_0x21f5ad(0x160)](),_0x3139a1=_0x488d32[_0x21f5ad(0x1ba)](_0x48b386,_0x488d32['moEKU'])||_0x488d32[_0x21f5ad(0x1ba)](_0x48b386,'6'),_0x2bb33a=_0x3139a1?_0x33176e[_0x21f5ad(0x1ad)]['message']:null;if(_0x3139a1)try{global[_0x21f5ad(0x174)][_0x21f5ad(0x209)](_0x33176e[_0x21f5ad(0x1ad)]['message']),global['__sessionFailed']=!![];}catch(_0x12006c){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x214)+_0x12006c);}if(_0x25a232)try{global['__drivers']&&_0x488d32[_0x21f5ad(0x1bd)](global[_0x21f5ad(0x180)][_0x21f5ad(0x17f)],0x1)&&(await global[_0x21f5ad(0x18d)](),global[_0x21f5ad(0x180)][_0x21f5ad(0x191)](),global['__error_messages__']=[],global[_0x21f5ad(0x21c)]=![]),global[_0x21f5ad(0x180)]&&global['__drivers'][0x0]&&(await global[_0x21f5ad(0x180)][0x0]['session_'],_0x198e39=!![],!global['__skipSessionName']&&await global[_0x21f5ad(0x180)][0x0]['executeScript'](_0x21f5ad(0x1a8)+_0x33176e[_0x21f5ad(0x1e7)][_0x21f5ad(0x221)]+_0x21f5ad(0x21a)),_0x3139a1?await _0x488d32[_0x21f5ad(0x1ac)](markSessionStatus,global[_0x21f5ad(0x180)][0x0],_0x488d32['moEKU'],global[_0x21f5ad(0x174)][_0x21f5ad(0x185)](_0x488d32['KMYJN'])):await _0x488d32['SxOHq'](markSessionStatus,global[_0x21f5ad(0x180)][0x0],_0x488d32['FXRbl']));}catch(_0x50b93d){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x183)+util['format'](_0x50b93d));}if(_0x55db66)try{const _0x1d79ad=_0x3139a1?_0x488d32['moEKU']:_0x488d32[_0x21f5ad(0x1b9)];await playwrightPatcher['afterTestHook'](_0x33176e,_0x1d79ad,_0x2bb33a),logger[_0x21f5ad(0x1d8)](_0x488d32[_0x21f5ad(0x218)]);}catch(_0x393887){logger[_0x21f5ad(0x1d8)]('Error:\x20at\x20After\x20(Playwright):\x20'+util['format'](_0x393887));try{playwrightPatcher[_0x21f5ad(0x18a)]&&(await playwrightPatcher[_0x21f5ad(0x18a)](),logger[_0x21f5ad(0x1d8)](_0x488d32[_0x21f5ad(0x193)]));}catch(_0x355d86){logger[_0x21f5ad(0x1d8)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x21f5ad(0x1ca)](_0x355d86));}}try{if(_0x488d32[_0x21f5ad(0x1e9)](shouldProcessEventForTesthub)){const _0x1239ae=TestDetails['getTestUUID'](_0x33176e['testCaseStartedId']);let _0x25d224=null;global[_0x21f5ad(0x180)]&&global['__drivers'][0x0]&&(_0x25d224=await _0x488d32[_0x21f5ad(0x1ac)](sendPlatformDetails,global[_0x21f5ad(0x180)][0x0],_0x1239ae,!![]));const _0x251bcc={};_0x251bcc['uuid']=_0x1239ae,_0x251bcc['integrations']=_0x25d224;const _0x2ea3dd=_0x251bcc,_0x3aa85b={};_0x3aa85b[_0x21f5ad(0x220)]=_0x488d32['DNNMQ'],_0x3aa85b[_0x21f5ad(0x1f8)]=_0x2ea3dd,await SessionHandler[_0x21f5ad(0x1ed)](_0x3aa85b);}}catch(_0x10d153){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x181)+util[_0x21f5ad(0x1ca)](_0x10d153));}try{if(globals['getGlobal'](_0x488d32[_0x21f5ad(0x217)])&&globals[_0x21f5ad(0x168)](_0x488d32[_0x21f5ad(0x1c6)])){logger[_0x21f5ad(0x213)](_0x488d32['qJlNy']);const _0x4f922d=TestDetails[_0x21f5ad(0x178)](_0x33176e[_0x21f5ad(0x207)]),_0x2df6c8={};_0x2df6c8['thTestRunUuid']=_0x4f922d,_0x2df6c8[_0x21f5ad(0x1a3)]=process[_0x21f5ad(0x1a5)][testHubConstants[_0x21f5ad(0x1d3)][_0x21f5ad(0x1e2)]],_0x2df6c8[_0x21f5ad(0x176)]=process[_0x21f5ad(0x1a5)][testHubConstants['ENV_VAR'][_0x21f5ad(0x1fb)]];const _0x5c730f=_0x2df6c8;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x21f5ad(0x1a6)](_0x5c730f)),logger['debug'](_0x488d32[_0x21f5ad(0x1e6)]),global[_0x21f5ad(0x180)]&&global[_0x21f5ad(0x180)][0x0]&&(logger[_0x21f5ad(0x1d8)](util[_0x21f5ad(0x1ca)](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x21f5ad(0x20c)],{'method':global[_0x21f5ad(0x203)]}))),await global[_0x21f5ad(0x180)][0x0][_0x21f5ad(0x1e0)](scripts[_0x21f5ad(0x17e)],_0x5c730f)),logger['info'](_0x488d32[_0x21f5ad(0x179)]);}}catch(_0x2e31fe){logger[_0x21f5ad(0x1d6)](_0x21f5ad(0x1ef)+util[_0x21f5ad(0x1ca)]);}if(_0x198e39)try{global['__drivers'][0x0]&&_0x488d32[_0x21f5ad(0x20f)](global[_0x21f5ad(0x180)][0x0][_0x21f5ad(0x1c4)],0x0)&&await global['__drivers'][0x0]['initQuit']();}catch(_0x3b0228){logger[_0x21f5ad(0x1d8)](_0x21f5ad(0x172)+_0x3b0228);}_0x488d32[_0x21f5ad(0x1e9)](_0x31a5c2);})[_0x1ff4c3(0x197)](()=>_0x5e4894());});const a11_0x1dea61={};a11_0x1dea61[a11_0x465cf5(0x221)]=a11_0x465cf5(0x229),a11_0x1dea61[a11_0x465cf5(0x205)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],AfterStep(a11_0x1dea61,function(_0x2424fa,_0x9fb5f5){const _0x39160e=a11_0x465cf5,_0x5ebe34={'AHkTA':function(_0x5374a6,_0x292654){return _0x5374a6===_0x292654;},'GODWR':_0x39160e(0x177),'JjrAd':function(_0x2ff037,_0x1efb96){return _0x2ff037!==_0x1efb96;},'NasAG':function(_0x5f4ef6,_0x3b10f0,_0x44f30f){return _0x5f4ef6(_0x3b10f0,_0x44f30f);},'EHDhA':function(_0x505c83,_0x2bdf75){return _0x505c83+_0x2bdf75;},'cwvcX':function(_0x33158a,_0x2f8573){return _0x33158a+_0x2f8573;},'bUjjo':_0x39160e(0x1a1),'bwtBZ':'\x0aError:\x20','dEFQM':_0x39160e(0x1d6),'dcSqF':function(_0x321493,_0x5224bc){return _0x321493+_0x5224bc;},'xsItY':function(_0x236b7a,_0x4b2eb8,_0x5c2ecf){return _0x236b7a(_0x4b2eb8,_0x5c2ecf);},'SCnLw':_0x39160e(0x1ab),'YgoKG':_0x39160e(0x213),'kuIuR':'Passed','MiAkm':function(_0x4b515b){return _0x4b515b();},'gHdoj':'Inside\x20browserstack\x20AfterStep'};logger[_0x39160e(0x1d8)](_0x5ebe34[_0x39160e(0x201)]);const _0x3baf94=async(_0x1f2013,_0x1b8ca4)=>{const _0x1e92e5=_0x39160e;global[_0x1e92e5(0x180)]&&global[_0x1e92e5(0x180)][0x0]&&await global['__drivers'][0x0][_0x1e92e5(0x219)](_0x1e92e5(0x1f4)+_0x1f2013+_0x1e92e5(0x1fe)+_0x1b8ca4+_0x1e92e5(0x21a));};new Promise(async _0x438f00=>{const _0xaefafb=_0x39160e;try{_0x5ebe34[_0xaefafb(0x1a2)](_0x2424fa['result'][_0xaefafb(0x1ce)][_0xaefafb(0x215)]()[_0xaefafb(0x160)](),_0x5ebe34['GODWR'])||_0x5ebe34['AHkTA'](_0x2424fa['result']['status'][_0xaefafb(0x215)]()[_0xaefafb(0x160)](),'6')?(global[_0xaefafb(0x21c)]=!![],global[_0xaefafb(0x174)]['push'](_0x2424fa['result'][_0xaefafb(0x196)]),_0x5ebe34[_0xaefafb(0x19e)](_0x2424fa[_0xaefafb(0x1b2)],undefined)?await _0x5ebe34[_0xaefafb(0x20d)](_0x3baf94,JSON[_0xaefafb(0x1a6)](_0x5ebe34[_0xaefafb(0x16d)](_0x5ebe34['cwvcX'](_0x5ebe34[_0xaefafb(0x16d)](_0x5ebe34[_0xaefafb(0x194)],'\x22'+_0x2424fa[_0xaefafb(0x1b2)][_0xaefafb(0x1d9)]+'\x22\x20'),_0x5ebe34['bwtBZ']),_0x2424fa[_0xaefafb(0x1ad)]['message'])),_0x5ebe34[_0xaefafb(0x18f)]):await _0x5ebe34[_0xaefafb(0x20d)](_0x3baf94,JSON['stringify'](_0x5ebe34[_0xaefafb(0x16c)](_0x5ebe34[_0xaefafb(0x194)],_0x2424fa[_0xaefafb(0x1ad)][_0xaefafb(0x196)])),_0x5ebe34['dEFQM'])):_0x5ebe34[_0xaefafb(0x19e)](_0x2424fa[_0xaefafb(0x1b2)],undefined)?await _0x5ebe34[_0xaefafb(0x1c8)](_0x3baf94,JSON[_0xaefafb(0x1a6)](_0x5ebe34[_0xaefafb(0x16d)](_0x5ebe34['SCnLw'],'\x22'+_0x2424fa[_0xaefafb(0x1b2)][_0xaefafb(0x1d9)]+'\x22')),_0x5ebe34['YgoKG']):await _0x5ebe34[_0xaefafb(0x20d)](_0x3baf94,JSON[_0xaefafb(0x1a6)](_0x5ebe34[_0xaefafb(0x17d)]),_0x5ebe34[_0xaefafb(0x1bb)]),global[_0xaefafb(0x180)]&&global[_0xaefafb(0x180)][0x0]&&global[_0xaefafb(0x180)][0x0][_0xaefafb(0x212)][_0xaefafb(0x189)](_0x3a6a74=>{})[_0xaefafb(0x206)](_0x34e963=>{const _0x592d9e=_0xaefafb;logger[_0x592d9e(0x1d8)](_0x592d9e(0x1bc)+util[_0x592d9e(0x1ca)](_0x34e963));});}catch(_0x291082){logger['debug']('Error:\x20at\x20After\x20Step:\x20'+_0x291082);}_0x5ebe34[_0xaefafb(0x20b)](_0x438f00);})[_0x39160e(0x197)](()=>_0x9fb5f5());});const a11_0x5a5df7={};function a11_0x4425(_0x41b2ec,_0x17d8ea){const _0x31ffe5=a11_0x31ff();return a11_0x4425=function(_0x442595,_0xd6db5a){_0x442595=_0x442595-0x160;let _0x3542f8=_0x31ffe5[_0x442595];return _0x3542f8;},a11_0x4425(_0x41b2ec,_0x17d8ea);}a11_0x5a5df7[a11_0x465cf5(0x221)]='bstack',a11_0x5a5df7[a11_0x465cf5(0x205)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x465cf5(0x1f6)],AfterAll(a11_0x5a5df7,async function(_0x2ffec5,_0x416cf3){const _0x5c567e=a11_0x465cf5,_0x34bbba={'GBfnh':_0x5c567e(0x1b4),'HeFUq':function(_0x1aa62c){return _0x1aa62c();},'SAKwe':'Cleaned\x20up\x20Playwright\x20close\x20tracker','bdAQY':'Inside\x20browserstack\x20AfterAll'};logger[_0x5c567e(0x1d8)](_0x34bbba[_0x5c567e(0x1dc)]),await new Promise(async _0x375ce6=>{const _0x47c4c7=_0x5c567e,_0x4ffe9b=_0x34bbba[_0x47c4c7(0x1dd)][_0x47c4c7(0x19b)]('|');let _0x3ac771=0x0;while(!![]){switch(_0x4ffe9b[_0x3ac771++]){case'0':_0x34bbba[_0x47c4c7(0x1f0)](_0x375ce6);continue;case'1':await RequestQueueHandler[_0x47c4c7(0x1ec)]()[_0x47c4c7(0x227)]();continue;case'2':PerformanceTester['stopMonitoring']();continue;case'3':await global[_0x47c4c7(0x18d)]();continue;case'4':try{playwrightPatcher&&playwrightPatcher[_0x47c4c7(0x18a)]&&(await playwrightPatcher[_0x47c4c7(0x18a)](),playwrightPatcher[_0x47c4c7(0x21d)]&&playwrightPatcher[_0x47c4c7(0x21d)]['cleanup'](),logger[_0x47c4c7(0x1d8)](_0x34bbba[_0x47c4c7(0x162)]));}catch(_0x566a2d){logger[_0x47c4c7(0x1d8)](_0x47c4c7(0x187)+util['format'](_0x566a2d));}continue;}break;}});});
@@ -1 +1 @@
1
- const a12_0x1f56a8=a12_0x5a84;(function(_0x562fc4,_0x551771){const _0x3a49b0=a12_0x5a84,_0x4d220f=_0x562fc4();while(!![]){try{const _0x37c866=parseInt(_0x3a49b0(0x19b))/0x1*(-parseInt(_0x3a49b0(0x19a))/0x2)+parseInt(_0x3a49b0(0x19d))/0x3+parseInt(_0x3a49b0(0x1af))/0x4+parseInt(_0x3a49b0(0x190))/0x5+-parseInt(_0x3a49b0(0x187))/0x6*(-parseInt(_0x3a49b0(0x17d))/0x7)+-parseInt(_0x3a49b0(0x185))/0x8*(-parseInt(_0x3a49b0(0x18d))/0x9)+-parseInt(_0x3a49b0(0x17f))/0xa;if(_0x37c866===_0x551771)break;else _0x4d220f['push'](_0x4d220f['shift']());}catch(_0x3d2eb9){_0x4d220f['push'](_0x4d220f['shift']());}}}(a12_0x7a04,0xd468f));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x1f56a8(0x19c)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a12_0x1f56a8(0x197),a12_0x1f56a8(0x1a6)),logger=require('../../helpers/logger')[a12_0x1f56a8(0x1a9)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x1f56a8(0x1a7)],After=cucumberModule[a12_0x1f56a8(0x1b3)],configuration=process[a12_0x1f56a8(0x1a2)]['CONFIG'];if(configuration!==undefined){const config=JSON[a12_0x1f56a8(0x1a1)](configuration);isTrue(config[a12_0x1f56a8(0x1ae)])&&(global['__skipSessionName']=!![]),global[a12_0x1f56a8(0x1a8)]=isTrue(config[a12_0x1f56a8(0x184)]),require(a12_0x1f56a8(0x193))[a12_0x1f56a8(0x18e)](config),global[a12_0x1f56a8(0x18b)]=config[a12_0x1f56a8(0x1b4)]||{};}global[a12_0x1f56a8(0x1a4)]=0x0;function a12_0x5a84(_0x2c8845,_0x588a48){const _0x7a0488=a12_0x7a04();return a12_0x5a84=function(_0x5a8447,_0x5e8d29){_0x5a8447=_0x5a8447-0x17d;let _0x177088=_0x7a0488[_0x5a8447];return _0x177088;},a12_0x5a84(_0x2c8845,_0x588a48);}const __setDefaultTimeout=cucumberModule[a12_0x1f56a8(0x1b5)];cucumberModule['setDefaultTimeout']=_0x467f00=>{const _0x247034=a12_0x1f56a8,_0x1b10b9={'JMyHi':function(_0x550281,_0xa76b16){return _0x550281(_0xa76b16);}};global[_0x247034(0x1a4)]=_0x467f00,_0x1b10b9[_0x247034(0x196)](__setDefaultTimeout,_0x467f00);};const a12_0x5dba1f={};a12_0x5dba1f[a12_0x1f56a8(0x183)]=a12_0x1f56a8(0x198),Before(a12_0x5dba1f,function(){const _0x3e408a=a12_0x1f56a8,_0x442d70={};_0x442d70[_0x3e408a(0x194)]=_0x3e408a(0x19f);const _0x1087b3=_0x442d70;logger[_0x3e408a(0x1b1)](_0x1087b3[_0x3e408a(0x194)]),global[_0x3e408a(0x181)]=[];});const a12_0x136f09={};a12_0x136f09[a12_0x1f56a8(0x183)]=a12_0x1f56a8(0x198),a12_0x136f09[a12_0x1f56a8(0x182)]=0x2710,After(a12_0x136f09,function(_0x5692df,_0x7b2c6f){const _0x419e93=a12_0x1f56a8,_0x266c46={'ukRyf':function(_0x273599,_0x1d0bbd){return _0x273599===_0x1d0bbd;},'VIuRD':_0x419e93(0x188),'HtMMn':function(_0x3e10a5,_0x2f102f,_0x2dfcb8,_0x1b4ed9){return _0x3e10a5(_0x2f102f,_0x2dfcb8,_0x1b4ed9);},'eKTgC':_0x419e93(0x18c),'ybquJ':function(_0x4c7ad3,_0x373948,_0x308717){return _0x4c7ad3(_0x373948,_0x308717);},'oKgCe':_0x419e93(0x18f),'oOyrU':function(_0x5137bc){return _0x5137bc();},'gFrUh':function(_0x21335a,_0x228a35){return _0x21335a(_0x228a35);},'QdkIQ':_0x419e93(0x1ab)};logger[_0x419e93(0x1b1)](_0x266c46[_0x419e93(0x1ac)]),new Promise(async(_0x3f623d,_0x53570e)=>{const _0x4256a2=_0x419e93;let _0x2bf9a5=![];try{await global[_0x4256a2(0x192)]['session_'],_0x2bf9a5=!![],!global[_0x4256a2(0x1b2)]&&await global['__driver'][_0x4256a2(0x1b6)](_0x4256a2(0x1b0)+_0x5692df['pickle']['name']+_0x4256a2(0x17e)),_0x266c46[_0x4256a2(0x19e)](_0x5692df[_0x4256a2(0x195)]['status'][_0x4256a2(0x180)](),_0x266c46[_0x4256a2(0x1a5)])?await _0x266c46['HtMMn'](markSessionStatus,global['__driver'],_0x266c46[_0x4256a2(0x1a5)],global[_0x4256a2(0x181)][_0x4256a2(0x1ad)](_0x266c46[_0x4256a2(0x1a3)])):await _0x266c46['ybquJ'](markSessionStatus,global[_0x4256a2(0x192)],_0x266c46[_0x4256a2(0x191)]);}catch(_0x2e7a92){logger[_0x4256a2(0x1b1)](_0x4256a2(0x1aa)+_0x2e7a92);}if(_0x2bf9a5)try{await global['__driver'][_0x4256a2(0x1a0)](),_0x266c46[_0x4256a2(0x199)](_0x3f623d);}catch(_0xcd0bf9){logger[_0x4256a2(0x1b1)](_0x4256a2(0x189)+_0xcd0bf9),_0x266c46[_0x4256a2(0x18a)](_0x53570e,_0xcd0bf9);}else _0x266c46[_0x4256a2(0x199)](_0x53570e);})[_0x419e93(0x186)](()=>_0x7b2c6f());});function a12_0x7a04(){const _0x332e72=['294bPnoCo','\x22}}','42701910wTYvCc','toLowerCase','__error_messages__','timeout','name','skipSessionStatus','5852792anUPyJ','then','159966bXiBpA','failed','Error:\x20quiting\x20at\x20After:\x20','gFrUh','__platformCaps','\x20|\x20','9kalUXW','browserstackAgentV2','passed','5307645lXztkd','oKgCe','__driver','../../index','AgUwx','result','JMyHi','cucumber/lib/index.js','bstack','oOyrU','2yUCNxI','46817xiIBlg','../../helpers/helper','1628661zjctJL','ukRyf','Inside\x20browserstack\x20Before','initQuit','parse','env','eKTgC','__timeout','VIuRD','cucumber','Before','__skipSessionStatus','winstonLogger','Error:\x20setting\x20status\x20at\x20After:\x20','Inside\x20browserstack\x20After','QdkIQ','join','skipSessionName','6925048zuqhRA','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','debug','__skipSessionName','After','platformCaps','setDefaultTimeout','executeScript'];a12_0x7a04=function(){return _0x332e72;};return a12_0x7a04();}
1
+ function a12_0x154b(_0x5a726,_0x2f8ff4){const _0xc14d7b=a12_0xc14d();return a12_0x154b=function(_0x154b80,_0x1bcae3){_0x154b80=_0x154b80-0x99;let _0x1457b4=_0xc14d7b[_0x154b80];return _0x1457b4;},a12_0x154b(_0x5a726,_0x2f8ff4);}const a12_0x5493a3=a12_0x154b;function a12_0xc14d(){const _0x28a5bf=['initQuit','timeout','__skipSessionName','NUckd','__driver','cucumber','__error_messages__','102332BWnjMl','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','12GkKvuE','env','__platformCaps','946mRYnfc','14422870evSZdT','__timeout','IVWMV','debug','413kNRjfA','2wDBVpS','setDefaultTimeout','result','lskqE','Error:\x20quiting\x20at\x20After:\x20','name','9YLjYtl','EwwGc','bstack','jIFcN','../../helpers/helper','Before','tCSnl','After','../../helpers/setKeepAlive','\x20|\x20','executeScript','Error:\x20setting\x20status\x20at\x20After:\x20','__skipSessionStatus','session_','\x22}}','FEVAQ','then','2967895rPGuWc','failed','CONFIG','skipSessionStatus','Inside\x20browserstack\x20Before','VEnSv','UhGJf','112039obNytE','126486fhdREV','join','475736DBFjIc','19260ouaeFC','browserstackAgentV2'];a12_0xc14d=function(){return _0x28a5bf;};return a12_0xc14d();}(function(_0x37c9b0,_0x169a82){const _0x6651f9=a12_0x154b,_0x256cbe=_0x37c9b0();while(!![]){try{const _0x45b264=parseInt(_0x6651f9(0xc1))/0x1*(parseInt(_0x6651f9(0xa3))/0x2)+-parseInt(_0x6651f9(0x9a))/0x3*(parseInt(_0x6651f9(0xce))/0x4)+parseInt(_0x6651f9(0xba))/0x5+parseInt(_0x6651f9(0xc2))/0x6*(-parseInt(_0x6651f9(0xa2))/0x7)+parseInt(_0x6651f9(0xc4))/0x8*(parseInt(_0x6651f9(0xa9))/0x9)+parseInt(_0x6651f9(0x9e))/0xa+parseInt(_0x6651f9(0x9d))/0xb*(-parseInt(_0x6651f9(0xc5))/0xc);if(_0x45b264===_0x169a82)break;else _0x256cbe['push'](_0x256cbe['shift']());}catch(_0x41e4d5){_0x256cbe['push'](_0x256cbe['shift']());}}}(a12_0xc14d,0xb091f));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x5493a3(0xad)),setKeepAlive=require(a12_0x5493a3(0xb1)),cucumberModule=requireModule('cucumber/lib/index.js',a12_0x5493a3(0xcc)),logger=require('../../helpers/logger')['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x5493a3(0xae)],After=cucumberModule[a12_0x5493a3(0xb0)],configuration=process[a12_0x5493a3(0x9b)][a12_0x5493a3(0xbc)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config['skipSessionName'])&&(global[a12_0x5493a3(0xc9)]=!![]),global[a12_0x5493a3(0xb5)]=isTrue(config[a12_0x5493a3(0xbd)]),require('../../index')[a12_0x5493a3(0xc6)](config),global[a12_0x5493a3(0x9c)]=config['platformCaps']||{};}global[a12_0x5493a3(0x9f)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a12_0x5493a3(0xa4)]=_0x501726=>{const _0x1ede17={'KNYGa':function(_0x38588e,_0x369f9e){return _0x38588e(_0x369f9e);}};global['__timeout']=_0x501726,_0x1ede17['KNYGa'](__setDefaultTimeout,_0x501726);};const a12_0x29ac8e={};a12_0x29ac8e['name']=a12_0x5493a3(0xab),Before(a12_0x29ac8e,function(){const _0x43c15f=a12_0x5493a3,_0x4084db={};_0x4084db[_0x43c15f(0xa0)]=_0x43c15f(0xbe);const _0x1edba5=_0x4084db;logger[_0x43c15f(0xa1)](_0x1edba5[_0x43c15f(0xa0)]),global[_0x43c15f(0xcd)]=[];});const a12_0x19e32b={};a12_0x19e32b[a12_0x5493a3(0xa8)]=a12_0x5493a3(0xab),a12_0x19e32b[a12_0x5493a3(0xc8)]=0x2710,After(a12_0x19e32b,function(_0x129858,_0x2603fa){const _0x34d8ab=a12_0x5493a3,_0x4faca6={'UhGJf':function(_0x3da1ee,_0x28fa67){return _0x3da1ee===_0x28fa67;},'gMmhi':_0x34d8ab(0xbb),'lskqE':function(_0x241b64,_0x5aed71,_0x220f1e,_0x4ee1d2){return _0x241b64(_0x5aed71,_0x220f1e,_0x4ee1d2);},'jIFcN':_0x34d8ab(0xb2),'slFGH':function(_0x2478db,_0x12eec9,_0x1006a9){return _0x2478db(_0x12eec9,_0x1006a9);},'NUckd':'passed','EwwGc':function(_0x7e3ff8){return _0x7e3ff8();},'FEVAQ':function(_0x53404d,_0x22cd8b){return _0x53404d(_0x22cd8b);},'tCSnl':function(_0x44f67d){return _0x44f67d();},'VEnSv':'Inside\x20browserstack\x20After'};logger[_0x34d8ab(0xa1)](_0x4faca6[_0x34d8ab(0xbf)]),new Promise(async(_0x48ba3d,_0x226730)=>{const _0x5203e1=_0x34d8ab;let _0x24b388=![];try{await global[_0x5203e1(0xcb)][_0x5203e1(0xb6)],_0x24b388=!![],!global[_0x5203e1(0xc9)]&&await global[_0x5203e1(0xcb)][_0x5203e1(0xb3)](_0x5203e1(0x99)+_0x129858['pickle'][_0x5203e1(0xa8)]+_0x5203e1(0xb7)),_0x4faca6[_0x5203e1(0xc0)](_0x129858[_0x5203e1(0xa5)]['status']['toLowerCase'](),_0x4faca6['gMmhi'])?await _0x4faca6[_0x5203e1(0xa6)](markSessionStatus,global[_0x5203e1(0xcb)],_0x4faca6['gMmhi'],global[_0x5203e1(0xcd)][_0x5203e1(0xc3)](_0x4faca6[_0x5203e1(0xac)])):await _0x4faca6['slFGH'](markSessionStatus,global[_0x5203e1(0xcb)],_0x4faca6[_0x5203e1(0xca)]);}catch(_0x359df6){logger['debug'](_0x5203e1(0xb4)+_0x359df6);}if(_0x24b388)try{await global[_0x5203e1(0xcb)][_0x5203e1(0xc7)](),_0x4faca6[_0x5203e1(0xaa)](_0x48ba3d);}catch(_0x7d5892){logger['debug'](_0x5203e1(0xa7)+_0x7d5892),_0x4faca6[_0x5203e1(0xb8)](_0x226730,_0x7d5892);}else _0x4faca6[_0x5203e1(0xaf)](_0x226730);})[_0x34d8ab(0xb9)](()=>_0x2603fa());});
@@ -1 +1 @@
1
- const a13_0x11f246=a13_0x1801;(function(_0x411c8f,_0x264c64){const _0x38b036=a13_0x1801,_0x26114c=_0x411c8f();while(!![]){try{const _0x38d365=parseInt(_0x38b036(0xf8))/0x1*(-parseInt(_0x38b036(0xf0))/0x2)+parseInt(_0x38b036(0xf1))/0x3*(-parseInt(_0x38b036(0xf3))/0x4)+parseInt(_0x38b036(0xf2))/0x5+-parseInt(_0x38b036(0xf5))/0x6+-parseInt(_0x38b036(0xf7))/0x7+parseInt(_0x38b036(0xf6))/0x8*(parseInt(_0x38b036(0xea))/0x9)+parseInt(_0x38b036(0xf9))/0xa;if(_0x38d365===_0x264c64)break;else _0x26114c['push'](_0x26114c['shift']());}catch(_0x2a59c1){_0x26114c['push'](_0x26114c['shift']());}}}(a13_0x430d,0xd589d));const {requireModule}=require(a13_0x11f246(0xeb)),constants=require(a13_0x11f246(0xed));;let cucumberModule=null;function a13_0x1801(_0x55153a,_0x45b4e7){const _0x430d0f=a13_0x430d();return a13_0x1801=function(_0x1801be,_0x453b27){_0x1801be=_0x1801be-0xea;let _0x167cfb=_0x430d0f[_0x1801be];return _0x167cfb;},a13_0x1801(_0x55153a,_0x45b4e7);}try{cucumberModule=requireModule(a13_0x11f246(0xee),a13_0x11f246(0xec));}catch(a13_0x41a24c){cucumberModule=requireModule(a13_0x11f246(0xef),'cucumber');}cucumberModule[a13_0x11f246(0xf4)](constants[a13_0x11f246(0xfa)]+global['__timeout']*0x1);function a13_0x430d(){const _0x133553=['42PpMIqD','6cSDydR','7043125VcQAjV','1357836OFwySv','setDefaultTimeout','465546SAMjAl','4252568OFkcNZ','7193879bPtKwf','78836wcNirj','23742190dFEdgU','BSTACK_DELTA','9ixEliw','../../helpers/helper','@cucumber/cucumber','../utils/constants','@cucumber/cucumber/lib/index.js','cucumber/lib/index.js'];a13_0x430d=function(){return _0x133553;};return a13_0x430d();}
1
+ const a13_0x1a5be0=a13_0x1bb4;(function(_0x10cf86,_0x25b5b0){const _0x678bb0=a13_0x1bb4,_0x162c1d=_0x10cf86();while(!![]){try{const _0x56fdf3=-parseInt(_0x678bb0(0x174))/0x1*(parseInt(_0x678bb0(0x178))/0x2)+-parseInt(_0x678bb0(0x17f))/0x3*(-parseInt(_0x678bb0(0x179))/0x4)+parseInt(_0x678bb0(0x177))/0x5+-parseInt(_0x678bb0(0x17c))/0x6*(parseInt(_0x678bb0(0x17b))/0x7)+parseInt(_0x678bb0(0x16f))/0x8*(-parseInt(_0x678bb0(0x171))/0x9)+parseInt(_0x678bb0(0x175))/0xa+-parseInt(_0x678bb0(0x176))/0xb;if(_0x56fdf3===_0x25b5b0)break;else _0x162c1d['push'](_0x162c1d['shift']());}catch(_0x289c06){_0x162c1d['push'](_0x162c1d['shift']());}}}(a13_0x4d42,0x32138));const {requireModule}=require(a13_0x1a5be0(0x172)),constants=require(a13_0x1a5be0(0x180));;let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a13_0x1a5be0(0x170));}catch(a13_0x3e8747){cucumberModule=requireModule(a13_0x1a5be0(0x17d),a13_0x1a5be0(0x17e));}function a13_0x4d42(){const _0x51923d=['__timeout','162tqSDIt','2466360MBTTaF','577830yEbCfF','405240PFCRJL','4184ESaAQa','12TIabDd','BSTACK_DELTA','7yjUqNt','38436BWFAwU','cucumber/lib/index.js','cucumber','401109VDnYDt','../utils/constants','8WsULip','@cucumber/cucumber','1132569CWOlUO','../../helpers/helper'];a13_0x4d42=function(){return _0x51923d;};return a13_0x4d42();}function a13_0x1bb4(_0x39be67,_0x154487){const _0x4d42bb=a13_0x4d42();return a13_0x1bb4=function(_0x1bb480,_0x31bf52){_0x1bb480=_0x1bb480-0x16f;let _0x4ec702=_0x4d42bb[_0x1bb480];return _0x4ec702;},a13_0x1bb4(_0x39be67,_0x154487);}cucumberModule['setDefaultTimeout'](constants[a13_0x1a5be0(0x17a)]+global[a13_0x1a5be0(0x173)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x3d9f(_0x3a3d2c,_0x2c09be){const _0x122d68=a14_0x122d();return a14_0x3d9f=function(_0x3d9f4a,_0x535a14){_0x3d9f4a=_0x3d9f4a-0x1e5;let _0x73dc6c=_0x122d68[_0x3d9f4a];return _0x73dc6c;},a14_0x3d9f(_0x3a3d2c,_0x2c09be);}const a14_0x1aedeb=a14_0x3d9f;(function(_0x540cf3,_0x2d5063){const _0x328e73=a14_0x3d9f,_0xa74563=_0x540cf3();while(!![]){try{const _0x385e7e=parseInt(_0x328e73(0x211))/0x1+-parseInt(_0x328e73(0x1f6))/0x2*(parseInt(_0x328e73(0x220))/0x3)+parseInt(_0x328e73(0x210))/0x4+-parseInt(_0x328e73(0x20b))/0x5+parseInt(_0x328e73(0x1e5))/0x6+parseInt(_0x328e73(0x1fe))/0x7+parseInt(_0x328e73(0x208))/0x8*(parseInt(_0x328e73(0x1e9))/0x9);if(_0x385e7e===_0x2d5063)break;else _0xa74563['push'](_0xa74563['shift']());}catch(_0x422f74){_0xa74563['push'](_0xa74563['shift']());}}}(a14_0x122d,0x511cf));const {default:BrowserStackSetup}=require(a14_0x1aedeb(0x1fa)),logger=require('../../helpers/logger')[a14_0x1aedeb(0x1fd)],{URL}=require(a14_0x1aedeb(0x20a)),helper=require(a14_0x1aedeb(0x22c)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x1aedeb(0x1e6)),validHosts=function(_0x1befe3){const _0x4b536a=a14_0x1aedeb;return _0x1befe3[_0x4b536a(0x209)](',')[_0x4b536a(0x205)](_0x591f10=>{const _0x3bf4db=_0x4b536a;try{new URL(_0x591f10[_0x3bf4db(0x1fb)]());}catch(_0x466baf){return![];}return!![];});},parseOnPremHosts=function(_0x436275){const _0x348771=a14_0x1aedeb,_0x6a1cac={};_0x6a1cac[_0x348771(0x225)]=function(_0x535d5e,_0x111665){return _0x535d5e===_0x111665;},_0x6a1cac[_0x348771(0x1e7)]=_0x348771(0x212),_0x6a1cac[_0x348771(0x1ff)]=_0x348771(0x22d),_0x6a1cac[_0x348771(0x20e)]='https';const _0x128d15=_0x6a1cac;return _0x436275[_0x348771(0x209)](',')[_0x348771(0x215)](_0x59e9f2=>{const _0xb220c9=_0x348771,_0x342858=new URL(_0x59e9f2['trim']()),_0x1552bd=_0x342858[_0xb220c9(0x1eb)],_0x1258d4=_0x342858[_0xb220c9(0x217)]||(_0x128d15['QmwOa'](_0x342858['protocol'],_0x128d15[_0xb220c9(0x1e7)])?_0x128d15[_0xb220c9(0x1ff)]:'80'),_0x27a098=_0x342858[_0xb220c9(0x1f7)]['replace'](':',''),_0x48cb6a=_0x128d15[_0xb220c9(0x225)](_0x27a098,_0x128d15[_0xb220c9(0x20e)])?0x1:0x0;return _0x1552bd+','+_0x1258d4+','+_0x48cb6a;});},connectCommandBuilder=function(_0x9a61e3){const _0x586439=a14_0x1aedeb,_0x14bfcb={};_0x14bfcb[_0x586439(0x20c)]=_0x586439(0x1e8);const _0x29c8ce=_0x14bfcb,_0x151b5e={};_0x151b5e[_0x586439(0x22b)]=HELP_MESSAGES['options'][_0x586439(0x1f9)],_0x151b5e[_0x586439(0x22e)]=_0x29c8ce['bBrNx'];const _0x31f736={};_0x31f736['describe']=HELP_MESSAGES[_0x586439(0x20f)][_0x586439(0x1ef)],_0x31f736[_0x586439(0x22e)]=_0x29c8ce[_0x586439(0x20c)],_0x31f736[_0x586439(0x228)]=!![];const _0x5d7b57={};return _0x5d7b57[_0x586439(0x204)]=_0x151b5e,_0x5d7b57[_0x586439(0x1ef)]=_0x31f736,_0x9a61e3['options'](_0x5d7b57);},connectCommandHandler=async function(_0xa41195){const _0x2ab338=a14_0x1aedeb,_0x36820c={'RGshj':_0x2ab338(0x216),'iLYZZ':function(_0xc0c0d4,_0x36c9fb){return _0xc0c0d4===_0x36c9fb;},'jjhEG':'undefined','IZgiB':'BrowserStack\x20access\x20key\x20missing.','tegoK':function(_0x252c86,_0x57e060){return _0x252c86===_0x57e060;},'qFOgD':_0x2ab338(0x22f),'oPHrJ':function(_0x23676c,_0x13a7be){return _0x23676c(_0x13a7be);},'NAPBL':_0x2ab338(0x222),'UmxoH':function(_0xbb6339,_0x43c319){return _0xbb6339(_0x43c319);},'sxOTm':_0x2ab338(0x221),'oYMHi':_0x2ab338(0x1f1),'bJRcX':'Failed\x20to\x20establish\x20connection.'};try{const _0x1284fd=new BrowserStackSetup(_0xa41195,_0x36820c[_0x2ab338(0x224)]);_0xa41195[_0x2ab338(0x201)]&&(_0x1284fd['config'][_0x2ab338(0x22a)]=_0xa41195['bstackAccesskey']);if(_0x36820c[_0x2ab338(0x223)](typeof _0x1284fd[_0x2ab338(0x1f2)][_0x2ab338(0x22a)],_0x36820c[_0x2ab338(0x200)])){logger[_0x2ab338(0x1f5)](_0x36820c[_0x2ab338(0x226)]);throw new Error(ERROR_MESSAGES[_0x2ab338(0x1f9)]['missing']);}const _0x324fa5=_0xa41195[_0x2ab338(0x1ef)];if(_0x36820c[_0x2ab338(0x1ec)](typeof _0x324fa5,_0x36820c[_0x2ab338(0x200)])){logger[_0x2ab338(0x1f5)](_0x36820c[_0x2ab338(0x219)]);throw new Error(ERROR_MESSAGES[_0x2ab338(0x1ef)][_0x2ab338(0x213)]);}if(!_0x36820c[_0x2ab338(0x21d)](validHosts,_0x324fa5)){logger[_0x2ab338(0x1f5)](_0x36820c[_0x2ab338(0x21e)]);throw new Error(ERROR_MESSAGES[_0x2ab338(0x1ef)]['invalid']);}const _0xb262d2=_0x36820c[_0x2ab338(0x1f4)](parseOnPremHosts,_0x324fa5);_0x1284fd[_0x2ab338(0x1f2)][_0x2ab338(0x218)]=!![],_0x1284fd[_0x2ab338(0x1f2)][_0x2ab338(0x1f0)][_0x2ab338(0x214)]=_0x36820c[_0x2ab338(0x21a)],_0x1284fd['config']['browserStackLocalOptions'][_0x2ab338(0x203)]=_0xb262d2[_0x2ab338(0x1ea)](','),helper[_0x2ab338(0x1ee)](_0x1284fd[_0x2ab338(0x1f2)]),await _0x1284fd[_0x2ab338(0x1f3)](),logger[_0x2ab338(0x202)](_0x36820c[_0x2ab338(0x230)]);}catch(_0x2a0db1){logger[_0x2ab338(0x1f5)](_0x36820c['bJRcX']);throw new Error(_0x2a0db1[_0x2ab338(0x227)]());}};function run(_0x2b7ff0){const _0x2ef982=a14_0x1aedeb,_0x4c6572={};_0x4c6572[_0x2ef982(0x207)]=_0x2ef982(0x20d),_0x4c6572['AnJGO']=_0x2ef982(0x21b);const _0x45f2f9=_0x4c6572;_0x2b7ff0[_0x2ef982(0x229)](HELP_MESSAGES['command'][_0x2ef982(0x1ed)])[_0x2ef982(0x1f8)](_0x45f2f9[_0x2ef982(0x207)],HELP_MESSAGES[_0x2ef982(0x1f8)][_0x2ef982(0x20d)],connectCommandBuilder,connectCommandHandler)[_0x2ef982(0x206)]()['help'](_0x45f2f9[_0x2ef982(0x21f)])[_0x2ef982(0x1fc)](HELP_MESSAGES['command']['footer']);}module[a14_0x1aedeb(0x21c)]=run;function a14_0x122d(){const _0x281be3=['oPHrJ','NAPBL','AnJGO','585282MiRFJZ','integrations-repeater','Hosts\x20not\x20valid','iLYZZ','RGshj','QmwOa','IZgiB','toString','demandOption','usage','accessKey','describe','../../helpers/helper','443','type','Integration\x20hosts\x20missing.','oYMHi','1540518kpkOAZ','./constants','jDOYB','string','826389dFQyfq','join','hostname','tegoK','root','setProxySettings','hosts','browserStackLocalOptions','Connection\x20established\x20successfully.','config','setupBrowserstackLocal','UmxoH','error','6CPXQQA','protocol','command','bstackAccessKey','../../helpers/BrowserStackSetup','trim','epilogue','winstonLogger','1551333QOsswZ','ddzof','jjhEG','bstackAccesskey','info','only','bstack-accesskey','every','demandCommand','dThli','24ucxPIZ','split','url','2335320tsFznX','bBrNx','connect','xeQtw','options','2501296PSltFB','5426qwAknl','https:','missing','localIdentifier','map','integrations','port','browserstackLocal','qFOgD','sxOTm','help','exports'];a14_0x122d=function(){return _0x281be3;};return a14_0x122d();}
2
+ 'use strict';const a14_0x160bbd=a14_0x29c1;(function(_0x2387ff,_0x4c8520){const _0xf8ec64=a14_0x29c1,_0x5044d0=_0x2387ff();while(!![]){try{const _0x21ca3f=parseInt(_0xf8ec64(0x185))/0x1+-parseInt(_0xf8ec64(0x173))/0x2*(-parseInt(_0xf8ec64(0x182))/0x3)+parseInt(_0xf8ec64(0x1ab))/0x4*(parseInt(_0xf8ec64(0x197))/0x5)+parseInt(_0xf8ec64(0x1b7))/0x6*(parseInt(_0xf8ec64(0x19a))/0x7)+parseInt(_0xf8ec64(0x1b1))/0x8*(-parseInt(_0xf8ec64(0x199))/0x9)+parseInt(_0xf8ec64(0x1a0))/0xa*(parseInt(_0xf8ec64(0x1ae))/0xb)+parseInt(_0xf8ec64(0x1b3))/0xc*(-parseInt(_0xf8ec64(0x189))/0xd);if(_0x21ca3f===_0x4c8520)break;else _0x5044d0['push'](_0x5044d0['shift']());}catch(_0x1c3530){_0x5044d0['push'](_0x5044d0['shift']());}}}(a14_0x3416,0x4d896));const {default:BrowserStackSetup}=require(a14_0x160bbd(0x195)),logger=require(a14_0x160bbd(0x17b))['winstonLogger'],{URL}=require('url'),helper=require(a14_0x160bbd(0x1ad)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x160bbd(0x19c)),validHosts=function(_0x2d7bd7){const _0x7eb72d=a14_0x160bbd;return _0x2d7bd7[_0x7eb72d(0x18e)](',')['every'](_0x139b05=>{try{new URL(_0x139b05['trim']());}catch(_0x27ed20){return![];}return!![];});},parseOnPremHosts=function(_0x57be60){const _0xbba3ef=a14_0x160bbd,_0x348716={};_0x348716[_0xbba3ef(0x18b)]=function(_0x27f646,_0x3d1597){return _0x27f646===_0x3d1597;},_0x348716['BEuap']=_0xbba3ef(0x1b5),_0x348716[_0xbba3ef(0x19b)]=_0xbba3ef(0x17a),_0x348716['bTiGV']=function(_0x402333,_0xd1780){return _0x402333===_0xd1780;},_0x348716['jmFez']=_0xbba3ef(0x1a3);const _0x20234e=_0x348716;return _0x57be60[_0xbba3ef(0x18e)](',')[_0xbba3ef(0x179)](_0x5f3ec7=>{const _0x3b8195=_0xbba3ef,_0x296d95=new URL(_0x5f3ec7[_0x3b8195(0x17c)]()),_0x98ebf=_0x296d95[_0x3b8195(0x1a2)],_0xbe541=_0x296d95[_0x3b8195(0x176)]||(_0x20234e[_0x3b8195(0x18b)](_0x296d95[_0x3b8195(0x1a5)],_0x20234e['BEuap'])?_0x20234e[_0x3b8195(0x19b)]:'80'),_0x2c7eaf=_0x296d95[_0x3b8195(0x1a5)]['replace'](':',''),_0x383f83=_0x20234e[_0x3b8195(0x196)](_0x2c7eaf,_0x20234e[_0x3b8195(0x19d)])?0x1:0x0;return _0x98ebf+','+_0xbe541+','+_0x383f83;});},connectCommandBuilder=function(_0x4b3fcf){const _0x102432=a14_0x160bbd,_0x1de191={};_0x1de191[_0x102432(0x180)]=_0x102432(0x193);const _0x44e9db=_0x1de191,_0x1d020b={};_0x1d020b[_0x102432(0x1a1)]=HELP_MESSAGES['options'][_0x102432(0x18d)],_0x1d020b[_0x102432(0x1a8)]=_0x44e9db['UPNHG'];const _0x18102d={};_0x18102d[_0x102432(0x1a1)]=HELP_MESSAGES[_0x102432(0x18f)][_0x102432(0x17e)],_0x18102d['type']=_0x44e9db['UPNHG'],_0x18102d['demandOption']=!![];const _0x5be29e={};return _0x5be29e['bstack-accesskey']=_0x1d020b,_0x5be29e[_0x102432(0x17e)]=_0x18102d,_0x4b3fcf[_0x102432(0x18f)](_0x5be29e);},connectCommandHandler=async function(_0x5cb586){const _0x2da822=a14_0x160bbd,_0x5125a3={'kRXrF':_0x2da822(0x1af),'WROgU':function(_0x2e0db3,_0x3d2fb5){return _0x2e0db3===_0x3d2fb5;},'hhaih':_0x2da822(0x198),'cWtCw':'BrowserStack\x20access\x20key\x20missing.','BxMuc':function(_0x5e7f15,_0x2e31e0){return _0x5e7f15===_0x2e31e0;},'TavgZ':_0x2da822(0x1ac),'MOhLK':function(_0x4288fb,_0xd0199b){return _0x4288fb(_0xd0199b);},'BHPyC':'Hosts\x20not\x20valid','rROIe':function(_0x51a4da,_0x34d91e){return _0x51a4da(_0x34d91e);},'OqLtp':_0x2da822(0x174),'rstiP':_0x2da822(0x1b6),'hQJeS':_0x2da822(0x1b0)};try{const _0x14ab56=new BrowserStackSetup(_0x5cb586,_0x5125a3[_0x2da822(0x187)]);_0x5cb586[_0x2da822(0x18a)]&&(_0x14ab56['config']['accessKey']=_0x5cb586['bstackAccesskey']);if(_0x5125a3[_0x2da822(0x1a6)](typeof _0x14ab56[_0x2da822(0x1b8)][_0x2da822(0x186)],_0x5125a3[_0x2da822(0x1a4)])){logger[_0x2da822(0x1a9)](_0x5125a3[_0x2da822(0x177)]);throw new Error(ERROR_MESSAGES[_0x2da822(0x18d)]['missing']);}const _0x38bee3=_0x5cb586['hosts'];if(_0x5125a3[_0x2da822(0x184)](typeof _0x38bee3,_0x5125a3[_0x2da822(0x1a4)])){logger['error'](_0x5125a3[_0x2da822(0x1aa)]);throw new Error(ERROR_MESSAGES[_0x2da822(0x17e)][_0x2da822(0x194)]);}if(!_0x5125a3['MOhLK'](validHosts,_0x38bee3)){logger[_0x2da822(0x1a9)](_0x5125a3[_0x2da822(0x178)]);throw new Error(ERROR_MESSAGES['hosts'][_0x2da822(0x183)]);}const _0x4e064e=_0x5125a3['rROIe'](parseOnPremHosts,_0x38bee3);_0x14ab56[_0x2da822(0x1b8)][_0x2da822(0x192)]=!![],_0x14ab56[_0x2da822(0x1b8)]['browserStackLocalOptions'][_0x2da822(0x175)]=_0x5125a3[_0x2da822(0x191)],_0x14ab56[_0x2da822(0x1b8)]['browserStackLocalOptions']['only']=_0x4e064e['join'](','),helper[_0x2da822(0x171)](_0x14ab56[_0x2da822(0x1b8)]),await _0x14ab56['setupBrowserstackLocal'](),logger[_0x2da822(0x1b2)](_0x5125a3['rstiP']);}catch(_0x5d451c){logger['error'](_0x5125a3[_0x2da822(0x17d)]);throw new Error(_0x5d451c['toString']());}};function a14_0x29c1(_0x223db3,_0x59b88e){const _0x341606=a14_0x3416();return a14_0x29c1=function(_0x29c11c,_0x180ff9){_0x29c11c=_0x29c11c-0x171;let _0x28f91c=_0x341606[_0x29c11c];return _0x28f91c;},a14_0x29c1(_0x223db3,_0x59b88e);}function a14_0x3416(){const _0x27b5d6=['localIdentifier','port','cWtCw','BHPyC','map','443','../../helpers/logger','trim','hQJeS','hosts','help','UPNHG','vxzjK','3lLMmXt','invalid','BxMuc','177512uRUvPM','accessKey','kRXrF','footer','13yZymzg','bstackAccesskey','SQJFl','root','bstackAccessKey','split','options','exports','OqLtp','browserstackLocal','string','missing','../../helpers/BrowserStackSetup','bTiGV','150155FaDWcC','undefined','189dWvVTl','7uTXUNq','Ndjbg','./constants','jmFez','command','ERSei','10xqlRBj','describe','hostname','https','hhaih','protocol','WROgU','connect','type','error','TavgZ','44QFlolZ','Integration\x20hosts\x20missing.','../../helpers/helper','1109427iyZrqU','integrations','Failed\x20to\x20establish\x20connection.','196496YBdRvr','info','1856964ywIHzC','demandCommand','https:','Connection\x20established\x20successfully.','1270848VUJggP','config','setProxySettings','epilogue','335242iDLPxR','integrations-repeater'];a14_0x3416=function(){return _0x27b5d6;};return a14_0x3416();}function run(_0x1a789d){const _0xf4fa28=a14_0x160bbd,_0x4b1687={};_0x4b1687[_0xf4fa28(0x181)]=_0xf4fa28(0x1a7),_0x4b1687[_0xf4fa28(0x19f)]=_0xf4fa28(0x17f);const _0x25f47b=_0x4b1687;_0x1a789d['usage'](HELP_MESSAGES[_0xf4fa28(0x19e)][_0xf4fa28(0x18c)])[_0xf4fa28(0x19e)](_0x25f47b[_0xf4fa28(0x181)],HELP_MESSAGES['command']['connect'],connectCommandBuilder,connectCommandHandler)[_0xf4fa28(0x1b4)]()[_0xf4fa28(0x17f)](_0x25f47b[_0xf4fa28(0x19f)])[_0xf4fa28(0x172)](HELP_MESSAGES[_0xf4fa28(0x19e)][_0xf4fa28(0x188)]);}module[a14_0x160bbd(0x190)]=run;
@@ -1 +1 @@
1
- var a15_0x5857c3=a15_0x38e4;(function(_0x590112,_0x5b0c38){var _0x364b5b=a15_0x38e4,_0xe4a738=_0x590112();while(!![]){try{var _0x2bd98d=parseInt(_0x364b5b(0x119))/0x1+parseInt(_0x364b5b(0x10f))/0x2*(parseInt(_0x364b5b(0x115))/0x3)+parseInt(_0x364b5b(0x112))/0x4+parseInt(_0x364b5b(0x121))/0x5+parseInt(_0x364b5b(0x11e))/0x6+-parseInt(_0x364b5b(0x113))/0x7+-parseInt(_0x364b5b(0x11f))/0x8*(parseInt(_0x364b5b(0x11b))/0x9);if(_0x2bd98d===_0x5b0c38)break;else _0xe4a738['push'](_0xe4a738['shift']());}catch(_0x5f1f27){_0xe4a738['push'](_0xe4a738['shift']());}}}(a15_0x4dff,0x1bbc3));var a15_0x3063c8={};a15_0x3063c8[a15_0x5857c3(0x10e)]=a15_0x5857c3(0x122),a15_0x3063c8[a15_0x5857c3(0x11a)]=a15_0x5857c3(0x11d);var a15_0x689218={};a15_0x689218['root']='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a15_0x689218[a15_0x5857c3(0x118)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a15_0x689218[a15_0x5857c3(0x11c)]=a15_0x5857c3(0x114);var a15_0x571ce4={};a15_0x571ce4['options']=a15_0x3063c8,a15_0x571ce4[a15_0x5857c3(0x111)]=a15_0x689218,exports[a15_0x5857c3(0x120)]=a15_0x571ce4;var a15_0xb507bd={};function a15_0x4dff(){var _0x375213=['Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','bstackAccessKey','82598SlgIhu','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.','command','272516oexeEa','1326668OXdVar','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','15XPgcOg','invalid','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','connect','181348fHiDDf','hosts','679275GhcrTE','footer','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.','26676NBIrSw','40rVVuez','HELP_MESSAGES','1100420GOCmtA','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a15_0x4dff=function(){return _0x375213;};return a15_0x4dff();}a15_0xb507bd['missing']=a15_0x5857c3(0x117);var a15_0x5e74fd={};function a15_0x38e4(_0x570eea,_0x186e3c){var _0x4dff86=a15_0x4dff();return a15_0x38e4=function(_0x38e461,_0x375433){_0x38e461=_0x38e461-0x10d;var _0x35a880=_0x4dff86[_0x38e461];return _0x35a880;},a15_0x38e4(_0x570eea,_0x186e3c);}a15_0x5e74fd['missing']=a15_0x5857c3(0x10d),a15_0x5e74fd[a15_0x5857c3(0x116)]=a15_0x5857c3(0x110);var a15_0x3960f9={};a15_0x3960f9['bstackAccessKey']=a15_0xb507bd,a15_0x3960f9[a15_0x5857c3(0x11a)]=a15_0x5e74fd,exports['ERROR_MESSAGES']=a15_0x3960f9;
1
+ var a15_0x5a2567=a15_0x2c68;function a15_0x2c68(_0x2ee44f,_0x36ae6e){var _0x1ef7ba=a15_0x1ef7();return a15_0x2c68=function(_0x2c68b8,_0x1b23d6){_0x2c68b8=_0x2c68b8-0x117;var _0x23b88f=_0x1ef7ba[_0x2c68b8];return _0x23b88f;},a15_0x2c68(_0x2ee44f,_0x36ae6e);}function a15_0x1ef7(){var _0x25ca7e=['bstackAccessKey','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','212nWvTUt','HELP_MESSAGES','hosts','18sTjbes','options','invalid','connect','ERROR_MESSAGES','294210NHchOT','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','1860805lCuXdC','1967632ZkAGod','command','root','11284KklHPK','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\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','2522230XtvfkD','missing','2973929oQQglj','5951232GwkisT','footer','165ABMCFB','6azbFkZ'];a15_0x1ef7=function(){return _0x25ca7e;};return a15_0x1ef7();}(function(_0x628e25,_0x257057){var _0x522a5a=a15_0x2c68,_0x2475ea=_0x628e25();while(!![]){try{var _0x47022a=parseInt(_0x522a5a(0x132))/0x1*(parseInt(_0x522a5a(0x124))/0x2)+parseInt(_0x522a5a(0x11f))/0x3*(parseInt(_0x522a5a(0x12f))/0x4)+-parseInt(_0x522a5a(0x12e))/0x5*(-parseInt(_0x522a5a(0x127))/0x6)+parseInt(_0x522a5a(0x11b))/0x7+parseInt(_0x522a5a(0x11c))/0x8+parseInt(_0x522a5a(0x12c))/0x9+-parseInt(_0x522a5a(0x119))/0xa*(parseInt(_0x522a5a(0x11e))/0xb);if(_0x47022a===_0x257057)break;else _0x2475ea['push'](_0x2475ea['shift']());}catch(_0x3567cb){_0x2475ea['push'](_0x2475ea['shift']());}}}(a15_0x1ef7,0xae703));var a15_0x8ce006={};a15_0x8ce006[a15_0x5a2567(0x120)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a15_0x8ce006[a15_0x5a2567(0x126)]='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_0x269b7e={};a15_0x269b7e[a15_0x5a2567(0x131)]=a15_0x5a2567(0x12d),a15_0x269b7e[a15_0x5a2567(0x12a)]=a15_0x5a2567(0x118),a15_0x269b7e[a15_0x5a2567(0x11d)]=a15_0x5a2567(0x121);var a15_0x5c317d={};a15_0x5c317d[a15_0x5a2567(0x128)]=a15_0x8ce006,a15_0x5c317d[a15_0x5a2567(0x130)]=a15_0x269b7e,exports[a15_0x5a2567(0x125)]=a15_0x5c317d;var a15_0x113588={};a15_0x113588['missing']=a15_0x5a2567(0x122);var a15_0x36ab4f={};a15_0x36ab4f[a15_0x5a2567(0x11a)]=a15_0x5a2567(0x123),a15_0x36ab4f[a15_0x5a2567(0x129)]=a15_0x5a2567(0x117);var a15_0x5e194f={};a15_0x5e194f['bstackAccessKey']=a15_0x113588,a15_0x5e194f[a15_0x5a2567(0x126)]=a15_0x36ab4f,exports[a15_0x5a2567(0x12b)]=a15_0x5e194f;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a16_0x35ed0d=a16_0x26f7;(function(_0x1c370c,_0x287659){const _0x4183c7=a16_0x26f7,_0x2efba0=_0x1c370c();while(!![]){try{const _0x2cc316=-parseInt(_0x4183c7(0xff))/0x1+-parseInt(_0x4183c7(0xed))/0x2*(-parseInt(_0x4183c7(0xa5))/0x3)+-parseInt(_0x4183c7(0xbf))/0x4+-parseInt(_0x4183c7(0x102))/0x5+parseInt(_0x4183c7(0x113))/0x6*(-parseInt(_0x4183c7(0xfa))/0x7)+-parseInt(_0x4183c7(0x15b))/0x8*(-parseInt(_0x4183c7(0xc6))/0x9)+parseInt(_0x4183c7(0x110))/0xa*(parseInt(_0x4183c7(0x154))/0xb);if(_0x2cc316===_0x287659)break;else _0x2efba0['push'](_0x2efba0['shift']());}catch(_0x1dac55){_0x2efba0['push'](_0x2efba0['shift']());}}}(a16_0x4fe3,0xba38c));const fs=require('fs'),path=require(a16_0x35ed0d(0x11d)),util=require(a16_0x35ed0d(0x15c)),{spawn}=require(a16_0x35ed0d(0xe5)),logger=require(a16_0x35ed0d(0xbc))[a16_0x35ed0d(0xfd)],{default:BrowserStackSetup}=require(a16_0x35ed0d(0xc1)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a16_0x35ed0d(0xab)),accessibilityHelper=require(a16_0x35ed0d(0x10a)),{updateTestRerunConfig}=require(a16_0x35ed0d(0x114)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a16_0x35ed0d(0xa9)),TestDetails=require(a16_0x35ed0d(0xa8)),{getPercyOptions}=require(a16_0x35ed0d(0xea)),TestHubHandler=require(a16_0x35ed0d(0xd1)),testhubUtils=require(a16_0x35ed0d(0x14b)),{FRAMEWORKS}=require(a16_0x35ed0d(0xf3)),PerformanceTester=require(a16_0x35ed0d(0xda)),PerformanceEvents=require('../../helpers/performance/constants')[a16_0x35ed0d(0x119)],TestOrchestrationHandler=require(a16_0x35ed0d(0x160)),getUserJestConfigs=async(_0x4f85a6,_0x346bb5)=>{const _0x25b08b=a16_0x35ed0d,_0x841a6a={'GPDrJ':_0x25b08b(0xb7),'ajAZx':_0x25b08b(0xfb),'EhgPj':function(_0x24c39b,_0x28b115){return _0x24c39b||_0x28b115;},'mvtiN':function(_0x4fc823,_0x5dda91){return _0x4fc823(_0x5dda91);},'gFeai':_0x25b08b(0x15d),'BBaqw':_0x25b08b(0x10c),'FibMe':'mjs','wbiiy':'cjs','rfPll':_0x25b08b(0xd8)},_0x50c960=helper[_0x25b08b(0x162)](_0x841a6a[_0x25b08b(0xcc)],_0x841a6a[_0x25b08b(0x14d)]),_0x528ed7=_0x346bb5['findIndex'](_0x2fdef4=>_0x2fdef4===_0x25b08b(0xae));if(!helper[_0x25b08b(0x128)](_0x4f85a6[_0x25b08b(0x152)])){logger['info'](_0x25b08b(0xb3)+_0x4f85a6[_0x25b08b(0x152)]),process[_0x25b08b(0xfc)][_0x25b08b(0x14c)]=_0x4f85a6[_0x25b08b(0x152)];const _0x529ddf=await(0x0,_0x50c960[_0x25b08b(0x131)])(path[_0x25b08b(0x14a)](_0x4f85a6['config']));return _0x346bb5[_0x25b08b(0x11a)](_0x528ed7,0x2),_0x841a6a[_0x25b08b(0xa6)](_0x529ddf,{});}const _0x2bb44e=_0x841a6a[_0x25b08b(0x148)](require,path['join'](process[_0x25b08b(0xd0)](),_0x841a6a[_0x25b08b(0x166)]));if(_0x2bb44e[_0x25b08b(0x13f)])return logger['info'](_0x841a6a['BBaqw']),_0x2bb44e[_0x25b08b(0x13f)];const _0x337278=['js',_0x841a6a[_0x25b08b(0xd3)],_0x841a6a[_0x25b08b(0x159)],_0x841a6a[_0x25b08b(0xb4)],'ts'];for(const _0x2d6cc2 of _0x337278){const _0x5be8bc=path[_0x25b08b(0xcb)](process[_0x25b08b(0xd0)](),_0x25b08b(0x165)+_0x2d6cc2);if(fs[_0x25b08b(0x16f)](_0x5be8bc)){process['env']['USER_CONFIG_DETAILS_PATH']=_0x5be8bc;const _0x1963f4=await(0x0,_0x50c960[_0x25b08b(0x131)])(_0x5be8bc);return _0x1963f4;}}return{};},getSerial=(_0x44de9b,_0x58381e)=>{const _0x489e52=a16_0x35ed0d,_0x184c76={};_0x184c76[_0x489e52(0x109)]=_0x489e52(0xf5),_0x184c76[_0x489e52(0x170)]=function(_0x7acc5a,_0xb40942){return _0x7acc5a>_0xb40942;},_0x184c76['HfxyE']=function(_0x272f8d,_0xebf0dd){return _0x272f8d>_0xebf0dd;},_0x184c76['oYxsd']=_0x489e52(0x101);const _0x4eeee4=_0x184c76;let _0x3f5371=_0x4eeee4[_0x489e52(0x109)];return _0x4eeee4['QWtFP'](_0x44de9b[_0x489e52(0x15e)],0x1)&&(!_0x58381e[_0x489e52(0x111)]&&(helper['isUndefined'](_0x58381e[_0x489e52(0x103)])||_0x4eeee4['HfxyE'](_0x58381e[_0x489e52(0x103)],0x1)))&&(_0x3f5371=_0x4eeee4[_0x489e52(0x147)]),_0x3f5371;},getMaxWorkers=(_0x819cbf,_0x3d131,_0x47b198)=>{const _0x57fda0=a16_0x35ed0d,_0x30a558={'zuIAo':function(_0xf73e88,_0x5a6b09){return _0xf73e88(_0x5a6b09);}};let _0x3da224=0x1;if(!helper[_0x57fda0(0x128)](_0x3d131[_0x57fda0(0xc5)]))_0x3da224=_0x30a558[_0x57fda0(0xcf)](parseInt,_0x3d131[_0x57fda0(0xc5)]);else{if(!helper[_0x57fda0(0x128)](_0x819cbf[_0x57fda0(0x103)]))_0x3da224=_0x819cbf[_0x57fda0(0x103)];else!helper[_0x57fda0(0x128)](_0x47b198[_0x57fda0(0x103)])&&(_0x3da224=_0x47b198['maxWorkers']);}return _0x3da224;};function a16_0x26f7(_0x1d8ac6,_0x2c17e4){const _0x4fe3b0=a16_0x4fe3();return a16_0x26f7=function(_0x26f72d,_0x4772f6){_0x26f72d=_0x26f72d-0xa2;let _0x530e14=_0x4fe3b0[_0x26f72d];return _0x530e14;},a16_0x26f7(_0x1d8ac6,_0x2c17e4);}function a16_0x4fe3(){const _0xac1831=['finalExecution','testRunner','cNAHX','gJpPR','testObservability','iixpe','OJQSR','accessibility','ooUgR','getPackageType','child_process','platformCaps','setupTCGAuth','child\x20process\x20exited\x20with\x20code\x20','npx','../../helpers/percy/utils','getTCGConfigFilePaths','Error\x20while\x20parsing\x20','2477994wEVcgy','JEST_TEST_ORDER','JRHmX','iKIuC','const\x20config=','assign','../../helpers/test-observability/constants','customEnvironment.js','true','Deleting\x20','runner','nIRlW','isNotUndefined','14DMswcT','jest-config','env','winstonLogger','errorMessage','1240946xYeZkO','inherit','false','3022380vAqZOg','maxWorkers','end','AXVpK',';\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','customImplements','skipSessionName','QKLBS','../../helpers/accessibility-automation/helper','recursive','Getting\x20your\x20jest\x20configs\x20from\x20package.json','test-observability','exitCode','grDLu','19563210kEMtgm','runInBand','parseTestOrchestrationOptions','1402158sNSErQ','./test-observability/helper','useW3C','getHubUrl','\x20with\x20browserstack\x20jest\x20configs','\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','EVENTS','splice','PACKAGE_TYPE','setupFiles','path','data-hooks.js','getErrorMessageFromResults','stringify','force','log','IrnDL','maxFailures','slice','testSequencer','igdTD','isUndefined','close','reorderTestFiles','Tsxbw','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','customTestRunner.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','FRAMEWORKS','launchBuild','default','SWHDJ','testEnvironment','PzFja','lmSto','RYNPe','agtyf','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','setupFilesAfterEnv','writeFileSync','parallels__','workingDir','MODULE','XNTwV','jest','win32','Umkjf','testContextOptions','serial__','JhdhZ','Unable\x20to\x20find\x20jest-circus,\x20','BSTACK_JEST_TEST_ENV','oYxsd','mvtiN','requireSeleniumWebdriver','resolve','../../helpers/testhub/utils','USER_CONFIG_DETAILS_PATH','ajAZx','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','mGpAP','printBuildLink','setup','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','11ASlkyW','Found:\x20','failFast','initialize','ymEge','wbiiy','turboScaleUrl','4703368nCrtFD','util','package.json','length','prepareCapabilities','../../helpers/test-orchestration/testOrchestrationHandler','fnndX','requireModule','jest.setup.js','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','jest.config.','gFeai','jvrId','testEnvironmentOptions','\x0amodule.exports\x20=\x20config;','DqYvD','timeout__','error\x20removing\x20tcg\x20config\x20file','proxySettings','jest_browserstack_results.json','existsSync','QWtFP','filterBrowserstackArgs','jest-circus','skipSessionStatus','platform','rmSync','platforms','3cDIlyT','EhgPj','fxbMY','./test-observability/test-details','../../helpers/test-observability/utils','retryTestsOnFailure','../utils/constants','findTestFiles','shouldProcessEventForTesthub','--config','xVWqD','isEmpty','isTestOrchestrationEnabled','RaWao','Getting\x20your\x20jest\x20configs\x20from\x20','rfPll','format','jTnCQ','jest-config/build/readConfigFileAndSetRootDir.js','zteHy','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','jest_browserstack.config.cjs','reporters','../../helpers/logger','Creating\x20','accessibilityOptions','2830668gGDquD','browserStackPercyOptions','../../helpers/BrowserStackSetup','abortBuildOnFailure','jest_browserstack.config.js','XeGCI','parallelsPerPlatform','9iTMjtt','push','customCircus.js','unlinkSync','Deleted\x20fail-fast\x20state\x20folder:\x20','join','GPDrJ','info','debug','zuIAo','cwd','../../helpers/testhub/testhubHandler','customTestRunnerTemplate.js','FibMe','retries__','readFileSync','error','SDK_SETUP','json','handleApp','../../helpers/performance/performance-tester'];a16_0x4fe3=function(){return _0xac1831;};return a16_0x4fe3();}async function run(_0x5707a5,_0x416264,_0x1137e4){const _0x3b4f60=a16_0x35ed0d,_0x1a9b84={'saLLR':_0x3b4f60(0x16c),'jTnCQ':_0x3b4f60(0x13f),'Umkjf':function(_0x55cd09,_0x4c0001){return _0x55cd09(_0x4c0001);},'xVWqD':function(_0x502ac3,_0x439897){return _0x502ac3!=_0x439897;},'gJpPR':_0x3b4f60(0xf5),'lmSto':function(_0x3a55b4,_0x1db8e8,_0x12806b){return _0x3a55b4(_0x1db8e8,_0x12806b);},'SWHDJ':_0x3b4f60(0xb9),'RaWao':function(_0x456f31,_0x27e171){return _0x456f31(_0x27e171);},'IrnDL':function(_0x38c2a9,_0x866026,_0x1fff24){return _0x38c2a9(_0x866026,_0x1fff24);},'agtyf':function(_0x1abab7,_0x178192,_0x573912,_0x58e07f){return _0x1abab7(_0x178192,_0x573912,_0x58e07f);},'fnndX':function(_0x4aa811,_0x3b9d51){return _0x4aa811*_0x3b9d51;},'jvrId':function(_0x502a2c,_0x33207){return _0x502a2c===_0x33207;},'nIRlW':_0x3b4f60(0xba),'RdTIy':_0x3b4f60(0xc3),'JhdhZ':_0x3b4f60(0x107),'grDLu':_0x3b4f60(0x16e),'zteHy':_0x3b4f60(0x12d),'cNAHX':_0x3b4f60(0xd2),'AXVpK':_0x3b4f60(0xf4),'ooUgR':_0x3b4f60(0x163),'JRHmX':'customSequencer.js','DqYvD':_0x3b4f60(0x14e),'iixpe':_0x3b4f60(0x172),'XeGCI':_0x3b4f60(0x10d),'iKIuC':_0x3b4f60(0x11e),'Szhvm':_0x3b4f60(0xc8),'ymEge':'test_before.setup.js','XpPhs':_0x3b4f60(0x12c),'mGpAP':_0x3b4f60(0x131),'DtRar':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','OJQSR':function(_0x4c0f39,_0xd340cb){return _0x4c0f39>_0xd340cb;},'igdTD':_0x3b4f60(0x138),'fxbMY':function(_0x3b50a4,_0x1475e4,_0x2e8135,_0x50d22e){return _0x3b50a4(_0x1475e4,_0x2e8135,_0x50d22e);},'XNTwV':_0x3b4f60(0xe9),'Tsxbw':'--config','PneIU':_0x3b4f60(0x140),'RYNPe':_0x3b4f60(0x100),'PzFja':_0x3b4f60(0x129)};helper['isBrowserstackInfra']()?(await _0x1137e4[_0x3b4f60(0x157)](_0x5707a5),await helper[_0x3b4f60(0xd9)](_0x1137e4['config'])):await _0x1137e4[_0x3b4f60(0xe7)]();if(!_0x1137e4[_0x3b4f60(0x152)])return;_0x1a9b84[_0x3b4f60(0xaf)](_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xdf)],null)?process[_0x3b4f60(0xfc)][_0x3b4f60(0x153)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xdf)]:process['env'][_0x3b4f60(0x153)]=_0x1a9b84[_0x3b4f60(0xde)];const _0x45a961=new TestOrchestrationHandler(_0x1137e4[_0x3b4f60(0x152)]),_0xa29aca=await _0x1a9b84[_0x3b4f60(0x135)](getUserJestConfigs,_0x5707a5,_0x416264);logger[_0x3b4f60(0xcd)](_0x1a9b84[_0x3b4f60(0x132)]);const _0x17b717=Object[_0x3b4f60(0xf2)]({},_0xa29aca);_0x17b717[_0x3b4f60(0x168)]=Object[_0x3b4f60(0xf2)]({},_0x17b717[_0x3b4f60(0x168)],{'server':helper[_0x3b4f60(0x116)](_0x1137e4[_0x3b4f60(0x152)]),'environment':_0xa29aca[_0x3b4f60(0x133)]}),_0x17b717['testEnvironmentOptions'][_0x3b4f60(0xc0)]=_0x1a9b84[_0x3b4f60(0xb2)](getPercyOptions,_0x1137e4[_0x3b4f60(0x152)]);const _0x51006e=helper[_0x3b4f60(0x115)](_0x1137e4[_0x3b4f60(0x152)]);!helper[_0x3b4f60(0x128)](_0x1137e4[_0x3b4f60(0x152)]['accessibilityOptions'])&&(process['env'][_0x3b4f60(0x12e)]=JSON['stringify'](_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xbe)]));const _0x2998ea=await TestHubHandler[_0x3b4f60(0x130)](FRAMEWORKS['JEST'],_0x1137e4),_0x51a2cd=helper[_0x3b4f60(0x15f)](_0x1137e4[_0x3b4f60(0x152)],_0x51006e,constants[_0x3b4f60(0x12f)]['JEST']);let _0x32bac6=_0x1137e4['config'][_0x3b4f60(0xe2)];_0x32bac6=_0x32bac6||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1137e4[_0x3b4f60(0x152)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x32bac6,_0x17b717[_0x3b4f60(0x168)]['capabilities']=_0x51a2cd,_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x143)]=_0x1a9b84[_0x3b4f60(0x123)](getSerial,_0x51a2cd,_0x5707a5),_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x13b)]=_0x1a9b84[_0x3b4f60(0x137)](getMaxWorkers,_0x5707a5,_0x1137e4[_0x3b4f60(0x152)],_0xa29aca),_0x17b717['testEnvironmentOptions']['proxySettings']=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x16d)],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x16b)]=_0x1a9b84[_0x3b4f60(0x161)](_0x5707a5['testTimeout'],0x1)||0x1388,_0x17b717[_0x3b4f60(0x168)]['skipSessionName']=_0x1137e4['config'][_0x3b4f60(0x142)][_0x3b4f60(0x108)],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x173)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x142)][_0x3b4f60(0x173)],_0x17b717['testEnvironmentOptions']['browserStackLogLevel']=_0x1137e4['config']['logLevel'],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x15a)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0x15a)],_0x17b717['testEnvironmentOptions'][_0x3b4f60(0xe6)]=_0x1137e4[_0x3b4f60(0x152)][_0x3b4f60(0xa4)];const _0x119f25=helper[_0x3b4f60(0x112)](_0x1137e4[_0x3b4f60(0x152)]);if(!helper[_0x3b4f60(0xb0)](_0x119f25)){helper['isNotUndefined'](_0x119f25['retryTestsOnFailure'])&&(_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0xd4)]=_0x119f25[_0x3b4f60(0xaa)]['maxRetries']);if(helper[_0x3b4f60(0xf9)](_0x119f25['abortBuildOnFailure'])&&helper[_0x3b4f60(0xf9)](_0x119f25['abortBuildOnFailure'][_0x3b4f60(0x13c)])){const _0x53b021={};_0x53b021['failureThresholdCount']=_0x119f25[_0x3b4f60(0xc2)][_0x3b4f60(0x124)],_0x53b021[_0x3b4f60(0x13c)]=_0x119f25[_0x3b4f60(0xc2)]['workingDir'],_0x17b717[_0x3b4f60(0x168)][_0x3b4f60(0x156)]=_0x53b021;}}let _0x48fa3f='';_0x1a9b84[_0x3b4f60(0x167)](helper[_0x3b4f60(0xe4)](),constants[_0x3b4f60(0x11b)][_0x3b4f60(0x13d)])?_0x48fa3f=_0x1a9b84[_0x3b4f60(0xf8)]:_0x48fa3f=_0x1a9b84['RdTIy'];const _0xa6bb50=_0x48fa3f,_0x4d399d=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0x10f)]),_0x2f8a87=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0xb8)]),_0xcd59b5=path['join'](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0xdd)]);_0x17b717[_0x3b4f60(0x133)]&&(process[_0x3b4f60(0xfc)][_0x3b4f60(0x146)]=_0x17b717[_0x3b4f60(0x133)]);_0x17b717['testEnvironment']=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x144)],_0x1a9b84[_0x3b4f60(0x105)]),_0x17b717[_0x3b4f60(0xf7)]=_0x2f8a87,_0x17b717[_0x3b4f60(0x139)]=_0x17b717[_0x3b4f60(0x139)]||[],_0x17b717[_0x3b4f60(0x139)][_0x3b4f60(0xc7)](path['join'](__dirname,_0x1a9b84[_0x3b4f60(0xe3)]));_0x45a961['isTestOrchestrationEnabled']()&&(_0x17b717[_0x3b4f60(0x126)]=path['join'](__dirname,_0x1a9b84['JhdhZ'],_0x1a9b84[_0x3b4f60(0xef)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x568ec3=null;try{_0x568ec3=helper[_0x3b4f60(0x162)](_0x1a9b84[_0x3b4f60(0x16a)],_0x1a9b84[_0x3b4f60(0xe0)]);}catch(_0x5b9f59){_0x1a9b84[_0x3b4f60(0x141)](debug,_0x3b4f60(0x145)+_0x5b9f59);}_0x568ec3&&(_0x17b717['setupFilesAfterEnv'][_0x3b4f60(0xc7)](path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0xc4)],_0x1a9b84[_0x3b4f60(0xf0)])),_0x17b717[_0x3b4f60(0xdc)]=path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84['JhdhZ'],_0x1a9b84['Szhvm']));}_0x17b717['setupFiles']=_0x17b717[_0x3b4f60(0x11c)]||[];try{helper[_0x3b4f60(0x149)](),_0x17b717[_0x3b4f60(0x11c)][_0x3b4f60(0xc7)](path[_0x3b4f60(0xcb)](__dirname,_0x1a9b84[_0x3b4f60(0x158)]));}catch{logger['debug'](_0x1a9b84['XpPhs']);}_0x17b717['reporters']=_0x17b717[_0x3b4f60(0xbb)]||[_0x1a9b84[_0x3b4f60(0x14f)]],_0x1a9b84[_0x3b4f60(0x135)](updateTestRerunConfig,_0x17b717,_0x1137e4);const _0x402d80=fs[_0x3b4f60(0xd5)](_0xcd59b5);fs[_0x3b4f60(0x13a)](_0x17b717[_0x3b4f60(0xf7)],'\x0a\x20\x20\x20\x20'+_0x402d80+_0x3b4f60(0x118)+_0x1137e4[_0x3b4f60(0x152)]['platforms'][_0x3b4f60(0x15e)]+_0x3b4f60(0x106)),logger[_0x3b4f60(0xcd)](_0x3b4f60(0xbd)+_0xa6bb50+_0x3b4f60(0x117)),fs[_0x3b4f60(0x13a)](_0xa6bb50,_0x3b4f60(0xf1)+JSON[_0x3b4f60(0x120)](_0x17b717)+_0x3b4f60(0x169));if(_0x45a961[_0x3b4f60(0xb1)]()){logger['debug'](_0x1a9b84['DtRar']);const _0x3443a7=await _0x45a961[_0x3b4f60(0xac)](_0x17b717,_0x416264[_0x3b4f60(0x125)](0x1),_0xa6bb50);logger[_0x3b4f60(0xce)](_0x3b4f60(0x155)+JSON[_0x3b4f60(0x120)](_0x3443a7)+'\x20test\x20files\x20to\x20run.');const _0x11e00a=await _0x45a961[_0x3b4f60(0x12a)](_0x3443a7);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x11e00a)),_0x11e00a&&_0x1a9b84[_0x3b4f60(0xe1)](_0x11e00a[_0x3b4f60(0x15e)],0x0)&&(process[_0x3b4f60(0xfc)][_0x3b4f60(0xee)]=_0x11e00a?.[_0x3b4f60(0xcb)](','));}logger[_0x3b4f60(0xcd)](_0x1a9b84[_0x3b4f60(0x127)]);testhubUtils[_0x3b4f60(0xad)]()&&TestDetails[_0x3b4f60(0x151)]();helper[_0x3b4f60(0x171)]({},_0x416264),PerformanceTester[_0x3b4f60(0x104)](PerformanceEvents[_0x3b4f60(0xd7)]);const _0x24b057=_0x1a9b84[_0x3b4f60(0xa7)](spawn,_0x1a9b84[_0x3b4f60(0x13e)],[_0x1a9b84[_0x3b4f60(0xb6)],_0x1a9b84[_0x3b4f60(0x12b)],_0xa6bb50,..._0x416264[_0x3b4f60(0x125)](0x1)],{'shell':_0x1a9b84[_0x3b4f60(0x167)](process[_0x3b4f60(0xa2)],_0x1a9b84['PneIU']),'stdio':_0x1a9b84[_0x3b4f60(0x136)],'env':Object[_0x3b4f60(0xf2)]({},process['env'])});_0x24b057['on'](_0x1a9b84[_0x3b4f60(0x134)],async _0x5d09b7=>{const _0x5a4b9b=_0x3b4f60;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x560733,tcgConfigPath:_0x56a604}=helper[_0x5a4b9b(0xeb)]();fs[_0x5a4b9b(0xc9)](_0x56a604),fs['rmdirSync'](_0x560733);}catch(_0x5445d4){logger[_0x5a4b9b(0xce)](_0x1a9b84['saLLR'],_0x5445d4);}process[_0x5a4b9b(0x10e)]=_0x5d09b7,logger[_0x5a4b9b(0xce)](_0x5a4b9b(0xe8)+_0x5d09b7),logger[_0x5a4b9b(0xcd)](_0x5a4b9b(0xf6)+_0xa6bb50);if(helper[_0x5a4b9b(0xf9)](_0x119f25)&&helper['isNotUndefined'](_0x119f25[_0x5a4b9b(0xc2)])&&fs[_0x5a4b9b(0x16f)](_0x119f25['abortBuildOnFailure'][_0x5a4b9b(0x13c)]))try{const _0x2a589e={};_0x2a589e[_0x5a4b9b(0x10b)]=!![],_0x2a589e[_0x5a4b9b(0x121)]=!![],fs[_0x5a4b9b(0xa3)](_0x119f25['abortBuildOnFailure']['workingDir'],_0x2a589e),logger['debug'](_0x5a4b9b(0xca)+_0x119f25['abortBuildOnFailure'][_0x5a4b9b(0x13c)]);}catch(_0x524269){logger[_0x5a4b9b(0xd6)](_0x5a4b9b(0x164)+_0x524269);}let _0x3b4be9=null;if(fs['existsSync'](_0x4d399d)){_0x3b4be9=fs[_0x5a4b9b(0xd5)](_0x4d399d);try{_0x3b4be9=JSON['parse'](_0x3b4be9);}catch(_0x316e94){logger[_0x5a4b9b(0xce)](_0x5a4b9b(0xec)+_0x4d399d+',\x20'+_0x3b4be9+'\x20:\x20'+_0x316e94);}fs[_0x5a4b9b(0xc9)](_0x4d399d);}fs[_0x5a4b9b(0xc9)](_0xa6bb50),fs[_0x5a4b9b(0xc9)](_0x2f8a87),_0x3b4be9&&(_0x1137e4[_0x5a4b9b(0xfe)]=helper[_0x5a4b9b(0x11f)](_0x3b4be9,_0x1a9b84[_0x5a4b9b(0xb6)],_0x1137e4));try{await TestHubHandler['stop']();}catch(_0x3f805c){console[_0x5a4b9b(0x122)](_0x3f805c),_0x1a9b84['Umkjf'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x5a4b9b(0xb5)](_0x3f805c));}testOpsHelper[_0x5a4b9b(0x150)](),TestDetails['shutdown'](),await utilities[_0x5a4b9b(0xdb)](_0x1137e4);});}module['exports']=run;
2
+ 'use strict';const a16_0x1c2266=a16_0x316c;(function(_0x2ef187,_0x13940c){const _0x1fa088=a16_0x316c,_0x23ae12=_0x2ef187();while(!![]){try{const _0x422658=-parseInt(_0x1fa088(0x203))/0x1*(parseInt(_0x1fa088(0x193))/0x2)+parseInt(_0x1fa088(0x1a9))/0x3+parseInt(_0x1fa088(0x1e6))/0x4+parseInt(_0x1fa088(0x1d7))/0x5*(parseInt(_0x1fa088(0x1fd))/0x6)+-parseInt(_0x1fa088(0x1d0))/0x7*(parseInt(_0x1fa088(0x1bb))/0x8)+-parseInt(_0x1fa088(0x14c))/0x9+-parseInt(_0x1fa088(0x152))/0xa*(-parseInt(_0x1fa088(0x1d8))/0xb);if(_0x422658===_0x13940c)break;else _0x23ae12['push'](_0x23ae12['shift']());}catch(_0x483ca3){_0x23ae12['push'](_0x23ae12['shift']());}}}(a16_0x2cbb,0x373f1));function a16_0x316c(_0x464f2a,_0x21c408){const _0x2cbb57=a16_0x2cbb();return a16_0x316c=function(_0x316c91,_0x21e4d2){_0x316c91=_0x316c91-0x13c;let _0x24e88b=_0x2cbb57[_0x316c91];return _0x24e88b;},a16_0x316c(_0x464f2a,_0x21c408);}const fs=require('fs'),path=require(a16_0x1c2266(0x1fa)),util=require(a16_0x1c2266(0x149)),{spawn}=require(a16_0x1c2266(0x1d1)),logger=require(a16_0x1c2266(0x13d))[a16_0x1c2266(0x147)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a16_0x1c2266(0x182)),constants=require(a16_0x1c2266(0x1f2)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a16_0x1c2266(0x1d2)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a16_0x1c2266(0x1d3)),TestDetails=require(a16_0x1c2266(0x201)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a16_0x1c2266(0x1ab)),testhubUtils=require(a16_0x1c2266(0x1dc)),{FRAMEWORKS}=require(a16_0x1c2266(0x1ba)),PerformanceTester=require(a16_0x1c2266(0x14e)),PerformanceEvents=require(a16_0x1c2266(0x1f6))[a16_0x1c2266(0x187)],TestOrchestrationHandler=require(a16_0x1c2266(0x140)),getUserJestConfigs=async(_0x4e1a8b,_0x5c2c3d)=>{const _0x5f11c7=a16_0x1c2266,_0x510266={'RyFUd':'jest-config/build/readConfigFileAndSetRootDir.js','DrQsO':_0x5f11c7(0x1b6),'sFHyq':function(_0x4f2bae,_0x14e125){return _0x4f2bae||_0x14e125;},'wSzYQ':function(_0x34f7bd,_0x4afa46){return _0x34f7bd(_0x4afa46);},'rUirY':_0x5f11c7(0x1a5),'eTjYj':_0x5f11c7(0x191),'jyqVN':_0x5f11c7(0x1f0),'igehX':_0x5f11c7(0x1ec),'ZcoRc':_0x5f11c7(0x1b7)},_0x4233bf=helper[_0x5f11c7(0x19d)](_0x510266[_0x5f11c7(0x18f)],_0x510266[_0x5f11c7(0x1cc)]),_0x7ba0cb=_0x5c2c3d[_0x5f11c7(0x1c9)](_0x45769b=>_0x45769b===_0x5f11c7(0x15b));if(!helper[_0x5f11c7(0x206)](_0x4e1a8b[_0x5f11c7(0x15c)])){logger[_0x5f11c7(0x20b)](_0x5f11c7(0x1cd)+_0x4e1a8b[_0x5f11c7(0x15c)]),process['env']['USER_CONFIG_DETAILS_PATH']=_0x4e1a8b['config'];const _0x25dffd=await(0x0,_0x4233bf[_0x5f11c7(0x175)])(path[_0x5f11c7(0x153)](_0x4e1a8b[_0x5f11c7(0x15c)]));return _0x5c2c3d[_0x5f11c7(0x1e1)](_0x7ba0cb,0x2),_0x510266['sFHyq'](_0x25dffd,{});}const _0x45618f=_0x510266[_0x5f11c7(0x192)](require,path['join'](process[_0x5f11c7(0x197)](),_0x510266[_0x5f11c7(0x189)]));if(_0x45618f[_0x5f11c7(0x18e)])return logger[_0x5f11c7(0x20b)](_0x510266[_0x5f11c7(0x18c)]),_0x45618f[_0x5f11c7(0x18e)];const _0x82452a=['js',_0x510266['jyqVN'],_0x510266[_0x5f11c7(0x209)],_0x510266[_0x5f11c7(0x1f3)],'ts'];for(const _0x167f49 of _0x82452a){const _0x2a485a=path['join'](process[_0x5f11c7(0x197)](),_0x5f11c7(0x179)+_0x167f49);if(fs[_0x5f11c7(0x1a0)](_0x2a485a)){process[_0x5f11c7(0x1a6)][_0x5f11c7(0x1bf)]=_0x2a485a;const _0x4b5ff5=await(0x0,_0x4233bf['default'])(_0x2a485a);return _0x4b5ff5;}}return{};},getSerial=(_0x5e00d3,_0x5a61e3)=>{const _0x336a40=a16_0x1c2266,_0x2c68b0={};_0x2c68b0[_0x336a40(0x17e)]=_0x336a40(0x18a),_0x2c68b0['aLsiL']=function(_0x41498a,_0x581d5b){return _0x41498a>_0x581d5b;},_0x2c68b0[_0x336a40(0x165)]=function(_0x544e6a,_0x1323f9){return _0x544e6a>_0x1323f9;},_0x2c68b0[_0x336a40(0x194)]='false';const _0x258068=_0x2c68b0;let _0x429fff=_0x258068[_0x336a40(0x17e)];return _0x258068[_0x336a40(0x15f)](_0x5e00d3[_0x336a40(0x1c7)],0x1)&&(!_0x5a61e3[_0x336a40(0x143)]&&(helper['isUndefined'](_0x5a61e3['maxWorkers'])||_0x258068[_0x336a40(0x165)](_0x5a61e3[_0x336a40(0x18b)],0x1)))&&(_0x429fff=_0x258068[_0x336a40(0x194)]),_0x429fff;},getMaxWorkers=(_0xdcd88a,_0x442a57,_0x55fbf9)=>{const _0x39b48e=a16_0x1c2266,_0x39e4e2={'oORAh':function(_0x281c35,_0x57e382){return _0x281c35(_0x57e382);}};let _0x5d609b=0x1;if(!helper[_0x39b48e(0x206)](_0x442a57[_0x39b48e(0x144)]))_0x5d609b=_0x39e4e2[_0x39b48e(0x1d4)](parseInt,_0x442a57[_0x39b48e(0x144)]);else{if(!helper[_0x39b48e(0x206)](_0xdcd88a[_0x39b48e(0x18b)]))_0x5d609b=_0xdcd88a['maxWorkers'];else!helper[_0x39b48e(0x206)](_0x55fbf9[_0x39b48e(0x18b)])&&(_0x5d609b=_0x55fbf9[_0x39b48e(0x18b)]);}return _0x5d609b;};async function run(_0x482650,_0x862bc2,_0x51b8ec){const _0x15eccd=a16_0x1c2266,_0x43e3ad={'mJvwx':_0x15eccd(0x16f),'iSbjW':_0x15eccd(0x18e),'AHttv':function(_0xbfeb7d,_0xbdda4b){return _0xbfeb7d(_0xbdda4b);},'bIQng':function(_0x2568c6,_0x7a7177){return _0x2568c6!=_0x7a7177;},'uzUvH':_0x15eccd(0x18a),'RjCyq':function(_0x379dee,_0x251f2f,_0x5ef3cd){return _0x379dee(_0x251f2f,_0x5ef3cd);},'KFoJe':_0x15eccd(0x177),'XzTgr':function(_0x520112,_0x31a7eb){return _0x520112(_0x31a7eb);},'UhAjn':function(_0x1cb1d2,_0x5e1515,_0x5595f5){return _0x1cb1d2(_0x5e1515,_0x5595f5);},'Wwzsk':function(_0x1992e7,_0x1d869d,_0x1c7611,_0x560274){return _0x1992e7(_0x1d869d,_0x1c7611,_0x560274);},'DXdMV':function(_0x44c4f0,_0x22f68f){return _0x44c4f0*_0x22f68f;},'WOAoG':function(_0x358e33,_0x33c5ff){return _0x358e33===_0x33c5ff;},'Gbjcd':_0x15eccd(0x1b0),'CRRah':_0x15eccd(0x190),'uZhoS':'customImplements','AMpNL':_0x15eccd(0x15a),'iUoYp':_0x15eccd(0x13e),'aIVZj':_0x15eccd(0x171),'HCydM':_0x15eccd(0x1ea),'FJJjU':_0x15eccd(0x141),'XpKzP':_0x15eccd(0x1c8),'vWwEq':_0x15eccd(0x157),'WtJDY':_0x15eccd(0x1a1),'ysHIu':function(_0x4729fd,_0x99a472){return _0x4729fd(_0x99a472);},'vAhDp':'test-observability','iKOfe':_0x15eccd(0x1db),'uMHjf':_0x15eccd(0x1af),'uJWZL':_0x15eccd(0x184),'NmFnU':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','nxsAZ':_0x15eccd(0x175),'zGZMG':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','PolNS':function(_0x54e957,_0x2ba122){return _0x54e957>_0x2ba122;},'zEHCk':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','mhffi':function(_0x4b602c,_0x16fc0a,_0x291e51,_0x1008c0){return _0x4b602c(_0x16fc0a,_0x291e51,_0x1008c0);},'gdYjP':'npx','dUQgh':_0x15eccd(0x15b),'azBTm':_0x15eccd(0x1cf),'oNpGB':_0x15eccd(0x196),'hJGhy':_0x15eccd(0x19c)};helper[_0x15eccd(0x14d)]()?(await _0x51b8ec['initialize'](_0x482650),await helper[_0x15eccd(0x1ac)](_0x51b8ec[_0x15eccd(0x15c)])):await _0x51b8ec[_0x15eccd(0x1de)]();if(!_0x51b8ec[_0x15eccd(0x15c)])return;_0x43e3ad['bIQng'](_0x51b8ec['config'][_0x15eccd(0x1f9)],null)?process[_0x15eccd(0x1a6)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x1f9)]:process[_0x15eccd(0x1a6)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x43e3ad[_0x15eccd(0x1a4)];const _0x419026=new TestOrchestrationHandler(_0x51b8ec[_0x15eccd(0x15c)]),_0x1113d9=await _0x43e3ad[_0x15eccd(0x1be)](getUserJestConfigs,_0x482650,_0x862bc2);logger[_0x15eccd(0x20b)](_0x43e3ad[_0x15eccd(0x1ed)]);const _0x3d15fe=Object[_0x15eccd(0x16a)]({},_0x1113d9);_0x3d15fe['testEnvironmentOptions']=Object['assign']({},_0x3d15fe[_0x15eccd(0x1e5)],{'server':helper[_0x15eccd(0x18d)](_0x51b8ec[_0x15eccd(0x15c)]),'environment':_0x1113d9[_0x15eccd(0x1f5)]}),_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x1e8)]=_0x43e3ad['XzTgr'](getPercyOptions,_0x51b8ec[_0x15eccd(0x15c)]);const _0x3d3208=helper[_0x15eccd(0x1e3)](_0x51b8ec['config']);!helper[_0x15eccd(0x206)](_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x162)])&&(process[_0x15eccd(0x1a6)][_0x15eccd(0x1a3)]=JSON[_0x15eccd(0x1c5)](_0x51b8ec['config'][_0x15eccd(0x162)]));const _0x502d67=await TestHubHandler[_0x15eccd(0x1bc)](FRAMEWORKS['JEST'],_0x51b8ec),_0x14cb93=helper[_0x15eccd(0x1c6)](_0x51b8ec[_0x15eccd(0x15c)],_0x3d3208,constants[_0x15eccd(0x180)][_0x15eccd(0x154)]);let _0x498919=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x16b)];_0x498919=_0x498919||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x51b8ec[_0x15eccd(0x15c)]),process[_0x15eccd(0x1a6)][_0x15eccd(0x1e7)]=_0x498919,_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x172)]=_0x14cb93,_0x3d15fe['testEnvironmentOptions'][_0x15eccd(0x167)]=_0x43e3ad[_0x15eccd(0x14a)](getSerial,_0x14cb93,_0x482650),_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x1e2)]=_0x43e3ad[_0x15eccd(0x188)](getMaxWorkers,_0x482650,_0x51b8ec[_0x15eccd(0x15c)],_0x1113d9),_0x3d15fe['testEnvironmentOptions']['proxySettings']=_0x51b8ec['config'][_0x15eccd(0x155)],_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x178)]=_0x43e3ad[_0x15eccd(0x1b1)](_0x482650[_0x15eccd(0x1d5)],0x1)||0x1388,_0x3d15fe[_0x15eccd(0x1e5)]['skipSessionName']=_0x51b8ec[_0x15eccd(0x15c)]['testContextOptions']['skipSessionName'],_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x16d)]=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x198)][_0x15eccd(0x16d)],_0x3d15fe[_0x15eccd(0x1e5)][_0x15eccd(0x174)]=_0x51b8ec[_0x15eccd(0x15c)][_0x15eccd(0x202)],_0x3d15fe['testEnvironmentOptions'][_0x15eccd(0x13f)]=_0x51b8ec[_0x15eccd(0x15c)]['turboScaleUrl'],_0x3d15fe[_0x15eccd(0x1e5)]['platformCaps']=_0x51b8ec['config'][_0x15eccd(0x19a)];const _0xa4d7c6=helper[_0x15eccd(0x158)](_0x51b8ec[_0x15eccd(0x15c)]);if(!helper[_0x15eccd(0x148)](_0xa4d7c6)){helper[_0x15eccd(0x1da)](_0xa4d7c6['retryTestsOnFailure'])&&(_0x3d15fe['testEnvironmentOptions'][_0x15eccd(0x142)]=_0xa4d7c6['retryTestsOnFailure']['maxRetries']);if(helper[_0x15eccd(0x1da)](_0xa4d7c6[_0x15eccd(0x1f1)])&&helper[_0x15eccd(0x1da)](_0xa4d7c6[_0x15eccd(0x1f1)][_0x15eccd(0x1cb)])){const _0x203419={};_0x203419[_0x15eccd(0x1c2)]=_0xa4d7c6[_0x15eccd(0x1f1)][_0x15eccd(0x1ef)],_0x203419[_0x15eccd(0x1cb)]=_0xa4d7c6[_0x15eccd(0x1f1)][_0x15eccd(0x1cb)],_0x3d15fe[_0x15eccd(0x1e5)]['failFast']=_0x203419;}}let _0x536f12='';_0x43e3ad['WOAoG'](helper[_0x15eccd(0x1dd)](),constants[_0x15eccd(0x20c)][_0x15eccd(0x15d)])?_0x536f12=_0x43e3ad[_0x15eccd(0x16c)]:_0x536f12=_0x43e3ad['CRRah'];const _0x18d713=_0x536f12,_0xe40b5b=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1c4)]),_0xb43ea8=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad['iUoYp']),_0x1ee10d=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1df)]);_0x3d15fe[_0x15eccd(0x1f5)]&&(process[_0x15eccd(0x1a6)]['BSTACK_JEST_TEST_ENV']=_0x3d15fe[_0x15eccd(0x1f5)]);_0x3d15fe[_0x15eccd(0x1f5)]=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1aa)]),_0x3d15fe[_0x15eccd(0x1ad)]=_0xb43ea8,_0x3d15fe[_0x15eccd(0x17d)]=_0x3d15fe['setupFilesAfterEnv']||[],_0x3d15fe[_0x15eccd(0x17d)]['push'](path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x1f4)]));_0x419026['isTestOrchestrationEnabled']()&&(_0x3d15fe[_0x15eccd(0x146)]=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x156)],_0x43e3ad[_0x15eccd(0x1fe)]));if(testhubUtils[_0x15eccd(0x151)]()){let _0x4e9fd0=null;try{_0x4e9fd0=helper[_0x15eccd(0x19d)](_0x43e3ad[_0x15eccd(0x1e4)],_0x43e3ad[_0x15eccd(0x1c3)]);}catch(_0x218575){_0x43e3ad['ysHIu'](debug,_0x15eccd(0x176)+_0x218575);}_0x4e9fd0&&(_0x3d15fe[_0x15eccd(0x17d)][_0x15eccd(0x1b5)](path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x208)],_0x43e3ad['iKOfe'])),_0x3d15fe[_0x15eccd(0x1d9)]=path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad['uZhoS'],_0x43e3ad[_0x15eccd(0x169)]));}_0x3d15fe[_0x15eccd(0x1f8)]=_0x3d15fe[_0x15eccd(0x1f8)]||[];try{helper[_0x15eccd(0x1b9)](),_0x3d15fe['setupFiles'][_0x15eccd(0x1b5)](path[_0x15eccd(0x1f7)](__dirname,_0x43e3ad[_0x15eccd(0x1b8)]));}catch{logger[_0x15eccd(0x17a)](_0x43e3ad[_0x15eccd(0x173)]);}_0x3d15fe[_0x15eccd(0x1a7)]=_0x3d15fe[_0x15eccd(0x1a7)]||[_0x43e3ad[_0x15eccd(0x1bd)]],_0x43e3ad[_0x15eccd(0x14a)](updateTestRerunConfig,_0x3d15fe,_0x51b8ec);const _0x54905d=fs[_0x15eccd(0x1ca)](_0x1ee10d);fs[_0x15eccd(0x1a2)](_0x3d15fe[_0x15eccd(0x1ad)],_0x15eccd(0x15e)+_0x54905d+_0x15eccd(0x183)+_0x51b8ec[_0x15eccd(0x15c)]['platforms']['length']+';\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[_0x15eccd(0x20b)](_0x15eccd(0x13c)+_0x18d713+_0x15eccd(0x163)),fs[_0x15eccd(0x1a2)](_0x18d713,'const\x20config='+JSON[_0x15eccd(0x1c5)](_0x3d15fe)+_0x15eccd(0x19b));if(_0x419026['isTestOrchestrationEnabled']()){logger[_0x15eccd(0x17a)](_0x43e3ad[_0x15eccd(0x1eb)]);const _0x4e012b=await _0x419026[_0x15eccd(0x1a8)](_0x3d15fe,_0x862bc2[_0x15eccd(0x14f)](0x1),_0x18d713);logger[_0x15eccd(0x17a)](_0x15eccd(0x1ee)+JSON[_0x15eccd(0x1c5)](_0x4e012b)+_0x15eccd(0x1b2));const _0x5441fd=await _0x419026[_0x15eccd(0x204)](_0x4e012b);logger[_0x15eccd(0x17a)](_0x15eccd(0x20d)+JSON[_0x15eccd(0x1c5)](_0x5441fd)),_0x5441fd&&_0x43e3ad[_0x15eccd(0x166)](_0x5441fd[_0x15eccd(0x1c7)],0x0)&&(process['env'][_0x15eccd(0x17b)]=_0x5441fd?.['join'](','));}logger[_0x15eccd(0x20b)](_0x43e3ad[_0x15eccd(0x1ff)]);testhubUtils[_0x15eccd(0x151)]()&&TestDetails[_0x15eccd(0x200)]();helper[_0x15eccd(0x186)]({},_0x862bc2),PerformanceTester[_0x15eccd(0x199)](PerformanceEvents[_0x15eccd(0x1b3)]);const _0x19dc68=_0x43e3ad['mhffi'](spawn,_0x43e3ad[_0x15eccd(0x19e)],[_0x43e3ad[_0x15eccd(0x145)],_0x43e3ad[_0x15eccd(0x1fc)],_0x18d713,..._0x862bc2['slice'](0x1)],{'shell':_0x43e3ad[_0x15eccd(0x170)](process['platform'],_0x43e3ad[_0x15eccd(0x14b)]),'stdio':_0x43e3ad[_0x15eccd(0x164)],'env':Object[_0x15eccd(0x16a)]({},process[_0x15eccd(0x1a6)])});_0x19dc68['on'](_0x43e3ad[_0x15eccd(0x17f)],async _0x18f401=>{const _0x553c30=_0x15eccd;PerformanceTester[_0x553c30(0x17c)](PerformanceEvents[_0x553c30(0x1c0)]);try{const {browserstackFolderPath:_0x3d66b8,tcgConfigPath:_0x775cfc}=helper['getTCGConfigFilePaths']();fs[_0x553c30(0x168)](_0x775cfc),fs[_0x553c30(0x181)](_0x3d66b8);}catch(_0x315a40){logger[_0x553c30(0x17a)](_0x43e3ad['mJvwx'],_0x315a40);}process[_0x553c30(0x1d6)]=_0x18f401,logger[_0x553c30(0x17a)](_0x553c30(0x1c1)+_0x18f401),logger[_0x553c30(0x20b)](_0x553c30(0x20f)+_0x18d713);if(helper['isNotUndefined'](_0xa4d7c6)&&helper['isNotUndefined'](_0xa4d7c6[_0x553c30(0x1f1)])&&fs[_0x553c30(0x1a0)](_0xa4d7c6[_0x553c30(0x1f1)][_0x553c30(0x1cb)]))try{const _0x5c952f={};_0x5c952f[_0x553c30(0x20a)]=!![],_0x5c952f[_0x553c30(0x159)]=!![],fs[_0x553c30(0x19f)](_0xa4d7c6['abortBuildOnFailure'][_0x553c30(0x1cb)],_0x5c952f),logger[_0x553c30(0x17a)](_0x553c30(0x1ce)+_0xa4d7c6[_0x553c30(0x1f1)][_0x553c30(0x1cb)]);}catch(_0x5c6e7a){logger[_0x553c30(0x160)](_0x553c30(0x185)+_0x5c6e7a);}let _0x222f85=null;if(fs['existsSync'](_0xe40b5b)){_0x222f85=fs[_0x553c30(0x1ca)](_0xe40b5b);try{_0x222f85=JSON[_0x553c30(0x1e0)](_0x222f85);}catch(_0x147c16){logger[_0x553c30(0x17a)]('Error\x20while\x20parsing\x20'+_0xe40b5b+',\x20'+_0x222f85+_0x553c30(0x1b4)+_0x147c16);}fs[_0x553c30(0x168)](_0xe40b5b);}fs['unlinkSync'](_0x18d713),fs[_0x553c30(0x168)](_0xb43ea8),_0x222f85&&(_0x51b8ec[_0x553c30(0x150)]=helper[_0x553c30(0x1e9)](_0x222f85,_0x43e3ad[_0x553c30(0x145)],_0x51b8ec));try{await TestHubHandler[_0x553c30(0x195)]();}catch(_0x164542){console[_0x553c30(0x1ae)](_0x164542),_0x43e3ad[_0x553c30(0x207)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x553c30(0x16e)](_0x164542));}testOpsHelper[_0x553c30(0x205)](),TestDetails[_0x553c30(0x1fb)](),await utilities[_0x553c30(0x20e)](_0x51b8ec);});}module[a16_0x1c2266(0x161)]=run;function a16_0x2cbb(){const _0x37f5d8=['../../helpers/utilities','\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','test_before.setup.js','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','filterBrowserstackArgs','EVENTS','Wwzsk','rUirY','true','maxWorkers','eTjYj','getHubUrl','jest','RyFUd','jest_browserstack.config.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','wSzYQ','106BNfXqf','MKsLG','stop','inherit','cwd','testContextOptions','end','platforms','\x0amodule.exports\x20=\x20config;','close','requireModule','gdYjP','rmSync','existsSync','jest-circus','writeFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','uzUvH','package.json','env','reporters','findTestFiles','1135329IueErb','HCydM','../../helpers/testhub/testhubHandler','handleApp','runner','log','customCircus.js','jest_browserstack.config.cjs','DXdMV','\x20test\x20files\x20to\x20run.','SDK_SETUP','\x20:\x20','push','jest-config','json','uJWZL','requireSeleniumWebdriver','../../helpers/test-observability/constants','1252776FPepKs','launchBuild','nxsAZ','RjCyq','USER_CONFIG_DETAILS_PATH','SDK_CLEANUP','child\x20process\x20exited\x20with\x20code\x20','failureThresholdCount','WtJDY','AMpNL','stringify','prepareCapabilities','length','customSequencer.js','findIndex','readFileSync','workingDir','DrQsO','Getting\x20your\x20jest\x20configs\x20from\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','win32','7aXyHzi','child_process','./test-observability/helper','../../helpers/test-observability/utils','oORAh','testTimeout','exitCode','260fZqkes','1668403JnVOTV','testRunner','isNotUndefined','data-hooks.js','../../helpers/testhub/utils','getPackageType','setupTCGAuth','aIVZj','parse','splice','parallels__','useW3C','vWwEq','testEnvironmentOptions','144852ShngUL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserStackPercyOptions','getErrorMessageFromResults','customEnvironment.js','zGZMG','cjs','KFoJe','Found:\x20','maxFailures','mjs','abortBuildOnFailure','../utils/constants','ZcoRc','FJJjU','testEnvironment','../../helpers/performance/constants','join','setupFiles','testObservability','path','shutdown','dUQgh','1524uKeeRS','XpKzP','zEHCk','setup','./test-observability/test-details','logLevel','1810PcHPap','reorderTestFiles','printBuildLink','isUndefined','AHttv','vAhDp','igehX','recursive','info','PACKAGE_TYPE','Reodered\x20Test\x20Files:\x20','finalExecution','Deleting\x20','Creating\x20','../../helpers/logger','customTestRunner.js','turboScaleUrl','../../helpers/test-orchestration/testOrchestrationHandler','jest.setup.js','retries__','runInBand','parallelsPerPlatform','iSbjW','testSequencer','winstonLogger','isEmpty','util','UhAjn','azBTm','3636603RGTtnF','isBrowserstackInfra','../../helpers/performance/performance-tester','slice','errorMessage','shouldProcessEventForTesthub','30kSdrZz','resolve','JEST','proxySettings','uZhoS','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','parseTestOrchestrationOptions','force','jest_browserstack_results.json','--config','config','MODULE','\x0a\x20\x20\x20\x20','aLsiL','error','exports','accessibilityOptions','\x20with\x20browserstack\x20jest\x20configs','oNpGB','QjDoI','PolNS','serial__','unlinkSync','uMHjf','assign','accessibility','Gbjcd','skipSessionStatus','format','error\x20removing\x20tcg\x20config\x20file','WOAoG','customTestRunnerTemplate.js','capabilities','NmFnU','browserStackLogLevel','default','Unable\x20to\x20find\x20jest-circus,\x20','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','timeout__','jest.config.','debug','JEST_TEST_ORDER','start','setupFilesAfterEnv','KfJbq','hJGhy','FRAMEWORKS','rmdirSync'];a16_0x2cbb=function(){return _0x37f5d8;};return a16_0x2cbb();}
@@ -1 +1 @@
1
- const a17_0x447339=a17_0x1c69;(function(_0x4f2d47,_0x515d83){const _0x38f6ce=a17_0x1c69,_0xfd089d=_0x4f2d47();while(!![]){try{const _0x34f40d=-parseInt(_0x38f6ce(0x15f))/0x1*(-parseInt(_0x38f6ce(0x14c))/0x2)+-parseInt(_0x38f6ce(0x15b))/0x3*(parseInt(_0x38f6ce(0x158))/0x4)+-parseInt(_0x38f6ce(0x152))/0x5+-parseInt(_0x38f6ce(0x14e))/0x6+parseInt(_0x38f6ce(0x14f))/0x7+parseInt(_0x38f6ce(0x161))/0x8*(-parseInt(_0x38f6ce(0x157))/0x9)+parseInt(_0x38f6ce(0x15e))/0xa;if(_0x34f40d===_0x515d83)break;else _0xfd089d['push'](_0xfd089d['shift']());}catch(_0x14cb92){_0xfd089d['push'](_0xfd089d['shift']());}}}(a17_0x50b5,0xab074));const path=require(a17_0x447339(0x15d)),{requireModule}=require(a17_0x447339(0x160));let initJestAdapter=requireModule(a17_0x447339(0x150),a17_0x447339(0x14d));initJestAdapter=typeof initJestAdapter===a17_0x447339(0x156)?initJestAdapter:initJestAdapter['default'];function a17_0x50b5(){const _0x492f53=['1337275SaCBsG','jestAdapterInit','requireInternalModule','customJestAdapterInit.js','function','9qMFzrh','4822052sIIZdh','includes','fOoWa','3rzJPhQ','join','path','24156080uyTRHR','1393029VCVDBt','../../../helpers/helper','10087192icsBrQ','initRequireModule','2nJQtWD','jest-circus','2378826rHAtVL','155631KjvfEZ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','wNIwD'];a17_0x50b5=function(){return _0x492f53;};return a17_0x50b5();}const FRAMEWORK_INITIALIZER=path[a17_0x447339(0x15c)](__dirname,a17_0x447339(0x155));function a17_0x1c69(_0x24da2c,_0x2ce1b1){const _0x50b5da=a17_0x50b5();return a17_0x1c69=function(_0x1c6902,_0x1abba2){_0x1c6902=_0x1c6902-0x14b;let _0x5a9473=_0x50b5da[_0x1c6902];return _0x5a9473;},a17_0x1c69(_0x24da2c,_0x2ce1b1);}module['exports']=(..._0x30752f)=>{const _0x3ca5a7=a17_0x447339,_0x402f67={'wNIwD':_0x3ca5a7(0x153),'eorgF':function(_0x4c6896,_0x456620){return _0x4c6896===_0x456620;},'fOoWa':function(_0x3b0b2f,..._0x16a14f){return _0x3b0b2f(..._0x16a14f);}};return _0x30752f[0x3]['initRequireModule']=_0x30752f[0x3][_0x3ca5a7(0x154)],_0x30752f[0x3][_0x3ca5a7(0x154)]=(..._0x3a9f7a)=>{const _0x57496a=_0x3ca5a7;if(_0x3a9f7a[0x0]&&_0x3a9f7a[0x0][_0x57496a(0x159)](_0x402f67[_0x57496a(0x151)])&&_0x402f67['eorgF'](_0x3a9f7a[0x1],undefined))return _0x30752f[0x3][_0x57496a(0x14b)](FRAMEWORK_INITIALIZER);return _0x30752f[0x3]['initRequireModule'](..._0x3a9f7a);},_0x402f67[_0x3ca5a7(0x15a)](initJestAdapter,..._0x30752f);};
1
+ const a17_0x42c1e0=a17_0x3ac3;(function(_0x25fe24,_0xf3ee40){const _0x161c72=a17_0x3ac3,_0x58482e=_0x25fe24();while(!![]){try{const _0x1ff8ba=-parseInt(_0x161c72(0xa2))/0x1+-parseInt(_0x161c72(0xa6))/0x2+-parseInt(_0x161c72(0xa3))/0x3+parseInt(_0x161c72(0x9b))/0x4+parseInt(_0x161c72(0x9d))/0x5+-parseInt(_0x161c72(0xa5))/0x6*(parseInt(_0x161c72(0x9e))/0x7)+parseInt(_0x161c72(0xaa))/0x8*(parseInt(_0x161c72(0xa4))/0x9);if(_0x1ff8ba===_0xf3ee40)break;else _0x58482e['push'](_0x58482e['shift']());}catch(_0x1d938f){_0x58482e['push'](_0x58482e['shift']());}}}(a17_0x4350,0x635f6));const path=require(a17_0x42c1e0(0x99)),{requireModule}=require(a17_0x42c1e0(0x9f));function a17_0x4350(){const _0x2f12b0=['628336qMJJHl','zqcwR','3784340cGWpEp','5230155Ykfnvx','../../../helpers/helper','join','exports','127343tuljpc','1059162lWXMAp','45AvPtUG','6klbehI','191610fHtWfi','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus','initRequireModule','1306312guROlh','function','path','default'];a17_0x4350=function(){return _0x2f12b0;};return a17_0x4350();}function a17_0x3ac3(_0x41205a,_0x646fc4){const _0x43508f=a17_0x4350();return a17_0x3ac3=function(_0x3ac38e,_0x5c161d){_0x3ac38e=_0x3ac38e-0x99;let _0x531b52=_0x43508f[_0x3ac38e];return _0x531b52;},a17_0x3ac3(_0x41205a,_0x646fc4);}let initJestAdapter=requireModule(a17_0x42c1e0(0xa7),a17_0x42c1e0(0xa8));initJestAdapter=typeof initJestAdapter===a17_0x42c1e0(0xab)?initJestAdapter:initJestAdapter[a17_0x42c1e0(0x9a)];const FRAMEWORK_INITIALIZER=path[a17_0x42c1e0(0xa0)](__dirname,'customJestAdapterInit.js');module[a17_0x42c1e0(0xa1)]=(..._0x4f4aa3)=>{const _0xb2a7b3=a17_0x42c1e0,_0x4cc06a={'vluVS':'jestAdapterInit','zqcwR':function(_0x177d69,_0x27051e){return _0x177d69===_0x27051e;},'qdNGF':function(_0x200004,..._0x103a10){return _0x200004(..._0x103a10);}};return _0x4f4aa3[0x3][_0xb2a7b3(0xa9)]=_0x4f4aa3[0x3]['requireInternalModule'],_0x4f4aa3[0x3]['requireInternalModule']=(..._0x356014)=>{const _0x59fc06=_0xb2a7b3;if(_0x356014[0x0]&&_0x356014[0x0]['includes'](_0x4cc06a['vluVS'])&&_0x4cc06a[_0x59fc06(0x9c)](_0x356014[0x1],undefined))return _0x4f4aa3[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x4f4aa3[0x3][_0x59fc06(0xa9)](..._0x356014);},_0x4cc06a['qdNGF'](initJestAdapter,..._0x4f4aa3);};
@@ -1 +1 @@
1
- const a18_0x33f181=a18_0x119e;function a18_0x2b89(){const _0x211b67=['projectName','default','quit','225RZUHNh','errors','MWXLj','BSTACK_JEST_TEST_ENV','handleTestEvent','info','../../../helpers/logger','teardown','zBtMv','buildName','wafvU','getTestEnvironment','PMOeM','driver','isNotUndefined','browserstackPercyBestPlatform','sessionNameProvided','platformCaps','node','configuration','jest-config','Error\x20in\x20fail-fast\x20test_done\x20handler:','__skipSessionStatus','lHGas','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','Builder','percyCaptureMode','vkxxP','jest-environment-node','Smtjc','BSTACK_DELTA','__webdriver','__driversArray','message','38014930FefEkQ','testEnvironmentOptions','skipSessionStatus','BRxbH','join','kVelU','test_start','EavDh','__platformCaps','skipSessionName','failFastOptions','8|2|3|4|1|7|9|6|0|5','nrWML','browserStackGlobals','MgkZZ','browserStackPercyOptions','../../../index','resolveTestEnvironment','424264qPDrYc','vaudY','JEST','1138NzOTxW','../../../helpers/test-orchestration/failfastManager','../test-observability/obsReporter','15triNVP','cleanupDrivers','framework','oDMFP','../../../helpers/test-observability/utils','__drivers','dQTCN','shouldFailFast','getInstance','capability','zgjCS','3176454mWYguB','naTst','SWeGI','builder','tGLgh','dlgtj','browserstackAgentV2','debug','ApDPJ','projectConfig','browserstackPlatformIndex','NdJjT','DBYOv','modifyCommand','percy','qAIKs','skip','UXjWC','setup','requireModule','timeout__','onTestDone','test','failFastActive','nestedKeyValue','testContext','winstonLogger','shouldProcessEventForTesthub','bstack:options','1173345qeAuGI','global','__esModule','894348jfkFOt','cleanup','1380276zeWmKv','6YxCgTu','__timeout','../../../helpers/helper','../../../helpers/test-observability/requestQueueHandler','bXkPu','jest-resolve','testPath','\x20>\x20','cwd','rJbML','isTrue','failFast'];a18_0x2b89=function(){return _0x211b67;};return a18_0x2b89();}(function(_0x4583e2,_0x11055b){const _0x540e38=a18_0x119e,_0x17d7c8=_0x4583e2();while(!![]){try{const _0x7d5d0e=parseInt(_0x540e38(0x1a1))/0x1*(parseInt(_0x540e38(0x15b))/0x2)+parseInt(_0x540e38(0x155))/0x3+-parseInt(_0x540e38(0x15a))/0x4+parseInt(_0x540e38(0x1a4))/0x5*(-parseInt(_0x540e38(0x1af))/0x6)+-parseInt(_0x540e38(0x158))/0x7+parseInt(_0x540e38(0x19e))/0x8*(-parseInt(_0x540e38(0x16a))/0x9)+parseInt(_0x540e38(0x18c))/0xa;if(_0x7d5d0e===_0x11055b)break;else _0x17d7c8['push'](_0x17d7c8['shift']());}catch(_0x13a12e){_0x17d7c8['push'](_0x17d7c8['shift']());}}}(a18_0x2b89,0xc58b1));const helper=require(a18_0x33f181(0x15d)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a18_0x33f181(0x1a8)),RequestQueueHandler=require(a18_0x33f181(0x15e)),ObservabilityReporter=require(a18_0x33f181(0x1a3)),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a18_0x33f181(0x170))[a18_0x33f181(0x152)],getTestEnvironment=((()=>{const _0x371c6e=a18_0x33f181,_0x47ae03={};_0x47ae03[_0x371c6e(0x193)]=_0x371c6e(0x160),_0x47ae03['tGLgh']=_0x371c6e(0x17e);const _0x65176e=_0x47ae03;try{const _0x5c6e53=helper[_0x371c6e(0x14b)](_0x65176e[_0x371c6e(0x193)]);if(_0x5c6e53[_0x371c6e(0x19d)])return _0x5c6e53[_0x371c6e(0x19d)];const _0xc83bfe=helper[_0x371c6e(0x14b)](_0x65176e[_0x371c6e(0x1b3)]);if(_0xc83bfe[_0x371c6e(0x175)])return _0xc83bfe[_0x371c6e(0x175)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x50d4e7=a18_0x33f181,_0x2d3ae4={'UXjWC':function(_0x1fd42d,_0x70c9cd){return _0x1fd42d(_0x70c9cd);},'vkxxP':_0x50d4e7(0x17c),'oDMFP':_0x50d4e7(0x186)},_0x5a6498=_0x2d3ae4[_0x50d4e7(0x149)](getTestEnvironment,{'rootDir':process[_0x50d4e7(0x163)](),'testEnvironment':process['env'][_0x50d4e7(0x16d)]||_0x2d3ae4[_0x50d4e7(0x185)]});if(!_0x5a6498)return _0x2d3ae4[_0x50d4e7(0x149)](_interopRequireDefault,helper[_0x50d4e7(0x14b)](_0x2d3ae4[_0x50d4e7(0x1a7)]));return _0x2d3ae4['UXjWC'](_interopRequireDefault,helper[_0x50d4e7(0x14b)](_0x5a6498));})()),_seleniumWebdriver2=((()=>{const _0x48c075=a18_0x33f181,_0x17fa51={'qAIKs':function(_0x58b89c,_0x233d12){return _0x58b89c(_0x233d12);}};try{const _0x51ad67=helper['requireSeleniumWebdriver']();return helper[_0x48c075(0x1bc)](),_0x17fa51[_0x48c075(0x1be)](_interopRequireDefault,_0x51ad67);}catch{return null;}})());function _interopRequireDefault(_0x20a0fb){const _0x46812d=a18_0x33f181;return _0x20a0fb&&_0x20a0fb[_0x46812d(0x157)]?_0x20a0fb:{'default':_0x20a0fb};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a18_0x33f181(0x183)]:null;function a18_0x119e(_0x2f44a9,_0x1cbfd2){const _0x2b8982=a18_0x2b89();return a18_0x119e=function(_0x119ebd,_0x385065){_0x119ebd=_0x119ebd-0x149;let _0x553059=_0x2b8982[_0x119ebd];return _0x553059;},a18_0x119e(_0x2f44a9,_0x1cbfd2);}class CustomEnvironment extends _jestUserEnvironment[a18_0x33f181(0x168)]{constructor(_0x1805d9){const _0x183d29=a18_0x33f181,_0x326cd2={'bXkPu':'quit','MWXLj':function(_0xd61730,_0x150580){return _0xd61730+_0x150580;},'dQTCN':_0x183d29(0x154),'BRxbH':function(_0x4870ec,_0x390fbd){return _0x4870ec(_0x390fbd);},'UIrsY':_0x183d29(0x1a2),'lHGas':_0x183d29(0x197),'rJbML':'testEnvironmentOptions','zgjCS':_0x183d29(0x19b),'wafvU':_0x183d29(0x1bd),'xlXbI':function(_0x1e1446,_0x205cd6){return _0x1e1446(_0x205cd6);},'vaudY':_0x183d29(0x19c),'ApDPJ':_0x183d29(0x179),'Smtjc':_0x183d29(0x184),'PMOeM':_0x183d29(0x17b)};super(_0x1805d9),this[_0x183d29(0x156)][_0x183d29(0x15c)]=0x0,this[_0x183d29(0x17d)]={};!_0x1805d9[_0x183d29(0x18d)]&&(_0x1805d9[_0x183d29(0x18d)]={});if(helper['isBrowserstackInfra']()){_0x1805d9[_0x183d29(0x18d)]=_0x1805d9['projectConfig']?_0x1805d9['projectConfig']['testEnvironmentOptions']:_0x1805d9[_0x183d29(0x18d)],this[_0x183d29(0x1b2)]=new _seleniumWebdriver2['default'][(_0x183d29(0x183))](),this[_0x183d29(0x1ad)]=_0x1805d9[_0x183d29(0x1b8)]?_0x1805d9[_0x183d29(0x1b8)][_0x183d29(0x1ad)]:_0x1805d9[_0x183d29(0x1ad)],this[_0x183d29(0x156)]['__timeout']=_0x326cd2[_0x183d29(0x16c)](this['configuration'][_0x183d29(0x14c)],constants[_0x183d29(0x188)]),this[_0x183d29(0x196)]=_0x1805d9[_0x183d29(0x18d)][_0x183d29(0x166)];if(this[_0x183d29(0x196)]){const _0x4a4a07=this['capability'][_0x326cd2[_0x183d29(0x1aa)]]?.[_0x183d29(0x173)]||'',_0x280642=this[_0x183d29(0x1ad)][_0x326cd2[_0x183d29(0x1aa)]]?.[_0x183d29(0x167)]||'';this[_0x183d29(0x166)]=new(_0x326cd2[_0x183d29(0x18f)](require,_0x326cd2['UIrsY']))(this[_0x183d29(0x196)],_0x4a4a07,_0x280642),this[_0x183d29(0x156)][_0x183d29(0x14f)]=![];}helper[_0x183d29(0x178)](this['configuration']['retries__'])&&(this[_0x183d29(0x156)]['__jestRetries']=this['configuration']['retries__']);}if(testhubUtils[_0x183d29(0x153)]()){const _0x27f688=new ObservabilityReporter();_0x27f688['registerListeners']();}this[_0x183d29(0x156)][_0x183d29(0x199)]={},this[_0x183d29(0x17d)]=_0x1805d9[_0x183d29(0x18d)],this[_0x183d29(0x17d)][_0x183d29(0x1a6)]=constants['FRAMEWORKS'][_0x183d29(0x1a0)];if(_seleniumWebdriver2){const _0x5562db=_0x326cd2[_0x183d29(0x181)]['split']('|');let _0x3c2c81=0x0;while(!![]){switch(_0x5562db[_0x3c2c81++]){case'0':this['global'][_0x183d29(0x180)]=helper[_0x183d29(0x165)](this[_0x183d29(0x17d)][_0x183d29(0x18e)]);continue;case'1':this[_0x183d29(0x156)][_0x183d29(0x1bd)]=helper[_0x183d29(0x150)](_0x1805d9,[_0x326cd2[_0x183d29(0x164)],_0x326cd2[_0x183d29(0x1ae)],_0x326cd2[_0x183d29(0x174)]]);continue;case'2':this[_0x183d29(0x156)][_0x183d29(0x189)]=_0x326cd2['xlXbI'](require,_0x326cd2[_0x183d29(0x19f)])[_0x183d29(0x1b5)]({...this[_0x183d29(0x17d)],'capability':this[_0x183d29(0x1ad)]||{}},this,testhubUtils[_0x183d29(0x153)]());continue;case'3':this[_0x183d29(0x156)][_0x183d29(0x1b9)]=(_0x1805d9['projectConfig']?_0x1805d9[_0x183d29(0x1b8)][_0x183d29(0x1b9)]:_0x1805d9[_0x183d29(0x1b9)])||0x0;continue;case'4':this[_0x183d29(0x156)][_0x183d29(0x179)]=helper[_0x183d29(0x150)](_0x1805d9,[_0x326cd2['rJbML'],_0x326cd2[_0x183d29(0x1ae)],_0x326cd2[_0x183d29(0x1b7)]]);continue;case'5':this[_0x183d29(0x156)][_0x183d29(0x159)]=async()=>{const _0x68db9b=_0x183d29;await this[_0x68db9b(0x156)][_0x68db9b(0x177)][_0x68db9b(0x169)](_0x326cd2[_0x68db9b(0x15f)]);};continue;case'6':helper['isTrue'](this[_0x183d29(0x17d)][_0x183d29(0x195)])?this[_0x183d29(0x156)]['sessionNameProvided']=!![]:this['global'][_0x183d29(0x17a)]=![];continue;case'7':this[_0x183d29(0x156)][_0x183d29(0x184)]=helper['nestedKeyValue'](_0x1805d9,[_0x326cd2[_0x183d29(0x164)],_0x326cd2['zgjCS'],_0x326cd2[_0x183d29(0x187)]]);continue;case'8':this[_0x183d29(0x156)][_0x183d29(0x1a9)]=[];continue;case'9':this[_0x183d29(0x156)][_0x183d29(0x194)]=helper[_0x183d29(0x150)](this[_0x183d29(0x17d)],[_0x326cd2[_0x183d29(0x176)],this[_0x183d29(0x156)]['browserstackPlatformIndex']])||{};continue;}break;}}}async[a18_0x33f181(0x171)](){const _0x29ebf4=a18_0x33f181;_seleniumWebdriver2&&(await helper[_0x29ebf4(0x1a5)](this['global'][_0x29ebf4(0x18a)]),this[_0x29ebf4(0x156)][_0x29ebf4(0x189)][_0x29ebf4(0x183)]=originalBuilder),await RequestQueueHandler[_0x29ebf4(0x1ac)]()['shutdown']();}async[a18_0x33f181(0x14a)](){}async[a18_0x33f181(0x16e)](_0x768837,_0x41f16a){const _0x458ffc=a18_0x33f181,_0x5bb557={};_0x5bb557[_0x458ffc(0x1bb)]=function(_0x50c4c4,_0x53840e){return _0x50c4c4===_0x53840e;},_0x5bb557[_0x458ffc(0x198)]=_0x458ffc(0x192),_0x5bb557[_0x458ffc(0x1b4)]=function(_0x5150a2,_0x4974d6){return _0x5150a2===_0x4974d6;},_0x5bb557[_0x458ffc(0x19a)]=_0x458ffc(0x1bf),_0x5bb557['NdJjT']='test_done',_0x5bb557[_0x458ffc(0x172)]=_0x458ffc(0x162),_0x5bb557[_0x458ffc(0x1b0)]=_0x458ffc(0x17f),_0x5bb557[_0x458ffc(0x191)]=function(_0x44aa21,_0x2f2ca6){return _0x44aa21===_0x2f2ca6;},_0x5bb557[_0x458ffc(0x1b1)]=_0x458ffc(0x171);const _0x2e7729=_0x5bb557,{name:_0x2a31e9}=_0x768837;if(_0x2e7729[_0x458ffc(0x1bb)](_0x2a31e9,_0x2e7729[_0x458ffc(0x198)])){this[_0x458ffc(0x156)][_0x458ffc(0x151)]=_0x768837['test'];if(_0x2e7729[_0x458ffc(0x1b4)](this[_0x458ffc(0x156)][_0x458ffc(0x14f)],!![])){const _0x4edceb=_0x768837[_0x458ffc(0x14e)]['name'];logger[_0x458ffc(0x16f)](_0x458ffc(0x182)+_0x4edceb),_0x768837[_0x458ffc(0x14e)]['mode']=_0x2e7729[_0x458ffc(0x19a)];}}if(this[_0x458ffc(0x166)]&&_0x2e7729[_0x458ffc(0x1bb)](_0x2a31e9,_0x2e7729[_0x458ffc(0x1ba)]))try{const _0x1be494=_0x768837[_0x458ffc(0x14e)][_0x458ffc(0x161)][_0x458ffc(0x190)](_0x2e7729[_0x458ffc(0x172)]),_0x634a89=_0x768837[_0x458ffc(0x14e)][_0x458ffc(0x16b)];await this['failFast'][_0x458ffc(0x14d)](_0x1be494,_0x634a89);const _0x2765de=await this['failFast'][_0x458ffc(0x1ab)]();_0x2e7729[_0x458ffc(0x1b4)](this[_0x458ffc(0x156)]['failFastActive'],![])&&_0x2e7729['DBYOv'](_0x2765de,!![])&&(this['global'][_0x458ffc(0x14f)]=!![]);}catch(_0x3f5729){logger[_0x458ffc(0x1b6)](_0x2e7729[_0x458ffc(0x1b0)],_0x3f5729[_0x458ffc(0x18b)]);}_0x2e7729[_0x458ffc(0x191)](_0x2a31e9,_0x2e7729[_0x458ffc(0x1b1)])&&(this[_0x458ffc(0x166)]&&this[_0x458ffc(0x166)][_0x458ffc(0x159)]());}}module['exports']=CustomEnvironment;
1
+ function a18_0x515f(_0x26e6ae,_0x4b6d40){const _0xd8a075=a18_0xd8a0();return a18_0x515f=function(_0x515f18,_0x278268){_0x515f18=_0x515f18-0x16c;let _0x598f0a=_0xd8a075[_0x515f18];return _0x598f0a;},a18_0x515f(_0x26e6ae,_0x4b6d40);}const a18_0x350cc5=a18_0x515f;(function(_0x3b59b3,_0x4918b0){const _0x56eb32=a18_0x515f,_0x11238b=_0x3b59b3();while(!![]){try{const _0x36b8a7=-parseInt(_0x56eb32(0x179))/0x1*(parseInt(_0x56eb32(0x1ae))/0x2)+parseInt(_0x56eb32(0x1df))/0x3*(-parseInt(_0x56eb32(0x1a2))/0x4)+-parseInt(_0x56eb32(0x16c))/0x5*(parseInt(_0x56eb32(0x1d3))/0x6)+parseInt(_0x56eb32(0x196))/0x7+parseInt(_0x56eb32(0x1ac))/0x8+-parseInt(_0x56eb32(0x1e2))/0x9*(-parseInt(_0x56eb32(0x16d))/0xa)+parseInt(_0x56eb32(0x190))/0xb*(parseInt(_0x56eb32(0x189))/0xc);if(_0x36b8a7===_0x4918b0)break;else _0x11238b['push'](_0x11238b['shift']());}catch(_0x12a800){_0x11238b['push'](_0x11238b['shift']());}}}(a18_0xd8a0,0x41746));const helper=require(a18_0x350cc5(0x18e)),constants=require(a18_0x350cc5(0x1c0)),{isTestObservabilitySession}=require(a18_0x350cc5(0x197)),RequestQueueHandler=require(a18_0x350cc5(0x171)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a18_0x350cc5(0x1a4)),logger=require(a18_0x350cc5(0x1b8))[a18_0x350cc5(0x1c1)],getTestEnvironment=((()=>{const _0x3a0d35=a18_0x350cc5,_0x15485a={};_0x15485a[_0x3a0d35(0x1d0)]=_0x3a0d35(0x1a9),_0x15485a['YKBIk']=_0x3a0d35(0x1d7);const _0x20fcf1=_0x15485a;try{const _0x3048bc=helper[_0x3a0d35(0x1b3)](_0x20fcf1['pwhgF']);if(_0x3048bc['resolveTestEnvironment'])return _0x3048bc[_0x3a0d35(0x17a)];const _0x10afea=helper[_0x3a0d35(0x1b3)](_0x20fcf1['YKBIk']);if(_0x10afea[_0x3a0d35(0x1d9)])return _0x10afea[_0x3a0d35(0x1d9)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2d46a1=a18_0x350cc5,_0x340f66={'oFRvr':function(_0x378131,_0x5c49a6){return _0x378131(_0x5c49a6);},'zUaJT':_0x2d46a1(0x1b6),'JtsXB':_0x2d46a1(0x1bc)},_0x589091=_0x340f66['oFRvr'](getTestEnvironment,{'rootDir':process[_0x2d46a1(0x19f)](),'testEnvironment':process[_0x2d46a1(0x1e1)][_0x2d46a1(0x1cf)]||_0x340f66[_0x2d46a1(0x1b5)]});if(!_0x589091)return _0x340f66[_0x2d46a1(0x1ba)](_interopRequireDefault,helper[_0x2d46a1(0x1b3)](_0x340f66[_0x2d46a1(0x175)]));return _0x340f66[_0x2d46a1(0x1ba)](_interopRequireDefault,helper[_0x2d46a1(0x1b3)](_0x589091));})()),_seleniumWebdriver2=((()=>{const _0x4fc1a6=a18_0x350cc5,_0x351bcd={'uxKyt':function(_0x48afae,_0x5f0453){return _0x48afae(_0x5f0453);}};try{const _0x3a8a8f=helper[_0x4fc1a6(0x184)]();return helper['modifyCommand'](),_0x351bcd[_0x4fc1a6(0x195)](_interopRequireDefault,_0x3a8a8f);}catch{return null;}})());function _interopRequireDefault(_0xc1d65b){const _0x5d4380=a18_0x350cc5;return _0xc1d65b&&_0xc1d65b[_0x5d4380(0x19e)]?_0xc1d65b:{'default':_0xc1d65b};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;function a18_0xd8a0(){const _0x21a777=['percyCaptureMode','cleanup','global','QPLnP','2955IGSnqT','configuration','env','9wEVPCW','skipSessionName','5BChQXT','842450zwMqlp','__driversArray','browserstackPercyBestPlatform','quit','../../../helpers/test-observability/requestQueueHandler','join','Builder','tyBMk','JtsXB','shutdown','__platformCaps','failFastActive','40CppHxX','resolveTestEnvironment','percy','timeout__','platformCaps','debug','testEnvironmentOptions','__webdriver','browserstackPlatformIndex','FRAMEWORKS','default','requireSeleniumWebdriver','projectName','../../../index','name','driver','95664EeAkdZ','failFastOptions','iXGKc','skipSessionStatus','split','../../../helpers/helper','DAVxr','1078fdNEDW','browserStackGlobals','munbh','Stptu','lXUHR','uxKyt','2463510dWSKfO','../../../helpers/test-observability/utils','builder','__drivers','__jestRetries','getInstance','testContext','isNotUndefined','__esModule','cwd','shouldProcessEventForTesthub','test_done','248icNPvL','capability','../../../helpers/testhub/utils','hpVRc','\x20>\x20','uGgFM','nestedKeyValue','jest-resolve','zpXWm','__skipSessionStatus','200160sHRTvo','projectConfig','23086BgIvaP','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','isBrowserstackInfra','LxAPR','retries__','requireModule','test','zUaJT','node','handleTestEvent','../../../helpers/logger','framework','oFRvr','LmhMz','jest-environment-node','ziBYj','failFast','xUcyn','../../utils/constants','winstonLogger','testPath','mode','__timeout','shouldFailFast','isTrue','sessionNameProvided','errors','bstack:options','skip','chivR','exports','onTestDone','NGopp','BSTACK_JEST_TEST_ENV','pwhgF','registerListeners','baxhz','2709354aUEOgO','QQfEY','BSTACK_DELTA','4|3|1|8|2|6|7|0|9|5','jest-config','Error\x20in\x20fail-fast\x20test_done\x20handler:','getTestEnvironment','tJwWB'];a18_0xd8a0=function(){return _0x21a777;};return a18_0xd8a0();}class CustomEnvironment extends _jestUserEnvironment[a18_0x350cc5(0x183)]{constructor(_0x13df26){const _0x2d04cc=a18_0x350cc5,_0x2081b0={'tJwWB':_0x2d04cc(0x170),'LlGPP':function(_0x43e543,_0xe15c26){return _0x43e543+_0xe15c26;},'tyBMk':_0x2d04cc(0x1c9),'zpXWm':function(_0x1a2960,_0x299438){return _0x1a2960(_0x299438);},'hpVRc':'../../../helpers/test-orchestration/failfastManager','chivR':_0x2d04cc(0x1d6),'lXUHR':'testEnvironmentOptions','QPLnP':'browserStackPercyOptions','LmhMz':_0x2d04cc(0x17b),'BClEq':_0x2d04cc(0x186),'munbh':_0x2d04cc(0x1db),'uGgFM':_0x2d04cc(0x17d),'LxAPR':_0x2d04cc(0x16f)};super(_0x13df26),this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1c4)]=0x0,this[_0x2d04cc(0x1e0)]={};!_0x13df26[_0x2d04cc(0x17f)]&&(_0x13df26[_0x2d04cc(0x17f)]={});if(helper[_0x2d04cc(0x1b0)]()){_0x13df26['testEnvironmentOptions']=_0x13df26[_0x2d04cc(0x1ad)]?_0x13df26['projectConfig'][_0x2d04cc(0x17f)]:_0x13df26[_0x2d04cc(0x17f)],this[_0x2d04cc(0x198)]=new _seleniumWebdriver2[(_0x2d04cc(0x183))][(_0x2d04cc(0x173))](),this[_0x2d04cc(0x1a3)]=_0x13df26[_0x2d04cc(0x1ad)]?_0x13df26[_0x2d04cc(0x1ad)][_0x2d04cc(0x1a3)]:_0x13df26['capability'],this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1c4)]=_0x2081b0['LlGPP'](this[_0x2d04cc(0x1e0)][_0x2d04cc(0x17c)],constants[_0x2d04cc(0x1d5)]),this[_0x2d04cc(0x18a)]=_0x13df26[_0x2d04cc(0x17f)]['failFast'];if(this[_0x2d04cc(0x18a)]){const _0x5308a7=this[_0x2d04cc(0x1a3)][_0x2081b0['tyBMk']]?.['buildName']||'',_0x47f699=this[_0x2d04cc(0x1a3)][_0x2081b0[_0x2d04cc(0x174)]]?.[_0x2d04cc(0x185)]||'';this['failFast']=new(_0x2081b0[_0x2d04cc(0x1aa)](require,_0x2081b0[_0x2d04cc(0x1a5)]))(this['failFastOptions'],_0x5308a7,_0x47f699),this[_0x2d04cc(0x1dd)][_0x2d04cc(0x178)]=![];}helper[_0x2d04cc(0x19d)](this[_0x2d04cc(0x1e0)][_0x2d04cc(0x1b2)])&&(this[_0x2d04cc(0x1dd)][_0x2d04cc(0x19a)]=this['configuration'][_0x2d04cc(0x1b2)]);}if(testhubUtils[_0x2d04cc(0x1a0)]()){const _0x2ffb2a=new ObservabilityReporter();_0x2ffb2a[_0x2d04cc(0x1d1)]();}this[_0x2d04cc(0x1dd)][_0x2d04cc(0x191)]={},this['configuration']=_0x13df26['testEnvironmentOptions'],this['configuration'][_0x2d04cc(0x1b9)]=constants[_0x2d04cc(0x182)]['JEST'];if(_seleniumWebdriver2){const _0x318ec1=_0x2081b0[_0x2d04cc(0x1cb)][_0x2d04cc(0x18d)]('|');let _0x4dfa06=0x0;while(!![]){switch(_0x318ec1[_0x4dfa06++]){case'0':helper[_0x2d04cc(0x1c6)](this[_0x2d04cc(0x1e0)][_0x2d04cc(0x1e3)])?this['global'][_0x2d04cc(0x1c7)]=!![]:this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1c7)]=![];continue;case'1':this['global'][_0x2d04cc(0x181)]=(_0x13df26[_0x2d04cc(0x1ad)]?_0x13df26[_0x2d04cc(0x1ad)][_0x2d04cc(0x181)]:_0x13df26['browserstackPlatformIndex'])||0x0;continue;case'2':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x17b)]=helper['nestedKeyValue'](_0x13df26,[_0x2081b0[_0x2d04cc(0x194)],_0x2081b0[_0x2d04cc(0x1de)],_0x2081b0[_0x2d04cc(0x1bb)]]);continue;case'3':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x180)]=_0x2081b0[_0x2d04cc(0x1aa)](require,_0x2081b0['BClEq'])['browserstackAgentV2']({...this[_0x2d04cc(0x1e0)],'capability':this['capability']||{}},this,testhubUtils[_0x2d04cc(0x1a0)]());continue;case'4':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x199)]=[];continue;case'5':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1dc)]=async()=>{const _0x45fa47=_0x2d04cc;await this[_0x45fa47(0x1dd)][_0x45fa47(0x188)][_0x45fa47(0x170)](_0x2081b0[_0x45fa47(0x1da)]);};continue;case'6':this[_0x2d04cc(0x1dd)]['percyCaptureMode']=helper[_0x2d04cc(0x1a8)](_0x13df26,[_0x2081b0[_0x2d04cc(0x194)],_0x2081b0[_0x2d04cc(0x1de)],_0x2081b0[_0x2d04cc(0x192)]]);continue;case'7':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x177)]=helper[_0x2d04cc(0x1a8)](this[_0x2d04cc(0x1e0)],[_0x2081b0[_0x2d04cc(0x1a7)],this[_0x2d04cc(0x1dd)][_0x2d04cc(0x181)]])||{};continue;case'8':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x16f)]=helper[_0x2d04cc(0x1a8)](_0x13df26,[_0x2081b0[_0x2d04cc(0x194)],_0x2081b0['QPLnP'],_0x2081b0[_0x2d04cc(0x1b1)]]);continue;case'9':this[_0x2d04cc(0x1dd)][_0x2d04cc(0x1ab)]=helper[_0x2d04cc(0x1c6)](this['configuration'][_0x2d04cc(0x18c)]);continue;}break;}}}async['teardown'](){const _0x4f50=a18_0x350cc5;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this['global'][_0x4f50(0x16e)]),this[_0x4f50(0x1dd)][_0x4f50(0x180)][_0x4f50(0x173)]=originalBuilder),await RequestQueueHandler[_0x4f50(0x19b)]()[_0x4f50(0x176)]();}async['setup'](){}async[a18_0x350cc5(0x1b7)](_0x1bf0ef,_0x5639cf){const _0x284c8b=a18_0x350cc5,_0x18e697={};_0x18e697[_0x284c8b(0x1bf)]=function(_0x21d44f,_0x50df24){return _0x21d44f===_0x50df24;},_0x18e697['NGopp']='test_start',_0x18e697['Stptu']=function(_0xced03d,_0x150693){return _0xced03d===_0x150693;},_0x18e697[_0x284c8b(0x18b)]=_0x284c8b(0x1ca),_0x18e697[_0x284c8b(0x1d4)]=_0x284c8b(0x1a1),_0x18e697['olhLV']=_0x284c8b(0x1a6),_0x18e697[_0x284c8b(0x1bd)]=function(_0x4060eb,_0x5807d){return _0x4060eb===_0x5807d;},_0x18e697[_0x284c8b(0x1d2)]=_0x284c8b(0x1d8),_0x18e697[_0x284c8b(0x18f)]=function(_0x340d5f,_0x494d1c){return _0x340d5f===_0x494d1c;},_0x18e697['tHeSu']='teardown';const _0x36ac7d=_0x18e697,{name:_0x22e03a}=_0x1bf0ef;if(_0x36ac7d['xUcyn'](_0x22e03a,_0x36ac7d[_0x284c8b(0x1ce)])){this['global'][_0x284c8b(0x19c)]=_0x1bf0ef['test'];if(_0x36ac7d[_0x284c8b(0x193)](this[_0x284c8b(0x1dd)]['failFastActive'],!![])){const _0x570caf=_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x187)];logger['info'](_0x284c8b(0x1af)+_0x570caf),_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x1c3)]=_0x36ac7d[_0x284c8b(0x18b)];}}if(this['failFast']&&_0x36ac7d[_0x284c8b(0x1bf)](_0x22e03a,_0x36ac7d[_0x284c8b(0x1d4)]))try{const _0x397cf6=_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x1c2)][_0x284c8b(0x172)](_0x36ac7d['olhLV']),_0x2b8a73=_0x1bf0ef[_0x284c8b(0x1b4)][_0x284c8b(0x1c8)];await this[_0x284c8b(0x1be)][_0x284c8b(0x1cd)](_0x397cf6,_0x2b8a73);const _0x6ea96e=await this[_0x284c8b(0x1be)][_0x284c8b(0x1c5)]();_0x36ac7d[_0x284c8b(0x193)](this[_0x284c8b(0x1dd)][_0x284c8b(0x178)],![])&&_0x36ac7d['ziBYj'](_0x6ea96e,!![])&&(this[_0x284c8b(0x1dd)][_0x284c8b(0x178)]=!![]);}catch(_0x1fdc25){logger[_0x284c8b(0x17e)](_0x36ac7d[_0x284c8b(0x1d2)],_0x1fdc25['message']);}_0x36ac7d[_0x284c8b(0x18f)](_0x22e03a,_0x36ac7d['tHeSu'])&&(this[_0x284c8b(0x1be)]&&this[_0x284c8b(0x1be)][_0x284c8b(0x1dc)]());}}module[a18_0x350cc5(0x1cc)]=CustomEnvironment;