browserstack-node-sdk 1.52.1 → 1.52.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) 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 +2 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';function a19_0xc920(){const _0x5390c2=['68324FdBtSN','ljFEB','freeze','testEnvironmentOptions','16104020ccbhJo','oNKxU','context','env','capabilities','parallels__','10lfGyjV','6AHUntr','jest-runner','serial__','2803730EhnaCI','106327GDHrBA','runTests','value','tCJIc','_globalConfig','forEach','exports','6mXtuom','config','tVEES','defineProperty','shhRV','__esModule','slice','default','push','1537929OhQdcn','2174032GEflVo','length','3430119YXemCY','../../../helpers/helper'];a19_0xc920=function(){return _0x5390c2;};return a19_0xc920();}function a19_0x579e(_0x2bd1b7,_0x5d904a){const _0xc920c0=a19_0xc920();return a19_0x579e=function(_0x579e85,_0x2dbae9){_0x579e85=_0x579e85-0x1cf;let _0x1971f2=_0xc920c0[_0x579e85];return _0x1971f2;},a19_0x579e(_0x2bd1b7,_0x5d904a);}const a19_0x447a4a=a19_0x579e;(function(_0x526bbc,_0x5afd2e){const _0x12de2d=a19_0x579e,_0x13b07c=_0x526bbc();while(!![]){try{const _0x56bcd9=parseInt(_0x12de2d(0x1e4))/0x1*(parseInt(_0x12de2d(0x1df))/0x2)+parseInt(_0x12de2d(0x1eb))/0x3*(-parseInt(_0x12de2d(0x1d5))/0x4)+parseInt(_0x12de2d(0x1e3))/0x5*(parseInt(_0x12de2d(0x1e0))/0x6)+parseInt(_0x12de2d(0x1d3))/0x7+parseInt(_0x12de2d(0x1d1))/0x8+parseInt(_0x12de2d(0x1d0))/0x9+-parseInt(_0x12de2d(0x1d9))/0xa;if(_0x56bcd9===_0x5afd2e)break;else _0x13b07c['push'](_0x13b07c['shift']());}catch(_0x5daae8){_0x13b07c['push'](_0x13b07c['shift']());}}}(a19_0xc920,0x5ce35));const {requireModule,isBrowserstackInfra}=require(a19_0x447a4a(0x1d4)),a19_0x26c48e={};a19_0x26c48e[a19_0x447a4a(0x1e6)]=!![],Object[a19_0x447a4a(0x1ee)](exports,a19_0x447a4a(0x1f0),a19_0x26c48e),exports[a19_0x447a4a(0x1f2)]=void 0x0;function _interopRequireDefault(_0x256be2){const _0x30f73b=a19_0x447a4a;return _0x256be2&&_0x256be2[_0x30f73b(0x1f0)]?_0x256be2:{'default':_0x256be2};};const runnerModule=process[a19_0x447a4a(0x1dc)]['BSTACK_USER_JEST_RUNNER']||a19_0x447a4a(0x1e1),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a19_0x447a4a(0x1f2)];class TestRunner extends JestRunner{constructor(..._0x218cf8){super(..._0x218cf8);}[a19_0x447a4a(0x1e5)](..._0x46221f){const _0x514216=a19_0x447a4a,_0x54899e={'shhRV':function(_0x48cebc){return _0x48cebc();},'tVEES':function(_0x38a8a4,_0x231caf){return _0x38a8a4-_0x231caf;},'PmjEQ':function(_0x25865a,_0x1c0f78){return _0x25865a*_0x1c0f78;},'tCJIc':function(_0xe2b570,_0x38205c){return _0xe2b570===_0x38205c;},'oNKxU':'false','ljFEB':function(_0x50bea2,_0x6f67e6){return _0x50bea2<_0x6f67e6;}};if(!_0x54899e[_0x514216(0x1ef)](isBrowserstackInfra))return super[_0x514216(0x1e5)](..._0x46221f);const _0x2c1158=_0x46221f[0x0],_0x35360c=_0x46221f[_0x54899e[_0x514216(0x1ed)](_0x46221f[_0x514216(0x1d2)],0x1)],_0x30c34f=_0x2c1158[0x0][_0x514216(0x1db)][_0x514216(0x1ec)]['testEnvironmentOptions'][_0x514216(0x1dd)],_0x1f4328=_0x2c1158[0x0]['context'][_0x514216(0x1ec)][_0x514216(0x1d8)][_0x514216(0x1de)];_0x1f4328&&(this['_globalConfig']=Object[_0x514216(0x1d7)]({...this[_0x514216(0x1e8)],'maxWorkers':_0x54899e['PmjEQ'](_0x1f4328,_0x30c34f[_0x514216(0x1d2)])}));_0x54899e[_0x514216(0x1e7)](_0x2c1158[0x0][_0x514216(0x1db)]['config'][_0x514216(0x1d8)][_0x514216(0x1e2)],_0x54899e[_0x514216(0x1da)])&&(_0x35360c&&(_0x35360c['serial']=![]));const _0x3616c2=[];for(let _0x58544e=0x0;_0x54899e[_0x514216(0x1d6)](_0x58544e,_0x2c1158[_0x514216(0x1d2)]);_0x58544e++){const _0x2ec38a=[];_0x30c34f[_0x514216(0x1e9)]((_0xd77cbf,_0x53e8fd)=>{const _0x14b37d=_0x514216,_0x3d3c6e={..._0x2c1158[_0x58544e]},_0x16f95d=_0x3d3c6e;_0x16f95d[_0x14b37d(0x1db)]=Object['freeze']({..._0x16f95d[_0x14b37d(0x1db)],'config':{..._0x16f95d['context']['config'],'capability':_0xd77cbf,'browserstackPlatformIndex':_0x53e8fd}}),_0x2ec38a[_0x14b37d(0x1cf)](_0x16f95d);}),_0x3616c2['push'](..._0x2ec38a);}return super[_0x514216(0x1e5)](_0x3616c2,..._0x46221f[_0x514216(0x1f1)](0x1));}}module[a19_0x447a4a(0x1ea)]=TestRunner;
1
+ 'use strict';function a19_0x4055(){const _0x21ea6d=['capabilities','length','90WjcHPE','COnHy','slice','jest-runner','testEnvironmentOptions','7888181LbcGPp','__esModule','1731363hgUzua','freeze','238254lfAfQf','env','config','CLWQo','795852fgNDki','context','defineProperty','push','16746PBjOaS','BqxoM','rPUnR','default','trKqb','parallels__','96mrSuop','../../../helpers/helper','serial','4935224aPSQLx','BSTACK_USER_JEST_RUNNER','value','false','forEach','runTests','serial__','50599575vtqLcR','_globalConfig'];a19_0x4055=function(){return _0x21ea6d;};return a19_0x4055();}const a19_0x212ed5=a19_0x18b3;(function(_0x176aa6,_0x2e447c){const _0x16af96=a19_0x18b3,_0x718765=_0x176aa6();while(!![]){try{const _0xf41c6b=-parseInt(_0x16af96(0xf6))/0x1+-parseInt(_0x16af96(0x106))/0x2*(parseInt(_0x16af96(0x100))/0x3)+-parseInt(_0x16af96(0xfc))/0x4+parseInt(_0x16af96(0xef))/0x5*(-parseInt(_0x16af96(0xf8))/0x6)+-parseInt(_0x16af96(0xf4))/0x7+-parseInt(_0x16af96(0x109))/0x8+parseInt(_0x16af96(0x110))/0x9;if(_0xf41c6b===_0x2e447c)break;else _0x718765['push'](_0x718765['shift']());}catch(_0x295043){_0x718765['push'](_0x718765['shift']());}}}(a19_0x4055,0xebaf5));const {requireModule,isBrowserstackInfra}=require(a19_0x212ed5(0x107)),a19_0x3092dd={};a19_0x3092dd[a19_0x212ed5(0x10b)]=!![],Object[a19_0x212ed5(0xfe)](exports,a19_0x212ed5(0xf5),a19_0x3092dd),exports[a19_0x212ed5(0x103)]=void 0x0;function a19_0x18b3(_0x4aa522,_0x3d1cec){const _0x40551d=a19_0x4055();return a19_0x18b3=function(_0x18b398,_0x1891a1){_0x18b398=_0x18b398-0xed;let _0x475014=_0x40551d[_0x18b398];return _0x475014;},a19_0x18b3(_0x4aa522,_0x3d1cec);}function _interopRequireDefault(_0x125799){return _0x125799&&_0x125799['__esModule']?_0x125799:{'default':_0x125799};};const runnerModule=process[a19_0x212ed5(0xf9)][a19_0x212ed5(0x10a)]||a19_0x212ed5(0xf2),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a19_0x212ed5(0x103)];class TestRunner extends JestRunner{constructor(..._0x2ae12e){super(..._0x2ae12e);}[a19_0x212ed5(0x10e)](..._0x1f20aa){const _0x4c9e9e=a19_0x212ed5,_0x13a947={'lejtT':function(_0x137510){return _0x137510();},'BqxoM':function(_0x57cf44,_0xd687f0){return _0x57cf44-_0xd687f0;},'trKqb':function(_0x20b928,_0x35e1da){return _0x20b928*_0x35e1da;},'rPUnR':function(_0x449b22,_0x47da59){return _0x449b22===_0x47da59;},'CLWQo':_0x4c9e9e(0x10c),'COnHy':function(_0x21f36d,_0x5a88ac){return _0x21f36d<_0x5a88ac;}};if(!_0x13a947['lejtT'](isBrowserstackInfra))return super[_0x4c9e9e(0x10e)](..._0x1f20aa);const _0x17c109=_0x1f20aa[0x0],_0x5037bf=_0x1f20aa[_0x13a947[_0x4c9e9e(0x101)](_0x1f20aa[_0x4c9e9e(0xee)],0x1)],_0x5f5adc=_0x17c109[0x0][_0x4c9e9e(0xfd)][_0x4c9e9e(0xfa)][_0x4c9e9e(0xf3)][_0x4c9e9e(0xed)],_0x53cabd=_0x17c109[0x0][_0x4c9e9e(0xfd)][_0x4c9e9e(0xfa)][_0x4c9e9e(0xf3)][_0x4c9e9e(0x105)];_0x53cabd&&(this[_0x4c9e9e(0x111)]=Object[_0x4c9e9e(0xf7)]({...this[_0x4c9e9e(0x111)],'maxWorkers':_0x13a947[_0x4c9e9e(0x104)](_0x53cabd,_0x5f5adc['length'])}));_0x13a947[_0x4c9e9e(0x102)](_0x17c109[0x0][_0x4c9e9e(0xfd)][_0x4c9e9e(0xfa)][_0x4c9e9e(0xf3)][_0x4c9e9e(0x10f)],_0x13a947[_0x4c9e9e(0xfb)])&&(_0x5037bf&&(_0x5037bf[_0x4c9e9e(0x108)]=![]));const _0x5bd0a4=[];for(let _0x2b68a9=0x0;_0x13a947[_0x4c9e9e(0xf0)](_0x2b68a9,_0x17c109[_0x4c9e9e(0xee)]);_0x2b68a9++){const _0x20f60c=[];_0x5f5adc[_0x4c9e9e(0x10d)]((_0x122cad,_0x1db367)=>{const _0x365da9=_0x4c9e9e,_0x741b78={..._0x17c109[_0x2b68a9]},_0x1e965f=_0x741b78;_0x1e965f[_0x365da9(0xfd)]=Object[_0x365da9(0xf7)]({..._0x1e965f[_0x365da9(0xfd)],'config':{..._0x1e965f[_0x365da9(0xfd)][_0x365da9(0xfa)],'capability':_0x122cad,'browserstackPlatformIndex':_0x1db367}}),_0x20f60c[_0x365da9(0xff)](_0x1e965f);}),_0x5bd0a4[_0x4c9e9e(0xff)](..._0x20f60c);}return super[_0x4c9e9e(0x10e)](_0x5bd0a4,..._0x1f20aa[_0x4c9e9e(0xf1)](0x1));}}module['exports']=TestRunner;
@@ -1 +1 @@
1
- const a20_0x31d221=a20_0xf23f;(function(_0x4979ca,_0x5221cf){const _0x4075f6=a20_0xf23f,_0x41cc26=_0x4979ca();while(!![]){try{const _0x186bcd=-parseInt(_0x4075f6(0x1ae))/0x1+-parseInt(_0x4075f6(0x1bc))/0x2+parseInt(_0x4075f6(0x195))/0x3+-parseInt(_0x4075f6(0x134))/0x4*(parseInt(_0x4075f6(0x17e))/0x5)+parseInt(_0x4075f6(0xe5))/0x6+-parseInt(_0x4075f6(0x10d))/0x7*(-parseInt(_0x4075f6(0x13a))/0x8)+-parseInt(_0x4075f6(0x161))/0x9*(parseInt(_0x4075f6(0x11e))/0xa);if(_0x186bcd===_0x5221cf)break;else _0x41cc26['push'](_0x41cc26['shift']());}catch(_0x57dfb9){_0x41cc26['push'](_0x41cc26['shift']());}}}(a20_0x3ea2,0x6c7fa));const util=require(a20_0x31d221(0x132)),helper=require(a20_0x31d221(0x10a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a20_0x31d221(0xec)),{sendPlatformDetails}=require('../../helpers/test-observability/utils'),{isBrowserstackInfra,markSessionStatus}=require(a20_0x31d221(0x10a));let __error_messages__=[];const RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler');jest['setTimeout'](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a20_0x31d221(0x140)),{percyAutoCapture}=require(a20_0x31d221(0x1de)),logger=require(a20_0x31d221(0x18b))['winstonLogger'],TestDetails=require(a20_0x31d221(0xeb)),PerformanceTester=require(a20_0x31d221(0x19d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a20_0x31d221(0x137)),scripts=require(a20_0x31d221(0x142)),globals=require(a20_0x31d221(0x17f)),{shouldProcessEventForTesthub}=require(a20_0x31d221(0x147)),testHubConstants=require(a20_0x31d221(0xd0)),{v4:uuidv4}=require(a20_0x31d221(0x1ec)),BrowserstackCLI=require(a20_0x31d221(0x19c)),AutomationFrameworkState=require(a20_0x31d221(0x167)),HookState=require(a20_0x31d221(0xe8)),{FRAMEWORKS}=require(a20_0x31d221(0x105));globals[a20_0x31d221(0x12f)]=browserStackGlobals;if(typeof global[a20_0x31d221(0x17c)]==='undefined')try{const {TransformStream}=require(a20_0x31d221(0x1a8));global['TransformStream']=TransformStream;}catch(a20_0x59a05a){logger[a20_0x31d221(0x180)]('TransformStream\x20polyfill\x20not\x20available:\x20'+a20_0x59a05a[a20_0x31d221(0xdd)]);}function a20_0xf23f(_0x36a8d1,_0x19c61b){const _0x3ea23d=a20_0x3ea2();return a20_0xf23f=function(_0xf23fbe,_0x30893f){_0xf23fbe=_0xf23fbe-0xc5;let _0x1df474=_0x3ea23d[_0xf23fbe];return _0x1df474;},a20_0xf23f(_0x36a8d1,_0x19c61b);}function stripUnicode(_0x1a12e7){const _0x179cc4=a20_0x31d221;return _0x1a12e7[_0x179cc4(0x177)](/\\u001b\[.*?m/g,'')['slice'](0x1,-0x1);}async function setContext(){const _0x105c10=a20_0x31d221,_0x435894={'UVONR':function(_0x2f3ef8){return _0x2f3ef8();},'gBNqI':'browserstackTestName','mIojr':function(_0x3c9568,_0xfb4f65){return _0x3c9568!==_0xfb4f65;},'jEsis':_0x105c10(0x184),'gQfwn':function(_0x4c51bd,_0x351190){return _0x4c51bd>_0x351190;},'XbaHo':function(_0x2c260f,_0x45c44){return _0x2c260f(_0x45c44);},'plpwZ':function(_0x3a60ec,_0x41274b){return _0x3a60ec(_0x41274b);},'sKNTB':function(_0x52e683,_0x5c6bd9){return _0x52e683>_0x5c6bd9;},'DzzkW':function(_0x28d0ca,_0x2b39ab){return _0x28d0ca(_0x2b39ab);}};if(!_0x435894[_0x105c10(0x18e)](isBrowserstackInfra))return;const _0x3024ea=expect[_0x105c10(0x1d2)]()[_0x105c10(0xd9)];globals['setGlobal'](_0x435894[_0x105c10(0x1e5)],_0x3024ea);!sessionNameProvided&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x105c10(0x1d8)],async()=>{const _0x595693=_0x105c10;await __drivers[0x0][_0x595693(0x133)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x3024ea+_0x595693(0xdc));})();let _0x1b0dbb=null,_0x5ea750=![];_0x435894[_0x105c10(0x130)](typeof jasmine,_0x435894[_0x105c10(0x196)])?jasmine[_0x105c10(0x14b)]['failedExpectations']&&_0x435894[_0x105c10(0xf6)](jasmine[_0x105c10(0x14b)][_0x105c10(0x1be)][_0x105c10(0x160)],0x0)?(_0x5ea750=!![],_0x1b0dbb=_0x435894[_0x105c10(0x11f)](stripUnicode,JSON[_0x105c10(0x18a)](jasmine[_0x105c10(0x14b)][_0x105c10(0x1be)][0x0][_0x105c10(0xdd)]))):_0x1b0dbb=_0x435894[_0x105c10(0x13f)](stripUnicode,JSON[_0x105c10(0x18a)](jasmine['currentTest'][_0x105c10(0xea)])):testContext['errors']&&_0x435894[_0x105c10(0x1c7)](testContext[_0x105c10(0x1ef)][_0x105c10(0x160)],0x0)?(_0x5ea750=!![],_0x1b0dbb=_0x435894['DzzkW'](stripUnicode,JSON[_0x105c10(0x18a)](testContext[_0x105c10(0x1ef)][0x0][0x0][_0x105c10(0xdd)]||testContext['errors'][0x0][0x0]))):_0x1b0dbb=_0x435894['DzzkW'](stripUnicode,JSON[_0x105c10(0x18a)](testContext[_0x105c10(0x13c)])),_0x5ea750?(__error_messages__['push'](_0x1b0dbb),await __drivers[0x0][_0x105c10(0x133)](_0x105c10(0x12b)+_0x1b0dbb+_0x105c10(0x191))):await __drivers[0x0][_0x105c10(0x133)](_0x105c10(0x189)+_0x1b0dbb+'\x22,\x22level\x22:\x20\x22info\x22}}');}const executeAnnotate=async(_0x27eea3,_0x1764af)=>{const _0x27e371=a20_0x31d221;await global[_0x27e371(0x14c)][0x0][_0x27e371(0x133)](_0x27e371(0x1b1)+_0x27eea3+_0x27e371(0x1d4)+_0x1764af+'\x22}}');};async function driverCleanup(){const _0x1652d4=a20_0x31d221,_0x25a305={'hVLNk':function(_0x39239c){return _0x39239c();},'JSyog':_0x1652d4(0x14a),'jxuZl':function(_0x55868f,_0x3a2c27){return _0x55868f>_0x3a2c27;},'RSWVi':function(_0x4756da,_0xc54619,_0x577a66,_0x4b3276){return _0x4756da(_0xc54619,_0x577a66,_0x4b3276);},'rHeBe':_0x1652d4(0x17d),'THVbN':_0x1652d4(0x1a7),'teAXd':function(_0x34083d,_0xe89e61,_0xb23a84){return _0x34083d(_0xe89e61,_0xb23a84);},'jREpT':_0x1652d4(0x1c4)};if(!_0x25a305[_0x1652d4(0xf1)](isBrowserstackInfra))return;let _0x194156=![];try{const _0x278466=_0x25a305[_0x1652d4(0x16c)][_0x1652d4(0x1c6)]('|');let _0x4a91c3=0x0;while(!![]){switch(_0x278466[_0x4a91c3++]){case'0':_0x194156=!![];continue;case'1':await __drivers[0x0][_0x1652d4(0x10c)];continue;case'2':PerformanceTester[_0x1652d4(0x178)](PerformanceAutEvents['SESSION_STATUS']);continue;case'3':PerformanceTester[_0x1652d4(0x127)](PerformanceAutEvents['SESSION_STATUS'],!![]);continue;case'4':_0x25a305['jxuZl'](__error_messages__[_0x1652d4(0x160)],0x0)?await _0x25a305['RSWVi'](markSessionStatus,__drivers[0x0],_0x25a305[_0x1652d4(0x175)],__error_messages__[_0x1652d4(0xc5)](_0x25a305[_0x1652d4(0x12a)])):await _0x25a305[_0x1652d4(0xcc)](markSessionStatus,__drivers[0x0],_0x25a305[_0x1652d4(0xf8)]);continue;}break;}}catch(_0x81411){console[_0x1652d4(0x13e)](_0x81411),PerformanceTester['end'](PerformanceAutEvents[_0x1652d4(0x1cc)],![],_0x81411);}__error_messages__=[];if(_0x194156)try{await __drivers[0x0][_0x1652d4(0x1eb)]();}catch(_0x15fd56){console[_0x1652d4(0x13e)](_0x15fd56);}}function a20_0x3ea2(){const _0x5869af=['addReporter','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','TransformStream','failed','5AqofTu','../../helpers/globals','debug','TdPgZ','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','lxAqH','undefined','POST','gtgUE','saveTestResults','maEkm','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','stringify','../../helpers/logger','beforeAll','WHEIg','UVONR','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','mEOaj','\x22,\x22level\x22:\x20\x22error\x22}}','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','pwPage','ukUqo','2347113nfAXWX','jEsis','browserstackTestName','lRQPQ','XapMD','No\x20patcher\x20available','Error\x20getting\x20page\x20context/browser:\x20','../v2/browserstackCLI','../../helpers/performance/performance-tester','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','KEOnl','stopMonitoring','EJMOu','pendingUploads','launchCaps','testcase','puppeteer-core','MqLNJ','\x20|\x20','stream/web','context','KxGbm','nIXXE','browserstackSessionName','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','226586UKhIaa','UQHus','mQSVE','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','performScan','imflw','Jhaoc','XVziR','yAfWD','Error\x20in\x20pw-jest\x20afterEach:\x20','PRE','ePYjr','nSAWX','LqcOB','1347874sNZuRC','SbjIW','failedExpectations',':testAnalyticsId','dIySj','Error\x20cleaning\x20up\x20close\x20tracker:\x20','rIKYn','gLSNQ','passed','bnAJx','split','sKNTB','testContext','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','VYkXW','afterEach','SESSION_STATUS','xOlCe','KKaJg','wDAtO','DIYXi','NMQSK','getState','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20',',\x22level\x22:\x20\x22','__workerDetails','startMonitoring','getTestUUID','SESSION_NAME','__platformCaps','gtGlJ','hQxSD','uYWRZ','push','../../helpers/percy/utils','removeAllListeners','lISQp','Error\x20executing\x20deferred\x20closes:\x20','__currentTestInfo','Cleaned\x20up\x20close\x20tracker','Error\x20loading\x20playwright-patcher:\x20','gBNqI','No\x20page\x20available\x20yet\x20for\x20test:\x20','SDK_HOOK','__jestCurrentTestIdentifier','.\x20Error\x20:',',\x20testPath=','initQuit','uuid','title','iOkmP','errors','irEsJ','close','VSUkE','getPageFromAutomationFramework','testInfo','fullName','executeDeferredCloses','join','hookType','getPackageVersion','Successfully\x20closed\x20page\x20via\x20fallback','liool','bSPnj','testIdentifier','teAXd','isAccessibilityPlatform','isPageFixture','closeTracker','../../helpers/testhub/constants','getCurrentUrl','includes','displayName','DXExb','from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20','afterTestHook','JBbdM','function','currentTestName','browser','percy','\x22}}','message','http:','WPNyd','Error\x20loading\x20puppeteer-patcher:\x20','ErUzX','KKRTj','PERFORM_SCAN',',\x20testName=','4895778qrjBgB','info','ryVSS','../v2/state/hookState','GcZUx','description','./test-observability/test-details','../utils/constants','pvBIX','testAnalyticsId','bstackA11yShouldScan','Vdkvi','hVLNk','[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20','error','Unknown\x20Test','ENV_VAR','gQfwn','SAVE_RESULTS','jREpT','testFramework','cxgyY','../utils/puppeteer-patcher','BYYDA','opvEw','shift','inside\x20before\x20each\x20jest\x20hook','isRunning','__launchCaps','Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','DfVXF','isArray','../../helpers/test-observability/constants','appium:app','isCliEnabled','Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available',',\x20isPlaywrightFlow=','../../helpers/helper','executeAsyncScript','session_','7AOoIud','quitCount_','AjZvz',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created','Error\x20in\x20playwright\x20beforeTestHook:\x20','wntfD','protocol','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','PbxMC','afterTest','Error\x20triggering\x20QUIT\x20PRE\x20event:\x20','jcfKL','qkwtk','IXGCS','capabilities','setTimeout','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','499030jsXZhZ','XbaHo','WJobL','fAUpQ','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','OCzyB','awChB','Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20','Jest','end','testPath','Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20','THVbN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','SYNC','crSGU','env','browserStackGlobals','mIojr','SKuIS','util','executeScript','2896364torTQY','command','tKFFW','../../helpers/performance/constants','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','rKQuf','6959312TsfUta','MKSOn','name','beforeEach','log','plpwZ','../../helpers/accessibility-automation/helper','beforeTestHook','../../helpers/accessibility-automation/scripts','browserContext','BAcaJ','pid','inspect','../../helpers/testhub/utils','format','qRtsu','2|1|0|4|3','currentTest','__drivers','wDlwH','NEzTD','JEST','mexnA','codAH','mWjNg','now','setGlobal','puppeteer','eiToA','bEtkD','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','fHpsz','ASXOU','zrTrF','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','idjKw','page','jest-test','length','72lMxBth','cleanup','xLsaN','Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','Error\x20in\x20fallback\x20page\x20close:\x20','LwiAX','../v2/state/automationFrameworkState','../utils/playwright-patcher','iQdUo','klVRm','HRWia','JSyog','BHdJU','getAutomationFramework','getInstance','getGlobal','Error\x20preparing\x20AutomationFramework\x20events:\x20','wMjNe','platformCaps','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','rHeBe','kLjok','replace','start','@playwright/test'];a20_0x3ea2=function(){return _0x5869af;};return a20_0x3ea2();}beforeAll(async()=>{const _0x338205=a20_0x31d221,_0x23d16e={'gLSNQ':function(_0x23f045,_0x31be33){return _0x23f045!==_0x31be33;},'fAUpQ':'undefined','umtcY':function(_0x184865,_0x3128db){return _0x184865>_0x3128db;},'DfVXF':_0x338205(0x18c),'BHdJU':function(_0x1f487b){return _0x1f487b();},'aUMSq':function(_0xf8df0b,_0x9f46ae,_0x29e99a){return _0xf8df0b(_0x9f46ae,_0x29e99a);}};__error_messages__=[],PerformanceTester[_0x338205(0x1d6)](),PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);_0x23d16e[_0x338205(0x1c3)](typeof __jestRetries,_0x23d16e['fAUpQ'])&&_0x23d16e['umtcY'](__jestRetries,0x0)&&jest['retryTimes'](__jestRetries);const _0x59ed5f='browserstack internal helper hook';_0x23d16e[_0x338205(0x1c3)](typeof jasmine,_0x23d16e[_0x338205(0x121)])&&jasmine['getEnv']()[_0x338205(0x17a)]({'specStarted':_0x3a2358=>{const _0x5161b0=_0x338205;jasmine[_0x5161b0(0x14b)]=_0x3a2358;}});let _0xc76033=![];try{await __drivers[0x0][_0x338205(0x10c)],_0xc76033=!![];}catch(_0x26b43f){logger[_0x338205(0x180)](_0x338205(0x182)+_0x26b43f);const _0x41b735={};_0x41b735[_0x338205(0xc6)]=_0x23d16e[_0x338205(0x103)],PerformanceTester[_0x338205(0x127)](PerformanceHookEvents[_0x338205(0x1e7)],![],_0x26b43f,_0x41b735);}if(_0xc76033)try{_0x23d16e[_0x338205(0x16d)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x23d16e['aUMSq'](sendPlatformDetails,__drivers[0x0],TestDetails[_0x338205(0x1d7)](process[_0x338205(0x145)]+':testAnalyticsId')));}catch(_0x471bcf){logger[_0x338205(0x180)]('Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20'+_0x471bcf);const _0xa741e1={};_0xa741e1[_0x338205(0xc6)]=_0x23d16e['DfVXF'],PerformanceTester[_0x338205(0x127)](PerformanceHookEvents[_0x338205(0x1e7)],![],_0x471bcf,_0xa741e1);}const _0x48c707={};_0x48c707[_0x338205(0xc6)]=_0x23d16e[_0x338205(0x103)],PerformanceTester['end'](PerformanceHookEvents[_0x338205(0x1e7)],!![],null,_0x48c707);}),beforeEach(async()=>{const _0x53e5da=a20_0x31d221,_0x7f4161={'WPNyd':_0x53e5da(0xff),'VYkXW':_0x53e5da(0x197),'xOlCe':function(_0x25d81d,_0x3289d5,_0x223f15){return _0x25d81d(_0x3289d5,_0x223f15);},'tKFFW':'@playwright/test','ASXOU':_0x53e5da(0x155),'wDAtO':_0x53e5da(0x1a5),'hQxSD':function(_0x2c890c,_0x149dd9){return _0x2c890c(_0x149dd9);},'mEOaj':_0x53e5da(0x168),'UQHus':'Playwright\x20flow\x20detected\x20in\x20beforeEach','GcZUx':_0x53e5da(0xfb),'Xcoek':_0x53e5da(0x18f),'iOkmP':'0|3|4|2|1','Jhaoc':function(_0x37b87b,_0x40f298){return _0x37b87b>_0x40f298;},'nIXXE':function(_0x3e0923){return _0x3e0923();},'kWiQV':function(_0x33d3fb){return _0x33d3fb();},'nSAWX':_0x53e5da(0x13d),'LSIuf':_0x53e5da(0xef),'opvEw':_0x53e5da(0xcd),'XapMD':function(_0x373465,_0x9a4332){return _0x373465===_0x9a4332;},'codAH':_0x53e5da(0xde),'JBbdM':'https:','pvBIX':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KKaJg':_0x53e5da(0x19c),'HRWia':_0x53e5da(0xec),'BYYDA':_0x53e5da(0x167),'imflw':function(_0x15a519,_0x35438d){return _0x15a519(_0x35438d);},'ldrhC':_0x53e5da(0xe8),'ukUqo':function(_0x4fd03c,_0xc4757){return _0x4fd03c||_0xc4757;},'KKRTj':_0x53e5da(0xf4),'qRtsu':_0x53e5da(0x15f),'awChB':function(_0x570b67,_0x2a4810){return _0x570b67&&_0x2a4810;},'MKSOn':'function','bnAJx':function(_0x11a002,_0x3d8075){return _0x11a002===_0x3d8075;},'mWjNg':function(_0x54b990,_0x457db2){return _0x54b990===_0x457db2;},'eiToA':function(_0x3a2425,_0x2fd16d){return _0x3a2425>_0x2fd16d;}};logger[_0x53e5da(0x180)](_0x7f4161[_0x53e5da(0xdf)]),PerformanceTester[_0x53e5da(0x178)](PerformanceHookEvents[_0x53e5da(0x1e7)]);const _0x302a1a='browserstack internal helper hook';let _0x4b13e2=!![],_0x311cee=null;try{const _0x1c5062=expect[_0x53e5da(0x1d2)]()[_0x53e5da(0xd9)];globals[_0x53e5da(0x154)](_0x7f4161[_0x53e5da(0x1ca)],_0x1c5062);const _0x562b77=_0x7f4161[_0x53e5da(0x1cd)](shouldScanTestForAccessibility,_0x1c5062,![]),_0x184d24=helper[_0x53e5da(0xc7)](_0x7f4161[_0x53e5da(0x136)]),_0x272677=helper[_0x53e5da(0xc7)](_0x7f4161[_0x53e5da(0x15a)])||helper[_0x53e5da(0xc7)](_0x7f4161[_0x53e5da(0x1cf)]);if(!!_0x184d24)try{_0x311cee=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0x190)]),logger[_0x53e5da(0x180)](_0x7f4161[_0x53e5da(0x1af)]);}catch(_0x62b55){logger[_0x53e5da(0x180)](_0x53e5da(0x1e4)+util[_0x53e5da(0x148)](_0x62b55));}else{if(!!_0x272677)try{_0x311cee=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0xe9)]),logger['debug'](_0x7f4161['Xcoek']);}catch(_0x3325f2){logger[_0x53e5da(0x180)](_0x53e5da(0xe0)+util[_0x53e5da(0x148)](_0x3325f2));}}try{const _0x1cfc28=_0x7f4161[_0x53e5da(0x1ee)]['split']('|');let _0x8dec8=0x0;while(!![]){switch(_0x1cfc28[_0x8dec8++]){case'0':Array['isArray'](__drivers)&&__drivers[0x0]&&(__drivers[0x0]['browserstackSessionName']=_0x1c5062);continue;case'1':!_0x311cee&&_0x7f4161[_0x53e5da(0x1b4)](__drivers['length'],0x0)&&_0x7f4161[_0x53e5da(0x1b4)](__drivers[0x0][_0x53e5da(0x10e)],0x0)&&(_0x4b13e2=![],await _0x7f4161[_0x53e5da(0x1ab)](driverCleanup));continue;case'2':_0x311cee&&_0x7f4161[_0x53e5da(0x1b4)](__drivers[_0x53e5da(0x160)],0x0)&&(__drivers[0x0][_0x53e5da(0x1ac)]=_0x1c5062,__drivers[0x0][_0x53e5da(0xef)]=_0x562b77);continue;case'3':global[_0x53e5da(0x1ac)]=_0x1c5062;continue;case'4':!_0x311cee&&_0x7f4161[_0x53e5da(0x1b4)](__drivers[_0x53e5da(0x160)],0x1)&&(await _0x7f4161['kWiQV'](driverCleanup),__drivers[_0x53e5da(0xfe)]());continue;}break;}}catch(_0x306f32){logger[_0x53e5da(0x180)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x306f32);const _0x2d5eef={};_0x2d5eef[_0x53e5da(0xc6)]=_0x7f4161[_0x53e5da(0x1ba)],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],![],_0x306f32,_0x2d5eef);}globals[_0x53e5da(0x154)](_0x7f4161['LSIuf'],_0x562b77);if(global['__workerDetails']){const _0x3dc328=expect[_0x53e5da(0x1d2)]()[_0x53e5da(0x128)],_0x75f904=global[_0x53e5da(0x1e8)],_0x4dc1b2=expect[_0x53e5da(0x1d2)]()[_0x53e5da(0xd9)]||_0x1c5062,_0x2f0f11={};_0x2f0f11['id']=_0x75f904,_0x2f0f11[_0x53e5da(0xee)]=_0x75f904,_0x2f0f11[_0x53e5da(0x1f4)]={},_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x1ed)]=_0x1c5062,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x1f5)]=_0x4dc1b2,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0xd3)]=_0x1c5062,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x13c)]=_0x4dc1b2,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0x128)]=_0x3dc328,_0x2f0f11[_0x53e5da(0x1f4)][_0x53e5da(0xcb)]=_0x75f904,global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)]=_0x2f0f11,logger[_0x53e5da(0x180)]('[Jest\x20Setup]\x20beforeEach:\x20testIdentifier='+_0x75f904+_0x53e5da(0xe4)+_0x1c5062+_0x53e5da(0x1ea)+_0x3dc328);}if(!_0x311cee&&_0x7f4161[_0x53e5da(0x1ab)](isAccessibilityAutomationSession)&&_0x4b13e2&&Array['isArray'](__drivers)&&_0x7f4161['Jhaoc'](__drivers[_0x53e5da(0x160)],0x0)&&globals['getGlobal'](_0x7f4161[_0x53e5da(0xfd)]))try{const _0x2e49dc=await __drivers[0x0][_0x53e5da(0x10c)];if(_0x2e49dc){let _0x5f480e=!![];const _0x398cf1=await __drivers[0x0][_0x53e5da(0xd1)]();let _0x4b5852;try{_0x4b5852=new URL(_0x398cf1);}catch(_0x4094a1){_0x5f480e=![];}_0x5f480e=_0x7f4161[_0x53e5da(0x199)](_0x4b5852[_0x53e5da(0x113)],_0x7f4161[_0x53e5da(0x151)])||_0x7f4161[_0x53e5da(0x199)](_0x4b5852['protocol'],_0x7f4161[_0x53e5da(0xd7)]),_0x5f480e&&(_0x562b77&&logger['info'](_0x7f4161[_0x53e5da(0xed)]));}}catch(_0x3df011){logger[_0x53e5da(0xf3)](_0x53e5da(0x19e)+_0x3df011);const _0x3f4b06={};_0x3f4b06[_0x53e5da(0xc6)]=_0x7f4161['nSAWX'],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],![],er,_0x3f4b06);}if(_0x311cee&&global[_0x53e5da(0x1d5)]&&global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)])try{await _0x311cee[_0x53e5da(0x141)](global[_0x53e5da(0x1d5)]['currentTest'][_0x53e5da(0x1f4)]);}catch(_0x141068){logger[_0x53e5da(0x180)](_0x53e5da(0x111)+util[_0x53e5da(0x148)](_0x141068));}if(_0x311cee&&global[_0x53e5da(0x1d5)]&&global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)])try{const _0x432df7=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0x1ce)]),{FRAMEWORKS:_0x28c6d4}=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0x16b)]),_0x417263=_0x7f4161[_0x53e5da(0x1db)](require,_0x7f4161[_0x53e5da(0xfc)]),_0x2b8264=_0x7f4161[_0x53e5da(0x1b3)](require,_0x7f4161['ldrhC']);if(_0x432df7['getInstance']()[_0x53e5da(0x107)]()&&_0x432df7[_0x53e5da(0x16f)]()[_0x53e5da(0x100)]()){const _0x53714e={'title':_0x7f4161[_0x53e5da(0x194)](_0x1c5062,_0x7f4161[_0x53e5da(0xe2)]),'titlePath':[_0x7f4161['ukUqo'](_0x1c5062,_0x7f4161['KKRTj'])],'id':global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)]['id']||_0x7f4161[_0x53e5da(0x149)],'testAnalyticsId':global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)][_0x53e5da(0xee)],'testPath':global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)][_0x53e5da(0x1f4)]?.[_0x53e5da(0x128)],...global[_0x53e5da(0x1d5)][_0x53e5da(0x14b)][_0x53e5da(0x1f4)]};global[_0x53e5da(0x1e2)]=_0x53714e,logger[_0x53e5da(0x180)](_0x53e5da(0x15c)+_0x1c5062);try{const _0x5de8d8=global['__workerDetails']?.[_0x53e5da(0x193)]||_0x311cee['getPageFromAutomationFramework']();if(_0x5de8d8){const _0x452e69=_0x7f4161[_0x53e5da(0x124)](!!_0x272677,!_0x184d24);let _0x54b5dd=null,_0x3a81a8=null;try{_0x452e69?(_0x54b5dd=_0x7f4161[_0x53e5da(0x199)](typeof _0x5de8d8['browserContext'],_0x7f4161['MKSOn'])?_0x5de8d8[_0x53e5da(0x143)]():null,_0x3a81a8=_0x7f4161[_0x53e5da(0x199)](typeof _0x5de8d8['browser'],_0x7f4161[_0x53e5da(0x13b)])?_0x5de8d8[_0x53e5da(0xda)]():null):(_0x54b5dd=_0x7f4161[_0x53e5da(0x1c5)](typeof _0x5de8d8[_0x53e5da(0x1a9)],_0x7f4161[_0x53e5da(0x13b)])?_0x5de8d8[_0x53e5da(0x1a9)]():null,_0x3a81a8=_0x54b5dd&&_0x7f4161[_0x53e5da(0x152)](typeof _0x54b5dd[_0x53e5da(0xda)],_0x7f4161[_0x53e5da(0x13b)])?_0x54b5dd['browser']():null);}catch(_0x43b0b6){logger[_0x53e5da(0x180)](_0x53e5da(0x19b)+_0x43b0b6[_0x53e5da(0xdd)]);}const _0x480824={};_0x480824[_0x53e5da(0x15e)]=_0x5de8d8,_0x480824[_0x53e5da(0x1a9)]=_0x54b5dd,_0x480824['browser']=_0x3a81a8,_0x480824['testInfo']=_0x53714e,_0x480824[_0x53e5da(0xf9)]=_0x28c6d4[_0x53e5da(0x14f)],_0x480824[_0x53e5da(0x1a3)]=global[_0x53e5da(0x101)],_0x480824[_0x53e5da(0x173)]=global[_0x53e5da(0x1d9)],await _0x432df7['getInstance']()[_0x53e5da(0x16e)]()['trackEvent'](_0x417263['CREATE'],_0x2b8264[_0x53e5da(0x185)],_0x480824),logger[_0x53e5da(0x180)](_0x53e5da(0xf2)+_0x1c5062+'\x20with\x20testIdentifier:\x20'+(_0x53714e[_0x53e5da(0xee)]||_0x53714e['id']));}else logger[_0x53e5da(0x180)](_0x53e5da(0x1e6)+_0x1c5062+_0x53e5da(0x110));}catch(_0x29cbe1){logger['debug'](_0x53e5da(0x129)+util[_0x53e5da(0x148)](_0x29cbe1));}}}catch(_0x33ad92){logger[_0x53e5da(0x180)](_0x53e5da(0x171)+util[_0x53e5da(0x148)](_0x33ad92));}!_0x311cee&&_0x7f4161[_0x53e5da(0x156)](__drivers[_0x53e5da(0x160)],0x0)&&_0x7f4161[_0x53e5da(0x156)](__drivers[0x0][_0x53e5da(0x10e)],0x0)&&await _0x7f4161[_0x53e5da(0x1ab)](driverCleanup);}catch(_0x16b7d4){logger[_0x53e5da(0x180)](_0x53e5da(0x1c9)+_0x16b7d4);const _0x2cec78={};_0x2cec78[_0x53e5da(0xc6)]=_0x7f4161[_0x53e5da(0x1ba)],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],![],_0x16b7d4,_0x2cec78);}const _0x2afcaf={};_0x2afcaf[_0x53e5da(0xc6)]=_0x7f4161[_0x53e5da(0x1ba)],PerformanceTester[_0x53e5da(0x127)](PerformanceHookEvents[_0x53e5da(0x1e7)],!![],null,_0x2afcaf);}),afterEach(async()=>{const _0x1aa119=a20_0x31d221,_0x53cfc2={'Vdkvi':'inside\x20after\x20each\x20jest\x20hook','KEOnl':function(_0x1c1d0f,_0x77f510){return _0x1c1d0f>_0x77f510;},'ePYjr':'@playwright/test','liool':_0x1aa119(0x155),'mexnA':_0x1aa119(0x1a5),'opBFw':function(_0x434571,_0x4695ec){return _0x434571(_0x4695ec);},'maEkm':_0x1aa119(0x168),'NMQSK':function(_0x131cd2,_0x2469ca){return _0x131cd2(_0x2469ca);},'klVRm':_0x1aa119(0xfb),'qkwtk':'Playwright','LqcOB':'Puppeteer','rDlWN':function(_0x48cf4e,_0x4c0ab4){return _0x48cf4e!==_0x4c0ab4;},'lISQp':_0x1aa119(0x184),'KxGbm':function(_0x1a5211,_0x2e331c){return _0x1a5211>_0x2e331c;},'NEzTD':function(_0x47aa3c,_0x1a098a){return _0x47aa3c(_0x1a098a);},'EJMOu':'failed','TvllW':_0x1aa119(0x1c4),'idjKw':function(_0x2c7890,_0x5105c8){return _0x2c7890&&_0x5105c8;},'IXGCS':'Unknown\x20Test','rpTXO':_0x1aa119(0x15f),'bSPnj':_0x1aa119(0x108),'uYWRZ':_0x1aa119(0x1ad),'DIYXi':_0x1aa119(0x1e3),'gtgUE':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','xLsaN':function(_0x124dff,_0x557056){return _0x124dff>_0x557056;},'iQdUo':function(_0x450729){return _0x450729();},'rKQuf':function(_0x32519e,_0x4cd59f){return _0x32519e===_0x4cd59f;},'lxAqH':_0x1aa119(0x1a4),'PbxMC':_0x1aa119(0x106),'dIySj':function(_0x3f7a82,_0x18b7ca,_0x3f077d,_0x48f169){return _0x3f7a82(_0x18b7ca,_0x3f077d,_0x48f169);},'ErUzX':_0x1aa119(0x1cb),'mQSVE':function(_0x27ca6a,_0x14f71d,_0x12072f){return _0x27ca6a(_0x14f71d,_0x12072f);},'wMjNe':_0x1aa119(0xcd),'SbjIW':_0x1aa119(0xef),'kiGcb':_0x1aa119(0x158),'zrTrF':'Performing\x20scan\x20before\x20saving\x20results','MqLNJ':_0x1aa119(0x116),'crSGU':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kLjok':function(_0x5e0e6b){return _0x5e0e6b();},'wDlwH':function(_0x535a1a){return _0x535a1a();},'jcfKL':function(_0x72f89b,_0x220c9d,_0x454427){return _0x72f89b(_0x220c9d,_0x454427);},'DXExb':_0x1aa119(0x180),'rIKYn':function(_0x3ccdd1){return _0x3ccdd1();}};logger['debug'](_0x53cfc2[_0x1aa119(0xf0)]),PerformanceTester[_0x1aa119(0x178)](PerformanceHookEvents[_0x1aa119(0x1e7)]);const _0x51b533='browserstack internal helper hook';let _0x2c1101=![],_0x243140=![],_0x53c7da=null;try{global[_0x1aa119(0x14c)]&&_0x53cfc2[_0x1aa119(0x19f)](global[_0x1aa119(0x14c)][_0x1aa119(0x160)],0x0)&&(_0x2c1101=!![]);if(global[_0x1aa119(0x1d5)]&&global['__workerDetails'][_0x1aa119(0x193)]){const _0x2ccfe3=helper[_0x1aa119(0xc7)](_0x53cfc2[_0x1aa119(0x1b9)]),_0x47673d=helper[_0x1aa119(0xc7)](_0x53cfc2[_0x1aa119(0xc9)])||helper[_0x1aa119(0xc7)](_0x53cfc2[_0x1aa119(0x150)]);try{if(_0x2ccfe3)_0x53c7da=_0x53cfc2['opBFw'](require,_0x53cfc2[_0x1aa119(0x188)]);else _0x47673d&&(_0x53c7da=_0x53cfc2['NMQSK'](require,_0x53cfc2[_0x1aa119(0x16a)]));_0x243140=!![],logger[_0x1aa119(0x180)]((_0x2ccfe3?_0x53cfc2[_0x1aa119(0x119)]:_0x53cfc2[_0x1aa119(0x1bb)])+'\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x1aa119(0x1d5)][_0x1aa119(0x193)]);}catch(_0x1dfb27){logger[_0x1aa119(0x180)](_0x1aa119(0x122)+util[_0x1aa119(0x148)](_0x1dfb27));}}}catch(_0x56a3a7){logger[_0x1aa119(0x180)]('Error\x20determining\x20test\x20flow:\x20'+_0x56a3a7);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x2c1101+_0x1aa119(0x109)+_0x243140);if(_0x243140){const _0x37075e=_0x53c7da[_0x1aa119(0x1f3)]();try{let _0x3961f0=null,_0x9a7e47=![];if(_0x53cfc2['rDlWN'](typeof jasmine,_0x53cfc2[_0x1aa119(0x1e0)]))jasmine[_0x1aa119(0x14b)][_0x1aa119(0x1be)]&&_0x53cfc2[_0x1aa119(0x1aa)](jasmine['currentTest'][_0x1aa119(0x1be)][_0x1aa119(0x160)],0x0)?(_0x9a7e47=!![],_0x3961f0=_0x53cfc2[_0x1aa119(0x14e)](stripUnicode,JSON['stringify'](jasmine[_0x1aa119(0x14b)][_0x1aa119(0x1be)][0x0][_0x1aa119(0xdd)]))):_0x3961f0=_0x53cfc2[_0x1aa119(0x14e)](stripUnicode,JSON[_0x1aa119(0x18a)](jasmine['currentTest']['description']));else{logger[_0x1aa119(0x180)](_0x1aa119(0xd5)+util[_0x1aa119(0x146)](testContext));const _0x450b5d=global[_0x1aa119(0x1c8)]||testContext,_0x559cc9=_0x450b5d&&_0x450b5d[_0x1aa119(0x1ef)]?_0x450b5d['errors']:[];if(_0x53cfc2[_0x1aa119(0x19f)](_0x559cc9[_0x1aa119(0x160)],0x0)){_0x9a7e47=!![];const _0x60e3e0=Array[_0x1aa119(0x104)](_0x559cc9[0x0])?_0x559cc9[0x0][0x0]:_0x559cc9[0x0];_0x3961f0=_0x53cfc2[_0x1aa119(0x1d1)](stripUnicode,JSON[_0x1aa119(0x18a)](_0x60e3e0['message']||_0x60e3e0));}else _0x3961f0=_0x53cfc2['NMQSK'](stripUnicode,JSON[_0x1aa119(0x18a)](_0x450b5d?_0x450b5d[_0x1aa119(0x13c)]:testContext['name']));}const _0x1b4c69=_0x9a7e47?_0x53cfc2[_0x1aa119(0x1a1)]:_0x53cfc2['TvllW'];_0x53cfc2[_0x1aa119(0x15d)](_0x9a7e47,_0x3961f0)&&!__error_messages__[_0x1aa119(0xd2)](_0x3961f0)&&__error_messages__[_0x1aa119(0x1dd)](_0x3961f0);const _0x521b22={'title':global[_0x1aa119(0x1d5)]?.[_0x1aa119(0x14b)]?.['testInfo']?.[_0x1aa119(0x1ed)]||_0x53cfc2[_0x1aa119(0x11a)],'titlePath':[global['__workerDetails']?.[_0x1aa119(0x14b)]?.[_0x1aa119(0x1f4)]?.[_0x1aa119(0x1ed)]||_0x53cfc2[_0x1aa119(0x11a)]],'id':global[_0x1aa119(0x1d5)]?.[_0x1aa119(0x14b)]?.['id']||_0x53cfc2['rpTXO'],'status':_0x1b4c69,'error':_0x3961f0?{'message':_0x3961f0}:null,'testAnalyticsId':global[_0x1aa119(0x1d5)]?.['currentTest']?.['testAnalyticsId'],'testPath':global['__workerDetails']?.[_0x1aa119(0x14b)]?.[_0x1aa119(0x1f4)]?.[_0x1aa119(0x128)],...global[_0x1aa119(0x1d5)][_0x1aa119(0x14b)][_0x1aa119(0x1f4)]},_0x98e8f0=_0x521b22;try{if(BrowserstackCLI[_0x1aa119(0x16f)]()[_0x1aa119(0x107)]()&&BrowserstackCLI[_0x1aa119(0x16f)]()[_0x1aa119(0x100)]()){const _0x291d91={};_0x291d91['testInfo']=_0x98e8f0,_0x291d91[_0x1aa119(0x15e)]=_0x37075e,_0x291d91[_0x1aa119(0xf9)]=FRAMEWORKS[_0x1aa119(0x14f)],await BrowserstackCLI['getInstance']()[_0x1aa119(0x16e)]()['trackEvent'](AutomationFrameworkState['QUIT'],HookState[_0x1aa119(0x1b8)],_0x291d91),logger[_0x1aa119(0x180)](_0x1aa119(0x114)+_0x98e8f0[_0x1aa119(0x1ed)]);}}catch(_0xc9d5fa){logger[_0x1aa119(0x180)](_0x1aa119(0x117)+util[_0x1aa119(0x148)](_0xc9d5fa));}global['__workerDetails']&&global[_0x1aa119(0x1d5)]['currentTest']&&global[_0x1aa119(0x1d5)]['currentTest']['testInfo']?await _0x53c7da[_0x1aa119(0xd6)](global[_0x1aa119(0x1d5)][_0x1aa119(0x14b)][_0x1aa119(0x1f4)],_0x1b4c69,_0x9a7e47?_0x3961f0:null):logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0xca)]);try{await _0x53c7da[_0x1aa119(0x1f6)](),logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0x1dc)]);}catch(_0x151cdb){logger[_0x1aa119(0x180)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x1aa119(0x148)](_0x151cdb));}try{_0x53c7da[_0x1aa119(0xcf)][_0x1aa119(0x162)](),logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0x1d0)]);}catch(_0x2a9c97){logger[_0x1aa119(0x180)](_0x1aa119(0x1c1)+util[_0x1aa119(0x148)](_0x2a9c97));}}catch(_0x2efc7a){logger[_0x1aa119(0x180)](_0x1aa119(0x1b7)+util['format'](_0x2efc7a));try{_0x53c7da[_0x1aa119(0x1f6)]&&(await _0x53c7da[_0x1aa119(0x1f6)](),logger[_0x1aa119(0x180)](_0x53cfc2[_0x1aa119(0x186)]));}catch(_0x57a8fd){logger[_0x1aa119(0x180)](_0x1aa119(0x17b)+util[_0x1aa119(0x148)](_0x57a8fd));}}}else try{!_0x243140&&_0x53cfc2[_0x1aa119(0x163)](__drivers[_0x1aa119(0x160)],0x1)&&(await _0x53cfc2[_0x1aa119(0x169)](driverCleanup),__drivers[_0x1aa119(0xfe)]());try{if(global[_0x1aa119(0xdb)]&&_0x53cfc2[_0x1aa119(0x139)](global['percyCaptureMode'],_0x53cfc2[_0x1aa119(0x183)])&&__drivers[0x0]){const _0x2901f1=_0x53cfc2[_0x1aa119(0x163)](global[_0x1aa119(0x11b)][_0x1aa119(0x160)],0x0)?!!global[_0x1aa119(0x11b)][0x0]['app']||!!global[_0x1aa119(0x11b)][0x0][_0x53cfc2[_0x1aa119(0x115)]]:![],_0x5b3ec7={};_0x5b3ec7['app']=_0x2901f1,await _0x53cfc2[_0x1aa119(0x1c0)](percyAutoCapture,__drivers[0x0],_0x53cfc2[_0x1aa119(0x183)],_0x5b3ec7);}}catch(_0x302597){logger[_0x1aa119(0x180)]('Exception\x20in\x20jest\x20percy\x20with\x20error:\x20'+_0x302597);const _0x2b5ab4={};_0x2b5ab4[_0x1aa119(0xc6)]=_0x53cfc2[_0x1aa119(0xe1)],PerformanceTester[_0x1aa119(0x127)](PerformanceHookEvents[_0x1aa119(0x1e7)],![],_0x302597,_0x2b5ab4);}const _0x4c356b=_0x53cfc2['mQSVE'](shouldScanTestForAccessibility,expect[_0x1aa119(0x1d2)]()['currentTestName'],![]);try{if(_0x53cfc2[_0x1aa119(0x169)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x53cfc2[_0x1aa119(0x172)])&&globals[_0x1aa119(0x170)](_0x53cfc2[_0x1aa119(0x1bd)])){logger[_0x1aa119(0xe6)](_0x53cfc2['kiGcb']);const _0x359c0a={'thTestRunUuid':TestDetails[_0x1aa119(0x1d7)](process[_0x1aa119(0x145)]+_0x1aa119(0x1bf)),'thBuildUuid':process[_0x1aa119(0x12e)][testHubConstants[_0x1aa119(0xf5)]['BROWSERSTACK_TESTHUB_UUID']],'thJwtToken':process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']]};logger[_0x1aa119(0x180)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1aa119(0x18a)](_0x359c0a)),logger['debug'](_0x53cfc2[_0x1aa119(0x15b)]);const _0x5ebd16={};_0x5ebd16[_0x1aa119(0x135)]=_0x53cfc2[_0x1aa119(0x1a6)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1aa119(0xe3)],async()=>{const _0x35ffee=_0x1aa119;logger[_0x35ffee(0x180)](util[_0x35ffee(0x148)](await __drivers[0x0][_0x35ffee(0x10b)](scripts[_0x35ffee(0x1b2)],{'method':expect[_0x35ffee(0x1d2)]()[_0x35ffee(0xd9)]})));},_0x5ebd16)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1aa119(0xf7)],async()=>{const _0x3f78d7=_0x1aa119;await __drivers[0x0]['executeAsyncScript'](scripts[_0x3f78d7(0x187)],_0x359c0a);})(),logger[_0x1aa119(0xe6)](_0x53cfc2[_0x1aa119(0x12d)]);}}catch(_0xf3256e){logger['error'](_0x1aa119(0x1d3)+expect[_0x1aa119(0x1d2)]()[_0x1aa119(0xd9)]+_0x1aa119(0x1e9),_0xf3256e);}await _0x53cfc2[_0x1aa119(0x176)](setContext);try{if(_0x53cfc2['kLjok'](shouldProcessEventForTesthub)){_0x53cfc2['xLsaN'](global[_0x1aa119(0x14c)][_0x1aa119(0x160)],0x0)&&global[_0x1aa119(0x14c)][0x0]&&await _0x53cfc2[_0x1aa119(0x1b0)](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x1aa119(0x1d7)](process['pid']+':testAnalyticsId'));if(_0x53cfc2[_0x1aa119(0x14d)](isBrowserstackInfra)){PerformanceTester[_0x1aa119(0x178)](PerformanceO11yEvents[_0x1aa119(0x12c)]);const _0x220565='ObservabilitySync:'+Date[_0x1aa119(0x153)]();await _0x53cfc2[_0x1aa119(0x118)](executeAnnotate,JSON['stringify'](_0x220565),_0x53cfc2[_0x1aa119(0xd4)]),PerformanceTester[_0x1aa119(0x127)](PerformanceO11yEvents[_0x1aa119(0x12c)]);}}}catch(_0x4d23ef){logger['debug'](_0x1aa119(0x174)+_0x4d23ef),PerformanceTester[_0x1aa119(0x127)](PerformanceO11yEvents[_0x1aa119(0x12c)],![],_0x4d23ef);}!_0x243140&&_0x53cfc2[_0x1aa119(0x19f)](__drivers[_0x1aa119(0x160)],0x0)&&_0x53cfc2[_0x1aa119(0x163)](__drivers[0x0][_0x1aa119(0x10e)],0x0)&&await _0x53cfc2[_0x1aa119(0x1c2)](driverCleanup);const _0x448aba={};_0x448aba[_0x1aa119(0xc6)]=_0x53cfc2[_0x1aa119(0xe1)],PerformanceTester[_0x1aa119(0x127)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x448aba);}catch(_0xfda31a){logger[_0x1aa119(0x180)](_0x1aa119(0x182)+_0xfda31a);const _0x300b93={};_0x300b93[_0x1aa119(0xc6)]=_0x53cfc2[_0x1aa119(0xe1)],PerformanceTester[_0x1aa119(0x127)](PerformanceHookEvents[_0x1aa119(0x1e7)],![],_0xfda31a,_0x300b93);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x31d221(0x126)]),afterAll(async()=>{const _0x432e3b=a20_0x31d221,_0x59c0ca={'WRUnX':function(_0x3aa7b4,_0x1711ca){return _0x3aa7b4<=_0x1711ca;},'ryVSS':function(_0x302bbf,_0xf3f57b){return _0x302bbf(_0xf3f57b);},'irEsJ':function(_0x1ad998){return _0x1ad998();},'XVziR':function(_0x4f18cb,_0x2584c6,_0x5603c4){return _0x4f18cb(_0x2584c6,_0x5603c4);},'EfPcC':_0x432e3b(0x126),'WHEIg':_0x432e3b(0x179),'TdPgZ':'puppeteer','OCzyB':'puppeteer-core','cxgyY':function(_0x2b2102,_0x2da65a){return _0x2b2102(_0x2da65a);},'LwiAX':_0x432e3b(0x168),'AjZvz':_0x432e3b(0xfb),'IMvud':_0x432e3b(0x19a),'VSUkE':function(_0x74fcdb,_0x1767b6){return _0x74fcdb||_0x1767b6;},'gtGlJ':_0x432e3b(0x102),'lRQPQ':_0x432e3b(0x164),'yAfWD':function(_0x381ba7,_0x1aaa85){return _0x381ba7===_0x1aaa85;},'SoOiS':_0x432e3b(0xd8),'bEtkD':_0x432e3b(0xc8),'WJobL':_0x432e3b(0x11d),'wntfD':_0x432e3b(0x138),'SKuIS':'afterAll'};PerformanceTester[_0x432e3b(0x178)](PerformanceHookEvents[_0x432e3b(0x1e7)]),jest[_0x432e3b(0x11c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59c0ca['EfPcC']]),PerformanceTester[_0x432e3b(0x1a0)]();const _0x368be4='browserstack internal helper hook';let _0x3f5b78=![];try{const _0x65695b=helper[_0x432e3b(0xc7)](_0x59c0ca[_0x432e3b(0x18d)]),_0x1eae24=helper[_0x432e3b(0xc7)](_0x59c0ca['TdPgZ'])||helper[_0x432e3b(0xc7)](_0x59c0ca[_0x432e3b(0x123)]),_0xd1b2dd=_0x65695b?_0x59c0ca[_0x432e3b(0xfa)](require,_0x59c0ca[_0x432e3b(0x166)]):_0x1eae24?_0x59c0ca[_0x432e3b(0xfa)](require,_0x59c0ca['AjZvz']):null;if(!_0xd1b2dd)throw new Error(_0x59c0ca['IMvud']);const _0x44da72=global[_0x432e3b(0x1d5)]?.[_0x432e3b(0x193)],_0x74af79=_0xd1b2dd[_0x432e3b(0x1f3)](),_0x45c8ad=_0x59c0ca[_0x432e3b(0x1f2)](_0x44da72,_0x74af79);if(_0x45c8ad){_0x3f5b78=!![];try{await _0xd1b2dd[_0x432e3b(0x1f6)](),logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x1da)]);}catch(_0x10a20c){logger[_0x432e3b(0x180)](_0x432e3b(0x1e1)+util[_0x432e3b(0x148)](_0x10a20c));try{const _0x32c0ee=_0xd1b2dd[_0x432e3b(0x1f3)]();_0x32c0ee&&(logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x198)]),_0x59c0ca[_0x432e3b(0x1b6)](typeof _0x32c0ee[_0x432e3b(0x1f1)],_0x59c0ca['SoOiS'])&&(await _0x32c0ee['close'](),logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x157)])));}catch(_0x290c2e){logger[_0x432e3b(0x180)](_0x432e3b(0x165)+util[_0x432e3b(0x148)](_0x290c2e));}}try{if(global[_0x432e3b(0x1d5)]){global[_0x432e3b(0x1d5)][_0x432e3b(0x193)]=null,global[_0x432e3b(0x1d5)][_0x432e3b(0xce)]=![];const _0x266fa3={};_0x266fa3['id']=undefined,_0x266fa3[_0x432e3b(0x1f4)]=undefined,global[_0x432e3b(0x1d5)][_0x432e3b(0x14b)]=_0x266fa3;}_0xd1b2dd[_0x432e3b(0xcf)]&&_0xd1b2dd[_0x432e3b(0xcf)][_0x432e3b(0x162)]&&(_0xd1b2dd[_0x432e3b(0xcf)][_0x432e3b(0x162)](),logger[_0x432e3b(0x180)](_0x59c0ca[_0x432e3b(0x120)])),logger['debug'](_0x59c0ca[_0x432e3b(0x112)]);}catch(_0x5d630c){logger[_0x432e3b(0x180)](_0x432e3b(0x125)+util[_0x432e3b(0x148)](_0x5d630c));}__error_messages__=[];}}catch(_0x43ebdf){logger[_0x432e3b(0x180)]('Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20'+util['format'](_0x43ebdf));try{const _0x29c444=helper['getPackageVersion'](_0x59c0ca[_0x432e3b(0x18d)]),_0x3d5ef3=helper[_0x432e3b(0xc7)](_0x59c0ca[_0x432e3b(0x181)])||helper['getPackageVersion'](_0x59c0ca['OCzyB']),_0x955cd0=_0x29c444?_0x59c0ca[_0x432e3b(0xe7)](require,_0x59c0ca[_0x432e3b(0x166)]):_0x3d5ef3?_0x59c0ca[_0x432e3b(0xfa)](require,_0x59c0ca[_0x432e3b(0x10f)]):null;_0x955cd0&&await _0x955cd0[_0x432e3b(0x1f6)]();}catch(_0x2e62a0){logger[_0x432e3b(0x180)](_0x432e3b(0x17b)+util[_0x432e3b(0x148)](_0x2e62a0));}}await new Promise(_0x5be822=>{const _0x4ce528=_0x432e3b,_0x2866cc={'fHpsz':function(_0x2f47e4,_0x2a89f8){return _0x59c0ca['WRUnX'](_0x2f47e4,_0x2a89f8);},'zzDas':function(_0x5829b3,_0x54dc31){const _0x91fb6=a20_0xf23f;return _0x59c0ca[_0x91fb6(0xe7)](_0x5829b3,_0x54dc31);},'BAcaJ':function(_0x4f3e9e){const _0x31de27=a20_0xf23f;return _0x59c0ca[_0x31de27(0x1f0)](_0x4f3e9e);}},_0x56669d=_0x59c0ca[_0x4ce528(0x1b5)](setInterval,async()=>{const _0x500b1a=_0x4ce528;_0x2866cc[_0x500b1a(0x159)](RequestQueueHandler['getInstance']()[_0x500b1a(0x1a2)],0x0)&&(_0x2866cc['zzDas'](clearInterval,_0x56669d),_0x2866cc[_0x500b1a(0x144)](_0x5be822));},0x3e8);});try{!_0x3f5b78&&await _0x59c0ca[_0x432e3b(0x1f0)](driverCleanup);}catch(_0xce2c55){logger['debug'](_0x432e3b(0x192)+_0xce2c55);const _0x279cba={};_0x279cba[_0x432e3b(0xc6)]=_0x59c0ca[_0x432e3b(0x131)],PerformanceTester['end'](PerformanceHookEvents[_0x432e3b(0x1e7)],![],_0xce2c55,_0x279cba);}process[_0x432e3b(0x1df)]();const _0x22652a={};_0x22652a[_0x432e3b(0xc6)]=_0x59c0ca['SKuIS'],PerformanceTester[_0x432e3b(0x127)](PerformanceHookEvents[_0x432e3b(0x1e7)],!![],null,_0x22652a);},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x31d221(0x126)]);
1
+ const a20_0x27da91=a20_0x4dbb;(function(_0x5eac00,_0x5317a3){const _0x9b77bd=a20_0x4dbb,_0x48a3a1=_0x5eac00();while(!![]){try{const _0x7c7582=-parseInt(_0x9b77bd(0x162))/0x1*(parseInt(_0x9b77bd(0xee))/0x2)+-parseInt(_0x9b77bd(0x17a))/0x3+-parseInt(_0x9b77bd(0x147))/0x4*(-parseInt(_0x9b77bd(0x11d))/0x5)+parseInt(_0x9b77bd(0x120))/0x6+-parseInt(_0x9b77bd(0x151))/0x7+parseInt(_0x9b77bd(0x1c7))/0x8+-parseInt(_0x9b77bd(0x1b3))/0x9;if(_0x7c7582===_0x5317a3)break;else _0x48a3a1['push'](_0x48a3a1['shift']());}catch(_0x156454){_0x48a3a1['push'](_0x48a3a1['shift']());}}}(a20_0x4d1c,0x441d0));const util=require('util'),helper=require(a20_0x27da91(0xea)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a20_0x27da91(0x152)),{sendPlatformDetails}=require(a20_0x27da91(0x14e)),{isBrowserstackInfra,markSessionStatus}=require(a20_0x27da91(0xea));let __error_messages__=[];const RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler');jest[a20_0x27da91(0xde)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a20_0x27da91(0xcb)),{percyAutoCapture}=require(a20_0x27da91(0x196)),logger=require(a20_0x27da91(0x183))[a20_0x27da91(0x155)],TestDetails=require(a20_0x27da91(0x143)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),scripts=require(a20_0x27da91(0x131)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require(a20_0x27da91(0x10f)),testHubConstants=require(a20_0x27da91(0xe9)),{v4:uuidv4}=require('uuid'),BrowserstackCLI=require(a20_0x27da91(0x1c5)),AutomationFrameworkState=require('../v2/state/automationFrameworkState'),HookState=require(a20_0x27da91(0x1bc)),{FRAMEWORKS}=require(a20_0x27da91(0x1df));function a20_0x4dbb(_0x252ee8,_0x34f46d){const _0x4d1cb9=a20_0x4d1c();return a20_0x4dbb=function(_0x4dbba8,_0x27de27){_0x4dbba8=_0x4dbba8-0xc2;let _0x3b5ab2=_0x4d1cb9[_0x4dbba8];return _0x3b5ab2;},a20_0x4dbb(_0x252ee8,_0x34f46d);}globals['browserStackGlobals']=browserStackGlobals;if(typeof global['TransformStream']===a20_0x27da91(0x15e))try{const {TransformStream}=require(a20_0x27da91(0xc3));global[a20_0x27da91(0x1e1)]=TransformStream;}catch(a20_0x4b0d44){logger[a20_0x27da91(0x17c)](a20_0x27da91(0xd0)+a20_0x4b0d44['message']);}function stripUnicode(_0xacb6d){const _0x3f7489=a20_0x27da91;return _0xacb6d[_0x3f7489(0x1a9)](/\\u001b\[.*?m/g,'')[_0x3f7489(0x163)](0x1,-0x1);}async function setContext(){const _0x3e64f5=a20_0x27da91,_0x3f9f01={'inMuz':function(_0x585d69){return _0x585d69();},'DhYKA':'browserstackTestName','iwOAM':function(_0x1da44b,_0x5e49f6){return _0x1da44b!==_0x5e49f6;},'mPrxk':_0x3e64f5(0x15e),'tuLlf':function(_0xf5b0c5,_0x23c7a5){return _0xf5b0c5>_0x23c7a5;},'WkaXT':function(_0x6eb91e,_0x44abe2){return _0x6eb91e(_0x44abe2);},'qXTvK':function(_0x2a3533,_0x32111b){return _0x2a3533>_0x32111b;}};if(!_0x3f9f01['inMuz'](isBrowserstackInfra))return;const _0x15f85=expect['getState']()[_0x3e64f5(0xe6)];globals['setGlobal'](_0x3f9f01[_0x3e64f5(0xf6)],_0x15f85);!sessionNameProvided&&await PerformanceTester[_0x3e64f5(0x13c)](PerformanceAutEvents[_0x3e64f5(0x17b)],async()=>{const _0x289cd9=_0x3e64f5;await __drivers[0x0][_0x289cd9(0x1ce)](_0x289cd9(0xf3)+_0x15f85+_0x289cd9(0xeb));})();let _0xe04885=null,_0x15607a=![];_0x3f9f01['iwOAM'](typeof jasmine,_0x3f9f01[_0x3e64f5(0x182)])?jasmine[_0x3e64f5(0xe1)][_0x3e64f5(0x145)]&&_0x3f9f01[_0x3e64f5(0x18a)](jasmine['currentTest'][_0x3e64f5(0x145)]['length'],0x0)?(_0x15607a=!![],_0xe04885=_0x3f9f01[_0x3e64f5(0xc8)](stripUnicode,JSON[_0x3e64f5(0x178)](jasmine[_0x3e64f5(0xe1)][_0x3e64f5(0x145)][0x0][_0x3e64f5(0x189)]))):_0xe04885=_0x3f9f01[_0x3e64f5(0xc8)](stripUnicode,JSON['stringify'](jasmine[_0x3e64f5(0xe1)][_0x3e64f5(0x12f)])):testContext[_0x3e64f5(0x1b4)]&&_0x3f9f01[_0x3e64f5(0x124)](testContext[_0x3e64f5(0x1b4)]['length'],0x0)?(_0x15607a=!![],_0xe04885=_0x3f9f01[_0x3e64f5(0xc8)](stripUnicode,JSON[_0x3e64f5(0x178)](testContext['errors'][0x0][0x0][_0x3e64f5(0x189)]||testContext[_0x3e64f5(0x1b4)][0x0][0x0]))):_0xe04885=_0x3f9f01['WkaXT'](stripUnicode,JSON[_0x3e64f5(0x178)](testContext[_0x3e64f5(0x15f)])),_0x15607a?(__error_messages__[_0x3e64f5(0xef)](_0xe04885),await __drivers[0x0][_0x3e64f5(0x1ce)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0xe04885+'\x22,\x22level\x22:\x20\x22error\x22}}')):await __drivers[0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20'+_0xe04885+_0x3e64f5(0x105));}const executeAnnotate=async(_0x33f8d3,_0x5d8f39)=>{const _0x569271=a20_0x27da91;await global[_0x569271(0xd3)][0x0][_0x569271(0x1ce)](_0x569271(0xca)+_0x33f8d3+',\x22level\x22:\x20\x22'+_0x5d8f39+_0x569271(0xeb));};async function driverCleanup(){const _0x3a3843=a20_0x27da91,_0x36912b={'JKEGb':function(_0x1780ed){return _0x1780ed();},'Ogceu':_0x3a3843(0x130),'AeeHF':function(_0x46e311,_0x7df3e3){return _0x46e311>_0x7df3e3;},'JkJaC':function(_0x55a1e1,_0x382a00,_0x500bb3,_0x109dcb){return _0x55a1e1(_0x382a00,_0x500bb3,_0x109dcb);},'LORqB':_0x3a3843(0x1d9),'JotRT':_0x3a3843(0x169),'uxXTB':function(_0x2bbf10,_0x277902,_0x5a63a7){return _0x2bbf10(_0x277902,_0x5a63a7);},'iMIbt':'passed'};if(!_0x36912b[_0x3a3843(0xe7)](isBrowserstackInfra))return;let _0x5d887b=![];try{const _0x2352ea=_0x36912b['Ogceu'][_0x3a3843(0x10b)]('|');let _0x3cd613=0x0;while(!![]){switch(_0x2352ea[_0x3cd613++]){case'0':await __drivers[0x0][_0x3a3843(0xc2)];continue;case'1':_0x36912b['AeeHF'](__error_messages__[_0x3a3843(0xd7)],0x0)?await _0x36912b[_0x3a3843(0x1bb)](markSessionStatus,__drivers[0x0],_0x36912b['LORqB'],__error_messages__['join'](_0x36912b['JotRT'])):await _0x36912b['uxXTB'](markSessionStatus,__drivers[0x0],_0x36912b[_0x3a3843(0xc5)]);continue;case'2':PerformanceTester[_0x3a3843(0x123)](PerformanceAutEvents[_0x3a3843(0xf7)],!![]);continue;case'3':_0x5d887b=!![];continue;case'4':PerformanceTester['start'](PerformanceAutEvents[_0x3a3843(0xf7)]);continue;}break;}}catch(_0x5c0b82){console['log'](_0x5c0b82),PerformanceTester[_0x3a3843(0x123)](PerformanceAutEvents[_0x3a3843(0xf7)],![],_0x5c0b82);}__error_messages__=[];if(_0x5d887b)try{await __drivers[0x0][_0x3a3843(0x173)]();}catch(_0x4d4cde){console['log'](_0x4d4cde);}}beforeAll(async()=>{const _0x453e3c=a20_0x27da91,_0x2a51a9={'MOZkA':function(_0x29c3dd,_0x573f9f){return _0x29c3dd!==_0x573f9f;},'cnWvJ':_0x453e3c(0x15e),'LIXhy':function(_0x9aef3c,_0x2785ed){return _0x9aef3c>_0x2785ed;},'agvWY':_0x453e3c(0x192),'EBblh':function(_0x320afd){return _0x320afd();},'OYfGq':function(_0x2116f2,_0x3fae1e,_0x325244){return _0x2116f2(_0x3fae1e,_0x325244);}};__error_messages__=[],PerformanceTester[_0x453e3c(0x100)](),PerformanceTester[_0x453e3c(0xec)](PerformanceHookEvents[_0x453e3c(0x1a8)]);_0x2a51a9[_0x453e3c(0x101)](typeof __jestRetries,_0x2a51a9['cnWvJ'])&&_0x2a51a9[_0x453e3c(0x1d7)](__jestRetries,0x0)&&jest['retryTimes'](__jestRetries);const _0x44f9e4='browserstack internal helper hook';_0x2a51a9[_0x453e3c(0x101)](typeof jasmine,_0x2a51a9[_0x453e3c(0x12a)])&&jasmine[_0x453e3c(0x19b)]()['addReporter']({'specStarted':_0x1b2d4c=>{jasmine['currentTest']=_0x1b2d4c;}});let _0x3669cd=![];try{await __drivers[0x0][_0x453e3c(0xc2)],_0x3669cd=!![];}catch(_0x46bdc2){logger[_0x453e3c(0x17c)](_0x453e3c(0x140)+_0x46bdc2);const _0xc517eb={};_0xc517eb[_0x453e3c(0x16f)]=_0x2a51a9[_0x453e3c(0x12d)],PerformanceTester['end'](PerformanceHookEvents[_0x453e3c(0x1a8)],![],_0x46bdc2,_0xc517eb);}if(_0x3669cd)try{_0x2a51a9[_0x453e3c(0x168)](shouldProcessEventForTesthub)&&(__drivers[0x0]&&await _0x2a51a9[_0x453e3c(0x111)](sendPlatformDetails,__drivers[0x0],TestDetails[_0x453e3c(0x16d)](process[_0x453e3c(0x15c)]+':testAnalyticsId')));}catch(_0x4c2465){logger[_0x453e3c(0x17c)]('Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20'+_0x4c2465);const _0x4774f5={};_0x4774f5[_0x453e3c(0x16f)]=_0x2a51a9['agvWY'],PerformanceTester[_0x453e3c(0x123)](PerformanceHookEvents[_0x453e3c(0x1a8)],![],_0x4c2465,_0x4774f5);}const _0x315bd7={};_0x315bd7[_0x453e3c(0x16f)]=_0x2a51a9[_0x453e3c(0x12d)],PerformanceTester['end'](PerformanceHookEvents[_0x453e3c(0x1a8)],!![],null,_0x315bd7);}),beforeEach(async()=>{const _0x22f6b5=a20_0x27da91,_0x2f5d2d={'bjWpA':_0x22f6b5(0x133),'ljnqI':_0x22f6b5(0x1da),'uHmel':function(_0x3a19b5,_0x195b95,_0x38f24f){return _0x3a19b5(_0x195b95,_0x38f24f);},'YFCpg':'@playwright/test','raFTu':_0x22f6b5(0x197),'eaYVI':_0x22f6b5(0x19a),'KxUPe':function(_0x3aff24,_0x4d18cb){return _0x3aff24(_0x4d18cb);},'bgLVv':_0x22f6b5(0x164),'bDFIt':_0x22f6b5(0x11e),'fSwRI':function(_0x2408dd,_0x3bcbe4){return _0x2408dd(_0x3bcbe4);},'CZSSF':_0x22f6b5(0x1c8),'fKwKN':_0x22f6b5(0x18b),'mfcxX':_0x22f6b5(0x10e),'FIhZr':function(_0x60aad2,_0x26339b){return _0x60aad2>_0x26339b;},'nPFmB':function(_0x49f66a){return _0x49f66a();},'SwXpU':function(_0x48cd67,_0x443418){return _0x48cd67>_0x443418;},'zeGAF':function(_0x21ebae,_0x6cbcf8){return _0x21ebae>_0x6cbcf8;},'CrKDk':_0x22f6b5(0xc9),'kLWcm':_0x22f6b5(0x1a0),'VYVFc':function(_0x4ea7d0,_0x534975){return _0x4ea7d0>_0x534975;},'tPoPe':_0x22f6b5(0x1c1),'AvWsj':function(_0x303bfd,_0x8daf49){return _0x303bfd===_0x8daf49;},'incyO':'http:','wPlvM':_0x22f6b5(0x161),'eUyYu':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','zRgMJ':_0x22f6b5(0x1c5),'cNidE':_0x22f6b5(0x152),'cCeon':function(_0x20e842,_0x4a4692){return _0x20e842(_0x4a4692);},'ttyyg':_0x22f6b5(0x1b9),'XPZPY':_0x22f6b5(0x1bc),'ThSyE':function(_0x154de3,_0x6b3f87){return _0x154de3||_0x6b3f87;},'dVPDu':_0x22f6b5(0xd4),'pMpUx':function(_0x203929,_0x289630){return _0x203929||_0x289630;},'eUToG':_0x22f6b5(0xfa),'aRPnW':function(_0x5ef9f4,_0x24a32c){return _0x5ef9f4&&_0x24a32c;},'dSejO':_0x22f6b5(0x1ac),'sjCWo':function(_0x1a0694,_0x158266){return _0x1a0694===_0x158266;},'sGdHA':function(_0x5a4e10,_0x5ebfa8){return _0x5a4e10>_0x5ebfa8;}};logger[_0x22f6b5(0x17c)](_0x2f5d2d[_0x22f6b5(0x1c9)]),PerformanceTester['start'](PerformanceHookEvents[_0x22f6b5(0x1a8)]);const _0xb0e4ab='browserstack internal helper hook';let _0x3c7a72=!![],_0x357358=null;try{const _0x2a82b4=expect[_0x22f6b5(0x1ae)]()[_0x22f6b5(0xe6)];globals[_0x22f6b5(0x17e)](_0x2f5d2d[_0x22f6b5(0x136)],_0x2a82b4);const _0x5d5ef1=_0x2f5d2d[_0x22f6b5(0xd8)](shouldScanTestForAccessibility,_0x2a82b4,![]),_0x1d558c=helper['getPackageVersion'](_0x2f5d2d[_0x22f6b5(0x11f)]),_0x521c8d=helper[_0x22f6b5(0x16b)](_0x2f5d2d[_0x22f6b5(0x15a)])||helper[_0x22f6b5(0x16b)](_0x2f5d2d[_0x22f6b5(0x1d2)]);if(!!_0x1d558c)try{_0x357358=_0x2f5d2d['KxUPe'](require,_0x2f5d2d[_0x22f6b5(0x158)]),logger[_0x22f6b5(0x17c)](_0x2f5d2d[_0x22f6b5(0x18f)]);}catch(_0x2ab459){logger[_0x22f6b5(0x17c)]('Error\x20loading\x20playwright-patcher:\x20'+util[_0x22f6b5(0x1d8)](_0x2ab459));}else{if(!!_0x521c8d)try{_0x357358=_0x2f5d2d['fSwRI'](require,_0x2f5d2d[_0x22f6b5(0x177)]),logger[_0x22f6b5(0x17c)](_0x2f5d2d['fKwKN']);}catch(_0x252334){logger[_0x22f6b5(0x17c)](_0x22f6b5(0x1de)+util[_0x22f6b5(0x1d8)](_0x252334));}}try{const _0x35451f=_0x2f5d2d[_0x22f6b5(0x1c3)][_0x22f6b5(0x10b)]('|');let _0x475f3e=0x0;while(!![]){switch(_0x35451f[_0x475f3e++]){case'0':!_0x357358&&_0x2f5d2d[_0x22f6b5(0x12b)](__drivers['length'],0x0)&&_0x2f5d2d[_0x22f6b5(0x12b)](__drivers[0x0][_0x22f6b5(0x132)],0x0)&&(_0x3c7a72=![],await _0x2f5d2d[_0x22f6b5(0x199)](driverCleanup));continue;case'1':global[_0x22f6b5(0x1a4)]=_0x2a82b4;continue;case'2':!_0x357358&&_0x2f5d2d['SwXpU'](__drivers['length'],0x1)&&(await _0x2f5d2d[_0x22f6b5(0x199)](driverCleanup),__drivers['shift']());continue;case'3':_0x357358&&_0x2f5d2d[_0x22f6b5(0x148)](__drivers[_0x22f6b5(0xd7)],0x0)&&(__drivers[0x0]['browserstackSessionName']=_0x2a82b4,__drivers[0x0][_0x22f6b5(0x1a0)]=_0x5d5ef1);continue;case'4':Array[_0x22f6b5(0xd5)](__drivers)&&__drivers[0x0]&&(__drivers[0x0]['browserstackSessionName']=_0x2a82b4);continue;}break;}}catch(_0x2c6b7d){logger['debug'](_0x22f6b5(0x1bf)+_0x2c6b7d);const _0x4c67e6={};_0x4c67e6[_0x22f6b5(0x16f)]=_0x2f5d2d[_0x22f6b5(0xdf)],PerformanceTester[_0x22f6b5(0x123)](PerformanceHookEvents[_0x22f6b5(0x1a8)],![],_0x2c6b7d,_0x4c67e6);}globals[_0x22f6b5(0x17e)](_0x2f5d2d['kLWcm'],_0x5d5ef1);if(global[_0x22f6b5(0x11b)]){const _0x126b22=expect[_0x22f6b5(0x1ae)]()['testPath'],_0x2d703f=global['__jestCurrentTestIdentifier'],_0x7b9d08=expect['getState']()[_0x22f6b5(0xe6)]||_0x2a82b4,_0x419b62={};_0x419b62['id']=_0x2d703f,_0x419b62[_0x22f6b5(0x103)]=_0x2d703f,_0x419b62[_0x22f6b5(0x154)]={},_0x419b62[_0x22f6b5(0x154)]['title']=_0x2a82b4,_0x419b62[_0x22f6b5(0x154)][_0x22f6b5(0x1b7)]=_0x7b9d08,_0x419b62[_0x22f6b5(0x154)][_0x22f6b5(0x1ab)]=_0x2a82b4,_0x419b62[_0x22f6b5(0x154)][_0x22f6b5(0x15f)]=_0x7b9d08,_0x419b62[_0x22f6b5(0x154)]['testPath']=_0x126b22,_0x419b62[_0x22f6b5(0x154)][_0x22f6b5(0xfb)]=_0x2d703f,global[_0x22f6b5(0x11b)]['currentTest']=_0x419b62,logger[_0x22f6b5(0x17c)]('[Jest\x20Setup]\x20beforeEach:\x20testIdentifier='+_0x2d703f+_0x22f6b5(0x19f)+_0x2a82b4+_0x22f6b5(0xc4)+_0x126b22);}if(!_0x357358&&_0x2f5d2d[_0x22f6b5(0x199)](isAccessibilityAutomationSession)&&_0x3c7a72&&Array['isArray'](__drivers)&&_0x2f5d2d[_0x22f6b5(0xe4)](__drivers[_0x22f6b5(0xd7)],0x0)&&globals[_0x22f6b5(0x128)](_0x2f5d2d['tPoPe']))try{const _0x23d6b8=await __drivers[0x0][_0x22f6b5(0xc2)];if(_0x23d6b8){let _0x5eb0a2=!![];const _0x42b8a1=await __drivers[0x0][_0x22f6b5(0x117)]();let _0x3a5b45;try{_0x3a5b45=new URL(_0x42b8a1);}catch(_0x38917c){_0x5eb0a2=![];}_0x5eb0a2=_0x2f5d2d['AvWsj'](_0x3a5b45[_0x22f6b5(0x1c6)],_0x2f5d2d[_0x22f6b5(0xc6)])||_0x2f5d2d['AvWsj'](_0x3a5b45['protocol'],_0x2f5d2d[_0x22f6b5(0x157)]),_0x5eb0a2&&(_0x5d5ef1&&logger[_0x22f6b5(0x1d6)](_0x2f5d2d[_0x22f6b5(0x153)]));}}catch(_0x4ad589){logger[_0x22f6b5(0x150)](_0x22f6b5(0x1aa)+_0x4ad589);const _0x586519={};_0x586519[_0x22f6b5(0x16f)]=_0x2f5d2d['CrKDk'],PerformanceTester[_0x22f6b5(0x123)](PerformanceHookEvents['SDK_HOOK'],![],er,_0x586519);}if(_0x357358&&global[_0x22f6b5(0x11b)]&&global[_0x22f6b5(0x11b)][_0x22f6b5(0xe1)])try{await _0x357358[_0x22f6b5(0x11a)](global[_0x22f6b5(0x11b)]['currentTest'][_0x22f6b5(0x154)]);}catch(_0x376ecd){logger[_0x22f6b5(0x17c)](_0x22f6b5(0x166)+util[_0x22f6b5(0x1d8)](_0x376ecd));}if(_0x357358&&global[_0x22f6b5(0x11b)]&&global[_0x22f6b5(0x11b)]['currentTest'])try{const _0x348169=_0x2f5d2d[_0x22f6b5(0x1b0)](require,_0x2f5d2d[_0x22f6b5(0xd1)]),{FRAMEWORKS:_0x44c286}=_0x2f5d2d[_0x22f6b5(0x1b0)](require,_0x2f5d2d[_0x22f6b5(0x10a)]),_0x1b4ef2=_0x2f5d2d[_0x22f6b5(0x159)](require,_0x2f5d2d[_0x22f6b5(0x14d)]),_0xfd6c62=_0x2f5d2d[_0x22f6b5(0x159)](require,_0x2f5d2d['XPZPY']);if(_0x348169['getInstance']()[_0x22f6b5(0x1d3)]()&&_0x348169['getInstance']()[_0x22f6b5(0x146)]()){const _0x36a6fa={'title':_0x2f5d2d['ThSyE'](_0x2a82b4,_0x2f5d2d[_0x22f6b5(0x106)]),'titlePath':[_0x2f5d2d['pMpUx'](_0x2a82b4,_0x2f5d2d[_0x22f6b5(0x106)])],'id':global[_0x22f6b5(0x11b)][_0x22f6b5(0xe1)]['id']||_0x2f5d2d[_0x22f6b5(0x1cb)],'testAnalyticsId':global[_0x22f6b5(0x11b)][_0x22f6b5(0xe1)][_0x22f6b5(0x103)],'testPath':global[_0x22f6b5(0x11b)][_0x22f6b5(0xe1)][_0x22f6b5(0x154)]?.[_0x22f6b5(0x1db)],...global[_0x22f6b5(0x11b)][_0x22f6b5(0xe1)][_0x22f6b5(0x154)]};global[_0x22f6b5(0x110)]=_0x36a6fa,logger['debug'](_0x22f6b5(0x16c)+_0x2a82b4);try{const _0x51391d=global[_0x22f6b5(0x11b)]?.['pwPage']||_0x357358[_0x22f6b5(0x14f)]();if(_0x51391d){const _0x5c2c7f=_0x2f5d2d[_0x22f6b5(0xf4)](!!_0x521c8d,!_0x1d558c);let _0x2d909e=null,_0x13dee5=null;try{_0x5c2c7f?(_0x2d909e=_0x2f5d2d[_0x22f6b5(0x1e2)](typeof _0x51391d[_0x22f6b5(0x1ba)],_0x2f5d2d[_0x22f6b5(0x1d4)])?_0x51391d[_0x22f6b5(0x1ba)]():null,_0x13dee5=_0x2f5d2d[_0x22f6b5(0x1e2)](typeof _0x51391d[_0x22f6b5(0x160)],_0x2f5d2d[_0x22f6b5(0x1d4)])?_0x51391d[_0x22f6b5(0x160)]():null):(_0x2d909e=_0x2f5d2d[_0x22f6b5(0x1e2)](typeof _0x51391d[_0x22f6b5(0xe0)],_0x2f5d2d[_0x22f6b5(0x1d4)])?_0x51391d['context']():null,_0x13dee5=_0x2d909e&&_0x2f5d2d[_0x22f6b5(0x1a1)](typeof _0x2d909e['browser'],_0x2f5d2d[_0x22f6b5(0x1d4)])?_0x2d909e[_0x22f6b5(0x160)]():null);}catch(_0x8ae7dc){logger[_0x22f6b5(0x17c)]('Error\x20getting\x20page\x20context/browser:\x20'+_0x8ae7dc[_0x22f6b5(0x189)]);}const _0x17d330={};_0x17d330[_0x22f6b5(0x119)]=_0x51391d,_0x17d330[_0x22f6b5(0xe0)]=_0x2d909e,_0x17d330['browser']=_0x13dee5,_0x17d330[_0x22f6b5(0x154)]=_0x36a6fa,_0x17d330[_0x22f6b5(0x116)]=_0x44c286[_0x22f6b5(0xce)],_0x17d330[_0x22f6b5(0x1af)]=global[_0x22f6b5(0x1ca)],_0x17d330[_0x22f6b5(0x138)]=global[_0x22f6b5(0x1be)],await _0x348169[_0x22f6b5(0x13d)]()[_0x22f6b5(0x125)]()['trackEvent'](_0x1b4ef2['CREATE'],_0xfd6c62[_0x22f6b5(0x135)],_0x17d330),logger['debug']('[Jest\x20Setup]\x20Triggered\x20CREATE\x20POST\x20event\x20for\x20test:\x20'+_0x2a82b4+_0x22f6b5(0x114)+(_0x36a6fa[_0x22f6b5(0x103)]||_0x36a6fa['id']));}else logger[_0x22f6b5(0x17c)](_0x22f6b5(0xcd)+_0x2a82b4+_0x22f6b5(0x170));}catch(_0x59f483){logger['debug'](_0x22f6b5(0x12c)+util['format'](_0x59f483));}}}catch(_0x3f02a1){logger[_0x22f6b5(0x17c)](_0x22f6b5(0x12e)+util[_0x22f6b5(0x1d8)](_0x3f02a1));}!_0x357358&&_0x2f5d2d[_0x22f6b5(0x12b)](__drivers[_0x22f6b5(0xd7)],0x0)&&_0x2f5d2d[_0x22f6b5(0xf9)](__drivers[0x0]['quitCount_'],0x0)&&await _0x2f5d2d[_0x22f6b5(0x199)](driverCleanup);}catch(_0x166347){logger[_0x22f6b5(0x17c)](_0x22f6b5(0x179)+_0x166347);const _0x1f0f09={};_0x1f0f09[_0x22f6b5(0x16f)]=_0x2f5d2d[_0x22f6b5(0xdf)],PerformanceTester['end'](PerformanceHookEvents[_0x22f6b5(0x1a8)],![],_0x166347,_0x1f0f09);}const _0x49aa7f={};_0x49aa7f[_0x22f6b5(0x16f)]=_0x2f5d2d[_0x22f6b5(0xdf)],PerformanceTester[_0x22f6b5(0x123)](PerformanceHookEvents[_0x22f6b5(0x1a8)],!![],null,_0x49aa7f);}),afterEach(async()=>{const _0x1d6279=a20_0x27da91,_0x58626d={'TCqdx':_0x1d6279(0x1a5),'BrBdo':function(_0x90cb8e,_0xfe2b2c){return _0x90cb8e>_0xfe2b2c;},'hBell':_0x1d6279(0x115),'FldTN':_0x1d6279(0x197),'sJiUl':'puppeteer-core','OCZrN':function(_0x1174d8,_0x14bfee){return _0x1174d8(_0x14bfee);},'tyOUp':_0x1d6279(0x164),'CWrYD':function(_0x54d26e,_0x354b51){return _0x54d26e(_0x354b51);},'zKGcJ':_0x1d6279(0x1c8),'LegNy':_0x1d6279(0x1d1),'lOSQK':_0x1d6279(0x185),'SPYNJ':function(_0x348882,_0x42680c){return _0x348882!==_0x42680c;},'dhoPt':_0x1d6279(0x15e),'gugwY':function(_0x262c3c,_0xd19a6d){return _0x262c3c>_0xd19a6d;},'brqAB':_0x1d6279(0x1d9),'dAEbg':_0x1d6279(0xf5),'iUBMH':function(_0x21b647,_0x12be78){return _0x21b647&&_0x12be78;},'qovNU':'Unknown\x20Test','pqoXw':_0x1d6279(0xfa),'YWJOu':_0x1d6279(0xed),'gYSfB':_0x1d6279(0x1b5),'tefKy':_0x1d6279(0xfc),'ZKCFY':_0x1d6279(0x1a2),'XuIbr':function(_0x11ebaf){return _0x11ebaf();},'ZVjKP':function(_0x5a31c4,_0x4faf79){return _0x5a31c4===_0x4faf79;},'rBWmd':_0x1d6279(0x156),'AccbM':_0x1d6279(0x13a),'AOvMp':function(_0x4e9f69,_0x44e4bb,_0x33ce4c,_0x57a4b7){return _0x4e9f69(_0x44e4bb,_0x33ce4c,_0x57a4b7);},'ksffb':_0x1d6279(0xdd),'cJtnl':function(_0x33837b,_0x12e4d1,_0x4f30c9){return _0x33837b(_0x12e4d1,_0x4f30c9);},'nsvuT':_0x1d6279(0x1c1),'KnSek':_0x1d6279(0x1a0),'ADAyc':_0x1d6279(0xf2),'cvSqN':_0x1d6279(0x102),'NKbxD':'afterTest','oAOYe':_0x1d6279(0x174),'NEpSq':_0x1d6279(0x17c),'PLWBz':function(_0x1a7e2e,_0x5bff88){return _0x1a7e2e>_0x5bff88;},'EFLUh':function(_0x49c4c4){return _0x49c4c4();}};logger[_0x1d6279(0x17c)](_0x58626d[_0x1d6279(0x1cc)]),PerformanceTester[_0x1d6279(0xec)](PerformanceHookEvents[_0x1d6279(0x1a8)]);const _0x482841='browserstack internal helper hook';let _0x4e2509=![],_0x18970d=![],_0x3df451=null;try{global[_0x1d6279(0xd3)]&&_0x58626d[_0x1d6279(0x113)](global[_0x1d6279(0xd3)]['length'],0x0)&&(_0x4e2509=!![]);if(global[_0x1d6279(0x11b)]&&global['__workerDetails'][_0x1d6279(0x139)]){const _0x50f3c0=helper[_0x1d6279(0x16b)](_0x58626d['hBell']),_0x3bf84e=helper[_0x1d6279(0x16b)](_0x58626d[_0x1d6279(0x16a)])||helper[_0x1d6279(0x16b)](_0x58626d[_0x1d6279(0x175)]);try{if(_0x50f3c0)_0x3df451=_0x58626d[_0x1d6279(0x104)](require,_0x58626d[_0x1d6279(0xe5)]);else _0x3bf84e&&(_0x3df451=_0x58626d[_0x1d6279(0x134)](require,_0x58626d[_0x1d6279(0x121)]));_0x18970d=!![],logger[_0x1d6279(0x17c)]((_0x50f3c0?_0x58626d[_0x1d6279(0x1d5)]:_0x58626d[_0x1d6279(0x1dd)])+'\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global['__workerDetails']['pwPage']);}catch(_0xb0340){logger['debug'](_0x1d6279(0xd2)+util['format'](_0xb0340));}}}catch(_0x209fc3){logger[_0x1d6279(0x17c)]('Error\x20determining\x20test\x20flow:\x20'+_0x209fc3);}logger['debug'](_0x1d6279(0x19d)+_0x4e2509+_0x1d6279(0x109)+_0x18970d);if(_0x18970d){const _0x40a253=_0x3df451[_0x1d6279(0x14f)]();try{let _0x5bbf47=null,_0x2294f9=![];if(_0x58626d[_0x1d6279(0x1a6)](typeof jasmine,_0x58626d['dhoPt']))jasmine[_0x1d6279(0xe1)][_0x1d6279(0x145)]&&_0x58626d[_0x1d6279(0x141)](jasmine['currentTest'][_0x1d6279(0x145)]['length'],0x0)?(_0x2294f9=!![],_0x5bbf47=_0x58626d[_0x1d6279(0x104)](stripUnicode,JSON[_0x1d6279(0x178)](jasmine[_0x1d6279(0xe1)][_0x1d6279(0x145)][0x0][_0x1d6279(0x189)]))):_0x5bbf47=_0x58626d[_0x1d6279(0x104)](stripUnicode,JSON[_0x1d6279(0x178)](jasmine[_0x1d6279(0xe1)]['description']));else{logger[_0x1d6279(0x17c)](_0x1d6279(0xe8)+util[_0x1d6279(0x108)](testContext));const _0x5b27e1=global[_0x1d6279(0x17f)]||testContext,_0xf1c2e=_0x5b27e1&&_0x5b27e1['errors']?_0x5b27e1['errors']:[];if(_0x58626d[_0x1d6279(0x141)](_0xf1c2e[_0x1d6279(0xd7)],0x0)){_0x2294f9=!![];const _0x160bb7=Array[_0x1d6279(0xd5)](_0xf1c2e[0x0])?_0xf1c2e[0x0][0x0]:_0xf1c2e[0x0];_0x5bbf47=_0x58626d[_0x1d6279(0x104)](stripUnicode,JSON[_0x1d6279(0x178)](_0x160bb7['message']||_0x160bb7));}else _0x5bbf47=_0x58626d[_0x1d6279(0x134)](stripUnicode,JSON[_0x1d6279(0x178)](_0x5b27e1?_0x5b27e1[_0x1d6279(0x15f)]:testContext[_0x1d6279(0x15f)]));}const _0x58bc7b=_0x2294f9?_0x58626d['brqAB']:_0x58626d[_0x1d6279(0x194)];_0x58626d[_0x1d6279(0x172)](_0x2294f9,_0x5bbf47)&&!__error_messages__['includes'](_0x5bbf47)&&__error_messages__[_0x1d6279(0xef)](_0x5bbf47);const _0x49cafa={'title':global[_0x1d6279(0x11b)]?.['currentTest']?.[_0x1d6279(0x154)]?.[_0x1d6279(0x107)]||_0x58626d[_0x1d6279(0x144)],'titlePath':[global[_0x1d6279(0x11b)]?.['currentTest']?.[_0x1d6279(0x154)]?.['title']||_0x58626d[_0x1d6279(0x144)]],'id':global[_0x1d6279(0x11b)]?.[_0x1d6279(0xe1)]?.['id']||_0x58626d['pqoXw'],'status':_0x58bc7b,'error':_0x5bbf47?{'message':_0x5bbf47}:null,'testAnalyticsId':global[_0x1d6279(0x11b)]?.[_0x1d6279(0xe1)]?.['testAnalyticsId'],'testPath':global['__workerDetails']?.['currentTest']?.[_0x1d6279(0x154)]?.[_0x1d6279(0x1db)],...global[_0x1d6279(0x11b)]['currentTest'][_0x1d6279(0x154)]},_0x518bf6=_0x49cafa;try{if(BrowserstackCLI[_0x1d6279(0x13d)]()[_0x1d6279(0x1d3)]()&&BrowserstackCLI['getInstance']()[_0x1d6279(0x146)]()){const _0x407263={};_0x407263['testInfo']=_0x518bf6,_0x407263[_0x1d6279(0x119)]=_0x40a253,_0x407263[_0x1d6279(0x116)]=FRAMEWORKS[_0x1d6279(0xce)],await BrowserstackCLI[_0x1d6279(0x13d)]()[_0x1d6279(0x125)]()[_0x1d6279(0x15b)](AutomationFrameworkState['QUIT'],HookState[_0x1d6279(0x137)],_0x407263),logger['debug'](_0x1d6279(0x19e)+_0x518bf6[_0x1d6279(0x107)]);}}catch(_0x2db5f2){logger[_0x1d6279(0x17c)]('Error\x20triggering\x20QUIT\x20PRE\x20event:\x20'+util[_0x1d6279(0x1d8)](_0x2db5f2));}global[_0x1d6279(0x11b)]&&global[_0x1d6279(0x11b)]['currentTest']&&global[_0x1d6279(0x11b)]['currentTest'][_0x1d6279(0x154)]?await _0x3df451[_0x1d6279(0xf1)](global[_0x1d6279(0x11b)]['currentTest'][_0x1d6279(0x154)],_0x58bc7b,_0x2294f9?_0x5bbf47:null):logger[_0x1d6279(0x17c)](_0x58626d['YWJOu']);try{await _0x3df451[_0x1d6279(0x180)](),logger['debug'](_0x58626d[_0x1d6279(0x195)]);}catch(_0xc236c8){logger['debug'](_0x1d6279(0x112)+util['format'](_0xc236c8));}try{_0x3df451[_0x1d6279(0x17d)][_0x1d6279(0x1cf)](),logger['debug'](_0x58626d[_0x1d6279(0x1c4)]);}catch(_0x285242){logger[_0x1d6279(0x17c)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util['format'](_0x285242));}}catch(_0x105a82){logger[_0x1d6279(0x17c)](_0x1d6279(0x188)+util['format'](_0x105a82));try{_0x3df451[_0x1d6279(0x180)]&&(await _0x3df451['executeDeferredCloses'](),logger[_0x1d6279(0x17c)](_0x58626d[_0x1d6279(0x1d0)]));}catch(_0x28e487){logger[_0x1d6279(0x17c)](_0x1d6279(0x1cd)+util['format'](_0x28e487));}}}else try{!_0x18970d&&_0x58626d['gugwY'](__drivers[_0x1d6279(0xd7)],0x1)&&(await _0x58626d['XuIbr'](driverCleanup),__drivers[_0x1d6279(0x14a)]());try{if(global['percy']&&_0x58626d['ZVjKP'](global[_0x1d6279(0x1b2)],_0x58626d[_0x1d6279(0x14c)])&&__drivers[0x0]){const _0xcf9730=_0x58626d[_0x1d6279(0x141)](global[_0x1d6279(0x18d)][_0x1d6279(0xd7)],0x0)?!!global['capabilities'][0x0][_0x1d6279(0x1b8)]||!!global[_0x1d6279(0x18d)][0x0][_0x58626d[_0x1d6279(0x127)]]:![],_0x3de8c5={};_0x3de8c5['app']=_0xcf9730,await _0x58626d[_0x1d6279(0x142)](percyAutoCapture,__drivers[0x0],_0x58626d[_0x1d6279(0x14c)],_0x3de8c5);}}catch(_0x5ade05){logger[_0x1d6279(0x17c)](_0x1d6279(0xe2)+_0x5ade05);const _0xb46d92={};_0xb46d92[_0x1d6279(0x16f)]=_0x58626d[_0x1d6279(0x193)],PerformanceTester[_0x1d6279(0x123)](PerformanceHookEvents[_0x1d6279(0x1a8)],![],_0x5ade05,_0xb46d92);}const _0x21755f=_0x58626d[_0x1d6279(0xfd)](shouldScanTestForAccessibility,expect['getState']()[_0x1d6279(0xe6)],![]);try{if(_0x58626d[_0x1d6279(0x1a7)](isAccessibilityAutomationSession)&&globals[_0x1d6279(0x128)](_0x58626d[_0x1d6279(0x1b6)])&&globals['getGlobal'](_0x58626d[_0x1d6279(0x184)])){logger[_0x1d6279(0x1d6)](_0x58626d[_0x1d6279(0x11c)]);const _0xed6226={'thTestRunUuid':TestDetails['getTestUUID'](process[_0x1d6279(0x15c)]+_0x1d6279(0x16e)),'thBuildUuid':process[_0x1d6279(0x167)][testHubConstants[_0x1d6279(0xf0)][_0x1d6279(0x1b1)]],'thJwtToken':process[_0x1d6279(0x167)][testHubConstants[_0x1d6279(0xf0)][_0x1d6279(0x176)]]};logger['debug'](_0x1d6279(0x190)+JSON[_0x1d6279(0x178)](_0xed6226)),logger[_0x1d6279(0x17c)](_0x58626d[_0x1d6279(0xd6)]);const _0x43f635={};_0x43f635['command']=_0x58626d[_0x1d6279(0x13e)],await PerformanceTester[_0x1d6279(0x13c)](PerformanceA11yEvents[_0x1d6279(0x122)],async()=>{const _0x28e400=_0x1d6279;logger['debug'](util[_0x28e400(0x1d8)](await __drivers[0x0][_0x28e400(0x14b)](scripts[_0x28e400(0xdb)],{'method':expect['getState']()[_0x28e400(0xe6)]})));},_0x43f635)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x409a70=_0x1d6279;await __drivers[0x0]['executeAsyncScript'](scripts[_0x409a70(0xff)],_0xed6226);})(),logger[_0x1d6279(0x1d6)](_0x58626d['oAOYe']);}}catch(_0x5a5b8d){logger[_0x1d6279(0x150)](_0x1d6279(0x1bd)+expect['getState']()[_0x1d6279(0xe6)]+_0x1d6279(0xfe),_0x5a5b8d);}await _0x58626d[_0x1d6279(0x1a7)](setContext);try{if(_0x58626d[_0x1d6279(0x1a7)](shouldProcessEventForTesthub)){_0x58626d[_0x1d6279(0x141)](global['__drivers']['length'],0x0)&&global[_0x1d6279(0xd3)][0x0]&&await _0x58626d[_0x1d6279(0xfd)](sendPlatformDetails,global[_0x1d6279(0xd3)][0x0],TestDetails[_0x1d6279(0x16d)](process[_0x1d6279(0x15c)]+_0x1d6279(0x16e)));if(_0x58626d[_0x1d6279(0x1a7)](isBrowserstackInfra)){PerformanceTester[_0x1d6279(0xec)](PerformanceO11yEvents[_0x1d6279(0x149)]);const _0x1a5082=_0x1d6279(0x198)+Date['now']();await _0x58626d[_0x1d6279(0xfd)](executeAnnotate,JSON['stringify'](_0x1a5082),_0x58626d[_0x1d6279(0xf8)]),PerformanceTester[_0x1d6279(0x123)](PerformanceO11yEvents['SYNC']);}}}catch(_0x3446d8){logger[_0x1d6279(0x17c)](_0x1d6279(0x187)+_0x3446d8),PerformanceTester[_0x1d6279(0x123)](PerformanceO11yEvents[_0x1d6279(0x149)],![],_0x3446d8);}!_0x18970d&&_0x58626d[_0x1d6279(0x141)](__drivers['length'],0x0)&&_0x58626d[_0x1d6279(0x10d)](__drivers[0x0][_0x1d6279(0x132)],0x0)&&await _0x58626d[_0x1d6279(0xcc)](driverCleanup);const _0xf5474f={};_0xf5474f[_0x1d6279(0x16f)]=_0x58626d['ksffb'],PerformanceTester['end'](PerformanceHookEvents[_0x1d6279(0x1a8)],!![],null,_0xf5474f);}catch(_0x2af5e3){logger[_0x1d6279(0x17c)](_0x1d6279(0x140)+_0x2af5e3);const _0xbe250b={};_0xbe250b[_0x1d6279(0x16f)]=_0x58626d[_0x1d6279(0x193)],PerformanceTester['end'](PerformanceHookEvents[_0x1d6279(0x1a8)],![],_0x2af5e3,_0xbe250b);}},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x27da91(0x118)]),afterAll(async()=>{const _0x4a39a2=a20_0x27da91,_0x453e91={'FkvZz':function(_0x29a2ae,_0x1a81c7){return _0x29a2ae<=_0x1a81c7;},'dDQQc':function(_0x16580c,_0x43c9af){return _0x16580c(_0x43c9af);},'yGzWc':function(_0x578481){return _0x578481();},'BVgQV':function(_0x56b2d0,_0x2ecfad,_0x1101f9){return _0x56b2d0(_0x2ecfad,_0x1101f9);},'InrzZ':_0x4a39a2(0x118),'nQYRP':_0x4a39a2(0x115),'FSnqz':'puppeteer','gtuBJ':_0x4a39a2(0x19a),'MXJEZ':function(_0x3f06bb,_0x579ed4){return _0x3f06bb(_0x579ed4);},'svAQn':'../utils/playwright-patcher','LoKUR':_0x4a39a2(0x1c8),'xNHav':'No\x20patcher\x20available','CoRjC':function(_0x327a3a,_0x277493){return _0x327a3a||_0x277493;},'GlHjq':'Successfully\x20executed\x20deferred\x20Playwright\x20closes\x20(with\x20force\x20close)','Wcetj':'Attempting\x20direct\x20page\x20close\x20fallback\x20for\x20Android','POgfe':function(_0xa0cb82,_0x2e1874){return _0xa0cb82===_0x2e1874;},'pNzSD':_0x4a39a2(0x1ac),'HLmDj':_0x4a39a2(0x10c),'idiRD':_0x4a39a2(0x129),'AvOXl':_0x4a39a2(0x181),'GkYAN':function(_0x259629,_0x2b8867){return _0x259629(_0x2b8867);},'zxbFC':_0x4a39a2(0xcf)};PerformanceTester[_0x4a39a2(0xec)](PerformanceHookEvents[_0x4a39a2(0x1a8)]),jest[_0x4a39a2(0xde)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x453e91[_0x4a39a2(0x1a3)]]),PerformanceTester[_0x4a39a2(0x1dc)]();const _0x30e30f='browserstack internal helper hook';let _0x470971=![];try{const _0x5d70bf=helper['getPackageVersion'](_0x453e91[_0x4a39a2(0x13b)]),_0x483728=helper[_0x4a39a2(0x16b)](_0x453e91[_0x4a39a2(0xdc)])||helper[_0x4a39a2(0x16b)](_0x453e91['gtuBJ']),_0x3f6d3a=_0x5d70bf?_0x453e91[_0x4a39a2(0x18c)](require,_0x453e91['svAQn']):_0x483728?_0x453e91[_0x4a39a2(0x18c)](require,_0x453e91['LoKUR']):null;if(!_0x3f6d3a)throw new Error(_0x453e91['xNHav']);const _0x24312a=global[_0x4a39a2(0x11b)]?.[_0x4a39a2(0x139)],_0x1f75ed=_0x3f6d3a[_0x4a39a2(0x14f)](),_0x6c2fc=_0x453e91['CoRjC'](_0x24312a,_0x1f75ed);if(_0x6c2fc){_0x470971=!![];try{await _0x3f6d3a[_0x4a39a2(0x180)](),logger[_0x4a39a2(0x17c)](_0x453e91[_0x4a39a2(0xd9)]);}catch(_0x5a9da1){logger[_0x4a39a2(0x17c)](_0x4a39a2(0x112)+util[_0x4a39a2(0x1d8)](_0x5a9da1));try{const _0x503211=_0x3f6d3a[_0x4a39a2(0x14f)]();_0x503211&&(logger[_0x4a39a2(0x17c)](_0x453e91[_0x4a39a2(0x18e)]),_0x453e91[_0x4a39a2(0x1ad)](typeof _0x503211[_0x4a39a2(0x171)],_0x453e91[_0x4a39a2(0x191)])&&(await _0x503211[_0x4a39a2(0x171)](),logger[_0x4a39a2(0x17c)](_0x453e91['HLmDj'])));}catch(_0x37999a){logger['debug'](_0x4a39a2(0xc7)+util[_0x4a39a2(0x1d8)](_0x37999a));}}try{if(global[_0x4a39a2(0x11b)]){global[_0x4a39a2(0x11b)][_0x4a39a2(0x139)]=null,global[_0x4a39a2(0x11b)][_0x4a39a2(0x186)]=![];const _0xc687b1={};_0xc687b1['id']=undefined,_0xc687b1[_0x4a39a2(0x154)]=undefined,global['__workerDetails'][_0x4a39a2(0xe1)]=_0xc687b1;}_0x3f6d3a[_0x4a39a2(0x17d)]&&_0x3f6d3a[_0x4a39a2(0x17d)][_0x4a39a2(0x1cf)]&&(_0x3f6d3a[_0x4a39a2(0x17d)][_0x4a39a2(0x1cf)](),logger['debug'](_0x453e91['idiRD'])),logger['debug'](_0x453e91[_0x4a39a2(0x15d)]);}catch(_0x1fb205){logger[_0x4a39a2(0x17c)]('Error\x20cleaning\x20up\x20after\x20deferred\x20closes:\x20'+util[_0x4a39a2(0x1d8)](_0x1fb205));}__error_messages__=[];}}catch(_0x2597ab){logger[_0x4a39a2(0x17c)]('Error\x20handling\x20Playwright/Puppeteer\x20test\x20cleanup:\x20'+util[_0x4a39a2(0x1d8)](_0x2597ab));try{const _0x248617=helper[_0x4a39a2(0x16b)](_0x453e91[_0x4a39a2(0x13b)]),_0x3c5e1f=helper['getPackageVersion'](_0x453e91[_0x4a39a2(0xdc)])||helper[_0x4a39a2(0x16b)](_0x453e91[_0x4a39a2(0x165)]),_0x1cb71d=_0x248617?_0x453e91[_0x4a39a2(0xda)](require,_0x453e91['svAQn']):_0x3c5e1f?_0x453e91['GkYAN'](require,_0x453e91[_0x4a39a2(0x19c)]):null;_0x1cb71d&&await _0x1cb71d[_0x4a39a2(0x180)]();}catch(_0x16bc98){logger[_0x4a39a2(0x17c)](_0x4a39a2(0x1cd)+util['format'](_0x16bc98));}}await new Promise(_0x22b67b=>{const _0x1556d2=_0x4a39a2,_0x4f0fc3=_0x453e91[_0x1556d2(0x1c2)](setInterval,async()=>{const _0x147c27=_0x1556d2;_0x453e91[_0x147c27(0xe3)](RequestQueueHandler[_0x147c27(0x13d)]()[_0x147c27(0x1e0)],0x0)&&(_0x453e91[_0x147c27(0xda)](clearInterval,_0x4f0fc3),_0x453e91[_0x147c27(0x13f)](_0x22b67b));},0x3e8);});try{!_0x470971&&await _0x453e91[_0x4a39a2(0x13f)](driverCleanup);}catch(_0x424510){logger[_0x4a39a2(0x17c)](_0x4a39a2(0x126)+_0x424510);const _0x16a2a0={};_0x16a2a0[_0x4a39a2(0x16f)]=_0x453e91['zxbFC'],PerformanceTester[_0x4a39a2(0x123)](PerformanceHookEvents[_0x4a39a2(0x1a8)],![],_0x424510,_0x16a2a0);}process['removeAllListeners']();const _0x3d84c3={};_0x3d84c3[_0x4a39a2(0x16f)]=_0x453e91[_0x4a39a2(0x1c0)],PerformanceTester[_0x4a39a2(0x123)](PerformanceHookEvents[_0x4a39a2(0x1a8)],!![],null,_0x3d84c3);},TEST_FRAMEWORK_HOOK_TIMEOUT[a20_0x27da91(0x118)]);function a20_0x4d1c(){const _0x1a5760=['Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','getTestUUID',':testAnalyticsId','hookType',',\x20CREATE\x20POST\x20will\x20be\x20triggered\x20when\x20page\x20is\x20created','close','iUBMH','initQuit','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sJiUl','BROWSERSTACK_TESTHUB_JWT','CZSSF','stringify','Exception\x20in\x20jest\x20hook\x20with\x20error:\x20','521439UHnvhl','SESSION_NAME','debug','closeTracker','setGlobal','testContext','executeDeferredCloses','Cleaned\x20up\x20page\x20references\x20after\x20deferred\x20closes','mPrxk','../../helpers/logger','KnSek','Puppeteer','isPageFixture','Exception\x20in\x20jest\x20process\x20event\x20with\x20error:\x20','Error\x20in\x20pw-jest\x20afterEach:\x20','message','tuLlf','Puppeteer\x20flow\x20detected\x20in\x20beforeEach','MXJEZ','capabilities','Wcetj','bDFIt','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','pNzSD','beforeAll','ksffb','dAEbg','gYSfB','../../helpers/percy/utils','puppeteer','ObservabilitySync:','nPFmB','puppeteer-core','getEnv','LoKUR','Flow\x20detection:\x20isSeleniumFlow=','QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20',',\x20testName=','bstackA11yShouldScan','sjCWo','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','InrzZ','browserstackSessionName','inside\x20after\x20each\x20jest\x20hook','SPYNJ','XuIbr','SDK_HOOK','replace','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','displayName','function','POgfe','getState','launchCaps','fSwRI','BROWSERSTACK_TESTHUB_UUID','percyCaptureMode','4422762JjRMmM','errors','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','nsvuT','fullName','app','../v2/state/automationFrameworkState','browserContext','JkJaC','../v2/state/hookState','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','__platformCaps','Failed\x20to\x20store\x20session\x20name:\x20','zxbFC','isAccessibilityPlatform','BVgQV','mfcxX','tefKy','../v2/browserstackCLI','protocol','3911560kPwWBH','../utils/puppeteer-patcher','bjWpA','__launchCaps','eUToG','TCqdx','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','executeScript','cleanup','ZKCFY','Playwright','eaYVI','isCliEnabled','dSejO','LegNy','info','LIXhy','format','failed','browserstackTestName','testPath','stopMonitoring','lOSQK','Error\x20loading\x20puppeteer-patcher:\x20','../../helpers/test-observability/constants','pendingUploads','TransformStream','AvWsj','session_','stream/web',',\x20testPath=','iMIbt','incyO','Error\x20in\x20fallback\x20page\x20close:\x20','WkaXT','beforeEach','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/accessibility-automation/helper','EFLUh','No\x20page\x20available\x20yet\x20for\x20test:\x20','JEST','afterAll','TransformStream\x20polyfill\x20not\x20available:\x20','zRgMJ','Error\x20loading\x20patcher\x20in\x20afterEach:\x20','__drivers','Unknown\x20Test','isArray','cvSqN','length','uHmel','GlHjq','dDQQc','performScan','FSnqz','afterEach','setTimeout','CrKDk','context','currentTest','Exception\x20in\x20jest\x20percy\x20with\x20error:\x20','FkvZz','VYVFc','tyOUp','currentTestName','JKEGb','from\x20else\x20block\x20jest\x20test\x20failed\x20playwright\x20flow:\x20','../../helpers/testhub/constants','../../helpers/helper','\x22}}','start','Skipping\x20afterTestHook\x20-\x20workerDetails\x20or\x20currentTest\x20not\x20available','167122Avtnou','push','ENV_VAR','afterTestHook','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','aRPnW','passed','DhYKA','SESSION_STATUS','NEpSq','sGdHA','jest-test','testIdentifier','Cleaned\x20up\x20close\x20tracker','cJtnl','.\x20Error\x20:','saveTestResults','startMonitoring','MOZkA','Performing\x20scan\x20before\x20saving\x20results','testAnalyticsId','OCZrN','\x22,\x22level\x22:\x20\x22info\x22}}','dVPDu','title','inspect',',\x20isPlaywrightFlow=','cNidE','split','Successfully\x20closed\x20page\x20via\x20fallback','PLWBz','4|1|2|3|0','../../helpers/testhub/utils','__currentTestInfo','OYfGq','Error\x20executing\x20deferred\x20closes:\x20','BrBdo','\x20with\x20testIdentifier:\x20','@playwright/test','testFramework','getCurrentUrl','Jest','page','beforeTestHook','__workerDetails','ADAyc','305135nLEaaZ','Playwright\x20flow\x20detected\x20in\x20beforeEach','YFCpg','2751504iJBRCH','zKGcJ','PERFORM_SCAN','end','qXTvK','getAutomationFramework','Exception\x20in\x20jest\x20driver\x20cleanup\x20with\x20error:\x20','AccbM','getGlobal','Cleaned\x20up\x20close\x20tracker\x20after\x20deferred\x20closes','cnWvJ','FIhZr','Error\x20triggering\x20CREATE\x20POST\x20event\x20for\x20test:\x20','agvWY','Error\x20preparing\x20AutomationFramework\x20events:\x20','description','4|0|3|1|2','../../helpers/accessibility-automation/scripts','quitCount_','inside\x20before\x20each\x20jest\x20hook','CWrYD','POST','ljnqI','PRE','platformCaps','pwPage','appium:app','nQYRP','measureWrapper','getInstance','NKbxD','yGzWc','Exception\x20in\x20jest\x20driver\x20with\x20error:\x20','gugwY','AOvMp','./test-observability/test-details','qovNU','failedExpectations','isRunning','32pGWoUv','zeGAF','SYNC','shift','executeAsyncScript','rBWmd','ttyyg','../../helpers/test-observability/utils','getPageFromAutomationFramework','error','2855727BjJprB','../utils/constants','eUyYu','testInfo','winstonLogger','testcase','wPlvM','bgLVv','cCeon','raFTu','trackEvent','pid','AvOXl','undefined','name','browser','https:','1DEOfmc','slice','../utils/playwright-patcher','gtuBJ','Error\x20in\x20playwright\x20beforeTestHook:\x20','env','EBblh','\x20|\x20','FldTN','getPackageVersion'];a20_0x4d1c=function(){return _0x1a5760;};return a20_0x4d1c();}
@@ -1 +1 @@
1
- function a21_0x38fc(_0x2f41b5,_0x189317){const _0x3f3b79=a21_0x3f3b();return a21_0x38fc=function(_0x38fc2c,_0x285958){_0x38fc2c=_0x38fc2c-0x104;let _0x565940=_0x3f3b79[_0x38fc2c];return _0x565940;},a21_0x38fc(_0x2f41b5,_0x189317);}const a21_0x43c917=a21_0x38fc;(function(_0x59d26b,_0x1afa3c){const _0x4f9c84=a21_0x38fc,_0x2ebb93=_0x59d26b();while(!![]){try{const _0xa16431=parseInt(_0x4f9c84(0x109))/0x1*(-parseInt(_0x4f9c84(0x10f))/0x2)+-parseInt(_0x4f9c84(0x10c))/0x3*(parseInt(_0x4f9c84(0x105))/0x4)+parseInt(_0x4f9c84(0x10e))/0x5+-parseInt(_0x4f9c84(0x110))/0x6*(-parseInt(_0x4f9c84(0x10a))/0x7)+parseInt(_0x4f9c84(0x111))/0x8+-parseInt(_0x4f9c84(0x106))/0x9+parseInt(_0x4f9c84(0x112))/0xa*(-parseInt(_0x4f9c84(0x10d))/0xb);if(_0xa16431===_0x1afa3c)break;else _0x2ebb93['push'](_0x2ebb93['shift']());}catch(_0x679c87){_0x2ebb93['push'](_0x2ebb93['shift']());}}}(a21_0x3f3b,0x5ffb1));function a21_0x3f3b(){const _0x48509f=['6cdihiK','3134528wLWgeQ','10ukOpru','../../../helpers/test-observability/utils','30404PBfWqs','1248759fSdadq','restore','setTimeout','7142bXReFz','3541993rEfILt','lZEMT','114lcnqUG','6069547JaOUfL','3587580AAqsOH','68lpyfjg'];a21_0x3f3b=function(){return _0x48509f;};return a21_0x3f3b();}const requestSpy=require('../../../helpers/request-spy'),{addRequestSpy}=require(a21_0x43c917(0x104));beforeAll(()=>{const _0x33e959=a21_0x43c917,_0x5c023b={'lZEMT':function(_0x3293ca){return _0x3293ca();}},_0x29ae1b='browserstack internal helper hook';_0x5c023b[_0x33e959(0x10b)](addRequestSpy);}),afterAll(async()=>{const _0x483659=a21_0x43c917,_0x383456='browserstack internal helper hook';jest[_0x483659(0x108)](0xea60),requestSpy[_0x483659(0x107)]();});
1
+ const a21_0x19e5e8=a21_0x3a75;(function(_0x309678,_0x1fc3c7){const _0x4d38ff=a21_0x3a75,_0x3163ce=_0x309678();while(!![]){try{const _0xb56396=-parseInt(_0x4d38ff(0x1c1))/0x1+parseInt(_0x4d38ff(0x1c2))/0x2*(-parseInt(_0x4d38ff(0x1c9))/0x3)+parseInt(_0x4d38ff(0x1cc))/0x4*(parseInt(_0x4d38ff(0x1c3))/0x5)+parseInt(_0x4d38ff(0x1be))/0x6*(-parseInt(_0x4d38ff(0x1bc))/0x7)+-parseInt(_0x4d38ff(0x1c4))/0x8*(-parseInt(_0x4d38ff(0x1ca))/0x9)+-parseInt(_0x4d38ff(0x1c8))/0xa+parseInt(_0x4d38ff(0x1c7))/0xb*(parseInt(_0x4d38ff(0x1cb))/0xc);if(_0xb56396===_0x1fc3c7)break;else _0x3163ce['push'](_0x3163ce['shift']());}catch(_0x52d3b2){_0x3163ce['push'](_0x3163ce['shift']());}}}(a21_0x36e1,0xc44c4));const requestSpy=require(a21_0x19e5e8(0x1c6)),{addRequestSpy}=require(a21_0x19e5e8(0x1c5));function a21_0x3a75(_0xa45fb7,_0x498d34){const _0x36e160=a21_0x36e1();return a21_0x3a75=function(_0x3a75e6,_0x3c9cf7){_0x3a75e6=_0x3a75e6-0x1bc;let _0x384f67=_0x36e160[_0x3a75e6];return _0x384f67;},a21_0x3a75(_0xa45fb7,_0x498d34);}beforeAll(()=>{const _0x510489=a21_0x19e5e8,_0x175a37={'nWCvo':function(_0x4be3f1){return _0x4be3f1();}},_0x16b5b9='browserstack internal helper hook';_0x175a37[_0x510489(0x1c0)](addRequestSpy);}),afterAll(async()=>{const _0x5dc35b=a21_0x19e5e8,_0x6f03b0='browserstack internal helper hook';jest[_0x5dc35b(0x1bd)](0xea60),requestSpy[_0x5dc35b(0x1bf)]();});function a21_0x36e1(){const _0x145709=['../../../helpers/test-observability/utils','../../../helpers/request-spy','326931XKzIeZ','2219060IKlGcL','21129TcxxSc','27QhZUdu','468QgYPNM','4hIZXcd','28cOocro','setTimeout','2286234lDdBia','restore','nWCvo','886434oxqSTs','126mUjuNE','7193515dqjkBd','3419784RHarxN'];a21_0x36e1=function(){return _0x145709;};return a21_0x36e1();}
@@ -1 +1 @@
1
- const a22_0x27d5ec=a22_0x5c82;function a22_0x4573(){const _0x47aa4e=['../../../helpers/test-observability/utils','9096241fYCtgb','testMatch','4TaMjhh','validateRerunTestList','shouldReRunObservabilityTests','testRegex','env','map','13567712IWWNiB','BROWSERSTACK_RERUN_TESTS','4474476plGazg','3215ygaDML','630dKtRAd','push','length','isTestObservabilitySession','lWouS','304690bcoWiA','split','cliConfig','6038935uTNfvD','has','eYjGz','trim','get','../../../helpers/helper','8106414ykMioO','isUndefined','132XiXQNP','ciJXh'];a22_0x4573=function(){return _0x47aa4e;};return a22_0x4573();}function a22_0x5c82(_0xa31ff8,_0x56569c){const _0x457332=a22_0x4573();return a22_0x5c82=function(_0x5c82da,_0x42e41c){_0x5c82da=_0x5c82da-0x1c2;let _0x4a3500=_0x457332[_0x5c82da];return _0x4a3500;},a22_0x5c82(_0xa31ff8,_0x56569c);}(function(_0x45a654,_0x251a31){const _0x1cb640=a22_0x5c82,_0x497246=_0x45a654();while(!![]){try{const _0x2a90b3=parseInt(_0x1cb640(0x1d3))/0x1*(parseInt(_0x1cb640(0x1c5))/0x2)+-parseInt(_0x1cb640(0x1d2))/0x3*(-parseInt(_0x1cb640(0x1ca))/0x4)+-parseInt(_0x1cb640(0x1dc))/0x5+parseInt(_0x1cb640(0x1c3))/0x6+-parseInt(_0x1cb640(0x1c8))/0x7+-parseInt(_0x1cb640(0x1d0))/0x8+-parseInt(_0x1cb640(0x1d4))/0x9*(-parseInt(_0x1cb640(0x1d9))/0xa);if(_0x2a90b3===_0x251a31)break;else _0x497246['push'](_0x497246['shift']());}catch(_0x6d1823){_0x497246['push'](_0x497246['shift']());}}}(a22_0x4573,0xf052f));const testOpsHelper=require(a22_0x27d5ec(0x1c7)),helper=require(a22_0x27d5ec(0x1c2));exports['updateTestRerunConfig']=(_0xe97a97,_0x437e1a)=>{const _0x56fcab=a22_0x27d5ec,_0x17d226={};_0x17d226[_0x56fcab(0x1c6)]='rerunTests',_0x17d226['lWouS']=function(_0x2dfd90,_0x54eb4c){return _0x2dfd90!==_0x54eb4c;},_0x17d226[_0x56fcab(0x1de)]=function(_0x442e7e,_0xedee3e){return _0x442e7e>_0xedee3e;};const _0x2ce77f=_0x17d226;if(testOpsHelper[_0x56fcab(0x1d7)]()&&testOpsHelper[_0x56fcab(0x1cc)]()){let _0x54d652=process[_0x56fcab(0x1ce)][_0x56fcab(0x1d1)];!helper[_0x56fcab(0x1c4)](_0x437e1a[_0x56fcab(0x1db)])&&_0x437e1a[_0x56fcab(0x1db)][_0x56fcab(0x1dd)](_0x2ce77f['ciJXh'])&&(_0x54d652=_0x437e1a[_0x56fcab(0x1db)][_0x56fcab(0x1e0)](_0x2ce77f['ciJXh']));const _0x2ad006=[];helper[_0x56fcab(0x1cb)](_0x54d652)&&_0x2ce77f[_0x56fcab(0x1d8)](_0x54d652,null)&&_0x54d652[_0x56fcab(0x1da)](',')[_0x56fcab(0x1cf)](_0x16efd3=>{const _0x278d56=_0x56fcab;_0x2ad006[_0x278d56(0x1d5)](''+_0x16efd3[_0x278d56(0x1df)]());}),_0x2ce77f[_0x56fcab(0x1de)](_0x2ad006[_0x56fcab(0x1d6)],0x0)&&(_0xe97a97[_0x56fcab(0x1cd)]=_0x2ad006,delete _0xe97a97[_0x56fcab(0x1c9)]);}};
1
+ const a22_0x2b3f77=a22_0x3af5;function a22_0x3af5(_0x217476,_0x1f609b){const _0x1f8ece=a22_0x1f8e();return a22_0x3af5=function(_0x3af55c,_0x2f30b5){_0x3af55c=_0x3af55c-0x14c;let _0x274b4a=_0x1f8ece[_0x3af55c];return _0x274b4a;},a22_0x3af5(_0x217476,_0x1f609b);}(function(_0x26af72,_0x58af13){const _0x15d84c=a22_0x3af5,_0x1251dc=_0x26af72();while(!![]){try{const _0x37a44d=-parseInt(_0x15d84c(0x163))/0x1+-parseInt(_0x15d84c(0x150))/0x2+-parseInt(_0x15d84c(0x15f))/0x3+-parseInt(_0x15d84c(0x160))/0x4*(-parseInt(_0x15d84c(0x15c))/0x5)+-parseInt(_0x15d84c(0x15d))/0x6+-parseInt(_0x15d84c(0x14f))/0x7*(-parseInt(_0x15d84c(0x161))/0x8)+parseInt(_0x15d84c(0x15e))/0x9;if(_0x37a44d===_0x58af13)break;else _0x1251dc['push'](_0x1251dc['shift']());}catch(_0x4eb1a8){_0x1251dc['push'](_0x1251dc['shift']());}}}(a22_0x1f8e,0x2eba3));const testOpsHelper=require(a22_0x2b3f77(0x158)),helper=require(a22_0x2b3f77(0x159));exports[a22_0x2b3f77(0x162)]=(_0x252b4a,_0x167276)=>{const _0x19eac1=a22_0x2b3f77,_0xad6681={};_0xad6681[_0x19eac1(0x14d)]=_0x19eac1(0x167),_0xad6681[_0x19eac1(0x151)]=function(_0x5cac8a,_0x138b1e){return _0x5cac8a!==_0x138b1e;},_0xad6681[_0x19eac1(0x154)]=function(_0x5e3302,_0x8e61ae){return _0x5e3302>_0x8e61ae;};const _0xf66242=_0xad6681;if(testOpsHelper[_0x19eac1(0x15b)]()&&testOpsHelper[_0x19eac1(0x14e)]()){let _0x514579=process[_0x19eac1(0x152)][_0x19eac1(0x166)];!helper[_0x19eac1(0x157)](_0x167276[_0x19eac1(0x155)])&&_0x167276[_0x19eac1(0x155)]['has'](_0xf66242[_0x19eac1(0x14d)])&&(_0x514579=_0x167276['cliConfig'][_0x19eac1(0x15a)](_0xf66242[_0x19eac1(0x14d)]));const _0x52fc85=[];helper['validateRerunTestList'](_0x514579)&&_0xf66242[_0x19eac1(0x151)](_0x514579,null)&&_0x514579[_0x19eac1(0x153)](',')['map'](_0x34f6f9=>{const _0x33fe8e=_0x19eac1;_0x52fc85['push'](''+_0x34f6f9[_0x33fe8e(0x164)]());}),_0xf66242[_0x19eac1(0x154)](_0x52fc85[_0x19eac1(0x14c)],0x0)&&(_0x252b4a[_0x19eac1(0x156)]=_0x52fc85,delete _0x252b4a[_0x19eac1(0x165)]);}};function a22_0x1f8e(){const _0xd86ce9=['4842738axLxqs','684957sxEuAU','40008bzOfTH','1016696nUFRbC','updateTestRerunConfig','62239EcdEJg','trim','testMatch','BROWSERSTACK_RERUN_TESTS','rerunTests','length','Vaott','shouldReRunObservabilityTests','14vjonjF','715042rJhCeY','nnRhh','env','split','XYcRt','cliConfig','testRegex','isUndefined','../../../helpers/test-observability/utils','../../../helpers/helper','get','isTestObservabilitySession','110ezXFVD','1036956jjNTWr'];a22_0x1f8e=function(){return _0xd86ce9;};return a22_0x1f8e();}
@@ -1 +1 @@
1
- const a23_0x7fb440=a23_0x46ae;function a23_0x46ae(_0x252371,_0x3894d5){const _0x519d0a=a23_0x519d();return a23_0x46ae=function(_0x46ae6e,_0x5dce44){_0x46ae6e=_0x46ae6e-0x190;let _0x2ddc00=_0x519d0a[_0x46ae6e];return _0x2ddc00;},a23_0x46ae(_0x252371,_0x3894d5);}(function(_0xc44587,_0x3711ef){const _0xdc1dab=a23_0x46ae,_0x12c68b=_0xc44587();while(!![]){try{const _0x2b84f1=-parseInt(_0xdc1dab(0x247))/0x1*(parseInt(_0xdc1dab(0x23c))/0x2)+parseInt(_0xdc1dab(0x253))/0x3*(-parseInt(_0xdc1dab(0x1e9))/0x4)+parseInt(_0xdc1dab(0x1bb))/0x5*(-parseInt(_0xdc1dab(0x20a))/0x6)+-parseInt(_0xdc1dab(0x224))/0x7*(parseInt(_0xdc1dab(0x20b))/0x8)+-parseInt(_0xdc1dab(0x22f))/0x9*(-parseInt(_0xdc1dab(0x279))/0xa)+parseInt(_0xdc1dab(0x199))/0xb+-parseInt(_0xdc1dab(0x1b8))/0xc*(-parseInt(_0xdc1dab(0x26a))/0xd);if(_0x2b84f1===_0x3711ef)break;else _0x12c68b['push'](_0x12c68b['shift']());}catch(_0x4320a2){_0x12c68b['push'](_0x12c68b['shift']());}}}(a23_0x519d,0xbfb1b));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require('../../../helpers/test-observability/utils'),SessionHandler=require(a23_0x7fb440(0x25f)),{v4:uuidv4}=require(a23_0x7fb440(0x249)),{name,version}=require('../../../../package.json'),stackTrace=require(a23_0x7fb440(0x1aa)),path=require(a23_0x7fb440(0x1a8)),fs=require('fs'),TestDetails=require(a23_0x7fb440(0x27c)),{FRAMEWORKS}=require('../../utils/constants'),{o11yClassErrorHandler}=require(a23_0x7fb440(0x22c)),{getGitMetaData}=require(a23_0x7fb440(0x1e6)),helper=require('../../../helpers/helper'),{appendTesthubParams,setCurrentTestData}=require(a23_0x7fb440(0x28a)),constants=require(a23_0x7fb440(0x22a)),BrowserstackCLI=require(a23_0x7fb440(0x1d6)),a23_0x3fee0b={};a23_0x3fee0b[a23_0x7fb440(0x1b0)]='passed',a23_0x3fee0b[a23_0x7fb440(0x1dd)]='failed',a23_0x3fee0b['STATE_PENDING']=a23_0x7fb440(0x28b);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a23_0x3fee0b,a23_0x206563={};a23_0x206563[a23_0x7fb440(0x1d5)]=a23_0x7fb440(0x240),a23_0x206563[a23_0x7fb440(0x1e7)]='AFTER_ALL',a23_0x206563[a23_0x7fb440(0x1e1)]=a23_0x7fb440(0x1c2),a23_0x206563[a23_0x7fb440(0x264)]=a23_0x7fb440(0x23b);const HOOK_TYPES_MAP=a23_0x206563;module[a23_0x7fb440(0x1b5)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0xa23ca1=a23_0x7fb440,_0x36359b={'kCTtT':_0xa23ca1(0x1fc),'EqFTg':function(_0x651e98){return _0x651e98();}},_0x29e07c=_0x36359b['kCTtT'][_0xa23ca1(0x223)]('|');let _0x3a1a68=0x0;while(!![]){switch(_0x29e07c[_0x3a1a68++]){case'0':this[_0xa23ca1(0x201)]=[];continue;case'1':this[_0xa23ca1(0x216)]=this[_0xa23ca1(0x208)]();continue;case'2':this[_0xa23ca1(0x1ed)]=null;continue;case'3':this[_0xa23ca1(0x26c)]=[];continue;case'4':this[_0xa23ca1(0x21e)]=![];continue;case'5':this[_0xa23ca1(0x200)]=_0x36359b[_0xa23ca1(0x24d)](isTestObservabilitySession);continue;case'6':this[_0xa23ca1(0x207)]=new PathHelper({'cwd':process['cwd']()},this[_0xa23ca1(0x216)][_0xa23ca1(0x26b)]);continue;}break;}}[a23_0x7fb440(0x208)]=()=>{const _0x1bd48a=a23_0x7fb440,_0x1d4370={'FjukU':_0x1bd48a(0x281),'uMnZf':function(_0x26a88d){return _0x26a88d();}};return{'ci':_0x1d4370['FjukU'],'key':_0x1d4370[_0x1bd48a(0x1f6)](uuidv4),'version':version,'collector':_0x1bd48a(0x1a3)+name};};['registerListeners'](){const _0x407144=a23_0x7fb440;process[_0x407144(0x1a5)](_0x407144(0x1bd)+process[_0x407144(0x241)]),process['on']('bs:addLog:'+process['pid'],this[_0x407144(0x1fa)][_0x407144(0x1d4)](this)),process['removeAllListeners'](_0x407144(0x250)+process[_0x407144(0x241)]),process['on'](_0x407144(0x250)+process[_0x407144(0x241)],this['appendTestPlatform'][_0x407144(0x1d4)](this));}[a23_0x7fb440(0x1b6)]=async _0xc5b246=>{const _0x3dff30=a23_0x7fb440,_0x4562e2={'zjiXz':function(_0x247723,_0x4da4a2){return _0x247723>_0x4da4a2;},'EEcXi':function(_0x573df3,_0x1bd606){return _0x573df3===_0x1bd606;},'ajTBw':_0x3dff30(0x19d),'rXAah':function(_0xcb8533,_0x599af9){return _0xcb8533(_0x599af9);}};try{const _0x382cdf=this[_0x3dff30(0x27b)];this[_0x3dff30(0x27b)]=_0xc5b246,_0xc5b246[_0x3dff30(0x1b2)]=null,_0xc5b246[_0x3dff30(0x222)]=TestDetails[_0x3dff30(0x1ea)](process['pid']+':testAnalyticsId'),_0xc5b246['started_at']=new Date()[_0x3dff30(0x1c8)](),_0x4562e2[_0x3dff30(0x202)](_0xc5b246['_currentRetry'],0x0)&&_0x382cdf&&_0x4562e2[_0x3dff30(0x1f9)](_0x382cdf[_0x3dff30(0x1ee)],_0xc5b246['title'])?(_0xc5b246[_0x3dff30(0x1b2)]=_0x382cdf[_0x3dff30(0x222)],await this[_0x3dff30(0x284)](_0xc5b246,undefined,![],_0x4562e2[_0x3dff30(0x197)]),_0x382cdf[_0x3dff30(0x19f)]=STATE_FAILED,await this['sendTestRunEvent'](_0x382cdf,undefined,!![])):await this[_0x3dff30(0x284)](_0xc5b246,undefined,![],_0x4562e2['ajTBw']);}catch(_0x271874){_0x4562e2['rXAah'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x271874);}};[a23_0x7fb440(0x293)](_0x34b36e){const _0x3c7c65=a23_0x7fb440,_0x1749cf={};_0x1749cf['jLOJK']=function(_0x4b756c,_0xe7c402){return _0x4b756c!==_0xe7c402;},_0x1749cf['NvxQs']=_0x3c7c65(0x25b);const _0x12d140=_0x1749cf;if(_0x12d140['jLOJK'](_0x34b36e['type'],_0x12d140[_0x3c7c65(0x282)]))return'\x22'+_0x34b36e[_0x3c7c65(0x26f)]+_0x3c7c65(0x266)+(_0x34b36e[_0x3c7c65(0x1de)]&&_0x34b36e[_0x3c7c65(0x1de)][_0x3c7c65(0x21b)])+'\x22';return _0x34b36e['name'];}['sendTestRunEvent']=async(_0x5eeae1,_0x411711=undefined,_0x17f793=![],_0x1a4b5e='TestRunFinished')=>{const _0x577b19=a23_0x7fb440,_0x840f31={'uSECs':_0x577b19(0x232),'Pqdkt':_0x577b19(0x190),'RdgXQ':_0x577b19(0x218),'QCjMq':_0x577b19(0x1be),'RZzfl':'failure_type','XRdaB':_0x577b19(0x1e0),'ZBlSn':_0x577b19(0x20f),'EYxOK':function(_0x4c2bfc,_0x49fe9b){return _0x4c2bfc(_0x49fe9b);},'PHeKz':_0x577b19(0x1a0),'QMKvw':function(_0x56f81c,_0x5b2a61){return _0x56f81c(_0x5b2a61);},'NeApR':_0x577b19(0x28c),'clkuR':function(_0x352ad1,_0x49ce86){return _0x352ad1!==_0x49ce86;},'aViTC':_0x577b19(0x25b),'RuLFJ':'err','JNGVo':function(_0x230477,_0x19fe26){return _0x230477!==_0x19fe26;},'oiEwo':_0x577b19(0x278),'gavJY':_0x577b19(0x20c),'HqJAJ':function(_0x579da7,_0xccd0dd){return _0x579da7===_0xccd0dd;},'Hcmzf':'TestRunSkipped','wPNzh':_0x577b19(0x286),'SMOQX':function(_0x1ea4e2,_0x5233f6){return _0x1ea4e2>_0x5233f6;},'XOUpJ':'failed','sQKZu':_0x577b19(0x206),'HXWIN':function(_0x271078,_0x48ac9b){return _0x271078-_0x48ac9b;},'BGAIa':function(_0x5700e4,_0x37c709){return _0x5700e4(_0x37c709);},'qSwJW':function(_0x2369ff,_0x5ed3be,_0x4bf2ff,_0x4ee1d0,_0x333f38){return _0x2369ff(_0x5ed3be,_0x4bf2ff,_0x4ee1d0,_0x333f38);},'HPKsg':_0x577b19(0x204),'XCLvZ':_0x577b19(0x1fd),'PbMGG':_0x577b19(0x28e),'jDYYg':function(_0x407f1d,_0x25f848){return _0x407f1d!==_0x25f848;},'GdhpJ':_0x577b19(0x1a2),'ruskf':_0x577b19(0x1ac),'lkJvn':_0x577b19(0x230),'QIUkc':'expanded','lbmIQ':'TestRunFinished','WwXxe':_0x577b19(0x219),'JJufG':function(_0x582ca5,_0x83dee4){return _0x582ca5>_0x83dee4;},'mfDaM':function(_0x14fd19,_0x16bec1){return _0x14fd19===_0x16bec1;},'GnIJD':'beforeAll','MSLTw':function(_0x1415c8,_0x317c98,_0x238200){return _0x1415c8(_0x317c98,_0x238200);}};try{if(_0x5eeae1['fn']&&_0x5eeae1['fn'][_0x577b19(0x270)]()['match'](/browserstack internal helper hook/))return;await this['configureGit']();let _0x5da9e4;try{_0x5da9e4=this[_0x577b19(0x1ba)](_0x5eeae1);}catch(_0x3fc13e){_0x840f31['EYxOK'](debug,_0x577b19(0x227)+_0x3fc13e),_0x5da9e4=null;}if(_0x5da9e4[_0x577b19(0x243)](_0x840f31['PHeKz']))return;const _0x50f131=_0x840f31[_0x577b19(0x291)](require,_0x840f31[_0x577b19(0x233)]);let _0x1c3c4f=[];if(_0x840f31[_0x577b19(0x215)](_0x5eeae1[_0x577b19(0x1c6)],undefined))_0x1c3c4f=[_0x5eeae1['errorsDetailed'],_0x840f31[_0x577b19(0x25e)]];else _0x840f31[_0x577b19(0x215)](_0x411711,undefined)?_0x1c3c4f=[_0x411711,_0x840f31[_0x577b19(0x1b4)]]:_0x1c3c4f=[];const _0x2879a5=_0x840f31['JNGVo'](_0x5eeae1[_0x577b19(0x1c6)],undefined)?_0x50f131['inspect'](_0x5eeae1[_0x577b19(0x1c6)][0x0]):_0x840f31[_0x577b19(0x268)](_0x411711,undefined)?_0x411711[_0x577b19(0x270)]():undefined,_0x22b18d=_0x5da9e4?this[_0x577b19(0x207)][_0x577b19(0x1f7)](this[_0x577b19(0x1ba)](_0x5eeae1)):_0x840f31[_0x577b19(0x272)],_0x15ba77={'framework':FRAMEWORKS['JEST'],'uuid':_0x5eeae1[_0x577b19(0x222)]||_0x5eeae1[_0x577b19(0x1b1)],'name':this[_0x577b19(0x293)](_0x5eeae1),'body':{'lang':_0x840f31['gavJY'],'code':_0x5eeae1['fn'][_0x577b19(0x270)]()},'scopes':this['getHierarchy'](_0x5eeae1),'file_name':_0x22b18d,'vc_filepath':this[_0x577b19(0x1ed)]&&_0x5da9e4?path[_0x577b19(0x19e)](this[_0x577b19(0x1ed)],_0x5da9e4):null,'location':_0x22b18d,'result':_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31['Hcmzf'])?_0x840f31[_0x577b19(0x283)]:this[_0x577b19(0x22e)](_0x5eeae1[_0x577b19(0x1c6)]&&_0x840f31[_0x577b19(0x1c0)](_0x5eeae1[_0x577b19(0x1c6)][_0x577b19(0x238)],0x0)?_0x840f31[_0x577b19(0x236)]:_0x840f31[_0x577b19(0x265)]),'failure_reason':_0x2879a5,'duration_in_ms':_0x5eeae1[_0x577b19(0x262)]||(_0x1a4b5e[_0x577b19(0x1c1)](/Finished/)||_0x1a4b5e[_0x577b19(0x1c1)](/Skipped/)?_0x840f31['HXWIN'](Date[_0x577b19(0x1ab)](),new Date(_0x5eeae1[_0x577b19(0x204)])[_0x577b19(0x24e)]()):null),'started_at':_0x5eeae1[_0x577b19(0x204)],'finished_at':_0x1a4b5e['match'](/Finished/)||_0x1a4b5e[_0x577b19(0x1c1)](/Skipped/)?new Date()[_0x577b19(0x1c8)]():null,'failure':failureData[_0x577b19(0x28d)](null,_0x1c3c4f),'failure_type':!_0x2879a5?null:_0x840f31[_0x577b19(0x193)](getFailureType,_0x2879a5),'retry_of':_0x5eeae1[_0x577b19(0x1b2)]};_0x840f31[_0x577b19(0x258)](appendTesthubParams,_0x15ba77,_0x1a4b5e,_0x5eeae1,FRAMEWORKS['JEST']);_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31[_0x577b19(0x277)])&&!_0x15ba77[_0x840f31['HPKsg']]&&(_0x15ba77[_0x840f31[_0x577b19(0x24b)]]=_0x15ba77[_0x840f31[_0x577b19(0x1e4)]]);if(_0x1a4b5e['match'](/HookRun/))[_0x15ba77['hook_type'],_0x15ba77[_0x577b19(0x21b)]]=[_0x5eeae1[_0x577b19(0x26f)],this[_0x577b19(0x293)](_0x5eeae1)],_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31[_0x577b19(0x1c4)])&&(_0x840f31[_0x577b19(0x24f)](_0x15ba77[_0x577b19(0x20f)],_0x840f31[_0x577b19(0x236)])&&(_0x15ba77[_0x577b19(0x20f)]=_0x840f31['sQKZu']));else _0x1a4b5e[_0x577b19(0x1c1)](/TestRun/)&&this[_0x577b19(0x23e)](_0x5eeae1);const _0x2a1fd3=_0x15ba77[_0x840f31[_0x577b19(0x23a)]][0x0];_0x2a1fd3&&(_0x15ba77[_0x840f31[_0x577b19(0x226)]]=_0x2a1fd3[_0x840f31[_0x577b19(0x205)]],_0x15ba77[_0x840f31[_0x577b19(0x27e)]]=_0x2a1fd3[_0x840f31[_0x577b19(0x242)]]);[_0x840f31['lbmIQ'],_0x840f31[_0x577b19(0x277)]][_0x577b19(0x243)](_0x1a4b5e)&&(this[_0x577b19(0x201)][_0x577b19(0x1fb)](_0x15ba77),_0x15ba77['hooks']=this[_0x577b19(0x1d3)](_0x5eeae1),this[_0x577b19(0x1dc)](_0x5eeae1));const _0x1ae23a={'event_type':_0x840f31[_0x577b19(0x1a9)](_0x1a4b5e,_0x840f31[_0x577b19(0x277)])?_0x840f31[_0x577b19(0x1cc)]:_0x1a4b5e};_0x1a4b5e[_0x577b19(0x1c1)](/HookRun/)?(_0x15ba77[_0x840f31[_0x577b19(0x26e)]]=HOOK_TYPES_MAP[_0x15ba77[_0x840f31[_0x577b19(0x26e)]]],_0x1ae23a[_0x840f31['Pqdkt']]=_0x15ba77):_0x1ae23a[_0x840f31[_0x577b19(0x20e)]]=_0x15ba77;_0x840f31[_0x577b19(0x27d)](this['hook_data'][_0x577b19(0x238)],0x0)&&[_0x840f31[_0x577b19(0x1cc)],_0x840f31[_0x577b19(0x277)]][_0x577b19(0x243)](_0x1a4b5e)&&(this[_0x577b19(0x26c)]['forEach'](async _0x39a761=>{const _0x359ebd=_0x577b19,_0x2e7d86=_0x840f31[_0x359ebd(0x25a)][_0x359ebd(0x223)]('|');let _0x25bf88=0x0;while(!![]){switch(_0x2e7d86[_0x25bf88++]){case'0':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x23a)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x23a)]];continue;case'1':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x21a)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x21a)]];continue;case'2':await SessionHandler[_0x359ebd(0x237)](_0x39a761);continue;case'3':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x1d8)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x1d8)]];continue;case'4':_0x39a761[_0x840f31[_0x359ebd(0x1e2)]][_0x840f31[_0x359ebd(0x290)]]=_0x1ae23a[_0x840f31[_0x359ebd(0x20e)]][_0x840f31[_0x359ebd(0x290)]];continue;}break;}}),this[_0x577b19(0x26c)]=[]);if(_0x840f31[_0x577b19(0x1a9)](this['hook_failure'],_0x5eeae1['type'])){this[_0x577b19(0x26c)]['push'](_0x1ae23a);return;}_0x840f31[_0x577b19(0x21c)](this['hook_failure'],_0x840f31[_0x577b19(0x198)])&&_0x1ae23a[_0x840f31[_0x577b19(0x20e)]]&&(_0x1ae23a[_0x840f31[_0x577b19(0x20e)]][_0x840f31[_0x577b19(0x290)]]=_0x840f31[_0x577b19(0x283)],_0x1ae23a[_0x840f31[_0x577b19(0x20e)]][_0x840f31[_0x577b19(0x23a)]]=null,_0x1ae23a[_0x840f31[_0x577b19(0x20e)]][_0x840f31[_0x577b19(0x21a)]]=null),_0x840f31[_0x577b19(0x1ce)](setCurrentTestData,FRAMEWORKS['JEST'],_0x1ae23a),await SessionHandler[_0x577b19(0x237)](_0x1ae23a);}catch(_0x363121){_0x840f31[_0x577b19(0x25d)](debug,_0x577b19(0x1f2)+_0x1a4b5e+_0x577b19(0x210)+_0x363121);}};[a23_0x7fb440(0x24a)](_0x37c5e8){const _0x23a755=a23_0x7fb440,_0x299e35={};_0x299e35[_0x23a755(0x287)]=function(_0x10641f,_0x504856){return _0x10641f==_0x504856;},_0x299e35[_0x23a755(0x1c5)]=function(_0x13cb16,_0x5d09ad){return _0x13cb16===_0x5d09ad;},_0x299e35[_0x23a755(0x255)]=function(_0x55e9c7,_0x42ed42){return _0x55e9c7===_0x42ed42;},_0x299e35['MoARS']=_0x23a755(0x1d1),_0x299e35[_0x23a755(0x1f8)]=_0x23a755(0x225);const _0x123854=_0x299e35,_0x3b89ac=path[_0x23a755(0x209)];if(_0x123854[_0x23a755(0x287)](_0x37c5e8,null)||_0x123854[_0x23a755(0x1c5)](_0x37c5e8,'')||_0x123854[_0x23a755(0x255)](_0x37c5e8,_0x3b89ac)||_0x123854[_0x23a755(0x255)](_0x37c5e8,path[_0x23a755(0x195)](_0x37c5e8)))return null;try{return fs[_0x23a755(0x1f0)](path[_0x23a755(0x194)](_0x37c5e8,_0x123854[_0x23a755(0x257)],_0x123854[_0x23a755(0x1f8)])),_0x37c5e8;}catch(_0xbbea19){const _0x55f870=path[_0x23a755(0x195)](_0x37c5e8);return this[_0x23a755(0x24a)](_0x55f870);}}[a23_0x7fb440(0x1fa)]=async _0x2c4d5f=>{const _0x535aa9=a23_0x7fb440,_0xfcd5db={'jmGYG':_0x535aa9(0x213),'HPeSz':_0x535aa9(0x1ef),'kxzUf':_0x535aa9(0x24c),'QJzSw':function(_0x48cd74,_0x2d58bb){return _0x48cd74||_0x2d58bb;},'lfZug':function(_0x4b4cc7,_0x5c82da){return _0x4b4cc7(_0x5c82da);},'mZXCF':'[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','mYQjy':function(_0x592783,_0x165320){return _0x592783(_0x165320);},'YquxK':function(_0x1fb4eb,_0x1f61b3){return _0x1fb4eb&&_0x1f61b3;},'uZTYg':':jest-','pPZci':function(_0x53ca0f,_0x1dc76d){return _0x53ca0f(_0x1dc76d);},'incoA':_0x535aa9(0x1e3),'AGWLk':'../../v2/state/hookState','XcMoh':_0x535aa9(0x288),'nPkxU':function(_0x1c25ca,_0x3bcbf9){return _0x1c25ca===_0x3bcbf9;},'APpyT':'function','cTXaA':_0x535aa9(0x27f),'LWxwn':_0x535aa9(0x1f5)};try{const _0x4a2d21=helper[_0x535aa9(0x22b)](_0xfcd5db[_0x535aa9(0x244)]),_0x17229c=!!_0x4a2d21,_0x93d39=helper[_0x535aa9(0x22b)](_0xfcd5db['HPeSz'])||helper[_0x535aa9(0x22b)](_0xfcd5db['kxzUf']),_0x2e767c=!!_0x93d39,_0x36ceea=BrowserstackCLI[_0x535aa9(0x234)]()[_0x535aa9(0x252)]()&&BrowserstackCLI['getInstance']()[_0x535aa9(0x1e8)]();if(_0xfcd5db[_0x535aa9(0x1f1)](_0x17229c,_0x2e767c)&&_0x36ceea){_0xfcd5db[_0x535aa9(0x1b7)](debug,_0xfcd5db[_0x535aa9(0x245)]);let _0x1132f2=null,_0x539d82=null;if(global[_0x535aa9(0x1ad)]&&global['__workerDetails'][_0x535aa9(0x271)]){const _0x1bbc20=global['__workerDetails'][_0x535aa9(0x271)];_0x539d82=_0x1bbc20[_0x535aa9(0x1bf)],_0x1132f2=_0x1bbc20[_0x535aa9(0x275)],_0xfcd5db[_0x535aa9(0x220)](debug,_0x535aa9(0x1a4)+_0x539d82+_0x535aa9(0x212)+_0x1132f2);}!_0x1132f2&&(_0x1132f2=global[_0x535aa9(0x1f4)],_0xfcd5db['lfZug'](debug,_0x535aa9(0x19a)+_0x1132f2));if(_0xfcd5db[_0x535aa9(0x235)](!_0x539d82,_0x1132f2)){const _0xd53a3a=BrowserstackCLI[_0x535aa9(0x234)]()[_0x535aa9(0x217)]();if(_0xd53a3a&&_0xd53a3a[_0x535aa9(0x231)]){const _0x21a13b=_0xd53a3a[_0x535aa9(0x231)](_0x1132f2);_0x21a13b&&_0x21a13b[_0x535aa9(0x1bf)]&&(_0x539d82=_0x21a13b[_0x535aa9(0x1bf)],_0xfcd5db[_0x535aa9(0x220)](debug,_0x535aa9(0x1db)+_0x539d82+_0x535aa9(0x212)+_0x1132f2));}}if(!_0x1132f2||!_0x1132f2[_0x535aa9(0x243)](_0xfcd5db[_0x535aa9(0x221)]))_0xfcd5db[_0x535aa9(0x1b7)](debug,_0x535aa9(0x285)+_0x1132f2+_0x535aa9(0x1ae));else{_0x539d82&&(_0x2c4d5f['hook_run_uuid']=_0x539d82,_0xfcd5db['lfZug'](debug,_0x535aa9(0x1c9)+_0x539d82+_0x535aa9(0x292)));_0x2c4d5f[_0x535aa9(0x1af)]=_0x1132f2,_0xfcd5db[_0x535aa9(0x1a7)](debug,_0x535aa9(0x1c3)+_0x1132f2+'\x20to\x20log');const _0x365e52=BrowserstackCLI[_0x535aa9(0x234)]()[_0x535aa9(0x217)]();if(_0x365e52){const _0xfa29a7=_0xfcd5db[_0x535aa9(0x1a7)](require,_0xfcd5db[_0x535aa9(0x1cf)]),_0x5e26d5=_0xfcd5db[_0x535aa9(0x1a7)](require,_0xfcd5db[_0x535aa9(0x289)]),_0x2b44c6=_0xfcd5db[_0x535aa9(0x1a7)](require,_0xfcd5db[_0x535aa9(0x228)]),_0x563568=_0x365e52[_0x535aa9(0x214)](_0xfa29a7[_0x535aa9(0x1ec)],_0x5e26d5[_0x535aa9(0x1b9)]);if(_0x563568&&_0xfcd5db['nPkxU'](typeof _0x563568[_0x535aa9(0x274)],_0xfcd5db['APpyT'])){const _0x5a6f61=_0x563568[_0x535aa9(0x295)]()[_0x535aa9(0x1eb)](_0x1132f2)||{},_0x5099c3=_0x5a6f61[_0x2b44c6[_0x535aa9(0x294)]]||[],_0x2ffb8d=[..._0x5099c3,_0x2c4d5f],_0x1437fb={[_0x2b44c6[_0x535aa9(0x294)]]:_0x2ffb8d},_0xa5731a={};_0xa5731a[_0x1132f2]=_0x1437fb,_0x563568[_0x535aa9(0x274)](_0xa5731a),_0xfcd5db[_0x535aa9(0x1a7)](debug,_0x535aa9(0x196)+_0x1132f2+_0x535aa9(0x1d0)+(_0x2c4d5f['kind']||_0xfcd5db[_0x535aa9(0x19c)])+_0x535aa9(0x248)+_0x2ffb8d['length']);return;}_0xfcd5db[_0x535aa9(0x1b7)](debug,_0x535aa9(0x1a1)+_0x1132f2+_0x535aa9(0x1ae));}}}}catch(_0xb9904c){_0xfcd5db[_0x535aa9(0x1b7)](debug,_0x535aa9(0x269)+_0xb9904c+',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow');}const _0x3f5216=TestDetails[_0x535aa9(0x256)](process[_0x535aa9(0x241)]+':hookAnalyticsId'),_0xc3484b=TestDetails[_0x535aa9(0x256)](process[_0x535aa9(0x241)]+_0x535aa9(0x267));try{(_0x3f5216||this['current_hook']&&!this[_0x535aa9(0x1d9)][_0x535aa9(0x1df)])&&(_0x2c4d5f[_0x535aa9(0x261)]=_0x3f5216);!_0x2c4d5f['hook_run_uuid']&&_0xc3484b&&(_0x2c4d5f[_0x535aa9(0x20d)]=_0xc3484b);if(_0x2c4d5f[_0x535aa9(0x261)]||_0x2c4d5f[_0x535aa9(0x20d)]){const _0x3cc4bc={};_0x3cc4bc[_0x535aa9(0x19b)]=_0xfcd5db[_0x535aa9(0x1c7)],_0x3cc4bc[_0x535aa9(0x273)]=[_0x2c4d5f],await SessionHandler['uploadEventData'](_0x3cc4bc);}}catch(_0x497e89){_0xfcd5db['lfZug'](debug,_0x535aa9(0x1d7)+constants[_0x535aa9(0x23f)]+_0x535aa9(0x210)+_0x497e89);}};[a23_0x7fb440(0x25c)]=async _0x3adc7f=>{const _0x4875e6=a23_0x7fb440,_0x4420a0={'RmdAk':_0x4875e6(0x192),'ludMK':_0x4875e6(0x1ff),'wFUVo':function(_0x2beb25,_0x2563e3){return _0x2beb25(_0x2563e3);}};try{const _0x54ca3e={'uuid':_0x3adc7f[_0x4875e6(0x249)]||TestDetails['getTestUUID'](process[_0x4875e6(0x241)]+_0x4875e6(0x267)),'integrations':_0x3adc7f[_0x4420a0['RmdAk']]},_0x41f27a={};_0x41f27a['event_type']=_0x4420a0[_0x4875e6(0x21d)],_0x41f27a['test_run']=_0x54ca3e,await SessionHandler[_0x4875e6(0x237)](_0x41f27a);}catch(_0x283dd3){_0x4420a0[_0x4875e6(0x1d2)](debug,_0x4875e6(0x280)+constants[_0x4875e6(0x23f)]+'\x20with\x20error\x20:\x20'+_0x283dd3);}};async['configureGit'](){const _0x2f551e=a23_0x7fb440,_0x17a0fb={'Cwcnj':function(_0x207352){return _0x207352();}};if(this[_0x2f551e(0x21e)])return this['_gitConfigPath'];const _0x493a94=await _0x17a0fb[_0x2f551e(0x276)](getGitMetaData);_0x493a94&&(this['_gitConfigPath']=_0x493a94[_0x2f551e(0x1fe)]),this['_gitConfigured']=!![];}[a23_0x7fb440(0x22e)](_0x109630){const _0x18baaf=a23_0x7fb440,_0x267de9={};_0x267de9['pwcVJ']='passed',_0x267de9[_0x18baaf(0x246)]=_0x18baaf(0x28b),_0x267de9['PAHFP']=_0x18baaf(0x211);const _0x5ed653=_0x267de9,_0x5b48af={};return _0x5b48af[STATE_PASSED]=_0x5ed653['pwcVJ'],_0x5b48af[STATE_PENDING]=_0x5ed653['GPVVH'],_0x5b48af[STATE_FAILED]=_0x5ed653[_0x18baaf(0x239)],_0x5b48af[_0x109630];}[a23_0x7fb440(0x1b3)](_0x9b4bea){const _0x4268be=a23_0x7fb440,_0x561562={};_0x561562[_0x4268be(0x1ca)]=function(_0x20760e,_0x33df7c){return _0x20760e!==_0x33df7c;},_0x561562[_0x4268be(0x1bc)]=function(_0x284626,_0x48eb74){return _0x284626!==_0x48eb74;},_0x561562[_0x4268be(0x1e5)]=_0x4268be(0x1cd);const _0x168d39=_0x561562,_0x219ac8=[];if(_0x9b4bea&&_0x9b4bea[_0x4268be(0x1de)]){let _0x830de4=_0x9b4bea[_0x4268be(0x1de)];while(_0x830de4&&_0x168d39['DgUlz'](_0x830de4[_0x4268be(0x21b)],'')&&_0x168d39[_0x4268be(0x1bc)](_0x830de4[_0x4268be(0x21b)],_0x168d39['bTjQR'])){_0x219ac8['push'](_0x830de4['name']),_0x830de4=_0x830de4[_0x4268be(0x1de)];}}return _0x219ac8[_0x4268be(0x22d)](),_0x219ac8;}[a23_0x7fb440(0x1ba)]=_0x548200=>{const _0x13990c=a23_0x7fb440;if(_0x548200[_0x13990c(0x259)]){const _0x18f59a=stackTrace['parse']['call'](stackTrace,_0x548200[_0x13990c(0x259)]);return _0x18f59a[0x0][_0x13990c(0x23d)]();}if(_0x548200[_0x13990c(0x1a6)])return _0x548200['file'];return null;};['mapTestHooks']=_0x52f7c4=>{const _0xa24d0e=a23_0x7fb440;if(!_0x52f7c4||!_0x52f7c4[_0xa24d0e(0x1de)])return;_0x52f7c4[_0xa24d0e(0x1de)][_0xa24d0e(0x203)][_0xa24d0e(0x28f)](_0x67d8dd=>{const _0x4c6c44=_0xa24d0e;!_0x67d8dd['hookAnalyticsId']&&(_0x67d8dd[_0x4c6c44(0x1b1)]=TestDetails['setTestUUID'](process[_0x4c6c44(0x241)]+_0x4c6c44(0x263)));}),this[_0xa24d0e(0x23e)](_0x52f7c4[_0xa24d0e(0x1de)]);};[a23_0x7fb440(0x1dc)]=_0x33cd1a=>{const _0x5ef4bb=a23_0x7fb440,_0x52ea57={};_0x52ea57['fjHYL']='beforeEach',_0x52ea57[_0x5ef4bb(0x1cb)]=_0x5ef4bb(0x264);const _0x30b0f8=_0x52ea57;if(!_0x33cd1a||!_0x33cd1a[_0x5ef4bb(0x1de)])return;_0x33cd1a[_0x5ef4bb(0x1de)][_0x5ef4bb(0x203)]['forEach'](_0x47ffb5=>{const _0x4a0085=_0x5ef4bb;[_0x30b0f8[_0x4a0085(0x27a)],_0x30b0f8[_0x4a0085(0x1cb)]][_0x4a0085(0x243)](_0x47ffb5[_0x4a0085(0x26f)])&&_0x47ffb5['hookAnalyticsId']&&(_0x47ffb5[_0x4a0085(0x1b1)]=null);}),this[_0x5ef4bb(0x23e)](_0x33cd1a[_0x5ef4bb(0x1de)]);};['isJestInternalHook'](_0x53a20e){const _0x2b993b=a23_0x7fb440,_0x36c923={'esmyi':_0x2b993b(0x1a0),'gSIsN':function(_0x24a2bb,_0x42cae8){return _0x24a2bb(_0x42cae8);},'IEqxu':function(_0x472eb0,_0xf860f){return _0x472eb0+_0xf860f;},'gcEuy':_0x2b993b(0x1da)};try{const _0x39690e=this[_0x2b993b(0x1ba)](_0x53a20e);return _0x39690e[_0x2b993b(0x243)](_0x36c923[_0x2b993b(0x251)]);}catch(_0x26008c){_0x36c923[_0x2b993b(0x229)](debug,_0x36c923[_0x2b993b(0x260)](_0x36c923[_0x2b993b(0x254)],_0x26008c));}return![];}[a23_0x7fb440(0x1d3)]=_0x189244=>{const _0xca822=a23_0x7fb440,_0x57bbfc={'ajaoT':function(_0x1ee594,_0x4598a5){return _0x1ee594(_0x4598a5);}};if(!_0x189244||!_0x189244[_0xca822(0x1de)])return[];const _0x2109de=[];return _0x189244['parent'][_0xca822(0x203)][_0xca822(0x28f)](_0x39b751=>{const _0x1d853a=_0xca822;_0x39b751['hookAnalyticsId']&&!_0x57bbfc[_0x1d853a(0x26d)](isInternalHook,_0x39b751['fn'])&&!this[_0x1d853a(0x191)](_0x39b751)&&_0x2109de[_0x1d853a(0x1fb)](_0x39b751[_0x1d853a(0x1b1)]);}),[..._0x2109de,...this[_0xca822(0x1d3)](_0x189244[_0xca822(0x1de)])];};},[a23_0x7fb440(0x208),a23_0x7fb440(0x1f3),a23_0x7fb440(0x1b6),a23_0x7fb440(0x293),a23_0x7fb440(0x284),a23_0x7fb440(0x24a),a23_0x7fb440(0x1fa),a23_0x7fb440(0x25c),a23_0x7fb440(0x22e),'getHierarchy','getRootParentFile','mapTestHooks',a23_0x7fb440(0x1dc),'getHooksForTest',a23_0x7fb440(0x21f)],'ObservabilityReporter');function a23_0x519d(){const _0x88a130=['registerListeners','__jestCurrentTestIdentifier','LogCreated','uMnZf','prefixTestPath','KlCmx','EEcXi','appendTestItemLog','push','5|0|1|6|3|4|2','finished_at','root','CBTSessionCreated','testObservability','_testResults','zjiXz','hooks','started_at','ruskf','passed','_paths','getTestEnv','sep','126UgXgwZ','862824QoomEM','javascript','test_run_uuid','QCjMq','result','\x20with\x20error\x20:\x20','failed',',\x20testIdentifier=','@playwright/test','resolveInstance','clkuR','_testEnv','getTestFramework','failure','hook_type','RZzfl','name','mfDaM','ludMK','_gitConfigured','configureGit','mYQjy','uZTYg','testAnalyticsId','split','28XDdnXy','config','GdhpJ','failed\x20to\x20get\x20root\x20parent\x20file\x20','XcMoh','gSIsN','../../utils/constants','getPackageVersion','../../../helpers/test-observability/error-handler','reverse','analyticsResult','360xUwnQh','failure_reason_expanded','getActiveHook','0|1|4|3|2','NeApR','getInstance','YquxK','XOUpJ','uploadEventData','length','PAHFP','RdgXQ','AFTER_EACH','468970fmZAta','getFileName','mapTestHooks','TEST_REPORTING_ANALYTICS','BEFORE_ALL','pid','QIUkc','includes','jmGYG','mZXCF','GPVVH','6StPjBe',',\x20totalLogs:\x20','uuid','findGitConfig','HPKsg','puppeteer','EqFTg','getTime','jDYYg','bs:addPlatformDetails:','esmyi','isCliEnabled','3966fgreUI','gcEuy','SXuBd','getTestUUID','MoARS','qSwJW','asyncError','uSECs','test','appendTestPlatform','EYxOK','aViTC','../../../helpers/test-observability/sessionHandler','IEqxu','hook_run_uuid','duration',':hookAnalyticsId','afterEach','sQKZu','\x22\x20hook\x20for\x20\x22',':testAnalyticsId','JNGVo','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','26GpOORV','location_prefix','hook_data','ajaoT','WwXxe','type','toString','currentHook','oiEwo','logs','addMultipleEntries','testIdentifier','Cwcnj','Hcmzf','File\x20path\x20could\x20not\x20be\x20found','312280cqlMBR','fjHYL','current_test','./test-details','JJufG','lkJvn','unknown','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','generic','NvxQs','wPNzh','sendTestRunEvent','[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20','skipped','HJLzp','../../v2/framework/constants/testFrameworkConstants','AGWLk','../../../helpers/testhub/utils','pending','util','apply','HookRunFinished','forEach','ZBlSn','QMKvw','\x20to\x20log','getName','KEY_LOGS','getAllData','hook_run','isJestInternalHook','http_response','BGAIa','join','dirname','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','ajTBw','GnIJD','14813821OuTsYZ','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','event_type','cTXaA','TestRunStarted','relative','state','jest-circus','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','failure_backtrace','js-','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','removeAllListeners','file','pPZci','path','HqJAJ','stack-trace','now','backtrace','__workerDetails',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','test_identifier','STATE_PASSED','hookAnalyticsId','retryOf','getHierarchy','RuLFJ','exports','testStarted','lfZug','12931176qOOeZN','POST','getRootParentFile','134820oWbctG','zpxXc','bs:addLog:','test_run','hookUUID','SMOQX','match','BEFORE_EACH','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=','PbMGG','dTAfa','errorsDetailed','LWxwn','toISOString','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','DgUlz','BqAOm','lbmIQ','ROOT_DESCRIBE_BLOCK','MSLTw','incoA',',\x20logKind=','.git','wFUVo','getHooksForTest','bind','beforeAll','../../v2/browserstackCLI','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','XRdaB','current_hook','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID=','resetTestHooks','STATE_FAILED','parent','markedStatus','failure_reason','beforeEach','Pqdkt','../../v2/state/testFrameworkState','XCLvZ','bTjQR','../../../helpers/helper','afterAll','isRunning','4724rINBsw','setTestUUID','get','TEST','_gitConfigPath','title','puppeteer-core','statSync','QJzSw','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'];a23_0x519d=function(){return _0x88a130;};return a23_0x519d();}
1
+ const a23_0x58aa17=a23_0x1a11;(function(_0xe4a5fe,_0x1ca871){const _0x173ef2=a23_0x1a11,_0x357cfd=_0xe4a5fe();while(!![]){try{const _0xd8c7ac=-parseInt(_0x173ef2(0xf8))/0x1*(-parseInt(_0x173ef2(0x130))/0x2)+parseInt(_0x173ef2(0xb6))/0x3*(-parseInt(_0x173ef2(0x144))/0x4)+-parseInt(_0x173ef2(0xeb))/0x5*(-parseInt(_0x173ef2(0x15e))/0x6)+parseInt(_0x173ef2(0x12b))/0x7*(-parseInt(_0x173ef2(0x182))/0x8)+parseInt(_0x173ef2(0x149))/0x9*(-parseInt(_0x173ef2(0x1ad))/0xa)+-parseInt(_0x173ef2(0xbd))/0xb+parseInt(_0x173ef2(0x160))/0xc*(parseInt(_0x173ef2(0xbe))/0xd);if(_0xd8c7ac===_0x1ca871)break;else _0x357cfd['push'](_0x357cfd['shift']());}catch(_0x5b94e2){_0x357cfd['push'](_0x357cfd['shift']());}}}(a23_0xf332,0x3fe01));function a23_0xf332(){const _0x1e779c=['TestRunStarted','../../../helpers/test-observability/error-handler','jjkto','root','JCYke','_gitConfigured','../../../helpers/test-observability/utils','js-','TestRunFinished','bPMUd','getTestFramework','XfAHY','TjWWt',':hookAnalyticsId','hook_run','Jbyys','16nufliy','getTestUUID','appendTestPlatform','sendTestRunEvent','../../v2/framework/constants/testFrameworkConstants','UUwgI','dwqFj','_testResults','path','_paths','CawYM','isJestInternalHook','GDjMj','sZyqw','sGVCO','failure','inspect','getHooksForTest','getActiveHook','bs:addLog:','lBbiC',',\x20testIdentifier=','current_test','gwJOL','@playwright/test','hook_data','WOMTy','[obsReporter]\x20appendTestItemLog:\x20Attached\x20test_identifier=','.git','sep','testObservability','kOVUi','Uwwdq','dNfGh','OQBrg','SGwSC','TEST_REPORTING_ANALYTICS','Dyfzs','IfrAE','event_type','hookAnalyticsId','fjgKB','WXlrW','20ySqjIU','test_identifier','addMultipleEntries','494742RjcRzS','errorsDetailed','fyluC','jest-circus','getPackageVersion','match','relative','1142427YDjyPZ','1100853vJnjaO','QAZWc','duration','mBlWF','_gitConfigPath','type','javascript','findGitConfig','tqrxk',',\x20logKind=','etNTZ','POST','[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20-\x20hookUUID=','oyxwl','started_at','afterAll','ctmRz','fRPdp','GGUeM','resetTestHooks','PWUrP','cwd','unknown','forEach','mapTestHooks','isRunning','failed','uuid','exports','test_run_uuid','PtJoz','sIXTP','expanded','../../v2/browserstackCLI','YWewY','test_run','getName','pid','QLIKh','resolveInstance','UPQya','getInstance','failed\x20to\x20get\x20root\x20parent\x20file\x20','vDpHt','currentHook','115sUgHwo','getFileName','sZeBa','_currentRetry','CCwGY',':testAnalyticsId','dGaGR','SYsRf','Cftlo','hook_run_uuid','join','location_prefix','smnay','15LspcXr','VEeFu','asyncError','../../../../package.json','retryOf','ObservabilityReporter','dJlWK','../../../helpers/helper','hKKKU','BEFORE_EACH','TEST','uuRnt','analyticsResult','zEDyK','STATE_PASSED','hook_failure','AFTER_ALL','registerListeners','uuPqM','statSync',',\x20totalLogs:\x20','puppeteer-core','VGgFY','generic','MyfUr','\x20with\x20error\x20:\x20','hookUUID','afterEach','MGncR','hooks','AufhF','testIdentifier','IlcVB','JEST','KEY_LOGS',':jest-','bind','aduKh','logs','rdmlX','cIGKL','removeAllListeners','bs:addPlatformDetails:','__workerDetails','testStarted','getRootParentFile','parse','STATE_PENDING','STATE_FAILED','KZfmB','pending','647311WjnGTa','zwlPO','Pckfj','toString','ZHEfe','41556TEXKgp','hkoxB','apply','dirname','../../../helpers/testhub/utils','parent','uploadEventData','length','includes','hdOxv','plxdz','stack-trace','toISOString','SPMxm','backtrace','TIpSX','[obsReporter]\x20appendTestItemLog:\x20Using\x20testIdentifier\x20from\x20global.__jestCurrentTestIdentifier:\x20','split',',\x20falling\x20back\x20to\x20Jest+Selenium\x20flow','getHierarchy','8lgxtLK','beforeEach','markedStatus','reverse','vmYIb','224685pkXVXr','current_hook','testAnalyticsId','err','result','passed','EcRPk','get','tcMNE','config','0|4|2|3|1','_testEnv','RgVbN','[obsReporter]\x20appendTestItemLog:\x20Stored\x20log\x20in\x20instance.data[KEY_LOGS]\x20for\x20testIdentifier=','failure_reason_expanded','configureGit','push','HookRunFinished','setTestUUID','DUOgk','../../../helpers/test-observability/sessionHandler','95082dYRwOq','./test-details','36DGGNeU','getTestEnv','hook_type','uqtvX','[obsReporter]\x20appendTestItemLog:\x20Attached\x20hook_run_uuid=','WrHfV','getTime','name','[obsReporter]\x20appendTestItemLog:\x20Error\x20in\x20Jest+Playwright\x20flow\x20detection:\x20','fZkhH','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','jEuoI','test','[obsReporter]\x20appendTestItemLog:\x20Instance\x20not\x20available\x20or\x20addMultipleEntries\x20not\x20available\x20for\x20testIdentifier=','nsbjW','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','Iltlv','CBTSessionCreated'];a23_0xf332=function(){return _0x1e779c;};return a23_0xf332();}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a23_0x58aa17(0x178)),SessionHandler=require(a23_0x58aa17(0x15d)),{v4:uuidv4}=require('uuid'),{name,version}=require(a23_0x58aa17(0xfb)),stackTrace=require(a23_0x58aa17(0x13b)),path=require(a23_0x58aa17(0x18a)),fs=require('fs'),TestDetails=require(a23_0x58aa17(0x15f)),{FRAMEWORKS}=require('../../utils/constants'),{o11yClassErrorHandler}=require(a23_0x58aa17(0x173)),{getGitMetaData}=require(a23_0x58aa17(0xff)),helper=require(a23_0x58aa17(0xff)),{appendTesthubParams,setCurrentTestData}=require(a23_0x58aa17(0x134)),constants=require('../../utils/constants'),BrowserstackCLI=require(a23_0x58aa17(0xdf)),a23_0x222788={};a23_0x222788[a23_0x58aa17(0x106)]=a23_0x58aa17(0x14e),a23_0x222788[a23_0x58aa17(0x128)]=a23_0x58aa17(0xd8),a23_0x222788[a23_0x58aa17(0x127)]=a23_0x58aa17(0x12a);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a23_0x222788,a23_0x4fd4e7={};a23_0x4fd4e7['beforeAll']='BEFORE_ALL',a23_0x4fd4e7[a23_0x58aa17(0xcd)]=a23_0x58aa17(0x108),a23_0x4fd4e7[a23_0x58aa17(0x145)]=a23_0x58aa17(0x101),a23_0x4fd4e7[a23_0x58aa17(0x113)]='AFTER_EACH';const HOOK_TYPES_MAP=a23_0x4fd4e7;function a23_0x1a11(_0x22a7cb,_0x2bb266){const _0xf3327f=a23_0xf332();return a23_0x1a11=function(_0x1a1185,_0xf7f3){_0x1a1185=_0x1a1185-0xb5;let _0x3f988c=_0xf3327f[_0x1a1185];return _0x3f988c;},a23_0x1a11(_0x22a7cb,_0x2bb266);}module[a23_0x58aa17(0xda)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x1d8e9a=a23_0x58aa17,_0x12148b={'FEFIl':'4|3|1|2|6|0|5','GtFQD':function(_0x161bc9){return _0x161bc9();}},_0x3102dc=_0x12148b['FEFIl']['split']('|');let _0x363ce4=0x0;while(!![]){switch(_0x3102dc[_0x363ce4++]){case'0':this['_gitConfigured']=![];continue;case'1':this[_0x1d8e9a(0x154)]=this[_0x1d8e9a(0x161)]();continue;case'2':this[_0x1d8e9a(0x18b)]=new PathHelper({'cwd':process[_0x1d8e9a(0xd3)]()},this[_0x1d8e9a(0x154)][_0x1d8e9a(0xf6)]);continue;case'3':this['_testResults']=[];continue;case'4':this[_0x1d8e9a(0x1a0)]=_0x12148b['GtFQD'](isTestObservabilitySession);continue;case'5':this[_0x1d8e9a(0xc2)]=null;continue;case'6':this[_0x1d8e9a(0x19b)]=[];continue;}break;}}['getTestEnv']=()=>{const _0x39028b=a23_0x58aa17,_0x11d7cf={'uuPqM':_0x39028b(0x10f),'oyxwl':function(_0x4bd58b){return _0x4bd58b();}};return{'ci':_0x11d7cf[_0x39028b(0x10a)],'key':_0x11d7cf[_0x39028b(0xcb)](uuidv4),'version':version,'collector':_0x39028b(0x179)+name};};[a23_0x58aa17(0x109)](){const _0x2f48c6=a23_0x58aa17;process['removeAllListeners'](_0x2f48c6(0x195)+process[_0x2f48c6(0xe3)]),process['on'](_0x2f48c6(0x195)+process['pid'],this['appendTestItemLog'][_0x2f48c6(0x11c)](this)),process[_0x2f48c6(0x121)](_0x2f48c6(0x122)+process['pid']),process['on'](_0x2f48c6(0x122)+process[_0x2f48c6(0xe3)],this[_0x2f48c6(0x184)][_0x2f48c6(0x11c)](this));}[a23_0x58aa17(0x124)]=async _0x17fa58=>{const _0x370a6d=a23_0x58aa17,_0x27d7aa={'hKKKU':function(_0x3ce9d2,_0x34474d){return _0x3ce9d2>_0x34474d;},'sZeBa':function(_0x855026,_0x24e95a){return _0x855026===_0x24e95a;},'sGVCO':_0x370a6d(0x172),'smnay':function(_0x44afe0,_0x419d2d){return _0x44afe0(_0x419d2d);}};try{const _0x4fb20c=this[_0x370a6d(0x198)];this[_0x370a6d(0x198)]=_0x17fa58,_0x17fa58['retryOf']=null,_0x17fa58[_0x370a6d(0x14b)]=TestDetails[_0x370a6d(0x15b)](process['pid']+_0x370a6d(0xf0)),_0x17fa58[_0x370a6d(0xcc)]=new Date()[_0x370a6d(0x13c)](),_0x27d7aa[_0x370a6d(0x100)](_0x17fa58[_0x370a6d(0xee)],0x0)&&_0x4fb20c&&_0x27d7aa[_0x370a6d(0xed)](_0x4fb20c['title'],_0x17fa58['title'])?(_0x17fa58['retryOf']=_0x4fb20c[_0x370a6d(0x14b)],await this[_0x370a6d(0x185)](_0x17fa58,undefined,![],_0x27d7aa[_0x370a6d(0x190)]),_0x4fb20c['state']=STATE_FAILED,await this[_0x370a6d(0x185)](_0x4fb20c,undefined,!![])):await this[_0x370a6d(0x185)](_0x17fa58,undefined,![],_0x27d7aa[_0x370a6d(0x190)]);}catch(_0x51a9c3){_0x27d7aa[_0x370a6d(0xf7)](debug,_0x370a6d(0x16a)+_0x51a9c3);}};[a23_0x58aa17(0xe2)](_0x280f64){const _0x17037e=a23_0x58aa17,_0x3fe06d={};_0x3fe06d['AufhF']=function(_0x307f48,_0x1200a9){return _0x307f48!==_0x1200a9;},_0x3fe06d[_0x17037e(0xdd)]=_0x17037e(0x16c);const _0x4b9312=_0x3fe06d;if(_0x4b9312[_0x17037e(0x116)](_0x280f64['type'],_0x4b9312[_0x17037e(0xdd)]))return'\x22'+_0x280f64[_0x17037e(0xc3)]+'\x22\x20hook\x20for\x20\x22'+(_0x280f64['parent']&&_0x280f64['parent']['name'])+'\x22';return _0x280f64['name'];}[a23_0x58aa17(0x185)]=async(_0x1a85d2,_0x116fee=undefined,_0x1b3ddb=![],_0x200640=a23_0x58aa17(0x17a))=>{const _0x589eb9=a23_0x58aa17,_0x1d434e={'GDjMj':_0x589eb9(0x153),'ctmRz':_0x589eb9(0x180),'mBlWF':_0x589eb9(0x191),'tqrxk':_0x589eb9(0xe1),'WXlrW':_0x589eb9(0x14d),'dGaGR':'failure_reason','vDpHt':'failure_type','CCwGY':function(_0x4f27c7,_0x5b7553){return _0x4f27c7(_0x5b7553);},'aduKh':'jest-circus','SGwSC':'util','WOMTy':function(_0xc9127f,_0x3d1373){return _0xc9127f!==_0x3d1373;},'SYsRf':'test','fyluC':_0x589eb9(0x14c),'OQBrg':'File\x20path\x20could\x20not\x20be\x20found','iJxsa':_0x589eb9(0xc4),'YWewY':function(_0x5cddee,_0x58b496){return _0x5cddee===_0x58b496;},'cIGKL':'TestRunSkipped','VGgFY':'skipped','etNTZ':function(_0xa3c34f,_0x2cd8f8){return _0xa3c34f>_0x2cd8f8;},'zEDyK':_0x589eb9(0xd8),'Jbyys':'passed','nsbjW':function(_0x34c32a,_0x5c8055){return _0x34c32a-_0x5c8055;},'fjgKB':function(_0x197069,_0x531bdb){return _0x197069(_0x531bdb);},'TIpSX':function(_0x2085bf,_0x34390d,_0x513dd1,_0x51b8ed,_0x17c661){return _0x2085bf(_0x34390d,_0x513dd1,_0x51b8ed,_0x17c661);},'IfrAE':_0x589eb9(0xcc),'Dyfzs':'finished_at','LWLnT':_0x589eb9(0x15a),'LdqXB':function(_0x4311bf,_0x1c486b){return _0x4311bf!==_0x1c486b;},'PWUrP':'failure_backtrace','DUOgk':_0x589eb9(0x13e),'IlcVB':_0x589eb9(0x157),'TjWWt':_0x589eb9(0xde),'MyfUr':_0x589eb9(0x17a),'JCYke':_0x589eb9(0x162),'plxdz':'beforeAll','lBbiC':function(_0x318d37,_0x3cb535,_0xfa0f80){return _0x318d37(_0x3cb535,_0xfa0f80);}};try{if(_0x1a85d2['fn']&&_0x1a85d2['fn'][_0x589eb9(0x12e)]()['match'](/browserstack internal helper hook/))return;await this[_0x589eb9(0x158)]();let _0x38431e;try{_0x38431e=this[_0x589eb9(0x125)](_0x1a85d2);}catch(_0x571e19){_0x1d434e[_0x589eb9(0xef)](debug,_0x589eb9(0xe8)+_0x571e19),_0x38431e=null;}if(_0x38431e[_0x589eb9(0x138)](_0x1d434e[_0x589eb9(0x11d)]))return;const _0x554efd=_0x1d434e[_0x589eb9(0xef)](require,_0x1d434e[_0x589eb9(0x1a5)]);let _0x3ce1e3=[];if(_0x1d434e[_0x589eb9(0x19c)](_0x1a85d2['errorsDetailed'],undefined))_0x3ce1e3=[_0x1a85d2['errorsDetailed'],_0x1d434e[_0x589eb9(0xf2)]];else _0x1d434e[_0x589eb9(0x19c)](_0x116fee,undefined)?_0x3ce1e3=[_0x116fee,_0x1d434e[_0x589eb9(0xb8)]]:_0x3ce1e3=[];const _0x53fde0=_0x1d434e[_0x589eb9(0x19c)](_0x1a85d2['errorsDetailed'],undefined)?_0x554efd[_0x589eb9(0x192)](_0x1a85d2[_0x589eb9(0xb7)][0x0]):_0x1d434e[_0x589eb9(0x19c)](_0x116fee,undefined)?_0x116fee['toString']():undefined,_0x29531d=_0x38431e?this[_0x589eb9(0x18b)]['prefixTestPath'](this[_0x589eb9(0x125)](_0x1a85d2)):_0x1d434e[_0x589eb9(0x1a4)],_0x506537={'framework':FRAMEWORKS[_0x589eb9(0x119)],'uuid':_0x1a85d2['testAnalyticsId']||_0x1a85d2[_0x589eb9(0x1aa)],'name':this['getName'](_0x1a85d2),'body':{'lang':_0x1d434e['iJxsa'],'code':_0x1a85d2['fn'][_0x589eb9(0x12e)]()},'scopes':this[_0x589eb9(0x143)](_0x1a85d2),'file_name':_0x29531d,'vc_filepath':this[_0x589eb9(0xc2)]&&_0x38431e?path[_0x589eb9(0xbc)](this[_0x589eb9(0xc2)],_0x38431e):null,'location':_0x29531d,'result':_0x1d434e['YWewY'](_0x200640,_0x1d434e['cIGKL'])?_0x1d434e[_0x589eb9(0x10e)]:this[_0x589eb9(0x104)](_0x1a85d2['errorsDetailed']&&_0x1d434e[_0x589eb9(0xc8)](_0x1a85d2[_0x589eb9(0xb7)][_0x589eb9(0x137)],0x0)?_0x1d434e['zEDyK']:_0x1d434e[_0x589eb9(0x181)]),'failure_reason':_0x53fde0,'duration_in_ms':_0x1a85d2[_0x589eb9(0xc0)]||(_0x200640[_0x589eb9(0xbb)](/Finished/)||_0x200640['match'](/Skipped/)?_0x1d434e[_0x589eb9(0x16e)](Date['now'](),new Date(_0x1a85d2[_0x589eb9(0xcc)])[_0x589eb9(0x166)]()):null),'started_at':_0x1a85d2['started_at'],'finished_at':_0x200640['match'](/Finished/)||_0x200640[_0x589eb9(0xbb)](/Skipped/)?new Date()[_0x589eb9(0x13c)]():null,'failure':failureData[_0x589eb9(0x132)](null,_0x3ce1e3),'failure_type':!_0x53fde0?null:_0x1d434e[_0x589eb9(0x1ab)](getFailureType,_0x53fde0),'retry_of':_0x1a85d2[_0x589eb9(0xfc)]};_0x1d434e[_0x589eb9(0x13f)](appendTesthubParams,_0x506537,_0x200640,_0x1a85d2,FRAMEWORKS[_0x589eb9(0x119)]);_0x1d434e[_0x589eb9(0xe0)](_0x200640,_0x1d434e[_0x589eb9(0x120)])&&!_0x506537[_0x1d434e[_0x589eb9(0x1a8)]]&&(_0x506537[_0x1d434e['IfrAE']]=_0x506537[_0x1d434e[_0x589eb9(0x1a7)]]);if(_0x200640['match'](/HookRun/))[_0x506537[_0x589eb9(0x162)],_0x506537[_0x589eb9(0x167)]]=[_0x1a85d2[_0x589eb9(0xc3)],this[_0x589eb9(0xe2)](_0x1a85d2)],_0x1d434e[_0x589eb9(0xe0)](_0x200640,_0x1d434e['LWLnT'])&&(_0x1d434e['LdqXB'](_0x506537['result'],_0x1d434e[_0x589eb9(0x105)])&&(_0x506537[_0x589eb9(0x14d)]=_0x1d434e[_0x589eb9(0x181)]));else _0x200640[_0x589eb9(0xbb)](/TestRun/)&&this[_0x589eb9(0xd6)](_0x1a85d2);const _0x2674bc=_0x506537[_0x1d434e[_0x589eb9(0xc1)]][0x0];_0x2674bc&&(_0x506537[_0x1d434e[_0x589eb9(0xd2)]]=_0x2674bc[_0x1d434e[_0x589eb9(0x15c)]],_0x506537[_0x1d434e[_0x589eb9(0x118)]]=_0x2674bc[_0x1d434e[_0x589eb9(0x17e)]]);[_0x1d434e[_0x589eb9(0x110)],_0x1d434e['cIGKL']][_0x589eb9(0x138)](_0x200640)&&(this[_0x589eb9(0x189)][_0x589eb9(0x159)](_0x506537),_0x506537[_0x589eb9(0x115)]=this[_0x589eb9(0x193)](_0x1a85d2),this[_0x589eb9(0xd1)](_0x1a85d2));const _0x2d3b76={'event_type':_0x1d434e['YWewY'](_0x200640,_0x1d434e['cIGKL'])?_0x1d434e[_0x589eb9(0x110)]:_0x200640};_0x200640['match'](/HookRun/)?(_0x506537[_0x1d434e[_0x589eb9(0x176)]]=HOOK_TYPES_MAP[_0x506537[_0x1d434e[_0x589eb9(0x176)]]],_0x2d3b76[_0x1d434e[_0x589eb9(0xce)]]=_0x506537):_0x2d3b76[_0x1d434e[_0x589eb9(0xc6)]]=_0x506537;_0x1d434e[_0x589eb9(0xc8)](this[_0x589eb9(0x19b)][_0x589eb9(0x137)],0x0)&&[_0x1d434e[_0x589eb9(0x110)],_0x1d434e[_0x589eb9(0x120)]][_0x589eb9(0x138)](_0x200640)&&(this['hook_data'][_0x589eb9(0xd5)](async _0xe9a298=>{const _0x3c2e76=_0x589eb9,_0x56ff2e=_0x1d434e[_0x3c2e76(0x18e)][_0x3c2e76(0x141)]('|');let _0x464e25=0x0;while(!![]){switch(_0x56ff2e[_0x464e25++]){case'0':_0xe9a298[_0x1d434e[_0x3c2e76(0xce)]][_0x1d434e['mBlWF']]=_0x2d3b76[_0x1d434e[_0x3c2e76(0xc6)]][_0x1d434e[_0x3c2e76(0xc1)]];continue;case'1':await SessionHandler['uploadEventData'](_0xe9a298);continue;case'2':_0xe9a298[_0x1d434e['ctmRz']][_0x1d434e[_0x3c2e76(0x1ac)]]=_0x2d3b76[_0x1d434e[_0x3c2e76(0xc6)]][_0x1d434e[_0x3c2e76(0x1ac)]];continue;case'3':_0xe9a298[_0x1d434e[_0x3c2e76(0xce)]][_0x1d434e[_0x3c2e76(0xf1)]]=_0x2d3b76[_0x1d434e[_0x3c2e76(0xc6)]][_0x1d434e[_0x3c2e76(0xf1)]];continue;case'4':_0xe9a298[_0x1d434e[_0x3c2e76(0xce)]][_0x1d434e[_0x3c2e76(0xe9)]]=_0x2d3b76[_0x1d434e[_0x3c2e76(0xc6)]][_0x1d434e['vDpHt']];continue;}break;}}),this[_0x589eb9(0x19b)]=[]);if(_0x1d434e[_0x589eb9(0xe0)](this[_0x589eb9(0x107)],_0x1a85d2[_0x589eb9(0xc3)])){this['hook_data'][_0x589eb9(0x159)](_0x2d3b76);return;}_0x1d434e[_0x589eb9(0xe0)](this[_0x589eb9(0x107)],_0x1d434e[_0x589eb9(0x13a)])&&_0x2d3b76[_0x1d434e[_0x589eb9(0xc6)]]&&(_0x2d3b76[_0x1d434e[_0x589eb9(0xc6)]][_0x1d434e[_0x589eb9(0x1ac)]]=_0x1d434e[_0x589eb9(0x10e)],_0x2d3b76[_0x1d434e[_0x589eb9(0xc6)]][_0x1d434e['mBlWF']]=null,_0x2d3b76[_0x1d434e[_0x589eb9(0xc6)]][_0x1d434e['vDpHt']]=null),_0x1d434e[_0x589eb9(0x196)](setCurrentTestData,FRAMEWORKS[_0x589eb9(0x119)],_0x2d3b76),await SessionHandler[_0x589eb9(0x136)](_0x2d3b76);}catch(_0x583528){_0x1d434e[_0x589eb9(0x1ab)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x200640+_0x589eb9(0x111)+_0x583528);}};[a23_0x58aa17(0xc5)](_0x59a240){const _0x24ca10=a23_0x58aa17,_0x504ab0={};_0x504ab0[_0x24ca10(0x199)]=function(_0x1883cf,_0x2d781e){return _0x1883cf==_0x2d781e;},_0x504ab0[_0x24ca10(0x18f)]=function(_0x124e3f,_0x1d344d){return _0x124e3f===_0x1d344d;},_0x504ab0[_0x24ca10(0x11f)]=function(_0x455126,_0xd2fc28){return _0x455126===_0xd2fc28;},_0x504ab0[_0x24ca10(0x155)]=function(_0xd0f457,_0x29730d){return _0xd0f457===_0x29730d;},_0x504ab0[_0x24ca10(0x163)]=_0x24ca10(0x19e),_0x504ab0['fZkhH']=_0x24ca10(0x152);const _0x117171=_0x504ab0,_0xfad319=path[_0x24ca10(0x19f)];if(_0x117171[_0x24ca10(0x199)](_0x59a240,null)||_0x117171[_0x24ca10(0x18f)](_0x59a240,'')||_0x117171[_0x24ca10(0x11f)](_0x59a240,_0xfad319)||_0x117171[_0x24ca10(0x155)](_0x59a240,path[_0x24ca10(0x133)](_0x59a240)))return null;try{return fs[_0x24ca10(0x10b)](path[_0x24ca10(0xf5)](_0x59a240,_0x117171[_0x24ca10(0x163)],_0x117171[_0x24ca10(0x169)])),_0x59a240;}catch(_0x1b5d65){const _0x2887ce=path['dirname'](_0x59a240);return this[_0x24ca10(0xc5)](_0x2887ce);}}['appendTestItemLog']=async _0x4f0a5d=>{const _0x46bb0d=a23_0x58aa17,_0x21a4e3={'giwCX':_0x46bb0d(0x19a),'jjkto':_0x46bb0d(0x10d),'jEuoI':'puppeteer','Pckfj':function(_0x25191d,_0x2c6de4){return _0x25191d||_0x2c6de4;},'dJlWK':function(_0xa4fca7,_0x16d9ec){return _0xa4fca7(_0x16d9ec);},'DWPTZ':'[obsReporter]\x20appendTestItemLog:\x20Jest+Playwright/Puppeteer\x20CLI\x20flow\x20detected,\x20using\x20in-memory\x20storage','CawYM':function(_0x37bac9,_0x4908df){return _0x37bac9(_0x4908df);},'Iltlv':function(_0x1c75cf,_0xca4bdf){return _0x1c75cf&&_0xca4bdf;},'EcRPk':_0x46bb0d(0x11b),'zwlPO':function(_0x2a066f,_0x5e9d4b){return _0x2a066f(_0x5e9d4b);},'GGUeM':function(_0x5d1163,_0x508adc){return _0x5d1163(_0x508adc);},'UUwgI':'../../v2/state/testFrameworkState','hdOxv':'../../v2/state/hookState','SPMxm':_0x46bb0d(0x186),'XGVaw':function(_0x540b92,_0x50dfa6){return _0x540b92===_0x50dfa6;},'UPQya':'function','vmYIb':function(_0x4af6a4,_0x2337c1){return _0x4af6a4(_0x2337c1);},'MGncR':_0x46bb0d(0xd4),'fRPdp':function(_0x341b86,_0x5a9c74){return _0x341b86(_0x5a9c74);},'dNfGh':'LogCreated'};try{const _0x26852c=helper[_0x46bb0d(0xba)](_0x21a4e3['giwCX']),_0x27973a=!!_0x26852c,_0x2c8679=helper['getPackageVersion'](_0x21a4e3[_0x46bb0d(0x174)])||helper[_0x46bb0d(0xba)](_0x21a4e3[_0x46bb0d(0x16b)]),_0x5e2fe1=!!_0x2c8679,_0x375a28=BrowserstackCLI[_0x46bb0d(0xe7)]()['isCliEnabled']()&&BrowserstackCLI['getInstance']()[_0x46bb0d(0xd7)]();if(_0x21a4e3[_0x46bb0d(0x12d)](_0x27973a,_0x5e2fe1)&&_0x375a28){_0x21a4e3[_0x46bb0d(0xfe)](debug,_0x21a4e3['DWPTZ']);let _0x3d1f60=null,_0x3282c4=null;if(global[_0x46bb0d(0x123)]&&global[_0x46bb0d(0x123)][_0x46bb0d(0xea)]){const _0x217448=global[_0x46bb0d(0x123)][_0x46bb0d(0xea)];_0x3282c4=_0x217448[_0x46bb0d(0x112)],_0x3d1f60=_0x217448[_0x46bb0d(0x117)],_0x21a4e3[_0x46bb0d(0xfe)](debug,_0x46bb0d(0xca)+_0x3282c4+',\x20testIdentifier='+_0x3d1f60);}!_0x3d1f60&&(_0x3d1f60=global['__jestCurrentTestIdentifier'],_0x21a4e3[_0x46bb0d(0x18c)](debug,_0x46bb0d(0x140)+_0x3d1f60));if(_0x21a4e3[_0x46bb0d(0x170)](!_0x3282c4,_0x3d1f60)){const _0x474caf=BrowserstackCLI[_0x46bb0d(0xe7)]()[_0x46bb0d(0x17c)]();if(_0x474caf&&_0x474caf[_0x46bb0d(0x194)]){const _0x5e2fd3=_0x474caf['getActiveHook'](_0x3d1f60);_0x5e2fd3&&_0x5e2fd3[_0x46bb0d(0x112)]&&(_0x3282c4=_0x5e2fd3[_0x46bb0d(0x112)],_0x21a4e3[_0x46bb0d(0x18c)](debug,'[obsReporter]\x20appendTestItemLog:\x20Found\x20active\x20hook\x20from\x20JestTestFramework\x20-\x20hookUUID='+_0x3282c4+_0x46bb0d(0x197)+_0x3d1f60));}}if(!_0x3d1f60||!_0x3d1f60[_0x46bb0d(0x138)](_0x21a4e3[_0x46bb0d(0x14f)]))_0x21a4e3[_0x46bb0d(0x12c)](debug,'[obsReporter]\x20appendTestItemLog:\x20Invalid\x20or\x20missing\x20testIdentifier\x20format:\x20'+_0x3d1f60+_0x46bb0d(0x142));else{_0x3282c4&&(_0x4f0a5d[_0x46bb0d(0xf4)]=_0x3282c4,_0x21a4e3['zwlPO'](debug,_0x46bb0d(0x164)+_0x3282c4+'\x20to\x20log'));_0x4f0a5d[_0x46bb0d(0x1ae)]=_0x3d1f60,_0x21a4e3[_0x46bb0d(0xfe)](debug,_0x46bb0d(0x19d)+_0x3d1f60+'\x20to\x20log');const _0x516221=BrowserstackCLI[_0x46bb0d(0xe7)]()[_0x46bb0d(0x17c)]();if(_0x516221){const _0x50c6f1=_0x21a4e3[_0x46bb0d(0xd0)](require,_0x21a4e3[_0x46bb0d(0x187)]),_0x59d107=_0x21a4e3[_0x46bb0d(0xfe)](require,_0x21a4e3[_0x46bb0d(0x139)]),_0x970b8a=_0x21a4e3['zwlPO'](require,_0x21a4e3[_0x46bb0d(0x13d)]),_0x4e7e28=_0x516221[_0x46bb0d(0xe5)](_0x50c6f1[_0x46bb0d(0x102)],_0x59d107[_0x46bb0d(0xc9)]);if(_0x4e7e28&&_0x21a4e3['XGVaw'](typeof _0x4e7e28[_0x46bb0d(0xb5)],_0x21a4e3[_0x46bb0d(0xe6)])){const _0x8a35aa=_0x4e7e28['getAllData']()[_0x46bb0d(0x150)](_0x3d1f60)||{},_0x4eaa39=_0x8a35aa[_0x970b8a[_0x46bb0d(0x11a)]]||[],_0x5629f3=[..._0x4eaa39,_0x4f0a5d],_0x16cf6b={[_0x970b8a['KEY_LOGS']]:_0x5629f3},_0x1f0660={};_0x1f0660[_0x3d1f60]=_0x16cf6b,_0x4e7e28[_0x46bb0d(0xb5)](_0x1f0660),_0x21a4e3[_0x46bb0d(0x148)](debug,_0x46bb0d(0x156)+_0x3d1f60+_0x46bb0d(0xc7)+(_0x4f0a5d['kind']||_0x21a4e3[_0x46bb0d(0x114)])+_0x46bb0d(0x10c)+_0x5629f3[_0x46bb0d(0x137)]);return;}_0x21a4e3[_0x46bb0d(0x12c)](debug,_0x46bb0d(0x16d)+_0x3d1f60+_0x46bb0d(0x142));}}}}catch(_0x58464b){_0x21a4e3[_0x46bb0d(0xcf)](debug,_0x46bb0d(0x168)+_0x58464b+_0x46bb0d(0x142));}const _0x3b9915=TestDetails['getTestUUID'](process['pid']+':hookAnalyticsId'),_0x37f2a9=TestDetails[_0x46bb0d(0x183)](process[_0x46bb0d(0xe3)]+_0x46bb0d(0xf0));try{(_0x3b9915||this[_0x46bb0d(0x14a)]&&!this['current_hook'][_0x46bb0d(0x146)])&&(_0x4f0a5d['hook_run_uuid']=_0x3b9915);!_0x4f0a5d[_0x46bb0d(0xf4)]&&_0x37f2a9&&(_0x4f0a5d[_0x46bb0d(0xdb)]=_0x37f2a9);if(_0x4f0a5d[_0x46bb0d(0xf4)]||_0x4f0a5d[_0x46bb0d(0xdb)]){const _0x3b89f4={};_0x3b89f4[_0x46bb0d(0x1a9)]=_0x21a4e3[_0x46bb0d(0x1a3)],_0x3b89f4[_0x46bb0d(0x11e)]=[_0x4f0a5d],await SessionHandler['uploadEventData'](_0x3b89f4);}}catch(_0x53b0c0){_0x21a4e3[_0x46bb0d(0xd0)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x46bb0d(0x1a6)]+_0x46bb0d(0x111)+_0x53b0c0);}};[a23_0x58aa17(0x184)]=async _0x26077c=>{const _0x96f22b=a23_0x58aa17,_0x52545e={'uuRnt':'http_response','VEeFu':_0x96f22b(0x171),'tcMNE':function(_0x316470,_0x32ff9f){return _0x316470(_0x32ff9f);}};try{const _0x1bad91={'uuid':_0x26077c[_0x96f22b(0xd9)]||TestDetails[_0x96f22b(0x183)](process[_0x96f22b(0xe3)]+_0x96f22b(0xf0)),'integrations':_0x26077c[_0x52545e[_0x96f22b(0x103)]]},_0x2dd05e={};_0x2dd05e[_0x96f22b(0x1a9)]=_0x52545e[_0x96f22b(0xf9)],_0x2dd05e[_0x96f22b(0xe1)]=_0x1bad91,await SessionHandler[_0x96f22b(0x136)](_0x2dd05e);}catch(_0x14a604){_0x52545e[_0x96f22b(0x151)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x96f22b(0x111)+_0x14a604);}};async['configureGit'](){const _0x37ece2=a23_0x58aa17,_0x224bb5={'QLIKh':function(_0x99d2d0){return _0x99d2d0();}};if(this[_0x37ece2(0x177)])return this[_0x37ece2(0xc2)];const _0x2a5989=await _0x224bb5[_0x37ece2(0xe4)](getGitMetaData);_0x2a5989&&(this[_0x37ece2(0xc2)]=_0x2a5989[_0x37ece2(0x175)]),this[_0x37ece2(0x177)]=!![];}[a23_0x58aa17(0x104)](_0x153f7e){const _0x196b22=a23_0x58aa17,_0x53fec5={};_0x53fec5[_0x196b22(0x17d)]=_0x196b22(0x14e),_0x53fec5[_0x196b22(0xf3)]=_0x196b22(0x12a),_0x53fec5[_0x196b22(0x1a2)]=_0x196b22(0xd8);const _0x1f1471=_0x53fec5,_0x62251a={};return _0x62251a[STATE_PASSED]=_0x1f1471['XfAHY'],_0x62251a[STATE_PENDING]=_0x1f1471[_0x196b22(0xf3)],_0x62251a[STATE_FAILED]=_0x1f1471[_0x196b22(0x1a2)],_0x62251a[_0x153f7e];}['getHierarchy'](_0x3cfefe){const _0x355f0d=a23_0x58aa17,_0x50eca9={};_0x50eca9[_0x355f0d(0x17b)]=function(_0x69ef48,_0x5587d8){return _0x69ef48!==_0x5587d8;},_0x50eca9[_0x355f0d(0xbf)]='ROOT_DESCRIBE_BLOCK';const _0x55aaf8=_0x50eca9,_0x1ee317=[];if(_0x3cfefe&&_0x3cfefe[_0x355f0d(0x135)]){let _0x317a3c=_0x3cfefe[_0x355f0d(0x135)];while(_0x317a3c&&_0x55aaf8[_0x355f0d(0x17b)](_0x317a3c['name'],'')&&_0x55aaf8[_0x355f0d(0x17b)](_0x317a3c[_0x355f0d(0x167)],_0x55aaf8[_0x355f0d(0xbf)])){_0x1ee317[_0x355f0d(0x159)](_0x317a3c[_0x355f0d(0x167)]),_0x317a3c=_0x317a3c[_0x355f0d(0x135)];}}return _0x1ee317[_0x355f0d(0x147)](),_0x1ee317;}[a23_0x58aa17(0x125)]=_0x560605=>{const _0x4bd935=a23_0x58aa17;if(_0x560605['asyncError']){const _0x2ae68a=stackTrace[_0x4bd935(0x126)]['call'](stackTrace,_0x560605[_0x4bd935(0xfa)]);return _0x2ae68a[0x0][_0x4bd935(0xec)]();}if(_0x560605['file'])return _0x560605['file'];return null;};[a23_0x58aa17(0xd6)]=_0x151731=>{const _0x11c2e2=a23_0x58aa17;if(!_0x151731||!_0x151731[_0x11c2e2(0x135)])return;_0x151731[_0x11c2e2(0x135)][_0x11c2e2(0x115)]['forEach'](_0x7c483c=>{const _0x1e86e3=_0x11c2e2;!_0x7c483c[_0x1e86e3(0x1aa)]&&(_0x7c483c[_0x1e86e3(0x1aa)]=TestDetails[_0x1e86e3(0x15b)](process[_0x1e86e3(0xe3)]+_0x1e86e3(0x17f)));}),this[_0x11c2e2(0xd6)](_0x151731['parent']);};[a23_0x58aa17(0xd1)]=_0x3982d4=>{const _0x538780=a23_0x58aa17,_0x5bf866={};_0x5bf866[_0x538780(0x165)]=_0x538780(0x145),_0x5bf866[_0x538780(0x131)]=_0x538780(0x113);const _0xa0751e=_0x5bf866;if(!_0x3982d4||!_0x3982d4[_0x538780(0x135)])return;_0x3982d4[_0x538780(0x135)][_0x538780(0x115)][_0x538780(0xd5)](_0x3cb881=>{const _0x5fd97a=_0x538780;[_0xa0751e[_0x5fd97a(0x165)],_0xa0751e['hkoxB']]['includes'](_0x3cb881[_0x5fd97a(0xc3)])&&_0x3cb881['hookAnalyticsId']&&(_0x3cb881[_0x5fd97a(0x1aa)]=null);}),this[_0x538780(0xd6)](_0x3982d4[_0x538780(0x135)]);};[a23_0x58aa17(0x18d)](_0xd610da){const _0x281b6e=a23_0x58aa17,_0x33f40a={'dwqFj':_0x281b6e(0xb9),'kOVUi':function(_0x45ee76,_0x1f4acd){return _0x45ee76(_0x1f4acd);},'PtJoz':function(_0x18971a,_0x331d39){return _0x18971a+_0x331d39;},'KZfmB':_0x281b6e(0x16f)};try{const _0x3b8767=this[_0x281b6e(0x125)](_0xd610da);return _0x3b8767[_0x281b6e(0x138)](_0x33f40a[_0x281b6e(0x188)]);}catch(_0x3fd2c6){_0x33f40a[_0x281b6e(0x1a1)](debug,_0x33f40a[_0x281b6e(0xdc)](_0x33f40a[_0x281b6e(0x129)],_0x3fd2c6));}return![];}[a23_0x58aa17(0x193)]=_0x2e5485=>{const _0x5124ae=a23_0x58aa17,_0x52ea99={'ZHEfe':function(_0x306fe2,_0x4d61f3){return _0x306fe2(_0x4d61f3);}};if(!_0x2e5485||!_0x2e5485[_0x5124ae(0x135)])return[];const _0x565fa1=[];return _0x2e5485[_0x5124ae(0x135)][_0x5124ae(0x115)][_0x5124ae(0xd5)](_0x4797f0=>{const _0x160844=_0x5124ae;_0x4797f0['hookAnalyticsId']&&!_0x52ea99[_0x160844(0x12f)](isInternalHook,_0x4797f0['fn'])&&!this['isJestInternalHook'](_0x4797f0)&&_0x565fa1[_0x160844(0x159)](_0x4797f0[_0x160844(0x1aa)]);}),[..._0x565fa1,...this[_0x5124ae(0x193)](_0x2e5485[_0x5124ae(0x135)])];};},[a23_0x58aa17(0x161),a23_0x58aa17(0x109),a23_0x58aa17(0x124),a23_0x58aa17(0xe2),a23_0x58aa17(0x185),a23_0x58aa17(0xc5),'appendTestItemLog','appendTestPlatform','analyticsResult',a23_0x58aa17(0x143),a23_0x58aa17(0x125),a23_0x58aa17(0xd6),a23_0x58aa17(0xd1),a23_0x58aa17(0x193),a23_0x58aa17(0x158)],a23_0x58aa17(0xfd));
@@ -1 +1 @@
1
- const a24_0x2bc2bc=a24_0x5c16;function a24_0x5c16(_0x1c2907,_0x286bab){const _0x50979a=a24_0x5097();return a24_0x5c16=function(_0x5c16d8,_0x2186fa){_0x5c16d8=_0x5c16d8-0x73;let _0x570e35=_0x50979a[_0x5c16d8];return _0x570e35;},a24_0x5c16(_0x1c2907,_0x286bab);}function a24_0x5097(){const _0x5c6ef2=['mkdirSync','jest-o11y-','lGuEt','5726UgywUo','existsSync','stringify','7947738aezByV','.browserstack','tests','recursive','ENV_VAR','dirPath','fHQOB','parse','getTestUUID','exports','EFUxf','force','toString','unlinkSync','readFileSync','30780420WWZXbN','1050sldZlT','rTPIw','FAgHv','retry','rmSync','5192uzMDJS','getTestData','zjLFL','2317538Hwmbyb','writeFileSync','shutdown','_test','dkOar','BROWSERSTACK_TESTHUB_UUID','join','setTestUUID','getTestRunIdFromTestInfo','env','uuid','../../../helpers/helper','testData.json','1ooraQo','getFilePath','968zxsXai','homedir','21447wJFkzc','742310WDONeu','15585IxMzeR','removeTestUUID','setup','EfrsZ','../../../helpers/testhub/constants'];a24_0x5097=function(){return _0x5c6ef2;};return a24_0x5097();}(function(_0x18a339,_0x443156){const _0x5adfb1=a24_0x5c16,_0x252d54=_0x18a339();while(!![]){try{const _0x559058=parseInt(_0x5adfb1(0x7f))/0x1*(-parseInt(_0x5adfb1(0xa8))/0x2)+-parseInt(_0x5adfb1(0x85))/0x3*(parseInt(_0x5adfb1(0x81))/0x4)+-parseInt(_0x5adfb1(0x84))/0x5+parseInt(_0x5adfb1(0x90))/0x6+-parseInt(_0x5adfb1(0x8d))/0x7*(parseInt(_0x5adfb1(0xa5))/0x8)+parseInt(_0x5adfb1(0x83))/0x9*(-parseInt(_0x5adfb1(0xa0))/0xa)+parseInt(_0x5adfb1(0x9f))/0xb;if(_0x559058===_0x443156)break;else _0x252d54['push'](_0x252d54['shift']());}catch(_0x5005e6){_0x252d54['push'](_0x252d54['shift']());}}}(a24_0x5097,0xbdc6d));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a24_0x2bc2bc(0x7c)),helper=require(a24_0x2bc2bc(0x7d)),testHubConstants=require(a24_0x2bc2bc(0x89));class TestDetails{static [a24_0x2bc2bc(0x92)]={};static ['dirPath']=path[a24_0x2bc2bc(0x78)](helper[a24_0x2bc2bc(0x82)](),a24_0x2bc2bc(0x91),'jest-o11y-'+process[a24_0x2bc2bc(0x7b)][testHubConstants[a24_0x2bc2bc(0x94)][a24_0x2bc2bc(0x77)]]);static[a24_0x2bc2bc(0x87)](){const _0x3047d4=a24_0x2bc2bc,_0x56ecf0={};_0x56ecf0[_0x3047d4(0xa1)]=_0x3047d4(0x91);const _0x200018=_0x56ecf0;this[_0x3047d4(0x95)]=path[_0x3047d4(0x78)](helper['homedir'](),_0x200018['rTPIw'],_0x3047d4(0x8b)+process[_0x3047d4(0x7b)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]),this[_0x3047d4(0x74)]();const _0xff4bf0={};_0xff4bf0[_0x3047d4(0x93)]=!![],fs[_0x3047d4(0x8a)](this[_0x3047d4(0x95)],_0xff4bf0);}static[a24_0x2bc2bc(0x80)](_0x47d57a){const _0x8289a=a24_0x2bc2bc,_0x5be50b={};_0x5be50b[_0x8289a(0xa7)]=function(_0x280198,_0x174159){return _0x280198+_0x174159;},_0x5be50b[_0x8289a(0x88)]='.json';const _0xb71386=_0x5be50b;return path['join'](this[_0x8289a(0x95)],_0xb71386['zjLFL'](_0x47d57a,_0xb71386[_0x8289a(0x88)]));}static[a24_0x2bc2bc(0x7a)](_0x3cbd35){const _0x2d07e2=a24_0x2bc2bc,_0x12ff26={};_0x12ff26[_0x2d07e2(0x8c)]=function(_0x400f0f,_0x300508){return _0x400f0f+_0x300508;},_0x12ff26[_0x2d07e2(0x96)]=function(_0x41a432,_0x297e3b){return _0x41a432+_0x297e3b;};const _0x13d1ab=_0x12ff26;return _0x13d1ab['lGuEt'](_0x13d1ab[_0x2d07e2(0x96)](_0x3cbd35[_0x2d07e2(0x75)]['id'],'-'),_0x3cbd35[_0x2d07e2(0xa3)]);}static[a24_0x2bc2bc(0x98)](_0x24ffe2){const _0x136df8=a24_0x2bc2bc,_0x4cb9c7=this[_0x136df8(0x80)](_0x24ffe2);if(fs[_0x136df8(0x8e)](_0x4cb9c7)){const _0xffe558=JSON[_0x136df8(0x97)](fs['readFileSync'](_0x4cb9c7)[_0x136df8(0x9c)]());return this[_0x136df8(0x92)][_0x24ffe2]=_0xffe558,this[_0x136df8(0x92)][_0x24ffe2]['uuid'];}}static['setTestData'](_0x61cc5){const _0x290ddb=a24_0x2bc2bc,_0x2fbf82={};_0x2fbf82[_0x290ddb(0x9a)]=_0x290ddb(0x7e);const _0x2a7d95=_0x2fbf82,_0x159e37=path['join'](this[_0x290ddb(0x95)],_0x2a7d95[_0x290ddb(0x9a)]);fs['writeFileSync'](_0x159e37,JSON[_0x290ddb(0x8f)](_0x61cc5));}static[a24_0x2bc2bc(0xa6)](){const _0x527241=a24_0x2bc2bc,_0x40cc32={};_0x40cc32[_0x527241(0xa2)]='testData.json';const _0x46863e=_0x40cc32,_0xa5d0f3=path[_0x527241(0x78)](this['dirPath'],_0x46863e[_0x527241(0xa2)]);let _0x50db05={};try{return _0xa5d0f3&&fs[_0x527241(0x8e)](_0xa5d0f3)&&(_0x50db05=JSON[_0x527241(0x97)](fs[_0x527241(0x9e)](_0xa5d0f3)[_0x527241(0x9c)]())),_0x50db05;}catch(_0xc93e3c){return _0x50db05;}}static[a24_0x2bc2bc(0x79)](_0x1272c2){const _0x32c71f=a24_0x2bc2bc,_0x947d2={'dkOar':function(_0x2983e5){return _0x2983e5();}},_0x545f80=this[_0x32c71f(0x80)](_0x1272c2);return this[_0x32c71f(0x92)][_0x1272c2]={'uuid':_0x947d2[_0x32c71f(0x76)](uuidv4)},fs[_0x32c71f(0x73)](_0x545f80,JSON[_0x32c71f(0x8f)](this[_0x32c71f(0x92)][_0x1272c2])),this[_0x32c71f(0x92)][_0x1272c2]['uuid'];}static[a24_0x2bc2bc(0x86)](_0x1bc605){const _0xa1b5c0=a24_0x2bc2bc,_0x26e277=this['getFilePath'](_0x1bc605);_0x26e277&&(fs['existsSync'](_0x26e277)&&fs[_0xa1b5c0(0x9d)](_0x26e277));}static['shutdown'](){const _0x2f21e6=a24_0x2bc2bc,_0x378b04={};_0x378b04[_0x2f21e6(0x93)]=!![],_0x378b04[_0x2f21e6(0x9b)]=!![],fs[_0x2f21e6(0xa4)](this['dirPath'],_0x378b04);}}module[a24_0x2bc2bc(0x99)]=TestDetails;
1
+ const a24_0x51276a=a24_0x5b3c;(function(_0x45340a,_0x59b01d){const _0x525024=a24_0x5b3c,_0x5b502a=_0x45340a();while(!![]){try{const _0x56f795=parseInt(_0x525024(0x9f))/0x1+parseInt(_0x525024(0x90))/0x2+parseInt(_0x525024(0x83))/0x3*(parseInt(_0x525024(0xa5))/0x4)+parseInt(_0x525024(0x87))/0x5*(parseInt(_0x525024(0x92))/0x6)+parseInt(_0x525024(0xae))/0x7*(parseInt(_0x525024(0xaa))/0x8)+-parseInt(_0x525024(0xac))/0x9*(-parseInt(_0x525024(0xa6))/0xa)+parseInt(_0x525024(0x95))/0xb*(-parseInt(_0x525024(0x98))/0xc);if(_0x56f795===_0x59b01d)break;else _0x5b502a['push'](_0x5b502a['shift']());}catch(_0x156c34){_0x5b502a['push'](_0x5b502a['shift']());}}}(a24_0x3d9e,0x65a81));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a24_0x51276a(0x8f)),helper=require(a24_0x51276a(0x8b)),testHubConstants=require('../../../helpers/testhub/constants');function a24_0x5b3c(_0x293c68,_0x532588){const _0x3d9e7c=a24_0x3d9e();return a24_0x5b3c=function(_0x5b3cc6,_0x2d4947){_0x5b3cc6=_0x5b3cc6-0x82;let _0x1f9507=_0x3d9e7c[_0x5b3cc6];return _0x1f9507;},a24_0x5b3c(_0x293c68,_0x532588);}class TestDetails{static [a24_0x51276a(0xab)]={};static [a24_0x51276a(0xad)]=path[a24_0x51276a(0x9a)](helper['homedir'](),a24_0x51276a(0x8c),a24_0x51276a(0x8d)+process[a24_0x51276a(0x96)][testHubConstants[a24_0x51276a(0x89)][a24_0x51276a(0xb7)]]);static[a24_0x51276a(0x84)](){const _0x2bb3cf=a24_0x51276a,_0x2dffda={};_0x2dffda[_0x2bb3cf(0xa2)]=_0x2bb3cf(0x8c);const _0x34a9e4=_0x2dffda;this[_0x2bb3cf(0xad)]=path[_0x2bb3cf(0x9a)](helper[_0x2bb3cf(0x9e)](),_0x34a9e4[_0x2bb3cf(0xa2)],_0x2bb3cf(0x8d)+process[_0x2bb3cf(0x96)][testHubConstants[_0x2bb3cf(0x89)]['BROWSERSTACK_TESTHUB_UUID']]),this['shutdown']();const _0x1cb4d1={};_0x1cb4d1[_0x2bb3cf(0xb3)]=!![],fs[_0x2bb3cf(0xaf)](this['dirPath'],_0x1cb4d1);}static['getFilePath'](_0x2d3a93){const _0x57c195=a24_0x51276a,_0x118412={};_0x118412[_0x57c195(0xa1)]=function(_0x1725f0,_0x17e197){return _0x1725f0+_0x17e197;},_0x118412[_0x57c195(0x82)]=_0x57c195(0x94);const _0x418941=_0x118412;return path[_0x57c195(0x9a)](this[_0x57c195(0xad)],_0x418941[_0x57c195(0xa1)](_0x2d3a93,_0x418941[_0x57c195(0x82)]));}static[a24_0x51276a(0xb4)](_0x18af93){const _0x1963e2=a24_0x51276a,_0x556215={};_0x556215[_0x1963e2(0xb5)]=function(_0x4a9d29,_0x1cf60d){return _0x4a9d29+_0x1cf60d;},_0x556215[_0x1963e2(0x88)]=function(_0x51a647,_0x5bbf2e){return _0x51a647+_0x5bbf2e;};const _0x26be5a=_0x556215;return _0x26be5a[_0x1963e2(0xb5)](_0x26be5a[_0x1963e2(0x88)](_0x18af93[_0x1963e2(0xb1)]['id'],'-'),_0x18af93[_0x1963e2(0x9c)]);}static[a24_0x51276a(0x97)](_0x2abe1d){const _0x38c703=a24_0x51276a,_0xedca89=this[_0x38c703(0x8a)](_0x2abe1d);if(fs[_0x38c703(0xb0)](_0xedca89)){const _0x197c28=JSON['parse'](fs['readFileSync'](_0xedca89)[_0x38c703(0x8e)]());return this[_0x38c703(0xab)][_0x2abe1d]=_0x197c28,this['tests'][_0x2abe1d][_0x38c703(0x8f)];}}static['setTestData'](_0x1a080a){const _0x3f2983=a24_0x51276a,_0x371bf8={};_0x371bf8[_0x3f2983(0x85)]=_0x3f2983(0xa9);const _0x4d6e38=_0x371bf8,_0x31164a=path[_0x3f2983(0x9a)](this['dirPath'],_0x4d6e38[_0x3f2983(0x85)]);fs['writeFileSync'](_0x31164a,JSON['stringify'](_0x1a080a));}static[a24_0x51276a(0x99)](){const _0x18926f=a24_0x51276a,_0x3889f3={};_0x3889f3[_0x18926f(0x86)]='testData.json';const _0x57c15d=_0x3889f3,_0x477d5b=path[_0x18926f(0x9a)](this['dirPath'],_0x57c15d['StWJp']);let _0x4d2c06={};try{return _0x477d5b&&fs[_0x18926f(0xb0)](_0x477d5b)&&(_0x4d2c06=JSON[_0x18926f(0xa8)](fs[_0x18926f(0xa7)](_0x477d5b)[_0x18926f(0x8e)]())),_0x4d2c06;}catch(_0x47e42b){return _0x4d2c06;}}static[a24_0x51276a(0xa0)](_0x1fdd7b){const _0x3da78b=a24_0x51276a,_0x244080={'fdqLA':function(_0x172d80){return _0x172d80();}},_0x1f8c31=this[_0x3da78b(0x8a)](_0x1fdd7b);return this[_0x3da78b(0xab)][_0x1fdd7b]={'uuid':_0x244080[_0x3da78b(0xa4)](uuidv4)},fs['writeFileSync'](_0x1f8c31,JSON[_0x3da78b(0xb6)](this[_0x3da78b(0xab)][_0x1fdd7b])),this['tests'][_0x1fdd7b][_0x3da78b(0x8f)];}static[a24_0x51276a(0x9b)](_0x15a4ec){const _0x2ec7e1=a24_0x51276a,_0x9c65d7=this[_0x2ec7e1(0x8a)](_0x15a4ec);_0x9c65d7&&(fs[_0x2ec7e1(0xb0)](_0x9c65d7)&&fs[_0x2ec7e1(0xa3)](_0x9c65d7));}static[a24_0x51276a(0x91)](){const _0x584051=a24_0x51276a,_0x41c47d={};_0x41c47d[_0x584051(0xb3)]=!![],_0x41c47d[_0x584051(0xb2)]=!![],fs[_0x584051(0x93)](this[_0x584051(0xad)],_0x41c47d);}}module[a24_0x51276a(0x9d)]=TestDetails;function a24_0x3d9e(){const _0x1b0ba0=['5383bJeRjW','mkdirSync','existsSync','_test','force','recursive','getTestRunIdFromTestInfo','GtsBo','stringify','BROWSERSTACK_TESTHUB_UUID','DEDMT','10461IdWlGY','setup','gdiYy','StWJp','913935IbadRL','qdCrE','ENV_VAR','getFilePath','../../../helpers/helper','.browserstack','jest-o11y-','toString','uuid','1066532HGltiK','shutdown','6XQchZT','rmSync','.json','21419497CBMVNG','env','getTestUUID','12EDZlus','getTestData','join','removeTestUUID','retry','exports','homedir','793373sVkBsh','setTestUUID','XFvgw','dHQRh','unlinkSync','fdqLA','476UYethK','90LTUIIp','readFileSync','parse','testData.json','3576PQEjpc','tests','95490OAcwwY','dirPath'];a24_0x3d9e=function(){return _0x1b0ba0;};return a24_0x3d9e();}
@@ -1 +1 @@
1
- const a25_0x493aeb=a25_0x3625;(function(_0x230172,_0x60a2e9){const _0x50cd74=a25_0x3625,_0x3bfd48=_0x230172();while(!![]){try{const _0x1046bf=parseInt(_0x50cd74(0x1ff))/0x1+-parseInt(_0x50cd74(0x1f8))/0x2+parseInt(_0x50cd74(0x1c6))/0x3*(-parseInt(_0x50cd74(0x1c7))/0x4)+parseInt(_0x50cd74(0x1e6))/0x5*(parseInt(_0x50cd74(0x1ea))/0x6)+-parseInt(_0x50cd74(0x1c8))/0x7*(-parseInt(_0x50cd74(0x1ce))/0x8)+parseInt(_0x50cd74(0x1ef))/0x9+-parseInt(_0x50cd74(0x1fb))/0xa*(parseInt(_0x50cd74(0x1f5))/0xb);if(_0x1046bf===_0x60a2e9)break;else _0x3bfd48['push'](_0x3bfd48['shift']());}catch(_0x29a39a){_0x3bfd48['push'](_0x3bfd48['shift']());}}}(a25_0x2c6e,0x6a4ab));function a25_0x3625(_0x3733d3,_0x25953b){const _0x2c6e6d=a25_0x2c6e();return a25_0x3625=function(_0x3625d2,_0x121933){_0x3625d2=_0x3625d2-0x1c3;let _0x1f1faf=_0x2c6e6d[_0x3625d2];return _0x1f1faf;},a25_0x3625(_0x3733d3,_0x25953b);}function a25_0x2c6e(){const _0xb7c632=['../../helpers/logger','__skipSessionStatus','Error\x20initializing\x20Playwright\x20patching:\x20','303YKNqBp','14260vZuNiR','1889867SyvhAz','puppeteer-core','bootstrap','Patching\x20Playwright\x20for\x20Jest','Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','../../helpers/performance/performance-tester','24wAceCv','@playwright/test','isPageFixture','Jest-Playwright/Puppeteer\x20setup\x20completed','../../helpers/test-observability/error-handler','../utils/playwright-patcher','../../helpers/helper','winstonLogger','../../helpers/setKeepAlive','skipSessionName','Patching\x20Puppeteer\x20for\x20Jest','format','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','__workerDetails','isCliEnabled','currentTest','../../helpers/globals','setFrameworkDetail','Error\x20bootstrapping\x20BrowserstackCLI:\x20','../playwright/reporter/test-details.js','../utils/constants','../utils/puppeteer-patcher','../../helpers/test-observability/requestQueueHandler','../playwright/reporter/reporter.js','270470KyBIVD','getPackageVersion','PUPPETEER','jestConfig','6RCexLO','../v2/browserstackCLI','skipSessionStatus','../../helpers/test-observability/utils','debug','3844692bXHCde','util','../../helpers/testhub/constants.js','JEST','__skipSessionName','testInfo','439208zXuZcq','../v2/cliUtils','getInstance','956890sgrlCo','../../helpers/testhub/utils','initializePlaywrightPatching','10grPPZv','../../helpers/accessibility-automation/helper','PLAYWRIGHT','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','22584dLuaxS','workerInfo'];a25_0x2c6e=function(){return _0xb7c632;};return a25_0x2c6e();}const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require(a25_0x493aeb(0x1d4)),setKeepAlive=require(a25_0x493aeb(0x1d6)),util=require(a25_0x493aeb(0x1f0)),PerformanceTester=require(a25_0x493aeb(0x1cd)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),logger=require(a25_0x493aeb(0x1c3))[a25_0x493aeb(0x1d5)],{shouldProcessEventForTesthub}=require(a25_0x493aeb(0x1f9)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a25_0x493aeb(0x1ed)),TestDetails=require(a25_0x493aeb(0x1e1)),RequestQueueHandler=require(a25_0x493aeb(0x1e4)),{o11yErrorHandler}=require(a25_0x493aeb(0x1d2)),MyReporter=require(a25_0x493aeb(0x1e5)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a25_0x493aeb(0x1de)),testHubConstants=require(a25_0x493aeb(0x1f1)),{shouldScanTestForAccessibility}=require(a25_0x493aeb(0x1fc)),fs=require('fs'),a25_0x1d62ba={};a25_0x1d62ba[a25_0x493aeb(0x200)]=undefined,a25_0x1d62ba[a25_0x493aeb(0x1dd)]={},a25_0x1d62ba['o11ySyncDone']=![],a25_0x1d62ba['pwPage']=null,a25_0x1d62ba[a25_0x493aeb(0x1d0)]=![],a25_0x1d62ba[a25_0x493aeb(0x1dd)]['id']=undefined,a25_0x1d62ba[a25_0x493aeb(0x1dd)][a25_0x493aeb(0x1f4)]=undefined;const workerDetails=a25_0x1d62ba;global[a25_0x493aeb(0x1db)]=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global[a25_0x493aeb(0x1f3)]=isTrue(global[a25_0x493aeb(0x1e9)]?.[a25_0x493aeb(0x1d7)]),global['__skipSessionStatus']=isTrue(global[a25_0x493aeb(0x1e9)]?.[a25_0x493aeb(0x1ec)])):(global['__skipSessionName']=!![],global[a25_0x493aeb(0x1c4)]=!![]);const helper=require(a25_0x493aeb(0x1d4));if(helper['getPackageVersion'](a25_0x493aeb(0x1cf)))try{logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1cb)),playwrightPatcher=require(a25_0x493aeb(0x1d3)),playwrightPatcher[a25_0x493aeb(0x1fa)](global[a25_0x493aeb(0x1e9)]),logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1cc));}catch(a25_0x5b52d9){logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1c5)+util['format'](a25_0x5b52d9));}if(!playwrightPatcher&&(helper[a25_0x493aeb(0x1e7)]('puppeteer')||helper['getPackageVersion'](a25_0x493aeb(0x1c9))))try{logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1d8)),puppeteerPatcher=require(a25_0x493aeb(0x1e3)),puppeteerPatcher['initializePuppeteerPatching'](global['jestConfig']),logger['debug']('Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest');}catch(a25_0x2deb43){logger['debug']('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a25_0x2deb43));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require(a25_0x493aeb(0x1eb)),CLIUtils=require(a25_0x493aeb(0x1f6)),{FRAMEWORKS}=require(a25_0x493aeb(0x1e2));if(BrowserstackCLI[a25_0x493aeb(0x1f7)]()[a25_0x493aeb(0x1dc)]()){const automationFramework=playwrightPatcher?FRAMEWORKS[a25_0x493aeb(0x1fd)]:FRAMEWORKS[a25_0x493aeb(0x1e8)];logger['debug'](a25_0x493aeb(0x1fe)+automationFramework+')'),CLIUtils[a25_0x493aeb(0x1df)](FRAMEWORKS[a25_0x493aeb(0x1f2)],automationFramework),BrowserstackCLI['getInstance']()[a25_0x493aeb(0x1ca)]()['catch'](_0x1dd7b4=>{const _0xfe2895=a25_0x493aeb;logger['debug'](_0xfe2895(0x1e0)+util[_0xfe2895(0x1d9)](_0x1dd7b4));});}}catch(a25_0x559bb1){logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1da)+util[a25_0x493aeb(0x1d9)](a25_0x559bb1));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a25_0x291524){logger[a25_0x493aeb(0x1ee)]('Error\x20reading\x20BrowserStack\x20config:\x20'+util[a25_0x493aeb(0x1d9)](a25_0x291524));}logger[a25_0x493aeb(0x1ee)](a25_0x493aeb(0x1d1));
1
+ const a25_0x2bc286=a25_0x3bc7;(function(_0x100508,_0x4f5d61){const _0x2e3d0b=a25_0x3bc7,_0x1299ec=_0x100508();while(!![]){try{const _0x541e50=parseInt(_0x2e3d0b(0x15d))/0x1+parseInt(_0x2e3d0b(0x15a))/0x2*(parseInt(_0x2e3d0b(0x15e))/0x3)+-parseInt(_0x2e3d0b(0x14e))/0x4*(parseInt(_0x2e3d0b(0x16c))/0x5)+parseInt(_0x2e3d0b(0x164))/0x6*(-parseInt(_0x2e3d0b(0x14d))/0x7)+parseInt(_0x2e3d0b(0x171))/0x8+-parseInt(_0x2e3d0b(0x14f))/0x9*(parseInt(_0x2e3d0b(0x13f))/0xa)+parseInt(_0x2e3d0b(0x145))/0xb;if(_0x541e50===_0x4f5d61)break;else _0x1299ec['push'](_0x1299ec['shift']());}catch(_0x2ea6e9){_0x1299ec['push'](_0x1299ec['shift']());}}}(a25_0x3cda,0xc75fe));const {requireModule,modifyCommand,isTrue,isBrowserstackInfra,nestedKeyValue,parseYaml}=require(a25_0x2bc286(0x169)),setKeepAlive=require(a25_0x2bc286(0x13e)),util=require(a25_0x2bc286(0x162)),PerformanceTester=require(a25_0x2bc286(0x175)),{EVENTS:PerformanceEvents}=require(a25_0x2bc286(0x16b)),logger=require('../../helpers/logger')[a25_0x2bc286(0x165)],{shouldProcessEventForTesthub}=require(a25_0x2bc286(0x15f)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a25_0x2bc286(0x146)),TestDetails=require(a25_0x2bc286(0x148)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a25_0x2bc286(0x144)),MyReporter=require(a25_0x2bc286(0x153)),SessionHandler=require(a25_0x2bc286(0x174)),scripts=require(a25_0x2bc286(0x140)),globals=require(a25_0x2bc286(0x170)),testHubConstants=require(a25_0x2bc286(0x16f)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),fs=require('fs'),a25_0xe94f89={};a25_0xe94f89[a25_0x2bc286(0x147)]=undefined,a25_0xe94f89[a25_0x2bc286(0x172)]={},a25_0xe94f89['o11ySyncDone']=![],a25_0xe94f89[a25_0x2bc286(0x16d)]=null,a25_0xe94f89[a25_0x2bc286(0x152)]=![],a25_0xe94f89[a25_0x2bc286(0x172)]['id']=undefined,a25_0xe94f89[a25_0x2bc286(0x172)][a25_0x2bc286(0x154)]=undefined;function a25_0x3bc7(_0x54aea8,_0x386ff4){const _0x3cda20=a25_0x3cda();return a25_0x3bc7=function(_0x3bc7de,_0x276743){_0x3bc7de=_0x3bc7de-0x13c;let _0x59a73e=_0x3cda20[_0x3bc7de];return _0x59a73e;},a25_0x3bc7(_0x54aea8,_0x386ff4);}const workerDetails=a25_0xe94f89;global[a25_0x2bc286(0x16a)]=workerDetails;let playwrightPatcher=null,puppeteerPatcher=null;setKeepAlive();if(global[a25_0x2bc286(0x14a)])try{isBrowserstackInfra()?(global[a25_0x2bc286(0x158)]=isTrue(global[a25_0x2bc286(0x14a)]?.[a25_0x2bc286(0x142)]),global[a25_0x2bc286(0x166)]=isTrue(global['jestConfig']?.['skipSessionStatus'])):(global[a25_0x2bc286(0x158)]=!![],global[a25_0x2bc286(0x166)]=!![]);const helper=require(a25_0x2bc286(0x169));if(helper[a25_0x2bc286(0x163)]('@playwright/test'))try{logger[a25_0x2bc286(0x159)](a25_0x2bc286(0x167)),playwrightPatcher=require(a25_0x2bc286(0x13d)),playwrightPatcher['initializePlaywrightPatching'](global[a25_0x2bc286(0x14a)]),logger['debug'](a25_0x2bc286(0x155));}catch(a25_0xa78a7c){logger['debug'](a25_0x2bc286(0x168)+util['format'](a25_0xa78a7c));}if(!playwrightPatcher&&(helper['getPackageVersion'](a25_0x2bc286(0x15b))||helper[a25_0x2bc286(0x163)]('puppeteer-core')))try{logger[a25_0x2bc286(0x159)]('Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require(a25_0x2bc286(0x15c)),puppeteerPatcher['initializePuppeteerPatching'](global[a25_0x2bc286(0x14a)]),logger[a25_0x2bc286(0x159)](a25_0x2bc286(0x156));}catch(a25_0x20952f){logger[a25_0x2bc286(0x159)]('Error\x20initializing\x20Puppeteer\x20patching:\x20'+util[a25_0x2bc286(0x14c)](a25_0x20952f));}const activePatcher=playwrightPatcher||puppeteerPatcher;if(activePatcher)try{const BrowserstackCLI=require(a25_0x2bc286(0x143)),CLIUtils=require(a25_0x2bc286(0x160)),{FRAMEWORKS}=require('../utils/constants');if(BrowserstackCLI[a25_0x2bc286(0x150)]()[a25_0x2bc286(0x157)]()){const automationFramework=playwrightPatcher?FRAMEWORKS[a25_0x2bc286(0x13c)]:FRAMEWORKS[a25_0x2bc286(0x14b)];logger[a25_0x2bc286(0x159)](a25_0x2bc286(0x16e)+automationFramework+')'),CLIUtils[a25_0x2bc286(0x149)](FRAMEWORKS[a25_0x2bc286(0x173)],automationFramework),BrowserstackCLI[a25_0x2bc286(0x150)]()[a25_0x2bc286(0x151)]()[a25_0x2bc286(0x161)](_0x1c7c61=>{const _0x2b723f=a25_0x2bc286;logger[_0x2b723f(0x159)]('Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x2b723f(0x14c)](_0x1c7c61));});}}catch(a25_0x467ca5){logger[a25_0x2bc286(0x159)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a25_0x2bc286(0x14c)](a25_0x467ca5));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a25_0x98d54f){logger['debug'](a25_0x2bc286(0x141)+util['format'](a25_0x98d54f));}function a25_0x3cda(){const _0x5c654d=['../playwright/reporter/test-details.js','setFrameworkDetail','jestConfig','PUPPETEER','format','2247NCUikQ','3744852mfDjRK','9RSiPbP','getInstance','bootstrap','isPageFixture','../playwright/reporter/reporter.js','testInfo','Playwright\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','Puppeteer\x20patching\x20and\x20session\x20details\x20initialized\x20for\x20Jest','isCliEnabled','__skipSessionName','debug','2CjBXmL','puppeteer','../utils/puppeteer-patcher','1205399iPiHjJ','4380111GRACdJ','../../helpers/testhub/utils','../v2/cliUtils','catch','util','getPackageVersion','18882PWmsGs','winstonLogger','__skipSessionStatus','Patching\x20Playwright\x20for\x20Jest','Error\x20initializing\x20Playwright\x20patching:\x20','../../helpers/helper','__workerDetails','../../helpers/performance/constants','5ULGmey','pwPage','Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker\x20process\x20(','../../helpers/testhub/constants.js','../../helpers/globals','4042504FqSGSi','currentTest','JEST','../../helpers/test-observability/sessionHandler','../../helpers/performance/performance-tester','PLAYWRIGHT','../utils/playwright-patcher','../../helpers/setKeepAlive','6392090AWZKNT','../../helpers/accessibility-automation/scripts','Error\x20reading\x20BrowserStack\x20config:\x20','skipSessionName','../v2/browserstackCLI','../../helpers/test-observability/error-handler','2546478BmbqXs','../../helpers/test-observability/utils','workerInfo'];a25_0x3cda=function(){return _0x5c654d;};return a25_0x3cda();}logger[a25_0x2bc286(0x159)]('Jest-Playwright/Puppeteer\x20setup\x20completed');
@@ -1 +1 @@
1
- const a26_0x8671f6=a26_0x4ff0;(function(_0x33c390,_0x420d22){const _0x5350b4=a26_0x4ff0,_0x4a41e8=_0x33c390();while(!![]){try{const _0x1969af=-parseInt(_0x5350b4(0xc7))/0x1+parseInt(_0x5350b4(0xc1))/0x2+parseInt(_0x5350b4(0xc4))/0x3*(-parseInt(_0x5350b4(0xcb))/0x4)+parseInt(_0x5350b4(0xce))/0x5+parseInt(_0x5350b4(0xcd))/0x6+parseInt(_0x5350b4(0xc9))/0x7*(parseInt(_0x5350b4(0xc0))/0x8)+-parseInt(_0x5350b4(0xcc))/0x9*(parseInt(_0x5350b4(0xbf))/0xa);if(_0x1969af===_0x420d22)break;else _0x4a41e8['push'](_0x4a41e8['shift']());}catch(_0x3b15a4){_0x4a41e8['push'](_0x4a41e8['shift']());}}}(a26_0x1b77,0x5fd82));const {requireModule}=require(a26_0x8671f6(0xc8)),logger=require(a26_0x8671f6(0xc3))[a26_0x8671f6(0xbd)];function a26_0x4ff0(_0x3e6ef,_0x414fb9){const _0x1b77c3=a26_0x1b77();return a26_0x4ff0=function(_0x4ff0cf,_0x55c1d0){_0x4ff0cf=_0x4ff0cf-0xbd;let _0x47ce14=_0x1b77c3[_0x4ff0cf];return _0x47ce14;},a26_0x4ff0(_0x3e6ef,_0x414fb9);}require(a26_0x8671f6(0xbe))();try{const __wd__=requireModule('selenium-webdriver');for(const key of Object[a26_0x8671f6(0xc2)](global['__webdriver'])){__wd__[key]=global[a26_0x8671f6(0xca)][key];}}catch(a26_0x7f811c){logger[a26_0x8671f6(0xc5)](a26_0x8671f6(0xc6));}function a26_0x1b77(){const _0x96ebdb=['1850975hrBVGQ','winstonLogger','../../helpers/setKeepAlive','10WgFfxY','86312dTrHlv','62200CqrgyD','keys','../../helpers/logger','94167agRVSg','debug','Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver','341240BptuSX','../../helpers/helper','469MKJhKZ','__webdriver','76zalQcm','1052577EeEtzC','1938024zjApJm'];a26_0x1b77=function(){return _0x96ebdb;};return a26_0x1b77();}
1
+ const a26_0x27be48=a26_0x3e89;function a26_0x46a0(){const _0x5bd99a=['4180apAOIP','../../helpers/setKeepAlive','48948NiHEHO','debug','keys','winstonLogger','__webdriver','3691891sqmALx','../../helpers/helper','335HTJiTf','1153071lMhHXe','93363TmUqUd','205476tUaUGy','12PGUeiJ','21229056ecDfph','2XzOvYi','16ZoZOMZ','../../helpers/logger','8426KUIKkb'];a26_0x46a0=function(){return _0x5bd99a;};return a26_0x46a0();}function a26_0x3e89(_0x14e10a,_0x476009){const _0x46a04f=a26_0x46a0();return a26_0x3e89=function(_0x3e8922,_0x109921){_0x3e8922=_0x3e8922-0x15f;let _0x89de58=_0x46a04f[_0x3e8922];return _0x89de58;},a26_0x3e89(_0x14e10a,_0x476009);}(function(_0x3dbf6f,_0x1b75d5){const _0x32b769=a26_0x3e89,_0x3a85fd=_0x3dbf6f();while(!![]){try{const _0x576a33=-parseInt(_0x32b769(0x15f))/0x1*(parseInt(_0x32b769(0x162))/0x2)+parseInt(_0x32b769(0x171))/0x3*(-parseInt(_0x32b769(0x160))/0x4)+parseInt(_0x32b769(0x16f))/0x5*(-parseInt(_0x32b769(0x168))/0x6)+-parseInt(_0x32b769(0x16d))/0x7+parseInt(_0x32b769(0x163))/0x8*(parseInt(_0x32b769(0x170))/0x9)+parseInt(_0x32b769(0x166))/0xa*(-parseInt(_0x32b769(0x165))/0xb)+parseInt(_0x32b769(0x161))/0xc;if(_0x576a33===_0x1b75d5)break;else _0x3a85fd['push'](_0x3a85fd['shift']());}catch(_0x24cdc){_0x3a85fd['push'](_0x3a85fd['shift']());}}}(a26_0x46a0,0x5120c));const {requireModule}=require(a26_0x27be48(0x16e)),logger=require(a26_0x27be48(0x164))[a26_0x27be48(0x16b)];require(a26_0x27be48(0x167))();try{const __wd__=requireModule('selenium-webdriver');for(const key of Object[a26_0x27be48(0x16a)](global['__webdriver'])){__wd__[key]=global[a26_0x27be48(0x16c)][key];}}catch(a26_0x1e59f1){logger[a26_0x27be48(0x169)]('Selenium-webdriver\x20not\x20available\x20to\x20set\x20in\x20global.__webdriver');}