browserstack-node-sdk 1.34.17 → 1.34.18

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 +2 -2
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x268709=a1_0x3324;function a1_0x3324(_0x2f7730,_0x3c53da){const _0x3bc47a=a1_0x3bc4();return a1_0x3324=function(_0x33244,_0xdf536c){_0x33244=_0x33244-0x125;let _0x1b106b=_0x3bc47a[_0x33244];return _0x1b106b;},a1_0x3324(_0x2f7730,_0x3c53da);}(function(_0x299113,_0x1dae15){const _0x2edaac=a1_0x3324,_0xeb2f54=_0x299113();while(!![]){try{const _0x3d575b=parseInt(_0x2edaac(0x1b0))/0x1*(parseInt(_0x2edaac(0x199))/0x2)+-parseInt(_0x2edaac(0x192))/0x3+parseInt(_0x2edaac(0x146))/0x4*(-parseInt(_0x2edaac(0x186))/0x5)+parseInt(_0x2edaac(0x184))/0x6+-parseInt(_0x2edaac(0x1bc))/0x7+parseInt(_0x2edaac(0x128))/0x8*(parseInt(_0x2edaac(0x17c))/0x9)+-parseInt(_0x2edaac(0x1a2))/0xa*(-parseInt(_0x2edaac(0x18d))/0xb);if(_0x3d575b===_0x1dae15)break;else _0xeb2f54['push'](_0xeb2f54['shift']());}catch(_0x68f1f){_0xeb2f54['push'](_0xeb2f54['shift']());}}}(a1_0x3bc4,0x8b412));const fs=require('fs'),util=require(a1_0x268709(0x1b2)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x268709(0x18e)),logger=require(a1_0x268709(0x1a3))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x268709(0x1be)),PlaywrightSessionDetails=require(a1_0x268709(0x195)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x268709(0x125)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x268709(0x15c)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x268709(0x12f)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x268709(0x191)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x268709(0x18b)),CodeceptWebDriver=requireModule(a1_0x268709(0x182)),CodeceptRecorder=requireModule(a1_0x268709(0x129)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x1d324c,_0x16c934,_0x26ed97)=>{const _0x265d1e=a1_0x268709,_0xf5896d={'GvEwl':_0x265d1e(0x1b9),'islkH':function(_0x2d792b,_0x5066ae){return _0x2d792b(_0x5066ae);}},_0x918473={};_0x918473[_0x265d1e(0x163)]=_0x16c934;const _0xb7c755={};_0xb7c755[_0x265d1e(0x143)]=_0xf5896d['GvEwl'],_0xb7c755[_0x265d1e(0x132)]=_0x918473;const _0x5da98f=_0xb7c755;return!_0xf5896d[_0x265d1e(0x133)](isUndefined,_0x26ed97)&&(_0x5da98f['arguments']['reason']=JSON[_0x265d1e(0x13b)](_0x26ed97)),_0x1d324c[_0x265d1e(0x19f)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x5da98f));},o11ySync=async _0x2fbba0=>{const _0x57137c=a1_0x268709,_0x3ecf17={};_0x3ecf17[_0x57137c(0x1bd)]=function(_0x24bf7b,_0x75d1dd){return _0x24bf7b===_0x75d1dd;},_0x3ecf17[_0x57137c(0x1ad)]='Playwright';const _0x578fc5=_0x3ecf17;_0x578fc5['WTpue'](_0x2fbba0[_0x57137c(0x162)][_0x57137c(0x19a)],_0x578fc5[_0x57137c(0x1ad)])?await _0x2fbba0['executeScript'](_0x13b5f7=>{},testOpsHelper[_0x57137c(0x194)]()):await _0x2fbba0[_0x57137c(0x19f)](testOpsHelper[_0x57137c(0x194)]());},markSessionName=async(_0x18c38f,_0x132f14)=>{const _0x5433ee=a1_0x268709,_0x12cdb8={};_0x12cdb8[_0x5433ee(0x183)]=_0x5433ee(0x160),_0x12cdb8['XyvNR']=function(_0x1baff6,_0xffd80){return _0x1baff6===_0xffd80;},_0x12cdb8[_0x5433ee(0x141)]=_0x5433ee(0x17e);const _0x6a0081=_0x12cdb8,_0x36f5eb={};_0x36f5eb[_0x5433ee(0x19a)]=_0x132f14;const _0x2012ef={};_0x2012ef['action']=_0x6a0081[_0x5433ee(0x183)],_0x2012ef[_0x5433ee(0x132)]=_0x36f5eb;const _0x308ce6=_0x2012ef;_0x6a0081['XyvNR'](_0x18c38f[_0x5433ee(0x162)][_0x5433ee(0x19a)],_0x6a0081[_0x5433ee(0x141)])?await _0x18c38f[_0x5433ee(0x19f)](()=>{},_0x5433ee(0x14e)+JSON[_0x5433ee(0x13b)](_0x308ce6)):await _0x18c38f[_0x5433ee(0x19f)](_0x5433ee(0x14e)+JSON[_0x5433ee(0x13b)](_0x308ce6));},patchSaveScreenshot=_0x89eba0=>{const _0x529c56=a1_0x268709,_0x30c28f={'SjTmz':_0x529c56(0x198),'TgFUv':'TEST_SCREENSHOT','AQJmP':function(_0x3c216c){return _0x3c216c();},'vRRDw':function(_0x73f454,_0x73201b){return _0x73f454(_0x73201b);}};_0x30c28f['vRRDw'](isTrue,process[_0x529c56(0x155)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x89eba0[_0x529c56(0x13d)]&&(_0x89eba0[_0x529c56(0x13d)]=!![],_0x89eba0[_0x529c56(0x197)]=_0x89eba0[_0x529c56(0x18a)],_0x89eba0[_0x529c56(0x18a)]=(_0x7e0647,_0x335b6a=![])=>{const _0x4c6da4=_0x529c56,_0x1ea7b8={'fSNWb':_0x30c28f[_0x4c6da4(0x161)],'EjbhZ':_0x30c28f[_0x4c6da4(0x150)],'EEbwE':function(_0x553c0b){const _0x164e04=_0x4c6da4;return _0x30c28f[_0x164e04(0x176)](_0x553c0b);}};return new Promise(function(_0x5a46f6,_0xc7e9c6){const _0x150438=_0x4c6da4;_0x89eba0[_0x150438(0x197)](_0x7e0647,_0x335b6a)[_0x150438(0x1c3)](()=>{const _0x528629=_0x150438,_0x104767=CodeceptUtils[_0x528629(0x1a8)](_0x7e0647),_0xf819fb=fs['readFileSync'](_0x104767);process[_0x528629(0x158)](_0x528629(0x1ab)+process['pid'],{'timestamp':new Date()[_0x528629(0x185)](),'message':_0xf819fb[_0x528629(0x140)](_0x1ea7b8[_0x528629(0x135)]),'kind':_0x1ea7b8[_0x528629(0x1c0)]}),_0x1ea7b8[_0x528629(0x17b)](_0x5a46f6);})[_0x150438(0x127)](()=>null);});});},patchWebDriverBefore=_0x252209=>{const _0x44eb91=a1_0x268709,_0x5e4ee4={'VKPnN':function(_0x4bdf08){return _0x4bdf08();},'ujWZa':function(_0x2d0241,_0x1cf506){return _0x2d0241(_0x1cf506);},'gYDjD':function(_0x3f3245,_0x494171){return _0x3f3245===_0x494171;},'xXPgX':'Element'},_0x59ba70=async function(_0x173df5,_0x1a85fd){const _0x322a19=a1_0x3324;return _0x5e4ee4[_0x322a19(0x1b4)](isAccessibilityAutomationSession)&&!global[_0x322a19(0x17a)]&&global[_0x322a19(0x19d)]&&scripts[_0x322a19(0x1a4)](_0x173df5[_0x322a19(0x19a)])&&_0x5e4ee4[_0x322a19(0x131)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x322a19(0x17a)]=!![],logger[_0x322a19(0x14c)](_0x322a19(0x1ae)+_0x173df5[_0x322a19(0x16a)]+'\x20'+_0x173df5[_0x322a19(0x19a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x252209,scripts[_0x322a19(0x151)])),global[_0x322a19(0x17a)]=![],_0x1a85fd[_0x322a19(0x16d)](this,Array[_0x322a19(0x1b1)][_0x322a19(0x19b)][_0x322a19(0x1a6)](arguments,0x2));},_0x3d5848=CodeceptWebDriver[_0x44eb91(0x1b1)]['_before'];CodeceptWebDriver['prototype'][_0x44eb91(0x190)]=async function(){const _0x4ce1e1=_0x44eb91,_0x59f500={'pCNgZ':function(_0x2231cf,_0x382564){return _0x5e4ee4['gYDjD'](_0x2231cf,_0x382564);},'HhfMK':_0x5e4ee4[_0x4ce1e1(0x144)]};await _0x3d5848['apply'](this,arguments),scripts[_0x4ce1e1(0x152)][_0x4ce1e1(0x134)](_0x5abf32=>_0x5abf32[_0x4ce1e1(0x19a)]&&_0x5abf32[_0x4ce1e1(0x16a)])[_0x4ce1e1(0x159)](_0x2ad965=>{const _0x43785=_0x4ce1e1;this[_0x43785(0x13c)]['overwriteCommand'](_0x2ad965[_0x43785(0x19a)],_0x59ba70['bind'](this,_0x2ad965),_0x59f500[_0x43785(0x145)](_0x2ad965[_0x43785(0x16a)],_0x59f500[_0x43785(0x12e)]));}),_0x5e4ee4['ujWZa'](processWebDriverConfig,_0x252209);};},patchPlaywrightBefore=()=>{const _0x5093d2=a1_0x268709;PlaywrightSessionDetails[_0x5093d2(0x1b5)]();const _0x292250=CodeceptPlaywright['prototype'][_0x5093d2(0x190)];CodeceptPlaywright[_0x5093d2(0x1b1)][_0x5093d2(0x190)]=async function(){const _0x322dcb=_0x5093d2;this[_0x322dcb(0x1bb)]=await this['browser'][_0x322dcb(0x179)]()[0x0],await _0x292250['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x3aba4b=a1_0x268709,_0x2ceb82={};_0x2ceb82[_0x3aba4b(0x15d)]=_0x3aba4b(0x174),_0x2ceb82[_0x3aba4b(0x1a7)]=_0x3aba4b(0x17e),_0x2ceb82[_0x3aba4b(0x1bf)]='Puppeteer',_0x2ceb82[_0x3aba4b(0x156)]=_0x3aba4b(0x14f);const _0x53031e=_0x2ceb82,_0x3a8a8a=[_0x53031e[_0x3aba4b(0x15d)],_0x53031e['mydzL'],_0x53031e[_0x3aba4b(0x1bf)],_0x53031e[_0x3aba4b(0x156)]],_0xc571a4=_0x3a8a8a[_0x3aba4b(0x1af)](_0x2d0a68=>!!CodeceptJS['container'][_0x3aba4b(0x12b)](_0x2d0a68));if(!_0xc571a4)return null;return CodeceptJS[_0x3aba4b(0x148)]['helpers'](_0xc571a4);};module[a1_0x268709(0x17f)]=function(_0x13d5a2){const _0x2937a1=a1_0x268709,_0x9951be={'MbarH':_0x2937a1(0x1c4),'drTVS':_0x2937a1(0x1b8),'qYkEG':function(_0x1217c7){return _0x1217c7();},'fotOm':function(_0x105e78,_0x38c00e){return _0x105e78(_0x38c00e);},'jXqWu':function(_0x3bb780,_0x5db82f,_0x2ded14){return _0x3bb780(_0x5db82f,_0x2ded14);},'jtUkr':function(_0x206b94){return _0x206b94();},'hKCPz':function(_0x1a6785,_0x33a973,_0x310149,_0x20e705){return _0x1a6785(_0x33a973,_0x310149,_0x20e705);},'mgXKa':function(_0x279b2e,_0x45f0ac){return _0x279b2e===_0x45f0ac;},'iyUcj':_0x2937a1(0x18f),'ubFpe':function(_0x8c15ab){return _0x8c15ab();},'vfcgN':function(_0x5691db,_0x516c6a,_0x31b01d){return _0x5691db(_0x516c6a,_0x31b01d);},'btcdb':_0x2937a1(0x15e),'gvGTk':'INFO','CXxXN':_0x2937a1(0x14b),'PnuIV':function(_0x4c7e82){return _0x4c7e82();},'BpbHQ':'Playwright','pKkeH':function(_0x2c0710,_0x4cecc2){return _0x2c0710(_0x4cecc2);}};_0x13d5a2[_0x2937a1(0x139)]&&(global[_0x2937a1(0x166)]=_0x13d5a2[_0x2937a1(0x139)]);PerformanceTester[_0x2937a1(0x1a0)]();const _0x2fd52a=_0x9951be[_0x2937a1(0x13f)](getCodeceptDriver),_0xe0e34d=new O11yHelper(_0x2fd52a,_0x13d5a2),_0x54d911=!!CodeceptJS[_0x2937a1(0x148)][_0x2937a1(0x12b)](_0x9951be['BpbHQ']);global[_0x2937a1(0x12d)]=_0x2fd52a,_0x2fd52a&&(_0x54d911?_0x9951be[_0x2937a1(0x13f)](patchPlaywrightBefore):_0x9951be[_0x2937a1(0x137)](patchWebDriverBefore,_0x2fd52a),_0x2fd52a[_0x2937a1(0x19e)]=async()=>{const _0x11b322=_0x2937a1;if(global[_0x11b322(0x19d)])await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts[_0x11b322(0x151)]),await AccessibilityHelper[_0x11b322(0x1a9)](_0x2fd52a,scripts[_0x11b322(0x149)]);else return logger[_0x11b322(0x193)](_0x9951be[_0x11b322(0x16b)]),{};},_0x2fd52a[_0x2937a1(0x175)]=async()=>{const _0x349b70=_0x2937a1;if(global[_0x349b70(0x19d)])await AccessibilityHelper[_0x349b70(0x1a9)](_0x2fd52a,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts[_0x349b70(0x171)]);else return logger[_0x349b70(0x193)](_0x9951be['drTVS']),{};},_0x9951be[_0x2937a1(0x147)](patchSaveScreenshot,_0x2fd52a)),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x196)][_0x2937a1(0x15b)],()=>{const _0xf45c0b=_0x2937a1;try{_0xe0e34d[_0xf45c0b(0x16f)](),testOpsHelper[_0xf45c0b(0x172)]();}catch(_0x5e794d){PerformanceTester[_0xf45c0b(0x188)](_0x5e794d);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x196)]['after'],async()=>{const _0xf9ffaf=_0x2937a1;try{requestSpy[_0xf9ffaf(0x142)](),await _0xe0e34d[_0xf9ffaf(0x1b3)]();}catch(_0x302ee3){PerformanceTester[_0xf9ffaf(0x188)](_0x302ee3);}finally{PerformanceTester[_0xf9ffaf(0x13e)]();}}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x12a)],_0x675025=>{const _0x49a659=_0x2937a1;try{const _0x1c59d3=_0x675025[_0x49a659(0x17d)]['test'],_0xb96402=_0xe0e34d['captureEvent'](TEST_EVENTS[_0x49a659(0x1aa)],_0x1c59d3);CodeceptRecorder['add'](()=>_0xe0e34d[_0x49a659(0x173)](TEST_EVENTS[_0x49a659(0x1aa)],_0xb96402));}catch(_0x455742){PerformanceTester[_0x49a659(0x188)](_0x455742);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x138)],_0x4c35c7=>{const _0x341603=_0x2937a1;try{const _0x74d8c1=_0x4c35c7[_0x341603(0x17d)][_0x341603(0x1c5)],_0x5d23bc=_0xe0e34d['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x74d8c1);CodeceptRecorder[_0x341603(0x168)](()=>_0xe0e34d['fireEvent'](TEST_EVENTS[_0x341603(0x19c)],_0x5d23bc));}catch(_0x4db7a6){PerformanceTester[_0x341603(0x188)](_0x4db7a6);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x13a)],async(_0x5b47e2,_0x161237)=>{const _0x129885=_0x2937a1;try{const _0x5264bd=_0x5b47e2[_0x129885(0x17d)]['test'],_0x2800e6=_0xe0e34d['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5264bd,_0x161237);CodeceptRecorder['add'](()=>_0xe0e34d[_0x129885(0x173)](TEST_EVENTS[_0x129885(0x19c)],_0x2800e6));}catch(_0x35047d){PerformanceTester[_0x129885(0x188)](_0x35047d);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x15b)],_0x5a64b3=>{const _0x44901a=_0x2937a1;try{_0x9951be[_0x44901a(0x12c)](isBrowserstackInfra)&&(_0x54d911&&(global['__workerDetails']={'currentTest':{'name':_0x5a64b3['title'],'testInfo':{'titlePath':_0x5a64b3[_0x44901a(0x164)]()}}}));}catch(_0x1ee2cd){PerformanceTester[_0x44901a(0x188)](_0x1ee2cd);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x12a)],_0x33014a=>{const _0x356d09=_0x2937a1;try{const _0x4ca194=_0xe0e34d[_0x356d09(0x15a)](TEST_EVENTS[_0x356d09(0x18c)],_0x33014a);CodeceptRecorder[_0x356d09(0x168)](()=>_0xe0e34d[_0x356d09(0x173)](TEST_EVENTS[_0x356d09(0x18c)],_0x4ca194)),CodeceptRecorder['add'](async()=>{const _0x5bb125=_0x356d09;_0x9951be['qYkEG'](isBrowserstackInfra)&&(!_0x9951be[_0x5bb125(0x137)](isTrue,_0x13d5a2[_0x5bb125(0x165)])&&await _0x9951be[_0x5bb125(0x1b6)](markSessionName,_0x2fd52a,_0x33014a['title']),_0xe0e34d[_0x5bb125(0x1c2)]&&await _0x9951be[_0x5bb125(0x137)](o11ySync,_0x2fd52a));});}catch(_0x4bdcb9){PerformanceTester[_0x356d09(0x188)](_0x4bdcb9);}}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x138)],_0x5762d6=>{const _0x42833c=_0x2937a1;try{const _0x31ed82=_0xe0e34d[_0x42833c(0x15a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5762d6);CodeceptRecorder[_0x42833c(0x168)](()=>_0xe0e34d[_0x42833c(0x173)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x31ed82)),CodeceptRecorder[_0x42833c(0x168)](async()=>{const _0x308be8=_0x42833c;_0x9951be[_0x308be8(0x1a1)](isBrowserstackInfra)&&(_0x54d911?await _0x9951be['jXqWu'](playwrightMarkSessionStatus,_0x2fd52a,STATE_PASSED):await _0x9951be[_0x308be8(0x1b6)](markSessionStatus,_0x2fd52a,STATE_PASSED));});}catch(_0x290dcf){PerformanceTester[_0x42833c(0x188)](_0x290dcf);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x13a)],(_0x543a77,_0x47c726)=>{const _0x14368b=_0x2937a1,_0x15fb3c={'zhFlJ':function(_0x5b533d){const _0x23d800=a1_0x3324;return _0x9951be[_0x23d800(0x1a1)](_0x5b533d);},'MPIbG':function(_0x27e54a,_0x3c0a22,_0x5a9ad7,_0x305a37){const _0x1b3243=a1_0x3324;return _0x9951be[_0x1b3243(0x130)](_0x27e54a,_0x3c0a22,_0x5a9ad7,_0x305a37);},'MdpJr':function(_0x3ba051,_0x3bf7fd,_0x357c07,_0x57e9de){const _0x5954f0=a1_0x3324;return _0x9951be[_0x5954f0(0x130)](_0x3ba051,_0x3bf7fd,_0x357c07,_0x57e9de);}};try{if(_0x9951be[_0x14368b(0x1c1)](_0x543a77[_0x14368b(0x162)][_0x14368b(0x19a)],_0x9951be[_0x14368b(0x14a)])){const _0x175839=_0xe0e34d[_0x14368b(0x15a)](TEST_EVENTS[_0x14368b(0x1ba)],_0x543a77['ctx']['currentTest']);CodeceptRecorder[_0x14368b(0x168)](()=>_0xe0e34d['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x175839));}else{const _0x81e9df=_0xe0e34d['captureEvent'](TEST_EVENTS[_0x14368b(0x136)],_0x543a77,_0x47c726);CodeceptRecorder[_0x14368b(0x168)](()=>{const _0x3ba660=_0x14368b;try{_0xe0e34d[_0x3ba660(0x173)](TEST_EVENTS[_0x3ba660(0x136)],_0x81e9df);}catch(_0x4982dc){logger['debug'](_0x3ba660(0x153)+util[_0x3ba660(0x170)](_0x4982dc));}}),CodeceptRecorder['add'](async()=>{const _0x370ec0=_0x14368b;try{_0x15fb3c[_0x370ec0(0x1c6)](isBrowserstackInfra)&&(_0x54d911?await _0x15fb3c['MPIbG'](playwrightMarkSessionStatus,_0x2fd52a,STATE_FAILED,_0x47c726):await _0x15fb3c[_0x370ec0(0x1b7)](markSessionStatus,_0x2fd52a,STATE_FAILED,_0x47c726));}catch(_0x2e3c94){logger[_0x370ec0(0x14c)](_0x370ec0(0x169)+util[_0x370ec0(0x170)](_0x2e3c94));}});}}catch(_0x391087){PerformanceTester[_0x14368b(0x188)](_0x391087);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS['event'][_0x2937a1(0x1c5)]['skipped'],_0x29a698=>{const _0x3e71ec=_0x2937a1;try{const _0x264057=_0xe0e34d[_0x3e71ec(0x15a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x29a698);CodeceptRecorder['add'](()=>_0xe0e34d[_0x3e71ec(0x173)](TEST_EVENTS[_0x3e71ec(0x1ba)],_0x264057));}catch(_0x3e3cd0){PerformanceTester[_0x3e71ec(0x188)](_0x3e3cd0);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS['event'][_0x2937a1(0x1c5)][_0x2937a1(0x180)],async(_0x523774,_0x309985)=>{const _0x4e940e=_0x2937a1;try{if(_0x9951be[_0x4e940e(0x14d)](isBrowserstackInfra)){const _0x51cd7a=_0x9951be['vfcgN'](shouldScanTestForAccessibility,_0x523774[_0x4e940e(0x164)](),!![]);if(_0x9951be['jtUkr'](isAccessibilityAutomationSession)&&global[_0x4e940e(0x19d)]&&_0x51cd7a){const _0x391cec={};_0x391cec[_0x4e940e(0x181)]=_0x523774['testAnalyticsId'],_0x391cec['thBuildUuid']=process[_0x4e940e(0x155)][testHubConstants['ENV_VAR'][_0x4e940e(0x16e)]],_0x391cec['thJwtToken']=process['env'][testHubConstants[_0x4e940e(0x189)]['BROWSERSTACK_TESTHUB_JWT']];const _0x8d9b8=_0x391cec;logger[_0x4e940e(0x14c)](_0x4e940e(0x157)+JSON[_0x4e940e(0x13b)](_0x8d9b8)),CodeceptRecorder[_0x4e940e(0x168)](async()=>{const _0x391664=_0x4e940e;await AccessibilityHelper[_0x391664(0x1a9)](_0x2fd52a,scripts[_0x391664(0x151)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts['saveTestResults'],_0x8d9b8);}),logger[_0x4e940e(0x154)](_0x9951be['btcdb']);}}}catch(_0x22a9b2){PerformanceTester[_0x4e940e(0x188)](_0x22a9b2);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)]['step'][_0x2937a1(0x187)],_0x43812c=>{const _0x10eb6d=_0x2937a1;try{process['emit']('bs:addLog:'+process[_0x10eb6d(0x177)],{'timestamp':new Date()[_0x10eb6d(0x185)](),'level':_0x9951be[_0x10eb6d(0x16c)],'message':_0x43812c,'kind':_0x9951be[_0x10eb6d(0x126)],'http_response':{}});}catch(_0x11cfd7){PerformanceTester[_0x10eb6d(0x188)](_0x11cfd7);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)]['bddStep'][_0x2937a1(0x15b)],_0x5edc7a=>{_0xe0e34d['bddStepStart'](_0x5edc7a);}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS['event'][_0x2937a1(0x167)][_0x2937a1(0x180)],_0x363e0d=>{const _0x32564b=_0x2937a1;_0xe0e34d[_0x32564b(0x1ac)](_0x363e0d);});};function a1_0x3bc4(){const _0x5322d6=['test','zhFlJ','./o11yHelper','CXxXN','catch','184RBxuVq','codeceptjs/lib/recorder.js','started','helpers','qYkEG','__driver','HhfMK','../../helpers/accessibility-automation/scripts','hKCPz','ujWZa','arguments','islkH','filter','fSNWb','TEST_RUN_FINISHED','fotOm','passed','skipSessionStatus','failed','stringify','browser','patchSaveScreenshot','stopMonitoring','PnuIV','toString','QmZvT','restore','action','xXPgX','pCNgZ','8oXwBqK','pKkeH','container','getResultsSummary','iyUcj','TEST_LOG','debug','ubFpe','browserstack_executor:\x20','TestCafe','TgFUv','performScan','commandsToWrap','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','info','env','EdHdN','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','emit','forEach','captureEvent','before','../../helpers/accessibility-automation/helper','NKgQz','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','dispatcher','setSessionName','SjTmz','constructor','status','titlePath','skipSessionName','__skipSessionStatus','bddStep','add','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','class','MbarH','gvGTk','apply','BROWSERSTACK_TESTHUB_UUID','start','format','getResults','addRequestSpy','fireEvent','WebDriver','getAccessibilityResults','AQJmP','pid','event','contexts','bstackAllyScanning','EEbwE','285633VeSxIh','ctx','Playwright','exports','after','thTestRunUuid','codeceptjs/lib/helper/WebDriver.js','syYev','976530JNNCws','toISOString','308190oJTmTW','comment','captureError','ENV_VAR','saveScreenshot','codeceptjs/lib/utils.js','TEST_RUN_STARTED','213741PeHfLI','../../helpers/helper','Suite','_before','../../helpers/testhub/constants.js','2753382gnAhay','warn','getSyncScript','../../bin/playwright/sessionDetails','all','initSaveScreenshot','base64','33344GBJVZR','name','slice','HOOK_RUN_FINISHED','accessibilityPlatform','getAccessibilityResultsSummary','executeScript','startMonitoring','jtUkr','130tmQYAJ','../../helpers/logger','shouldWrapCommand','hook','call','mydzL','screenshotOutputFolder','browserStackExecuteDriver','HOOK_RUN_STARTED','bs:addLog:','bddStepFinish','CtYTI','Performing\x20scan\x20for\x20','find','37iDLFyQ','prototype','util','stop','VKPnN','patch','jXqWu','MdpJr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setSessionStatus','TEST_RUN_SKIPPED','browserContext','1055019BleeoD','WTpue','../../helpers/request-spy','WqiSE','EjbhZ','mgXKa','enabled','then','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.'];a1_0x3bc4=function(){return _0x5322d6;};return a1_0x3bc4();}
1
+ 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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0x2614(){const _0x1c01c2=['split','createGroupsOfSuites','952268PCaThn','result','codeceptjs','../utils/constants','mdEGu','1823124tQFGEX','skipSessionStatus','useW3C','cwd','firefox','skipSessionName','189576QBeJIe','event','cbcYI','run','../../helpers/logger','ZPiWR','validPlatformsPresent','dirname','length','MUbav','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','indKV','accessibilityOptions','require','addConfig','launchBuild','Workers','--config','rXBjZ','GHdtw','ASyJz','TFXsm','debug','config','1638150MRfGsi','VZgCF','browserStackCwd','uhFqy','before','util','join','getUserWorkerCount','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CZepk','chromium','getPlatformName','CODECEPT','bootstrapAll','all','path','printResults','Started\x20:\x20','stack','playwright-chromium','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KaYSR','mHOnJ','initialize','root','log','now','map','info','isTestObservabilitySession','yjMvk','Failed\x20:\x20','playwright-firefox','KFCJr','existsSync','97256avmQVA','addTests','exports','isTrue','BROWSERSTACK_RERUN_TESTS','err','desiredCapabilities','10iKsrBP','mALDG','../../helpers/BrowserStackSetup','frameworkName','push','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bIDrs','BrowserStackPlugin.js','webkit','RSrYn','BROWSERSTACK_RERUN','platforms','293251QlqiAc','mBcRm','null','isUndefined','RvwJV','Playwright','trim','WlYvc','prepareCapabilities','helpers','../../helpers/testhub/testhubHandler','accessibility','Passed\x20:\x20','env','vZpFB','browser','JbiQJ','../../helpers/test-observability/utils','Rdsnp','344fSjVUe','parallelsPerPlatform','profile','printBuildLink','BROWSERSTACK_TEST_OBSERVABILITY_YML','Gjdcx','passed','getPlaywrightUrl','mergeDeep','title','testContextOptions','BrowserStackPlugin','errorMessage','format','test','toLowerCase','16tOrXHe','stop','plugins','../../helpers/utilities','1968942SJiYjZ','testObservability','JuEgq','zcowR','enabled','WebDriver','../../helpers/accessibility-automation/helper','finalExecution','findIndex','browserWSEndpoint','-cucumber','playwright-webkit','browserName','gherkin','stringify','ZSwCO','winstonLogger','chrome','przcK','dhDXr','failed','YSzOb','../../helpers/helper'];a2_0x2614=function(){return _0x1c01c2;};return a2_0x2614();}const a2_0x57a7f6=a2_0x2a34;function a2_0x2a34(_0x3d48cb,_0x5632c7){const _0x2614ce=a2_0x2614();return a2_0x2a34=function(_0x2a3498,_0x4fb97f){_0x2a3498=_0x2a3498-0x1de;let _0x84813a=_0x2614ce[_0x2a3498];return _0x84813a;},a2_0x2a34(_0x3d48cb,_0x5632c7);}(function(_0x4fc32c,_0x248bd7){const _0x4051f6=a2_0x2a34,_0x70b91a=_0x4fc32c();while(!![]){try{const _0x2e2fbc=-parseInt(_0x4051f6(0x218))/0x1*(parseInt(_0x4051f6(0x1e2))/0x2)+parseInt(_0x4051f6(0x23a))/0x3+parseInt(_0x4051f6(0x235))/0x4*(parseInt(_0x4051f6(0x1e9))/0x5)+-parseInt(_0x4051f6(0x21c))/0x6+parseInt(_0x4051f6(0x1f5))/0x7+-parseInt(_0x4051f6(0x208))/0x8*(-parseInt(_0x4051f6(0x240))/0x9)+-parseInt(_0x4051f6(0x258))/0xa;if(_0x2e2fbc===_0x248bd7)break;else _0x70b91a['push'](_0x70b91a['shift']());}catch(_0x5e2057){_0x70b91a['push'](_0x70b91a['shift']());}}}(a2_0x2614,0xb9e7b));const fs=require('fs'),path=require(a2_0x57a7f6(0x267)),util=require(a2_0x57a7f6(0x25d)),process=require('process'),logger=require(a2_0x57a7f6(0x244))[a2_0x57a7f6(0x22c)],{default:BrowserStackSetup}=require(a2_0x57a7f6(0x1eb)),helper=require(a2_0x57a7f6(0x232)),utilities=require(a2_0x57a7f6(0x21b)),{checkAccessibilityPlatformConfig}=require(a2_0x57a7f6(0x222)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x57a7f6(0x206)),TestHubHandler=require(a2_0x57a7f6(0x1ff)),constants=require(a2_0x57a7f6(0x238)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x39ef4e,_0x4058fd)=>{const _0xac8f52=a2_0x57a7f6,_0x16a749={};_0x16a749[_0xac8f52(0x254)]=function(_0x63902f,_0x22eed8){return _0x63902f===_0x22eed8;},_0x16a749['JbiQJ']='codecept.conf.js',_0x16a749[_0xac8f52(0x1ef)]='codecept.json';const _0x2f883e=_0x16a749;let _0x46ca0a=null;const _0x56801a={};let _0x3b69c4=_0x4058fd[_0xac8f52(0x224)](_0x3b3447=>_0x3b3447===_0xac8f52(0x251));_0x2f883e[_0xac8f52(0x254)](_0x3b69c4,-0x1)&&(_0x3b69c4=_0x4058fd[_0xac8f52(0x224)](_0x440367=>_0x440367==='-c'));if(!helper[_0xac8f52(0x1f8)](_0x39ef4e[_0xac8f52(0x257)])&&fs['existsSync'](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e[_0xac8f52(0x257)])))_0x46ca0a=path[_0xac8f52(0x25e)](process['cwd'](),_0x39ef4e[_0xac8f52(0x257)]),_0x4058fd['slice'](_0x3b69c4,0x2);else{if(!helper[_0xac8f52(0x1f8)](_0x39ef4e['c'])&&fs[_0xac8f52(0x1e1)](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e['c'])))_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e['c']),_0x4058fd['slice'](_0x3b69c4,0x2);else{if(fs[_0xac8f52(0x1e1)](path[_0xac8f52(0x25e)](process['cwd'](),_0x2f883e[_0xac8f52(0x205)])))_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e[_0xac8f52(0x205)]);else fs['existsSync'](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e['bIDrs']))&&(_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e[_0xac8f52(0x1ef)]));}}return _0x46ca0a;},getO11yRerunPattern=()=>{const _0x5705d4=a2_0x57a7f6,_0x45a424={};_0x45a424['TFXsm']=function(_0x38a25e,_0x296d3c){return _0x38a25e!==_0x296d3c;},_0x45a424[_0x5705d4(0x239)]=_0x5705d4(0x1f7);const _0x1c05d7=_0x45a424,_0x59860f=helper[_0x5705d4(0x1e5)](process['env'][_0x5705d4(0x1f3)]);if(_0x59860f){const _0x425b33=process[_0x5705d4(0x202)][_0x5705d4(0x1e6)],_0x403b1e=[];if(_0x1c05d7[_0x5705d4(0x255)](_0x425b33,_0x1c05d7[_0x5705d4(0x239)])&&!helper[_0x5705d4(0x1f8)](_0x425b33)){_0x425b33[_0x5705d4(0x233)](',')[_0x5705d4(0x273)](_0x185c46=>{const _0x345b1b=_0x5705d4;_0x403b1e[_0x345b1b(0x1ed)]('('+_0x185c46[_0x345b1b(0x1fb)]()+')');});const _0x319eae='^'+_0x403b1e['join']('|')+'$';return _0x319eae;}}return null;},a2_0x33a6da={};a2_0x33a6da[a2_0x57a7f6(0x22d)]=a2_0x57a7f6(0x262),a2_0x33a6da[a2_0x57a7f6(0x26b)]=a2_0x57a7f6(0x262),a2_0x33a6da[a2_0x57a7f6(0x1df)]=a2_0x57a7f6(0x23e),a2_0x33a6da[a2_0x57a7f6(0x227)]=a2_0x57a7f6(0x1f1);const pwToCodeceptBrowser=a2_0x33a6da;async function run(_0x4af880,_0x39ce53){const _0x39c71d=a2_0x57a7f6,_0x36cccc={'WlYvc':function(_0x214302,_0x58fae1){return _0x214302+_0x58fae1;},'ZPiWR':function(_0x15c437,_0x18aac9){return _0x15c437(_0x18aac9);},'ZSwCO':function(_0x37df01,_0xe92bea,_0x20851a){return _0x37df01(_0xe92bea,_0x20851a);},'Rdsnp':'config','KaYSR':_0x39c71d(0x1fe),'YSzOb':function(_0x32b8c2){return _0x32b8c2();},'yjMvk':function(_0x11d3b1){return _0x11d3b1();},'GHdtw':_0x39c71d(0x1de),'Gjdcx':_0x39c71d(0x201),'cbcYI':_0x39c71d(0x269),'MUbav':'4|0|3|1|2','CZepk':_0x39c71d(0x237),'uhFqy':_0x39c71d(0x26c),'zcowR':function(_0x2db820,_0x3b26cb,_0x50fb10){return _0x2db820(_0x3b26cb,_0x50fb10);},'przcK':_0x39c71d(0x1fa),'mBcRm':_0x39c71d(0x221),'mALDG':function(_0x2949c0,_0xedfb63){return _0x2949c0!=_0xedfb63;},'LcmTU':'false','RvwJV':function(_0x3b4ab2,_0x48c40e){return _0x3b4ab2+_0x48c40e;},'wOrDR':_0x39c71d(0x229),'vZpFB':_0x39c71d(0x226),'RSrYn':function(_0x2808f7,_0x17aaaa){return _0x2808f7*_0x17aaaa;},'indKV':function(_0x323916,_0x72c4d2,_0x208ebc){return _0x323916(_0x72c4d2,_0x208ebc);},'mHOnJ':_0x39c71d(0x204),'dhDXr':'desiredCapabilities','KFCJr':function(_0x334007,_0x1ea824,_0x3a6d64){return _0x334007(_0x1ea824,_0x3a6d64);},'VZgCF':_0x39c71d(0x270),'MtNzf':_0x39c71d(0x1f0),'rXBjZ':_0x39c71d(0x25a),'JuEgq':function(_0x581b49){return _0x581b49();}},_0x9dbaa3=new BrowserStackSetup(_0x4af880,_0x36cccc[_0x39c71d(0x261)]);await _0x9dbaa3[_0x39c71d(0x26f)](),await helper['handleApp'](_0x9dbaa3[_0x39c71d(0x257)]);if(!_0x9dbaa3['config'])return;process[_0x39c71d(0x20a)]=_0x4af880['profile'];_0x4af880[_0x39c71d(0x20a)]&&(process[_0x39c71d(0x202)]['profile']=_0x4af880['profile']);const _0x370bef=_0x36cccc[_0x39c71d(0x22b)](getUserCodeceptJSConfigs,_0x4af880,_0x39ce53);let _0x1af668={};_0x370bef?(logger['info'](_0x39c71d(0x260)+_0x370bef),_0x1af668=_0x36cccc['ZPiWR'](require,_0x370bef)):logger[_0x39c71d(0x274)](_0x36cccc[_0x39c71d(0x25b)]);let _0x180949=![];_0x36cccc[_0x39c71d(0x21f)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc['KaYSR'],_0x36cccc[_0x39c71d(0x22e)]])&&(_0x180949=!![]);const _0x56ca31=_0x180949?_0x36cccc[_0x39c71d(0x22e)]:_0x36cccc[_0x39c71d(0x1f6)];let _0x180221=!_0x180949?helper[_0x39c71d(0x23c)](_0x9dbaa3[_0x39c71d(0x257)]):![];!helper['isUndefined'](_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x24c)])&&(process['env'][_0x39c71d(0x1ee)]=JSON[_0x39c71d(0x22a)](_0x9dbaa3['config']['accessibilityOptions']));let _0x50ca78=_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x200)];_0x50ca78=_0x50ca78||_0x36cccc[_0x39c71d(0x245)](checkAccessibilityPlatformConfig,_0x9dbaa3['config']),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x50ca78;_0x50ca78&&(_0x180221=!_0x50ca78);_0x36cccc[_0x39c71d(0x1ea)](_0x9dbaa3[_0x39c71d(0x257)]['testObservability'],null)?process[_0x39c71d(0x202)][_0x39c71d(0x20c)]=_0x9dbaa3['config'][_0x39c71d(0x21d)]:process[_0x39c71d(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x36cccc['LcmTU'];const _0x359318=_0x36cccc[_0x39c71d(0x1f9)](_0x36cccc[_0x39c71d(0x261)],_0x36cccc[_0x39c71d(0x22b)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x39c71d(0x207)],_0x36cccc['wOrDR']])?_0x36cccc[_0x39c71d(0x203)]:''),_0x399dc4=await TestHubHandler[_0x39c71d(0x24f)](_0x359318,_0x9dbaa3);_0x50ca78&&_0x36cccc[_0x39c71d(0x245)](setAccessibilityCapabilities,_0x9dbaa3[_0x39c71d(0x257)]);const _0x5138a2={},_0x1044d1=[],_0x34355a=_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x209)]||helper[_0x39c71d(0x25f)](_0x4af880,_0x39ce53,_0x9dbaa3[_0x39c71d(0x257)],constants['FRAMEWORKS'][_0x39c71d(0x264)])||0x1;let _0x5be7f6=0x1;if(_0x36cccc[_0x39c71d(0x231)](isBrowserstackInfra)){const _0x520403=helper[_0x39c71d(0x1fd)](_0x9dbaa3[_0x39c71d(0x257)],_0x180221,constants['FRAMEWORKS'][_0x39c71d(0x264)]);helper[_0x39c71d(0x246)](_0x9dbaa3[_0x39c71d(0x257)])?_0x5be7f6=_0x36cccc[_0x39c71d(0x1f2)](_0x34355a,_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x1f4)][_0x39c71d(0x248)]):_0x5be7f6=_0x34355a,_0x520403['forEach'](_0x5e7e0a=>{const _0x4bd248=_0x39c71d,_0x57f4ef={'WFLgc':function(_0x2d3161,_0x3f2f33){const _0xcf51cf=a2_0x2a34;return _0x36cccc[_0xcf51cf(0x1fc)](_0x2d3161,_0x3f2f33);},'OGBlr':function(_0x1c8d38,_0x245a3c){const _0x3ea956=a2_0x2a34;return _0x36cccc[_0x3ea956(0x245)](_0x1c8d38,_0x245a3c);}},_0x38c5ab=_0x36cccc[_0x4bd248(0x1fc)](helper[_0x4bd248(0x263)](_0x5e7e0a,'_'),'_'+Date[_0x4bd248(0x272)]()),_0xf4821f=((()=>{const _0x4b4aa3=_0x4bd248;if(_0x180949){const _0x130a4c=pwToCodeceptBrowser[_0x5e7e0a[_0x4b4aa3(0x228)]]||_0x5e7e0a[_0x4b4aa3(0x228)];return{'browser':_0x130a4c,[_0x130a4c]:{'browserWSEndpoint':_0x57f4ef['WFLgc'](helper[_0x4b4aa3(0x20f)](_0x9dbaa3[_0x4b4aa3(0x257)]),_0x57f4ef['OGBlr'](encodeURIComponent,JSON[_0x4b4aa3(0x22a)](_0x5e7e0a)))}};}const _0x564a07={};return _0x564a07[_0x4b4aa3(0x1e8)]=_0x5e7e0a,_0x564a07;})()),_0x357e23=_0x36cccc[_0x4bd248(0x22b)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x4bd248(0x207)],_0x36cccc[_0x4bd248(0x26d)],_0x56ca31]);_0x5138a2[_0x38c5ab]=_0x357e23?helper['mergeDeep'](_0xf4821f,_0x357e23):_0xf4821f,!_0x180949&&(_0x5138a2[_0x38c5ab][_0x4bd248(0x204)]=_0x5e7e0a['browserName']||_0xf4821f[_0x4bd248(0x204)]),_0x1044d1[_0x4bd248(0x1ed)](_0x38c5ab);});}else{_0x5be7f6=0x1;if(_0x180949){const _0x45f86a=_0x36cccc[_0x39c71d(0x24b)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc[_0x39c71d(0x26d)],_0x56ca31,_0x36cccc[_0x39c71d(0x26e)]]),_0x4b36cb=_0x36cccc[_0x39c71d(0x21f)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc[_0x39c71d(0x26d)],_0x56ca31,_0x45f86a]);_0x4b36cb&&_0x4b36cb[_0x39c71d(0x225)]&&(_0x4b36cb[_0x39c71d(0x225)]=helper['prepareCapabilities'](null,null,_0x359318['toLowerCase'](),null,null,_0x4b36cb[_0x39c71d(0x225)]));}else _0x1af668['config'][_0x36cccc[_0x39c71d(0x26d)]][_0x56ca31][_0x36cccc['dhDXr']]=helper['prepareCapabilities'](null,null,_0x359318[_0x39c71d(0x217)](),_0x36cccc[_0x39c71d(0x1e0)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x39c71d(0x207)],_0x36cccc['KaYSR'],_0x56ca31,_0x36cccc[_0x39c71d(0x22f)]]),null,null);_0x5138a2[_0x36cccc[_0x39c71d(0x259)]]=_0x1af668[_0x39c71d(0x257)],_0x1044d1[_0x39c71d(0x1ed)](_0x36cccc['VZgCF']);}const _0x346243={};_0x346243['testConfig']=_0x370bef;const _0x517afd=_0x346243,_0x185656=path['join'](__dirname,_0x36cccc['MtNzf']),_0x1d0c9d=process[_0x39c71d(0x23d)]();process[_0x39c71d(0x202)][_0x36cccc[_0x39c71d(0x252)]]=_0x1d0c9d,process['chdir'](path[_0x39c71d(0x247)](_0x370bef));const _0x4ca2f3=new CodeceptJS[(_0x39c71d(0x250))](null,_0x517afd),_0x5ab995=_0x4ca2f3[_0x39c71d(0x234)](_0x5be7f6),_0x3ba027=testOpsHelper[_0x39c71d(0x275)](),_0x350924=_0x1044d1['map'](_0xd64b0a=>{const _0x17500b=_0x39c71d,_0x56a55a={};_0x56a55a['Playwright']=_0x5138a2[_0xd64b0a];const _0x13f6da={};_0x13f6da[_0x17500b(0x221)]=_0x5138a2[_0xd64b0a];const _0x22c9f4=_0x180949?_0x56a55a:_0x13f6da,_0x4d9a6a=_0x36cccc[_0x17500b(0x231)](getO11yRerunPattern),_0x4171be={};_0x4171be[_0x17500b(0x1fe)]=_0x22c9f4;const _0x35842d={};_0x35842d[_0x17500b(0x24d)]=_0x185656,_0x35842d[_0x17500b(0x220)]=!![],_0x35842d[_0x17500b(0x23f)]=_0x9dbaa3[_0x17500b(0x257)][_0x17500b(0x212)][_0x17500b(0x23f)],_0x35842d[_0x17500b(0x23b)]=_0x9dbaa3[_0x17500b(0x257)][_0x17500b(0x212)]['skipSessionStatus'],_0x35842d[_0x17500b(0x21d)]=_0x3ba027,_0x35842d[_0x17500b(0x1ec)]=_0x359318;const _0x1f60cb={};_0x1f60cb[_0x17500b(0x213)]=_0x35842d;const _0x581f8d={};return _0x581f8d[_0x17500b(0x21a)]=_0x1f60cb,helper[_0x17500b(0x210)]({},_0x1af668[_0x17500b(0x257)],_0x36cccc[_0x17500b(0x276)](isBrowserstackInfra)?_0x4171be:{},_0x4d9a6a?{'grep':_0x4d9a6a}:{},_0x581f8d);});for(const _0x423e40 of _0x350924){for(const _0xd6b1f4 of _0x5ab995){const _0x57b8a8=_0x4ca2f3['spawn']();_0x57b8a8[_0x39c71d(0x1e3)](_0xd6b1f4),_0x57b8a8[_0x39c71d(0x24e)](_0x423e40);}}_0x4ca2f3['on'](CodeceptJS[_0x39c71d(0x241)][_0x39c71d(0x216)][_0x39c71d(0x230)],(_0x42971a,_0x3a4bdf)=>{const _0x459614=_0x39c71d;console[_0x459614(0x271)](_0x36cccc[_0x459614(0x253)],_0x42971a[_0x459614(0x211)]);const _0x399a2a={[_0x42971a[_0x459614(0x211)]]:_0x42971a[_0x459614(0x1e7)][_0x459614(0x26a)]};_testErrorData['push'](_0x399a2a);}),_0x4ca2f3['on'](CodeceptJS[_0x39c71d(0x241)]['test'][_0x39c71d(0x20e)],async _0x592673=>{const _0x223b11=_0x39c71d;console[_0x223b11(0x271)](_0x36cccc[_0x223b11(0x20d)],_0x592673['title']);}),_0x4ca2f3['on'](CodeceptJS['event']['test'][_0x39c71d(0x25c)],async _0x4551bf=>{const _0x54a36d=_0x39c71d;console[_0x54a36d(0x271)](_0x36cccc[_0x54a36d(0x242)],_0x4551bf[_0x54a36d(0x211)]);}),_0x4ca2f3['on'](CodeceptJS['event'][_0x39c71d(0x266)][_0x39c71d(0x236)],async()=>{const _0x565972=_0x39c71d,_0x270a35=_0x36cccc[_0x565972(0x249)][_0x565972(0x233)]('|');let _0x4f832f=0x0;while(!![]){switch(_0x270a35[_0x4f832f++]){case'0':testOpsHelper[_0x565972(0x20b)]();continue;case'1':try{await TestHubHandler[_0x565972(0x219)]();}catch(_0x49cde3){logger[_0x565972(0x256)](_0x565972(0x24a)+util[_0x565972(0x215)](_0x49cde3));}continue;case'2':_0x4ca2f3[_0x565972(0x268)]();continue;case'3':utilities[_0x565972(0x223)](_0x9dbaa3);continue;case'4':_0x9dbaa3[_0x565972(0x214)]=_testErrorData;continue;}break;}});async function _0x9bc44a(){const _0x5db69e=_0x39c71d;try{await _0x4ca2f3[_0x5db69e(0x265)](),await _0x4ca2f3[_0x5db69e(0x243)]();}finally{process['chdir'](_0x1d0c9d),await _0x4ca2f3['teardownAll']();}}_0x36cccc[_0x39c71d(0x21e)](_0x9bc44a);}module[a2_0x57a7f6(0x1e4)]=run;
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;
@@ -1 +1 @@
1
- const a3_0x48076b=a3_0x354a;function a3_0x18a5(){const _0x46add9=['12NPtgAY','parse','5503448UIRSDU','WbwCV','latest','../../helpers/accessibility-automation/helper','winstonLogger','oMknP','caps','yHgkT','getDetails','FYGRn','FuCpK','browser_version','../../helpers/logger','HETPq','osVersion','get','accessibilityPlatform','11625veHmWD','pJPOc','browserName','zJHCh','tPyUE','deviceName','browser','30FweeSo','hXqlF','AKunO','browserWSEndpoint','zzNky','capabilities','unknown_grid','warn','browserVersion','bsSessionId','searchParams','9ZiaETO','browserstack_executor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','VyfIK','749095TFaaWL','__cloud_provider___','../../helpers/helper','../../helpers/test-observability/utils','XhElb','gUHom','643556jDRlxi','31723120wQDPHS','PmfWK','Mgizo','LmXtX','playwright-chromium','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fetchPlatformDetails','qIZOu','shouldPatchExecuteScript','JNrGU','7aQJZkM','AUwnm','zdwrc','3965630ESfCFn','name','Playwright','Bcjlk','desiredCapabilities','config','2271576KrPBee','includes','os_version','EpcHP','browserstack_accessibility_automation_script','dffEp','chrome','SMFYu','eosZj','hHsOb','processWebDriverConfig'];a3_0x18a5=function(){return _0x46add9;};return a3_0x18a5();}function a3_0x354a(_0x3f35d6,_0x9e2913){const _0x18a5c7=a3_0x18a5();return a3_0x354a=function(_0x354ae6,_0x437255){_0x354ae6=_0x354ae6-0x83;let _0x540401=_0x18a5c7[_0x354ae6];return _0x540401;},a3_0x354a(_0x3f35d6,_0x9e2913);}(function(_0x45a78b,_0x257a3a){const _0xef202=a3_0x354a,_0xebe78e=_0x45a78b();while(!![]){try{const _0xf0b0dc=parseInt(_0xef202(0xa3))/0x1+-parseInt(_0xef202(0xb8))/0x2+parseInt(_0xef202(0x87))/0x3*(parseInt(_0xef202(0xc3))/0x4)+parseInt(_0xef202(0x9d))/0x5*(-parseInt(_0xef202(0x8e))/0x6)+parseInt(_0xef202(0xaf))/0x7*(-parseInt(_0xef202(0xc5))/0x8)+-parseInt(_0xef202(0x99))/0x9*(parseInt(_0xef202(0xb2))/0xa)+parseInt(_0xef202(0xa4))/0xb;if(_0xf0b0dc===_0x257a3a)break;else _0xebe78e['push'](_0xebe78e['shift']());}catch(_0xa447bd){_0xebe78e['push'](_0xebe78e['shift']());}}}(a3_0x18a5,0x8b17c));const {isUndefined,nestedKeyValue}=require(a3_0x48076b(0x9f)),logger=require(a3_0x48076b(0xd1))[a3_0x48076b(0xc9)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x48076b(0xc8)),{getObservabilityLinkedProductName}=require(a3_0x48076b(0xa0)),getOSVersionFromCaps=_0x33814b=>{const _0x43152e=a3_0x48076b,_0x564aff={};_0x564aff[_0x43152e(0xbb)]='bstack:options',_0x564aff['zJHCh']='platformVersion',_0x564aff[_0x43152e(0xac)]=_0x43152e(0xa9),_0x564aff[_0x43152e(0xbf)]=_0x43152e(0x84),_0x564aff[_0x43152e(0x92)]=_0x43152e(0xba);const _0xbe29b5=_0x564aff;if(!_0x33814b)return null;const _0x20a141=_0x33814b[_0xbe29b5[_0x43152e(0xbb)]],_0x35ca07=[_0xbe29b5[_0x43152e(0x8a)],_0xbe29b5['qIZOu'],_0xbe29b5[_0x43152e(0xbf)],_0xbe29b5[_0x43152e(0x92)]];for(const _0x39844c of _0x35ca07){if(_0x20a141&&_0x20a141[_0x39844c])return _0x20a141[_0x39844c];else{if(_0x33814b[_0x39844c])return _0x33814b[_0x39844c];}}return null;};exports[a3_0x48076b(0xab)]=_0xc95264=>{const _0x4d585b=a3_0x48076b,_0x3416bf={'hXqlF':_0x4d585b(0x94),'gUHom':function(_0x1d6bc3,_0x4217d8){return _0x1d6bc3===_0x4217d8;},'zdwrc':'WebDriver','oMknP':function(_0x9e0444,_0x297ebb){return _0x9e0444(_0x297ebb);},'adHlf':function(_0x4e1a68,_0x4cd261,_0x240f29){return _0x4e1a68(_0x4cd261,_0x240f29);},'LmXtX':_0x4d585b(0xb7),'eosZj':_0x4d585b(0xb6),'JNrGU':_0x4d585b(0xb4),'AUwnm':function(_0x3f0fe4,_0x4237c2,_0x25d300){return _0x3f0fe4(_0x4237c2,_0x25d300);},'nSEZu':_0x4d585b(0x8d),'Mgizo':_0x4d585b(0x91),'PmfWK':_0x4d585b(0xcb),'HOXzn':function(_0x1c941d,_0x2da19a){return _0x1c941d(_0x2da19a);}};if(!_0xc95264)return null;let _0x100873=global[_0x4d585b(0x9e)]||_0x3416bf[_0x4d585b(0x8f)];if(_0x3416bf[_0x4d585b(0xa2)](_0xc95264['constructor'][_0x4d585b(0xb3)],_0x3416bf[_0x4d585b(0xb1)])){const _0x458c09=_0xc95264['browser'];if(!_0x458c09)return null;const _0x26d9f8=_0x458c09['capabilities'],_0xa8ef9a=_0x3416bf['oMknP'](getOSVersionFromCaps,_0x3416bf['adHlf'](nestedKeyValue,_0xc95264,[_0x3416bf[_0x4d585b(0xa7)],_0x3416bf[_0x4d585b(0xc0)]]));return{[_0x100873]:{'browser':_0x26d9f8[_0x4d585b(0x89)],'browser_version':_0x26d9f8[_0x4d585b(0x96)],'capabilities':_0x26d9f8,'platform':_0x26d9f8['platformName'],'platform_version':_0x26d9f8['platformVersion']||_0xa8ef9a,'product':_0x3416bf[_0x4d585b(0xca)](getObservabilityLinkedProductName,_0x26d9f8),'session_id':_0x458c09['sessionId']}};}else{if(_0x3416bf[_0x4d585b(0xa2)](_0xc95264['constructor'][_0x4d585b(0xb3)],_0x3416bf[_0x4d585b(0xae)])){const _0x16fd6d=PlaywrightSessionDetails[_0x4d585b(0xcd)]();_0x100873=_0x16fd6d['cloudProvider']||_0x100873;const _0x323d51=_0x3416bf[_0x4d585b(0xb0)](nestedKeyValue,_0xc95264,[_0x3416bf['LmXtX'],_0x3416bf['nSEZu'],_0x3416bf[_0x4d585b(0xa6)]]),_0xca7ad4=_0x323d51?JSON[_0x4d585b(0xc4)](new URL(_0x323d51)[_0x4d585b(0x98)][_0x4d585b(0x85)](_0x3416bf[_0x4d585b(0xa5)])):{};return{[_0x100873]:{'browser':_0x16fd6d[_0x4d585b(0x8d)]||_0xca7ad4[_0x4d585b(0x89)],'browser_version':_0x16fd6d['browser_version']||_0xca7ad4[_0x4d585b(0xd0)],'capabilities':_0xca7ad4,'platform':_0x16fd6d['platform'],'platform_version':_0x16fd6d[_0x4d585b(0xa9)],'product':_0x3416bf['HOXzn'](getObservabilityLinkedProductName,_0xca7ad4),'session_id':_0x16fd6d[_0x4d585b(0x97)]}};}}},exports[a3_0x48076b(0xc2)]=_0x5ebf00=>{const _0x4f1d98=a3_0x48076b,_0x54f5a5={'hHsOb':function(_0x1a07b5){return _0x1a07b5();},'swITf':function(_0x22179d,_0x3fcf10){return _0x22179d===_0x3fcf10;},'XhElb':_0x4f1d98(0xc7),'AKunO':function(_0x486319,_0x2c4155){return _0x486319>_0x2c4155;},'VyfIK':function(_0x457648,_0x5d1936){return _0x457648(_0x5d1936);},'pJPOc':_0x4f1d98(0x9b),'yHgkT':function(_0x67d633,_0x55c55d){return _0x67d633===_0x55c55d;},'FuCpK':_0x4f1d98(0xbe),'HETPq':function(_0x21fe42,_0x1ccb89){return _0x21fe42===_0x1ccb89;},'dffEp':_0x4f1d98(0xa8),'WbwCV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Bcjlk':_0x4f1d98(0xaa)};if(_0x54f5a5[_0x4f1d98(0xc1)](isAccessibilityAutomationSession)){const _0x1558c5=_0x5ebf00['browser'],_0x51294e=_0x1558c5[_0x4f1d98(0x93)];global[_0x4f1d98(0x86)]=!![],!(_0x54f5a5['swITf'](_0x51294e[_0x4f1d98(0x96)],_0x54f5a5[_0x4f1d98(0xa1)])||_0x54f5a5[_0x4f1d98(0x90)](_0x54f5a5[_0x4f1d98(0x9c)](parseInt,_0x51294e[_0x4f1d98(0x96)]),0x5e))&&(logger['warn'](_0x54f5a5[_0x4f1d98(0x88)]),global[_0x4f1d98(0x86)]=![]),!(_0x54f5a5[_0x4f1d98(0xcc)](_0x51294e[_0x4f1d98(0x89)],_0x54f5a5[_0x4f1d98(0xcf)])||_0x54f5a5[_0x4f1d98(0x83)](_0x51294e[_0x4f1d98(0x89)],_0x54f5a5[_0x4f1d98(0xbd)]))&&(logger[_0x4f1d98(0x95)](_0x54f5a5[_0x4f1d98(0xc6)]),global[_0x4f1d98(0x86)]=![]),!_0x54f5a5[_0x4f1d98(0x9c)](isUndefined,_0x51294e[_0x4f1d98(0x8c)])&&(logger[_0x4f1d98(0x95)](_0x54f5a5[_0x4f1d98(0xb5)]),global['accessibilityPlatform']=![]);}},exports[a3_0x48076b(0xad)]=_0x1e50af=>{const _0x4743d8=a3_0x48076b,_0x3154bb={};_0x3154bb[_0x4743d8(0xce)]=_0x4743d8(0x9a),_0x3154bb[_0x4743d8(0x8b)]=_0x4743d8(0xbc);const _0x5791b7=_0x3154bb;if(!_0x1e50af)return![];return!_0x1e50af['includes'](_0x5791b7[_0x4743d8(0xce)])&&!_0x1e50af[_0x4743d8(0xb9)](_0x5791b7[_0x4743d8(0x8b)]);};
1
+ 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 +1 @@
1
- const a4_0x1a3b76=a4_0x204b;(function(_0x24cdda,_0x480216){const _0x3bd006=a4_0x204b,_0x2b8b45=_0x24cdda();while(!![]){try{const _0x4cb28b=-parseInt(_0x3bd006(0x13e))/0x1+-parseInt(_0x3bd006(0xd7))/0x2*(-parseInt(_0x3bd006(0x1b3))/0x3)+parseInt(_0x3bd006(0x119))/0x4+parseInt(_0x3bd006(0x155))/0x5+parseInt(_0x3bd006(0xf2))/0x6+parseInt(_0x3bd006(0x117))/0x7+-parseInt(_0x3bd006(0xe8))/0x8*(parseInt(_0x3bd006(0x169))/0x9);if(_0x4cb28b===_0x480216)break;else _0x2b8b45['push'](_0x2b8b45['shift']());}catch(_0x367aed){_0x2b8b45['push'](_0x2b8b45['shift']());}}}(a4_0xd6bb,0xed8a8));const path=require(a4_0x1a3b76(0x181)),fs=require('fs'),{v4:uuidv4}=require(a4_0x1a3b76(0x16c)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1a3b76(0x170)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x1a3b76(0x147)],SessionHandler=require(a4_0x1a3b76(0x1bf)),RequestQueueHandler=require(a4_0x1a3b76(0x1a7)),PlaywrightSessionDetails=require(a4_0x1a3b76(0x1ac)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x1a3b76(0x198)),Constants=require(a4_0x1a3b76(0x15a)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x1a3b76(0x183)),STATE_PASSED=a4_0x1a3b76(0x14c),STATE_FAILED=a4_0x1a3b76(0x13f),a4_0x507802={};function a4_0x204b(_0x320f65,_0x4b452e){const _0xd6bb92=a4_0xd6bb();return a4_0x204b=function(_0x204b7c,_0x390c36){_0x204b7c=_0x204b7c-0xd5;let _0x2bca5b=_0xd6bb92[_0x204b7c];return _0x2bca5b;},a4_0x204b(_0x320f65,_0x4b452e);}a4_0x507802[a4_0x1a3b76(0xeb)]=a4_0x1a3b76(0x1a5),a4_0x507802['TEST_RUN_FINISHED']='TestRunFinished',a4_0x507802['TEST_RUN_SKIPPED']=a4_0x1a3b76(0x17e),a4_0x507802[a4_0x1a3b76(0x1b6)]=a4_0x1a3b76(0x101),a4_0x507802[a4_0x1a3b76(0x1ae)]=a4_0x1a3b76(0x11e);function a4_0xd6bb(){const _0x53b934=['parent','rmzsK','skipped','body','_testEnv','errorsDetailed','currentTest','nFlAo','BrowserType','title','9kocyYR','XHUaT','patchConsoleLogger','uuid','sep','prototype','ZqmhK','../../helpers/helper','resetSkipTestHooks','pid','hook','PathHelper','result','groups','finished_at','dYbEb','stringify','BnsoV','RRbHC','initializeBddStep','cwd','TestRunSkipped','find','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','path','mvZiC','../../helpers/testhub/utils.js','MPWTM','IQvOz','currentHook','cZJUW','message','fOOhH','_beforeEach','mYNFI','replace','cNdQl','UMpts','file_name','uploadEventData','mvBYT','uklvI','config','file','text','fGVoq','failureData','../playwright/accessibility-helper','apply','CSDGX','duration','wXjuU','_afterEach','start','accessibilityPlatform','feature','STATE_FAILED','HIgLi','name','_afterAll','TestRunStarted','connectOverCDP','../../helpers/test-observability/requestQueueHandler','WDgen','event_type','FVlBd','test','../playwright/sessionDetails','join','HOOK_RUN_FINISHED','UlWwM','keyword','getCBTInfo','failure_reason_expanded','12qZQUzd','getHookType','JIxhj','HOOK_RUN_STARTED','comment','frameworkName','forEach','yTqMj','hook_type','File\x20path\x20could\x20not\x20be\x20found','bind','TPDln','../../helpers/test-observability/sessionHandler','VcxWg','length','_beforeAll','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_FINISHED','752306iqYEmo','PLAYWRIGHT_HUB_URL','launch','location_prefix','captureEvent','QILhk','startedAt','lDahD','uIBFV','findGitConfig','enabled','toLowerCase','mapTestHooks','RJvjr','.git','retryOf','hookAnalyticsId','31833688guWcGC','constructor','push','TEST_RUN_STARTED','DAoIz','fullTitle','ganSa','_paths','kfaIR','CODECEPT','9383574tEfZSS','setupBrowserDetails','EIyeO','NiBYK','O11yHelper','suites','statSync','toISOString','CBTSessionCreated','fCnzs','lBFpE','test_run','hooks','hook_run','finished','HookRunStarted','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','aOsQh','relative','concat','WVZtf','ZOFyH','__platformCaps','split','toString','uRhLe','debug','sendCBTInfo','expanded','lib','pending','nKYag','match','\x20with\x20error\x20:\x20','pTYMs','tjHDh','DbxDK','4423839UeXBjo','connect','6783608oWBUeX','bs:addLog:','ZTIvs','testAnalyticsId','bddStepFinish','HookRunFinished','FgAND','test_run_uuid','markedStatus','BdRXN','failure_backtrace','failure','Failed\x20to\x20parse\x20wsendpoint\x20','then','now','meta','stop','integrations','ctx','started','toUpperCase','type','__cloud_provider___','IOSgH','dUtbT','lyXzD','driver','gesrT','GDtPB','err','defineProperty','dirname','sajpw','getRootParentFile','browserType.js','dcGzQ','hdGiH','655529fxywjR','failed','stepAnalyticsId','dNJKL','includes','JQbQK','2|1|0|5|4|3','success','TEST_EVENTS','winstonLogger','hook_run_uuid','shutdown','getHierarchy','MTFqH','passed','Playwright','getHooksForTest','browserstack','qoAUC','srVjt','hVnFg','status','bddSteps','1056440emcPZK','string','appendTestItemLog','FHkdH','logs','../utils/constants','bddStepStart','epejD','rKKwM','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'];a4_0xd6bb=function(){return _0x53b934;};return a4_0xd6bb();}const TEST_EVENTS=a4_0x507802,parseEvent=_0x102980=>{const _0x35a5f5=a4_0x1a3b76,_0x492d10={};_0x492d10[_0x35a5f5(0x111)]=function(_0x4400c5,_0x3d4e5a){return _0x4400c5<_0x3d4e5a;},_0x492d10[_0x35a5f5(0x191)]=function(_0x548658,_0x4b1f0c){return _0x548658===_0x4b1f0c;},_0x492d10[_0x35a5f5(0x122)]='test',_0x492d10[_0x35a5f5(0xdf)]='hook',_0x492d10[_0x35a5f5(0x17a)]=function(_0x2e6794,_0x4b0f5a){return _0x2e6794===_0x4b0f5a;},_0x492d10['fCnzs']=_0x35a5f5(0x161),_0x492d10[_0x35a5f5(0x134)]=function(_0x20c63f,_0x4a6195){return _0x20c63f===_0x4a6195;},_0x492d10[_0x35a5f5(0x178)]='started',_0x492d10['hdGiH']=function(_0x5a327d,_0x3d61c1){return _0x5a327d===_0x3d61c1;},_0x492d10[_0x35a5f5(0x10b)]='finished';const _0x4ca031=_0x492d10,_0x24e67a=_0x102980[_0x35a5f5(0x112)](/^(.*)Run(.*)$/);if(!_0x24e67a)return null;if(_0x4ca031['nKYag'](_0x24e67a['length'],0x3))return null;const _0x52a9c6=_0x24e67a[0x1][_0x35a5f5(0xe2)](),_0xfec649=_0x24e67a[0x2][_0x35a5f5(0xe2)]();return{'test':_0x4ca031[_0x35a5f5(0x191)](_0x52a9c6,_0x4ca031[_0x35a5f5(0x122)]),'hook':_0x4ca031[_0x35a5f5(0x191)](_0x52a9c6,_0x4ca031[_0x35a5f5(0xdf)]),'skipped':_0x4ca031['BnsoV'](_0xfec649,_0x4ca031[_0x35a5f5(0xfb)]),'started':_0x4ca031[_0x35a5f5(0x134)](_0xfec649,_0x4ca031[_0x35a5f5(0x178)]),'finished':_0x4ca031[_0x35a5f5(0x13d)](_0xfec649,_0x4ca031[_0x35a5f5(0x10b)])};},mockPWBrowserType=_0x4d734c=>{const _0x1475bc=a4_0x1a3b76,_0x24eddc={'lBFpE':function(_0x33aa58,_0x1798e4,_0x45de21){return _0x33aa58(_0x1798e4,_0x45de21);},'TPDln':'wsEndpoint','HIgLi':function(_0x63d06e,_0x1e8267){return _0x63d06e(_0x1e8267);},'lDahD':_0x1475bc(0x14f),'hVnFg':function(_0xf266e7,_0x2a9627){return _0xf266e7(_0x2a9627);},'UMpts':function(_0x12d53a,_0x478005){return _0x12d53a===_0x478005;},'ZOFyH':_0x1475bc(0x156),'DbxDK':_0x1475bc(0x10f),'jwmNw':'client','EWrPA':_0x1475bc(0x13b),'FgAND':function(_0x315ad8,_0x5641bc){return _0x315ad8(_0x5641bc);},'aOsQh':_0x1475bc(0xd5),'aBdPn':_0x1475bc(0x118),'DAoIz':_0x1475bc(0xd9)},_0x251497=path[_0x1475bc(0x1ad)](_0x24eddc[_0x1475bc(0x116)],_0x24eddc['jwmNw'],_0x24eddc['EWrPA']),_0x20de7f=_0x24eddc[_0x1475bc(0x11f)](importFileFromPWCore,_0x251497);if(!_0x20de7f){_0x24eddc[_0x1475bc(0x11f)](debug,_0x24eddc[_0x1475bc(0x103)]);return;}const _0x190bf5=_0x20de7f[_0x1475bc(0x167)],_0x557db5=_0x190bf5[_0x1475bc(0x16e)];if(_0x557db5['obsBrowserTypeMockApplied'])return;const _0x5da82a=_0x557db5[_0x1475bc(0x118)];Object[_0x1475bc(0x137)](_0x557db5,_0x24eddc['aBdPn'],{'get':function(){const _0x130eb0=_0x1475bc,_0x23af34={'MTFqH':function(_0x186e7e,_0x5ceb50){const _0x496727=a4_0x204b;return _0x24eddc[_0x496727(0x18e)](_0x186e7e,_0x5ceb50);},'sajpw':_0x24eddc[_0x130eb0(0x107)]};return async function _0x284b06(_0x3857d4,_0x17f11f){const _0x68ff54=_0x130eb0,_0x2a7555=_0x24eddc[_0x68ff54(0xfc)](nestedKeyValue,_0x3857d4,[_0x24eddc[_0x68ff54(0x1be)]])||_0x3857d4;let _0x5134b9=null,_0x4fcf48=null;try{[_0x4fcf48,_0x5134b9]=_0x2a7555?_0x24eddc[_0x68ff54(0x1a2)](parseWSEndpoint,_0x2a7555):[null,null],global[_0x68ff54(0x108)]=_0x5134b9,_0x4fcf48[_0x68ff54(0x142)](_0x24eddc[_0x68ff54(0xde)])&&(global[_0x68ff54(0x12f)]=_0x24eddc[_0x68ff54(0xde)]);}catch(_0x53dc93){logger[_0x68ff54(0x10c)](_0x68ff54(0x125)+_0x2a7555+'\x20'+_0x53dc93);}_0x24eddc[_0x68ff54(0xfc)](processAccessibilityCaps,_0x5134b9,_0x4fcf48);if(global[_0x68ff54(0x19f)]){const _0x510c80=await _0x557db5[_0x68ff54(0x1a6)]['apply'](this,[''+Constants[_0x68ff54(0xd8)]+_0x24eddc[_0x68ff54(0x152)](encodeURIComponent,JSON[_0x68ff54(0x179)](_0x5134b9))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x510c80,_0x4d734c,_0x2a7555),_0x510c80;}return _0x5da82a[_0x68ff54(0x199)](this,arguments)['then'](_0x14664f=>{const _0x400d1a=_0x68ff54;let _0x3b0db8=_0x3857d4['wsEndpoint'];return _0x23af34[_0x400d1a(0x14b)](typeof _0x3857d4,_0x23af34[_0x400d1a(0x139)])&&(_0x3b0db8=_0x3857d4),PlaywrightSessionDetails[_0x400d1a(0xf3)](_0x14664f,_0x4d734c,_0x3b0db8),_0x14664f;});};}});const _0x3d6d50=_0x557db5[_0x1475bc(0xd9)];Object[_0x1475bc(0x137)](_0x557db5,_0x24eddc[_0x1475bc(0xec)],{'get':function(){return async function _0x2c8803(){const _0x4db606=a4_0x204b;return _0x3d6d50[_0x4db606(0x199)](this,arguments)[_0x4db606(0x126)](_0x2af58a=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x2af58a,null),_0x2af58a;});};}});};class O11yHelper{[a4_0x1a3b76(0x165)]=null;['currentHook']=null;[a4_0x1a3b76(0xe1)]=![];['frameworkName']=![];constructor(_0x45c4dd,_0x272b29){const _0x4580db=a4_0x1a3b76,_0x3a0982={'MPWTM':_0x4580db(0x144),'JQbQK':function(_0x594829){return _0x594829();},'FHkdH':function(_0x47d319,_0xdcd41f){return _0x47d319===_0xdcd41f;},'lyXzD':_0x4580db(0x14d),'cNdQl':function(_0x37a719,_0x295761){return _0x37a719(_0x295761);}},_0x486d08=_0x3a0982[_0x4580db(0x184)][_0x4580db(0x109)]('|');let _0x3cd24c=0x0;while(!![]){switch(_0x486d08[_0x3cd24c++]){case'0':this[_0x4580db(0x133)]=_0x45c4dd;continue;case'1':this[_0x4580db(0x1b8)]=_0x272b29['frameworkName'];continue;case'2':this['enabled']=_0x3a0982[_0x4580db(0x143)](shouldProcessEventForTesthub);continue;case'3':this[_0x4580db(0x133)]&&_0x3a0982[_0x4580db(0x158)](this[_0x4580db(0x133)][_0x4580db(0xe9)][_0x4580db(0x1a3)],_0x3a0982[_0x4580db(0x132)])&&_0x3a0982[_0x4580db(0x18d)](mockPWBrowserType,null);continue;case'4':this[_0x4580db(0xef)]=new testOpsHelper[(_0x4580db(0x174))]({'cwd':process[_0x4580db(0x17d)]()},this[_0x4580db(0x163)][_0x4580db(0xda)]);continue;case'5':this['_testEnv']=_0x3a0982['JQbQK'](getTestEnv);continue;}break;}}[a4_0x1a3b76(0x19e)](){const _0x360585=a4_0x1a3b76;if(!this['enabled'])return;testOpsHelper[_0x360585(0x16b)](),process['removeAllListeners'](_0x360585(0x11a)+process['pid']),process['on'](_0x360585(0x11a)+process[_0x360585(0x172)],this['appendTestItemLog'][_0x360585(0x1bd)](this));}async[a4_0x1a3b76(0x129)](){const _0x237de4=a4_0x1a3b76;await RequestQueueHandler['getInstance']()[_0x237de4(0x149)]();}async[a4_0x1a3b76(0x157)](_0xf47bf){const _0x599429=a4_0x1a3b76,_0x4d53e1={'dUtbT':'LogCreated','uoDAI':function(_0x370b16,_0x42555d){return _0x370b16(_0x42555d);}};try{this[_0x599429(0x186)]&&!this['currentHook'][_0x599429(0x121)]&&(_0xf47bf[_0x599429(0x148)]=this[_0x599429(0x186)][_0x599429(0xe7)]);!_0xf47bf['hook_run_uuid']&&this['currentTest']&&!this['currentTest'][_0x599429(0x121)]&&(_0xf47bf[_0x599429(0x120)]=this[_0x599429(0x165)]['testAnalyticsId']);if(_0xf47bf[_0x599429(0x148)]||_0xf47bf[_0x599429(0x120)]){const _0x14bb1b={};_0x14bb1b[_0x599429(0x1a9)]=_0x4d53e1[_0x599429(0x131)],_0x14bb1b[_0x599429(0x159)]=[_0xf47bf],await SessionHandler['uploadEventData'](_0x14bb1b);}}catch(_0x105ee0){_0x4d53e1['uoDAI'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x105ee0);}}async[a4_0x1a3b76(0x10d)](_0x31edcb){const _0xad4a66=a4_0x1a3b76,_0xf967fb={'WVZtf':_0xad4a66(0xfa),'mvZiC':function(_0xc2ba3e,_0x3ce04f){return _0xc2ba3e(_0x3ce04f);}};if(!this[_0xad4a66(0xe1)])return;const _0x368617=this['getCBTInfo'](this[_0xad4a66(0x133)]);try{const _0x39c293={};_0x39c293[_0xad4a66(0x16c)]=_0x31edcb,_0x39c293[_0xad4a66(0x12a)]=_0x368617;const _0x532fce=_0x39c293,_0x59c120={};_0x59c120[_0xad4a66(0x1a9)]=_0xf967fb[_0xad4a66(0x106)],_0x59c120['test_run']=_0x532fce,await SessionHandler[_0xad4a66(0x190)](_0x59c120);}catch(_0x4a7e26){_0xf967fb[_0xad4a66(0x182)](debug,_0xad4a66(0x15e)+_0x4a7e26);}}[a4_0x1a3b76(0x1b1)](_0x5b00a3){const _0x214f8a=a4_0x1a3b76,_0x4a8455={'JIxhj':function(_0x2fb227,_0x3708f1){return _0x2fb227(_0x3708f1);}};return _0x4a8455[_0x214f8a(0x1b5)](fetchPlatformDetails,_0x5b00a3);}[a4_0x1a3b76(0x171)]=_0x51cfa3=>{const _0x17b19e=a4_0x1a3b76,_0x56255a={};_0x56255a['YhrQi']=_0x17b19e(0x18a),_0x56255a[_0x17b19e(0xe4)]=_0x17b19e(0x19d);const _0x4d3785=_0x56255a;if(!_0x51cfa3||!_0x51cfa3[_0x17b19e(0x15f)])return;[_0x4d3785['YhrQi'],_0x4d3785[_0x17b19e(0xe4)]][_0x17b19e(0x1b9)](_0x35d698=>{const _0xcd3535=_0x17b19e,_0x4220a3=_0x51cfa3[_0xcd3535(0x15f)][_0x35d698];_0x4220a3['forEach'](_0x209f8c=>{const _0x40eab9=_0xcd3535;_0x209f8c['hookAnalyticsId']&&(_0x209f8c[_0x40eab9(0xe7)]=null);});});};['mapTestHooks'](_0x5174a0){const _0x2d5307=a4_0x1a3b76,_0x2ce210={'kfaIR':'codeceptjs','CSDGX':function(_0x2254a3){return _0x2254a3();},'FUlNq':function(_0x425875,_0x4c61e2){return _0x425875===_0x4c61e2;},'fGVoq':'_afterEach','wXjuU':_0x2d5307(0x1c2),'KkuLB':_0x2d5307(0x1a4),'UlWwM':'_beforeEach'};if(!_0x5174a0||!_0x5174a0['parent'])return;[_0x2ce210[_0x2d5307(0x19c)],_0x2ce210['KkuLB'],_0x2ce210[_0x2d5307(0x1af)],_0x2ce210[_0x2d5307(0x196)]]['forEach'](_0x416aa9=>{const _0x267c43=_0x2d5307,_0x506a8e=_0x5174a0[_0x267c43(0x15f)][_0x416aa9]||[];_0x506a8e['forEach'](_0x2ae9af=>{const _0x425b20=_0x267c43;if(_0x2ae9af['title']['includes'](_0x2ce210[_0x425b20(0xf0)]))return;if(!_0x2ae9af[_0x425b20(0xe7)])_0x2ae9af[_0x425b20(0xe7)]=_0x2ce210[_0x425b20(0x19a)](uuidv4);else _0x2ae9af['markedStatus']&&_0x2ce210['FUlNq'](_0x416aa9,_0x2ce210[_0x425b20(0x196)])&&(_0x2ae9af[_0x425b20(0xe7)]=_0x2ce210[_0x425b20(0x19a)](uuidv4),delete _0x2ae9af[_0x425b20(0x121)]);});}),this[_0x2d5307(0xe3)](_0x5174a0[_0x2d5307(0x15f)]);}['getHooksForTest'](_0x3f8b68){const _0x39f4d7=a4_0x1a3b76,_0x395368={};_0x395368[_0x39f4d7(0x185)]=_0x39f4d7(0x1c2),_0x395368['rKKwM']='_afterAll',_0x395368[_0x39f4d7(0x192)]=_0x39f4d7(0x18a),_0x395368['Dmulc']=_0x39f4d7(0x19d);const _0x2feec6=_0x395368;if(!_0x3f8b68||!_0x3f8b68[_0x39f4d7(0x15f)])return[];const _0x4df4b2=[];return[_0x2feec6['IQvOz'],_0x2feec6[_0x39f4d7(0x15d)],_0x2feec6[_0x39f4d7(0x192)],_0x2feec6['Dmulc']][_0x39f4d7(0x1b9)](_0x52f570=>{const _0x81193b=_0x39f4d7,_0x11e0aa=_0x3f8b68['parent'][_0x52f570]||[];_0x11e0aa[_0x81193b(0x1b9)](_0x5a23e8=>{const _0x84ed94=_0x81193b;_0x5a23e8[_0x84ed94(0xe7)]&&_0x4df4b2[_0x84ed94(0xea)](_0x5a23e8[_0x84ed94(0xe7)]);});}),[][_0x39f4d7(0x105)](_0x4df4b2,this['getHooksForTest'](_0x3f8b68[_0x39f4d7(0x15f)]));}[a4_0x1a3b76(0x1b4)](_0x2937f1){const _0x18c97f=a4_0x1a3b76,_0xeb96b1=/^"(?<hook>.*)" hook:.*$/,_0x38015a=_0x2937f1[_0x18c97f(0x168)],_0x40603f=_0x38015a[_0x18c97f(0x112)](_0xeb96b1);if(_0x40603f&&_0x40603f[_0x18c97f(0x176)])return _0x40603f['groups']['hook'][_0x18c97f(0x12d)]()[_0x18c97f(0x18c)]('\x20','_');return null;}[a4_0x1a3b76(0xe0)](_0x7e0881){const _0x282e47=a4_0x1a3b76,_0x51eaa8={};_0x51eaa8[_0x282e47(0x16f)]=function(_0x4155a1,_0x1e1742){return _0x4155a1===_0x1e1742;},_0x51eaa8[_0x282e47(0x160)]=function(_0x475bf4,_0x43bae5){return _0x475bf4===_0x43bae5;},_0x51eaa8[_0x282e47(0x13c)]=_0x282e47(0xe5),_0x51eaa8[_0x282e47(0x141)]=_0x282e47(0x193);const _0x5d16fe=_0x51eaa8,_0x499333=path[_0x282e47(0x16d)];if(_0x5d16fe[_0x282e47(0x16f)](_0x7e0881,null)||_0x5d16fe[_0x282e47(0x16f)](_0x7e0881,'')||_0x5d16fe[_0x282e47(0x160)](_0x7e0881,_0x499333)||_0x5d16fe[_0x282e47(0x160)](_0x7e0881,path[_0x282e47(0x138)](_0x7e0881)))return null;try{return fs[_0x282e47(0xf8)](path[_0x282e47(0x1ad)](_0x7e0881,_0x5d16fe[_0x282e47(0x13c)],_0x5d16fe['dNJKL'])),_0x7e0881;}catch(_0x37ba7f){const _0x4de7a4=path['dirname'](_0x7e0881);return this[_0x282e47(0xe0)](_0x4de7a4);}}[a4_0x1a3b76(0x13a)](_0x386a31){const _0x4cba3c=a4_0x1a3b76,_0x44876e={};_0x44876e[_0x4cba3c(0x115)]=function(_0x5354c2,_0x1fd526){return _0x5354c2>_0x1fd526;};const _0x5f55bf=_0x44876e;if(_0x386a31[_0x4cba3c(0x194)])return _0x386a31['file'];if(_0x386a31[_0x4cba3c(0x12b)]){const _0x363f61=_0x386a31[_0x4cba3c(0x12b)][_0x4cba3c(0x165)]?this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x12b)][_0x4cba3c(0x165)]):null;if(_0x363f61)return _0x363f61;}if(_0x386a31['parent']){const _0xd02f77=this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x15f)])||(_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0x12b)]&&_0x386a31[_0x4cba3c(0x15f)]['ctx'][_0x4cba3c(0x165)]?this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0x12b)][_0x4cba3c(0x165)]):null);if(_0xd02f77)return _0xd02f77;_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0xf7)]&&_0x5f55bf[_0x4cba3c(0x115)](_0x386a31[_0x4cba3c(0x15f)]['suites'][_0x4cba3c(0x1c1)],0x0)&&_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0xf7)]['forEach'](_0x281fc9=>{const _0x3b5360=_0x4cba3c,_0x237891=_0x281fc9[_0x3b5360(0x12b)]?this[_0x3b5360(0x13a)](_0x281fc9[_0x3b5360(0x12b)]):null;if(_0x237891)return _0x237891;});}return null;}[a4_0x1a3b76(0x14a)](_0x4491a3){const _0x5bc974=a4_0x1a3b76,_0x7e86db={};_0x7e86db[_0x5bc974(0x1a8)]=function(_0xd57aaf,_0x4ce41c){return _0xd57aaf!==_0x4ce41c;};const _0x15d145=_0x7e86db,_0x57e7b0=[];if(_0x4491a3&&_0x4491a3[_0x5bc974(0x15f)]){let _0x5883b9=_0x4491a3['parent'];while(_0x5883b9&&_0x15d145[_0x5bc974(0x1a8)](_0x5883b9[_0x5bc974(0x168)],'')){_0x57e7b0[_0x5bc974(0xea)](_0x5883b9[_0x5bc974(0x168)]),_0x5883b9=_0x5883b9[_0x5bc974(0x15f)];}}return _0x57e7b0;}[a4_0x1a3b76(0xdb)](_0x41c2e2,_0x28df9a,_0x1f180f=undefined){const _0x56a999=a4_0x1a3b76,_0xa2cca2={'OxVow':function(_0x470227,_0x1f90c9){return _0x470227(_0x1f90c9);},'NiBYK':function(_0x33a8e3){return _0x33a8e3();},'LbhWO':function(_0x71dbfa){return _0x71dbfa();},'ganSa':function(_0x3bff05){return _0x3bff05();},'RRbHC':function(_0x4650f8){return _0x4650f8();},'epejD':function(_0xeeff44,_0x1163c0){return _0xeeff44(_0x1163c0);},'HkKYX':'util','uBEnn':_0x56a999(0x136),'srVjt':function(_0x3efee8,_0x34a351){return _0x3efee8!==_0x34a351;},'smPNK':_0x56a999(0x1bc),'VcxWg':_0x56a999(0x110),'QILhk':_0x56a999(0x13f),'XHUaT':_0x56a999(0x14c),'WTqZR':_0x56a999(0x161),'mYNFI':'javascript','qoAUC':function(_0x57733a,_0x20cefc){return _0x57733a-_0x20cefc;},'pJnNo':function(_0x4c4472,_0x47f35e,_0x53b1fb,_0x3ce8d3,_0x4f66f9){return _0x4c4472(_0x47f35e,_0x53b1fb,_0x3ce8d3,_0x4f66f9);},'IHfWD':_0x56a999(0x12a),'DIArx':_0x56a999(0x128),'fOOhH':_0x56a999(0x124),'PGFrD':_0x56a999(0x123),'yTqMj':'backtrace','SFlFI':_0x56a999(0x1b2),'pTYMs':_0x56a999(0x10e),'nFlAo':function(_0x2abbf6,_0x1734b5){return _0x2abbf6===_0x1734b5;},'EIyeO':_0x56a999(0xff),'ZaAYu':_0x56a999(0xfd)};if(!this['enabled'])return;try{if(_0x28df9a['fn']&&_0x28df9a['fn'][_0x56a999(0x10a)]()[_0x56a999(0x112)](/browserstack internal helper hook/))return;const _0x671e7a=_0xa2cca2['OxVow'](parseEvent,_0x41c2e2);if(!_0x671e7a)return;if(_0x671e7a[_0x56a999(0x1ab)]){this[_0x56a999(0x165)]=_0x28df9a,this[_0x56a999(0x186)]=null;if(_0x671e7a[_0x56a999(0x12c)]||_0x671e7a[_0x56a999(0x161)]){_0x28df9a[_0x56a999(0xdd)]=new Date(),_0x28df9a[_0x56a999(0x121)]=![];if(!_0x28df9a['testAnalyticsId'])_0x28df9a['testAnalyticsId']=_0xa2cca2[_0x56a999(0xf5)](uuidv4);else _0x28df9a[_0x56a999(0x121)]&&(!_0x28df9a[_0x56a999(0xe6)]&&(_0x28df9a[_0x56a999(0xe6)]=_0x28df9a[_0x56a999(0x11c)]),_0x28df9a['testAnalyticsId']=_0xa2cca2['LbhWO'](uuidv4));}}else{if(_0x671e7a[_0x56a999(0x173)]){this[_0x56a999(0x186)]=_0x28df9a;if(_0x671e7a[_0x56a999(0x12c)]){_0x28df9a[_0x56a999(0xdd)]=new Date(),_0x28df9a[_0x56a999(0x121)]=![];if(!_0x28df9a['hookAnalyticsId'])_0x28df9a[_0x56a999(0xe7)]=_0xa2cca2[_0x56a999(0xee)](uuidv4);else _0x28df9a['hookAnalyticsId']&&_0x28df9a['markedStatus']&&(_0x28df9a[_0x56a999(0xe7)]=_0xa2cca2[_0x56a999(0x17b)](uuidv4));}}}if(_0x671e7a[_0x56a999(0x100)]&&_0x28df9a[_0x56a999(0x121)])return;let _0x4ba426;try{_0x4ba426=this[_0x56a999(0x13a)](_0x28df9a);}catch(_0x1c0fda){logger[_0x56a999(0x10c)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x1c0fda),_0x4ba426=null;}const _0x3a846f=_0xa2cca2[_0x56a999(0x15c)](require,_0xa2cca2['HkKYX']);let _0x749f05=[];_0x1f180f&&(_0x749f05=[_0x1f180f,_0xa2cca2['uBEnn']]);const _0x38f37a=_0xa2cca2['srVjt'](_0x28df9a[_0x56a999(0x164)],undefined)?_0x3a846f['inspect'](_0x28df9a[_0x56a999(0x164)][0x0]):_0xa2cca2[_0x56a999(0x151)](_0x1f180f,undefined)?_0x1f180f[_0x56a999(0x10a)]():undefined,_0x39c94f=_0x4ba426?this[_0x56a999(0xe0)](_0x4ba426):null,_0x1da501=_0x4ba426?this['_paths']['prefixTestPath'](this[_0x56a999(0x13a)](_0x28df9a)):_0xa2cca2['smPNK'];let _0x51c747=_0xa2cca2['VcxWg'];const _0x3e0ee4=!_0x671e7a[_0x56a999(0x12c)]?new Date()[_0x56a999(0xf9)]():null;if(_0x671e7a[_0x56a999(0x100)])_0x51c747=_0x1f180f?_0xa2cca2[_0x56a999(0xdc)]:_0xa2cca2[_0x56a999(0x16a)],_0x28df9a['markedStatus']=!![];else _0x671e7a[_0x56a999(0x161)]&&(_0x51c747=_0xa2cca2['WTqZR'],_0x28df9a['markedStatus']=!![]);const _0x569b00={'framework':this[_0x56a999(0x1b8)],'uuid':_0x28df9a[_0x56a999(0x11c)]||_0x28df9a[_0x56a999(0xe7)],'name':_0x28df9a[_0x56a999(0x168)],'body':{'lang':_0xa2cca2[_0x56a999(0x18b)],'code':_0x28df9a[_0x56a999(0x162)][_0x56a999(0x10a)]()},'type':_0x28df9a[_0x56a999(0x12e)],'scope':_0x28df9a[_0x56a999(0xed)](),'scopes':this['getHierarchy'](_0x28df9a),'file_name':_0x1da501,'vc_filepath':_0x39c94f?path[_0x56a999(0x104)](_0x39c94f,_0x4ba426):null,'location':_0x1da501,'result':_0x51c747,'failure_reason':_0x38f37a,'duration_in_ms':_0x28df9a['duration']||(_0x671e7a['finished']||_0x671e7a[_0x56a999(0x161)])?_0xa2cca2[_0x56a999(0x150)](Date[_0x56a999(0x127)](),new Date(_0x28df9a[_0x56a999(0xdd)])['getTime']()):null,'started_at':new Date(_0x28df9a[_0x56a999(0xdd)])['toISOString'](),'finished_at':_0x3e0ee4,'failure':testOpsHelper[_0x56a999(0x197)][_0x56a999(0x199)](null,_0x749f05),'failure_type':!_0x38f37a?null:testOpsHelper['getFailureType'](_0x38f37a),'retry_of':_0x28df9a[_0x56a999(0xe6)]||null,'tags':_0x28df9a['tags']||[],'customRerunParam':{'rerun_name':_0x28df9a['fullTitle']()}};_0xa2cca2['pJnNo'](appendTesthubParams,_0x569b00,_0x41c2e2,_0x28df9a,FRAMEWORKS[_0x56a999(0xf1)]);if(_0x671e7a[_0x56a999(0x173)])[_0x569b00[_0x56a999(0x1bb)],_0x569b00[_0x56a999(0x1a3)]]=[this['getHookType'](_0x28df9a),_0x28df9a['ctx'][_0x56a999(0x1ab)][_0x56a999(0x168)]],_0x671e7a[_0x56a999(0x100)]?_0xa2cca2[_0x56a999(0x151)](_0x569b00[_0x56a999(0x175)],_0xa2cca2[_0x56a999(0xdc)])&&(_0x569b00[_0x56a999(0x175)]=_0xa2cca2[_0x56a999(0x16a)]):_0x569b00[_0x56a999(0x162)]={};else _0x671e7a[_0x56a999(0x1ab)]&&(this[_0x56a999(0xe3)](_0x28df9a),_0x671e7a['skipped']&&this[_0x56a999(0x171)](_0x28df9a),(_0x671e7a[_0x56a999(0x100)]||_0x671e7a[_0x56a999(0x161)])&&(_0x569b00[_0x56a999(0xfe)]=this[_0x56a999(0x14e)](_0x28df9a)));this[_0x56a999(0x133)]&&(_0x671e7a[_0x56a999(0x12c)]||_0x671e7a[_0x56a999(0x161)])&&(_0x569b00[_0xa2cca2['IHfWD']]=this['getCBTInfo'](this[_0x56a999(0x133)]));_0x671e7a[_0x56a999(0x1ab)]&&_0x671e7a[_0x56a999(0x100)]&&_0x28df9a[_0x56a999(0x154)]&&(_0x569b00[_0xa2cca2['DIArx']]={'feature':{'name':_0x28df9a['parent'][_0x56a999(0x1a0)]['name'],'path':_0x569b00[_0x56a999(0x18f)],'description':_0x28df9a[_0x56a999(0x15f)][_0x56a999(0x1b7)]},'scenario':{'name':_0x28df9a['title']},'steps':_0x28df9a[_0x56a999(0x154)]});const _0x1fe8f2=_0x569b00[_0xa2cca2[_0x56a999(0x189)]][0x0];_0x1fe8f2&&(_0x569b00[_0xa2cca2['PGFrD']]=_0x1fe8f2[_0xa2cca2[_0x56a999(0x1ba)]],_0x569b00[_0xa2cca2['SFlFI']]=_0x1fe8f2[_0xa2cca2[_0x56a999(0x114)]]);if(_0x28df9a[_0x56a999(0x154)])for(const _0x9cfd2 of _0x28df9a['bddSteps']){!_0x9cfd2[_0x56a999(0x177)]&&(_0x9cfd2[_0x56a999(0x177)]=new Date()[_0x56a999(0xf9)](),_0xa2cca2[_0x56a999(0x166)](_0x9cfd2[_0x56a999(0x175)],_0xa2cca2[_0x56a999(0x1c0)])&&(_0x1fe8f2?(_0x9cfd2['result']=_0xa2cca2['QILhk'],_0x9cfd2['failure']=_0x1fe8f2[_0xa2cca2['yTqMj']][0x0]):_0x9cfd2[_0x56a999(0x175)]=_0xa2cca2[_0x56a999(0x16a)]));}const _0x59e827={};_0x59e827[_0x56a999(0x1a9)]=_0x671e7a['skipped']?TEST_EVENTS[_0x56a999(0xd6)]:_0x41c2e2;const _0x5835ae=_0x59e827;return _0x671e7a[_0x56a999(0x173)]?_0x5835ae[_0xa2cca2[_0x56a999(0xf4)]]=_0x569b00:_0x5835ae[_0xa2cca2['ZaAYu']]=_0x569b00,_0x5835ae;}catch(_0x43a47c){logger['debug'](_0x56a999(0x102)+_0x41c2e2+_0x56a999(0x113)+_0x43a47c);}}async['fireEvent'](_0x18b526,_0x3451bb){const _0x30ea39=a4_0x1a3b76;if(!this[_0x30ea39(0xe1)]||!_0x3451bb||!_0x18b526)return![];try{return await SessionHandler[_0x30ea39(0x190)](_0x3451bb);}catch(_0x327ae4){logger[_0x30ea39(0x10c)](_0x30ea39(0x180)+_0x18b526+_0x30ea39(0x113)+_0x327ae4);}}['initializeBddStep'](_0x32d01c){const _0x445a46=a4_0x1a3b76,_0x4e3c3a={};_0x4e3c3a[_0x445a46(0x130)]='pending';const _0x16d914=_0x4e3c3a;return{'id':_0x32d01c[_0x445a46(0x140)],'text':_0x32d01c[_0x445a46(0x195)],'keyword':_0x32d01c[_0x445a46(0x1b0)],'started_at':_0x32d01c['startedAt'][_0x445a46(0xf9)](),'result':_0x16d914[_0x445a46(0x130)]};}[a4_0x1a3b76(0x15b)](_0x25c6dc){const _0x55c2d7=a4_0x1a3b76,_0x47922b={'KTWTl':function(_0x4b46b4){return _0x4b46b4();}};!this[_0x55c2d7(0x165)]['bddSteps']&&(this[_0x55c2d7(0x165)][_0x55c2d7(0x154)]=[]),!_0x25c6dc[_0x55c2d7(0x140)]&&(_0x25c6dc['stepAnalyticsId']=_0x47922b['KTWTl'](uuidv4),_0x25c6dc['startedAt']=new Date(),this[_0x55c2d7(0x165)]['bddSteps'][_0x55c2d7(0xea)](this[_0x55c2d7(0x17c)](_0x25c6dc)));}[a4_0x1a3b76(0x11d)](_0x52fa4b){const _0x26ec66=a4_0x1a3b76,_0xae2c8e={'YwxRP':function(_0x39310f,_0x4b4cf7){return _0x39310f(_0x4b4cf7);},'GDtPB':_0x26ec66(0x145),'cZJUW':_0x26ec66(0x110),'FVlBd':_0x26ec66(0x14c),'ZTIvs':function(_0x227feb,_0x11faa2){return _0x227feb-_0x11faa2;}};let _0x4e7b83=this[_0x26ec66(0x165)][_0x26ec66(0x154)][_0x26ec66(0x17f)](_0xf0ce4=>_0xf0ce4['id']===_0x52fa4b['stepAnalyticsId']);_0xae2c8e['YwxRP'](isUndefined,_0x4e7b83)&&(_0x4e7b83=this[_0x26ec66(0x17c)](_0x52fa4b)),_0x4e7b83['result']=[_0xae2c8e[_0x26ec66(0x135)],_0xae2c8e[_0x26ec66(0x187)]][_0x26ec66(0x142)](_0x52fa4b[_0x26ec66(0x153)])?_0xae2c8e[_0x26ec66(0x1aa)]:_0x52fa4b[_0x26ec66(0x153)],_0x4e7b83['finished_at']=new Date()[_0x26ec66(0xf9)](),_0x4e7b83[_0x26ec66(0x19b)]=_0xae2c8e[_0x26ec66(0x11b)](Date[_0x26ec66(0x127)](),_0x52fa4b[_0x26ec66(0xdd)]['getTime']()),_0x4e7b83[_0x26ec66(0x124)]=_0x52fa4b[_0x26ec66(0x136)]?_0x52fa4b[_0x26ec66(0x136)][_0x26ec66(0x188)]:null;}}const a4_0x4bcab2={};a4_0x4bcab2[a4_0x1a3b76(0xf6)]=O11yHelper,a4_0x4bcab2['STATE_PASSED']=STATE_PASSED,a4_0x4bcab2[a4_0x1a3b76(0x1a1)]=STATE_FAILED,a4_0x4bcab2[a4_0x1a3b76(0x146)]=TEST_EVENTS,module['exports']=a4_0x4bcab2;
1
+ 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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a5_0x34e6(_0x3b7a6e,_0x2d037a){const _0x10d4da=a5_0x10d4();return a5_0x34e6=function(_0x34e694,_0x1577d2){_0x34e694=_0x34e694-0x1bb;let _0x782dfd=_0x10d4da[_0x34e694];return _0x782dfd;},a5_0x34e6(_0x3b7a6e,_0x2d037a);}const a5_0x400e78=a5_0x34e6;(function(_0x2f8598,_0x3182d4){const _0x424b41=a5_0x34e6,_0x448222=_0x2f8598();while(!![]){try{const _0x47416a=parseInt(_0x424b41(0x1c7))/0x1*(-parseInt(_0x424b41(0x1d6))/0x2)+-parseInt(_0x424b41(0x1d3))/0x3*(parseInt(_0x424b41(0x1c9))/0x4)+parseInt(_0x424b41(0x209))/0x5+-parseInt(_0x424b41(0x22a))/0x6*(-parseInt(_0x424b41(0x1e0))/0x7)+-parseInt(_0x424b41(0x1d8))/0x8+-parseInt(_0x424b41(0x215))/0x9*(-parseInt(_0x424b41(0x1c2))/0xa)+-parseInt(_0x424b41(0x1e2))/0xb*(-parseInt(_0x424b41(0x1f2))/0xc);if(_0x47416a===_0x3182d4)break;else _0x448222['push'](_0x448222['shift']());}catch(_0x1513f1){_0x448222['push'](_0x448222['shift']());}}}(a5_0x10d4,0xcf4ca));function a5_0x10d4(){const _0x167c8a=['7191835rRJgKh','exitCode','stop','setupTCGAuth','launchBuild','then','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20ambiguous','aLnzI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kQSGI','vtMrI','18LHYtYA','rcWfq','env','useW3C','****\x20RESULTS\x20****','\x20failed','createDir','\x20steps','\x20skipped','testContextOptions','PVeyz','green','jMvjA','stepsUnknown','mWmNm','FRAMEWORKS','finalExecution','scenarios','Generating\x20consolidated\x20report...','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/test-observability/utils','1222134NaiEDf','errorMessage','\x20passed','getUserWorkerCount','winstonLogger','lbCet','stepsPending','../../helpers/utilities','getTCGConfigFilePaths','getPlatformName','initialize','join','eQCoa','CovpI','\x20pending','bOzyi','3262250eSKooe','ndhPx','error\x20removing\x20tcg\x20config\x20file','EJMFQ','bold','286882sHUcrk','testObservability','4BsDRJM','splice','accessibilityOptions','stepsSkipped','cwd','util','VFAhW','xsNpn','XvAKB','xITit','3390747obuEau','CyMea','skipSessionName','10ZRqruu','stepsAmbiguous','8912800EvdcKZ','MHIsw','../../helpers/logger','rmdirSync','red','zimHf','osxIK','parseFormatters','28xnVQHi','removeDir','22gVIlVW','\x20undefined','getErrorMessageFromResults','cyan','cucumber','../../helpers/testhub/testhubHandler','forEach','CUCUMBER','../../helpers/helper','log','\x20scenarios','yellow','scenariosFailed','debug','OaVdX','false','9733704UKFkMN','unlinkSync','skipSessionStatus','../../helpers/BrowserStackSetup','mergeOutputFiles','config','printBuildLink','finally','parallelsPerPlatform','length','isUndefined','hVCwK','../test-runner','push','../utils/constants','turboScaleUrl','getHubUrl','wPDPP','vSlqF','markSDKSetupComplete','ULHgk','cqWst','logLevel'];a5_0x10d4=function(){return _0x167c8a;};return a5_0x10d4();}const fs=require('fs'),path=require('path'),util=require(a5_0x400e78(0x1ce)),logger=require(a5_0x400e78(0x1da))[a5_0x400e78(0x22e)],{default:BrowserStackSetup}=require(a5_0x400e78(0x1f5)),helper=require(a5_0x400e78(0x1ea)),utilities=require(a5_0x400e78(0x231)),constants=require(a5_0x400e78(0x200)),{parallelCucumberRun}=require(a5_0x400e78(0x1fe)),TestHubHandler=require(a5_0x400e78(0x1e7)),testOpsHelper=require(a5_0x400e78(0x229)),chalk=require('chalk');function printCucumberStats(_0xf64156){const _0x21550a=a5_0x400e78,_0x56a1ea={};_0x56a1ea[_0x21550a(0x206)]=function(_0x28e375,_0x3b5eaf){return _0x28e375>_0x3b5eaf;},_0x56a1ea['vSlqF']=function(_0x3e8157,_0x44dd58){return _0x3e8157-_0x44dd58;},_0x56a1ea[_0x21550a(0x1c5)]=function(_0x4c9972,_0x7c8cd){return _0x4c9972-_0x7c8cd;},_0x56a1ea[_0x21550a(0x1cf)]=function(_0x668705,_0x2ab18f){return _0x668705>_0x2ab18f;},_0x56a1ea[_0x21550a(0x22f)]=function(_0x13649f,_0x775e20){return _0x13649f>_0x775e20;},_0x56a1ea[_0x21550a(0x1d2)]=function(_0x41c7f2,_0x546e91){return _0x41c7f2>_0x546e91;},_0x56a1ea[_0x21550a(0x211)]=function(_0x540ac5,_0x375e9b){return _0x540ac5>_0x375e9b;},_0x56a1ea[_0x21550a(0x1dd)]=function(_0xd6215d,_0x3f69f3){return _0xd6215d>_0x3f69f3;},_0x56a1ea[_0x21550a(0x223)]=function(_0x1190ba,_0x59dfc3){return _0x1190ba>_0x59dfc3;},_0x56a1ea[_0x21550a(0x214)]=function(_0x4db711,_0x4e538d){return _0x4db711>_0x4e538d;},_0x56a1ea[_0x21550a(0x221)]=function(_0x466462,_0x10e6f3){return _0x466462>_0x10e6f3;},_0x56a1ea['OaVdX']=function(_0xf1e6d0,_0x1617aa){return _0xf1e6d0+_0x1617aa;},_0x56a1ea[_0x21550a(0x1d9)]=function(_0x48300d,_0x3ad467){return _0x48300d+_0x3ad467;},_0x56a1ea[_0x21550a(0x1c3)]=function(_0x31dcad,_0x1da9d2){return _0x31dcad+_0x1da9d2;},_0x56a1ea[_0x21550a(0x21f)]=function(_0xf3f553,_0x4015e5){return _0xf3f553+_0x4015e5;},_0x56a1ea['osxIK']=function(_0x5746df,_0x647caf){return _0x5746df===_0x647caf;},_0x56a1ea['CyMea']=_0x21550a(0x219);const _0x3af936=_0x56a1ea;let _0x3e3cd8=0x0;if(_0x3af936[_0x21550a(0x1de)](_0xf64156[_0x21550a(0x1fb)],0x0))return _0x3e3cd8;return console['log'](chalk['bold']['bgWhite'](_0x3af936[_0x21550a(0x1d4)])),_0xf64156[_0x21550a(0x1e8)](_0x1f2f13=>{const _0x385961=_0x21550a,_0xcbbd23=_0x1f2f13[0x0],_0x11409a=_0x1f2f13[0x1];console[_0x385961(0x1eb)]('\x0a'+chalk[_0x385961(0x1c6)][_0x385961(0x1ed)](''+helper[_0x385961(0x1bb)](_0xcbbd23)));const _0x961097=_0x11409a[_0x385961(0x226)],_0x330114=_0x11409a['steps'],_0x5dd514=_0x11409a[_0x385961(0x1ee)],_0x2aff2d=_0x11409a['stepsFailed'],_0x3aa800=_0x11409a['stepsPassed'],_0xe543de=_0x11409a[_0x385961(0x1cc)],_0x34c3c2=_0x11409a[_0x385961(0x230)],_0x220f71=_0x11409a['stepsUndefined'],_0x390968=_0x11409a[_0x385961(0x222)],_0x1bd2a6=_0x11409a[_0x385961(0x1d7)],_0x237635=_0x11409a['processSuccess'];let _0xa86f39=_0x961097+_0x385961(0x1ec);const _0x535754=_0x3af936[_0x385961(0x206)](_0x3af936[_0x385961(0x204)](_0x961097,_0x5dd514),0x0)?_0x3af936[_0x385961(0x1c5)](_0x961097,_0x5dd514):0x0;if(_0x3af936[_0x385961(0x1cf)](_0x5dd514,0x0)&&_0x3af936[_0x385961(0x22f)](_0x535754,0x0))_0xa86f39+='\x20('+chalk['bold']['red'](_0x5dd514+_0x385961(0x21a))+',\x20'+chalk['bold'][_0x385961(0x220)](_0x535754+_0x385961(0x22c))+')';else(_0x3af936[_0x385961(0x1d2)](_0x5dd514,0x0)||_0x3af936[_0x385961(0x211)](_0x535754,0x0))&&(_0xa86f39+=_0x3af936[_0x385961(0x1dd)](_0x5dd514,0x0)?'\x20('+chalk[_0x385961(0x1c6)][_0x385961(0x1dc)](_0x5dd514+'\x20failed')+')':'\x20('+chalk[_0x385961(0x1c6)][_0x385961(0x220)](_0x535754+_0x385961(0x22c))+')');const _0x42685b=_0x330114+_0x385961(0x21c),_0x2795f1=[];_0x3af936[_0x385961(0x22f)](_0x1bd2a6,0x0)&&_0x2795f1['push'](''+chalk['bold'][_0x385961(0x1dc)](_0x1bd2a6+_0x385961(0x210)));_0x3af936[_0x385961(0x223)](_0x2aff2d,0x0)&&_0x2795f1['push'](''+chalk[_0x385961(0x1c6)][_0x385961(0x1dc)](_0x2aff2d+_0x385961(0x21a)));_0x3af936[_0x385961(0x211)](_0x3aa800,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk[_0x385961(0x1c6)][_0x385961(0x220)](_0x3aa800+_0x385961(0x22c)));_0x3af936[_0x385961(0x1d2)](_0x34c3c2,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk['bold']['yellow'](_0x34c3c2+_0x385961(0x1c0)));_0x3af936['ULHgk'](_0xe543de,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk[_0x385961(0x1c6)][_0x385961(0x1e5)](_0xe543de+_0x385961(0x21d)));_0x3af936['vtMrI'](_0x220f71,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk['bold'][_0x385961(0x1ed)](_0x220f71+_0x385961(0x1e3)));_0x3af936[_0x385961(0x221)](_0x390968,0x0)&&_0x2795f1['push'](''+chalk[_0x385961(0x1c6)][_0x385961(0x1ed)](_0x390968+'\x20skipped'));const _0x1b8c3a=_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1f0)](_0x42685b,'('),_0x2795f1['join'](',\x20')),')');console[_0x385961(0x1eb)](_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1d9)](_0x3af936['ndhPx'](_0x3af936['PVeyz']('\x0a',_0xa86f39),'\x0a'),_0x1b8c3a),'\x0a')),_0x3af936[_0x385961(0x1de)](_0x237635,![])&&(_0x3e3cd8=0x1);}),_0x3e3cd8;}async function run(_0x286b9b,_0x33d800){const _0x380a1e=a5_0x400e78,_0x48b66a={'cqWst':function(_0x440fb3,_0x2be5b7){return _0x440fb3(_0x2be5b7);},'bOzyi':function(_0x29b09e,_0x462e1e){return _0x29b09e>_0x462e1e;},'ipROl':_0x380a1e(0x227),'rcWfq':_0x380a1e(0x228),'eQCoa':_0x380a1e(0x1e6),'hVCwK':_0x380a1e(0x1c4),'ivmFL':'cucumber-js','kQSGI':'tmp','wPDPP':function(_0x516c93,_0x383d0f){return _0x516c93>_0x383d0f;},'XvAKB':function(_0x585adf,_0x26316d){return _0x585adf-_0x26316d;},'xsNpn':function(_0x34e8b7,_0x4d73fc){return _0x34e8b7>=_0x4d73fc;},'fDtvc':function(_0x215f26,_0x4b2e1b){return _0x215f26!=_0x4b2e1b;},'ViuSn':_0x380a1e(0x1f1),'CovpI':function(_0x54b12d,_0x5388a0,_0x19a8de,_0x3724f9,_0x2e6b1d,_0x41e576){return _0x54b12d(_0x5388a0,_0x19a8de,_0x3724f9,_0x2e6b1d,_0x41e576);}},_0x290973=new BrowserStackSetup(_0x286b9b,_0x48b66a['ivmFL']);await _0x290973[_0x380a1e(0x1bc)]();!helper['isBrowserstackInfra']()&&await _0x290973[_0x380a1e(0x20c)]();await helper['handleApp'](_0x290973['config']);const _0x423dc4=helper[_0x380a1e(0x218)](_0x290973['config']),_0x226a32=helper['prepareCapabilities'](_0x290973[_0x380a1e(0x1f7)],_0x423dc4,constants[_0x380a1e(0x224)]['CUCUMBER']);if(!_0x290973['config'])return;const _0x5d40ef=_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1fa)]||helper[_0x380a1e(0x22d)](_0x286b9b,_0x33d800,_0x290973['config'],constants[_0x380a1e(0x224)]['CUCUMBER'])||0x1,_0x464cc8={'server':helper[_0x380a1e(0x202)](_0x290973['config']),'proxySettings':_0x290973['config']['proxySettings'],'maxWorkers':_0x5d40ef,'browserStackLogLevel':_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x208)],'skipSessionName':_0x290973['config']['testContextOptions'][_0x380a1e(0x1d5)],'skipSessionStatus':_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x21e)][_0x380a1e(0x1f4)],'turboScaleUrl':_0x290973['config'][_0x380a1e(0x201)]},_0x39608a=process['argv'],[_0x1990aa,_0x32585d]=helper[_0x380a1e(0x1df)](_0x39608a),_0x16007a=path[_0x380a1e(0x1bd)](process[_0x380a1e(0x1cd)](),_0x48b66a[_0x380a1e(0x213)]);if(_0x48b66a[_0x380a1e(0x203)](_0x32585d['length'],0x0)){helper[_0x380a1e(0x21b)](_0x16007a);for(let _0x37a0a2=_0x48b66a[_0x380a1e(0x1d1)](_0x1990aa[_0x380a1e(0x1fb)],0x1);_0x48b66a[_0x380a1e(0x1d0)](_0x37a0a2,0x0);_0x37a0a2--){_0x39608a[_0x380a1e(0x1ca)](_0x1990aa[_0x37a0a2],0x2);}}!helper[_0x380a1e(0x1fc)](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1cb)])&&(process[_0x380a1e(0x217)][_0x380a1e(0x212)]=JSON['stringify'](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1cb)]));_0x48b66a['fDtvc'](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1c8)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x290973[_0x380a1e(0x1f7)]['testObservability']:process[_0x380a1e(0x217)][_0x380a1e(0x20f)]=_0x48b66a['ViuSn'];const _0xb18c65=await TestHubHandler[_0x380a1e(0x20d)](constants[_0x380a1e(0x224)][_0x380a1e(0x1e9)],_0x290973);helper[_0x380a1e(0x205)]();let _0x3418b3;_0x48b66a[_0x380a1e(0x1bf)](parallelCucumberRun,_0x226a32,_0x464cc8,_0x290973['config'],_0x39608a,_0x32585d)[_0x380a1e(0x20e)](async _0x5118b0=>{const _0x39312c=_0x380a1e;_0x3418b3=_0x5118b0;const _0x636bc0=_0x48b66a[_0x39312c(0x207)](printCucumberStats,_0x5118b0);process[_0x39312c(0x20a)]=_0x636bc0,_0x48b66a[_0x39312c(0x1c1)](_0x32585d[_0x39312c(0x1fb)],0x0)&&(logger['debug'](_0x48b66a['ipROl']),helper[_0x39312c(0x1f6)](_0x16007a,_0x32585d),logger[_0x39312c(0x1ef)](_0x48b66a[_0x39312c(0x216)]),helper[_0x39312c(0x1e1)](_0x16007a));})[_0x380a1e(0x1f9)](async()=>{const _0x4547a8=_0x380a1e;_0x290973[_0x4547a8(0x22b)]=helper[_0x4547a8(0x1e4)](_0x3418b3,_0x48b66a[_0x4547a8(0x1be)]),testOpsHelper[_0x4547a8(0x1f8)]();try{await TestHubHandler[_0x4547a8(0x20b)]();}catch(_0x502fee){logger[_0x4547a8(0x1ef)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x502fee));}try{const {browserstackFolderPath:_0x1e3bf7,tcgConfigPath:_0x58e8f3}=helper[_0x4547a8(0x232)]();fs[_0x4547a8(0x1f3)](_0x58e8f3),fs[_0x4547a8(0x1db)](_0x1e3bf7);}catch(_0x5d7d64){logger[_0x4547a8(0x1ef)](_0x48b66a[_0x4547a8(0x1fd)],_0x5d7d64);}await utilities[_0x4547a8(0x225)](_0x290973);});}module['exports']=run;
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;