browserstack-node-sdk 1.33.6 → 1.34.0

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 (121) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test-observability.js +1 -0
  44. package/src/bin/cucumber-js/test.setup.js +1 -1
  45. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  46. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  47. package/src/bin/integrations/command.js +1 -1
  48. package/src/bin/integrations/constants.js +1 -1
  49. package/src/bin/jest/command.js +1 -1
  50. package/src/bin/jest/customImplements/customCircus.js +1 -1
  51. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  52. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  53. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  54. package/src/bin/jest/jest.setup.js +1 -1
  55. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  56. package/src/bin/jest/test-observability/helper.js +1 -1
  57. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  58. package/src/bin/jest/test-observability/test-details.js +1 -1
  59. package/src/bin/jest/test_before.setup.js +1 -1
  60. package/src/bin/launcher/launcher.js +1 -1
  61. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  62. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/mocha/command.js +1 -1
  64. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  65. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  66. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  67. package/src/bin/mocha/test.setup.js +1 -1
  68. package/src/bin/nightwatch/command.js +1 -1
  69. package/src/bin/playwright/accessibility-helper.js +1 -1
  70. package/src/bin/playwright/command.js +1 -1
  71. package/src/bin/playwright/globalSetup.js +1 -1
  72. package/src/bin/playwright/mock-process.js +1 -1
  73. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  74. package/src/bin/playwright/patches.js +1 -1
  75. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  76. package/src/bin/playwright/reporter/reporter.js +1 -1
  77. package/src/bin/playwright/reporter/test-details.js +1 -1
  78. package/src/bin/playwright/sessionDetails.js +1 -1
  79. package/src/bin/runner.js +1 -1
  80. package/src/bin/setup.js +1 -1
  81. package/src/bin/test-runner/index.js +1 -1
  82. package/src/bin/test-runner/runTest.js +1 -1
  83. package/src/bin/test-runner/testWorker.js +1 -1
  84. package/src/bin/utils/constants.js +1 -1
  85. package/src/bin/utils/log4jsAppender.js +1 -1
  86. package/src/bin/utils/logPatcher.js +1 -1
  87. package/src/bin/utils/logReportingAPI.js +1 -1
  88. package/src/bin/vanilla-js/command.js +1 -1
  89. package/src/browserStackSdk.js +1 -1
  90. package/src/helpers/BrowserStackSetup.js +1 -1
  91. package/src/helpers/accessibility-automation/constants.js +1 -1
  92. package/src/helpers/accessibility-automation/helper.js +1 -1
  93. package/src/helpers/accessibility-automation/scripts.js +1 -1
  94. package/src/helpers/ats/constants.js +1 -1
  95. package/src/helpers/ats/helper.js +1 -1
  96. package/src/helpers/capsMapping.js +1 -1
  97. package/src/helpers/globals.js +1 -1
  98. package/src/helpers/helper.js +1 -1
  99. package/src/helpers/logger.js +1 -1
  100. package/src/helpers/patchHelpers.js +1 -1
  101. package/src/helpers/percy/Percy.js +1 -1
  102. package/src/helpers/percy/PercyBinary.js +1 -1
  103. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  104. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  105. package/src/helpers/percy/PercySDK.js +1 -1
  106. package/src/helpers/percy/index.js +1 -1
  107. package/src/helpers/percy/utils.js +1 -1
  108. package/src/helpers/performance-tester.js +1 -1
  109. package/src/helpers/request-spy.js +1 -1
  110. package/src/helpers/setKeepAlive.js +1 -1
  111. package/src/helpers/test-observability/constants.js +1 -1
  112. package/src/helpers/test-observability/error-handler.js +1 -1
  113. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  114. package/src/helpers/test-observability/sessionHandler.js +1 -1
  115. package/src/helpers/test-observability/utils.js +1 -1
  116. package/src/helpers/testhub/constants.js +1 -1
  117. package/src/helpers/testhub/testhubHandler.js +1 -1
  118. package/src/helpers/testhub/utils.js +1 -1
  119. package/src/helpers/w3cMapping.js +1 -1
  120. package/src/hubAllocationMethods.js +1 -1
  121. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a10_0x26a435=a10_0x5a83;function a10_0x5a83(_0x5bb964,_0x135b83){const _0x52ce8c=a10_0x52ce();return a10_0x5a83=function(_0x5a8375,_0x15fe56){_0x5a8375=_0x5a8375-0x91;let _0x576375=_0x52ce8c[_0x5a8375];return _0x576375;},a10_0x5a83(_0x5bb964,_0x135b83);}(function(_0x2739be,_0x13a62e){const _0x4e4c4c=a10_0x5a83,_0x49b89b=_0x2739be();while(!![]){try{const _0x13c453=-parseInt(_0x4e4c4c(0xbb))/0x1+parseInt(_0x4e4c4c(0xc1))/0x2*(parseInt(_0x4e4c4c(0x9f))/0x3)+-parseInt(_0x4e4c4c(0x98))/0x4*(parseInt(_0x4e4c4c(0xa3))/0x5)+-parseInt(_0x4e4c4c(0xba))/0x6+parseInt(_0x4e4c4c(0x9e))/0x7+parseInt(_0x4e4c4c(0xb5))/0x8+parseInt(_0x4e4c4c(0xc7))/0x9;if(_0x13c453===_0x13a62e)break;else _0x49b89b['push'](_0x49b89b['shift']());}catch(_0x4b6e19){_0x49b89b['push'](_0x49b89b['shift']());}}}(a10_0x52ce,0xcd708));const {default:BrowserStackSetup}=require(a10_0x26a435(0xb9)),logger=require('../../helpers/logger')['winstonLogger'],{URL}=require(a10_0x26a435(0xce)),helper=require(a10_0x26a435(0xac)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a10_0x26a435(0x9b)),validHosts=function(_0x54812e){const _0x30c8ac=a10_0x26a435;return _0x54812e[_0x30c8ac(0xa4)](',')[_0x30c8ac(0xc5)](_0x7576e6=>{const _0x1d4832=_0x30c8ac;try{new URL(_0x7576e6[_0x1d4832(0xd0)]());}catch(_0x35f60e){return![];}return!![];});},parseOnPremHosts=function(_0x3eb0f8){const _0x2d1bdb=a10_0x26a435,_0x1bb484={};_0x1bb484[_0x2d1bdb(0xc2)]=function(_0x5485b7,_0x5b4078){return _0x5485b7===_0x5b4078;},_0x1bb484[_0x2d1bdb(0xa6)]='https:',_0x1bb484[_0x2d1bdb(0xaa)]='443',_0x1bb484[_0x2d1bdb(0x97)]='https';const _0x4ab44d=_0x1bb484;return _0x3eb0f8[_0x2d1bdb(0xa4)](',')[_0x2d1bdb(0xca)](_0xea4554=>{const _0x58960f=_0x2d1bdb,_0x451447=new URL(_0xea4554[_0x58960f(0xd0)]()),_0x54f95e=_0x451447[_0x58960f(0x92)],_0x24d495=_0x451447['port']||(_0x4ab44d[_0x58960f(0xc2)](_0x451447[_0x58960f(0xcf)],_0x4ab44d[_0x58960f(0xa6)])?_0x4ab44d[_0x58960f(0xaa)]:'80'),_0x3fcf9f=_0x451447[_0x58960f(0xcf)][_0x58960f(0xb4)](':',''),_0x569706=_0x4ab44d[_0x58960f(0xc2)](_0x3fcf9f,_0x4ab44d[_0x58960f(0x97)])?0x1:0x0;return _0x54f95e+','+_0x24d495+','+_0x569706;});},connectCommandBuilder=function(_0x543532){const _0x519ee5=a10_0x26a435,_0x23bd10={};_0x23bd10['RqGFG']=_0x519ee5(0xbc);const _0x4f5853=_0x23bd10,_0x5ee320={};_0x5ee320[_0x519ee5(0xcd)]=HELP_MESSAGES['options'][_0x519ee5(0xb0)],_0x5ee320['type']=_0x4f5853[_0x519ee5(0xaf)];const _0x42c9ce={};_0x42c9ce[_0x519ee5(0xcd)]=HELP_MESSAGES[_0x519ee5(0xa9)][_0x519ee5(0xc3)],_0x42c9ce[_0x519ee5(0xb6)]=_0x4f5853[_0x519ee5(0xaf)],_0x42c9ce[_0x519ee5(0xa8)]=!![];const _0x44030b={};return _0x44030b[_0x519ee5(0xc8)]=_0x5ee320,_0x44030b['hosts']=_0x42c9ce,_0x543532[_0x519ee5(0xa9)](_0x44030b);},connectCommandHandler=async function(_0x14a672){const _0x36b83d=a10_0x26a435,_0x29bccb={'cJBfK':'integrations','nJCsb':function(_0x16a968,_0x140ff5){return _0x16a968===_0x140ff5;},'wKvuM':_0x36b83d(0xcb),'EEPfH':_0x36b83d(0x96),'wKCtW':'Integration\x20hosts\x20missing.','xPmdE':function(_0x10d7a9,_0x4f631d){return _0x10d7a9(_0x4f631d);},'mMzCy':_0x36b83d(0xa2),'KIISM':function(_0x16e4c4,_0x1ce219){return _0x16e4c4(_0x1ce219);},'VZQFz':'integrations-repeater','YBnmB':'Connection\x20established\x20successfully.','RmeaX':'Failed\x20to\x20establish\x20connection.'};try{const _0x2d37b2=new BrowserStackSetup(_0x14a672,_0x29bccb[_0x36b83d(0xa0)]);_0x14a672[_0x36b83d(0xc0)]&&(_0x2d37b2[_0x36b83d(0xa1)][_0x36b83d(0x99)]=_0x14a672[_0x36b83d(0xc0)]);if(_0x29bccb[_0x36b83d(0x95)](typeof _0x2d37b2[_0x36b83d(0xa1)]['accessKey'],_0x29bccb[_0x36b83d(0x94)])){logger[_0x36b83d(0xb7)](_0x29bccb[_0x36b83d(0x9d)]);throw new Error(ERROR_MESSAGES[_0x36b83d(0xb0)][_0x36b83d(0xc9)]);}const _0x3905dc=_0x14a672[_0x36b83d(0xc3)];if(_0x29bccb['nJCsb'](typeof _0x3905dc,_0x29bccb[_0x36b83d(0x94)])){logger[_0x36b83d(0xb7)](_0x29bccb['wKCtW']);throw new Error(ERROR_MESSAGES[_0x36b83d(0xc3)][_0x36b83d(0xc9)]);}if(!_0x29bccb[_0x36b83d(0xbe)](validHosts,_0x3905dc)){logger[_0x36b83d(0xb7)](_0x29bccb[_0x36b83d(0xa7)]);throw new Error(ERROR_MESSAGES[_0x36b83d(0xc3)]['invalid']);}const _0xeb92bb=_0x29bccb[_0x36b83d(0xae)](parseOnPremHosts,_0x3905dc);_0x2d37b2['config'][_0x36b83d(0xb2)]=!![],_0x2d37b2[_0x36b83d(0xa1)][_0x36b83d(0xc6)]['localIdentifier']=_0x29bccb['VZQFz'],_0x2d37b2[_0x36b83d(0xa1)][_0x36b83d(0xc6)][_0x36b83d(0x93)]=_0xeb92bb[_0x36b83d(0xb1)](','),helper[_0x36b83d(0xb3)](_0x2d37b2[_0x36b83d(0xa1)]),await _0x2d37b2[_0x36b83d(0xb8)](),logger[_0x36b83d(0xab)](_0x29bccb[_0x36b83d(0xd2)]);}catch(_0x3c5044){logger[_0x36b83d(0xb7)](_0x29bccb[_0x36b83d(0x91)]);throw new Error(_0x3c5044[_0x36b83d(0xad)]());}};function run(_0x8c1161){const _0x519371=a10_0x26a435,_0x19df48={};_0x19df48[_0x519371(0xbd)]=_0x519371(0xd3),_0x19df48[_0x519371(0xbf)]=_0x519371(0xcc);const _0x2b09dd=_0x19df48;_0x8c1161[_0x519371(0xc4)](HELP_MESSAGES[_0x519371(0xd1)][_0x519371(0x9c)])[_0x519371(0xd1)](_0x2b09dd[_0x519371(0xbd)],HELP_MESSAGES[_0x519371(0xd1)][_0x519371(0xd3)],connectCommandBuilder,connectCommandHandler)[_0x519371(0x9a)]()[_0x519371(0xcc)](_0x2b09dd[_0x519371(0xbf)])[_0x519371(0xa5)](HELP_MESSAGES[_0x519371(0xd1)]['footer']);}function a10_0x52ce(){const _0x566c5b=['setProxySettings','replace','1967720rMrbnE','type','error','setupBrowserstackLocal','../../helpers/BrowserStackSetup','142320ZhhxXu','118896nzyIMZ','string','acZZA','xPmdE','jfxKM','bstackAccesskey','1381876CABiCt','ddEjF','hosts','usage','every','browserStackLocalOptions','1148796Knicui','bstack-accesskey','missing','map','undefined','help','describe','url','protocol','trim','command','YBnmB','connect','RmeaX','hostname','only','wKvuM','nJCsb','BrowserStack\x20access\x20key\x20missing.','Nhjnp','4aGGYwy','accessKey','demandCommand','./constants','root','EEPfH','3532081rfrFGs','3oZEtgF','cJBfK','config','Hosts\x20not\x20valid','2925170beLPlt','split','epilogue','CZWql','mMzCy','demandOption','options','gdnOo','info','../../helpers/helper','toString','KIISM','RqGFG','bstackAccessKey','join','browserstackLocal'];a10_0x52ce=function(){return _0x566c5b;};return a10_0x52ce();}module['exports']=run;
