browserstack-node-sdk 1.34.18 → 1.34.19

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
- function a1_0x163a(){const _0x1efae0=['LDXRW','codeceptjs/lib/helper/WebDriver.js','class','__workerDetails','NjWXG','codeceptjs/lib/helper/Playwright.js','step','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/accessibility-automation/scripts','setSessionStatus','../../helpers/testhub/constants.js','swCzZ','before','readFileSync','thTestRunUuid','codeceptjs/lib/recorder.js','slice','getResultsSummary','all','PiwJr','TEST_SCREENSHOT','skipSessionStatus','YyCSH','../../bin/playwright/accessibility-helper','failed','31460LOeTcb','browser','HoXZe','uSFbB','patch','toString','1501520ljrsgZ','getAccessibilityResultsSummary','find','DpNWE','reason','BROWSERSTACK_TESTHUB_UUID','bs:addLog:','ugAEu','BROWSERSTACK_TESTHUB_JWT','initSaveScreenshot','IPjJg','_before','saveTestResults','../../bin/playwright/sessionDetails','contexts','upKDy','overwriteCommand','then','warn','ctx','filter','RVFYr','browserstack_executor:\x20','qERhw','passed','apply','titlePath','cwbGs','codeceptjs/lib/index.js','start','2061NBfnhq','emit','arguments','fireEvent','restore','GyTKb','commandsToWrap','TEST_RUN_SKIPPED','winstonLogger','TEST_RUN_FINISHED','hook','UXKGz','dispatcher','PfbsR','Playwright','frjLs','saveScreenshot','constructor','39364IuZSWl','../../helpers/helper','browserContext','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','title','captureEvent','BS_TESTOPS_ALLOW_SCREENSHOTS','__skipSessionStatus','5436kPSdgo','debug','name','iHVaF','screenshotOutputFolder','EQVxU','catch','after','3YkSCzS','toISOString','wkRbj','action','forEach','seODx','pid','thJwtToken','2UpLEAr','viKuZ','WMajt','testAnalyticsId','Flhms','147133kuViVC','event','6314352PypHQU','./o11yHelper','znLyq','../../helpers/performance-tester','VLknX','info','8JKYMyl','bstackAllyScanning','TEST_RUN_STARTED','WebDriver','HOOK_RUN_FINISHED','bind','prototype','1634492QJRhuF','bddStep','helpers','KFdvg','GcUVv','zlUDd','addRequestSpy','call','../../helpers/request-spy','pOsTl','vUWJo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','executeScript','961892jMwsAR','zYGRf','performScan','__driver','thBuildUuid','mIUXf','bddStepFinish','add','enabled','YlfBn','stop','Performing\x20scan\x20for\x20','TestCafe','qtBLp','18fsEUpE','format','MBnHl','Element','stringify','container','startMonitoring','LncGd','../../helpers/accessibility-automation/helper','started','patchSaveScreenshot','env','rIviT','bddStepStart','captureError','accessibilityPlatform','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','getAccessibilityResults','browserStackExecuteDriver','test'];a1_0x163a=function(){return _0x1efae0;};return a1_0x163a();}function a1_0x2a64(_0x40a7c8,_0x3f31f0){const _0x163ac8=a1_0x163a();return a1_0x2a64=function(_0x2a6428,_0x36ad79){_0x2a6428=_0x2a6428-0xde;let _0x571f53=_0x163ac8[_0x2a6428];return _0x571f53;},a1_0x2a64(_0x40a7c8,_0x3f31f0);}const a1_0x3db1fa=a1_0x2a64;(function(_0x4046ed,_0x18022e){const _0x26f5bf=a1_0x2a64,_0x75e4aa=_0x4046ed();while(!![]){try{const _0x13662d=parseInt(_0x26f5bf(0x128))/0x1*(parseInt(_0x26f5bf(0x149))/0x2)+-parseInt(_0x26f5bf(0x120))/0x3*(-parseInt(_0x26f5bf(0x13c))/0x4)+-parseInt(_0x26f5bf(0xe0))/0x5*(parseInt(_0x26f5bf(0x157))/0x6)+-parseInt(_0x26f5bf(0x12d))/0x7*(-parseInt(_0x26f5bf(0x135))/0x8)+-parseInt(_0x26f5bf(0xfe))/0x9*(parseInt(_0x26f5bf(0x184))/0xa)+-parseInt(_0x26f5bf(0x12f))/0xb+-parseInt(_0x26f5bf(0x118))/0xc*(-parseInt(_0x26f5bf(0x110))/0xd);if(_0x13662d===_0x18022e)break;else _0x75e4aa['push'](_0x75e4aa['shift']());}catch(_0x591d50){_0x75e4aa['push'](_0x75e4aa['shift']());}}}(a1_0x163a,0x8aa20));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3db1fa(0x111)),logger=require('../../helpers/logger')[a1_0x3db1fa(0x106)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x3db1fa(0x144)),PlaywrightSessionDetails=require(a1_0x3db1fa(0xed)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3db1fa(0x130)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3db1fa(0x15f)),AccessibilityHelper=require(a1_0x3db1fa(0x182)),scripts=require(a1_0x3db1fa(0x173)),PerformanceTester=require(a1_0x3db1fa(0x132)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x3db1fa(0x175)),CodeceptJS=requireModule(a1_0x3db1fa(0xfc)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule(a1_0x3db1fa(0x16c)),CodeceptRecorder=requireModule(a1_0x3db1fa(0x17a)),CodeceptPlaywright=requireModule(a1_0x3db1fa(0x170)),playwrightMarkSessionStatus=(_0x594885,_0xe6ef02,_0x21b4c6)=>{const _0xd8d48e=a1_0x3db1fa,_0x443afe={'frjLs':_0xd8d48e(0x174),'YlfBn':function(_0x773db0,_0x2cce24){return _0x773db0(_0x2cce24);}},_0x5b9604={};_0x5b9604['status']=_0xe6ef02;const _0x270e4a={};_0x270e4a[_0xd8d48e(0x123)]=_0x443afe[_0xd8d48e(0x10d)],_0x270e4a[_0xd8d48e(0x100)]=_0x5b9604;const _0x33fb5a=_0x270e4a;return!_0x443afe[_0xd8d48e(0x152)](isUndefined,_0x21b4c6)&&(_0x33fb5a[_0xd8d48e(0x100)][_0xd8d48e(0xe4)]=JSON[_0xd8d48e(0x15b)](_0x21b4c6)),_0x594885[_0xd8d48e(0x148)](()=>{},_0xd8d48e(0xf6)+JSON[_0xd8d48e(0x15b)](_0x33fb5a));},o11ySync=async _0x281480=>{const _0x2b7e5f=a1_0x3db1fa,_0x85b94={};_0x85b94['GcUVv']=function(_0x1a9d74,_0x279e7a){return _0x1a9d74===_0x279e7a;},_0x85b94[_0x2b7e5f(0x109)]='Playwright';const _0x121345=_0x85b94;_0x121345[_0x2b7e5f(0x140)](_0x281480[_0x2b7e5f(0x10f)][_0x2b7e5f(0x11a)],_0x121345[_0x2b7e5f(0x109)])?await _0x281480[_0x2b7e5f(0x148)](_0x3f905d=>{},testOpsHelper['getSyncScript']()):await _0x281480[_0x2b7e5f(0x148)](testOpsHelper['getSyncScript']());},markSessionName=async(_0x1e54d1,_0x549d43)=>{const _0x3befee=a1_0x3db1fa,_0x1d8f1b={};_0x1d8f1b[_0x3befee(0x103)]='setSessionName',_0x1d8f1b[_0x3befee(0x145)]=function(_0x199cd1,_0x2fd3fc){return _0x199cd1===_0x2fd3fc;},_0x1d8f1b[_0x3befee(0x12a)]='Playwright';const _0x43a20a=_0x1d8f1b,_0x2f5197={};_0x2f5197['name']=_0x549d43;const _0xd89c81={};_0xd89c81[_0x3befee(0x123)]=_0x43a20a[_0x3befee(0x103)],_0xd89c81[_0x3befee(0x100)]=_0x2f5197;const _0x1e7fb3=_0xd89c81;_0x43a20a['pOsTl'](_0x1e54d1[_0x3befee(0x10f)][_0x3befee(0x11a)],_0x43a20a[_0x3befee(0x12a)])?await _0x1e54d1['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x3befee(0x15b)](_0x1e7fb3)):await _0x1e54d1[_0x3befee(0x148)](_0x3befee(0xf6)+JSON[_0x3befee(0x15b)](_0x1e7fb3));},patchSaveScreenshot=_0x5ab2e9=>{const _0x53db2f=a1_0x3db1fa,_0x429746={'NjWXG':'base64','YyCSH':_0x53db2f(0x17f),'PiwJr':function(_0x4c49ef){return _0x4c49ef();},'ClinG':function(_0x20b65f,_0x2a55f9){return _0x20b65f(_0x2a55f9);}};_0x429746['ClinG'](isTrue,process['env'][_0x53db2f(0x116)])&&!_0x5ab2e9['patchSaveScreenshot']&&(_0x5ab2e9[_0x53db2f(0x161)]=!![],_0x5ab2e9[_0x53db2f(0xe9)]=_0x5ab2e9['saveScreenshot'],_0x5ab2e9[_0x53db2f(0x10e)]=(_0x567ea9,_0x2bb24a=![])=>{const _0x4902a1=_0x53db2f,_0x4bc7fa={'kaOzf':_0x429746[_0x4902a1(0x16f)],'joRId':_0x429746[_0x4902a1(0x181)],'qERhw':function(_0x18a4c9){const _0xda44c=_0x4902a1;return _0x429746[_0xda44c(0x17e)](_0x18a4c9);}};return new Promise(function(_0x4e9102,_0x113aa1){const _0x2b77cf=_0x4902a1,_0x1ba93f={'EQVxU':_0x4bc7fa['kaOzf'],'PfbsR':_0x4bc7fa['joRId'],'TdRsm':function(_0x361d46){const _0x10f80e=a1_0x2a64;return _0x4bc7fa[_0x10f80e(0xf7)](_0x361d46);}};_0x5ab2e9[_0x2b77cf(0xe9)](_0x567ea9,_0x2bb24a)[_0x2b77cf(0xf1)](()=>{const _0x37f3f6=_0x2b77cf,_0x1c7ae1=CodeceptUtils[_0x37f3f6(0x11c)](_0x567ea9),_0x104436=fs[_0x37f3f6(0x178)](_0x1c7ae1);process[_0x37f3f6(0xff)](_0x37f3f6(0xe6)+process[_0x37f3f6(0x126)],{'timestamp':new Date()[_0x37f3f6(0x121)](),'message':_0x104436[_0x37f3f6(0xdf)](_0x1ba93f[_0x37f3f6(0x11d)]),'kind':_0x1ba93f[_0x37f3f6(0x10b)]}),_0x1ba93f['TdRsm'](_0x4e9102);})[_0x2b77cf(0x11e)](()=>null);});});},patchWebDriverBefore=_0x2283eb=>{const _0x4f0882=a1_0x3db1fa,_0x3edaf0={'ugAEu':function(_0x4c5637){return _0x4c5637();},'HoXZe':function(_0x1a9129,_0xb9edd1){return _0x1a9129(_0xb9edd1);},'MBnHl':function(_0x18e226,_0x435192){return _0x18e226===_0x435192;},'IPjJg':_0x4f0882(0x15a),'rIviT':function(_0x1c01dc,_0x2025e2){return _0x1c01dc(_0x2025e2);}},_0x198159=async function(_0x3a7569,_0x59082b){const _0x5db6da=_0x4f0882;return _0x3edaf0[_0x5db6da(0xe7)](isAccessibilityAutomationSession)&&!global[_0x5db6da(0x136)]&&global[_0x5db6da(0x166)]&&scripts['shouldWrapCommand'](_0x3a7569[_0x5db6da(0x11a)])&&_0x3edaf0[_0x5db6da(0x186)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5db6da(0x136)]=!![],logger['debug'](_0x5db6da(0x154)+_0x3a7569[_0x5db6da(0x16d)]+'\x20'+_0x3a7569[_0x5db6da(0x11a)]),await AccessibilityHelper[_0x5db6da(0x169)](_0x2283eb,scripts['performScan'])),global[_0x5db6da(0x136)]=![],_0x59082b[_0x5db6da(0xf9)](this,Array[_0x5db6da(0x13b)][_0x5db6da(0x17b)][_0x5db6da(0x143)](arguments,0x2));},_0x42553a=CodeceptWebDriver[_0x4f0882(0x13b)][_0x4f0882(0xeb)];CodeceptWebDriver[_0x4f0882(0x13b)][_0x4f0882(0xeb)]=async function(){const _0x16a422=_0x4f0882;await _0x42553a['apply'](this,arguments),scripts[_0x16a422(0x104)][_0x16a422(0xf4)](_0x3e30f3=>_0x3e30f3[_0x16a422(0x11a)]&&_0x3e30f3[_0x16a422(0x16d)])[_0x16a422(0x124)](_0x1e49c8=>{const _0x50fb6a=_0x16a422;this[_0x50fb6a(0x185)][_0x50fb6a(0xf0)](_0x1e49c8['name'],_0x198159[_0x50fb6a(0x13a)](this,_0x1e49c8),_0x3edaf0[_0x50fb6a(0x159)](_0x1e49c8[_0x50fb6a(0x16d)],_0x3edaf0[_0x50fb6a(0xea)]));}),_0x3edaf0[_0x16a422(0x163)](processWebDriverConfig,_0x2283eb);};},patchPlaywrightBefore=()=>{const _0x4c90f7=a1_0x3db1fa;PlaywrightSessionDetails[_0x4c90f7(0xde)]();const _0x2ea120=CodeceptPlaywright[_0x4c90f7(0x13b)][_0x4c90f7(0xeb)];CodeceptPlaywright['prototype'][_0x4c90f7(0xeb)]=async function(){const _0x3c2598=_0x4c90f7;this[_0x3c2598(0x112)]=await this['browser'][_0x3c2598(0xee)]()[0x0],await _0x2ea120['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x163714=a1_0x3db1fa,_0x28aaac={};_0x28aaac[_0x163714(0x15e)]=_0x163714(0x138),_0x28aaac[_0x163714(0xfb)]=_0x163714(0x10c),_0x28aaac[_0x163714(0x129)]='Puppeteer',_0x28aaac[_0x163714(0x131)]=_0x163714(0x155);const _0x3c7ba4=_0x28aaac,_0x46f29d=[_0x3c7ba4['LncGd'],_0x3c7ba4[_0x163714(0xfb)],_0x3c7ba4['viKuZ'],_0x3c7ba4[_0x163714(0x131)]],_0x44f2dd=_0x46f29d[_0x163714(0xe2)](_0x44a631=>!!CodeceptJS[_0x163714(0x15c)][_0x163714(0x13e)](_0x44a631));if(!_0x44f2dd)return null;return CodeceptJS['container'][_0x163714(0x13e)](_0x44f2dd);};module['exports']=function(_0xf3e6d7){const _0xfb6a0=a1_0x3db1fa,_0x3265ef={'KPAeY':_0xfb6a0(0x147),'vUWJo':_0xfb6a0(0x172),'seODx':function(_0x408a79){return _0x408a79();},'Flhms':function(_0x10b7ff,_0x40f3b1){return _0x10b7ff(_0x40f3b1);},'RVFYr':function(_0x2ac79a,_0xd7d690,_0x51527a){return _0x2ac79a(_0xd7d690,_0x51527a);},'iHVaF':function(_0x40edff){return _0x40edff();},'jvkTw':function(_0x4a6e7e,_0x592fcf,_0x2ecbee,_0x5b11d5){return _0x4a6e7e(_0x592fcf,_0x2ecbee,_0x5b11d5);},'mIUXf':function(_0x5dea76,_0x43cd22,_0x3ec7f2,_0x4c7a80){return _0x5dea76(_0x43cd22,_0x3ec7f2,_0x4c7a80);},'swCzZ':function(_0x2bf787,_0x172ac5){return _0x2bf787===_0x172ac5;},'zYGRf':'Suite','AZPBt':function(_0x49dc20,_0xf6f113,_0x5450cd){return _0x49dc20(_0xf6f113,_0x5450cd);},'KFdvg':function(_0x5bd293){return _0x5bd293();},'qtBLp':_0xfb6a0(0x167),'TBtxq':'INFO','DpNWE':'TEST_LOG','bFwpx':function(_0x11f3f1){return _0x11f3f1();},'wkRbj':'Playwright','LDXRW':function(_0x2799e1,_0x4914f0){return _0x2799e1(_0x4914f0);},'uSFbB':function(_0x152b5b,_0x1c8846){return _0x152b5b(_0x1c8846);}};_0xf3e6d7[_0xfb6a0(0x180)]&&(global[_0xfb6a0(0x117)]=_0xf3e6d7[_0xfb6a0(0x180)]);PerformanceTester[_0xfb6a0(0x15d)]();const _0x10d943=_0x3265ef['bFwpx'](getCodeceptDriver),_0x471aaa=new O11yHelper(_0x10d943,_0xf3e6d7),_0x42fa53=!!CodeceptJS[_0xfb6a0(0x15c)][_0xfb6a0(0x13e)](_0x3265ef[_0xfb6a0(0x122)]);global[_0xfb6a0(0x14c)]=_0x10d943,_0x10d943&&(_0x42fa53?_0x3265ef[_0xfb6a0(0x11b)](patchPlaywrightBefore):_0x3265ef[_0xfb6a0(0x16b)](patchWebDriverBefore,_0x10d943),_0x10d943[_0xfb6a0(0xe1)]=async()=>{const _0x54c154=_0xfb6a0;if(global[_0x54c154(0x166)])await AccessibilityHelper[_0x54c154(0x169)](_0x10d943,scripts[_0x54c154(0x14b)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x10d943,scripts[_0x54c154(0x17c)]);else return logger[_0x54c154(0xf2)](_0x3265ef['KPAeY']),{};},_0x10d943[_0xfb6a0(0x168)]=async()=>{const _0x40595f=_0xfb6a0;if(global[_0x40595f(0x166)])await AccessibilityHelper[_0x40595f(0x169)](_0x10d943,scripts[_0x40595f(0x14b)]),await AccessibilityHelper[_0x40595f(0x169)](_0x10d943,scripts['getResults']);else return logger['warn'](_0x3265ef[_0x40595f(0x146)]),{};},_0x3265ef[_0xfb6a0(0x187)](patchSaveScreenshot,_0x10d943)),CodeceptJS['event'][_0xfb6a0(0x10a)]['on'](CodeceptJS['event'][_0xfb6a0(0x17d)][_0xfb6a0(0x177)],()=>{const _0x6dd162=_0xfb6a0;try{_0x471aaa[_0x6dd162(0xfd)](),testOpsHelper[_0x6dd162(0x142)]();}catch(_0x2c70f0){PerformanceTester[_0x6dd162(0x165)](_0x2c70f0);}}),CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x10a)]['on'](CodeceptJS[_0xfb6a0(0x12e)]['all']['after'],async()=>{const _0x400165=_0xfb6a0;try{requestSpy[_0x400165(0x102)](),await _0x471aaa[_0x400165(0x153)]();}catch(_0x42b353){PerformanceTester[_0x400165(0x165)](_0x42b353);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0xfb6a0(0x12e)]['dispatcher']['on'](CodeceptJS['event'][_0xfb6a0(0x108)][_0xfb6a0(0x160)],_0x59651e=>{const _0x5ab9d6=_0xfb6a0;try{const _0x1ccec1=_0x59651e[_0x5ab9d6(0xf3)][_0x5ab9d6(0x16a)],_0x4c4343=_0x471aaa[_0x5ab9d6(0x115)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1ccec1);CodeceptRecorder['add'](()=>_0x471aaa[_0x5ab9d6(0x101)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x4c4343));}catch(_0x4b353a){PerformanceTester[_0x5ab9d6(0x165)](_0x4b353a);}}),CodeceptJS['event'][_0xfb6a0(0x10a)]['on'](CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x108)][_0xfb6a0(0xf8)],_0x5683e0=>{const _0x554da8=_0xfb6a0;try{const _0x498ee1=_0x5683e0[_0x554da8(0xf3)][_0x554da8(0x16a)],_0x32dd17=_0x471aaa[_0x554da8(0x115)](TEST_EVENTS[_0x554da8(0x139)],_0x498ee1);CodeceptRecorder[_0x554da8(0x150)](()=>_0x471aaa[_0x554da8(0x101)](TEST_EVENTS[_0x554da8(0x139)],_0x32dd17));}catch(_0x4cc573){PerformanceTester[_0x554da8(0x165)](_0x4cc573);}}),CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x10a)]['on'](CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x108)][_0xfb6a0(0x183)],async(_0x3293f0,_0x27569c)=>{const _0x4b8302=_0xfb6a0;try{const _0x3e3188=_0x3293f0[_0x4b8302(0xf3)][_0x4b8302(0x16a)],_0x2d0603=_0x471aaa[_0x4b8302(0x115)](TEST_EVENTS[_0x4b8302(0x139)],_0x3e3188,_0x27569c);CodeceptRecorder[_0x4b8302(0x150)](()=>_0x471aaa[_0x4b8302(0x101)](TEST_EVENTS[_0x4b8302(0x139)],_0x2d0603));}catch(_0xceefbe){PerformanceTester[_0x4b8302(0x165)](_0xceefbe);}}),CodeceptJS['event'][_0xfb6a0(0x10a)]['on'](CodeceptJS['event'][_0xfb6a0(0x16a)][_0xfb6a0(0x177)],_0xc6e950=>{const _0x5ca30f=_0xfb6a0;try{_0x3265ef[_0x5ca30f(0x125)](isBrowserstackInfra)&&(_0x42fa53&&(global[_0x5ca30f(0x16e)]={'currentTest':{'name':_0xc6e950[_0x5ca30f(0x114)],'testInfo':{'titlePath':_0xc6e950[_0x5ca30f(0xfa)]()}}}));}catch(_0x25ac78){PerformanceTester['captureError'](_0x25ac78);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x16a)][_0xfb6a0(0x160)],_0xcf5894=>{const _0x52b90b=_0xfb6a0;try{const _0x5a546d=_0x471aaa[_0x52b90b(0x115)](TEST_EVENTS[_0x52b90b(0x137)],_0xcf5894);CodeceptRecorder['add'](()=>_0x471aaa[_0x52b90b(0x101)](TEST_EVENTS[_0x52b90b(0x137)],_0x5a546d)),CodeceptRecorder[_0x52b90b(0x150)](async()=>{const _0x20f7e3=_0x52b90b;_0x3265ef['seODx'](isBrowserstackInfra)&&(!_0x3265ef[_0x20f7e3(0x12c)](isTrue,_0xf3e6d7['skipSessionName'])&&await _0x3265ef[_0x20f7e3(0xf5)](markSessionName,_0x10d943,_0xcf5894[_0x20f7e3(0x114)]),_0x471aaa[_0x20f7e3(0x151)]&&await _0x3265ef['Flhms'](o11ySync,_0x10d943));});}catch(_0x3d0931){PerformanceTester[_0x52b90b(0x165)](_0x3d0931);}}),CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x10a)]['on'](CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x16a)][_0xfb6a0(0xf8)],_0x806133=>{const _0xad7b47=_0xfb6a0;try{const _0x1b40bf=_0x471aaa[_0xad7b47(0x115)](TEST_EVENTS[_0xad7b47(0x107)],_0x806133);CodeceptRecorder[_0xad7b47(0x150)](()=>_0x471aaa[_0xad7b47(0x101)](TEST_EVENTS[_0xad7b47(0x107)],_0x1b40bf)),CodeceptRecorder[_0xad7b47(0x150)](async()=>{const _0x1e8478=_0xad7b47;_0x3265ef[_0x1e8478(0x125)](isBrowserstackInfra)&&(_0x42fa53?await _0x3265ef['RVFYr'](playwrightMarkSessionStatus,_0x10d943,STATE_PASSED):await _0x3265ef[_0x1e8478(0xf5)](markSessionStatus,_0x10d943,STATE_PASSED));});}catch(_0x561642){PerformanceTester[_0xad7b47(0x165)](_0x561642);}}),CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x10a)]['on'](CodeceptJS['event'][_0xfb6a0(0x16a)][_0xfb6a0(0x183)],(_0x4d19b1,_0x18f4e5)=>{const _0x4a69d3=_0xfb6a0,_0x30d6b0={'zlUDd':function(_0x359b5b){const _0x29e334=a1_0x2a64;return _0x3265ef[_0x29e334(0x11b)](_0x359b5b);},'VLknX':function(_0x24963e,_0x479ac3,_0x2b19e1,_0x40cc57){return _0x3265ef['jvkTw'](_0x24963e,_0x479ac3,_0x2b19e1,_0x40cc57);},'upKDy':function(_0x408143,_0x4d0c44,_0x1549df,_0x2dba27){const _0x19524b=a1_0x2a64;return _0x3265ef[_0x19524b(0x14e)](_0x408143,_0x4d0c44,_0x1549df,_0x2dba27);}};try{if(_0x3265ef[_0x4a69d3(0x176)](_0x4d19b1[_0x4a69d3(0x10f)][_0x4a69d3(0x11a)],_0x3265ef[_0x4a69d3(0x14a)])){const _0x22325a=_0x471aaa['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4d19b1[_0x4a69d3(0xf3)]['currentTest']);CodeceptRecorder[_0x4a69d3(0x150)](()=>_0x471aaa[_0x4a69d3(0x101)](TEST_EVENTS[_0x4a69d3(0x105)],_0x22325a));}else{const _0x2459f5=_0x471aaa[_0x4a69d3(0x115)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4d19b1,_0x18f4e5);CodeceptRecorder[_0x4a69d3(0x150)](()=>{const _0x434e89=_0x4a69d3;try{_0x471aaa[_0x434e89(0x101)](TEST_EVENTS[_0x434e89(0x107)],_0x2459f5);}catch(_0xe3cad1){logger[_0x434e89(0x119)](_0x434e89(0x113)+util[_0x434e89(0x158)](_0xe3cad1));}}),CodeceptRecorder[_0x4a69d3(0x150)](async()=>{const _0x56e549=_0x4a69d3;try{_0x30d6b0[_0x56e549(0x141)](isBrowserstackInfra)&&(_0x42fa53?await _0x30d6b0[_0x56e549(0x133)](playwrightMarkSessionStatus,_0x10d943,STATE_FAILED,_0x18f4e5):await _0x30d6b0[_0x56e549(0xef)](markSessionStatus,_0x10d943,STATE_FAILED,_0x18f4e5));}catch(_0x145105){logger['debug']('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x56e549(0x158)](_0x145105));}});}}catch(_0x349f8b){PerformanceTester['captureError'](_0x349f8b);}}),CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x10a)]['on'](CodeceptJS[_0xfb6a0(0x12e)]['test']['skipped'],_0x58c7fa=>{const _0x5d30e4=_0xfb6a0;try{const _0x51e1ae=_0x471aaa[_0x5d30e4(0x115)](TEST_EVENTS[_0x5d30e4(0x105)],_0x58c7fa);CodeceptRecorder[_0x5d30e4(0x150)](()=>_0x471aaa[_0x5d30e4(0x101)](TEST_EVENTS[_0x5d30e4(0x105)],_0x51e1ae));}catch(_0xae425f){PerformanceTester['captureError'](_0xae425f);}}),CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x10a)]['on'](CodeceptJS[_0xfb6a0(0x12e)]['test'][_0xfb6a0(0x11f)],async(_0x5d193b,_0x3c9d18)=>{const _0x1e8e46=_0xfb6a0;try{if(_0x3265ef['seODx'](isBrowserstackInfra)){const _0x496408=_0x3265ef['AZPBt'](shouldScanTestForAccessibility,_0x5d193b[_0x1e8e46(0xfa)](),!![]);if(_0x3265ef[_0x1e8e46(0x13f)](isAccessibilityAutomationSession)&&global[_0x1e8e46(0x166)]&&_0x496408){const _0x457fdc={};_0x457fdc[_0x1e8e46(0x179)]=_0x5d193b[_0x1e8e46(0x12b)],_0x457fdc[_0x1e8e46(0x14d)]=process['env'][testHubConstants['ENV_VAR'][_0x1e8e46(0xe5)]],_0x457fdc[_0x1e8e46(0x127)]=process[_0x1e8e46(0x162)][testHubConstants['ENV_VAR'][_0x1e8e46(0xe8)]];const _0x85372b=_0x457fdc;logger[_0x1e8e46(0x119)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1e8e46(0x15b)](_0x85372b)),CodeceptRecorder[_0x1e8e46(0x150)](async()=>{const _0x301f8a=_0x1e8e46;await AccessibilityHelper[_0x301f8a(0x169)](_0x10d943,scripts[_0x301f8a(0x14b)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x10d943,scripts[_0x301f8a(0xec)],_0x85372b);}),logger[_0x1e8e46(0x134)](_0x3265ef[_0x1e8e46(0x156)]);}}}catch(_0x2c527a){PerformanceTester[_0x1e8e46(0x165)](_0x2c527a);}}),CodeceptJS['event'][_0xfb6a0(0x10a)]['on'](CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x171)]['comment'],_0x27d63a=>{const _0x205aec=_0xfb6a0;try{process[_0x205aec(0xff)](_0x205aec(0xe6)+process['pid'],{'timestamp':new Date()[_0x205aec(0x121)](),'level':_0x3265ef['TBtxq'],'message':_0x27d63a,'kind':_0x3265ef[_0x205aec(0xe3)],'http_response':{}});}catch(_0x1b594c){PerformanceTester[_0x205aec(0x165)](_0x1b594c);}}),CodeceptJS[_0xfb6a0(0x12e)]['dispatcher']['on'](CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x13d)][_0xfb6a0(0x177)],_0xf2b9db=>{const _0x44bafd=_0xfb6a0;_0x471aaa[_0x44bafd(0x164)](_0xf2b9db);}),CodeceptJS[_0xfb6a0(0x12e)]['dispatcher']['on'](CodeceptJS[_0xfb6a0(0x12e)][_0xfb6a0(0x13d)][_0xfb6a0(0x11f)],_0xe97ee5=>{const _0x39985f=_0xfb6a0;_0x471aaa[_0x39985f(0x14f)](_0xe97ee5);});};
1
+ const a1_0x4d8c58=a1_0x281d;(function(_0x16eedc,_0x121690){const _0x179bd2=a1_0x281d,_0x225d5a=_0x16eedc();while(!![]){try{const _0x30a82f=parseInt(_0x179bd2(0x175))/0x1*(-parseInt(_0x179bd2(0xd9))/0x2)+-parseInt(_0x179bd2(0xf4))/0x3+-parseInt(_0x179bd2(0xf2))/0x4+-parseInt(_0x179bd2(0x16b))/0x5*(-parseInt(_0x179bd2(0x133))/0x6)+-parseInt(_0x179bd2(0x161))/0x7*(parseInt(_0x179bd2(0x17a))/0x8)+-parseInt(_0x179bd2(0xe4))/0x9*(-parseInt(_0x179bd2(0x176))/0xa)+parseInt(_0x179bd2(0x15e))/0xb*(parseInt(_0x179bd2(0xdb))/0xc);if(_0x30a82f===_0x121690)break;else _0x225d5a['push'](_0x225d5a['shift']());}catch(_0x93a328){_0x225d5a['push'](_0x225d5a['shift']());}}}(a1_0x28d2,0x23dfc));const fs=require('fs'),util=require(a1_0x4d8c58(0xfc)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4d8c58(0x159))[a1_0x4d8c58(0x149)],testOpsHelper=require(a1_0x4d8c58(0x154)),requestSpy=require(a1_0x4d8c58(0xee)),PlaywrightSessionDetails=require(a1_0x4d8c58(0x11e)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4d8c58(0x129)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x4d8c58(0x134)),PerformanceTester=require(a1_0x4d8c58(0x14d)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x4d8c58(0x148)),CodeceptWebDriver=requireModule(a1_0x4d8c58(0x124)),CodeceptRecorder=requireModule(a1_0x4d8c58(0x12a)),CodeceptPlaywright=requireModule(a1_0x4d8c58(0x140)),playwrightMarkSessionStatus=(_0x451a79,_0x32f43a,_0x5c3da3)=>{const _0x456115=a1_0x4d8c58,_0x1301cc={'jgJdd':_0x456115(0x174),'pbkcQ':function(_0x1ed33a,_0x34425e){return _0x1ed33a(_0x34425e);}},_0x2f3aae={};_0x2f3aae[_0x456115(0x164)]=_0x32f43a;const _0x21ee94={};_0x21ee94['action']=_0x1301cc['jgJdd'],_0x21ee94[_0x456115(0x131)]=_0x2f3aae;const _0x165792=_0x21ee94;return!_0x1301cc[_0x456115(0x12d)](isUndefined,_0x5c3da3)&&(_0x165792[_0x456115(0x131)]['reason']=JSON[_0x456115(0x10b)](_0x5c3da3)),_0x451a79['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x456115(0x10b)](_0x165792));},o11ySync=async _0x56110e=>{const _0x754650=a1_0x4d8c58,_0x59b4f6={};_0x59b4f6['bkGrJ']=function(_0x4ae5ac,_0xe7eac5){return _0x4ae5ac===_0xe7eac5;},_0x59b4f6[_0x754650(0x132)]=_0x754650(0xd7);const _0x547562=_0x59b4f6;_0x547562[_0x754650(0x169)](_0x56110e['constructor'][_0x754650(0x142)],_0x547562[_0x754650(0x132)])?await _0x56110e[_0x754650(0x12f)](_0x522319=>{},testOpsHelper[_0x754650(0x135)]()):await _0x56110e[_0x754650(0x12f)](testOpsHelper[_0x754650(0x135)]());},markSessionName=async(_0x23cc37,_0x568e96)=>{const _0x396e21=a1_0x4d8c58,_0x45e09d={};_0x45e09d[_0x396e21(0xed)]='setSessionName',_0x45e09d[_0x396e21(0xff)]=function(_0x434b56,_0x41ca9d){return _0x434b56===_0x41ca9d;},_0x45e09d[_0x396e21(0x117)]='Playwright';const _0x466259=_0x45e09d,_0x471e92={};_0x471e92[_0x396e21(0x142)]=_0x568e96;const _0x532503={};_0x532503[_0x396e21(0x14a)]=_0x466259[_0x396e21(0xed)],_0x532503[_0x396e21(0x131)]=_0x471e92;const _0x444dbd=_0x532503;_0x466259[_0x396e21(0xff)](_0x23cc37[_0x396e21(0x15a)][_0x396e21(0x142)],_0x466259[_0x396e21(0x117)])?await _0x23cc37[_0x396e21(0x12f)](()=>{},_0x396e21(0xec)+JSON[_0x396e21(0x10b)](_0x444dbd)):await _0x23cc37[_0x396e21(0x12f)]('browserstack_executor:\x20'+JSON[_0x396e21(0x10b)](_0x444dbd));},patchSaveScreenshot=_0x276b9f=>{const _0x5f530e=a1_0x4d8c58,_0x17a1aa={'GPmFS':_0x5f530e(0xe2),'icMZy':'TEST_SCREENSHOT','jRMlS':function(_0x5f3781){return _0x5f3781();},'eCIIq':function(_0x1495ee,_0x3799f0){return _0x1495ee(_0x3799f0);}};_0x17a1aa[_0x5f530e(0xfd)](isTrue,process[_0x5f530e(0xf0)][_0x5f530e(0x109)])&&!_0x276b9f['patchSaveScreenshot']&&(_0x276b9f[_0x5f530e(0xdc)]=!![],_0x276b9f[_0x5f530e(0x16e)]=_0x276b9f[_0x5f530e(0x12b)],_0x276b9f['saveScreenshot']=(_0x47259b,_0x376178=![])=>{const _0x383a30=_0x5f530e,_0x22e88d={'ldCQA':_0x17a1aa[_0x383a30(0xe6)],'VTxbX':_0x17a1aa['icMZy'],'ceHbE':function(_0x3c0382){const _0x26c413=_0x383a30;return _0x17a1aa[_0x26c413(0x147)](_0x3c0382);}};return new Promise(function(_0x2b75ce,_0xde4175){const _0x5f8343=_0x383a30;_0x276b9f[_0x5f8343(0x16e)](_0x47259b,_0x376178)[_0x5f8343(0x106)](()=>{const _0x2f1c72=_0x5f8343,_0x4dde21=CodeceptUtils[_0x2f1c72(0x152)](_0x47259b),_0x39a82e=fs[_0x2f1c72(0x155)](_0x4dde21);process[_0x2f1c72(0xe8)](_0x2f1c72(0x151)+process[_0x2f1c72(0x153)],{'timestamp':new Date()[_0x2f1c72(0x14b)](),'message':_0x39a82e[_0x2f1c72(0x10d)](_0x22e88d[_0x2f1c72(0x14f)]),'kind':_0x22e88d[_0x2f1c72(0xe7)]}),_0x22e88d[_0x2f1c72(0x137)](_0x2b75ce);})[_0x5f8343(0xf8)](()=>null);});});},patchWebDriverBefore=_0x2c07d6=>{const _0x55aaa5=a1_0x4d8c58,_0x4acd66={'LYfSR':function(_0x17ead7){return _0x17ead7();},'ApMux':function(_0x4c1f6d,_0x148b59){return _0x4c1f6d(_0x148b59);},'uYxpb':function(_0x4c73cc,_0x4fb7b1){return _0x4c73cc===_0x4fb7b1;},'xIvZF':_0x55aaa5(0x162),'cXwTO':function(_0x9e8864,_0x40c1a9){return _0x9e8864(_0x40c1a9);}},_0x1a12a7=async function(_0x1d2b40,_0x2a3bf2){const _0x43ff15=_0x55aaa5;return _0x4acd66[_0x43ff15(0xf5)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x43ff15(0x15c)]&&scripts['shouldWrapCommand'](_0x1d2b40[_0x43ff15(0x142)])&&_0x4acd66['ApMux'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x43ff15(0x145)]=!![],logger[_0x43ff15(0xf6)](_0x43ff15(0x128)+_0x1d2b40['class']+'\x20'+_0x1d2b40[_0x43ff15(0x142)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2c07d6,scripts[_0x43ff15(0x104)])),global[_0x43ff15(0x145)]=![],_0x2a3bf2[_0x43ff15(0xf9)](this,Array[_0x43ff15(0x13b)][_0x43ff15(0x157)]['call'](arguments,0x2));},_0x574fb7=CodeceptWebDriver[_0x55aaa5(0x13b)]['_before'];CodeceptWebDriver[_0x55aaa5(0x13b)]['_before']=async function(){const _0x4ac646=_0x55aaa5,_0x3631b5={'dpsfV':function(_0x5450de,_0x313199){return _0x4acd66['uYxpb'](_0x5450de,_0x313199);},'QVGjV':_0x4acd66[_0x4ac646(0xdd)]};await _0x574fb7[_0x4ac646(0xf9)](this,arguments),scripts[_0x4ac646(0x120)][_0x4ac646(0x115)](_0x4da57e=>_0x4da57e['name']&&_0x4da57e[_0x4ac646(0x141)])[_0x4ac646(0x127)](_0x32737b=>{const _0x8b12eb=_0x4ac646;this[_0x8b12eb(0x179)]['overwriteCommand'](_0x32737b[_0x8b12eb(0x142)],_0x1a12a7['bind'](this,_0x32737b),_0x3631b5[_0x8b12eb(0x139)](_0x32737b[_0x8b12eb(0x141)],_0x3631b5[_0x8b12eb(0x15d)]));}),_0x4acd66[_0x4ac646(0x100)](processWebDriverConfig,_0x2c07d6);};},patchPlaywrightBefore=()=>{const _0x715a59=a1_0x4d8c58;PlaywrightSessionDetails[_0x715a59(0x12e)]();const _0x2fd1c7=CodeceptPlaywright[_0x715a59(0x13b)][_0x715a59(0x11d)];CodeceptPlaywright[_0x715a59(0x13b)][_0x715a59(0x11d)]=async function(){const _0xb01c1=_0x715a59;this[_0xb01c1(0x178)]=await this[_0xb01c1(0x179)][_0xb01c1(0xfa)]()[0x0],await _0x2fd1c7['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x534be6=a1_0x4d8c58,_0x873c3d={};_0x873c3d[_0x534be6(0x166)]=_0x534be6(0xf7),_0x873c3d[_0x534be6(0x126)]='Playwright',_0x873c3d[_0x534be6(0x113)]='Puppeteer',_0x873c3d[_0x534be6(0x144)]='TestCafe';const _0x1a3ae5=_0x873c3d,_0x5b9af7=[_0x1a3ae5['PJxGq'],_0x1a3ae5['hoGvN'],_0x1a3ae5['oBBZr'],_0x1a3ae5[_0x534be6(0x144)]],_0x58fa25=_0x5b9af7[_0x534be6(0x14e)](_0x3c7f8d=>!!CodeceptJS[_0x534be6(0x13f)][_0x534be6(0x107)](_0x3c7f8d));if(!_0x58fa25)return null;return CodeceptJS[_0x534be6(0x13f)]['helpers'](_0x58fa25);};module['exports']=function(_0x407527){const _0x242169=a1_0x4d8c58,_0x3aec56={'MmMUv':_0x242169(0x11b),'jCuwY':_0x242169(0x16f),'ukJNL':function(_0x20b8f8){return _0x20b8f8();},'pTgaO':function(_0x45bee3,_0xebf049){return _0x45bee3(_0xebf049);},'tJTgE':function(_0x3bfb8f,_0x30a835,_0x323bc3){return _0x3bfb8f(_0x30a835,_0x323bc3);},'kqmwA':function(_0x3d3ae5,_0x4d83fc){return _0x3d3ae5(_0x4d83fc);},'ooacC':function(_0x577691,_0x33c6b7,_0x322d18,_0x538e82){return _0x577691(_0x33c6b7,_0x322d18,_0x538e82);},'miOJB':function(_0x25b227,_0x58ee65){return _0x25b227===_0x58ee65;},'RfVeo':_0x242169(0xf1),'hSmkK':function(_0x1ac9fd,_0x197363,_0x88bfc){return _0x1ac9fd(_0x197363,_0x88bfc);},'VTgpK':function(_0x5d75ff){return _0x5d75ff();},'DycIi':_0x242169(0xd8),'cyRvM':_0x242169(0x114),'lDInZ':'TEST_LOG','PBvjF':function(_0x483f35){return _0x483f35();},'DDFvd':_0x242169(0xd7),'txTSi':function(_0x55b680,_0x509931){return _0x55b680(_0x509931);}};_0x407527[_0x242169(0x116)]&&(global[_0x242169(0x168)]=_0x407527[_0x242169(0x116)]);PerformanceTester[_0x242169(0xe9)]();const _0x12e256=_0x3aec56[_0x242169(0x14c)](getCodeceptDriver),_0x41f48a=new O11yHelper(_0x12e256,_0x407527),_0x12bced=!!CodeceptJS['container'][_0x242169(0x107)](_0x3aec56[_0x242169(0x156)]);global['__driver']=_0x12e256,_0x12e256&&(_0x12bced?_0x3aec56[_0x242169(0xdf)](patchPlaywrightBefore):_0x3aec56['pTgaO'](patchWebDriverBefore,_0x12e256),_0x12e256[_0x242169(0xe5)]=async()=>{const _0x489dfd=_0x242169;if(global[_0x489dfd(0x15c)])await AccessibilityHelper[_0x489dfd(0xfb)](_0x12e256,scripts[_0x489dfd(0x104)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x12e256,scripts[_0x489dfd(0x11f)]);else return logger[_0x489dfd(0x130)](_0x3aec56['MmMUv']),{};},_0x12e256[_0x242169(0x170)]=async()=>{const _0x5dbbf5=_0x242169;if(global[_0x5dbbf5(0x15c)])await AccessibilityHelper[_0x5dbbf5(0xfb)](_0x12e256,scripts['performScan']),await AccessibilityHelper[_0x5dbbf5(0xfb)](_0x12e256,scripts[_0x5dbbf5(0x177)]);else return logger[_0x5dbbf5(0x130)](_0x3aec56['jCuwY']),{};},_0x3aec56['txTSi'](patchSaveScreenshot,_0x12e256)),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)]['all'][_0x242169(0x105)],()=>{const _0x449d52=_0x242169;try{_0x41f48a[_0x449d52(0x15f)](),testOpsHelper[_0x449d52(0x16c)]();}catch(_0x10e793){PerformanceTester[_0x449d52(0x122)](_0x10e793);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x138)][_0x242169(0x10a)],async()=>{const _0x1519d6=_0x242169;try{requestSpy['restore'](),await _0x41f48a[_0x1519d6(0x165)]();}catch(_0x4e496d){PerformanceTester[_0x1519d6(0x122)](_0x4e496d);}finally{PerformanceTester[_0x1519d6(0x108)]();}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x15b)][_0x242169(0x102)],_0x387f10=>{const _0x44981c=_0x242169;try{const _0xf6e437=_0x387f10[_0x44981c(0x111)][_0x44981c(0x121)],_0x2a658a=_0x41f48a[_0x44981c(0x171)](TEST_EVENTS[_0x44981c(0xef)],_0xf6e437);CodeceptRecorder[_0x44981c(0x13a)](()=>_0x41f48a[_0x44981c(0x136)](TEST_EVENTS[_0x44981c(0xef)],_0x2a658a));}catch(_0x160270){PerformanceTester[_0x44981c(0x122)](_0x160270);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x15b)]['passed'],_0x43fec7=>{const _0x3f7f4c=_0x242169;try{const _0x190660=_0x43fec7['ctx']['test'],_0x3cabc5=_0x41f48a[_0x3f7f4c(0x171)](TEST_EVENTS[_0x3f7f4c(0xeb)],_0x190660);CodeceptRecorder[_0x3f7f4c(0x13a)](()=>_0x41f48a[_0x3f7f4c(0x136)](TEST_EVENTS[_0x3f7f4c(0xeb)],_0x3cabc5));}catch(_0x437268){PerformanceTester[_0x3f7f4c(0x122)](_0x437268);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS['event'][_0x242169(0x15b)][_0x242169(0xde)],async(_0x517f3d,_0x2e963d)=>{const _0x22c082=_0x242169;try{const _0x1aad6e=_0x517f3d['ctx'][_0x22c082(0x121)],_0x2016de=_0x41f48a[_0x22c082(0x171)](TEST_EVENTS[_0x22c082(0xeb)],_0x1aad6e,_0x2e963d);CodeceptRecorder['add'](()=>_0x41f48a['fireEvent'](TEST_EVENTS[_0x22c082(0xeb)],_0x2016de));}catch(_0x5f492b){PerformanceTester['captureError'](_0x5f492b);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)]['before'],_0x3da5bc=>{const _0x1df288=_0x242169;try{_0x3aec56[_0x1df288(0xdf)](isBrowserstackInfra)&&(_0x12bced&&(global['__workerDetails']={'currentTest':{'name':_0x3da5bc[_0x1df288(0x11c)],'testInfo':{'titlePath':_0x3da5bc['titlePath']()}}}));}catch(_0x4ad76c){PerformanceTester['captureError'](_0x4ad76c);}}),CodeceptJS[_0x242169(0x125)]['dispatcher']['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)]['started'],_0x29acbc=>{const _0x10866a=_0x242169;try{const _0x238e42=_0x41f48a[_0x10866a(0x171)](TEST_EVENTS[_0x10866a(0x10c)],_0x29acbc);CodeceptRecorder['add'](()=>_0x41f48a['fireEvent'](TEST_EVENTS[_0x10866a(0x10c)],_0x238e42)),CodeceptRecorder[_0x10866a(0x13a)](async()=>{const _0x1381ff=_0x10866a;_0x3aec56[_0x1381ff(0xdf)](isBrowserstackInfra)&&(!_0x3aec56[_0x1381ff(0x13c)](isTrue,_0x407527[_0x1381ff(0x173)])&&await _0x3aec56[_0x1381ff(0x172)](markSessionName,_0x12e256,_0x29acbc[_0x1381ff(0x11c)]),_0x41f48a[_0x1381ff(0xfe)]&&await _0x3aec56[_0x1381ff(0x163)](o11ySync,_0x12e256));});}catch(_0x3e7fab){PerformanceTester[_0x10866a(0x122)](_0x3e7fab);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)]['test'][_0x242169(0x10e)],_0x381810=>{const _0x1c371a=_0x242169,_0x1def27={'kuVBZ':function(_0x2299ca){const _0x21e1dc=a1_0x281d;return _0x3aec56[_0x21e1dc(0xdf)](_0x2299ca);},'kOzGx':function(_0x2da006,_0x533ddf,_0x2e24b8){const _0x489ba8=a1_0x281d;return _0x3aec56[_0x489ba8(0x172)](_0x2da006,_0x533ddf,_0x2e24b8);}};try{const _0x4e0890=_0x41f48a[_0x1c371a(0x171)](TEST_EVENTS[_0x1c371a(0x16d)],_0x381810);CodeceptRecorder[_0x1c371a(0x13a)](()=>_0x41f48a[_0x1c371a(0x136)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4e0890)),CodeceptRecorder[_0x1c371a(0x13a)](async()=>{const _0x41a2c7=_0x1c371a;_0x1def27['kuVBZ'](isBrowserstackInfra)&&(_0x12bced?await _0x1def27[_0x41a2c7(0x103)](playwrightMarkSessionStatus,_0x12e256,STATE_PASSED):await _0x1def27[_0x41a2c7(0x103)](markSessionStatus,_0x12e256,STATE_PASSED));});}catch(_0x41d673){PerformanceTester['captureError'](_0x41d673);}}),CodeceptJS['event'][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)]['failed'],(_0x42a08c,_0x79a7a)=>{const _0x19373b=_0x242169;try{if(_0x3aec56['miOJB'](_0x42a08c['constructor']['name'],_0x3aec56[_0x19373b(0x101)])){const _0xa22633=_0x41f48a[_0x19373b(0x171)](TEST_EVENTS[_0x19373b(0x13d)],_0x42a08c[_0x19373b(0x111)][_0x19373b(0xea)]);CodeceptRecorder[_0x19373b(0x13a)](()=>_0x41f48a[_0x19373b(0x136)](TEST_EVENTS[_0x19373b(0x13d)],_0xa22633));}else{const _0x3550fc=_0x41f48a[_0x19373b(0x171)](TEST_EVENTS[_0x19373b(0x16d)],_0x42a08c,_0x79a7a);CodeceptRecorder[_0x19373b(0x13a)](()=>{const _0x7e8b75=_0x19373b;try{_0x41f48a['fireEvent'](TEST_EVENTS[_0x7e8b75(0x16d)],_0x3550fc);}catch(_0x392d91){logger['debug'](_0x7e8b75(0x16a)+util[_0x7e8b75(0x123)](_0x392d91));}}),CodeceptRecorder[_0x19373b(0x13a)](async()=>{const _0x37bfbc=_0x19373b;try{_0x3aec56[_0x37bfbc(0xdf)](isBrowserstackInfra)&&(_0x12bced?await _0x3aec56[_0x37bfbc(0x110)](playwrightMarkSessionStatus,_0x12e256,STATE_FAILED,_0x79a7a):await _0x3aec56[_0x37bfbc(0x110)](markSessionStatus,_0x12e256,STATE_FAILED,_0x79a7a));}catch(_0x2f11a2){logger[_0x37bfbc(0xf6)](_0x37bfbc(0xe3)+util['format'](_0x2f11a2));}});}}catch(_0x4960fa){PerformanceTester['captureError'](_0x4960fa);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0x121)][_0x242169(0x11a)],_0x1cffaa=>{const _0x74a390=_0x242169;try{const _0x44f283=_0x41f48a[_0x74a390(0x171)](TEST_EVENTS[_0x74a390(0x13d)],_0x1cffaa);CodeceptRecorder['add'](()=>_0x41f48a[_0x74a390(0x136)](TEST_EVENTS[_0x74a390(0x13d)],_0x44f283));}catch(_0xc80a7f){PerformanceTester[_0x74a390(0x122)](_0xc80a7f);}}),CodeceptJS['event'][_0x242169(0x13e)]['on'](CodeceptJS['event'][_0x242169(0x121)][_0x242169(0x10a)],async(_0x4a07a8,_0x1b8a30)=>{const _0x25ff80=_0x242169;try{if(_0x3aec56[_0x25ff80(0xdf)](isBrowserstackInfra)){const _0x51136c=_0x3aec56[_0x25ff80(0x146)](shouldScanTestForAccessibility,_0x4a07a8[_0x25ff80(0x119)](),!![]);if(_0x3aec56[_0x25ff80(0x112)](isAccessibilityAutomationSession)&&global[_0x25ff80(0x15c)]&&_0x51136c){const _0x37a180={};_0x37a180['thTestRunUuid']=_0x4a07a8[_0x25ff80(0x150)],_0x37a180[_0x25ff80(0x10f)]=process[_0x25ff80(0xf0)][testHubConstants['ENV_VAR'][_0x25ff80(0xe0)]],_0x37a180['thJwtToken']=process[_0x25ff80(0xf0)][testHubConstants[_0x25ff80(0x118)][_0x25ff80(0xe1)]];const _0x2fc09b=_0x37a180;logger[_0x25ff80(0xf6)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x25ff80(0x10b)](_0x2fc09b)),CodeceptRecorder[_0x25ff80(0x13a)](async()=>{const _0x36ef0b=_0x25ff80;await AccessibilityHelper[_0x36ef0b(0xfb)](_0x12e256,scripts[_0x36ef0b(0x104)]),await AccessibilityHelper[_0x36ef0b(0xfb)](_0x12e256,scripts[_0x36ef0b(0x160)],_0x2fc09b);}),logger['info'](_0x3aec56[_0x25ff80(0x143)]);}}}catch(_0xaf1d62){PerformanceTester[_0x25ff80(0x122)](_0xaf1d62);}}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)]['step'][_0x242169(0x167)],_0x52d28b=>{const _0x79699a=_0x242169;try{process['emit'](_0x79699a(0x151)+process[_0x79699a(0x153)],{'timestamp':new Date()[_0x79699a(0x14b)](),'level':_0x3aec56[_0x79699a(0x12c)],'message':_0x52d28b,'kind':_0x3aec56[_0x79699a(0x158)],'http_response':{}});}catch(_0x2e18b4){PerformanceTester[_0x79699a(0x122)](_0x2e18b4);}}),CodeceptJS['event'][_0x242169(0x13e)]['on'](CodeceptJS['event'][_0x242169(0xf3)]['before'],_0x2be9ae=>{const _0x1b0aa2=_0x242169;_0x41f48a[_0x1b0aa2(0xda)](_0x2be9ae);}),CodeceptJS[_0x242169(0x125)][_0x242169(0x13e)]['on'](CodeceptJS[_0x242169(0x125)][_0x242169(0xf3)][_0x242169(0x10a)],_0x2d6979=>{const _0x11d7fe=_0x242169;_0x41f48a[_0x11d7fe(0x17b)](_0x2d6979);});};function a1_0x281d(_0x24b181,_0x51561f){const _0x28d2a2=a1_0x28d2();return a1_0x281d=function(_0x281df7,_0x50ea5d){_0x281df7=_0x281df7-0xd7;let _0x275cfa=_0x28d2a2[_0x281df7];return _0x275cfa;},a1_0x281d(_0x24b181,_0x51561f);}function a1_0x28d2(){const _0x18e8f6=['BS_TESTOPS_ALLOW_SCREENSHOTS','after','stringify','TEST_RUN_STARTED','toString','passed','thBuildUuid','ooacC','ctx','VTgpK','oBBZr','INFO','filter','skipSessionStatus','cvqLJ','ENV_VAR','titlePath','skipped','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','title','_before','../../bin/playwright/sessionDetails','getResultsSummary','commandsToWrap','test','captureError','format','codeceptjs/lib/helper/WebDriver.js','event','hoGvN','forEach','Performing\x20scan\x20for\x20','../../helpers/accessibility-automation/helper','codeceptjs/lib/recorder.js','saveScreenshot','cyRvM','pbkcQ','patch','executeScript','warn','arguments','mkZkr','6ydKBzR','../../helpers/accessibility-automation/scripts','getSyncScript','fireEvent','ceHbE','all','dpsfV','add','prototype','pTgaO','TEST_RUN_SKIPPED','dispatcher','container','codeceptjs/lib/helper/Playwright.js','class','name','DycIi','SOMYZ','bstackAllyScanning','hSmkK','jRMlS','codeceptjs/lib/utils.js','winstonLogger','action','toISOString','PBvjF','../../helpers/performance-tester','find','ldCQA','testAnalyticsId','bs:addLog:','screenshotOutputFolder','pid','../../helpers/test-observability/utils','readFileSync','DDFvd','slice','lDInZ','../../helpers/logger','constructor','hook','accessibilityPlatform','QVGjV','11mUCDyy','start','saveTestResults','423073ZgSRzX','Element','kqmwA','status','stop','PJxGq','comment','__skipSessionStatus','bkGrJ','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','605685rfErsJ','addRequestSpy','TEST_RUN_FINISHED','initSaveScreenshot','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','getAccessibilityResults','captureEvent','tJTgE','skipSessionName','setSessionStatus','2011aHGPnR','128950yswHyG','getResults','browserContext','browser','24nIratt','bddStepFinish','Playwright','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','136NkZvxS','bddStepStart','3431640pvBqYK','patchSaveScreenshot','xIvZF','failed','ukJNL','BROWSERSTACK_TESTHUB_UUID','BROWSERSTACK_TESTHUB_JWT','base64','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','153lRWjfO','getAccessibilityResultsSummary','GPmFS','VTxbX','emit','startMonitoring','currentTest','HOOK_RUN_FINISHED','browserstack_executor:\x20','MiAKI','../../helpers/request-spy','HOOK_RUN_STARTED','env','Suite','198152EBvqFo','bddStep','335337OLaYTe','LYfSR','debug','WebDriver','catch','apply','contexts','browserStackExecuteDriver','util','eCIIq','enabled','WzJQj','cXwTO','RfVeo','started','kOzGx','performScan','before','then','helpers','stopMonitoring'];a1_0x28d2=function(){return _0x18e8f6;};return a1_0x28d2();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x373a72=a2_0x3557;(function(_0xdb454f,_0x3d6a88){const _0x133ab3=a2_0x3557,_0x2cf60c=_0xdb454f();while(!![]){try{const _0x1dceb9=-parseInt(_0x133ab3(0x21f))/0x1+parseInt(_0x133ab3(0x258))/0x2*(parseInt(_0x133ab3(0x266))/0x3)+parseInt(_0x133ab3(0x210))/0x4+parseInt(_0x133ab3(0x262))/0x5*(-parseInt(_0x133ab3(0x22d))/0x6)+parseInt(_0x133ab3(0x268))/0x7+-parseInt(_0x133ab3(0x212))/0x8+parseInt(_0x133ab3(0x1ef))/0x9*(parseInt(_0x133ab3(0x216))/0xa);if(_0x1dceb9===_0x3d6a88)break;else _0x2cf60c['push'](_0x2cf60c['shift']());}catch(_0x55133a){_0x2cf60c['push'](_0x2cf60c['shift']());}}}(a2_0x96f7,0x39720));const fs=require('fs'),path=require(a2_0x373a72(0x23f)),util=require(a2_0x373a72(0x269)),process=require(a2_0x373a72(0x233)),logger=require('../../helpers/logger')[a2_0x373a72(0x220)],{default:BrowserStackSetup}=require(a2_0x373a72(0x24b)),helper=require(a2_0x373a72(0x1e4)),utilities=require(a2_0x373a72(0x252)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x373a72(0x223)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x373a72(0x1e4)),CodeceptJS=requireModule(a2_0x373a72(0x235)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x373a72(0x25b)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2d1864,_0x25e541)=>{const _0x5bc01f=a2_0x373a72,_0x49c92a={};_0x49c92a[_0x5bc01f(0x21d)]=function(_0x3719f7,_0x206433){return _0x3719f7===_0x206433;},_0x49c92a[_0x5bc01f(0x26b)]=_0x5bc01f(0x20b),_0x49c92a['OjDnW']='codecept.json';const _0x1d0223=_0x49c92a;let _0x35cb8a=null;const _0xbf9bff={};let _0x256295=_0x25e541[_0x5bc01f(0x22e)](_0x5c5c28=>_0x5c5c28==='--config');_0x1d0223[_0x5bc01f(0x21d)](_0x256295,-0x1)&&(_0x256295=_0x25e541[_0x5bc01f(0x22e)](_0x331b65=>_0x331b65==='-c'));if(!helper[_0x5bc01f(0x222)](_0x2d1864[_0x5bc01f(0x259)])&&fs['existsSync'](path[_0x5bc01f(0x20e)](process[_0x5bc01f(0x237)](),_0x2d1864[_0x5bc01f(0x259)])))_0x35cb8a=path[_0x5bc01f(0x20e)](process[_0x5bc01f(0x237)](),_0x2d1864[_0x5bc01f(0x259)]),_0x25e541[_0x5bc01f(0x1e8)](_0x256295,0x2);else{if(!helper[_0x5bc01f(0x222)](_0x2d1864['c'])&&fs[_0x5bc01f(0x25f)](path[_0x5bc01f(0x20e)](process[_0x5bc01f(0x237)](),_0x2d1864['c'])))_0x35cb8a=path['join'](process[_0x5bc01f(0x237)](),_0x2d1864['c']),_0x25e541[_0x5bc01f(0x1e8)](_0x256295,0x2);else{if(fs[_0x5bc01f(0x25f)](path[_0x5bc01f(0x20e)](process[_0x5bc01f(0x237)](),_0x1d0223['ylAPf'])))_0x35cb8a=path[_0x5bc01f(0x20e)](process[_0x5bc01f(0x237)](),_0x1d0223[_0x5bc01f(0x26b)]);else fs[_0x5bc01f(0x25f)](path[_0x5bc01f(0x20e)](process[_0x5bc01f(0x237)](),_0x1d0223[_0x5bc01f(0x213)]))&&(_0x35cb8a=path[_0x5bc01f(0x20e)](process['cwd'](),_0x1d0223[_0x5bc01f(0x213)]));}}return _0x35cb8a;},getO11yRerunPattern=()=>{const _0x527739=a2_0x373a72,_0x529db4={};_0x529db4[_0x527739(0x218)]=function(_0x596178,_0x55e2aa){return _0x596178!==_0x55e2aa;},_0x529db4[_0x527739(0x21e)]=_0x527739(0x21b);const _0x4b02c3=_0x529db4,_0x89474d=helper['isTrue'](process[_0x527739(0x25a)][_0x527739(0x243)]);if(_0x89474d){const _0x5f1c7a=process[_0x527739(0x25a)][_0x527739(0x217)],_0x56d5bb=[];if(_0x4b02c3[_0x527739(0x218)](_0x5f1c7a,_0x4b02c3[_0x527739(0x21e)])&&!helper[_0x527739(0x222)](_0x5f1c7a)){_0x5f1c7a['split'](',')[_0x527739(0x1f8)](_0x42c0bc=>{const _0x2aa884=_0x527739;_0x56d5bb['push']('('+_0x42c0bc[_0x2aa884(0x1f3)]()+')');});const _0x4b9532='^'+_0x56d5bb['join']('|')+'$';return _0x4b9532;}}return null;},a2_0x57e51f={};a2_0x57e51f[a2_0x373a72(0x201)]=a2_0x373a72(0x1fb),a2_0x57e51f[a2_0x373a72(0x23b)]=a2_0x373a72(0x1fb),a2_0x57e51f[a2_0x373a72(0x1fa)]=a2_0x373a72(0x251),a2_0x57e51f[a2_0x373a72(0x208)]=a2_0x373a72(0x20a);const pwToCodeceptBrowser=a2_0x57e51f;function a2_0x96f7(){const _0x55b738=['xrzty','handleApp','koIVx','chrome','qNLgr','accessibilityOptions','push','stringify','testObservability','parallelsPerPlatform','playwright-webkit','frameworkName','webkit','codecept.conf.js','stop','CODECEPT','join','enabled','239596NPjYcF','plugins','1991392UOMGqd','OjDnW','browserName','testContextOptions','1390nTSCuD','BROWSERSTACK_RERUN_TESTS','eFPrb','cuVnt','Playwright','null','jUVbZ','WTZVT','MrecN','97812RgmQSL','winstonLogger','hqjHN','isUndefined','../../bin/playwright/accessibility-helper','YWTtB','launchBuild','bootstrapAll','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','Workers','getUserWorkerCount','helpers','err','log','77598XEfKaw','findIndex','browser','stack','mveew','isTestObservabilitySession','process','event','codeceptjs/lib/index.js','BROWSERSTACK_TEST_OBSERVABILITY_YML','cwd','teardownAll','false','require','playwright-chromium','printResults','HkOCH','NOYYF','path','codeceptjs','KqmDn','profile','BROWSERSTACK_RERUN','LkrIm','root','addConfig','exports','length','FRAMEWORKS','IMqkr','../../helpers/BrowserStackSetup','browserStackCwd','xsgEw','WebDriver','cmKYh','ATEPI','firefox','../../helpers/utilities','Failed\x20:\x20','FhttX','title','prepareCapabilities','createGroupsOfSuites','107286cGqPku','config','env','../utils/constants','uWuAl','skipSessionName','ZZsSO','existsSync','ZZjgd','addTests','100YeDoBs','getPlaywrightUrl','forEach','platforms','9dRALPb','test','2366777CkBNXg','util','jaJnV','ylAPf','passed','toLowerCase','qqhVS','wFjUF','../../helpers/helper','mergeDeep','browserWSEndpoint','initialize','slice','dirname','kqTpl','failed','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','spawn','info','18243Hnusgj','format','split','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','trim','hmzqN','Passed\x20:\x20','chdir','all','map','errorMessage','playwright-firefox','chromium','RonAp','BROWSERSTACK_TEST_ACCESSIBILITY_YML'];a2_0x96f7=function(){return _0x55b738;};return a2_0x96f7();}async function run(_0x50e6c9,_0xe1fd48){const _0x1fb148=a2_0x373a72,_0x47636b={'xsgEw':function(_0x44fe45,_0x3014cc){return _0x44fe45+_0x3014cc;},'koIVx':function(_0x1f3cf4,_0x585de8){return _0x1f3cf4(_0x585de8);},'qNqUa':function(_0x3633e8,_0x23bb96){return _0x3633e8+_0x23bb96;},'jUVbZ':function(_0x32b4e7,_0x4633b2,_0x330e05){return _0x32b4e7(_0x4633b2,_0x330e05);},'RonAp':_0x1fb148(0x259),'NOYYF':'helpers','KqmDn':function(_0x234cdd){return _0x234cdd();},'HkOCH':function(_0x484bf0){return _0x484bf0();},'FhttX':_0x1fb148(0x253),'LAbZA':_0x1fb148(0x1f5),'ZZsSO':'Started\x20:\x20','dWLxG':'0|4|3|2|1','xrzty':_0x1fb148(0x240),'jaJnV':function(_0x36d37c,_0x52c6ab,_0x44ada1){return _0x36d37c(_0x52c6ab,_0x44ada1);},'qNLgr':function(_0x469741,_0x1d3332){return _0x469741(_0x1d3332);},'hfstu':_0x1fb148(0x1f2),'IMqkr':function(_0x34df43,_0x586428,_0x390711){return _0x34df43(_0x586428,_0x390711);},'hqjHN':_0x1fb148(0x21a),'ATEPI':_0x1fb148(0x24e),'cmKYh':function(_0xab9dcd,_0xbf4b22){return _0xab9dcd(_0xbf4b22);},'wFjUF':function(_0x58d3c5,_0x18bba1){return _0x58d3c5!=_0x18bba1;},'LkrIm':_0x1fb148(0x239),'cNzXQ':function(_0x160d02,_0x210026){return _0x160d02+_0x210026;},'hmzqN':function(_0x34a01d,_0x513be5,_0xd3a1ea){return _0x34a01d(_0x513be5,_0xd3a1ea);},'ZZjgd':'gherkin','kqTpl':'-cucumber','qqhVS':function(_0x48bc9f,_0xa5b09c){return _0x48bc9f(_0xa5b09c);},'lCUEM':function(_0x5d27f2,_0x237de0){return _0x5d27f2*_0x237de0;},'cuVnt':_0x1fb148(0x22f),'uWuAl':'desiredCapabilities','mveew':_0x1fb148(0x245),'wXPoN':'BrowserStackPlugin.js','YWTtB':_0x1fb148(0x24c)},_0x32cb5f=new BrowserStackSetup(_0x50e6c9,_0x47636b['xrzty']);await _0x32cb5f[_0x1fb148(0x1e7)](),await helper[_0x1fb148(0x1ff)](_0x32cb5f[_0x1fb148(0x259)]);if(!_0x32cb5f[_0x1fb148(0x259)])return;process[_0x1fb148(0x242)]=_0x50e6c9[_0x1fb148(0x242)];_0x50e6c9[_0x1fb148(0x242)]&&(process['env'][_0x1fb148(0x242)]=_0x50e6c9[_0x1fb148(0x242)]);const _0x20dc0c=_0x47636b[_0x1fb148(0x26a)](getUserCodeceptJSConfigs,_0x50e6c9,_0xe1fd48);let _0x269b34={};_0x20dc0c?(logger[_0x1fb148(0x1ee)](_0x1fb148(0x1ec)+_0x20dc0c),_0x269b34=_0x47636b[_0x1fb148(0x202)](require,_0x20dc0c)):logger[_0x1fb148(0x1ee)](_0x47636b['hfstu']);let _0x2a1106=![];_0x47636b[_0x1fb148(0x24a)](nestedKeyValue,_0x269b34,[_0x47636b['RonAp'],_0x47636b['NOYYF'],_0x47636b[_0x1fb148(0x221)]])&&(_0x2a1106=!![]);const _0x4e0221=_0x2a1106?_0x47636b[_0x1fb148(0x221)]:_0x47636b[_0x1fb148(0x250)];let _0x165cd6=!_0x2a1106?helper['useW3C'](_0x32cb5f[_0x1fb148(0x259)]):![];!helper[_0x1fb148(0x222)](_0x32cb5f[_0x1fb148(0x259)][_0x1fb148(0x203)])&&(process[_0x1fb148(0x25a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x32cb5f[_0x1fb148(0x259)]['accessibilityOptions']));let _0x40923e=_0x32cb5f[_0x1fb148(0x259)]['accessibility'];_0x40923e=_0x40923e||_0x47636b[_0x1fb148(0x24f)](checkAccessibilityPlatformConfig,_0x32cb5f['config']),process[_0x1fb148(0x25a)][_0x1fb148(0x1fd)]=_0x40923e;_0x40923e&&(_0x165cd6=!_0x40923e);_0x47636b[_0x1fb148(0x26f)](_0x32cb5f[_0x1fb148(0x259)][_0x1fb148(0x206)],null)?process[_0x1fb148(0x25a)][_0x1fb148(0x236)]=_0x32cb5f['config'][_0x1fb148(0x206)]:process['env'][_0x1fb148(0x236)]=_0x47636b[_0x1fb148(0x244)];const _0x5d5f6e=_0x47636b['cNzXQ'](_0x47636b[_0x1fb148(0x1fe)],_0x47636b[_0x1fb148(0x1f4)](nestedKeyValue,_0x269b34,[_0x47636b[_0x1fb148(0x1fc)],_0x47636b[_0x1fb148(0x260)]])?_0x47636b[_0x1fb148(0x1ea)]:''),_0x5a16bb=await TestHubHandler[_0x1fb148(0x225)](_0x5d5f6e,_0x32cb5f);_0x40923e&&_0x47636b[_0x1fb148(0x26e)](setAccessibilityCapabilities,_0x32cb5f[_0x1fb148(0x259)]);const _0x54961e={},_0x23c78d=[],_0x5603b2=_0x32cb5f[_0x1fb148(0x259)][_0x1fb148(0x207)]||helper[_0x1fb148(0x229)](_0x50e6c9,_0xe1fd48,_0x32cb5f[_0x1fb148(0x259)],constants[_0x1fb148(0x249)]['CODECEPT'])||0x1;let _0x39172f=0x1;if(_0x47636b['HkOCH'](isBrowserstackInfra)){const _0x4a0992=helper[_0x1fb148(0x256)](_0x32cb5f['config'],_0x165cd6,constants['FRAMEWORKS'][_0x1fb148(0x20d)]);helper['validPlatformsPresent'](_0x32cb5f[_0x1fb148(0x259)])?_0x39172f=_0x47636b['lCUEM'](_0x5603b2,_0x32cb5f[_0x1fb148(0x259)][_0x1fb148(0x265)][_0x1fb148(0x248)]):_0x39172f=_0x5603b2,_0x4a0992[_0x1fb148(0x264)](_0x269eab=>{const _0x2711ff=_0x1fb148,_0xc7d234={'tYnyG':function(_0x2e321e,_0x416b80){const _0x3692d2=a2_0x3557;return _0x47636b[_0x3692d2(0x24d)](_0x2e321e,_0x416b80);},'fcfDr':function(_0x691da8,_0x4a5390){const _0x19a318=a2_0x3557;return _0x47636b[_0x19a318(0x200)](_0x691da8,_0x4a5390);}},_0xcdc599=_0x47636b['qNqUa'](helper['getPlatformName'](_0x269eab,'_'),'_'+Date['now']()),_0x43a512=((()=>{const _0x4facf1=a2_0x3557;if(_0x2a1106){const _0x2c2314=pwToCodeceptBrowser[_0x269eab['browserName']]||_0x269eab[_0x4facf1(0x214)];return{'browser':_0x2c2314,[_0x2c2314]:{'browserWSEndpoint':_0xc7d234['tYnyG'](helper[_0x4facf1(0x263)](_0x32cb5f[_0x4facf1(0x259)]),_0xc7d234['fcfDr'](encodeURIComponent,JSON[_0x4facf1(0x205)](_0x269eab)))}};}const _0x4790f8={};return _0x4790f8['desiredCapabilities']=_0x269eab,_0x4790f8;})()),_0x502295=_0x47636b[_0x2711ff(0x21c)](nestedKeyValue,_0x269b34,[_0x47636b[_0x2711ff(0x1fc)],_0x47636b[_0x2711ff(0x23e)],_0x4e0221]);_0x54961e[_0xcdc599]=_0x502295?helper[_0x2711ff(0x1e5)](_0x43a512,_0x502295):_0x43a512,!_0x2a1106&&(_0x54961e[_0xcdc599]['browser']=_0x269eab[_0x2711ff(0x214)]||_0x43a512[_0x2711ff(0x22f)]),_0x23c78d['push'](_0xcdc599);});}else{_0x39172f=0x1;if(_0x2a1106){const _0x2ccc9b=_0x47636b['jUVbZ'](nestedKeyValue,_0x269b34,[_0x47636b['RonAp'],_0x47636b[_0x1fb148(0x23e)],_0x4e0221,_0x47636b[_0x1fb148(0x219)]]),_0x4683e2=_0x47636b['IMqkr'](nestedKeyValue,_0x269b34,[_0x47636b[_0x1fb148(0x1fc)],_0x47636b[_0x1fb148(0x23e)],_0x4e0221,_0x2ccc9b]);_0x4683e2&&_0x4683e2[_0x1fb148(0x1e6)]&&(_0x4683e2[_0x1fb148(0x1e6)]=helper[_0x1fb148(0x256)](null,null,_0x5d5f6e[_0x1fb148(0x26d)](),null,null,_0x4683e2[_0x1fb148(0x1e6)]));}else _0x269b34[_0x1fb148(0x259)][_0x47636b[_0x1fb148(0x23e)]][_0x4e0221][_0x47636b[_0x1fb148(0x25c)]]=helper[_0x1fb148(0x256)](null,null,_0x5d5f6e[_0x1fb148(0x26d)](),_0x47636b[_0x1fb148(0x1f4)](nestedKeyValue,_0x269b34,[_0x47636b[_0x1fb148(0x1fc)],_0x47636b['NOYYF'],_0x4e0221,_0x47636b[_0x1fb148(0x25c)]]),null,null);_0x54961e[_0x47636b[_0x1fb148(0x231)]]=_0x269b34[_0x1fb148(0x259)],_0x23c78d[_0x1fb148(0x204)](_0x47636b[_0x1fb148(0x231)]);}const _0x3e7fca={};_0x3e7fca['testConfig']=_0x20dc0c;const _0x3aef55=_0x3e7fca,_0x545233=path[_0x1fb148(0x20e)](__dirname,_0x47636b['wXPoN']),_0x319fdd=process[_0x1fb148(0x237)]();process[_0x1fb148(0x25a)][_0x47636b[_0x1fb148(0x224)]]=_0x319fdd,process['chdir'](path[_0x1fb148(0x1e9)](_0x20dc0c));const _0x5cfda0=new CodeceptJS[(_0x1fb148(0x228))](null,_0x3aef55),_0x316681=_0x5cfda0[_0x1fb148(0x257)](_0x39172f),_0x400726=testOpsHelper[_0x1fb148(0x232)](),_0x4b112f=_0x23c78d[_0x1fb148(0x1f8)](_0x288622=>{const _0x2e9d24=_0x1fb148,_0x359970={};_0x359970[_0x2e9d24(0x21a)]=_0x54961e[_0x288622];const _0x4a3c9d={};_0x4a3c9d[_0x2e9d24(0x24e)]=_0x54961e[_0x288622];const _0x2a0c55=_0x2a1106?_0x359970:_0x4a3c9d,_0x49d2bb=_0x47636b[_0x2e9d24(0x241)](getO11yRerunPattern),_0x560859={};_0x560859[_0x2e9d24(0x22a)]=_0x2a0c55;const _0x4c4a17={};_0x4c4a17[_0x2e9d24(0x23a)]=_0x545233,_0x4c4a17[_0x2e9d24(0x20f)]=!![],_0x4c4a17[_0x2e9d24(0x25d)]=_0x32cb5f[_0x2e9d24(0x259)]['testContextOptions'][_0x2e9d24(0x25d)],_0x4c4a17['skipSessionStatus']=_0x32cb5f[_0x2e9d24(0x259)][_0x2e9d24(0x215)]['skipSessionStatus'],_0x4c4a17[_0x2e9d24(0x206)]=_0x400726,_0x4c4a17[_0x2e9d24(0x209)]=_0x5d5f6e;const _0x52d24f={};_0x52d24f['BrowserStackPlugin']=_0x4c4a17;const _0x2c0f70={};return _0x2c0f70[_0x2e9d24(0x211)]=_0x52d24f,helper[_0x2e9d24(0x1e5)]({},_0x269b34[_0x2e9d24(0x259)],_0x47636b[_0x2e9d24(0x23d)](isBrowserstackInfra)?_0x560859:{},_0x49d2bb?{'grep':_0x49d2bb}:{},_0x2c0f70);});for(const _0x471cc1 of _0x4b112f){for(const _0x2325b2 of _0x316681){const _0x275af5=_0x5cfda0[_0x1fb148(0x1ed)]();_0x275af5[_0x1fb148(0x261)](_0x2325b2),_0x275af5[_0x1fb148(0x246)](_0x471cc1);}}_0x5cfda0['on'](CodeceptJS[_0x1fb148(0x234)][_0x1fb148(0x267)][_0x1fb148(0x1eb)],(_0xc7a54a,_0x2078f9)=>{const _0x2c65ed=_0x1fb148;console[_0x2c65ed(0x22c)](_0x47636b[_0x2c65ed(0x254)],_0xc7a54a['title']);const _0x55de64={[_0xc7a54a[_0x2c65ed(0x255)]]:_0xc7a54a[_0x2c65ed(0x22b)][_0x2c65ed(0x230)]};_testErrorData[_0x2c65ed(0x204)](_0x55de64);}),_0x5cfda0['on'](CodeceptJS[_0x1fb148(0x234)]['test'][_0x1fb148(0x26c)],async _0x1238ca=>{const _0x387b6a=_0x1fb148;console[_0x387b6a(0x22c)](_0x47636b['LAbZA'],_0x1238ca[_0x387b6a(0x255)]);}),_0x5cfda0['on'](CodeceptJS[_0x1fb148(0x234)][_0x1fb148(0x267)]['before'],async _0x402010=>{const _0x5a41f6=_0x1fb148;console[_0x5a41f6(0x22c)](_0x47636b[_0x5a41f6(0x25e)],_0x402010[_0x5a41f6(0x255)]);}),_0x5cfda0['on'](CodeceptJS[_0x1fb148(0x234)][_0x1fb148(0x1f7)]['result'],async()=>{const _0x2d5f18=_0x1fb148,_0x2622c9=_0x47636b['dWLxG'][_0x2d5f18(0x1f1)]('|');let _0x4f7e0b=0x0;while(!![]){switch(_0x2622c9[_0x4f7e0b++]){case'0':_0x32cb5f[_0x2d5f18(0x1f9)]=_testErrorData;continue;case'1':_0x5cfda0[_0x2d5f18(0x23c)]();continue;case'2':try{await TestHubHandler[_0x2d5f18(0x20c)]();}catch(_0x54b45c){logger['debug'](_0x2d5f18(0x227)+util[_0x2d5f18(0x1f0)](_0x54b45c));}continue;case'3':utilities['finalExecution'](_0x32cb5f);continue;case'4':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x29d668(){const _0x347d8f=_0x1fb148;try{await _0x5cfda0[_0x347d8f(0x226)](),await _0x5cfda0['run']();}finally{process[_0x347d8f(0x1f6)](_0x319fdd),await _0x5cfda0[_0x347d8f(0x238)]();}}_0x47636b[_0x1fb148(0x23d)](_0x29d668);}function a2_0x3557(_0x1daeab,_0x40972f){const _0x96f7f5=a2_0x96f7();return a2_0x3557=function(_0x3557fa,_0x572dab){_0x3557fa=_0x3557fa-0x1e4;let _0x1b116b=_0x96f7f5[_0x3557fa];return _0x1b116b;},a2_0x3557(_0x1daeab,_0x40972f);}module[a2_0x373a72(0x247)]=run;
2
+ 'use strict';function a2_0x573c(_0x5c1d49,_0x514b65){const _0x16e631=a2_0x16e6();return a2_0x573c=function(_0x573ce8,_0x1d3524){_0x573ce8=_0x573ce8-0xc8;let _0x38b572=_0x16e631[_0x573ce8];return _0x38b572;},a2_0x573c(_0x5c1d49,_0x514b65);}const a2_0x2eb6a2=a2_0x573c;function a2_0x16e6(){const _0x3d6ce3=['1234387rGiBiB','slice','chromium','event','join','useW3C','109118VTaTMM','Workers','format','chdir','push','../../helpers/utilities','playwright-chromium','mDjkE','chrome','4vHsnNs','Passed\x20:\x20','profile','YAulC','Started\x20:\x20','OrKfj','pQZkm','xeWRH','passed','playwright-webkit','require','tzodC','oMrYW','10879488YkYAHL','lNAtr','launchBuild','stop','qNVwY','teardownAll','dZNcR','NkLrQ','failed','pbQdb','ojBiW','printResults','pomWn','winstonLogger','../../helpers/BrowserStackSetup','all','rGiqH','codecept.json','19610tgIARB','mergeDeep','FRAMEWORKS','HAyVz','JKYtr','BROWSERSTACK_RERUN','existsSync','xhabm','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','prepareCapabilities','plugins','testConfig','WebDriver','path','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','SUZBv','vBFSO','bdbZL','testContextOptions','root','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','612Zdqyhi','findIndex','debug','stack','codeceptjs','run','Playwright','toLowerCase','log','3632178NZGYXv','cwd','BROWSERSTACK_RERUN_TESTS','test','helpers','getPlaywrightUrl','bootstrapAll','accessibilityOptions','BROWSERSTACK_TEST_OBSERVABILITY_YML','1278978qyLjTK','enabled','handleApp','HttHo','isTestObservabilitySession','webkit','3339039vsKkQv','browserWSEndpoint','testObservability','--config','skipSessionName','skipSessionStatus','info','../../helpers/helper','now','HKUeF','getPlatformName','exports','addConfig','printBuildLink','../../helpers/test-observability/utils','browserName','browser','err','getUserWorkerCount','null','errorMessage','forEach','title','stringify','length','BrowserStackPlugin.js','config','dirname','createGroupsOfSuites','validPlatformsPresent','env','split','desiredCapabilities','-cucumber','CODECEPT','SgDVD','parallelsPerPlatform','5AfZlvx','browserStackCwd','EfeLN','aOHtR','tMzbk','aNFwE','spawn','JBNtl','isUndefined','huzAl'];a2_0x16e6=function(){return _0x3d6ce3;};return a2_0x16e6();}(function(_0x7cbff9,_0x3e35fa){const _0x59c9c5=a2_0x573c,_0x3c323f=_0x7cbff9();while(!![]){try{const _0x793e3b=-parseInt(_0x59c9c5(0xdb))/0x1+parseInt(_0x59c9c5(0x116))/0x2+-parseInt(_0x59c9c5(0xe1))/0x3*(-parseInt(_0x59c9c5(0x11f))/0x4)+-parseInt(_0x59c9c5(0x106))/0x5*(parseInt(_0x59c9c5(0xd2))/0x6)+parseInt(_0x59c9c5(0x110))/0x7+parseInt(_0x59c9c5(0x12c))/0x8+-parseInt(_0x59c9c5(0xc9))/0x9*(parseInt(_0x59c9c5(0x13e))/0xa);if(_0x793e3b===_0x3e35fa)break;else _0x3c323f['push'](_0x3c323f['shift']());}catch(_0x49bccd){_0x3c323f['push'](_0x3c323f['shift']());}}}(a2_0x16e6,0xa7850));const fs=require('fs'),path=require(a2_0x2eb6a2(0x14b)),util=require('util'),process=require('process'),logger=require('../../helpers/logger')[a2_0x2eb6a2(0x139)],{default:BrowserStackSetup}=require(a2_0x2eb6a2(0x13a)),helper=require(a2_0x2eb6a2(0xe8)),utilities=require(a2_0x2eb6a2(0x11b)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2eb6a2(0xe8)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x2eb6a2(0xef)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x489f1c,_0x38ecf1)=>{const _0x439e53=a2_0x2eb6a2,_0x557d1f={};_0x557d1f['oMrYW']=function(_0x6675cd,_0x1c06f6){return _0x6675cd===_0x1c06f6;},_0x557d1f['xeWRH']='codecept.conf.js',_0x557d1f[_0x439e53(0x136)]=_0x439e53(0x13d);const _0x1c4b16=_0x557d1f;let _0x54bed3=null;const _0x1c87c1={};let _0x37cca7=_0x38ecf1[_0x439e53(0xca)](_0x1c1eb5=>_0x1c1eb5===_0x439e53(0xe4));_0x1c4b16[_0x439e53(0x12b)](_0x37cca7,-0x1)&&(_0x37cca7=_0x38ecf1[_0x439e53(0xca)](_0x11fea7=>_0x11fea7==='-c'));if(!helper[_0x439e53(0x10e)](_0x489f1c[_0x439e53(0xfb)])&&fs[_0x439e53(0x144)](path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x489f1c[_0x439e53(0xfb)])))_0x54bed3=path[_0x439e53(0x114)](process['cwd'](),_0x489f1c[_0x439e53(0xfb)]),_0x38ecf1['slice'](_0x37cca7,0x2);else{if(!helper[_0x439e53(0x10e)](_0x489f1c['c'])&&fs[_0x439e53(0x144)](path['join'](process[_0x439e53(0xd3)](),_0x489f1c['c'])))_0x54bed3=path['join'](process[_0x439e53(0xd3)](),_0x489f1c['c']),_0x38ecf1[_0x439e53(0x111)](_0x37cca7,0x2);else{if(fs[_0x439e53(0x144)](path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x1c4b16[_0x439e53(0x126)])))_0x54bed3=path[_0x439e53(0x114)](process['cwd'](),_0x1c4b16[_0x439e53(0x126)]);else fs[_0x439e53(0x144)](path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x1c4b16[_0x439e53(0x136)]))&&(_0x54bed3=path[_0x439e53(0x114)](process[_0x439e53(0xd3)](),_0x1c4b16[_0x439e53(0x136)]));}}return _0x54bed3;},getO11yRerunPattern=()=>{const _0x165ba2=a2_0x2eb6a2,_0x2d9f7b={};_0x2d9f7b[_0x165ba2(0x12a)]=function(_0x389306,_0x4ab985){return _0x389306!==_0x4ab985;},_0x2d9f7b[_0x165ba2(0x108)]=_0x165ba2(0xf4);const _0x393d05=_0x2d9f7b,_0x1eeb7c=helper['isTrue'](process['env'][_0x165ba2(0x143)]);if(_0x1eeb7c){const _0x24797a=process[_0x165ba2(0xff)][_0x165ba2(0xd4)],_0x203ff9=[];if(_0x393d05[_0x165ba2(0x12a)](_0x24797a,_0x393d05[_0x165ba2(0x108)])&&!helper[_0x165ba2(0x10e)](_0x24797a)){_0x24797a[_0x165ba2(0x100)](',')['map'](_0x2aae63=>{const _0x4fd955=_0x165ba2;_0x203ff9[_0x4fd955(0x11a)]('('+_0x2aae63[_0x4fd955(0x152)]()+')');});const _0x217717='^'+_0x203ff9[_0x165ba2(0x114)]('|')+'$';return _0x217717;}}return null;},a2_0x2d7c91={};a2_0x2d7c91[a2_0x2eb6a2(0x11e)]=a2_0x2eb6a2(0x112),a2_0x2d7c91[a2_0x2eb6a2(0x11c)]=a2_0x2eb6a2(0x112),a2_0x2d7c91['playwright-firefox']='firefox',a2_0x2d7c91[a2_0x2eb6a2(0x128)]=a2_0x2eb6a2(0xe0);const pwToCodeceptBrowser=a2_0x2d7c91;async function run(_0x477f50,_0x3a80a5){const _0x3ae55e=a2_0x2eb6a2,_0x449c11={'aOHtR':function(_0x1a1f6a,_0x583938){return _0x1a1f6a+_0x583938;},'pbQdb':function(_0x12ae46,_0xd3fd0){return _0x12ae46(_0xd3fd0);},'UrGGy':function(_0x331fed,_0x3e8737,_0x4a35b1){return _0x331fed(_0x3e8737,_0x4a35b1);},'xhabm':_0x3ae55e(0xfb),'HAyVz':_0x3ae55e(0xd6),'pomWn':function(_0x1bb08e){return _0x1bb08e();},'pQZkm':function(_0x1103b0){return _0x1103b0();},'vBFSO':'Failed\x20:\x20','lNAtr':_0x3ae55e(0x120),'bdbZL':_0x3ae55e(0x123),'gJXuQ':'1|4|0|3|2','JKYtr':_0x3ae55e(0xcd),'afChG':function(_0xbfd601,_0x295f17,_0x110159){return _0xbfd601(_0x295f17,_0x110159);},'SUZBv':function(_0x375b43,_0x49b5d8){return _0x375b43(_0x49b5d8);},'JBNtl':_0x3ae55e(0x14c),'NkLrQ':_0x3ae55e(0xcf),'HKUeF':_0x3ae55e(0x14a),'aNFwE':function(_0x335516,_0x51d384){return _0x335516!=_0x51d384;},'tMzbk':'false','bijuF':function(_0x2a9180,_0x34a35){return _0x2a9180+_0x34a35;},'aZWgD':function(_0x14cc7c,_0x56f68c,_0x3b5973){return _0x14cc7c(_0x56f68c,_0x3b5973);},'mvukW':'gherkin','YAulC':_0x3ae55e(0x102),'qNVwY':function(_0x2f0f9b,_0xe2c87c){return _0x2f0f9b(_0xe2c87c);},'qLfoz':function(_0x599c2f){return _0x599c2f();},'XOACv':function(_0x4846b4,_0x304472){return _0x4846b4*_0x304472;},'SgDVD':function(_0x12610a,_0x196a9e,_0x31a185){return _0x12610a(_0x196a9e,_0x31a185);},'bsKJe':'browser','mDjkE':_0x3ae55e(0x101),'rGiqH':_0x3ae55e(0x151),'huzAl':_0x3ae55e(0xfa),'HttHo':_0x3ae55e(0x107)},_0x215f9f=new BrowserStackSetup(_0x477f50,_0x449c11[_0x3ae55e(0x142)]);await _0x215f9f['initialize'](),await helper[_0x3ae55e(0xdd)](_0x215f9f[_0x3ae55e(0xfb)]);if(!_0x215f9f[_0x3ae55e(0xfb)])return;process[_0x3ae55e(0x121)]=_0x477f50[_0x3ae55e(0x121)];_0x477f50[_0x3ae55e(0x121)]&&(process[_0x3ae55e(0xff)][_0x3ae55e(0x121)]=_0x477f50[_0x3ae55e(0x121)]);const _0x3b3c8a=_0x449c11['afChG'](getUserCodeceptJSConfigs,_0x477f50,_0x3a80a5);let _0x3b2389={};_0x3b3c8a?(logger[_0x3ae55e(0xe7)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3b3c8a),_0x3b2389=_0x449c11[_0x3ae55e(0x14d)](require,_0x3b3c8a)):logger['info'](_0x449c11[_0x3ae55e(0x10d)]);let _0x4ab0ec=![];_0x449c11['afChG'](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11[_0x3ae55e(0x141)],_0x449c11['NkLrQ']])&&(_0x4ab0ec=!![]);const _0x123ddf=_0x4ab0ec?_0x449c11[_0x3ae55e(0x133)]:_0x449c11[_0x3ae55e(0xea)];let _0x5d367e=!_0x4ab0ec?helper[_0x3ae55e(0x115)](_0x215f9f[_0x3ae55e(0xfb)]):![];!helper[_0x3ae55e(0x10e)](_0x215f9f[_0x3ae55e(0xfb)]['accessibilityOptions'])&&(process[_0x3ae55e(0xff)][_0x3ae55e(0x146)]=JSON[_0x3ae55e(0xf8)](_0x215f9f[_0x3ae55e(0xfb)][_0x3ae55e(0xd9)]));let _0x266322=_0x215f9f[_0x3ae55e(0xfb)]['accessibility'];_0x266322=_0x266322||_0x449c11[_0x3ae55e(0x14d)](checkAccessibilityPlatformConfig,_0x215f9f[_0x3ae55e(0xfb)]),process[_0x3ae55e(0xff)][_0x3ae55e(0xc8)]=_0x266322;_0x266322&&(_0x5d367e=!_0x266322);_0x449c11[_0x3ae55e(0x10b)](_0x215f9f['config'][_0x3ae55e(0xe3)],null)?process['env'][_0x3ae55e(0xda)]=_0x215f9f[_0x3ae55e(0xfb)][_0x3ae55e(0xe3)]:process[_0x3ae55e(0xff)][_0x3ae55e(0xda)]=_0x449c11[_0x3ae55e(0x10a)];const _0x497747=_0x449c11['bijuF'](_0x449c11[_0x3ae55e(0x142)],_0x449c11['aZWgD'](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11['mvukW']])?_0x449c11[_0x3ae55e(0x122)]:''),_0x200f20=await TestHubHandler[_0x3ae55e(0x12e)](_0x497747,_0x215f9f);_0x266322&&_0x449c11[_0x3ae55e(0x130)](setAccessibilityCapabilities,_0x215f9f['config']);const _0x58f64a={},_0xd6e523=[],_0x9a5ecc=_0x215f9f[_0x3ae55e(0xfb)][_0x3ae55e(0x105)]||helper[_0x3ae55e(0xf3)](_0x477f50,_0x3a80a5,_0x215f9f[_0x3ae55e(0xfb)],constants[_0x3ae55e(0x140)][_0x3ae55e(0x103)])||0x1;let _0x2da681=0x1;if(_0x449c11['qLfoz'](isBrowserstackInfra)){const _0x5622f4=helper[_0x3ae55e(0x147)](_0x215f9f[_0x3ae55e(0xfb)],_0x5d367e,constants[_0x3ae55e(0x140)]['CODECEPT']);helper[_0x3ae55e(0xfe)](_0x215f9f[_0x3ae55e(0xfb)])?_0x2da681=_0x449c11['XOACv'](_0x9a5ecc,_0x215f9f['config']['platforms'][_0x3ae55e(0xf9)]):_0x2da681=_0x9a5ecc,_0x5622f4[_0x3ae55e(0xf6)](_0x14fef1=>{const _0x46dfd3=_0x3ae55e,_0x5ddc53={'OrKfj':function(_0x4daf28,_0x9729a){const _0x354c1e=a2_0x573c;return _0x449c11[_0x354c1e(0x109)](_0x4daf28,_0x9729a);},'dZNcR':function(_0x45b146,_0x186a56){const _0x2dd315=a2_0x573c;return _0x449c11[_0x2dd315(0x135)](_0x45b146,_0x186a56);}},_0x49a893=_0x449c11[_0x46dfd3(0x109)](helper[_0x46dfd3(0xeb)](_0x14fef1,'_'),'_'+Date[_0x46dfd3(0xe9)]()),_0x3d5356=((()=>{const _0x49f31b=_0x46dfd3;if(_0x4ab0ec){const _0x103ddc=pwToCodeceptBrowser[_0x14fef1[_0x49f31b(0xf0)]]||_0x14fef1[_0x49f31b(0xf0)];return{'browser':_0x103ddc,[_0x103ddc]:{'browserWSEndpoint':_0x5ddc53[_0x49f31b(0x124)](helper[_0x49f31b(0xd7)](_0x215f9f[_0x49f31b(0xfb)]),_0x5ddc53[_0x49f31b(0x132)](encodeURIComponent,JSON[_0x49f31b(0xf8)](_0x14fef1)))}};}const _0x1d8a88={};return _0x1d8a88[_0x49f31b(0x101)]=_0x14fef1,_0x1d8a88;})()),_0x72ae66=_0x449c11['UrGGy'](nestedKeyValue,_0x3b2389,[_0x449c11[_0x46dfd3(0x145)],_0x449c11['HAyVz'],_0x123ddf]);_0x58f64a[_0x49a893]=_0x72ae66?helper[_0x46dfd3(0x13f)](_0x3d5356,_0x72ae66):_0x3d5356,!_0x4ab0ec&&(_0x58f64a[_0x49a893][_0x46dfd3(0xf1)]=_0x14fef1['browserName']||_0x3d5356[_0x46dfd3(0xf1)]),_0xd6e523[_0x46dfd3(0x11a)](_0x49a893);});}else{_0x2da681=0x1;if(_0x4ab0ec){const _0x469a59=_0x449c11[_0x3ae55e(0x104)](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11[_0x3ae55e(0x141)],_0x123ddf,_0x449c11['bsKJe']]),_0x40d594=_0x449c11['aZWgD'](nestedKeyValue,_0x3b2389,[_0x449c11['xhabm'],_0x449c11[_0x3ae55e(0x141)],_0x123ddf,_0x469a59]);_0x40d594&&_0x40d594[_0x3ae55e(0xe2)]&&(_0x40d594[_0x3ae55e(0xe2)]=helper[_0x3ae55e(0x147)](null,null,_0x497747[_0x3ae55e(0xd0)](),null,null,_0x40d594[_0x3ae55e(0xe2)]));}else _0x3b2389['config'][_0x449c11[_0x3ae55e(0x141)]][_0x123ddf][_0x449c11[_0x3ae55e(0x11d)]]=helper[_0x3ae55e(0x147)](null,null,_0x497747[_0x3ae55e(0xd0)](),_0x449c11[_0x3ae55e(0x104)](nestedKeyValue,_0x3b2389,[_0x449c11[_0x3ae55e(0x145)],_0x449c11[_0x3ae55e(0x141)],_0x123ddf,_0x449c11[_0x3ae55e(0x11d)]]),null,null);_0x58f64a[_0x449c11[_0x3ae55e(0x13c)]]=_0x3b2389[_0x3ae55e(0xfb)],_0xd6e523[_0x3ae55e(0x11a)](_0x449c11[_0x3ae55e(0x13c)]);}const _0x28987e={};_0x28987e[_0x3ae55e(0x149)]=_0x3b3c8a;const _0x3e6e4c=_0x28987e,_0x2857d7=path[_0x3ae55e(0x114)](__dirname,_0x449c11[_0x3ae55e(0x10f)]),_0xbc472d=process['cwd']();process[_0x3ae55e(0xff)][_0x449c11[_0x3ae55e(0xde)]]=_0xbc472d,process[_0x3ae55e(0x119)](path[_0x3ae55e(0xfc)](_0x3b3c8a));const _0x33d888=new CodeceptJS[(_0x3ae55e(0x117))](null,_0x3e6e4c),_0x5dfc6c=_0x33d888[_0x3ae55e(0xfd)](_0x2da681),_0x43c2e7=testOpsHelper[_0x3ae55e(0xdf)](),_0x1f42a8=_0xd6e523['map'](_0x27f4e4=>{const _0x3a26fa=_0x3ae55e,_0xba6580={};_0xba6580[_0x3a26fa(0xcf)]=_0x58f64a[_0x27f4e4];const _0x58de0b={};_0x58de0b[_0x3a26fa(0x14a)]=_0x58f64a[_0x27f4e4];const _0x390db4=_0x4ab0ec?_0xba6580:_0x58de0b,_0x2b8a1b=_0x449c11[_0x3a26fa(0x138)](getO11yRerunPattern),_0xb78a70={};_0xb78a70['helpers']=_0x390db4;const _0x48bf76={};_0x48bf76[_0x3a26fa(0x129)]=_0x2857d7,_0x48bf76[_0x3a26fa(0xdc)]=!![],_0x48bf76[_0x3a26fa(0xe5)]=_0x215f9f[_0x3a26fa(0xfb)]['testContextOptions'][_0x3a26fa(0xe5)],_0x48bf76['skipSessionStatus']=_0x215f9f[_0x3a26fa(0xfb)][_0x3a26fa(0x150)][_0x3a26fa(0xe6)],_0x48bf76[_0x3a26fa(0xe3)]=_0x43c2e7,_0x48bf76['frameworkName']=_0x497747;const _0x1e2b90={};_0x1e2b90['BrowserStackPlugin']=_0x48bf76;const _0x3bc826={};return _0x3bc826[_0x3a26fa(0x148)]=_0x1e2b90,helper['mergeDeep']({},_0x3b2389['config'],_0x449c11[_0x3a26fa(0x125)](isBrowserstackInfra)?_0xb78a70:{},_0x2b8a1b?{'grep':_0x2b8a1b}:{},_0x3bc826);});for(const _0x3f05dd of _0x1f42a8){for(const _0x5b0da4 of _0x5dfc6c){const _0x5718f7=_0x33d888[_0x3ae55e(0x10c)]();_0x5718f7['addTests'](_0x5b0da4),_0x5718f7[_0x3ae55e(0xed)](_0x3f05dd);}}_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0xd5)][_0x3ae55e(0x134)],(_0x4ee16d,_0x2f8721)=>{const _0x289bf7=_0x3ae55e;console[_0x289bf7(0xd1)](_0x449c11[_0x289bf7(0x14e)],_0x4ee16d[_0x289bf7(0xf7)]);const _0xfe7515={[_0x4ee16d[_0x289bf7(0xf7)]]:_0x4ee16d[_0x289bf7(0xf2)][_0x289bf7(0xcc)]};_testErrorData[_0x289bf7(0x11a)](_0xfe7515);}),_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0xd5)][_0x3ae55e(0x127)],async _0x250a60=>{const _0x1b6b6d=_0x3ae55e;console[_0x1b6b6d(0xd1)](_0x449c11[_0x1b6b6d(0x12d)],_0x250a60[_0x1b6b6d(0xf7)]);}),_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0xd5)]['before'],async _0x4aab07=>{const _0x40e2aa=_0x3ae55e;console[_0x40e2aa(0xd1)](_0x449c11[_0x40e2aa(0x14f)],_0x4aab07['title']);}),_0x33d888['on'](CodeceptJS[_0x3ae55e(0x113)][_0x3ae55e(0x13b)]['result'],async()=>{const _0x1a8666=_0x3ae55e,_0x80c7bd=_0x449c11['gJXuQ']['split']('|');let _0x1ce7bc=0x0;while(!![]){switch(_0x80c7bd[_0x1ce7bc++]){case'0':utilities['finalExecution'](_0x215f9f);continue;case'1':_0x215f9f[_0x1a8666(0xf5)]=_testErrorData;continue;case'2':_0x33d888[_0x1a8666(0x137)]();continue;case'3':try{await TestHubHandler[_0x1a8666(0x12f)]();}catch(_0x544203){logger[_0x1a8666(0xcb)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1a8666(0x118)](_0x544203));}continue;case'4':testOpsHelper[_0x1a8666(0xee)]();continue;}break;}});async function _0x4329d7(){const _0x508093=_0x3ae55e;try{await _0x33d888[_0x508093(0xd8)](),await _0x33d888[_0x508093(0xce)]();}finally{process[_0x508093(0x119)](_0xbc472d),await _0x33d888[_0x508093(0x131)]();}}_0x449c11[_0x3ae55e(0x125)](_0x4329d7);}module[a2_0x2eb6a2(0xec)]=run;
@@ -1 +1 @@
1
- const a3_0x47630e=a3_0x13d0;function a3_0x3477(){const _0x41e1da=['platform','chrome','Playwright','../../helpers/logger','uEByQ','browserVersion','qzlQY','1VOepfj','DjIeO','shouldPatchExecuteScript','fQTSn','browser_version','gFCwA','winstonLogger','8kExKia','unknown_grid','processWebDriverConfig','sessionId','ebbds','COHAk','capabilities','platformName','1599090MfkLuO','osVersion','unQkc','constructor','parse','3409021WQdBhR','latest','xuzMj','platformVersion','lpjwN','accessibilityPlatform','uiiPN','1513635triKcx','cErNy','includes','pTxfl','bstack:options','1265358GMAtgb','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','lDPuM','platform_version','2920532kMqewp','cloudProvider','getDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','tGNCA','warn','get','18034749JdeWmE','../../helpers/test-observability/utils','JDjcw','pWEZA','WjgLz','GxvUy','XPnaf','1140950UxwdUW','browser','deviceName','os_version','fetchPlatformDetails','__cloud_provider___','browserstack_accessibility_automation_script','LIznK','browserstack_executor','config','aMYeq','../../bin/playwright/sessionDetails','playwright-chromium','browserWSEndpoint','../../helpers/accessibility-automation/helper','caps','name','DmjdK','../../helpers/helper','jPxgC','browserName'];a3_0x3477=function(){return _0x41e1da;};return a3_0x3477();}function a3_0x13d0(_0x39d26c,_0x1eddac){const _0x3477bc=a3_0x3477();return a3_0x13d0=function(_0x13d0e2,_0x57dc93){_0x13d0e2=_0x13d0e2-0xf5;let _0x1ee223=_0x3477bc[_0x13d0e2];return _0x1ee223;},a3_0x13d0(_0x39d26c,_0x1eddac);}(function(_0x103ab1,_0x4015c0){const _0x3f5267=a3_0x13d0,_0x119ffe=_0x103ab1();while(!![]){try{const _0x18b882=parseInt(_0x3f5267(0x12d))/0x1*(-parseInt(_0x3f5267(0x13c))/0x2)+-parseInt(_0x3f5267(0xfa))/0x3+-parseInt(_0x3f5267(0x103))/0x4+-parseInt(_0x3f5267(0x111))/0x5+parseInt(_0x3f5267(0xff))/0x6+parseInt(_0x3f5267(0x141))/0x7+-parseInt(_0x3f5267(0x134))/0x8*(-parseInt(_0x3f5267(0x10a))/0x9);if(_0x18b882===_0x4015c0)break;else _0x119ffe['push'](_0x119ffe['shift']());}catch(_0x14822d){_0x119ffe['push'](_0x119ffe['shift']());}}}(a3_0x3477,0x6b430));const {isUndefined,nestedKeyValue}=require(a3_0x47630e(0x123)),logger=require(a3_0x47630e(0x129))[a3_0x47630e(0x133)],PlaywrightSessionDetails=require(a3_0x47630e(0x11c)),{isAccessibilityAutomationSession}=require(a3_0x47630e(0x11f)),{getObservabilityLinkedProductName}=require(a3_0x47630e(0x10b)),getOSVersionFromCaps=_0xcaf825=>{const _0x22834e=a3_0x47630e,_0x25be96={};_0x25be96['DjIeO']=_0x22834e(0xfe),_0x25be96['uiiPN']=_0x22834e(0xf6),_0x25be96[_0x22834e(0xf5)]=_0x22834e(0x102),_0x25be96[_0x22834e(0x132)]=_0x22834e(0x13d),_0x25be96[_0x22834e(0x10c)]=_0x22834e(0x114);const _0x4c3327=_0x25be96;if(!_0xcaf825)return null;const _0x52cfa9=_0xcaf825[_0x4c3327[_0x22834e(0x12e)]],_0x3853b4=[_0x4c3327[_0x22834e(0xf9)],_0x4c3327[_0x22834e(0xf5)],_0x4c3327[_0x22834e(0x132)],_0x4c3327[_0x22834e(0x10c)]];for(const _0x2f14ce of _0x3853b4){if(_0x52cfa9&&_0x52cfa9[_0x2f14ce])return _0x52cfa9[_0x2f14ce];else{if(_0xcaf825[_0x2f14ce])return _0xcaf825[_0x2f14ce];}}return null;};exports[a3_0x47630e(0x115)]=_0x3bfe93=>{const _0x520903=a3_0x47630e,_0x1a5b83={'fQTSn':_0x520903(0x135),'aMYeq':function(_0x1ab2e8,_0x365548){return _0x1ab2e8===_0x365548;},'OGWLd':'WebDriver','XPnaf':function(_0x12278a,_0xbed358){return _0x12278a(_0xbed358);},'LIznK':function(_0x45edb9,_0x239b51,_0x3b6224){return _0x45edb9(_0x239b51,_0x3b6224);},'jPxgC':_0x520903(0x11a),'jmDLJ':'desiredCapabilities','lpjwN':function(_0x4d96f1,_0x44cd52){return _0x4d96f1(_0x44cd52);},'GxvUy':_0x520903(0x128),'lDPuM':_0x520903(0x112),'qzlQY':_0x520903(0x11e),'uEByQ':_0x520903(0x120),'cErNy':function(_0x2d4915,_0x6cf02e){return _0x2d4915(_0x6cf02e);}};if(!_0x3bfe93)return null;let _0x25cf50=global[_0x520903(0x116)]||_0x1a5b83[_0x520903(0x130)];if(_0x1a5b83[_0x520903(0x11b)](_0x3bfe93[_0x520903(0x13f)]['name'],_0x1a5b83['OGWLd'])){const _0x1ec0bd=_0x3bfe93[_0x520903(0x112)];if(!_0x1ec0bd)return null;const _0x40bfbe=_0x1ec0bd['capabilities'],_0x280737=_0x1a5b83[_0x520903(0x110)](getOSVersionFromCaps,_0x1a5b83[_0x520903(0x118)](nestedKeyValue,_0x3bfe93,[_0x1a5b83['jPxgC'],_0x1a5b83['jmDLJ']]));return{[_0x25cf50]:{'browser':_0x40bfbe[_0x520903(0x125)],'browser_version':_0x40bfbe['browserVersion'],'capabilities':_0x40bfbe,'platform':_0x40bfbe[_0x520903(0x13b)],'platform_version':_0x40bfbe[_0x520903(0xf6)]||_0x280737,'product':_0x1a5b83[_0x520903(0xf7)](getObservabilityLinkedProductName,_0x40bfbe),'session_id':_0x1ec0bd[_0x520903(0x137)]}};}else{if(_0x1a5b83[_0x520903(0x11b)](_0x3bfe93[_0x520903(0x13f)][_0x520903(0x121)],_0x1a5b83[_0x520903(0x10f)])){const _0x178a89=PlaywrightSessionDetails[_0x520903(0x105)]();_0x25cf50=_0x178a89[_0x520903(0x104)]||_0x25cf50;const _0x984ed4=_0x1a5b83[_0x520903(0x118)](nestedKeyValue,_0x3bfe93,[_0x1a5b83[_0x520903(0x124)],_0x1a5b83[_0x520903(0x101)],_0x1a5b83[_0x520903(0x12c)]]),_0xb81f73=_0x984ed4?JSON[_0x520903(0x140)](new URL(_0x984ed4)['searchParams'][_0x520903(0x109)](_0x1a5b83[_0x520903(0x12a)])):{};return{[_0x25cf50]:{'browser':_0x178a89[_0x520903(0x112)]||_0xb81f73[_0x520903(0x125)],'browser_version':_0x178a89[_0x520903(0x131)]||_0xb81f73[_0x520903(0x131)],'capabilities':_0xb81f73,'platform':_0x178a89[_0x520903(0x126)],'platform_version':_0x178a89['platform_version'],'product':_0x1a5b83[_0x520903(0xfb)](getObservabilityLinkedProductName,_0xb81f73),'session_id':_0x178a89['bsSessionId']}};}}},exports[a3_0x47630e(0x136)]=_0x4e9554=>{const _0x131655=a3_0x47630e,_0x3832b0={'ogCnF':function(_0x2f99dd){return _0x2f99dd();},'COHAk':function(_0x543baa,_0x5d7d70){return _0x543baa===_0x5d7d70;},'LPzWM':_0x131655(0x142),'tGNCA':function(_0x2e43e7,_0x5490cf){return _0x2e43e7>_0x5490cf;},'pKLDa':function(_0x24e45a,_0x156c20){return _0x24e45a(_0x156c20);},'WjgLz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','DmjdK':_0x131655(0x127),'piiXp':function(_0x23fe73,_0x3b91b4){return _0x23fe73===_0x3b91b4;},'QvwTb':_0x131655(0x11d),'pTxfl':_0x131655(0x106),'HOOmC':function(_0x390122,_0x37de8b){return _0x390122(_0x37de8b);},'unQkc':_0x131655(0x100)};if(_0x3832b0['ogCnF'](isAccessibilityAutomationSession)){const _0xed90e7=_0x4e9554[_0x131655(0x112)],_0x3752bd=_0xed90e7[_0x131655(0x13a)];global[_0x131655(0xf8)]=!![],!(_0x3832b0['COHAk'](_0x3752bd[_0x131655(0x12b)],_0x3832b0['LPzWM'])||_0x3832b0[_0x131655(0x107)](_0x3832b0['pKLDa'](parseInt,_0x3752bd['browserVersion']),0x5e))&&(logger[_0x131655(0x108)](_0x3832b0[_0x131655(0x10e)]),global[_0x131655(0xf8)]=![]),!(_0x3832b0[_0x131655(0x139)](_0x3752bd[_0x131655(0x125)],_0x3832b0[_0x131655(0x122)])||_0x3832b0['piiXp'](_0x3752bd['browserName'],_0x3832b0['QvwTb']))&&(logger[_0x131655(0x108)](_0x3832b0[_0x131655(0xfd)]),global[_0x131655(0xf8)]=![]),!_0x3832b0['HOOmC'](isUndefined,_0x3752bd[_0x131655(0x113)])&&(logger[_0x131655(0x108)](_0x3832b0[_0x131655(0x13e)]),global['accessibilityPlatform']=![]);}},exports[a3_0x47630e(0x12f)]=_0x23f105=>{const _0x20d807=a3_0x47630e,_0x284a6c={};_0x284a6c['pWEZA']=_0x20d807(0x119),_0x284a6c[_0x20d807(0x138)]=_0x20d807(0x117);const _0x300a64=_0x284a6c;if(!_0x23f105)return![];return!_0x23f105[_0x20d807(0xfc)](_0x300a64[_0x20d807(0x10d)])&&!_0x23f105[_0x20d807(0xfc)](_0x300a64['ebbds']);};
1
+ const a3_0x52c6af=a3_0x5a90;function a3_0x5a90(_0x15730e,_0x5305df){const _0x562d7a=a3_0x562d();return a3_0x5a90=function(_0x5a9011,_0x8b33a1){_0x5a9011=_0x5a9011-0xbe;let _0x17393c=_0x562d7a[_0x5a9011];return _0x17393c;},a3_0x5a90(_0x15730e,_0x5305df);}(function(_0x331913,_0x87855){const _0x1ddc5b=a3_0x5a90,_0x3a90d3=_0x331913();while(!![]){try{const _0x4ef604=-parseInt(_0x1ddc5b(0xeb))/0x1+-parseInt(_0x1ddc5b(0xe6))/0x2*(parseInt(_0x1ddc5b(0xd0))/0x3)+-parseInt(_0x1ddc5b(0x100))/0x4+parseInt(_0x1ddc5b(0xe3))/0x5*(-parseInt(_0x1ddc5b(0xee))/0x6)+parseInt(_0x1ddc5b(0xc5))/0x7*(parseInt(_0x1ddc5b(0xc7))/0x8)+-parseInt(_0x1ddc5b(0xd1))/0x9*(parseInt(_0x1ddc5b(0xda))/0xa)+parseInt(_0x1ddc5b(0xdb))/0xb;if(_0x4ef604===_0x87855)break;else _0x3a90d3['push'](_0x3a90d3['shift']());}catch(_0x169ee9){_0x3a90d3['push'](_0x3a90d3['shift']());}}}(a3_0x562d,0x540e5));const {isUndefined,nestedKeyValue}=require(a3_0x52c6af(0xcb)),logger=require('../../helpers/logger')[a3_0x52c6af(0xfe)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x52c6af(0xed)),{getObservabilityLinkedProductName}=require(a3_0x52c6af(0xf3)),getOSVersionFromCaps=_0x19e8e0=>{const _0x462a93=a3_0x52c6af,_0x49d3fa={};_0x49d3fa[_0x462a93(0xf4)]='bstack:options',_0x49d3fa[_0x462a93(0xfa)]='platformVersion',_0x49d3fa['dzoLu']=_0x462a93(0xd3),_0x49d3fa[_0x462a93(0x104)]=_0x462a93(0xe2),_0x49d3fa[_0x462a93(0x109)]=_0x462a93(0xe7);const _0x55df8c=_0x49d3fa;if(!_0x19e8e0)return null;const _0x58e901=_0x19e8e0[_0x55df8c[_0x462a93(0xf4)]],_0x533266=[_0x55df8c[_0x462a93(0xfa)],_0x55df8c[_0x462a93(0x108)],_0x55df8c[_0x462a93(0x104)],_0x55df8c[_0x462a93(0x109)]];for(const _0x57e1c6 of _0x533266){if(_0x58e901&&_0x58e901[_0x57e1c6])return _0x58e901[_0x57e1c6];else{if(_0x19e8e0[_0x57e1c6])return _0x19e8e0[_0x57e1c6];}}return null;};function a3_0x562d(){const _0x27792d=['iLkGt','bsSessionId','34284huKmim','819kWIxwr','fetchPlatformDetails','platform_version','capabilities','browserstack_executor','browserstack_accessibility_automation_script','browserName','bIKJE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','75110MbmvXj','27898673gmPblf','processWebDriverConfig','fBBKU','constructor','getDetails','wLsPs','searchParams','osVersion','15ztWWDc','warn','browserVersion','30XBSWGc','os_version','sessionId','FqQGL','deviceName','78148mINSdw','get','../../helpers/accessibility-automation/helper','1188498HupbBz','WebDriver','Playwright','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserWSEndpoint','../../helpers/test-observability/utils','FERCR','__cloud_provider___','xktPy','accessibilityPlatform','XbCDm','ThDte','HphPf','MloTt','platformName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','winstonLogger','NMVwL','2660412HdaIOQ','CVDlS','jJBGZ','platformVersion','YeWCi','desiredCapabilities','VdHnY','platform','dzoLu','JqPzG','config','parse','browser_version','QXZcn','uZtPK','includes','jymVf','MhdXB','TZROm','JSNmj','1099HtEvZZ','browser','24gOvabs','Psdar','xgvOD','playwright-chromium','../../helpers/helper','jnPsN','name'];a3_0x562d=function(){return _0x27792d;};return a3_0x562d();}exports[a3_0x52c6af(0xd2)]=_0x16b5a3=>{const _0x157bb3=a3_0x52c6af,_0x2c51e5={'QXZcn':'unknown_grid','xktPy':function(_0x430f8e,_0x426ab1){return _0x430f8e===_0x426ab1;},'xHTqp':_0x157bb3(0xef),'VdHnY':function(_0x208a59,_0x536ad4){return _0x208a59(_0x536ad4);},'MhdXB':function(_0x3fbb6c,_0x2fdb74,_0x555058){return _0x3fbb6c(_0x2fdb74,_0x555058);},'lteJs':_0x157bb3(0x10a),'JSNmj':_0x157bb3(0x105),'jJBGZ':function(_0xde6a51,_0x4f2072){return _0xde6a51(_0x4f2072);},'iLkGt':function(_0x58614f,_0x560478){return _0x58614f===_0x560478;},'jymVf':_0x157bb3(0xf0),'uZtPK':function(_0x569cc0,_0x431c0b,_0xfc7144){return _0x569cc0(_0x431c0b,_0xfc7144);},'wLsPs':_0x157bb3(0xc6),'bIKJE':_0x157bb3(0xf2),'sfTLi':'caps'};if(!_0x16b5a3)return null;let _0x4e4d15=global[_0x157bb3(0xf5)]||_0x2c51e5[_0x157bb3(0xbe)];if(_0x2c51e5[_0x157bb3(0xf6)](_0x16b5a3[_0x157bb3(0xde)][_0x157bb3(0xcd)],_0x2c51e5['xHTqp'])){const _0x2b709d=_0x16b5a3[_0x157bb3(0xc6)];if(!_0x2b709d)return null;const _0xfa86bc=_0x2b709d['capabilities'],_0x5f083e=_0x2c51e5[_0x157bb3(0x106)](getOSVersionFromCaps,_0x2c51e5[_0x157bb3(0xc2)](nestedKeyValue,_0x16b5a3,[_0x2c51e5['lteJs'],_0x2c51e5[_0x157bb3(0xc4)]]));return{[_0x4e4d15]:{'browser':_0xfa86bc[_0x157bb3(0xd7)],'browser_version':_0xfa86bc[_0x157bb3(0xe5)],'capabilities':_0xfa86bc,'platform':_0xfa86bc[_0x157bb3(0xfc)],'platform_version':_0xfa86bc[_0x157bb3(0x103)]||_0x5f083e,'product':_0x2c51e5[_0x157bb3(0x102)](getObservabilityLinkedProductName,_0xfa86bc),'session_id':_0x2b709d[_0x157bb3(0xe8)]}};}else{if(_0x2c51e5[_0x157bb3(0xce)](_0x16b5a3[_0x157bb3(0xde)][_0x157bb3(0xcd)],_0x2c51e5[_0x157bb3(0xc1)])){const _0xe460bb=PlaywrightSessionDetails[_0x157bb3(0xdf)]();_0x4e4d15=_0xe460bb['cloudProvider']||_0x4e4d15;const _0x12c89c=_0x2c51e5[_0x157bb3(0xbf)](nestedKeyValue,_0x16b5a3,[_0x2c51e5['lteJs'],_0x2c51e5[_0x157bb3(0xe0)],_0x2c51e5[_0x157bb3(0xd8)]]),_0xf744b=_0x12c89c?JSON[_0x157bb3(0x10b)](new URL(_0x12c89c)[_0x157bb3(0xe1)][_0x157bb3(0xec)](_0x2c51e5['sfTLi'])):{};return{[_0x4e4d15]:{'browser':_0xe460bb['browser']||_0xf744b[_0x157bb3(0xd7)],'browser_version':_0xe460bb[_0x157bb3(0x10c)]||_0xf744b[_0x157bb3(0x10c)],'capabilities':_0xf744b,'platform':_0xe460bb[_0x157bb3(0x107)],'platform_version':_0xe460bb['platform_version'],'product':_0x2c51e5[_0x157bb3(0x106)](getObservabilityLinkedProductName,_0xf744b),'session_id':_0xe460bb[_0x157bb3(0xcf)]}};}}},exports[a3_0x52c6af(0xdc)]=_0x1137b0=>{const _0x4d2e0d=a3_0x52c6af,_0x33d809={'NMVwL':function(_0x1b1afe){return _0x1b1afe();},'fHVoo':function(_0x1692c6,_0x4fd33b){return _0x1692c6===_0x4fd33b;},'ThDte':'latest','FqQGL':function(_0x238d47,_0x36c778){return _0x238d47>_0x36c778;},'XbCDm':function(_0x1e04f3,_0x41939d){return _0x1e04f3(_0x41939d);},'xgvOD':_0x4d2e0d(0xfd),'VNJnQ':function(_0x8fd0de,_0x47bef2){return _0x8fd0de===_0x47bef2;},'IuMne':'chrome','TZROm':function(_0x33e1e7,_0x429d86){return _0x33e1e7===_0x429d86;},'jnPsN':_0x4d2e0d(0xca),'CVDlS':_0x4d2e0d(0xd9),'Psdar':_0x4d2e0d(0xf1)};if(_0x33d809[_0x4d2e0d(0xff)](isAccessibilityAutomationSession)){const _0x2ea41b=_0x1137b0[_0x4d2e0d(0xc6)],_0x5f2f24=_0x2ea41b[_0x4d2e0d(0xd4)];global[_0x4d2e0d(0xf7)]=!![],!(_0x33d809['fHVoo'](_0x5f2f24[_0x4d2e0d(0xe5)],_0x33d809[_0x4d2e0d(0xf9)])||_0x33d809[_0x4d2e0d(0xe9)](_0x33d809[_0x4d2e0d(0xf8)](parseInt,_0x5f2f24[_0x4d2e0d(0xe5)]),0x5e))&&(logger[_0x4d2e0d(0xe4)](_0x33d809[_0x4d2e0d(0xc9)]),global[_0x4d2e0d(0xf7)]=![]),!(_0x33d809['VNJnQ'](_0x5f2f24[_0x4d2e0d(0xd7)],_0x33d809['IuMne'])||_0x33d809[_0x4d2e0d(0xc3)](_0x5f2f24[_0x4d2e0d(0xd7)],_0x33d809[_0x4d2e0d(0xcc)]))&&(logger[_0x4d2e0d(0xe4)](_0x33d809[_0x4d2e0d(0x101)]),global['accessibilityPlatform']=![]),!_0x33d809[_0x4d2e0d(0xf8)](isUndefined,_0x5f2f24[_0x4d2e0d(0xea)])&&(logger[_0x4d2e0d(0xe4)](_0x33d809[_0x4d2e0d(0xc8)]),global['accessibilityPlatform']=![]);}},exports['shouldPatchExecuteScript']=_0x509e31=>{const _0x583d00=a3_0x52c6af,_0x1985eb={};_0x1985eb[_0x583d00(0xdd)]=_0x583d00(0xd5),_0x1985eb['MloTt']=_0x583d00(0xd6);const _0x4226cf=_0x1985eb;if(!_0x509e31)return![];return!_0x509e31[_0x583d00(0xc0)](_0x4226cf[_0x583d00(0xdd)])&&!_0x509e31[_0x583d00(0xc0)](_0x4226cf[_0x583d00(0xfb)]);};
@@ -1 +1 @@
1
- const a4_0x39e32c=a4_0x52a7;(function(_0x4def04,_0x2e3a7e){const _0x241df6=a4_0x52a7,_0x101925=_0x4def04();while(!![]){try{const _0x2a9b9f=-parseInt(_0x241df6(0xcb))/0x1*(-parseInt(_0x241df6(0xed))/0x2)+-parseInt(_0x241df6(0x159))/0x3+-parseInt(_0x241df6(0x16d))/0x4*(parseInt(_0x241df6(0x101))/0x5)+-parseInt(_0x241df6(0x120))/0x6*(parseInt(_0x241df6(0x155))/0x7)+parseInt(_0x241df6(0x134))/0x8+-parseInt(_0x241df6(0x177))/0x9*(-parseInt(_0x241df6(0x171))/0xa)+parseInt(_0x241df6(0x162))/0xb;if(_0x2a9b9f===_0x2e3a7e)break;else _0x101925['push'](_0x101925['shift']());}catch(_0x162f55){_0x101925['push'](_0x101925['shift']());}}}(a4_0x24d6,0x6fc89));const path=require(a4_0x39e32c(0xe0)),fs=require('fs'),{v4:uuidv4}=require(a4_0x39e32c(0xc0)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x39e32c(0x18e)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x39e32c(0x11a)),{FRAMEWORKS}=require(a4_0x39e32c(0x170)),logger=require(a4_0x39e32c(0xf0))[a4_0x39e32c(0x121)],SessionHandler=require(a4_0x39e32c(0x154)),RequestQueueHandler=require(a4_0x39e32c(0x192)),PlaywrightSessionDetails=require(a4_0x39e32c(0x185)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x39e32c(0xc3)),Constants=require(a4_0x39e32c(0x132)),{fetchPlatformDetails}=require(a4_0x39e32c(0xd8)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x39e32c(0x14c)),STATE_PASSED=a4_0x39e32c(0x10b),STATE_FAILED=a4_0x39e32c(0x10a),a4_0x1fdeed={};function a4_0x52a7(_0x35d607,_0x455816){const _0x24d6b7=a4_0x24d6();return a4_0x52a7=function(_0x52a7bb,_0x39b2e9){_0x52a7bb=_0x52a7bb-0xb5;let _0x5ef4c8=_0x24d6b7[_0x52a7bb];return _0x5ef4c8;},a4_0x52a7(_0x35d607,_0x455816);}a4_0x1fdeed[a4_0x39e32c(0x175)]=a4_0x39e32c(0x193),a4_0x1fdeed[a4_0x39e32c(0xd1)]=a4_0x39e32c(0x1a3),a4_0x1fdeed[a4_0x39e32c(0x127)]=a4_0x39e32c(0x174),a4_0x1fdeed[a4_0x39e32c(0x104)]=a4_0x39e32c(0x14a),a4_0x1fdeed[a4_0x39e32c(0xb9)]=a4_0x39e32c(0xc9);const TEST_EVENTS=a4_0x1fdeed,parseEvent=_0x4d6a68=>{const _0x3163bd=a4_0x39e32c,_0x251398={};_0x251398[_0x3163bd(0x126)]=function(_0x3ca8a9,_0x430a91){return _0x3ca8a9<_0x430a91;},_0x251398[_0x3163bd(0x1a2)]=function(_0x1e0560,_0x2b0066){return _0x1e0560===_0x2b0066;},_0x251398[_0x3163bd(0x13e)]='test',_0x251398[_0x3163bd(0xdf)]=_0x3163bd(0x18b),_0x251398[_0x3163bd(0xe5)]=_0x3163bd(0x147),_0x251398['deoif']=_0x3163bd(0xd9),_0x251398[_0x3163bd(0x17b)]=function(_0x3beb29,_0x289a73){return _0x3beb29===_0x289a73;},_0x251398['LUVXO']='finished';const _0x42fd12=_0x251398,_0x2821a9=_0x4d6a68[_0x3163bd(0x157)](/^(.*)Run(.*)$/);if(!_0x2821a9)return null;if(_0x42fd12[_0x3163bd(0x126)](_0x2821a9['length'],0x3))return null;const _0x37c6aa=_0x2821a9[0x1][_0x3163bd(0xde)](),_0x2b9890=_0x2821a9[0x2]['toLowerCase']();return{'test':_0x42fd12[_0x3163bd(0x1a2)](_0x37c6aa,_0x42fd12[_0x3163bd(0x13e)]),'hook':_0x42fd12[_0x3163bd(0x1a2)](_0x37c6aa,_0x42fd12['hyAVn']),'skipped':_0x42fd12[_0x3163bd(0x1a2)](_0x2b9890,_0x42fd12['XWwpY']),'started':_0x42fd12['YjTUw'](_0x2b9890,_0x42fd12['deoif']),'finished':_0x42fd12[_0x3163bd(0x17b)](_0x2b9890,_0x42fd12[_0x3163bd(0x186)])};},mockPWBrowserType=_0x276612=>{const _0x5b6bef=a4_0x39e32c,_0x3302cb={'ASsTs':function(_0x11c5a3,_0x4bf8f7){return _0x11c5a3===_0x4bf8f7;},'OVREO':_0x5b6bef(0x115),'taZjG':function(_0x1dd404,_0x5993fb,_0x3814fd){return _0x1dd404(_0x5993fb,_0x3814fd);},'VBEfc':_0x5b6bef(0x19d),'ZtpFI':function(_0x187f91,_0x408413){return _0x187f91(_0x408413);},'lReTB':_0x5b6bef(0x18d),'poStk':function(_0x5655d2,_0x54f477){return _0x5655d2(_0x54f477);},'nVkYr':_0x5b6bef(0x14f),'NjqhM':_0x5b6bef(0x108),'QOfwu':_0x5b6bef(0x106),'nXeiB':'Not\x20able\x20to\x20import\x20Browser','DkdYb':_0x5b6bef(0xc8),'aPEqw':_0x5b6bef(0x11b)},_0x3f3cac=path[_0x5b6bef(0x16e)](_0x3302cb[_0x5b6bef(0x165)],_0x3302cb['NjqhM'],_0x3302cb['QOfwu']),_0x414e85=_0x3302cb[_0x5b6bef(0xef)](importFileFromPWCore,_0x3f3cac);if(!_0x414e85){_0x3302cb['poStk'](debug,_0x3302cb[_0x5b6bef(0x1ab)]);return;}const _0x3cfb16=_0x414e85[_0x5b6bef(0x182)],_0x4b82f4=_0x3cfb16[_0x5b6bef(0x18a)];if(_0x4b82f4['obsBrowserTypeMockApplied'])return;const _0x357dbb=_0x4b82f4['connect'];Object['defineProperty'](_0x4b82f4,_0x3302cb[_0x5b6bef(0x1a4)],{'get':function(){return async function _0x3a2a88(_0x58cb53,_0xfe2a34){const _0x1c9dd0=a4_0x52a7,_0xfb799b={'rmYZY':function(_0x451ab0,_0x402f62){const _0x349878=a4_0x52a7;return _0x3302cb[_0x349878(0x13c)](_0x451ab0,_0x402f62);},'kyNBX':_0x3302cb['OVREO']},_0x21e4ba=_0x3302cb[_0x1c9dd0(0x18c)](nestedKeyValue,_0x58cb53,[_0x3302cb['VBEfc']])||_0x58cb53;let _0x1f0ddf=null,_0xc828ac=null;try{[_0xc828ac,_0x1f0ddf]=_0x21e4ba?_0x3302cb['ZtpFI'](parseWSEndpoint,_0x21e4ba):[null,null],global[_0x1c9dd0(0xd5)]=_0x1f0ddf,_0xc828ac[_0x1c9dd0(0xe7)](_0x3302cb[_0x1c9dd0(0x180)])&&(global[_0x1c9dd0(0x118)]=_0x3302cb[_0x1c9dd0(0x180)]);}catch(_0x3770fa){logger['debug'](_0x1c9dd0(0xcd)+_0x21e4ba+'\x20'+_0x3770fa);}_0x3302cb[_0x1c9dd0(0x18c)](processAccessibilityCaps,_0x1f0ddf,_0xc828ac);if(global[_0x1c9dd0(0x160)]){const _0x336d63=await _0x4b82f4['connectOverCDP'][_0x1c9dd0(0xec)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x3302cb[_0x1c9dd0(0xef)](encodeURIComponent,JSON[_0x1c9dd0(0x107)](_0x1f0ddf))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x336d63,_0x276612,_0x21e4ba),_0x336d63;}return _0x357dbb['apply'](this,arguments)['then'](_0x239a46=>{const _0x969d8=_0x1c9dd0;let _0x15e04d=_0x58cb53[_0x969d8(0x19d)];return _0xfb799b['rmYZY'](typeof _0x58cb53,_0xfb799b[_0x969d8(0x15c)])&&(_0x15e04d=_0x58cb53),PlaywrightSessionDetails['setupBrowserDetails'](_0x239a46,_0x276612,_0x15e04d),_0x239a46;});};}});const _0x26d52f=_0x4b82f4[_0x5b6bef(0x11b)];Object[_0x5b6bef(0xf6)](_0x4b82f4,_0x3302cb[_0x5b6bef(0xf3)],{'get':function(){return async function _0xe3c1e3(){const _0x4ede4a=a4_0x52a7;return _0x26d52f[_0x4ede4a(0xec)](this,arguments)[_0x4ede4a(0x12f)](_0x41fab1=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x41fab1,null),_0x41fab1;});};}});};function a4_0x24d6(){const _0x445d05=['ozSKn','comment','ZRtpA','initializeBddStep','bddStepFinish','ASsTs','cwd','uDIOH','vfcOa','getHookType','hjImz','test','forEach','hook_run_uuid','util','nfHUD','skipped','getHierarchy','STATE_FAILED','HookRunStarted','XhJsz','../../helpers/testhub/utils.js','LHYtg','pid','lib','_beforeAll','YlDkd','QiUGc','gnPsy','../../helpers/test-observability/sessionHandler','2640498QxjqaK','fullTitle','match','body','2018187rqrwuU','currentHook','ZYzHE','kyNBX','jimJq','VIUkL','fireEvent','accessibilityPlatform','CYvKL','1890856ouxRNV','lbYTW','getTime','nVkYr','prefixTestPath','getInstance','duration','finished_at','bind','YvOLc','CODECEPT','203552KgxIml','join','test_run','../../helpers/test-observability/constants','930vHhYZl','split','retryOf','TestRunSkipped','TEST_RUN_STARTED','frameworkName','51390adBGnL','iUVSr','uVeiN','bs:addLog:','LESns','concat','kFVsm','tags','javascript','lReTB','suites','BrowserType','driver','eCcrE','../playwright/sessionDetails','LUVXO','failure_reason_expanded','SthNn','PathHelper','prototype','hook','taZjG','browserstack','../../helpers/helper','ctx','message','failure','../../helpers/test-observability/requestQueueHandler','TestRunStarted','integrations','File\x20path\x20could\x20not\x20be\x20found','TEST_EVENTS','result','resetSkipTestHooks','find','finished','FcjhU','removeAllListeners','wsEndpoint','sep','patchConsoleLogger','text','YJgIP','YjTUw','TestRunFinished','DkdYb','FVYcn','currentTest','status','wCSbq','mapTestHooks','debug','nXeiB','meta','toUpperCase','parent','JQEiD','VTnZB','keyword','.git','HOOK_RUN_FINISHED','KMcWo','stop','appendTestItemLog','startedAt','title','hook_type','uuid','NnlKI','_paths','../playwright/accessibility-helper','hookAnalyticsId','LndLw','push','lCwLM','connect','HookRunFinished','expanded','20429VmsGIS','QDFxc','Failed\x20to\x20parse\x20wsendpoint\x20','now','auyeL','GfWFD','TEST_RUN_FINISHED','KUcKQ','stepAnalyticsId','errorsDetailed','__platformCaps','failureData','xjxhS','./helper.js','started','AAlzy','inspect','toISOString','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','toLowerCase','hyAVn','path','OzjEv','failed\x20to\x20get\x20root\x20parent\x20file\x20','vfDNI','_afterEach','XWwpY','getHooksForTest','includes','config','DVVbg','uploadEventData','dirname','apply','58JaWpnw','relative','poStk','../../helpers/logger','CBTSessionCreated','failure_backtrace','aPEqw','pending','groups','defineProperty','tXCyB','err','markedStatus','findGitConfig','QArrq','IbXQb','type','file_name','exports','qufyn','35lfLBFT','WlKMj','aNCwn','HOOK_RUN_STARTED','\x20with\x20error\x20:\x20','browserType.js','stringify','client','backtrace','failed','passed','WJCVC','uAxBC','getRootParentFile','3|5|4|0|1|2','mcojs','logs','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bTgOo','LogCreated','string','testAnalyticsId','test_run_uuid','__cloud_provider___','bddSteps','../mocha/test-observability/mochaUtils','launch','toString','name','pCbaL','event_type','6UAJmbn','winstonLogger','FtirP','location_prefix','start','_testEnv','srHHI','TEST_RUN_SKIPPED','success','axQjl','pZVKC','codeceptjs','_afterAll','kDLHq','enabled','then','getCBTInfo','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','../utils/constants','NFhLA','4549256ZPqPhw','zmxRK','zJmMN'];a4_0x24d6=function(){return _0x445d05;};return a4_0x24d6();}class O11yHelper{[a4_0x39e32c(0x1a6)]=null;[a4_0x39e32c(0x15a)]=null;[a4_0x39e32c(0x12e)]=![];['frameworkName']=![];constructor(_0x244d2e,_0x38273a){const _0x13dbf5=a4_0x39e32c,_0x3c130e={'KUcKQ':_0x13dbf5(0x10f),'QvppV':function(_0x58e03b){return _0x58e03b();},'FVYcn':function(_0x17e8e2,_0x325c1f){return _0x17e8e2===_0x325c1f;},'cEFZo':'Playwright','jimJq':function(_0x47ebe2,_0x286c66){return _0x47ebe2(_0x286c66);},'DVVbg':function(_0x48920a){return _0x48920a();}},_0x466a70=_0x3c130e[_0x13dbf5(0xd2)][_0x13dbf5(0x172)]('|');let _0x411f3d=0x0;while(!![]){switch(_0x466a70[_0x411f3d++]){case'0':this[_0x13dbf5(0x125)]=_0x3c130e['QvppV'](getTestEnv);continue;case'1':this[_0x13dbf5(0xc2)]=new testOpsHelper[(_0x13dbf5(0x189))]({'cwd':process[_0x13dbf5(0x13d)]()},this[_0x13dbf5(0x125)][_0x13dbf5(0x123)]);continue;case'2':this['driver']&&_0x3c130e[_0x13dbf5(0x1a5)](this[_0x13dbf5(0x183)]['constructor'][_0x13dbf5(0x11d)],_0x3c130e['cEFZo'])&&_0x3c130e[_0x13dbf5(0x15d)](mockPWBrowserType,null);continue;case'3':this[_0x13dbf5(0x12e)]=_0x3c130e[_0x13dbf5(0xe9)](shouldProcessEventForTesthub);continue;case'4':this[_0x13dbf5(0x183)]=_0x244d2e;continue;case'5':this['frameworkName']=_0x38273a[_0x13dbf5(0x176)];continue;}break;}}[a4_0x39e32c(0x124)](){const _0x13df72=a4_0x39e32c;if(!this[_0x13df72(0x12e)])return;testOpsHelper[_0x13df72(0x19f)](),process[_0x13df72(0x19c)](_0x13df72(0x17a)+process[_0x13df72(0x14e)]),process['on'](_0x13df72(0x17a)+process[_0x13df72(0x14e)],this[_0x13df72(0xbc)][_0x13df72(0x16a)](this));}async[a4_0x39e32c(0xbb)](){const _0xc9fd28=a4_0x39e32c;await RequestQueueHandler[_0xc9fd28(0x167)]()['shutdown']();}async[a4_0x39e32c(0xbc)](_0x1711b1){const _0xcb50c0=a4_0x39e32c,_0x848519={'AAlzy':_0xcb50c0(0x114),'NnlKI':function(_0x259507,_0x70439f){return _0x259507(_0x70439f);}};try{this[_0xcb50c0(0x15a)]&&!this[_0xcb50c0(0x15a)][_0xcb50c0(0xf9)]&&(_0x1711b1[_0xcb50c0(0x144)]=this[_0xcb50c0(0x15a)][_0xcb50c0(0xc4)]);!_0x1711b1['hook_run_uuid']&&this[_0xcb50c0(0x1a6)]&&!this[_0xcb50c0(0x1a6)][_0xcb50c0(0xf9)]&&(_0x1711b1[_0xcb50c0(0x117)]=this['currentTest'][_0xcb50c0(0x116)]);if(_0x1711b1[_0xcb50c0(0x144)]||_0x1711b1[_0xcb50c0(0x117)]){const _0x4a1cb9={};_0x4a1cb9[_0xcb50c0(0x11f)]=_0x848519[_0xcb50c0(0xda)],_0x4a1cb9[_0xcb50c0(0x111)]=[_0x1711b1],await SessionHandler[_0xcb50c0(0xea)](_0x4a1cb9);}}catch(_0x2d90b7){_0x848519[_0xcb50c0(0xc1)](debug,_0xcb50c0(0x112)+_0x2d90b7);}}async['sendCBTInfo'](_0x1bfb32){const _0x536b58=a4_0x39e32c,_0x34096f={'SOexj':_0x536b58(0xf1),'lEUWT':function(_0x95d75e,_0x1e6410){return _0x95d75e(_0x1e6410);}};if(!this[_0x536b58(0x12e)])return;const _0x4b0578=this[_0x536b58(0x130)](this[_0x536b58(0x183)]);try{const _0x26feab={};_0x26feab[_0x536b58(0xc0)]=_0x1bfb32,_0x26feab[_0x536b58(0x194)]=_0x4b0578;const _0x254702=_0x26feab,_0x19ae08={};_0x19ae08[_0x536b58(0x11f)]=_0x34096f['SOexj'],_0x19ae08[_0x536b58(0x16f)]=_0x254702,await SessionHandler[_0x536b58(0xea)](_0x19ae08);}catch(_0x12045d){_0x34096f['lEUWT'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x12045d);}}[a4_0x39e32c(0x130)](_0x2ed5d9){const _0x4a50f0={'WrYLS':function(_0x5b0136,_0x1cb9e4){return _0x5b0136(_0x1cb9e4);}};return _0x4a50f0['WrYLS'](fetchPlatformDetails,_0x2ed5d9);}[a4_0x39e32c(0x198)]=_0x30bb19=>{const _0x3baf93=a4_0x39e32c,_0x57a923={};_0x57a923['CYvKL']='_beforeEach',_0x57a923[_0x3baf93(0xd0)]=_0x3baf93(0xe4);const _0x13bd9d=_0x57a923;if(!_0x30bb19||!_0x30bb19['parent'])return;[_0x13bd9d[_0x3baf93(0x161)],_0x13bd9d[_0x3baf93(0xd0)]][_0x3baf93(0x143)](_0x3df6a7=>{const _0x25fdcb=_0x3baf93,_0x5d901b=_0x30bb19[_0x25fdcb(0x1ae)][_0x3df6a7];_0x5d901b['forEach'](_0x1db7c2=>{const _0x24dd6b=_0x25fdcb;_0x1db7c2[_0x24dd6b(0xc4)]&&(_0x1db7c2[_0x24dd6b(0xc4)]=null);});});};[a4_0x39e32c(0x1a9)](_0x176740){const _0x518886=a4_0x39e32c,_0x36caba={'iUVSr':_0x518886(0x12b),'OzjEv':function(_0x4b8a87){return _0x4b8a87();},'qufyn':function(_0x559bc9,_0x2c2f4c){return _0x559bc9===_0x2c2f4c;},'FcjhU':_0x518886(0xe4),'ZRtpA':_0x518886(0x150),'CXWoj':_0x518886(0x12c),'xjxhS':'_beforeEach'};if(!_0x176740||!_0x176740[_0x518886(0x1ae)])return;[_0x36caba[_0x518886(0x139)],_0x36caba['CXWoj'],_0x36caba[_0x518886(0xd7)],_0x36caba[_0x518886(0x19b)]][_0x518886(0x143)](_0x2d28bd=>{const _0x3ac188=_0x518886,_0x41d4f2={'XhJsz':_0x36caba[_0x3ac188(0x178)],'WJCVC':function(_0x4416e7){const _0x500d96=_0x3ac188;return _0x36caba[_0x500d96(0xe1)](_0x4416e7);},'BSTIz':function(_0xe93126,_0x19792f){const _0x2f5af5=_0x3ac188;return _0x36caba[_0x2f5af5(0x100)](_0xe93126,_0x19792f);},'SthNn':_0x36caba[_0x3ac188(0x19b)]},_0x13d62e=_0x176740[_0x3ac188(0x1ae)][_0x2d28bd]||[];_0x13d62e[_0x3ac188(0x143)](_0x4d559d=>{const _0x52a97d=_0x3ac188;if(_0x4d559d[_0x52a97d(0xbe)][_0x52a97d(0xe7)](_0x41d4f2[_0x52a97d(0x14b)]))return;if(!_0x4d559d[_0x52a97d(0xc4)])_0x4d559d[_0x52a97d(0xc4)]=_0x41d4f2['WJCVC'](uuidv4);else _0x4d559d[_0x52a97d(0xf9)]&&_0x41d4f2['BSTIz'](_0x2d28bd,_0x41d4f2[_0x52a97d(0x188)])&&(_0x4d559d[_0x52a97d(0xc4)]=_0x41d4f2[_0x52a97d(0x10c)](uuidv4),delete _0x4d559d[_0x52a97d(0xf9)]);});}),this[_0x518886(0x1a9)](_0x176740[_0x518886(0x1ae)]);}[a4_0x39e32c(0xe6)](_0x277834){const _0x42f710=a4_0x39e32c,_0x27bd6b={};_0x27bd6b['lbYTW']='_beforeAll',_0x27bd6b[_0x42f710(0xba)]='_afterAll',_0x27bd6b[_0x42f710(0x15e)]='_beforeEach',_0x27bd6b[_0x42f710(0x146)]=_0x42f710(0xe4);const _0x200a9e=_0x27bd6b;if(!_0x277834||!_0x277834[_0x42f710(0x1ae)])return[];const _0x54ea30=[];return[_0x200a9e[_0x42f710(0x163)],_0x200a9e['KMcWo'],_0x200a9e['VIUkL'],_0x200a9e['nfHUD']]['forEach'](_0x40fb5f=>{const _0x5c7514=_0x42f710,_0x258711=_0x277834[_0x5c7514(0x1ae)][_0x40fb5f]||[];_0x258711[_0x5c7514(0x143)](_0x1c9ed2=>{const _0x44be98=_0x5c7514;_0x1c9ed2[_0x44be98(0xc4)]&&_0x54ea30[_0x44be98(0xc6)](_0x1c9ed2[_0x44be98(0xc4)]);});}),[][_0x42f710(0x17c)](_0x54ea30,this[_0x42f710(0xe6)](_0x277834[_0x42f710(0x1ae)]));}[a4_0x39e32c(0x140)](_0x2a0e35){const _0x4b0965=a4_0x39e32c,_0x1da526=/^"(?<hook>.*)" hook:.*$/,_0x10e7b1=_0x2a0e35[_0x4b0965(0xbe)],_0x64af86=_0x10e7b1[_0x4b0965(0x157)](_0x1da526);if(_0x64af86&&_0x64af86['groups'])return _0x64af86[_0x4b0965(0xf5)][_0x4b0965(0x18b)][_0x4b0965(0x1ad)]()['replace']('\x20','_');return null;}[a4_0x39e32c(0xfa)](_0x5b4f50){const _0x2c7a5d=a4_0x39e32c,_0x19c0af={};_0x19c0af[_0x2c7a5d(0xfc)]=function(_0xc198a1,_0x1ac8de){return _0xc198a1===_0x1ac8de;},_0x19c0af[_0x2c7a5d(0xb5)]=function(_0x4c888d,_0x49d51b){return _0x4c888d===_0x49d51b;},_0x19c0af['LndLw']=function(_0x372ba8,_0x2b90c2){return _0x372ba8===_0x2b90c2;},_0x19c0af['pCbaL']=_0x2c7a5d(0xb8),_0x19c0af[_0x2c7a5d(0xf7)]=_0x2c7a5d(0xe8);const _0x360021=_0x19c0af,_0x41c37b=path[_0x2c7a5d(0x19e)];if(_0x360021['IbXQb'](_0x5b4f50,null)||_0x360021[_0x2c7a5d(0xfc)](_0x5b4f50,'')||_0x360021['JQEiD'](_0x5b4f50,_0x41c37b)||_0x360021[_0x2c7a5d(0xc5)](_0x5b4f50,path['dirname'](_0x5b4f50)))return null;try{return fs['statSync'](path[_0x2c7a5d(0x16e)](_0x5b4f50,_0x360021[_0x2c7a5d(0x11e)],_0x360021[_0x2c7a5d(0xf7)])),_0x5b4f50;}catch(_0x18fefe){const _0x3d02af=path[_0x2c7a5d(0xeb)](_0x5b4f50);return this[_0x2c7a5d(0xfa)](_0x3d02af);}}['getRootParentFile'](_0x52ed61){const _0x4e3080=a4_0x39e32c,_0x344d85={};_0x344d85[_0x4e3080(0x135)]=function(_0x45413a,_0x5c719b){return _0x45413a>_0x5c719b;};const _0x47e3f2=_0x344d85;if(_0x52ed61['file'])return _0x52ed61['file'];if(_0x52ed61[_0x4e3080(0x18f)]){const _0x397243=_0x52ed61[_0x4e3080(0x18f)][_0x4e3080(0x1a6)]?this[_0x4e3080(0x10e)](_0x52ed61[_0x4e3080(0x18f)][_0x4e3080(0x1a6)]):null;if(_0x397243)return _0x397243;}if(_0x52ed61[_0x4e3080(0x1ae)]){const _0x4e0b75=this[_0x4e3080(0x10e)](_0x52ed61[_0x4e3080(0x1ae)])||(_0x52ed61['parent'][_0x4e3080(0x18f)]&&_0x52ed61[_0x4e3080(0x1ae)][_0x4e3080(0x18f)][_0x4e3080(0x1a6)]?this[_0x4e3080(0x10e)](_0x52ed61[_0x4e3080(0x1ae)][_0x4e3080(0x18f)]['currentTest']):null);if(_0x4e0b75)return _0x4e0b75;_0x52ed61[_0x4e3080(0x1ae)][_0x4e3080(0x181)]&&_0x47e3f2[_0x4e3080(0x135)](_0x52ed61[_0x4e3080(0x1ae)][_0x4e3080(0x181)]['length'],0x0)&&_0x52ed61['parent'][_0x4e3080(0x181)]['forEach'](_0x225ca4=>{const _0x22e793=_0x4e3080,_0x54088b=_0x225ca4[_0x22e793(0x18f)]?this[_0x22e793(0x10e)](_0x225ca4[_0x22e793(0x18f)]):null;if(_0x54088b)return _0x54088b;});}return null;}['getHierarchy'](_0x2cc662){const _0x41fcc9=a4_0x39e32c,_0x19422b={};_0x19422b[_0x41fcc9(0x179)]=function(_0x5a8c53,_0x3783c9){return _0x5a8c53!==_0x3783c9;};const _0x27e5b4=_0x19422b,_0x46e598=[];if(_0x2cc662&&_0x2cc662[_0x41fcc9(0x1ae)]){let _0x4995a7=_0x2cc662[_0x41fcc9(0x1ae)];while(_0x4995a7&&_0x27e5b4['uVeiN'](_0x4995a7[_0x41fcc9(0xbe)],'')){_0x46e598['push'](_0x4995a7[_0x41fcc9(0xbe)]),_0x4995a7=_0x4995a7[_0x41fcc9(0x1ae)];}}return _0x46e598;}['captureEvent'](_0x1f2a6e,_0x528f40,_0x3bcebb=undefined){const _0xab4216=a4_0x39e32c,_0x3b824c={'vfDNI':function(_0x78c40c,_0x3f95d5){return _0x78c40c(_0x3f95d5);},'WlKMj':function(_0x805657){return _0x805657();},'LHYtg':function(_0x1370bf){return _0x1370bf();},'eCcrE':function(_0x2462cd,_0x118771){return _0x2462cd(_0x118771);},'YvOLc':_0xab4216(0x145),'vfcOa':_0xab4216(0xf8),'goAme':function(_0xe9b4bd,_0x4aa7e0){return _0xe9b4bd!==_0x4aa7e0;},'pZVKC':function(_0x2e4783,_0x1302f3){return _0x2e4783!==_0x1302f3;},'ZYzHE':_0xab4216(0x195),'uAxBC':_0xab4216(0xf4),'QArrq':_0xab4216(0x10a),'bTgOo':_0xab4216(0x10b),'aNCwn':_0xab4216(0x147),'yFjCI':_0xab4216(0x17f),'Kmjtf':function(_0xd6ce65,_0x118139){return _0xd6ce65-_0x118139;},'aIqLV':function(_0x2c3dcc,_0x55e4e9,_0x188550,_0x5af4fe,_0x1f9a8a){return _0x2c3dcc(_0x55e4e9,_0x188550,_0x5af4fe,_0x1f9a8a);},'axQjl':function(_0x2538e5,_0x96cc3e){return _0x2538e5!==_0x96cc3e;},'NFhLA':_0xab4216(0x194),'ozSKn':_0xab4216(0x1ac),'QiUGc':_0xab4216(0x191),'VTnZB':_0xab4216(0xf2),'YJgIP':_0xab4216(0x109),'hjImz':_0xab4216(0x187),'auyeL':_0xab4216(0xca),'gnPsy':function(_0x4feb23,_0x33c7d9){return _0x4feb23===_0x33c7d9;},'lCwLM':'hook_run','kFVsm':_0xab4216(0x16f)};if(!this[_0xab4216(0x12e)])return;try{if(_0x528f40['fn']&&_0x528f40['fn'][_0xab4216(0x11c)]()[_0xab4216(0x157)](/browserstack internal helper hook/))return;const _0x7c3d01=_0x3b824c[_0xab4216(0xe3)](parseEvent,_0x1f2a6e);if(!_0x7c3d01)return;if(_0x7c3d01[_0xab4216(0x142)]){this[_0xab4216(0x1a6)]=_0x528f40,this['currentHook']=null;if(_0x7c3d01[_0xab4216(0xd9)]||_0x7c3d01[_0xab4216(0x147)]){_0x528f40[_0xab4216(0xbd)]=new Date(),_0x528f40[_0xab4216(0xf9)]=![];if(!_0x528f40[_0xab4216(0x116)])_0x528f40[_0xab4216(0x116)]=_0x3b824c[_0xab4216(0x102)](uuidv4);else _0x528f40[_0xab4216(0xf9)]&&(!_0x528f40[_0xab4216(0x173)]&&(_0x528f40[_0xab4216(0x173)]=_0x528f40[_0xab4216(0x116)]),_0x528f40[_0xab4216(0x116)]=_0x3b824c[_0xab4216(0x102)](uuidv4));}}else{if(_0x7c3d01[_0xab4216(0x18b)]){this['currentHook']=_0x528f40;if(_0x7c3d01[_0xab4216(0xd9)]){_0x528f40[_0xab4216(0xbd)]=new Date(),_0x528f40['markedStatus']=![];if(!_0x528f40[_0xab4216(0xc4)])_0x528f40[_0xab4216(0xc4)]=_0x3b824c[_0xab4216(0x14d)](uuidv4);else _0x528f40[_0xab4216(0xc4)]&&_0x528f40['markedStatus']&&(_0x528f40[_0xab4216(0xc4)]=_0x3b824c[_0xab4216(0x102)](uuidv4));}}}if(_0x7c3d01[_0xab4216(0x19a)]&&_0x528f40[_0xab4216(0xf9)])return;let _0x438dbc;try{_0x438dbc=this[_0xab4216(0x10e)](_0x528f40);}catch(_0xe10d4a){logger[_0xab4216(0x1aa)](_0xab4216(0xe2)+_0xe10d4a),_0x438dbc=null;}const _0x2d3ce0=_0x3b824c[_0xab4216(0x184)](require,_0x3b824c[_0xab4216(0x16b)]);let _0x586da2=[];_0x3bcebb&&(_0x586da2=[_0x3bcebb,_0x3b824c[_0xab4216(0x13f)]]);const _0x2fd8c5=_0x3b824c['goAme'](_0x528f40[_0xab4216(0xd4)],undefined)?_0x2d3ce0[_0xab4216(0xdb)](_0x528f40[_0xab4216(0xd4)][0x0]):_0x3b824c[_0xab4216(0x12a)](_0x3bcebb,undefined)?_0x3bcebb[_0xab4216(0x11c)]():undefined,_0x3c4206=_0x438dbc?this[_0xab4216(0xfa)](_0x438dbc):null,_0x562758=_0x438dbc?this['_paths'][_0xab4216(0x166)](this[_0xab4216(0x10e)](_0x528f40)):_0x3b824c[_0xab4216(0x15b)];let _0x277ea7=_0x3b824c[_0xab4216(0x10d)];const _0x2b8f68=!_0x7c3d01[_0xab4216(0xd9)]?new Date()[_0xab4216(0xdc)]():null;if(_0x7c3d01[_0xab4216(0x19a)])_0x277ea7=_0x3bcebb?_0x3b824c[_0xab4216(0xfb)]:_0x3b824c[_0xab4216(0x113)],_0x528f40[_0xab4216(0xf9)]=!![];else _0x7c3d01[_0xab4216(0x147)]&&(_0x277ea7=_0x3b824c[_0xab4216(0x103)],_0x528f40[_0xab4216(0xf9)]=!![]);const _0x186485={'framework':this['frameworkName'],'uuid':_0x528f40[_0xab4216(0x116)]||_0x528f40['hookAnalyticsId'],'name':_0x528f40[_0xab4216(0xbe)],'body':{'lang':_0x3b824c['yFjCI'],'code':_0x528f40[_0xab4216(0x158)][_0xab4216(0x11c)]()},'type':_0x528f40[_0xab4216(0xfd)],'scope':_0x528f40[_0xab4216(0x156)](),'scopes':this[_0xab4216(0x148)](_0x528f40),'file_name':_0x562758,'vc_filepath':_0x3c4206?path[_0xab4216(0xee)](_0x3c4206,_0x438dbc):null,'location':_0x562758,'result':_0x277ea7,'failure_reason':_0x2fd8c5,'duration_in_ms':_0x528f40[_0xab4216(0x168)]||(_0x7c3d01[_0xab4216(0x19a)]||_0x7c3d01[_0xab4216(0x147)])?_0x3b824c['Kmjtf'](Date[_0xab4216(0xce)](),new Date(_0x528f40['startedAt'])[_0xab4216(0x164)]()):null,'started_at':new Date(_0x528f40[_0xab4216(0xbd)])[_0xab4216(0xdc)](),'finished_at':_0x2b8f68,'failure':testOpsHelper[_0xab4216(0xd6)]['apply'](null,_0x586da2),'failure_type':!_0x2fd8c5?null:testOpsHelper['getFailureType'](_0x2fd8c5),'retry_of':_0x528f40[_0xab4216(0x173)]||null,'tags':_0x528f40[_0xab4216(0x17e)]||[],'customRerunParam':{'rerun_name':_0x528f40[_0xab4216(0x156)]()}};_0x3b824c['aIqLV'](appendTesthubParams,_0x186485,_0x1f2a6e,_0x528f40,FRAMEWORKS[_0xab4216(0x16c)]);if(_0x7c3d01[_0xab4216(0x18b)])[_0x186485[_0xab4216(0xbf)],_0x186485[_0xab4216(0x11d)]]=[this[_0xab4216(0x140)](_0x528f40),_0x528f40[_0xab4216(0x18f)][_0xab4216(0x142)][_0xab4216(0xbe)]],_0x7c3d01[_0xab4216(0x19a)]?_0x3b824c[_0xab4216(0x129)](_0x186485[_0xab4216(0x197)],_0x3b824c[_0xab4216(0xfb)])&&(_0x186485['result']=_0x3b824c[_0xab4216(0x113)]):_0x186485[_0xab4216(0x158)]={};else _0x7c3d01['test']&&(this[_0xab4216(0x1a9)](_0x528f40),_0x7c3d01[_0xab4216(0x147)]&&this['resetSkipTestHooks'](_0x528f40),(_0x7c3d01[_0xab4216(0x19a)]||_0x7c3d01[_0xab4216(0x147)])&&(_0x186485['hooks']=this[_0xab4216(0xe6)](_0x528f40)));this[_0xab4216(0x183)]&&(_0x7c3d01[_0xab4216(0xd9)]||_0x7c3d01[_0xab4216(0x147)])&&(_0x186485[_0x3b824c[_0xab4216(0x133)]]=this[_0xab4216(0x130)](this['driver']));_0x7c3d01[_0xab4216(0x142)]&&_0x7c3d01['finished']&&_0x528f40[_0xab4216(0x119)]&&(_0x186485[_0x3b824c[_0xab4216(0x137)]]={'feature':{'name':_0x528f40[_0xab4216(0x1ae)]['feature'][_0xab4216(0x11d)],'path':_0x186485[_0xab4216(0xfe)],'description':_0x528f40[_0xab4216(0x1ae)][_0xab4216(0x138)]},'scenario':{'name':_0x528f40[_0xab4216(0xbe)]},'steps':_0x528f40[_0xab4216(0x119)]});const _0x34d72d=_0x186485[_0x3b824c[_0xab4216(0x152)]][0x0];_0x34d72d&&(_0x186485[_0x3b824c[_0xab4216(0xb6)]]=_0x34d72d[_0x3b824c['YJgIP']],_0x186485[_0x3b824c[_0xab4216(0x141)]]=_0x34d72d[_0x3b824c[_0xab4216(0xcf)]]);if(_0x528f40[_0xab4216(0x119)])for(const _0xc5fc6 of _0x528f40[_0xab4216(0x119)]){!_0xc5fc6[_0xab4216(0x169)]&&(_0xc5fc6['finished_at']=new Date()[_0xab4216(0xdc)](),_0x3b824c[_0xab4216(0x153)](_0xc5fc6['result'],_0x3b824c[_0xab4216(0x10d)])&&(_0x34d72d?(_0xc5fc6[_0xab4216(0x197)]=_0x3b824c['QArrq'],_0xc5fc6[_0xab4216(0x191)]=_0x34d72d[_0x3b824c[_0xab4216(0x1a1)]][0x0]):_0xc5fc6[_0xab4216(0x197)]=_0x3b824c[_0xab4216(0x113)]));}const _0x17c9a7={};_0x17c9a7[_0xab4216(0x11f)]=_0x7c3d01[_0xab4216(0x147)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x1f2a6e;const _0x3e4818=_0x17c9a7;return _0x7c3d01[_0xab4216(0x18b)]?_0x3e4818[_0x3b824c[_0xab4216(0xc7)]]=_0x186485:_0x3e4818[_0x3b824c[_0xab4216(0x17d)]]=_0x186485,_0x3e4818;}catch(_0x39c1b8){logger[_0xab4216(0x1aa)](_0xab4216(0x131)+_0x1f2a6e+_0xab4216(0x105)+_0x39c1b8);}}async[a4_0x39e32c(0x15f)](_0x833a1a,_0x116cdf){const _0x3f91a4=a4_0x39e32c;if(!this[_0x3f91a4(0x12e)]||!_0x116cdf||!_0x833a1a)return![];try{return await SessionHandler[_0x3f91a4(0xea)](_0x116cdf);}catch(_0x57266e){logger[_0x3f91a4(0x1aa)](_0x3f91a4(0xdd)+_0x833a1a+_0x3f91a4(0x105)+_0x57266e);}}[a4_0x39e32c(0x13a)](_0x3617ba){const _0x4e235d=a4_0x39e32c,_0x3f8d9c={};_0x3f8d9c[_0x4e235d(0x136)]='pending';const _0x46c143=_0x3f8d9c;return{'id':_0x3617ba[_0x4e235d(0xd3)],'text':_0x3617ba[_0x4e235d(0x1a0)],'keyword':_0x3617ba[_0x4e235d(0xb7)],'started_at':_0x3617ba['startedAt'][_0x4e235d(0xdc)](),'result':_0x46c143['zJmMN']};}['bddStepStart'](_0x504862){const _0x2c55bb=a4_0x39e32c,_0x44c7a4={'QDFxc':function(_0x129674){return _0x129674();}};!this[_0x2c55bb(0x1a6)][_0x2c55bb(0x119)]&&(this[_0x2c55bb(0x1a6)][_0x2c55bb(0x119)]=[]),!_0x504862[_0x2c55bb(0xd3)]&&(_0x504862['stepAnalyticsId']=_0x44c7a4[_0x2c55bb(0xcc)](uuidv4),_0x504862[_0x2c55bb(0xbd)]=new Date(),this[_0x2c55bb(0x1a6)]['bddSteps'][_0x2c55bb(0xc6)](this[_0x2c55bb(0x13a)](_0x504862)));}[a4_0x39e32c(0x13b)](_0x4dfaf9){const _0x598e3a=a4_0x39e32c,_0x945f53={'mcojs':function(_0x1316d0,_0x37d332){return _0x1316d0(_0x37d332);},'FtirP':_0x598e3a(0x128),'kDLHq':_0x598e3a(0xf4),'wCSbq':_0x598e3a(0x10b),'YlDkd':function(_0x51ebb7,_0x2c417c){return _0x51ebb7-_0x2c417c;}};let _0x1e2643=this[_0x598e3a(0x1a6)]['bddSteps'][_0x598e3a(0x199)](_0x59db5e=>_0x59db5e['id']===_0x4dfaf9[_0x598e3a(0xd3)]);_0x945f53[_0x598e3a(0x110)](isUndefined,_0x1e2643)&&(_0x1e2643=this[_0x598e3a(0x13a)](_0x4dfaf9)),_0x1e2643[_0x598e3a(0x197)]=[_0x945f53[_0x598e3a(0x122)],_0x945f53[_0x598e3a(0x12d)]][_0x598e3a(0xe7)](_0x4dfaf9['status'])?_0x945f53[_0x598e3a(0x1a8)]:_0x4dfaf9[_0x598e3a(0x1a7)],_0x1e2643['finished_at']=new Date()[_0x598e3a(0xdc)](),_0x1e2643[_0x598e3a(0x168)]=_0x945f53[_0x598e3a(0x151)](Date[_0x598e3a(0xce)](),_0x4dfaf9['startedAt']['getTime']()),_0x1e2643[_0x598e3a(0x191)]=_0x4dfaf9[_0x598e3a(0xf8)]?_0x4dfaf9[_0x598e3a(0xf8)][_0x598e3a(0x190)]:null;}}const a4_0x3ff260={};a4_0x3ff260['O11yHelper']=O11yHelper,a4_0x3ff260['STATE_PASSED']=STATE_PASSED,a4_0x3ff260[a4_0x39e32c(0x149)]=STATE_FAILED,a4_0x3ff260[a4_0x39e32c(0x196)]=TEST_EVENTS,module[a4_0x39e32c(0xff)]=a4_0x3ff260;
1
+ function a4_0x393d(){const _0x4249b8=['testAnalyticsId','JtNHw','sjGZF','title','UfXZv','started','OWgdN','name','getCBTInfo','includes','accessibilityPlatform','lLmAq','JAzWa','retryOf','getRootParentFile','setupBrowserDetails','ukEaW','patchConsoleLogger','failed','location_prefix','now','ctx','TestRunStarted','failure_reason_expanded','SiZdC','mapTestHooks','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getTime','prefixTestPath','Failed\x20to\x20parse\x20wsendpoint\x20','../../helpers/test-observability/constants','launch','pnNDc','LogCreated','VkgRL','HDNGT','CHyqY','browserstack','VpvLG','cgBHZ','ciRug','xwSQf','../../helpers/logger','ikfpl','hook','test','LaMSO','NCcXg','getFailureType','uwxAf','tDVpx','XMoUz','resetSkipTestHooks','bind','2|0|5|3|4|1','fireEvent','toUpperCase','2022492PImoQp','euWXI','../playwright/sessionDetails','bddStepStart','match','initializeBddStep','TestRunSkipped','client','exports','debug','test_run_uuid','uxcCo','qhVsD','STATE_FAILED','codeceptjs','../mocha/test-observability/mochaUtils','bqvvg','type','body','QZLuc','sendCBTInfo','../../helpers/test-observability/utils','stringify','nkwLp','WmSez','toISOString','tsyVh','split','File\x20path\x20could\x20not\x20be\x20found','getInstance','startedAt','test_run','shutdown','NmtiS','mTgJy','captureEvent','586209rZqPFZ','uuid','HookRunStarted','YCzus','result','browserType.js','JHaUZ','defineProperty','wLhyR','GpJlg','expanded','../../helpers/test-observability/sessionHandler','PLAYWRIGHT_HUB_URL','fgRQu','jbvqO','TEST_RUN_SKIPPED','nwzso','HkHXm','pending','markedStatus','suites','.git','bs:addLog:','getHooksForTest','replace','hook_type','finished','status','PwutP','IQTJl','obsBrowserTypeMockApplied','_beforeEach','Playwright','VJCgo','skipped','TCSpw','__platformCaps','lJzfG','file','TwNQX','hook_run_uuid','text','6221808SuJomr','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','event_type','YbhLW','JSwVO','apply','TEST_RUN_FINISHED','gsBXC','xJHfQ','gvrhP','aVfAg','wsEndpoint','frameworkName','JbZab','ZjZSn','cQUzr','2bpBOSN','connect','IkWvK','\x20with\x20error\x20:\x20','hook_run','PathHelper','then','JLSGO','KRoFE','mwAJz','kekeW','pVHnl','TXKHV','concat','err','40615GuuxrW','6872gDfhwU','forEach','O11yHelper','fxtkS','1278930OQFaOz','hookAnalyticsId','jEyUP','findGitConfig','groups','RUsXE','BHtmb','_afterEach','__cloud_provider___','currentHook','parent','tags','STATE_PASSED','relative','duration','gcLUN','345234QsbzrC','driver','integrations','_paths','./helper.js','qfdht','appendTestItemLog','lib','TEST_RUN_STARTED','HookRunFinished','push','FcIwO','BrowserType','ihluy','getHierarchy','iBZne','removeAllListeners','QsfJu','dirname','errorsDetailed','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','length','string','_beforeAll','yXLhM','currentTest','config','success','stepAnalyticsId','finished_at','enabled','failure','_afterAll','aIVDA','YoGfS','toLowerCase','RDGMz','uploadEventData','ntxuP','nyyaD','wHmTm','bddSteps','toString','fDKhs','bddStepFinish','CODECEPT','uQGMT','HOOK_RUN_FINISHED','failureData','iUMfS','file_name','gqZxn','javascript','TEST_EVENTS','../utils/constants','../../helpers/test-observability/requestQueueHandler','vsQpE','hLKOy','4767nXttMC','passed','bfHOj','keyword'];a4_0x393d=function(){return _0x4249b8;};return a4_0x393d();}const a4_0x594fb4=a4_0x2927;(function(_0x2cb204,_0x170bda){const _0x559500=a4_0x2927,_0x222c10=_0x2cb204();while(!![]){try{const _0x274607=parseInt(_0x559500(0x267))/0x1+-parseInt(_0x559500(0x258))/0x2*(parseInt(_0x559500(0x21e))/0x3)+-parseInt(_0x559500(0x1fa))/0x4+-parseInt(_0x559500(0x26c))/0x5+-parseInt(_0x559500(0x27c))/0x6+parseInt(_0x559500(0x2b6))/0x7*(parseInt(_0x559500(0x268))/0x8)+parseInt(_0x559500(0x248))/0x9;if(_0x274607===_0x170bda)break;else _0x222c10['push'](_0x222c10['shift']());}catch(_0x8ddc5){_0x222c10['push'](_0x222c10['shift']());}}}(a4_0x393d,0x49ddb));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x594fb4(0x20f)),{getTestEnv}=require(a4_0x594fb4(0x209)),{FRAMEWORKS}=require(a4_0x594fb4(0x1df)),logger=require(a4_0x594fb4(0x1eb))['winstonLogger'],SessionHandler=require(a4_0x594fb4(0x229)),RequestQueueHandler=require(a4_0x594fb4(0x2b3)),PlaywrightSessionDetails=require(a4_0x594fb4(0x1fc)),debug=testOpsHelper[a4_0x594fb4(0x203)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x594fb4(0x2b2)),{fetchPlatformDetails}=require(a4_0x594fb4(0x280)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x594fb4(0x1be),STATE_FAILED='failed',a4_0xe8efde={};a4_0xe8efde[a4_0x594fb4(0x284)]=a4_0x594fb4(0x1d7),a4_0xe8efde[a4_0x594fb4(0x24e)]='TestRunFinished',a4_0xe8efde[a4_0x594fb4(0x22d)]=a4_0x594fb4(0x200),a4_0xe8efde['HOOK_RUN_STARTED']=a4_0x594fb4(0x220),a4_0xe8efde[a4_0x594fb4(0x2ab)]=a4_0x594fb4(0x285);function a4_0x2927(_0xff5e59,_0x47b1b3){const _0x393d7f=a4_0x393d();return a4_0x2927=function(_0x292750,_0x52b121){_0x292750=_0x292750-0x1be;let _0x5c6370=_0x393d7f[_0x292750];return _0x5c6370;},a4_0x2927(_0xff5e59,_0x47b1b3);}const TEST_EVENTS=a4_0xe8efde,parseEvent=_0x536f51=>{const _0x14936a=a4_0x594fb4,_0x2221bf={};_0x2221bf[_0x14936a(0x22f)]=function(_0x59745e,_0x1d86ec){return _0x59745e<_0x1d86ec;},_0x2221bf[_0x14936a(0x2a3)]=function(_0x2881f7,_0x540485){return _0x2881f7===_0x540485;},_0x2221bf['qhVsD']='test',_0x2221bf['tsyVh']=_0x14936a(0x1ed),_0x2221bf[_0x14936a(0x287)]=function(_0x3c2702,_0x19e4b8){return _0x3c2702===_0x19e4b8;},_0x2221bf[_0x14936a(0x2b4)]=_0x14936a(0x240),_0x2221bf[_0x14936a(0x1e5)]=function(_0x524d32,_0x5eff4a){return _0x524d32===_0x5eff4a;},_0x2221bf[_0x14936a(0x21c)]='started',_0x2221bf[_0x14936a(0x1e1)]=function(_0x1f27df,_0x11af55){return _0x1f27df===_0x11af55;},_0x2221bf[_0x14936a(0x24f)]=_0x14936a(0x238);const _0x1aaa97=_0x2221bf,_0x506a93=_0x536f51[_0x14936a(0x1fe)](/^(.*)Run(.*)$/);if(!_0x506a93)return null;if(_0x1aaa97[_0x14936a(0x22f)](_0x506a93[_0x14936a(0x291)],0x3))return null;const _0x3d8bda=_0x506a93[0x1][_0x14936a(0x29f)](),_0x5cc52e=_0x506a93[0x2][_0x14936a(0x29f)]();return{'test':_0x1aaa97[_0x14936a(0x2a3)](_0x3d8bda,_0x1aaa97[_0x14936a(0x206)]),'hook':_0x1aaa97['nyyaD'](_0x3d8bda,_0x1aaa97[_0x14936a(0x214)]),'skipped':_0x1aaa97[_0x14936a(0x287)](_0x5cc52e,_0x1aaa97[_0x14936a(0x2b4)]),'started':_0x1aaa97[_0x14936a(0x1e5)](_0x5cc52e,_0x1aaa97['mTgJy']),'finished':_0x1aaa97[_0x14936a(0x1e1)](_0x5cc52e,_0x1aaa97['gsBXC'])};},mockPWBrowserType=_0x3d55ef=>{const _0x1dd994=a4_0x594fb4,_0x145960={'ntxuP':function(_0x2a8167,_0x53f15f){return _0x2a8167===_0x53f15f;},'POKVW':_0x1dd994(0x292),'LaMSO':function(_0x53b5e7,_0x203b8c,_0x1dda2f){return _0x53b5e7(_0x203b8c,_0x1dda2f);},'euWXI':_0x1dd994(0x253),'JLSGO':function(_0x4fe56e,_0x22b24c){return _0x4fe56e(_0x22b24c);},'iBZne':_0x1dd994(0x1e6),'YCzus':function(_0x48de22,_0x1b8e1a){return _0x48de22(_0x1b8e1a);},'ECSMF':_0x1dd994(0x283),'xJHfQ':_0x1dd994(0x201),'aIVDA':_0x1dd994(0x223),'kekeW':function(_0x471a62,_0x5f2ae8){return _0x471a62(_0x5f2ae8);},'SiZdC':function(_0x461825,_0x585283){return _0x461825(_0x585283);},'IkWvK':'Not\x20able\x20to\x20import\x20Browser','TXKHV':_0x1dd994(0x259),'TwNQX':'launch'},_0x3a9fc7=path['join'](_0x145960['ECSMF'],_0x145960[_0x1dd994(0x250)],_0x145960[_0x1dd994(0x29d)]),_0x4f140c=_0x145960[_0x1dd994(0x262)](importFileFromPWCore,_0x3a9fc7);if(!_0x4f140c){_0x145960[_0x1dd994(0x1d9)](debug,_0x145960[_0x1dd994(0x25a)]);return;}const _0x1474af=_0x4f140c[_0x1dd994(0x288)],_0x2088dd=_0x1474af['prototype'];if(_0x2088dd[_0x1dd994(0x23c)])return;const _0x1a6766=_0x2088dd[_0x1dd994(0x259)];Object['defineProperty'](_0x2088dd,_0x145960[_0x1dd994(0x264)],{'get':function(){const _0x23732a=_0x1dd994,_0x495f6b={'RDGMz':function(_0x451ec2,_0x222dab){const _0x5e7869=a4_0x2927;return _0x145960[_0x5e7869(0x2a2)](_0x451ec2,_0x222dab);},'GuAPt':_0x145960['POKVW'],'GpJlg':function(_0x2fa104,_0x5b6250,_0x2a0432){return _0x145960['LaMSO'](_0x2fa104,_0x5b6250,_0x2a0432);},'HDNGT':_0x145960[_0x23732a(0x1fb)],'ciRug':function(_0x26bed7,_0x4db0ae){const _0x897917=_0x23732a;return _0x145960[_0x897917(0x25f)](_0x26bed7,_0x4db0ae);},'fDKhs':_0x145960[_0x23732a(0x28b)],'XMoUz':function(_0x31f0e1,_0x52023b,_0x2f5440){const _0x41057a=_0x23732a;return _0x145960[_0x41057a(0x1ef)](_0x31f0e1,_0x52023b,_0x2f5440);},'ukEaW':function(_0x5b765a,_0x1b5706){const _0x559239=_0x23732a;return _0x145960[_0x559239(0x221)](_0x5b765a,_0x1b5706);}};return async function _0xcf0b69(_0x1a384d,_0xab42ec){const _0x4fd79f=_0x23732a,_0x475e6d={'TCSpw':function(_0x597d20,_0x595d0d){const _0x381c4e=a4_0x2927;return _0x495f6b[_0x381c4e(0x2a0)](_0x597d20,_0x595d0d);},'WmSez':_0x495f6b['GuAPt']},_0x2701da=_0x495f6b[_0x4fd79f(0x227)](nestedKeyValue,_0x1a384d,[_0x495f6b[_0x4fd79f(0x1e4)]])||_0x1a384d;let _0x2fb25b=null,_0x565e08=null;try{[_0x565e08,_0x2fb25b]=_0x2701da?_0x495f6b[_0x4fd79f(0x1e9)](parseWSEndpoint,_0x2701da):[null,null],global[_0x4fd79f(0x242)]=_0x2fb25b,_0x565e08[_0x4fd79f(0x1ca)](_0x495f6b[_0x4fd79f(0x2a7)])&&(global[_0x4fd79f(0x274)]=_0x495f6b[_0x4fd79f(0x2a7)]);}catch(_0x38b38d){logger[_0x4fd79f(0x203)](_0x4fd79f(0x1de)+_0x2701da+'\x20'+_0x38b38d);}_0x495f6b[_0x4fd79f(0x1f4)](processAccessibilityCaps,_0x2fb25b,_0x565e08);if(global[_0x4fd79f(0x1cb)]){const _0x38a48d=await _0x2088dd['connectOverCDP'][_0x4fd79f(0x24d)](this,[''+Constants[_0x4fd79f(0x22a)]+_0x495f6b[_0x4fd79f(0x1d1)](encodeURIComponent,JSON[_0x4fd79f(0x210)](_0x2fb25b))]);return PlaywrightSessionDetails[_0x4fd79f(0x1d0)](_0x38a48d,_0x3d55ef,_0x2701da),_0x38a48d;}return _0x1a6766['apply'](this,arguments)['then'](_0x3b0f9d=>{const _0xabf165=_0x4fd79f;let _0x7aefa9=_0x1a384d['wsEndpoint'];return _0x475e6d[_0xabf165(0x241)](typeof _0x1a384d,_0x475e6d[_0xabf165(0x212)])&&(_0x7aefa9=_0x1a384d),PlaywrightSessionDetails[_0xabf165(0x1d0)](_0x3b0f9d,_0x3d55ef,_0x7aefa9),_0x3b0f9d;});};}});const _0x2cb40a=_0x2088dd[_0x1dd994(0x1e0)];Object[_0x1dd994(0x225)](_0x2088dd,_0x145960[_0x1dd994(0x245)],{'get':function(){return async function _0xd23d0b(){const _0x12b99a=a4_0x2927;return _0x2cb40a[_0x12b99a(0x24d)](this,arguments)[_0x12b99a(0x25e)](_0x3a3ebb=>{const _0x1e9ef0=_0x12b99a;return PlaywrightSessionDetails[_0x1e9ef0(0x1d0)](_0x3a3ebb,null),_0x3a3ebb;});};}});};class O11yHelper{['currentTest']=null;[a4_0x594fb4(0x275)]=null;[a4_0x594fb4(0x29a)]=![];['frameworkName']=![];constructor(_0x568499,_0x4ced5a){const _0x47c449=a4_0x594fb4,_0x5bd092={'EFmsX':_0x47c449(0x1f7),'lNyea':function(_0x24e578,_0x58c9e7){return _0x24e578===_0x58c9e7;},'VpvLG':_0x47c449(0x23e),'JbZab':function(_0x5f0e0a,_0xf492d2){return _0x5f0e0a(_0xf492d2);},'BHtmb':function(_0x4e82c0){return _0x4e82c0();}},_0x5921c6=_0x5bd092['EFmsX'][_0x47c449(0x215)]('|');let _0x543bf5=0x0;while(!![]){switch(_0x5921c6[_0x543bf5++]){case'0':this[_0x47c449(0x254)]=_0x4ced5a['frameworkName'];continue;case'1':this['driver']&&_0x5bd092['lNyea'](this[_0x47c449(0x27d)]['constructor'][_0x47c449(0x1c8)],_0x5bd092[_0x47c449(0x1e7)])&&_0x5bd092[_0x47c449(0x255)](mockPWBrowserType,null);continue;case'2':this[_0x47c449(0x29a)]=_0x5bd092[_0x47c449(0x272)](shouldProcessEventForTesthub);continue;case'3':this['_testEnv']=_0x5bd092[_0x47c449(0x272)](getTestEnv);continue;case'4':this[_0x47c449(0x27f)]=new testOpsHelper[(_0x47c449(0x25d))]({'cwd':process['cwd']()},this['_testEnv'][_0x47c449(0x1d4)]);continue;case'5':this[_0x47c449(0x27d)]=_0x568499;continue;}break;}}['start'](){const _0x4260c3=a4_0x594fb4;if(!this[_0x4260c3(0x29a)])return;testOpsHelper[_0x4260c3(0x1d2)](),process[_0x4260c3(0x28c)](_0x4260c3(0x234)+process['pid']),process['on'](_0x4260c3(0x234)+process['pid'],this[_0x4260c3(0x282)][_0x4260c3(0x1f6)](this));}async['stop'](){const _0x30239c=a4_0x594fb4;await RequestQueueHandler[_0x30239c(0x217)]()[_0x30239c(0x21a)]();}async[a4_0x594fb4(0x282)](_0x12547c){const _0x406bfb=a4_0x594fb4,_0x5c73f6={'VJCgo':_0x406bfb(0x1e2),'XGtzL':function(_0x508a10,_0x3d010e){return _0x508a10(_0x3d010e);}};try{this[_0x406bfb(0x275)]&&!this[_0x406bfb(0x275)][_0x406bfb(0x231)]&&(_0x12547c['hook_run_uuid']=this['currentHook'][_0x406bfb(0x26d)]);!_0x12547c[_0x406bfb(0x246)]&&this[_0x406bfb(0x295)]&&!this[_0x406bfb(0x295)]['markedStatus']&&(_0x12547c[_0x406bfb(0x204)]=this[_0x406bfb(0x295)][_0x406bfb(0x1c1)]);if(_0x12547c[_0x406bfb(0x246)]||_0x12547c['test_run_uuid']){const _0x2bcb07={};_0x2bcb07[_0x406bfb(0x24a)]=_0x5c73f6[_0x406bfb(0x23f)],_0x2bcb07['logs']=[_0x12547c],await SessionHandler['uploadEventData'](_0x2bcb07);}}catch(_0xc8936e){_0x5c73f6['XGtzL'](debug,_0x406bfb(0x290)+_0xc8936e);}}async[a4_0x594fb4(0x20e)](_0x2e8969){const _0x3b8868=a4_0x594fb4,_0x789f75={'PwutP':'CBTSessionCreated','RUsXE':function(_0x4c1d87,_0x2faf55){return _0x4c1d87(_0x2faf55);}};if(!this[_0x3b8868(0x29a)])return;const _0x328b1c=this[_0x3b8868(0x1c9)](this[_0x3b8868(0x27d)]);try{const _0x216d48={};_0x216d48[_0x3b8868(0x21f)]=_0x2e8969,_0x216d48[_0x3b8868(0x27e)]=_0x328b1c;const _0x495847=_0x216d48,_0x502a1f={};_0x502a1f[_0x3b8868(0x24a)]=_0x789f75[_0x3b8868(0x23a)],_0x502a1f[_0x3b8868(0x219)]=_0x495847,await SessionHandler['uploadEventData'](_0x502a1f);}catch(_0x517e60){_0x789f75[_0x3b8868(0x271)](debug,_0x3b8868(0x249)+_0x517e60);}}['getCBTInfo'](_0x5a23f4){const _0x3da87c=a4_0x594fb4,_0x2c503d={'bqvvg':function(_0x4a83cf,_0x27a4be){return _0x4a83cf(_0x27a4be);}};return _0x2c503d[_0x3da87c(0x20a)](fetchPlatformDetails,_0x5a23f4);}[a4_0x594fb4(0x1f5)]=_0x4462ae=>{const _0x52b59c=a4_0x594fb4,_0x468595={};_0x468595['doBSB']=_0x52b59c(0x23d),_0x468595[_0x52b59c(0x205)]=_0x52b59c(0x273);const _0x56911a=_0x468595;if(!_0x4462ae||!_0x4462ae['parent'])return;[_0x56911a['doBSB'],_0x56911a[_0x52b59c(0x205)]]['forEach'](_0x1856d8=>{const _0x407e0b=_0x4462ae['parent'][_0x1856d8];_0x407e0b['forEach'](_0x46242c=>{const _0x1afa3a=a4_0x2927;_0x46242c[_0x1afa3a(0x26d)]&&(_0x46242c[_0x1afa3a(0x26d)]=null);});});};[a4_0x594fb4(0x1da)](_0x5129db){const _0x36c7d7=a4_0x594fb4,_0x5b8eec={'nkwLp':_0x36c7d7(0x208),'UfXZv':function(_0x3e7bb7){return _0x3e7bb7();},'QZLuc':function(_0x3b0757,_0x5eac44){return _0x3b0757===_0x5eac44;},'oDzBj':_0x36c7d7(0x273),'JtNHw':_0x36c7d7(0x293),'QWhey':_0x36c7d7(0x29c),'KRoFE':_0x36c7d7(0x23d)};if(!_0x5129db||!_0x5129db[_0x36c7d7(0x276)])return;[_0x5b8eec[_0x36c7d7(0x1c2)],_0x5b8eec['QWhey'],_0x5b8eec[_0x36c7d7(0x260)],_0x5b8eec['oDzBj']]['forEach'](_0x5a01ff=>{const _0x5e5bd9=_0x5129db['parent'][_0x5a01ff]||[];_0x5e5bd9['forEach'](_0x2640d1=>{const _0x227e32=a4_0x2927;if(_0x2640d1[_0x227e32(0x1c4)][_0x227e32(0x1ca)](_0x5b8eec[_0x227e32(0x211)]))return;if(!_0x2640d1[_0x227e32(0x26d)])_0x2640d1[_0x227e32(0x26d)]=_0x5b8eec[_0x227e32(0x1c5)](uuidv4);else _0x2640d1['markedStatus']&&_0x5b8eec[_0x227e32(0x20d)](_0x5a01ff,_0x5b8eec['oDzBj'])&&(_0x2640d1[_0x227e32(0x26d)]=_0x5b8eec[_0x227e32(0x1c5)](uuidv4),delete _0x2640d1[_0x227e32(0x231)]);});}),this[_0x36c7d7(0x1da)](_0x5129db[_0x36c7d7(0x276)]);}[a4_0x594fb4(0x235)](_0x807cc){const _0x4e16d5=a4_0x594fb4,_0x4c3bca={};_0x4c3bca[_0x4e16d5(0x29e)]=_0x4e16d5(0x293),_0x4c3bca['iUMfS']=_0x4e16d5(0x29c),_0x4c3bca['fxtkS']='_beforeEach',_0x4c3bca[_0x4e16d5(0x1f2)]=_0x4e16d5(0x273);const _0x41bd76=_0x4c3bca;if(!_0x807cc||!_0x807cc[_0x4e16d5(0x276)])return[];const _0x33d546=[];return[_0x41bd76['YoGfS'],_0x41bd76[_0x4e16d5(0x2ad)],_0x41bd76[_0x4e16d5(0x26b)],_0x41bd76[_0x4e16d5(0x1f2)]][_0x4e16d5(0x269)](_0x2cce59=>{const _0x178069=_0x4e16d5,_0x5539e2=_0x807cc[_0x178069(0x276)][_0x2cce59]||[];_0x5539e2[_0x178069(0x269)](_0x6d86fe=>{const _0x1704ef=_0x178069;_0x6d86fe[_0x1704ef(0x26d)]&&_0x33d546['push'](_0x6d86fe[_0x1704ef(0x26d)]);});}),[][_0x4e16d5(0x265)](_0x33d546,this[_0x4e16d5(0x235)](_0x807cc[_0x4e16d5(0x276)]));}['getHookType'](_0x260a95){const _0x25a289=a4_0x594fb4,_0x775a85=/^"(?<hook>.*)" hook:.*$/,_0x4324af=_0x260a95[_0x25a289(0x1c4)],_0x1b7138=_0x4324af[_0x25a289(0x1fe)](_0x775a85);if(_0x1b7138&&_0x1b7138[_0x25a289(0x270)])return _0x1b7138['groups'][_0x25a289(0x1ed)][_0x25a289(0x1f9)]()[_0x25a289(0x236)]('\x20','_');return null;}[a4_0x594fb4(0x26f)](_0x4f8274){const _0x537db1=a4_0x594fb4,_0xe4d04e={};_0xe4d04e[_0x537db1(0x1ec)]=function(_0x3de29b,_0x41f571){return _0x3de29b===_0x41f571;},_0xe4d04e['VkgRL']=function(_0x3a3e83,_0xc4a95e){return _0x3a3e83===_0xc4a95e;},_0xe4d04e[_0x537db1(0x226)]=function(_0x2f2922,_0x11ee83){return _0x2f2922===_0x11ee83;},_0xe4d04e[_0x537db1(0x1f0)]=function(_0x3baad8,_0x51991b){return _0x3baad8===_0x51991b;},_0xe4d04e[_0x537db1(0x1e8)]=_0x537db1(0x233),_0xe4d04e[_0x537db1(0x1bf)]=_0x537db1(0x296);const _0x552ae8=_0xe4d04e,_0xbb138d=path['sep'];if(_0x552ae8[_0x537db1(0x1ec)](_0x4f8274,null)||_0x552ae8[_0x537db1(0x1e3)](_0x4f8274,'')||_0x552ae8[_0x537db1(0x226)](_0x4f8274,_0xbb138d)||_0x552ae8[_0x537db1(0x1f0)](_0x4f8274,path[_0x537db1(0x28e)](_0x4f8274)))return null;try{return fs['statSync'](path['join'](_0x4f8274,_0x552ae8['cgBHZ'],_0x552ae8[_0x537db1(0x1bf)])),_0x4f8274;}catch(_0x263b0d){const _0x503499=path[_0x537db1(0x28e)](_0x4f8274);return this[_0x537db1(0x26f)](_0x503499);}}['getRootParentFile'](_0x1ec7c4){const _0xc9c4a1=a4_0x594fb4,_0x21ba6c={};_0x21ba6c[_0xc9c4a1(0x1ea)]=function(_0x3c7583,_0x360018){return _0x3c7583>_0x360018;};const _0x1a4884=_0x21ba6c;if(_0x1ec7c4['file'])return _0x1ec7c4[_0xc9c4a1(0x244)];if(_0x1ec7c4[_0xc9c4a1(0x1d6)]){const _0x5c2a22=_0x1ec7c4['ctx']['currentTest']?this[_0xc9c4a1(0x1cf)](_0x1ec7c4[_0xc9c4a1(0x1d6)]['currentTest']):null;if(_0x5c2a22)return _0x5c2a22;}if(_0x1ec7c4[_0xc9c4a1(0x276)]){const _0x224eb5=this[_0xc9c4a1(0x1cf)](_0x1ec7c4[_0xc9c4a1(0x276)])||(_0x1ec7c4['parent'][_0xc9c4a1(0x1d6)]&&_0x1ec7c4[_0xc9c4a1(0x276)]['ctx'][_0xc9c4a1(0x295)]?this[_0xc9c4a1(0x1cf)](_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x1d6)][_0xc9c4a1(0x295)]):null);if(_0x224eb5)return _0x224eb5;_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x232)]&&_0x1a4884['xwSQf'](_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x232)][_0xc9c4a1(0x291)],0x0)&&_0x1ec7c4[_0xc9c4a1(0x276)][_0xc9c4a1(0x232)]['forEach'](_0xdac4b0=>{const _0x27ec84=_0xc9c4a1,_0x4d45aa=_0xdac4b0[_0x27ec84(0x1d6)]?this['getRootParentFile'](_0xdac4b0[_0x27ec84(0x1d6)]):null;if(_0x4d45aa)return _0x4d45aa;});}return null;}['getHierarchy'](_0x5467d5){const _0x10ec10=a4_0x594fb4,_0x327ef1={};_0x327ef1[_0x10ec10(0x256)]=function(_0x64894a,_0x4771dd){return _0x64894a!==_0x4771dd;};const _0x15becf=_0x327ef1,_0x2457e4=[];if(_0x5467d5&&_0x5467d5[_0x10ec10(0x276)]){let _0x5c6d75=_0x5467d5[_0x10ec10(0x276)];while(_0x5c6d75&&_0x15becf[_0x10ec10(0x256)](_0x5c6d75[_0x10ec10(0x1c4)],'')){_0x2457e4[_0x10ec10(0x286)](_0x5c6d75[_0x10ec10(0x1c4)]),_0x5c6d75=_0x5c6d75[_0x10ec10(0x276)];}}return _0x2457e4;}[a4_0x594fb4(0x21d)](_0x2d8f71,_0x1b315c,_0x248d15=undefined){const _0x459376=a4_0x594fb4,_0x404d10={'aVfAg':function(_0x1caee2,_0x5dadc6){return _0x1caee2(_0x5dadc6);},'JAzWa':function(_0x2687a1){return _0x2687a1();},'cQUzr':function(_0x363c66){return _0x363c66();},'pVHnl':function(_0x1809f1){return _0x1809f1();},'gqZxn':function(_0x39de1c,_0x5bf63c){return _0x39de1c(_0x5bf63c);},'jEyUP':'util','KnfcS':_0x459376(0x266),'mwAJz':function(_0x492570,_0x189b13){return _0x492570!==_0x189b13;},'JHaUZ':_0x459376(0x216),'JSwVO':_0x459376(0x230),'fgRQu':_0x459376(0x1d3),'tDVpx':_0x459376(0x1be),'wHmTm':'skipped','lJzfG':_0x459376(0x2b0),'uQGMT':function(_0x555e6d,_0x3e33ea){return _0x555e6d-_0x3e33ea;},'WlkuU':function(_0x140c62,_0x8032ca,_0x4c21e9,_0x35e35b,_0x1835c5){return _0x140c62(_0x8032ca,_0x4c21e9,_0x35e35b,_0x1835c5);},'OWgdN':function(_0x5e256f,_0x4213cd){return _0x5e256f!==_0x4213cd;},'lLmAq':_0x459376(0x27e),'IQTJl':'meta','QsfJu':_0x459376(0x29b),'yXLhM':'failure_backtrace','gcLUN':'backtrace','dqyYb':_0x459376(0x1d8),'hLKOy':_0x459376(0x228),'ihluy':function(_0x531481,_0x4e6398){return _0x531481===_0x4e6398;},'YbhLW':_0x459376(0x25c),'jbvqO':_0x459376(0x219)};if(!this[_0x459376(0x29a)])return;try{if(_0x1b315c['fn']&&_0x1b315c['fn'][_0x459376(0x2a6)]()[_0x459376(0x1fe)](/browserstack internal helper hook/))return;const _0x392297=_0x404d10[_0x459376(0x252)](parseEvent,_0x2d8f71);if(!_0x392297)return;if(_0x392297['test']){this[_0x459376(0x295)]=_0x1b315c,this[_0x459376(0x275)]=null;if(_0x392297['started']||_0x392297['skipped']){_0x1b315c[_0x459376(0x218)]=new Date(),_0x1b315c[_0x459376(0x231)]=![];if(!_0x1b315c[_0x459376(0x1c1)])_0x1b315c[_0x459376(0x1c1)]=_0x404d10[_0x459376(0x1cd)](uuidv4);else _0x1b315c[_0x459376(0x231)]&&(!_0x1b315c[_0x459376(0x1ce)]&&(_0x1b315c[_0x459376(0x1ce)]=_0x1b315c['testAnalyticsId']),_0x1b315c[_0x459376(0x1c1)]=_0x404d10['JAzWa'](uuidv4));}}else{if(_0x392297[_0x459376(0x1ed)]){this['currentHook']=_0x1b315c;if(_0x392297['started']){_0x1b315c[_0x459376(0x218)]=new Date(),_0x1b315c[_0x459376(0x231)]=![];if(!_0x1b315c[_0x459376(0x26d)])_0x1b315c['hookAnalyticsId']=_0x404d10[_0x459376(0x257)](uuidv4);else _0x1b315c[_0x459376(0x26d)]&&_0x1b315c['markedStatus']&&(_0x1b315c[_0x459376(0x26d)]=_0x404d10[_0x459376(0x263)](uuidv4));}}}if(_0x392297[_0x459376(0x238)]&&_0x1b315c[_0x459376(0x231)])return;let _0x1d9e48;try{_0x1d9e48=this[_0x459376(0x1cf)](_0x1b315c);}catch(_0x29b0f1){logger[_0x459376(0x203)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x29b0f1),_0x1d9e48=null;}const _0x48a73a=_0x404d10[_0x459376(0x2af)](require,_0x404d10[_0x459376(0x26e)]);let _0x102576=[];_0x248d15&&(_0x102576=[_0x248d15,_0x404d10['KnfcS']]);const _0x349db5=_0x404d10[_0x459376(0x261)](_0x1b315c[_0x459376(0x28f)],undefined)?_0x48a73a['inspect'](_0x1b315c[_0x459376(0x28f)][0x0]):_0x404d10[_0x459376(0x261)](_0x248d15,undefined)?_0x248d15['toString']():undefined,_0x35fd39=_0x1d9e48?this[_0x459376(0x26f)](_0x1d9e48):null,_0x1d0c35=_0x1d9e48?this['_paths'][_0x459376(0x1dd)](this[_0x459376(0x1cf)](_0x1b315c)):_0x404d10[_0x459376(0x224)];let _0x2b14f2=_0x404d10[_0x459376(0x24c)];const _0xde4225=!_0x392297[_0x459376(0x1c6)]?new Date()[_0x459376(0x213)]():null;if(_0x392297[_0x459376(0x238)])_0x2b14f2=_0x248d15?_0x404d10[_0x459376(0x22b)]:_0x404d10['tDVpx'],_0x1b315c[_0x459376(0x231)]=!![];else _0x392297[_0x459376(0x240)]&&(_0x2b14f2=_0x404d10[_0x459376(0x2a4)],_0x1b315c[_0x459376(0x231)]=!![]);const _0x15882a={'framework':this[_0x459376(0x254)],'uuid':_0x1b315c['testAnalyticsId']||_0x1b315c['hookAnalyticsId'],'name':_0x1b315c[_0x459376(0x1c4)],'body':{'lang':_0x404d10[_0x459376(0x243)],'code':_0x1b315c[_0x459376(0x20c)][_0x459376(0x2a6)]()},'type':_0x1b315c[_0x459376(0x20b)],'scope':_0x1b315c['fullTitle'](),'scopes':this[_0x459376(0x28a)](_0x1b315c),'file_name':_0x1d0c35,'vc_filepath':_0x35fd39?path[_0x459376(0x279)](_0x35fd39,_0x1d9e48):null,'location':_0x1d0c35,'result':_0x2b14f2,'failure_reason':_0x349db5,'duration_in_ms':_0x1b315c[_0x459376(0x27a)]||(_0x392297[_0x459376(0x238)]||_0x392297[_0x459376(0x240)])?_0x404d10[_0x459376(0x2aa)](Date[_0x459376(0x1d5)](),new Date(_0x1b315c['startedAt'])[_0x459376(0x1dc)]()):null,'started_at':new Date(_0x1b315c[_0x459376(0x218)])[_0x459376(0x213)](),'finished_at':_0xde4225,'failure':testOpsHelper[_0x459376(0x2ac)][_0x459376(0x24d)](null,_0x102576),'failure_type':!_0x349db5?null:testOpsHelper[_0x459376(0x1f1)](_0x349db5),'retry_of':_0x1b315c[_0x459376(0x1ce)]||null,'tags':_0x1b315c[_0x459376(0x277)]||[],'customRerunParam':{'rerun_name':_0x1b315c['fullTitle']()}};_0x404d10['WlkuU'](appendTesthubParams,_0x15882a,_0x2d8f71,_0x1b315c,FRAMEWORKS[_0x459376(0x2a9)]);if(_0x392297[_0x459376(0x1ed)])[_0x15882a[_0x459376(0x237)],_0x15882a[_0x459376(0x1c8)]]=[this['getHookType'](_0x1b315c),_0x1b315c['ctx']['test']['title']],_0x392297[_0x459376(0x238)]?_0x404d10[_0x459376(0x1c7)](_0x15882a[_0x459376(0x222)],_0x404d10[_0x459376(0x22b)])&&(_0x15882a[_0x459376(0x222)]=_0x404d10['tDVpx']):_0x15882a[_0x459376(0x20c)]={};else _0x392297[_0x459376(0x1ee)]&&(this['mapTestHooks'](_0x1b315c),_0x392297[_0x459376(0x240)]&&this[_0x459376(0x1f5)](_0x1b315c),(_0x392297['finished']||_0x392297[_0x459376(0x240)])&&(_0x15882a['hooks']=this['getHooksForTest'](_0x1b315c)));this['driver']&&(_0x392297[_0x459376(0x1c6)]||_0x392297[_0x459376(0x240)])&&(_0x15882a[_0x404d10[_0x459376(0x1cc)]]=this['getCBTInfo'](this[_0x459376(0x27d)]));_0x392297[_0x459376(0x1ee)]&&_0x392297[_0x459376(0x238)]&&_0x1b315c[_0x459376(0x2a5)]&&(_0x15882a[_0x404d10[_0x459376(0x23b)]]={'feature':{'name':_0x1b315c[_0x459376(0x276)]['feature'][_0x459376(0x1c8)],'path':_0x15882a[_0x459376(0x2ae)],'description':_0x1b315c['parent']['comment']},'scenario':{'name':_0x1b315c[_0x459376(0x1c4)]},'steps':_0x1b315c[_0x459376(0x2a5)]});const _0xb44901=_0x15882a[_0x404d10[_0x459376(0x28d)]][0x0];_0xb44901&&(_0x15882a[_0x404d10[_0x459376(0x294)]]=_0xb44901[_0x404d10[_0x459376(0x27b)]],_0x15882a[_0x404d10['dqyYb']]=_0xb44901[_0x404d10[_0x459376(0x2b5)]]);if(_0x1b315c[_0x459376(0x2a5)])for(const _0x414748 of _0x1b315c['bddSteps']){!_0x414748[_0x459376(0x299)]&&(_0x414748[_0x459376(0x299)]=new Date()[_0x459376(0x213)](),_0x404d10[_0x459376(0x289)](_0x414748[_0x459376(0x222)],_0x404d10['JSwVO'])&&(_0xb44901?(_0x414748['result']=_0x404d10[_0x459376(0x22b)],_0x414748[_0x459376(0x29b)]=_0xb44901[_0x404d10[_0x459376(0x27b)]][0x0]):_0x414748[_0x459376(0x222)]=_0x404d10[_0x459376(0x1f3)]));}const _0x3d41a5={};_0x3d41a5[_0x459376(0x24a)]=_0x392297[_0x459376(0x240)]?TEST_EVENTS[_0x459376(0x24e)]:_0x2d8f71;const _0x1a31b8=_0x3d41a5;return _0x392297['hook']?_0x1a31b8[_0x404d10[_0x459376(0x24b)]]=_0x15882a:_0x1a31b8[_0x404d10[_0x459376(0x22c)]]=_0x15882a,_0x1a31b8;}catch(_0x4b1734){logger[_0x459376(0x203)](_0x459376(0x1db)+_0x2d8f71+_0x459376(0x25b)+_0x4b1734);}}async[a4_0x594fb4(0x1f8)](_0x4fd57b,_0x582a5f){const _0x1e664e=a4_0x594fb4;if(!this['enabled']||!_0x582a5f||!_0x4fd57b)return![];try{return await SessionHandler[_0x1e664e(0x2a1)](_0x582a5f);}catch(_0x47c874){logger[_0x1e664e(0x203)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4fd57b+'\x20with\x20error\x20:\x20'+_0x47c874);}}['initializeBddStep'](_0x3d5821){const _0x25047b=a4_0x594fb4,_0x1d607e={};_0x1d607e[_0x25047b(0x22e)]=_0x25047b(0x230);const _0x594134=_0x1d607e;return{'id':_0x3d5821[_0x25047b(0x298)],'text':_0x3d5821[_0x25047b(0x247)],'keyword':_0x3d5821[_0x25047b(0x1c0)],'started_at':_0x3d5821[_0x25047b(0x218)][_0x25047b(0x213)](),'result':_0x594134['nwzso']};}[a4_0x594fb4(0x1fd)](_0x595341){const _0x44644d=a4_0x594fb4,_0x5be366={'sjGZF':function(_0xa7f539){return _0xa7f539();}};!this[_0x44644d(0x295)]['bddSteps']&&(this[_0x44644d(0x295)][_0x44644d(0x2a5)]=[]),!_0x595341['stepAnalyticsId']&&(_0x595341[_0x44644d(0x298)]=_0x5be366[_0x44644d(0x1c3)](uuidv4),_0x595341[_0x44644d(0x218)]=new Date(),this['currentTest'][_0x44644d(0x2a5)][_0x44644d(0x286)](this[_0x44644d(0x1ff)](_0x595341)));}[a4_0x594fb4(0x2a8)](_0x517119){const _0xe99d25=a4_0x594fb4,_0x3ebdb5={'CFnhQ':function(_0x434368,_0x2ec0a6){return _0x434368(_0x2ec0a6);},'gvrhP':_0xe99d25(0x297),'NmtiS':_0xe99d25(0x230),'qfdht':_0xe99d25(0x1be),'iXdfb':function(_0x58c01b,_0x4bb187){return _0x58c01b-_0x4bb187;}};let _0x34a249=this[_0xe99d25(0x295)][_0xe99d25(0x2a5)]['find'](_0x51f598=>_0x51f598['id']===_0x517119[_0xe99d25(0x298)]);_0x3ebdb5['CFnhQ'](isUndefined,_0x34a249)&&(_0x34a249=this[_0xe99d25(0x1ff)](_0x517119)),_0x34a249['result']=[_0x3ebdb5[_0xe99d25(0x251)],_0x3ebdb5[_0xe99d25(0x21b)]][_0xe99d25(0x1ca)](_0x517119[_0xe99d25(0x239)])?_0x3ebdb5[_0xe99d25(0x281)]:_0x517119[_0xe99d25(0x239)],_0x34a249['finished_at']=new Date()[_0xe99d25(0x213)](),_0x34a249[_0xe99d25(0x27a)]=_0x3ebdb5['iXdfb'](Date[_0xe99d25(0x1d5)](),_0x517119['startedAt'][_0xe99d25(0x1dc)]()),_0x34a249['failure']=_0x517119[_0xe99d25(0x266)]?_0x517119[_0xe99d25(0x266)]['message']:null;}}const a4_0x5a4dc9={};a4_0x5a4dc9[a4_0x594fb4(0x26a)]=O11yHelper,a4_0x5a4dc9[a4_0x594fb4(0x278)]=STATE_PASSED,a4_0x5a4dc9[a4_0x594fb4(0x207)]=STATE_FAILED,a4_0x5a4dc9[a4_0x594fb4(0x2b1)]=TEST_EVENTS,module[a4_0x594fb4(0x202)]=a4_0x5a4dc9;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x22d033=a5_0x5947;function a5_0x21d2(){const _0x353da0=['fqEio','red','accessibilityOptions','tmp','fnmoq','stepsUnknown','parallelsPerPlatform','length','stop','useW3C','BVsJl','11462688maurgh','setupTCGAuth','ObnRj','GsATb','36OIHuxr','config','bold','then','\x20undefined','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','log','turboScaleUrl','CUCUMBER','stepsAmbiguous','green','removeDir','cucumber','kkrEs','SuuWY','8858255tpwlYG','finally','GHWXN','184HijjWz','format','\x20skipped','debug','markSDKSetupComplete','xxKjG','JXdua','3271PUpBMB','nHhjJ','launchBuild','../../helpers/helper','HaeZT','crvqr','getTCGConfigFilePaths','mjCws','initialize','parseFormatters','prepareCapabilities','qzhcK','stepsUndefined','Generating\x20consolidated\x20report...','chalk','\x20pending','lhXVu','steps','join','492173PFsAoD','exitCode','stepsPassed','eJldc','7422yvuhKC','exports','AbUdj','39992100LPPGwV','stepsPending','finalExecution','mergeOutputFiles','winstonLogger','errorMessage','false','stringify','createDir','UTAqC','unlinkSync','xMhvR','testObservability','splice','scenariosFailed','1585330gxiVuj','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/BrowserStackSetup','printBuildLink','FRAMEWORKS','140vgWAmC','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20steps','error\x20removing\x20tcg\x20config\x20file','isUndefined','\x20passed','8VNcqoQ','skipSessionName','stepsFailed','hfEAo','yellow','\x20failed','iKvGK','cwd','skipSessionStatus','TJODk','scenarios','../test-runner','MzStU','rdHpi','1000rsGXgg','testContextOptions','cucumber-js','path','push','env','../../helpers/utilities','rmdirSync','fmByM','forEach','stepsSkipped','../../helpers/testhub/testhubHandler','argv'];a5_0x21d2=function(){return _0x353da0;};return a5_0x21d2();}(function(_0x549d53,_0x4b02c4){const _0x3977e6=a5_0x5947,_0x395803=_0x549d53();while(!![]){try{const _0x3b8d2e=-parseInt(_0x3977e6(0xd1))/0x1*(-parseInt(_0x3977e6(0x113))/0x2)+-parseInt(_0x3977e6(0xe8))/0x3*(-parseInt(_0x3977e6(0xca))/0x4)+parseInt(_0x3977e6(0xfa))/0x5*(parseInt(_0x3977e6(0xb8))/0x6)+parseInt(_0x3977e6(0xc7))/0x7*(-parseInt(_0x3977e6(0x105))/0x8)+parseInt(_0x3977e6(0xb4))/0x9+-parseInt(_0x3977e6(0xff))/0xa*(-parseInt(_0x3977e6(0xe4))/0xb)+-parseInt(_0x3977e6(0xeb))/0xc;if(_0x3b8d2e===_0x4b02c4)break;else _0x395803['push'](_0x395803['shift']());}catch(_0x1616d6){_0x395803['push'](_0x395803['shift']());}}}(a5_0x21d2,0xe8cfa));function a5_0x5947(_0x40fb48,_0x405bd1){const _0x21d275=a5_0x21d2();return a5_0x5947=function(_0x5947bd,_0x31cf6b){_0x5947bd=_0x5947bd-0xa2;let _0x26cfda=_0x21d275[_0x5947bd];return _0x26cfda;},a5_0x5947(_0x40fb48,_0x405bd1);}const fs=require('fs'),path=require(a5_0x22d033(0x116)),util=require('util'),logger=require('../../helpers/logger')[a5_0x22d033(0xef)],{default:BrowserStackSetup}=require(a5_0x22d033(0xfc)),helper=require(a5_0x22d033(0xd4)),utilities=require(a5_0x22d033(0xa2)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x22d033(0x110)),TestHubHandler=require(a5_0x22d033(0xa7)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x22d033(0xdf));function printCucumberStats(_0x1cad67){const _0x3d2e8f=a5_0x22d033,_0x213fb5={};_0x213fb5[_0x3d2e8f(0xf6)]=function(_0x535548,_0x4853cd){return _0x535548>_0x4853cd;},_0x213fb5[_0x3d2e8f(0xd8)]=function(_0x5f0575,_0x823a55){return _0x5f0575-_0x823a55;},_0x213fb5['TJODk']=function(_0x462d57,_0x13696d){return _0x462d57>_0x13696d;},_0x213fb5[_0x3d2e8f(0xdc)]=function(_0xab1910,_0x5e813c){return _0xab1910>_0x5e813c;},_0x213fb5[_0x3d2e8f(0x111)]=function(_0x22fb55,_0x5b288e){return _0x22fb55>_0x5b288e;},_0x213fb5[_0x3d2e8f(0x10b)]=function(_0x731866,_0x35b5f1){return _0x731866>_0x35b5f1;},_0x213fb5['fqEio']=function(_0xf808c0,_0x5a318d){return _0xf808c0>_0x5a318d;},_0x213fb5[_0x3d2e8f(0xd0)]=function(_0x246dec,_0x5dd570){return _0x246dec>_0x5dd570;},_0x213fb5['LHafE']=function(_0x29db8e,_0x1c6337){return _0x29db8e+_0x1c6337;},_0x213fb5['GHWXN']=function(_0x27cba3,_0x2c7806){return _0x27cba3+_0x2c7806;},_0x213fb5[_0x3d2e8f(0xd2)]=function(_0x3dd69d,_0x59413c){return _0x3dd69d+_0x59413c;},_0x213fb5['lhXVu']=function(_0xd11770,_0x514011){return _0xd11770+_0x514011;},_0x213fb5[_0x3d2e8f(0xd6)]=function(_0x23fa13,_0x15b6f7){return _0x23fa13+_0x15b6f7;},_0x213fb5[_0x3d2e8f(0xe7)]=function(_0x4c759f,_0x2d3903){return _0x4c759f+_0x2d3903;},_0x213fb5['ObnRj']=function(_0x147b8e,_0x4a4561){return _0x147b8e===_0x4a4561;},_0x213fb5[_0x3d2e8f(0x112)]=function(_0x4b97b9,_0x42ca66){return _0x4b97b9===_0x42ca66;},_0x213fb5[_0x3d2e8f(0xb3)]='****\x20RESULTS\x20****';const _0x5b2f37=_0x213fb5;let _0x2f5350=0x0;if(_0x5b2f37[_0x3d2e8f(0x112)](_0x1cad67['length'],0x0))return _0x2f5350;return console[_0x3d2e8f(0xbe)](chalk['bold']['bgWhite'](_0x5b2f37[_0x3d2e8f(0xb3)])),_0x1cad67[_0x3d2e8f(0xa5)](_0x24c8d1=>{const _0x4ab91a=_0x3d2e8f,_0x47ea6f=_0x24c8d1[0x0],_0x333164=_0x24c8d1[0x1];console[_0x4ab91a(0xbe)]('\x0a'+chalk['bold'][_0x4ab91a(0x109)](''+helper['getPlatformName'](_0x47ea6f)));const _0x4dc627=_0x333164[_0x4ab91a(0x10f)],_0x27ef41=_0x333164[_0x4ab91a(0xe2)],_0x47b17b=_0x333164[_0x4ab91a(0xf9)],_0x8f7420=_0x333164[_0x4ab91a(0x107)],_0x3ccebf=_0x333164[_0x4ab91a(0xe6)],_0x5cd2c4=_0x333164[_0x4ab91a(0xa6)],_0x3601da=_0x333164[_0x4ab91a(0xec)],_0x3a149e=_0x333164[_0x4ab91a(0xdd)],_0x3713b2=_0x333164[_0x4ab91a(0xae)],_0x932fab=_0x333164[_0x4ab91a(0xc1)],_0x27ea81=_0x333164['processSuccess'];let _0x1dfae1=_0x4dc627+'\x20scenarios';const _0x1f954c=_0x5b2f37[_0x4ab91a(0xf6)](_0x5b2f37[_0x4ab91a(0xd8)](_0x4dc627,_0x47b17b),0x0)?_0x5b2f37[_0x4ab91a(0xd8)](_0x4dc627,_0x47b17b):0x0;if(_0x5b2f37['xMhvR'](_0x47b17b,0x0)&&_0x5b2f37[_0x4ab91a(0x10e)](_0x1f954c,0x0))_0x1dfae1+='\x20('+chalk[_0x4ab91a(0xba)][_0x4ab91a(0xaa)](_0x47b17b+'\x20failed')+',\x20'+chalk[_0x4ab91a(0xba)][_0x4ab91a(0xc2)](_0x1f954c+_0x4ab91a(0x104))+')';else(_0x5b2f37[_0x4ab91a(0xdc)](_0x47b17b,0x0)||_0x5b2f37[_0x4ab91a(0x111)](_0x1f954c,0x0))&&(_0x1dfae1+=_0x5b2f37[_0x4ab91a(0xdc)](_0x47b17b,0x0)?'\x20('+chalk['bold'][_0x4ab91a(0xaa)](_0x47b17b+_0x4ab91a(0x10a))+')':'\x20('+chalk[_0x4ab91a(0xba)]['green'](_0x1f954c+'\x20passed')+')');const _0x469cc5=_0x27ef41+_0x4ab91a(0x101),_0x325d7e=[];_0x5b2f37[_0x4ab91a(0xdc)](_0x932fab,0x0)&&_0x325d7e[_0x4ab91a(0x117)](''+chalk['bold'][_0x4ab91a(0xaa)](_0x932fab+'\x20ambiguous'));_0x5b2f37[_0x4ab91a(0x111)](_0x8f7420,0x0)&&_0x325d7e[_0x4ab91a(0x117)](''+chalk[_0x4ab91a(0xba)][_0x4ab91a(0xaa)](_0x8f7420+_0x4ab91a(0x10a)));_0x5b2f37['iKvGK'](_0x3ccebf,0x0)&&_0x325d7e['push'](''+chalk[_0x4ab91a(0xba)][_0x4ab91a(0xc2)](_0x3ccebf+_0x4ab91a(0x104)));_0x5b2f37[_0x4ab91a(0xf6)](_0x3601da,0x0)&&_0x325d7e[_0x4ab91a(0x117)](''+chalk[_0x4ab91a(0xba)][_0x4ab91a(0x109)](_0x3601da+_0x4ab91a(0xe0)));_0x5b2f37[_0x4ab91a(0xa9)](_0x5cd2c4,0x0)&&_0x325d7e[_0x4ab91a(0x117)](''+chalk['bold']['cyan'](_0x5cd2c4+_0x4ab91a(0xcc)));_0x5b2f37[_0x4ab91a(0xd0)](_0x3a149e,0x0)&&_0x325d7e[_0x4ab91a(0x117)](''+chalk[_0x4ab91a(0xba)][_0x4ab91a(0x109)](_0x3a149e+_0x4ab91a(0xbc)));_0x5b2f37[_0x4ab91a(0xdc)](_0x3713b2,0x0)&&_0x325d7e[_0x4ab91a(0x117)](''+chalk[_0x4ab91a(0xba)]['yellow'](_0x3713b2+_0x4ab91a(0xcc)));const _0x30e67f=_0x5b2f37['LHafE'](_0x5b2f37['LHafE'](_0x5b2f37[_0x4ab91a(0xc9)](_0x469cc5,'('),_0x325d7e['join'](',\x20')),')');console[_0x4ab91a(0xbe)](_0x5b2f37[_0x4ab91a(0xd2)](_0x5b2f37[_0x4ab91a(0xe1)](_0x5b2f37[_0x4ab91a(0xd6)](_0x5b2f37[_0x4ab91a(0xe7)]('\x0a',_0x1dfae1),'\x0a'),_0x30e67f),'\x0a')),_0x5b2f37[_0x4ab91a(0xb6)](_0x27ea81,![])&&(_0x2f5350=0x1);}),_0x2f5350;}async function run(_0x29ec16,_0x17d1bf){const _0x337d16=a5_0x22d033,_0x287f55={'SuuWY':function(_0x53b26d,_0x1f566b){return _0x53b26d(_0x1f566b);},'fnmoq':function(_0x3ed29f,_0x3df95a){return _0x3ed29f>_0x3df95a;},'GsATb':_0x337d16(0xde),'jEGiA':_0x337d16(0x100),'AbUdj':_0x337d16(0xc4),'NygRP':_0x337d16(0x102),'HaeZT':_0x337d16(0x115),'xxKjG':_0x337d16(0xac),'hfEAo':function(_0x4923f4,_0x344843){return _0x4923f4-_0x344843;},'fmByM':function(_0x12782a,_0x327b80){return _0x12782a>=_0x327b80;},'kkrEs':function(_0x31243a,_0x17ea32){return _0x31243a!=_0x17ea32;},'UQosa':_0x337d16(0xf1),'UTAqC':function(_0x5d5d44,_0x505766,_0x46d084,_0x5d730,_0x3168f8,_0x21347a){return _0x5d5d44(_0x505766,_0x46d084,_0x5d730,_0x3168f8,_0x21347a);}},_0x3a402e=new BrowserStackSetup(_0x29ec16,_0x287f55[_0x337d16(0xd5)]);await _0x3a402e[_0x337d16(0xd9)]();!helper['isBrowserstackInfra']()&&await _0x3a402e[_0x337d16(0xb5)]();await helper['handleApp'](_0x3a402e[_0x337d16(0xb9)]);const _0x1ed65e=helper[_0x337d16(0xb2)](_0x3a402e[_0x337d16(0xb9)]),_0x22bd7a=helper[_0x337d16(0xdb)](_0x3a402e['config'],_0x1ed65e,constants[_0x337d16(0xfe)][_0x337d16(0xc0)]);if(!_0x3a402e[_0x337d16(0xb9)])return;const _0x52e678=_0x3a402e[_0x337d16(0xb9)][_0x337d16(0xaf)]||helper['getUserWorkerCount'](_0x29ec16,_0x17d1bf,_0x3a402e[_0x337d16(0xb9)],constants[_0x337d16(0xfe)][_0x337d16(0xc0)])||0x1,_0xcc26ed={'server':helper['getHubUrl'](_0x3a402e[_0x337d16(0xb9)]),'proxySettings':_0x3a402e[_0x337d16(0xb9)]['proxySettings'],'maxWorkers':_0x52e678,'browserStackLogLevel':_0x3a402e[_0x337d16(0xb9)]['logLevel'],'skipSessionName':_0x3a402e[_0x337d16(0xb9)][_0x337d16(0x114)][_0x337d16(0x106)],'skipSessionStatus':_0x3a402e[_0x337d16(0xb9)][_0x337d16(0x114)][_0x337d16(0x10d)],'turboScaleUrl':_0x3a402e['config'][_0x337d16(0xbf)]},_0x460b78=process[_0x337d16(0xa8)],[_0x3ff2f1,_0x1ed960]=helper[_0x337d16(0xda)](_0x460b78),_0x47cf75=path[_0x337d16(0xe3)](process[_0x337d16(0x10c)](),_0x287f55[_0x337d16(0xcf)]);if(_0x287f55[_0x337d16(0xad)](_0x1ed960[_0x337d16(0xb0)],0x0)){helper[_0x337d16(0xf3)](_0x47cf75);for(let _0x5439fe=_0x287f55[_0x337d16(0x108)](_0x3ff2f1[_0x337d16(0xb0)],0x1);_0x287f55[_0x337d16(0xa4)](_0x5439fe,0x0);_0x5439fe--){_0x460b78[_0x337d16(0xf8)](_0x3ff2f1[_0x5439fe],0x2);}}!helper[_0x337d16(0x103)](_0x3a402e['config'][_0x337d16(0xab)])&&(process[_0x337d16(0x118)][_0x337d16(0xfb)]=JSON[_0x337d16(0xf2)](_0x3a402e['config'][_0x337d16(0xab)]));_0x287f55[_0x337d16(0xc5)](_0x3a402e[_0x337d16(0xb9)][_0x337d16(0xf7)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3a402e[_0x337d16(0xb9)][_0x337d16(0xf7)]:process[_0x337d16(0x118)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x287f55['UQosa'];const _0x5d3f4d=await TestHubHandler[_0x337d16(0xd3)](constants[_0x337d16(0xfe)][_0x337d16(0xc0)],_0x3a402e);helper[_0x337d16(0xce)]();let _0x1b3dcb;_0x287f55[_0x337d16(0xf4)](parallelCucumberRun,_0x22bd7a,_0xcc26ed,_0x3a402e[_0x337d16(0xb9)],_0x460b78,_0x1ed960)[_0x337d16(0xbb)](async _0xf39d6f=>{const _0x30769a=_0x337d16;_0x1b3dcb=_0xf39d6f;const _0x4c34ed=_0x287f55[_0x30769a(0xc6)](printCucumberStats,_0xf39d6f);process[_0x30769a(0xe5)]=_0x4c34ed,_0x287f55['fnmoq'](_0x1ed960['length'],0x0)&&(logger[_0x30769a(0xcd)](_0x287f55[_0x30769a(0xb7)]),helper[_0x30769a(0xee)](_0x47cf75,_0x1ed960),logger[_0x30769a(0xcd)](_0x287f55['jEGiA']),helper[_0x30769a(0xc3)](_0x47cf75));})[_0x337d16(0xc8)](async()=>{const _0x3ce6c0=_0x337d16;_0x3a402e[_0x3ce6c0(0xf0)]=helper['getErrorMessageFromResults'](_0x1b3dcb,_0x287f55[_0x3ce6c0(0xea)]),testOpsHelper[_0x3ce6c0(0xfd)]();try{await TestHubHandler[_0x3ce6c0(0xb1)]();}catch(_0x4812ad){logger[_0x3ce6c0(0xcd)](_0x3ce6c0(0xbd)+util[_0x3ce6c0(0xcb)](_0x4812ad));}try{const {browserstackFolderPath:_0x19f6de,tcgConfigPath:_0x264241}=helper[_0x3ce6c0(0xd7)]();fs[_0x3ce6c0(0xf5)](_0x264241),fs[_0x3ce6c0(0xa3)](_0x19f6de);}catch(_0x4f662e){logger[_0x3ce6c0(0xcd)](_0x287f55['NygRP'],_0x4f662e);}await utilities[_0x3ce6c0(0xed)](_0x3a402e);});}module[a5_0x22d033(0xe9)]=run;
2
+ 'use strict';const a5_0x25bec5=a5_0x993f;(function(_0x251baf,_0x2f8b8e){const _0x375bc3=a5_0x993f,_0x277c4e=_0x251baf();while(!![]){try{const _0x1ad14b=-parseInt(_0x375bc3(0x153))/0x1*(parseInt(_0x375bc3(0x1a9))/0x2)+parseInt(_0x375bc3(0x187))/0x3+-parseInt(_0x375bc3(0x1c0))/0x4+-parseInt(_0x375bc3(0x1bc))/0x5*(parseInt(_0x375bc3(0x155))/0x6)+parseInt(_0x375bc3(0x160))/0x7*(parseInt(_0x375bc3(0x156))/0x8)+-parseInt(_0x375bc3(0x197))/0x9+-parseInt(_0x375bc3(0x16b))/0xa*(-parseInt(_0x375bc3(0x171))/0xb);if(_0x1ad14b===_0x2f8b8e)break;else _0x277c4e['push'](_0x277c4e['shift']());}catch(_0x41a943){_0x277c4e['push'](_0x277c4e['shift']());}}}(a5_0x43b2,0x221df));function a5_0x993f(_0x2cd100,_0x541c2d){const _0x43b28d=a5_0x43b2();return a5_0x993f=function(_0x993ffc,_0x53c3af){_0x993ffc=_0x993ffc-0x14f;let _0x4939b0=_0x43b28d[_0x993ffc];return _0x4939b0;},a5_0x993f(_0x2cd100,_0x541c2d);}const fs=require('fs'),path=require(a5_0x25bec5(0x194)),util=require(a5_0x25bec5(0x1bb)),logger=require(a5_0x25bec5(0x16a))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x25bec5(0x180)),utilities=require('../../helpers/utilities'),constants=require(a5_0x25bec5(0x151)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x25bec5(0x183)),testOpsHelper=require(a5_0x25bec5(0x17f)),chalk=require('chalk');function printCucumberStats(_0xf6875a){const _0x2f0ff3=a5_0x25bec5,_0xfc4aaa={};_0xfc4aaa[_0x2f0ff3(0x188)]=function(_0x6cce03,_0x257981){return _0x6cce03>_0x257981;},_0xfc4aaa['nKHLZ']=function(_0x246ffb,_0x2ecd92){return _0x246ffb-_0x2ecd92;},_0xfc4aaa[_0x2f0ff3(0x179)]=function(_0x2136f0,_0x3dd007){return _0x2136f0-_0x3dd007;},_0xfc4aaa[_0x2f0ff3(0x177)]=function(_0x305357,_0x464481){return _0x305357>_0x464481;},_0xfc4aaa[_0x2f0ff3(0x1aa)]=function(_0x3cf38e,_0x35b285){return _0x3cf38e>_0x35b285;},_0xfc4aaa['Dkthd']=function(_0x2468f3,_0x398177){return _0x2468f3>_0x398177;},_0xfc4aaa[_0x2f0ff3(0x15c)]=function(_0x58536e,_0x1a4d3d){return _0x58536e>_0x1a4d3d;},_0xfc4aaa[_0x2f0ff3(0x195)]=function(_0x5de0fe,_0x43431d){return _0x5de0fe+_0x43431d;},_0xfc4aaa[_0x2f0ff3(0x18c)]=function(_0x52438c,_0x39c060){return _0x52438c+_0x39c060;},_0xfc4aaa[_0x2f0ff3(0x1b4)]=function(_0x4a346f,_0x2ae1bd){return _0x4a346f+_0x2ae1bd;},_0xfc4aaa[_0x2f0ff3(0x165)]=function(_0x4744bf,_0x31b59b){return _0x4744bf+_0x31b59b;},_0xfc4aaa[_0x2f0ff3(0x1ab)]=function(_0x39d9dd,_0x2463e4){return _0x39d9dd+_0x2463e4;},_0xfc4aaa[_0x2f0ff3(0x184)]=function(_0x588188,_0x2715aa){return _0x588188+_0x2715aa;},_0xfc4aaa[_0x2f0ff3(0x1b3)]=function(_0x14e500,_0x3125bc){return _0x14e500===_0x3125bc;},_0xfc4aaa[_0x2f0ff3(0x18d)]=_0x2f0ff3(0x1af);const _0x549ecd=_0xfc4aaa;let _0x88a93d=0x0;if(_0x549ecd['UbeRO'](_0xf6875a[_0x2f0ff3(0x189)],0x0))return _0x88a93d;return console[_0x2f0ff3(0x176)](chalk[_0x2f0ff3(0x191)][_0x2f0ff3(0x1bf)](_0x549ecd[_0x2f0ff3(0x18d)])),_0xf6875a[_0x2f0ff3(0x18a)](_0x1a4c8c=>{const _0x377cd7=_0x2f0ff3,_0x270066=_0x1a4c8c[0x0],_0x13aa05=_0x1a4c8c[0x1];console[_0x377cd7(0x176)]('\x0a'+chalk[_0x377cd7(0x191)]['yellow'](''+helper[_0x377cd7(0x163)](_0x270066)));const _0x136b32=_0x13aa05[_0x377cd7(0x15a)],_0x3e7a54=_0x13aa05[_0x377cd7(0x174)],_0x564509=_0x13aa05[_0x377cd7(0x1bd)],_0xdaeb5e=_0x13aa05[_0x377cd7(0x154)],_0x494fdc=_0x13aa05[_0x377cd7(0x1a8)],_0xbd3a9d=_0x13aa05[_0x377cd7(0x150)],_0x291827=_0x13aa05['stepsPending'],_0x322823=_0x13aa05[_0x377cd7(0x19f)],_0x1908dd=_0x13aa05['stepsUnknown'],_0x9e9940=_0x13aa05['stepsAmbiguous'],_0x449962=_0x13aa05[_0x377cd7(0x161)];let _0x47e5ef=_0x136b32+_0x377cd7(0x17c);const _0x30401b=_0x549ecd[_0x377cd7(0x188)](_0x549ecd[_0x377cd7(0x199)](_0x136b32,_0x564509),0x0)?_0x549ecd[_0x377cd7(0x179)](_0x136b32,_0x564509):0x0;if(_0x549ecd[_0x377cd7(0x188)](_0x564509,0x0)&&_0x549ecd[_0x377cd7(0x188)](_0x30401b,0x0))_0x47e5ef+='\x20('+chalk[_0x377cd7(0x191)]['red'](_0x564509+'\x20failed')+',\x20'+chalk['bold'][_0x377cd7(0x198)](_0x30401b+'\x20passed')+')';else(_0x549ecd['SYxei'](_0x564509,0x0)||_0x549ecd[_0x377cd7(0x188)](_0x30401b,0x0))&&(_0x47e5ef+=_0x549ecd[_0x377cd7(0x1aa)](_0x564509,0x0)?'\x20('+chalk[_0x377cd7(0x191)][_0x377cd7(0x1a1)](_0x564509+_0x377cd7(0x17d))+')':'\x20('+chalk['bold'][_0x377cd7(0x198)](_0x30401b+_0x377cd7(0x19d))+')');const _0xd7d74e=_0x3e7a54+_0x377cd7(0x1a6),_0x3f98f8=[];_0x549ecd[_0x377cd7(0x1aa)](_0x9e9940,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk['bold']['red'](_0x9e9940+'\x20ambiguous'));_0x549ecd[_0x377cd7(0x157)](_0xdaeb5e,0x0)&&_0x3f98f8['push'](''+chalk['bold'][_0x377cd7(0x1a1)](_0xdaeb5e+_0x377cd7(0x17d)));_0x549ecd[_0x377cd7(0x1aa)](_0x494fdc,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x198)](_0x494fdc+_0x377cd7(0x19d)));_0x549ecd[_0x377cd7(0x177)](_0x291827,0x0)&&_0x3f98f8['push'](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x181)](_0x291827+_0x377cd7(0x152)));_0x549ecd['SYxei'](_0xbd3a9d,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)]['cyan'](_0xbd3a9d+'\x20skipped'));_0x549ecd[_0x377cd7(0x15c)](_0x322823,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x181)](_0x322823+_0x377cd7(0x19e)));_0x549ecd['nVFuk'](_0x1908dd,0x0)&&_0x3f98f8[_0x377cd7(0x17a)](''+chalk[_0x377cd7(0x191)][_0x377cd7(0x181)](_0x1908dd+_0x377cd7(0x1a3)));const _0x46928c=_0x549ecd[_0x377cd7(0x195)](_0x549ecd['TkmTu'](_0x549ecd['LmHbg'](_0xd7d74e,'('),_0x3f98f8[_0x377cd7(0x1a5)](',\x20')),')');console[_0x377cd7(0x176)](_0x549ecd['MMRQU'](_0x549ecd['SHopQ'](_0x549ecd[_0x377cd7(0x18c)](_0x549ecd[_0x377cd7(0x184)]('\x0a',_0x47e5ef),'\x0a'),_0x46928c),'\x0a')),_0x549ecd[_0x377cd7(0x1b3)](_0x449962,![])&&(_0x88a93d=0x1);}),_0x88a93d;}async function run(_0x25ed6e,_0x3ba0a9){const _0x5ea6d8=a5_0x25bec5,_0x988cc8={'kGSfw':function(_0x8dacb7,_0x1f6c28){return _0x8dacb7(_0x1f6c28);},'ZWJBb':function(_0x3189f6,_0xf38e6a){return _0x3189f6>_0xf38e6a;},'IFYWR':_0x5ea6d8(0x1a4),'oMILS':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','KQEpN':'cucumber','Qyfjt':_0x5ea6d8(0x1a0),'JjHBM':_0x5ea6d8(0x182),'sACuV':_0x5ea6d8(0x17e),'AUjjv':function(_0x21369d,_0x4db3f4){return _0x21369d>_0x4db3f4;},'vdSOm':function(_0x3726ce,_0x2840b4){return _0x3726ce-_0x2840b4;},'Rnxrs':function(_0x2fe644,_0x466500){return _0x2fe644>=_0x466500;},'iFqYQ':function(_0x50bf2c,_0x1ff43d){return _0x50bf2c!=_0x1ff43d;},'kAFxk':_0x5ea6d8(0x1ad),'IhifD':function(_0x5799ed,_0x2fd0be,_0x42f10d,_0x3f213e,_0x54a2e1,_0x22793e){return _0x5799ed(_0x2fd0be,_0x42f10d,_0x3f213e,_0x54a2e1,_0x22793e);}},_0x5d49f6=new BrowserStackSetup(_0x25ed6e,_0x988cc8['JjHBM']);await _0x5d49f6[_0x5ea6d8(0x1ba)]();!helper[_0x5ea6d8(0x168)]()&&await _0x5d49f6[_0x5ea6d8(0x19a)]();await helper[_0x5ea6d8(0x172)](_0x5d49f6[_0x5ea6d8(0x185)]);const _0x4cbb14=helper['useW3C'](_0x5d49f6[_0x5ea6d8(0x185)]),_0x14cecc=helper[_0x5ea6d8(0x1ac)](_0x5d49f6[_0x5ea6d8(0x185)],_0x4cbb14,constants[_0x5ea6d8(0x18b)][_0x5ea6d8(0x17b)]);if(!_0x5d49f6[_0x5ea6d8(0x185)])return;const _0x1fb7f8=_0x5d49f6['config']['parallelsPerPlatform']||helper[_0x5ea6d8(0x190)](_0x25ed6e,_0x3ba0a9,_0x5d49f6[_0x5ea6d8(0x185)],constants[_0x5ea6d8(0x18b)]['CUCUMBER'])||0x1,_0x22599b={'server':helper[_0x5ea6d8(0x15f)](_0x5d49f6[_0x5ea6d8(0x185)]),'proxySettings':_0x5d49f6[_0x5ea6d8(0x185)]['proxySettings'],'maxWorkers':_0x1fb7f8,'browserStackLogLevel':_0x5d49f6[_0x5ea6d8(0x185)]['logLevel'],'skipSessionName':_0x5d49f6[_0x5ea6d8(0x185)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x5d49f6[_0x5ea6d8(0x185)][_0x5ea6d8(0x1b8)][_0x5ea6d8(0x14f)],'turboScaleUrl':_0x5d49f6['config'][_0x5ea6d8(0x1b0)]},_0x54ac18=process[_0x5ea6d8(0x16c)],[_0x2d4f3f,_0x10f45b]=helper[_0x5ea6d8(0x16e)](_0x54ac18),_0x20111c=path[_0x5ea6d8(0x1a5)](process[_0x5ea6d8(0x159)](),_0x988cc8['sACuV']);if(_0x988cc8[_0x5ea6d8(0x1be)](_0x10f45b[_0x5ea6d8(0x189)],0x0)){helper['createDir'](_0x20111c);for(let _0x1e9309=_0x988cc8[_0x5ea6d8(0x1b6)](_0x2d4f3f['length'],0x1);_0x988cc8[_0x5ea6d8(0x1b9)](_0x1e9309,0x0);_0x1e9309--){_0x54ac18[_0x5ea6d8(0x193)](_0x2d4f3f[_0x1e9309],0x2);}}!helper[_0x5ea6d8(0x15d)](_0x5d49f6[_0x5ea6d8(0x185)][_0x5ea6d8(0x175)])&&(process['env'][_0x5ea6d8(0x166)]=JSON[_0x5ea6d8(0x164)](_0x5d49f6[_0x5ea6d8(0x185)]['accessibilityOptions']));_0x988cc8[_0x5ea6d8(0x170)](_0x5d49f6[_0x5ea6d8(0x185)]['testObservability'],null)?process['env'][_0x5ea6d8(0x1b1)]=_0x5d49f6[_0x5ea6d8(0x185)][_0x5ea6d8(0x1a2)]:process['env'][_0x5ea6d8(0x1b1)]=_0x988cc8[_0x5ea6d8(0x162)];const _0x322f7a=await TestHubHandler['launchBuild'](constants['FRAMEWORKS']['CUCUMBER'],_0x5d49f6);helper[_0x5ea6d8(0x186)]();let _0x112915;_0x988cc8[_0x5ea6d8(0x1a7)](parallelCucumberRun,_0x14cecc,_0x22599b,_0x5d49f6[_0x5ea6d8(0x185)],_0x54ac18,_0x10f45b)[_0x5ea6d8(0x15b)](async _0x12358e=>{const _0xcf2728=_0x5ea6d8;_0x112915=_0x12358e;const _0x46b6cb=_0x988cc8[_0xcf2728(0x16f)](printCucumberStats,_0x12358e);process[_0xcf2728(0x18f)]=_0x46b6cb,_0x988cc8[_0xcf2728(0x169)](_0x10f45b[_0xcf2728(0x189)],0x0)&&(logger[_0xcf2728(0x173)](_0x988cc8['IFYWR']),helper[_0xcf2728(0x178)](_0x20111c,_0x10f45b),logger[_0xcf2728(0x173)](_0x988cc8[_0xcf2728(0x18e)]),helper[_0xcf2728(0x16d)](_0x20111c));})['finally'](async()=>{const _0x136583=_0x5ea6d8;_0x5d49f6[_0x136583(0x15e)]=helper[_0x136583(0x1ae)](_0x112915,_0x988cc8[_0x136583(0x1b5)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x136583(0x19c)]();}catch(_0x5b7e43){logger[_0x136583(0x173)](_0x136583(0x1b7)+util[_0x136583(0x196)](_0x5b7e43));}try{const {browserstackFolderPath:_0x361532,tcgConfigPath:_0x122eca}=helper[_0x136583(0x192)]();fs[_0x136583(0x1b2)](_0x122eca),fs[_0x136583(0x1c1)](_0x361532);}catch(_0xe38ff7){logger[_0x136583(0x173)](_0x988cc8[_0x136583(0x158)],_0xe38ff7);}await utilities[_0x136583(0x19b)](_0x5d49f6);});}module[a5_0x25bec5(0x167)]=run;function a5_0x43b2(){const _0x319dcc=['88mEpguO','Dkthd','Qyfjt','cwd','scenarios','then','nVFuk','isUndefined','errorMessage','getHubUrl','74109BbtRNh','processSuccess','kAFxk','getPlatformName','stringify','MMRQU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exports','isBrowserstackInfra','ZWJBb','../../helpers/logger','2181180bbtbFv','argv','removeDir','parseFormatters','kGSfw','iFqYQ','33ndveHP','handleApp','debug','steps','accessibilityOptions','log','SYxei','mergeOutputFiles','HzNNq','push','CUCUMBER','\x20scenarios','\x20failed','tmp','../../helpers/test-observability/utils','../../helpers/helper','yellow','cucumber-js','../../helpers/testhub/testhubHandler','uiquo','config','markSDKSetupComplete','543228RRXLia','FzAPJ','length','forEach','FRAMEWORKS','TkmTu','DUrNy','oMILS','exitCode','getUserWorkerCount','bold','getTCGConfigFilePaths','splice','path','gnqFo','format','1575810uHTHxU','green','nKHLZ','setupTCGAuth','finalExecution','stop','\x20passed','\x20undefined','stepsUndefined','error\x20removing\x20tcg\x20config\x20file','red','testObservability','\x20skipped','Generating\x20consolidated\x20report...','join','\x20steps','IhifD','stepsPassed','3452UUtALr','PMqxy','SHopQ','prepareCapabilities','false','getErrorMessageFromResults','****\x20RESULTS\x20****','turboScaleUrl','BROWSERSTACK_TEST_OBSERVABILITY_YML','unlinkSync','UbeRO','LmHbg','KQEpN','vdSOm','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','testContextOptions','Rnxrs','initialize','util','5NgnuNz','scenariosFailed','AUjjv','bgWhite','843628vuhZYk','rmdirSync','skipSessionStatus','stepsSkipped','../utils/constants','\x20pending','101tlFQVY','stepsFailed','1510926TYLKyG'];a5_0x43b2=function(){return _0x319dcc;};return a5_0x43b2();}