browserstack-node-sdk 1.34.15 → 1.34.17

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 (127) 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/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x5b19a6=a1_0x5af2;function a1_0x5af2(_0x1b5d00,_0x4d0188){const _0x4a6a6d=a1_0x4a6a();return a1_0x5af2=function(_0x5af287,_0x2998bf){_0x5af287=_0x5af287-0x67;let _0x3685ea=_0x4a6a6d[_0x5af287];return _0x3685ea;},a1_0x5af2(_0x1b5d00,_0x4d0188);}(function(_0x25ac60,_0xdaa96f){const _0x3f9a8e=a1_0x5af2,_0x4ef99c=_0x25ac60();while(!![]){try{const _0x413dd7=-parseInt(_0x3f9a8e(0xbc))/0x1*(parseInt(_0x3f9a8e(0xdb))/0x2)+-parseInt(_0x3f9a8e(0xce))/0x3*(-parseInt(_0x3f9a8e(0x75))/0x4)+-parseInt(_0x3f9a8e(0x72))/0x5+parseInt(_0x3f9a8e(0xed))/0x6*(parseInt(_0x3f9a8e(0x9a))/0x7)+-parseInt(_0x3f9a8e(0xe4))/0x8*(-parseInt(_0x3f9a8e(0xba))/0x9)+-parseInt(_0x3f9a8e(0x92))/0xa*(parseInt(_0x3f9a8e(0x7a))/0xb)+parseInt(_0x3f9a8e(0xdf))/0xc*(-parseInt(_0x3f9a8e(0xd3))/0xd);if(_0x413dd7===_0xdaa96f)break;else _0x4ef99c['push'](_0x4ef99c['shift']());}catch(_0x55b762){_0x4ef99c['push'](_0x4ef99c['shift']());}}}(a1_0x4a6a,0xe77bd));const fs=require('fs'),util=require(a1_0x5b19a6(0xcc)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x5b19a6(0x6c)),logger=require(a1_0x5b19a6(0x10a))[a1_0x5b19a6(0xfc)],testOpsHelper=require(a1_0x5b19a6(0xf6)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x5b19a6(0xa1)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x5b19a6(0xf7)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x5b19a6(0x9b)),PerformanceTester=require(a1_0x5b19a6(0xb6)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x5b19a6(0xa5)),testHubConstants=require(a1_0x5b19a6(0xa7)),CodeceptJS=requireModule(a1_0x5b19a6(0xaa)),CodeceptUtils=requireModule(a1_0x5b19a6(0x10b)),CodeceptWebDriver=requireModule(a1_0x5b19a6(0xa0)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule(a1_0x5b19a6(0x95)),playwrightMarkSessionStatus=(_0x382fe6,_0x53052e,_0x417006)=>{const _0x5ecc79=a1_0x5b19a6,_0x1c37e5={'MYvNY':_0x5ecc79(0x79),'rYzWa':function(_0x222799,_0x1c90d0){return _0x222799(_0x1c90d0);}},_0x38c9b1={};_0x38c9b1['status']=_0x53052e;const _0x311d64={};_0x311d64['action']=_0x1c37e5[_0x5ecc79(0xf3)],_0x311d64[_0x5ecc79(0x94)]=_0x38c9b1;const _0x468e7d=_0x311d64;return!_0x1c37e5[_0x5ecc79(0x69)](isUndefined,_0x417006)&&(_0x468e7d['arguments'][_0x5ecc79(0xd0)]=JSON[_0x5ecc79(0x96)](_0x417006)),_0x382fe6[_0x5ecc79(0xcb)](()=>{},_0x5ecc79(0xa9)+JSON[_0x5ecc79(0x96)](_0x468e7d));},o11ySync=async _0x4f311f=>{const _0x4a8537=a1_0x5b19a6,_0x450f12={};_0x450f12[_0x4a8537(0xb0)]=function(_0x5ce048,_0x216690){return _0x5ce048===_0x216690;},_0x450f12[_0x4a8537(0xea)]=_0x4a8537(0x74);const _0x331237=_0x450f12;_0x331237[_0x4a8537(0xb0)](_0x4f311f[_0x4a8537(0xcf)][_0x4a8537(0x8c)],_0x331237[_0x4a8537(0xea)])?await _0x4f311f[_0x4a8537(0xcb)](_0x3b5d5c=>{},testOpsHelper['getSyncScript']()):await _0x4f311f[_0x4a8537(0xcb)](testOpsHelper[_0x4a8537(0x83)]());},markSessionName=async(_0x271e16,_0x371c82)=>{const _0x2509cb=a1_0x5b19a6,_0x6347ca={};_0x6347ca['JzEAM']='setSessionName',_0x6347ca['GIHYv']=function(_0x113c24,_0x24f384){return _0x113c24===_0x24f384;},_0x6347ca[_0x2509cb(0xaf)]=_0x2509cb(0x74);const _0x4041ba=_0x6347ca,_0x2aae83={};_0x2aae83[_0x2509cb(0x8c)]=_0x371c82;const _0x20bc24={};_0x20bc24['action']=_0x4041ba[_0x2509cb(0xc0)],_0x20bc24[_0x2509cb(0x94)]=_0x2aae83;const _0xa438be=_0x20bc24;_0x4041ba[_0x2509cb(0x73)](_0x271e16[_0x2509cb(0xcf)]['name'],_0x4041ba[_0x2509cb(0xaf)])?await _0x271e16['executeScript'](()=>{},_0x2509cb(0xa9)+JSON[_0x2509cb(0x96)](_0xa438be)):await _0x271e16[_0x2509cb(0xcb)](_0x2509cb(0xa9)+JSON[_0x2509cb(0x96)](_0xa438be));},patchSaveScreenshot=_0x28a2c8=>{const _0x39e043=a1_0x5b19a6,_0x533b82={'vFtmA':'base64','ccAYs':_0x39e043(0x10d),'yWQVF':function(_0x1eb7bb){return _0x1eb7bb();},'tLFYW':function(_0x1b13b3,_0x55b516){return _0x1b13b3(_0x55b516);}};_0x533b82['tLFYW'](isTrue,process['env'][_0x39e043(0xd6)])&&!_0x28a2c8['patchSaveScreenshot']&&(_0x28a2c8[_0x39e043(0x87)]=!![],_0x28a2c8[_0x39e043(0xbe)]=_0x28a2c8[_0x39e043(0x70)],_0x28a2c8[_0x39e043(0x70)]=(_0x1540f5,_0x247b1b=![])=>{const _0x128276=_0x39e043,_0x472242={'fhfxq':_0x533b82['vFtmA'],'fqyVW':_0x533b82[_0x128276(0xec)],'fpsYv':function(_0x4d3688){const _0x4aa58b=_0x128276;return _0x533b82[_0x4aa58b(0x9f)](_0x4d3688);}};return new Promise(function(_0x47bf8e,_0x5e4120){const _0x4e3ec6=_0x128276;_0x28a2c8[_0x4e3ec6(0xbe)](_0x1540f5,_0x247b1b)[_0x4e3ec6(0x101)](()=>{const _0x3ea9a4=_0x4e3ec6,_0x491f72=CodeceptUtils[_0x3ea9a4(0xff)](_0x1540f5),_0x197b7e=fs[_0x3ea9a4(0x68)](_0x491f72);process[_0x3ea9a4(0xb4)](_0x3ea9a4(0x102)+process[_0x3ea9a4(0xc1)],{'timestamp':new Date()[_0x3ea9a4(0x9c)](),'message':_0x197b7e[_0x3ea9a4(0xd9)](_0x472242['fhfxq']),'kind':_0x472242[_0x3ea9a4(0x82)]}),_0x472242[_0x3ea9a4(0x8f)](_0x47bf8e);})['catch'](()=>null);});});},patchWebDriverBefore=_0x42994b=>{const _0x14bed2=a1_0x5b19a6,_0x18bafe={'TibMO':function(_0x3b610a){return _0x3b610a();},'yMKrs':function(_0x5674a4,_0x2ffffe){return _0x5674a4(_0x2ffffe);},'HwFNW':function(_0x3c1699,_0x25ff36){return _0x3c1699===_0x25ff36;},'AgtoV':_0x14bed2(0x6e),'sqBpS':function(_0x1fcbec,_0x506af2){return _0x1fcbec(_0x506af2);}},_0x2a485e=async function(_0x2e19eb,_0x53af51){const _0x2cd3d3=_0x14bed2;return _0x18bafe[_0x2cd3d3(0xb5)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x2cd3d3(0xf4)]&&scripts[_0x2cd3d3(0xc4)](_0x2e19eb['name'])&&_0x18bafe[_0x2cd3d3(0x81)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2cd3d3(0xf8)]=!![],logger[_0x2cd3d3(0xb7)]('Performing\x20scan\x20for\x20'+_0x2e19eb[_0x2cd3d3(0xc5)]+'\x20'+_0x2e19eb[_0x2cd3d3(0x8c)]),await AccessibilityHelper[_0x2cd3d3(0x78)](_0x42994b,scripts['performScan'])),global['bstackAllyScanning']=![],_0x53af51[_0x2cd3d3(0x106)](this,Array['prototype']['slice'][_0x2cd3d3(0xd2)](arguments,0x2));},_0x1f0f6c=CodeceptWebDriver[_0x14bed2(0xac)]['_before'];CodeceptWebDriver[_0x14bed2(0xac)]['_before']=async function(){const _0x4af5dc=_0x14bed2;await _0x1f0f6c[_0x4af5dc(0x106)](this,arguments),scripts[_0x4af5dc(0xe7)][_0x4af5dc(0x85)](_0x3a397b=>_0x3a397b[_0x4af5dc(0x8c)]&&_0x3a397b[_0x4af5dc(0xc5)])['forEach'](_0x4bfc94=>{const _0x444885=_0x4af5dc;this[_0x444885(0xbd)][_0x444885(0x67)](_0x4bfc94[_0x444885(0x8c)],_0x2a485e[_0x444885(0x86)](this,_0x4bfc94),_0x18bafe['HwFNW'](_0x4bfc94[_0x444885(0xc5)],_0x18bafe[_0x444885(0x6f)]));}),_0x18bafe['sqBpS'](processWebDriverConfig,_0x42994b);};},patchPlaywrightBefore=()=>{const _0x4fc2b2=a1_0x5b19a6;PlaywrightSessionDetails[_0x4fc2b2(0x8e)]();const _0x3d1e17=CodeceptPlaywright[_0x4fc2b2(0xac)][_0x4fc2b2(0xe6)];CodeceptPlaywright['prototype'][_0x4fc2b2(0xe6)]=async function(){const _0x341135=_0x4fc2b2;this[_0x341135(0xfe)]=await this['browser'][_0x341135(0x108)]()[0x0],await _0x3d1e17[_0x341135(0x106)](this,arguments);};},getCodeceptDriver=()=>{const _0x1ad0ca=a1_0x5b19a6,_0x4afb4e={};_0x4afb4e[_0x1ad0ca(0x80)]=_0x1ad0ca(0xde),_0x4afb4e['ocESC']=_0x1ad0ca(0x74),_0x4afb4e[_0x1ad0ca(0x76)]=_0x1ad0ca(0xb9),_0x4afb4e[_0x1ad0ca(0xe2)]=_0x1ad0ca(0xbb);const _0x3285ad=_0x4afb4e,_0x967abe=[_0x3285ad[_0x1ad0ca(0x80)],_0x3285ad['ocESC'],_0x3285ad[_0x1ad0ca(0x76)],_0x3285ad[_0x1ad0ca(0xe2)]],_0x3b0cb7=_0x967abe['find'](_0x4e424f=>!!CodeceptJS[_0x1ad0ca(0xfb)][_0x1ad0ca(0xd5)](_0x4e424f));if(!_0x3b0cb7)return null;return CodeceptJS[_0x1ad0ca(0xfb)][_0x1ad0ca(0xd5)](_0x3b0cb7);};module[a1_0x5b19a6(0xbf)]=function(_0x233c23){const _0x3db4df=a1_0x5b19a6,_0x52ebc4={'bupwT':_0x3db4df(0xb3),'IibmF':_0x3db4df(0x98),'Cobpy':function(_0x645218){return _0x645218();},'TraNA':function(_0x74214c,_0x1da8ac){return _0x74214c(_0x1da8ac);},'bRdKG':function(_0x1b978c,_0x12a1bc,_0x5e9c5e){return _0x1b978c(_0x12a1bc,_0x5e9c5e);},'nJXij':function(_0x1bc4db,_0x5231e1){return _0x1bc4db(_0x5231e1);},'JmrOx':function(_0x39b76b){return _0x39b76b();},'LyYcG':function(_0x5177f5,_0x17bfdc,_0x273d6d){return _0x5177f5(_0x17bfdc,_0x273d6d);},'ANHCp':function(_0x2b73df,_0x2d1c0a,_0x3185c0){return _0x2b73df(_0x2d1c0a,_0x3185c0);},'XejGN':function(_0x420eb8){return _0x420eb8();},'hWoEQ':function(_0xcb431d,_0x3829b9,_0x6366a8,_0x3d13d2){return _0xcb431d(_0x3829b9,_0x6366a8,_0x3d13d2);},'ahQRG':function(_0x3c344a,_0x40d88c){return _0x3c344a===_0x40d88c;},'TCILi':'Suite','zlrLF':_0x3db4df(0x89),'YJDvI':_0x3db4df(0xb8),'APJFF':_0x3db4df(0x90),'NSFYO':_0x3db4df(0x74)};_0x233c23[_0x3db4df(0xd1)]&&(global[_0x3db4df(0xcd)]=_0x233c23[_0x3db4df(0xd1)]);PerformanceTester['startMonitoring']();const _0x1e53c2=_0x52ebc4[_0x3db4df(0xab)](getCodeceptDriver),_0xee0335=new O11yHelper(_0x1e53c2,_0x233c23),_0xb649c0=!!CodeceptJS[_0x3db4df(0xfb)][_0x3db4df(0xd5)](_0x52ebc4[_0x3db4df(0x103)]);global[_0x3db4df(0x7c)]=_0x1e53c2,_0x1e53c2&&(_0xb649c0?_0x52ebc4[_0x3db4df(0xab)](patchPlaywrightBefore):_0x52ebc4['TraNA'](patchWebDriverBefore,_0x1e53c2),_0x1e53c2[_0x3db4df(0xa4)]=async()=>{const _0x166cd7=_0x3db4df;if(global[_0x166cd7(0xf4)])await AccessibilityHelper['browserStackExecuteDriver'](_0x1e53c2,scripts[_0x166cd7(0x6d)]),await AccessibilityHelper[_0x166cd7(0x78)](_0x1e53c2,scripts[_0x166cd7(0xdc)]);else return logger[_0x166cd7(0xc3)](_0x52ebc4[_0x166cd7(0x93)]),{};},_0x1e53c2['getAccessibilityResults']=async()=>{const _0x4e8a0c=_0x3db4df;if(global[_0x4e8a0c(0xf4)])await AccessibilityHelper['browserStackExecuteDriver'](_0x1e53c2,scripts[_0x4e8a0c(0x6d)]),await AccessibilityHelper[_0x4e8a0c(0x78)](_0x1e53c2,scripts[_0x4e8a0c(0x8a)]);else return logger[_0x4e8a0c(0xc3)](_0x52ebc4['IibmF']),{};},_0x52ebc4[_0x3db4df(0x9e)](patchSaveScreenshot,_0x1e53c2)),CodeceptJS['event'][_0x3db4df(0xe9)]['on'](CodeceptJS['event']['all'][_0x3db4df(0xf5)],()=>{const _0x55691b=_0x3db4df;try{_0xee0335[_0x55691b(0xf1)](),testOpsHelper[_0x55691b(0xc8)]();}catch(_0x38e59a){PerformanceTester['captureError'](_0x38e59a);}}),CodeceptJS[_0x3db4df(0xfd)]['dispatcher']['on'](CodeceptJS['event']['all']['after'],async()=>{const _0x17e371=_0x3db4df;try{requestSpy[_0x17e371(0xa6)](),await _0xee0335[_0x17e371(0xef)]();}catch(_0x902cd2){PerformanceTester[_0x17e371(0xe5)](_0x902cd2);}finally{PerformanceTester[_0x17e371(0xdd)]();}}),CodeceptJS['event'][_0x3db4df(0xe9)]['on'](CodeceptJS['event'][_0x3db4df(0xca)][_0x3db4df(0x100)],_0x3dba2c=>{const _0x2b92d7=_0x3db4df;try{const _0x405cc9=_0x3dba2c[_0x2b92d7(0xc6)][_0x2b92d7(0x71)],_0x225f03=_0xee0335['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x405cc9);CodeceptRecorder[_0x2b92d7(0x10e)](()=>_0xee0335[_0x2b92d7(0xe3)](TEST_EVENTS[_0x2b92d7(0xa2)],_0x225f03));}catch(_0x44d2e1){PerformanceTester['captureError'](_0x44d2e1);}}),CodeceptJS['event'][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)]['hook'][_0x3db4df(0xd8)],_0x4d74b6=>{const _0x4278e8=_0x3db4df;try{const _0x468f7b=_0x4d74b6[_0x4278e8(0xc6)][_0x4278e8(0x71)],_0x447239=_0xee0335['captureEvent'](TEST_EVENTS[_0x4278e8(0xad)],_0x468f7b);CodeceptRecorder['add'](()=>_0xee0335[_0x4278e8(0xe3)](TEST_EVENTS[_0x4278e8(0xad)],_0x447239));}catch(_0x33d956){PerformanceTester[_0x4278e8(0xe5)](_0x33d956);}}),CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0xca)][_0x3db4df(0xeb)],async(_0x51751b,_0x22b8c1)=>{const _0x501249=_0x3db4df;try{const _0x820abb=_0x51751b['ctx'][_0x501249(0x71)],_0x2d5a98=_0xee0335[_0x501249(0xf9)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x820abb,_0x22b8c1);CodeceptRecorder[_0x501249(0x10e)](()=>_0xee0335[_0x501249(0xe3)](TEST_EVENTS[_0x501249(0xad)],_0x2d5a98));}catch(_0x3a3d2b){PerformanceTester['captureError'](_0x3a3d2b);}}),CodeceptJS['event'][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0x71)][_0x3db4df(0xf5)],_0x48832a=>{const _0x284176=_0x3db4df;try{_0x52ebc4[_0x284176(0xe0)](isBrowserstackInfra)&&(_0xb649c0&&(global[_0x284176(0x7e)]={'currentTest':{'name':_0x48832a[_0x284176(0x6a)],'testInfo':{'titlePath':_0x48832a[_0x284176(0xd7)]()}}}));}catch(_0x1f70f0){PerformanceTester[_0x284176(0xe5)](_0x1f70f0);}}),CodeceptJS['event'][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0x71)][_0x3db4df(0x100)],_0x3c1238=>{const _0x1f3b1f=_0x3db4df,_0x450c68={'CWrmY':function(_0x4a4ce5){const _0x84faa1=a1_0x5af2;return _0x52ebc4[_0x84faa1(0xe0)](_0x4a4ce5);},'kzgXv':function(_0x19fe8c,_0x3f0e90){const _0xffcccb=a1_0x5af2;return _0x52ebc4[_0xffcccb(0xf0)](_0x19fe8c,_0x3f0e90);},'IeWNw':function(_0x278cb9,_0x2623e9,_0xbb818e){return _0x52ebc4['bRdKG'](_0x278cb9,_0x2623e9,_0xbb818e);},'kJZZQ':function(_0x2612e0,_0x37da51){return _0x52ebc4['nJXij'](_0x2612e0,_0x37da51);}};try{const _0x2d9564=_0xee0335[_0x1f3b1f(0xf9)](TEST_EVENTS[_0x1f3b1f(0xe1)],_0x3c1238);CodeceptRecorder['add'](()=>_0xee0335[_0x1f3b1f(0xe3)](TEST_EVENTS[_0x1f3b1f(0xe1)],_0x2d9564)),CodeceptRecorder[_0x1f3b1f(0x10e)](async()=>{const _0x353b61=_0x1f3b1f;_0x450c68['CWrmY'](isBrowserstackInfra)&&(!_0x450c68[_0x353b61(0x105)](isTrue,_0x233c23[_0x353b61(0x88)])&&await _0x450c68[_0x353b61(0xc2)](markSessionName,_0x1e53c2,_0x3c1238['title']),_0xee0335[_0x353b61(0xc9)]&&await _0x450c68[_0x353b61(0x97)](o11ySync,_0x1e53c2));});}catch(_0x5d3994){PerformanceTester[_0x1f3b1f(0xe5)](_0x5d3994);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0x71)][_0x3db4df(0xd8)],_0x3fdb2f=>{const _0x2c42cc=_0x3db4df,_0x248d2c={'WfhWq':function(_0x3b6f5e){const _0x112040=a1_0x5af2;return _0x52ebc4[_0x112040(0x109)](_0x3b6f5e);},'ZsLVI':function(_0x448410,_0x4d5c01,_0xb8a478){return _0x52ebc4['LyYcG'](_0x448410,_0x4d5c01,_0xb8a478);},'fselP':function(_0x633ab5,_0xc9594a,_0x26f3a8){return _0x52ebc4['ANHCp'](_0x633ab5,_0xc9594a,_0x26f3a8);}};try{const _0x17ffdc=_0xee0335[_0x2c42cc(0xf9)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x3fdb2f);CodeceptRecorder['add'](()=>_0xee0335[_0x2c42cc(0xe3)](TEST_EVENTS[_0x2c42cc(0x7f)],_0x17ffdc)),CodeceptRecorder[_0x2c42cc(0x10e)](async()=>{const _0x1db755=_0x2c42cc;_0x248d2c[_0x1db755(0xe8)](isBrowserstackInfra)&&(_0xb649c0?await _0x248d2c[_0x1db755(0xa3)](playwrightMarkSessionStatus,_0x1e53c2,STATE_PASSED):await _0x248d2c[_0x1db755(0x99)](markSessionStatus,_0x1e53c2,STATE_PASSED));});}catch(_0x2d9910){PerformanceTester['captureError'](_0x2d9910);}}),CodeceptJS['event'][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0x71)][_0x3db4df(0xeb)],(_0x3637ac,_0x584cf9)=>{const _0xe8eca0=_0x3db4df;try{if(_0x52ebc4[_0xe8eca0(0xf2)](_0x3637ac[_0xe8eca0(0xcf)][_0xe8eca0(0x8c)],_0x52ebc4[_0xe8eca0(0xa8)])){const _0x2c52a9=_0xee0335[_0xe8eca0(0xf9)](TEST_EVENTS[_0xe8eca0(0xc7)],_0x3637ac['ctx']['currentTest']);CodeceptRecorder[_0xe8eca0(0x10e)](()=>_0xee0335['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2c52a9));}else{const _0x4bf85c=_0xee0335[_0xe8eca0(0xf9)](TEST_EVENTS[_0xe8eca0(0x7f)],_0x3637ac,_0x584cf9);CodeceptRecorder[_0xe8eca0(0x10e)](()=>{const _0x594e99=_0xe8eca0;try{_0xee0335['fireEvent'](TEST_EVENTS[_0x594e99(0x7f)],_0x4bf85c);}catch(_0x1be28b){logger[_0x594e99(0xb7)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util['format'](_0x1be28b));}}),CodeceptRecorder[_0xe8eca0(0x10e)](async()=>{const _0x4163ae=_0xe8eca0;try{_0x52ebc4['XejGN'](isBrowserstackInfra)&&(_0xb649c0?await _0x52ebc4[_0x4163ae(0x107)](playwrightMarkSessionStatus,_0x1e53c2,STATE_FAILED,_0x584cf9):await _0x52ebc4[_0x4163ae(0x107)](markSessionStatus,_0x1e53c2,STATE_FAILED,_0x584cf9));}catch(_0x52588b){logger[_0x4163ae(0xb7)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util['format'](_0x52588b));}});}}catch(_0x3bdc8a){PerformanceTester[_0xe8eca0(0xe5)](_0x3bdc8a);}}),CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0x71)][_0x3db4df(0xee)],_0x502522=>{const _0x2c16f1=_0x3db4df;try{const _0x3d556e=_0xee0335[_0x2c16f1(0xf9)](TEST_EVENTS[_0x2c16f1(0xc7)],_0x502522);CodeceptRecorder[_0x2c16f1(0x10e)](()=>_0xee0335[_0x2c16f1(0xe3)](TEST_EVENTS[_0x2c16f1(0xc7)],_0x3d556e));}catch(_0x425638){PerformanceTester[_0x2c16f1(0xe5)](_0x425638);}}),CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0x71)]['after'],async(_0x1cc540,_0x2721d8)=>{const _0x3389c6=_0x3db4df;try{if(_0x52ebc4[_0x3389c6(0xe0)](isBrowserstackInfra)){const _0x2b04f3=_0x52ebc4[_0x3389c6(0xae)](shouldScanTestForAccessibility,_0x1cc540[_0x3389c6(0xd7)](),!![]);if(_0x52ebc4[_0x3389c6(0x109)](isAccessibilityAutomationSession)&&global[_0x3389c6(0xf4)]&&_0x2b04f3){const _0x147eb1={};_0x147eb1[_0x3389c6(0x8d)]=_0x1cc540[_0x3389c6(0xda)],_0x147eb1['thBuildUuid']=process[_0x3389c6(0xd4)][testHubConstants[_0x3389c6(0x8b)]['BROWSERSTACK_TESTHUB_UUID']],_0x147eb1['thJwtToken']=process['env'][testHubConstants[_0x3389c6(0x8b)][_0x3389c6(0x6b)]];const _0x5aa6d1=_0x147eb1;logger['debug'](_0x3389c6(0x77)+JSON[_0x3389c6(0x96)](_0x5aa6d1)),CodeceptRecorder[_0x3389c6(0x10e)](async()=>{const _0x47928e=_0x3389c6;await AccessibilityHelper[_0x47928e(0x78)](_0x1e53c2,scripts[_0x47928e(0x6d)]),await AccessibilityHelper[_0x47928e(0x78)](_0x1e53c2,scripts[_0x47928e(0x9d)],_0x5aa6d1);}),logger[_0x3389c6(0x104)](_0x52ebc4[_0x3389c6(0x7d)]);}}}catch(_0x3ea613){PerformanceTester['captureError'](_0x3ea613);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0x91)][_0x3db4df(0x7b)],_0x5c8097=>{const _0x40bde7=_0x3db4df;try{process['emit'](_0x40bde7(0x102)+process[_0x40bde7(0xc1)],{'timestamp':new Date()[_0x40bde7(0x9c)](),'level':_0x52ebc4[_0x40bde7(0x84)],'message':_0x5c8097,'kind':_0x52ebc4['APJFF'],'http_response':{}});}catch(_0x508896){PerformanceTester['captureError'](_0x508896);}}),CodeceptJS['event'][_0x3db4df(0xe9)]['on'](CodeceptJS[_0x3db4df(0xfd)]['bddStep'][_0x3db4df(0xf5)],_0x29366f=>{const _0x3e8aaa=_0x3db4df;_0xee0335[_0x3e8aaa(0x10c)](_0x29366f);}),CodeceptJS[_0x3db4df(0xfd)][_0x3db4df(0xe9)]['on'](CodeceptJS['event'][_0x3db4df(0xb2)][_0x3db4df(0xfa)],_0x22f7ea=>{const _0x41ea05=_0x3db4df;_0xee0335[_0x41ea05(0xb1)](_0x22f7ea);});};function a1_0x4a6a(){const _0x43bfda=['zlrLF','__workerDetails','TEST_RUN_FINISHED','CiUSS','yMKrs','fqyVW','getSyncScript','YJDvI','filter','bind','patchSaveScreenshot','skipSessionName','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','getResults','ENV_VAR','name','thTestRunUuid','patch','fpsYv','TEST_LOG','step','1683160zwLjDo','bupwT','arguments','codeceptjs/lib/helper/Playwright.js','stringify','kJZZQ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','fselP','14JRHfXN','../../helpers/accessibility-automation/scripts','toISOString','saveTestResults','nJXij','yWQVF','codeceptjs/lib/helper/WebDriver.js','./o11yHelper','HOOK_RUN_STARTED','ZsLVI','getAccessibilityResultsSummary','./helper.js','restore','../../helpers/testhub/constants.js','TCILi','browserstack_executor:\x20','codeceptjs/lib/index.js','XejGN','prototype','HOOK_RUN_FINISHED','LyYcG','oWSfo','SsdJF','bddStepFinish','bddStep','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','emit','TibMO','../../helpers/performance-tester','debug','INFO','Puppeteer','9XJYicH','TestCafe','354878IUiADR','browser','initSaveScreenshot','exports','JzEAM','pid','IeWNw','warn','shouldWrapCommand','class','ctx','TEST_RUN_SKIPPED','addRequestSpy','enabled','hook','executeScript','util','__skipSessionStatus','109761iPtscZ','constructor','reason','skipSessionStatus','call','13BdPGYh','env','helpers','BS_TESTOPS_ALLOW_SCREENSHOTS','titlePath','passed','toString','testAnalyticsId','4mepSmI','getResultsSummary','stopMonitoring','WebDriver','12901260KCYzXc','Cobpy','TEST_RUN_STARTED','gLyJz','fireEvent','10782488NbqlUk','captureError','_before','commandsToWrap','WfhWq','dispatcher','NLYzI','failed','ccAYs','5085156shnSZb','skipped','stop','TraNA','start','ahQRG','MYvNY','accessibilityPlatform','before','../../helpers/test-observability/utils','../../helpers/accessibility-automation/helper','bstackAllyScanning','captureEvent','after','container','winstonLogger','event','browserContext','screenshotOutputFolder','started','then','bs:addLog:','NSFYO','info','kzgXv','apply','hWoEQ','contexts','JmrOx','../../helpers/logger','codeceptjs/lib/utils.js','bddStepStart','TEST_SCREENSHOT','add','overwriteCommand','readFileSync','rYzWa','title','BROWSERSTACK_TESTHUB_JWT','../../helpers/helper','performScan','Element','AgtoV','saveScreenshot','test','780740TnPBCs','GIHYv','Playwright','20FDNyZf','apeIp','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserStackExecuteDriver','setSessionStatus','22NMhcfm','comment','__driver'];a1_0x4a6a=function(){return _0x43bfda;};return a1_0x4a6a();}
1
+ const a1_0x268709=a1_0x3324;function a1_0x3324(_0x2f7730,_0x3c53da){const _0x3bc47a=a1_0x3bc4();return a1_0x3324=function(_0x33244,_0xdf536c){_0x33244=_0x33244-0x125;let _0x1b106b=_0x3bc47a[_0x33244];return _0x1b106b;},a1_0x3324(_0x2f7730,_0x3c53da);}(function(_0x299113,_0x1dae15){const _0x2edaac=a1_0x3324,_0xeb2f54=_0x299113();while(!![]){try{const _0x3d575b=parseInt(_0x2edaac(0x1b0))/0x1*(parseInt(_0x2edaac(0x199))/0x2)+-parseInt(_0x2edaac(0x192))/0x3+parseInt(_0x2edaac(0x146))/0x4*(-parseInt(_0x2edaac(0x186))/0x5)+parseInt(_0x2edaac(0x184))/0x6+-parseInt(_0x2edaac(0x1bc))/0x7+parseInt(_0x2edaac(0x128))/0x8*(parseInt(_0x2edaac(0x17c))/0x9)+-parseInt(_0x2edaac(0x1a2))/0xa*(-parseInt(_0x2edaac(0x18d))/0xb);if(_0x3d575b===_0x1dae15)break;else _0xeb2f54['push'](_0xeb2f54['shift']());}catch(_0x68f1f){_0xeb2f54['push'](_0xeb2f54['shift']());}}}(a1_0x3bc4,0x8b412));const fs=require('fs'),util=require(a1_0x268709(0x1b2)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x268709(0x18e)),logger=require(a1_0x268709(0x1a3))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x268709(0x1be)),PlaywrightSessionDetails=require(a1_0x268709(0x195)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x268709(0x125)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x268709(0x15c)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x268709(0x12f)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x268709(0x191)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x268709(0x18b)),CodeceptWebDriver=requireModule(a1_0x268709(0x182)),CodeceptRecorder=requireModule(a1_0x268709(0x129)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x1d324c,_0x16c934,_0x26ed97)=>{const _0x265d1e=a1_0x268709,_0xf5896d={'GvEwl':_0x265d1e(0x1b9),'islkH':function(_0x2d792b,_0x5066ae){return _0x2d792b(_0x5066ae);}},_0x918473={};_0x918473[_0x265d1e(0x163)]=_0x16c934;const _0xb7c755={};_0xb7c755[_0x265d1e(0x143)]=_0xf5896d['GvEwl'],_0xb7c755[_0x265d1e(0x132)]=_0x918473;const _0x5da98f=_0xb7c755;return!_0xf5896d[_0x265d1e(0x133)](isUndefined,_0x26ed97)&&(_0x5da98f['arguments']['reason']=JSON[_0x265d1e(0x13b)](_0x26ed97)),_0x1d324c[_0x265d1e(0x19f)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x5da98f));},o11ySync=async _0x2fbba0=>{const _0x57137c=a1_0x268709,_0x3ecf17={};_0x3ecf17[_0x57137c(0x1bd)]=function(_0x24bf7b,_0x75d1dd){return _0x24bf7b===_0x75d1dd;},_0x3ecf17[_0x57137c(0x1ad)]='Playwright';const _0x578fc5=_0x3ecf17;_0x578fc5['WTpue'](_0x2fbba0[_0x57137c(0x162)][_0x57137c(0x19a)],_0x578fc5[_0x57137c(0x1ad)])?await _0x2fbba0['executeScript'](_0x13b5f7=>{},testOpsHelper[_0x57137c(0x194)]()):await _0x2fbba0[_0x57137c(0x19f)](testOpsHelper[_0x57137c(0x194)]());},markSessionName=async(_0x18c38f,_0x132f14)=>{const _0x5433ee=a1_0x268709,_0x12cdb8={};_0x12cdb8[_0x5433ee(0x183)]=_0x5433ee(0x160),_0x12cdb8['XyvNR']=function(_0x1baff6,_0xffd80){return _0x1baff6===_0xffd80;},_0x12cdb8[_0x5433ee(0x141)]=_0x5433ee(0x17e);const _0x6a0081=_0x12cdb8,_0x36f5eb={};_0x36f5eb[_0x5433ee(0x19a)]=_0x132f14;const _0x2012ef={};_0x2012ef['action']=_0x6a0081[_0x5433ee(0x183)],_0x2012ef[_0x5433ee(0x132)]=_0x36f5eb;const _0x308ce6=_0x2012ef;_0x6a0081['XyvNR'](_0x18c38f[_0x5433ee(0x162)][_0x5433ee(0x19a)],_0x6a0081[_0x5433ee(0x141)])?await _0x18c38f[_0x5433ee(0x19f)](()=>{},_0x5433ee(0x14e)+JSON[_0x5433ee(0x13b)](_0x308ce6)):await _0x18c38f[_0x5433ee(0x19f)](_0x5433ee(0x14e)+JSON[_0x5433ee(0x13b)](_0x308ce6));},patchSaveScreenshot=_0x89eba0=>{const _0x529c56=a1_0x268709,_0x30c28f={'SjTmz':_0x529c56(0x198),'TgFUv':'TEST_SCREENSHOT','AQJmP':function(_0x3c216c){return _0x3c216c();},'vRRDw':function(_0x73f454,_0x73201b){return _0x73f454(_0x73201b);}};_0x30c28f['vRRDw'](isTrue,process[_0x529c56(0x155)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x89eba0[_0x529c56(0x13d)]&&(_0x89eba0[_0x529c56(0x13d)]=!![],_0x89eba0[_0x529c56(0x197)]=_0x89eba0[_0x529c56(0x18a)],_0x89eba0[_0x529c56(0x18a)]=(_0x7e0647,_0x335b6a=![])=>{const _0x4c6da4=_0x529c56,_0x1ea7b8={'fSNWb':_0x30c28f[_0x4c6da4(0x161)],'EjbhZ':_0x30c28f[_0x4c6da4(0x150)],'EEbwE':function(_0x553c0b){const _0x164e04=_0x4c6da4;return _0x30c28f[_0x164e04(0x176)](_0x553c0b);}};return new Promise(function(_0x5a46f6,_0xc7e9c6){const _0x150438=_0x4c6da4;_0x89eba0[_0x150438(0x197)](_0x7e0647,_0x335b6a)[_0x150438(0x1c3)](()=>{const _0x528629=_0x150438,_0x104767=CodeceptUtils[_0x528629(0x1a8)](_0x7e0647),_0xf819fb=fs['readFileSync'](_0x104767);process[_0x528629(0x158)](_0x528629(0x1ab)+process['pid'],{'timestamp':new Date()[_0x528629(0x185)](),'message':_0xf819fb[_0x528629(0x140)](_0x1ea7b8[_0x528629(0x135)]),'kind':_0x1ea7b8[_0x528629(0x1c0)]}),_0x1ea7b8[_0x528629(0x17b)](_0x5a46f6);})[_0x150438(0x127)](()=>null);});});},patchWebDriverBefore=_0x252209=>{const _0x44eb91=a1_0x268709,_0x5e4ee4={'VKPnN':function(_0x4bdf08){return _0x4bdf08();},'ujWZa':function(_0x2d0241,_0x1cf506){return _0x2d0241(_0x1cf506);},'gYDjD':function(_0x3f3245,_0x494171){return _0x3f3245===_0x494171;},'xXPgX':'Element'},_0x59ba70=async function(_0x173df5,_0x1a85fd){const _0x322a19=a1_0x3324;return _0x5e4ee4[_0x322a19(0x1b4)](isAccessibilityAutomationSession)&&!global[_0x322a19(0x17a)]&&global[_0x322a19(0x19d)]&&scripts[_0x322a19(0x1a4)](_0x173df5[_0x322a19(0x19a)])&&_0x5e4ee4[_0x322a19(0x131)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x322a19(0x17a)]=!![],logger[_0x322a19(0x14c)](_0x322a19(0x1ae)+_0x173df5[_0x322a19(0x16a)]+'\x20'+_0x173df5[_0x322a19(0x19a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x252209,scripts[_0x322a19(0x151)])),global[_0x322a19(0x17a)]=![],_0x1a85fd[_0x322a19(0x16d)](this,Array[_0x322a19(0x1b1)][_0x322a19(0x19b)][_0x322a19(0x1a6)](arguments,0x2));},_0x3d5848=CodeceptWebDriver[_0x44eb91(0x1b1)]['_before'];CodeceptWebDriver['prototype'][_0x44eb91(0x190)]=async function(){const _0x4ce1e1=_0x44eb91,_0x59f500={'pCNgZ':function(_0x2231cf,_0x382564){return _0x5e4ee4['gYDjD'](_0x2231cf,_0x382564);},'HhfMK':_0x5e4ee4[_0x4ce1e1(0x144)]};await _0x3d5848['apply'](this,arguments),scripts[_0x4ce1e1(0x152)][_0x4ce1e1(0x134)](_0x5abf32=>_0x5abf32[_0x4ce1e1(0x19a)]&&_0x5abf32[_0x4ce1e1(0x16a)])[_0x4ce1e1(0x159)](_0x2ad965=>{const _0x43785=_0x4ce1e1;this[_0x43785(0x13c)]['overwriteCommand'](_0x2ad965[_0x43785(0x19a)],_0x59ba70['bind'](this,_0x2ad965),_0x59f500[_0x43785(0x145)](_0x2ad965[_0x43785(0x16a)],_0x59f500[_0x43785(0x12e)]));}),_0x5e4ee4['ujWZa'](processWebDriverConfig,_0x252209);};},patchPlaywrightBefore=()=>{const _0x5093d2=a1_0x268709;PlaywrightSessionDetails[_0x5093d2(0x1b5)]();const _0x292250=CodeceptPlaywright['prototype'][_0x5093d2(0x190)];CodeceptPlaywright[_0x5093d2(0x1b1)][_0x5093d2(0x190)]=async function(){const _0x322dcb=_0x5093d2;this[_0x322dcb(0x1bb)]=await this['browser'][_0x322dcb(0x179)]()[0x0],await _0x292250['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x3aba4b=a1_0x268709,_0x2ceb82={};_0x2ceb82[_0x3aba4b(0x15d)]=_0x3aba4b(0x174),_0x2ceb82[_0x3aba4b(0x1a7)]=_0x3aba4b(0x17e),_0x2ceb82[_0x3aba4b(0x1bf)]='Puppeteer',_0x2ceb82[_0x3aba4b(0x156)]=_0x3aba4b(0x14f);const _0x53031e=_0x2ceb82,_0x3a8a8a=[_0x53031e[_0x3aba4b(0x15d)],_0x53031e['mydzL'],_0x53031e[_0x3aba4b(0x1bf)],_0x53031e[_0x3aba4b(0x156)]],_0xc571a4=_0x3a8a8a[_0x3aba4b(0x1af)](_0x2d0a68=>!!CodeceptJS['container'][_0x3aba4b(0x12b)](_0x2d0a68));if(!_0xc571a4)return null;return CodeceptJS[_0x3aba4b(0x148)]['helpers'](_0xc571a4);};module[a1_0x268709(0x17f)]=function(_0x13d5a2){const _0x2937a1=a1_0x268709,_0x9951be={'MbarH':_0x2937a1(0x1c4),'drTVS':_0x2937a1(0x1b8),'qYkEG':function(_0x1217c7){return _0x1217c7();},'fotOm':function(_0x105e78,_0x38c00e){return _0x105e78(_0x38c00e);},'jXqWu':function(_0x3bb780,_0x5db82f,_0x2ded14){return _0x3bb780(_0x5db82f,_0x2ded14);},'jtUkr':function(_0x206b94){return _0x206b94();},'hKCPz':function(_0x1a6785,_0x33a973,_0x310149,_0x20e705){return _0x1a6785(_0x33a973,_0x310149,_0x20e705);},'mgXKa':function(_0x279b2e,_0x45f0ac){return _0x279b2e===_0x45f0ac;},'iyUcj':_0x2937a1(0x18f),'ubFpe':function(_0x8c15ab){return _0x8c15ab();},'vfcgN':function(_0x5691db,_0x516c6a,_0x31b01d){return _0x5691db(_0x516c6a,_0x31b01d);},'btcdb':_0x2937a1(0x15e),'gvGTk':'INFO','CXxXN':_0x2937a1(0x14b),'PnuIV':function(_0x4c7e82){return _0x4c7e82();},'BpbHQ':'Playwright','pKkeH':function(_0x2c0710,_0x4cecc2){return _0x2c0710(_0x4cecc2);}};_0x13d5a2[_0x2937a1(0x139)]&&(global[_0x2937a1(0x166)]=_0x13d5a2[_0x2937a1(0x139)]);PerformanceTester[_0x2937a1(0x1a0)]();const _0x2fd52a=_0x9951be[_0x2937a1(0x13f)](getCodeceptDriver),_0xe0e34d=new O11yHelper(_0x2fd52a,_0x13d5a2),_0x54d911=!!CodeceptJS[_0x2937a1(0x148)][_0x2937a1(0x12b)](_0x9951be['BpbHQ']);global[_0x2937a1(0x12d)]=_0x2fd52a,_0x2fd52a&&(_0x54d911?_0x9951be[_0x2937a1(0x13f)](patchPlaywrightBefore):_0x9951be[_0x2937a1(0x137)](patchWebDriverBefore,_0x2fd52a),_0x2fd52a[_0x2937a1(0x19e)]=async()=>{const _0x11b322=_0x2937a1;if(global[_0x11b322(0x19d)])await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts[_0x11b322(0x151)]),await AccessibilityHelper[_0x11b322(0x1a9)](_0x2fd52a,scripts[_0x11b322(0x149)]);else return logger[_0x11b322(0x193)](_0x9951be[_0x11b322(0x16b)]),{};},_0x2fd52a[_0x2937a1(0x175)]=async()=>{const _0x349b70=_0x2937a1;if(global[_0x349b70(0x19d)])await AccessibilityHelper[_0x349b70(0x1a9)](_0x2fd52a,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts[_0x349b70(0x171)]);else return logger[_0x349b70(0x193)](_0x9951be['drTVS']),{};},_0x9951be[_0x2937a1(0x147)](patchSaveScreenshot,_0x2fd52a)),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x196)][_0x2937a1(0x15b)],()=>{const _0xf45c0b=_0x2937a1;try{_0xe0e34d[_0xf45c0b(0x16f)](),testOpsHelper[_0xf45c0b(0x172)]();}catch(_0x5e794d){PerformanceTester[_0xf45c0b(0x188)](_0x5e794d);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x196)]['after'],async()=>{const _0xf9ffaf=_0x2937a1;try{requestSpy[_0xf9ffaf(0x142)](),await _0xe0e34d[_0xf9ffaf(0x1b3)]();}catch(_0x302ee3){PerformanceTester[_0xf9ffaf(0x188)](_0x302ee3);}finally{PerformanceTester[_0xf9ffaf(0x13e)]();}}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x12a)],_0x675025=>{const _0x49a659=_0x2937a1;try{const _0x1c59d3=_0x675025[_0x49a659(0x17d)]['test'],_0xb96402=_0xe0e34d['captureEvent'](TEST_EVENTS[_0x49a659(0x1aa)],_0x1c59d3);CodeceptRecorder['add'](()=>_0xe0e34d[_0x49a659(0x173)](TEST_EVENTS[_0x49a659(0x1aa)],_0xb96402));}catch(_0x455742){PerformanceTester[_0x49a659(0x188)](_0x455742);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x138)],_0x4c35c7=>{const _0x341603=_0x2937a1;try{const _0x74d8c1=_0x4c35c7[_0x341603(0x17d)][_0x341603(0x1c5)],_0x5d23bc=_0xe0e34d['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x74d8c1);CodeceptRecorder[_0x341603(0x168)](()=>_0xe0e34d['fireEvent'](TEST_EVENTS[_0x341603(0x19c)],_0x5d23bc));}catch(_0x4db7a6){PerformanceTester[_0x341603(0x188)](_0x4db7a6);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x13a)],async(_0x5b47e2,_0x161237)=>{const _0x129885=_0x2937a1;try{const _0x5264bd=_0x5b47e2[_0x129885(0x17d)]['test'],_0x2800e6=_0xe0e34d['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5264bd,_0x161237);CodeceptRecorder['add'](()=>_0xe0e34d[_0x129885(0x173)](TEST_EVENTS[_0x129885(0x19c)],_0x2800e6));}catch(_0x35047d){PerformanceTester[_0x129885(0x188)](_0x35047d);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x15b)],_0x5a64b3=>{const _0x44901a=_0x2937a1;try{_0x9951be[_0x44901a(0x12c)](isBrowserstackInfra)&&(_0x54d911&&(global['__workerDetails']={'currentTest':{'name':_0x5a64b3['title'],'testInfo':{'titlePath':_0x5a64b3[_0x44901a(0x164)]()}}}));}catch(_0x1ee2cd){PerformanceTester[_0x44901a(0x188)](_0x1ee2cd);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x12a)],_0x33014a=>{const _0x356d09=_0x2937a1;try{const _0x4ca194=_0xe0e34d[_0x356d09(0x15a)](TEST_EVENTS[_0x356d09(0x18c)],_0x33014a);CodeceptRecorder[_0x356d09(0x168)](()=>_0xe0e34d[_0x356d09(0x173)](TEST_EVENTS[_0x356d09(0x18c)],_0x4ca194)),CodeceptRecorder['add'](async()=>{const _0x5bb125=_0x356d09;_0x9951be['qYkEG'](isBrowserstackInfra)&&(!_0x9951be[_0x5bb125(0x137)](isTrue,_0x13d5a2[_0x5bb125(0x165)])&&await _0x9951be[_0x5bb125(0x1b6)](markSessionName,_0x2fd52a,_0x33014a['title']),_0xe0e34d[_0x5bb125(0x1c2)]&&await _0x9951be[_0x5bb125(0x137)](o11ySync,_0x2fd52a));});}catch(_0x4bdcb9){PerformanceTester[_0x356d09(0x188)](_0x4bdcb9);}}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x138)],_0x5762d6=>{const _0x42833c=_0x2937a1;try{const _0x31ed82=_0xe0e34d[_0x42833c(0x15a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5762d6);CodeceptRecorder[_0x42833c(0x168)](()=>_0xe0e34d[_0x42833c(0x173)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x31ed82)),CodeceptRecorder[_0x42833c(0x168)](async()=>{const _0x308be8=_0x42833c;_0x9951be[_0x308be8(0x1a1)](isBrowserstackInfra)&&(_0x54d911?await _0x9951be['jXqWu'](playwrightMarkSessionStatus,_0x2fd52a,STATE_PASSED):await _0x9951be[_0x308be8(0x1b6)](markSessionStatus,_0x2fd52a,STATE_PASSED));});}catch(_0x290dcf){PerformanceTester[_0x42833c(0x188)](_0x290dcf);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x13a)],(_0x543a77,_0x47c726)=>{const _0x14368b=_0x2937a1,_0x15fb3c={'zhFlJ':function(_0x5b533d){const _0x23d800=a1_0x3324;return _0x9951be[_0x23d800(0x1a1)](_0x5b533d);},'MPIbG':function(_0x27e54a,_0x3c0a22,_0x5a9ad7,_0x305a37){const _0x1b3243=a1_0x3324;return _0x9951be[_0x1b3243(0x130)](_0x27e54a,_0x3c0a22,_0x5a9ad7,_0x305a37);},'MdpJr':function(_0x3ba051,_0x3bf7fd,_0x357c07,_0x57e9de){const _0x5954f0=a1_0x3324;return _0x9951be[_0x5954f0(0x130)](_0x3ba051,_0x3bf7fd,_0x357c07,_0x57e9de);}};try{if(_0x9951be[_0x14368b(0x1c1)](_0x543a77[_0x14368b(0x162)][_0x14368b(0x19a)],_0x9951be[_0x14368b(0x14a)])){const _0x175839=_0xe0e34d[_0x14368b(0x15a)](TEST_EVENTS[_0x14368b(0x1ba)],_0x543a77['ctx']['currentTest']);CodeceptRecorder[_0x14368b(0x168)](()=>_0xe0e34d['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x175839));}else{const _0x81e9df=_0xe0e34d['captureEvent'](TEST_EVENTS[_0x14368b(0x136)],_0x543a77,_0x47c726);CodeceptRecorder[_0x14368b(0x168)](()=>{const _0x3ba660=_0x14368b;try{_0xe0e34d[_0x3ba660(0x173)](TEST_EVENTS[_0x3ba660(0x136)],_0x81e9df);}catch(_0x4982dc){logger['debug'](_0x3ba660(0x153)+util[_0x3ba660(0x170)](_0x4982dc));}}),CodeceptRecorder['add'](async()=>{const _0x370ec0=_0x14368b;try{_0x15fb3c[_0x370ec0(0x1c6)](isBrowserstackInfra)&&(_0x54d911?await _0x15fb3c['MPIbG'](playwrightMarkSessionStatus,_0x2fd52a,STATE_FAILED,_0x47c726):await _0x15fb3c[_0x370ec0(0x1b7)](markSessionStatus,_0x2fd52a,STATE_FAILED,_0x47c726));}catch(_0x2e3c94){logger[_0x370ec0(0x14c)](_0x370ec0(0x169)+util[_0x370ec0(0x170)](_0x2e3c94));}});}}catch(_0x391087){PerformanceTester[_0x14368b(0x188)](_0x391087);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS['event'][_0x2937a1(0x1c5)]['skipped'],_0x29a698=>{const _0x3e71ec=_0x2937a1;try{const _0x264057=_0xe0e34d[_0x3e71ec(0x15a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x29a698);CodeceptRecorder['add'](()=>_0xe0e34d[_0x3e71ec(0x173)](TEST_EVENTS[_0x3e71ec(0x1ba)],_0x264057));}catch(_0x3e3cd0){PerformanceTester[_0x3e71ec(0x188)](_0x3e3cd0);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS['event'][_0x2937a1(0x1c5)][_0x2937a1(0x180)],async(_0x523774,_0x309985)=>{const _0x4e940e=_0x2937a1;try{if(_0x9951be[_0x4e940e(0x14d)](isBrowserstackInfra)){const _0x51cd7a=_0x9951be['vfcgN'](shouldScanTestForAccessibility,_0x523774[_0x4e940e(0x164)](),!![]);if(_0x9951be['jtUkr'](isAccessibilityAutomationSession)&&global[_0x4e940e(0x19d)]&&_0x51cd7a){const _0x391cec={};_0x391cec[_0x4e940e(0x181)]=_0x523774['testAnalyticsId'],_0x391cec['thBuildUuid']=process[_0x4e940e(0x155)][testHubConstants['ENV_VAR'][_0x4e940e(0x16e)]],_0x391cec['thJwtToken']=process['env'][testHubConstants[_0x4e940e(0x189)]['BROWSERSTACK_TESTHUB_JWT']];const _0x8d9b8=_0x391cec;logger[_0x4e940e(0x14c)](_0x4e940e(0x157)+JSON[_0x4e940e(0x13b)](_0x8d9b8)),CodeceptRecorder[_0x4e940e(0x168)](async()=>{const _0x391664=_0x4e940e;await AccessibilityHelper[_0x391664(0x1a9)](_0x2fd52a,scripts[_0x391664(0x151)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts['saveTestResults'],_0x8d9b8);}),logger[_0x4e940e(0x154)](_0x9951be['btcdb']);}}}catch(_0x22a9b2){PerformanceTester[_0x4e940e(0x188)](_0x22a9b2);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)]['step'][_0x2937a1(0x187)],_0x43812c=>{const _0x10eb6d=_0x2937a1;try{process['emit']('bs:addLog:'+process[_0x10eb6d(0x177)],{'timestamp':new Date()[_0x10eb6d(0x185)](),'level':_0x9951be[_0x10eb6d(0x16c)],'message':_0x43812c,'kind':_0x9951be[_0x10eb6d(0x126)],'http_response':{}});}catch(_0x11cfd7){PerformanceTester[_0x10eb6d(0x188)](_0x11cfd7);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)]['bddStep'][_0x2937a1(0x15b)],_0x5edc7a=>{_0xe0e34d['bddStepStart'](_0x5edc7a);}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS['event'][_0x2937a1(0x167)][_0x2937a1(0x180)],_0x363e0d=>{const _0x32564b=_0x2937a1;_0xe0e34d[_0x32564b(0x1ac)](_0x363e0d);});};function a1_0x3bc4(){const _0x5322d6=['test','zhFlJ','./o11yHelper','CXxXN','catch','184RBxuVq','codeceptjs/lib/recorder.js','started','helpers','qYkEG','__driver','HhfMK','../../helpers/accessibility-automation/scripts','hKCPz','ujWZa','arguments','islkH','filter','fSNWb','TEST_RUN_FINISHED','fotOm','passed','skipSessionStatus','failed','stringify','browser','patchSaveScreenshot','stopMonitoring','PnuIV','toString','QmZvT','restore','action','xXPgX','pCNgZ','8oXwBqK','pKkeH','container','getResultsSummary','iyUcj','TEST_LOG','debug','ubFpe','browserstack_executor:\x20','TestCafe','TgFUv','performScan','commandsToWrap','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','info','env','EdHdN','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','emit','forEach','captureEvent','before','../../helpers/accessibility-automation/helper','NKgQz','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','dispatcher','setSessionName','SjTmz','constructor','status','titlePath','skipSessionName','__skipSessionStatus','bddStep','add','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','class','MbarH','gvGTk','apply','BROWSERSTACK_TESTHUB_UUID','start','format','getResults','addRequestSpy','fireEvent','WebDriver','getAccessibilityResults','AQJmP','pid','event','contexts','bstackAllyScanning','EEbwE','285633VeSxIh','ctx','Playwright','exports','after','thTestRunUuid','codeceptjs/lib/helper/WebDriver.js','syYev','976530JNNCws','toISOString','308190oJTmTW','comment','captureError','ENV_VAR','saveScreenshot','codeceptjs/lib/utils.js','TEST_RUN_STARTED','213741PeHfLI','../../helpers/helper','Suite','_before','../../helpers/testhub/constants.js','2753382gnAhay','warn','getSyncScript','../../bin/playwright/sessionDetails','all','initSaveScreenshot','base64','33344GBJVZR','name','slice','HOOK_RUN_FINISHED','accessibilityPlatform','getAccessibilityResultsSummary','executeScript','startMonitoring','jtUkr','130tmQYAJ','../../helpers/logger','shouldWrapCommand','hook','call','mydzL','screenshotOutputFolder','browserStackExecuteDriver','HOOK_RUN_STARTED','bs:addLog:','bddStepFinish','CtYTI','Performing\x20scan\x20for\x20','find','37iDLFyQ','prototype','util','stop','VKPnN','patch','jXqWu','MdpJr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setSessionStatus','TEST_RUN_SKIPPED','browserContext','1055019BleeoD','WTpue','../../helpers/request-spy','WqiSE','EjbhZ','mgXKa','enabled','then','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.'];a1_0x3bc4=function(){return _0x5322d6;};return a1_0x3bc4();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x57e4ab=a2_0x5972;(function(_0x3a5e40,_0x8b1fe4){const _0x1eb6de=a2_0x5972,_0x5d2fa9=_0x3a5e40();while(!![]){try{const _0x54d04d=-parseInt(_0x1eb6de(0x16c))/0x1*(-parseInt(_0x1eb6de(0x15e))/0x2)+-parseInt(_0x1eb6de(0x139))/0x3*(-parseInt(_0x1eb6de(0x135))/0x4)+parseInt(_0x1eb6de(0x16f))/0x5*(parseInt(_0x1eb6de(0x14a))/0x6)+-parseInt(_0x1eb6de(0x187))/0x7+parseInt(_0x1eb6de(0x17b))/0x8+-parseInt(_0x1eb6de(0x19c))/0x9+-parseInt(_0x1eb6de(0x164))/0xa;if(_0x54d04d===_0x8b1fe4)break;else _0x5d2fa9['push'](_0x5d2fa9['shift']());}catch(_0xdb69b6){_0x5d2fa9['push'](_0x5d2fa9['shift']());}}}(a2_0x3ee2,0xd0b60));const fs=require('fs'),path=require(a2_0x57e4ab(0x19f)),util=require(a2_0x57e4ab(0x11f)),process=require(a2_0x57e4ab(0x191)),logger=require(a2_0x57e4ab(0x149))[a2_0x57e4ab(0x18d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x57e4ab(0x185)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x57e4ab(0x193)),CodeceptJS=requireModule(a2_0x57e4ab(0x162)),testOpsHelper=require(a2_0x57e4ab(0x142)),TestHubHandler=require(a2_0x57e4ab(0x19d)),constants=require(a2_0x57e4ab(0x180)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x347c4c,_0x36c3a1)=>{const _0x397485=a2_0x57e4ab,_0x3c5249={};_0x3c5249[_0x397485(0x1a0)]=function(_0x3156c2,_0x1e5752){return _0x3156c2===_0x1e5752;},_0x3c5249[_0x397485(0x15d)]=_0x397485(0x172),_0x3c5249[_0x397485(0x160)]=_0x397485(0x147);const _0xe6ccf4=_0x3c5249;let _0x44efca=null;const _0x75e563={};let _0x52fea1=_0x36c3a1[_0x397485(0x134)](_0x462aeb=>_0x462aeb==='--config');_0xe6ccf4[_0x397485(0x1a0)](_0x52fea1,-0x1)&&(_0x52fea1=_0x36c3a1[_0x397485(0x134)](_0x491879=>_0x491879==='-c'));if(!helper['isUndefined'](_0x347c4c[_0x397485(0x196)])&&fs[_0x397485(0x197)](path['join'](process[_0x397485(0x122)](),_0x347c4c['config'])))_0x44efca=path['join'](process['cwd'](),_0x347c4c['config']),_0x36c3a1[_0x397485(0x12a)](_0x52fea1,0x2);else{if(!helper[_0x397485(0x1a5)](_0x347c4c['c'])&&fs[_0x397485(0x197)](path[_0x397485(0x1a3)](process['cwd'](),_0x347c4c['c'])))_0x44efca=path[_0x397485(0x1a3)](process[_0x397485(0x122)](),_0x347c4c['c']),_0x36c3a1['slice'](_0x52fea1,0x2);else{if(fs[_0x397485(0x197)](path[_0x397485(0x1a3)](process['cwd'](),_0xe6ccf4['lAaXV'])))_0x44efca=path[_0x397485(0x1a3)](process[_0x397485(0x122)](),_0xe6ccf4[_0x397485(0x15d)]);else fs[_0x397485(0x197)](path['join'](process[_0x397485(0x122)](),_0xe6ccf4[_0x397485(0x160)]))&&(_0x44efca=path[_0x397485(0x1a3)](process['cwd'](),_0xe6ccf4[_0x397485(0x160)]));}}return _0x44efca;},getO11yRerunPattern=()=>{const _0x34ee5d=a2_0x57e4ab,_0x51b897={};_0x51b897[_0x34ee5d(0x158)]=function(_0x5d9dc7,_0x4c6a14){return _0x5d9dc7!==_0x4c6a14;},_0x51b897[_0x34ee5d(0x16b)]=_0x34ee5d(0x190);const _0x3815b7=_0x51b897,_0x4845ce=helper[_0x34ee5d(0x15f)](process[_0x34ee5d(0x159)]['BROWSERSTACK_RERUN']);if(_0x4845ce){const _0x180240=process[_0x34ee5d(0x159)][_0x34ee5d(0x169)],_0x1c0b8a=[];if(_0x3815b7[_0x34ee5d(0x158)](_0x180240,_0x3815b7['BciqW'])&&!helper[_0x34ee5d(0x1a5)](_0x180240)){_0x180240[_0x34ee5d(0x132)](',')['map'](_0x3306a8=>{const _0xac7fda=_0x34ee5d;_0x1c0b8a[_0xac7fda(0x13a)]('('+_0x3306a8[_0xac7fda(0x138)]()+')');});const _0x1bb402='^'+_0x1c0b8a[_0x34ee5d(0x1a3)]('|')+'$';return _0x1bb402;}}return null;},a2_0x3a3d1b={};a2_0x3a3d1b[a2_0x57e4ab(0x1a2)]='chromium',a2_0x3a3d1b[a2_0x57e4ab(0x19a)]=a2_0x57e4ab(0x148),a2_0x3a3d1b[a2_0x57e4ab(0x141)]='firefox',a2_0x3a3d1b[a2_0x57e4ab(0x192)]='webkit';const pwToCodeceptBrowser=a2_0x3a3d1b;function a2_0x3ee2(){const _0x4a16b3=['BciqW','1GGziub','Sogos','oTjZk','276910jeaKBs','MDUzv','run','codecept.conf.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','yaAAE','passed','eqwQG','browserName','BrowserStackPlugin','parallelsPerPlatform','all','307944fGysEV','Ejxeg','3|0|2|4|1','browserWSEndpoint','CODECEPT','../utils/constants','Started\x20:\x20','chdir','stringify','lnyTD','../../bin/playwright/accessibility-helper','addConfig','2376269GbLalf','WFeyD','validPlatformsPresent','browser','title','testObservability','winstonLogger','testContextOptions','NcpmA','null','process','playwright-webkit','../../helpers/helper','createGroupsOfSuites','Playwright','config','existsSync','stack','skipSessionStatus','playwright-chromium','VnUbs','12804417XKpSSb','../../helpers/testhub/testhubHandler','launchBuild','path','bjhPk','teardownAll','chrome','join','spawn','isUndefined','alZoi','getUserWorkerCount','Passed\x20:\x20','util','profile','WebDriver','cwd','length','plugins','format','XgwZU','BrowserStackPlugin.js','agQfe','isTestObservabilitySession','slice','result','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','prepareCapabilities','before','desiredCapabilities','codeceptjs','log','split','LKXCi','findIndex','4cDxQPo','getPlatformName','map','trim','4149993uVgGyX','push','enabled','false','event','finalExecution','browserStackCwd','FRAMEWORKS','playwright-firefox','../../helpers/test-observability/utils','igioH','test','info','addTests','codecept.json','chromium','../../helpers/logger','96AjmJzb','frameworkName','gherkin','fmyFB','toLowerCase','testConfig','printBuildLink','mergeDeep','helpers','SXacH','ncHjf','xiuQj','errorMessage','ZOOcd','HBjfN','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','skipSessionName','handleApp','lAaXV','3180102fODEsR','isTrue','PczFs','ZnncE','codeceptjs/lib/index.js','skZyF','12809270MuxvUz','Failed\x20:\x20','getPlaywrightUrl','root','ofNZc','BROWSERSTACK_RERUN_TESTS','-cucumber'];a2_0x3ee2=function(){return _0x4a16b3;};return a2_0x3ee2();}async function run(_0x54a28d,_0x1adc66){const _0xe04f29=a2_0x57e4ab,_0x134a74={'WFeyD':function(_0x3bd1b0,_0x598dce){return _0x3bd1b0+_0x598dce;},'ZbkhP':function(_0x87d3f0,_0x5e6090){return _0x87d3f0(_0x5e6090);},'lnyTD':function(_0x15645b,_0x21ab32,_0x11a56c){return _0x15645b(_0x21ab32,_0x11a56c);},'agQfe':'config','ZnncE':'helpers','alZoi':function(_0x5df3ff){return _0x5df3ff();},'oTjZk':_0xe04f29(0x165),'vmNrw':_0xe04f29(0x1a8),'Sogos':_0xe04f29(0x181),'ofNZc':_0xe04f29(0x17d),'MDUzv':_0xe04f29(0x130),'yaAAE':function(_0x5e76dd,_0x27b75f,_0x4774ed){return _0x5e76dd(_0x27b75f,_0x4774ed);},'NcpmA':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Ejxeg':_0xe04f29(0x195),'igioH':_0xe04f29(0x121),'ZOOcd':function(_0x4619fd,_0x4a3ab4){return _0x4619fd(_0x4a3ab4);},'xiuQj':function(_0x5a0c65,_0x2d932f){return _0x5a0c65!=_0x2d932f;},'SXacH':_0xe04f29(0x13c),'cNOJr':function(_0xff0730,_0x3f80f5){return _0xff0730+_0x3f80f5;},'eqwQG':_0xe04f29(0x14c),'LKXCi':_0xe04f29(0x16a),'FULUU':function(_0x42622a,_0x312e4b){return _0x42622a(_0x312e4b);},'vabje':function(_0x34cba0,_0x1008b3){return _0x34cba0*_0x1008b3;},'fmyFB':'browser','rmyrM':function(_0x1d5257,_0x4c0ada,_0x3ced6d){return _0x1d5257(_0x4c0ada,_0x3ced6d);},'XgwZU':_0xe04f29(0x12f),'skZyF':function(_0x354787,_0x4d4d94,_0x41ba9f){return _0x354787(_0x4d4d94,_0x41ba9f);},'ncHjf':_0xe04f29(0x167),'DezMv':_0xe04f29(0x127),'oEnYR':_0xe04f29(0x13f),'VnUbs':function(_0x4ed129){return _0x4ed129();}},_0x44bda5=new BrowserStackSetup(_0x54a28d,_0x134a74['MDUzv']);await _0x44bda5['initialize'](),await helper[_0xe04f29(0x15c)](_0x44bda5[_0xe04f29(0x196)]);if(!_0x44bda5[_0xe04f29(0x196)])return;process[_0xe04f29(0x120)]=_0x54a28d['profile'];_0x54a28d[_0xe04f29(0x120)]&&(process[_0xe04f29(0x159)][_0xe04f29(0x120)]=_0x54a28d[_0xe04f29(0x120)]);const _0x10f7f5=_0x134a74[_0xe04f29(0x174)](getUserCodeceptJSConfigs,_0x54a28d,_0x1adc66);let _0x4dd7d7={};_0x10f7f5?(logger[_0xe04f29(0x145)](_0xe04f29(0x12c)+_0x10f7f5),_0x4dd7d7=_0x134a74['ZbkhP'](require,_0x10f7f5)):logger[_0xe04f29(0x145)](_0x134a74[_0xe04f29(0x18f)]);let _0x2f8e40=![];_0x134a74[_0xe04f29(0x174)](nestedKeyValue,_0x4dd7d7,[_0x134a74[_0xe04f29(0x128)],_0x134a74[_0xe04f29(0x161)],_0x134a74[_0xe04f29(0x17c)]])&&(_0x2f8e40=!![]);const _0x8f4d12=_0x2f8e40?_0x134a74['Ejxeg']:_0x134a74[_0xe04f29(0x143)];let _0x478f5f=!_0x2f8e40?helper['useW3C'](_0x44bda5[_0xe04f29(0x196)]):![];!helper[_0xe04f29(0x1a5)](_0x44bda5['config']['accessibilityOptions'])&&(process[_0xe04f29(0x159)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xe04f29(0x183)](_0x44bda5[_0xe04f29(0x196)]['accessibilityOptions']));let _0x362d4c=_0x44bda5[_0xe04f29(0x196)]['accessibility'];_0x362d4c=_0x362d4c||_0x134a74[_0xe04f29(0x157)](checkAccessibilityPlatformConfig,_0x44bda5[_0xe04f29(0x196)]),process[_0xe04f29(0x159)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x362d4c;_0x362d4c&&(_0x478f5f=!_0x362d4c);_0x134a74[_0xe04f29(0x155)](_0x44bda5[_0xe04f29(0x196)]['testObservability'],null)?process[_0xe04f29(0x159)][_0xe04f29(0x15a)]=_0x44bda5[_0xe04f29(0x196)][_0xe04f29(0x18c)]:process[_0xe04f29(0x159)][_0xe04f29(0x15a)]=_0x134a74[_0xe04f29(0x153)];const _0x2ad399=_0x134a74['cNOJr'](_0x134a74[_0xe04f29(0x170)],_0x134a74[_0xe04f29(0x174)](nestedKeyValue,_0x4dd7d7,[_0x134a74[_0xe04f29(0x128)],_0x134a74[_0xe04f29(0x176)]])?_0x134a74[_0xe04f29(0x133)]:''),_0x13fe85=await TestHubHandler[_0xe04f29(0x19e)](_0x2ad399,_0x44bda5);_0x362d4c&&_0x134a74['FULUU'](setAccessibilityCapabilities,_0x44bda5['config']);const _0x57ec6d={},_0x2a8a2a=[],_0x13186b=_0x44bda5[_0xe04f29(0x196)][_0xe04f29(0x179)]||helper[_0xe04f29(0x1a7)](_0x54a28d,_0x1adc66,_0x44bda5['config'],constants[_0xe04f29(0x140)][_0xe04f29(0x17f)])||0x1;let _0x5ef53f=0x1;if(_0x134a74[_0xe04f29(0x1a6)](isBrowserstackInfra)){const _0x37b262=helper[_0xe04f29(0x12d)](_0x44bda5['config'],_0x478f5f,constants[_0xe04f29(0x140)]['CODECEPT']);helper[_0xe04f29(0x189)](_0x44bda5[_0xe04f29(0x196)])?_0x5ef53f=_0x134a74['vabje'](_0x13186b,_0x44bda5[_0xe04f29(0x196)]['platforms'][_0xe04f29(0x123)]):_0x5ef53f=_0x13186b,_0x37b262['forEach'](_0x428f84=>{const _0x584922=_0xe04f29,_0x29419c=_0x134a74[_0x584922(0x188)](helper[_0x584922(0x136)](_0x428f84,'_'),'_'+Date['now']()),_0x2eed29=((()=>{const _0x1104a1=_0x584922;if(_0x2f8e40){const _0x4a368a=pwToCodeceptBrowser[_0x428f84[_0x1104a1(0x177)]]||_0x428f84['browserName'];return{'browser':_0x4a368a,[_0x4a368a]:{'browserWSEndpoint':_0x134a74['WFeyD'](helper[_0x1104a1(0x166)](_0x44bda5[_0x1104a1(0x196)]),_0x134a74['ZbkhP'](encodeURIComponent,JSON[_0x1104a1(0x183)](_0x428f84)))}};}const _0x6ce1c3={};return _0x6ce1c3[_0x1104a1(0x12f)]=_0x428f84,_0x6ce1c3;})()),_0x159425=_0x134a74[_0x584922(0x184)](nestedKeyValue,_0x4dd7d7,[_0x134a74[_0x584922(0x128)],_0x134a74['ZnncE'],_0x8f4d12]);_0x57ec6d[_0x29419c]=_0x159425?helper[_0x584922(0x151)](_0x2eed29,_0x159425):_0x2eed29,!_0x2f8e40&&(_0x57ec6d[_0x29419c][_0x584922(0x18a)]=_0x428f84[_0x584922(0x177)]||_0x2eed29[_0x584922(0x18a)]),_0x2a8a2a['push'](_0x29419c);});}else{_0x5ef53f=0x1;if(_0x2f8e40){const _0x1a4f55=_0x134a74[_0xe04f29(0x174)](nestedKeyValue,_0x4dd7d7,[_0x134a74[_0xe04f29(0x128)],_0x134a74[_0xe04f29(0x161)],_0x8f4d12,_0x134a74[_0xe04f29(0x14d)]]),_0xff521a=_0x134a74['rmyrM'](nestedKeyValue,_0x4dd7d7,[_0x134a74[_0xe04f29(0x128)],_0x134a74[_0xe04f29(0x161)],_0x8f4d12,_0x1a4f55]);_0xff521a&&_0xff521a[_0xe04f29(0x17e)]&&(_0xff521a[_0xe04f29(0x17e)]=helper[_0xe04f29(0x12d)](null,null,_0x2ad399[_0xe04f29(0x14e)](),null,null,_0xff521a['browserWSEndpoint']));}else _0x4dd7d7[_0xe04f29(0x196)][_0x134a74[_0xe04f29(0x161)]][_0x8f4d12][_0x134a74[_0xe04f29(0x126)]]=helper[_0xe04f29(0x12d)](null,null,_0x2ad399[_0xe04f29(0x14e)](),_0x134a74[_0xe04f29(0x163)](nestedKeyValue,_0x4dd7d7,[_0x134a74[_0xe04f29(0x128)],_0x134a74[_0xe04f29(0x161)],_0x8f4d12,_0x134a74['XgwZU']]),null,null);_0x57ec6d[_0x134a74[_0xe04f29(0x154)]]=_0x4dd7d7[_0xe04f29(0x196)],_0x2a8a2a[_0xe04f29(0x13a)](_0x134a74[_0xe04f29(0x154)]);}const _0x5237c3={};_0x5237c3[_0xe04f29(0x14f)]=_0x10f7f5;const _0x4c0bfc=_0x5237c3,_0x4d0a09=path[_0xe04f29(0x1a3)](__dirname,_0x134a74['DezMv']),_0x45c51b=process[_0xe04f29(0x122)]();process[_0xe04f29(0x159)][_0x134a74['oEnYR']]=_0x45c51b,process['chdir'](path['dirname'](_0x10f7f5));const _0x5d763c=new CodeceptJS['Workers'](null,_0x4c0bfc),_0x5d8e24=_0x5d763c[_0xe04f29(0x194)](_0x5ef53f),_0x7df8ca=testOpsHelper[_0xe04f29(0x129)](),_0x44f14f=_0x2a8a2a[_0xe04f29(0x137)](_0x23d47f=>{const _0x4fbefc=_0xe04f29,_0x4ec55a={};_0x4ec55a[_0x4fbefc(0x195)]=_0x57ec6d[_0x23d47f];const _0x5c9954={};_0x5c9954[_0x4fbefc(0x121)]=_0x57ec6d[_0x23d47f];const _0xb6a2a6=_0x2f8e40?_0x4ec55a:_0x5c9954,_0x560f4f=_0x134a74[_0x4fbefc(0x1a6)](getO11yRerunPattern),_0x4c8d77={};_0x4c8d77[_0x4fbefc(0x152)]=_0xb6a2a6;const _0x3b4698={};_0x3b4698['require']=_0x4d0a09,_0x3b4698[_0x4fbefc(0x13b)]=!![],_0x3b4698['skipSessionName']=_0x44bda5[_0x4fbefc(0x196)][_0x4fbefc(0x18e)][_0x4fbefc(0x15b)],_0x3b4698[_0x4fbefc(0x199)]=_0x44bda5['config'][_0x4fbefc(0x18e)][_0x4fbefc(0x199)],_0x3b4698[_0x4fbefc(0x18c)]=_0x7df8ca,_0x3b4698[_0x4fbefc(0x14b)]=_0x2ad399;const _0x54e470={};_0x54e470[_0x4fbefc(0x178)]=_0x3b4698;const _0x3aba8c={};return _0x3aba8c[_0x4fbefc(0x124)]=_0x54e470,helper[_0x4fbefc(0x151)]({},_0x4dd7d7[_0x4fbefc(0x196)],_0x134a74['alZoi'](isBrowserstackInfra)?_0x4c8d77:{},_0x560f4f?{'grep':_0x560f4f}:{},_0x3aba8c);});for(const _0x19d8d4 of _0x44f14f){for(const _0x22ba6d of _0x5d8e24){const _0x33e73c=_0x5d763c[_0xe04f29(0x1a4)]();_0x33e73c[_0xe04f29(0x146)](_0x22ba6d),_0x33e73c[_0xe04f29(0x186)](_0x19d8d4);}}_0x5d763c['on'](CodeceptJS['event'][_0xe04f29(0x144)]['failed'],(_0x166c09,_0x360bbc)=>{const _0x1ae1f6=_0xe04f29;console[_0x1ae1f6(0x131)](_0x134a74[_0x1ae1f6(0x16e)],_0x166c09['title']);const _0x930c96={[_0x166c09[_0x1ae1f6(0x18b)]]:_0x166c09['err'][_0x1ae1f6(0x198)]};_testErrorData[_0x1ae1f6(0x13a)](_0x930c96);}),_0x5d763c['on'](CodeceptJS['event'][_0xe04f29(0x144)][_0xe04f29(0x175)],async _0x18eb18=>{const _0x826d4d=_0xe04f29;console['log'](_0x134a74['vmNrw'],_0x18eb18[_0x826d4d(0x18b)]);}),_0x5d763c['on'](CodeceptJS[_0xe04f29(0x13d)][_0xe04f29(0x144)][_0xe04f29(0x12e)],async _0x518cd2=>{const _0x560109=_0xe04f29;console[_0x560109(0x131)](_0x134a74[_0x560109(0x16d)],_0x518cd2['title']);}),_0x5d763c['on'](CodeceptJS['event'][_0xe04f29(0x17a)][_0xe04f29(0x12b)],async()=>{const _0x4494a6=_0xe04f29,_0x5cdf68=_0x134a74[_0x4494a6(0x168)][_0x4494a6(0x132)]('|');let _0x2f1880=0x0;while(!![]){switch(_0x5cdf68[_0x2f1880++]){case'0':testOpsHelper[_0x4494a6(0x150)]();continue;case'1':_0x5d763c['printResults']();continue;case'2':utilities[_0x4494a6(0x13e)](_0x44bda5);continue;case'3':_0x44bda5[_0x4494a6(0x156)]=_testErrorData;continue;case'4':try{await TestHubHandler['stop']();}catch(_0x27f14a){logger['debug'](_0x4494a6(0x173)+util[_0x4494a6(0x125)](_0x27f14a));}continue;}break;}});async function _0x8f84a6(){const _0x185bce=_0xe04f29;try{await _0x5d763c['bootstrapAll'](),await _0x5d763c[_0x185bce(0x171)]();}finally{process[_0x185bce(0x182)](_0x45c51b),await _0x5d763c[_0x185bce(0x1a1)]();}}_0x134a74[_0xe04f29(0x19b)](_0x8f84a6);}function a2_0x5972(_0x2aeabb,_0x30feda){const _0x3ee28d=a2_0x3ee2();return a2_0x5972=function(_0x5972c7,_0x2a0622){_0x5972c7=_0x5972c7-0x11f;let _0x502b52=_0x3ee28d[_0x5972c7];return _0x502b52;},a2_0x5972(_0x2aeabb,_0x30feda);}module['exports']=run;
2
+ 'use strict';function a2_0x2614(){const _0x1c01c2=['split','createGroupsOfSuites','952268PCaThn','result','codeceptjs','../utils/constants','mdEGu','1823124tQFGEX','skipSessionStatus','useW3C','cwd','firefox','skipSessionName','189576QBeJIe','event','cbcYI','run','../../helpers/logger','ZPiWR','validPlatformsPresent','dirname','length','MUbav','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','indKV','accessibilityOptions','require','addConfig','launchBuild','Workers','--config','rXBjZ','GHdtw','ASyJz','TFXsm','debug','config','1638150MRfGsi','VZgCF','browserStackCwd','uhFqy','before','util','join','getUserWorkerCount','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CZepk','chromium','getPlatformName','CODECEPT','bootstrapAll','all','path','printResults','Started\x20:\x20','stack','playwright-chromium','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KaYSR','mHOnJ','initialize','root','log','now','map','info','isTestObservabilitySession','yjMvk','Failed\x20:\x20','playwright-firefox','KFCJr','existsSync','97256avmQVA','addTests','exports','isTrue','BROWSERSTACK_RERUN_TESTS','err','desiredCapabilities','10iKsrBP','mALDG','../../helpers/BrowserStackSetup','frameworkName','push','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bIDrs','BrowserStackPlugin.js','webkit','RSrYn','BROWSERSTACK_RERUN','platforms','293251QlqiAc','mBcRm','null','isUndefined','RvwJV','Playwright','trim','WlYvc','prepareCapabilities','helpers','../../helpers/testhub/testhubHandler','accessibility','Passed\x20:\x20','env','vZpFB','browser','JbiQJ','../../helpers/test-observability/utils','Rdsnp','344fSjVUe','parallelsPerPlatform','profile','printBuildLink','BROWSERSTACK_TEST_OBSERVABILITY_YML','Gjdcx','passed','getPlaywrightUrl','mergeDeep','title','testContextOptions','BrowserStackPlugin','errorMessage','format','test','toLowerCase','16tOrXHe','stop','plugins','../../helpers/utilities','1968942SJiYjZ','testObservability','JuEgq','zcowR','enabled','WebDriver','../../helpers/accessibility-automation/helper','finalExecution','findIndex','browserWSEndpoint','-cucumber','playwright-webkit','browserName','gherkin','stringify','ZSwCO','winstonLogger','chrome','przcK','dhDXr','failed','YSzOb','../../helpers/helper'];a2_0x2614=function(){return _0x1c01c2;};return a2_0x2614();}const a2_0x57a7f6=a2_0x2a34;function a2_0x2a34(_0x3d48cb,_0x5632c7){const _0x2614ce=a2_0x2614();return a2_0x2a34=function(_0x2a3498,_0x4fb97f){_0x2a3498=_0x2a3498-0x1de;let _0x84813a=_0x2614ce[_0x2a3498];return _0x84813a;},a2_0x2a34(_0x3d48cb,_0x5632c7);}(function(_0x4fc32c,_0x248bd7){const _0x4051f6=a2_0x2a34,_0x70b91a=_0x4fc32c();while(!![]){try{const _0x2e2fbc=-parseInt(_0x4051f6(0x218))/0x1*(parseInt(_0x4051f6(0x1e2))/0x2)+parseInt(_0x4051f6(0x23a))/0x3+parseInt(_0x4051f6(0x235))/0x4*(parseInt(_0x4051f6(0x1e9))/0x5)+-parseInt(_0x4051f6(0x21c))/0x6+parseInt(_0x4051f6(0x1f5))/0x7+-parseInt(_0x4051f6(0x208))/0x8*(-parseInt(_0x4051f6(0x240))/0x9)+-parseInt(_0x4051f6(0x258))/0xa;if(_0x2e2fbc===_0x248bd7)break;else _0x70b91a['push'](_0x70b91a['shift']());}catch(_0x5e2057){_0x70b91a['push'](_0x70b91a['shift']());}}}(a2_0x2614,0xb9e7b));const fs=require('fs'),path=require(a2_0x57a7f6(0x267)),util=require(a2_0x57a7f6(0x25d)),process=require('process'),logger=require(a2_0x57a7f6(0x244))[a2_0x57a7f6(0x22c)],{default:BrowserStackSetup}=require(a2_0x57a7f6(0x1eb)),helper=require(a2_0x57a7f6(0x232)),utilities=require(a2_0x57a7f6(0x21b)),{checkAccessibilityPlatformConfig}=require(a2_0x57a7f6(0x222)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x57a7f6(0x206)),TestHubHandler=require(a2_0x57a7f6(0x1ff)),constants=require(a2_0x57a7f6(0x238)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x39ef4e,_0x4058fd)=>{const _0xac8f52=a2_0x57a7f6,_0x16a749={};_0x16a749[_0xac8f52(0x254)]=function(_0x63902f,_0x22eed8){return _0x63902f===_0x22eed8;},_0x16a749['JbiQJ']='codecept.conf.js',_0x16a749[_0xac8f52(0x1ef)]='codecept.json';const _0x2f883e=_0x16a749;let _0x46ca0a=null;const _0x56801a={};let _0x3b69c4=_0x4058fd[_0xac8f52(0x224)](_0x3b3447=>_0x3b3447===_0xac8f52(0x251));_0x2f883e[_0xac8f52(0x254)](_0x3b69c4,-0x1)&&(_0x3b69c4=_0x4058fd[_0xac8f52(0x224)](_0x440367=>_0x440367==='-c'));if(!helper[_0xac8f52(0x1f8)](_0x39ef4e[_0xac8f52(0x257)])&&fs['existsSync'](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e[_0xac8f52(0x257)])))_0x46ca0a=path[_0xac8f52(0x25e)](process['cwd'](),_0x39ef4e[_0xac8f52(0x257)]),_0x4058fd['slice'](_0x3b69c4,0x2);else{if(!helper[_0xac8f52(0x1f8)](_0x39ef4e['c'])&&fs[_0xac8f52(0x1e1)](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e['c'])))_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e['c']),_0x4058fd['slice'](_0x3b69c4,0x2);else{if(fs[_0xac8f52(0x1e1)](path[_0xac8f52(0x25e)](process['cwd'](),_0x2f883e[_0xac8f52(0x205)])))_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e[_0xac8f52(0x205)]);else fs['existsSync'](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e['bIDrs']))&&(_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e[_0xac8f52(0x1ef)]));}}return _0x46ca0a;},getO11yRerunPattern=()=>{const _0x5705d4=a2_0x57a7f6,_0x45a424={};_0x45a424['TFXsm']=function(_0x38a25e,_0x296d3c){return _0x38a25e!==_0x296d3c;},_0x45a424[_0x5705d4(0x239)]=_0x5705d4(0x1f7);const _0x1c05d7=_0x45a424,_0x59860f=helper[_0x5705d4(0x1e5)](process['env'][_0x5705d4(0x1f3)]);if(_0x59860f){const _0x425b33=process[_0x5705d4(0x202)][_0x5705d4(0x1e6)],_0x403b1e=[];if(_0x1c05d7[_0x5705d4(0x255)](_0x425b33,_0x1c05d7[_0x5705d4(0x239)])&&!helper[_0x5705d4(0x1f8)](_0x425b33)){_0x425b33[_0x5705d4(0x233)](',')[_0x5705d4(0x273)](_0x185c46=>{const _0x345b1b=_0x5705d4;_0x403b1e[_0x345b1b(0x1ed)]('('+_0x185c46[_0x345b1b(0x1fb)]()+')');});const _0x319eae='^'+_0x403b1e['join']('|')+'$';return _0x319eae;}}return null;},a2_0x33a6da={};a2_0x33a6da[a2_0x57a7f6(0x22d)]=a2_0x57a7f6(0x262),a2_0x33a6da[a2_0x57a7f6(0x26b)]=a2_0x57a7f6(0x262),a2_0x33a6da[a2_0x57a7f6(0x1df)]=a2_0x57a7f6(0x23e),a2_0x33a6da[a2_0x57a7f6(0x227)]=a2_0x57a7f6(0x1f1);const pwToCodeceptBrowser=a2_0x33a6da;async function run(_0x4af880,_0x39ce53){const _0x39c71d=a2_0x57a7f6,_0x36cccc={'WlYvc':function(_0x214302,_0x58fae1){return _0x214302+_0x58fae1;},'ZPiWR':function(_0x15c437,_0x18aac9){return _0x15c437(_0x18aac9);},'ZSwCO':function(_0x37df01,_0xe92bea,_0x20851a){return _0x37df01(_0xe92bea,_0x20851a);},'Rdsnp':'config','KaYSR':_0x39c71d(0x1fe),'YSzOb':function(_0x32b8c2){return _0x32b8c2();},'yjMvk':function(_0x11d3b1){return _0x11d3b1();},'GHdtw':_0x39c71d(0x1de),'Gjdcx':_0x39c71d(0x201),'cbcYI':_0x39c71d(0x269),'MUbav':'4|0|3|1|2','CZepk':_0x39c71d(0x237),'uhFqy':_0x39c71d(0x26c),'zcowR':function(_0x2db820,_0x3b26cb,_0x50fb10){return _0x2db820(_0x3b26cb,_0x50fb10);},'przcK':_0x39c71d(0x1fa),'mBcRm':_0x39c71d(0x221),'mALDG':function(_0x2949c0,_0xedfb63){return _0x2949c0!=_0xedfb63;},'LcmTU':'false','RvwJV':function(_0x3b4ab2,_0x48c40e){return _0x3b4ab2+_0x48c40e;},'wOrDR':_0x39c71d(0x229),'vZpFB':_0x39c71d(0x226),'RSrYn':function(_0x2808f7,_0x17aaaa){return _0x2808f7*_0x17aaaa;},'indKV':function(_0x323916,_0x72c4d2,_0x208ebc){return _0x323916(_0x72c4d2,_0x208ebc);},'mHOnJ':_0x39c71d(0x204),'dhDXr':'desiredCapabilities','KFCJr':function(_0x334007,_0x1ea824,_0x3a6d64){return _0x334007(_0x1ea824,_0x3a6d64);},'VZgCF':_0x39c71d(0x270),'MtNzf':_0x39c71d(0x1f0),'rXBjZ':_0x39c71d(0x25a),'JuEgq':function(_0x581b49){return _0x581b49();}},_0x9dbaa3=new BrowserStackSetup(_0x4af880,_0x36cccc[_0x39c71d(0x261)]);await _0x9dbaa3[_0x39c71d(0x26f)](),await helper['handleApp'](_0x9dbaa3[_0x39c71d(0x257)]);if(!_0x9dbaa3['config'])return;process[_0x39c71d(0x20a)]=_0x4af880['profile'];_0x4af880[_0x39c71d(0x20a)]&&(process[_0x39c71d(0x202)]['profile']=_0x4af880['profile']);const _0x370bef=_0x36cccc[_0x39c71d(0x22b)](getUserCodeceptJSConfigs,_0x4af880,_0x39ce53);let _0x1af668={};_0x370bef?(logger['info'](_0x39c71d(0x260)+_0x370bef),_0x1af668=_0x36cccc['ZPiWR'](require,_0x370bef)):logger[_0x39c71d(0x274)](_0x36cccc[_0x39c71d(0x25b)]);let _0x180949=![];_0x36cccc[_0x39c71d(0x21f)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc['KaYSR'],_0x36cccc[_0x39c71d(0x22e)]])&&(_0x180949=!![]);const _0x56ca31=_0x180949?_0x36cccc[_0x39c71d(0x22e)]:_0x36cccc[_0x39c71d(0x1f6)];let _0x180221=!_0x180949?helper[_0x39c71d(0x23c)](_0x9dbaa3[_0x39c71d(0x257)]):![];!helper['isUndefined'](_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x24c)])&&(process['env'][_0x39c71d(0x1ee)]=JSON[_0x39c71d(0x22a)](_0x9dbaa3['config']['accessibilityOptions']));let _0x50ca78=_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x200)];_0x50ca78=_0x50ca78||_0x36cccc[_0x39c71d(0x245)](checkAccessibilityPlatformConfig,_0x9dbaa3['config']),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x50ca78;_0x50ca78&&(_0x180221=!_0x50ca78);_0x36cccc[_0x39c71d(0x1ea)](_0x9dbaa3[_0x39c71d(0x257)]['testObservability'],null)?process[_0x39c71d(0x202)][_0x39c71d(0x20c)]=_0x9dbaa3['config'][_0x39c71d(0x21d)]:process[_0x39c71d(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x36cccc['LcmTU'];const _0x359318=_0x36cccc[_0x39c71d(0x1f9)](_0x36cccc[_0x39c71d(0x261)],_0x36cccc[_0x39c71d(0x22b)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x39c71d(0x207)],_0x36cccc['wOrDR']])?_0x36cccc[_0x39c71d(0x203)]:''),_0x399dc4=await TestHubHandler[_0x39c71d(0x24f)](_0x359318,_0x9dbaa3);_0x50ca78&&_0x36cccc[_0x39c71d(0x245)](setAccessibilityCapabilities,_0x9dbaa3[_0x39c71d(0x257)]);const _0x5138a2={},_0x1044d1=[],_0x34355a=_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x209)]||helper[_0x39c71d(0x25f)](_0x4af880,_0x39ce53,_0x9dbaa3[_0x39c71d(0x257)],constants['FRAMEWORKS'][_0x39c71d(0x264)])||0x1;let _0x5be7f6=0x1;if(_0x36cccc[_0x39c71d(0x231)](isBrowserstackInfra)){const _0x520403=helper[_0x39c71d(0x1fd)](_0x9dbaa3[_0x39c71d(0x257)],_0x180221,constants['FRAMEWORKS'][_0x39c71d(0x264)]);helper[_0x39c71d(0x246)](_0x9dbaa3[_0x39c71d(0x257)])?_0x5be7f6=_0x36cccc[_0x39c71d(0x1f2)](_0x34355a,_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x1f4)][_0x39c71d(0x248)]):_0x5be7f6=_0x34355a,_0x520403['forEach'](_0x5e7e0a=>{const _0x4bd248=_0x39c71d,_0x57f4ef={'WFLgc':function(_0x2d3161,_0x3f2f33){const _0xcf51cf=a2_0x2a34;return _0x36cccc[_0xcf51cf(0x1fc)](_0x2d3161,_0x3f2f33);},'OGBlr':function(_0x1c8d38,_0x245a3c){const _0x3ea956=a2_0x2a34;return _0x36cccc[_0x3ea956(0x245)](_0x1c8d38,_0x245a3c);}},_0x38c5ab=_0x36cccc[_0x4bd248(0x1fc)](helper[_0x4bd248(0x263)](_0x5e7e0a,'_'),'_'+Date[_0x4bd248(0x272)]()),_0xf4821f=((()=>{const _0x4b4aa3=_0x4bd248;if(_0x180949){const _0x130a4c=pwToCodeceptBrowser[_0x5e7e0a[_0x4b4aa3(0x228)]]||_0x5e7e0a[_0x4b4aa3(0x228)];return{'browser':_0x130a4c,[_0x130a4c]:{'browserWSEndpoint':_0x57f4ef['WFLgc'](helper[_0x4b4aa3(0x20f)](_0x9dbaa3[_0x4b4aa3(0x257)]),_0x57f4ef['OGBlr'](encodeURIComponent,JSON[_0x4b4aa3(0x22a)](_0x5e7e0a)))}};}const _0x564a07={};return _0x564a07[_0x4b4aa3(0x1e8)]=_0x5e7e0a,_0x564a07;})()),_0x357e23=_0x36cccc[_0x4bd248(0x22b)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x4bd248(0x207)],_0x36cccc[_0x4bd248(0x26d)],_0x56ca31]);_0x5138a2[_0x38c5ab]=_0x357e23?helper['mergeDeep'](_0xf4821f,_0x357e23):_0xf4821f,!_0x180949&&(_0x5138a2[_0x38c5ab][_0x4bd248(0x204)]=_0x5e7e0a['browserName']||_0xf4821f[_0x4bd248(0x204)]),_0x1044d1[_0x4bd248(0x1ed)](_0x38c5ab);});}else{_0x5be7f6=0x1;if(_0x180949){const _0x45f86a=_0x36cccc[_0x39c71d(0x24b)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc[_0x39c71d(0x26d)],_0x56ca31,_0x36cccc[_0x39c71d(0x26e)]]),_0x4b36cb=_0x36cccc[_0x39c71d(0x21f)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc[_0x39c71d(0x26d)],_0x56ca31,_0x45f86a]);_0x4b36cb&&_0x4b36cb[_0x39c71d(0x225)]&&(_0x4b36cb[_0x39c71d(0x225)]=helper['prepareCapabilities'](null,null,_0x359318['toLowerCase'](),null,null,_0x4b36cb[_0x39c71d(0x225)]));}else _0x1af668['config'][_0x36cccc[_0x39c71d(0x26d)]][_0x56ca31][_0x36cccc['dhDXr']]=helper['prepareCapabilities'](null,null,_0x359318[_0x39c71d(0x217)](),_0x36cccc[_0x39c71d(0x1e0)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x39c71d(0x207)],_0x36cccc['KaYSR'],_0x56ca31,_0x36cccc[_0x39c71d(0x22f)]]),null,null);_0x5138a2[_0x36cccc[_0x39c71d(0x259)]]=_0x1af668[_0x39c71d(0x257)],_0x1044d1[_0x39c71d(0x1ed)](_0x36cccc['VZgCF']);}const _0x346243={};_0x346243['testConfig']=_0x370bef;const _0x517afd=_0x346243,_0x185656=path['join'](__dirname,_0x36cccc['MtNzf']),_0x1d0c9d=process[_0x39c71d(0x23d)]();process[_0x39c71d(0x202)][_0x36cccc[_0x39c71d(0x252)]]=_0x1d0c9d,process['chdir'](path[_0x39c71d(0x247)](_0x370bef));const _0x4ca2f3=new CodeceptJS[(_0x39c71d(0x250))](null,_0x517afd),_0x5ab995=_0x4ca2f3[_0x39c71d(0x234)](_0x5be7f6),_0x3ba027=testOpsHelper[_0x39c71d(0x275)](),_0x350924=_0x1044d1['map'](_0xd64b0a=>{const _0x17500b=_0x39c71d,_0x56a55a={};_0x56a55a['Playwright']=_0x5138a2[_0xd64b0a];const _0x13f6da={};_0x13f6da[_0x17500b(0x221)]=_0x5138a2[_0xd64b0a];const _0x22c9f4=_0x180949?_0x56a55a:_0x13f6da,_0x4d9a6a=_0x36cccc[_0x17500b(0x231)](getO11yRerunPattern),_0x4171be={};_0x4171be[_0x17500b(0x1fe)]=_0x22c9f4;const _0x35842d={};_0x35842d[_0x17500b(0x24d)]=_0x185656,_0x35842d[_0x17500b(0x220)]=!![],_0x35842d[_0x17500b(0x23f)]=_0x9dbaa3[_0x17500b(0x257)][_0x17500b(0x212)][_0x17500b(0x23f)],_0x35842d[_0x17500b(0x23b)]=_0x9dbaa3[_0x17500b(0x257)][_0x17500b(0x212)]['skipSessionStatus'],_0x35842d[_0x17500b(0x21d)]=_0x3ba027,_0x35842d[_0x17500b(0x1ec)]=_0x359318;const _0x1f60cb={};_0x1f60cb[_0x17500b(0x213)]=_0x35842d;const _0x581f8d={};return _0x581f8d[_0x17500b(0x21a)]=_0x1f60cb,helper[_0x17500b(0x210)]({},_0x1af668[_0x17500b(0x257)],_0x36cccc[_0x17500b(0x276)](isBrowserstackInfra)?_0x4171be:{},_0x4d9a6a?{'grep':_0x4d9a6a}:{},_0x581f8d);});for(const _0x423e40 of _0x350924){for(const _0xd6b1f4 of _0x5ab995){const _0x57b8a8=_0x4ca2f3['spawn']();_0x57b8a8[_0x39c71d(0x1e3)](_0xd6b1f4),_0x57b8a8[_0x39c71d(0x24e)](_0x423e40);}}_0x4ca2f3['on'](CodeceptJS[_0x39c71d(0x241)][_0x39c71d(0x216)][_0x39c71d(0x230)],(_0x42971a,_0x3a4bdf)=>{const _0x459614=_0x39c71d;console[_0x459614(0x271)](_0x36cccc[_0x459614(0x253)],_0x42971a[_0x459614(0x211)]);const _0x399a2a={[_0x42971a[_0x459614(0x211)]]:_0x42971a[_0x459614(0x1e7)][_0x459614(0x26a)]};_testErrorData['push'](_0x399a2a);}),_0x4ca2f3['on'](CodeceptJS[_0x39c71d(0x241)]['test'][_0x39c71d(0x20e)],async _0x592673=>{const _0x223b11=_0x39c71d;console[_0x223b11(0x271)](_0x36cccc[_0x223b11(0x20d)],_0x592673['title']);}),_0x4ca2f3['on'](CodeceptJS['event']['test'][_0x39c71d(0x25c)],async _0x4551bf=>{const _0x54a36d=_0x39c71d;console[_0x54a36d(0x271)](_0x36cccc[_0x54a36d(0x242)],_0x4551bf[_0x54a36d(0x211)]);}),_0x4ca2f3['on'](CodeceptJS['event'][_0x39c71d(0x266)][_0x39c71d(0x236)],async()=>{const _0x565972=_0x39c71d,_0x270a35=_0x36cccc[_0x565972(0x249)][_0x565972(0x233)]('|');let _0x4f832f=0x0;while(!![]){switch(_0x270a35[_0x4f832f++]){case'0':testOpsHelper[_0x565972(0x20b)]();continue;case'1':try{await TestHubHandler[_0x565972(0x219)]();}catch(_0x49cde3){logger[_0x565972(0x256)](_0x565972(0x24a)+util[_0x565972(0x215)](_0x49cde3));}continue;case'2':_0x4ca2f3[_0x565972(0x268)]();continue;case'3':utilities[_0x565972(0x223)](_0x9dbaa3);continue;case'4':_0x9dbaa3[_0x565972(0x214)]=_testErrorData;continue;}break;}});async function _0x9bc44a(){const _0x5db69e=_0x39c71d;try{await _0x4ca2f3[_0x5db69e(0x265)](),await _0x4ca2f3[_0x5db69e(0x243)]();}finally{process['chdir'](_0x1d0c9d),await _0x4ca2f3['teardownAll']();}}_0x36cccc[_0x39c71d(0x21e)](_0x9bc44a);}module[a2_0x57a7f6(0x1e4)]=run;
@@ -1 +1 @@
1
- const a3_0x4cb343=a3_0x2cdb;function a3_0x5d4e(){const _0x1b7777=['winstonLogger','bstack:options','GzFdn','get','../../helpers/logger','getDetails','llQzt','147133CKUlSF','Cqzam','gdcPK','aFdAz','browserName','osVersion','JMlON','warn','UrxVd','chrome','platform','platform_version','9429hOAIfT','YVRzu','__cloud_provider___','accessibilityPlatform','oGKWR','Playwright','constructor','sessionId','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','fetchPlatformDetails','searchParams','yjKus','AskZI','njuhA','name','ECtCL','WPAft','182BtANiY','browserstack_accessibility_automation_script','gdvsm','afpLP','cQFpy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','2116008YLdzRl','JysNU','shouldPatchExecuteScript','browser','platformVersion','browserWSEndpoint','eSbpk','playwright-chromium','8iWaKiM','pqAGs','caps','WebDriver','latest','desiredCapabilities','JEPaM','5218169nbRxTC','800815rgREKj','xwPKz','20UdnDJT','browserVersion','../../bin/playwright/sessionDetails','browser_version','QMmLh','62278gxaqvb','XCFAa','4rFQgYQ','capabilities','291552djZHQB','../../helpers/accessibility-automation/helper','bsSessionId','nuQFi'];a3_0x5d4e=function(){return _0x1b7777;};return a3_0x5d4e();}(function(_0x59f80b,_0x458876){const _0x3473cf=a3_0x2cdb,_0x45b553=_0x59f80b();while(!![]){try{const _0x143908=parseInt(_0x3473cf(0x8d))/0x1+-parseInt(_0x3473cf(0xb9))/0x2*(parseInt(_0x3473cf(0xa8))/0x3)+-parseInt(_0x3473cf(0x8f))/0x4*(parseInt(_0x3473cf(0x86))/0x5)+-parseInt(_0x3473cf(0x91))/0x6+parseInt(_0x3473cf(0x9c))/0x7*(-parseInt(_0x3473cf(0x7e))/0x8)+-parseInt(_0x3473cf(0xbf))/0x9+-parseInt(_0x3473cf(0x88))/0xa*(-parseInt(_0x3473cf(0x85))/0xb);if(_0x143908===_0x458876)break;else _0x45b553['push'](_0x45b553['shift']());}catch(_0x13406c){_0x45b553['push'](_0x45b553['shift']());}}}(a3_0x5d4e,0x3f829));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x4cb343(0x99))[a3_0x4cb343(0x95)],PlaywrightSessionDetails=require(a3_0x4cb343(0x8a)),{isAccessibilityAutomationSession}=require(a3_0x4cb343(0x92)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x1e4b99=>{const _0x1034d2=a3_0x4cb343,_0x16b6eb={};_0x16b6eb[_0x1034d2(0xb7)]=_0x1034d2(0x96),_0x16b6eb[_0x1034d2(0x97)]=_0x1034d2(0xc3),_0x16b6eb[_0x1034d2(0xa9)]=_0x1034d2(0xa7),_0x16b6eb[_0x1034d2(0x87)]=_0x1034d2(0xa1),_0x16b6eb[_0x1034d2(0xb4)]='os_version';const _0x3447a8=_0x16b6eb;if(!_0x1e4b99)return null;const _0x57b494=_0x1e4b99[_0x3447a8[_0x1034d2(0xb7)]],_0x326fcc=[_0x3447a8[_0x1034d2(0x97)],_0x3447a8['YVRzu'],_0x3447a8[_0x1034d2(0x87)],_0x3447a8[_0x1034d2(0xb4)]];for(const _0x320013 of _0x326fcc){if(_0x57b494&&_0x57b494[_0x320013])return _0x57b494[_0x320013];else{if(_0x1e4b99[_0x320013])return _0x1e4b99[_0x320013];}}return null;};function a3_0x2cdb(_0x4b2c66,_0x1c5acc){const _0x5d4efb=a3_0x5d4e();return a3_0x2cdb=function(_0x2cdb9d,_0x5aa68a){_0x2cdb9d=_0x2cdb9d-0x7c;let _0x18ea5c=_0x5d4efb[_0x2cdb9d];return _0x18ea5c;},a3_0x2cdb(_0x4b2c66,_0x1c5acc);}exports[a3_0x4cb343(0xb1)]=_0x3c15df=>{const _0x503b7f=a3_0x4cb343,_0x1eca01={'aFdAz':'unknown_grid','llQzt':function(_0x15825a,_0x3e9c13){return _0x15825a===_0x3e9c13;},'nuQFi':_0x503b7f(0x81),'oGKWR':function(_0x58dbf3,_0x587204){return _0x58dbf3(_0x587204);},'VGMnH':function(_0x22c305,_0x1a12b4,_0x555afe){return _0x22c305(_0x1a12b4,_0x555afe);},'UyZKh':'config','QMmLh':_0x503b7f(0x83),'IvXyQ':function(_0x14b0ef,_0x2ee1f6){return _0x14b0ef===_0x2ee1f6;},'LhJRn':_0x503b7f(0xad),'JEPaM':function(_0x27161a,_0x3f7c7d,_0x22e69f){return _0x27161a(_0x3f7c7d,_0x22e69f);},'pqAGs':_0x503b7f(0xc2),'njuhA':_0x503b7f(0xc4),'cQFpy':_0x503b7f(0x80)};if(!_0x3c15df)return null;let _0x2015c5=global[_0x503b7f(0xaa)]||_0x1eca01[_0x503b7f(0x9f)];if(_0x1eca01[_0x503b7f(0x9b)](_0x3c15df[_0x503b7f(0xae)]['name'],_0x1eca01[_0x503b7f(0x94)])){const _0x5ec342=_0x3c15df['browser'];if(!_0x5ec342)return null;const _0xdd1c24=_0x5ec342[_0x503b7f(0x90)],_0x53f1f7=_0x1eca01[_0x503b7f(0xac)](getOSVersionFromCaps,_0x1eca01['VGMnH'](nestedKeyValue,_0x3c15df,[_0x1eca01['UyZKh'],_0x1eca01[_0x503b7f(0x8c)]]));return{[_0x2015c5]:{'browser':_0xdd1c24[_0x503b7f(0xa0)],'browser_version':_0xdd1c24[_0x503b7f(0x89)],'capabilities':_0xdd1c24,'platform':_0xdd1c24['platformName'],'platform_version':_0xdd1c24[_0x503b7f(0xc3)]||_0x53f1f7,'product':_0x1eca01['oGKWR'](getObservabilityLinkedProductName,_0xdd1c24),'session_id':_0x5ec342[_0x503b7f(0xaf)]}};}else{if(_0x1eca01['IvXyQ'](_0x3c15df[_0x503b7f(0xae)][_0x503b7f(0xb6)],_0x1eca01['LhJRn'])){const _0x30a024=PlaywrightSessionDetails[_0x503b7f(0x9a)]();_0x2015c5=_0x30a024['cloudProvider']||_0x2015c5;const _0x46e4c2=_0x1eca01[_0x503b7f(0x84)](nestedKeyValue,_0x3c15df,[_0x1eca01['UyZKh'],_0x1eca01[_0x503b7f(0x7f)],_0x1eca01[_0x503b7f(0xb5)]]),_0x312361=_0x46e4c2?JSON['parse'](new URL(_0x46e4c2)[_0x503b7f(0xb2)][_0x503b7f(0x98)](_0x1eca01[_0x503b7f(0xbd)])):{};return{[_0x2015c5]:{'browser':_0x30a024[_0x503b7f(0xc2)]||_0x312361[_0x503b7f(0xa0)],'browser_version':_0x30a024[_0x503b7f(0x8b)]||_0x312361[_0x503b7f(0x8b)],'capabilities':_0x312361,'platform':_0x30a024[_0x503b7f(0xa6)],'platform_version':_0x30a024[_0x503b7f(0xa7)],'product':_0x1eca01[_0x503b7f(0xac)](getObservabilityLinkedProductName,_0x312361),'session_id':_0x30a024[_0x503b7f(0x93)]}};}}},exports['processWebDriverConfig']=_0x3ae05b=>{const _0x4ff4f7=a3_0x4cb343,_0xbf86d9={'XCFAa':function(_0x4bcad0){return _0x4bcad0();},'WPAft':function(_0x48cc7b,_0x17422c){return _0x48cc7b===_0x17422c;},'ebbPw':_0x4ff4f7(0x82),'wDBIm':function(_0x3167d3,_0x26a17d){return _0x3167d3>_0x26a17d;},'JysNU':function(_0x1c61c4,_0x4b035b){return _0x1c61c4(_0x4b035b);},'UrxVd':_0x4ff4f7(0xb0),'gdvsm':_0x4ff4f7(0xa5),'afpLP':function(_0x20e326,_0x512bfb){return _0x20e326===_0x512bfb;},'yjKus':_0x4ff4f7(0x7d),'gdcPK':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','JMlON':_0x4ff4f7(0xbe)};if(_0xbf86d9[_0x4ff4f7(0x8e)](isAccessibilityAutomationSession)){const _0x2e4742=_0x3ae05b[_0x4ff4f7(0xc2)],_0x7b4cb7=_0x2e4742[_0x4ff4f7(0x90)];global[_0x4ff4f7(0xab)]=!![],!(_0xbf86d9[_0x4ff4f7(0xb8)](_0x7b4cb7[_0x4ff4f7(0x89)],_0xbf86d9['ebbPw'])||_0xbf86d9['wDBIm'](_0xbf86d9['JysNU'](parseInt,_0x7b4cb7[_0x4ff4f7(0x89)]),0x5e))&&(logger['warn'](_0xbf86d9[_0x4ff4f7(0xa4)]),global[_0x4ff4f7(0xab)]=![]),!(_0xbf86d9[_0x4ff4f7(0xb8)](_0x7b4cb7[_0x4ff4f7(0xa0)],_0xbf86d9[_0x4ff4f7(0xbb)])||_0xbf86d9[_0x4ff4f7(0xbc)](_0x7b4cb7[_0x4ff4f7(0xa0)],_0xbf86d9[_0x4ff4f7(0xb3)]))&&(logger['warn'](_0xbf86d9[_0x4ff4f7(0x9e)]),global[_0x4ff4f7(0xab)]=![]),!_0xbf86d9[_0x4ff4f7(0xc0)](isUndefined,_0x7b4cb7['deviceName'])&&(logger[_0x4ff4f7(0xa3)](_0xbf86d9[_0x4ff4f7(0xa2)]),global[_0x4ff4f7(0xab)]=![]);}},exports[a3_0x4cb343(0xc1)]=_0x7bb048=>{const _0x56813e=a3_0x4cb343,_0x544e3f={};_0x544e3f['Cqzam']='browserstack_executor',_0x544e3f[_0x56813e(0x7c)]=_0x56813e(0xba);const _0x165c8e=_0x544e3f;if(!_0x7bb048)return![];return!_0x7bb048['includes'](_0x165c8e[_0x56813e(0x9d)])&&!_0x7bb048['includes'](_0x165c8e[_0x56813e(0x7c)]);};
1
+ const a3_0x48076b=a3_0x354a;function a3_0x18a5(){const _0x46add9=['12NPtgAY','parse','5503448UIRSDU','WbwCV','latest','../../helpers/accessibility-automation/helper','winstonLogger','oMknP','caps','yHgkT','getDetails','FYGRn','FuCpK','browser_version','../../helpers/logger','HETPq','osVersion','get','accessibilityPlatform','11625veHmWD','pJPOc','browserName','zJHCh','tPyUE','deviceName','browser','30FweeSo','hXqlF','AKunO','browserWSEndpoint','zzNky','capabilities','unknown_grid','warn','browserVersion','bsSessionId','searchParams','9ZiaETO','browserstack_executor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','VyfIK','749095TFaaWL','__cloud_provider___','../../helpers/helper','../../helpers/test-observability/utils','XhElb','gUHom','643556jDRlxi','31723120wQDPHS','PmfWK','Mgizo','LmXtX','playwright-chromium','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fetchPlatformDetails','qIZOu','shouldPatchExecuteScript','JNrGU','7aQJZkM','AUwnm','zdwrc','3965630ESfCFn','name','Playwright','Bcjlk','desiredCapabilities','config','2271576KrPBee','includes','os_version','EpcHP','browserstack_accessibility_automation_script','dffEp','chrome','SMFYu','eosZj','hHsOb','processWebDriverConfig'];a3_0x18a5=function(){return _0x46add9;};return a3_0x18a5();}function a3_0x354a(_0x3f35d6,_0x9e2913){const _0x18a5c7=a3_0x18a5();return a3_0x354a=function(_0x354ae6,_0x437255){_0x354ae6=_0x354ae6-0x83;let _0x540401=_0x18a5c7[_0x354ae6];return _0x540401;},a3_0x354a(_0x3f35d6,_0x9e2913);}(function(_0x45a78b,_0x257a3a){const _0xef202=a3_0x354a,_0xebe78e=_0x45a78b();while(!![]){try{const _0xf0b0dc=parseInt(_0xef202(0xa3))/0x1+-parseInt(_0xef202(0xb8))/0x2+parseInt(_0xef202(0x87))/0x3*(parseInt(_0xef202(0xc3))/0x4)+parseInt(_0xef202(0x9d))/0x5*(-parseInt(_0xef202(0x8e))/0x6)+parseInt(_0xef202(0xaf))/0x7*(-parseInt(_0xef202(0xc5))/0x8)+-parseInt(_0xef202(0x99))/0x9*(parseInt(_0xef202(0xb2))/0xa)+parseInt(_0xef202(0xa4))/0xb;if(_0xf0b0dc===_0x257a3a)break;else _0xebe78e['push'](_0xebe78e['shift']());}catch(_0xa447bd){_0xebe78e['push'](_0xebe78e['shift']());}}}(a3_0x18a5,0x8b17c));const {isUndefined,nestedKeyValue}=require(a3_0x48076b(0x9f)),logger=require(a3_0x48076b(0xd1))[a3_0x48076b(0xc9)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x48076b(0xc8)),{getObservabilityLinkedProductName}=require(a3_0x48076b(0xa0)),getOSVersionFromCaps=_0x33814b=>{const _0x43152e=a3_0x48076b,_0x564aff={};_0x564aff[_0x43152e(0xbb)]='bstack:options',_0x564aff['zJHCh']='platformVersion',_0x564aff[_0x43152e(0xac)]=_0x43152e(0xa9),_0x564aff[_0x43152e(0xbf)]=_0x43152e(0x84),_0x564aff[_0x43152e(0x92)]=_0x43152e(0xba);const _0xbe29b5=_0x564aff;if(!_0x33814b)return null;const _0x20a141=_0x33814b[_0xbe29b5[_0x43152e(0xbb)]],_0x35ca07=[_0xbe29b5[_0x43152e(0x8a)],_0xbe29b5['qIZOu'],_0xbe29b5[_0x43152e(0xbf)],_0xbe29b5[_0x43152e(0x92)]];for(const _0x39844c of _0x35ca07){if(_0x20a141&&_0x20a141[_0x39844c])return _0x20a141[_0x39844c];else{if(_0x33814b[_0x39844c])return _0x33814b[_0x39844c];}}return null;};exports[a3_0x48076b(0xab)]=_0xc95264=>{const _0x4d585b=a3_0x48076b,_0x3416bf={'hXqlF':_0x4d585b(0x94),'gUHom':function(_0x1d6bc3,_0x4217d8){return _0x1d6bc3===_0x4217d8;},'zdwrc':'WebDriver','oMknP':function(_0x9e0444,_0x297ebb){return _0x9e0444(_0x297ebb);},'adHlf':function(_0x4e1a68,_0x4cd261,_0x240f29){return _0x4e1a68(_0x4cd261,_0x240f29);},'LmXtX':_0x4d585b(0xb7),'eosZj':_0x4d585b(0xb6),'JNrGU':_0x4d585b(0xb4),'AUwnm':function(_0x3f0fe4,_0x4237c2,_0x25d300){return _0x3f0fe4(_0x4237c2,_0x25d300);},'nSEZu':_0x4d585b(0x8d),'Mgizo':_0x4d585b(0x91),'PmfWK':_0x4d585b(0xcb),'HOXzn':function(_0x1c941d,_0x2da19a){return _0x1c941d(_0x2da19a);}};if(!_0xc95264)return null;let _0x100873=global[_0x4d585b(0x9e)]||_0x3416bf[_0x4d585b(0x8f)];if(_0x3416bf[_0x4d585b(0xa2)](_0xc95264['constructor'][_0x4d585b(0xb3)],_0x3416bf[_0x4d585b(0xb1)])){const _0x458c09=_0xc95264['browser'];if(!_0x458c09)return null;const _0x26d9f8=_0x458c09['capabilities'],_0xa8ef9a=_0x3416bf['oMknP'](getOSVersionFromCaps,_0x3416bf['adHlf'](nestedKeyValue,_0xc95264,[_0x3416bf[_0x4d585b(0xa7)],_0x3416bf[_0x4d585b(0xc0)]]));return{[_0x100873]:{'browser':_0x26d9f8[_0x4d585b(0x89)],'browser_version':_0x26d9f8[_0x4d585b(0x96)],'capabilities':_0x26d9f8,'platform':_0x26d9f8['platformName'],'platform_version':_0x26d9f8['platformVersion']||_0xa8ef9a,'product':_0x3416bf[_0x4d585b(0xca)](getObservabilityLinkedProductName,_0x26d9f8),'session_id':_0x458c09['sessionId']}};}else{if(_0x3416bf[_0x4d585b(0xa2)](_0xc95264['constructor'][_0x4d585b(0xb3)],_0x3416bf[_0x4d585b(0xae)])){const _0x16fd6d=PlaywrightSessionDetails[_0x4d585b(0xcd)]();_0x100873=_0x16fd6d['cloudProvider']||_0x100873;const _0x323d51=_0x3416bf[_0x4d585b(0xb0)](nestedKeyValue,_0xc95264,[_0x3416bf['LmXtX'],_0x3416bf['nSEZu'],_0x3416bf[_0x4d585b(0xa6)]]),_0xca7ad4=_0x323d51?JSON[_0x4d585b(0xc4)](new URL(_0x323d51)[_0x4d585b(0x98)][_0x4d585b(0x85)](_0x3416bf[_0x4d585b(0xa5)])):{};return{[_0x100873]:{'browser':_0x16fd6d[_0x4d585b(0x8d)]||_0xca7ad4[_0x4d585b(0x89)],'browser_version':_0x16fd6d['browser_version']||_0xca7ad4[_0x4d585b(0xd0)],'capabilities':_0xca7ad4,'platform':_0x16fd6d['platform'],'platform_version':_0x16fd6d[_0x4d585b(0xa9)],'product':_0x3416bf['HOXzn'](getObservabilityLinkedProductName,_0xca7ad4),'session_id':_0x16fd6d[_0x4d585b(0x97)]}};}}},exports[a3_0x48076b(0xc2)]=_0x5ebf00=>{const _0x4f1d98=a3_0x48076b,_0x54f5a5={'hHsOb':function(_0x1a07b5){return _0x1a07b5();},'swITf':function(_0x22179d,_0x3fcf10){return _0x22179d===_0x3fcf10;},'XhElb':_0x4f1d98(0xc7),'AKunO':function(_0x486319,_0x2c4155){return _0x486319>_0x2c4155;},'VyfIK':function(_0x457648,_0x5d1936){return _0x457648(_0x5d1936);},'pJPOc':_0x4f1d98(0x9b),'yHgkT':function(_0x67d633,_0x55c55d){return _0x67d633===_0x55c55d;},'FuCpK':_0x4f1d98(0xbe),'HETPq':function(_0x21fe42,_0x1ccb89){return _0x21fe42===_0x1ccb89;},'dffEp':_0x4f1d98(0xa8),'WbwCV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Bcjlk':_0x4f1d98(0xaa)};if(_0x54f5a5[_0x4f1d98(0xc1)](isAccessibilityAutomationSession)){const _0x1558c5=_0x5ebf00['browser'],_0x51294e=_0x1558c5[_0x4f1d98(0x93)];global[_0x4f1d98(0x86)]=!![],!(_0x54f5a5['swITf'](_0x51294e[_0x4f1d98(0x96)],_0x54f5a5[_0x4f1d98(0xa1)])||_0x54f5a5[_0x4f1d98(0x90)](_0x54f5a5[_0x4f1d98(0x9c)](parseInt,_0x51294e[_0x4f1d98(0x96)]),0x5e))&&(logger['warn'](_0x54f5a5[_0x4f1d98(0x88)]),global[_0x4f1d98(0x86)]=![]),!(_0x54f5a5[_0x4f1d98(0xcc)](_0x51294e[_0x4f1d98(0x89)],_0x54f5a5[_0x4f1d98(0xcf)])||_0x54f5a5[_0x4f1d98(0x83)](_0x51294e[_0x4f1d98(0x89)],_0x54f5a5[_0x4f1d98(0xbd)]))&&(logger[_0x4f1d98(0x95)](_0x54f5a5[_0x4f1d98(0xc6)]),global[_0x4f1d98(0x86)]=![]),!_0x54f5a5[_0x4f1d98(0x9c)](isUndefined,_0x51294e[_0x4f1d98(0x8c)])&&(logger[_0x4f1d98(0x95)](_0x54f5a5[_0x4f1d98(0xb5)]),global['accessibilityPlatform']=![]);}},exports[a3_0x48076b(0xad)]=_0x1e50af=>{const _0x4743d8=a3_0x48076b,_0x3154bb={};_0x3154bb[_0x4743d8(0xce)]=_0x4743d8(0x9a),_0x3154bb[_0x4743d8(0x8b)]=_0x4743d8(0xbc);const _0x5791b7=_0x3154bb;if(!_0x1e50af)return![];return!_0x1e50af['includes'](_0x5791b7[_0x4743d8(0xce)])&&!_0x1e50af[_0x4743d8(0xb9)](_0x5791b7[_0x4743d8(0x8b)]);};
@@ -1 +1 @@
1
- const a4_0x31a60a=a4_0x5bee;(function(_0x5a91be,_0x397c6d){const _0x5aeabc=a4_0x5bee,_0x359aa1=_0x5a91be();while(!![]){try{const _0x4e52fd=parseInt(_0x5aeabc(0x20e))/0x1+parseInt(_0x5aeabc(0x13f))/0x2*(parseInt(_0x5aeabc(0x19c))/0x3)+-parseInt(_0x5aeabc(0x175))/0x4*(-parseInt(_0x5aeabc(0x159))/0x5)+-parseInt(_0x5aeabc(0x213))/0x6*(parseInt(_0x5aeabc(0x158))/0x7)+parseInt(_0x5aeabc(0x1c5))/0x8+parseInt(_0x5aeabc(0x1af))/0x9*(parseInt(_0x5aeabc(0x141))/0xa)+-parseInt(_0x5aeabc(0x1ef))/0xb;if(_0x4e52fd===_0x397c6d)break;else _0x359aa1['push'](_0x359aa1['shift']());}catch(_0x20e264){_0x359aa1['push'](_0x359aa1['shift']());}}}(a4_0x3ce8,0x4a8ae));function a4_0x3ce8(){const _0x377277=['suites','1589bdFKYg','756035iGLUnE','wjVpm','meta','failed','name','start','../utils/constants','testAnalyticsId','ugCPc','../../helpers/test-observability/requestQueueHandler','zcpkb','test_run_uuid','passed','TEST_RUN_FINISHED','getHookType','bddSteps','hookAnalyticsId','text','sNLhy','bind','match','then','CBTSessionCreated','TEST_RUN_SKIPPED','Leghg','RmUxK','XcguP','finished','4MLSNqv','test_run','XbYRe','File\x20path\x20could\x20not\x20be\x20found','_afterEach','rgwhA','zTfJe','PLAYWRIGHT_HUB_URL','wfqsI','defineProperty','stop','connect','TestRunFinished','bs:addLog:','string','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','removeAllListeners','JjUgK','TestRunSkipped','now','debug','file_name','VeLcg','.git','inspect','EHHCN','QTNKN','__platformCaps','sendCBTInfo','_paths','patchConsoleLogger','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','toString','BSkqd','fEQWw','appendTestItemLog','VIebb','toISOString','apply','222WuqxXJ','RhpYm','mCDtF','pending','location_prefix','prefixTestPath','aeXxM','aTzVO','hook','result','event_type','toUpperCase','DOsPh','retryOf','dGPtt','MTdVD','_beforeAll','skipped','../playwright/sessionDetails','308493AgTvUw','Failed\x20to\x20parse\x20wsendpoint\x20','relative','initializeBddStep','urcXE','xoXgV','shutdown','aKfib','bddStepFinish','hook_run','setupBrowserDetails','markedStatus','feature','__cloud_provider___','TlMEH','krtuY','Wdevu','FuPfo','ODbxQ','err','zCpII','\x20with\x20error\x20:\x20','3231488zFDXbk','duration','EHfyp','find','getFailureType','started','GcZoK','join','hhMHc','logs','CODECEPT','ctx','zwNyV','Not\x20able\x20to\x20import\x20Browser','split','PathHelper','iAFNw','fMTOO','gGItZ','mapTestHooks','stringify','parent','../../helpers/test-observability/sessionHandler','prototype','replace','_beforeEach','file','errorsDetailed','getTime','QaYLy','browserstack','ZkPYS','keyword','forEach','constructor','findGitConfig','jNzIY','fppKb','util','title','laFRm','includes','8498358fiygUI','uuid','client','driver','../../helpers/testhub/utils.js','accessibilityPlatform','body','obsBrowserTypeMockApplied','statSync','hook_run_uuid','utOfa','resetSkipTestHooks','uploadEventData','bSsCp','ZtJFW','LogCreated','currentHook','toLowerCase','RCdHE','KUpHq','expanded','VFZJB','SVlWd','integrations','cwd','launch','../../helpers/test-observability/utils','LKoFu','getCBTInfo','dirname','lgdzX','474249vrCdAD','HookRunFinished','winstonLogger','ICngK','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','13626vUovla','EsTxw','failure_backtrace','HulWR','HJuye','CKTRj','test','enabled','./helper.js','failure','chygp','yRhEL','currentTest','xstUn','_afterAll','bddStepStart','getHierarchy','QLbcf','pvFyc','browserType.js','bbMnV','success','ceHzB','stepAnalyticsId','jJKjK','tags','length','status','../playwright/accessibility-helper','sep','10612oTwvhW','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','50jOcflr','finished_at','startedAt','hooks','getHooksForTest','pid','TEST_RUN_STARTED','getRootParentFile','ZaBmz','comment','Playwright','push','hook_type','VtvDb','javascript','../../helpers/helper','_testEnv','Muxwu','QoOPU','frameworkName','fireEvent','getInstance'];a4_0x3ce8=function(){return _0x377277;};return a4_0x3ce8();}function a4_0x5bee(_0x131f64,_0x2492d9){const _0x3ce8e4=a4_0x3ce8();return a4_0x5bee=function(_0x5bee27,_0x91b540){_0x5bee27=_0x5bee27-0x136;let _0x27e0c3=_0x3ce8e4[_0x5bee27];return _0x27e0c3;},a4_0x5bee(_0x131f64,_0x2492d9);}const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x31a60a(0x1f0)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x31a60a(0x150)),testOpsHelper=require(a4_0x31a60a(0x209)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x31a60a(0x210)],SessionHandler=require(a4_0x31a60a(0x1db)),RequestQueueHandler=require(a4_0x31a60a(0x162)),PlaywrightSessionDetails=require(a4_0x31a60a(0x1ae)),debug=testOpsHelper[a4_0x31a60a(0x189)],{processAccessibilityCaps}=require(a4_0x31a60a(0x13d)),Constants=require(a4_0x31a60a(0x15f)),{fetchPlatformDetails}=require(a4_0x31a60a(0x21b)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x31a60a(0x1f3)),STATE_PASSED=a4_0x31a60a(0x165),STATE_FAILED=a4_0x31a60a(0x15c),a4_0x3c53ea={};a4_0x3c53ea[a4_0x31a60a(0x147)]='TestRunStarted',a4_0x3c53ea['TEST_RUN_FINISHED']=a4_0x31a60a(0x181),a4_0x3c53ea[a4_0x31a60a(0x170)]=a4_0x31a60a(0x187),a4_0x3c53ea['HOOK_RUN_STARTED']='HookRunStarted',a4_0x3c53ea['HOOK_RUN_FINISHED']=a4_0x31a60a(0x20f);const TEST_EVENTS=a4_0x3c53ea,parseEvent=_0x555462=>{const _0x561c09=a4_0x31a60a,_0x520f77={};_0x520f77[_0x561c09(0x1c3)]=function(_0x7043ea,_0x5b3f47){return _0x7043ea<_0x5b3f47;},_0x520f77['zwNyV']=function(_0x32a863,_0x5db648){return _0x32a863===_0x5db648;},_0x520f77[_0x561c09(0x196)]=_0x561c09(0x219),_0x520f77['chygp']=function(_0x7e8f79,_0x4fdc62){return _0x7e8f79===_0x4fdc62;},_0x520f77[_0x561c09(0x1f9)]=_0x561c09(0x1a4),_0x520f77[_0x561c09(0x17a)]=function(_0x6194c8,_0x2cacb2){return _0x6194c8===_0x2cacb2;},_0x520f77[_0x561c09(0x139)]=_0x561c09(0x1ad),_0x520f77['MTdVD']=function(_0x1d2818,_0x41187f){return _0x1d2818===_0x41187f;},_0x520f77[_0x561c09(0x220)]='started',_0x520f77['QLbcf']=_0x561c09(0x174);const _0x2e66c0=_0x520f77,_0x57d7e5=_0x555462[_0x561c09(0x16d)](/^(.*)Run(.*)$/);if(!_0x57d7e5)return null;if(_0x2e66c0['zCpII'](_0x57d7e5[_0x561c09(0x13b)],0x3))return null;const _0x3c0fc1=_0x57d7e5[0x1][_0x561c09(0x200)](),_0x477e0e=_0x57d7e5[0x2][_0x561c09(0x200)]();return{'test':_0x2e66c0[_0x561c09(0x1d1)](_0x3c0fc1,_0x2e66c0[_0x561c09(0x196)]),'hook':_0x2e66c0[_0x561c09(0x21d)](_0x3c0fc1,_0x2e66c0[_0x561c09(0x1f9)]),'skipped':_0x2e66c0[_0x561c09(0x17a)](_0x477e0e,_0x2e66c0[_0x561c09(0x139)]),'started':_0x2e66c0[_0x561c09(0x1ab)](_0x477e0e,_0x2e66c0[_0x561c09(0x220)]),'finished':_0x2e66c0[_0x561c09(0x1d1)](_0x477e0e,_0x2e66c0[_0x561c09(0x224)])};},mockPWBrowserType=_0x47cdf7=>{const _0x48673c=a4_0x31a60a,_0x23b48d={'jLxjZ':function(_0x15bf0a,_0x2a7a4d,_0x455f7d){return _0x15bf0a(_0x2a7a4d,_0x455f7d);},'axjlH':'wsEndpoint','XcguP':function(_0x36b57c,_0x346ae2){return _0x36b57c(_0x346ae2);},'xoXgV':_0x48673c(0x1e3),'bbMnV':function(_0x18cd97,_0x48342b,_0x103f65){return _0x18cd97(_0x48342b,_0x103f65);},'cLABs':function(_0x3eb3ff,_0x508de9){return _0x3eb3ff(_0x508de9);},'ynnvt':function(_0x4c5c6b,_0x27cfa9){return _0x4c5c6b===_0x27cfa9;},'ODbxQ':_0x48673c(0x183),'SVlWd':'lib','kslOM':_0x48673c(0x1f1),'VeLcg':_0x48673c(0x226),'ZaBmz':function(_0x4983d5,_0x189532){return _0x4983d5(_0x189532);},'foGaj':_0x48673c(0x1d2),'CkxXD':_0x48673c(0x180),'IiDHo':_0x48673c(0x208)},_0x319b6d=path[_0x48673c(0x1cc)](_0x23b48d[_0x48673c(0x205)],_0x23b48d['kslOM'],_0x23b48d[_0x48673c(0x18b)]),_0x7f376c=_0x23b48d[_0x48673c(0x149)](importFileFromPWCore,_0x319b6d);if(!_0x7f376c){_0x23b48d['XcguP'](debug,_0x23b48d['foGaj']);return;}const _0x1de9a2=_0x7f376c['BrowserType'],_0x74db98=_0x1de9a2[_0x48673c(0x1dc)];if(_0x74db98[_0x48673c(0x1f6)])return;const _0x263186=_0x74db98[_0x48673c(0x180)];Object[_0x48673c(0x17e)](_0x74db98,_0x23b48d['CkxXD'],{'get':function(){const _0x888e31=_0x48673c,_0x1e3e8a={'laFRm':function(_0x5086a6,_0x2f9476){return _0x23b48d['ynnvt'](_0x5086a6,_0x2f9476);},'RmUxK':_0x23b48d[_0x888e31(0x1c1)]};return async function _0x3d970d(_0x1e831a,_0x84b2d5){const _0x38f821=_0x888e31,_0x446677=_0x23b48d['jLxjZ'](nestedKeyValue,_0x1e831a,[_0x23b48d['axjlH']])||_0x1e831a;let _0x53273a=null,_0x1d60cc=null;try{[_0x1d60cc,_0x53273a]=_0x446677?_0x23b48d[_0x38f821(0x173)](parseWSEndpoint,_0x446677):[null,null],global[_0x38f821(0x190)]=_0x53273a,_0x1d60cc['includes'](_0x23b48d[_0x38f821(0x1b4)])&&(global[_0x38f821(0x1bc)]=_0x23b48d['xoXgV']);}catch(_0x3505bc){logger[_0x38f821(0x189)](_0x38f821(0x1b0)+_0x446677+'\x20'+_0x3505bc);}_0x23b48d[_0x38f821(0x227)](processAccessibilityCaps,_0x53273a,_0x1d60cc);if(global[_0x38f821(0x1f4)]){const _0x5a5590=await _0x74db98['connectOverCDP'][_0x38f821(0x19b)](this,[''+Constants[_0x38f821(0x17c)]+_0x23b48d['cLABs'](encodeURIComponent,JSON[_0x38f821(0x1d9)](_0x53273a))]);return PlaywrightSessionDetails[_0x38f821(0x1b9)](_0x5a5590,_0x47cdf7,_0x446677),_0x5a5590;}return _0x263186[_0x38f821(0x19b)](this,arguments)[_0x38f821(0x16e)](_0x2946f8=>{const _0x1164e1=_0x38f821;let _0x2b4e56=_0x1e831a['wsEndpoint'];return _0x1e3e8a[_0x1164e1(0x1ed)](typeof _0x1e831a,_0x1e3e8a[_0x1164e1(0x172)])&&(_0x2b4e56=_0x1e831a),PlaywrightSessionDetails[_0x1164e1(0x1b9)](_0x2946f8,_0x47cdf7,_0x2b4e56),_0x2946f8;});};}});const _0x3eac66=_0x74db98['launch'];Object[_0x48673c(0x17e)](_0x74db98,_0x23b48d['IiDHo'],{'get':function(){return async function _0x28034d(){const _0x1555bb=a4_0x5bee;return _0x3eac66['apply'](this,arguments)[_0x1555bb(0x16e)](_0x27466e=>{const _0x35bbef=_0x1555bb;return PlaywrightSessionDetails[_0x35bbef(0x1b9)](_0x27466e,null),_0x27466e;});};}});};class O11yHelper{[a4_0x31a60a(0x21f)]=null;[a4_0x31a60a(0x1ff)]=null;[a4_0x31a60a(0x21a)]=![];[a4_0x31a60a(0x154)]=![];constructor(_0x58c369,_0x42d6bd){const _0xadf3f3=a4_0x31a60a,_0x1e4725={'Muxwu':'5|4|0|2|1|3','ceHzB':function(_0x38bbe8){return _0x38bbe8();},'hhMHc':function(_0x8fa745,_0x24860c){return _0x8fa745===_0x24860c;},'bqVXI':_0xadf3f3(0x14b),'LKoFu':function(_0x5b982c,_0x4f74f0){return _0x5b982c(_0x4f74f0);},'VFZJB':function(_0x23959f){return _0x23959f();}},_0x555276=_0x1e4725[_0xadf3f3(0x152)][_0xadf3f3(0x1d3)]('|');let _0x1a8a7f=0x0;while(!![]){switch(_0x555276[_0x1a8a7f++]){case'0':this['driver']=_0x58c369;continue;case'1':this[_0xadf3f3(0x192)]=new testOpsHelper[(_0xadf3f3(0x1d4))]({'cwd':process[_0xadf3f3(0x207)]()},this[_0xadf3f3(0x151)][_0xadf3f3(0x1a0)]);continue;case'2':this[_0xadf3f3(0x151)]=_0x1e4725[_0xadf3f3(0x137)](getTestEnv);continue;case'3':this[_0xadf3f3(0x1f2)]&&_0x1e4725[_0xadf3f3(0x1cd)](this[_0xadf3f3(0x1f2)][_0xadf3f3(0x1e7)]['name'],_0x1e4725['bqVXI'])&&_0x1e4725[_0xadf3f3(0x20a)](mockPWBrowserType,null);continue;case'4':this[_0xadf3f3(0x154)]=_0x42d6bd['frameworkName'];continue;case'5':this['enabled']=_0x1e4725[_0xadf3f3(0x204)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x31a60a(0x15e)](){const _0x5c7d3f=a4_0x31a60a;if(!this[_0x5c7d3f(0x21a)])return;testOpsHelper[_0x5c7d3f(0x193)](),process[_0x5c7d3f(0x185)](_0x5c7d3f(0x182)+process[_0x5c7d3f(0x146)]),process['on'](_0x5c7d3f(0x182)+process[_0x5c7d3f(0x146)],this[_0x5c7d3f(0x198)][_0x5c7d3f(0x16c)](this));}async[a4_0x31a60a(0x17f)](){const _0x55712e=a4_0x31a60a;await RequestQueueHandler[_0x55712e(0x156)]()[_0x55712e(0x1b5)]();}async[a4_0x31a60a(0x198)](_0x588d39){const _0x5b909c=a4_0x31a60a,_0x4f158d={'mmenD':_0x5b909c(0x1fe),'Ksyhc':function(_0x5b0128,_0x34f551){return _0x5b0128(_0x34f551);}};try{this[_0x5b909c(0x1ff)]&&!this[_0x5b909c(0x1ff)]['markedStatus']&&(_0x588d39[_0x5b909c(0x1f8)]=this[_0x5b909c(0x1ff)]['hookAnalyticsId']);!_0x588d39['hook_run_uuid']&&this[_0x5b909c(0x21f)]&&!this['currentTest'][_0x5b909c(0x1ba)]&&(_0x588d39[_0x5b909c(0x164)]=this[_0x5b909c(0x21f)][_0x5b909c(0x160)]);if(_0x588d39[_0x5b909c(0x1f8)]||_0x588d39[_0x5b909c(0x164)]){const _0xc1fa40={};_0xc1fa40['event_type']=_0x4f158d['mmenD'],_0xc1fa40[_0x5b909c(0x1ce)]=[_0x588d39],await SessionHandler['uploadEventData'](_0xc1fa40);}}catch(_0x2aea4f){_0x4f158d['Ksyhc'](debug,_0x5b909c(0x212)+_0x2aea4f);}}async[a4_0x31a60a(0x191)](_0x355bbb){const _0x628108=a4_0x31a60a,_0x4115e4={'fMTOO':_0x628108(0x16f),'svksw':function(_0x14f463,_0x971a94){return _0x14f463(_0x971a94);}};if(!this[_0x628108(0x21a)])return;const _0x1c91af=this[_0x628108(0x20b)](this['driver']);try{const _0x1544c2={};_0x1544c2[_0x628108(0x1f0)]=_0x355bbb,_0x1544c2[_0x628108(0x206)]=_0x1c91af;const _0x319db7=_0x1544c2,_0x559fb6={};_0x559fb6[_0x628108(0x1a6)]=_0x4115e4[_0x628108(0x1d6)],_0x559fb6[_0x628108(0x176)]=_0x319db7,await SessionHandler[_0x628108(0x1fb)](_0x559fb6);}catch(_0x515b5b){_0x4115e4['svksw'](debug,_0x628108(0x194)+_0x515b5b);}}[a4_0x31a60a(0x20b)](_0x412ae6){const _0x428249=a4_0x31a60a,_0x36ee33={'EHfyp':function(_0x24e63d,_0x475666){return _0x24e63d(_0x475666);}};return _0x36ee33[_0x428249(0x1c7)](fetchPlatformDetails,_0x412ae6);}[a4_0x31a60a(0x1fa)]=_0xca5c8e=>{const _0x499cd5=a4_0x31a60a,_0x4223cc={};_0x4223cc['nfYqh']=_0x499cd5(0x1de),_0x4223cc[_0x499cd5(0x163)]=_0x499cd5(0x179);const _0x39a08a=_0x4223cc;if(!_0xca5c8e||!_0xca5c8e[_0x499cd5(0x1da)])return;[_0x39a08a['nfYqh'],_0x39a08a[_0x499cd5(0x163)]][_0x499cd5(0x1e6)](_0x45a7d4=>{const _0x3cb2fd=_0x499cd5,_0x642bc9=_0xca5c8e[_0x3cb2fd(0x1da)][_0x45a7d4];_0x642bc9['forEach'](_0x45531f=>{const _0x5439d4=_0x3cb2fd;_0x45531f[_0x5439d4(0x169)]&&(_0x45531f[_0x5439d4(0x169)]=null);});});};[a4_0x31a60a(0x1d8)](_0x17e02a){const _0x58d4c1=a4_0x31a60a,_0x2c0579={'QTNKN':'codeceptjs','pvFyc':function(_0x5da85b){return _0x5da85b();},'EHHCN':function(_0x106617,_0x240d7e){return _0x106617===_0x240d7e;},'ZtJFW':'_afterEach','jNzIY':_0x58d4c1(0x1ac),'FrVHG':_0x58d4c1(0x221),'urcXE':'_beforeEach'};if(!_0x17e02a||!_0x17e02a[_0x58d4c1(0x1da)])return;[_0x2c0579[_0x58d4c1(0x1e9)],_0x2c0579['FrVHG'],_0x2c0579[_0x58d4c1(0x1b3)],_0x2c0579['ZtJFW']][_0x58d4c1(0x1e6)](_0x134176=>{const _0x9b60c0=_0x58d4c1,_0x74974d={'RhpYm':_0x2c0579[_0x9b60c0(0x18f)],'iDgjn':function(_0x53ef6a){const _0x3e99fe=_0x9b60c0;return _0x2c0579[_0x3e99fe(0x225)](_0x53ef6a);},'lDHym':function(_0x197228,_0x2d32fa){const _0xfd2f73=_0x9b60c0;return _0x2c0579[_0xfd2f73(0x18e)](_0x197228,_0x2d32fa);},'fppKb':_0x2c0579[_0x9b60c0(0x1fd)],'QaYLy':function(_0x2dbdff){const _0x4eae87=_0x9b60c0;return _0x2c0579[_0x4eae87(0x225)](_0x2dbdff);}},_0x5e7b50=_0x17e02a[_0x9b60c0(0x1da)][_0x134176]||[];_0x5e7b50[_0x9b60c0(0x1e6)](_0x267182=>{const _0x314593=_0x9b60c0;if(_0x267182[_0x314593(0x1ec)]['includes'](_0x74974d[_0x314593(0x19d)]))return;if(!_0x267182[_0x314593(0x169)])_0x267182['hookAnalyticsId']=_0x74974d['iDgjn'](uuidv4);else _0x267182['markedStatus']&&_0x74974d['lDHym'](_0x134176,_0x74974d[_0x314593(0x1ea)])&&(_0x267182['hookAnalyticsId']=_0x74974d[_0x314593(0x1e2)](uuidv4),delete _0x267182[_0x314593(0x1ba)]);});}),this[_0x58d4c1(0x1d8)](_0x17e02a[_0x58d4c1(0x1da)]);}['getHooksForTest'](_0xfd99bf){const _0x253f3e=a4_0x31a60a,_0x4c064f={};_0x4c064f[_0x253f3e(0x211)]=_0x253f3e(0x1ac),_0x4c064f['aTzVO']=_0x253f3e(0x221),_0x4c064f[_0x253f3e(0x1be)]=_0x253f3e(0x1de),_0x4c064f[_0x253f3e(0x1a8)]=_0x253f3e(0x179);const _0x516b5c=_0x4c064f;if(!_0xfd99bf||!_0xfd99bf[_0x253f3e(0x1da)])return[];const _0x37f047=[];return[_0x516b5c[_0x253f3e(0x211)],_0x516b5c[_0x253f3e(0x1a3)],_0x516b5c[_0x253f3e(0x1be)],_0x516b5c['DOsPh']]['forEach'](_0x3737dc=>{const _0x26b55f=_0x253f3e,_0x17ef43=_0xfd99bf[_0x26b55f(0x1da)][_0x3737dc]||[];_0x17ef43[_0x26b55f(0x1e6)](_0x2963ee=>{const _0x62eed2=_0x26b55f;_0x2963ee[_0x62eed2(0x169)]&&_0x37f047['push'](_0x2963ee[_0x62eed2(0x169)]);});}),[]['concat'](_0x37f047,this[_0x253f3e(0x145)](_0xfd99bf['parent']));}[a4_0x31a60a(0x167)](_0x53ebd9){const _0x5c74ba=a4_0x31a60a,_0x1f0c51=/^"(?<hook>.*)" hook:.*$/,_0x2a4076=_0x53ebd9[_0x5c74ba(0x1ec)],_0x336d44=_0x2a4076[_0x5c74ba(0x16d)](_0x1f0c51);if(_0x336d44&&_0x336d44['groups'])return _0x336d44['groups'][_0x5c74ba(0x1a4)][_0x5c74ba(0x1a7)]()[_0x5c74ba(0x1dd)]('\x20','_');return null;}[a4_0x31a60a(0x1e8)](_0x29b94e){const _0x34fb1c=a4_0x31a60a,_0x1a229c={};_0x1a229c[_0x34fb1c(0x16b)]=function(_0x5e2f3a,_0x514c87){return _0x5e2f3a===_0x514c87;},_0x1a229c[_0x34fb1c(0x14e)]=function(_0x2c39c5,_0x32030f){return _0x2c39c5===_0x32030f;},_0x1a229c[_0x34fb1c(0x19e)]=function(_0x1ed2ff,_0x3d1803){return _0x1ed2ff===_0x3d1803;},_0x1a229c[_0x34fb1c(0x1a2)]=_0x34fb1c(0x18c),_0x1a229c[_0x34fb1c(0x186)]='config';const _0x299c08=_0x1a229c,_0x3e634c=path[_0x34fb1c(0x13e)];if(_0x299c08[_0x34fb1c(0x16b)](_0x29b94e,null)||_0x299c08[_0x34fb1c(0x14e)](_0x29b94e,'')||_0x299c08[_0x34fb1c(0x19e)](_0x29b94e,_0x3e634c)||_0x299c08[_0x34fb1c(0x16b)](_0x29b94e,path[_0x34fb1c(0x20c)](_0x29b94e)))return null;try{return fs[_0x34fb1c(0x1f7)](path[_0x34fb1c(0x1cc)](_0x29b94e,_0x299c08['aeXxM'],_0x299c08[_0x34fb1c(0x186)])),_0x29b94e;}catch(_0x2dbc42){const _0x10238c=path['dirname'](_0x29b94e);return this[_0x34fb1c(0x1e8)](_0x10238c);}}[a4_0x31a60a(0x148)](_0xfaa79e){const _0x3c1f2d=a4_0x31a60a,_0x5f0388={};_0x5f0388[_0x3c1f2d(0x1bd)]=function(_0x587740,_0x2740c4){return _0x587740>_0x2740c4;};const _0x316507=_0x5f0388;if(_0xfaa79e[_0x3c1f2d(0x1df)])return _0xfaa79e['file'];if(_0xfaa79e['ctx']){const _0x57dcb8=_0xfaa79e['ctx'][_0x3c1f2d(0x21f)]?this[_0x3c1f2d(0x148)](_0xfaa79e[_0x3c1f2d(0x1d0)][_0x3c1f2d(0x21f)]):null;if(_0x57dcb8)return _0x57dcb8;}if(_0xfaa79e[_0x3c1f2d(0x1da)]){const _0x1887e8=this[_0x3c1f2d(0x148)](_0xfaa79e['parent'])||(_0xfaa79e[_0x3c1f2d(0x1da)]['ctx']&&_0xfaa79e[_0x3c1f2d(0x1da)][_0x3c1f2d(0x1d0)][_0x3c1f2d(0x21f)]?this['getRootParentFile'](_0xfaa79e[_0x3c1f2d(0x1da)]['ctx'][_0x3c1f2d(0x21f)]):null);if(_0x1887e8)return _0x1887e8;_0xfaa79e['parent'][_0x3c1f2d(0x157)]&&_0x316507[_0x3c1f2d(0x1bd)](_0xfaa79e[_0x3c1f2d(0x1da)][_0x3c1f2d(0x157)]['length'],0x0)&&_0xfaa79e[_0x3c1f2d(0x1da)]['suites'][_0x3c1f2d(0x1e6)](_0x470acf=>{const _0x4e7ca9=_0x3c1f2d,_0xed0b3e=_0x470acf[_0x4e7ca9(0x1d0)]?this[_0x4e7ca9(0x148)](_0x470acf['ctx']):null;if(_0xed0b3e)return _0xed0b3e;});}return null;}[a4_0x31a60a(0x223)](_0xd21156){const _0x538774=a4_0x31a60a,_0xbf152e={};_0xbf152e[_0x538774(0x17d)]=function(_0x304389,_0x238988){return _0x304389!==_0x238988;};const _0x2f1eb4=_0xbf152e,_0x2f9e35=[];if(_0xd21156&&_0xd21156[_0x538774(0x1da)]){let _0x4adb13=_0xd21156['parent'];while(_0x4adb13&&_0x2f1eb4[_0x538774(0x17d)](_0x4adb13[_0x538774(0x1ec)],'')){_0x2f9e35[_0x538774(0x14c)](_0x4adb13[_0x538774(0x1ec)]),_0x4adb13=_0x4adb13[_0x538774(0x1da)];}}return _0x2f9e35;}['captureEvent'](_0x32e2ad,_0x525833,_0x17cf1b=undefined){const _0x18f2de=a4_0x31a60a,_0x49457c={'rYNeH':function(_0x288291,_0x34d583){return _0x288291(_0x34d583);},'dGPtt':function(_0x1e0b6e){return _0x1e0b6e();},'QoOPU':function(_0x3c0153){return _0x3c0153();},'MHQeD':function(_0x4950dd){return _0x4950dd();},'Leghg':function(_0x27d52c,_0xd2bce0){return _0x27d52c(_0xd2bce0);},'lgdzX':_0x18f2de(0x1eb),'qgIOM':'err','CKTRj':function(_0x281b33,_0xfba4c5){return _0x281b33!==_0xfba4c5;},'fsyMH':_0x18f2de(0x178),'zTfJe':_0x18f2de(0x19f),'FuPfo':_0x18f2de(0x15c),'KUpHq':_0x18f2de(0x165),'fIIZO':_0x18f2de(0x1ad),'Wdevu':_0x18f2de(0x14f),'yRhEL':function(_0x2cdb9e,_0x1af6c3){return _0x2cdb9e-_0x1af6c3;},'fSlKt':function(_0x527f49,_0x321054,_0x860fe3,_0x468b71,_0x2b11bf){return _0x527f49(_0x321054,_0x860fe3,_0x468b71,_0x2b11bf);},'HJuye':function(_0x1a5a20,_0x2c6e0a){return _0x1a5a20!==_0x2c6e0a;},'gGItZ':_0x18f2de(0x206),'hVxiH':_0x18f2de(0x15b),'bSsCp':'failure','ZkPYS':_0x18f2de(0x215),'VIebb':'backtrace','HulWR':'failure_reason_expanded','GcZoK':_0x18f2de(0x203),'XbYRe':function(_0x412bb2,_0x1cc18f){return _0x412bb2===_0x1cc18f;},'EsTxw':_0x18f2de(0x1b8),'iAFNw':'test_run'};if(!this[_0x18f2de(0x21a)])return;try{if(_0x525833['fn']&&_0x525833['fn'][_0x18f2de(0x195)]()[_0x18f2de(0x16d)](/browserstack internal helper hook/))return;const _0x332c2d=_0x49457c['rYNeH'](parseEvent,_0x32e2ad);if(!_0x332c2d)return;if(_0x332c2d[_0x18f2de(0x219)]){this['currentTest']=_0x525833,this[_0x18f2de(0x1ff)]=null;if(_0x332c2d['started']||_0x332c2d['skipped']){_0x525833[_0x18f2de(0x143)]=new Date(),_0x525833[_0x18f2de(0x1ba)]=![];if(!_0x525833[_0x18f2de(0x160)])_0x525833[_0x18f2de(0x160)]=_0x49457c['dGPtt'](uuidv4);else _0x525833[_0x18f2de(0x1ba)]&&(!_0x525833['retryOf']&&(_0x525833['retryOf']=_0x525833['testAnalyticsId']),_0x525833[_0x18f2de(0x160)]=_0x49457c[_0x18f2de(0x153)](uuidv4));}}else{if(_0x332c2d['hook']){this[_0x18f2de(0x1ff)]=_0x525833;if(_0x332c2d[_0x18f2de(0x1ca)]){_0x525833['startedAt']=new Date(),_0x525833[_0x18f2de(0x1ba)]=![];if(!_0x525833[_0x18f2de(0x169)])_0x525833['hookAnalyticsId']=_0x49457c[_0x18f2de(0x1aa)](uuidv4);else _0x525833['hookAnalyticsId']&&_0x525833[_0x18f2de(0x1ba)]&&(_0x525833[_0x18f2de(0x169)]=_0x49457c['MHQeD'](uuidv4));}}}if(_0x332c2d[_0x18f2de(0x174)]&&_0x525833[_0x18f2de(0x1ba)])return;let _0x1cd5d0;try{_0x1cd5d0=this['getRootParentFile'](_0x525833);}catch(_0x5bf9d2){logger[_0x18f2de(0x189)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x5bf9d2),_0x1cd5d0=null;}const _0x1fb297=_0x49457c[_0x18f2de(0x171)](require,_0x49457c[_0x18f2de(0x20d)]);let _0xbc0acc=[];_0x17cf1b&&(_0xbc0acc=[_0x17cf1b,_0x49457c['qgIOM']]);const _0x5099ec=_0x49457c['CKTRj'](_0x525833[_0x18f2de(0x1e0)],undefined)?_0x1fb297[_0x18f2de(0x18d)](_0x525833['errorsDetailed'][0x0]):_0x49457c[_0x18f2de(0x218)](_0x17cf1b,undefined)?_0x17cf1b[_0x18f2de(0x195)]():undefined,_0xf00384=_0x1cd5d0?this[_0x18f2de(0x1e8)](_0x1cd5d0):null,_0x227701=_0x1cd5d0?this[_0x18f2de(0x192)][_0x18f2de(0x1a1)](this['getRootParentFile'](_0x525833)):_0x49457c['fsyMH'];let _0x58fc4e=_0x49457c[_0x18f2de(0x17b)];const _0x29c6b3=!_0x332c2d[_0x18f2de(0x1ca)]?new Date()[_0x18f2de(0x19a)]():null;if(_0x332c2d['finished'])_0x58fc4e=_0x17cf1b?_0x49457c[_0x18f2de(0x1c0)]:_0x49457c['KUpHq'],_0x525833[_0x18f2de(0x1ba)]=!![];else _0x332c2d[_0x18f2de(0x1ad)]&&(_0x58fc4e=_0x49457c['fIIZO'],_0x525833[_0x18f2de(0x1ba)]=!![]);const _0x4581f4={'framework':this[_0x18f2de(0x154)],'uuid':_0x525833['testAnalyticsId']||_0x525833[_0x18f2de(0x169)],'name':_0x525833[_0x18f2de(0x1ec)],'body':{'lang':_0x49457c[_0x18f2de(0x1bf)],'code':_0x525833['body'][_0x18f2de(0x195)]()},'type':_0x525833['type'],'scope':_0x525833['fullTitle'](),'scopes':this['getHierarchy'](_0x525833),'file_name':_0x227701,'vc_filepath':_0xf00384?path[_0x18f2de(0x1b1)](_0xf00384,_0x1cd5d0):null,'location':_0x227701,'result':_0x58fc4e,'failure_reason':_0x5099ec,'duration_in_ms':_0x525833[_0x18f2de(0x1c6)]||(_0x332c2d[_0x18f2de(0x174)]||_0x332c2d[_0x18f2de(0x1ad)])?_0x49457c[_0x18f2de(0x21e)](Date[_0x18f2de(0x188)](),new Date(_0x525833[_0x18f2de(0x143)])[_0x18f2de(0x1e1)]()):null,'started_at':new Date(_0x525833[_0x18f2de(0x143)])[_0x18f2de(0x19a)](),'finished_at':_0x29c6b3,'failure':testOpsHelper['failureData']['apply'](null,_0xbc0acc),'failure_type':!_0x5099ec?null:testOpsHelper[_0x18f2de(0x1c9)](_0x5099ec),'retry_of':_0x525833[_0x18f2de(0x1a9)]||null,'tags':_0x525833[_0x18f2de(0x13a)]||[],'customRerunParam':{'rerun_name':_0x525833['fullTitle']()}};_0x49457c['fSlKt'](appendTesthubParams,_0x4581f4,_0x32e2ad,_0x525833,FRAMEWORKS[_0x18f2de(0x1cf)]);if(_0x332c2d[_0x18f2de(0x1a4)])[_0x4581f4[_0x18f2de(0x14d)],_0x4581f4[_0x18f2de(0x15d)]]=[this['getHookType'](_0x525833),_0x525833['ctx'][_0x18f2de(0x219)]['title']],_0x332c2d[_0x18f2de(0x174)]?_0x49457c[_0x18f2de(0x217)](_0x4581f4[_0x18f2de(0x1a5)],_0x49457c[_0x18f2de(0x1c0)])&&(_0x4581f4['result']=_0x49457c[_0x18f2de(0x202)]):_0x4581f4[_0x18f2de(0x1f5)]={};else _0x332c2d[_0x18f2de(0x219)]&&(this[_0x18f2de(0x1d8)](_0x525833),_0x332c2d['skipped']&&this[_0x18f2de(0x1fa)](_0x525833),(_0x332c2d[_0x18f2de(0x174)]||_0x332c2d[_0x18f2de(0x1ad)])&&(_0x4581f4[_0x18f2de(0x144)]=this[_0x18f2de(0x145)](_0x525833)));this[_0x18f2de(0x1f2)]&&(_0x332c2d[_0x18f2de(0x1ca)]||_0x332c2d['skipped'])&&(_0x4581f4[_0x49457c[_0x18f2de(0x1d7)]]=this[_0x18f2de(0x20b)](this[_0x18f2de(0x1f2)]));_0x332c2d[_0x18f2de(0x219)]&&_0x332c2d[_0x18f2de(0x174)]&&_0x525833['bddSteps']&&(_0x4581f4[_0x49457c['hVxiH']]={'feature':{'name':_0x525833['parent'][_0x18f2de(0x1bb)][_0x18f2de(0x15d)],'path':_0x4581f4[_0x18f2de(0x18a)],'description':_0x525833['parent'][_0x18f2de(0x14a)]},'scenario':{'name':_0x525833[_0x18f2de(0x1ec)]},'steps':_0x525833[_0x18f2de(0x168)]});const _0x37f543=_0x4581f4[_0x49457c[_0x18f2de(0x1fc)]][0x0];_0x37f543&&(_0x4581f4[_0x49457c[_0x18f2de(0x1e4)]]=_0x37f543[_0x49457c[_0x18f2de(0x199)]],_0x4581f4[_0x49457c[_0x18f2de(0x216)]]=_0x37f543[_0x49457c[_0x18f2de(0x1cb)]]);if(_0x525833[_0x18f2de(0x168)])for(const _0x2b9980 of _0x525833[_0x18f2de(0x168)]){!_0x2b9980[_0x18f2de(0x142)]&&(_0x2b9980[_0x18f2de(0x142)]=new Date()['toISOString'](),_0x49457c[_0x18f2de(0x177)](_0x2b9980[_0x18f2de(0x1a5)],_0x49457c['zTfJe'])&&(_0x37f543?(_0x2b9980[_0x18f2de(0x1a5)]=_0x49457c[_0x18f2de(0x1c0)],_0x2b9980['failure']=_0x37f543[_0x49457c['VIebb']][0x0]):_0x2b9980[_0x18f2de(0x1a5)]=_0x49457c[_0x18f2de(0x202)]));}const _0x15b16f={};_0x15b16f[_0x18f2de(0x1a6)]=_0x332c2d['skipped']?TEST_EVENTS[_0x18f2de(0x166)]:_0x32e2ad;const _0x13184b=_0x15b16f;return _0x332c2d[_0x18f2de(0x1a4)]?_0x13184b[_0x49457c[_0x18f2de(0x214)]]=_0x4581f4:_0x13184b[_0x49457c[_0x18f2de(0x1d5)]]=_0x4581f4,_0x13184b;}catch(_0x1c6fb7){logger[_0x18f2de(0x189)](_0x18f2de(0x184)+_0x32e2ad+'\x20with\x20error\x20:\x20'+_0x1c6fb7);}}async[a4_0x31a60a(0x155)](_0x5311b2,_0x3c62b1){const _0x400c63=a4_0x31a60a;if(!this[_0x400c63(0x21a)]||!_0x3c62b1||!_0x5311b2)return![];try{return await SessionHandler['uploadEventData'](_0x3c62b1);}catch(_0xd0d209){logger['debug'](_0x400c63(0x140)+_0x5311b2+_0x400c63(0x1c4)+_0xd0d209);}}[a4_0x31a60a(0x1b2)](_0xb7b80c){const _0xaed96c=a4_0x31a60a,_0x24b1b5={};_0x24b1b5['aKfib']='pending';const _0x2dba8d=_0x24b1b5;return{'id':_0xb7b80c['stepAnalyticsId'],'text':_0xb7b80c[_0xaed96c(0x16a)],'keyword':_0xb7b80c[_0xaed96c(0x1e5)],'started_at':_0xb7b80c[_0xaed96c(0x143)][_0xaed96c(0x19a)](),'result':_0x2dba8d[_0xaed96c(0x1b6)]};}[a4_0x31a60a(0x222)](_0x2d5f54){const _0x2f610e=a4_0x31a60a,_0x3282a5={'VmtQb':function(_0x5678fc){return _0x5678fc();}};!this[_0x2f610e(0x21f)][_0x2f610e(0x168)]&&(this[_0x2f610e(0x21f)]['bddSteps']=[]),!_0x2d5f54[_0x2f610e(0x138)]&&(_0x2d5f54['stepAnalyticsId']=_0x3282a5['VmtQb'](uuidv4),_0x2d5f54['startedAt']=new Date(),this[_0x2f610e(0x21f)][_0x2f610e(0x168)][_0x2f610e(0x14c)](this[_0x2f610e(0x1b2)](_0x2d5f54)));}[a4_0x31a60a(0x1b7)](_0x2579c4){const _0x5c404d=a4_0x31a60a,_0x4f8db7={'fEQWw':function(_0x1ce920,_0x460a74){return _0x1ce920(_0x460a74);},'wjVpm':_0x5c404d(0x136),'RCdHE':'pending','nFtSl':_0x5c404d(0x165),'ugCPc':function(_0xd83b49,_0xc401b7){return _0xd83b49-_0xc401b7;}};let _0x9b44e7=this[_0x5c404d(0x21f)][_0x5c404d(0x168)][_0x5c404d(0x1c8)](_0x164fa8=>_0x164fa8['id']===_0x2579c4[_0x5c404d(0x138)]);_0x4f8db7[_0x5c404d(0x197)](isUndefined,_0x9b44e7)&&(_0x9b44e7=this['initializeBddStep'](_0x2579c4)),_0x9b44e7[_0x5c404d(0x1a5)]=[_0x4f8db7[_0x5c404d(0x15a)],_0x4f8db7[_0x5c404d(0x201)]][_0x5c404d(0x1ee)](_0x2579c4[_0x5c404d(0x13c)])?_0x4f8db7['nFtSl']:_0x2579c4[_0x5c404d(0x13c)],_0x9b44e7['finished_at']=new Date()[_0x5c404d(0x19a)](),_0x9b44e7['duration']=_0x4f8db7[_0x5c404d(0x161)](Date['now'](),_0x2579c4['startedAt']['getTime']()),_0x9b44e7[_0x5c404d(0x21c)]=_0x2579c4[_0x5c404d(0x1c2)]?_0x2579c4[_0x5c404d(0x1c2)]['message']:null;}}const a4_0x213164={};a4_0x213164['O11yHelper']=O11yHelper,a4_0x213164['STATE_PASSED']=STATE_PASSED,a4_0x213164['STATE_FAILED']=STATE_FAILED,a4_0x213164['TEST_EVENTS']=TEST_EVENTS,module['exports']=a4_0x213164;
1
+ const a4_0x1a3b76=a4_0x204b;(function(_0x24cdda,_0x480216){const _0x3bd006=a4_0x204b,_0x2b8b45=_0x24cdda();while(!![]){try{const _0x4cb28b=-parseInt(_0x3bd006(0x13e))/0x1+-parseInt(_0x3bd006(0xd7))/0x2*(-parseInt(_0x3bd006(0x1b3))/0x3)+parseInt(_0x3bd006(0x119))/0x4+parseInt(_0x3bd006(0x155))/0x5+parseInt(_0x3bd006(0xf2))/0x6+parseInt(_0x3bd006(0x117))/0x7+-parseInt(_0x3bd006(0xe8))/0x8*(parseInt(_0x3bd006(0x169))/0x9);if(_0x4cb28b===_0x480216)break;else _0x2b8b45['push'](_0x2b8b45['shift']());}catch(_0x367aed){_0x2b8b45['push'](_0x2b8b45['shift']());}}}(a4_0xd6bb,0xed8a8));const path=require(a4_0x1a3b76(0x181)),fs=require('fs'),{v4:uuidv4}=require(a4_0x1a3b76(0x16c)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1a3b76(0x170)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x1a3b76(0x147)],SessionHandler=require(a4_0x1a3b76(0x1bf)),RequestQueueHandler=require(a4_0x1a3b76(0x1a7)),PlaywrightSessionDetails=require(a4_0x1a3b76(0x1ac)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x1a3b76(0x198)),Constants=require(a4_0x1a3b76(0x15a)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x1a3b76(0x183)),STATE_PASSED=a4_0x1a3b76(0x14c),STATE_FAILED=a4_0x1a3b76(0x13f),a4_0x507802={};function a4_0x204b(_0x320f65,_0x4b452e){const _0xd6bb92=a4_0xd6bb();return a4_0x204b=function(_0x204b7c,_0x390c36){_0x204b7c=_0x204b7c-0xd5;let _0x2bca5b=_0xd6bb92[_0x204b7c];return _0x2bca5b;},a4_0x204b(_0x320f65,_0x4b452e);}a4_0x507802[a4_0x1a3b76(0xeb)]=a4_0x1a3b76(0x1a5),a4_0x507802['TEST_RUN_FINISHED']='TestRunFinished',a4_0x507802['TEST_RUN_SKIPPED']=a4_0x1a3b76(0x17e),a4_0x507802[a4_0x1a3b76(0x1b6)]=a4_0x1a3b76(0x101),a4_0x507802[a4_0x1a3b76(0x1ae)]=a4_0x1a3b76(0x11e);function a4_0xd6bb(){const _0x53b934=['parent','rmzsK','skipped','body','_testEnv','errorsDetailed','currentTest','nFlAo','BrowserType','title','9kocyYR','XHUaT','patchConsoleLogger','uuid','sep','prototype','ZqmhK','../../helpers/helper','resetSkipTestHooks','pid','hook','PathHelper','result','groups','finished_at','dYbEb','stringify','BnsoV','RRbHC','initializeBddStep','cwd','TestRunSkipped','find','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','path','mvZiC','../../helpers/testhub/utils.js','MPWTM','IQvOz','currentHook','cZJUW','message','fOOhH','_beforeEach','mYNFI','replace','cNdQl','UMpts','file_name','uploadEventData','mvBYT','uklvI','config','file','text','fGVoq','failureData','../playwright/accessibility-helper','apply','CSDGX','duration','wXjuU','_afterEach','start','accessibilityPlatform','feature','STATE_FAILED','HIgLi','name','_afterAll','TestRunStarted','connectOverCDP','../../helpers/test-observability/requestQueueHandler','WDgen','event_type','FVlBd','test','../playwright/sessionDetails','join','HOOK_RUN_FINISHED','UlWwM','keyword','getCBTInfo','failure_reason_expanded','12qZQUzd','getHookType','JIxhj','HOOK_RUN_STARTED','comment','frameworkName','forEach','yTqMj','hook_type','File\x20path\x20could\x20not\x20be\x20found','bind','TPDln','../../helpers/test-observability/sessionHandler','VcxWg','length','_beforeAll','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_FINISHED','752306iqYEmo','PLAYWRIGHT_HUB_URL','launch','location_prefix','captureEvent','QILhk','startedAt','lDahD','uIBFV','findGitConfig','enabled','toLowerCase','mapTestHooks','RJvjr','.git','retryOf','hookAnalyticsId','31833688guWcGC','constructor','push','TEST_RUN_STARTED','DAoIz','fullTitle','ganSa','_paths','kfaIR','CODECEPT','9383574tEfZSS','setupBrowserDetails','EIyeO','NiBYK','O11yHelper','suites','statSync','toISOString','CBTSessionCreated','fCnzs','lBFpE','test_run','hooks','hook_run','finished','HookRunStarted','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','aOsQh','relative','concat','WVZtf','ZOFyH','__platformCaps','split','toString','uRhLe','debug','sendCBTInfo','expanded','lib','pending','nKYag','match','\x20with\x20error\x20:\x20','pTYMs','tjHDh','DbxDK','4423839UeXBjo','connect','6783608oWBUeX','bs:addLog:','ZTIvs','testAnalyticsId','bddStepFinish','HookRunFinished','FgAND','test_run_uuid','markedStatus','BdRXN','failure_backtrace','failure','Failed\x20to\x20parse\x20wsendpoint\x20','then','now','meta','stop','integrations','ctx','started','toUpperCase','type','__cloud_provider___','IOSgH','dUtbT','lyXzD','driver','gesrT','GDtPB','err','defineProperty','dirname','sajpw','getRootParentFile','browserType.js','dcGzQ','hdGiH','655529fxywjR','failed','stepAnalyticsId','dNJKL','includes','JQbQK','2|1|0|5|4|3','success','TEST_EVENTS','winstonLogger','hook_run_uuid','shutdown','getHierarchy','MTFqH','passed','Playwright','getHooksForTest','browserstack','qoAUC','srVjt','hVnFg','status','bddSteps','1056440emcPZK','string','appendTestItemLog','FHkdH','logs','../utils/constants','bddStepStart','epejD','rKKwM','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'];a4_0xd6bb=function(){return _0x53b934;};return a4_0xd6bb();}const TEST_EVENTS=a4_0x507802,parseEvent=_0x102980=>{const _0x35a5f5=a4_0x1a3b76,_0x492d10={};_0x492d10[_0x35a5f5(0x111)]=function(_0x4400c5,_0x3d4e5a){return _0x4400c5<_0x3d4e5a;},_0x492d10[_0x35a5f5(0x191)]=function(_0x548658,_0x4b1f0c){return _0x548658===_0x4b1f0c;},_0x492d10[_0x35a5f5(0x122)]='test',_0x492d10[_0x35a5f5(0xdf)]='hook',_0x492d10[_0x35a5f5(0x17a)]=function(_0x2e6794,_0x4b0f5a){return _0x2e6794===_0x4b0f5a;},_0x492d10['fCnzs']=_0x35a5f5(0x161),_0x492d10[_0x35a5f5(0x134)]=function(_0x20c63f,_0x4a6195){return _0x20c63f===_0x4a6195;},_0x492d10[_0x35a5f5(0x178)]='started',_0x492d10['hdGiH']=function(_0x5a327d,_0x3d61c1){return _0x5a327d===_0x3d61c1;},_0x492d10[_0x35a5f5(0x10b)]='finished';const _0x4ca031=_0x492d10,_0x24e67a=_0x102980[_0x35a5f5(0x112)](/^(.*)Run(.*)$/);if(!_0x24e67a)return null;if(_0x4ca031['nKYag'](_0x24e67a['length'],0x3))return null;const _0x52a9c6=_0x24e67a[0x1][_0x35a5f5(0xe2)](),_0xfec649=_0x24e67a[0x2][_0x35a5f5(0xe2)]();return{'test':_0x4ca031[_0x35a5f5(0x191)](_0x52a9c6,_0x4ca031[_0x35a5f5(0x122)]),'hook':_0x4ca031[_0x35a5f5(0x191)](_0x52a9c6,_0x4ca031[_0x35a5f5(0xdf)]),'skipped':_0x4ca031['BnsoV'](_0xfec649,_0x4ca031[_0x35a5f5(0xfb)]),'started':_0x4ca031[_0x35a5f5(0x134)](_0xfec649,_0x4ca031[_0x35a5f5(0x178)]),'finished':_0x4ca031[_0x35a5f5(0x13d)](_0xfec649,_0x4ca031[_0x35a5f5(0x10b)])};},mockPWBrowserType=_0x4d734c=>{const _0x1475bc=a4_0x1a3b76,_0x24eddc={'lBFpE':function(_0x33aa58,_0x1798e4,_0x45de21){return _0x33aa58(_0x1798e4,_0x45de21);},'TPDln':'wsEndpoint','HIgLi':function(_0x63d06e,_0x1e8267){return _0x63d06e(_0x1e8267);},'lDahD':_0x1475bc(0x14f),'hVnFg':function(_0xf266e7,_0x2a9627){return _0xf266e7(_0x2a9627);},'UMpts':function(_0x12d53a,_0x478005){return _0x12d53a===_0x478005;},'ZOFyH':_0x1475bc(0x156),'DbxDK':_0x1475bc(0x10f),'jwmNw':'client','EWrPA':_0x1475bc(0x13b),'FgAND':function(_0x315ad8,_0x5641bc){return _0x315ad8(_0x5641bc);},'aOsQh':_0x1475bc(0xd5),'aBdPn':_0x1475bc(0x118),'DAoIz':_0x1475bc(0xd9)},_0x251497=path[_0x1475bc(0x1ad)](_0x24eddc[_0x1475bc(0x116)],_0x24eddc['jwmNw'],_0x24eddc['EWrPA']),_0x20de7f=_0x24eddc[_0x1475bc(0x11f)](importFileFromPWCore,_0x251497);if(!_0x20de7f){_0x24eddc[_0x1475bc(0x11f)](debug,_0x24eddc[_0x1475bc(0x103)]);return;}const _0x190bf5=_0x20de7f[_0x1475bc(0x167)],_0x557db5=_0x190bf5[_0x1475bc(0x16e)];if(_0x557db5['obsBrowserTypeMockApplied'])return;const _0x5da82a=_0x557db5[_0x1475bc(0x118)];Object[_0x1475bc(0x137)](_0x557db5,_0x24eddc['aBdPn'],{'get':function(){const _0x130eb0=_0x1475bc,_0x23af34={'MTFqH':function(_0x186e7e,_0x5ceb50){const _0x496727=a4_0x204b;return _0x24eddc[_0x496727(0x18e)](_0x186e7e,_0x5ceb50);},'sajpw':_0x24eddc[_0x130eb0(0x107)]};return async function _0x284b06(_0x3857d4,_0x17f11f){const _0x68ff54=_0x130eb0,_0x2a7555=_0x24eddc[_0x68ff54(0xfc)](nestedKeyValue,_0x3857d4,[_0x24eddc[_0x68ff54(0x1be)]])||_0x3857d4;let _0x5134b9=null,_0x4fcf48=null;try{[_0x4fcf48,_0x5134b9]=_0x2a7555?_0x24eddc[_0x68ff54(0x1a2)](parseWSEndpoint,_0x2a7555):[null,null],global[_0x68ff54(0x108)]=_0x5134b9,_0x4fcf48[_0x68ff54(0x142)](_0x24eddc[_0x68ff54(0xde)])&&(global[_0x68ff54(0x12f)]=_0x24eddc[_0x68ff54(0xde)]);}catch(_0x53dc93){logger[_0x68ff54(0x10c)](_0x68ff54(0x125)+_0x2a7555+'\x20'+_0x53dc93);}_0x24eddc[_0x68ff54(0xfc)](processAccessibilityCaps,_0x5134b9,_0x4fcf48);if(global[_0x68ff54(0x19f)]){const _0x510c80=await _0x557db5[_0x68ff54(0x1a6)]['apply'](this,[''+Constants[_0x68ff54(0xd8)]+_0x24eddc[_0x68ff54(0x152)](encodeURIComponent,JSON[_0x68ff54(0x179)](_0x5134b9))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x510c80,_0x4d734c,_0x2a7555),_0x510c80;}return _0x5da82a[_0x68ff54(0x199)](this,arguments)['then'](_0x14664f=>{const _0x400d1a=_0x68ff54;let _0x3b0db8=_0x3857d4['wsEndpoint'];return _0x23af34[_0x400d1a(0x14b)](typeof _0x3857d4,_0x23af34[_0x400d1a(0x139)])&&(_0x3b0db8=_0x3857d4),PlaywrightSessionDetails[_0x400d1a(0xf3)](_0x14664f,_0x4d734c,_0x3b0db8),_0x14664f;});};}});const _0x3d6d50=_0x557db5[_0x1475bc(0xd9)];Object[_0x1475bc(0x137)](_0x557db5,_0x24eddc[_0x1475bc(0xec)],{'get':function(){return async function _0x2c8803(){const _0x4db606=a4_0x204b;return _0x3d6d50[_0x4db606(0x199)](this,arguments)[_0x4db606(0x126)](_0x2af58a=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x2af58a,null),_0x2af58a;});};}});};class O11yHelper{[a4_0x1a3b76(0x165)]=null;['currentHook']=null;[a4_0x1a3b76(0xe1)]=![];['frameworkName']=![];constructor(_0x45c4dd,_0x272b29){const _0x4580db=a4_0x1a3b76,_0x3a0982={'MPWTM':_0x4580db(0x144),'JQbQK':function(_0x594829){return _0x594829();},'FHkdH':function(_0x47d319,_0xdcd41f){return _0x47d319===_0xdcd41f;},'lyXzD':_0x4580db(0x14d),'cNdQl':function(_0x37a719,_0x295761){return _0x37a719(_0x295761);}},_0x486d08=_0x3a0982[_0x4580db(0x184)][_0x4580db(0x109)]('|');let _0x3cd24c=0x0;while(!![]){switch(_0x486d08[_0x3cd24c++]){case'0':this[_0x4580db(0x133)]=_0x45c4dd;continue;case'1':this[_0x4580db(0x1b8)]=_0x272b29['frameworkName'];continue;case'2':this['enabled']=_0x3a0982[_0x4580db(0x143)](shouldProcessEventForTesthub);continue;case'3':this[_0x4580db(0x133)]&&_0x3a0982[_0x4580db(0x158)](this[_0x4580db(0x133)][_0x4580db(0xe9)][_0x4580db(0x1a3)],_0x3a0982[_0x4580db(0x132)])&&_0x3a0982[_0x4580db(0x18d)](mockPWBrowserType,null);continue;case'4':this[_0x4580db(0xef)]=new testOpsHelper[(_0x4580db(0x174))]({'cwd':process[_0x4580db(0x17d)]()},this[_0x4580db(0x163)][_0x4580db(0xda)]);continue;case'5':this['_testEnv']=_0x3a0982['JQbQK'](getTestEnv);continue;}break;}}[a4_0x1a3b76(0x19e)](){const _0x360585=a4_0x1a3b76;if(!this['enabled'])return;testOpsHelper[_0x360585(0x16b)](),process['removeAllListeners'](_0x360585(0x11a)+process['pid']),process['on'](_0x360585(0x11a)+process[_0x360585(0x172)],this['appendTestItemLog'][_0x360585(0x1bd)](this));}async[a4_0x1a3b76(0x129)](){const _0x237de4=a4_0x1a3b76;await RequestQueueHandler['getInstance']()[_0x237de4(0x149)]();}async[a4_0x1a3b76(0x157)](_0xf47bf){const _0x599429=a4_0x1a3b76,_0x4d53e1={'dUtbT':'LogCreated','uoDAI':function(_0x370b16,_0x42555d){return _0x370b16(_0x42555d);}};try{this[_0x599429(0x186)]&&!this['currentHook'][_0x599429(0x121)]&&(_0xf47bf[_0x599429(0x148)]=this[_0x599429(0x186)][_0x599429(0xe7)]);!_0xf47bf['hook_run_uuid']&&this['currentTest']&&!this['currentTest'][_0x599429(0x121)]&&(_0xf47bf[_0x599429(0x120)]=this[_0x599429(0x165)]['testAnalyticsId']);if(_0xf47bf[_0x599429(0x148)]||_0xf47bf[_0x599429(0x120)]){const _0x14bb1b={};_0x14bb1b[_0x599429(0x1a9)]=_0x4d53e1[_0x599429(0x131)],_0x14bb1b[_0x599429(0x159)]=[_0xf47bf],await SessionHandler['uploadEventData'](_0x14bb1b);}}catch(_0x105ee0){_0x4d53e1['uoDAI'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x105ee0);}}async[a4_0x1a3b76(0x10d)](_0x31edcb){const _0xad4a66=a4_0x1a3b76,_0xf967fb={'WVZtf':_0xad4a66(0xfa),'mvZiC':function(_0xc2ba3e,_0x3ce04f){return _0xc2ba3e(_0x3ce04f);}};if(!this[_0xad4a66(0xe1)])return;const _0x368617=this['getCBTInfo'](this[_0xad4a66(0x133)]);try{const _0x39c293={};_0x39c293[_0xad4a66(0x16c)]=_0x31edcb,_0x39c293[_0xad4a66(0x12a)]=_0x368617;const _0x532fce=_0x39c293,_0x59c120={};_0x59c120[_0xad4a66(0x1a9)]=_0xf967fb[_0xad4a66(0x106)],_0x59c120['test_run']=_0x532fce,await SessionHandler[_0xad4a66(0x190)](_0x59c120);}catch(_0x4a7e26){_0xf967fb[_0xad4a66(0x182)](debug,_0xad4a66(0x15e)+_0x4a7e26);}}[a4_0x1a3b76(0x1b1)](_0x5b00a3){const _0x214f8a=a4_0x1a3b76,_0x4a8455={'JIxhj':function(_0x2fb227,_0x3708f1){return _0x2fb227(_0x3708f1);}};return _0x4a8455[_0x214f8a(0x1b5)](fetchPlatformDetails,_0x5b00a3);}[a4_0x1a3b76(0x171)]=_0x51cfa3=>{const _0x17b19e=a4_0x1a3b76,_0x56255a={};_0x56255a['YhrQi']=_0x17b19e(0x18a),_0x56255a[_0x17b19e(0xe4)]=_0x17b19e(0x19d);const _0x4d3785=_0x56255a;if(!_0x51cfa3||!_0x51cfa3[_0x17b19e(0x15f)])return;[_0x4d3785['YhrQi'],_0x4d3785[_0x17b19e(0xe4)]][_0x17b19e(0x1b9)](_0x35d698=>{const _0xcd3535=_0x17b19e,_0x4220a3=_0x51cfa3[_0xcd3535(0x15f)][_0x35d698];_0x4220a3['forEach'](_0x209f8c=>{const _0x40eab9=_0xcd3535;_0x209f8c['hookAnalyticsId']&&(_0x209f8c[_0x40eab9(0xe7)]=null);});});};['mapTestHooks'](_0x5174a0){const _0x2d5307=a4_0x1a3b76,_0x2ce210={'kfaIR':'codeceptjs','CSDGX':function(_0x2254a3){return _0x2254a3();},'FUlNq':function(_0x425875,_0x4c61e2){return _0x425875===_0x4c61e2;},'fGVoq':'_afterEach','wXjuU':_0x2d5307(0x1c2),'KkuLB':_0x2d5307(0x1a4),'UlWwM':'_beforeEach'};if(!_0x5174a0||!_0x5174a0['parent'])return;[_0x2ce210[_0x2d5307(0x19c)],_0x2ce210['KkuLB'],_0x2ce210[_0x2d5307(0x1af)],_0x2ce210[_0x2d5307(0x196)]]['forEach'](_0x416aa9=>{const _0x267c43=_0x2d5307,_0x506a8e=_0x5174a0[_0x267c43(0x15f)][_0x416aa9]||[];_0x506a8e['forEach'](_0x2ae9af=>{const _0x425b20=_0x267c43;if(_0x2ae9af['title']['includes'](_0x2ce210[_0x425b20(0xf0)]))return;if(!_0x2ae9af[_0x425b20(0xe7)])_0x2ae9af[_0x425b20(0xe7)]=_0x2ce210[_0x425b20(0x19a)](uuidv4);else _0x2ae9af['markedStatus']&&_0x2ce210['FUlNq'](_0x416aa9,_0x2ce210[_0x425b20(0x196)])&&(_0x2ae9af[_0x425b20(0xe7)]=_0x2ce210[_0x425b20(0x19a)](uuidv4),delete _0x2ae9af[_0x425b20(0x121)]);});}),this[_0x2d5307(0xe3)](_0x5174a0[_0x2d5307(0x15f)]);}['getHooksForTest'](_0x3f8b68){const _0x39f4d7=a4_0x1a3b76,_0x395368={};_0x395368[_0x39f4d7(0x185)]=_0x39f4d7(0x1c2),_0x395368['rKKwM']='_afterAll',_0x395368[_0x39f4d7(0x192)]=_0x39f4d7(0x18a),_0x395368['Dmulc']=_0x39f4d7(0x19d);const _0x2feec6=_0x395368;if(!_0x3f8b68||!_0x3f8b68[_0x39f4d7(0x15f)])return[];const _0x4df4b2=[];return[_0x2feec6['IQvOz'],_0x2feec6[_0x39f4d7(0x15d)],_0x2feec6[_0x39f4d7(0x192)],_0x2feec6['Dmulc']][_0x39f4d7(0x1b9)](_0x52f570=>{const _0x81193b=_0x39f4d7,_0x11e0aa=_0x3f8b68['parent'][_0x52f570]||[];_0x11e0aa[_0x81193b(0x1b9)](_0x5a23e8=>{const _0x84ed94=_0x81193b;_0x5a23e8[_0x84ed94(0xe7)]&&_0x4df4b2[_0x84ed94(0xea)](_0x5a23e8[_0x84ed94(0xe7)]);});}),[][_0x39f4d7(0x105)](_0x4df4b2,this['getHooksForTest'](_0x3f8b68[_0x39f4d7(0x15f)]));}[a4_0x1a3b76(0x1b4)](_0x2937f1){const _0x18c97f=a4_0x1a3b76,_0xeb96b1=/^"(?<hook>.*)" hook:.*$/,_0x38015a=_0x2937f1[_0x18c97f(0x168)],_0x40603f=_0x38015a[_0x18c97f(0x112)](_0xeb96b1);if(_0x40603f&&_0x40603f[_0x18c97f(0x176)])return _0x40603f['groups']['hook'][_0x18c97f(0x12d)]()[_0x18c97f(0x18c)]('\x20','_');return null;}[a4_0x1a3b76(0xe0)](_0x7e0881){const _0x282e47=a4_0x1a3b76,_0x51eaa8={};_0x51eaa8[_0x282e47(0x16f)]=function(_0x4155a1,_0x1e1742){return _0x4155a1===_0x1e1742;},_0x51eaa8[_0x282e47(0x160)]=function(_0x475bf4,_0x43bae5){return _0x475bf4===_0x43bae5;},_0x51eaa8[_0x282e47(0x13c)]=_0x282e47(0xe5),_0x51eaa8[_0x282e47(0x141)]=_0x282e47(0x193);const _0x5d16fe=_0x51eaa8,_0x499333=path[_0x282e47(0x16d)];if(_0x5d16fe[_0x282e47(0x16f)](_0x7e0881,null)||_0x5d16fe[_0x282e47(0x16f)](_0x7e0881,'')||_0x5d16fe[_0x282e47(0x160)](_0x7e0881,_0x499333)||_0x5d16fe[_0x282e47(0x160)](_0x7e0881,path[_0x282e47(0x138)](_0x7e0881)))return null;try{return fs[_0x282e47(0xf8)](path[_0x282e47(0x1ad)](_0x7e0881,_0x5d16fe[_0x282e47(0x13c)],_0x5d16fe['dNJKL'])),_0x7e0881;}catch(_0x37ba7f){const _0x4de7a4=path['dirname'](_0x7e0881);return this[_0x282e47(0xe0)](_0x4de7a4);}}[a4_0x1a3b76(0x13a)](_0x386a31){const _0x4cba3c=a4_0x1a3b76,_0x44876e={};_0x44876e[_0x4cba3c(0x115)]=function(_0x5354c2,_0x1fd526){return _0x5354c2>_0x1fd526;};const _0x5f55bf=_0x44876e;if(_0x386a31[_0x4cba3c(0x194)])return _0x386a31['file'];if(_0x386a31[_0x4cba3c(0x12b)]){const _0x363f61=_0x386a31[_0x4cba3c(0x12b)][_0x4cba3c(0x165)]?this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x12b)][_0x4cba3c(0x165)]):null;if(_0x363f61)return _0x363f61;}if(_0x386a31['parent']){const _0xd02f77=this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x15f)])||(_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0x12b)]&&_0x386a31[_0x4cba3c(0x15f)]['ctx'][_0x4cba3c(0x165)]?this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0x12b)][_0x4cba3c(0x165)]):null);if(_0xd02f77)return _0xd02f77;_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0xf7)]&&_0x5f55bf[_0x4cba3c(0x115)](_0x386a31[_0x4cba3c(0x15f)]['suites'][_0x4cba3c(0x1c1)],0x0)&&_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0xf7)]['forEach'](_0x281fc9=>{const _0x3b5360=_0x4cba3c,_0x237891=_0x281fc9[_0x3b5360(0x12b)]?this[_0x3b5360(0x13a)](_0x281fc9[_0x3b5360(0x12b)]):null;if(_0x237891)return _0x237891;});}return null;}[a4_0x1a3b76(0x14a)](_0x4491a3){const _0x5bc974=a4_0x1a3b76,_0x7e86db={};_0x7e86db[_0x5bc974(0x1a8)]=function(_0xd57aaf,_0x4ce41c){return _0xd57aaf!==_0x4ce41c;};const _0x15d145=_0x7e86db,_0x57e7b0=[];if(_0x4491a3&&_0x4491a3[_0x5bc974(0x15f)]){let _0x5883b9=_0x4491a3['parent'];while(_0x5883b9&&_0x15d145[_0x5bc974(0x1a8)](_0x5883b9[_0x5bc974(0x168)],'')){_0x57e7b0[_0x5bc974(0xea)](_0x5883b9[_0x5bc974(0x168)]),_0x5883b9=_0x5883b9[_0x5bc974(0x15f)];}}return _0x57e7b0;}[a4_0x1a3b76(0xdb)](_0x41c2e2,_0x28df9a,_0x1f180f=undefined){const _0x56a999=a4_0x1a3b76,_0xa2cca2={'OxVow':function(_0x470227,_0x1f90c9){return _0x470227(_0x1f90c9);},'NiBYK':function(_0x33a8e3){return _0x33a8e3();},'LbhWO':function(_0x71dbfa){return _0x71dbfa();},'ganSa':function(_0x3bff05){return _0x3bff05();},'RRbHC':function(_0x4650f8){return _0x4650f8();},'epejD':function(_0xeeff44,_0x1163c0){return _0xeeff44(_0x1163c0);},'HkKYX':'util','uBEnn':_0x56a999(0x136),'srVjt':function(_0x3efee8,_0x34a351){return _0x3efee8!==_0x34a351;},'smPNK':_0x56a999(0x1bc),'VcxWg':_0x56a999(0x110),'QILhk':_0x56a999(0x13f),'XHUaT':_0x56a999(0x14c),'WTqZR':_0x56a999(0x161),'mYNFI':'javascript','qoAUC':function(_0x57733a,_0x20cefc){return _0x57733a-_0x20cefc;},'pJnNo':function(_0x4c4472,_0x47f35e,_0x53b1fb,_0x3ce8d3,_0x4f66f9){return _0x4c4472(_0x47f35e,_0x53b1fb,_0x3ce8d3,_0x4f66f9);},'IHfWD':_0x56a999(0x12a),'DIArx':_0x56a999(0x128),'fOOhH':_0x56a999(0x124),'PGFrD':_0x56a999(0x123),'yTqMj':'backtrace','SFlFI':_0x56a999(0x1b2),'pTYMs':_0x56a999(0x10e),'nFlAo':function(_0x2abbf6,_0x1734b5){return _0x2abbf6===_0x1734b5;},'EIyeO':_0x56a999(0xff),'ZaAYu':_0x56a999(0xfd)};if(!this['enabled'])return;try{if(_0x28df9a['fn']&&_0x28df9a['fn'][_0x56a999(0x10a)]()[_0x56a999(0x112)](/browserstack internal helper hook/))return;const _0x671e7a=_0xa2cca2['OxVow'](parseEvent,_0x41c2e2);if(!_0x671e7a)return;if(_0x671e7a[_0x56a999(0x1ab)]){this[_0x56a999(0x165)]=_0x28df9a,this[_0x56a999(0x186)]=null;if(_0x671e7a[_0x56a999(0x12c)]||_0x671e7a[_0x56a999(0x161)]){_0x28df9a[_0x56a999(0xdd)]=new Date(),_0x28df9a[_0x56a999(0x121)]=![];if(!_0x28df9a['testAnalyticsId'])_0x28df9a['testAnalyticsId']=_0xa2cca2[_0x56a999(0xf5)](uuidv4);else _0x28df9a[_0x56a999(0x121)]&&(!_0x28df9a[_0x56a999(0xe6)]&&(_0x28df9a[_0x56a999(0xe6)]=_0x28df9a[_0x56a999(0x11c)]),_0x28df9a['testAnalyticsId']=_0xa2cca2['LbhWO'](uuidv4));}}else{if(_0x671e7a[_0x56a999(0x173)]){this[_0x56a999(0x186)]=_0x28df9a;if(_0x671e7a[_0x56a999(0x12c)]){_0x28df9a[_0x56a999(0xdd)]=new Date(),_0x28df9a[_0x56a999(0x121)]=![];if(!_0x28df9a['hookAnalyticsId'])_0x28df9a[_0x56a999(0xe7)]=_0xa2cca2[_0x56a999(0xee)](uuidv4);else _0x28df9a['hookAnalyticsId']&&_0x28df9a['markedStatus']&&(_0x28df9a[_0x56a999(0xe7)]=_0xa2cca2[_0x56a999(0x17b)](uuidv4));}}}if(_0x671e7a[_0x56a999(0x100)]&&_0x28df9a[_0x56a999(0x121)])return;let _0x4ba426;try{_0x4ba426=this[_0x56a999(0x13a)](_0x28df9a);}catch(_0x1c0fda){logger[_0x56a999(0x10c)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x1c0fda),_0x4ba426=null;}const _0x3a846f=_0xa2cca2[_0x56a999(0x15c)](require,_0xa2cca2['HkKYX']);let _0x749f05=[];_0x1f180f&&(_0x749f05=[_0x1f180f,_0xa2cca2['uBEnn']]);const _0x38f37a=_0xa2cca2['srVjt'](_0x28df9a[_0x56a999(0x164)],undefined)?_0x3a846f['inspect'](_0x28df9a[_0x56a999(0x164)][0x0]):_0xa2cca2[_0x56a999(0x151)](_0x1f180f,undefined)?_0x1f180f[_0x56a999(0x10a)]():undefined,_0x39c94f=_0x4ba426?this[_0x56a999(0xe0)](_0x4ba426):null,_0x1da501=_0x4ba426?this['_paths']['prefixTestPath'](this[_0x56a999(0x13a)](_0x28df9a)):_0xa2cca2['smPNK'];let _0x51c747=_0xa2cca2['VcxWg'];const _0x3e0ee4=!_0x671e7a[_0x56a999(0x12c)]?new Date()[_0x56a999(0xf9)]():null;if(_0x671e7a[_0x56a999(0x100)])_0x51c747=_0x1f180f?_0xa2cca2[_0x56a999(0xdc)]:_0xa2cca2[_0x56a999(0x16a)],_0x28df9a['markedStatus']=!![];else _0x671e7a[_0x56a999(0x161)]&&(_0x51c747=_0xa2cca2['WTqZR'],_0x28df9a['markedStatus']=!![]);const _0x569b00={'framework':this[_0x56a999(0x1b8)],'uuid':_0x28df9a[_0x56a999(0x11c)]||_0x28df9a[_0x56a999(0xe7)],'name':_0x28df9a[_0x56a999(0x168)],'body':{'lang':_0xa2cca2[_0x56a999(0x18b)],'code':_0x28df9a[_0x56a999(0x162)][_0x56a999(0x10a)]()},'type':_0x28df9a[_0x56a999(0x12e)],'scope':_0x28df9a[_0x56a999(0xed)](),'scopes':this['getHierarchy'](_0x28df9a),'file_name':_0x1da501,'vc_filepath':_0x39c94f?path[_0x56a999(0x104)](_0x39c94f,_0x4ba426):null,'location':_0x1da501,'result':_0x51c747,'failure_reason':_0x38f37a,'duration_in_ms':_0x28df9a['duration']||(_0x671e7a['finished']||_0x671e7a[_0x56a999(0x161)])?_0xa2cca2[_0x56a999(0x150)](Date[_0x56a999(0x127)](),new Date(_0x28df9a[_0x56a999(0xdd)])['getTime']()):null,'started_at':new Date(_0x28df9a[_0x56a999(0xdd)])['toISOString'](),'finished_at':_0x3e0ee4,'failure':testOpsHelper[_0x56a999(0x197)][_0x56a999(0x199)](null,_0x749f05),'failure_type':!_0x38f37a?null:testOpsHelper['getFailureType'](_0x38f37a),'retry_of':_0x28df9a[_0x56a999(0xe6)]||null,'tags':_0x28df9a['tags']||[],'customRerunParam':{'rerun_name':_0x28df9a['fullTitle']()}};_0xa2cca2['pJnNo'](appendTesthubParams,_0x569b00,_0x41c2e2,_0x28df9a,FRAMEWORKS[_0x56a999(0xf1)]);if(_0x671e7a[_0x56a999(0x173)])[_0x569b00[_0x56a999(0x1bb)],_0x569b00[_0x56a999(0x1a3)]]=[this['getHookType'](_0x28df9a),_0x28df9a['ctx'][_0x56a999(0x1ab)][_0x56a999(0x168)]],_0x671e7a[_0x56a999(0x100)]?_0xa2cca2[_0x56a999(0x151)](_0x569b00[_0x56a999(0x175)],_0xa2cca2[_0x56a999(0xdc)])&&(_0x569b00[_0x56a999(0x175)]=_0xa2cca2[_0x56a999(0x16a)]):_0x569b00[_0x56a999(0x162)]={};else _0x671e7a[_0x56a999(0x1ab)]&&(this[_0x56a999(0xe3)](_0x28df9a),_0x671e7a['skipped']&&this[_0x56a999(0x171)](_0x28df9a),(_0x671e7a[_0x56a999(0x100)]||_0x671e7a[_0x56a999(0x161)])&&(_0x569b00[_0x56a999(0xfe)]=this[_0x56a999(0x14e)](_0x28df9a)));this[_0x56a999(0x133)]&&(_0x671e7a[_0x56a999(0x12c)]||_0x671e7a[_0x56a999(0x161)])&&(_0x569b00[_0xa2cca2['IHfWD']]=this['getCBTInfo'](this[_0x56a999(0x133)]));_0x671e7a[_0x56a999(0x1ab)]&&_0x671e7a[_0x56a999(0x100)]&&_0x28df9a[_0x56a999(0x154)]&&(_0x569b00[_0xa2cca2['DIArx']]={'feature':{'name':_0x28df9a['parent'][_0x56a999(0x1a0)]['name'],'path':_0x569b00[_0x56a999(0x18f)],'description':_0x28df9a[_0x56a999(0x15f)][_0x56a999(0x1b7)]},'scenario':{'name':_0x28df9a['title']},'steps':_0x28df9a[_0x56a999(0x154)]});const _0x1fe8f2=_0x569b00[_0xa2cca2[_0x56a999(0x189)]][0x0];_0x1fe8f2&&(_0x569b00[_0xa2cca2['PGFrD']]=_0x1fe8f2[_0xa2cca2[_0x56a999(0x1ba)]],_0x569b00[_0xa2cca2['SFlFI']]=_0x1fe8f2[_0xa2cca2[_0x56a999(0x114)]]);if(_0x28df9a[_0x56a999(0x154)])for(const _0x9cfd2 of _0x28df9a['bddSteps']){!_0x9cfd2[_0x56a999(0x177)]&&(_0x9cfd2[_0x56a999(0x177)]=new Date()[_0x56a999(0xf9)](),_0xa2cca2[_0x56a999(0x166)](_0x9cfd2[_0x56a999(0x175)],_0xa2cca2[_0x56a999(0x1c0)])&&(_0x1fe8f2?(_0x9cfd2['result']=_0xa2cca2['QILhk'],_0x9cfd2['failure']=_0x1fe8f2[_0xa2cca2['yTqMj']][0x0]):_0x9cfd2[_0x56a999(0x175)]=_0xa2cca2[_0x56a999(0x16a)]));}const _0x59e827={};_0x59e827[_0x56a999(0x1a9)]=_0x671e7a['skipped']?TEST_EVENTS[_0x56a999(0xd6)]:_0x41c2e2;const _0x5835ae=_0x59e827;return _0x671e7a[_0x56a999(0x173)]?_0x5835ae[_0xa2cca2[_0x56a999(0xf4)]]=_0x569b00:_0x5835ae[_0xa2cca2['ZaAYu']]=_0x569b00,_0x5835ae;}catch(_0x43a47c){logger['debug'](_0x56a999(0x102)+_0x41c2e2+_0x56a999(0x113)+_0x43a47c);}}async['fireEvent'](_0x18b526,_0x3451bb){const _0x30ea39=a4_0x1a3b76;if(!this[_0x30ea39(0xe1)]||!_0x3451bb||!_0x18b526)return![];try{return await SessionHandler[_0x30ea39(0x190)](_0x3451bb);}catch(_0x327ae4){logger[_0x30ea39(0x10c)](_0x30ea39(0x180)+_0x18b526+_0x30ea39(0x113)+_0x327ae4);}}['initializeBddStep'](_0x32d01c){const _0x445a46=a4_0x1a3b76,_0x4e3c3a={};_0x4e3c3a[_0x445a46(0x130)]='pending';const _0x16d914=_0x4e3c3a;return{'id':_0x32d01c[_0x445a46(0x140)],'text':_0x32d01c[_0x445a46(0x195)],'keyword':_0x32d01c[_0x445a46(0x1b0)],'started_at':_0x32d01c['startedAt'][_0x445a46(0xf9)](),'result':_0x16d914[_0x445a46(0x130)]};}[a4_0x1a3b76(0x15b)](_0x25c6dc){const _0x55c2d7=a4_0x1a3b76,_0x47922b={'KTWTl':function(_0x4b46b4){return _0x4b46b4();}};!this[_0x55c2d7(0x165)]['bddSteps']&&(this[_0x55c2d7(0x165)][_0x55c2d7(0x154)]=[]),!_0x25c6dc[_0x55c2d7(0x140)]&&(_0x25c6dc['stepAnalyticsId']=_0x47922b['KTWTl'](uuidv4),_0x25c6dc['startedAt']=new Date(),this[_0x55c2d7(0x165)]['bddSteps'][_0x55c2d7(0xea)](this[_0x55c2d7(0x17c)](_0x25c6dc)));}[a4_0x1a3b76(0x11d)](_0x52fa4b){const _0x26ec66=a4_0x1a3b76,_0xae2c8e={'YwxRP':function(_0x39310f,_0x4b4cf7){return _0x39310f(_0x4b4cf7);},'GDtPB':_0x26ec66(0x145),'cZJUW':_0x26ec66(0x110),'FVlBd':_0x26ec66(0x14c),'ZTIvs':function(_0x227feb,_0x11faa2){return _0x227feb-_0x11faa2;}};let _0x4e7b83=this[_0x26ec66(0x165)][_0x26ec66(0x154)][_0x26ec66(0x17f)](_0xf0ce4=>_0xf0ce4['id']===_0x52fa4b['stepAnalyticsId']);_0xae2c8e['YwxRP'](isUndefined,_0x4e7b83)&&(_0x4e7b83=this[_0x26ec66(0x17c)](_0x52fa4b)),_0x4e7b83['result']=[_0xae2c8e[_0x26ec66(0x135)],_0xae2c8e[_0x26ec66(0x187)]][_0x26ec66(0x142)](_0x52fa4b[_0x26ec66(0x153)])?_0xae2c8e[_0x26ec66(0x1aa)]:_0x52fa4b[_0x26ec66(0x153)],_0x4e7b83['finished_at']=new Date()[_0x26ec66(0xf9)](),_0x4e7b83[_0x26ec66(0x19b)]=_0xae2c8e[_0x26ec66(0x11b)](Date[_0x26ec66(0x127)](),_0x52fa4b[_0x26ec66(0xdd)]['getTime']()),_0x4e7b83[_0x26ec66(0x124)]=_0x52fa4b[_0x26ec66(0x136)]?_0x52fa4b[_0x26ec66(0x136)][_0x26ec66(0x188)]:null;}}const a4_0x4bcab2={};a4_0x4bcab2[a4_0x1a3b76(0xf6)]=O11yHelper,a4_0x4bcab2['STATE_PASSED']=STATE_PASSED,a4_0x4bcab2[a4_0x1a3b76(0x1a1)]=STATE_FAILED,a4_0x4bcab2[a4_0x1a3b76(0x146)]=TEST_EVENTS,module['exports']=a4_0x4bcab2;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x245721=a5_0x49dd;(function(_0x3b7af0,_0x3f2097){const _0x5c15bb=a5_0x49dd,_0x148e11=_0x3b7af0();while(!![]){try{const _0x236a74=parseInt(_0x5c15bb(0x1cd))/0x1+-parseInt(_0x5c15bb(0x18d))/0x2+parseInt(_0x5c15bb(0x1ce))/0x3*(parseInt(_0x5c15bb(0x1d9))/0x4)+-parseInt(_0x5c15bb(0x1df))/0x5*(-parseInt(_0x5c15bb(0x1eb))/0x6)+parseInt(_0x5c15bb(0x1da))/0x7*(parseInt(_0x5c15bb(0x190))/0x8)+-parseInt(_0x5c15bb(0x1bd))/0x9*(-parseInt(_0x5c15bb(0x1d3))/0xa)+parseInt(_0x5c15bb(0x1be))/0xb*(-parseInt(_0x5c15bb(0x1e1))/0xc);if(_0x236a74===_0x3f2097)break;else _0x148e11['push'](_0x148e11['shift']());}catch(_0x2d8919){_0x148e11['push'](_0x148e11['shift']());}}}(a5_0x339e,0xe2161));function a5_0x49dd(_0x234731,_0x5c0f88){const _0x339e94=a5_0x339e();return a5_0x49dd=function(_0x49ddf3,_0x51343f){_0x49ddf3=_0x49ddf3-0x178;let _0x2bebaf=_0x339e94[_0x49ddf3];return _0x2bebaf;},a5_0x49dd(_0x234731,_0x5c0f88);}const fs=require('fs'),path=require(a5_0x245721(0x181)),util=require(a5_0x245721(0x17d)),logger=require(a5_0x245721(0x1a6))[a5_0x245721(0x1d8)],{default:BrowserStackSetup}=require(a5_0x245721(0x189)),helper=require(a5_0x245721(0x1ad)),utilities=require(a5_0x245721(0x1d1)),constants=require(a5_0x245721(0x18a)),{parallelCucumberRun}=require(a5_0x245721(0x197)),TestHubHandler=require(a5_0x245721(0x1c1)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk');function printCucumberStats(_0x200751){const _0xdda0af=a5_0x245721,_0xc7f143={};_0xc7f143['esfZF']=function(_0x5be181,_0x1492c8){return _0x5be181>_0x1492c8;},_0xc7f143[_0xdda0af(0x1d5)]=function(_0x17a41a,_0x14e69d){return _0x17a41a-_0x14e69d;},_0xc7f143['hVWdJ']=function(_0xefa96c,_0x47e4fe){return _0xefa96c-_0x47e4fe;},_0xc7f143[_0xdda0af(0x1b4)]=function(_0x5e9f0f,_0x320141){return _0x5e9f0f>_0x320141;},_0xc7f143['GcXuL']=function(_0x301a77,_0x5759d6){return _0x301a77>_0x5759d6;},_0xc7f143[_0xdda0af(0x18e)]=function(_0x1168ce,_0x414ab5){return _0x1168ce>_0x414ab5;},_0xc7f143['AnwPn']=function(_0x4835fe,_0x34a80b){return _0x4835fe>_0x34a80b;},_0xc7f143[_0xdda0af(0x19b)]=function(_0x5a9955,_0xc48f82){return _0x5a9955>_0xc48f82;},_0xc7f143[_0xdda0af(0x1af)]=function(_0x27e277,_0x26b234){return _0x27e277>_0x26b234;},_0xc7f143['DMHHB']=function(_0x1249fb,_0x2e9f42){return _0x1249fb>_0x2e9f42;},_0xc7f143[_0xdda0af(0x19a)]=function(_0x549332,_0x3c3a81){return _0x549332>_0x3c3a81;},_0xc7f143['sNkQu']=function(_0x41b36c,_0x3fa567){return _0x41b36c+_0x3fa567;},_0xc7f143['IklDJ']=function(_0x3a500c,_0x15e735){return _0x3a500c+_0x15e735;},_0xc7f143[_0xdda0af(0x196)]=function(_0x173838,_0x54f640){return _0x173838+_0x54f640;},_0xc7f143[_0xdda0af(0x17e)]=function(_0x16ba62,_0x80fa50){return _0x16ba62===_0x80fa50;},_0xc7f143[_0xdda0af(0x188)]=function(_0x4df4f8,_0x535829){return _0x4df4f8===_0x535829;},_0xc7f143[_0xdda0af(0x183)]=_0xdda0af(0x1bf);const _0x47436e=_0xc7f143;let _0xaaf92a=0x0;if(_0x47436e[_0xdda0af(0x188)](_0x200751[_0xdda0af(0x191)],0x0))return _0xaaf92a;return console[_0xdda0af(0x1c0)](chalk[_0xdda0af(0x1c2)][_0xdda0af(0x17c)](_0x47436e[_0xdda0af(0x183)])),_0x200751[_0xdda0af(0x187)](_0xe5dc63=>{const _0x2f3212=_0xdda0af,_0x2ddd0e=_0xe5dc63[0x0],_0xbb930c=_0xe5dc63[0x1];console['log']('\x0a'+chalk[_0x2f3212(0x1c2)][_0x2f3212(0x1c7)](''+helper[_0x2f3212(0x1b3)](_0x2ddd0e)));const _0x57a350=_0xbb930c[_0x2f3212(0x1e7)],_0x5c2c44=_0xbb930c[_0x2f3212(0x1dc)],_0x407eef=_0xbb930c[_0x2f3212(0x1ab)],_0x281160=_0xbb930c[_0x2f3212(0x18f)],_0x15a163=_0xbb930c['stepsPassed'],_0x357db5=_0xbb930c[_0x2f3212(0x1e5)],_0x26cf9f=_0xbb930c[_0x2f3212(0x19c)],_0x3da8b6=_0xbb930c['stepsUndefined'],_0x160dc5=_0xbb930c['stepsUnknown'],_0x156086=_0xbb930c[_0x2f3212(0x1ca)],_0x5cb571=_0xbb930c[_0x2f3212(0x1bc)];let _0x46b0fc=_0x57a350+_0x2f3212(0x1c9);const _0x4405b0=_0x47436e['esfZF'](_0x47436e[_0x2f3212(0x1d5)](_0x57a350,_0x407eef),0x0)?_0x47436e['hVWdJ'](_0x57a350,_0x407eef):0x0;if(_0x47436e[_0x2f3212(0x1b4)](_0x407eef,0x0)&&_0x47436e[_0x2f3212(0x1b4)](_0x4405b0,0x0))_0x46b0fc+='\x20('+chalk[_0x2f3212(0x1c2)][_0x2f3212(0x1b1)](_0x407eef+_0x2f3212(0x1e2))+',\x20'+chalk[_0x2f3212(0x1c2)][_0x2f3212(0x182)](_0x4405b0+_0x2f3212(0x1ba))+')';else(_0x47436e[_0x2f3212(0x1a2)](_0x407eef,0x0)||_0x47436e[_0x2f3212(0x18e)](_0x4405b0,0x0))&&(_0x46b0fc+=_0x47436e[_0x2f3212(0x1b4)](_0x407eef,0x0)?'\x20('+chalk['bold'][_0x2f3212(0x1b1)](_0x407eef+'\x20failed')+')':'\x20('+chalk[_0x2f3212(0x1c2)]['green'](_0x4405b0+_0x2f3212(0x1ba))+')');const _0x5803ec=_0x5c2c44+_0x2f3212(0x1ed),_0x19d37=[];_0x47436e[_0x2f3212(0x1e4)](_0x156086,0x0)&&_0x19d37[_0x2f3212(0x184)](''+chalk[_0x2f3212(0x1c2)][_0x2f3212(0x1b1)](_0x156086+_0x2f3212(0x185)));_0x47436e[_0x2f3212(0x19b)](_0x281160,0x0)&&_0x19d37[_0x2f3212(0x184)](''+chalk[_0x2f3212(0x1c2)]['red'](_0x281160+_0x2f3212(0x1e2)));_0x47436e[_0x2f3212(0x1af)](_0x15a163,0x0)&&_0x19d37[_0x2f3212(0x184)](''+chalk[_0x2f3212(0x1c2)]['green'](_0x15a163+_0x2f3212(0x1ba)));_0x47436e['DMHHB'](_0x26cf9f,0x0)&&_0x19d37[_0x2f3212(0x184)](''+chalk[_0x2f3212(0x1c2)][_0x2f3212(0x1c7)](_0x26cf9f+_0x2f3212(0x19e)));_0x47436e[_0x2f3212(0x19a)](_0x357db5,0x0)&&_0x19d37['push'](''+chalk[_0x2f3212(0x1c2)][_0x2f3212(0x179)](_0x357db5+_0x2f3212(0x1ea)));_0x47436e['esfZF'](_0x3da8b6,0x0)&&_0x19d37[_0x2f3212(0x184)](''+chalk[_0x2f3212(0x1c2)][_0x2f3212(0x1c7)](_0x3da8b6+_0x2f3212(0x1ec)));_0x47436e[_0x2f3212(0x1e4)](_0x160dc5,0x0)&&_0x19d37[_0x2f3212(0x184)](''+chalk[_0x2f3212(0x1c2)]['yellow'](_0x160dc5+_0x2f3212(0x1ea)));const _0x2f14ff=_0x47436e[_0x2f3212(0x19f)](_0x47436e[_0x2f3212(0x19f)](_0x47436e[_0x2f3212(0x19f)](_0x5803ec,'('),_0x19d37['join'](',\x20')),')');console['log'](_0x47436e[_0x2f3212(0x1e8)](_0x47436e[_0x2f3212(0x196)](_0x47436e[_0x2f3212(0x19f)](_0x47436e[_0x2f3212(0x19f)]('\x0a',_0x46b0fc),'\x0a'),_0x2f14ff),'\x0a')),_0x47436e[_0x2f3212(0x17e)](_0x5cb571,![])&&(_0xaaf92a=0x1);}),_0xaaf92a;}function a5_0x339e(){const _0x4dba76=['createDir','rmdirSync','cwhiG','aTyTo','../test-runner','env','false','gvTZG','YeoaN','stepsPending','markSDKSetupComplete','\x20pending','sNkQu','join','initialize','GcXuL','setupTCGAuth','removeDir','EBnFQ','../../helpers/logger','printBuildLink','ZLVPD','getUserWorkerCount','accessibilityOptions','scenariosFailed','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/helper','YlLjh','jSZUe','splice','red','getTCGConfigFilePaths','getPlatformName','QfieR','rdHlv','turboScaleUrl','getHubUrl','isUndefined','prepareCapabilities','\x20passed','error\x20removing\x20tcg\x20config\x20file','processSuccess','1700757EwTQHm','9633503bIpjuy','****\x20RESULTS\x20****','log','../../helpers/testhub/testhubHandler','bold','cwd','isBrowserstackInfra','CUCUMBER','skipSessionStatus','yellow','testObservability','\x20scenarios','stepsAmbiguous','CZVzo','tmp','193156ncKEzk','1034157bjlXpo','errorMessage','finally','../../helpers/utilities','config','70kyPoWv','LeLyT','rvzEy','stringify','getErrorMessageFromResults','winstonLogger','8bDDGJA','35XTiZjh','debug','steps','logLevel','format','1120gyPCyN','exports','12PUHoFo','\x20failed','then','AnwPn','stepsSkipped','BROWSERSTACK_TEST_OBSERVABILITY_YML','scenarios','IklDJ','handleApp','\x20skipped','13314IJlZdX','\x20undefined','\x20steps','Removing\x20tmp\x20directory\x20created\x20for\x20reports','POjiy','FRAMEWORKS','cyan','testContextOptions','stop','bgWhite','util','FrpSN','yrMrB','NfUGp','path','green','OZjmd','push','\x20ambiguous','finalExecution','forEach','OrHlH','../../helpers/BrowserStackSetup','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jmYjc','2543188fBNuxr','VeBBI','stepsFailed','593528SwHJQz','length','Generating\x20consolidated\x20report...'];a5_0x339e=function(){return _0x4dba76;};return a5_0x339e();}async function run(_0x424ccf,_0x4e1094){const _0x3cc242=a5_0x245721,_0x219c76={'GGNFD':function(_0x349b82,_0x134967){return _0x349b82(_0x134967);},'yrMrB':function(_0x770b78,_0x1a369a){return _0x770b78>_0x1a369a;},'POjiy':_0x3cc242(0x192),'EBnFQ':_0x3cc242(0x1ee),'cwhiG':'cucumber','DUrYP':_0x3cc242(0x1bb),'NfUGp':'cucumber-js','jmYjc':_0x3cc242(0x1cc),'YlLjh':function(_0x41a123,_0x97a60e){return _0x41a123-_0x97a60e;},'LeLyT':function(_0x3b34f0,_0x2a03cf){return _0x3b34f0>=_0x2a03cf;},'rdHlv':function(_0x936912,_0x1b57bf){return _0x936912!=_0x1b57bf;},'CZVzo':_0x3cc242(0x199),'ZLVPD':function(_0x3bf289,_0x3819e9,_0xd9f0f5,_0x552617,_0x56c6c1,_0x1149ff){return _0x3bf289(_0x3819e9,_0xd9f0f5,_0x552617,_0x56c6c1,_0x1149ff);}},_0x2e5dd5=new BrowserStackSetup(_0x424ccf,_0x219c76[_0x3cc242(0x180)]);await _0x2e5dd5[_0x3cc242(0x1a1)]();!helper[_0x3cc242(0x1c4)]()&&await _0x2e5dd5[_0x3cc242(0x1a3)]();await helper[_0x3cc242(0x1e9)](_0x2e5dd5[_0x3cc242(0x1d2)]);const _0x517f93=helper['useW3C'](_0x2e5dd5[_0x3cc242(0x1d2)]),_0x4d197e=helper[_0x3cc242(0x1b9)](_0x2e5dd5['config'],_0x517f93,constants[_0x3cc242(0x178)][_0x3cc242(0x1c5)]);if(!_0x2e5dd5['config'])return;const _0x48d5ab=_0x2e5dd5[_0x3cc242(0x1d2)]['parallelsPerPlatform']||helper[_0x3cc242(0x1a9)](_0x424ccf,_0x4e1094,_0x2e5dd5[_0x3cc242(0x1d2)],constants[_0x3cc242(0x178)]['CUCUMBER'])||0x1,_0x44fb38={'server':helper[_0x3cc242(0x1b7)](_0x2e5dd5[_0x3cc242(0x1d2)]),'proxySettings':_0x2e5dd5[_0x3cc242(0x1d2)]['proxySettings'],'maxWorkers':_0x48d5ab,'browserStackLogLevel':_0x2e5dd5[_0x3cc242(0x1d2)][_0x3cc242(0x1dd)],'skipSessionName':_0x2e5dd5[_0x3cc242(0x1d2)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x2e5dd5[_0x3cc242(0x1d2)][_0x3cc242(0x17a)][_0x3cc242(0x1c6)],'turboScaleUrl':_0x2e5dd5[_0x3cc242(0x1d2)][_0x3cc242(0x1b6)]},_0x15b656=process['argv'],[_0x450312,_0x36e710]=helper['parseFormatters'](_0x15b656),_0x5c8f18=path[_0x3cc242(0x1a0)](process[_0x3cc242(0x1c3)](),_0x219c76[_0x3cc242(0x18c)]);if(_0x219c76[_0x3cc242(0x17f)](_0x36e710['length'],0x0)){helper[_0x3cc242(0x193)](_0x5c8f18);for(let _0x24e900=_0x219c76[_0x3cc242(0x1ae)](_0x450312[_0x3cc242(0x191)],0x1);_0x219c76[_0x3cc242(0x1d4)](_0x24e900,0x0);_0x24e900--){_0x15b656[_0x3cc242(0x1b0)](_0x450312[_0x24e900],0x2);}}!helper[_0x3cc242(0x1b8)](_0x2e5dd5['config'][_0x3cc242(0x1aa)])&&(process[_0x3cc242(0x198)][_0x3cc242(0x18b)]=JSON[_0x3cc242(0x1d6)](_0x2e5dd5[_0x3cc242(0x1d2)][_0x3cc242(0x1aa)]));_0x219c76[_0x3cc242(0x1b5)](_0x2e5dd5[_0x3cc242(0x1d2)][_0x3cc242(0x1c8)],null)?process[_0x3cc242(0x198)][_0x3cc242(0x1e6)]=_0x2e5dd5[_0x3cc242(0x1d2)][_0x3cc242(0x1c8)]:process['env'][_0x3cc242(0x1e6)]=_0x219c76[_0x3cc242(0x1cb)];const _0x2a7319=await TestHubHandler['launchBuild'](constants[_0x3cc242(0x178)]['CUCUMBER'],_0x2e5dd5);helper[_0x3cc242(0x19d)]();let _0x3512be;_0x219c76[_0x3cc242(0x1a8)](parallelCucumberRun,_0x4d197e,_0x44fb38,_0x2e5dd5[_0x3cc242(0x1d2)],_0x15b656,_0x36e710)[_0x3cc242(0x1e3)](async _0x39ae76=>{const _0x1b8675=_0x3cc242;_0x3512be=_0x39ae76;const _0x439367=_0x219c76['GGNFD'](printCucumberStats,_0x39ae76);process['exitCode']=_0x439367,_0x219c76[_0x1b8675(0x17f)](_0x36e710['length'],0x0)&&(logger[_0x1b8675(0x1db)](_0x219c76[_0x1b8675(0x1ef)]),helper['mergeOutputFiles'](_0x5c8f18,_0x36e710),logger[_0x1b8675(0x1db)](_0x219c76[_0x1b8675(0x1a5)]),helper[_0x1b8675(0x1a4)](_0x5c8f18));})[_0x3cc242(0x1d0)](async()=>{const _0x4f7ea0=_0x3cc242;_0x2e5dd5[_0x4f7ea0(0x1cf)]=helper[_0x4f7ea0(0x1d7)](_0x3512be,_0x219c76[_0x4f7ea0(0x195)]),testOpsHelper[_0x4f7ea0(0x1a7)]();try{await TestHubHandler[_0x4f7ea0(0x17b)]();}catch(_0x118fec){logger[_0x4f7ea0(0x1db)](_0x4f7ea0(0x1ac)+util[_0x4f7ea0(0x1de)](_0x118fec));}try{const {browserstackFolderPath:_0x752995,tcgConfigPath:_0x4bb8e2}=helper[_0x4f7ea0(0x1b2)]();fs['unlinkSync'](_0x4bb8e2),fs[_0x4f7ea0(0x194)](_0x752995);}catch(_0x1d9311){logger[_0x4f7ea0(0x1db)](_0x219c76['DUrYP'],_0x1d9311);}await utilities[_0x4f7ea0(0x186)](_0x2e5dd5);});}module[a5_0x245721(0x1e0)]=run;
2
+ 'use strict';function a5_0x34e6(_0x3b7a6e,_0x2d037a){const _0x10d4da=a5_0x10d4();return a5_0x34e6=function(_0x34e694,_0x1577d2){_0x34e694=_0x34e694-0x1bb;let _0x782dfd=_0x10d4da[_0x34e694];return _0x782dfd;},a5_0x34e6(_0x3b7a6e,_0x2d037a);}const a5_0x400e78=a5_0x34e6;(function(_0x2f8598,_0x3182d4){const _0x424b41=a5_0x34e6,_0x448222=_0x2f8598();while(!![]){try{const _0x47416a=parseInt(_0x424b41(0x1c7))/0x1*(-parseInt(_0x424b41(0x1d6))/0x2)+-parseInt(_0x424b41(0x1d3))/0x3*(parseInt(_0x424b41(0x1c9))/0x4)+parseInt(_0x424b41(0x209))/0x5+-parseInt(_0x424b41(0x22a))/0x6*(-parseInt(_0x424b41(0x1e0))/0x7)+-parseInt(_0x424b41(0x1d8))/0x8+-parseInt(_0x424b41(0x215))/0x9*(-parseInt(_0x424b41(0x1c2))/0xa)+-parseInt(_0x424b41(0x1e2))/0xb*(-parseInt(_0x424b41(0x1f2))/0xc);if(_0x47416a===_0x3182d4)break;else _0x448222['push'](_0x448222['shift']());}catch(_0x1513f1){_0x448222['push'](_0x448222['shift']());}}}(a5_0x10d4,0xcf4ca));function a5_0x10d4(){const _0x167c8a=['7191835rRJgKh','exitCode','stop','setupTCGAuth','launchBuild','then','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20ambiguous','aLnzI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kQSGI','vtMrI','18LHYtYA','rcWfq','env','useW3C','****\x20RESULTS\x20****','\x20failed','createDir','\x20steps','\x20skipped','testContextOptions','PVeyz','green','jMvjA','stepsUnknown','mWmNm','FRAMEWORKS','finalExecution','scenarios','Generating\x20consolidated\x20report...','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/test-observability/utils','1222134NaiEDf','errorMessage','\x20passed','getUserWorkerCount','winstonLogger','lbCet','stepsPending','../../helpers/utilities','getTCGConfigFilePaths','getPlatformName','initialize','join','eQCoa','CovpI','\x20pending','bOzyi','3262250eSKooe','ndhPx','error\x20removing\x20tcg\x20config\x20file','EJMFQ','bold','286882sHUcrk','testObservability','4BsDRJM','splice','accessibilityOptions','stepsSkipped','cwd','util','VFAhW','xsNpn','XvAKB','xITit','3390747obuEau','CyMea','skipSessionName','10ZRqruu','stepsAmbiguous','8912800EvdcKZ','MHIsw','../../helpers/logger','rmdirSync','red','zimHf','osxIK','parseFormatters','28xnVQHi','removeDir','22gVIlVW','\x20undefined','getErrorMessageFromResults','cyan','cucumber','../../helpers/testhub/testhubHandler','forEach','CUCUMBER','../../helpers/helper','log','\x20scenarios','yellow','scenariosFailed','debug','OaVdX','false','9733704UKFkMN','unlinkSync','skipSessionStatus','../../helpers/BrowserStackSetup','mergeOutputFiles','config','printBuildLink','finally','parallelsPerPlatform','length','isUndefined','hVCwK','../test-runner','push','../utils/constants','turboScaleUrl','getHubUrl','wPDPP','vSlqF','markSDKSetupComplete','ULHgk','cqWst','logLevel'];a5_0x10d4=function(){return _0x167c8a;};return a5_0x10d4();}const fs=require('fs'),path=require('path'),util=require(a5_0x400e78(0x1ce)),logger=require(a5_0x400e78(0x1da))[a5_0x400e78(0x22e)],{default:BrowserStackSetup}=require(a5_0x400e78(0x1f5)),helper=require(a5_0x400e78(0x1ea)),utilities=require(a5_0x400e78(0x231)),constants=require(a5_0x400e78(0x200)),{parallelCucumberRun}=require(a5_0x400e78(0x1fe)),TestHubHandler=require(a5_0x400e78(0x1e7)),testOpsHelper=require(a5_0x400e78(0x229)),chalk=require('chalk');function printCucumberStats(_0xf64156){const _0x21550a=a5_0x400e78,_0x56a1ea={};_0x56a1ea[_0x21550a(0x206)]=function(_0x28e375,_0x3b5eaf){return _0x28e375>_0x3b5eaf;},_0x56a1ea['vSlqF']=function(_0x3e8157,_0x44dd58){return _0x3e8157-_0x44dd58;},_0x56a1ea[_0x21550a(0x1c5)]=function(_0x4c9972,_0x7c8cd){return _0x4c9972-_0x7c8cd;},_0x56a1ea[_0x21550a(0x1cf)]=function(_0x668705,_0x2ab18f){return _0x668705>_0x2ab18f;},_0x56a1ea[_0x21550a(0x22f)]=function(_0x13649f,_0x775e20){return _0x13649f>_0x775e20;},_0x56a1ea[_0x21550a(0x1d2)]=function(_0x41c7f2,_0x546e91){return _0x41c7f2>_0x546e91;},_0x56a1ea[_0x21550a(0x211)]=function(_0x540ac5,_0x375e9b){return _0x540ac5>_0x375e9b;},_0x56a1ea[_0x21550a(0x1dd)]=function(_0xd6215d,_0x3f69f3){return _0xd6215d>_0x3f69f3;},_0x56a1ea[_0x21550a(0x223)]=function(_0x1190ba,_0x59dfc3){return _0x1190ba>_0x59dfc3;},_0x56a1ea[_0x21550a(0x214)]=function(_0x4db711,_0x4e538d){return _0x4db711>_0x4e538d;},_0x56a1ea[_0x21550a(0x221)]=function(_0x466462,_0x10e6f3){return _0x466462>_0x10e6f3;},_0x56a1ea['OaVdX']=function(_0xf1e6d0,_0x1617aa){return _0xf1e6d0+_0x1617aa;},_0x56a1ea[_0x21550a(0x1d9)]=function(_0x48300d,_0x3ad467){return _0x48300d+_0x3ad467;},_0x56a1ea[_0x21550a(0x1c3)]=function(_0x31dcad,_0x1da9d2){return _0x31dcad+_0x1da9d2;},_0x56a1ea[_0x21550a(0x21f)]=function(_0xf3f553,_0x4015e5){return _0xf3f553+_0x4015e5;},_0x56a1ea['osxIK']=function(_0x5746df,_0x647caf){return _0x5746df===_0x647caf;},_0x56a1ea['CyMea']=_0x21550a(0x219);const _0x3af936=_0x56a1ea;let _0x3e3cd8=0x0;if(_0x3af936[_0x21550a(0x1de)](_0xf64156[_0x21550a(0x1fb)],0x0))return _0x3e3cd8;return console['log'](chalk['bold']['bgWhite'](_0x3af936[_0x21550a(0x1d4)])),_0xf64156[_0x21550a(0x1e8)](_0x1f2f13=>{const _0x385961=_0x21550a,_0xcbbd23=_0x1f2f13[0x0],_0x11409a=_0x1f2f13[0x1];console[_0x385961(0x1eb)]('\x0a'+chalk[_0x385961(0x1c6)][_0x385961(0x1ed)](''+helper[_0x385961(0x1bb)](_0xcbbd23)));const _0x961097=_0x11409a[_0x385961(0x226)],_0x330114=_0x11409a['steps'],_0x5dd514=_0x11409a[_0x385961(0x1ee)],_0x2aff2d=_0x11409a['stepsFailed'],_0x3aa800=_0x11409a['stepsPassed'],_0xe543de=_0x11409a[_0x385961(0x1cc)],_0x34c3c2=_0x11409a[_0x385961(0x230)],_0x220f71=_0x11409a['stepsUndefined'],_0x390968=_0x11409a[_0x385961(0x222)],_0x1bd2a6=_0x11409a[_0x385961(0x1d7)],_0x237635=_0x11409a['processSuccess'];let _0xa86f39=_0x961097+_0x385961(0x1ec);const _0x535754=_0x3af936[_0x385961(0x206)](_0x3af936[_0x385961(0x204)](_0x961097,_0x5dd514),0x0)?_0x3af936[_0x385961(0x1c5)](_0x961097,_0x5dd514):0x0;if(_0x3af936[_0x385961(0x1cf)](_0x5dd514,0x0)&&_0x3af936[_0x385961(0x22f)](_0x535754,0x0))_0xa86f39+='\x20('+chalk['bold']['red'](_0x5dd514+_0x385961(0x21a))+',\x20'+chalk['bold'][_0x385961(0x220)](_0x535754+_0x385961(0x22c))+')';else(_0x3af936[_0x385961(0x1d2)](_0x5dd514,0x0)||_0x3af936[_0x385961(0x211)](_0x535754,0x0))&&(_0xa86f39+=_0x3af936[_0x385961(0x1dd)](_0x5dd514,0x0)?'\x20('+chalk[_0x385961(0x1c6)][_0x385961(0x1dc)](_0x5dd514+'\x20failed')+')':'\x20('+chalk[_0x385961(0x1c6)][_0x385961(0x220)](_0x535754+_0x385961(0x22c))+')');const _0x42685b=_0x330114+_0x385961(0x21c),_0x2795f1=[];_0x3af936[_0x385961(0x22f)](_0x1bd2a6,0x0)&&_0x2795f1['push'](''+chalk['bold'][_0x385961(0x1dc)](_0x1bd2a6+_0x385961(0x210)));_0x3af936[_0x385961(0x223)](_0x2aff2d,0x0)&&_0x2795f1['push'](''+chalk[_0x385961(0x1c6)][_0x385961(0x1dc)](_0x2aff2d+_0x385961(0x21a)));_0x3af936[_0x385961(0x211)](_0x3aa800,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk[_0x385961(0x1c6)][_0x385961(0x220)](_0x3aa800+_0x385961(0x22c)));_0x3af936[_0x385961(0x1d2)](_0x34c3c2,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk['bold']['yellow'](_0x34c3c2+_0x385961(0x1c0)));_0x3af936['ULHgk'](_0xe543de,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk[_0x385961(0x1c6)][_0x385961(0x1e5)](_0xe543de+_0x385961(0x21d)));_0x3af936['vtMrI'](_0x220f71,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk['bold'][_0x385961(0x1ed)](_0x220f71+_0x385961(0x1e3)));_0x3af936[_0x385961(0x221)](_0x390968,0x0)&&_0x2795f1['push'](''+chalk[_0x385961(0x1c6)][_0x385961(0x1ed)](_0x390968+'\x20skipped'));const _0x1b8c3a=_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1f0)](_0x42685b,'('),_0x2795f1['join'](',\x20')),')');console[_0x385961(0x1eb)](_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1d9)](_0x3af936['ndhPx'](_0x3af936['PVeyz']('\x0a',_0xa86f39),'\x0a'),_0x1b8c3a),'\x0a')),_0x3af936[_0x385961(0x1de)](_0x237635,![])&&(_0x3e3cd8=0x1);}),_0x3e3cd8;}async function run(_0x286b9b,_0x33d800){const _0x380a1e=a5_0x400e78,_0x48b66a={'cqWst':function(_0x440fb3,_0x2be5b7){return _0x440fb3(_0x2be5b7);},'bOzyi':function(_0x29b09e,_0x462e1e){return _0x29b09e>_0x462e1e;},'ipROl':_0x380a1e(0x227),'rcWfq':_0x380a1e(0x228),'eQCoa':_0x380a1e(0x1e6),'hVCwK':_0x380a1e(0x1c4),'ivmFL':'cucumber-js','kQSGI':'tmp','wPDPP':function(_0x516c93,_0x383d0f){return _0x516c93>_0x383d0f;},'XvAKB':function(_0x585adf,_0x26316d){return _0x585adf-_0x26316d;},'xsNpn':function(_0x34e8b7,_0x4d73fc){return _0x34e8b7>=_0x4d73fc;},'fDtvc':function(_0x215f26,_0x4b2e1b){return _0x215f26!=_0x4b2e1b;},'ViuSn':_0x380a1e(0x1f1),'CovpI':function(_0x54b12d,_0x5388a0,_0x19a8de,_0x3724f9,_0x2e6b1d,_0x41e576){return _0x54b12d(_0x5388a0,_0x19a8de,_0x3724f9,_0x2e6b1d,_0x41e576);}},_0x290973=new BrowserStackSetup(_0x286b9b,_0x48b66a['ivmFL']);await _0x290973[_0x380a1e(0x1bc)]();!helper['isBrowserstackInfra']()&&await _0x290973[_0x380a1e(0x20c)]();await helper['handleApp'](_0x290973['config']);const _0x423dc4=helper[_0x380a1e(0x218)](_0x290973['config']),_0x226a32=helper['prepareCapabilities'](_0x290973[_0x380a1e(0x1f7)],_0x423dc4,constants[_0x380a1e(0x224)]['CUCUMBER']);if(!_0x290973['config'])return;const _0x5d40ef=_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1fa)]||helper[_0x380a1e(0x22d)](_0x286b9b,_0x33d800,_0x290973['config'],constants[_0x380a1e(0x224)]['CUCUMBER'])||0x1,_0x464cc8={'server':helper[_0x380a1e(0x202)](_0x290973['config']),'proxySettings':_0x290973['config']['proxySettings'],'maxWorkers':_0x5d40ef,'browserStackLogLevel':_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x208)],'skipSessionName':_0x290973['config']['testContextOptions'][_0x380a1e(0x1d5)],'skipSessionStatus':_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x21e)][_0x380a1e(0x1f4)],'turboScaleUrl':_0x290973['config'][_0x380a1e(0x201)]},_0x39608a=process['argv'],[_0x1990aa,_0x32585d]=helper[_0x380a1e(0x1df)](_0x39608a),_0x16007a=path[_0x380a1e(0x1bd)](process[_0x380a1e(0x1cd)](),_0x48b66a[_0x380a1e(0x213)]);if(_0x48b66a[_0x380a1e(0x203)](_0x32585d['length'],0x0)){helper[_0x380a1e(0x21b)](_0x16007a);for(let _0x37a0a2=_0x48b66a[_0x380a1e(0x1d1)](_0x1990aa[_0x380a1e(0x1fb)],0x1);_0x48b66a[_0x380a1e(0x1d0)](_0x37a0a2,0x0);_0x37a0a2--){_0x39608a[_0x380a1e(0x1ca)](_0x1990aa[_0x37a0a2],0x2);}}!helper[_0x380a1e(0x1fc)](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1cb)])&&(process[_0x380a1e(0x217)][_0x380a1e(0x212)]=JSON['stringify'](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1cb)]));_0x48b66a['fDtvc'](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1c8)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x290973[_0x380a1e(0x1f7)]['testObservability']:process[_0x380a1e(0x217)][_0x380a1e(0x20f)]=_0x48b66a['ViuSn'];const _0xb18c65=await TestHubHandler[_0x380a1e(0x20d)](constants[_0x380a1e(0x224)][_0x380a1e(0x1e9)],_0x290973);helper[_0x380a1e(0x205)]();let _0x3418b3;_0x48b66a[_0x380a1e(0x1bf)](parallelCucumberRun,_0x226a32,_0x464cc8,_0x290973['config'],_0x39608a,_0x32585d)[_0x380a1e(0x20e)](async _0x5118b0=>{const _0x39312c=_0x380a1e;_0x3418b3=_0x5118b0;const _0x636bc0=_0x48b66a[_0x39312c(0x207)](printCucumberStats,_0x5118b0);process[_0x39312c(0x20a)]=_0x636bc0,_0x48b66a[_0x39312c(0x1c1)](_0x32585d[_0x39312c(0x1fb)],0x0)&&(logger['debug'](_0x48b66a['ipROl']),helper[_0x39312c(0x1f6)](_0x16007a,_0x32585d),logger[_0x39312c(0x1ef)](_0x48b66a[_0x39312c(0x216)]),helper[_0x39312c(0x1e1)](_0x16007a));})[_0x380a1e(0x1f9)](async()=>{const _0x4547a8=_0x380a1e;_0x290973[_0x4547a8(0x22b)]=helper[_0x4547a8(0x1e4)](_0x3418b3,_0x48b66a[_0x4547a8(0x1be)]),testOpsHelper[_0x4547a8(0x1f8)]();try{await TestHubHandler[_0x4547a8(0x20b)]();}catch(_0x502fee){logger[_0x4547a8(0x1ef)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x502fee));}try{const {browserstackFolderPath:_0x1e3bf7,tcgConfigPath:_0x58e8f3}=helper[_0x4547a8(0x232)]();fs[_0x4547a8(0x1f3)](_0x58e8f3),fs[_0x4547a8(0x1db)](_0x1e3bf7);}catch(_0x5d7d64){logger[_0x4547a8(0x1ef)](_0x48b66a[_0x4547a8(0x1fd)],_0x5d7d64);}await utilities[_0x4547a8(0x225)](_0x290973);});}module['exports']=run;