2
+ 'use strict';const a11_0xa34c34=a11_0x3131;(function(_0x49fe8d,_0x37ed8d){const _0x16ef6a=a11_0x3131,_0x6511be=_0x49fe8d();while(!![]){try{const _0xcf95e=-parseInt(_0x16ef6a(0x10c))/0x1+parseInt(_0x16ef6a(0x12f))/0x2*(parseInt(_0x16ef6a(0xf3))/0x3)+parseInt(_0x16ef6a(0x118))/0x4*(-parseInt(_0x16ef6a(0x10a))/0x5)+parseInt(_0x16ef6a(0x106))/0x6+parseInt(_0x16ef6a(0x104))/0x7+parseInt(_0x16ef6a(0x127))/0x8*(-parseInt(_0x16ef6a(0x12d))/0x9)+-parseInt(_0x16ef6a(0x121))/0xa*(-parseInt(_0x16ef6a(0x116))/0xb);if(_0xcf95e===_0x37ed8d)break;else _0x6511be['push'](_0x6511be['shift']());}catch(_0x111446){_0x6511be['push'](_0x6511be['shift']());}}}(a11_0x275a,0x260a9));function a11_0x3131(_0x4f5041,_0x228e60){const _0x275a3a=a11_0x275a();return a11_0x3131=function(_0x3131fb,_0x13b250){_0x3131fb=_0x3131fb-0xf2;let _0x4791b3=_0x275a3a[_0x3131fb];return _0x4791b3;},a11_0x3131(_0x4f5041,_0x228e60);}function a11_0x275a(){const _0x5bf586=['bstack-accesskey','error','invalid','232WPIdCj','NdeIb','port','ZFjPw','bstackAccesskey','BrowserStack\x20access\x20key\x20missing.','56367tFXtVh','split','9138VMhWKq','gCWUo','Failed\x20to\x20establish\x20connection.','undefined','join','ayhLN','138lXUbNk','clCBY','bjGHj','bstackAccessKey','trim','DsNSR','options','localIdentifier','protocol','browserstackLocal','config','integrations','every','command','setProxySettings','replace','winstonLogger','1199303yxoSTd','hosts','932682MMaTUT','EpKth','hostname','accessKey','905830kOeZaA','OBVjh','185631gmKMIh','describe','Integration\x20hosts\x20missing.','../../helpers/helper','demandOption','https:','missing','vIaqS','help','OISZk','10637PgdxIF','NqxMZ','4MsgbJW','only','toString','FZYJo','JRvKv','type','usage','browserStackLocalOptions','LZYPX','1730zcVniu','443','setupBrowserstackLocal'];a11_0x275a=function(){return _0x5bf586;};return a11_0x275a();}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')[a11_0xa34c34(0x103)],{URL}=require('url'),helper=require(a11_0xa34c34(0x10f)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x1584a0){const _0x35a70d=a11_0xa34c34;return _0x1584a0['split'](',')[_0x35a70d(0xff)](_0x38e089=>{const _0x387c33=_0x35a70d;try{new URL(_0x38e089[_0x387c33(0xf7)]());}catch(_0x4ddd4c){return![];}return!![];});},parseOnPremHosts=function(_0x4d261e){const _0x3d83cf=a11_0xa34c34,_0xbc2805={};_0xbc2805['vIaqS']=function(_0xc7e796,_0x9121fa){return _0xc7e796===_0x9121fa;},_0xbc2805[_0x3d83cf(0x107)]=_0x3d83cf(0x111),_0xbc2805[_0x3d83cf(0xf8)]=_0x3d83cf(0x122),_0xbc2805[_0x3d83cf(0x117)]='https';const _0x442acd=_0xbc2805;return _0x4d261e[_0x3d83cf(0x12e)](',')['map'](_0x45d52d=>{const _0x53bc6d=_0x3d83cf,_0x4e1f4f=new URL(_0x45d52d[_0x53bc6d(0xf7)]()),_0x411e76=_0x4e1f4f[_0x53bc6d(0x108)],_0x55aff0=_0x4e1f4f[_0x53bc6d(0x129)]||(_0x442acd['vIaqS'](_0x4e1f4f[_0x53bc6d(0xfb)],_0x442acd[_0x53bc6d(0x107)])?_0x442acd[_0x53bc6d(0xf8)]:'80'),_0x5b2bd4=_0x4e1f4f[_0x53bc6d(0xfb)][_0x53bc6d(0x102)](':',''),_0x28d9c4=_0x442acd[_0x53bc6d(0x113)](_0x5b2bd4,_0x442acd[_0x53bc6d(0x117)])?0x1:0x0;return _0x411e76+','+_0x55aff0+','+_0x28d9c4;});},connectCommandBuilder=function(_0xaf4868){const _0x133400=a11_0xa34c34,_0xc7947f={};_0xc7947f[_0x133400(0x11b)]='string';const _0x46bc7e=_0xc7947f,_0x220bef={};_0x220bef[_0x133400(0x10d)]=HELP_MESSAGES[_0x133400(0xf9)][_0x133400(0xf6)],_0x220bef[_0x133400(0x11d)]=_0x46bc7e[_0x133400(0x11b)];const _0x26e14d={};_0x26e14d[_0x133400(0x10d)]=HELP_MESSAGES['options'][_0x133400(0x105)],_0x26e14d[_0x133400(0x11d)]=_0x46bc7e[_0x133400(0x11b)],_0x26e14d[_0x133400(0x110)]=!![];const _0x44856e={};return _0x44856e[_0x133400(0x124)]=_0x220bef,_0x44856e['hosts']=_0x26e14d,_0xaf4868[_0x133400(0xf9)](_0x44856e);},connectCommandHandler=async function(_0x1ecd57){const _0x477a22=a11_0xa34c34,_0x437200={'JRvKv':_0x477a22(0xfe),'GUZXz':function(_0x4bbe63,_0x81b863){return _0x4bbe63===_0x81b863;},'LZYPX':_0x477a22(0x132),'gCWUo':_0x477a22(0x12c),'ZFjPw':function(_0x2df8c7,_0x1a91f1){return _0x2df8c7===_0x1a91f1;},'NdeIb':_0x477a22(0x10e),'bjGHj':function(_0x25aad6,_0x17c862){return _0x25aad6(_0x17c862);},'clCBY':'Hosts\x20not\x20valid','abXuS':function(_0x2d1bcd,_0x352d04){return _0x2d1bcd(_0x352d04);},'OBVjh':'integrations-repeater','qfGOA':'Connection\x20established\x20successfully.','dTAug':_0x477a22(0x131)};try{const _0x502c34=new BrowserStackSetup(_0x1ecd57,_0x437200[_0x477a22(0x11c)]);_0x1ecd57[_0x477a22(0x12b)]&&(_0x502c34[_0x477a22(0xfd)]['accessKey']=_0x1ecd57[_0x477a22(0x12b)]);if(_0x437200['GUZXz'](typeof _0x502c34[_0x477a22(0xfd)][_0x477a22(0x109)],_0x437200['LZYPX'])){logger['error'](_0x437200[_0x477a22(0x130)]);throw new Error(ERROR_MESSAGES[_0x477a22(0xf6)][_0x477a22(0x112)]);}const _0x1eb7c2=_0x1ecd57['hosts'];if(_0x437200[_0x477a22(0x12a)](typeof _0x1eb7c2,_0x437200[_0x477a22(0x120)])){logger[_0x477a22(0x125)](_0x437200[_0x477a22(0x128)]);throw new Error(ERROR_MESSAGES['hosts'][_0x477a22(0x112)]);}if(!_0x437200[_0x477a22(0xf5)](validHosts,_0x1eb7c2)){logger['error'](_0x437200[_0x477a22(0xf4)]);throw new Error(ERROR_MESSAGES['hosts'][_0x477a22(0x126)]);}const _0x145db0=_0x437200['abXuS'](parseOnPremHosts,_0x1eb7c2);_0x502c34[_0x477a22(0xfd)][_0x477a22(0xfc)]=!![],_0x502c34['config']['browserStackLocalOptions'][_0x477a22(0xfa)]=_0x437200[_0x477a22(0x10b)],_0x502c34['config'][_0x477a22(0x11f)][_0x477a22(0x119)]=_0x145db0[_0x477a22(0x133)](','),helper[_0x477a22(0x101)](_0x502c34[_0x477a22(0xfd)]),await _0x502c34[_0x477a22(0x123)](),logger['info'](_0x437200['qfGOA']);}catch(_0x25cbb4){logger[_0x477a22(0x125)](_0x437200['dTAug']);throw new Error(_0x25cbb4[_0x477a22(0x11a)]());}};function run(_0x47dbf2){const _0x382e21=a11_0xa34c34,_0x441646={};_0x441646[_0x382e21(0xf2)]='connect',_0x441646[_0x382e21(0x115)]=_0x382e21(0x114);const _0x55e77f=_0x441646;_0x47dbf2[_0x382e21(0x11e)](HELP_MESSAGES['command']['root'])['command'](_0x55e77f['ayhLN'],HELP_MESSAGES[_0x382e21(0x100)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x382e21(0x114)](_0x55e77f['OISZk'])['epilogue'](HELP_MESSAGES['command']['footer']);}module['exports']=run;
@@ -1 +1 @@
1
- var a11_0x5b9ba1=a11_0x2308;(function(_0x2eebe9,_0x4881a2){var _0x56cfba=a11_0x2308,_0x1aad43=_0x2eebe9();while(!![]){try{var _0x33ee72=parseInt(_0x56cfba(0x1cb))/0x1*(parseInt(_0x56cfba(0x1c6))/0x2)+parseInt(_0x56cfba(0x1cd))/0x3+parseInt(_0x56cfba(0x1c8))/0x4+parseInt(_0x56cfba(0x1ca))/0x5+parseInt(_0x56cfba(0x1d9))/0x6*(-parseInt(_0x56cfba(0x1c4))/0x7)+-parseInt(_0x56cfba(0x1dd))/0x8*(parseInt(_0x56cfba(0x1d2))/0x9)+-parseInt(_0x56cfba(0x1dc))/0xa*(parseInt(_0x56cfba(0x1de))/0xb);if(_0x33ee72===_0x4881a2)break;else _0x1aad43['push'](_0x1aad43['shift']());}catch(_0x4e1e16){_0x1aad43['push'](_0x1aad43['shift']());}}}(a11_0x453f,0x39dd0));var a11_0x21eaa4={};a11_0x21eaa4[a11_0x5b9ba1(0x1d4)]=a11_0x5b9ba1(0x1ce),a11_0x21eaa4[a11_0x5b9ba1(0x1d5)]=a11_0x5b9ba1(0x1cc);var a11_0x4f63e6={};a11_0x4f63e6[a11_0x5b9ba1(0x1c7)]=a11_0x5b9ba1(0x1d8),a11_0x4f63e6[a11_0x5b9ba1(0x1c9)]=a11_0x5b9ba1(0x1cf),a11_0x4f63e6['footer']=a11_0x5b9ba1(0x1c5);var a11_0x15c8a3={};a11_0x15c8a3[a11_0x5b9ba1(0x1d7)]=a11_0x21eaa4,a11_0x15c8a3[a11_0x5b9ba1(0x1da)]=a11_0x4f63e6,exports[a11_0x5b9ba1(0x1db)]=a11_0x15c8a3;var a11_0x111679={};a11_0x111679[a11_0x5b9ba1(0x1d0)]=a11_0x5b9ba1(0x1d6);var a11_0x3f9d65={};a11_0x3f9d65['missing']='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a11_0x3f9d65['invalid']=a11_0x5b9ba1(0x1d1);var a11_0x14a71d={};a11_0x14a71d['bstackAccessKey']=a11_0x111679,a11_0x14a71d[a11_0x5b9ba1(0x1d5)]=a11_0x3f9d65,exports[a11_0x5b9ba1(0x1d3)]=a11_0x14a71d;function a11_0x2308(_0x3052a0,_0x40abfc){var _0x453fc1=a11_0x453f();return a11_0x2308=function(_0x23088d,_0x47e732){_0x23088d=_0x23088d-0x1c4;var _0x44b377=_0x453fc1[_0x23088d];return _0x44b377;},a11_0x2308(_0x3052a0,_0x40abfc);}function a11_0x453f(){var _0x16db81=['8XfDsje','77LSSXsP','1035979rYibrO','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','62SWPyGy','root','1769976FBZEVk','connect','906290Fpoiql','7222yogbWi','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','1006971vFfITJ','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','missing','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','1295217nJgWlS','ERROR_MESSAGES','bstackAccessKey','hosts','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','options','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','18UuNTnG','command','HELP_MESSAGES','511970VFAuPz'];a11_0x453f=function(){return _0x16db81;};return a11_0x453f();}
1
+ var a12_0x569412=a12_0x13d2;(function(_0x345f72,_0x1bf43f){var _0x1a8da3=a12_0x13d2,_0x1b261a=_0x345f72();while(!![]){try{var _0x382ec5=parseInt(_0x1a8da3(0x121))/0x1*(parseInt(_0x1a8da3(0x115))/0x2)+-parseInt(_0x1a8da3(0x12a))/0x3*(parseInt(_0x1a8da3(0x11e))/0x4)+-parseInt(_0x1a8da3(0x123))/0x5*(parseInt(_0x1a8da3(0x126))/0x6)+parseInt(_0x1a8da3(0x125))/0x7*(-parseInt(_0x1a8da3(0x127))/0x8)+-parseInt(_0x1a8da3(0x128))/0x9+parseInt(_0x1a8da3(0x11c))/0xa*(-parseInt(_0x1a8da3(0x11a))/0xb)+-parseInt(_0x1a8da3(0x122))/0xc*(-parseInt(_0x1a8da3(0x12b))/0xd);if(_0x382ec5===_0x1bf43f)break;else _0x1b261a['push'](_0x1b261a['shift']());}catch(_0x3a2b06){_0x1b261a['push'](_0x1b261a['shift']());}}}(a12_0x2ccc,0x211d2));var a12_0x10fc7f={};a12_0x10fc7f['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a12_0x10fc7f[a12_0x569412(0x120)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a12_0x3f9ea4={};a12_0x3f9ea4[a12_0x569412(0x11d)]=a12_0x569412(0x118),a12_0x3f9ea4[a12_0x569412(0x12c)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a12_0x3f9ea4['footer']=a12_0x569412(0x119);var a12_0x2f1a7a={};a12_0x2f1a7a[a12_0x569412(0x11f)]=a12_0x10fc7f,a12_0x2f1a7a['command']=a12_0x3f9ea4,exports[a12_0x569412(0x124)]=a12_0x2f1a7a;var a12_0x532b04={};a12_0x532b04[a12_0x569412(0x114)]=a12_0x569412(0x129);var a12_0xbd9409={};a12_0xbd9409[a12_0x569412(0x114)]=a12_0x569412(0x116),a12_0xbd9409[a12_0x569412(0x117)]='Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';function a12_0x13d2(_0x5c2d7f,_0x49ec6e){var _0x2ccc54=a12_0x2ccc();return a12_0x13d2=function(_0x13d201,_0x44d57c){_0x13d201=_0x13d201-0x114;var _0x16b832=_0x2ccc54[_0x13d201];return _0x16b832;},a12_0x13d2(_0x5c2d7f,_0x49ec6e);}function a12_0x2ccc(){var _0x2f496c=['1230ddcsJm','root','20ACXuAj','options','hosts','169fcTRtV','12VKTclj','5GUaEjt','HELP_MESSAGES','77hihKmJ','1605558TaWJdl','102568fzAbpd','1782693TIHDXN','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','62175cfuXch','9115691UZdDhF','connect','missing','2748uqPzmi','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','invalid','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','7821BKUZbm','bstackAccessKey'];a12_0x2ccc=function(){return _0x2f496c;};return a12_0x2ccc();}var a12_0xa823be={};a12_0xa823be[a12_0x569412(0x11b)]=a12_0x532b04,a12_0xa823be[a12_0x569412(0x120)]=a12_0xbd9409,exports['ERROR_MESSAGES']=a12_0xa823be;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a12_0x1885(){const _0x39e690=['testObservability','\x0amodule.exports\x20=\x20config;','NJUQl','25vkQTQS','testRunner','bkczY','uzLYp','/customImplements/customTestRunner.js','getPackageType','AhBuw','testContextOptions','browserStackPercyOptions','uycuF','../../helpers/test-observability/sessionHandler','JEST','Deleting\x20','runner','capabilities','setup','shouldProcessEventForTesthub','splice','--config','KJnXS','util','findIndex','runInBand','errorMessage','jest','requireSeleniumWebdriver','unlinkSync','stringify','Unable\x20to\x20find\x20jest-circus,\x20','info','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','isUndefined','IsEhh','1215963ldUdKw','FRAMEWORKS','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','getHubUrl','/jest.setup.js','2530rqxDRQ','setupFilesAfterEnv','jCmfz','607245PrwPOP','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','inherit','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/percy/utils','../../helpers/accessibility-automation/helper','browserStackLogLevel','ECqpe','./test-observability/test-details','Qtkwn','jest.config.','assign','jest_browserstack_results.json','isBrowserstackInfra','handleApp','close','printBuildLink','BROWSERSTACK_TEST_ACCESSIBILITY_YML','xRbGZ','oPyZP','./test-observability/helper','skipSessionStatus','Creating\x20','dVYts','test','format','15582AOVsqw','utLOg','testEnvironment','cjs','env','customImplements','turboScaleUrl','shutdown','xUJIV','resolve','child_process','testEnvironmentOptions','parallelsPerPlatform','platformCaps','/test_before.setup.js','push','filterBrowserstackConfig','567320dYrAxV','../../helpers/BrowserStackSetup','PMmTZ','\x20:\x20','jest_browserstack.config.cjs','reporters','MAvSU','config','existsSync','RDCmx','default','MrzuG','proxySettings','MPxRw','/test-observability/data-hooks.js','mjs','false','join','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','getErrorMessageFromResults','../../helpers/testhub/utils','platform','path','MODULE','finalExecution','xFJra','nAZLE','708TfkjOv','../../helpers/logger','maxWorkers','/customImplements/customEnvironment.js','SjhLW','log','exports','12320NCFJMt','cwd','125396xQxTcA','tClmJ','const\x20config=','child\x20process\x20exited\x20with\x20code\x20','requireModule','Error\x20while\x20parsing\x20','3916KRcINQ','7OrNGZI','vXHki','readFileSync','jest_browserstack.config.js','accessibility','accessibilityOptions','../../helpers/test-observability/constants','../../helpers/helper','writeFileSync','checkAccessibilityPlatformConfig','setupFiles','markSDKSetupComplete','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','TcVkB','serial__','testTimeout','LEItW','QhtpK','VtzIr','platforms'];a12_0x1885=function(){return _0x39e690;};return a12_0x1885();}const a12_0x438cd1=a12_0x3839;(function(_0x426a78,_0x15d098){const _0x331e50=a12_0x3839,_0x1480d4=_0x426a78();while(!![]){try{const _0x1e814b=parseInt(_0x331e50(0x1c9))/0x1*(parseInt(_0x331e50(0x223))/0x2)+parseInt(_0x331e50(0x209))/0x3+-parseInt(_0x331e50(0x1c2))/0x4*(parseInt(_0x331e50(0x1e0))/0x5)+-parseInt(_0x331e50(0x1b9))/0x6*(parseInt(_0x331e50(0x1c0))/0x7)+parseInt(_0x331e50(0x234))/0x8+parseInt(_0x331e50(0x201))/0x9+-parseInt(_0x331e50(0x206))/0xa*(-parseInt(_0x331e50(0x1c8))/0xb);if(_0x1e814b===_0x15d098)break;else _0x1480d4['push'](_0x1480d4['shift']());}catch(_0x59142b){_0x1480d4['push'](_0x1480d4['shift']());}}}(a12_0x1885,0x2e0c9));const fs=require('fs'),path=require(a12_0x438cd1(0x1b4)),util=require(a12_0x438cd1(0x1f4)),{spawn}=require(a12_0x438cd1(0x22d)),logger=require(a12_0x438cd1(0x1ba))['winstonLogger'],{default:BrowserStackSetup}=require(a12_0x438cd1(0x235)),helper=require(a12_0x438cd1(0x1d0)),constants=require('../utils/constants'),accessibilityHelper=require(a12_0x438cd1(0x20e)),{updateTestRerunConfig}=require(a12_0x438cd1(0x21d)),testOpsHelper=require('../../helpers/test-observability/utils'),SessionHandler=require(a12_0x438cd1(0x1ea)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a12_0x438cd1(0x211)),{getPercyOptions}=require(a12_0x438cd1(0x20d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a12_0x438cd1(0x1b2)),{FRAMEWORKS}=require(a12_0x438cd1(0x1cf)),getUserJestConfigs=(_0x39e6f3,_0x1eaddb)=>{const _0x51707d=a12_0x438cd1,_0x4e433a={'xFJra':function(_0x179474,_0x4c7730){return _0x179474(_0x4c7730);},'MmFER':function(_0x3eac16,_0x537674){return _0x3eac16||_0x537674;},'dVYts':function(_0x5a7033,_0x210be3){return _0x5a7033(_0x210be3);},'AhBuw':'package.json','DurAR':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','NYxhH':_0x51707d(0x1ad),'xUJIV':_0x51707d(0x226),'xRbGZ':'json','uzLYp':function(_0x5606a8,_0x382dd3){return _0x5606a8(_0x382dd3);}},_0x46bb03=_0x1eaddb[_0x51707d(0x1f5)](_0x1edd92=>_0x1edd92===_0x51707d(0x1f2));if(!helper[_0x51707d(0x1ff)](_0x39e6f3['config'])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x39e6f3['config']);const _0x3ebcdf=_0x4e433a[_0x51707d(0x1b7)](require,path[_0x51707d(0x22c)](_0x39e6f3['config']));return _0x1eaddb[_0x51707d(0x1f1)](_0x46bb03,0x2),_0x4e433a['MmFER'](_0x3ebcdf,{});}const _0x9a983f=_0x4e433a[_0x51707d(0x220)](require,path[_0x51707d(0x1af)](process[_0x51707d(0x1c1)](),_0x4e433a[_0x51707d(0x1e6)]));if(_0x9a983f[_0x51707d(0x1f8)])return logger[_0x51707d(0x1fd)](_0x4e433a['DurAR']),_0x9a983f[_0x51707d(0x1f8)];const _0x3cab11=['js',_0x4e433a['NYxhH'],_0x4e433a[_0x51707d(0x22b)],_0x4e433a[_0x51707d(0x21b)],'ts'];for(const _0xf023b7 of _0x3cab11){const _0x4a9c34=path[_0x51707d(0x1af)](process[_0x51707d(0x1c1)](),_0x51707d(0x213)+_0xf023b7);if(fs[_0x51707d(0x1a6)](_0x4a9c34))return _0x4e433a[_0x51707d(0x1e3)](require,_0x4a9c34);}return{};},getSerial=(_0x351bd5,_0x3685ab)=>{const _0x54b4d4=a12_0x438cd1,_0x17a784={};_0x17a784['vhYqO']='true',_0x17a784[_0x54b4d4(0x1d9)]=function(_0x1eed96,_0x365e07){return _0x1eed96>_0x365e07;},_0x17a784[_0x54b4d4(0x23a)]=function(_0x22e127,_0x1b1072){return _0x22e127>_0x1b1072;},_0x17a784['vXHki']=_0x54b4d4(0x1ae);const _0x231cb6=_0x17a784;let _0xc28a23=_0x231cb6['vhYqO'];return _0x231cb6['LEItW'](_0x351bd5['length'],0x1)&&(!_0x3685ab[_0x54b4d4(0x1f6)]&&(helper[_0x54b4d4(0x1ff)](_0x3685ab[_0x54b4d4(0x1bb)])||_0x231cb6['MAvSU'](_0x3685ab[_0x54b4d4(0x1bb)],0x1)))&&(_0xc28a23=_0x231cb6[_0x54b4d4(0x1ca)]),_0xc28a23;},getMaxWorkers=(_0x15e306,_0x1174a7,_0x4ca375)=>{const _0xad0bc=a12_0x438cd1,_0x3a6829={'nAZLE':function(_0x1095e8,_0x536187){return _0x1095e8(_0x536187);}};let _0x268273=0x1;if(!helper[_0xad0bc(0x1ff)](_0x1174a7[_0xad0bc(0x22f)]))_0x268273=_0x3a6829[_0xad0bc(0x1b8)](parseInt,_0x1174a7['parallelsPerPlatform']);else{if(!helper[_0xad0bc(0x1ff)](_0x15e306[_0xad0bc(0x1bb)]))_0x268273=_0x15e306[_0xad0bc(0x1bb)];else!helper['isUndefined'](_0x4ca375[_0xad0bc(0x1bb)])&&(_0x268273=_0x4ca375['maxWorkers']);}return _0x268273;};function a12_0x3839(_0x1a90fd,_0x541e0a){const _0x1885f5=a12_0x1885();return a12_0x3839=function(_0x3839e9,_0x5caa6b){_0x3839e9=_0x3839e9-0x1a6;let _0x3787dd=_0x1885f5[_0x3839e9];return _0x3787dd;},a12_0x3839(_0x1a90fd,_0x541e0a);}async function run(_0x13ada0,_0x399c5e){const _0x5d7b02=a12_0x438cd1,_0x199f6f={'Qtkwn':'jest','RDCmx':function(_0x35c638,_0x56c53d){return _0x35c638(_0x56c53d);},'KJnXS':function(_0x452bdb,_0x9cac08){return _0x452bdb!=_0x9cac08;},'PMmTZ':'true','NJUQl':function(_0x7d6777,_0x424e85,_0x3def1c){return _0x7d6777(_0x424e85,_0x3def1c);},'utLOg':_0x5d7b02(0x203),'ECqpe':function(_0xa642f6,_0x40aa48){return _0xa642f6(_0x40aa48);},'QhtpK':function(_0x5b09f1,_0x5ae82b,_0x51b636,_0x33b41e){return _0x5b09f1(_0x5ae82b,_0x51b636,_0x33b41e);},'zQjgs':function(_0x2c8c15,_0x3f2260){return _0x2c8c15*_0x3f2260;},'hdwzZ':function(_0x51ae0d,_0x14efe1){return _0x51ae0d===_0x14efe1;},'jCmfz':_0x5d7b02(0x238),'VtzIr':_0x5d7b02(0x1cc),'MPxRw':_0x5d7b02(0x228),'uycuF':_0x5d7b02(0x215),'IsEhh':_0x5d7b02(0x1fe),'tClmJ':_0x5d7b02(0x1d5),'TcVkB':_0x5d7b02(0x1a8),'HNFFT':function(_0x566ec3,_0x1401e2,_0x4f0baf){return _0x566ec3(_0x1401e2,_0x4f0baf);},'MQaYo':_0x5d7b02(0x1b0),'oPyZP':function(_0x1db043,_0x51c1f8,_0x463c29,_0x5d03eb){return _0x1db043(_0x51c1f8,_0x463c29,_0x5d03eb);},'MrzuG':'jest.cmd','SjhLW':_0x5d7b02(0x1f2),'bYIXl':_0x5d7b02(0x20b),'bkczY':_0x5d7b02(0x218)},_0x534572=new BrowserStackSetup(_0x13ada0,_0x199f6f[_0x5d7b02(0x212)]);helper[_0x5d7b02(0x216)]()&&(await _0x534572['initialize'](),await helper[_0x5d7b02(0x217)](_0x534572[_0x5d7b02(0x23b)]));if(!_0x534572[_0x5d7b02(0x23b)])return;_0x199f6f[_0x5d7b02(0x1f3)](_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1dd)],null)?process[_0x5d7b02(0x227)][_0x5d7b02(0x20c)]=_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1dd)]:process[_0x5d7b02(0x227)][_0x5d7b02(0x20c)]=_0x199f6f[_0x5d7b02(0x236)];const _0x5ecde3=_0x199f6f[_0x5d7b02(0x1df)](getUserJestConfigs,_0x13ada0,_0x399c5e);logger[_0x5d7b02(0x1fd)](_0x199f6f[_0x5d7b02(0x224)]);const _0x19e512=Object[_0x5d7b02(0x214)]({},_0x5ecde3);_0x19e512[_0x5d7b02(0x22e)]=Object[_0x5d7b02(0x214)]({},_0x19e512[_0x5d7b02(0x22e)],{'server':helper[_0x5d7b02(0x204)](_0x534572[_0x5d7b02(0x23b)]),'environment':_0x5ecde3['testEnvironment']}),_0x19e512[_0x5d7b02(0x22e)][_0x5d7b02(0x1e8)]=_0x199f6f[_0x5d7b02(0x210)](getPercyOptions,_0x534572['config']);const _0x269f39=helper['useW3C'](_0x534572[_0x5d7b02(0x23b)]),_0x3af272=helper['prepareCapabilities'](_0x534572[_0x5d7b02(0x23b)],_0x269f39,constants[_0x5d7b02(0x202)][_0x5d7b02(0x1eb)]);!helper[_0x5d7b02(0x1ff)](_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1ce)])&&(process[_0x5d7b02(0x227)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5d7b02(0x1fb)](_0x534572['config'][_0x5d7b02(0x1ce)]));let _0x3ac2ed=_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1cd)];_0x3ac2ed=_0x3ac2ed||accessibilityHelper[_0x5d7b02(0x1d2)](_0x534572[_0x5d7b02(0x23b)]),process[_0x5d7b02(0x227)][_0x5d7b02(0x21a)]=_0x3ac2ed,_0x19e512[_0x5d7b02(0x22e)][_0x5d7b02(0x1ee)]=_0x3af272,_0x19e512[_0x5d7b02(0x22e)][_0x5d7b02(0x1d7)]=_0x199f6f[_0x5d7b02(0x1df)](getSerial,_0x3af272,_0x13ada0),_0x19e512[_0x5d7b02(0x22e)]['parallels__']=_0x199f6f[_0x5d7b02(0x1da)](getMaxWorkers,_0x13ada0,_0x534572['config'],_0x5ecde3),_0x19e512[_0x5d7b02(0x22e)][_0x5d7b02(0x1aa)]=_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1aa)],_0x19e512[_0x5d7b02(0x22e)]['timeout__']=_0x199f6f['zQjgs'](_0x13ada0[_0x5d7b02(0x1d8)],0x1)||0x1388,_0x19e512[_0x5d7b02(0x22e)]['skipSessionName']=_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1e7)]['skipSessionName'],_0x19e512[_0x5d7b02(0x22e)][_0x5d7b02(0x21e)]=_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1e7)][_0x5d7b02(0x21e)],_0x19e512[_0x5d7b02(0x22e)][_0x5d7b02(0x20f)]=_0x534572[_0x5d7b02(0x23b)]['logLevel'],_0x19e512['testEnvironmentOptions'][_0x5d7b02(0x229)]=_0x534572['config'][_0x5d7b02(0x229)],_0x19e512[_0x5d7b02(0x22e)][_0x5d7b02(0x230)]=_0x534572[_0x5d7b02(0x23b)][_0x5d7b02(0x1dc)];let _0x3e440f='';_0x199f6f['hdwzZ'](helper[_0x5d7b02(0x1e5)](),constants['PACKAGE_TYPE'][_0x5d7b02(0x1b5)])?_0x3e440f=_0x199f6f[_0x5d7b02(0x208)]:_0x3e440f=_0x199f6f[_0x5d7b02(0x1db)];const _0x2d2900=_0x3e440f,_0x4f0ac7=path[_0x5d7b02(0x1af)](__dirname,_0x199f6f[_0x5d7b02(0x1ab)],_0x199f6f[_0x5d7b02(0x1e9)]),_0x2c010d=__dirname+_0x5d7b02(0x1e4),_0x37da6f=__dirname+'/customImplements/customTestRunnerTemplate.js';_0x19e512['testEnvironment']&&(process[_0x5d7b02(0x227)]['BSTACK_JEST_TEST_ENV']=_0x19e512[_0x5d7b02(0x225)]);_0x19e512[_0x5d7b02(0x225)]=__dirname+_0x5d7b02(0x1bc),_0x19e512[_0x5d7b02(0x1ed)]=_0x2c010d,_0x19e512[_0x5d7b02(0x207)]=_0x19e512['setupFilesAfterEnv']||[],_0x19e512[_0x5d7b02(0x207)][_0x5d7b02(0x232)](__dirname+_0x5d7b02(0x205));if(testhubUtils[_0x5d7b02(0x1f0)]()){let _0x341354=null;try{_0x341354=helper[_0x5d7b02(0x1c6)](_0x199f6f[_0x5d7b02(0x200)]);}catch(_0xb034fa){_0x199f6f[_0x5d7b02(0x210)](debug,_0x5d7b02(0x1fc)+_0xb034fa);}_0x341354&&(_0x19e512[_0x5d7b02(0x207)][_0x5d7b02(0x232)](__dirname+_0x5d7b02(0x1ac)),_0x19e512[_0x5d7b02(0x1e1)]=__dirname+'/customImplements/customCircus.js');}_0x19e512[_0x5d7b02(0x1d3)]=_0x19e512[_0x5d7b02(0x1d3)]||[];try{helper[_0x5d7b02(0x1f9)](),_0x19e512[_0x5d7b02(0x1d3)][_0x5d7b02(0x232)](__dirname+_0x5d7b02(0x231));}catch{logger['debug'](_0x199f6f[_0x5d7b02(0x1c3)]);}_0x19e512['reporters']=_0x19e512[_0x5d7b02(0x239)]||[_0x199f6f[_0x5d7b02(0x1d6)]],_0x199f6f['HNFFT'](updateTestRerunConfig,_0x19e512,_0x534572);const _0x101de3=fs[_0x5d7b02(0x1cb)](_0x37da6f);fs[_0x5d7b02(0x1d1)](_0x19e512['runner'],'\x0a\x20\x20\x20\x20'+_0x101de3+_0x5d7b02(0x20a)+_0x534572['config']['platforms']['length']+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x5d7b02(0x1fd)](_0x5d7b02(0x21f)+_0x2d2900+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x5d7b02(0x1d1)](_0x2d2900,_0x5d7b02(0x1c4)+JSON[_0x5d7b02(0x1fb)](_0x19e512)+_0x5d7b02(0x1de)),logger['info'](_0x199f6f['MQaYo']);const _0x449665=await TestHubHandler['launchBuild'](FRAMEWORKS['JEST'],_0x534572);testhubUtils[_0x5d7b02(0x1f0)]()&&TestDetails[_0x5d7b02(0x1ef)]();helper[_0x5d7b02(0x233)]({},_0x399c5e),helper[_0x5d7b02(0x1d4)]();const _0x575835=_0x199f6f[_0x5d7b02(0x21c)](spawn,/^win/[_0x5d7b02(0x221)](process[_0x5d7b02(0x1b3)])?_0x199f6f[_0x5d7b02(0x1a9)]:_0x199f6f[_0x5d7b02(0x212)],[_0x199f6f[_0x5d7b02(0x1bd)],_0x2d2900,..._0x399c5e['slice'](0x1)],{'stdio':_0x199f6f['bYIXl'],'env':Object['assign']({},process[_0x5d7b02(0x227)])});_0x575835['on'](_0x199f6f[_0x5d7b02(0x1e2)],async _0x31d131=>{const _0x153ffc=_0x5d7b02;process['exitCode']=_0x31d131,logger['debug'](_0x153ffc(0x1c5)+_0x31d131),logger[_0x153ffc(0x1fd)](_0x153ffc(0x1ec)+_0x2d2900);let _0x2b5f7c=null;if(fs['existsSync'](_0x4f0ac7)){_0x2b5f7c=fs['readFileSync'](_0x4f0ac7);try{_0x2b5f7c=JSON['parse'](_0x2b5f7c);}catch(_0x1ded52){logger['debug'](_0x153ffc(0x1c7)+_0x4f0ac7+',\x20'+_0x2b5f7c+_0x153ffc(0x237)+_0x1ded52);}fs[_0x153ffc(0x1fa)](_0x4f0ac7);}fs[_0x153ffc(0x1fa)](_0x2d2900),fs[_0x153ffc(0x1fa)](_0x2c010d),_0x2b5f7c&&(_0x534572[_0x153ffc(0x1f7)]=helper[_0x153ffc(0x1b1)](_0x2b5f7c,_0x199f6f[_0x153ffc(0x212)],_0x534572));try{await TestHubHandler['stop']();}catch(_0x22b0d6){console[_0x153ffc(0x1be)](_0x22b0d6),_0x199f6f[_0x153ffc(0x1a7)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x153ffc(0x222)](_0x22b0d6));}testOpsHelper[_0x153ffc(0x219)](),TestDetails[_0x153ffc(0x22a)](),await helper[_0x153ffc(0x1b6)](_0x534572);});}module[a12_0x438cd1(0x1bf)]=run;
2
+ 'use strict';function a13_0x929f(_0x441c2c,_0x4fad50){const _0x2de030=a13_0x2de0();return a13_0x929f=function(_0x929f51,_0xa7d943){_0x929f51=_0x929f51-0xfa;let _0x47c292=_0x2de030[_0x929f51];return _0x47c292;},a13_0x929f(_0x441c2c,_0x4fad50);}const a13_0x2dca1b=a13_0x929f;(function(_0x1d430f,_0x1c86bd){const _0xa29bad=a13_0x929f,_0x3ba321=_0x1d430f();while(!![]){try{const _0x4a737c=parseInt(_0xa29bad(0x135))/0x1*(-parseInt(_0xa29bad(0x137))/0x2)+parseInt(_0xa29bad(0x16c))/0x3+-parseInt(_0xa29bad(0x12d))/0x4+-parseInt(_0xa29bad(0x12f))/0x5+parseInt(_0xa29bad(0x16e))/0x6*(parseInt(_0xa29bad(0x171))/0x7)+parseInt(_0xa29bad(0x10a))/0x8+-parseInt(_0xa29bad(0x11a))/0x9*(parseInt(_0xa29bad(0x140))/0xa);if(_0x4a737c===_0x1c86bd)break;else _0x3ba321['push'](_0x3ba321['shift']());}catch(_0x49cbeb){_0x3ba321['push'](_0x3ba321['shift']());}}}(a13_0x2de0,0x8008f));const fs=require('fs'),path=require(a13_0x2dca1b(0x129)),util=require('util'),{spawn}=require(a13_0x2dca1b(0x178)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a13_0x2dca1b(0x13a)),helper=require('../../helpers/helper'),constants=require(a13_0x2dca1b(0x160)),accessibilityHelper=require(a13_0x2dca1b(0x16d)),{updateTestRerunConfig}=require(a13_0x2dca1b(0x122)),testOpsHelper=require(a13_0x2dca1b(0x152)),{debug}=require(a13_0x2dca1b(0x152)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a13_0x2dca1b(0x136)),TestHubHandler=require(a13_0x2dca1b(0x100)),testhubUtils=require(a13_0x2dca1b(0x181)),{FRAMEWORKS}=require(a13_0x2dca1b(0x15c)),getUserJestConfigs=(_0x56bda6,_0x3b8413)=>{const _0x3be2cd=a13_0x2dca1b,_0x3dc4e8={'fbMDl':function(_0x394915,_0x178ba0){return _0x394915(_0x178ba0);},'QUDld':function(_0x385b45,_0x19894f){return _0x385b45||_0x19894f;},'wCWtV':_0x3be2cd(0x118),'QCPoZ':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','jyBgQ':'mjs','hPZEw':_0x3be2cd(0x103),'Umkhd':'json','zlSNL':function(_0x18bf2a,_0x49eb46){return _0x18bf2a(_0x49eb46);}},_0x26467a=_0x3b8413['findIndex'](_0x5bfcc1=>_0x5bfcc1===_0x3be2cd(0x12e));if(!helper['isUndefined'](_0x56bda6[_0x3be2cd(0x126)])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x56bda6['config']);const _0x50ab01=_0x3dc4e8[_0x3be2cd(0x13e)](require,path[_0x3be2cd(0x16f)](_0x56bda6[_0x3be2cd(0x126)]));return _0x3b8413[_0x3be2cd(0x18b)](_0x26467a,0x2),_0x3dc4e8[_0x3be2cd(0x17f)](_0x50ab01,{});}const _0x1bcd32=_0x3dc4e8[_0x3be2cd(0x13e)](require,path[_0x3be2cd(0x113)](process[_0x3be2cd(0x115)](),_0x3dc4e8['wCWtV']));if(_0x1bcd32[_0x3be2cd(0x141)])return logger[_0x3be2cd(0x150)](_0x3dc4e8[_0x3be2cd(0x146)]),_0x1bcd32[_0x3be2cd(0x141)];const _0x3ba063=['js',_0x3dc4e8[_0x3be2cd(0x161)],_0x3dc4e8['hPZEw'],_0x3dc4e8[_0x3be2cd(0x121)],'ts'];for(const _0x45f3e8 of _0x3ba063){const _0x2630ce=path['join'](process[_0x3be2cd(0x115)](),'jest.config.'+_0x45f3e8);if(fs[_0x3be2cd(0x133)](_0x2630ce))return _0x3dc4e8[_0x3be2cd(0x13d)](require,_0x2630ce);}return{};},getSerial=(_0x229bfe,_0x8d9ade)=>{const _0x5149c0=a13_0x2dca1b,_0x1f4a0a={};_0x1f4a0a[_0x5149c0(0x177)]=_0x5149c0(0x128),_0x1f4a0a['gXrpO']=function(_0x2d5a89,_0x4f2846){return _0x2d5a89>_0x4f2846;},_0x1f4a0a['hWwDM']=function(_0x2b4fa1,_0x3f68c1){return _0x2b4fa1>_0x3f68c1;},_0x1f4a0a[_0x5149c0(0x185)]=_0x5149c0(0x180);const _0x54d037=_0x1f4a0a;let _0x39edb1=_0x54d037[_0x5149c0(0x177)];return _0x54d037['gXrpO'](_0x229bfe['length'],0x1)&&(!_0x8d9ade[_0x5149c0(0xfe)]&&(helper[_0x5149c0(0x145)](_0x8d9ade[_0x5149c0(0x165)])||_0x54d037['hWwDM'](_0x8d9ade[_0x5149c0(0x165)],0x1)))&&(_0x39edb1=_0x54d037['UOioY']),_0x39edb1;},getMaxWorkers=(_0x3e0fb1,_0x4bddc9,_0x2f8222)=>{const _0x1461cb=a13_0x2dca1b,_0x32db62={'NPMqf':function(_0x5a4739,_0x50aadc){return _0x5a4739(_0x50aadc);}};let _0xda3b61=0x1;if(!helper[_0x1461cb(0x145)](_0x4bddc9[_0x1461cb(0x16a)]))_0xda3b61=_0x32db62['NPMqf'](parseInt,_0x4bddc9['parallelsPerPlatform']);else{if(!helper[_0x1461cb(0x145)](_0x3e0fb1[_0x1461cb(0x165)]))_0xda3b61=_0x3e0fb1['maxWorkers'];else!helper[_0x1461cb(0x145)](_0x2f8222[_0x1461cb(0x165)])&&(_0xda3b61=_0x2f8222[_0x1461cb(0x165)]);}return _0xda3b61;};async function run(_0x5decc7,_0x4dd91f){const _0x48ce05=a13_0x2dca1b,_0x23005c={'NjdFO':'jest','tuMeg':function(_0x2145e0,_0x52a47d){return _0x2145e0(_0x52a47d);},'ddruF':function(_0x118c16,_0x39f11f){return _0x118c16!=_0x39f11f;},'RjgVE':_0x48ce05(0x128),'KhAFg':function(_0x3fc425,_0x5bca6a,_0xd74a4b){return _0x3fc425(_0x5bca6a,_0xd74a4b);},'MUJhF':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SSlSU':function(_0x330930,_0x290960,_0x1d0857){return _0x330930(_0x290960,_0x1d0857);},'EFpWq':function(_0x18be59,_0x3b3cbe,_0x785907,_0x16f4a1){return _0x18be59(_0x3b3cbe,_0x785907,_0x16f4a1);},'KIOci':function(_0x5dd1ed,_0x3c265f){return _0x5dd1ed*_0x3c265f;},'AliEi':function(_0x4b22f0,_0x29e2eb){return _0x4b22f0===_0x29e2eb;},'AZBgM':_0x48ce05(0x111),'uzmwZ':_0x48ce05(0x16b),'SoMZK':_0x48ce05(0x147),'ruWcI':_0x48ce05(0x10d),'fUBzL':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','CWKFz':function(_0xde806b,_0x561254){return _0xde806b(_0x561254);},'jByVs':_0x48ce05(0x10e),'TFIgM':_0x48ce05(0x102),'ZWkdc':function(_0x1e917c,_0x1fe5d3,_0x319a7d){return _0x1e917c(_0x1fe5d3,_0x319a7d);},'hcoJj':_0x48ce05(0x17c),'DotNc':function(_0x5a2856,_0xb7170f,_0x376739,_0x5c12e8){return _0x5a2856(_0xb7170f,_0x376739,_0x5c12e8);},'PbGGi':_0x48ce05(0x153),'dSuMz':_0x48ce05(0x12e),'maLnw':_0x48ce05(0x138),'EdIBI':_0x48ce05(0x173)},_0x1cbfeb=new BrowserStackSetup(_0x5decc7,_0x23005c[_0x48ce05(0xfc)]);helper[_0x48ce05(0x104)]()&&(await _0x1cbfeb[_0x48ce05(0x117)](),await helper[_0x48ce05(0x18e)](_0x1cbfeb[_0x48ce05(0x126)]));if(!_0x1cbfeb['config'])return;_0x23005c['ddruF'](_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x15d)],null)?process[_0x48ce05(0x109)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x15d)]:process[_0x48ce05(0x109)][_0x48ce05(0xfb)]=_0x23005c[_0x48ce05(0x124)];const _0x2103d4=_0x23005c[_0x48ce05(0x106)](getUserJestConfigs,_0x5decc7,_0x4dd91f);logger['info'](_0x23005c['MUJhF']);const _0x18c70d=Object[_0x48ce05(0x101)]({},_0x2103d4);_0x18c70d[_0x48ce05(0x18a)]=Object['assign']({},_0x18c70d[_0x48ce05(0x18a)],{'server':helper[_0x48ce05(0x163)](_0x1cbfeb[_0x48ce05(0x126)]),'environment':_0x2103d4[_0x48ce05(0x18c)]}),_0x18c70d[_0x48ce05(0x18a)]['browserStackPercyOptions']=_0x23005c['tuMeg'](getPercyOptions,_0x1cbfeb[_0x48ce05(0x126)]);const _0x1409d2=helper[_0x48ce05(0x11e)](_0x1cbfeb['config']),_0x298607=helper[_0x48ce05(0x149)](_0x1cbfeb[_0x48ce05(0x126)],_0x1409d2,constants[_0x48ce05(0x14f)][_0x48ce05(0x176)]);!helper[_0x48ce05(0x145)](_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x187)])&&(process['env'][_0x48ce05(0x15f)]=JSON[_0x48ce05(0x116)](_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x187)]));let _0x5f1e14=_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x17e)];_0x5f1e14=_0x5f1e14||accessibilityHelper[_0x48ce05(0x169)](_0x1cbfeb['config']),process[_0x48ce05(0x109)][_0x48ce05(0x110)]=_0x5f1e14,_0x18c70d['testEnvironmentOptions'][_0x48ce05(0x14b)]=_0x298607,_0x18c70d['testEnvironmentOptions']['serial__']=_0x23005c[_0x48ce05(0x107)](getSerial,_0x298607,_0x5decc7),_0x18c70d[_0x48ce05(0x18a)][_0x48ce05(0x12c)]=_0x23005c['EFpWq'](getMaxWorkers,_0x5decc7,_0x1cbfeb[_0x48ce05(0x126)],_0x2103d4),_0x18c70d[_0x48ce05(0x18a)][_0x48ce05(0x132)]=_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x132)],_0x18c70d[_0x48ce05(0x18a)][_0x48ce05(0x182)]=_0x23005c[_0x48ce05(0x131)](_0x5decc7[_0x48ce05(0x156)],0x1)||0x1388,_0x18c70d[_0x48ce05(0x18a)]['skipSessionName']=_0x1cbfeb['config'][_0x48ce05(0x15a)]['skipSessionName'],_0x18c70d[_0x48ce05(0x18a)][_0x48ce05(0x189)]=_0x1cbfeb['config'][_0x48ce05(0x15a)][_0x48ce05(0x189)],_0x18c70d['testEnvironmentOptions']['browserStackLogLevel']=_0x1cbfeb['config'][_0x48ce05(0x10b)],_0x18c70d['testEnvironmentOptions'][_0x48ce05(0x105)]=_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x105)],_0x18c70d['testEnvironmentOptions'][_0x48ce05(0x17b)]=_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x13c)];let _0x16c3e6='';_0x23005c['AliEi'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x48ce05(0x108)])?_0x16c3e6=_0x23005c[_0x48ce05(0x162)]:_0x16c3e6=_0x23005c[_0x48ce05(0x130)];const _0x17e254=_0x16c3e6,_0x33cda1=path[_0x48ce05(0x113)](__dirname,_0x23005c[_0x48ce05(0x114)],_0x23005c['ruWcI']),_0x15917f=__dirname+_0x48ce05(0x159),_0x5cd462=__dirname+_0x48ce05(0x186);_0x18c70d[_0x48ce05(0x18c)]&&(process[_0x48ce05(0x109)][_0x48ce05(0x142)]=_0x18c70d[_0x48ce05(0x18c)]);_0x18c70d[_0x48ce05(0x18c)]=__dirname+'/customImplements/customEnvironment.js',_0x18c70d['runner']=_0x15917f,_0x18c70d[_0x48ce05(0x188)]=_0x18c70d['setupFilesAfterEnv']||[],_0x18c70d[_0x48ce05(0x188)][_0x48ce05(0x13f)](__dirname+'/jest.setup.js');if(testhubUtils[_0x48ce05(0x11f)]()){let _0x207999=null;try{_0x207999=helper[_0x48ce05(0x148)](_0x23005c['fUBzL']);}catch(_0x26e746){_0x23005c[_0x48ce05(0x11b)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x26e746);}_0x207999&&(_0x18c70d[_0x48ce05(0x188)][_0x48ce05(0x13f)](__dirname+'/test-observability/data-hooks.js'),_0x18c70d['testRunner']=__dirname+_0x48ce05(0x15e));}_0x18c70d[_0x48ce05(0x179)]=_0x18c70d[_0x48ce05(0x179)]||[];try{helper[_0x48ce05(0x175)](),_0x18c70d['setupFiles'][_0x48ce05(0x13f)](__dirname+_0x48ce05(0x166));}catch{logger[_0x48ce05(0x125)](_0x23005c[_0x48ce05(0x12a)]);}_0x18c70d[_0x48ce05(0x11c)]=_0x18c70d['reporters']||[_0x23005c[_0x48ce05(0x13b)]],_0x23005c[_0x48ce05(0x10c)](updateTestRerunConfig,_0x18c70d,_0x1cbfeb);const _0x4ca531=fs['readFileSync'](_0x5cd462);fs['writeFileSync'](_0x18c70d[_0x48ce05(0x123)],_0x48ce05(0x120)+_0x4ca531+_0x48ce05(0x157)+_0x1cbfeb[_0x48ce05(0x126)][_0x48ce05(0x13c)][_0x48ce05(0x134)]+_0x48ce05(0x183)),logger[_0x48ce05(0x150)]('Creating\x20'+_0x17e254+_0x48ce05(0x112)),fs['writeFileSync'](_0x17e254,'const\x20config='+JSON[_0x48ce05(0x116)](_0x18c70d)+_0x48ce05(0xff)),logger['info'](_0x23005c[_0x48ce05(0x158)]);const _0xfef842=await TestHubHandler[_0x48ce05(0x143)](FRAMEWORKS['JEST'],_0x1cbfeb);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x48ce05(0x18d)]();helper[_0x48ce05(0x17a)]({},_0x4dd91f),helper[_0x48ce05(0x14a)]();const _0x227c5e=_0x23005c['DotNc'](spawn,/^win/['test'](process[_0x48ce05(0x15b)])?_0x23005c[_0x48ce05(0x184)]:_0x23005c[_0x48ce05(0xfc)],[_0x23005c[_0x48ce05(0x139)],_0x17e254,..._0x4dd91f[_0x48ce05(0x14c)](0x1)],{'stdio':_0x23005c[_0x48ce05(0x12b)],'env':Object['assign']({},process[_0x48ce05(0x109)])});_0x227c5e['on'](_0x23005c[_0x48ce05(0x11d)],async _0x36a16f=>{const _0x54038e=_0x48ce05;process[_0x54038e(0x17d)]=_0x36a16f,logger[_0x54038e(0x125)](_0x54038e(0x167)+_0x36a16f),logger['info'](_0x54038e(0x14e)+_0x17e254);let _0x4ea002=null;if(fs['existsSync'](_0x33cda1)){_0x4ea002=fs[_0x54038e(0xfd)](_0x33cda1);try{_0x4ea002=JSON[_0x54038e(0x14d)](_0x4ea002);}catch(_0x23fb15){logger[_0x54038e(0x125)](_0x54038e(0x144)+_0x33cda1+',\x20'+_0x4ea002+_0x54038e(0x174)+_0x23fb15);}fs[_0x54038e(0x127)](_0x33cda1);}fs['unlinkSync'](_0x17e254),fs[_0x54038e(0x127)](_0x15917f),_0x4ea002&&(_0x1cbfeb[_0x54038e(0xfa)]=helper['getErrorMessageFromResults'](_0x4ea002,_0x23005c[_0x54038e(0xfc)],_0x1cbfeb));try{await TestHubHandler[_0x54038e(0x155)]();}catch(_0x5a7fad){console[_0x54038e(0x151)](_0x5a7fad),_0x23005c[_0x54038e(0x10f)](debug,_0x54038e(0x119)+util[_0x54038e(0x168)](_0x5a7fad));}testOpsHelper[_0x54038e(0x170)](),TestDetails[_0x54038e(0x172)](),await helper[_0x54038e(0x164)](_0x1cbfeb);});}function a13_0x2de0(){const _0x5de5d1=['exitCode','accessibility','QUDld','false','../../helpers/testhub/utils','timeout__',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','PbGGi','UOioY','/customImplements/customTestRunnerTemplate.js','accessibilityOptions','setupFilesAfterEnv','skipSessionStatus','testEnvironmentOptions','splice','testEnvironment','setup','handleApp','errorMessage','BROWSERSTACK_TEST_OBSERVABILITY_YML','NjdFO','readFileSync','runInBand','\x0amodule.exports\x20=\x20config;','../../helpers/testhub/testhubHandler','assign','default','cjs','isBrowserstackInfra','turboScaleUrl','KhAFg','SSlSU','MODULE','env','1370272JSKBAK','logLevel','ZWkdc','jest_browserstack_results.json','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','tuMeg','BROWSERSTACK_TEST_ACCESSIBILITY_YML','jest_browserstack.config.cjs','\x20with\x20browserstack\x20jest\x20configs','join','SoMZK','cwd','stringify','initialize','package.json','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','340191aZvtxY','CWKFz','reporters','EdIBI','useW3C','shouldProcessEventForTesthub','\x0a\x20\x20\x20\x20','Umkhd','./test-observability/helper','runner','RjgVE','debug','config','unlinkSync','true','path','jByVs','maLnw','parallels__','294380FJQtuL','--config','2726300RfrNBS','uzmwZ','KIOci','proxySettings','existsSync','length','439XjHcWK','../../helpers/percy/utils','1898TeBrGq','inherit','dSuMz','../../helpers/BrowserStackSetup','TFIgM','platforms','zlSNL','fbMDl','push','10CAvilw','jest','BSTACK_JEST_TEST_ENV','launchBuild','Error\x20while\x20parsing\x20','isUndefined','QCPoZ','customImplements','requireModule','prepareCapabilities','markSDKSetupComplete','capabilities','slice','parse','Deleting\x20','FRAMEWORKS','info','log','../../helpers/test-observability/utils','jest.cmd','exports','stop','testTimeout','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','hcoJj','/customImplements/customTestRunner.js','testContextOptions','platform','../../helpers/test-observability/constants','testObservability','/customImplements/customCircus.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','jyBgQ','AZBgM','getHubUrl','finalExecution','maxWorkers','/test_before.setup.js','child\x20process\x20exited\x20with\x20code\x20','format','checkAccessibilityPlatformConfig','parallelsPerPlatform','jest_browserstack.config.js','1222125ykiRmc','../../helpers/accessibility-automation/helper','6114222HrXWhZ','resolve','printBuildLink','7ovhRaO','shutdown','close','\x20:\x20','requireSeleniumWebdriver','JEST','BmZQj','child_process','setupFiles','filterBrowserstackConfig','platformCaps','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.'];a13_0x2de0=function(){return _0x5de5d1;};return a13_0x2de0();}module[a13_0x2dca1b(0x154)]=run;
@@ -1 +1 @@
1
- const a13_0x30f446=a13_0x1048;(function(_0x3acc14,_0x51e080){const _0x4c14f5=a13_0x1048,_0x19fbbf=_0x3acc14();while(!![]){try{const _0x4fab95=-parseInt(_0x4c14f5(0xb9))/0x1+-parseInt(_0x4c14f5(0xbf))/0x2+-parseInt(_0x4c14f5(0xc0))/0x3+-parseInt(_0x4c14f5(0xbc))/0x4*(parseInt(_0x4c14f5(0xbe))/0x5)+parseInt(_0x4c14f5(0xc2))/0x6+-parseInt(_0x4c14f5(0xbb))/0x7*(parseInt(_0x4c14f5(0xb3))/0x8)+parseInt(_0x4c14f5(0xb7))/0x9;if(_0x4fab95===_0x51e080)break;else _0x19fbbf['push'](_0x19fbbf['shift']());}catch(_0x92ebc5){_0x19fbbf['push'](_0x19fbbf['shift']());}}}(a13_0x30f3,0xac4bc));const path=require('path'),{requireModule}=require('../../../helpers/helper');function a13_0x1048(_0x1b2e04,_0x29db7e){const _0x30f3d5=a13_0x30f3();return a13_0x1048=function(_0x10483f,_0x4cce6f){_0x10483f=_0x10483f-0xb2;let _0x5e04f3=_0x30f3d5[_0x10483f];return _0x5e04f3;},a13_0x1048(_0x1b2e04,_0x29db7e);}let initJestAdapter=requireModule(a13_0x30f446(0xb2));initJestAdapter=typeof initJestAdapter===a13_0x30f446(0xb6)?initJestAdapter:initJestAdapter['default'];function a13_0x30f3(){const _0x5589c0=['exports','requireInternalModule','function','29908062vOhith','initRequireModule','1269603fZJQqY','apvVh','5177060rSkPhX','9924QVlTkh','kwoSj','15xAwNDZ','1762866PAkJAq','1972329fuhfvQ','includes','5628648kyVScF','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','8AwumVW'];a13_0x30f3=function(){return _0x5589c0;};return a13_0x30f3();}const FRAMEWORK_INITIALIZER=path['join'](__dirname,'./customJestAdapterInit.js');module[a13_0x30f446(0xb4)]=(..._0x29a0f5)=>{const _0x5d874e=a13_0x30f446,_0x46d3e0={'apvVh':'/jestAdapterInit','kwoSj':function(_0x473b75,_0x6852ba){return _0x473b75===_0x6852ba;},'xbyWX':function(_0xe3d3a3,..._0x3d7d93){return _0xe3d3a3(..._0x3d7d93);}};return _0x29a0f5[0x3][_0x5d874e(0xb8)]=_0x29a0f5[0x3][_0x5d874e(0xb5)],_0x29a0f5[0x3][_0x5d874e(0xb5)]=(..._0x2ea066)=>{const _0x1527bd=_0x5d874e;if(_0x2ea066[0x0]&&_0x2ea066[0x0][_0x1527bd(0xc1)](_0x46d3e0[_0x1527bd(0xba)])&&_0x46d3e0[_0x1527bd(0xbd)](_0x2ea066[0x1],undefined))return _0x29a0f5[0x3][_0x1527bd(0xb8)](FRAMEWORK_INITIALIZER);return _0x29a0f5[0x3][_0x1527bd(0xb8)](..._0x2ea066);},_0x46d3e0['xbyWX'](initJestAdapter,..._0x29a0f5);};
1
+ const a14_0x10b5bc=a14_0x4db7;(function(_0x1f60b9,_0x5e77c0){const _0x2586c7=a14_0x4db7,_0x1bb1ea=_0x1f60b9();while(!![]){try{const _0x321bda=parseInt(_0x2586c7(0xa6))/0x1+-parseInt(_0x2586c7(0xad))/0x2+parseInt(_0x2586c7(0xa7))/0x3*(-parseInt(_0x2586c7(0xb0))/0x4)+-parseInt(_0x2586c7(0xac))/0x5*(parseInt(_0x2586c7(0xb1))/0x6)+parseInt(_0x2586c7(0xa0))/0x7+-parseInt(_0x2586c7(0x9c))/0x8+parseInt(_0x2586c7(0xa3))/0x9*(parseInt(_0x2586c7(0xa9))/0xa);if(_0x321bda===_0x5e77c0)break;else _0x1bb1ea['push'](_0x1bb1ea['shift']());}catch(_0x368486){_0x1bb1ea['push'](_0x1bb1ea['shift']());}}}(a14_0x1780,0x8b68b));const path=require(a14_0x10b5bc(0xa5)),{requireModule}=require(a14_0x10b5bc(0xa2));let initJestAdapter=requireModule(a14_0x10b5bc(0xaf));initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter['default'];function a14_0x1780(){const _0x4aa32a=['68019wRsefX','./customJestAdapterInit.js','../../../helpers/helper','864MZuEGn','includes','path','133393ilKHje','654rXmmcl','requireInternalModule','321430ZtomMA','lUTsA','join','3665tlDDcZ','855446BjfEju','initRequireModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','19472ssGOBj','3660FpJjsk','5773936TXnxck','/jestAdapterInit','exports','PQlGA'];a14_0x1780=function(){return _0x4aa32a;};return a14_0x1780();}function a14_0x4db7(_0x1d5176,_0x415fe7){const _0x178047=a14_0x1780();return a14_0x4db7=function(_0x4db78d,_0x12ed93){_0x4db78d=_0x4db78d-0x9c;let _0xc58629=_0x178047[_0x4db78d];return _0xc58629;},a14_0x4db7(_0x1d5176,_0x415fe7);}const FRAMEWORK_INITIALIZER=path[a14_0x10b5bc(0xab)](__dirname,a14_0x10b5bc(0xa1));module[a14_0x10b5bc(0x9e)]=(..._0x3db26b)=>{const _0xc9d49e=a14_0x10b5bc,_0x1c67dc={'PQlGA':_0xc9d49e(0x9d),'lUTsA':function(_0xd104e0,_0x21abd7){return _0xd104e0===_0x21abd7;},'wkMsd':function(_0x46d7e5,..._0x5a84f7){return _0x46d7e5(..._0x5a84f7);}};return _0x3db26b[0x3][_0xc9d49e(0xae)]=_0x3db26b[0x3][_0xc9d49e(0xa8)],_0x3db26b[0x3][_0xc9d49e(0xa8)]=(..._0x25a854)=>{const _0x5746b2=_0xc9d49e;if(_0x25a854[0x0]&&_0x25a854[0x0][_0x5746b2(0xa4)](_0x1c67dc[_0x5746b2(0x9f)])&&_0x1c67dc[_0x5746b2(0xaa)](_0x25a854[0x1],undefined))return _0x3db26b[0x3][_0x5746b2(0xae)](FRAMEWORK_INITIALIZER);return _0x3db26b[0x3][_0x5746b2(0xae)](..._0x25a854);},_0x1c67dc['wkMsd'](initJestAdapter,..._0x3db26b);};
@@ -1 +1 @@
1
- const a14_0x4614cd=a14_0x543b;(function(_0x1e588c,_0x258e31){const _0x2301ab=a14_0x543b,_0x5a8c33=_0x1e588c();while(!![]){try{const _0x4099a0=-parseInt(_0x2301ab(0xd1))/0x1+-parseInt(_0x2301ab(0xc4))/0x2*(parseInt(_0x2301ab(0x107))/0x3)+parseInt(_0x2301ab(0xca))/0x4+-parseInt(_0x2301ab(0xf8))/0x5*(-parseInt(_0x2301ab(0x111))/0x6)+-parseInt(_0x2301ab(0x10d))/0x7+-parseInt(_0x2301ab(0xd5))/0x8+parseInt(_0x2301ab(0xf9))/0x9;if(_0x4099a0===_0x258e31)break;else _0x5a8c33['push'](_0x5a8c33['shift']());}catch(_0x197f36){_0x5a8c33['push'](_0x5a8c33['shift']());}}}(a14_0x3399,0x8adc2));function a14_0x3399(){const _0x1eeaf6=['4|5|2|6|7|1|0|8|9|3','__timeout','Builder','__platformCaps','adJYE','../../../index','__driversArray','143666SyhaXn','percy','quit','cwd','BSTACK_JEST_TEST_ENV','LhBRB','2358484xmDBXf','PjFCD','requireModule','EJHrl','browserStackPercyOptions','nestedKeyValue','HezAy','832564KkRSft','../test-observability/obsReporter','default','EWXAZ','3740312vnKOTo','exports','1|0|2|4|3','cleanup','setup','vGDoS','env','split','global','cleanupDrivers','projectConfig','sessionNameProvided','test','node','skipSessionName','browserstackAgentV2','DWwur','getTestEnvironment','framework','FRAMEWORKS','testEnvironmentOptions','platformCaps','LMZwb','handleTestEvent','guUIK','../../../helpers/test-observability/requestQueueHandler','shutdown','timeout__','getInstance','oUnCW','__skipSessionStatus','capability','__drivers','JJNKo','bqkJU','145NBVMgj','23292369TmBkQU','browserstackPercyBestPlatform','AnPJk','builder','testContext','teardown','browserStackGlobals','isBrowserstackInfra','teaIk','JEST','configuration','modifyCommand','RaMVX','__webdriver','42rJSoQU','resolveTestEnvironment','isTrue','__esModule','driver','YmmAX','5410286wAOXHn','kklsY','browserstackPlatformIndex','shouldProcessEventForTesthub','97194PkZpMS','SVmtl'];a14_0x3399=function(){return _0x1eeaf6;};return a14_0x3399();}function a14_0x543b(_0x502ade,_0x2623d1){const _0x339933=a14_0x3399();return a14_0x543b=function(_0x543be1,_0x311ed1){_0x543be1=_0x543be1-0xbc;let _0x3fd463=_0x339933[_0x543be1];return _0x3fd463;},a14_0x543b(_0x502ade,_0x2623d1);}const helper=require('../../../helpers/helper'),constants=require('../../utils/constants'),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a14_0x4614cd(0xee)),ObservabilityReporter=require(a14_0x4614cd(0xd2)),testhubUtils=require('../../../helpers/testhub/utils'),getTestEnvironment=((()=>{const _0x26999d=a14_0x4614cd,_0x4c4cc4={};_0x4c4cc4['guUIK']='jest-resolve',_0x4c4cc4[_0x26999d(0xcb)]='jest-config';const _0x18dcd0=_0x4c4cc4;try{const _0x55edb5=helper[_0x26999d(0xcc)](_0x18dcd0[_0x26999d(0xed)]);if(_0x55edb5[_0x26999d(0x108)])return _0x55edb5[_0x26999d(0x108)];const _0x1758e6=helper[_0x26999d(0xcc)](_0x18dcd0['PjFCD']);if(_0x1758e6['getTestEnvironment'])return _0x1758e6[_0x26999d(0xe6)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0xdd6692=a14_0x4614cd,_0x45c428={'SVmtl':function(_0x1b3f4a,_0x6eca99){return _0x1b3f4a(_0x6eca99);},'ILQMj':_0xdd6692(0xe2),'JJNKo':'jest-environment-node','YmmAX':function(_0x5efafa,_0x663caf){return _0x5efafa(_0x663caf);}},_0x3f612b=_0x45c428[_0xdd6692(0xbc)](getTestEnvironment,{'rootDir':process[_0xdd6692(0xc7)](),'testEnvironment':process[_0xdd6692(0xdb)][_0xdd6692(0xc8)]||_0x45c428['ILQMj']});if(!_0x3f612b)return _0x45c428[_0xdd6692(0xbc)](_interopRequireDefault,helper['requireModule'](_0x45c428[_0xdd6692(0xf6)]));return _0x45c428[_0xdd6692(0x10c)](_interopRequireDefault,helper[_0xdd6692(0xcc)](_0x3f612b));})()),_seleniumWebdriver2=((()=>{const _0x165f7b=a14_0x4614cd,_0x279669={'LhBRB':function(_0x3006c4,_0x333bd0){return _0x3006c4(_0x333bd0);}};try{const _0xa6394=helper['requireSeleniumWebdriver']();return helper[_0x165f7b(0x104)](),_0x279669[_0x165f7b(0xc9)](_interopRequireDefault,_0xa6394);}catch{return null;}})());function _interopRequireDefault(_0x3a7987){const _0x54ef6a=a14_0x4614cd;return _0x3a7987&&_0x3a7987[_0x54ef6a(0x10a)]?_0x3a7987:{'default':_0x3a7987};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a14_0x4614cd(0xd3)][a14_0x4614cd(0xbf)]:null;class CustomEnvironment extends _jestUserEnvironment[a14_0x4614cd(0xd3)]{constructor(_0x4bfe9c){const _0x3fa442=a14_0x4614cd,_0x5c34a9={'HezAy':_0x3fa442(0xc6),'adJYE':_0x3fa442(0xd7),'oUnCW':function(_0x4bec57,_0x25ddde){return _0x4bec57+_0x25ddde;},'AnPJk':_0x3fa442(0xbd),'EJHrl':_0x3fa442(0xea),'EWXAZ':_0x3fa442(0xe9),'vGDoS':_0x3fa442(0xce),'bqkJU':'percyCaptureMode','RaMVX':function(_0x300720,_0x4a3664){return _0x300720(_0x4a3664);},'DWwur':_0x3fa442(0xc2),'kklsY':_0x3fa442(0xfa),'LMZwb':'percy'};super(_0x4bfe9c),this[_0x3fa442(0xdd)][_0x3fa442(0xbe)]=0x0,this[_0x3fa442(0x103)]={};!_0x4bfe9c[_0x3fa442(0xe9)]&&(_0x4bfe9c['testEnvironmentOptions']={});if(helper[_0x3fa442(0x100)]()){const _0x41d169=_0x5c34a9[_0x3fa442(0xc1)]['split']('|');let _0x29f975=0x0;while(!![]){switch(_0x41d169[_0x29f975++]){case'0':this[_0x3fa442(0xfc)]=new _seleniumWebdriver2['default'][(_0x3fa442(0xbf))]();continue;case'1':_0x4bfe9c[_0x3fa442(0xe9)]=_0x4bfe9c[_0x3fa442(0xdf)]?_0x4bfe9c['projectConfig'][_0x3fa442(0xe9)]:_0x4bfe9c[_0x3fa442(0xe9)];continue;case'2':this[_0x3fa442(0x103)]=_0x4bfe9c[_0x3fa442(0xe9)];continue;case'3':this[_0x3fa442(0xdd)][_0x3fa442(0xbe)]=_0x5c34a9[_0x3fa442(0xf2)](this[_0x3fa442(0x103)][_0x3fa442(0xf0)],constants['BSTACK_DELTA']);continue;case'4':this[_0x3fa442(0xf4)]=_0x4bfe9c[_0x3fa442(0xdf)]?_0x4bfe9c[_0x3fa442(0xdf)][_0x3fa442(0xf4)]:_0x4bfe9c[_0x3fa442(0xf4)];continue;}break;}}if(testhubUtils[_0x3fa442(0x110)]()){const _0x52f198=new ObservabilityReporter();_0x52f198['registerListeners']();}this['global'][_0x3fa442(0xff)]={},this[_0x3fa442(0x103)][_0x3fa442(0xe7)]=constants[_0x3fa442(0xe8)][_0x3fa442(0x102)];if(_seleniumWebdriver2){const _0x16a20a=_0x5c34a9[_0x3fa442(0xfb)][_0x3fa442(0xdc)]('|');let _0x4fdf88=0x0;while(!![]){switch(_0x16a20a[_0x4fdf88++]){case'0':this['global'][_0x3fa442(0xc0)]=helper['nestedKeyValue'](this['configuration'],[_0x5c34a9[_0x3fa442(0xcd)],this['global'][_0x3fa442(0x10f)]])||{};continue;case'1':this[_0x3fa442(0xdd)]['percyCaptureMode']=helper[_0x3fa442(0xcf)](_0x4bfe9c,[_0x5c34a9['EWXAZ'],_0x5c34a9[_0x3fa442(0xda)],_0x5c34a9[_0x3fa442(0xf7)]]);continue;case'2':this['global']['browserstackPlatformIndex']=(_0x4bfe9c[_0x3fa442(0xdf)]?_0x4bfe9c[_0x3fa442(0xdf)][_0x3fa442(0x10f)]:_0x4bfe9c[_0x3fa442(0x10f)])||0x0;continue;case'3':this[_0x3fa442(0xdd)][_0x3fa442(0xd8)]=async()=>{const _0x226dc4=_0x3fa442;await this[_0x226dc4(0xdd)][_0x226dc4(0x10b)][_0x226dc4(0xc6)](_0x5c34a9[_0x226dc4(0xd0)]);};continue;case'4':this['global'][_0x3fa442(0xf5)]=[];continue;case'5':this[_0x3fa442(0xdd)]['__webdriver']=_0x5c34a9[_0x3fa442(0x105)](require,_0x5c34a9[_0x3fa442(0xe5)])[_0x3fa442(0xe4)]({...this[_0x3fa442(0x103)],'capability':this[_0x3fa442(0xf4)]||{}},this,testhubUtils[_0x3fa442(0x110)]());continue;case'6':this[_0x3fa442(0xdd)]['browserstackPercyBestPlatform']=helper[_0x3fa442(0xcf)](_0x4bfe9c,[_0x5c34a9[_0x3fa442(0xd4)],_0x5c34a9[_0x3fa442(0xda)],_0x5c34a9[_0x3fa442(0x10e)]]);continue;case'7':this['global'][_0x3fa442(0xc5)]=helper['nestedKeyValue'](_0x4bfe9c,[_0x5c34a9[_0x3fa442(0xd4)],_0x5c34a9[_0x3fa442(0xda)],_0x5c34a9[_0x3fa442(0xeb)]]);continue;case'8':helper[_0x3fa442(0x109)](this[_0x3fa442(0x103)][_0x3fa442(0xe3)])?this['global'][_0x3fa442(0xe0)]=!![]:this[_0x3fa442(0xdd)][_0x3fa442(0xe0)]=![];continue;case'9':this[_0x3fa442(0xdd)][_0x3fa442(0xf3)]=helper['isTrue'](this[_0x3fa442(0x103)]['skipSessionStatus']);continue;}break;}}}async[a14_0x4614cd(0xfe)](){const _0x4b27b0=a14_0x4614cd;_seleniumWebdriver2&&(await helper[_0x4b27b0(0xde)](this[_0x4b27b0(0xdd)][_0x4b27b0(0xc3)]),this[_0x4b27b0(0xdd)][_0x4b27b0(0x106)][_0x4b27b0(0xbf)]=originalBuilder),await RequestQueueHandler[_0x4b27b0(0xf1)]()[_0x4b27b0(0xef)]();}async[a14_0x4614cd(0xd9)](){}async[a14_0x4614cd(0xec)](_0x33c7e8,_0x2f01b4){const _0x55c990=a14_0x4614cd,_0x4c2f69={};_0x4c2f69['teaIk']=function(_0x47375c,_0x23f64){return _0x47375c===_0x23f64;},_0x4c2f69['zHfBv']='test_start';const _0x4b4fce=_0x4c2f69,{name:_0x3172a6}=_0x33c7e8;_0x4b4fce[_0x55c990(0x101)](_0x3172a6,_0x4b4fce['zHfBv'])&&(this[_0x55c990(0xdd)][_0x55c990(0xfd)]=_0x33c7e8[_0x55c990(0xe1)]);}}module[a14_0x4614cd(0xd6)]=CustomEnvironment;
1
+ const a15_0x4f5861=a15_0x11eb;function a15_0x173b(){const _0x51cba7=['5078824QLFdmK','fyvKa','cleanup','browserstackPercyBestPlatform','getTestEnvironment','setup','global','sessionNameProvided','../../utils/constants','modifyCommand','default','projectConfig','jest-resolve','hIlxY','browserStackGlobals','649ReknlN','getInstance','__drivers','../../../helpers/test-observability/utils','percy','11200401SSXpPo','58VLdevN','Ocdff','__esModule','registerListeners','timeout__','driver','test_start','xIpnr','LifoP','LjQOu','capability','Builder','BSTACK_JEST_TEST_ENV','jest-environment-node','hSMIk','exports','njKZA','requireSeleniumWebdriver','skipSessionStatus','53693MdnpfE','cleanupDrivers','FvosW','ojnjx','skipSessionName','FFmDs','5032acRgkS','442104ieaRHL','isTrue','1143235wWWcvM','browserStackPercyOptions','18928320jmEBdU','JEST','42ELvmMP','__webdriver','env','HTPva','percyCaptureMode','platformCaps','7qhYtwl','teardown','nestedKeyValue','EOFjT','../../../helpers/testhub/utils','configuration','2|8|5|1|7|3|4|0|6|9','testContext','quit','../../../index','builder','../../../helpers/helper','browserstackPlatformIndex','test','__driversArray','WEHYx','OAYgo','18XpHrzV','WnFAu','node','shouldProcessEventForTesthub','FRAMEWORKS','requireModule','resolveTestEnvironment','testEnvironmentOptions','../test-observability/obsReporter','isBrowserstackInfra'];a15_0x173b=function(){return _0x51cba7;};return a15_0x173b();}function a15_0x11eb(_0x13b37b,_0x134d96){const _0x173b63=a15_0x173b();return a15_0x11eb=function(_0x11eb4e,_0x21d488){_0x11eb4e=_0x11eb4e-0x6d;let _0x109918=_0x173b63[_0x11eb4e];return _0x109918;},a15_0x11eb(_0x13b37b,_0x134d96);}(function(_0x554192,_0x330e2f){const _0x43d79e=a15_0x11eb,_0x5b2b91=_0x554192();while(!![]){try{const _0x3dba7d=-parseInt(_0x43d79e(0xbd))/0x1*(-parseInt(_0x43d79e(0xaa))/0x2)+-parseInt(_0x43d79e(0x8b))/0x3*(parseInt(_0x43d79e(0x6d))/0x4)+parseInt(_0x43d79e(0x70))/0x5*(parseInt(_0x43d79e(0x74))/0x6)+parseInt(_0x43d79e(0x7a))/0x7*(parseInt(_0x43d79e(0x95))/0x8)+parseInt(_0x43d79e(0xa9))/0x9+-parseInt(_0x43d79e(0x72))/0xa+-parseInt(_0x43d79e(0xa4))/0xb*(parseInt(_0x43d79e(0x6e))/0xc);if(_0x3dba7d===_0x330e2f)break;else _0x5b2b91['push'](_0x5b2b91['shift']());}catch(_0x3584fc){_0x5b2b91['push'](_0x5b2b91['shift']());}}}(a15_0x173b,0xeb15e));const helper=require(a15_0x4f5861(0x85)),constants=require(a15_0x4f5861(0x9d)),{isTestObservabilitySession}=require(a15_0x4f5861(0xa7)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a15_0x4f5861(0x93)),testhubUtils=require(a15_0x4f5861(0x7e)),getTestEnvironment=((()=>{const _0xdd1943=a15_0x4f5861,_0x249708={};_0x249708[_0xdd1943(0x8c)]=_0xdd1943(0xa1),_0x249708[_0xdd1943(0x77)]='jest-config';const _0x4fe068=_0x249708;try{const _0x188914=helper[_0xdd1943(0x90)](_0x4fe068[_0xdd1943(0x8c)]);if(_0x188914[_0xdd1943(0x91)])return _0x188914[_0xdd1943(0x91)];const _0x58df6e=helper[_0xdd1943(0x90)](_0x4fe068[_0xdd1943(0x77)]);if(_0x58df6e[_0xdd1943(0x99)])return _0x58df6e[_0xdd1943(0x99)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3ec3a3=a15_0x4f5861,_0x34d12c={'WEHYx':function(_0xa77b8a,_0x234ba0){return _0xa77b8a(_0x234ba0);},'jlMIO':_0x3ec3a3(0x8d),'fyvKa':_0x3ec3a3(0xb7),'xIpnr':function(_0x3cadec,_0x6a7ef0){return _0x3cadec(_0x6a7ef0);}},_0x4bea46=_0x34d12c[_0x3ec3a3(0x89)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x3ec3a3(0x76)][_0x3ec3a3(0xb6)]||_0x34d12c['jlMIO']});if(!_0x4bea46)return _0x34d12c[_0x3ec3a3(0x89)](_interopRequireDefault,helper['requireModule'](_0x34d12c[_0x3ec3a3(0x96)]));return _0x34d12c[_0x3ec3a3(0xb1)](_interopRequireDefault,helper[_0x3ec3a3(0x90)](_0x4bea46));})()),_seleniumWebdriver2=((()=>{const _0x5bf7ae=a15_0x4f5861,_0x3fa910={'njKZA':function(_0x58fdc2,_0x25a2b9){return _0x58fdc2(_0x25a2b9);}};try{const _0x18ec65=helper[_0x5bf7ae(0xbb)]();return helper[_0x5bf7ae(0x9e)](),_0x3fa910[_0x5bf7ae(0xba)](_interopRequireDefault,_0x18ec65);}catch{return null;}})());function _interopRequireDefault(_0x1adae7){const _0x46fbf4=a15_0x4f5861;return _0x1adae7&&_0x1adae7[_0x46fbf4(0xac)]?_0x1adae7:{'default':_0x1adae7};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a15_0x4f5861(0x9f)][a15_0x4f5861(0xb5)]:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x5b4132){const _0xca941b=a15_0x4f5861,_0x36652f={'LjQOu':_0xca941b(0x82),'fvRJk':'4|3|2|1|0','FFmDs':function(_0x1f58e9,_0xc2663e){return _0x1f58e9+_0xc2663e;},'CVSYR':_0xca941b(0x80),'ojnjx':_0xca941b(0x92),'FvosW':_0xca941b(0x71),'OAYgo':_0xca941b(0x98),'CPRdG':_0xca941b(0x78),'KOxSv':_0xca941b(0x79),'Ocdff':_0xca941b(0xa8),'hSMIk':function(_0xef6f47,_0x2df42b){return _0xef6f47(_0x2df42b);},'EOFjT':_0xca941b(0x83)};super(_0x5b4132),this[_0xca941b(0x9b)]['__timeout']=0x0,this[_0xca941b(0x7f)]={};!_0x5b4132[_0xca941b(0x92)]&&(_0x5b4132[_0xca941b(0x92)]={});if(helper[_0xca941b(0x94)]()){const _0xf9953a=_0x36652f['fvRJk']['split']('|');let _0x327c40=0x0;while(!![]){switch(_0xf9953a[_0x327c40++]){case'0':this[_0xca941b(0x9b)]['__timeout']=_0x36652f[_0xca941b(0xc2)](this[_0xca941b(0x7f)][_0xca941b(0xae)],constants['BSTACK_DELTA']);continue;case'1':this[_0xca941b(0xb4)]=_0x5b4132[_0xca941b(0xa0)]?_0x5b4132[_0xca941b(0xa0)][_0xca941b(0xb4)]:_0x5b4132[_0xca941b(0xb4)];continue;case'2':this[_0xca941b(0x7f)]=_0x5b4132['testEnvironmentOptions'];continue;case'3':this[_0xca941b(0x84)]=new _seleniumWebdriver2['default'][(_0xca941b(0xb5))]();continue;case'4':_0x5b4132[_0xca941b(0x92)]=_0x5b4132['projectConfig']?_0x5b4132[_0xca941b(0xa0)][_0xca941b(0x92)]:_0x5b4132[_0xca941b(0x92)];continue;}break;}}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x2d8f64=new ObservabilityReporter();_0x2d8f64[_0xca941b(0xad)]();}this[_0xca941b(0x9b)][_0xca941b(0xa3)]={},this[_0xca941b(0x7f)]['framework']=constants[_0xca941b(0x8f)][_0xca941b(0x73)];if(_seleniumWebdriver2){const _0x100bcc=_0x36652f['CVSYR']['split']('|');let _0x423614=0x0;while(!![]){switch(_0x100bcc[_0x423614++]){case'0':helper['isTrue'](this['configuration'][_0xca941b(0xc1)])?this[_0xca941b(0x9b)][_0xca941b(0x9c)]=!![]:this[_0xca941b(0x9b)]['sessionNameProvided']=![];continue;case'1':this[_0xca941b(0x9b)][_0xca941b(0x98)]=helper[_0xca941b(0x7c)](_0x5b4132,[_0x36652f[_0xca941b(0xc0)],_0x36652f[_0xca941b(0xbf)],_0x36652f[_0xca941b(0x8a)]]);continue;case'2':this[_0xca941b(0x9b)][_0xca941b(0xa6)]=[];continue;case'3':this[_0xca941b(0x9b)][_0xca941b(0x78)]=helper[_0xca941b(0x7c)](_0x5b4132,[_0x36652f['ojnjx'],_0x36652f[_0xca941b(0xbf)],_0x36652f['CPRdG']]);continue;case'4':this[_0xca941b(0x9b)]['__platformCaps']=helper[_0xca941b(0x7c)](this[_0xca941b(0x7f)],[_0x36652f['KOxSv'],this[_0xca941b(0x9b)][_0xca941b(0x86)]])||{};continue;case'5':this[_0xca941b(0x9b)][_0xca941b(0x86)]=(_0x5b4132['projectConfig']?_0x5b4132[_0xca941b(0xa0)][_0xca941b(0x86)]:_0x5b4132[_0xca941b(0x86)])||0x0;continue;case'6':this[_0xca941b(0x9b)]['__skipSessionStatus']=helper[_0xca941b(0x6f)](this['configuration'][_0xca941b(0xbc)]);continue;case'7':this[_0xca941b(0x9b)][_0xca941b(0xa8)]=helper[_0xca941b(0x7c)](_0x5b4132,[_0x36652f[_0xca941b(0xc0)],_0x36652f[_0xca941b(0xbf)],_0x36652f[_0xca941b(0xab)]]);continue;case'8':this['global'][_0xca941b(0x75)]=_0x36652f[_0xca941b(0xb8)](require,_0x36652f[_0xca941b(0x7d)])['browserstackAgentV2']({...this['configuration'],'capability':this[_0xca941b(0xb4)]||{}},this,testhubUtils[_0xca941b(0x8e)]());continue;case'9':this[_0xca941b(0x9b)][_0xca941b(0x97)]=async()=>{const _0x3f7753=_0xca941b;await this[_0x3f7753(0x9b)][_0x3f7753(0xaf)][_0x3f7753(0x82)](_0x36652f[_0x3f7753(0xb3)]);};continue;}break;}}}async[a15_0x4f5861(0x7b)](){const _0x131d01=a15_0x4f5861;_seleniumWebdriver2&&(await helper[_0x131d01(0xbe)](this[_0x131d01(0x9b)][_0x131d01(0x88)]),this[_0x131d01(0x9b)][_0x131d01(0x75)][_0x131d01(0xb5)]=originalBuilder),await RequestQueueHandler[_0x131d01(0xa5)]()['shutdown']();}async[a15_0x4f5861(0x9a)](){}async['handleTestEvent'](_0x14fcb6,_0x2d3536){const _0x1f55f2=a15_0x4f5861,_0x5a6432={};_0x5a6432[_0x1f55f2(0xb2)]=function(_0x22fe0b,_0x94cea6){return _0x22fe0b===_0x94cea6;},_0x5a6432[_0x1f55f2(0xa2)]=_0x1f55f2(0xb0);const _0x200a75=_0x5a6432,{name:_0x5e4345}=_0x14fcb6;_0x200a75['LifoP'](_0x5e4345,_0x200a75[_0x1f55f2(0xa2)])&&(this[_0x1f55f2(0x9b)][_0x1f55f2(0x81)]=_0x14fcb6[_0x1f55f2(0x87)]);}}module[a15_0x4f5861(0xb9)]=CustomEnvironment;
@@ -1 +1 @@
1
- function a15_0x2495(){const _0x1b971b=['100EiAcIs','200628ZVCVDi','HookRunStarted','cUfTZ','hook','includes','../../../helpers/test-observability/error-handler','uyVTW','10037936gSJAYt',':hookAnalyticsId','../../../helpers/test-observability/utils','type','unhandledErrors','beforeAll','dwzmf','hookAnalyticsId','hook_start','22502790SCifVa','854431kKhJtV','uElpu','GjXSE','hSfWZ','UYhBh','HuojI','removeAllListeners','length','qTMjX','EVENT','initialize','registerListeners','cHwcW','beforeEach','shutdown','setTestUUID','OBLGF','HookStarted','DNBKU','sendTestRunEvent','errorsDetailed','../../../helpers/testhub/constants','pid','../../../helpers/helper','getInstance','278kOCQaP','HookFinished','ivUCy','1683792psWcKD','LcjrY','../test-observability/obsReporter','hook_failure','4630324khafvR','URBYl','7wXeDyr','forEach','jest-circus/build/utils.js','GYfhd','teardown','run_describe_finish','makeSingleTestResult','hTUDC','BThNQ','addEventHandler','name','testStarted','markedStatus','removeTestUUID','anxTm','test','28191qaZMEI','../../../helpers/test-observability/requestQueueHandler','TestRunSkipped','../../../helpers/testhub/utils','HookRunFinished','../test-observability/test-details','afterEach','hook_success','keys'];a15_0x2495=function(){return _0x1b971b;};return a15_0x2495();}const a15_0x1cabb8=a15_0xad98;(function(_0x130199,_0x36007f){const _0x484419=a15_0xad98,_0x41d444=_0x130199();while(!![]){try{const _0x2bfbb8=parseInt(_0x484419(0x203))/0x1+parseInt(_0x484419(0x21c))/0x2*(-parseInt(_0x484419(0x1e8))/0x3)+parseInt(_0x484419(0x1d6))/0x4+-parseInt(_0x484419(0x1f1))/0x5*(parseInt(_0x484419(0x1f2))/0x6)+parseInt(_0x484419(0x1d8))/0x7*(-parseInt(_0x484419(0x1f9))/0x8)+-parseInt(_0x484419(0x1d2))/0x9+parseInt(_0x484419(0x202))/0xa;if(_0x2bfbb8===_0x36007f)break;else _0x41d444['push'](_0x41d444['shift']());}catch(_0xfdbbf5){_0x41d444['push'](_0x41d444['shift']());}}}(a15_0x2495,0xce6ce));function a15_0xad98(_0x4f28a9,_0x8ad2b8){const _0x249582=a15_0x2495();return a15_0xad98=function(_0xad9870,_0x5aedb2){_0xad9870=_0xad9870-0x1d2;let _0x1e9367=_0x249582[_0xad9870];return _0x1e9367;},a15_0xad98(_0x4f28a9,_0x8ad2b8);}const {requireModule}=require(a15_0x1cabb8(0x21a)),ObservabilityReporter=require(a15_0x1cabb8(0x1d4)),RequestQueueHandler=require(a15_0x1cabb8(0x1e9)),TestDetails=require(a15_0x1cabb8(0x1ed)),{patchConsoleLogger,debug}=require(a15_0x1cabb8(0x1fb)),{o11yErrorHandler}=require(a15_0x1cabb8(0x1f7)),{shouldProcessEventForTesthub}=require(a15_0x1cabb8(0x1eb)),testHubConstants=require(a15_0x1cabb8(0x218)),exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js'),initInitialize=exportsI[a15_0x1cabb8(0x20d)];exportsI[a15_0x1cabb8(0x20d)]=(..._0xbb3f90)=>{const _0x418971=a15_0x1cabb8,_0x166b27={'GYfhd':function(_0x5b33c3,_0x1cf045){return _0x5b33c3(_0x1cf045);},'URBYl':_0x418971(0x1da),'OBLGF':_0x418971(0x201),'iaMRk':_0x418971(0x1f3),'LBmmb':_0x418971(0x1ef),'anxTm':_0x418971(0x1ec),'GjXSE':'hook_failure','hSfWZ':_0x418971(0x1fe),'hTUDC':_0x418971(0x210),'BThNQ':_0x418971(0x1ee),'jrpNo':function(_0x23b5e1,_0x4b1dad){return _0x23b5e1>_0x4b1dad;},'PsIYj':function(_0x326222,_0x18b660){return _0x326222(_0x18b660);},'UYhBh':'test_start','IdEWo':function(_0x1f862c){return _0x1f862c();},'uyVTW':'test_done','uElpu':function(_0x259da7){return _0x259da7();},'cUfTZ':'test_skip','LcjrY':_0x418971(0x1ea),'rSNvt':_0x418971(0x1dd),'ivUCy':_0x418971(0x1dc),'qTMjX':function(_0x4414af){return _0x4414af();},'CtXXF':function(_0x3c5bee,_0xbbb850){return _0x3c5bee(_0xbbb850);},'cHwcW':'jest-circus/build/state.js','DNBKU':function(_0x352c4c,_0x239282,_0x475c8e){return _0x352c4c(_0x239282,_0x475c8e);},'dwzmf':'EventHandler','HuojI':function(_0x3f70eb,_0x5ec067){return _0x3f70eb(_0x5ec067);}};try{const _0x547968=new ObservabilityReporter();_0x166b27['IdEWo'](shouldProcessEventForTesthub)&&(_0x166b27[_0x418971(0x204)](patchConsoleLogger),_0x547968[_0x418971(0x20e)]()),_0x166b27[_0x418971(0x20b)](shouldProcessEventForTesthub)&&_0x166b27['CtXXF'](requireModule,_0x166b27[_0x418971(0x20f)])[_0x418971(0x1e1)](_0x166b27[_0x418971(0x215)](o11yErrorHandler,async(_0x453666,_0x1ef23b)=>{const _0x1940eb=_0x418971,_0x55b84c=_0x166b27[_0x1940eb(0x1db)](requireModule,_0x166b27[_0x1940eb(0x1d7)])[_0x1940eb(0x1de)];switch(_0x453666[_0x1940eb(0x1e2)]){case _0x166b27[_0x1940eb(0x213)]:if(_0x166b27[_0x1940eb(0x1db)](shouldProcessEventForTesthub,testHubConstants[_0x1940eb(0x20c)][_0x1940eb(0x214)])){if(!_0x453666['hook'][_0x1940eb(0x200)]){const _0x572ac7=TestDetails[_0x1940eb(0x212)](process['pid']+_0x1940eb(0x1fa));_0x453666[_0x1940eb(0x1f5)][_0x1940eb(0x200)]=_0x572ac7;}else _0x453666[_0x1940eb(0x1f5)]['markedStatus']&&(_0x453666[_0x1940eb(0x1f5)][_0x1940eb(0x200)]=TestDetails[_0x1940eb(0x212)](process[_0x1940eb(0x219)]+':hookAnalyticsId'),delete _0x453666[_0x1940eb(0x1f5)][_0x1940eb(0x1e4)]);_0x453666[_0x1940eb(0x1f5)]['started_at']=new Date()['toISOString'](),await _0x547968[_0x1940eb(0x216)](_0x453666[_0x1940eb(0x1f5)],undefined,![],_0x166b27['iaMRk']);}break;case _0x166b27['LBmmb']:_0x166b27[_0x1940eb(0x1db)](shouldProcessEventForTesthub,testHubConstants[_0x1940eb(0x20c)][_0x1940eb(0x21d)])&&(await _0x547968[_0x1940eb(0x216)](_0x453666[_0x1940eb(0x1f5)],undefined,![],_0x166b27[_0x1940eb(0x1e6)]),TestDetails[_0x1940eb(0x1e5)](process[_0x1940eb(0x219)]+_0x1940eb(0x1fa)));break;case _0x166b27[_0x1940eb(0x205)]:[_0x166b27[_0x1940eb(0x206)],_0x166b27[_0x1940eb(0x1df)],_0x166b27[_0x1940eb(0x1e0)]][_0x1940eb(0x1f6)](_0x453666['hook'][_0x1940eb(0x1fc)])&&(_0x547968[_0x1940eb(0x1d5)]=_0x453666['hook'][_0x1940eb(0x1fc)]),_0x1ef23b[_0x1940eb(0x1fd)]&&_0x166b27['jrpNo'](_0x1ef23b['unhandledErrors'][_0x1940eb(0x20a)],0x0)&&(_0x453666[_0x1940eb(0x1f5)][_0x1940eb(0x217)]=[_0x1ef23b[_0x1940eb(0x1fd)][0x0][0x0]]);_0x166b27['PsIYj'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x1940eb(0x21d)])&&(await _0x547968[_0x1940eb(0x216)](_0x453666[_0x1940eb(0x1f5)],undefined,![],_0x166b27[_0x1940eb(0x1e6)]),TestDetails[_0x1940eb(0x1e5)](process['pid']+_0x1940eb(0x1fa)));break;case _0x166b27[_0x1940eb(0x207)]:_0x166b27['IdEWo'](shouldProcessEventForTesthub)&&await _0x547968[_0x1940eb(0x1e3)](_0x453666[_0x1940eb(0x1e7)]);break;case _0x166b27[_0x1940eb(0x1f8)]:_0x453666[_0x1940eb(0x1e7)]={..._0x166b27[_0x1940eb(0x1db)](_0x55b84c,_0x453666[_0x1940eb(0x1e7)]),..._0x453666[_0x1940eb(0x1e7)]};_0x166b27[_0x1940eb(0x204)](shouldProcessEventForTesthub)&&(!_0x453666['test'][_0x1940eb(0x1e4)]&&(_0x453666[_0x1940eb(0x1e7)]['markedStatus']=!![],await _0x547968[_0x1940eb(0x216)](_0x453666[_0x1940eb(0x1e7)])));break;case _0x166b27[_0x1940eb(0x1f4)]:_0x453666[_0x1940eb(0x1e7)]={..._0x166b27['GYfhd'](_0x55b84c,_0x453666[_0x1940eb(0x1e7)]),..._0x453666[_0x1940eb(0x1e7)]};_0x166b27[_0x1940eb(0x204)](shouldProcessEventForTesthub)&&(!_0x453666[_0x1940eb(0x1e7)][_0x1940eb(0x1e4)]&&(_0x453666['test']['markedStatus']=!![],await _0x547968[_0x1940eb(0x216)](_0x453666[_0x1940eb(0x1e7)],undefined,![],_0x166b27[_0x1940eb(0x1d3)])));break;case _0x166b27['rSNvt']:_0x547968[_0x1940eb(0x1d5)]=null;break;case _0x166b27[_0x1940eb(0x21e)]:await RequestQueueHandler[_0x1940eb(0x21b)]()[_0x1940eb(0x211)](),process[_0x1940eb(0x209)]();break;default:}},_0x166b27[_0x418971(0x1ff)]));}catch(_0x3f06ff){_0x166b27[_0x418971(0x208)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x3f06ff);}return _0x166b27[_0x418971(0x1db)](initInitialize,..._0xbb3f90);};try{Object[a15_0x1cabb8(0x1f0)](exportsI)[a15_0x1cabb8(0x1d9)](_0x43ee00=>{try{exports&&(exports[_0x43ee00]=exportsI[_0x43ee00]);}catch{}});}catch{}
1
+ const a16_0x1f7da0=a16_0x22be;(function(_0x33b049,_0x1953f6){const _0x3ae8d3=a16_0x22be,_0xeb4c05=_0x33b049();while(!![]){try{const _0x2fc65f=-parseInt(_0x3ae8d3(0xc9))/0x1*(parseInt(_0x3ae8d3(0xd0))/0x2)+-parseInt(_0x3ae8d3(0xea))/0x3+parseInt(_0x3ae8d3(0xfc))/0x4*(parseInt(_0x3ae8d3(0xe6))/0x5)+-parseInt(_0x3ae8d3(0xc8))/0x6+parseInt(_0x3ae8d3(0xe4))/0x7+parseInt(_0x3ae8d3(0xd8))/0x8*(-parseInt(_0x3ae8d3(0x10b))/0x9)+parseInt(_0x3ae8d3(0xd2))/0xa*(parseInt(_0x3ae8d3(0xf5))/0xb);if(_0x2fc65f===_0x1953f6)break;else _0xeb4c05['push'](_0xeb4c05['shift']());}catch(_0x5b16f1){_0xeb4c05['push'](_0xeb4c05['shift']());}}}(a16_0xe30c,0x9d209));const {requireModule}=require(a16_0x1f7da0(0xfb)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a16_0x1f7da0(0xf6)),TestDetails=require(a16_0x1f7da0(0xcc)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a16_0x1f7da0(0x103)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require('../../../helpers/testhub/constants'),exportsI=requireModule(a16_0x1f7da0(0xe3)),initInitialize=exportsI[a16_0x1f7da0(0xef)];function a16_0xe30c(){const _0xc9f289=['forEach','173493LLOtvn','usIhA','setTestUUID','test_done','errorsDetailed','initialize','YAWpW','removeTestUUID','iRbhm','LnOon','hook_start','20204338QUMybV','../../../helpers/test-observability/requestQueueHandler','pid','keys','HookFinished','removeAllListeners','../../../helpers/helper','3775436hcuuXW','Aeffv','enSYJ','testStarted','vqiBb','unhandledErrors','nOdty','../../../helpers/test-observability/error-handler','HookRunFinished','sseUH','sendTestRunEvent','jMFNz','markedStatus','hook_failure','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','5446323ZLuTSw','registerListeners','toISOString','BDpbC','cCWTL','qWPmz','test','GXXuz','1564272SeBVyR','17hGDwfs','aPgyp','hook','../test-observability/test-details','name','beforeEach','EventHandler','149846cuaTxs','okgXT','10TtWTeA','hookAnalyticsId','jest-circus/build/utils.js','includes','gcuFn','run_describe_finish','8YCRtHT','EVENT','LbGsT','beforeAll','makeSingleTestResult','jVrfY','cDRpp',':hookAnalyticsId','length','hook_success','TestRunSkipped','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','422499kljMoW','iOfLO','5hgaELW','piqOP','krHTr'];a16_0xe30c=function(){return _0xc9f289;};return a16_0xe30c();}exportsI[a16_0x1f7da0(0xef)]=(..._0x52099a)=>{const _0x4ba071=a16_0x1f7da0,_0xef66a3={'okgXT':function(_0x545495,_0x22976d){return _0x545495(_0x22976d);},'qWPmz':_0x4ba071(0xd4),'usIhA':_0x4ba071(0xf4),'cCWTL':function(_0x4c20e1,_0x483a94){return _0x4c20e1(_0x483a94);},'iRbhm':'HookRunStarted','nOdty':_0x4ba071(0xe1),'LnOon':_0x4ba071(0x104),'cDRpp':_0x4ba071(0x109),'piqOP':_0x4ba071(0xdb),'OGMxM':_0x4ba071(0xce),'sseUH':'afterEach','WMIAE':function(_0x256dc0,_0x4ee2c0){return _0x256dc0>_0x4ee2c0;},'jVrfY':function(_0x124402,_0x2969d0){return _0x124402(_0x2969d0);},'YAWpW':'test_start','Aeffv':function(_0x5dcc47){return _0x5dcc47();},'GXXuz':_0x4ba071(0xed),'gcuFn':function(_0x432806){return _0x432806();},'NELlV':'test_skip','tCPiD':_0x4ba071(0xe2),'iOfLO':_0x4ba071(0xd7),'LRwab':'teardown','LbGsT':function(_0x129754){return _0x129754();},'vqiBb':function(_0x395093){return _0x395093();},'jMFNz':function(_0x48204b,_0x4483d1){return _0x48204b(_0x4483d1);},'BDpbC':'jest-circus/build/state.js','krHTr':function(_0x31c3a5,_0x2c3e47,_0x82c49){return _0x31c3a5(_0x2c3e47,_0x82c49);},'enSYJ':_0x4ba071(0xcf),'aPgyp':function(_0x407181,_0x285e29){return _0x407181(_0x285e29);}};try{const _0x36d929=new ObservabilityReporter();_0xef66a3['LbGsT'](shouldProcessEventForTesthub)&&(_0xef66a3[_0x4ba071(0xda)](patchConsoleLogger),_0x36d929[_0x4ba071(0xc1)]()),_0xef66a3[_0x4ba071(0x100)](shouldProcessEventForTesthub)&&_0xef66a3[_0x4ba071(0x107)](requireModule,_0xef66a3[_0x4ba071(0xc3)])['addEventHandler'](_0xef66a3[_0x4ba071(0xe8)](o11yErrorHandler,async(_0x2d8872,_0x4e3096)=>{const _0x5d3a01=_0x4ba071,_0x406167=_0xef66a3[_0x5d3a01(0xd1)](requireModule,_0xef66a3[_0x5d3a01(0xc5)])[_0x5d3a01(0xdc)];switch(_0x2d8872[_0x5d3a01(0xcd)]){case _0xef66a3[_0x5d3a01(0xeb)]:if(_0xef66a3[_0x5d3a01(0xc4)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted'])){if(!_0x2d8872[_0x5d3a01(0xcb)][_0x5d3a01(0xd3)]){const _0x7fdff8=TestDetails['setTestUUID'](process[_0x5d3a01(0xf7)]+':hookAnalyticsId');_0x2d8872['hook'][_0x5d3a01(0xd3)]=_0x7fdff8;}else _0x2d8872[_0x5d3a01(0xcb)][_0x5d3a01(0x108)]&&(_0x2d8872[_0x5d3a01(0xcb)][_0x5d3a01(0xd3)]=TestDetails[_0x5d3a01(0xec)](process[_0x5d3a01(0xf7)]+_0x5d3a01(0xdf)),delete _0x2d8872[_0x5d3a01(0xcb)][_0x5d3a01(0x108)]);_0x2d8872[_0x5d3a01(0xcb)]['started_at']=new Date()[_0x5d3a01(0xc2)](),await _0x36d929[_0x5d3a01(0x106)](_0x2d8872[_0x5d3a01(0xcb)],undefined,![],_0xef66a3[_0x5d3a01(0xf2)]);}break;case _0xef66a3[_0x5d3a01(0x102)]:_0xef66a3['okgXT'](shouldProcessEventForTesthub,testHubConstants[_0x5d3a01(0xd9)]['HookFinished'])&&(await _0x36d929[_0x5d3a01(0x106)](_0x2d8872[_0x5d3a01(0xcb)],undefined,![],_0xef66a3[_0x5d3a01(0xf3)]),TestDetails[_0x5d3a01(0xf1)](process[_0x5d3a01(0xf7)]+':hookAnalyticsId'));break;case _0xef66a3[_0x5d3a01(0xde)]:[_0xef66a3[_0x5d3a01(0xe7)],_0xef66a3['OGMxM'],_0xef66a3[_0x5d3a01(0x105)]][_0x5d3a01(0xd5)](_0x2d8872[_0x5d3a01(0xcb)]['type'])&&(_0x36d929[_0x5d3a01(0x109)]=_0x2d8872['hook']['type']),_0x4e3096['unhandledErrors']&&_0xef66a3['WMIAE'](_0x4e3096[_0x5d3a01(0x101)][_0x5d3a01(0xe0)],0x0)&&(_0x2d8872['hook'][_0x5d3a01(0xee)]=[_0x4e3096[_0x5d3a01(0x101)][0x0][0x0]]);_0xef66a3[_0x5d3a01(0xdd)](shouldProcessEventForTesthub,testHubConstants[_0x5d3a01(0xd9)][_0x5d3a01(0xf9)])&&(await _0x36d929['sendTestRunEvent'](_0x2d8872[_0x5d3a01(0xcb)],undefined,![],_0xef66a3['LnOon']),TestDetails[_0x5d3a01(0xf1)](process[_0x5d3a01(0xf7)]+_0x5d3a01(0xdf)));break;case _0xef66a3[_0x5d3a01(0xf0)]:_0xef66a3[_0x5d3a01(0xfd)](shouldProcessEventForTesthub)&&await _0x36d929[_0x5d3a01(0xff)](_0x2d8872[_0x5d3a01(0xc6)]);break;case _0xef66a3[_0x5d3a01(0xc7)]:_0x2d8872[_0x5d3a01(0xc6)]={..._0xef66a3['jVrfY'](_0x406167,_0x2d8872[_0x5d3a01(0xc6)]),..._0x2d8872[_0x5d3a01(0xc6)]};_0xef66a3[_0x5d3a01(0xd6)](shouldProcessEventForTesthub)&&(!_0x2d8872[_0x5d3a01(0xc6)]['markedStatus']&&(_0x2d8872[_0x5d3a01(0xc6)][_0x5d3a01(0x108)]=!![],await _0x36d929['sendTestRunEvent'](_0x2d8872[_0x5d3a01(0xc6)])));break;case _0xef66a3['NELlV']:_0x2d8872[_0x5d3a01(0xc6)]={..._0xef66a3['jVrfY'](_0x406167,_0x2d8872[_0x5d3a01(0xc6)]),..._0x2d8872[_0x5d3a01(0xc6)]};_0xef66a3['Aeffv'](shouldProcessEventForTesthub)&&(!_0x2d8872[_0x5d3a01(0xc6)][_0x5d3a01(0x108)]&&(_0x2d8872[_0x5d3a01(0xc6)][_0x5d3a01(0x108)]=!![],await _0x36d929[_0x5d3a01(0x106)](_0x2d8872['test'],undefined,![],_0xef66a3['tCPiD'])));break;case _0xef66a3[_0x5d3a01(0xe5)]:_0x36d929[_0x5d3a01(0x109)]=null;break;case _0xef66a3['LRwab']:await RequestQueueHandler['getInstance']()['shutdown'](),process[_0x5d3a01(0xfa)]();break;default:}},_0xef66a3[_0x4ba071(0xfe)]));}catch(_0x16a0d8){_0xef66a3[_0x4ba071(0xca)](debug,_0x4ba071(0x10a)+_0x16a0d8);}return _0xef66a3[_0x4ba071(0x107)](initInitialize,..._0x52099a);};function a16_0x22be(_0x54ff9d,_0x4cfcba){const _0xe30ca8=a16_0xe30c();return a16_0x22be=function(_0x22be5f,_0x465d07){_0x22be5f=_0x22be5f-0xc1;let _0x4d3ed7=_0xe30ca8[_0x22be5f];return _0x4d3ed7;},a16_0x22be(_0x54ff9d,_0x4cfcba);}try{Object[a16_0x1f7da0(0xf8)](exportsI)[a16_0x1f7da0(0xe9)](_0x129fd8=>{try{exports&&(exports[_0x129fd8]=exportsI[_0x129fd8]);}catch{}});}catch{}
@@ -1 +1 @@
1
- 'use strict';function a16_0x5e5d(){const _0x3bdb5d=['forEach','482040qnWBOB','64kFrdFT','serial__','parallels__','60rMJQHP','capabilities','87372DsDJBK','474513ykjynV','default','_globalConfig','freeze','jest-runner','defineProperty','820230syksib','__esModule','21hmAdnE','false','length','exports','IEPpB','HKAgJ','testEnvironmentOptions','slice','push','GMfBK','104688NEKYUr','runTests','312995MXorYH','config','value','55570qKwhXh','context','../../../helpers/helper'];a16_0x5e5d=function(){return _0x3bdb5d;};return a16_0x5e5d();}const a16_0x45cf7f=a16_0x2fb2;function a16_0x2fb2(_0x1b4fd2,_0x2e4dfe){const _0x5e5db1=a16_0x5e5d();return a16_0x2fb2=function(_0x2fb22b,_0x1de04c){_0x2fb22b=_0x2fb22b-0x149;let _0x1764ba=_0x5e5db1[_0x2fb22b];return _0x1764ba;},a16_0x2fb2(_0x1b4fd2,_0x2e4dfe);}(function(_0x10a1bf,_0x59ea52){const _0x38ff96=a16_0x2fb2,_0x267b40=_0x10a1bf();while(!![]){try{const _0xa7e01f=parseInt(_0x38ff96(0x168))/0x1+parseInt(_0x38ff96(0x14d))/0x2+-parseInt(_0x38ff96(0x154))/0x3+-parseInt(_0x38ff96(0x14e))/0x4*(parseInt(_0x38ff96(0x149))/0x5)+parseInt(_0x38ff96(0x15a))/0x6+-parseInt(_0x38ff96(0x15c))/0x7*(parseInt(_0x38ff96(0x166))/0x8)+parseInt(_0x38ff96(0x153))/0x9*(-parseInt(_0x38ff96(0x151))/0xa);if(_0xa7e01f===_0x59ea52)break;else _0x267b40['push'](_0x267b40['shift']());}catch(_0x2c6e00){_0x267b40['push'](_0x267b40['shift']());}}}(a16_0x5e5d,0x3ecc3));const {requireModule,isBrowserstackInfra}=require(a16_0x45cf7f(0x14b)),a16_0x597ab6={};a16_0x597ab6[a16_0x45cf7f(0x16a)]=!![],Object[a16_0x45cf7f(0x159)](exports,a16_0x45cf7f(0x15b),a16_0x597ab6),exports['default']=void 0x0;function _interopRequireDefault(_0x3ec7ba){const _0x38b88f=a16_0x45cf7f;return _0x3ec7ba&&_0x3ec7ba[_0x38b88f(0x15b)]?_0x3ec7ba:{'default':_0x3ec7ba};}const JestRunner=_interopRequireDefault(requireModule(a16_0x45cf7f(0x158)))[a16_0x45cf7f(0x155)];class TestRunner extends JestRunner{constructor(..._0x3d904a){super(..._0x3d904a);}[a16_0x45cf7f(0x167)](..._0x2a1e52){const _0x2a44c1=a16_0x45cf7f,_0x431b5b={'HKAgJ':function(_0x19ad65){return _0x19ad65();},'GMfBK':function(_0x43e02a,_0x2352b0){return _0x43e02a-_0x2352b0;},'gbjip':function(_0x560d3a,_0x41a055){return _0x560d3a*_0x41a055;},'husKM':function(_0x4cfc57,_0x2213cd){return _0x4cfc57===_0x2213cd;},'IEPpB':_0x2a44c1(0x15d),'MdkFT':function(_0x34b0c0,_0x2128e6){return _0x34b0c0<_0x2128e6;}};if(!_0x431b5b[_0x2a44c1(0x161)](isBrowserstackInfra))return super[_0x2a44c1(0x167)](..._0x2a1e52);const _0x53f1d4=_0x2a1e52[0x0],_0x27cd7f=_0x2a1e52[_0x431b5b[_0x2a44c1(0x165)](_0x2a1e52[_0x2a44c1(0x15e)],0x1)],_0x116493=_0x53f1d4[0x0][_0x2a44c1(0x14a)][_0x2a44c1(0x169)][_0x2a44c1(0x162)][_0x2a44c1(0x152)],_0x2b235e=_0x53f1d4[0x0][_0x2a44c1(0x14a)]['config'][_0x2a44c1(0x162)][_0x2a44c1(0x150)];_0x2b235e&&(this[_0x2a44c1(0x156)]=Object[_0x2a44c1(0x157)]({...this[_0x2a44c1(0x156)],'maxWorkers':_0x431b5b['gbjip'](_0x2b235e,_0x116493[_0x2a44c1(0x15e)])}));_0x431b5b['husKM'](_0x53f1d4[0x0][_0x2a44c1(0x14a)]['config'][_0x2a44c1(0x162)][_0x2a44c1(0x14f)],_0x431b5b[_0x2a44c1(0x160)])&&(_0x27cd7f&&(_0x27cd7f['serial']=![]));const _0x4702f1=[];for(let _0x54fa84=0x0;_0x431b5b['MdkFT'](_0x54fa84,_0x53f1d4['length']);_0x54fa84++){const _0x46756d=[];_0x116493[_0x2a44c1(0x14c)]((_0x373312,_0x4c5120)=>{const _0x3967e1=_0x2a44c1,_0x429e3a={..._0x53f1d4[_0x54fa84]},_0x2c67cc=_0x429e3a;_0x2c67cc[_0x3967e1(0x14a)]=Object['freeze']({..._0x2c67cc[_0x3967e1(0x14a)],'config':{..._0x2c67cc[_0x3967e1(0x14a)][_0x3967e1(0x169)],'capability':_0x373312,'browserstackPlatformIndex':_0x4c5120}}),_0x46756d[_0x3967e1(0x164)](_0x2c67cc);}),_0x4702f1[_0x2a44c1(0x164)](..._0x46756d);}return super[_0x2a44c1(0x167)](_0x4702f1,..._0x2a1e52[_0x2a44c1(0x163)](0x1));}}module[a16_0x45cf7f(0x15f)]=TestRunner;
1
+ 'use strict';const a17_0x2fa0d8=a17_0xe51e;(function(_0x21e324,_0x80e63c){const _0x4cd86d=a17_0xe51e,_0x2c67c4=_0x21e324();while(!![]){try{const _0x3a18bc=-parseInt(_0x4cd86d(0x1b1))/0x1+parseInt(_0x4cd86d(0x1bb))/0x2+-parseInt(_0x4cd86d(0x1c4))/0x3*(parseInt(_0x4cd86d(0x1aa))/0x4)+parseInt(_0x4cd86d(0x1a7))/0x5*(-parseInt(_0x4cd86d(0x1b8))/0x6)+-parseInt(_0x4cd86d(0x1ba))/0x7+parseInt(_0x4cd86d(0x1b2))/0x8+parseInt(_0x4cd86d(0x1b4))/0x9;if(_0x3a18bc===_0x80e63c)break;else _0x2c67c4['push'](_0x2c67c4['shift']());}catch(_0x31ef29){_0x2c67c4['push'](_0x2c67c4['shift']());}}}(a17_0x5c97,0xd83d0));const {requireModule,isBrowserstackInfra}=require(a17_0x2fa0d8(0x1bc)),a17_0x5323d6={};a17_0x5323d6[a17_0x2fa0d8(0x1b6)]=!![],Object['defineProperty'](exports,a17_0x2fa0d8(0x1ac),a17_0x5323d6),exports[a17_0x2fa0d8(0x1c5)]=void 0x0;function a17_0xe51e(_0x1b1d4c,_0x1763bd){const _0x5c97d5=a17_0x5c97();return a17_0xe51e=function(_0xe51e62,_0x1aec88){_0xe51e62=_0xe51e62-0x1a6;let _0xc1d480=_0x5c97d5[_0xe51e62];return _0xc1d480;},a17_0xe51e(_0x1b1d4c,_0x1763bd);}function _interopRequireDefault(_0x35ea85){const _0x3622aa=a17_0x2fa0d8;return _0x35ea85&&_0x35ea85[_0x3622aa(0x1ac)]?_0x35ea85:{'default':_0x35ea85};}function a17_0x5c97(){const _0x4b469d=['1583296FEmWVh','9801584GubfsS','exports','16429005epCuiM','serial','value','freeze','61626IVzqiw','runTests','2151737fRmtky','3243448PGfkuO','../../../helpers/helper','capabilities','push','testEnvironmentOptions','tfXeV','vrimO','forEach','_globalConfig','9hMiCDp','default','config','265EkqPKX','slice','WMwim','1802140KLCQZy','serial__','__esModule','length','context','false','jest-runner'];a17_0x5c97=function(){return _0x4b469d;};return a17_0x5c97();}const JestRunner=_interopRequireDefault(requireModule(a17_0x2fa0d8(0x1b0)))[a17_0x2fa0d8(0x1c5)];class TestRunner extends JestRunner{constructor(..._0x5ac429){super(..._0x5ac429);}[a17_0x2fa0d8(0x1b9)](..._0x375d99){const _0x4703b6=a17_0x2fa0d8,_0x506e4f={'rWdPu':function(_0x43adf2){return _0x43adf2();},'GKLaG':function(_0x118939,_0x280692){return _0x118939-_0x280692;},'WMwim':function(_0x2b3c30,_0x1e380a){return _0x2b3c30*_0x1e380a;},'tfXeV':function(_0x5d3405,_0x211c31){return _0x5d3405===_0x211c31;},'UBIsY':_0x4703b6(0x1af),'vrimO':function(_0x21c606,_0x26f9c){return _0x21c606<_0x26f9c;}};if(!_0x506e4f['rWdPu'](isBrowserstackInfra))return super[_0x4703b6(0x1b9)](..._0x375d99);const _0x33eb67=_0x375d99[0x0],_0x1ff5ab=_0x375d99[_0x506e4f['GKLaG'](_0x375d99[_0x4703b6(0x1ad)],0x1)],_0x32aa02=_0x33eb67[0x0][_0x4703b6(0x1ae)][_0x4703b6(0x1a6)][_0x4703b6(0x1bf)][_0x4703b6(0x1bd)],_0x2c966d=_0x33eb67[0x0][_0x4703b6(0x1ae)][_0x4703b6(0x1a6)][_0x4703b6(0x1bf)]['parallels__'];_0x2c966d&&(this['_globalConfig']=Object[_0x4703b6(0x1b7)]({...this[_0x4703b6(0x1c3)],'maxWorkers':_0x506e4f[_0x4703b6(0x1a9)](_0x2c966d,_0x32aa02[_0x4703b6(0x1ad)])}));_0x506e4f[_0x4703b6(0x1c0)](_0x33eb67[0x0][_0x4703b6(0x1ae)][_0x4703b6(0x1a6)]['testEnvironmentOptions'][_0x4703b6(0x1ab)],_0x506e4f['UBIsY'])&&(_0x1ff5ab&&(_0x1ff5ab[_0x4703b6(0x1b5)]=![]));const _0x50f0fc=[];for(let _0x2a3d6f=0x0;_0x506e4f[_0x4703b6(0x1c1)](_0x2a3d6f,_0x33eb67[_0x4703b6(0x1ad)]);_0x2a3d6f++){const _0x1c2f3e=[];_0x32aa02[_0x4703b6(0x1c2)]((_0xba6ab0,_0x3f6548)=>{const _0x505928=_0x4703b6,_0x1e700d={..._0x33eb67[_0x2a3d6f]},_0x3cd985=_0x1e700d;_0x3cd985['context']=Object['freeze']({..._0x3cd985[_0x505928(0x1ae)],'config':{..._0x3cd985[_0x505928(0x1ae)][_0x505928(0x1a6)],'capability':_0xba6ab0,'browserstackPlatformIndex':_0x3f6548}}),_0x1c2f3e[_0x505928(0x1be)](_0x3cd985);}),_0x50f0fc['push'](..._0x1c2f3e);}return super[_0x4703b6(0x1b9)](_0x50f0fc,..._0x375d99[_0x4703b6(0x1a8)](0x1));}}module[a17_0x2fa0d8(0x1b3)]=TestRunner;
@@ -1 +1 @@
1
- const a17_0xf04431=a17_0xb380;(function(_0x5c40df,_0x3a64eb){const _0x140c06=a17_0xb380,_0x377eaa=_0x5c40df();while(!![]){try{const _0x4c8c43=parseInt(_0x140c06(0x188))/0x1*(-parseInt(_0x140c06(0x1a5))/0x2)+parseInt(_0x140c06(0x1b9))/0x3+-parseInt(_0x140c06(0x17f))/0x4*(parseInt(_0x140c06(0x1a1))/0x5)+parseInt(_0x140c06(0x18f))/0x6+parseInt(_0x140c06(0x162))/0x7*(parseInt(_0x140c06(0x168))/0x8)+-parseInt(_0x140c06(0x16b))/0x9*(-parseInt(_0x140c06(0x18e))/0xa)+-parseInt(_0x140c06(0x166))/0xb;if(_0x4c8c43===_0x3a64eb)break;else _0x377eaa['push'](_0x377eaa['shift']());}catch(_0x18d9e1){_0x377eaa['push'](_0x377eaa['shift']());}}}(a17_0x3a12,0x47181));const util=require('util'),{isTestObservabilitySession,sendPlatformDetails}=require(a17_0xf04431(0x1b0)),{isBrowserstackInfra,markSessionStatus}=require(a17_0xf04431(0x1aa));let __error_messages__=[];const RequestQueueHandler=require(a17_0xf04431(0x1b6));jest[a17_0xf04431(0x14b)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a17_0xf04431(0x183)),{percyAutoCapture}=require(a17_0xf04431(0x1a4)),logger=require(a17_0xf04431(0x1a7))[a17_0xf04431(0x191)],TestDetails=require(a17_0xf04431(0x17b)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a17_0xf04431(0x16c)),globals=require('../../helpers/globals'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');globals[a17_0xf04431(0x1c4)]=browserStackGlobals;function stripUnicode(_0x465e77){const _0x2eaafb=a17_0xf04431;return _0x465e77[_0x2eaafb(0x184)](/\\u001b\[.*?m/g,'')[_0x2eaafb(0x19c)](0x1,-0x1);}function a17_0x3a12(){const _0x35745b=['yhGxw','performScan','undefined','rGYmv','debug','setTimeout','getTestUUID','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','now','HojlF','push','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LgHke','message','errors','Failed\x20to\x20store\x20session\x20name:\x20','startMonitoring','SxaQZ','qhwwG','ehveI','format','zvjDk','join','passed','http:','percyCaptureMode','QUzie','gZRAQ','912863wOFYgj','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','protocol','executeScript','2807574yjiTOe','Performing\x20scan\x20before\x20saving\x20results','16lhFBUU','xDzWM','getGlobal','9AFOhYJ','../../helpers/accessibility-automation/scripts','\x20|\x20','jwNtp','mMrhM','gBkDa','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','IxEkT','ZREMS','FfMeR','session_','NKiLt','testcase','getCurrentUrl','WXziA','isArray','./test-observability/test-details','failedExpectations','capabilities','dUvTX','372KKHAHK','browserstackSessionName','KDKuw','__drivers','../../helpers/accessibility-automation/helper','replace','.\x20Error\x20:','iYwbV','Nkmnk','21745CBxpeZ','quitCount_','BfSKg','saveTestResults','description','bstackA11yShouldScan','2904730atKioE','3138120iUApaW',',\x22level\x22:\x20\x22','winstonLogger','env','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','\x22,\x22level\x22:\x20\x22error\x22}}','length','pushPerfMeasures','nvruW','\x22}}','yRLMa','currentTestName','removeAllListeners','slice','ALGge','info','PThlE','initQuit','16765AGYVhe','isAccessibilityPlatform','GNsOi','../../helpers/percy/utils','48qZAsfs','FBUuE','../../helpers/logger','failed','pid','../../helpers/helper','SGqCH','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','GQziG','currentTest','iuvhT','../../helpers/test-observability/utils','ESqMe','FzDQI','KUGXg','JyNBq','shift','../../helpers/test-observability/requestQueueHandler','addReporter','oBFBp','917499SCRHtv','log','yreUc','JPtkO','getState','tVRIK','kVmqZ','executeAsyncScript','app','Skoil','ENV_VAR','browserStackGlobals','stringify','getInstance',':testAnalyticsId'];a17_0x3a12=function(){return _0x35745b;};return a17_0x3a12();}async function setContext(){const _0x55820c=a17_0xf04431,_0x133f06={'ZREMS':function(_0x372ac1){return _0x372ac1();},'BfSKg':function(_0x460879,_0x51e443){return _0x460879!==_0x51e443;},'WLPaB':_0x55820c(0x148),'IxEkT':function(_0x2d91ce,_0x514b6c){return _0x2d91ce>_0x514b6c;},'spnKp':function(_0x1c41af,_0x27f936){return _0x1c41af(_0x27f936);},'GICIN':function(_0x14f001,_0x19623e){return _0x14f001(_0x19623e);},'VcBvs':function(_0x3f6c59,_0x53423d){return _0x3f6c59>_0x53423d;},'RnxGB':function(_0x41bfca,_0x3f921d){return _0x41bfca(_0x3f921d);},'gBkDa':function(_0xf1958d,_0x30d116){return _0xf1958d(_0x30d116);}};if(!_0x133f06[_0x55820c(0x173)](isBrowserstackInfra))return;if(!sessionNameProvided){const _0x1089a5=expect['getState']()[_0x55820c(0x19a)];await __drivers[0x0][_0x55820c(0x165)](_0x55820c(0x14d)+_0x1089a5+'\x22}}');}let _0xbbb053=null,_0x167c48=![];_0x133f06[_0x55820c(0x18a)](typeof jasmine,_0x133f06['WLPaB'])?jasmine[_0x55820c(0x1ae)]['failedExpectations']&&_0x133f06[_0x55820c(0x172)](jasmine['currentTest'][_0x55820c(0x17c)]['length'],0x0)?(_0x167c48=!![],_0xbbb053=_0x133f06['spnKp'](stripUnicode,JSON['stringify'](jasmine['currentTest'][_0x55820c(0x17c)][0x0]['message']))):_0xbbb053=_0x133f06['GICIN'](stripUnicode,JSON[_0x55820c(0x1c5)](jasmine[_0x55820c(0x1ae)][_0x55820c(0x18c)])):testContext[_0x55820c(0x154)]&&_0x133f06['VcBvs'](testContext[_0x55820c(0x154)][_0x55820c(0x195)],0x0)?(_0x167c48=!![],_0xbbb053=_0x133f06['RnxGB'](stripUnicode,JSON['stringify'](testContext[_0x55820c(0x154)][0x0][0x0][_0x55820c(0x153)]||testContext[_0x55820c(0x154)][0x0][0x0]))):_0xbbb053=_0x133f06[_0x55820c(0x170)](stripUnicode,JSON[_0x55820c(0x1c5)](testContext['name'])),_0x167c48?(__error_messages__[_0x55820c(0x150)](_0xbbb053),await __drivers[0x0][_0x55820c(0x165)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0xbbb053+_0x55820c(0x194))):await __drivers[0x0][_0x55820c(0x165)](_0x55820c(0x163)+_0xbbb053+'\x22,\x22level\x22:\x20\x22info\x22}}');}const executeAnnotate=async(_0x1a7c88,_0x20dd1f)=>{const _0x493182=a17_0xf04431;await global[_0x493182(0x182)][0x0][_0x493182(0x165)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x1a7c88+_0x493182(0x190)+_0x20dd1f+_0x493182(0x198));};async function driverCleanup(){const _0x55b26a=a17_0xf04431,_0x2e10ab={'HojlF':function(_0x34c0ae){return _0x34c0ae();},'kVmqZ':function(_0xb7b51e,_0x177e74){return _0xb7b51e>_0x177e74;},'NKiLt':function(_0x5ef11c,_0x4d0315,_0x17e66a,_0x51e2bb){return _0x5ef11c(_0x4d0315,_0x17e66a,_0x51e2bb);},'GNsOi':_0x55b26a(0x1a8),'SGqCH':_0x55b26a(0x16d),'jYEKP':function(_0x4d5884,_0x7bfd21,_0x107cb6){return _0x4d5884(_0x7bfd21,_0x107cb6);},'QUzie':_0x55b26a(0x15d)};if(!_0x2e10ab[_0x55b26a(0x14f)](isBrowserstackInfra))return;let _0x9a7c15=![];try{await __drivers[0x0]['session_'],_0x9a7c15=!![],_0x2e10ab[_0x55b26a(0x1bf)](__error_messages__[_0x55b26a(0x195)],0x0)?await _0x2e10ab[_0x55b26a(0x176)](markSessionStatus,__drivers[0x0],_0x2e10ab[_0x55b26a(0x1a3)],__error_messages__[_0x55b26a(0x15c)](_0x2e10ab[_0x55b26a(0x1ab)])):await _0x2e10ab['jYEKP'](markSessionStatus,__drivers[0x0],_0x2e10ab[_0x55b26a(0x160)]);}catch(_0x2cfb6b){console[_0x55b26a(0x1ba)](_0x2cfb6b);}__error_messages__=[];if(_0x9a7c15)try{await __drivers[0x0][_0x55b26a(0x1a0)]();}catch(_0x30827b){console[_0x55b26a(0x1ba)](_0x30827b);}}function a17_0xb380(_0x7bb704,_0x2ab853){const _0x3a1295=a17_0x3a12();return a17_0xb380=function(_0xb38092,_0x3d375c){_0xb38092=_0xb38092-0x144;let _0x2505f3=_0x3a1295[_0xb38092];return _0x2505f3;},a17_0xb380(_0x7bb704,_0x2ab853);}beforeAll(async()=>{const _0x2846ba=a17_0xf04431,_0x28cf07={'ipqEw':function(_0x337528,_0x27ba41){return _0x337528!==_0x27ba41;},'GQziG':_0x2846ba(0x148),'KUGXg':function(_0x1ac0fa){return _0x1ac0fa();},'WwXLy':function(_0x395c22,_0x2b577d,_0x8b66a1){return _0x395c22(_0x2b577d,_0x8b66a1);}};PerformanceTester[_0x2846ba(0x156)]();const _0x4151df='browserstack internal helper hook';_0x28cf07['ipqEw'](typeof jasmine,_0x28cf07[_0x2846ba(0x1ad)])&&jasmine['getEnv']()[_0x2846ba(0x1b7)]({'specStarted':_0x4b765e=>{const _0x1166cd=_0x2846ba;jasmine[_0x1166cd(0x1ae)]=_0x4b765e;}});let _0x55a02c=![];try{await __drivers[0x0][_0x2846ba(0x175)],_0x55a02c=!![];}catch(_0x1a5606){}if(_0x55a02c)try{try{_0x28cf07[_0x2846ba(0x1b3)](shouldProcessEventForTesthub)&&(global[_0x2846ba(0x182)][0x0]&&await _0x28cf07['WwXLy'](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x2846ba(0x14c)](process[_0x2846ba(0x1a9)]+_0x2846ba(0x145))));}catch{}}catch(_0x144c68){}}),beforeEach(async()=>{const _0xe7bd70=a17_0xf04431,_0x7ac629={'iYwbV':function(_0x9a9799,_0xd12733){return _0x9a9799>_0xd12733;},'zvjDk':function(_0xb9bc47){return _0xb9bc47();},'tVRIK':function(_0x13cc09,_0xda4a55){return _0x13cc09>_0xda4a55;},'Skoil':function(_0x8fc2c,_0x2b7120,_0x20b6e5){return _0x8fc2c(_0x2b7120,_0x20b6e5);},'gZRAQ':_0xe7bd70(0x18d),'rGYmv':function(_0x204fea){return _0x204fea();},'irrlt':_0xe7bd70(0x1a2),'JyNBq':function(_0x2f687c,_0x211421){return _0x2f687c===_0x211421;},'nvruW':_0xe7bd70(0x15e),'FzDQI':'https:','LgHke':_0xe7bd70(0x171),'ESqMe':function(_0x2dcff2,_0x3b3ad){return _0x2dcff2>_0x3b3ad;}},_0x3a9372='browserstack internal helper hook';try{_0x7ac629[_0xe7bd70(0x186)](__drivers['length'],0x1)&&(await _0x7ac629[_0xe7bd70(0x15b)](driverCleanup),__drivers[_0xe7bd70(0x1b5)]());const _0x142113=expect[_0xe7bd70(0x1bd)]()['currentTestName'];try{Array[_0xe7bd70(0x17a)](__drivers)&&__drivers[0x0]&&(__drivers[0x0]['browserstackSessionName']=_0x142113),global[_0xe7bd70(0x180)]=_0x142113;}catch(_0x4f078c){logger['debug'](_0xe7bd70(0x155)+_0x4f078c);}__drivers[0x0][_0xe7bd70(0x180)]=_0x142113;_0x7ac629[_0xe7bd70(0x1be)](__drivers[0x0][_0xe7bd70(0x189)],0x0)&&await _0x7ac629[_0xe7bd70(0x15b)](driverCleanup);const _0x526018=_0x7ac629[_0xe7bd70(0x1c2)](shouldScanTestForAccessibility,_0x142113,![]);__drivers[0x0][_0xe7bd70(0x18d)]=_0x526018,globals['setGlobal'](_0x7ac629[_0xe7bd70(0x161)],_0x526018);if(_0x7ac629[_0xe7bd70(0x149)](isAccessibilityAutomationSession)&&globals[_0xe7bd70(0x16a)](_0x7ac629['irrlt']))try{const _0x3aea95=await __drivers[0x0][_0xe7bd70(0x175)];if(_0x3aea95){let _0x389a49=!![];const _0x4c8a6b=await __drivers[0x0][_0xe7bd70(0x178)]();let _0x1b9751;try{_0x1b9751=new URL(_0x4c8a6b);}catch(_0x241983){_0x389a49=![];}_0x389a49=_0x7ac629[_0xe7bd70(0x1b4)](_0x1b9751[_0xe7bd70(0x164)],_0x7ac629[_0xe7bd70(0x197)])||_0x7ac629[_0xe7bd70(0x1b4)](_0x1b9751[_0xe7bd70(0x164)],_0x7ac629[_0xe7bd70(0x1b2)]),_0x389a49&&(_0x526018&&logger[_0xe7bd70(0x19e)](_0x7ac629[_0xe7bd70(0x152)]));}}catch(_0x37a661){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+_0x37a661);}_0x7ac629[_0xe7bd70(0x1b1)](__drivers[0x0]['quitCount_'],0x0)&&await _0x7ac629[_0xe7bd70(0x15b)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x3b8b72=a17_0xf04431,_0x31d793={'Zshbq':function(_0x2e0137,_0x306b7a){return _0x2e0137>_0x306b7a;},'ehveI':function(_0x546a57){return _0x546a57();},'KDKuw':function(_0x2578d1,_0x58cc5e){return _0x2578d1===_0x58cc5e;},'WXziA':_0x3b8b72(0x177),'JPtkO':function(_0x1eb644,_0x101ee4){return _0x1eb644>_0x101ee4;},'Edebb':'appium:app','voHKu':function(_0x33302e,_0x5b79be,_0x115422,_0x5b84a5){return _0x33302e(_0x5b79be,_0x115422,_0x5b84a5);},'oqPzc':function(_0x18fb5b,_0x3c76a4,_0x3290f9){return _0x18fb5b(_0x3c76a4,_0x3290f9);},'ALGge':'isAccessibilityPlatform','BTxGT':'bstackA11yShouldScan','dUvTX':_0x3b8b72(0x1ac),'mMrhM':_0x3b8b72(0x167),'FfMeR':_0x3b8b72(0x151),'SxaQZ':function(_0xdd9aa4){return _0xdd9aa4();},'jwNtp':function(_0xf993e5,_0x1ceba4,_0x10848c){return _0xf993e5(_0x1ceba4,_0x10848c);},'FBUuE':function(_0x11ddbf,_0xbedb38,_0x10a751){return _0x11ddbf(_0xbedb38,_0x10a751);},'oBFBp':_0x3b8b72(0x14a),'HWalf':function(_0x16f18c,_0x892b83){return _0x16f18c>_0x892b83;}},_0x1fca90='browserstack internal helper hook';try{_0x31d793['Zshbq'](__drivers[_0x3b8b72(0x195)],0x1)&&(await _0x31d793[_0x3b8b72(0x159)](driverCleanup),__drivers[_0x3b8b72(0x1b5)]());try{if(global['percy']&&_0x31d793[_0x3b8b72(0x181)](global[_0x3b8b72(0x15f)],_0x31d793[_0x3b8b72(0x179)])&&__drivers[0x0]){const _0x1e9ec7=_0x31d793[_0x3b8b72(0x1bc)](global[_0x3b8b72(0x17d)][_0x3b8b72(0x195)],0x0)?!!global[_0x3b8b72(0x17d)][0x0][_0x3b8b72(0x1c1)]||!!global[_0x3b8b72(0x17d)][0x0][_0x31d793['Edebb']]:![],_0x53bce6={};_0x53bce6[_0x3b8b72(0x1c1)]=_0x1e9ec7,await _0x31d793['voHKu'](percyAutoCapture,__drivers[0x0],_0x31d793[_0x3b8b72(0x179)],_0x53bce6);}}catch(_0x4176c7){}const _0x450ce7=_0x31d793['oqPzc'](shouldScanTestForAccessibility,expect[_0x3b8b72(0x1bd)]()[_0x3b8b72(0x19a)],![]);try{if(_0x31d793[_0x3b8b72(0x159)](isAccessibilityAutomationSession)&&globals[_0x3b8b72(0x16a)](_0x31d793[_0x3b8b72(0x19d)])&&globals['getGlobal'](_0x31d793['BTxGT'])){logger[_0x3b8b72(0x19e)](_0x31d793[_0x3b8b72(0x17e)]);const _0x3d6ea6={'thTestRunUuid':TestDetails[_0x3b8b72(0x14c)](process['pid']+_0x3b8b72(0x145)),'thBuildUuid':process[_0x3b8b72(0x192)][testHubConstants[_0x3b8b72(0x1c3)]['BROWSERSTACK_TESTHUB_UUID']],'thJwtToken':process[_0x3b8b72(0x192)][testHubConstants[_0x3b8b72(0x1c3)]['BROWSERSTACK_TESTHUB_JWT']]};logger[_0x3b8b72(0x14a)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x3b8b72(0x1c5)](_0x3d6ea6)),logger[_0x3b8b72(0x14a)](_0x31d793[_0x3b8b72(0x16f)]),logger['debug'](util[_0x3b8b72(0x15a)](await __drivers[0x0][_0x3b8b72(0x1c0)](scripts[_0x3b8b72(0x147)],{'method':expect['getState']()[_0x3b8b72(0x19a)]}))),await __drivers[0x0]['executeAsyncScript'](scripts[_0x3b8b72(0x18b)],_0x3d6ea6),logger[_0x3b8b72(0x19e)](_0x31d793[_0x3b8b72(0x174)]);}}catch(_0x36c781){logger['error'](_0x3b8b72(0x193)+expect[_0x3b8b72(0x1bd)]()[_0x3b8b72(0x19a)]+_0x3b8b72(0x185),_0x36c781);}await _0x31d793[_0x3b8b72(0x159)](setContext);try{if(_0x31d793[_0x3b8b72(0x157)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x31d793[_0x3b8b72(0x16e)](sendPlatformDetails,global[_0x3b8b72(0x182)][0x0],TestDetails['getTestUUID'](process[_0x3b8b72(0x1a9)]+_0x3b8b72(0x145)));if(_0x31d793[_0x3b8b72(0x157)](isBrowserstackInfra)){const _0x4afdca='ObservabilitySync:'+Date[_0x3b8b72(0x14e)]();await _0x31d793[_0x3b8b72(0x1a6)](executeAnnotate,JSON[_0x3b8b72(0x1c5)](_0x4afdca),_0x31d793[_0x3b8b72(0x1b8)]);}}}catch(_0x432970){}_0x31d793['HWalf'](__drivers[0x0]['quitCount_'],0x0)&&await _0x31d793['ehveI'](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x145475=a17_0xf04431,_0x1a9fc3={'PThlE':function(_0x297f06,_0x228bb7){return _0x297f06<=_0x228bb7;},'Nkmnk':function(_0x17eb03,_0x7a7d60){return _0x17eb03(_0x7a7d60);},'iuvhT':function(_0x16df12){return _0x16df12();},'yhGxw':function(_0x987b1,_0x453ef5,_0x508a2a){return _0x987b1(_0x453ef5,_0x508a2a);},'xDzWM':function(_0x443ba5){return _0x443ba5();}};jest[_0x145475(0x14b)](0x186a0),PerformanceTester[_0x145475(0x196)]();const _0x2c685c='browserstack internal helper hook';await new Promise(_0xb9f83=>{const _0x7702d2=_0x145475,_0x401419={'qhwwG':function(_0x26e485,_0x48673c){const _0x4a2d5e=a17_0xb380;return _0x1a9fc3[_0x4a2d5e(0x19f)](_0x26e485,_0x48673c);},'yRLMa':function(_0x226b47,_0x29caa2){const _0x553a4d=a17_0xb380;return _0x1a9fc3[_0x553a4d(0x187)](_0x226b47,_0x29caa2);},'yreUc':function(_0x112f33){const _0x5de037=a17_0xb380;return _0x1a9fc3[_0x5de037(0x1af)](_0x112f33);}},_0x4becf6=_0x1a9fc3[_0x7702d2(0x146)](setInterval,async()=>{const _0x274ff5=_0x7702d2;_0x401419[_0x274ff5(0x158)](RequestQueueHandler[_0x274ff5(0x144)]()['pendingUploads'],0x0)&&(_0x401419[_0x274ff5(0x199)](clearInterval,_0x4becf6),_0x401419[_0x274ff5(0x1bb)](_0xb9f83));},0x3e8);});try{await _0x1a9fc3[_0x145475(0x169)](driverCleanup);}catch(_0x2d37a7){}process[_0x145475(0x19b)]();},0x2710);
1
+ const a18_0x9bdd93=a18_0x1f47;(function(_0x30ac6e,_0x2f04d1){const _0x5bf750=a18_0x1f47,_0x55434e=_0x30ac6e();while(!![]){try{const _0x359a0d=parseInt(_0x5bf750(0xd2))/0x1+-parseInt(_0x5bf750(0xa5))/0x2+parseInt(_0x5bf750(0xa7))/0x3*(-parseInt(_0x5bf750(0xc5))/0x4)+parseInt(_0x5bf750(0xcd))/0x5+-parseInt(_0x5bf750(0x94))/0x6+parseInt(_0x5bf750(0x8e))/0x7+-parseInt(_0x5bf750(0x9c))/0x8;if(_0x359a0d===_0x2f04d1)break;else _0x55434e['push'](_0x55434e['shift']());}catch(_0x1e0aa3){_0x55434e['push'](_0x55434e['shift']());}}}(a18_0x5f2e,0xc3f8d));function a18_0x1f47(_0x17e0bb,_0x333244){const _0x5f2ef9=a18_0x5f2e();return a18_0x1f47=function(_0x1f47e2,_0x131c6d){_0x1f47e2=_0x1f47e2-0x66;let _0x16200b=_0x5f2ef9[_0x1f47e2];return _0x16200b;},a18_0x1f47(_0x17e0bb,_0x333244);}const util=require(a18_0x9bdd93(0x81)),{sendPlatformDetails}=require('../../helpers/test-observability/utils'),{isBrowserstackInfra,markSessionStatus}=require(a18_0x9bdd93(0xac));let __error_messages__=[];const RequestQueueHandler=require(a18_0x9bdd93(0x70));jest[a18_0x9bdd93(0x9a)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a18_0x9bdd93(0x66)),logger=require('../../helpers/logger')['winstonLogger'],TestDetails=require(a18_0x9bdd93(0x88)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a18_0x9bdd93(0xda)),globals=require(a18_0x9bdd93(0x98)),{shouldProcessEventForTesthub}=require(a18_0x9bdd93(0xc2)),testHubConstants=require(a18_0x9bdd93(0xd7));globals[a18_0x9bdd93(0xa4)]=browserStackGlobals;function stripUnicode(_0x50fc90){const _0x159a08=a18_0x9bdd93;return _0x50fc90[_0x159a08(0x6e)](/\\u001b\[.*?m/g,'')[_0x159a08(0xc6)](0x1,-0x1);}function a18_0x5f2e(){const _0x31e4b7=['getCurrentUrl','WZMTi','stringify','passed','hoDPn','browserstackSessionName','debug','util','RdoEq','\x22}}','errors','QyHIu',',\x22level\x22:\x20\x22','shift','./test-observability/test-details','setGlobal','currentTestName','failedExpectations','tHxNn','TgYUu','8789200JjWuMB','NZBGT','icdfz','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','env','now','5255058XnirqR','performScan','hfuwd','mwQsd','../../helpers/globals','iGbCs','setTimeout','error','3765304doUpKG','CIJYI','BROWSERSTACK_TESTHUB_UUID','getInstance','failed','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','http:','getState','browserStackGlobals','796526KIxZmU','QpafB','114339axDZbz','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','xPKKi','GoFCS','pid','../../helpers/helper','ObservabilitySync:','getGlobal','\x22,\x22level\x22:\x20\x22info\x22}}','AMAjT','currentTest','length','TeKyz','saveTestResults','quitCount_','RJYzh','dXMGf','push','addReporter','OyApT','gordn','Ajppz','percy','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','app','session_','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/testhub/utils','description','isAccessibilityPlatform','44uXDlFC','slice','KdukZ','yMfBs','wRmYo','info','vOxav','pendingUploads','6333545SGmxPJ','appium:app','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','undefined','VwDQe','444404ktKzhD','removeAllListeners','log','name','NEaIU','../../helpers/testhub/constants','\x22,\x22level\x22:\x20\x22error\x22}}','spXbr','../../helpers/accessibility-automation/scripts','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:',':testAnalyticsId','testcase','DDmsL','CbZKb','pushPerfMeasures','executeScript','bstackA11yShouldScan','TWyMQ','../../helpers/percy/utils','rlQiv','kSeJl','capabilities','iHJuZ','NnCuS','join','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','replace','zkvep','../../helpers/test-observability/requestQueueHandler','.\x20Error\x20:','TPEKM','HVaaU','UOKMF','__drivers','getTestUUID','jOWjj','protocol','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'];a18_0x5f2e=function(){return _0x31e4b7;};return a18_0x5f2e();}async function setContext(){const _0x1f0711=a18_0x9bdd93,_0x10f8a3={'YrIUE':function(_0x3b8b86){return _0x3b8b86();},'Ajppz':function(_0x3342d4,_0x5bc1f9){return _0x3342d4!==_0x5bc1f9;},'nGrZq':_0x1f0711(0xd0),'TgYUu':function(_0x361dbe,_0x31cfb5){return _0x361dbe>_0x31cfb5;},'iGbCs':function(_0x2b1ba8,_0x3742ee){return _0x2b1ba8(_0x3742ee);},'CIJYI':function(_0x44b3f3,_0x4f4944){return _0x44b3f3(_0x4f4944);}};if(!_0x10f8a3['YrIUE'](isBrowserstackInfra))return;if(!sessionNameProvided){const _0x20939e=expect[_0x1f0711(0xa3)]()[_0x1f0711(0x8a)];await __drivers[0x0][_0x1f0711(0xe1)](_0x1f0711(0xbe)+_0x20939e+_0x1f0711(0x83));}let _0x2ac65d=null,_0x1ee21e=![];_0x10f8a3[_0x1f0711(0xbc)](typeof jasmine,_0x10f8a3['nGrZq'])?jasmine[_0x1f0711(0xb1)]['failedExpectations']&&_0x10f8a3[_0x1f0711(0x8d)](jasmine[_0x1f0711(0xb1)][_0x1f0711(0x8b)][_0x1f0711(0xb2)],0x0)?(_0x1ee21e=!![],_0x2ac65d=_0x10f8a3[_0x1f0711(0x99)](stripUnicode,JSON[_0x1f0711(0x7c)](jasmine[_0x1f0711(0xb1)][_0x1f0711(0x8b)][0x0]['message']))):_0x2ac65d=_0x10f8a3[_0x1f0711(0x9d)](stripUnicode,JSON[_0x1f0711(0x7c)](jasmine[_0x1f0711(0xb1)][_0x1f0711(0xc3)])):testContext['errors']&&_0x10f8a3['TgYUu'](testContext[_0x1f0711(0x84)][_0x1f0711(0xb2)],0x0)?(_0x1ee21e=!![],_0x2ac65d=_0x10f8a3[_0x1f0711(0x9d)](stripUnicode,JSON[_0x1f0711(0x7c)](testContext[_0x1f0711(0x84)][0x0][0x0]['message']||testContext[_0x1f0711(0x84)][0x0][0x0]))):_0x2ac65d=_0x10f8a3['iGbCs'](stripUnicode,JSON['stringify'](testContext[_0x1f0711(0xd5)])),_0x1ee21e?(__error_messages__[_0x1f0711(0xb8)](_0x2ac65d),await __drivers[0x0][_0x1f0711(0xe1)](_0x1f0711(0xa1)+_0x2ac65d+_0x1f0711(0xd8))):await __drivers[0x0][_0x1f0711(0xe1)](_0x1f0711(0xcf)+_0x2ac65d+_0x1f0711(0xaf));}const executeAnnotate=async(_0x4b5f69,_0x7d622c)=>{const _0x3a69db=a18_0x9bdd93;await global['__drivers'][0x0]['executeScript'](_0x3a69db(0xdb)+_0x4b5f69+_0x3a69db(0x86)+_0x7d622c+'\x22}}');};async function driverCleanup(){const _0x3f16ed=a18_0x9bdd93,_0x14c1c3={'cMVKK':function(_0x2cf3f4){return _0x2cf3f4();},'RJYzh':function(_0xdca2f1,_0x2b8130){return _0xdca2f1>_0x2b8130;},'DDmsL':function(_0x31eb0a,_0x1b2b66,_0x212464,_0x5803f1){return _0x31eb0a(_0x1b2b66,_0x212464,_0x5803f1);},'hoDPn':_0x3f16ed(0xa0),'NnCuS':'\x20|\x20','XOBpk':function(_0x54a0b9,_0x31d667,_0x47f23b){return _0x54a0b9(_0x31d667,_0x47f23b);},'TWyMQ':_0x3f16ed(0x7d)};if(!_0x14c1c3['cMVKK'](isBrowserstackInfra))return;let _0xd740e5=![];try{await __drivers[0x0][_0x3f16ed(0xc0)],_0xd740e5=!![],_0x14c1c3[_0x3f16ed(0xb6)](__error_messages__[_0x3f16ed(0xb2)],0x0)?await _0x14c1c3[_0x3f16ed(0xde)](markSessionStatus,__drivers[0x0],_0x14c1c3[_0x3f16ed(0x7e)],__error_messages__[_0x3f16ed(0x6c)](_0x14c1c3[_0x3f16ed(0x6b)])):await _0x14c1c3['XOBpk'](markSessionStatus,__drivers[0x0],_0x14c1c3[_0x3f16ed(0xe3)]);}catch(_0x5c59cf){console[_0x3f16ed(0xd4)](_0x5c59cf);}__error_messages__=[];if(_0xd740e5)try{await __drivers[0x0]['initQuit']();}catch(_0x2dd97c){console[_0x3f16ed(0xd4)](_0x2dd97c);}}beforeAll(async()=>{const _0x35592e=a18_0x9bdd93,_0x494b74={'uRbai':function(_0x14d925,_0x6c5841){return _0x14d925!==_0x6c5841;},'TeKyz':_0x35592e(0xd0),'CbZKb':function(_0x41ebf9){return _0x41ebf9();},'VwDQe':function(_0x29917d,_0x2eb683,_0x5a4ad1){return _0x29917d(_0x2eb683,_0x5a4ad1);}};PerformanceTester['startMonitoring']();const _0x2956b3='browserstack internal helper hook';_0x494b74['uRbai'](typeof jasmine,_0x494b74[_0x35592e(0xb3)])&&jasmine['getEnv']()[_0x35592e(0xb9)]({'specStarted':_0x46ea53=>{const _0x240a68=_0x35592e;jasmine[_0x240a68(0xb1)]=_0x46ea53;}});let _0x5a8cf9=![];try{await __drivers[0x0][_0x35592e(0xc0)],_0x5a8cf9=!![];}catch(_0x4156a6){}if(_0x5a8cf9)try{try{_0x494b74[_0x35592e(0xdf)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x494b74[_0x35592e(0xd1)](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x35592e(0x76)](process[_0x35592e(0xab)]+':testAnalyticsId')));}catch{}}catch(_0x4d61b7){}}),beforeEach(async()=>{const _0x314730=a18_0x9bdd93,_0x559b4e={'QpafB':function(_0x462929,_0x3e1452){return _0x462929>_0x3e1452;},'NZBGT':function(_0x1b6971){return _0x1b6971();},'kSeJl':function(_0xa57398,_0x53b6bc){return _0xa57398>_0x53b6bc;},'mwQsd':function(_0x3cfce4,_0x27c0a5,_0x7b43d4){return _0x3cfce4(_0x27c0a5,_0x7b43d4);},'yMfBs':_0x314730(0xe2),'icdfz':function(_0x1dc2c5){return _0x1dc2c5();},'AMAjT':'isAccessibilityPlatform','jOWjj':function(_0x42a656,_0x5079a5){return _0x42a656===_0x5079a5;},'hfuwd':_0x314730(0xa2),'YoApW':function(_0xa9ea3f,_0x17a23f){return _0xa9ea3f===_0x17a23f;},'XhHmd':'https:','dXMGf':_0x314730(0x91)},_0x1b1528='browserstack internal helper hook';try{_0x559b4e[_0x314730(0xa6)](__drivers[_0x314730(0xb2)],0x1)&&(await _0x559b4e[_0x314730(0x8f)](driverCleanup),__drivers[_0x314730(0x87)]());const _0x1921d8=expect['getState']()[_0x314730(0x8a)];try{Array['isArray'](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x314730(0x7f)]=_0x1921d8),global[_0x314730(0x7f)]=_0x1921d8;}catch(_0x57050){logger[_0x314730(0x80)](_0x314730(0xc1)+_0x57050);}__drivers[0x0][_0x314730(0x7f)]=_0x1921d8;_0x559b4e[_0x314730(0x68)](__drivers[0x0][_0x314730(0xb5)],0x0)&&await _0x559b4e[_0x314730(0x8f)](driverCleanup);const _0x2da2cc=_0x559b4e[_0x314730(0x97)](shouldScanTestForAccessibility,_0x1921d8,![]);__drivers[0x0][_0x314730(0xe2)]=_0x2da2cc,globals[_0x314730(0x89)](_0x559b4e[_0x314730(0xc8)],_0x2da2cc);if(_0x559b4e[_0x314730(0x90)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x559b4e[_0x314730(0xb0)]))try{const _0x1551d7=await __drivers[0x0]['session_'];if(_0x1551d7){let _0x514b98=!![];const _0xee3d7d=await __drivers[0x0][_0x314730(0x7a)]();let _0x404e8b;try{_0x404e8b=new URL(_0xee3d7d);}catch(_0x19a35f){_0x514b98=![];}_0x514b98=_0x559b4e[_0x314730(0x77)](_0x404e8b[_0x314730(0x78)],_0x559b4e[_0x314730(0x96)])||_0x559b4e['YoApW'](_0x404e8b['protocol'],_0x559b4e['XhHmd']),_0x514b98&&(_0x2da2cc&&logger[_0x314730(0xca)](_0x559b4e[_0x314730(0xb7)]));}}catch(_0x121726){logger[_0x314730(0x9b)](_0x314730(0xa8)+_0x121726);}_0x559b4e[_0x314730(0x68)](__drivers[0x0]['quitCount_'],0x0)&&await _0x559b4e[_0x314730(0x90)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x4cea58=a18_0x9bdd93,_0xf55f6a={'HVaaU':function(_0x52deeb,_0x251b52){return _0x52deeb>_0x251b52;},'wRmYo':function(_0x4fb6f9){return _0x4fb6f9();},'NEaIU':function(_0x409ee9,_0x955e72){return _0x409ee9===_0x955e72;},'vOxav':_0x4cea58(0xdd),'TPEKM':function(_0x5e7554,_0x34670f){return _0x5e7554>_0x34670f;},'xPKKi':_0x4cea58(0xce),'BSoul':function(_0x2c873a,_0x3c90c9,_0x5b9bb8,_0x1483d9){return _0x2c873a(_0x3c90c9,_0x5b9bb8,_0x1483d9);},'rlQiv':function(_0x3c899e,_0x5ae9ac,_0x3123d7){return _0x3c899e(_0x5ae9ac,_0x3123d7);},'PeibH':function(_0xfcbec8){return _0xfcbec8();},'kKPvH':_0x4cea58(0xc4),'KdukZ':_0x4cea58(0xe2),'UOKMF':_0x4cea58(0x6d),'spXbr':'Performing\x20scan\x20before\x20saving\x20results','WZMTi':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QUOlk':_0x4cea58(0x80),'OyApT':function(_0xbb9ea7,_0xf4f13d){return _0xbb9ea7>_0xf4f13d;}},_0x58495d='browserstack internal helper hook';try{_0xf55f6a[_0x4cea58(0x73)](__drivers[_0x4cea58(0xb2)],0x1)&&(await _0xf55f6a['wRmYo'](driverCleanup),__drivers[_0x4cea58(0x87)]());try{if(global[_0x4cea58(0xbd)]&&_0xf55f6a[_0x4cea58(0xd6)](global['percyCaptureMode'],_0xf55f6a[_0x4cea58(0xcb)])&&__drivers[0x0]){const _0x42820c=_0xf55f6a[_0x4cea58(0x72)](global[_0x4cea58(0x69)][_0x4cea58(0xb2)],0x0)?!!global['capabilities'][0x0][_0x4cea58(0xbf)]||!!global[_0x4cea58(0x69)][0x0][_0xf55f6a[_0x4cea58(0xa9)]]:![],_0x3cbe2e={};_0x3cbe2e['app']=_0x42820c,await _0xf55f6a['BSoul'](percyAutoCapture,__drivers[0x0],_0xf55f6a[_0x4cea58(0xcb)],_0x3cbe2e);}}catch(_0x4ff94b){}const _0x576529=_0xf55f6a['rlQiv'](shouldScanTestForAccessibility,expect[_0x4cea58(0xa3)]()[_0x4cea58(0x8a)],![]);try{if(_0xf55f6a['PeibH'](isAccessibilityAutomationSession)&&globals[_0x4cea58(0xae)](_0xf55f6a['kKPvH'])&&globals['getGlobal'](_0xf55f6a[_0x4cea58(0xc7)])){logger[_0x4cea58(0xca)](_0xf55f6a[_0x4cea58(0x74)]);const _0x3ac808={'thTestRunUuid':TestDetails[_0x4cea58(0x76)](process['pid']+':testAnalyticsId'),'thBuildUuid':process[_0x4cea58(0x92)][testHubConstants['ENV_VAR'][_0x4cea58(0x9e)]],'thJwtToken':process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']]};logger['debug'](_0x4cea58(0x79)+JSON[_0x4cea58(0x7c)](_0x3ac808)),logger[_0x4cea58(0x80)](_0xf55f6a[_0x4cea58(0xd9)]),logger[_0x4cea58(0x80)](util['format'](await __drivers[0x0]['executeAsyncScript'](scripts[_0x4cea58(0x95)],{'method':expect[_0x4cea58(0xa3)]()[_0x4cea58(0x8a)]}))),await __drivers[0x0]['executeAsyncScript'](scripts[_0x4cea58(0xb4)],_0x3ac808),logger[_0x4cea58(0xca)](_0xf55f6a[_0x4cea58(0x7b)]);}}catch(_0x41cdf8){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+expect[_0x4cea58(0xa3)]()[_0x4cea58(0x8a)]+_0x4cea58(0x71),_0x41cdf8);}await _0xf55f6a[_0x4cea58(0xc9)](setContext);try{if(_0xf55f6a['wRmYo'](shouldProcessEventForTesthub)){global[_0x4cea58(0x75)][0x0]&&await _0xf55f6a[_0x4cea58(0x67)](sendPlatformDetails,global[_0x4cea58(0x75)][0x0],TestDetails[_0x4cea58(0x76)](process[_0x4cea58(0xab)]+_0x4cea58(0xdc)));if(_0xf55f6a[_0x4cea58(0xc9)](isBrowserstackInfra)){const _0x40fb5f=_0x4cea58(0xad)+Date[_0x4cea58(0x93)]();await _0xf55f6a[_0x4cea58(0x67)](executeAnnotate,JSON[_0x4cea58(0x7c)](_0x40fb5f),_0xf55f6a['QUOlk']);}}}catch(_0x2a7a5d){}_0xf55f6a[_0x4cea58(0xba)](__drivers[0x0][_0x4cea58(0xb5)],0x0)&&await _0xf55f6a[_0x4cea58(0xc9)](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x2808d3=a18_0x9bdd93,_0x4bfe5b={'RPNBo':function(_0x336e4f,_0x20dd5f){return _0x336e4f<=_0x20dd5f;},'zkvep':function(_0x4cd9b0,_0x5a8e4b){return _0x4cd9b0(_0x5a8e4b);},'gordn':function(_0x4cdb91){return _0x4cdb91();},'RdoEq':function(_0x584cf3,_0x9a0e0b,_0x2e1066){return _0x584cf3(_0x9a0e0b,_0x2e1066);},'tHxNn':function(_0xbce3c2){return _0xbce3c2();}};jest['setTimeout'](0x186a0),PerformanceTester[_0x2808d3(0xe0)]();const _0x1cc7e4='browserstack internal helper hook';await new Promise(_0xeec6b5=>{const _0x120d63=_0x2808d3,_0x1724fe={'iHJuZ':function(_0x5b33d2,_0x412a70){return _0x4bfe5b['RPNBo'](_0x5b33d2,_0x412a70);},'GoFCS':function(_0x14e430,_0x521076){const _0x4e5f91=a18_0x1f47;return _0x4bfe5b[_0x4e5f91(0x6f)](_0x14e430,_0x521076);},'QyHIu':function(_0xdb5f78){const _0x16d837=a18_0x1f47;return _0x4bfe5b[_0x16d837(0xbb)](_0xdb5f78);}},_0x10c727=_0x4bfe5b[_0x120d63(0x82)](setInterval,async()=>{const _0x292ff2=_0x120d63;_0x1724fe[_0x292ff2(0x6a)](RequestQueueHandler[_0x292ff2(0x9f)]()[_0x292ff2(0xcc)],0x0)&&(_0x1724fe[_0x292ff2(0xaa)](clearInterval,_0x10c727),_0x1724fe[_0x292ff2(0x85)](_0xeec6b5));},0x3e8);});try{await _0x4bfe5b[_0x2808d3(0x8c)](driverCleanup);}catch(_0xf29de9){}process[_0x2808d3(0xd3)]();},0x2710);
@@ -1 +1 @@
1
- const a18_0x535528=a18_0x3795;(function(_0x25e240,_0x16a8bb){const _0x3cf62a=a18_0x3795,_0xf93ce7=_0x25e240();while(!![]){try{const _0x33d070=-parseInt(_0x3cf62a(0xfe))/0x1+parseInt(_0x3cf62a(0x105))/0x2+parseInt(_0x3cf62a(0xfd))/0x3+-parseInt(_0x3cf62a(0xff))/0x4+parseInt(_0x3cf62a(0x101))/0x5+parseInt(_0x3cf62a(0x104))/0x6+-parseInt(_0x3cf62a(0x106))/0x7*(-parseInt(_0x3cf62a(0x100))/0x8);if(_0x33d070===_0x16a8bb)break;else _0xf93ce7['push'](_0xf93ce7['shift']());}catch(_0x58d72a){_0xf93ce7['push'](_0xf93ce7['shift']());}}}(a18_0x35d8,0xdced5));const requestSpy=require(a18_0x535528(0x103)),{addRequestSpy}=require(a18_0x535528(0x102));function a18_0x35d8(){const _0x1466e1=['../../../helpers/test-observability/utils','../../../helpers/request-spy','1321284rxMtps','1788776cZvKXm','856541LjxTyn','rawXa','3066429ZdXlkR','1610748lVXOge','6161048MBSVtq','48UOcyzk','5925020eeSACu'];a18_0x35d8=function(){return _0x1466e1;};return a18_0x35d8();}function a18_0x3795(_0x69f3d5,_0x1044c9){const _0x35d899=a18_0x35d8();return a18_0x3795=function(_0x37956e,_0x110247){_0x37956e=_0x37956e-0xfd;let _0x161ab6=_0x35d899[_0x37956e];return _0x161ab6;},a18_0x3795(_0x69f3d5,_0x1044c9);}beforeAll(()=>{const _0x4c4805=a18_0x535528,_0x3b809f={'rawXa':function(_0x1da169){return _0x1da169();}},_0x5b80c2='browserstack internal helper hook';_0x3b809f[_0x4c4805(0x107)](addRequestSpy);}),afterAll(async()=>{const _0x47a022='browserstack internal helper hook';jest['setTimeout'](0xea60),requestSpy['restore']();});
1
+ (function(_0x54db3f,_0x2adcd2){const _0x26b657=a19_0x2c0a,_0x3c9309=_0x54db3f();while(!![]){try{const _0x46c9f1=-parseInt(_0x26b657(0x16d))/0x1*(-parseInt(_0x26b657(0x168))/0x2)+-parseInt(_0x26b657(0x170))/0x3*(-parseInt(_0x26b657(0x16c))/0x4)+-parseInt(_0x26b657(0x16f))/0x5+parseInt(_0x26b657(0x169))/0x6*(parseInt(_0x26b657(0x171))/0x7)+-parseInt(_0x26b657(0x172))/0x8+-parseInt(_0x26b657(0x16e))/0x9+parseInt(_0x26b657(0x16a))/0xa;if(_0x46c9f1===_0x2adcd2)break;else _0x3c9309['push'](_0x3c9309['shift']());}catch(_0x2099e8){_0x3c9309['push'](_0x3c9309['shift']());}}}(a19_0x2178,0xb27d8));function a19_0x2178(){const _0x343033=['166loHPvG','3902244nAPwxf','35295530wIIKkU','restore','1148VPWjna','399ixGeWf','11800080NGDqxv','5481100OQhMqL','2001txWTny','7Sgtazp','10128296uVwIMB'];a19_0x2178=function(){return _0x343033;};return a19_0x2178();}const requestSpy=require('../../../helpers/request-spy'),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a19_0x2c0a(_0x15d965,_0x565eb1){const _0x217843=a19_0x2178();return a19_0x2c0a=function(_0x2c0a9b,_0x18e9bd){_0x2c0a9b=_0x2c0a9b-0x168;let _0x33b961=_0x217843[_0x2c0a9b];return _0x33b961;},a19_0x2c0a(_0x15d965,_0x565eb1);}beforeAll(()=>{const _0x3be9db={'UyTaz':function(_0x27bffa){return _0x27bffa();}},_0x2cfe2b='browserstack internal helper hook';_0x3be9db['UyTaz'](addRequestSpy);}),afterAll(async()=>{const _0x212258=a19_0x2c0a,_0x146f75='browserstack internal helper hook';jest['setTimeout'](0xea60),requestSpy[_0x212258(0x16b)]();});
@@ -1 +1 @@
1
- const a19_0x475531=a19_0xa4d7;(function(_0x485c89,_0x381630){const _0x3a5a86=a19_0xa4d7,_0x460315=_0x485c89();while(!![]){try{const _0x4b935e=-parseInt(_0x3a5a86(0x1ab))/0x1*(-parseInt(_0x3a5a86(0x1a9))/0x2)+-parseInt(_0x3a5a86(0x1b7))/0x3*(-parseInt(_0x3a5a86(0x1a7))/0x4)+parseInt(_0x3a5a86(0x19b))/0x5+parseInt(_0x3a5a86(0x1a2))/0x6*(-parseInt(_0x3a5a86(0x1a0))/0x7)+parseInt(_0x3a5a86(0x1a3))/0x8+parseInt(_0x3a5a86(0x1a4))/0x9+-parseInt(_0x3a5a86(0x1af))/0xa;if(_0x4b935e===_0x381630)break;else _0x460315['push'](_0x460315['shift']());}catch(_0x984d2f){_0x460315['push'](_0x460315['shift']());}}}(a19_0x4d31,0x969f3));const testOpsHelper=require(a19_0x475531(0x1a6)),helper=require(a19_0x475531(0x19d));function a19_0xa4d7(_0x27fb00,_0x292d14){const _0x4d31b9=a19_0x4d31();return a19_0xa4d7=function(_0xa4d7a1,_0x1c6e63){_0xa4d7a1=_0xa4d7a1-0x19b;let _0x3f90f8=_0x4d31b9[_0xa4d7a1];return _0x3f90f8;},a19_0xa4d7(_0x27fb00,_0x292d14);}function a19_0x4d31(){const _0x1a0c45=['shouldReRunObservabilityTests','19727450UfuQra','null','kdBSH','map','VEjhg','rerunTests','fgnQa','has','42etgEQz','testRegex','cliConfig','5692400yshmok','length','../../../helpers/helper','updateTestRerunConfig','pPJLP','7NgyqMI','testMatch','6923118vYBhSP','1333208PxCzQk','4030137upBBoj','hxWYy','../../../helpers/test-observability/utils','271252LaiKgC','env','2BiefAN','get','1041239yTDBcJ','push','trim'];a19_0x4d31=function(){return _0x1a0c45;};return a19_0x4d31();}exports[a19_0x475531(0x19e)]=(_0xc882a5,_0x10ec19)=>{const _0x251fb6=a19_0x475531,_0x3a12cd={};_0x3a12cd['fgnQa']=_0x251fb6(0x1b4),_0x3a12cd['pPJLP']=function(_0x44eaa8,_0x1d080e){return _0x44eaa8!==_0x1d080e;},_0x3a12cd[_0x251fb6(0x1b3)]=_0x251fb6(0x1b0),_0x3a12cd[_0x251fb6(0x1a5)]=function(_0x3cc0e1,_0x2c295e){return _0x3cc0e1!==_0x2c295e;},_0x3a12cd[_0x251fb6(0x1b1)]=function(_0x4eac6f,_0x273f14){return _0x4eac6f>_0x273f14;};const _0x3a98bf=_0x3a12cd;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x251fb6(0x1ae)]()){let _0x3e2442=process[_0x251fb6(0x1a8)]['BROWSERSTACK_RERUN_TESTS'];!helper['isUndefined'](_0x10ec19[_0x251fb6(0x1b9)])&&_0x10ec19[_0x251fb6(0x1b9)][_0x251fb6(0x1b6)](_0x3a98bf[_0x251fb6(0x1b5)])&&(_0x3e2442=_0x10ec19[_0x251fb6(0x1b9)][_0x251fb6(0x1aa)](_0x3a98bf[_0x251fb6(0x1b5)]));const _0x1599a4=[];_0x3a98bf[_0x251fb6(0x19f)](_0x3e2442,_0x3a98bf[_0x251fb6(0x1b3)])&&_0x3a98bf[_0x251fb6(0x1a5)](_0x3e2442,null)&&_0x3e2442['split'](',')[_0x251fb6(0x1b2)](_0x38a0c2=>{const _0x285082=_0x251fb6;_0x1599a4[_0x285082(0x1ac)](''+_0x38a0c2[_0x285082(0x1ad)]());}),_0x3a98bf[_0x251fb6(0x1b1)](_0x1599a4[_0x251fb6(0x19c)],0x0)&&(_0xc882a5[_0x251fb6(0x1b8)]=_0x1599a4,delete _0xc882a5[_0x251fb6(0x1a1)]);}};
1
+ const a20_0x502fa3=a20_0x3b9e;function a20_0x3b9e(_0x1dc35e,_0x14c0f0){const _0x509b34=a20_0x509b();return a20_0x3b9e=function(_0x3b9e08,_0x5115a6){_0x3b9e08=_0x3b9e08-0x6b;let _0x11ab7a=_0x509b34[_0x3b9e08];return _0x11ab7a;},a20_0x3b9e(_0x1dc35e,_0x14c0f0);}function a20_0x509b(){const _0x5899e9=['../../../helpers/helper','TElPE','9322191VubSdx','4850021xDuIdz','trim','testRegex','58807lhdaCL','DFWKw','10mmLNsw','OsRfI','12UdahFS','shouldReRunObservabilityTests','5094xTLwog','aRQLz','BROWSERSTACK_RERUN_TESTS','../../../helpers/test-observability/utils','516639BiNGYs','rerunTests','3338795FADMWr','8FobkfF','null','testMatch','cliConfig','push','117kpNzIy','isTestObservabilitySession','JSGzj','updateTestRerunConfig','23054412lQRfkk','24AxWhws','get','length'];a20_0x509b=function(){return _0x5899e9;};return a20_0x509b();}(function(_0x5cf69d,_0x86f90f){const _0x48441e=a20_0x3b9e,_0xa3eb4e=_0x5cf69d();while(!![]){try{const _0x3640fe=-parseInt(_0x48441e(0x74))/0x1*(parseInt(_0x48441e(0x88))/0x2)+-parseInt(_0x48441e(0x6c))/0x3*(parseInt(_0x48441e(0x79))/0x4)+-parseInt(_0x48441e(0x6e))/0x5+-parseInt(_0x48441e(0x86))/0x6*(-parseInt(_0x48441e(0x82))/0x7)+-parseInt(_0x48441e(0x6f))/0x8*(-parseInt(_0x48441e(0x7e))/0x9)+-parseInt(_0x48441e(0x84))/0xa*(parseInt(_0x48441e(0x7f))/0xb)+parseInt(_0x48441e(0x78))/0xc;if(_0x3640fe===_0x86f90f)break;else _0xa3eb4e['push'](_0xa3eb4e['shift']());}catch(_0x221772){_0xa3eb4e['push'](_0xa3eb4e['shift']());}}}(a20_0x509b,0x8255f));const testOpsHelper=require(a20_0x502fa3(0x6b)),helper=require(a20_0x502fa3(0x7c));exports[a20_0x502fa3(0x77)]=(_0x73e5e5,_0x2f3e51)=>{const _0xdf841d=a20_0x502fa3,_0x277196={};_0x277196['aRQLz']=_0xdf841d(0x6d),_0x277196[_0xdf841d(0x85)]=function(_0x3d06ca,_0x859c71){return _0x3d06ca!==_0x859c71;},_0x277196[_0xdf841d(0x7d)]=_0xdf841d(0x70),_0x277196[_0xdf841d(0x76)]=function(_0x2dc960,_0x1f9bc0){return _0x2dc960!==_0x1f9bc0;},_0x277196[_0xdf841d(0x83)]=function(_0x53f2d7,_0x3f8343){return _0x53f2d7>_0x3f8343;};const _0x2c1218=_0x277196;if(testOpsHelper[_0xdf841d(0x75)]()&&testOpsHelper[_0xdf841d(0x87)]()){let _0x49e065=process['env'][_0xdf841d(0x8a)];!helper['isUndefined'](_0x2f3e51[_0xdf841d(0x72)])&&_0x2f3e51['cliConfig']['has'](_0x2c1218[_0xdf841d(0x89)])&&(_0x49e065=_0x2f3e51[_0xdf841d(0x72)][_0xdf841d(0x7a)](_0x2c1218[_0xdf841d(0x89)]));const _0xeb58d6=[];_0x2c1218[_0xdf841d(0x85)](_0x49e065,_0x2c1218[_0xdf841d(0x7d)])&&_0x2c1218[_0xdf841d(0x76)](_0x49e065,null)&&_0x49e065['split'](',')['map'](_0x4b8460=>{const _0xc0de8b=_0xdf841d;_0xeb58d6[_0xc0de8b(0x73)](''+_0x4b8460[_0xc0de8b(0x80)]());}),_0x2c1218[_0xdf841d(0x83)](_0xeb58d6[_0xdf841d(0x7b)],0x0)&&(_0x73e5e5[_0xdf841d(0x81)]=_0xeb58d6,delete _0x73e5e5[_0xdf841d(0x71)]);}};