browserstack-node-sdk 1.34.25 → 1.34.27

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 (129) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x4e2ac0=a1_0x4984;function a1_0x22e7(){const _0x149b9b=['skipSessionName','getSyncScript','DGQxG','cBcLP','kntSK','tKCJV','then','670vElIWC','BXeMx','contexts','before','patchSaveScreenshot','debug','slice','browserstack_executor:\x20','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','codeceptjs/lib/utils.js','step','../../helpers/logger','overwriteCommand','shouldWrapCommand','addRequestSpy','../../helpers/accessibility-automation/scripts','Afwbc','test','container','skipSessionStatus','TestCafe','getAccessibilityResults','hook','bddStepFinish','rdDpW','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ExOou','browserContext','cBELZ','fnnMX','apply','HOOK_RUN_STARTED','TEST_RUN_SKIPPED','pid','ByYvO','stringify','BS_TESTOPS_ALLOW_SCREENSHOTS','woTTb','Suite','util','KPBwg','../../bin/playwright/sessionDetails','stopMonitoring','../../helpers/accessibility-automation/helper','all','titlePath','DcVyA','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ENV_VAR','__driver','codeceptjs/lib/helper/Playwright.js','Apnbx','saveTestResults','getResultsSummary','start','accessibilityPlatform','saveScreenshot','9gKhjvj','TEST_SCREENSHOT','JaUoq','prototype','Element','thBuildUuid','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','ETGDG','testAnalyticsId','captureError','mpLXF','bs:addLog:','6YPTzse','setSessionName','bddStep','event','HOOK_RUN_FINISHED','76177680bAzwhn','fireEvent','../../bin/playwright/accessibility-helper','FsbOL','passed','initSaveScreenshot','executeScript','browserStackExecuteDriver','BROWSERSTACK_TESTHUB_JWT','getResults','36uiAmdG','ccXCk','name','toString','ARJzp','287463MLBiDO','action','Performing\x20scan\x20for\x20','bVwkE','env','bind','browser','performScan','skipped','failed','status','9928170fTmBtx','Puppeteer','TEST_RUN_STARTED','../../helpers/performance-tester','after','ewKzY','FwRXn','nrpDC','basBj','codeceptjs/lib/helper/WebDriver.js','__skipSessionStatus','dispatcher','_before','reason','started','captureEvent','Playwright','102829Jebmwt','forEach','NzRJq','filter','codeceptjs/lib/index.js','ctx','info','gAMdY','enabled','9247568QtqwMR','constructor','thJwtToken','ZDnRq','winstonLogger','toISOString','KJfPI','arguments','find','add','2dOXQGF','startMonitoring','class','catch','TEST_RUN_FINISHED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','comment','format','../../helpers/request-spy','__workerDetails','title','HOSPr','emit','319257nzZzun','helpers','../../helpers/testhub/constants.js','./helper.js','bstackAllyScanning','restore','codeceptjs/lib/recorder.js','87265DCfxSd','sTySy','commandsToWrap','ZoPeQ','WebDriver','./o11yHelper','../../helpers/test-observability/utils'];a1_0x22e7=function(){return _0x149b9b;};return a1_0x22e7();}function a1_0x4984(_0x5c01aa,_0xa85a63){const _0x22e707=a1_0x22e7();return a1_0x4984=function(_0x498488,_0x4cd55f){_0x498488=_0x498488-0x6c;let _0x3b0ff7=_0x22e707[_0x498488];return _0x3b0ff7;},a1_0x4984(_0x5c01aa,_0xa85a63);}(function(_0xd2aae,_0x26ecab){const _0x1a1b2b=a1_0x4984,_0x205cd1=_0xd2aae();while(!![]){try{const _0x2be0e4=-parseInt(_0x1a1b2b(0x10e))/0x1*(parseInt(_0x1a1b2b(0x77))/0x2)+parseInt(_0x1a1b2b(0x84))/0x3*(-parseInt(_0x1a1b2b(0xed))/0x4)+-parseInt(_0x1a1b2b(0x8b))/0x5+-parseInt(_0x1a1b2b(0xde))/0x6*(parseInt(_0x1a1b2b(0xfd))/0x7)+parseInt(_0x1a1b2b(0x6d))/0x8*(-parseInt(_0x1a1b2b(0xd2))/0x9)+-parseInt(_0x1a1b2b(0x99))/0xa*(parseInt(_0x1a1b2b(0xf2))/0xb)+parseInt(_0x1a1b2b(0xe3))/0xc;if(_0x2be0e4===_0x26ecab)break;else _0x205cd1['push'](_0x205cd1['shift']());}catch(_0x5145ca){_0x205cd1['push'](_0x205cd1['shift']());}}}(a1_0x22e7,0xe6b18));const fs=require('fs'),util=require(a1_0x4e2ac0(0xc0)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4e2ac0(0xa4))[a1_0x4e2ac0(0x71)],testOpsHelper=require(a1_0x4e2ac0(0x91)),requestSpy=require(a1_0x4e2ac0(0x7f)),PlaywrightSessionDetails=require(a1_0x4e2ac0(0xc2)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4e2ac0(0x90)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4e2ac0(0xc4)),AccessibilityHelper=require(a1_0x4e2ac0(0xe5)),scripts=require(a1_0x4e2ac0(0xa8)),PerformanceTester=require(a1_0x4e2ac0(0x100)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4e2ac0(0x87)),testHubConstants=require(a1_0x4e2ac0(0x86)),CodeceptJS=requireModule(a1_0x4e2ac0(0x112)),CodeceptUtils=requireModule(a1_0x4e2ac0(0xa2)),CodeceptWebDriver=requireModule(a1_0x4e2ac0(0x106)),CodeceptRecorder=requireModule(a1_0x4e2ac0(0x8a)),CodeceptPlaywright=requireModule(a1_0x4e2ac0(0xcb)),playwrightMarkSessionStatus=(_0x5a4d49,_0x4f9960,_0x568dac)=>{const _0x16f3af=a1_0x4e2ac0,_0x49a624={'DcVyA':'setSessionStatus','fnnMX':function(_0x2a9eff,_0x487771){return _0x2a9eff(_0x487771);}},_0x5ef219={};_0x5ef219[_0x16f3af(0xfc)]=_0x4f9960;const _0x374f30={};_0x374f30[_0x16f3af(0xf3)]=_0x49a624[_0x16f3af(0xc7)],_0x374f30[_0x16f3af(0x74)]=_0x5ef219;const _0x25cf50=_0x374f30;return!_0x49a624[_0x16f3af(0xb6)](isUndefined,_0x568dac)&&(_0x25cf50[_0x16f3af(0x74)][_0x16f3af(0x10a)]=JSON['stringify'](_0x568dac)),_0x5a4d49['executeScript'](()=>{},_0x16f3af(0xa0)+JSON[_0x16f3af(0xbc)](_0x25cf50));},o11ySync=async _0x7cf6ad=>{const _0x2325cd=a1_0x4e2ac0,_0x546c73={};_0x546c73[_0x2325cd(0xb1)]=function(_0x124e3c,_0x2f5e0b){return _0x124e3c===_0x2f5e0b;},_0x546c73['ETGDG']='Playwright';const _0x151a98=_0x546c73;_0x151a98[_0x2325cd(0xb1)](_0x7cf6ad[_0x2325cd(0x6e)][_0x2325cd(0xef)],_0x151a98[_0x2325cd(0xd9)])?await _0x7cf6ad['executeScript'](_0xb54eed=>{},testOpsHelper[_0x2325cd(0x93)]()):await _0x7cf6ad[_0x2325cd(0xe9)](testOpsHelper['getSyncScript']());},markSessionName=async(_0xbc33f7,_0x1a5a5c)=>{const _0xbad070=a1_0x4e2ac0,_0x161f18={};_0x161f18[_0xbad070(0x95)]=_0xbad070(0xdf),_0x161f18[_0xbad070(0x102)]=function(_0x312b45,_0xb96b12){return _0x312b45===_0xb96b12;},_0x161f18[_0xbad070(0x73)]='Playwright';const _0x248267=_0x161f18,_0x22c0fb={};_0x22c0fb[_0xbad070(0xef)]=_0x1a5a5c;const _0x5419d9={};_0x5419d9[_0xbad070(0xf3)]=_0x248267[_0xbad070(0x95)],_0x5419d9['arguments']=_0x22c0fb;const _0x5e2cb6=_0x5419d9;_0x248267[_0xbad070(0x102)](_0xbc33f7[_0xbad070(0x6e)][_0xbad070(0xef)],_0x248267[_0xbad070(0x73)])?await _0xbc33f7[_0xbad070(0xe9)](()=>{},_0xbad070(0xa0)+JSON[_0xbad070(0xbc)](_0x5e2cb6)):await _0xbc33f7[_0xbad070(0xe9)](_0xbad070(0xa0)+JSON[_0xbad070(0xbc)](_0x5e2cb6));},patchSaveScreenshot=_0x4d94b7=>{const _0xc6da16=a1_0x4e2ac0,_0x241324={'zPOrA':'base64','BXeMx':_0xc6da16(0xd3),'guYUc':function(_0x39ab2b){return _0x39ab2b();},'JaUoq':function(_0x3fc17e,_0x2b22c1){return _0x3fc17e(_0x2b22c1);}};_0x241324[_0xc6da16(0xd4)](isTrue,process['env'][_0xc6da16(0xbd)])&&!_0x4d94b7[_0xc6da16(0x9d)]&&(_0x4d94b7[_0xc6da16(0x9d)]=!![],_0x4d94b7[_0xc6da16(0xe8)]=_0x4d94b7['saveScreenshot'],_0x4d94b7[_0xc6da16(0xd1)]=(_0x3e68cb,_0x259010=![])=>{const _0x5199a9=_0xc6da16,_0x438039={'Apnbx':_0x241324['zPOrA'],'Afwbc':_0x241324[_0x5199a9(0x9a)],'LRvFA':function(_0x13f487){return _0x241324['guYUc'](_0x13f487);}};return new Promise(function(_0x4ce47c,_0x318e8e){const _0x4bf07d=_0x5199a9,_0x206ecc={'DGQxG':_0x438039[_0x4bf07d(0xcc)],'gAMdY':_0x438039[_0x4bf07d(0xa9)],'ByYvO':function(_0x1338fd){return _0x438039['LRvFA'](_0x1338fd);}};_0x4d94b7[_0x4bf07d(0xe8)](_0x3e68cb,_0x259010)[_0x4bf07d(0x98)](()=>{const _0x2306f4=_0x4bf07d,_0x310d70=CodeceptUtils['screenshotOutputFolder'](_0x3e68cb),_0x58d3a8=fs['readFileSync'](_0x310d70);process[_0x2306f4(0x83)](_0x2306f4(0xdd)+process['pid'],{'timestamp':new Date()[_0x2306f4(0x72)](),'message':_0x58d3a8[_0x2306f4(0xf0)](_0x206ecc[_0x2306f4(0x94)]),'kind':_0x206ecc[_0x2306f4(0x115)]}),_0x206ecc[_0x2306f4(0xbb)](_0x4ce47c);})[_0x4bf07d(0x7a)](()=>null);});});},patchWebDriverBefore=_0x194352=>{const _0x3b1e0f=a1_0x4e2ac0,_0x52d175={'cBELZ':function(_0x17ed1a){return _0x17ed1a();},'ZDnRq':function(_0x39743e,_0xfdc038){return _0x39743e(_0xfdc038);},'vTpoF':function(_0x51ac7b,_0x90b65f){return _0x51ac7b===_0x90b65f;},'kntSK':_0x3b1e0f(0xd6)},_0x37f875=async function(_0x4d17d9,_0x5d99bb){const _0x5c18d2=_0x3b1e0f;return _0x52d175[_0x5c18d2(0xb5)](isAccessibilityAutomationSession)&&!global[_0x5c18d2(0x88)]&&global[_0x5c18d2(0xd0)]&&scripts[_0x5c18d2(0xa6)](_0x4d17d9[_0x5c18d2(0xef)])&&_0x52d175[_0x5c18d2(0x70)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x5c18d2(0x9e)](_0x5c18d2(0xf4)+_0x4d17d9[_0x5c18d2(0x79)]+'\x20'+_0x4d17d9[_0x5c18d2(0xef)]),await AccessibilityHelper[_0x5c18d2(0xea)](_0x194352,scripts['performScan'])),global[_0x5c18d2(0x88)]=![],_0x5d99bb[_0x5c18d2(0xb7)](this,Array[_0x5c18d2(0xd5)][_0x5c18d2(0x9f)]['call'](arguments,0x2));},_0x5de062=CodeceptWebDriver[_0x3b1e0f(0xd5)]['_before'];CodeceptWebDriver[_0x3b1e0f(0xd5)][_0x3b1e0f(0x109)]=async function(){const _0x22fdb7=_0x3b1e0f;await _0x5de062['apply'](this,arguments),scripts[_0x22fdb7(0x8d)][_0x22fdb7(0x111)](_0x9a4638=>_0x9a4638[_0x22fdb7(0xef)]&&_0x9a4638['class'])[_0x22fdb7(0x10f)](_0x3e1e50=>{const _0x1333a0=_0x22fdb7;this[_0x1333a0(0xf8)][_0x1333a0(0xa5)](_0x3e1e50['name'],_0x37f875[_0x1333a0(0xf7)](this,_0x3e1e50),_0x52d175['vTpoF'](_0x3e1e50['class'],_0x52d175[_0x1333a0(0x96)]));}),_0x52d175[_0x22fdb7(0x70)](processWebDriverConfig,_0x194352);};},patchPlaywrightBefore=()=>{const _0x3a7a82=a1_0x4e2ac0;PlaywrightSessionDetails['patch']();const _0x24668d=CodeceptPlaywright[_0x3a7a82(0xd5)][_0x3a7a82(0x109)];CodeceptPlaywright['prototype'][_0x3a7a82(0x109)]=async function(){const _0x26a58b=_0x3a7a82;this[_0x26a58b(0xb4)]=await this[_0x26a58b(0xf8)][_0x26a58b(0x9b)]()[0x0],await _0x24668d[_0x26a58b(0xb7)](this,arguments);};},getCodeceptDriver=()=>{const _0x307f80=a1_0x4e2ac0,_0x5c0393={};_0x5c0393['ExOou']=_0x307f80(0x8f),_0x5c0393['ARJzp']='Playwright',_0x5c0393['sTySy']=_0x307f80(0xfe),_0x5c0393['woTTb']=_0x307f80(0xad);const _0x1a3271=_0x5c0393,_0x300259=[_0x1a3271[_0x307f80(0xb3)],_0x1a3271[_0x307f80(0xf1)],_0x1a3271[_0x307f80(0x8c)],_0x1a3271[_0x307f80(0xbe)]],_0x2b8585=_0x300259[_0x307f80(0x75)](_0x1f94fe=>!!CodeceptJS[_0x307f80(0xab)]['helpers'](_0x1f94fe));if(!_0x2b8585)return null;return CodeceptJS[_0x307f80(0xab)]['helpers'](_0x2b8585);};module['exports']=function(_0x1eaf80){const _0x4a6ae8=a1_0x4e2ac0,_0x2e83df={'FwRXn':_0x4a6ae8(0x7c),'LrnYD':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ZoPeQ':function(_0x526dad){return _0x526dad();},'FsbOL':function(_0x35eae1,_0x45e15e){return _0x35eae1(_0x45e15e);},'NzRJq':function(_0x2b7e48,_0x46c868,_0x19b713){return _0x2b7e48(_0x46c868,_0x19b713);},'mSSpn':function(_0x16975b){return _0x16975b();},'pUIoX':function(_0x9f6d7c,_0x7be16f,_0x3558ee){return _0x9f6d7c(_0x7be16f,_0x3558ee);},'Zvpdk':function(_0x133eec){return _0x133eec();},'bVwkE':function(_0x3b666b,_0x21b6b9,_0x16f7f6,_0x44647a){return _0x3b666b(_0x21b6b9,_0x16f7f6,_0x44647a);},'TLeXE':function(_0x4e35ec,_0x47b832){return _0x4e35ec===_0x47b832;},'KPBwg':_0x4a6ae8(0xbf),'basBj':_0x4a6ae8(0xc8),'mpLXF':'INFO','HOSPr':'TEST_LOG','tKCJV':function(_0x4a42fa){return _0x4a42fa();},'eYtix':_0x4a6ae8(0x10d),'NMLDs':function(_0x5cf0de){return _0x5cf0de();},'LDMJH':function(_0x26d9d3,_0x353cf2){return _0x26d9d3(_0x353cf2);}};_0x1eaf80[_0x4a6ae8(0xac)]&&(global[_0x4a6ae8(0x107)]=_0x1eaf80[_0x4a6ae8(0xac)]);PerformanceTester[_0x4a6ae8(0x78)]();const _0xebb21e=_0x2e83df[_0x4a6ae8(0x97)](getCodeceptDriver),_0x3d614e=new O11yHelper(_0xebb21e,_0x1eaf80),_0x4f043=!!CodeceptJS['container'][_0x4a6ae8(0x85)](_0x2e83df['eYtix']);global[_0x4a6ae8(0xca)]=_0xebb21e,_0xebb21e&&(_0x4f043?_0x2e83df['NMLDs'](patchPlaywrightBefore):_0x2e83df[_0x4a6ae8(0xe6)](patchWebDriverBefore,_0xebb21e),_0xebb21e['getAccessibilityResultsSummary']=async()=>{const _0x1679cf=_0x4a6ae8;if(global[_0x1679cf(0xd0)])await AccessibilityHelper[_0x1679cf(0xea)](_0xebb21e,scripts[_0x1679cf(0xf9)]),await AccessibilityHelper[_0x1679cf(0xea)](_0xebb21e,scripts[_0x1679cf(0xce)]);else return logger['warn'](_0x2e83df[_0x1679cf(0x103)]),{};},_0xebb21e[_0x4a6ae8(0xae)]=async()=>{const _0x4d2951=_0x4a6ae8;if(global[_0x4d2951(0xd0)])await AccessibilityHelper['browserStackExecuteDriver'](_0xebb21e,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0xebb21e,scripts[_0x4d2951(0xec)]);else return logger['warn'](_0x2e83df['LrnYD']),{};},_0x2e83df['LDMJH'](patchSaveScreenshot,_0xebb21e)),CodeceptJS['event'][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xc5)][_0x4a6ae8(0x9c)],()=>{const _0x423a5d=_0x4a6ae8;try{_0x3d614e[_0x423a5d(0xcf)](),testOpsHelper[_0x423a5d(0xa7)]();}catch(_0x5dda83){PerformanceTester[_0x423a5d(0xdb)](_0x5dda83);}}),CodeceptJS[_0x4a6ae8(0xe1)]['dispatcher']['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xc5)][_0x4a6ae8(0x101)],async()=>{const _0x1f47b8=_0x4a6ae8;try{requestSpy[_0x1f47b8(0x89)](),await _0x3d614e['stop']();}catch(_0x3489d1){PerformanceTester['captureError'](_0x3489d1);}finally{PerformanceTester[_0x1f47b8(0xc3)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaf)][_0x4a6ae8(0x10b)],_0x3f9ae5=>{const _0x4c0445=_0x4a6ae8;try{const _0x1197a6=_0x3f9ae5['ctx'][_0x4c0445(0xaa)],_0x27e316=_0x3d614e[_0x4c0445(0x10c)](TEST_EVENTS[_0x4c0445(0xb8)],_0x1197a6);CodeceptRecorder[_0x4c0445(0x76)](()=>_0x3d614e[_0x4c0445(0xe4)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x27e316));}catch(_0x4e79a2){PerformanceTester[_0x4c0445(0xdb)](_0x4e79a2);}}),CodeceptJS['event'][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaf)][_0x4a6ae8(0xe7)],_0x2e354e=>{const _0x3c9f7c=_0x4a6ae8;try{const _0x4c757f=_0x2e354e[_0x3c9f7c(0x113)]['test'],_0x2f4850=_0x3d614e['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4c757f);CodeceptRecorder[_0x3c9f7c(0x76)](()=>_0x3d614e[_0x3c9f7c(0xe4)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2f4850));}catch(_0xfc0d0b){PerformanceTester[_0x3c9f7c(0xdb)](_0xfc0d0b);}}),CodeceptJS['event'][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaf)][_0x4a6ae8(0xfb)],async(_0x473f34,_0xcb9da3)=>{const _0x464785=_0x4a6ae8;try{const _0x537ac7=_0x473f34[_0x464785(0x113)][_0x464785(0xaa)],_0x1fa0c0=_0x3d614e[_0x464785(0x10c)](TEST_EVENTS[_0x464785(0xe2)],_0x537ac7,_0xcb9da3);CodeceptRecorder[_0x464785(0x76)](()=>_0x3d614e[_0x464785(0xe4)](TEST_EVENTS[_0x464785(0xe2)],_0x1fa0c0));}catch(_0x2d32d1){PerformanceTester[_0x464785(0xdb)](_0x2d32d1);}}),CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaa)][_0x4a6ae8(0x9c)],_0x404ba5=>{const _0x5be848=_0x4a6ae8;try{_0x2e83df[_0x5be848(0x8e)](isBrowserstackInfra)&&(_0x4f043&&(global[_0x5be848(0x80)]={'currentTest':{'name':_0x404ba5['title'],'testInfo':{'titlePath':_0x404ba5[_0x5be848(0xc6)]()}}}));}catch(_0x551da1){PerformanceTester[_0x5be848(0xdb)](_0x551da1);}}),CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaa)][_0x4a6ae8(0x10b)],_0x174376=>{const _0x3cd271=_0x4a6ae8,_0x3790f3={'MIzWC':function(_0x4d666a){const _0x1cf408=a1_0x4984;return _0x2e83df[_0x1cf408(0x8e)](_0x4d666a);},'nrpDC':function(_0x120191,_0x2f4b7e){const _0xce220=a1_0x4984;return _0x2e83df[_0xce220(0xe6)](_0x120191,_0x2f4b7e);},'ccXCk':function(_0x13fe31,_0x572415,_0x1d0f70){const _0x3cbfcf=a1_0x4984;return _0x2e83df[_0x3cbfcf(0x110)](_0x13fe31,_0x572415,_0x1d0f70);}};try{const _0xe13e71=_0x3d614e[_0x3cd271(0x10c)](TEST_EVENTS[_0x3cd271(0xff)],_0x174376);CodeceptRecorder[_0x3cd271(0x76)](()=>_0x3d614e[_0x3cd271(0xe4)](TEST_EVENTS[_0x3cd271(0xff)],_0xe13e71)),CodeceptRecorder[_0x3cd271(0x76)](async()=>{const _0x2950c6=_0x3cd271;_0x3790f3['MIzWC'](isBrowserstackInfra)&&(!_0x3790f3['nrpDC'](isTrue,_0x1eaf80[_0x2950c6(0x92)])&&await _0x3790f3[_0x2950c6(0xee)](markSessionName,_0xebb21e,_0x174376[_0x2950c6(0x81)]),_0x3d614e[_0x2950c6(0x6c)]&&await _0x3790f3[_0x2950c6(0x104)](o11ySync,_0xebb21e));});}catch(_0x487300){PerformanceTester[_0x3cd271(0xdb)](_0x487300);}}),CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaa)]['passed'],_0x14d17e=>{const _0x425693=_0x4a6ae8;try{const _0x2889d6=_0x3d614e[_0x425693(0x10c)](TEST_EVENTS[_0x425693(0x7b)],_0x14d17e);CodeceptRecorder['add'](()=>_0x3d614e[_0x425693(0xe4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2889d6)),CodeceptRecorder['add'](async()=>{const _0x592102=_0x425693;_0x2e83df['mSSpn'](isBrowserstackInfra)&&(_0x4f043?await _0x2e83df[_0x592102(0x110)](playwrightMarkSessionStatus,_0xebb21e,STATE_PASSED):await _0x2e83df['pUIoX'](markSessionStatus,_0xebb21e,STATE_PASSED));});}catch(_0x34df75){PerformanceTester[_0x425693(0xdb)](_0x34df75);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaa)][_0x4a6ae8(0xfb)],(_0x357601,_0x55516a)=>{const _0x33fcdc=_0x4a6ae8;try{if(_0x2e83df['TLeXE'](_0x357601['constructor']['name'],_0x2e83df[_0x33fcdc(0xc1)])){const _0x42f860=_0x3d614e[_0x33fcdc(0x10c)](TEST_EVENTS[_0x33fcdc(0xb9)],_0x357601[_0x33fcdc(0x113)]['currentTest']);CodeceptRecorder[_0x33fcdc(0x76)](()=>_0x3d614e[_0x33fcdc(0xe4)](TEST_EVENTS[_0x33fcdc(0xb9)],_0x42f860));}else{const _0x5a694c=_0x3d614e[_0x33fcdc(0x10c)](TEST_EVENTS[_0x33fcdc(0x7b)],_0x357601,_0x55516a);CodeceptRecorder[_0x33fcdc(0x76)](()=>{const _0x362b59=_0x33fcdc;try{_0x3d614e['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5a694c);}catch(_0x39c4f8){logger[_0x362b59(0x9e)](_0x362b59(0xd8)+util[_0x362b59(0x7e)](_0x39c4f8));}}),CodeceptRecorder[_0x33fcdc(0x76)](async()=>{const _0x46c43a=_0x33fcdc;try{_0x2e83df['Zvpdk'](isBrowserstackInfra)&&(_0x4f043?await _0x2e83df[_0x46c43a(0xf5)](playwrightMarkSessionStatus,_0xebb21e,STATE_FAILED,_0x55516a):await _0x2e83df[_0x46c43a(0xf5)](markSessionStatus,_0xebb21e,STATE_FAILED,_0x55516a));}catch(_0x3b220e){logger[_0x46c43a(0x9e)](_0x46c43a(0xa1)+util[_0x46c43a(0x7e)](_0x3b220e));}});}}catch(_0x2231cb){PerformanceTester[_0x33fcdc(0xdb)](_0x2231cb);}}),CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xaa)][_0x4a6ae8(0xfa)],_0x148be1=>{const _0x1ae854=_0x4a6ae8;try{const _0x2e49a5=_0x3d614e[_0x1ae854(0x10c)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x148be1);CodeceptRecorder[_0x1ae854(0x76)](()=>_0x3d614e[_0x1ae854(0xe4)](TEST_EVENTS[_0x1ae854(0xb9)],_0x2e49a5));}catch(_0x54579e){PerformanceTester[_0x1ae854(0xdb)](_0x54579e);}}),CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0x108)]['on'](CodeceptJS['event'][_0x4a6ae8(0xaa)]['after'],async(_0x25e41d,_0xbc78b0)=>{const _0x55cfc3=_0x4a6ae8;try{if(_0x2e83df['mSSpn'](isBrowserstackInfra)){const _0x1e690a=_0x2e83df[_0x55cfc3(0x110)](shouldScanTestForAccessibility,_0x25e41d[_0x55cfc3(0xc6)](),!![]);if(_0x2e83df['mSSpn'](isAccessibilityAutomationSession)&&global[_0x55cfc3(0xd0)]&&_0x1e690a){const _0x5796b4={};_0x5796b4['thTestRunUuid']=_0x25e41d[_0x55cfc3(0xda)],_0x5796b4[_0x55cfc3(0xd7)]=process[_0x55cfc3(0xf6)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x5796b4[_0x55cfc3(0x6f)]=process[_0x55cfc3(0xf6)][testHubConstants[_0x55cfc3(0xc9)][_0x55cfc3(0xeb)]];const _0x842eeb=_0x5796b4;logger[_0x55cfc3(0x9e)](_0x55cfc3(0xb2)+JSON[_0x55cfc3(0xbc)](_0x842eeb)),CodeceptRecorder[_0x55cfc3(0x76)](async()=>{const _0x478585=_0x55cfc3;await AccessibilityHelper[_0x478585(0xea)](_0xebb21e,scripts[_0x478585(0xf9)]),await AccessibilityHelper[_0x478585(0xea)](_0xebb21e,scripts[_0x478585(0xcd)],_0x842eeb);}),logger[_0x55cfc3(0x114)](_0x2e83df[_0x55cfc3(0x105)]);}}}catch(_0x1012a8){PerformanceTester[_0x55cfc3(0xdb)](_0x1012a8);}}),CodeceptJS[_0x4a6ae8(0xe1)]['dispatcher']['on'](CodeceptJS['event'][_0x4a6ae8(0xa3)][_0x4a6ae8(0x7d)],_0x426298=>{const _0x4e222f=_0x4a6ae8;try{process[_0x4e222f(0x83)]('bs:addLog:'+process[_0x4e222f(0xba)],{'timestamp':new Date()[_0x4e222f(0x72)](),'level':_0x2e83df[_0x4e222f(0xdc)],'message':_0x426298,'kind':_0x2e83df[_0x4e222f(0x82)],'http_response':{}});}catch(_0x5b1756){PerformanceTester[_0x4e222f(0xdb)](_0x5b1756);}}),CodeceptJS[_0x4a6ae8(0xe1)]['dispatcher']['on'](CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0xe0)]['before'],_0x64320c=>{_0x3d614e['bddStepStart'](_0x64320c);}),CodeceptJS[_0x4a6ae8(0xe1)][_0x4a6ae8(0x108)]['on'](CodeceptJS[_0x4a6ae8(0xe1)]['bddStep'][_0x4a6ae8(0x101)],_0x359dca=>{const _0x1a747c=_0x4a6ae8;_0x3d614e[_0x1a747c(0xb0)](_0x359dca);});};
1
+ function a1_0x2854(){const _0x26f753=['browserStackExecuteDriver','startMonitoring','xAyKg','Puppeteer','catch','screenshotOutputFolder','../../helpers/performance-tester','wXZgK','titlePath','env','sZlqP','pid','restore','../../helpers/logger','ENV_VAR','step','aQtyV','sGdcH','toISOString','XKXfV','VRPPB','unpvF','readFileSync','codeceptjs','CQKXc','arguments','initSaveScreenshot','../../helpers/request-spy','saveScreenshot','qCPPe','_before','emit','find','TEST_RUN_SKIPPED','codeceptjs/lib/index.js','testAnalyticsId','event','getAccessibilityResultsSummary','kSiTf','codeceptjs/lib/utils.js','LHMoK','call','BROWSERSTACK_TESTHUB_JWT','after','TEST_RUN_FINISHED','format','filter','291114sQDvVX','SURIq','passed','getSyncScript','BROWSERSTACK_TESTHUB_UUID','RxakK','contexts','63PyRyEO','skipped','Element','UfLnw','helpers','bs:addLog:','__driver','browserstack_executor:\x20','patchSaveScreenshot','accessibilityPlatform','tBdkD','debug','111693dpfVVJ','winstonLogger','shouldWrapCommand','HOOK_RUN_FINISHED','test','constructor','bhvAJ','../../helpers/accessibility-automation/scripts','7822881hHbqlz','name','performScan','bddStep','TestCafe','hook','bstackAllyScanning','bddStepStart','action','thBuildUuid','started','yVDFz','AvmLd','2895450vSyZJW','2szxwex','WebDriver','TEST_RUN_STARTED','before','__skipSessionStatus','ZYynX','73364CvQwhn','then','Playwright','INFO','__workerDetails','dMQNI','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','setSessionStatus','add','TgJNh','enabled','captureEvent','hVAuY','../../helpers/helper','toBDf','2218464WthNeN','dispatcher','comment','2302880FHcvIk','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','warn','HOOK_RUN_STARTED','ctx','apply','WXpXd','hdZQp','getResults','stringify','BS_TESTOPS_ALLOW_SCREENSHOTS','kZcLj','bddStepFinish','thTestRunUuid','all','fEDTD','codeceptjs/lib/helper/WebDriver.js','Performing\x20scan\x20for\x20','mGaEx','saveTestResults','patch','../../bin/playwright/accessibility-helper','prototype','base64','setSessionName','executeScript','fireEvent','browser','failed','start','captureError','TEST_SCREENSHOT','status','holze','TEST_LOG','xSDVr','UOdab','./o11yHelper','info','overwriteCommand'];a1_0x2854=function(){return _0x26f753;};return a1_0x2854();}const a1_0x559d5d=a1_0x50fb;function a1_0x50fb(_0x3ec983,_0x4141d2){const _0x2854cc=a1_0x2854();return a1_0x50fb=function(_0x50fbf0,_0xf7b811){_0x50fbf0=_0x50fbf0-0x12c;let _0xb5d3b9=_0x2854cc[_0x50fbf0];return _0xb5d3b9;},a1_0x50fb(_0x3ec983,_0x4141d2);}(function(_0x2d6349,_0x3d8c70){const _0x257244=a1_0x50fb,_0x1d1ca8=_0x2d6349();while(!![]){try{const _0x359959=-parseInt(_0x257244(0x1b8))/0x1*(parseInt(_0x257244(0x1be))/0x2)+parseInt(_0x257244(0x1a2))/0x3+parseInt(_0x257244(0x138))/0x4+parseInt(_0x257244(0x1b7))/0x5+parseInt(_0x257244(0x18f))/0x6*(parseInt(_0x257244(0x196))/0x7)+-parseInt(_0x257244(0x135))/0x8+-parseInt(_0x257244(0x1aa))/0x9;if(_0x359959===_0x3d8c70)break;else _0x1d1ca8['push'](_0x1d1ca8['shift']());}catch(_0x834dda){_0x1d1ca8['push'](_0x1d1ca8['shift']());}}}(a1_0x2854,0x63cff));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x559d5d(0x133)),logger=require(a1_0x559d5d(0x16d))[a1_0x559d5d(0x1a3)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x559d5d(0x17b)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x559d5d(0x15d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x559d5d(0x14d)),scripts=require(a1_0x559d5d(0x1a9)),PerformanceTester=require(a1_0x559d5d(0x166)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x559d5d(0x182),a1_0x559d5d(0x177)),CodeceptUtils=requireModule(a1_0x559d5d(0x187),a1_0x559d5d(0x177)),CodeceptWebDriver=requireModule(a1_0x559d5d(0x148),a1_0x559d5d(0x177)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x559d5d(0x177)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x559d5d(0x177)),playwrightMarkSessionStatus=(_0x552c30,_0x34a424,_0x1e206f)=>{const _0x1e0774=a1_0x559d5d,_0x9323e5={'TCVwx':_0x1e0774(0x12d),'xSDVr':function(_0x3b8eb8,_0x59f055){return _0x3b8eb8(_0x59f055);}},_0x3f2a17={};_0x3f2a17[_0x1e0774(0x158)]=_0x34a424;const _0x23cf28={};_0x23cf28['action']=_0x9323e5['TCVwx'],_0x23cf28['arguments']=_0x3f2a17;const _0x251704=_0x23cf28;return!_0x9323e5[_0x1e0774(0x15b)](isUndefined,_0x1e206f)&&(_0x251704[_0x1e0774(0x179)]['reason']=JSON[_0x1e0774(0x141)](_0x1e206f)),_0x552c30[_0x1e0774(0x151)](()=>{},_0x1e0774(0x19d)+JSON[_0x1e0774(0x141)](_0x251704));},o11ySync=async _0x5708ab=>{const _0x25c991=a1_0x559d5d,_0x495b23={};_0x495b23[_0x25c991(0x175)]=function(_0x24cacb,_0x2a13fa){return _0x24cacb===_0x2a13fa;},_0x495b23[_0x25c991(0x162)]='Playwright';const _0x5596c4=_0x495b23;_0x5596c4[_0x25c991(0x175)](_0x5708ab[_0x25c991(0x1a7)]['name'],_0x5596c4[_0x25c991(0x162)])?await _0x5708ab[_0x25c991(0x151)](_0x15ec39=>{},testOpsHelper['getSyncScript']()):await _0x5708ab[_0x25c991(0x151)](testOpsHelper[_0x25c991(0x192)]());},markSessionName=async(_0x5368a2,_0x56abbb)=>{const _0x372aca=a1_0x559d5d,_0x4c0502={};_0x4c0502[_0x372aca(0x1bd)]=_0x372aca(0x150),_0x4c0502['gXEBx']=function(_0x178e2b,_0x442e64){return _0x178e2b===_0x442e64;},_0x4c0502['hVAuY']=_0x372aca(0x1c0);const _0x535973=_0x4c0502,_0x46fb41={};_0x46fb41[_0x372aca(0x1ab)]=_0x56abbb;const _0xe14b40={};_0xe14b40[_0x372aca(0x1b2)]=_0x535973[_0x372aca(0x1bd)],_0xe14b40[_0x372aca(0x179)]=_0x46fb41;const _0x598883=_0xe14b40;_0x535973['gXEBx'](_0x5368a2[_0x372aca(0x1a7)][_0x372aca(0x1ab)],_0x535973[_0x372aca(0x132)])?await _0x5368a2['executeScript'](()=>{},_0x372aca(0x19d)+JSON['stringify'](_0x598883)):await _0x5368a2[_0x372aca(0x151)](_0x372aca(0x19d)+JSON['stringify'](_0x598883));},patchSaveScreenshot=_0x3a6039=>{const _0x4a95bd=a1_0x559d5d,_0x3c31f3={'tBdkD':_0x4a95bd(0x14f),'dMQNI':_0x4a95bd(0x157),'HSxhB':function(_0x406474){return _0x406474();},'bhvAJ':function(_0x4aeabb,_0x3df127){return _0x4aeabb(_0x3df127);}};_0x3c31f3[_0x4a95bd(0x1a8)](isTrue,process[_0x4a95bd(0x169)][_0x4a95bd(0x142)])&&!_0x3a6039[_0x4a95bd(0x19e)]&&(_0x3a6039[_0x4a95bd(0x19e)]=!![],_0x3a6039[_0x4a95bd(0x17a)]=_0x3a6039[_0x4a95bd(0x17c)],_0x3a6039[_0x4a95bd(0x17c)]=(_0x2bb45c,_0x8f8523=![])=>{return new Promise(function(_0x54fe9f,_0x5c9d1e){const _0xda595b=a1_0x50fb,_0x58d94d={'LHMoK':_0x3c31f3[_0xda595b(0x1a0)],'wXZgK':_0x3c31f3[_0xda595b(0x1c3)],'toBDf':function(_0x1cf920){return _0x3c31f3['HSxhB'](_0x1cf920);}};_0x3a6039[_0xda595b(0x17a)](_0x2bb45c,_0x8f8523)[_0xda595b(0x1bf)](()=>{const _0x31be5a=_0xda595b,_0x1b2d0e=CodeceptUtils[_0x31be5a(0x165)](_0x2bb45c),_0x12dc9c=fs[_0x31be5a(0x176)](_0x1b2d0e);process[_0x31be5a(0x17f)](_0x31be5a(0x19b)+process[_0x31be5a(0x16b)],{'timestamp':new Date()[_0x31be5a(0x172)](),'message':_0x12dc9c['toString'](_0x58d94d[_0x31be5a(0x188)]),'kind':_0x58d94d[_0x31be5a(0x167)]}),_0x58d94d[_0x31be5a(0x134)](_0x54fe9f);})[_0xda595b(0x164)](()=>null);});});},patchWebDriverBefore=_0x17d9e2=>{const _0x4fcc07=a1_0x559d5d,_0x4cb203={'ZFTbM':function(_0x33c4a5){return _0x33c4a5();},'sGdcH':function(_0x501de3,_0x507bbb){return _0x501de3(_0x507bbb);},'CQKXc':function(_0x1b20c6,_0x3a05b8){return _0x1b20c6===_0x3a05b8;},'Pucfr':_0x4fcc07(0x198),'MbnYY':function(_0x19be68,_0x4cc861){return _0x19be68(_0x4cc861);}},_0x292084=async function(_0x59297a,_0x3bb055){const _0x4536e2=_0x4fcc07;return _0x4cb203['ZFTbM'](isAccessibilityAutomationSession)&&!global[_0x4536e2(0x1b0)]&&global['accessibilityPlatform']&&scripts[_0x4536e2(0x1a4)](_0x59297a[_0x4536e2(0x1ab)])&&_0x4cb203[_0x4536e2(0x171)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4536e2(0x1b0)]=!![],logger[_0x4536e2(0x1a1)](_0x4536e2(0x149)+_0x59297a['class']+'\x20'+_0x59297a[_0x4536e2(0x1ab)]),await AccessibilityHelper[_0x4536e2(0x160)](_0x17d9e2,scripts[_0x4536e2(0x1ac)])),global[_0x4536e2(0x1b0)]=![],_0x3bb055[_0x4536e2(0x13d)](this,Array[_0x4536e2(0x14e)]['slice'][_0x4536e2(0x189)](arguments,0x2));},_0x3d1cdd=CodeceptWebDriver[_0x4fcc07(0x14e)]['_before'];CodeceptWebDriver[_0x4fcc07(0x14e)][_0x4fcc07(0x17e)]=async function(){const _0x432b17=_0x4fcc07;await _0x3d1cdd[_0x432b17(0x13d)](this,arguments),scripts['commandsToWrap'][_0x432b17(0x18e)](_0x343a76=>_0x343a76['name']&&_0x343a76['class'])['forEach'](_0x301a83=>{const _0x296d9e=_0x432b17;this[_0x296d9e(0x153)][_0x296d9e(0x15f)](_0x301a83[_0x296d9e(0x1ab)],_0x292084['bind'](this,_0x301a83),_0x4cb203[_0x296d9e(0x178)](_0x301a83['class'],_0x4cb203['Pucfr']));}),_0x4cb203['MbnYY'](processWebDriverConfig,_0x17d9e2);};},patchPlaywrightBefore=()=>{const _0x385c99=a1_0x559d5d;PlaywrightSessionDetails[_0x385c99(0x14c)]();const _0x70214e=CodeceptPlaywright[_0x385c99(0x14e)][_0x385c99(0x17e)];CodeceptPlaywright[_0x385c99(0x14e)]['_before']=async function(){const _0x32ebbc=_0x385c99;this['browserContext']=await this[_0x32ebbc(0x153)][_0x32ebbc(0x195)]()[0x0],await _0x70214e[_0x32ebbc(0x13d)](this,arguments);};},getCodeceptDriver=()=>{const _0x355b33=a1_0x559d5d,_0x14f550={};_0x14f550[_0x355b33(0x186)]=_0x355b33(0x1b9),_0x14f550[_0x355b33(0x15c)]=_0x355b33(0x1c0),_0x14f550[_0x355b33(0x16a)]=_0x355b33(0x163),_0x14f550['TgJNh']=_0x355b33(0x1ae);const _0x1305a0=_0x14f550,_0x422783=[_0x1305a0['kSiTf'],_0x1305a0[_0x355b33(0x15c)],_0x1305a0[_0x355b33(0x16a)],_0x1305a0[_0x355b33(0x12f)]],_0x1080d5=_0x422783[_0x355b33(0x180)](_0x4f7460=>!!CodeceptJS['container'][_0x355b33(0x19a)](_0x4f7460));if(!_0x1080d5)return null;return CodeceptJS['container']['helpers'](_0x1080d5);};module['exports']=function(_0x37efce){const _0x109354=a1_0x559d5d,_0x3fd3b5={'LBegC':_0x109354(0x12c),'mGaEx':_0x109354(0x139),'VRPPB':function(_0xd23c64){return _0xd23c64();},'fEDTD':function(_0x2a8384,_0x3bcd02){return _0x2a8384(_0x3bcd02);},'yVDFz':function(_0x2602f5,_0x2a92a1,_0xb1bce3){return _0x2602f5(_0x2a92a1,_0xb1bce3);},'UfLnw':function(_0x638c1d,_0x1e68af,_0x1c986e){return _0x638c1d(_0x1e68af,_0x1c986e);},'WXpXd':function(_0x2ca985,_0x481eac,_0x228ba1,_0x573774){return _0x2ca985(_0x481eac,_0x228ba1,_0x573774);},'holze':function(_0xafe1c,_0x45db43){return _0xafe1c===_0x45db43;},'ZWyXq':'Suite','XKXfV':function(_0x5d10ff){return _0x5d10ff();},'oiLMM':function(_0x19ff04,_0x486c7b,_0x2e6619){return _0x19ff04(_0x486c7b,_0x2e6619);},'RxakK':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kZcLj':_0x109354(0x1c1),'qCPPe':_0x109354(0x15a),'aquGI':_0x109354(0x1c0),'AvmLd':function(_0x532fae){return _0x532fae();},'xcLBE':function(_0x59097a,_0xb5dab9){return _0x59097a(_0xb5dab9);}};_0x37efce['skipSessionStatus']&&(global[_0x109354(0x1bc)]=_0x37efce['skipSessionStatus']);PerformanceTester[_0x109354(0x161)]();const _0x307638=_0x3fd3b5[_0x109354(0x173)](getCodeceptDriver),_0x8e6edb=new O11yHelper(_0x307638,_0x37efce),_0x4d662a=!!CodeceptJS['container']['helpers'](_0x3fd3b5['aquGI']);global[_0x109354(0x19c)]=_0x307638,_0x307638&&(_0x4d662a?_0x3fd3b5[_0x109354(0x1b6)](patchPlaywrightBefore):_0x3fd3b5[_0x109354(0x147)](patchWebDriverBefore,_0x307638),_0x307638[_0x109354(0x185)]=async()=>{const _0x361189=_0x109354;if(global[_0x361189(0x19f)])await AccessibilityHelper['browserStackExecuteDriver'](_0x307638,scripts[_0x361189(0x1ac)]),await AccessibilityHelper[_0x361189(0x160)](_0x307638,scripts['getResultsSummary']);else return logger[_0x361189(0x13a)](_0x3fd3b5['LBegC']),{};},_0x307638['getAccessibilityResults']=async()=>{const _0x35631a=_0x109354;if(global[_0x35631a(0x19f)])await AccessibilityHelper[_0x35631a(0x160)](_0x307638,scripts[_0x35631a(0x1ac)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x307638,scripts[_0x35631a(0x140)]);else return logger[_0x35631a(0x13a)](_0x3fd3b5[_0x35631a(0x14a)]),{};},_0x3fd3b5['xcLBE'](patchSaveScreenshot,_0x307638)),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x146)]['before'],()=>{const _0x23ff4e=_0x109354;try{_0x8e6edb[_0x23ff4e(0x155)](),testOpsHelper['addRequestSpy']();}catch(_0xe90e0e){PerformanceTester[_0x23ff4e(0x156)](_0xe90e0e);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x109354(0x146)][_0x109354(0x18b)],async()=>{const _0x1072e0=_0x109354;try{requestSpy[_0x1072e0(0x16c)](),await _0x8e6edb['stop']();}catch(_0x5c67df){PerformanceTester['captureError'](_0x5c67df);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)]['hook'][_0x109354(0x1b4)],_0x4383a3=>{const _0x198d20=_0x109354;try{const _0x45004f=_0x4383a3['ctx'][_0x198d20(0x1a6)],_0x36aa06=_0x8e6edb['captureEvent'](TEST_EVENTS[_0x198d20(0x13b)],_0x45004f);CodeceptRecorder[_0x198d20(0x12e)](()=>_0x8e6edb[_0x198d20(0x152)](TEST_EVENTS[_0x198d20(0x13b)],_0x36aa06));}catch(_0x40ca14){PerformanceTester[_0x198d20(0x156)](_0x40ca14);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1af)]['passed'],_0x4121e4=>{const _0x2bc336=_0x109354;try{const _0x80b90d=_0x4121e4[_0x2bc336(0x13c)][_0x2bc336(0x1a6)],_0x5ad7f9=_0x8e6edb[_0x2bc336(0x131)](TEST_EVENTS[_0x2bc336(0x1a5)],_0x80b90d);CodeceptRecorder[_0x2bc336(0x12e)](()=>_0x8e6edb[_0x2bc336(0x152)](TEST_EVENTS[_0x2bc336(0x1a5)],_0x5ad7f9));}catch(_0x5e7be0){PerformanceTester[_0x2bc336(0x156)](_0x5e7be0);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1af)][_0x109354(0x154)],async(_0x5953e8,_0x5e0b4b)=>{const _0x52a16d=_0x109354;try{const _0x5c0654=_0x5953e8[_0x52a16d(0x13c)][_0x52a16d(0x1a6)],_0x31bae5=_0x8e6edb['captureEvent'](TEST_EVENTS[_0x52a16d(0x1a5)],_0x5c0654,_0x5e0b4b);CodeceptRecorder['add'](()=>_0x8e6edb[_0x52a16d(0x152)](TEST_EVENTS[_0x52a16d(0x1a5)],_0x31bae5));}catch(_0x589114){PerformanceTester[_0x52a16d(0x156)](_0x589114);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x1bb)],_0x38efd3=>{const _0xbe722b=_0x109354;try{_0x3fd3b5[_0xbe722b(0x174)](isBrowserstackInfra)&&(_0x4d662a&&(global[_0xbe722b(0x1c2)]={'currentTest':{'name':_0x38efd3['title'],'testInfo':{'titlePath':_0x38efd3[_0xbe722b(0x168)]()}}}));}catch(_0x41ca5f){PerformanceTester[_0xbe722b(0x156)](_0x41ca5f);}}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x1b4)],_0x4e9bb2=>{const _0x1f3b2e=_0x109354;try{const _0x1428eb=_0x8e6edb[_0x1f3b2e(0x131)](TEST_EVENTS[_0x1f3b2e(0x1ba)],_0x4e9bb2);CodeceptRecorder[_0x1f3b2e(0x12e)](()=>_0x8e6edb[_0x1f3b2e(0x152)](TEST_EVENTS[_0x1f3b2e(0x1ba)],_0x1428eb)),CodeceptRecorder[_0x1f3b2e(0x12e)](async()=>{const _0x1cfe40=_0x1f3b2e;_0x3fd3b5[_0x1cfe40(0x174)](isBrowserstackInfra)&&(!_0x3fd3b5[_0x1cfe40(0x147)](isTrue,_0x37efce['skipSessionName'])&&await _0x3fd3b5['yVDFz'](markSessionName,_0x307638,_0x4e9bb2['title']),_0x8e6edb[_0x1cfe40(0x130)]&&await _0x3fd3b5[_0x1cfe40(0x147)](o11ySync,_0x307638));});}catch(_0xb912e9){PerformanceTester[_0x1f3b2e(0x156)](_0xb912e9);}}),CodeceptJS[_0x109354(0x184)]['dispatcher']['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x191)],_0x8d3338=>{const _0x53d407=_0x109354,_0x544521={'SURIq':function(_0x123c34){const _0x283d9d=a1_0x50fb;return _0x3fd3b5[_0x283d9d(0x174)](_0x123c34);},'aQtyV':function(_0x4073ba,_0x59cdeb,_0x262a26){const _0x43876e=a1_0x50fb;return _0x3fd3b5[_0x43876e(0x199)](_0x4073ba,_0x59cdeb,_0x262a26);},'hdZQp':function(_0x4d4bf5,_0x58365f,_0x3c57e0){const _0x5aaf14=a1_0x50fb;return _0x3fd3b5[_0x5aaf14(0x1b5)](_0x4d4bf5,_0x58365f,_0x3c57e0);}};try{const _0x526bb4=_0x8e6edb['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x8d3338);CodeceptRecorder[_0x53d407(0x12e)](()=>_0x8e6edb[_0x53d407(0x152)](TEST_EVENTS[_0x53d407(0x18c)],_0x526bb4)),CodeceptRecorder['add'](async()=>{const _0x2b37a1=_0x53d407;_0x544521[_0x2b37a1(0x190)](isBrowserstackInfra)&&(_0x4d662a?await _0x544521[_0x2b37a1(0x170)](playwrightMarkSessionStatus,_0x307638,STATE_PASSED):await _0x544521[_0x2b37a1(0x13f)](markSessionStatus,_0x307638,STATE_PASSED));});}catch(_0x217eb9){PerformanceTester[_0x53d407(0x156)](_0x217eb9);}}),CodeceptJS[_0x109354(0x184)]['dispatcher']['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x154)],(_0x116db9,_0x5f3190)=>{const _0x41affe=_0x109354;try{if(_0x3fd3b5[_0x41affe(0x159)](_0x116db9['constructor']['name'],_0x3fd3b5['ZWyXq'])){const _0x98b5d2=_0x8e6edb[_0x41affe(0x131)](TEST_EVENTS[_0x41affe(0x181)],_0x116db9['ctx']['currentTest']);CodeceptRecorder[_0x41affe(0x12e)](()=>_0x8e6edb[_0x41affe(0x152)](TEST_EVENTS[_0x41affe(0x181)],_0x98b5d2));}else{const _0x21a264=_0x8e6edb['captureEvent'](TEST_EVENTS[_0x41affe(0x18c)],_0x116db9,_0x5f3190);CodeceptRecorder[_0x41affe(0x12e)](()=>{const _0x450113=_0x41affe;try{_0x8e6edb[_0x450113(0x152)](TEST_EVENTS[_0x450113(0x18c)],_0x21a264);}catch(_0x558c17){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x450113(0x18d)](_0x558c17));}}),CodeceptRecorder['add'](async()=>{const _0x38ba49=_0x41affe;try{_0x3fd3b5['VRPPB'](isBrowserstackInfra)&&(_0x4d662a?await _0x3fd3b5['WXpXd'](playwrightMarkSessionStatus,_0x307638,STATE_FAILED,_0x5f3190):await _0x3fd3b5[_0x38ba49(0x13e)](markSessionStatus,_0x307638,STATE_FAILED,_0x5f3190));}catch(_0x3baf85){logger[_0x38ba49(0x1a1)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x38ba49(0x18d)](_0x3baf85));}});}}catch(_0xdcaccb){PerformanceTester[_0x41affe(0x156)](_0xdcaccb);}}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1a6)][_0x109354(0x197)],_0x328efc=>{const _0x333865=_0x109354;try{const _0x4f50fd=_0x8e6edb[_0x333865(0x131)](TEST_EVENTS[_0x333865(0x181)],_0x328efc);CodeceptRecorder[_0x333865(0x12e)](()=>_0x8e6edb[_0x333865(0x152)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x4f50fd));}catch(_0x5efaa4){PerformanceTester[_0x333865(0x156)](_0x5efaa4);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS['event']['test'][_0x109354(0x18b)],async(_0x2a353e,_0x1b3bba)=>{const _0x503c81=_0x109354;try{if(_0x3fd3b5[_0x503c81(0x173)](isBrowserstackInfra)){const _0x547ce7=_0x3fd3b5['oiLMM'](shouldScanTestForAccessibility,_0x2a353e[_0x503c81(0x168)](),!![]);if(_0x3fd3b5[_0x503c81(0x174)](isAccessibilityAutomationSession)&&global[_0x503c81(0x19f)]&&_0x547ce7){const _0x362d1a={};_0x362d1a[_0x503c81(0x145)]=_0x2a353e[_0x503c81(0x183)],_0x362d1a[_0x503c81(0x1b3)]=process[_0x503c81(0x169)][testHubConstants[_0x503c81(0x16e)][_0x503c81(0x193)]],_0x362d1a['thJwtToken']=process[_0x503c81(0x169)][testHubConstants[_0x503c81(0x16e)][_0x503c81(0x18a)]];const _0x1067f0=_0x362d1a;logger[_0x503c81(0x1a1)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x503c81(0x141)](_0x1067f0)),CodeceptRecorder['add'](async()=>{const _0x505752=_0x503c81;await AccessibilityHelper[_0x505752(0x160)](_0x307638,scripts[_0x505752(0x1ac)]),await AccessibilityHelper[_0x505752(0x160)](_0x307638,scripts[_0x505752(0x14b)],_0x1067f0);}),logger[_0x503c81(0x15e)](_0x3fd3b5[_0x503c81(0x194)]);}}}catch(_0x18855f){PerformanceTester[_0x503c81(0x156)](_0x18855f);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x16f)][_0x109354(0x137)],_0x5a710b=>{const _0xecc0ca=_0x109354;try{process[_0xecc0ca(0x17f)]('bs:addLog:'+process[_0xecc0ca(0x16b)],{'timestamp':new Date()[_0xecc0ca(0x172)](),'level':_0x3fd3b5[_0xecc0ca(0x143)],'message':_0x5a710b,'kind':_0x3fd3b5[_0xecc0ca(0x17d)],'http_response':{}});}catch(_0x4102b4){PerformanceTester[_0xecc0ca(0x156)](_0x4102b4);}}),CodeceptJS[_0x109354(0x184)][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1ad)]['before'],_0x419c18=>{const _0x40106b=_0x109354;_0x8e6edb[_0x40106b(0x1b1)](_0x419c18);}),CodeceptJS['event'][_0x109354(0x136)]['on'](CodeceptJS[_0x109354(0x184)][_0x109354(0x1ad)][_0x109354(0x18b)],_0x3e9a0c=>{const _0x4a6d79=_0x109354;_0x8e6edb[_0x4a6d79(0x144)](_0x3e9a0c);});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x43823f=a2_0xdd88;function a2_0x31ff(){const _0x28c152=['OkpkY','getPlaywrightUrl','profile','HYPFH','webkit','BrowserStackPlugin','BROWSERSTACK_TEST_OBSERVABILITY_YML','browserName','info','CODECEPT','errorMessage','ClTRM','FRAMEWORKS','desiredCapabilities','3043164MBqZLB','toLowerCase','YCfGQ','createGroupsOfSuites','testConfig','getPlatformName','env','frameworkName','ZWjJT','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gWOKn','tkldu','mhBSe','err','now','exports','isUndefined','TGqKj','gherkin','UcALa','length','playwright-chromium','505256sVCPXF','svGUv','plugins','256786YKwudS','playwright-firefox','event','prepareCapabilities','findIndex','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','9nOCCNz','Failed\x20:\x20','passed','../../helpers/logger','accessibility','accessibilityOptions','NWJpQ','initialize','../../helpers/helper','25913292DyEZAA','Started\x20:\x20','BROWSERSTACK_RERUN_TESTS','kdWcD','chrome','33EPgdNS','../utils/constants','xpTJB','WLkbb','../../helpers/testhub/testhubHandler','result','11055KVUywv','../../helpers/accessibility-automation/helper','-cucumber','2005804EbSfoE','stringify','util','AQoqn','failed','Dfcvo','browser','mEMeW','forEach','fYiSs','null','4182CjlPqm','stop','bootstrapAll','../../helpers/utilities','enabled','stack','UWQOS','browserWSEndpoint','spawn','VCMBr','log','all','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','validPlatformsPresent','printResults','mergeDeep','JlxSl','join','11qyyhkU','Izkwq','addTests','../../helpers/test-observability/utils','helpers','codecept.conf.js','XXPWk','path','push','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testContextOptions','teardownAll','testObservability','split','test','cwd','chdir','TDRbJ','EWrGA','useW3C','existsSync','../../bin/playwright/accessibility-helper','GVdHR','chromium','KVdgv','VLtsC','map','hLzFN','WebDriver','Passed\x20:\x20','LIJBx','rokDW','skipSessionStatus','handleApp','trim','175nUxeLW','finalExecution','skipSessionName','slice','JrZZh','config','16160890RZxRRF','Workers','dirname'];a2_0x31ff=function(){return _0x28c152;};return a2_0x31ff();}(function(_0xc9740a,_0x1abbd3){const _0x36a077=a2_0xdd88,_0x5d13d5=_0xc9740a();while(!![]){try{const _0xaa99ff=parseInt(_0x36a077(0xf9))/0x1*(-parseInt(_0x36a077(0xbf))/0x2)+parseInt(_0x36a077(0xa6))/0x3+-parseInt(_0x36a077(0xdc))/0x4+parseInt(_0x36a077(0xd9))/0x5*(-parseInt(_0x36a077(0xe7))/0x6)+-parseInt(_0x36a077(0x11c))/0x7*(parseInt(_0x36a077(0xbc))/0x8)+parseInt(_0x36a077(0xc5))/0x9*(-parseInt(_0x36a077(0x122))/0xa)+-parseInt(_0x36a077(0xd3))/0xb*(-parseInt(_0x36a077(0xce))/0xc);if(_0xaa99ff===_0x1abbd3)break;else _0x5d13d5['push'](_0x5d13d5['shift']());}catch(_0x422423){_0x5d13d5['push'](_0x5d13d5['shift']());}}}(a2_0x31ff,0xcdc68));function a2_0xdd88(_0x5191e6,_0x54c582){const _0x31ff2a=a2_0x31ff();return a2_0xdd88=function(_0xdd88a1,_0x44928c){_0xdd88a1=_0xdd88a1-0x9f;let _0x6d56e7=_0x31ff2a[_0xdd88a1];return _0x6d56e7;},a2_0xdd88(_0x5191e6,_0x54c582);}const fs=require('fs'),path=require(a2_0x43823f(0x100)),util=require(a2_0x43823f(0xde)),process=require('process'),logger=require(a2_0x43823f(0xc8))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x43823f(0xcd)),utilities=require(a2_0x43823f(0xea)),{checkAccessibilityPlatformConfig}=require(a2_0x43823f(0xda)),{setAccessibilityCapabilities}=require(a2_0x43823f(0x10e)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x43823f(0xfc)),TestHubHandler=require(a2_0x43823f(0xd7)),constants=require(a2_0x43823f(0xd4)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x1698b5,_0x39b2a1)=>{const _0x175802=a2_0x43823f,_0x4ed3ae={};_0x4ed3ae['YCfGQ']=function(_0x13c3af,_0x314238){return _0x13c3af===_0x314238;},_0x4ed3ae[_0x175802(0xdf)]=_0x175802(0xfe),_0x4ed3ae[_0x175802(0xe5)]='codecept.json';const _0x3657b5=_0x4ed3ae;let _0x5179aa=null;const _0xc21c80={};let _0xb68b26=_0x39b2a1[_0x175802(0xc3)](_0xbd08d0=>_0xbd08d0==='--config');_0x3657b5[_0x175802(0xa8)](_0xb68b26,-0x1)&&(_0xb68b26=_0x39b2a1[_0x175802(0xc3)](_0x6333bc=>_0x6333bc==='-c'));if(!helper[_0x175802(0xb6)](_0x1698b5['config'])&&fs['existsSync'](path[_0x175802(0xf8)](process[_0x175802(0x108)](),_0x1698b5[_0x175802(0x121)])))_0x5179aa=path['join'](process[_0x175802(0x108)](),_0x1698b5[_0x175802(0x121)]),_0x39b2a1['slice'](_0xb68b26,0x2);else{if(!helper['isUndefined'](_0x1698b5['c'])&&fs[_0x175802(0x10d)](path[_0x175802(0xf8)](process[_0x175802(0x108)](),_0x1698b5['c'])))_0x5179aa=path[_0x175802(0xf8)](process['cwd'](),_0x1698b5['c']),_0x39b2a1[_0x175802(0x11f)](_0xb68b26,0x2);else{if(fs[_0x175802(0x10d)](path[_0x175802(0xf8)](process[_0x175802(0x108)](),_0x3657b5[_0x175802(0xdf)])))_0x5179aa=path[_0x175802(0xf8)](process[_0x175802(0x108)](),_0x3657b5[_0x175802(0xdf)]);else fs[_0x175802(0x10d)](path['join'](process[_0x175802(0x108)](),_0x3657b5[_0x175802(0xe5)]))&&(_0x5179aa=path['join'](process['cwd'](),_0x3657b5[_0x175802(0xe5)]));}}return _0x5179aa;},getO11yRerunPattern=()=>{const _0x17f631=a2_0x43823f,_0x2c271b={};_0x2c271b[_0x17f631(0x120)]=function(_0x59a0c6,_0xb6cdc7){return _0x59a0c6!==_0xb6cdc7;},_0x2c271b[_0x17f631(0xcb)]=_0x17f631(0xe6);const _0x2b5c08=_0x2c271b,_0x2bbe3f=helper['isTrue'](process['env']['BROWSERSTACK_RERUN']);if(_0x2bbe3f){const _0x14790d=process[_0x17f631(0xac)][_0x17f631(0xd0)],_0x4e3808=[];if(_0x2b5c08[_0x17f631(0x120)](_0x14790d,_0x2b5c08[_0x17f631(0xcb)])&&!helper[_0x17f631(0xb6)](_0x14790d)){_0x14790d[_0x17f631(0x106)](',')[_0x17f631(0x113)](_0x16c99c=>{const _0x536524=_0x17f631;_0x4e3808[_0x536524(0x101)]('('+_0x16c99c[_0x536524(0x11b)]()+')');});const _0xabd49e='^'+_0x4e3808[_0x17f631(0xf8)]('|')+'$';return _0xabd49e;}}return null;},a2_0x13275a={};a2_0x13275a[a2_0x43823f(0xd2)]=a2_0x43823f(0x110),a2_0x13275a[a2_0x43823f(0xbb)]=a2_0x43823f(0x110),a2_0x13275a[a2_0x43823f(0xc0)]='firefox',a2_0x13275a['playwright-webkit']=a2_0x43823f(0x129);const pwToCodeceptBrowser=a2_0x13275a;async function run(_0x1c34c5,_0xcbc7a4){const _0x282561=a2_0x43823f,_0x39b526={'rokDW':function(_0x808555,_0x3c6b2c){return _0x808555+_0x3c6b2c;},'vpYYB':function(_0x36fb64,_0x1c7494){return _0x36fb64(_0x1c7494);},'tkldu':function(_0x1fe3ad,_0x58ceb1){return _0x1fe3ad+_0x58ceb1;},'ClTRM':function(_0x4089a2,_0x312208,_0x26bffd){return _0x4089a2(_0x312208,_0x26bffd);},'mEMeW':_0x282561(0xfd),'VLtsC':function(_0xae8397){return _0xae8397();},'mxFrF':function(_0x54d185){return _0x54d185();},'TDRbJ':_0x282561(0xc6),'GVdHR':_0x282561(0x116),'xpTJB':_0x282561(0xcf),'LIJBx':'3|2|4|1|0','qbcmi':'codeceptjs','VCMBr':_0x282561(0xc4),'HYjay':function(_0x4cab01,_0x50e9dc,_0x4e2b8d){return _0x4cab01(_0x50e9dc,_0x4e2b8d);},'hLzFN':'Playwright','HYPFH':_0x282561(0x115),'EWrGA':function(_0x36df25,_0x449403){return _0x36df25(_0x449403);},'UWQOS':function(_0x4ad1c8,_0x35b0b8){return _0x4ad1c8!=_0x35b0b8;},'UcALa':'false','kdWcD':function(_0x168c19,_0x37f2ff,_0x5e2bce){return _0x168c19(_0x37f2ff,_0x5e2bce);},'Izkwq':_0x282561(0xb8),'kLCeR':_0x282561(0xdb),'OkpkY':function(_0x53f810){return _0x53f810();},'gWOKn':function(_0x21e41c,_0x30cde6){return _0x21e41c*_0x30cde6;},'svGUv':function(_0x37ae0a,_0x2b90e1,_0x961390){return _0x37ae0a(_0x2b90e1,_0x961390);},'ZWjJT':_0x282561(0xe2),'JlxSl':function(_0x208b12,_0x51a1c9,_0x5549e8){return _0x208b12(_0x51a1c9,_0x5549e8);},'KVdgv':_0x282561(0xa5),'TGqKj':'root','Dfcvo':'BrowserStackPlugin.js','mhBSe':'browserStackCwd'},_0x594a59=new BrowserStackSetup(_0x1c34c5,_0x39b526['qbcmi']);await _0x594a59[_0x282561(0xcc)](),await helper[_0x282561(0x11a)](_0x594a59[_0x282561(0x121)]);if(!_0x594a59[_0x282561(0x121)])return;process[_0x282561(0x127)]=_0x1c34c5[_0x282561(0x127)];_0x1c34c5[_0x282561(0x127)]&&(process[_0x282561(0xac)][_0x282561(0x127)]=_0x1c34c5[_0x282561(0x127)]);const _0x30d5d0=_0x39b526[_0x282561(0xa3)](getUserCodeceptJSConfigs,_0x1c34c5,_0xcbc7a4);let _0x13bb3e={};_0x30d5d0?(logger[_0x282561(0xa0)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x30d5d0),_0x13bb3e=CodeceptJS['config']['load'](_0x30d5d0)):logger['info'](_0x39b526[_0x282561(0xf0)]);let _0x52f550=![];_0x39b526['HYjay'](nestedKeyValue,_0x13bb3e,[_0x39b526['mEMeW'],_0x39b526[_0x282561(0x114)]])&&(_0x52f550=!![]);const _0x217497=_0x52f550?_0x39b526[_0x282561(0x114)]:_0x39b526[_0x282561(0x128)];let _0x45a364=!_0x52f550?helper[_0x282561(0x10c)](_0x594a59['config']):![];!helper[_0x282561(0xb6)](_0x594a59[_0x282561(0x121)]['accessibilityOptions'])&&(process[_0x282561(0xac)][_0x282561(0x102)]=JSON[_0x282561(0xdd)](_0x594a59['config'][_0x282561(0xca)]));let _0x55f047=_0x594a59['config'][_0x282561(0xc9)];_0x55f047=_0x55f047||_0x39b526[_0x282561(0x10b)](checkAccessibilityPlatformConfig,_0x594a59[_0x282561(0x121)]),process[_0x282561(0xac)][_0x282561(0xaf)]=_0x55f047;_0x55f047&&(_0x45a364=!_0x55f047);_0x39b526[_0x282561(0xed)](_0x594a59[_0x282561(0x121)][_0x282561(0x105)],null)?process[_0x282561(0xac)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x594a59[_0x282561(0x121)][_0x282561(0x105)]:process[_0x282561(0xac)][_0x282561(0x12b)]=_0x39b526[_0x282561(0xb9)];const _0x5588f7=_0x39b526[_0x282561(0x118)](_0x39b526['qbcmi'],_0x39b526[_0x282561(0xd1)](nestedKeyValue,_0x13bb3e,[_0x39b526[_0x282561(0xfa)]])?_0x39b526['kLCeR']:''),_0xedee19=await TestHubHandler['launchBuild'](_0x5588f7,_0x594a59);_0x55f047&&_0x39b526['vpYYB'](setAccessibilityCapabilities,_0x594a59['config']);const _0x348911={},_0x5e0a55=[],_0xa6467=_0x594a59[_0x282561(0x121)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x1c34c5,_0xcbc7a4,_0x594a59[_0x282561(0x121)],constants['FRAMEWORKS'][_0x282561(0xa1)])||0x1;let _0x2eb153=0x1;if(_0x39b526[_0x282561(0x125)](isBrowserstackInfra)){const _0x4ff44a=helper[_0x282561(0xc2)](_0x594a59[_0x282561(0x121)],_0x45a364,constants[_0x282561(0xa4)][_0x282561(0xa1)]);helper[_0x282561(0xf4)](_0x594a59[_0x282561(0x121)])?_0x2eb153=_0x39b526[_0x282561(0xb0)](_0xa6467,_0x594a59[_0x282561(0x121)]['platforms'][_0x282561(0xba)]):_0x2eb153=_0xa6467,_0x4ff44a[_0x282561(0xe4)](_0x2c52cd=>{const _0x56da3b=_0x282561,_0x52ab5d={'XXPWk':function(_0x1f7fc0,_0x419568){const _0x4a90ae=a2_0xdd88;return _0x39b526[_0x4a90ae(0x118)](_0x1f7fc0,_0x419568);},'WLkbb':function(_0x1ed47f,_0x1ee9fe){return _0x39b526['vpYYB'](_0x1ed47f,_0x1ee9fe);}},_0x2f6c9c=_0x39b526[_0x56da3b(0xb1)](helper[_0x56da3b(0xab)](_0x2c52cd,'_'),'_'+Date[_0x56da3b(0xb4)]()),_0x427e84=((()=>{const _0x7f10e0=_0x56da3b;if(_0x52f550){const _0x1e5167=pwToCodeceptBrowser[_0x2c52cd[_0x7f10e0(0x9f)]]||_0x2c52cd[_0x7f10e0(0x9f)];return{'browser':_0x1e5167,[_0x1e5167]:{'browserWSEndpoint':_0x52ab5d[_0x7f10e0(0xff)](helper[_0x7f10e0(0x126)](_0x594a59['config']),_0x52ab5d[_0x7f10e0(0xd6)](encodeURIComponent,JSON[_0x7f10e0(0xdd)](_0x2c52cd)))}};}const _0x15a049={};return _0x15a049[_0x7f10e0(0xa5)]=_0x2c52cd,_0x15a049;})()),_0x5ba999=_0x39b526[_0x56da3b(0xa3)](nestedKeyValue,_0x13bb3e,[_0x39b526[_0x56da3b(0xe3)],_0x217497]);_0x348911[_0x2f6c9c]=_0x5ba999?helper[_0x56da3b(0xf6)](_0x427e84,_0x5ba999):_0x427e84,!_0x52f550&&(_0x348911[_0x2f6c9c][_0x56da3b(0xe2)]=_0x2c52cd[_0x56da3b(0x9f)]||_0x427e84[_0x56da3b(0xe2)]),_0x5e0a55[_0x56da3b(0x101)](_0x2f6c9c);});}else{_0x2eb153=0x1;if(_0x52f550){const _0x47952f=_0x39b526[_0x282561(0xbd)](nestedKeyValue,_0x13bb3e,[_0x39b526['mEMeW'],_0x217497,_0x39b526[_0x282561(0xae)]]),_0x3581e1=_0x39b526[_0x282561(0xf7)](nestedKeyValue,_0x13bb3e,[_0x39b526[_0x282561(0xe3)],_0x217497,_0x47952f]);_0x3581e1&&_0x3581e1['browserWSEndpoint']&&(_0x3581e1[_0x282561(0xee)]=helper['prepareCapabilities'](null,null,_0x5588f7[_0x282561(0xa7)](),null,null,_0x3581e1[_0x282561(0xee)]));}else _0x13bb3e[_0x39b526['mEMeW']][_0x217497][_0x39b526['KVdgv']]=helper['prepareCapabilities'](null,null,_0x5588f7[_0x282561(0xa7)](),_0x39b526[_0x282561(0xa3)](nestedKeyValue,_0x13bb3e,[_0x39b526[_0x282561(0xe3)],_0x217497,_0x39b526[_0x282561(0x111)]]),null,null);_0x348911[_0x39b526[_0x282561(0xb7)]]=_0x13bb3e,_0x5e0a55['push'](_0x39b526[_0x282561(0xb7)]);}const _0x115017={};_0x115017[_0x282561(0xaa)]=_0x30d5d0;const _0x5f0f66=_0x115017,_0x5939e3=path['join'](__dirname,_0x39b526[_0x282561(0xe1)]),_0x37bc1f=process[_0x282561(0x108)]();process[_0x282561(0xac)][_0x39b526[_0x282561(0xb2)]]=_0x37bc1f,process[_0x282561(0x109)](path[_0x282561(0x124)](_0x30d5d0));const _0x31470e=new CodeceptJS[(_0x282561(0x123))](null,_0x5f0f66),_0x495364=_0x31470e[_0x282561(0xa9)](_0x2eb153),_0x365cdc=testOpsHelper['isTestObservabilitySession'](),_0x17d41b=_0x5e0a55['map'](_0x50f730=>{const _0x5418ca=_0x282561,_0x554ec9={};_0x554ec9['Playwright']=_0x348911[_0x50f730];const _0x5ee935={};_0x5ee935[_0x5418ca(0x115)]=_0x348911[_0x50f730];const _0x3676a3=_0x52f550?_0x554ec9:_0x5ee935,_0x4a2704=_0x39b526[_0x5418ca(0x112)](getO11yRerunPattern),_0x1aef9c={};_0x1aef9c['helpers']=_0x3676a3;const _0x400aeb={};_0x400aeb['require']=_0x5939e3,_0x400aeb[_0x5418ca(0xeb)]=!![],_0x400aeb[_0x5418ca(0x11e)]=_0x594a59['config'][_0x5418ca(0x103)][_0x5418ca(0x11e)],_0x400aeb[_0x5418ca(0x119)]=_0x594a59[_0x5418ca(0x121)][_0x5418ca(0x103)]['skipSessionStatus'],_0x400aeb[_0x5418ca(0x105)]=_0x365cdc,_0x400aeb[_0x5418ca(0xad)]=_0x5588f7;const _0x3238c6={};_0x3238c6[_0x5418ca(0x12a)]=_0x400aeb;const _0x19c77c={};return _0x19c77c[_0x5418ca(0xbe)]=_0x3238c6,helper[_0x5418ca(0xf6)]({},_0x13bb3e,_0x39b526['mxFrF'](isBrowserstackInfra)?_0x1aef9c:{},_0x4a2704?{'grep':_0x4a2704}:{},_0x19c77c);});for(const _0x1cf7a4 of _0x17d41b){for(const _0x29d6d of _0x495364){const _0x59690c=_0x31470e[_0x282561(0xef)]();_0x59690c[_0x282561(0xfb)](_0x29d6d),_0x59690c['addConfig'](_0x1cf7a4);}}_0x31470e['on'](CodeceptJS['event'][_0x282561(0x107)][_0x282561(0xe0)],(_0x1e9b43,_0x5e84cb)=>{const _0x15b32c=_0x282561;console['log'](_0x39b526[_0x15b32c(0x10a)],_0x1e9b43['title']);const _0x1cb8a5={[_0x1e9b43['title']]:_0x1e9b43[_0x15b32c(0xb3)][_0x15b32c(0xec)]};_testErrorData[_0x15b32c(0x101)](_0x1cb8a5);}),_0x31470e['on'](CodeceptJS[_0x282561(0xc1)][_0x282561(0x107)][_0x282561(0xc7)],async _0x28bdd8=>{const _0xa884c3=_0x282561;console[_0xa884c3(0xf1)](_0x39b526[_0xa884c3(0x10f)],_0x28bdd8['title']);}),_0x31470e['on'](CodeceptJS[_0x282561(0xc1)][_0x282561(0x107)]['before'],async _0x552263=>{const _0x204a2c=_0x282561;console[_0x204a2c(0xf1)](_0x39b526[_0x204a2c(0xd5)],_0x552263['title']);}),_0x31470e['on'](CodeceptJS['event'][_0x282561(0xf2)][_0x282561(0xd8)],async()=>{const _0x41bacd=_0x282561,_0x20bbd6=_0x39b526[_0x41bacd(0x117)][_0x41bacd(0x106)]('|');let _0x49ee96=0x0;while(!![]){switch(_0x20bbd6[_0x49ee96++]){case'0':_0x31470e[_0x41bacd(0xf5)]();continue;case'1':try{await TestHubHandler[_0x41bacd(0xe8)]();}catch(_0xbfda0b){logger['debug'](_0x41bacd(0xf3)+util['format'](_0xbfda0b));}continue;case'2':testOpsHelper['printBuildLink']();continue;case'3':_0x594a59[_0x41bacd(0xa2)]=_testErrorData;continue;case'4':utilities[_0x41bacd(0x11d)](_0x594a59);continue;}break;}});async function _0x287c62(){const _0x57a608=_0x282561;try{await _0x31470e[_0x57a608(0xe9)](),await _0x31470e['run']();}finally{process[_0x57a608(0x109)](_0x37bc1f),await _0x31470e[_0x57a608(0x104)]();}}_0x39b526[_0x282561(0x112)](_0x287c62);}module[a2_0x43823f(0xb5)]=run;
2
+ 'use strict';function a2_0xee45(){const _0x56121d=['err','errorMessage','WebDriver','info','hadCM','root','laqAt','playwright-chromium','run','../../bin/playwright/accessibility-helper','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_YML','path','660678QHxSaU','4185ajyfnW','FRAMEWORKS','getPlaywrightUrl','failed','skipSessionName','uJCPO','handleApp','join','../../helpers/helper','vucbY','../../helpers/BrowserStackSetup','accessibilityOptions','TvlsO','printBuildLink','lcAwF','IFubX','desiredCapabilities','-cucumber','spawn','XlaPT','format','1|4|2|0|3','profile','JVJwJ','skipSessionStatus','UJeol','accessibility','useW3C','GzVgA','browserWSEndpoint','6717354yXptwR','BrowserStackPlugin.js','null','1392430jvJdnD','cwd','lgClV','Started\x20:\x20','result','yDncr','codeceptjs','platforms','isUndefined','mergeDeep','77836HqNsED','require','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','plugins','enabled','config','dirname','testObservability','title','mfEyr','juFMr','chromium','hLZzX','all','bootstrapAll','push','ZuMci','stack','CODECEPT','exports','EBLlc','addTests','Playwright','--config','codeceptjs/lib/index.js','trim','NLJdL','chdir','browser','Passed\x20:\x20','test','BROWSERSTACK_RERUN','testConfig','BROWSERSTACK_TEST_OBSERVABILITY_YML','log','prepareCapabilities','event','load','slice','getPlatformName','22624tLlrod','forEach','launchBuild','toLowerCase','printResults','teardownAll','6RPPyuz','../utils/constants','parallelsPerPlatform','zeSEN','QoDKV','lIRXU','browserName','existsSync','createGroupsOfSuites','HJJZP','findIndex','map','EErPw','PaWem','length','1381828UROclV','playwright-webkit','rMkwo','Workers','testContextOptions','helpers','opWmZ','SnMls','577396MFGLsu','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','env','split','before','isTestObservabilitySession','QqnvZ','getUserWorkerCount','codecept.json'];a2_0xee45=function(){return _0x56121d;};return a2_0xee45();}const a2_0x34161c=a2_0x5864;(function(_0x527585,_0x5de74c){const _0x2a503c=a2_0x5864,_0x253a1f=_0x527585();while(!![]){try{const _0x12ec70=-parseInt(_0x2a503c(0x109))/0x1+-parseInt(_0x2a503c(0x101))/0x2+-parseInt(_0x2a503c(0x11f))/0x3+parseInt(_0x2a503c(0x14b))/0x4+-parseInt(_0x2a503c(0x141))/0x5+-parseInt(_0x2a503c(0x179))/0x6*(-parseInt(_0x2a503c(0x13e))/0x7)+-parseInt(_0x2a503c(0x173))/0x8*(-parseInt(_0x2a503c(0x120))/0x9);if(_0x12ec70===_0x5de74c)break;else _0x253a1f['push'](_0x253a1f['shift']());}catch(_0x31d9fe){_0x253a1f['push'](_0x253a1f['shift']());}}}(a2_0xee45,0x80ae7));function a2_0x5864(_0x2cb031,_0x29d575){const _0xee456f=a2_0xee45();return a2_0x5864=function(_0x58648a,_0x5b9d3d){_0x58648a=_0x58648a-0xfe;let _0x3d53cd=_0xee456f[_0x58648a];return _0x3d53cd;},a2_0x5864(_0x2cb031,_0x29d575);}const fs=require('fs'),path=require(a2_0x34161c(0x11e)),util=require('util'),process=require('process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x34161c(0x12a)),helper=require(a2_0x34161c(0x128)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x34161c(0x11b)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x34161c(0x128)),CodeceptJS=requireModule(a2_0x34161c(0x163),'codeceptjs'),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x34161c(0x17a)),_testErrorData=[],getUserCodeceptJSConfigs=(_0xc0c4d3,_0x2c1b91)=>{const _0x2117cd=a2_0x34161c,_0x210b11={};_0x210b11['GJOuw']=function(_0xafa0ef,_0x2594c0){return _0xafa0ef===_0x2594c0;},_0x210b11[_0x2117cd(0x154)]='codecept.conf.js',_0x210b11[_0x2117cd(0x129)]=_0x2117cd(0x111);const _0x18c344=_0x210b11;let _0x45dadb=null;const _0x5e7e0d={};let _0x4fddb2=_0x2c1b91['findIndex'](_0x11015e=>_0x11015e===_0x2117cd(0x162));_0x18c344['GJOuw'](_0x4fddb2,-0x1)&&(_0x4fddb2=_0x2c1b91[_0x2117cd(0x183)](_0x36e50f=>_0x36e50f==='-c'));if(!helper[_0x2117cd(0x149)](_0xc0c4d3[_0x2117cd(0x150)])&&fs[_0x2117cd(0x180)](path['join'](process[_0x2117cd(0x142)](),_0xc0c4d3['config'])))_0x45dadb=path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0xc0c4d3[_0x2117cd(0x150)]),_0x2c1b91['slice'](_0x4fddb2,0x2);else{if(!helper[_0x2117cd(0x149)](_0xc0c4d3['c'])&&fs['existsSync'](path[_0x2117cd(0x127)](process['cwd'](),_0xc0c4d3['c'])))_0x45dadb=path[_0x2117cd(0x127)](process['cwd'](),_0xc0c4d3['c']),_0x2c1b91[_0x2117cd(0x171)](_0x4fddb2,0x2);else{if(fs[_0x2117cd(0x180)](path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0x18c344[_0x2117cd(0x154)])))_0x45dadb=path['join'](process[_0x2117cd(0x142)](),_0x18c344[_0x2117cd(0x154)]);else fs['existsSync'](path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0x18c344['vucbY']))&&(_0x45dadb=path[_0x2117cd(0x127)](process[_0x2117cd(0x142)](),_0x18c344[_0x2117cd(0x129)]));}}return _0x45dadb;},getO11yRerunPattern=()=>{const _0x3351e5=a2_0x34161c,_0x49350a={};_0x49350a[_0x3351e5(0x182)]=function(_0x38788a,_0x2613ef){return _0x38788a!==_0x2613ef;},_0x49350a[_0x3351e5(0x157)]=_0x3351e5(0x140);const _0x188b1e=_0x49350a,_0x1bfcce=helper['isTrue'](process[_0x3351e5(0x10b)][_0x3351e5(0x16a)]);if(_0x1bfcce){const _0x597320=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x5d8751=[];if(_0x188b1e['HJJZP'](_0x597320,_0x188b1e['hLZzX'])&&!helper[_0x3351e5(0x149)](_0x597320)){_0x597320[_0x3351e5(0x10c)](',')[_0x3351e5(0x184)](_0x11febe=>{const _0x59ab60=_0x3351e5;_0x5d8751[_0x59ab60(0x15a)]('('+_0x11febe[_0x59ab60(0x164)]()+')');});const _0xf8c1ba='^'+_0x5d8751[_0x3351e5(0x127)]('|')+'$';return _0xf8c1ba;}}return null;},a2_0x43989c={};a2_0x43989c['chrome']=a2_0x34161c(0x156),a2_0x43989c[a2_0x34161c(0x119)]=a2_0x34161c(0x156),a2_0x43989c['playwright-firefox']='firefox',a2_0x43989c[a2_0x34161c(0x102)]='webkit';const pwToCodeceptBrowser=a2_0x43989c;async function run(_0xf592b,_0x4bcf5f){const _0x2c6d1f=a2_0x34161c,_0x3fca00={'GzVgA':function(_0x5c19cf,_0x7e6202){return _0x5c19cf+_0x7e6202;},'lIRXU':function(_0x18b0a3,_0x39dfa9){return _0x18b0a3(_0x39dfa9);},'hadCM':function(_0x102c04,_0x5e15ab){return _0x102c04+_0x5e15ab;},'juFMr':function(_0x531bfe,_0x29665b,_0x4aa36b){return _0x531bfe(_0x29665b,_0x4aa36b);},'QqnvZ':_0x2c6d1f(0x106),'laqAt':function(_0x3f48a6){return _0x3f48a6();},'zRDOp':'Failed\x20:\x20','ZuMci':_0x2c6d1f(0x168),'EErPw':_0x2c6d1f(0x144),'IFubX':_0x2c6d1f(0x135),'QoDKV':_0x2c6d1f(0x147),'zeSEN':_0x2c6d1f(0x14d),'JVJwJ':_0x2c6d1f(0x161),'yDncr':_0x2c6d1f(0x114),'XlaPT':function(_0x1b6799,_0x56b5d7){return _0x1b6799(_0x56b5d7);},'KIGPx':function(_0x19a2ac,_0x259373){return _0x19a2ac!=_0x259373;},'SnMls':function(_0x182215,_0x5215b0){return _0x182215===_0x5215b0;},'TvlsO':function(_0x2d456f,_0x4e4ccc){return _0x2d456f+_0x4e4ccc;},'nulDN':function(_0x3af83a,_0x1dd9fa,_0x235b07){return _0x3af83a(_0x1dd9fa,_0x235b07);},'uJCPO':'gherkin','PaWem':_0x2c6d1f(0x131),'UJeol':function(_0x196a75,_0x29cece){return _0x196a75*_0x29cece;},'opWmZ':function(_0x5602e7,_0x8cf2ff,_0x177859){return _0x5602e7(_0x8cf2ff,_0x177859);},'NLJdL':_0x2c6d1f(0x167),'lcAwF':'desiredCapabilities','rMkwo':_0x2c6d1f(0x117),'lgClV':_0x2c6d1f(0x13f),'EBLlc':'browserStackCwd'},_0x28f23b=new BrowserStackSetup(_0xf592b,_0x3fca00[_0x2c6d1f(0x17d)]);await _0x28f23b['initialize'](),await helper[_0x2c6d1f(0x126)](_0x28f23b[_0x2c6d1f(0x150)]);if(!_0x28f23b['config'])return;process['profile']=_0xf592b['profile'];_0xf592b[_0x2c6d1f(0x136)]&&(process[_0x2c6d1f(0x10b)][_0x2c6d1f(0x136)]=_0xf592b['profile']);const _0x32ce7e=_0x3fca00['juFMr'](getUserCodeceptJSConfigs,_0xf592b,_0x4bcf5f);let _0x46646a={};_0x32ce7e?(logger[_0x2c6d1f(0x115)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x32ce7e),_0x46646a=CodeceptJS[_0x2c6d1f(0x150)][_0x2c6d1f(0x170)](_0x32ce7e)):logger[_0x2c6d1f(0x115)](_0x3fca00[_0x2c6d1f(0x17c)]);let _0x34d36a=![];_0x3fca00[_0x2c6d1f(0x155)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x3fca00[_0x2c6d1f(0x137)]])&&(_0x34d36a=!![]);const _0x33f323=_0x34d36a?_0x3fca00['JVJwJ']:_0x3fca00[_0x2c6d1f(0x146)];let _0x15a4e0=!_0x34d36a?helper[_0x2c6d1f(0x13b)](_0x28f23b['config']):![];!helper['isUndefined'](_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x12b)])&&(process[_0x2c6d1f(0x10b)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2c6d1f(0x11c)](_0x28f23b['config'][_0x2c6d1f(0x12b)]));let _0x33d7be=_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x13a)];_0x33d7be=_0x33d7be||_0x3fca00[_0x2c6d1f(0x133)](checkAccessibilityPlatformConfig,_0x28f23b[_0x2c6d1f(0x150)]),process[_0x2c6d1f(0x10b)][_0x2c6d1f(0x11d)]=_0x33d7be;_0x33d7be&&(_0x15a4e0=!_0x33d7be);_0x3fca00['KIGPx'](_0x28f23b['config'][_0x2c6d1f(0x152)],null)?process[_0x2c6d1f(0x10b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x152)]:process[_0x2c6d1f(0x10b)][_0x2c6d1f(0x16c)]=_0x3fca00[_0x2c6d1f(0x108)](_0x33f323,_0x3fca00[_0x2c6d1f(0x137)]);const _0x512783=_0x3fca00[_0x2c6d1f(0x12c)](_0x3fca00['QoDKV'],_0x3fca00['nulDN'](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x125)]])?_0x3fca00[_0x2c6d1f(0xff)]:''),_0x2763b7=await TestHubHandler[_0x2c6d1f(0x175)](_0x512783,_0x28f23b);_0x33d7be&&_0x3fca00[_0x2c6d1f(0x17e)](setAccessibilityCapabilities,_0x28f23b[_0x2c6d1f(0x150)]);const _0x385c83={},_0x153e67=[],_0x122e2a=_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x17b)]||helper[_0x2c6d1f(0x110)](_0xf592b,_0x4bcf5f,_0x28f23b['config'],constants[_0x2c6d1f(0x121)][_0x2c6d1f(0x15d)])||0x1;let _0x4dab06=0x1;if(_0x3fca00[_0x2c6d1f(0x118)](isBrowserstackInfra)){const _0x4abae7=helper[_0x2c6d1f(0x16e)](_0x28f23b['config'],_0x15a4e0,constants[_0x2c6d1f(0x121)][_0x2c6d1f(0x15d)]);_0x4abae7['forEach'](_0x2f426f=>{helper['setAdditionalCapabilities'](_0x2f426f);}),helper['validPlatformsPresent'](_0x28f23b[_0x2c6d1f(0x150)])?_0x4dab06=_0x3fca00[_0x2c6d1f(0x139)](_0x122e2a,_0x28f23b[_0x2c6d1f(0x150)][_0x2c6d1f(0x148)][_0x2c6d1f(0x100)]):_0x4dab06=_0x122e2a,_0x4abae7[_0x2c6d1f(0x174)](_0x420cf9=>{const _0x1470f0=_0x2c6d1f,_0x57dc30=_0x3fca00[_0x1470f0(0x116)](helper[_0x1470f0(0x172)](_0x420cf9,'_'),'_'+Date['now']()),_0x473650=((()=>{const _0x3b9a98=_0x1470f0;if(_0x34d36a){const _0x1c5539=pwToCodeceptBrowser[_0x420cf9['browserName']]||_0x420cf9[_0x3b9a98(0x17f)];return{'browser':_0x1c5539,[_0x1c5539]:{'browserWSEndpoint':_0x3fca00[_0x3b9a98(0x13c)](helper[_0x3b9a98(0x122)](_0x28f23b[_0x3b9a98(0x150)]),_0x3fca00[_0x3b9a98(0x17e)](encodeURIComponent,JSON[_0x3b9a98(0x11c)](_0x420cf9)))}};}const _0x32831a={};return _0x32831a[_0x3b9a98(0x130)]=_0x420cf9,_0x32831a;})()),_0x4729f4=_0x3fca00[_0x1470f0(0x155)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x1470f0(0x10f)],_0x33f323]);_0x385c83[_0x57dc30]=_0x4729f4?helper[_0x1470f0(0x14a)](_0x473650,_0x4729f4):_0x473650,!_0x34d36a&&(_0x385c83[_0x57dc30][_0x1470f0(0x167)]=_0x420cf9[_0x1470f0(0x17f)]||_0x473650[_0x1470f0(0x167)]),_0x153e67['push'](_0x57dc30);});}else{_0x4dab06=0x1;if(_0x34d36a){const _0x15dc9d=_0x3fca00['opWmZ'](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x33f323,_0x3fca00[_0x2c6d1f(0x165)]]),_0x36f0e4=_0x3fca00[_0x2c6d1f(0x155)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x33f323,_0x15dc9d]);_0x36f0e4&&_0x36f0e4[_0x2c6d1f(0x13d)]&&(_0x36f0e4['browserWSEndpoint']=helper[_0x2c6d1f(0x16e)](null,null,_0x512783[_0x2c6d1f(0x176)](),null,null,_0x36f0e4[_0x2c6d1f(0x13d)]));}else _0x46646a[_0x3fca00[_0x2c6d1f(0x10f)]][_0x33f323][_0x3fca00[_0x2c6d1f(0x12e)]]=helper[_0x2c6d1f(0x16e)](null,null,_0x512783[_0x2c6d1f(0x176)](),_0x3fca00[_0x2c6d1f(0x107)](nestedKeyValue,_0x46646a,[_0x3fca00[_0x2c6d1f(0x10f)],_0x33f323,_0x3fca00[_0x2c6d1f(0x12e)]]),null,null);_0x385c83[_0x3fca00['rMkwo']]=_0x46646a,_0x153e67[_0x2c6d1f(0x15a)](_0x3fca00[_0x2c6d1f(0x103)]);}const _0x1212b7={};_0x1212b7[_0x2c6d1f(0x16b)]=_0x32ce7e;const _0x55e326=_0x1212b7,_0x5b37b9=path['join'](__dirname,_0x3fca00[_0x2c6d1f(0x143)]),_0x291d9b=process[_0x2c6d1f(0x142)]();process[_0x2c6d1f(0x10b)][_0x3fca00[_0x2c6d1f(0x15f)]]=_0x291d9b,process[_0x2c6d1f(0x166)](path[_0x2c6d1f(0x151)](_0x32ce7e));const _0x116660=new CodeceptJS[(_0x2c6d1f(0x104))](null,_0x55e326),_0x37a87c=_0x116660[_0x2c6d1f(0x181)](_0x4dab06),_0x3159b3=testOpsHelper[_0x2c6d1f(0x10e)](),_0x43d613=_0x153e67[_0x2c6d1f(0x184)](_0x3e6786=>{const _0x405d41=_0x2c6d1f,_0xfddc6d={};_0xfddc6d[_0x405d41(0x161)]=_0x385c83[_0x3e6786];const _0x4a5c36={};_0x4a5c36[_0x405d41(0x114)]=_0x385c83[_0x3e6786];const _0x43ec25=_0x34d36a?_0xfddc6d:_0x4a5c36,_0x5e523a=_0x3fca00['laqAt'](getO11yRerunPattern),_0x1894b2={};_0x1894b2['helpers']=_0x43ec25;const _0x3faeb1={};_0x3faeb1[_0x405d41(0x14c)]=_0x5b37b9,_0x3faeb1[_0x405d41(0x14f)]=!![],_0x3faeb1[_0x405d41(0x124)]=_0x28f23b[_0x405d41(0x150)][_0x405d41(0x105)]['skipSessionName'],_0x3faeb1[_0x405d41(0x138)]=_0x28f23b['config'][_0x405d41(0x105)]['skipSessionStatus'],_0x3faeb1[_0x405d41(0x152)]=_0x3159b3,_0x3faeb1['frameworkName']=_0x512783;const _0x2b245a={};_0x2b245a['BrowserStackPlugin']=_0x3faeb1;const _0x1ce009={};return _0x1ce009[_0x405d41(0x14e)]=_0x2b245a,helper['mergeDeep']({},_0x46646a,_0x3fca00[_0x405d41(0x118)](isBrowserstackInfra)?_0x1894b2:{},_0x5e523a?{'grep':_0x5e523a}:{},_0x1ce009);});for(const _0x2ba27d of _0x43d613){for(const _0x2c80a2 of _0x37a87c){const _0x48e1b6=_0x116660[_0x2c6d1f(0x132)]();_0x48e1b6[_0x2c6d1f(0x160)](_0x2c80a2),_0x48e1b6['addConfig'](_0x2ba27d);}}_0x116660['on'](CodeceptJS[_0x2c6d1f(0x16f)][_0x2c6d1f(0x169)][_0x2c6d1f(0x123)],(_0x30fb5d,_0x1d9b83)=>{const _0x157874=_0x2c6d1f;console[_0x157874(0x16d)](_0x3fca00['zRDOp'],_0x30fb5d[_0x157874(0x153)]);const _0x179612={[_0x30fb5d[_0x157874(0x153)]]:_0x30fb5d[_0x157874(0x112)][_0x157874(0x15c)]};_testErrorData['push'](_0x179612);}),_0x116660['on'](CodeceptJS['event']['test']['passed'],async _0x443ed9=>{const _0xac93f8=_0x2c6d1f;console[_0xac93f8(0x16d)](_0x3fca00[_0xac93f8(0x15b)],_0x443ed9['title']);}),_0x116660['on'](CodeceptJS['event'][_0x2c6d1f(0x169)][_0x2c6d1f(0x10d)],async _0x15c4a6=>{const _0x401198=_0x2c6d1f;console[_0x401198(0x16d)](_0x3fca00[_0x401198(0xfe)],_0x15c4a6[_0x401198(0x153)]);}),_0x116660['on'](CodeceptJS['event'][_0x2c6d1f(0x158)][_0x2c6d1f(0x145)],async()=>{const _0x5518b4=_0x2c6d1f,_0x2247d7=_0x3fca00[_0x5518b4(0x12f)][_0x5518b4(0x10c)]('|');let _0x5abc51=0x0;while(!![]){switch(_0x2247d7[_0x5abc51++]){case'0':try{await TestHubHandler['stop']();}catch(_0x319753){logger['debug'](_0x5518b4(0x10a)+util[_0x5518b4(0x134)](_0x319753));}continue;case'1':_0x28f23b[_0x5518b4(0x113)]=_testErrorData;continue;case'2':utilities['finalExecution'](_0x28f23b);continue;case'3':_0x116660[_0x5518b4(0x177)]();continue;case'4':testOpsHelper[_0x5518b4(0x12d)]();continue;}break;}});async function _0xd026a2(){const _0x1182e6=_0x2c6d1f;try{await _0x116660[_0x1182e6(0x159)](),await _0x116660[_0x1182e6(0x11a)]();}finally{process[_0x1182e6(0x166)](_0x291d9b),await _0x116660[_0x1182e6(0x178)]();}}_0x3fca00['laqAt'](_0xd026a2);}module[a2_0x34161c(0x15e)]=run;
@@ -1 +1 @@
1
- const a3_0x28b7ed=a3_0x1b3c;(function(_0x8c537d,_0x444654){const _0x501515=a3_0x1b3c,_0x4e0019=_0x8c537d();while(!![]){try{const _0x644c08=-parseInt(_0x501515(0xde))/0x1+-parseInt(_0x501515(0xe7))/0x2+parseInt(_0x501515(0xe0))/0x3*(-parseInt(_0x501515(0x116))/0x4)+parseInt(_0x501515(0xd4))/0x5+-parseInt(_0x501515(0xef))/0x6+parseInt(_0x501515(0x10c))/0x7*(-parseInt(_0x501515(0x118))/0x8)+parseInt(_0x501515(0x10d))/0x9;if(_0x644c08===_0x444654)break;else _0x4e0019['push'](_0x4e0019['shift']());}catch(_0x19e54b){_0x4e0019['push'](_0x4e0019['shift']());}}}(a3_0x1c88,0x20fb5));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x28b7ed(0xdd))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x28b7ed(0xe6)),getOSVersionFromCaps=_0x4d09fd=>{const _0x1cdf33=a3_0x28b7ed,_0x45d088={};_0x45d088[_0x1cdf33(0xd8)]=_0x1cdf33(0x113),_0x45d088[_0x1cdf33(0x110)]=_0x1cdf33(0x108),_0x45d088[_0x1cdf33(0x10f)]=_0x1cdf33(0x115),_0x45d088[_0x1cdf33(0x10b)]=_0x1cdf33(0xdf),_0x45d088[_0x1cdf33(0xd5)]='os_version';const _0x12f060=_0x45d088;if(!_0x4d09fd)return null;const _0x59588c=_0x4d09fd[_0x12f060[_0x1cdf33(0xd8)]],_0x24486f=[_0x12f060['sDdVr'],_0x12f060[_0x1cdf33(0x10f)],_0x12f060['DOzON'],_0x12f060[_0x1cdf33(0xd5)]];for(const _0x14382f of _0x24486f){if(_0x59588c&&_0x59588c[_0x14382f])return _0x59588c[_0x14382f];else{if(_0x4d09fd[_0x14382f])return _0x4d09fd[_0x14382f];}}return null;};function a3_0x1b3c(_0x4d65e1,_0x5a42e1){const _0x1c88d8=a3_0x1c88();return a3_0x1b3c=function(_0x1b3c0e,_0x57de72){_0x1b3c0e=_0x1b3c0e-0xd1;let _0x1e7776=_0x1c88d8[_0x1b3c0e];return _0x1e7776;},a3_0x1b3c(_0x4d65e1,_0x5a42e1);}function a3_0x1c88(){const _0x55a541=['884605MVKxsV','RjlsB','browserWSEndpoint','platform','QZNjt','browser','WebDriver','tfkys','cloudProvider','../../helpers/logger','56930zAkUED','osVersion','61473xedZsM','rKSOk','RcVPS','NWquk','warn','get','../../helpers/test-observability/utils','505648uVRfkR','browserstack_executor','accessibilityPlatform','capabilities','ArlVv','FqZKr','constructor','__cloud_provider___','1347936qGAcch','browserName','iYtbk','shouldPatchExecuteScript','browserVersion','froPI','DXrFv','sessionId','nucFR','JcwIn','includes','MTThO','parse','browser_version','latest','xQXfo','ynhRn','playwright-chromium','Playwright','wEOCx','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','deviceName','akTNh','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','oOgRy','platformVersion','fetchPlatformDetails','btjOO','DOzON','55734joIqoE','6645177IjXYvw','bsSessionId','ywidI','sDdVr','MYJca','caps','bstack:options','getDetails','platform_version','20vtYlyZ','QuNAj','144UdKKHi','chrome','processWebDriverConfig','AYLDk','CwbRf'];a3_0x1c88=function(){return _0x55a541;};return a3_0x1c88();}exports[a3_0x28b7ed(0x109)]=_0xeddce1=>{const _0x455a31=a3_0x28b7ed,_0x122d42={'ArlVv':'unknown_grid','wEKgJ':function(_0x509227,_0x48b225){return _0x509227===_0x48b225;},'rKSOk':_0x455a31(0xda),'ynhRn':function(_0x44d9f8,_0x53f4ad){return _0x44d9f8(_0x53f4ad);},'MYJca':function(_0x3feffe,_0x583573,_0x5dd07d){return _0x3feffe(_0x583573,_0x5dd07d);},'MTThO':'config','DXrFv':'desiredCapabilities','QuNAj':function(_0xf5ecc2,_0x5b5f8a){return _0xf5ecc2(_0x5b5f8a);},'NWquk':function(_0x2f0112,_0x3c2dd7){return _0x2f0112===_0x3c2dd7;},'tfkys':_0x455a31(0x101),'oOgRy':_0x455a31(0xd9),'wEOCx':_0x455a31(0xd6),'KFwXY':_0x455a31(0x112)};if(!_0xeddce1)return null;let _0x4488c5=global[_0x455a31(0xee)]||_0x122d42[_0x455a31(0xeb)];if(_0x122d42['wEKgJ'](_0xeddce1['constructor']['name'],_0x122d42[_0x455a31(0xe1)])){const _0x406af3=_0xeddce1['browser'];if(!_0x406af3)return null;const _0x1bb87b=_0x406af3[_0x455a31(0xea)],_0x141357=_0x122d42[_0x455a31(0xff)](getOSVersionFromCaps,_0x122d42[_0x455a31(0x111)](nestedKeyValue,_0xeddce1,[_0x122d42[_0x455a31(0xfa)],_0x122d42[_0x455a31(0xf5)]]));return{[_0x4488c5]:{'browser':_0x1bb87b[_0x455a31(0xf0)],'browser_version':_0x1bb87b[_0x455a31(0xf3)],'capabilities':_0x1bb87b,'platform':_0x1bb87b['platformName'],'platform_version':_0x1bb87b[_0x455a31(0x108)]||_0x141357,'product':_0x122d42[_0x455a31(0x117)](getObservabilityLinkedProductName,_0x1bb87b),'session_id':_0x406af3[_0x455a31(0xf6)]}};}else{if(_0x122d42[_0x455a31(0xe3)](_0xeddce1[_0x455a31(0xed)]['name'],_0x122d42[_0x455a31(0xdb)])){const _0x2c4555=PlaywrightSessionDetails[_0x455a31(0x114)]();_0x4488c5=_0x2c4555[_0x455a31(0xdc)]||_0x4488c5;const _0x16fb7e=_0x122d42[_0x455a31(0x111)](nestedKeyValue,_0xeddce1,[_0x122d42[_0x455a31(0xfa)],_0x122d42[_0x455a31(0x107)],_0x122d42[_0x455a31(0x102)]]),_0x358b18=_0x16fb7e?JSON[_0x455a31(0xfb)](new URL(_0x16fb7e)['searchParams'][_0x455a31(0xe5)](_0x122d42['KFwXY'])):{};return{[_0x4488c5]:{'browser':_0x2c4555[_0x455a31(0xd9)]||_0x358b18['browserName'],'browser_version':_0x2c4555[_0x455a31(0xfc)]||_0x358b18[_0x455a31(0xfc)],'capabilities':_0x358b18,'platform':_0x2c4555[_0x455a31(0xd7)],'platform_version':_0x2c4555[_0x455a31(0x115)],'product':_0x122d42[_0x455a31(0xff)](getObservabilityLinkedProductName,_0x358b18),'session_id':_0x2c4555[_0x455a31(0x10e)]}};}}},exports[a3_0x28b7ed(0xd1)]=_0x13d803=>{const _0x15025a=a3_0x28b7ed,_0x2369db={'pcyUQ':function(_0x50aaf1){return _0x50aaf1();},'iYtbk':function(_0x56f947,_0x4dd55d){return _0x56f947===_0x4dd55d;},'FqZKr':_0x15025a(0xfd),'froPI':function(_0x2e4c0e,_0x2934e1){return _0x2e4c0e>_0x2934e1;},'akTNh':function(_0x4be229,_0x191019){return _0x4be229(_0x191019);},'JcwIn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','AYLDk':_0x15025a(0x119),'btjOO':function(_0x111d54,_0x49bcf3){return _0x111d54===_0x49bcf3;},'CwbRf':_0x15025a(0x100),'wuJqK':_0x15025a(0x106),'nucFR':_0x15025a(0x103)};if(_0x2369db['pcyUQ'](isAccessibilityAutomationSession)){const _0x19b7fa=_0x13d803['browser'],_0x2a6890=_0x19b7fa['capabilities'];global['accessibilityPlatform']=!![],!(_0x2369db[_0x15025a(0xf1)](_0x2a6890[_0x15025a(0xf3)],_0x2369db[_0x15025a(0xec)])||_0x2369db[_0x15025a(0xf4)](_0x2369db['akTNh'](parseInt,_0x2a6890['browserVersion']),0x5e))&&(logger[_0x15025a(0xe4)](_0x2369db[_0x15025a(0xf8)]),global[_0x15025a(0xe9)]=![]),!(_0x2369db[_0x15025a(0xf1)](_0x2a6890[_0x15025a(0xf0)],_0x2369db[_0x15025a(0xd2)])||_0x2369db[_0x15025a(0x10a)](_0x2a6890[_0x15025a(0xf0)],_0x2369db[_0x15025a(0xd3)]))&&(logger[_0x15025a(0xe4)](_0x2369db['wuJqK']),global[_0x15025a(0xe9)]=![]),!_0x2369db[_0x15025a(0x105)](isUndefined,_0x2a6890[_0x15025a(0x104)])&&(logger[_0x15025a(0xe4)](_0x2369db[_0x15025a(0xf7)]),global[_0x15025a(0xe9)]=![]);}},exports[a3_0x28b7ed(0xf2)]=_0x20da81=>{const _0x5b8225=a3_0x28b7ed,_0xe9bdfa={};_0xe9bdfa[_0x5b8225(0xfe)]=_0x5b8225(0xe8),_0xe9bdfa[_0x5b8225(0xe2)]='browserstack_accessibility_automation_script';const _0x3836bc=_0xe9bdfa;if(!_0x20da81)return![];return!_0x20da81[_0x5b8225(0xf9)](_0x3836bc[_0x5b8225(0xfe)])&&!_0x20da81[_0x5b8225(0xf9)](_0x3836bc[_0x5b8225(0xe2)]);};
1
+ const a3_0x2b5059=a3_0x1476;function a3_0x1e65(){const _0x30490e=['NwdAZ','353637tCBnva','../../helpers/helper','get','881736oFUKbS','bstack:options','unknown_grid','osVersion','OiqiF','sessionId','wumEF','caps','bDJjB','1NOdqYb','searchParams','warn','browserName','eguju','NHebi','IjplM','uWcfg','browserVersion','40ScFLos','__cloud_provider___','KIeyQ','Playwright','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','588972DVPpvI','os_version','platformVersion','../../helpers/accessibility-automation/helper','KgylA','name','QDAbR','LFLce','platformName','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','constructor','config','wqbHo','MCgyh','EKDUU','997195noHXOU','browserstack_accessibility_automation_script','accessibilityPlatform','WmnpB','parse','desiredCapabilities','1415466QuWgjp','winstonLogger','NydAf','shouldPatchExecuteScript','erPNq','processWebDriverConfig','WXgJU','29214iBkOHD','../../helpers/logger','jWbeE','deviceName','607271zNlAUh','platform','../../bin/playwright/sessionDetails','browser','capabilities','okecI','fetchPlatformDetails','chrome','browserstack_executor','bsSessionId','Vllon','browser_version','platform_version','includes','XGkDO','qMvTr','LMrJS','mkSlr','cloudProvider','playwright-chromium','pEqel','baIdi'];a3_0x1e65=function(){return _0x30490e;};return a3_0x1e65();}(function(_0x4bcf12,_0x4e2e0b){const _0x270bf3=a3_0x1476,_0x327a46=_0x4bcf12();while(!![]){try{const _0xab74e5=-parseInt(_0x270bf3(0x15b))/0x1*(-parseInt(_0x270bf3(0x169))/0x2)+-parseInt(_0x270bf3(0x134))/0x3+parseInt(_0x270bf3(0x152))/0x4+-parseInt(_0x270bf3(0x127))/0x5+-parseInt(_0x270bf3(0x12d))/0x6+-parseInt(_0x270bf3(0x138))/0x7+parseInt(_0x270bf3(0x164))/0x8*(parseInt(_0x270bf3(0x14f))/0x9);if(_0xab74e5===_0x4e2e0b)break;else _0x327a46['push'](_0x327a46['shift']());}catch(_0x21da2d){_0x327a46['push'](_0x327a46['shift']());}}}(a3_0x1e65,0x2bd58));const {isUndefined,nestedKeyValue}=require(a3_0x2b5059(0x150)),logger=require(a3_0x2b5059(0x135))[a3_0x2b5059(0x12e)],PlaywrightSessionDetails=require(a3_0x2b5059(0x13a)),{isAccessibilityAutomationSession}=require(a3_0x2b5059(0x16c)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x5022de=>{const _0x37d6da=a3_0x2b5059,_0x51ba16={};_0x51ba16['KgylA']=_0x37d6da(0x153),_0x51ba16[_0x37d6da(0x142)]='platformVersion',_0x51ba16[_0x37d6da(0x156)]=_0x37d6da(0x144),_0x51ba16[_0x37d6da(0x126)]=_0x37d6da(0x155),_0x51ba16[_0x37d6da(0x15a)]=_0x37d6da(0x16a);const _0x3c9965=_0x51ba16;if(!_0x5022de)return null;const _0x4d75d6=_0x5022de[_0x3c9965[_0x37d6da(0x16d)]],_0x3d604a=[_0x3c9965[_0x37d6da(0x142)],_0x3c9965[_0x37d6da(0x156)],_0x3c9965[_0x37d6da(0x126)],_0x3c9965[_0x37d6da(0x15a)]];for(const _0x4fc6ba of _0x3d604a){if(_0x4d75d6&&_0x4d75d6[_0x4fc6ba])return _0x4d75d6[_0x4fc6ba];else{if(_0x5022de[_0x4fc6ba])return _0x5022de[_0x4fc6ba];}}return null;};function a3_0x1476(_0x55bede,_0x5c7037){const _0x1e6504=a3_0x1e65();return a3_0x1476=function(_0x147644,_0x2a41a2){_0x147644=_0x147644-0x125;let _0x4650c0=_0x1e6504[_0x147644];return _0x4650c0;},a3_0x1476(_0x55bede,_0x5c7037);}exports[a3_0x2b5059(0x13e)]=_0x4833aa=>{const _0x234464=a3_0x2b5059,_0x2b8616={'baIdi':_0x234464(0x154),'qMvTr':function(_0x732a4b,_0x20ab10){return _0x732a4b===_0x20ab10;},'eguju':_0x234464(0x172),'IjplM':function(_0xbe54dc,_0x5b221a){return _0xbe54dc(_0x5b221a);},'wqbHo':function(_0x59b43e,_0x481950,_0x4f8b39){return _0x59b43e(_0x481950,_0x4f8b39);},'jWbeE':_0x234464(0x175),'pEqel':_0x234464(0x12c),'wumEF':_0x234464(0x167),'mkSlr':function(_0xe72db,_0x5ee6de,_0x11183c){return _0xe72db(_0x5ee6de,_0x11183c);},'uWcfg':_0x234464(0x13b),'okecI':'browserWSEndpoint','QDAbR':_0x234464(0x159)};if(!_0x4833aa)return null;let _0xe7d1cd=global[_0x234464(0x165)]||_0x2b8616[_0x234464(0x14d)];if(_0x2b8616[_0x234464(0x147)](_0x4833aa[_0x234464(0x174)][_0x234464(0x16e)],_0x2b8616[_0x234464(0x15f)])){const _0x38eb38=_0x4833aa['browser'];if(!_0x38eb38)return null;const _0x5ddafb=_0x38eb38[_0x234464(0x13c)],_0x10c047=_0x2b8616[_0x234464(0x161)](getOSVersionFromCaps,_0x2b8616[_0x234464(0x176)](nestedKeyValue,_0x4833aa,[_0x2b8616['jWbeE'],_0x2b8616[_0x234464(0x14c)]]));return{[_0xe7d1cd]:{'browser':_0x5ddafb['browserName'],'browser_version':_0x5ddafb[_0x234464(0x163)],'capabilities':_0x5ddafb,'platform':_0x5ddafb[_0x234464(0x171)],'platform_version':_0x5ddafb[_0x234464(0x16b)]||_0x10c047,'product':_0x2b8616['IjplM'](getObservabilityLinkedProductName,_0x5ddafb),'session_id':_0x38eb38[_0x234464(0x157)]}};}else{if(_0x2b8616[_0x234464(0x147)](_0x4833aa[_0x234464(0x174)][_0x234464(0x16e)],_0x2b8616[_0x234464(0x158)])){const _0x56e55e=PlaywrightSessionDetails['getDetails']();_0xe7d1cd=_0x56e55e[_0x234464(0x14a)]||_0xe7d1cd;const _0x227441=_0x2b8616[_0x234464(0x149)](nestedKeyValue,_0x4833aa,[_0x2b8616[_0x234464(0x136)],_0x2b8616[_0x234464(0x162)],_0x2b8616[_0x234464(0x13d)]]),_0x238dc7=_0x227441?JSON[_0x234464(0x12b)](new URL(_0x227441)[_0x234464(0x15c)][_0x234464(0x151)](_0x2b8616[_0x234464(0x16f)])):{};return{[_0xe7d1cd]:{'browser':_0x56e55e['browser']||_0x238dc7[_0x234464(0x15e)],'browser_version':_0x56e55e[_0x234464(0x143)]||_0x238dc7['browser_version'],'capabilities':_0x238dc7,'platform':_0x56e55e[_0x234464(0x139)],'platform_version':_0x56e55e[_0x234464(0x144)],'product':_0x2b8616[_0x234464(0x161)](getObservabilityLinkedProductName,_0x238dc7),'session_id':_0x56e55e[_0x234464(0x141)]}};}}},exports[a3_0x2b5059(0x132)]=_0x54e471=>{const _0x1c57c4=a3_0x2b5059,_0x4389df={'NHebi':function(_0x4c0f16){return _0x4c0f16();},'KIeyQ':function(_0x5de6af,_0x4b5179){return _0x5de6af===_0x4b5179;},'NydAf':'latest','NwdAZ':function(_0x2f1ce6,_0x2165fa){return _0x2f1ce6>_0x2165fa;},'OIqVf':function(_0x505eff,_0x1aee32){return _0x505eff(_0x1aee32);},'erPNq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','aSpPz':_0x1c57c4(0x13f),'XGkDO':function(_0x12296e,_0x178ee5){return _0x12296e===_0x178ee5;},'LFLce':_0x1c57c4(0x14b),'JzbPn':_0x1c57c4(0x173),'LMrJS':function(_0x16aa0e,_0x5f5197){return _0x16aa0e(_0x5f5197);},'WXgJU':_0x1c57c4(0x168)};if(_0x4389df[_0x1c57c4(0x160)](isAccessibilityAutomationSession)){const _0x4bb4cd=_0x54e471['browser'],_0x376981=_0x4bb4cd[_0x1c57c4(0x13c)];global['accessibilityPlatform']=!![],!(_0x4389df['KIeyQ'](_0x376981[_0x1c57c4(0x163)],_0x4389df[_0x1c57c4(0x12f)])||_0x4389df[_0x1c57c4(0x14e)](_0x4389df['OIqVf'](parseInt,_0x376981['browserVersion']),0x5e))&&(logger[_0x1c57c4(0x15d)](_0x4389df[_0x1c57c4(0x131)]),global['accessibilityPlatform']=![]),!(_0x4389df[_0x1c57c4(0x166)](_0x376981[_0x1c57c4(0x15e)],_0x4389df['aSpPz'])||_0x4389df[_0x1c57c4(0x146)](_0x376981[_0x1c57c4(0x15e)],_0x4389df[_0x1c57c4(0x170)]))&&(logger[_0x1c57c4(0x15d)](_0x4389df['JzbPn']),global[_0x1c57c4(0x129)]=![]),!_0x4389df[_0x1c57c4(0x148)](isUndefined,_0x376981[_0x1c57c4(0x137)])&&(logger['warn'](_0x4389df[_0x1c57c4(0x133)]),global[_0x1c57c4(0x129)]=![]);}},exports[a3_0x2b5059(0x130)]=_0x353cd6=>{const _0xcc1b9a=a3_0x2b5059,_0x1bacc5={};_0x1bacc5[_0xcc1b9a(0x12a)]=_0xcc1b9a(0x140),_0x1bacc5[_0xcc1b9a(0x125)]=_0xcc1b9a(0x128);const _0x8474a4=_0x1bacc5;if(!_0x353cd6)return![];return!_0x353cd6[_0xcc1b9a(0x145)](_0x8474a4[_0xcc1b9a(0x12a)])&&!_0x353cd6['includes'](_0x8474a4[_0xcc1b9a(0x125)]);};
@@ -1 +1 @@
1
- function a4_0x4833(_0x21b173,_0x141287){const _0x26e018=a4_0x26e0();return a4_0x4833=function(_0x483312,_0x21b557){_0x483312=_0x483312-0x15e;let _0x5672f8=_0x26e018[_0x483312];return _0x5672f8;},a4_0x4833(_0x21b173,_0x141287);}function a4_0x26e0(){const _0x242366=['findGitConfig','Failed\x20to\x20parse\x20wsendpoint\x20','constructor','TestRunSkipped','getFailureType','patchConsoleLogger','status','gQWgP','cwd','DrvhA','apply','xKXwe','file','connect','pECVq','XlrXL','suites','name','failed','MBJGo','../playwright/sessionDetails','debug','kNoFS','kAFDb','feature','type','match','includes','keyword','XKybc','uwKFE','lib','905248hklMqX','getCBTInfo','HOOK_RUN_STARTED','../../helpers/test-observability/utils','dirname','uhILI','failed\x20to\x20get\x20root\x20parent\x20file\x20','wvKey','finished','forEach','TEST_RUN_SKIPPED','push','438824KMwoTU','bddSteps','STATE_PASSED','errorsDetailed','bhRlJ','duration','logs','find','XSPWS','.git','length','OtzKw','passed','failureData','aQvsF','BEqyf','vRnhc','failure','mapTestHooks','5PUOrhh','prototype','VUOsv','codeceptjs','startedAt','getHooksForTest','text','_afterAll','bs:addLog:','zFOUz','12aEYxcu','exports','concat','wvzYG','293952fnwYsY','pending','nbfUR','connectOverCDP','test_run','client','resetSkipTestHooks','__cloud_provider___','nuMTJ','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','title','PathHelper','getTime','location_prefix','kWPNN','FTYsJ','currentTest','../../helpers/test-observability/requestQueueHandler','success','PLAYWRIGHT_HUB_URL','HnWYt','ibSQl','_beforeAll','result','string','DdjbE','../../helpers/testhub/utils.js','235620McewBE','hook_run','HookRunStarted','failure_reason_expanded','vXjHj','CODECEPT','inspect','sendCBTInfo','1487108OKJlOS','dyrNh','started','DVTov','test','braQl','hook_run_uuid','path','ctx','then','JMynO','now','defineProperty','removeAllListeners','uploadEventData','failure_backtrace','Playwright','tags','ArQxn','integrations','config','sKohW','setupBrowserDetails','getRootParentFile','event_type','toUpperCase','PgGVZ','hooks','testAnalyticsId','../mocha/test-observability/mochaUtils','start','uuid','test_run_uuid','elKsL','parent','STATE_FAILED','stringify','nMZgT','file_name','YXyvd','launch','bddStepFinish','wsEndpoint','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','HOOK_RUN_FINISHED','bind','EhliY','toISOString','captureEvent','_afterEach','yKylv','stop','../../helpers/test-observability/sessionHandler','../utils/constants','browserstack','err','TEST_RUN_FINISHED','stepAnalyticsId','../../helpers/helper','TEST_EVENTS','_beforeEach','HBXUr','rWyTl','ObbFY','LapWm','TEST_RUN_STARTED','markedStatus','initializeBddStep','420JnGPyA','./helper.js','yOVlz','pid','hook_type','LogCreated','dbmgd','IruMH','aAtek','xBwMV','BrowserType','ZDdCK','body','_testEnv','driver','Not\x20able\x20to\x20import\x20Browser','retryOf','TestRunStarted','fullTitle','NIpXJ','tpWXt','lliUO','appendTestItemLog','frameworkName','MTmUc','SpOQA','groups','uItKq','finished_at','fireEvent','winstonLogger','_paths','fYpay','TestRunFinished','message','XpEuB','bddStepStart','196734DiCrgU','fXLlO','comment','qcXxO','accessibilityPlatform','csgRv','util','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getHookType','zxadj','../../helpers/test-observability/constants','senUx','O11yHelper','2694210NKDlpn','toLowerCase','skipped','HYNLi','join','XSUib','hookAnalyticsId','enabled','UrJkw','SvkWS','backtrace','fJKGN','BfDjZ','toString','\x20with\x20error\x20:\x20','currentHook','hook','sep','vJyuV','meta','getHierarchy','2|1|3|4|5|0'];a4_0x26e0=function(){return _0x242366;};return a4_0x26e0();}const a4_0x35be93=a4_0x4833;(function(_0x5b3a0c,_0x138254){const _0x32029f=a4_0x4833,_0x101682=_0x5b3a0c();while(!![]){try{const _0x1333a5=-parseInt(_0x32029f(0x21d))/0x1+parseInt(_0x32029f(0x1fc))/0x2+parseInt(_0x32029f(0x1ad))/0x3*(-parseInt(_0x32029f(0x219))/0x4)+-parseInt(_0x32029f(0x20f))/0x5*(parseInt(_0x32029f(0x1ba))/0x6)+-parseInt(_0x32029f(0x240))/0x7+parseInt(_0x32029f(0x1f0))/0x8+-parseInt(_0x32029f(0x238))/0x9*(-parseInt(_0x32029f(0x188))/0xa);if(_0x1333a5===_0x138254)break;else _0x101682['push'](_0x101682['shift']());}catch(_0x49f570){_0x101682['push'](_0x101682['shift']());}}}(a4_0x26e0,0x4459b));const path=require(a4_0x35be93(0x247)),fs=require('fs'),{v4:uuidv4}=require(a4_0x35be93(0x163)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x35be93(0x17e)),testOpsHelper=require(a4_0x35be93(0x1f3)),{getTestEnv}=require(a4_0x35be93(0x161)),{FRAMEWORKS}=require(a4_0x35be93(0x1b7)),logger=require('../../helpers/logger')[a4_0x35be93(0x1a6)],SessionHandler=require(a4_0x35be93(0x178)),RequestQueueHandler=require(a4_0x35be93(0x22e)),PlaywrightSessionDetails=require(a4_0x35be93(0x1e4)),debug=testOpsHelper[a4_0x35be93(0x1e5)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x35be93(0x179)),{fetchPlatformDetails}=require(a4_0x35be93(0x189)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x35be93(0x237)),STATE_PASSED=a4_0x35be93(0x208),STATE_FAILED=a4_0x35be93(0x1e2),a4_0xb7a544={};a4_0xb7a544[a4_0x35be93(0x185)]=a4_0x35be93(0x199),a4_0xb7a544['TEST_RUN_FINISHED']=a4_0x35be93(0x1a9),a4_0xb7a544[a4_0x35be93(0x1fa)]=a4_0x35be93(0x1d3),a4_0xb7a544[a4_0x35be93(0x1f2)]=a4_0x35be93(0x23a),a4_0xb7a544[a4_0x35be93(0x170)]='HookRunFinished';const TEST_EVENTS=a4_0xb7a544,parseEvent=_0x10758d=>{const _0x3dbb21=a4_0x35be93,_0x33ee80={};_0x33ee80[_0x3dbb21(0x1f5)]=function(_0x452b76,_0x1c103e){return _0x452b76<_0x1c103e;},_0x33ee80[_0x3dbb21(0x181)]=function(_0x4ae365,_0x3c3b33){return _0x4ae365===_0x3c3b33;},_0x33ee80[_0x3dbb21(0x19b)]=_0x3dbb21(0x244),_0x33ee80[_0x3dbb21(0x1bf)]=function(_0x4ff46b,_0x4e69f8){return _0x4ff46b===_0x4e69f8;},_0x33ee80[_0x3dbb21(0x1df)]='hook',_0x33ee80['bhRlJ']=_0x3dbb21(0x1bc),_0x33ee80[_0x3dbb21(0x19d)]=function(_0x17d9cd,_0x5d400b){return _0x17d9cd===_0x5d400b;},_0x33ee80[_0x3dbb21(0x252)]=_0x3dbb21(0x242),_0x33ee80[_0x3dbb21(0x1e6)]=_0x3dbb21(0x1f8);const _0x59b697=_0x33ee80,_0x32420f=_0x10758d[_0x3dbb21(0x1ea)](/^(.*)Run(.*)$/);if(!_0x32420f)return null;if(_0x59b697['uhILI'](_0x32420f[_0x3dbb21(0x206)],0x3))return null;const _0x1b9517=_0x32420f[0x1][_0x3dbb21(0x1bb)](),_0x4c56e3=_0x32420f[0x2][_0x3dbb21(0x1bb)]();return{'test':_0x59b697[_0x3dbb21(0x181)](_0x1b9517,_0x59b697['NIpXJ']),'hook':_0x59b697['XSUib'](_0x1b9517,_0x59b697[_0x3dbb21(0x1df)]),'skipped':_0x59b697[_0x3dbb21(0x181)](_0x4c56e3,_0x59b697[_0x3dbb21(0x200)]),'started':_0x59b697[_0x3dbb21(0x19d)](_0x4c56e3,_0x59b697[_0x3dbb21(0x252)]),'finished':_0x59b697['lliUO'](_0x4c56e3,_0x59b697[_0x3dbb21(0x1e6)])};},mockPWBrowserType=_0x2ec808=>{const _0x471f85=a4_0x35be93,_0x2bcd36={'wvKey':function(_0x3fded6,_0x473caf){return _0x3fded6===_0x473caf;},'yKylv':_0x471f85(0x235),'TLHrH':function(_0xc64bb1,_0x50e55b,_0x50056c){return _0xc64bb1(_0x50e55b,_0x50056c);},'HYNLi':_0x471f85(0x16e),'XSPWS':function(_0x1c3323,_0xcd1e7a){return _0x1c3323(_0xcd1e7a);},'DVTov':_0x471f85(0x17a),'xBwMV':_0x471f85(0x1ef),'zNKuQ':_0x471f85(0x222),'elKsL':'browserType.js','vJyuV':function(_0x44dbb2,_0x507dc9){return _0x44dbb2(_0x507dc9);},'vXjHj':function(_0x165bef,_0x4045cc){return _0x165bef(_0x4045cc);},'ibSQl':_0x471f85(0x197),'yOVlz':'connect','mxNjl':'launch'},_0x589e52=path[_0x471f85(0x1be)](_0x2bcd36[_0x471f85(0x191)],_0x2bcd36['zNKuQ'],_0x2bcd36[_0x471f85(0x165)]),_0x568674=_0x2bcd36[_0x471f85(0x1cc)](importFileFromPWCore,_0x589e52);if(!_0x568674){_0x2bcd36[_0x471f85(0x23c)](debug,_0x2bcd36[_0x471f85(0x232)]);return;}const _0xc2142e=_0x568674[_0x471f85(0x192)],_0x15f438=_0xc2142e[_0x471f85(0x210)];if(_0x15f438['obsBrowserTypeMockApplied'])return;const _0x29001e=_0x15f438[_0x471f85(0x1dd)];Object[_0x471f85(0x24c)](_0x15f438,_0x2bcd36[_0x471f85(0x18a)],{'get':function(){const _0x159434=_0x471f85,_0x147079={'rWyTl':function(_0x2bfa1a,_0x421711){const _0x5f2ed0=a4_0x4833;return _0x2bcd36[_0x5f2ed0(0x1f7)](_0x2bfa1a,_0x421711);},'braQl':_0x2bcd36[_0x159434(0x176)],'OoTTE':function(_0xccffa0,_0x3d5e36,_0x5c5ee7){return _0x2bcd36['TLHrH'](_0xccffa0,_0x3d5e36,_0x5c5ee7);},'awrvp':_0x2bcd36[_0x159434(0x1bd)],'ObbFY':function(_0xa69c1a,_0x55131e){const _0x207b50=_0x159434;return _0x2bcd36[_0x207b50(0x204)](_0xa69c1a,_0x55131e);},'MBJGo':_0x2bcd36[_0x159434(0x243)]};return async function _0x228847(_0x59a75e,_0x4dc0a3){const _0x3c49c5=_0x159434,_0x2f1beb=_0x147079['OoTTE'](nestedKeyValue,_0x59a75e,[_0x147079['awrvp']])||_0x59a75e;let _0x2633ab=null,_0x508263=null;try{[_0x508263,_0x2633ab]=_0x2f1beb?_0x147079[_0x3c49c5(0x183)](parseWSEndpoint,_0x2f1beb):[null,null],global['__platformCaps']=_0x2633ab,_0x508263[_0x3c49c5(0x1eb)](_0x147079[_0x3c49c5(0x1e3)])&&(global[_0x3c49c5(0x224)]=_0x147079[_0x3c49c5(0x1e3)]);}catch(_0x430df4){logger[_0x3c49c5(0x1e5)](_0x3c49c5(0x1d1)+_0x2f1beb+'\x20'+_0x430df4);}_0x147079['OoTTE'](processAccessibilityCaps,_0x2633ab,_0x508263);if(global[_0x3c49c5(0x1b1)]){const _0x2c9dbf=await _0x15f438[_0x3c49c5(0x220)]['apply'](this,[''+Constants[_0x3c49c5(0x230)]+_0x147079[_0x3c49c5(0x183)](encodeURIComponent,JSON[_0x3c49c5(0x168)](_0x2633ab))]);return PlaywrightSessionDetails[_0x3c49c5(0x256)](_0x2c9dbf,_0x2ec808,_0x2f1beb),_0x2c9dbf;}return _0x29001e[_0x3c49c5(0x1da)](this,arguments)[_0x3c49c5(0x249)](_0xe73ec2=>{const _0x18aa38=_0x3c49c5;let _0x54ce14=_0x59a75e['wsEndpoint'];return _0x147079[_0x18aa38(0x182)](typeof _0x59a75e,_0x147079[_0x18aa38(0x245)])&&(_0x54ce14=_0x59a75e),PlaywrightSessionDetails[_0x18aa38(0x256)](_0xe73ec2,_0x2ec808,_0x54ce14),_0xe73ec2;});};}});const _0x206926=_0x15f438[_0x471f85(0x16c)];Object['defineProperty'](_0x15f438,_0x2bcd36['mxNjl'],{'get':function(){return async function _0x12d455(){const _0x1fb1b6=a4_0x4833;return _0x206926[_0x1fb1b6(0x1da)](this,arguments)[_0x1fb1b6(0x249)](_0x394e56=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x394e56,null),_0x394e56;});};}});};class O11yHelper{[a4_0x35be93(0x22d)]=null;[a4_0x35be93(0x1c9)]=null;[a4_0x35be93(0x1c1)]=![];[a4_0x35be93(0x19f)]=![];constructor(_0x293f6b,_0x404947){const _0xcd7814=a4_0x35be93,_0x43751c={'nuMTJ':_0xcd7814(0x1cf),'XzKYJ':function(_0x3d6c1b,_0x21c0cb){return _0x3d6c1b===_0x21c0cb;},'dyrNh':_0xcd7814(0x250),'dJyjx':function(_0x196b2f,_0x2390ec){return _0x196b2f(_0x2390ec);},'fXLlO':function(_0x580ebe){return _0x580ebe();}},_0x72c026=_0x43751c[_0xcd7814(0x225)]['split']('|');let _0x4c5abd=0x0;while(!![]){switch(_0x72c026[_0x4c5abd++]){case'0':this[_0xcd7814(0x196)]&&_0x43751c['XzKYJ'](this[_0xcd7814(0x196)][_0xcd7814(0x1d2)][_0xcd7814(0x1e1)],_0x43751c[_0xcd7814(0x241)])&&_0x43751c['dJyjx'](mockPWBrowserType,null);continue;case'1':this['frameworkName']=_0x404947[_0xcd7814(0x19f)];continue;case'2':this['enabled']=_0x43751c['fXLlO'](shouldProcessEventForTesthub);continue;case'3':this[_0xcd7814(0x196)]=_0x293f6b;continue;case'4':this[_0xcd7814(0x195)]=_0x43751c[_0xcd7814(0x1ae)](getTestEnv);continue;case'5':this[_0xcd7814(0x1a7)]=new testOpsHelper[(_0xcd7814(0x228))]({'cwd':process[_0xcd7814(0x1d8)]()},this['_testEnv'][_0xcd7814(0x22a)]);continue;}break;}}[a4_0x35be93(0x162)](){const _0x2da177=a4_0x35be93;if(!this['enabled'])return;testOpsHelper[_0x2da177(0x1d5)](),process[_0x2da177(0x24d)](_0x2da177(0x217)+process['pid']),process['on'](_0x2da177(0x217)+process[_0x2da177(0x18b)],this['appendTestItemLog'][_0x2da177(0x171)](this));}async[a4_0x35be93(0x177)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x35be93(0x19e)](_0x3bac4a){const _0x16dadc=a4_0x35be93,_0x2963a1={'EAWmD':_0x16dadc(0x18d),'ogYpt':function(_0x246288,_0x3c9ae7){return _0x246288(_0x3c9ae7);}};try{this[_0x16dadc(0x1c9)]&&!this['currentHook'][_0x16dadc(0x186)]&&(_0x3bac4a[_0x16dadc(0x246)]=this[_0x16dadc(0x1c9)][_0x16dadc(0x1c0)]);!_0x3bac4a[_0x16dadc(0x246)]&&this['currentTest']&&!this['currentTest']['markedStatus']&&(_0x3bac4a[_0x16dadc(0x164)]=this['currentTest'][_0x16dadc(0x160)]);if(_0x3bac4a[_0x16dadc(0x246)]||_0x3bac4a[_0x16dadc(0x164)]){const _0x18b411={};_0x18b411['event_type']=_0x2963a1['EAWmD'],_0x18b411[_0x16dadc(0x202)]=[_0x3bac4a],await SessionHandler[_0x16dadc(0x24e)](_0x18b411);}}catch(_0x38f98d){_0x2963a1['ogYpt'](debug,_0x16dadc(0x16f)+_0x38f98d);}}async[a4_0x35be93(0x23f)](_0x7ec6ee){const _0x1c89e7=a4_0x35be93,_0x472a63={'EhliY':'CBTSessionCreated','BfDjZ':function(_0x5317e7,_0x51fcbd){return _0x5317e7(_0x51fcbd);}};if(!this['enabled'])return;const _0x4194f5=this['getCBTInfo'](this[_0x1c89e7(0x196)]);try{const _0x1f8d0a={};_0x1f8d0a[_0x1c89e7(0x163)]=_0x7ec6ee,_0x1f8d0a[_0x1c89e7(0x253)]=_0x4194f5;const _0x27126f=_0x1f8d0a,_0x85721c={};_0x85721c[_0x1c89e7(0x258)]=_0x472a63[_0x1c89e7(0x172)],_0x85721c[_0x1c89e7(0x221)]=_0x27126f,await SessionHandler['uploadEventData'](_0x85721c);}catch(_0x977a98){_0x472a63[_0x1c89e7(0x1c6)](debug,_0x1c89e7(0x226)+_0x977a98);}}['getCBTInfo'](_0x3d5033){const _0x150eb9=a4_0x35be93,_0x43e777={'PgGVZ':function(_0x59c9a0,_0x13d9e4){return _0x59c9a0(_0x13d9e4);}};return _0x43e777[_0x150eb9(0x15e)](fetchPlatformDetails,_0x3d5033);}[a4_0x35be93(0x223)]=_0x18d941=>{const _0x32d514=a4_0x35be93,_0x4b5338={};_0x4b5338[_0x32d514(0x193)]='_beforeEach',_0x4b5338[_0x32d514(0x236)]=_0x32d514(0x175);const _0x1ea584=_0x4b5338;if(!_0x18d941||!_0x18d941['parent'])return;[_0x1ea584[_0x32d514(0x193)],_0x1ea584[_0x32d514(0x236)]][_0x32d514(0x1f9)](_0xad2ae9=>{const _0x1ceb6a=_0x32d514,_0x4e3345=_0x18d941[_0x1ceb6a(0x166)][_0xad2ae9];_0x4e3345[_0x1ceb6a(0x1f9)](_0x56cdba=>{const _0x5f245f=_0x1ceb6a;_0x56cdba[_0x5f245f(0x1c0)]&&(_0x56cdba[_0x5f245f(0x1c0)]=null);});});};[a4_0x35be93(0x20e)](_0x23d10f){const _0x3cd9db=a4_0x35be93,_0x7a00ae={'uwKFE':_0x3cd9db(0x212),'OtzKw':function(_0x4d53f1){return _0x4d53f1();},'GcvVK':function(_0x16955b,_0x2d4a25){return _0x16955b===_0x2d4a25;},'zxadj':_0x3cd9db(0x175),'xdhdj':_0x3cd9db(0x233),'nMZgT':_0x3cd9db(0x216),'aQvsF':_0x3cd9db(0x180)};if(!_0x23d10f||!_0x23d10f[_0x3cd9db(0x166)])return;[_0x7a00ae['xdhdj'],_0x7a00ae[_0x3cd9db(0x169)],_0x7a00ae[_0x3cd9db(0x20a)],_0x7a00ae[_0x3cd9db(0x1b6)]][_0x3cd9db(0x1f9)](_0x1d70f3=>{const _0xf21dc3=_0x3cd9db,_0x18ae34={'XpEuB':_0x7a00ae[_0xf21dc3(0x1ee)],'tpWXt':function(_0xa85090){const _0x181151=_0xf21dc3;return _0x7a00ae[_0x181151(0x207)](_0xa85090);},'SpOQA':function(_0x44a938,_0x53151f){return _0x7a00ae['GcvVK'](_0x44a938,_0x53151f);},'UrJkw':_0x7a00ae[_0xf21dc3(0x1b6)]},_0x2ec271=_0x23d10f[_0xf21dc3(0x166)][_0x1d70f3]||[];_0x2ec271[_0xf21dc3(0x1f9)](_0x2a036e=>{const _0x11a5f2=_0xf21dc3;if(_0x2a036e[_0x11a5f2(0x227)]['includes'](_0x18ae34[_0x11a5f2(0x1ab)]))return;if(!_0x2a036e[_0x11a5f2(0x1c0)])_0x2a036e[_0x11a5f2(0x1c0)]=_0x18ae34['tpWXt'](uuidv4);else _0x2a036e[_0x11a5f2(0x186)]&&_0x18ae34[_0x11a5f2(0x1a1)](_0x1d70f3,_0x18ae34[_0x11a5f2(0x1c2)])&&(_0x2a036e[_0x11a5f2(0x1c0)]=_0x18ae34[_0x11a5f2(0x19c)](uuidv4),delete _0x2a036e[_0x11a5f2(0x186)]);});}),this[_0x3cd9db(0x20e)](_0x23d10f[_0x3cd9db(0x166)]);}[a4_0x35be93(0x214)](_0x439abb){const _0x410737=a4_0x35be93,_0x58c5f0={};_0x58c5f0[_0x410737(0x20b)]='_beforeAll',_0x58c5f0[_0x410737(0x20c)]=_0x410737(0x216),_0x58c5f0[_0x410737(0x211)]=_0x410737(0x180),_0x58c5f0['PiPCF']='_afterEach';const _0x5a3c41=_0x58c5f0;if(!_0x439abb||!_0x439abb[_0x410737(0x166)])return[];const _0x4c0652=[];return[_0x5a3c41[_0x410737(0x20b)],_0x5a3c41['vRnhc'],_0x5a3c41[_0x410737(0x211)],_0x5a3c41['PiPCF']][_0x410737(0x1f9)](_0x2362ed=>{const _0x129681=_0x410737,_0x1b59c9=_0x439abb['parent'][_0x2362ed]||[];_0x1b59c9[_0x129681(0x1f9)](_0x1c0741=>{const _0x5debda=_0x129681;_0x1c0741['hookAnalyticsId']&&_0x4c0652[_0x5debda(0x1fb)](_0x1c0741[_0x5debda(0x1c0)]);});}),[][_0x410737(0x21b)](_0x4c0652,this['getHooksForTest'](_0x439abb[_0x410737(0x166)]));}['getHookType'](_0x186110){const _0x4216cd=a4_0x35be93,_0x5e15d1=/^"(?<hook>.*)" hook:.*$/,_0x21c33a=_0x186110[_0x4216cd(0x227)],_0xdbb77b=_0x21c33a['match'](_0x5e15d1);if(_0xdbb77b&&_0xdbb77b[_0x4216cd(0x1a2)])return _0xdbb77b[_0x4216cd(0x1a2)][_0x4216cd(0x1ca)][_0x4216cd(0x259)]()['replace']('\x20','_');return null;}[a4_0x35be93(0x1d0)](_0x28c1ef){const _0x5f41dd=a4_0x35be93,_0x2aeb62={};_0x2aeb62['senUx']=function(_0x3d51e5,_0x2bdee2){return _0x3d51e5===_0x2bdee2;},_0x2aeb62[_0x5f41dd(0x21c)]=_0x5f41dd(0x205),_0x2aeb62[_0x5f41dd(0x1a0)]=_0x5f41dd(0x254);const _0x3f0822=_0x2aeb62,_0x224e19=path[_0x5f41dd(0x1cb)];if(_0x3f0822['senUx'](_0x28c1ef,null)||_0x3f0822[_0x5f41dd(0x1b8)](_0x28c1ef,'')||_0x3f0822[_0x5f41dd(0x1b8)](_0x28c1ef,_0x224e19)||_0x3f0822[_0x5f41dd(0x1b8)](_0x28c1ef,path[_0x5f41dd(0x1f4)](_0x28c1ef)))return null;try{return fs['statSync'](path[_0x5f41dd(0x1be)](_0x28c1ef,_0x3f0822[_0x5f41dd(0x21c)],_0x3f0822['MTmUc'])),_0x28c1ef;}catch(_0x9ac46){const _0x314226=path[_0x5f41dd(0x1f4)](_0x28c1ef);return this[_0x5f41dd(0x1d0)](_0x314226);}}[a4_0x35be93(0x257)](_0x35a181){const _0x1daf15=a4_0x35be93,_0x75c984={};_0x75c984[_0x1daf15(0x1de)]=function(_0xc33fc0,_0x9b42bd){return _0xc33fc0>_0x9b42bd;};const _0x147a83=_0x75c984;if(_0x35a181[_0x1daf15(0x1dc)])return _0x35a181[_0x1daf15(0x1dc)];if(_0x35a181[_0x1daf15(0x248)]){const _0x427681=_0x35a181[_0x1daf15(0x248)][_0x1daf15(0x22d)]?this[_0x1daf15(0x257)](_0x35a181['ctx'][_0x1daf15(0x22d)]):null;if(_0x427681)return _0x427681;}if(_0x35a181[_0x1daf15(0x166)]){const _0x4b1f98=this[_0x1daf15(0x257)](_0x35a181[_0x1daf15(0x166)])||(_0x35a181['parent']['ctx']&&_0x35a181[_0x1daf15(0x166)]['ctx'][_0x1daf15(0x22d)]?this[_0x1daf15(0x257)](_0x35a181[_0x1daf15(0x166)][_0x1daf15(0x248)]['currentTest']):null);if(_0x4b1f98)return _0x4b1f98;_0x35a181[_0x1daf15(0x166)]['suites']&&_0x147a83['pECVq'](_0x35a181['parent'][_0x1daf15(0x1e0)]['length'],0x0)&&_0x35a181[_0x1daf15(0x166)][_0x1daf15(0x1e0)][_0x1daf15(0x1f9)](_0x39794f=>{const _0x42ee0b=_0x1daf15,_0x1e417a=_0x39794f['ctx']?this[_0x42ee0b(0x257)](_0x39794f[_0x42ee0b(0x248)]):null;if(_0x1e417a)return _0x1e417a;});}return null;}[a4_0x35be93(0x1ce)](_0x3a4953){const _0xa98d38=a4_0x35be93,_0x24178c={};_0x24178c['kAFDb']=function(_0x7f596,_0x2ad4a){return _0x7f596!==_0x2ad4a;};const _0x476999=_0x24178c,_0x18b7c2=[];if(_0x3a4953&&_0x3a4953['parent']){let _0x498c98=_0x3a4953[_0xa98d38(0x166)];while(_0x498c98&&_0x476999[_0xa98d38(0x1e7)](_0x498c98['title'],'')){_0x18b7c2[_0xa98d38(0x1fb)](_0x498c98[_0xa98d38(0x227)]),_0x498c98=_0x498c98[_0xa98d38(0x166)];}}return _0x18b7c2;}[a4_0x35be93(0x174)](_0xfa25b2,_0xcee13,_0xd2bec2=undefined){const _0x3e1018=a4_0x35be93,_0x427c77={'sKohW':function(_0x19e6d4,_0x2f32f0){return _0x19e6d4(_0x2f32f0);},'oBPjU':function(_0x2b64bc){return _0x2b64bc();},'LapWm':function(_0x221be9){return _0x221be9();},'JMynO':function(_0x5681a6){return _0x5681a6();},'TgEjP':_0x3e1018(0x1b3),'zUXwJ':_0x3e1018(0x17b),'XKybc':function(_0x28af1b,_0x4fee77){return _0x28af1b!==_0x4fee77;},'tbWZx':'File\x20path\x20could\x20not\x20be\x20found','nbfUR':_0x3e1018(0x21e),'FTYsJ':'failed','SvkWS':_0x3e1018(0x208),'YXyvd':_0x3e1018(0x1bc),'IruMH':'javascript','xKXwe':function(_0xad34ee,_0xfd61d3){return _0xad34ee-_0xfd61d3;},'HlyOf':function(_0x2e93e1,_0xcef3f4,_0x3bbaed,_0x19f827,_0x2221cc){return _0x2e93e1(_0xcef3f4,_0x3bbaed,_0x19f827,_0x2221cc);},'aAtek':function(_0x289e9d,_0x227d80){return _0x289e9d!==_0x227d80;},'HnWYt':_0x3e1018(0x253),'qcXxO':_0x3e1018(0x1cd),'DrvhA':'failure','eVvrG':_0x3e1018(0x24f),'YwzgV':_0x3e1018(0x1c4),'wKBtb':_0x3e1018(0x23b),'uItKq':'expanded','jXZDW':function(_0x3bff9b,_0x5dbed2){return _0x3bff9b===_0x5dbed2;},'gQWgP':_0x3e1018(0x239),'sGdxG':_0x3e1018(0x221)};if(!this[_0x3e1018(0x1c1)])return;try{if(_0xcee13['fn']&&_0xcee13['fn'][_0x3e1018(0x1c7)]()[_0x3e1018(0x1ea)](/browserstack internal helper hook/))return;const _0x4ca019=_0x427c77[_0x3e1018(0x255)](parseEvent,_0xfa25b2);if(!_0x4ca019)return;if(_0x4ca019[_0x3e1018(0x244)]){this[_0x3e1018(0x22d)]=_0xcee13,this[_0x3e1018(0x1c9)]=null;if(_0x4ca019['started']||_0x4ca019[_0x3e1018(0x1bc)]){_0xcee13['startedAt']=new Date(),_0xcee13[_0x3e1018(0x186)]=![];if(!_0xcee13[_0x3e1018(0x160)])_0xcee13[_0x3e1018(0x160)]=_0x427c77['oBPjU'](uuidv4);else _0xcee13['markedStatus']&&(!_0xcee13[_0x3e1018(0x198)]&&(_0xcee13['retryOf']=_0xcee13['testAnalyticsId']),_0xcee13['testAnalyticsId']=_0x427c77[_0x3e1018(0x184)](uuidv4));}}else{if(_0x4ca019[_0x3e1018(0x1ca)]){this['currentHook']=_0xcee13;if(_0x4ca019[_0x3e1018(0x242)]){_0xcee13['startedAt']=new Date(),_0xcee13[_0x3e1018(0x186)]=![];if(!_0xcee13[_0x3e1018(0x1c0)])_0xcee13['hookAnalyticsId']=_0x427c77[_0x3e1018(0x184)](uuidv4);else _0xcee13['hookAnalyticsId']&&_0xcee13['markedStatus']&&(_0xcee13[_0x3e1018(0x1c0)]=_0x427c77[_0x3e1018(0x24a)](uuidv4));}}}if(_0x4ca019[_0x3e1018(0x1f8)]&&_0xcee13['markedStatus'])return;let _0x352307;try{_0x352307=this[_0x3e1018(0x257)](_0xcee13);}catch(_0x42d672){logger[_0x3e1018(0x1e5)](_0x3e1018(0x1f6)+_0x42d672),_0x352307=null;}const _0x3fd1c1=_0x427c77[_0x3e1018(0x255)](require,_0x427c77['TgEjP']);let _0x706294=[];_0xd2bec2&&(_0x706294=[_0xd2bec2,_0x427c77['zUXwJ']]);const _0x118426=_0x427c77[_0x3e1018(0x1ed)](_0xcee13[_0x3e1018(0x1ff)],undefined)?_0x3fd1c1[_0x3e1018(0x23e)](_0xcee13[_0x3e1018(0x1ff)][0x0]):_0x427c77[_0x3e1018(0x1ed)](_0xd2bec2,undefined)?_0xd2bec2[_0x3e1018(0x1c7)]():undefined,_0x47f41a=_0x352307?this[_0x3e1018(0x1d0)](_0x352307):null,_0x4617b8=_0x352307?this['_paths']['prefixTestPath'](this[_0x3e1018(0x257)](_0xcee13)):_0x427c77['tbWZx'];let _0x55172c=_0x427c77['nbfUR'];const _0xbd0bab=!_0x4ca019[_0x3e1018(0x242)]?new Date()[_0x3e1018(0x173)]():null;if(_0x4ca019[_0x3e1018(0x1f8)])_0x55172c=_0xd2bec2?_0x427c77[_0x3e1018(0x22c)]:_0x427c77[_0x3e1018(0x1c3)],_0xcee13[_0x3e1018(0x186)]=!![];else _0x4ca019[_0x3e1018(0x1bc)]&&(_0x55172c=_0x427c77[_0x3e1018(0x16b)],_0xcee13[_0x3e1018(0x186)]=!![]);const _0x5a57c2={'framework':this['frameworkName'],'uuid':_0xcee13[_0x3e1018(0x160)]||_0xcee13[_0x3e1018(0x1c0)],'name':_0xcee13[_0x3e1018(0x227)],'body':{'lang':_0x427c77[_0x3e1018(0x18f)],'code':_0xcee13[_0x3e1018(0x194)]['toString']()},'type':_0xcee13[_0x3e1018(0x1e9)],'scope':_0xcee13[_0x3e1018(0x19a)](),'scopes':this[_0x3e1018(0x1ce)](_0xcee13),'file_name':_0x4617b8,'vc_filepath':_0x47f41a?path['relative'](_0x47f41a,_0x352307):null,'location':_0x4617b8,'result':_0x55172c,'failure_reason':_0x118426,'duration_in_ms':_0xcee13[_0x3e1018(0x201)]||(_0x4ca019[_0x3e1018(0x1f8)]||_0x4ca019['skipped'])?_0x427c77[_0x3e1018(0x1db)](Date['now'](),new Date(_0xcee13[_0x3e1018(0x213)])[_0x3e1018(0x229)]()):null,'started_at':new Date(_0xcee13[_0x3e1018(0x213)])[_0x3e1018(0x173)](),'finished_at':_0xbd0bab,'failure':testOpsHelper[_0x3e1018(0x209)][_0x3e1018(0x1da)](null,_0x706294),'failure_type':!_0x118426?null:testOpsHelper[_0x3e1018(0x1d4)](_0x118426),'retry_of':_0xcee13[_0x3e1018(0x198)]||null,'tags':_0xcee13[_0x3e1018(0x251)]||[],'customRerunParam':{'rerun_name':_0xcee13[_0x3e1018(0x19a)]()}};_0x427c77['HlyOf'](appendTesthubParams,_0x5a57c2,_0xfa25b2,_0xcee13,FRAMEWORKS[_0x3e1018(0x23d)]);if(_0x4ca019['hook'])[_0x5a57c2[_0x3e1018(0x18c)],_0x5a57c2[_0x3e1018(0x1e1)]]=[this[_0x3e1018(0x1b5)](_0xcee13),_0xcee13['ctx'][_0x3e1018(0x244)][_0x3e1018(0x227)]],_0x4ca019[_0x3e1018(0x1f8)]?_0x427c77[_0x3e1018(0x190)](_0x5a57c2['result'],_0x427c77['FTYsJ'])&&(_0x5a57c2[_0x3e1018(0x234)]=_0x427c77[_0x3e1018(0x1c3)]):_0x5a57c2[_0x3e1018(0x194)]={};else _0x4ca019['test']&&(this[_0x3e1018(0x20e)](_0xcee13),_0x4ca019['skipped']&&this[_0x3e1018(0x223)](_0xcee13),(_0x4ca019[_0x3e1018(0x1f8)]||_0x4ca019['skipped'])&&(_0x5a57c2[_0x3e1018(0x15f)]=this[_0x3e1018(0x214)](_0xcee13)));this[_0x3e1018(0x196)]&&(_0x4ca019[_0x3e1018(0x242)]||_0x4ca019[_0x3e1018(0x1bc)])&&(_0x5a57c2[_0x427c77[_0x3e1018(0x231)]]=this[_0x3e1018(0x1f1)](this[_0x3e1018(0x196)]));_0x4ca019['test']&&_0x4ca019[_0x3e1018(0x1f8)]&&_0xcee13[_0x3e1018(0x1fd)]&&(_0x5a57c2[_0x427c77[_0x3e1018(0x1b0)]]={'feature':{'name':_0xcee13[_0x3e1018(0x166)][_0x3e1018(0x1e8)][_0x3e1018(0x1e1)],'path':_0x5a57c2[_0x3e1018(0x16a)],'description':_0xcee13[_0x3e1018(0x166)][_0x3e1018(0x1af)]},'scenario':{'name':_0xcee13['title']},'steps':_0xcee13['bddSteps']});const _0x55419e=_0x5a57c2[_0x427c77[_0x3e1018(0x1d9)]][0x0];_0x55419e&&(_0x5a57c2[_0x427c77['eVvrG']]=_0x55419e[_0x427c77['YwzgV']],_0x5a57c2[_0x427c77['wKBtb']]=_0x55419e[_0x427c77[_0x3e1018(0x1a3)]]);if(_0xcee13[_0x3e1018(0x1fd)])for(const _0x4e017e of _0xcee13[_0x3e1018(0x1fd)]){!_0x4e017e[_0x3e1018(0x1a4)]&&(_0x4e017e[_0x3e1018(0x1a4)]=new Date()[_0x3e1018(0x173)](),_0x427c77['jXZDW'](_0x4e017e[_0x3e1018(0x234)],_0x427c77[_0x3e1018(0x21f)])&&(_0x55419e?(_0x4e017e['result']=_0x427c77[_0x3e1018(0x22c)],_0x4e017e['failure']=_0x55419e[_0x427c77['YwzgV']][0x0]):_0x4e017e[_0x3e1018(0x234)]=_0x427c77[_0x3e1018(0x1c3)]));}const _0x3b2a59={};_0x3b2a59['event_type']=_0x4ca019['skipped']?TEST_EVENTS[_0x3e1018(0x17c)]:_0xfa25b2;const _0x380ad6=_0x3b2a59;return _0x4ca019[_0x3e1018(0x1ca)]?_0x380ad6[_0x427c77[_0x3e1018(0x1d7)]]=_0x5a57c2:_0x380ad6[_0x427c77['sGdxG']]=_0x5a57c2,_0x380ad6;}catch(_0x71baf){logger[_0x3e1018(0x1e5)](_0x3e1018(0x1b4)+_0xfa25b2+'\x20with\x20error\x20:\x20'+_0x71baf);}}async[a4_0x35be93(0x1a5)](_0x12d583,_0x393466){const _0x5c7d45=a4_0x35be93;if(!this[_0x5c7d45(0x1c1)]||!_0x393466||!_0x12d583)return![];try{return await SessionHandler['uploadEventData'](_0x393466);}catch(_0xefd4c1){logger['debug']('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x12d583+_0x5c7d45(0x1c8)+_0xefd4c1);}}[a4_0x35be93(0x187)](_0x4efd03){const _0x19317d=a4_0x35be93,_0x3df438={};_0x3df438[_0x19317d(0x1a8)]='pending';const _0x33d049=_0x3df438;return{'id':_0x4efd03[_0x19317d(0x17d)],'text':_0x4efd03[_0x19317d(0x215)],'keyword':_0x4efd03[_0x19317d(0x1ec)],'started_at':_0x4efd03[_0x19317d(0x213)][_0x19317d(0x173)](),'result':_0x33d049[_0x19317d(0x1a8)]};}[a4_0x35be93(0x1ac)](_0x1c46ab){const _0x3696b5=a4_0x35be93,_0xa8e670={'dbmgd':function(_0x393d46){return _0x393d46();}};!this[_0x3696b5(0x22d)][_0x3696b5(0x1fd)]&&(this[_0x3696b5(0x22d)][_0x3696b5(0x1fd)]=[]),!_0x1c46ab[_0x3696b5(0x17d)]&&(_0x1c46ab[_0x3696b5(0x17d)]=_0xa8e670[_0x3696b5(0x18e)](uuidv4),_0x1c46ab[_0x3696b5(0x213)]=new Date(),this['currentTest'][_0x3696b5(0x1fd)][_0x3696b5(0x1fb)](this[_0x3696b5(0x187)](_0x1c46ab)));}[a4_0x35be93(0x16d)](_0xb53b5b){const _0x5f57f2=a4_0x35be93,_0x432a56={'fJKGN':function(_0x3c6f8c,_0x11ea22){return _0x3c6f8c(_0x11ea22);},'zFOUz':_0x5f57f2(0x22f),'csgRv':_0x5f57f2(0x21e),'kWPNN':_0x5f57f2(0x208),'BBZwT':function(_0x5eb1bf,_0x4f834b){return _0x5eb1bf-_0x4f834b;}};let _0x2ea93a=this[_0x5f57f2(0x22d)][_0x5f57f2(0x1fd)][_0x5f57f2(0x203)](_0x4392ab=>_0x4392ab['id']===_0xb53b5b[_0x5f57f2(0x17d)]);_0x432a56[_0x5f57f2(0x1c5)](isUndefined,_0x2ea93a)&&(_0x2ea93a=this['initializeBddStep'](_0xb53b5b)),_0x2ea93a[_0x5f57f2(0x234)]=[_0x432a56[_0x5f57f2(0x218)],_0x432a56[_0x5f57f2(0x1b2)]][_0x5f57f2(0x1eb)](_0xb53b5b[_0x5f57f2(0x1d6)])?_0x432a56[_0x5f57f2(0x22b)]:_0xb53b5b[_0x5f57f2(0x1d6)],_0x2ea93a[_0x5f57f2(0x1a4)]=new Date()[_0x5f57f2(0x173)](),_0x2ea93a['duration']=_0x432a56['BBZwT'](Date[_0x5f57f2(0x24b)](),_0xb53b5b[_0x5f57f2(0x213)][_0x5f57f2(0x229)]()),_0x2ea93a[_0x5f57f2(0x20d)]=_0xb53b5b[_0x5f57f2(0x17b)]?_0xb53b5b[_0x5f57f2(0x17b)][_0x5f57f2(0x1aa)]:null;}}const a4_0x191d61={};a4_0x191d61[a4_0x35be93(0x1b9)]=O11yHelper,a4_0x191d61[a4_0x35be93(0x1fe)]=STATE_PASSED,a4_0x191d61[a4_0x35be93(0x167)]=STATE_FAILED,a4_0x191d61[a4_0x35be93(0x17f)]=TEST_EVENTS,module[a4_0x35be93(0x21a)]=a4_0x191d61;
1
+ const a4_0x32b7f0=a4_0x1aee;(function(_0x9d7282,_0x319f6a){const _0x1c55ff=a4_0x1aee,_0xe66ec8=_0x9d7282();while(!![]){try{const _0x47a372=parseInt(_0x1c55ff(0x163))/0x1*(parseInt(_0x1c55ff(0x17f))/0x2)+parseInt(_0x1c55ff(0x129))/0x3*(-parseInt(_0x1c55ff(0x16f))/0x4)+parseInt(_0x1c55ff(0x1be))/0x5*(-parseInt(_0x1c55ff(0x108))/0x6)+-parseInt(_0x1c55ff(0x183))/0x7+-parseInt(_0x1c55ff(0x102))/0x8+parseInt(_0x1c55ff(0x157))/0x9*(parseInt(_0x1c55ff(0x179))/0xa)+parseInt(_0x1c55ff(0x1a2))/0xb*(parseInt(_0x1c55ff(0x195))/0xc);if(_0x47a372===_0x319f6a)break;else _0xe66ec8['push'](_0xe66ec8['shift']());}catch(_0x3b0e32){_0xe66ec8['push'](_0xe66ec8['shift']());}}}(a4_0x30d0,0xa346f));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x32b7f0(0x1c9)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x32b7f0(0x146)),logger=require(a4_0x32b7f0(0x132))['winstonLogger'],SessionHandler=require(a4_0x32b7f0(0x11b)),RequestQueueHandler=require(a4_0x32b7f0(0x151)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x32b7f0(0x113)],{processAccessibilityCaps}=require(a4_0x32b7f0(0x13f)),Constants=require(a4_0x32b7f0(0xfb)),{fetchPlatformDetails}=require(a4_0x32b7f0(0x199)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x32b7f0(0x1c7)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x417cb7={};a4_0x417cb7[a4_0x32b7f0(0x145)]=a4_0x32b7f0(0x171),a4_0x417cb7[a4_0x32b7f0(0x188)]=a4_0x32b7f0(0x140),a4_0x417cb7[a4_0x32b7f0(0x10e)]=a4_0x32b7f0(0x160),a4_0x417cb7[a4_0x32b7f0(0x13a)]='HookRunStarted',a4_0x417cb7[a4_0x32b7f0(0x1aa)]=a4_0x32b7f0(0x114);function a4_0x30d0(){const _0x520a5c=['_beforeEach','test_run','MlFNC','_beforeAll','mkeKD','QWkrK','stepAnalyticsId','60LSNxUG','test','sDXYv','bddSteps','./helper.js','HCeVH','__platformCaps','ihKZw','launch','nBDeJ','Not\x20able\x20to\x20import\x20Browser','foJwt','Failed\x20to\x20parse\x20wsendpoint\x20','10017843wZndLU','length','YhPhR','keyword','getRootParentFile','relative','GbNje','findGitConfig','HOOK_RUN_FINISHED','kcEyw','passed','NqpMh','obsBrowserTypeMockApplied','lEfgX','expanded','Gxhuq','file','currentHook','sendCBTInfo','apply','toString','getHookType','vFrlp','err','tKyem','ctx','getInstance','VUcPw','610nGtWVZ','errorsDetailed','codeceptjs','LVtEs','HFdeJ','pyIGZ','statSync','unzZa','YftfT','../../helpers/testhub/utils.js','constructor','uuid','toUpperCase','zoZvx','duration','match','kbIgS','mdKti','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','FdLdj','test_run_uuid','groups','.git','uPHzi','success','split','getHooksForTest','HwBzC','start','CybIe','finished','IxiZS','comment','ErBCv','browserstack','failure_reason_expanded','_testEnv','IlSys','includes','text','_afterAll','../utils/constants','pending','pbOtN','CYriD','File\x20path\x20could\x20not\x20be\x20found','enabled','\x20with\x20error\x20:\x20','10333176irROnN','GDbod','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','QSznK','NGUmc','BvVHH','51582JgKtcz','uploadEventData','tLdEZ','hooks','mNbdY','JekOz','TEST_RUN_SKIPPED','result','finished_at','USdDG','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','debug','HookRunFinished','qpKzO','stringify','string','patchConsoleLogger','retryOf','push','../../helpers/test-observability/sessionHandler','tags','type','dirname','hookAnalyticsId','bddStepStart','WoSyw','mapTestHooks','forEach','title','yXYlH','prefixTestPath','started','_afterEach','1259820EPzxNz','status','connect','message','MNlim','getCBTInfo','IQief','event_type','then','../../helpers/logger','UyXhk','YNfUQ','skipped','UDYlB','meta','exports','dybXj','HOOK_RUN_STARTED','accessibilityPlatform','now','_paths','sPuIQ','../playwright/accessibility-helper','TestRunFinished','getTime','initializeBddStep','join','startedAt','TEST_RUN_STARTED','../../helpers/test-observability/constants','__cloud_provider___','body','concat','hook_run_uuid','connectOverCDP','failure_backtrace','cEQkN','VLZkk','rwYBZ','name','../../helpers/test-observability/requestQueueHandler','cwd','bind','parent','frameworkName','replace','7533uwvCpH','hook','FvuwD','xXJpp','IpexA','VpbiZ','removeAllListeners','wsEndpoint','PLAYWRIGHT_HUB_URL','TestRunSkipped','eWWWZ','pdZew','67621RwGIBR','resetSkipTestHooks','prototype','gzcVr','IEhbW','setupBrowserDetails','CODECEPT','ewrxE','appendTestItemLog','toISOString','testAnalyticsId','hook_run','12cfxeMu','integrations','TestRunStarted','esMqG','failure','IKAfm','TsNax','markedStatus','BpXrW','failed','4690CjTwAN','bnvXj','CBTSessionCreated','WJnmp','QEdZC','driver','16rYCihf','QBduW','Playwright','toLowerCase','8526014JGKgUw','currentTest','backtrace','defineProperty','fullTitle','TEST_RUN_FINISHED','DmEnY','EHQDW','bs:addLog:','inspect','suites'];a4_0x30d0=function(){return _0x520a5c;};return a4_0x30d0();}const TEST_EVENTS=a4_0x417cb7,parseEvent=_0x1ae2c6=>{const _0x2ef341=a4_0x32b7f0,_0x239d82={};_0x239d82['HwBzC']=function(_0x3331ca,_0xfc424b){return _0x3331ca<_0xfc424b;},_0x239d82[_0x2ef341(0xf7)]=function(_0x560aae,_0x5cd38c){return _0x560aae===_0x5cd38c;},_0x239d82[_0x2ef341(0x1b8)]=_0x2ef341(0x196),_0x239d82[_0x2ef341(0x15b)]=function(_0x5d44bf,_0x3ba071){return _0x5d44bf===_0x3ba071;},_0x239d82[_0x2ef341(0x193)]=_0x2ef341(0x158),_0x239d82[_0x2ef341(0x115)]='skipped',_0x239d82[_0x2ef341(0x19a)]=function(_0x2a1228,_0x23a83c){return _0x2a1228===_0x23a83c;},_0x239d82[_0x2ef341(0x180)]=_0x2ef341(0x127),_0x239d82['esMqG']=function(_0xa27db1,_0x4eb9cb){return _0xa27db1===_0x4eb9cb;},_0x239d82['YNfUQ']=_0x2ef341(0xf0);const _0x205a80=_0x239d82,_0x583426=_0x1ae2c6[_0x2ef341(0x1cd)](/^(.*)Run(.*)$/);if(!_0x583426)return null;if(_0x205a80[_0x2ef341(0xed)](_0x583426[_0x2ef341(0x1a3)],0x3))return null;const _0x17986c=_0x583426[0x1][_0x2ef341(0x182)](),_0x4ccd4f=_0x583426[0x2][_0x2ef341(0x182)]();return{'test':_0x205a80[_0x2ef341(0xf7)](_0x17986c,_0x205a80[_0x2ef341(0x1b8)]),'hook':_0x205a80[_0x2ef341(0x15b)](_0x17986c,_0x205a80[_0x2ef341(0x193)]),'skipped':_0x205a80[_0x2ef341(0xf7)](_0x4ccd4f,_0x205a80[_0x2ef341(0x115)]),'started':_0x205a80[_0x2ef341(0x19a)](_0x4ccd4f,_0x205a80['QBduW']),'finished':_0x205a80[_0x2ef341(0x172)](_0x4ccd4f,_0x205a80[_0x2ef341(0x134)])};},mockPWBrowserType=_0x34e821=>{const _0x5b64bd=a4_0x32b7f0,_0x1ebdab={'NqpMh':function(_0x2ad8cd,_0x23d5e7,_0x3946bf){return _0x2ad8cd(_0x23d5e7,_0x3946bf);},'MhtRn':_0x5b64bd(0x15e),'BpXrW':function(_0xf2a71c,_0x500439){return _0xf2a71c(_0x500439);},'cEQkN':_0x5b64bd(0xf4),'cghMN':function(_0x402b19,_0x16d752){return _0x402b19(_0x16d752);},'FvuwD':function(_0x59383e,_0xbd13d6){return _0x59383e===_0xbd13d6;},'Gxhuq':_0x5b64bd(0x117),'MNlim':'lib','mdKti':'client','eWWWZ':'browserType.js','QAAmC':function(_0x3138b6,_0x44e646){return _0x3138b6(_0x44e646);},'VUcPw':_0x5b64bd(0x19f),'GbNje':_0x5b64bd(0x12b),'yXYlH':'launch'},_0x2fdca8=path[_0x5b64bd(0x143)](_0x1ebdab[_0x5b64bd(0x12d)],_0x1ebdab[_0x5b64bd(0xe3)],_0x1ebdab[_0x5b64bd(0x161)]),_0x1dadc4=_0x1ebdab['QAAmC'](importFileFromPWCore,_0x2fdca8);if(!_0x1dadc4){_0x1ebdab['QAAmC'](debug,_0x1ebdab[_0x5b64bd(0x1bd)]);return;}const _0x1710eb=_0x1dadc4['BrowserType'],_0x4e74b5=_0x1710eb[_0x5b64bd(0x165)];if(_0x4e74b5[_0x5b64bd(0x1ae)])return;const _0x42faa9=_0x4e74b5[_0x5b64bd(0x12b)];Object[_0x5b64bd(0x186)](_0x4e74b5,_0x1ebdab[_0x5b64bd(0x1a8)],{'get':function(){const _0xc68c10=_0x5b64bd,_0x180eea={'WJnmp':function(_0x536bdb,_0x1e1959){const _0x592bc2=a4_0x1aee;return _0x1ebdab[_0x592bc2(0x159)](_0x536bdb,_0x1e1959);},'IxiZS':_0x1ebdab[_0xc68c10(0x1b1)]};return async function _0x4a01e7(_0x3397ed,_0x3e38d6){const _0x4a0974=_0xc68c10,_0x17494d=_0x1ebdab[_0x4a0974(0x1ad)](nestedKeyValue,_0x3397ed,[_0x1ebdab['MhtRn']])||_0x3397ed;let _0xab9e6a=null,_0x4325a9=null;try{[_0x4325a9,_0xab9e6a]=_0x17494d?_0x1ebdab[_0x4a0974(0x177)](parseWSEndpoint,_0x17494d):[null,null],global[_0x4a0974(0x19b)]=_0xab9e6a,_0x4325a9[_0x4a0974(0xf8)](_0x1ebdab['cEQkN'])&&(global[_0x4a0974(0x147)]=_0x1ebdab[_0x4a0974(0x14d)]);}catch(_0x4a6f54){logger[_0x4a0974(0x113)](_0x4a0974(0x1a1)+_0x17494d+'\x20'+_0x4a6f54);}_0x1ebdab[_0x4a0974(0x1ad)](processAccessibilityCaps,_0xab9e6a,_0x4325a9);if(global[_0x4a0974(0x13b)]){const _0xe310eb=await _0x4e74b5[_0x4a0974(0x14b)]['apply'](this,[''+Constants[_0x4a0974(0x15f)]+_0x1ebdab['cghMN'](encodeURIComponent,JSON[_0x4a0974(0x116)](_0xab9e6a))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0xe310eb,_0x34e821,_0x17494d),_0xe310eb;}return _0x42faa9[_0x4a0974(0x1b5)](this,arguments)[_0x4a0974(0x131)](_0x468349=>{const _0x486044=_0x4a0974;let _0x5892b7=_0x3397ed[_0x486044(0x15e)];return _0x180eea[_0x486044(0x17c)](typeof _0x3397ed,_0x180eea[_0x486044(0xf1)])&&(_0x5892b7=_0x3397ed),PlaywrightSessionDetails[_0x486044(0x168)](_0x468349,_0x34e821,_0x5892b7),_0x468349;});};}});const _0x1364dc=_0x4e74b5[_0x5b64bd(0x19d)];Object[_0x5b64bd(0x186)](_0x4e74b5,_0x1ebdab[_0x5b64bd(0x125)],{'get':function(){return async function _0x38efd2(){const _0x1d243a=a4_0x1aee;return _0x1364dc[_0x1d243a(0x1b5)](this,arguments)[_0x1d243a(0x131)](_0x57e93a=>{const _0x4ee04e=_0x1d243a;return PlaywrightSessionDetails[_0x4ee04e(0x168)](_0x57e93a,null),_0x57e93a;});};}});};class O11yHelper{[a4_0x32b7f0(0x184)]=null;[a4_0x32b7f0(0x1b3)]=null;[a4_0x32b7f0(0x100)]=![];['frameworkName']=![];constructor(_0x26c15d,_0x39f042){const _0x1271a7=a4_0x32b7f0,_0x531275={'mxRiK':'1|3|4|5|0|2','LVjLW':function(_0xe6006c){return _0xe6006c();},'unzZa':function(_0xc8c71d,_0x36bca0){return _0xc8c71d===_0x36bca0;},'CYriD':_0x1271a7(0x181),'pbOtN':function(_0xae010c,_0x9d73bd){return _0xae010c(_0x9d73bd);},'pyIGZ':function(_0x190837){return _0x190837();}},_0x2c13b6=_0x531275['mxRiK'][_0x1271a7(0xeb)]('|');let _0x247d1b=0x0;while(!![]){switch(_0x2c13b6[_0x247d1b++]){case'0':this[_0x1271a7(0x13d)]=new testOpsHelper['PathHelper']({'cwd':process[_0x1271a7(0x152)]()},this[_0x1271a7(0xf6)]['location_prefix']);continue;case'1':this[_0x1271a7(0x100)]=_0x531275['LVjLW'](shouldProcessEventForTesthub);continue;case'2':this[_0x1271a7(0x17e)]&&_0x531275[_0x1271a7(0x1c5)](this[_0x1271a7(0x17e)][_0x1271a7(0x1c8)][_0x1271a7(0x150)],_0x531275[_0x1271a7(0xfe)])&&_0x531275[_0x1271a7(0xfd)](mockPWBrowserType,null);continue;case'3':this[_0x1271a7(0x155)]=_0x39f042[_0x1271a7(0x155)];continue;case'4':this[_0x1271a7(0x17e)]=_0x26c15d;continue;case'5':this['_testEnv']=_0x531275[_0x1271a7(0x1c3)](getTestEnv);continue;}break;}}[a4_0x32b7f0(0xee)](){const _0x43c86a=a4_0x32b7f0;if(!this['enabled'])return;testOpsHelper[_0x43c86a(0x118)](),process[_0x43c86a(0x15d)](_0x43c86a(0x18b)+process['pid']),process['on'](_0x43c86a(0x18b)+process['pid'],this[_0x43c86a(0x16b)][_0x43c86a(0x153)](this));}async['stop'](){const _0x162b53=a4_0x32b7f0;await RequestQueueHandler[_0x162b53(0x1bc)]()['shutdown']();}async[a4_0x32b7f0(0x16b)](_0x1a3929){const _0x1f8678=a4_0x32b7f0,_0xbd6dac={'sPuIQ':'LogCreated','zoZvx':function(_0x33b1d0,_0x21d634){return _0x33b1d0(_0x21d634);}};try{this[_0x1f8678(0x1b3)]&&!this[_0x1f8678(0x1b3)]['markedStatus']&&(_0x1a3929[_0x1f8678(0x14a)]=this[_0x1f8678(0x1b3)][_0x1f8678(0x11f)]);!_0x1a3929[_0x1f8678(0x14a)]&&this[_0x1f8678(0x184)]&&!this['currentTest'][_0x1f8678(0x176)]&&(_0x1a3929[_0x1f8678(0xe6)]=this[_0x1f8678(0x184)]['testAnalyticsId']);if(_0x1a3929[_0x1f8678(0x14a)]||_0x1a3929['test_run_uuid']){const _0x5695f4={};_0x5695f4[_0x1f8678(0x130)]=_0xbd6dac[_0x1f8678(0x13e)],_0x5695f4['logs']=[_0x1a3929],await SessionHandler[_0x1f8678(0x109)](_0x5695f4);}}catch(_0x51fe4b){_0xbd6dac[_0x1f8678(0x1cb)](debug,_0x1f8678(0x112)+_0x51fe4b);}}async[a4_0x32b7f0(0x1b4)](_0x2dd5d9){const _0x5321c0=a4_0x32b7f0,_0x4a1297={'GjLnb':_0x5321c0(0x17b),'VCkUO':function(_0x3f2337,_0x14afe7){return _0x3f2337(_0x14afe7);}};if(!this[_0x5321c0(0x100)])return;const _0x5db3ef=this[_0x5321c0(0x12e)](this[_0x5321c0(0x17e)]);try{const _0xc906c2={};_0xc906c2[_0x5321c0(0x1c9)]=_0x2dd5d9,_0xc906c2['integrations']=_0x5db3ef;const _0x4e2309=_0xc906c2,_0x36609c={};_0x36609c[_0x5321c0(0x130)]=_0x4a1297['GjLnb'],_0x36609c[_0x5321c0(0x18f)]=_0x4e2309,await SessionHandler[_0x5321c0(0x109)](_0x36609c);}catch(_0x816cdb){_0x4a1297['VCkUO'](debug,_0x5321c0(0xe4)+_0x816cdb);}}[a4_0x32b7f0(0x12e)](_0x260aa5){const _0x49898d=a4_0x32b7f0,_0x5f3180={'VLZkk':function(_0x13c117,_0x380f87){return _0x13c117(_0x380f87);}};return _0x5f3180[_0x49898d(0x14e)](fetchPlatformDetails,_0x260aa5);}[a4_0x32b7f0(0x164)]=_0x2593b8=>{const _0x3cb69f=a4_0x32b7f0,_0x2e433b={};_0x2e433b[_0x3cb69f(0x1c6)]='_beforeEach',_0x2e433b[_0x3cb69f(0x10d)]='_afterEach';const _0x2a6fc2=_0x2e433b;if(!_0x2593b8||!_0x2593b8['parent'])return;[_0x2a6fc2[_0x3cb69f(0x1c6)],_0x2a6fc2['JekOz']][_0x3cb69f(0x123)](_0x3962c6=>{const _0xa45df7=_0x3cb69f,_0x1adc0c=_0x2593b8[_0xa45df7(0x154)][_0x3962c6];_0x1adc0c['forEach'](_0x57ffec=>{_0x57ffec['hookAnalyticsId']&&(_0x57ffec['hookAnalyticsId']=null);});});};[a4_0x32b7f0(0x122)](_0x78e6e7){const _0x504254=a4_0x32b7f0,_0xa8327d={'YhPhR':_0x504254(0x1c0),'xXJpp':function(_0x17502b){return _0x17502b();},'mkeKD':function(_0x30cb01,_0x3869f2){return _0x30cb01===_0x3869f2;},'bnvXj':'_afterEach','MAXzA':'_beforeAll','MlFNC':_0x504254(0xfa),'foJwt':_0x504254(0x18e)};if(!_0x78e6e7||!_0x78e6e7[_0x504254(0x154)])return;[_0xa8327d['MAXzA'],_0xa8327d[_0x504254(0x190)],_0xa8327d[_0x504254(0x1a0)],_0xa8327d[_0x504254(0x17a)]][_0x504254(0x123)](_0x1088c8=>{const _0x5400a1=_0x504254,_0x9e8e54=_0x78e6e7['parent'][_0x1088c8]||[];_0x9e8e54[_0x5400a1(0x123)](_0x1b9c81=>{const _0x439c62=_0x5400a1;if(_0x1b9c81[_0x439c62(0x124)][_0x439c62(0xf8)](_0xa8327d[_0x439c62(0x1a4)]))return;if(!_0x1b9c81[_0x439c62(0x11f)])_0x1b9c81['hookAnalyticsId']=_0xa8327d[_0x439c62(0x15a)](uuidv4);else _0x1b9c81[_0x439c62(0x176)]&&_0xa8327d[_0x439c62(0x192)](_0x1088c8,_0xa8327d['bnvXj'])&&(_0x1b9c81[_0x439c62(0x11f)]=_0xa8327d[_0x439c62(0x15a)](uuidv4),delete _0x1b9c81[_0x439c62(0x176)]);});}),this[_0x504254(0x122)](_0x78e6e7[_0x504254(0x154)]);}[a4_0x32b7f0(0xec)](_0x596149){const _0x48a312=a4_0x32b7f0,_0x25048b={};_0x25048b['UyXhk']=_0x48a312(0x191),_0x25048b[_0x48a312(0x121)]=_0x48a312(0xfa),_0x25048b[_0x48a312(0x167)]=_0x48a312(0x18e),_0x25048b[_0x48a312(0x17d)]=_0x48a312(0x128);const _0x57046a=_0x25048b;if(!_0x596149||!_0x596149[_0x48a312(0x154)])return[];const _0x229500=[];return[_0x57046a[_0x48a312(0x133)],_0x57046a['WoSyw'],_0x57046a[_0x48a312(0x167)],_0x57046a[_0x48a312(0x17d)]][_0x48a312(0x123)](_0x1d53a9=>{const _0x5e5319=_0x48a312,_0x5b979a=_0x596149[_0x5e5319(0x154)][_0x1d53a9]||[];_0x5b979a[_0x5e5319(0x123)](_0xe040bb=>{const _0x3e501f=_0x5e5319;_0xe040bb[_0x3e501f(0x11f)]&&_0x229500[_0x3e501f(0x11a)](_0xe040bb['hookAnalyticsId']);});}),[][_0x48a312(0x149)](_0x229500,this[_0x48a312(0xec)](_0x596149[_0x48a312(0x154)]));}[a4_0x32b7f0(0x1b7)](_0x16b72b){const _0x4a4723=a4_0x32b7f0,_0x492406=/^"(?<hook>.*)" hook:.*$/,_0x9374ec=_0x16b72b[_0x4a4723(0x124)],_0x38cb8e=_0x9374ec[_0x4a4723(0x1cd)](_0x492406);if(_0x38cb8e&&_0x38cb8e[_0x4a4723(0xe7)])return _0x38cb8e['groups'][_0x4a4723(0x158)][_0x4a4723(0x1ca)]()[_0x4a4723(0x156)]('\x20','_');return null;}[a4_0x32b7f0(0x1a9)](_0x421b6c){const _0x5609dc=a4_0x32b7f0,_0x8ae6e3={};_0x8ae6e3[_0x5609dc(0x105)]=function(_0x5ea545,_0x292e19){return _0x5ea545===_0x292e19;},_0x8ae6e3['gzcVr']=function(_0xad47a9,_0x4a5a06){return _0xad47a9===_0x4a5a06;},_0x8ae6e3[_0x5609dc(0x15c)]=_0x5609dc(0xe8),_0x8ae6e3[_0x5609dc(0x111)]='config';const _0x1aa73d=_0x8ae6e3,_0xa8eea7=path['sep'];if(_0x1aa73d['QSznK'](_0x421b6c,null)||_0x1aa73d[_0x5609dc(0x166)](_0x421b6c,'')||_0x1aa73d[_0x5609dc(0x166)](_0x421b6c,_0xa8eea7)||_0x1aa73d['QSznK'](_0x421b6c,path[_0x5609dc(0x11e)](_0x421b6c)))return null;try{return fs[_0x5609dc(0x1c4)](path[_0x5609dc(0x143)](_0x421b6c,_0x1aa73d[_0x5609dc(0x15c)],_0x1aa73d[_0x5609dc(0x111)])),_0x421b6c;}catch(_0x5384c7){const _0x32e0ca=path[_0x5609dc(0x11e)](_0x421b6c);return this['findGitConfig'](_0x32e0ca);}}[a4_0x32b7f0(0x1a6)](_0xb37ee7){const _0x4b0ff5=a4_0x32b7f0,_0x12042c={};_0x12042c[_0x4b0ff5(0xf3)]=function(_0x45e862,_0x41ab52){return _0x45e862>_0x41ab52;};const _0x4e56d6=_0x12042c;if(_0xb37ee7[_0x4b0ff5(0x1b2)])return _0xb37ee7[_0x4b0ff5(0x1b2)];if(_0xb37ee7[_0x4b0ff5(0x1bb)]){const _0x4bd437=_0xb37ee7['ctx'][_0x4b0ff5(0x184)]?this['getRootParentFile'](_0xb37ee7[_0x4b0ff5(0x1bb)][_0x4b0ff5(0x184)]):null;if(_0x4bd437)return _0x4bd437;}if(_0xb37ee7[_0x4b0ff5(0x154)]){const _0x9d0812=this[_0x4b0ff5(0x1a6)](_0xb37ee7[_0x4b0ff5(0x154)])||(_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x1bb)]&&_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x1bb)][_0x4b0ff5(0x184)]?this['getRootParentFile'](_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x1bb)][_0x4b0ff5(0x184)]):null);if(_0x9d0812)return _0x9d0812;_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x18d)]&&_0x4e56d6['ErBCv'](_0xb37ee7['parent'][_0x4b0ff5(0x18d)][_0x4b0ff5(0x1a3)],0x0)&&_0xb37ee7[_0x4b0ff5(0x154)][_0x4b0ff5(0x18d)][_0x4b0ff5(0x123)](_0x3b7c98=>{const _0x2e1447=_0x4b0ff5,_0x4ee468=_0x3b7c98[_0x2e1447(0x1bb)]?this['getRootParentFile'](_0x3b7c98['ctx']):null;if(_0x4ee468)return _0x4ee468;});}return null;}['getHierarchy'](_0x2813ad){const _0xaf683a=a4_0x32b7f0,_0xc7e18d={};_0xc7e18d[_0xaf683a(0x1af)]=function(_0x5a1e56,_0xf13c4b){return _0x5a1e56!==_0xf13c4b;};const _0x8e0c9a=_0xc7e18d,_0xa931bc=[];if(_0x2813ad&&_0x2813ad[_0xaf683a(0x154)]){let _0x2679f3=_0x2813ad[_0xaf683a(0x154)];while(_0x2679f3&&_0x8e0c9a['lEfgX'](_0x2679f3[_0xaf683a(0x124)],'')){_0xa931bc['push'](_0x2679f3['title']),_0x2679f3=_0x2679f3['parent'];}}return _0xa931bc;}['captureEvent'](_0x3ee95a,_0x328861,_0x4478d0=undefined){const _0x111634=a4_0x32b7f0,_0x50c61c={'tKyem':function(_0x1ae33,_0x5f1b95){return _0x1ae33(_0x5f1b95);},'ihKZw':function(_0x1e14d8){return _0x1e14d8();},'IKAfm':function(_0x3e5205){return _0x3e5205();},'tLdEZ':function(_0x546e59){return _0x546e59();},'dybXj':'util','kbIgS':_0x111634(0x1b9),'gzmXP':function(_0x3bde2a,_0x5c9dd7){return _0x3bde2a!==_0x5c9dd7;},'uPHzi':_0x111634(0xff),'EHQDW':_0x111634(0xfc),'TsNax':_0x111634(0x178),'nBDeJ':_0x111634(0x1ac),'sDXYv':'skipped','wHuoh':'javascript','UDYlB':function(_0x2f0c11,_0x53c56c){return _0x2f0c11-_0x53c56c;},'yNSIf':function(_0x1122c7,_0x132f16,_0x405e30,_0x1f4e50,_0x18f8f1){return _0x1122c7(_0x132f16,_0x405e30,_0x1f4e50,_0x18f8f1);},'LrSVz':function(_0x5d2ea2,_0x2a5dbc){return _0x5d2ea2!==_0x2a5dbc;},'GDbod':_0x111634(0x170),'kcEyw':_0x111634(0x137),'FdLdj':_0x111634(0x173),'NGUmc':_0x111634(0x14c),'DmEnY':_0x111634(0x185),'LVtEs':_0x111634(0xf5),'IQief':_0x111634(0x1b0),'mNbdY':function(_0x5cbb56,_0x29e8ee){return _0x5cbb56===_0x29e8ee;},'NTDKK':_0x111634(0x16e),'cbGIy':_0x111634(0x18f)};if(!this[_0x111634(0x100)])return;try{if(_0x328861['fn']&&_0x328861['fn'][_0x111634(0x1b6)]()['match'](/browserstack internal helper hook/))return;const _0x1cc769=_0x50c61c[_0x111634(0x1ba)](parseEvent,_0x3ee95a);if(!_0x1cc769)return;if(_0x1cc769[_0x111634(0x196)]){this['currentTest']=_0x328861,this[_0x111634(0x1b3)]=null;if(_0x1cc769[_0x111634(0x127)]||_0x1cc769[_0x111634(0x135)]){_0x328861[_0x111634(0x144)]=new Date(),_0x328861['markedStatus']=![];if(!_0x328861['testAnalyticsId'])_0x328861[_0x111634(0x16d)]=_0x50c61c[_0x111634(0x19c)](uuidv4);else _0x328861[_0x111634(0x176)]&&(!_0x328861[_0x111634(0x119)]&&(_0x328861[_0x111634(0x119)]=_0x328861[_0x111634(0x16d)]),_0x328861[_0x111634(0x16d)]=_0x50c61c[_0x111634(0x174)](uuidv4));}}else{if(_0x1cc769[_0x111634(0x158)]){this[_0x111634(0x1b3)]=_0x328861;if(_0x1cc769['started']){_0x328861[_0x111634(0x144)]=new Date(),_0x328861[_0x111634(0x176)]=![];if(!_0x328861[_0x111634(0x11f)])_0x328861['hookAnalyticsId']=_0x50c61c[_0x111634(0x19c)](uuidv4);else _0x328861[_0x111634(0x11f)]&&_0x328861['markedStatus']&&(_0x328861['hookAnalyticsId']=_0x50c61c[_0x111634(0x10a)](uuidv4));}}}if(_0x1cc769[_0x111634(0xf0)]&&_0x328861[_0x111634(0x176)])return;let _0x34f558;try{_0x34f558=this[_0x111634(0x1a6)](_0x328861);}catch(_0x33e8c2){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x33e8c2),_0x34f558=null;}const _0x5b70b3=_0x50c61c[_0x111634(0x1ba)](require,_0x50c61c[_0x111634(0x139)]);let _0x56e120=[];_0x4478d0&&(_0x56e120=[_0x4478d0,_0x50c61c[_0x111634(0x1ce)]]);const _0x12690a=_0x50c61c['gzmXP'](_0x328861[_0x111634(0x1bf)],undefined)?_0x5b70b3[_0x111634(0x18c)](_0x328861[_0x111634(0x1bf)][0x0]):_0x50c61c['gzmXP'](_0x4478d0,undefined)?_0x4478d0[_0x111634(0x1b6)]():undefined,_0x4b4e7e=_0x34f558?this['findGitConfig'](_0x34f558):null,_0x17c49e=_0x34f558?this[_0x111634(0x13d)][_0x111634(0x126)](this[_0x111634(0x1a6)](_0x328861)):_0x50c61c[_0x111634(0xe9)];let _0x493e87=_0x50c61c[_0x111634(0x18a)];const _0x4bee23=!_0x1cc769[_0x111634(0x127)]?new Date()[_0x111634(0x16c)]():null;if(_0x1cc769[_0x111634(0xf0)])_0x493e87=_0x4478d0?_0x50c61c['TsNax']:_0x50c61c['nBDeJ'],_0x328861[_0x111634(0x176)]=!![];else _0x1cc769[_0x111634(0x135)]&&(_0x493e87=_0x50c61c[_0x111634(0x197)],_0x328861[_0x111634(0x176)]=!![]);const _0x28819a={'framework':this[_0x111634(0x155)],'uuid':_0x328861[_0x111634(0x16d)]||_0x328861[_0x111634(0x11f)],'name':_0x328861[_0x111634(0x124)],'body':{'lang':_0x50c61c['wHuoh'],'code':_0x328861[_0x111634(0x148)]['toString']()},'type':_0x328861[_0x111634(0x11d)],'scope':_0x328861[_0x111634(0x187)](),'scopes':this['getHierarchy'](_0x328861),'file_name':_0x17c49e,'vc_filepath':_0x4b4e7e?path[_0x111634(0x1a7)](_0x4b4e7e,_0x34f558):null,'location':_0x17c49e,'result':_0x493e87,'failure_reason':_0x12690a,'duration_in_ms':_0x328861['duration']||(_0x1cc769[_0x111634(0xf0)]||_0x1cc769[_0x111634(0x135)])?_0x50c61c[_0x111634(0x136)](Date[_0x111634(0x13c)](),new Date(_0x328861['startedAt'])[_0x111634(0x141)]()):null,'started_at':new Date(_0x328861[_0x111634(0x144)])[_0x111634(0x16c)](),'finished_at':_0x4bee23,'failure':testOpsHelper['failureData'][_0x111634(0x1b5)](null,_0x56e120),'failure_type':!_0x12690a?null:testOpsHelper['getFailureType'](_0x12690a),'retry_of':_0x328861[_0x111634(0x119)]||null,'tags':_0x328861[_0x111634(0x11c)]||[],'customRerunParam':{'rerun_name':_0x328861[_0x111634(0x187)]()}};_0x50c61c['yNSIf'](appendTesthubParams,_0x28819a,_0x3ee95a,_0x328861,FRAMEWORKS[_0x111634(0x169)]);if(_0x1cc769[_0x111634(0x158)])[_0x28819a['hook_type'],_0x28819a['name']]=[this[_0x111634(0x1b7)](_0x328861),_0x328861[_0x111634(0x1bb)]['test'][_0x111634(0x124)]],_0x1cc769[_0x111634(0xf0)]?_0x50c61c['LrSVz'](_0x28819a[_0x111634(0x10f)],_0x50c61c[_0x111634(0x175)])&&(_0x28819a['result']=_0x50c61c['nBDeJ']):_0x28819a['body']={};else _0x1cc769[_0x111634(0x196)]&&(this[_0x111634(0x122)](_0x328861),_0x1cc769[_0x111634(0x135)]&&this[_0x111634(0x164)](_0x328861),(_0x1cc769[_0x111634(0xf0)]||_0x1cc769[_0x111634(0x135)])&&(_0x28819a[_0x111634(0x10b)]=this[_0x111634(0xec)](_0x328861)));this[_0x111634(0x17e)]&&(_0x1cc769[_0x111634(0x127)]||_0x1cc769['skipped'])&&(_0x28819a[_0x50c61c[_0x111634(0x103)]]=this[_0x111634(0x12e)](this[_0x111634(0x17e)]));_0x1cc769[_0x111634(0x196)]&&_0x1cc769[_0x111634(0xf0)]&&_0x328861[_0x111634(0x198)]&&(_0x28819a[_0x50c61c[_0x111634(0x1ab)]]={'feature':{'name':_0x328861[_0x111634(0x154)]['feature'][_0x111634(0x150)],'path':_0x28819a['file_name'],'description':_0x328861['parent'][_0x111634(0xf2)]},'scenario':{'name':_0x328861[_0x111634(0x124)]},'steps':_0x328861[_0x111634(0x198)]});const _0x192959=_0x28819a[_0x50c61c[_0x111634(0xe5)]][0x0];_0x192959&&(_0x28819a[_0x50c61c[_0x111634(0x106)]]=_0x192959[_0x50c61c[_0x111634(0x189)]],_0x28819a[_0x50c61c[_0x111634(0x1c1)]]=_0x192959[_0x50c61c[_0x111634(0x12f)]]);if(_0x328861[_0x111634(0x198)])for(const _0x4e23ed of _0x328861[_0x111634(0x198)]){!_0x4e23ed[_0x111634(0x110)]&&(_0x4e23ed[_0x111634(0x110)]=new Date()[_0x111634(0x16c)](),_0x50c61c[_0x111634(0x10c)](_0x4e23ed['result'],_0x50c61c['EHQDW'])&&(_0x192959?(_0x4e23ed[_0x111634(0x10f)]=_0x50c61c[_0x111634(0x175)],_0x4e23ed[_0x111634(0x173)]=_0x192959[_0x50c61c[_0x111634(0x189)]][0x0]):_0x4e23ed[_0x111634(0x10f)]=_0x50c61c[_0x111634(0x19e)]));}const _0x539149={};_0x539149[_0x111634(0x130)]=_0x1cc769[_0x111634(0x135)]?TEST_EVENTS[_0x111634(0x188)]:_0x3ee95a;const _0x37b5ca=_0x539149;return _0x1cc769[_0x111634(0x158)]?_0x37b5ca[_0x50c61c['NTDKK']]=_0x28819a:_0x37b5ca[_0x50c61c['cbGIy']]=_0x28819a,_0x37b5ca;}catch(_0x183dee){logger[_0x111634(0x113)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x3ee95a+_0x111634(0x101)+_0x183dee);}}async['fireEvent'](_0x1ee280,_0x2057bb){const _0x356817=a4_0x32b7f0;if(!this[_0x356817(0x100)]||!_0x2057bb||!_0x1ee280)return![];try{return await SessionHandler['uploadEventData'](_0x2057bb);}catch(_0x1d6192){logger[_0x356817(0x113)](_0x356817(0x104)+_0x1ee280+_0x356817(0x101)+_0x1d6192);}}[a4_0x32b7f0(0x142)](_0x2c6b01){const _0x199ffa=a4_0x32b7f0,_0x5713cd={};_0x5713cd['rwYBZ']='pending';const _0x28878b=_0x5713cd;return{'id':_0x2c6b01[_0x199ffa(0x194)],'text':_0x2c6b01[_0x199ffa(0xf9)],'keyword':_0x2c6b01[_0x199ffa(0x1a5)],'started_at':_0x2c6b01[_0x199ffa(0x144)][_0x199ffa(0x16c)](),'result':_0x28878b[_0x199ffa(0x14f)]};}[a4_0x32b7f0(0x120)](_0x39364d){const _0x27b8c3=a4_0x32b7f0,_0x357ca8={'HFdeJ':function(_0x2874ea){return _0x2874ea();}};!this[_0x27b8c3(0x184)][_0x27b8c3(0x198)]&&(this[_0x27b8c3(0x184)][_0x27b8c3(0x198)]=[]),!_0x39364d[_0x27b8c3(0x194)]&&(_0x39364d[_0x27b8c3(0x194)]=_0x357ca8[_0x27b8c3(0x1c2)](uuidv4),_0x39364d[_0x27b8c3(0x144)]=new Date(),this[_0x27b8c3(0x184)][_0x27b8c3(0x198)][_0x27b8c3(0x11a)](this[_0x27b8c3(0x142)](_0x39364d)));}['bddStepFinish'](_0x2acfb1){const _0x4a86a4=a4_0x32b7f0,_0x397245={'CybIe':function(_0x33b8e0,_0x3e0225){return _0x33b8e0(_0x3e0225);},'kWvJS':_0x4a86a4(0xea),'pdZew':_0x4a86a4(0xfc),'BvVHH':_0x4a86a4(0x1ac),'ewrxE':function(_0x252f1c,_0x4708be){return _0x252f1c-_0x4708be;}};let _0x52b776=this[_0x4a86a4(0x184)][_0x4a86a4(0x198)]['find'](_0xffe40b=>_0xffe40b['id']===_0x2acfb1['stepAnalyticsId']);_0x397245[_0x4a86a4(0xef)](isUndefined,_0x52b776)&&(_0x52b776=this[_0x4a86a4(0x142)](_0x2acfb1)),_0x52b776[_0x4a86a4(0x10f)]=[_0x397245['kWvJS'],_0x397245[_0x4a86a4(0x162)]][_0x4a86a4(0xf8)](_0x2acfb1[_0x4a86a4(0x12a)])?_0x397245[_0x4a86a4(0x107)]:_0x2acfb1[_0x4a86a4(0x12a)],_0x52b776[_0x4a86a4(0x110)]=new Date()['toISOString'](),_0x52b776[_0x4a86a4(0x1cc)]=_0x397245[_0x4a86a4(0x16a)](Date[_0x4a86a4(0x13c)](),_0x2acfb1['startedAt'][_0x4a86a4(0x141)]()),_0x52b776[_0x4a86a4(0x173)]=_0x2acfb1[_0x4a86a4(0x1b9)]?_0x2acfb1[_0x4a86a4(0x1b9)][_0x4a86a4(0x12c)]:null;}}const a4_0x5ddbef={};function a4_0x1aee(_0x8b04a4,_0x511f0d){const _0x30d028=a4_0x30d0();return a4_0x1aee=function(_0x1aee4f,_0xeb2da2){_0x1aee4f=_0x1aee4f-0xe3;let _0x361ce3=_0x30d028[_0x1aee4f];return _0x361ce3;},a4_0x1aee(_0x8b04a4,_0x511f0d);}a4_0x5ddbef['O11yHelper']=O11yHelper,a4_0x5ddbef['STATE_PASSED']=STATE_PASSED,a4_0x5ddbef['STATE_FAILED']=STATE_FAILED,a4_0x5ddbef['TEST_EVENTS']=TEST_EVENTS,module[a4_0x32b7f0(0x138)]=a4_0x5ddbef;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x4b4926=a5_0x4fb4;(function(_0x2fe277,_0x1f16df){const _0x29efb5=a5_0x4fb4,_0x3ff5d9=_0x2fe277();while(!![]){try{const _0x55716e=parseInt(_0x29efb5(0x1f7))/0x1+parseInt(_0x29efb5(0x240))/0x2*(parseInt(_0x29efb5(0x1fc))/0x3)+-parseInt(_0x29efb5(0x21b))/0x4*(-parseInt(_0x29efb5(0x207))/0x5)+parseInt(_0x29efb5(0x1df))/0x6*(-parseInt(_0x29efb5(0x1de))/0x7)+-parseInt(_0x29efb5(0x1dd))/0x8*(parseInt(_0x29efb5(0x1f4))/0x9)+parseInt(_0x29efb5(0x209))/0xa+-parseInt(_0x29efb5(0x1da))/0xb;if(_0x55716e===_0x1f16df)break;else _0x3ff5d9['push'](_0x3ff5d9['shift']());}catch(_0x4187aa){_0x3ff5d9['push'](_0x3ff5d9['shift']());}}}(a5_0x2a0a,0xc8355));const fs=require('fs'),path=require(a5_0x4b4926(0x202)),util=require(a5_0x4b4926(0x1fa)),logger=require('../../helpers/logger')[a5_0x4b4926(0x21c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x4b4926(0x1f5)),utilities=require(a5_0x4b4926(0x211)),constants=require(a5_0x4b4926(0x220)),{parallelCucumberRun}=require(a5_0x4b4926(0x23b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x4b4926(0x247)),chalk=require('chalk');function printCucumberStats(_0x47e4df){const _0x146076=a5_0x4b4926,_0x22721b={};_0x22721b[_0x146076(0x1f3)]=function(_0x2a689d,_0x1d8892){return _0x2a689d>_0x1d8892;},_0x22721b[_0x146076(0x1e4)]=function(_0xa7a63f,_0x30e11c){return _0xa7a63f-_0x30e11c;},_0x22721b[_0x146076(0x230)]=function(_0x543421,_0xf26234){return _0x543421>_0xf26234;},_0x22721b[_0x146076(0x1dc)]=function(_0x408f93,_0xae0d4e){return _0x408f93>_0xae0d4e;},_0x22721b[_0x146076(0x224)]=function(_0x5d7dc4,_0x3f9ca3){return _0x5d7dc4>_0x3f9ca3;},_0x22721b[_0x146076(0x1e7)]=function(_0x1ebbd0,_0x18e6f3){return _0x1ebbd0>_0x18e6f3;},_0x22721b[_0x146076(0x1f2)]=function(_0x1861ea,_0x2a7a68){return _0x1861ea>_0x2a7a68;},_0x22721b[_0x146076(0x22d)]=function(_0x2c8382,_0x2c9015){return _0x2c8382>_0x2c9015;},_0x22721b['GdVdu']=function(_0x140506,_0x5868ca){return _0x140506>_0x5868ca;},_0x22721b[_0x146076(0x226)]=function(_0x200e9d,_0x514d49){return _0x200e9d+_0x514d49;},_0x22721b[_0x146076(0x22c)]=function(_0x6e244d,_0x340da1){return _0x6e244d+_0x340da1;},_0x22721b['HvYyc']=function(_0x5afdb2,_0x462eba){return _0x5afdb2+_0x462eba;},_0x22721b[_0x146076(0x241)]=function(_0x383c57,_0x23dcf6){return _0x383c57+_0x23dcf6;},_0x22721b[_0x146076(0x222)]=function(_0x36da0a,_0x2d5793){return _0x36da0a+_0x2d5793;},_0x22721b[_0x146076(0x22e)]=function(_0x26c44e,_0x590e6b){return _0x26c44e===_0x590e6b;},_0x22721b[_0x146076(0x245)]=function(_0x4f2a11,_0x126922){return _0x4f2a11===_0x126922;},_0x22721b[_0x146076(0x203)]=_0x146076(0x238);const _0x419079=_0x22721b;let _0x2ea613=0x0;if(_0x419079[_0x146076(0x245)](_0x47e4df[_0x146076(0x229)],0x0))return _0x2ea613;return console['log'](chalk[_0x146076(0x22a)][_0x146076(0x22b)](_0x419079[_0x146076(0x203)])),_0x47e4df['forEach'](_0x5e1298=>{const _0x212097=_0x146076,_0x4623f3=_0x5e1298[0x0],_0x5715c9=_0x5e1298[0x1];console[_0x212097(0x215)]('\x0a'+chalk[_0x212097(0x22a)]['yellow'](''+helper[_0x212097(0x1e9)](_0x4623f3)));const _0x3b32d6=_0x5715c9['scenarios'],_0x3b5d05=_0x5715c9[_0x212097(0x20f)],_0x49a6a4=_0x5715c9[_0x212097(0x1d8)],_0x1eeca7=_0x5715c9[_0x212097(0x1fd)],_0x20855d=_0x5715c9['stepsPassed'],_0x1e4e21=_0x5715c9[_0x212097(0x235)],_0x46a5ff=_0x5715c9[_0x212097(0x1e0)],_0x1c9c97=_0x5715c9[_0x212097(0x1ff)],_0x4c70e9=_0x5715c9[_0x212097(0x216)],_0xf3a2d0=_0x5715c9['stepsAmbiguous'],_0x54e857=_0x5715c9[_0x212097(0x201)];let _0x50e940=_0x3b32d6+'\x20scenarios';const _0x8e8ec2=_0x419079['wvyPt'](_0x419079['bPqfU'](_0x3b32d6,_0x49a6a4),0x0)?_0x419079[_0x212097(0x1e4)](_0x3b32d6,_0x49a6a4):0x0;if(_0x419079[_0x212097(0x1f3)](_0x49a6a4,0x0)&&_0x419079[_0x212097(0x1f3)](_0x8e8ec2,0x0))_0x50e940+='\x20('+chalk['bold'][_0x212097(0x21e)](_0x49a6a4+_0x212097(0x1e1))+',\x20'+chalk['bold'][_0x212097(0x231)](_0x8e8ec2+_0x212097(0x249))+')';else(_0x419079[_0x212097(0x230)](_0x49a6a4,0x0)||_0x419079['wvyPt'](_0x8e8ec2,0x0))&&(_0x50e940+=_0x419079[_0x212097(0x1f3)](_0x49a6a4,0x0)?'\x20('+chalk[_0x212097(0x22a)][_0x212097(0x21e)](_0x49a6a4+'\x20failed')+')':'\x20('+chalk[_0x212097(0x22a)][_0x212097(0x231)](_0x8e8ec2+_0x212097(0x249))+')');const _0x5bc3ae=_0x3b5d05+_0x212097(0x1ef),_0x20a23e=[];_0x419079[_0x212097(0x1dc)](_0xf3a2d0,0x0)&&_0x20a23e[_0x212097(0x20d)](''+chalk[_0x212097(0x22a)][_0x212097(0x21e)](_0xf3a2d0+'\x20ambiguous'));_0x419079[_0x212097(0x224)](_0x1eeca7,0x0)&&_0x20a23e[_0x212097(0x20d)](''+chalk[_0x212097(0x22a)][_0x212097(0x21e)](_0x1eeca7+'\x20failed'));_0x419079[_0x212097(0x1dc)](_0x20855d,0x0)&&_0x20a23e['push'](''+chalk[_0x212097(0x22a)][_0x212097(0x231)](_0x20855d+'\x20passed'));_0x419079['lyrjD'](_0x46a5ff,0x0)&&_0x20a23e['push'](''+chalk[_0x212097(0x22a)][_0x212097(0x1d9)](_0x46a5ff+_0x212097(0x246)));_0x419079[_0x212097(0x1f2)](_0x1e4e21,0x0)&&_0x20a23e['push'](''+chalk[_0x212097(0x22a)]['cyan'](_0x1e4e21+_0x212097(0x22f)));_0x419079[_0x212097(0x22d)](_0x1c9c97,0x0)&&_0x20a23e['push'](''+chalk[_0x212097(0x22a)][_0x212097(0x1d9)](_0x1c9c97+_0x212097(0x1e5)));_0x419079[_0x212097(0x1f0)](_0x4c70e9,0x0)&&_0x20a23e[_0x212097(0x20d)](''+chalk['bold'][_0x212097(0x1d9)](_0x4c70e9+_0x212097(0x22f)));const _0xd3cc5b=_0x419079[_0x212097(0x226)](_0x419079['qioYV'](_0x419079[_0x212097(0x22c)](_0x5bc3ae,'('),_0x20a23e[_0x212097(0x225)](',\x20')),')');console[_0x212097(0x215)](_0x419079[_0x212097(0x226)](_0x419079[_0x212097(0x223)](_0x419079[_0x212097(0x241)](_0x419079['hxCjL']('\x0a',_0x50e940),'\x0a'),_0xd3cc5b),'\x0a')),_0x419079[_0x212097(0x22e)](_0x54e857,![])&&(_0x2ea613=0x1);}),_0x2ea613;}async function run(_0x367f0a,_0xc8bbb0){const _0x20eafd=a5_0x4b4926,_0x2407b8={'dpyRP':function(_0x2627b3,_0x1215fa){return _0x2627b3(_0x1215fa);},'ENPaV':function(_0xa6c71f,_0x1e8446){return _0xa6c71f>_0x1e8446;},'VsYTL':_0x20eafd(0x204),'lXXLi':_0x20eafd(0x1e3),'ikBtX':_0x20eafd(0x1ec),'kHPEO':'error\x20removing\x20tcg\x20config\x20file','PWygk':_0x20eafd(0x20c),'IZHBM':_0x20eafd(0x205),'BYlIW':function(_0xd309ab,_0x242afe){return _0xd309ab>_0x242afe;},'JnOQY':function(_0x5517d4,_0x339a8c){return _0x5517d4-_0x339a8c;},'QpSaA':function(_0x59124c,_0xf94e88){return _0x59124c>=_0xf94e88;},'mYUXq':function(_0x286f29,_0x13213b){return _0x286f29!=_0x13213b;},'NiYGK':_0x20eafd(0x210),'nKtFi':function(_0x349807,_0x3e8dc7,_0x10e486,_0x3df284,_0x8a8fb5,_0x5cc727){return _0x349807(_0x3e8dc7,_0x10e486,_0x3df284,_0x8a8fb5,_0x5cc727);}},_0xe064cf=new BrowserStackSetup(_0x367f0a,_0x2407b8['PWygk']);await _0xe064cf[_0x20eafd(0x236)]();!helper[_0x20eafd(0x1e2)]()&&await _0xe064cf['setupTCGAuth']();await helper[_0x20eafd(0x200)](_0xe064cf['config']);const _0x201dcc=helper[_0x20eafd(0x1fb)](_0xe064cf[_0x20eafd(0x227)]),_0x25bede=helper['prepareCapabilities'](_0xe064cf[_0x20eafd(0x227)],_0x201dcc,constants['FRAMEWORKS'][_0x20eafd(0x20e)]);if(!_0xe064cf['config'])return;const _0x50b4f7=_0xe064cf[_0x20eafd(0x227)][_0x20eafd(0x23f)]||helper['getUserWorkerCount'](_0x367f0a,_0xc8bbb0,_0xe064cf['config'],constants['FRAMEWORKS'][_0x20eafd(0x20e)])||0x1,_0x46315f={'server':helper[_0x20eafd(0x213)](_0xe064cf['config']),'proxySettings':_0xe064cf[_0x20eafd(0x227)][_0x20eafd(0x242)],'maxWorkers':_0x50b4f7,'browserStackLogLevel':_0xe064cf[_0x20eafd(0x227)][_0x20eafd(0x21d)],'skipSessionName':_0xe064cf[_0x20eafd(0x227)]['testContextOptions'][_0x20eafd(0x21f)],'skipSessionStatus':_0xe064cf[_0x20eafd(0x227)][_0x20eafd(0x208)][_0x20eafd(0x1e8)],'turboScaleUrl':_0xe064cf[_0x20eafd(0x227)][_0x20eafd(0x237)]},_0x2c00f5=process[_0x20eafd(0x1db)],[_0x321f6e,_0x27a0d5]=helper[_0x20eafd(0x1f8)](_0x2c00f5),_0x40ec12=path[_0x20eafd(0x225)](process[_0x20eafd(0x234)](),_0x2407b8[_0x20eafd(0x20a)]);if(_0x2407b8[_0x20eafd(0x233)](_0x27a0d5['length'],0x0)){helper['createDir'](_0x40ec12);for(let _0x4d92f6=_0x2407b8['JnOQY'](_0x321f6e[_0x20eafd(0x229)],0x1);_0x2407b8['QpSaA'](_0x4d92f6,0x0);_0x4d92f6--){_0x2c00f5[_0x20eafd(0x23a)](_0x321f6e[_0x4d92f6],0x2);}}!helper[_0x20eafd(0x20b)](_0xe064cf[_0x20eafd(0x227)][_0x20eafd(0x24a)])&&(process[_0x20eafd(0x21a)][_0x20eafd(0x1ed)]=JSON[_0x20eafd(0x1ea)](_0xe064cf['config']['accessibilityOptions']));_0x2407b8[_0x20eafd(0x214)](_0xe064cf['config'][_0x20eafd(0x23e)],null)?process[_0x20eafd(0x21a)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xe064cf[_0x20eafd(0x227)]['testObservability']:process[_0x20eafd(0x21a)][_0x20eafd(0x221)]=_0x2407b8['NiYGK'];const _0x13ebb1=await TestHubHandler[_0x20eafd(0x248)](constants[_0x20eafd(0x217)][_0x20eafd(0x20e)],_0xe064cf);helper[_0x20eafd(0x1f6)]();let _0x357cb8;_0x2407b8[_0x20eafd(0x212)](parallelCucumberRun,_0x25bede,_0x46315f,_0xe064cf['config'],_0x2c00f5,_0x27a0d5)[_0x20eafd(0x219)](async _0x299787=>{const _0x5a5e38=_0x20eafd;_0x357cb8=_0x299787;const _0x163ef6=_0x2407b8['dpyRP'](printCucumberStats,_0x299787);process['exitCode']=_0x163ef6,_0x2407b8['ENPaV'](_0x27a0d5[_0x5a5e38(0x229)],0x0)&&(logger[_0x5a5e38(0x218)](_0x2407b8['VsYTL']),helper[_0x5a5e38(0x232)](_0x40ec12,_0x27a0d5),logger[_0x5a5e38(0x218)](_0x2407b8[_0x5a5e38(0x1ee)]),helper[_0x5a5e38(0x244)](_0x40ec12));})[_0x20eafd(0x23d)](async()=>{const _0x39374a=_0x20eafd;_0xe064cf[_0x39374a(0x1fe)]=helper[_0x39374a(0x1f9)](_0x357cb8,_0x2407b8['ikBtX']),testOpsHelper[_0x39374a(0x239)]();try{await TestHubHandler[_0x39374a(0x1f1)]();}catch(_0x5aae70){logger[_0x39374a(0x218)](_0x39374a(0x1eb)+util[_0x39374a(0x228)](_0x5aae70));}try{const {browserstackFolderPath:_0x1a63f1,tcgConfigPath:_0x5ed591}=helper['getTCGConfigFilePaths']();fs[_0x39374a(0x23c)](_0x5ed591),fs['rmdirSync'](_0x1a63f1);}catch(_0x3c60ea){logger[_0x39374a(0x218)](_0x2407b8[_0x39374a(0x243)],_0x3c60ea);}await utilities[_0x39374a(0x206)](_0xe064cf);});}module[a5_0x4b4926(0x1e6)]=run;function a5_0x4fb4(_0x39265b,_0x2cf132){const _0x2a0ac9=a5_0x2a0a();return a5_0x4fb4=function(_0x4fb431,_0x213c6c){_0x4fb431=_0x4fb431-0x1d8;let _0x4f0b3e=_0x2a0ac9[_0x4fb431];return _0x4f0b3e;},a5_0x4fb4(_0x39265b,_0x2cf132);}function a5_0x2a0a(){const _0x3b51b5=['proxySettings','kHPEO','removeDir','VSsoV','\x20pending','../../helpers/test-observability/utils','launchBuild','\x20passed','accessibilityOptions','scenariosFailed','yellow','31457888wlDehB','argv','snAIw','8066120MMHcAm','33278oIaSQc','78odQanq','stepsPending','\x20failed','isBrowserstackInfra','Removing\x20tmp\x20directory\x20created\x20for\x20reports','bPqfU','\x20undefined','exports','lyrjD','skipSessionStatus','getPlatformName','stringify','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','cucumber','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','lXXLi','\x20steps','GdVdu','stop','jJmTP','wvyPt','9VzbJIw','../../helpers/helper','markSDKSetupComplete','1300328eithVM','parseFormatters','getErrorMessageFromResults','util','useW3C','12yNaRjI','stepsFailed','errorMessage','stepsUndefined','handleApp','processSuccess','path','LpLkv','Generating\x20consolidated\x20report...','tmp','finalExecution','5JitmIc','testContextOptions','8204190ZHZhaQ','IZHBM','isUndefined','cucumber-js','push','CUCUMBER','steps','false','../../helpers/utilities','nKtFi','getHubUrl','mYUXq','log','stepsUnknown','FRAMEWORKS','debug','then','env','5327268KTzegS','winstonLogger','logLevel','red','skipSessionName','../utils/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','hxCjL','HvYyc','WALor','join','mtHCA','config','format','length','bold','bgWhite','qioYV','RhJIU','sWKks','\x20skipped','vMPgp','green','mergeOutputFiles','BYlIW','cwd','stepsSkipped','initialize','turboScaleUrl','****\x20RESULTS\x20****','printBuildLink','splice','../test-runner','unlinkSync','finally','testObservability','parallelsPerPlatform','648682akYQxO','XqtbP'];a5_0x2a0a=function(){return _0x3b51b5;};return a5_0x2a0a();}
2
+ 'use strict';const a5_0x4a2abd=a5_0x434e;(function(_0x35316b,_0x2b41f7){const _0x209b21=a5_0x434e,_0x299f01=_0x35316b();while(!![]){try{const _0x1904eb=-parseInt(_0x209b21(0xfa))/0x1*(parseInt(_0x209b21(0xdf))/0x2)+-parseInt(_0x209b21(0xe5))/0x3+-parseInt(_0x209b21(0xf1))/0x4*(-parseInt(_0x209b21(0xe1))/0x5)+parseInt(_0x209b21(0xe2))/0x6+parseInt(_0x209b21(0xbc))/0x7+-parseInt(_0x209b21(0x10a))/0x8+-parseInt(_0x209b21(0xea))/0x9;if(_0x1904eb===_0x2b41f7)break;else _0x299f01['push'](_0x299f01['shift']());}catch(_0x5d4611){_0x299f01['push'](_0x299f01['shift']());}}}(a5_0x5e68,0x301f5));function a5_0x434e(_0x266597,_0x23cc88){const _0x5e6854=a5_0x5e68();return a5_0x434e=function(_0x434eef,_0x298e2e){_0x434eef=_0x434eef-0xaa;let _0x4dd597=_0x5e6854[_0x434eef];return _0x4dd597;},a5_0x434e(_0x266597,_0x23cc88);}function a5_0x5e68(){const _0x3c4dbc=['szFPQ','yellow','meXbN','stepsFailed','splice','cucumber-js','ERQAC','log','logLevel','Removing\x20tmp\x20directory\x20created\x20for\x20reports','steps','scenariosFailed','bold','BFmzP','true','getUserWorkerCount','green','JITnK','\x20scenarios','../../helpers/utilities','chalk','skipSessionName','push','red','1696198ZTordA','winstonLogger','dgcGm','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../test-runner','turboScaleUrl','finalExecution','accessibilityOptions','finally','CUCUMBER','cyan','rmdirSync','ClOIW','prepareCapabilities','mergeOutputFiles','\x20ambiguous','useW3C','JnUOg','stringify','Tmpfs','aoHFB','GmXeL','bIJZe','exitCode','length','proxySettings','getHubUrl','../../helpers/logger','mzheE','util','setupTCGAuth','../../helpers/test-observability/utils','unlinkSync','\x20undefined','QBEKW','145258eDEJRe','acuee','3455CZHFAA','1615248avTauh','skipSessionStatus','getErrorMessageFromResults','189633SXoTTF','parseFormatters','HwchG','markSDKSetupComplete','testContextOptions','2911230QEhLVb','cwd','\x20failed','then','isUndefined','forEach','****\x20RESULTS\x20****','1576dIBRtW','cucumber','mLwoJ','dojbh','launchBuild','printBuildLink','errorMessage','isAAj','\x20steps','2hFdVcL','getPlatformName','mFevi','fpSHd','\x20skipped','env','debug','Generating\x20consolidated\x20report...','bnpAo','iHQpI','config','testObservability','stepsUnknown','format','../../helpers/BrowserStackSetup','removeDir','437824vgGgPV','getTCGConfigFilePaths','\x20passed','join','argv'];a5_0x5e68=function(){return _0x3c4dbc;};return a5_0x5e68();}const fs=require('fs'),path=require('path'),util=require(a5_0x4a2abd(0xd9)),logger=require(a5_0x4a2abd(0xd7))[a5_0x4a2abd(0xbd)],{default:BrowserStackSetup}=require(a5_0x4a2abd(0x108)),helper=require('../../helpers/helper'),utilities=require(a5_0x4a2abd(0xb7)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x4a2abd(0xc0)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x4a2abd(0xdb)),chalk=require(a5_0x4a2abd(0xb8));function printCucumberStats(_0xde6eef){const _0x18b1cc=a5_0x4a2abd,_0x208435={};_0x208435[_0x18b1cc(0xfc)]=function(_0x1e8779,_0x1e5b92){return _0x1e8779>_0x1e5b92;},_0x208435[_0x18b1cc(0xde)]=function(_0x49cecf,_0x3186c2){return _0x49cecf-_0x3186c2;},_0x208435[_0x18b1cc(0xf3)]=function(_0x492178,_0x3da362){return _0x492178-_0x3da362;},_0x208435[_0x18b1cc(0xcf)]=function(_0x11378f,_0x434d50){return _0x11378f>_0x434d50;},_0x208435[_0x18b1cc(0x103)]=function(_0xfede0d,_0x3c6f37){return _0xfede0d>_0x3c6f37;},_0x208435[_0x18b1cc(0xb1)]=function(_0x415a7f,_0x33032c){return _0x415a7f>_0x33032c;},_0x208435[_0x18b1cc(0xc8)]=function(_0x198dd5,_0x4fb819){return _0x198dd5>_0x4fb819;},_0x208435[_0x18b1cc(0x102)]=function(_0x52c802,_0x4b1dcc){return _0x52c802>_0x4b1dcc;},_0x208435[_0x18b1cc(0xfd)]=function(_0x313849,_0x56f78b){return _0x313849+_0x56f78b;},_0x208435[_0x18b1cc(0xe0)]=function(_0x5bf6c2,_0xb98f9b){return _0x5bf6c2+_0xb98f9b;},_0x208435[_0x18b1cc(0xd0)]=function(_0x3ebe46,_0x539885){return _0x3ebe46===_0x539885;},_0x208435[_0x18b1cc(0xaa)]=function(_0x4e40ad,_0x9c3389){return _0x4e40ad===_0x9c3389;},_0x208435[_0x18b1cc(0xe7)]=_0x18b1cc(0xf0);const _0x1d2042=_0x208435;let _0x2b3fc1=0x0;if(_0x1d2042[_0x18b1cc(0xaa)](_0xde6eef[_0x18b1cc(0xd4)],0x0))return _0x2b3fc1;return console[_0x18b1cc(0xab)](chalk[_0x18b1cc(0xb0)]['bgWhite'](_0x1d2042[_0x18b1cc(0xe7)])),_0xde6eef[_0x18b1cc(0xef)](_0x26bd15=>{const _0x55a75d=_0x18b1cc,_0x11b321=_0x26bd15[0x0],_0x2b7d33=_0x26bd15[0x1];console[_0x55a75d(0xab)]('\x0a'+chalk[_0x55a75d(0xb0)][_0x55a75d(0x110)](''+helper[_0x55a75d(0xfb)](_0x11b321)));const _0x2151d4=_0x2b7d33['scenarios'],_0xd95e3d=_0x2b7d33[_0x55a75d(0xae)],_0x4474d2=_0x2b7d33[_0x55a75d(0xaf)],_0x68fefd=_0x2b7d33[_0x55a75d(0x112)],_0x485fca=_0x2b7d33['stepsPassed'],_0x279a0a=_0x2b7d33['stepsSkipped'],_0x2893eb=_0x2b7d33['stepsPending'],_0x30bdf4=_0x2b7d33['stepsUndefined'],_0x308461=_0x2b7d33[_0x55a75d(0x106)],_0x5717ec=_0x2b7d33['stepsAmbiguous'],_0x4e0e07=_0x2b7d33['processSuccess'];let _0x3f9b7d=_0x2151d4+_0x55a75d(0xb6);const _0x14e1c4=_0x1d2042[_0x55a75d(0xfc)](_0x1d2042[_0x55a75d(0xde)](_0x2151d4,_0x4474d2),0x0)?_0x1d2042['mLwoJ'](_0x2151d4,_0x4474d2):0x0;if(_0x1d2042['Tmpfs'](_0x4474d2,0x0)&&_0x1d2042[_0x55a75d(0x103)](_0x14e1c4,0x0))_0x3f9b7d+='\x20('+chalk[_0x55a75d(0xb0)][_0x55a75d(0xbb)](_0x4474d2+_0x55a75d(0xec))+',\x20'+chalk[_0x55a75d(0xb0)][_0x55a75d(0xb4)](_0x14e1c4+_0x55a75d(0x10c))+')';else(_0x1d2042['iHQpI'](_0x4474d2,0x0)||_0x1d2042[_0x55a75d(0xb1)](_0x14e1c4,0x0))&&(_0x3f9b7d+=_0x1d2042['iHQpI'](_0x4474d2,0x0)?'\x20('+chalk['bold']['red'](_0x4474d2+_0x55a75d(0xec))+')':'\x20('+chalk[_0x55a75d(0xb0)][_0x55a75d(0xb4)](_0x14e1c4+'\x20passed')+')');const _0x5f4813=_0xd95e3d+_0x55a75d(0xf9),_0x3818a8=[];_0x1d2042['mFevi'](_0x5717ec,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0xbb)](_0x5717ec+_0x55a75d(0xcb)));_0x1d2042[_0x55a75d(0x103)](_0x68fefd,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)]['red'](_0x68fefd+_0x55a75d(0xec)));_0x1d2042[_0x55a75d(0xc8)](_0x485fca,0x0)&&_0x3818a8['push'](''+chalk[_0x55a75d(0xb0)]['green'](_0x485fca+'\x20passed'));_0x1d2042[_0x55a75d(0x103)](_0x2893eb,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0x110)](_0x2893eb+'\x20pending'));_0x1d2042['bnpAo'](_0x279a0a,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0xc6)](_0x279a0a+_0x55a75d(0xfe)));_0x1d2042[_0x55a75d(0xb1)](_0x30bdf4,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk[_0x55a75d(0xb0)][_0x55a75d(0x110)](_0x30bdf4+_0x55a75d(0xdd)));_0x1d2042['BFmzP'](_0x308461,0x0)&&_0x3818a8[_0x55a75d(0xba)](''+chalk['bold'][_0x55a75d(0x110)](_0x308461+'\x20skipped'));const _0x203e1a=_0x1d2042[_0x55a75d(0xfd)](_0x1d2042[_0x55a75d(0xe0)](_0x1d2042[_0x55a75d(0xfd)](_0x5f4813,'('),_0x3818a8[_0x55a75d(0x10d)](',\x20')),')');console['log'](_0x1d2042[_0x55a75d(0xfd)](_0x1d2042[_0x55a75d(0xfd)](_0x1d2042[_0x55a75d(0xe0)](_0x1d2042['acuee']('\x0a',_0x3f9b7d),'\x0a'),_0x203e1a),'\x0a')),_0x1d2042[_0x55a75d(0xd0)](_0x4e0e07,![])&&(_0x2b3fc1=0x1);}),_0x2b3fc1;}async function run(_0x2c1b86,_0x365203){const _0x264e11=a5_0x4a2abd,_0x20c553={'meXbN':function(_0x2fd81e,_0x61dc1){return _0x2fd81e(_0x61dc1);},'szFPQ':function(_0x58efd2,_0x3b88c6){return _0x58efd2>_0x3b88c6;},'GmXeL':_0x264e11(0x101),'dojbh':_0x264e11(0xad),'Geuhj':_0x264e11(0xf2),'dgcGm':'error\x20removing\x20tcg\x20config\x20file','mzheE':_0x264e11(0x114),'JnUOg':'tmp','uqIiS':function(_0x2f4789,_0x17d5d2){return _0x2f4789-_0x17d5d2;},'FBCBb':function(_0x50f984,_0x25b7f5){return _0x50f984>=_0x25b7f5;},'isAAj':function(_0x435a26,_0x423fea){return _0x435a26!=_0x423fea;},'bIJZe':_0x264e11(0xb2),'JITnK':function(_0x1d2639,_0x24e453,_0x4aabb2,_0x38bd05,_0x2baee0,_0x1a34a1){return _0x1d2639(_0x24e453,_0x4aabb2,_0x38bd05,_0x2baee0,_0x1a34a1);}},_0x294cec=new BrowserStackSetup(_0x2c1b86,_0x20c553[_0x264e11(0xd8)]);await _0x294cec['initialize']();!helper['isBrowserstackInfra']()&&await _0x294cec[_0x264e11(0xda)]();await helper['handleApp'](_0x294cec[_0x264e11(0x104)]);const _0x52ac6a=helper[_0x264e11(0xcc)](_0x294cec['config']),_0x5e1b62=helper[_0x264e11(0xc9)](_0x294cec['config'],_0x52ac6a,constants['FRAMEWORKS'][_0x264e11(0xc5)]);if(!_0x294cec[_0x264e11(0x104)])return;const _0x7cc355=_0x294cec[_0x264e11(0x104)]['parallelsPerPlatform']||helper[_0x264e11(0xb3)](_0x2c1b86,_0x365203,_0x294cec[_0x264e11(0x104)],constants['FRAMEWORKS'][_0x264e11(0xc5)])||0x1,_0x46865b={'server':helper[_0x264e11(0xd6)](_0x294cec[_0x264e11(0x104)]),'proxySettings':_0x294cec['config'][_0x264e11(0xd5)],'maxWorkers':_0x7cc355,'browserStackLogLevel':_0x294cec[_0x264e11(0x104)][_0x264e11(0xac)],'skipSessionName':_0x294cec[_0x264e11(0x104)][_0x264e11(0xe9)][_0x264e11(0xb9)],'skipSessionStatus':_0x294cec[_0x264e11(0x104)]['testContextOptions'][_0x264e11(0xe3)],'turboScaleUrl':_0x294cec[_0x264e11(0x104)][_0x264e11(0xc1)]},_0x2c4682=process[_0x264e11(0x10e)],[_0x222781,_0x5bbae3]=helper[_0x264e11(0xe6)](_0x2c4682),_0x2a603e=path[_0x264e11(0x10d)](process[_0x264e11(0xeb)](),_0x20c553[_0x264e11(0xcd)]);if(_0x20c553[_0x264e11(0x10f)](_0x5bbae3[_0x264e11(0xd4)],0x0)){helper['createDir'](_0x2a603e);for(let _0x2f84fc=_0x20c553['uqIiS'](_0x222781['length'],0x1);_0x20c553['FBCBb'](_0x2f84fc,0x0);_0x2f84fc--){_0x2c4682[_0x264e11(0x113)](_0x222781[_0x2f84fc],0x2);}}!helper[_0x264e11(0xee)](_0x294cec['config'][_0x264e11(0xc3)])&&(process[_0x264e11(0xff)][_0x264e11(0xbf)]=JSON[_0x264e11(0xce)](_0x294cec[_0x264e11(0x104)][_0x264e11(0xc3)]));_0x20c553[_0x264e11(0xf8)](_0x294cec['config'][_0x264e11(0x105)],null)?process[_0x264e11(0xff)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x294cec[_0x264e11(0x104)][_0x264e11(0x105)]:process[_0x264e11(0xff)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x20c553[_0x264e11(0xd2)];const _0x2ef52c=await TestHubHandler[_0x264e11(0xf5)](constants['FRAMEWORKS']['CUCUMBER'],_0x294cec);helper[_0x264e11(0xe8)]();let _0x69342c;_0x20c553[_0x264e11(0xb5)](parallelCucumberRun,_0x5e1b62,_0x46865b,_0x294cec[_0x264e11(0x104)],_0x2c4682,_0x5bbae3)[_0x264e11(0xed)](async _0x35a6e1=>{const _0x3c9647=_0x264e11;_0x69342c=_0x35a6e1;const _0x28ef78=_0x20c553[_0x3c9647(0x111)](printCucumberStats,_0x35a6e1);process[_0x3c9647(0xd3)]=_0x28ef78,_0x20c553[_0x3c9647(0x10f)](_0x5bbae3['length'],0x0)&&(logger[_0x3c9647(0x100)](_0x20c553[_0x3c9647(0xd1)]),helper[_0x3c9647(0xca)](_0x2a603e,_0x5bbae3),logger[_0x3c9647(0x100)](_0x20c553[_0x3c9647(0xf4)]),helper[_0x3c9647(0x109)](_0x2a603e));})[_0x264e11(0xc4)](async()=>{const _0x59322b=_0x264e11;_0x294cec[_0x59322b(0xf7)]=helper[_0x59322b(0xe4)](_0x69342c,_0x20c553['Geuhj']),testOpsHelper[_0x59322b(0xf6)]();try{await TestHubHandler['stop']();}catch(_0x1b6f6e){logger[_0x59322b(0x100)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x59322b(0x107)](_0x1b6f6e));}try{const {browserstackFolderPath:_0x8ccb01,tcgConfigPath:_0x93a082}=helper[_0x59322b(0x10b)]();fs[_0x59322b(0xdc)](_0x93a082),fs[_0x59322b(0xc7)](_0x8ccb01);}catch(_0x14a1cf){logger[_0x59322b(0x100)](_0x20c553[_0x59322b(0xbe)],_0x14a1cf);}await utilities[_0x59322b(0xc2)](_0x294cec);});}module['exports']=run;