browserstack-node-sdk 1.34.46 → 1.34.48
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.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -0
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -0
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/templates/nginx/pods-and-services.yaml +1 -1
- package/ats/src/templates/nginx/private-pods-and-services.yaml +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x553f1a=a1_0x13b3;(function(_0x3f841d,_0x111316){const _0x3acb04=a1_0x13b3,_0x3cecd8=_0x3f841d();while(!![]){try{const _0x293e53=parseInt(_0x3acb04(0x11f))/0x1+-parseInt(_0x3acb04(0x122))/0x2+parseInt(_0x3acb04(0x198))/0x3*(-parseInt(_0x3acb04(0x12f))/0x4)+parseInt(_0x3acb04(0x170))/0x5+parseInt(_0x3acb04(0x1b2))/0x6*(-parseInt(_0x3acb04(0x146))/0x7)+parseInt(_0x3acb04(0x1d8))/0x8+-parseInt(_0x3acb04(0x131))/0x9*(-parseInt(_0x3acb04(0x1f0))/0xa);if(_0x293e53===_0x111316)break;else _0x3cecd8['push'](_0x3cecd8['shift']());}catch(_0x424fba){_0x3cecd8['push'](_0x3cecd8['shift']());}}}(a1_0x14ca,0x78770));function a1_0x13b3(_0x16e80b,_0x2d5b01){const _0x14ca1f=a1_0x14ca();return a1_0x13b3=function(_0x13b3ce,_0x581f39){_0x13b3ce=_0x13b3ce-0x11c;let _0x1a40ce=_0x14ca1f[_0x13b3ce];return _0x1a40ce;},a1_0x13b3(_0x16e80b,_0x2d5b01);}const fs=require('fs'),util=require(a1_0x553f1a(0x1cf)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x553f1a(0x1a6)),logger=require(a1_0x553f1a(0x1e2))[a1_0x553f1a(0x12c)],testOpsHelper=require(a1_0x553f1a(0x15e)),requestSpy=require(a1_0x553f1a(0x1be)),PlaywrightSessionDetails=require(a1_0x553f1a(0x19b)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x553f1a(0x1bd)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x553f1a(0x1e8)),AccessibilityHelper=require(a1_0x553f1a(0x138)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x553f1a(0x17b)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x553f1a(0x18a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x553f1a(0x1c9)),testHubConstants=require(a1_0x553f1a(0x14b)),globals=require(a1_0x553f1a(0x1c2)),CodeceptJS=requireModule(a1_0x553f1a(0x1e0),a1_0x553f1a(0x184)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x553f1a(0x184)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x553f1a(0x184)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x553f1a(0x184)),CodeceptPlaywright=requireModule(a1_0x553f1a(0x19a),a1_0x553f1a(0x184)),playwrightMarkSessionStatus=(_0x26556e,_0x56af59,_0x4b3a3b)=>{const _0x69cd84=a1_0x553f1a,_0x3bad41={'XpsRV':_0x69cd84(0x1d5),'AjWNH':function(_0x11c81f,_0x13712a){return _0x11c81f(_0x13712a);}},_0xe498ae={};_0xe498ae['status']=_0x56af59;const _0xbf9d2f={};_0xbf9d2f[_0x69cd84(0x1ec)]=_0x3bad41[_0x69cd84(0x1a7)],_0xbf9d2f[_0x69cd84(0x1d9)]=_0xe498ae;const _0x103d94=_0xbf9d2f;return!_0x3bad41[_0x69cd84(0x1d7)](isUndefined,_0x4b3a3b)&&(_0x103d94[_0x69cd84(0x1d9)][_0x69cd84(0x1aa)]=JSON[_0x69cd84(0x165)](_0x4b3a3b)),_0x26556e[_0x69cd84(0x1a8)](()=>{},'browserstack_executor:\x20'+JSON[_0x69cd84(0x165)](_0x103d94));},o11ySync=PerformanceTester[a1_0x553f1a(0x1cc)](PerformanceO11yEvents[a1_0x553f1a(0x14c)],async _0xb181ef=>{const _0x409359=a1_0x553f1a,_0x36ce96={};_0x36ce96[_0x409359(0x162)]=function(_0x46706d,_0x45781b){return _0x46706d===_0x45781b;},_0x36ce96['YXccf']=_0x409359(0x167);const _0x55dc27=_0x36ce96;_0x55dc27[_0x409359(0x162)](_0xb181ef[_0x409359(0x181)]['name'],_0x55dc27[_0x409359(0x1ad)])?await _0xb181ef['executeScript'](_0x3e44e7=>{},testOpsHelper[_0x409359(0x1ef)]()):await _0xb181ef[_0x409359(0x1a8)](testOpsHelper[_0x409359(0x1ef)]());}),markSessionName=PerformanceTester[a1_0x553f1a(0x1cc)](PerformanceAutEvents[a1_0x553f1a(0x1a0)],async(_0x4648a8,_0x5b79b)=>{const _0x473d49=a1_0x553f1a,_0x18f8e0={};_0x18f8e0['VBftN']=_0x473d49(0x183),_0x18f8e0['aKaQu']=function(_0x1e2083,_0xd526cc){return _0x1e2083===_0xd526cc;},_0x18f8e0[_0x473d49(0x1b3)]='Playwright';const _0x5b991d=_0x18f8e0,_0xe3a1f3={};_0xe3a1f3['name']=_0x5b79b;const _0x55f02a={};_0x55f02a[_0x473d49(0x1ec)]=_0x5b991d[_0x473d49(0x149)],_0x55f02a['arguments']=_0xe3a1f3;const _0xea8672=_0x55f02a;_0x5b991d['aKaQu'](_0x4648a8[_0x473d49(0x181)][_0x473d49(0x19e)],_0x5b991d[_0x473d49(0x1b3)])?await _0x4648a8[_0x473d49(0x1a8)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0xea8672)):await _0x4648a8['executeScript']('browserstack_executor:\x20'+JSON['stringify'](_0xea8672));}),patchSaveScreenshot=_0x45fc40=>{const _0x50a24d=a1_0x553f1a,_0x12d433={'WCtta':_0x50a24d(0x1a9),'NhyhS':_0x50a24d(0x192),'fSJBV':function(_0x5c94b5){return _0x5c94b5();},'byDVd':function(_0x59f572,_0x4ad52b){return _0x59f572(_0x4ad52b);}};_0x12d433[_0x50a24d(0x1dd)](isTrue,process[_0x50a24d(0x133)][_0x50a24d(0x1f6)])&&!_0x45fc40['patchSaveScreenshot']&&(_0x45fc40[_0x50a24d(0x1b7)]=!![],_0x45fc40[_0x50a24d(0x16a)]=_0x45fc40['saveScreenshot'],_0x45fc40[_0x50a24d(0x13a)]=(_0x1bc48e,_0x3f3d9e=![])=>{const _0xd28e5a=_0x50a24d,_0x5d3660={'GXVHp':_0x12d433[_0xd28e5a(0x1a5)],'rsLLt':_0x12d433[_0xd28e5a(0x196)],'oApJk':function(_0x476a27){const _0x41d72a=_0xd28e5a;return _0x12d433[_0x41d72a(0x14a)](_0x476a27);}};return new Promise(function(_0x9a3d71,_0x50d41d){const _0x872094=_0xd28e5a,_0x399cb4={'tmKbc':_0x5d3660[_0x872094(0x1d3)],'opKLh':_0x5d3660[_0x872094(0x11d)],'udnPQ':function(_0x208703){const _0x274e98=_0x872094;return _0x5d3660[_0x274e98(0x176)](_0x208703);}};_0x45fc40[_0x872094(0x16a)](_0x1bc48e,_0x3f3d9e)[_0x872094(0x163)](()=>{const _0x40315c=_0x872094,_0x3a2eb2=CodeceptUtils[_0x40315c(0x1c6)](_0x1bc48e),_0xc54f80=fs[_0x40315c(0x134)](_0x3a2eb2);process[_0x40315c(0x1a4)](_0x40315c(0x1a3)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0xc54f80[_0x40315c(0x151)](_0x399cb4[_0x40315c(0x126)]),'kind':_0x399cb4[_0x40315c(0x145)]}),_0x399cb4['udnPQ'](_0x9a3d71);})['catch'](()=>null);});});},patchWebDriverBefore=_0x3c2cff=>{const _0x5811e1=a1_0x553f1a,_0x514ff9={'XlqHi':function(_0x23ae82){return _0x23ae82();},'whwPh':function(_0x300be0,_0x2dd04a){return _0x300be0(_0x2dd04a);},'QvVun':function(_0xcfc099,_0x68fd86){return _0xcfc099===_0x68fd86;},'bWAAf':_0x5811e1(0x15a),'pouuL':function(_0x46f4c6,_0x5c9ccc){return _0x46f4c6(_0x5c9ccc);}},_0x549725=async function(_0x1d7650,_0x49a348){const _0x9f98e4=_0x5811e1;return _0x514ff9[_0x9f98e4(0x143)](isAccessibilityAutomationSession)&&!global[_0x9f98e4(0x1e7)]&&global[_0x9f98e4(0x1b0)]&&scripts[_0x9f98e4(0x1e4)](_0x1d7650['name'])&&_0x514ff9[_0x9f98e4(0x1d0)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x9f98e4(0x1e7)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x9f98e4(0x179)],async()=>{const _0x1ceba0=_0x9f98e4;logger[_0x1ceba0(0x18c)](_0x1ceba0(0x129)+_0x1d7650[_0x1ceba0(0x164)]+'\x20'+_0x1d7650[_0x1ceba0(0x19e)]),await AccessibilityHelper[_0x1ceba0(0x1f4)](_0x3c2cff,scripts['performScan']);},{'command':_0x1d7650[_0x9f98e4(0x19e)]})()),global[_0x9f98e4(0x1e7)]=![],_0x49a348[_0x9f98e4(0x127)](this,Array[_0x9f98e4(0x177)][_0x9f98e4(0x144)]['call'](arguments,0x2));},_0x1fdf9e=CodeceptWebDriver[_0x5811e1(0x177)][_0x5811e1(0x16c)];CodeceptWebDriver[_0x5811e1(0x177)][_0x5811e1(0x16c)]=async function(){const _0x4ec343=_0x5811e1;try{await _0x1fdf9e[_0x4ec343(0x127)](this,arguments);}catch(_0xc4fd90){logger[_0x4ec343(0x18c)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x4ec343(0x1cb)](_0xc4fd90));}scripts[_0x4ec343(0x13f)]['filter'](_0x1fb550=>_0x1fb550[_0x4ec343(0x19e)]&&_0x1fb550[_0x4ec343(0x164)])['forEach'](_0x2de41d=>{const _0x2d9502=_0x4ec343;this['browser']['overwriteCommand'](_0x2de41d[_0x2d9502(0x19e)],_0x549725[_0x2d9502(0x1ab)](this,_0x2de41d),_0x514ff9['QvVun'](_0x2de41d['class'],_0x514ff9[_0x2d9502(0x15d)]));}),_0x514ff9[_0x4ec343(0x16b)](processWebDriverConfig,_0x3c2cff);};},patchPlaywrightBefore=()=>{const _0xbc1ea2=a1_0x553f1a;PlaywrightSessionDetails['patch']();const _0x44089f=CodeceptPlaywright[_0xbc1ea2(0x177)][_0xbc1ea2(0x16c)];CodeceptPlaywright['prototype'][_0xbc1ea2(0x16c)]=async function(){const _0x50739c=_0xbc1ea2;this[_0x50739c(0x14f)]=await this['browser'][_0x50739c(0x174)]()[0x0],await _0x44089f[_0x50739c(0x127)](this,arguments);};},getCodeceptDriver=()=>{const _0x1405e6=a1_0x553f1a,_0x371132={};_0x371132['ynCJe']=_0x1405e6(0x14d),_0x371132[_0x1405e6(0x18f)]=_0x1405e6(0x167),_0x371132['mHhOY']='Puppeteer',_0x371132[_0x1405e6(0x1ee)]=_0x1405e6(0x1eb);const _0x2c0f76=_0x371132,_0x30f3a6=[_0x2c0f76[_0x1405e6(0x1b5)],_0x2c0f76[_0x1405e6(0x18f)],_0x2c0f76['mHhOY'],_0x2c0f76[_0x1405e6(0x1ee)]],_0x23bafb=_0x30f3a6[_0x1405e6(0x14e)](_0xbe0582=>!!CodeceptJS[_0x1405e6(0x128)][_0x1405e6(0x152)](_0xbe0582));if(!_0x23bafb)return null;return CodeceptJS[_0x1405e6(0x128)][_0x1405e6(0x152)](_0x23bafb);};function a1_0x14ca(){const _0x184c1d=['find','browserContext','event','toString','helpers','step','ctx','ckmMo','KtAFs','noIkS','lsjes','ROkPT','Element','ENV_VAR','dispatcher','bWAAf','../../helpers/test-observability/utils','startMonitoring','bddStep-after','uujgO','TNnvr','then','class','stringify','step-comment','Playwright','after','FcKuO','initSaveScreenshot','pouuL','_before','TEST_RUN_STARTED','GET_RESULTS_SUMMARY','lZbZJ','513005CEmCuv','uQUNQ','Suite','MwqVE','contexts','command','oApJk','prototype','BROWSERSTACK_TESTHUB_UUID','PERFORM_SCAN','BROWSERSTACK_TESTHUB_JWT','../../helpers/performance/performance-tester','lOImF','HOOK_RUN_STARTED','stop','thBuildUuid','captureError','constructor','titlePath','setSessionName','codeceptjs','skipped','bddStepStart','hJjZb','skipSessionStatus','hook','../../helpers/performance/constants','Blycw','debug','thJwtToken','end','aevzt','TLtly','SDK_POST_INITIALIZE','TEST_SCREENSHOT','hookType','wtAji','stGVy','NhyhS','failed','584754tfTQRT','SDK_PRE_TEST','codeceptjs/lib/helper/Playwright.js','../../bin/playwright/sessionDetails','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','JeEDR','name','pid','SESSION_NAME','SDK_TEST','INFO','bs:addLog:','emit','WCtta','../../helpers/helper','XpsRV','executeScript','base64','reason','bind','TEST_LOG','YXccf','getResultsSummary','test','accessibilityPlatform','KveiG','19938lLWZXc','qZhGZ','stopMonitoring','ynCJe','hook-passed','patchSaveScreenshot','wxYtp','fSocs','HOOK_RUN_FINISHED','test-before','SDK_POST_TEST','./o11yHelper','../../helpers/request-spy','TEST_RUN_SKIPPED','afterTest','TEST_RUN_FINISHED','../../helpers/globals.js','VUrFz','tTvmL','currentTest','screenshotOutputFolder','NfTXT','title','./helper.js','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','format','measureWrapper','__workerDetails','wlNxz','util','whwPh','all','fireEvent','GXVHp','GET_RESULTS','setSessionStatus','started','AjWNH','3233472VYYhkS','arguments','SDK_HOOK','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','sswPY','byDVd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','CbYUA','codeceptjs/lib/index.js','getAccessibilityResults','../../helpers/logger','OzfpN','shouldWrapCommand','add','getResults','bstackAllyScanning','../../helpers/accessibility-automation/helper','restore','performScan','TestCafe','action','oOIMr','khliW','getSyncScript','213520iXBhRy','eCXwH','eXpTc','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserStackExecuteDriver','test-failed','BS_TESTOPS_ALLOW_SCREENSHOTS','toISOString','comment','passed','bddStep','exports','rsLLt','test-started','364583GGEEYr','__skipSessionStatus','__driver','30782KJnJSM','USThl','getAccessibilityResultsSummary','addRequestSpy','tmKbc','apply','container','Performing\x20scan\x20for\x20','testAnalyticsId','OJEDR','winstonLogger','info','captureEvent','4ZUfvqy','hook-failed','54PCucVi','enabled','env','readFileSync','test-skipped','bVHNv','warn','../../bin/playwright/accessibility-helper','doxtx','saveScreenshot','deafs','test-passed','Nvikl','JuAhs','commandsToWrap','start','thTestRunUuid','before','XlqHi','slice','opKLh','623quJJjN','setGlobal','FymAO','VBftN','fSJBV','../../helpers/testhub/constants.js','SYNC','WebDriver'];a1_0x14ca=function(){return _0x184c1d;};return a1_0x14ca();}module[a1_0x553f1a(0x11c)]=function(_0x5034f1){const _0x2ed7ad=a1_0x553f1a,_0x3ae06a={'hJjZb':function(_0x557b93){return _0x557b93();},'uujgO':function(_0x2e5aec,_0x2d2906){return _0x2e5aec(_0x2d2906);},'sswPY':_0x2ed7ad(0x1e1),'fSocs':_0x2ed7ad(0x1f3),'tTvmL':_0x2ed7ad(0x124),'noIkS':_0x2ed7ad(0x1de),'KtAFs':'hook-started','oOIMr':_0x2ed7ad(0x1b6),'VUrFz':_0x2ed7ad(0x130),'OzfpN':'browserstackTestName','HcXrP':function(_0x2ec544){return _0x2ec544();},'wxYtp':_0x2ed7ad(0x1bb),'NfTXT':function(_0x150313,_0x1308e1,_0x325125){return _0x150313(_0x1308e1,_0x325125);},'TLtly':_0x2ed7ad(0x11e),'bVHNv':function(_0x443370){return _0x443370();},'FymAO':function(_0x289920,_0x37565e,_0xaee75e){return _0x289920(_0x37565e,_0xaee75e);},'deafs':function(_0x44e046,_0x683950,_0x2d9e27){return _0x44e046(_0x683950,_0x2d9e27);},'JeEDR':_0x2ed7ad(0x13c),'gdAxN':function(_0x489eec,_0x3fa015,_0x2da307,_0x34a115){return _0x489eec(_0x3fa015,_0x2da307,_0x34a115);},'wlNxz':function(_0xea184d,_0x552c3d,_0x55bbd8,_0x4edb65){return _0xea184d(_0x552c3d,_0x55bbd8,_0x4edb65);},'cyQhO':function(_0x1a942a,_0x5cf6b7){return _0x1a942a===_0x5cf6b7;},'ckmMo':_0x2ed7ad(0x172),'FcKuO':_0x2ed7ad(0x1f5),'lZbZJ':_0x2ed7ad(0x135),'MwqVE':_0x2ed7ad(0x1c0),'CbYUA':function(_0x173064){return _0x173064();},'lOImF':function(_0x4ce00f){return _0x4ce00f();},'LMCNH':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','lsjes':'test-after','wtAji':_0x2ed7ad(0x1a2),'vdhQB':_0x2ed7ad(0x1ac),'JuAhs':_0x2ed7ad(0x166),'eCXwH':'bddStep-before','doxtx':_0x2ed7ad(0x160),'uQUNQ':_0x2ed7ad(0x167)};_0x5034f1[_0x2ed7ad(0x188)]&&(global[_0x2ed7ad(0x120)]=_0x5034f1[_0x2ed7ad(0x188)]);PerformanceTester[_0x2ed7ad(0x15f)]();const _0x448634=_0x3ae06a[_0x2ed7ad(0x1df)](getCodeceptDriver),_0x2bb5d6=new O11yHelper(_0x448634,_0x5034f1),_0x6f763f=!!CodeceptJS[_0x2ed7ad(0x128)][_0x2ed7ad(0x152)](_0x3ae06a[_0x2ed7ad(0x171)]);global[_0x2ed7ad(0x121)]=_0x448634,_0x448634&&(PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x1ebaf1=_0x2ed7ad;_0x6f763f?_0x3ae06a[_0x1ebaf1(0x187)](patchPlaywrightBefore):_0x3ae06a[_0x1ebaf1(0x161)](patchWebDriverBefore,_0x448634);})(),PerformanceTester[_0x2ed7ad(0x1cc)](PerformanceEvents[_0x2ed7ad(0x191)],()=>{const _0x3569c3=_0x2ed7ad,_0xca5936={};_0xca5936[_0x3569c3(0x13d)]=_0x3ae06a[_0x3569c3(0x1c4)],_0xca5936[_0x3569c3(0x159)]=_0x3ae06a[_0x3569c3(0x157)];const _0x508b93=_0xca5936;_0x448634[_0x3569c3(0x124)]=async()=>{const _0x154ba8=_0x3569c3;if(global['accessibilityPlatform']){const _0x3674ea={};_0x3674ea['command']=_0x508b93['Nvikl'],await PerformanceTester[_0x154ba8(0x1cc)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3db219=_0x154ba8;await AccessibilityHelper[_0x3db219(0x1f4)](_0x448634,scripts[_0x3db219(0x1ea)]);},_0x3674ea)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x154ba8(0x16e)],async()=>{const _0x2757cb=_0x154ba8;await AccessibilityHelper[_0x2757cb(0x1f4)](_0x448634,scripts[_0x2757cb(0x1ae)]);})();}else return logger['warn'](_0x508b93[_0x154ba8(0x159)]),{};},_0x448634[_0x3569c3(0x1e1)]=async()=>{const _0x298364=_0x3569c3;if(global[_0x298364(0x1b0)]){const _0x457fd2={};_0x457fd2[_0x298364(0x175)]=_0x3ae06a[_0x298364(0x1dc)],await PerformanceTester[_0x298364(0x1cc)](PerformanceA11yEvents[_0x298364(0x179)],async()=>{const _0x2b4e72=_0x298364;await AccessibilityHelper[_0x2b4e72(0x1f4)](_0x448634,scripts['performScan']);},_0x457fd2)(),await PerformanceTester[_0x298364(0x1cc)](PerformanceA11yEvents[_0x298364(0x1d4)],async()=>{const _0x337826=_0x298364;await AccessibilityHelper[_0x337826(0x1f4)](_0x448634,scripts[_0x337826(0x1e6)]);})();}else return logger[_0x298364(0x137)](_0x3ae06a[_0x298364(0x1b9)]),{};},_0x3ae06a[_0x3569c3(0x161)](patchSaveScreenshot,_0x448634);})()),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1d1)]['before'],()=>{const _0x57abc0=_0x2ed7ad;PerformanceTester[_0x57abc0(0x140)](PerformanceEvents[_0x57abc0(0x199)]);try{_0x2bb5d6[_0x57abc0(0x140)](),testOpsHelper[_0x57abc0(0x125)](),PerformanceTester[_0x57abc0(0x18e)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x3b6a63){PerformanceTester[_0x57abc0(0x180)](_0x3b6a63),PerformanceTester[_0x57abc0(0x18e)](PerformanceEvents['SDK_PRE_TEST'],![],_0x3b6a63);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x1d1)][_0x2ed7ad(0x168)],async()=>{const _0x1001f5=_0x2ed7ad;PerformanceTester['start'](PerformanceEvents[_0x1001f5(0x1bc)]);try{requestSpy[_0x1001f5(0x1e9)](),await _0x2bb5d6[_0x1001f5(0x17e)](),PerformanceTester[_0x1001f5(0x18e)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x5bcf64){PerformanceTester[_0x1001f5(0x180)](_0x5bcf64),PerformanceTester[_0x1001f5(0x18e)](PerformanceEvents[_0x1001f5(0x1bc)],![],_0x5bcf64);}finally{PerformanceTester[_0x1001f5(0x1b4)]();}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event']['hook'][_0x2ed7ad(0x1d6)],_0x165e42=>{const _0x12e4a4=_0x2ed7ad;PerformanceTester[_0x12e4a4(0x140)](PerformanceEvents[_0x12e4a4(0x1da)]);try{const _0x3ca78f=_0x165e42['ctx']['test'],_0x58ec41=_0x2bb5d6[_0x12e4a4(0x12e)](TEST_EVENTS[_0x12e4a4(0x17d)],_0x3ca78f);CodeceptRecorder[_0x12e4a4(0x1e5)](()=>_0x2bb5d6['fireEvent'](TEST_EVENTS[_0x12e4a4(0x17d)],_0x58ec41));const _0x261c8a={};_0x261c8a['hookType']=_0x3ae06a[_0x12e4a4(0x156)],PerformanceTester[_0x12e4a4(0x18e)](PerformanceEvents[_0x12e4a4(0x1da)],!![],null,_0x261c8a);}catch(_0x275d25){const _0x5dc7d7={};_0x5dc7d7[_0x12e4a4(0x193)]=_0x3ae06a[_0x12e4a4(0x156)],PerformanceTester[_0x12e4a4(0x18e)](PerformanceEvents['SDK_HOOK'],![],_0x275d25,_0x5dc7d7),PerformanceTester[_0x12e4a4(0x180)](_0x275d25);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x189)][_0x2ed7ad(0x1f9)],_0xbf7e1=>{const _0xf0799e=_0x2ed7ad,_0x5a972c={};_0x5a972c[_0xf0799e(0x193)]=_0x3ae06a[_0xf0799e(0x1ed)],PerformanceTester['start'](PerformanceHookEvents[_0xf0799e(0x1da)],!![],null,_0x5a972c);try{const _0x37e319=_0xbf7e1['ctx'][_0xf0799e(0x1af)],_0x5b48ce=_0x2bb5d6[_0xf0799e(0x12e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x37e319);CodeceptRecorder[_0xf0799e(0x1e5)](()=>_0x2bb5d6['fireEvent'](TEST_EVENTS[_0xf0799e(0x1ba)],_0x5b48ce));const _0x892616={};_0x892616[_0xf0799e(0x193)]=_0x3ae06a[_0xf0799e(0x1ed)],PerformanceTester[_0xf0799e(0x18e)](PerformanceHookEvents[_0xf0799e(0x1da)],!![],null,_0x892616);}catch(_0x28d42c){PerformanceTester['captureError'](_0x28d42c);const _0x2396a5={};_0x2396a5[_0xf0799e(0x193)]=_0x3ae06a[_0xf0799e(0x1ed)],PerformanceTester[_0xf0799e(0x18e)](PerformanceHookEvents[_0xf0799e(0x1da)],![],_0x28d42c,_0x2396a5);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x189)][_0x2ed7ad(0x197)],async(_0x5c42ad,_0x49314c)=>{const _0x21d7cc=_0x2ed7ad;PerformanceTester[_0x21d7cc(0x140)](PerformanceHookEvents[_0x21d7cc(0x1da)]);try{const _0x59bcca=_0x5c42ad[_0x21d7cc(0x154)]['test'],_0x3d7749=_0x2bb5d6[_0x21d7cc(0x12e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x59bcca,_0x49314c);CodeceptRecorder[_0x21d7cc(0x1e5)](()=>_0x2bb5d6[_0x21d7cc(0x1d2)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3d7749));const _0x208940={};_0x208940[_0x21d7cc(0x193)]=_0x3ae06a['VUrFz'],PerformanceTester[_0x21d7cc(0x140)](PerformanceHookEvents[_0x21d7cc(0x1da)],!![],null,_0x208940);}catch(_0x6af244){PerformanceTester['captureError'](_0x6af244);const _0x195bc9={};_0x195bc9['hookType']=_0x3ae06a[_0x21d7cc(0x1c3)],PerformanceTester[_0x21d7cc(0x18e)](PerformanceHookEvents[_0x21d7cc(0x1da)],![],_0x6af244,_0x195bc9);}const _0x5dcd69={};_0x5dcd69['hookType']=_0x3ae06a[_0x21d7cc(0x1c3)],PerformanceTester[_0x21d7cc(0x18e)](PerformanceHookEvents[_0x21d7cc(0x1da)],!![],null,_0x5dcd69);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x142)],_0x176897=>{const _0x2e785e=_0x2ed7ad;PerformanceTester[_0x2e785e(0x140)](PerformanceHookEvents[_0x2e785e(0x1da)]);try{globals['setGlobal'](_0x3ae06a['OzfpN'],_0x176897['title']);_0x3ae06a['HcXrP'](isBrowserstackInfra)&&(_0x6f763f&&(global[_0x2e785e(0x1cd)]={'currentTest':{'name':_0x176897[_0x2e785e(0x1c8)],'testInfo':{'titlePath':_0x176897[_0x2e785e(0x182)]()}}}));const _0x350822={};_0x350822[_0x2e785e(0x193)]=_0x3ae06a['wxYtp'],PerformanceTester[_0x2e785e(0x18e)](PerformanceHookEvents[_0x2e785e(0x1da)],!![],null,_0x350822);}catch(_0x229500){PerformanceTester[_0x2e785e(0x180)](_0x229500);const _0x337c0d={};_0x337c0d[_0x2e785e(0x193)]=_0x3ae06a[_0x2e785e(0x1b8)],PerformanceTester['end'](PerformanceHookEvents[_0x2e785e(0x1da)],![],_0x229500,_0x337c0d);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event']['test']['started'],_0x16a13b=>{const _0x358f21=_0x2ed7ad,_0x53f74c={'Blycw':function(_0x2aa978){const _0x2c9561=a1_0x13b3;return _0x3ae06a[_0x2c9561(0x187)](_0x2aa978);},'OJEDR':function(_0x526fc4,_0x5652cb){const _0x348838=a1_0x13b3;return _0x3ae06a[_0x348838(0x161)](_0x526fc4,_0x5652cb);},'VpCyz':function(_0x2cc6c9,_0x5e05e6,_0x143609){return _0x3ae06a['NfTXT'](_0x2cc6c9,_0x5e05e6,_0x143609);},'tNEqc':function(_0x274ad6,_0x47b474){return _0x3ae06a['uujgO'](_0x274ad6,_0x47b474);}};PerformanceTester[_0x358f21(0x140)](PerformanceHookEvents[_0x358f21(0x1da)]);try{globals[_0x358f21(0x147)](_0x3ae06a[_0x358f21(0x1e3)],_0x16a13b[_0x358f21(0x1c8)]);const _0x479757=_0x2bb5d6[_0x358f21(0x12e)](TEST_EVENTS[_0x358f21(0x16d)],_0x16a13b);CodeceptRecorder[_0x358f21(0x1e5)](()=>_0x2bb5d6[_0x358f21(0x1d2)](TEST_EVENTS[_0x358f21(0x16d)],_0x479757)),CodeceptRecorder[_0x358f21(0x1e5)](async()=>{const _0x41c206=_0x358f21;_0x53f74c[_0x41c206(0x18b)](isBrowserstackInfra)&&(!_0x53f74c[_0x41c206(0x12b)](isTrue,_0x5034f1['skipSessionName'])&&await _0x53f74c['VpCyz'](markSessionName,_0x448634,_0x16a13b[_0x41c206(0x1c8)]),_0x2bb5d6[_0x41c206(0x132)]&&await _0x53f74c['tNEqc'](o11ySync,_0x448634));});}catch(_0x4d9316){const _0x2ba205={};_0x2ba205[_0x358f21(0x193)]=_0x3ae06a[_0x358f21(0x190)],PerformanceTester['end'](PerformanceHookEvents[_0x358f21(0x1da)],![],_0x4d9316,_0x2ba205),PerformanceTester[_0x358f21(0x180)](_0x4d9316);}const _0x30b340={};_0x30b340['hookType']=_0x3ae06a[_0x358f21(0x190)],PerformanceTester[_0x358f21(0x18e)](PerformanceHookEvents[_0x358f21(0x1da)],!![],null,_0x30b340);}),CodeceptJS['event'][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x1f9)],_0xaae74e=>{const _0x33e3fa=_0x2ed7ad,_0x30b4ca={'KveiG':function(_0x23c67e,_0x551489,_0x3a00f5){const _0x2e3d76=a1_0x13b3;return _0x3ae06a[_0x2e3d76(0x148)](_0x23c67e,_0x551489,_0x3a00f5);},'eXpTc':function(_0x527036,_0x3e385d,_0x2f7d23){const _0x2a0b7b=a1_0x13b3;return _0x3ae06a[_0x2a0b7b(0x13b)](_0x527036,_0x3e385d,_0x2f7d23);}};PerformanceTester['start'](PerformanceHookEvents[_0x33e3fa(0x1da)]);try{const _0x280406=_0x2bb5d6[_0x33e3fa(0x12e)](TEST_EVENTS[_0x33e3fa(0x1c1)],_0xaae74e);CodeceptRecorder['add'](()=>_0x2bb5d6[_0x33e3fa(0x1d2)](TEST_EVENTS[_0x33e3fa(0x1c1)],_0x280406)),CodeceptRecorder['add'](async()=>{const _0x1ce099=_0x33e3fa;_0x3ae06a[_0x1ce099(0x136)](isBrowserstackInfra)&&await PerformanceTester[_0x1ce099(0x1cc)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x315019=_0x1ce099;_0x6f763f?await _0x30b4ca[_0x315019(0x1b1)](playwrightMarkSessionStatus,_0x448634,STATE_PASSED):await _0x30b4ca[_0x315019(0x1f2)](markSessionStatus,_0x448634,STATE_PASSED);})();}),PerformanceTester[_0x33e3fa(0x18e)](PerformanceEvents[_0x33e3fa(0x1a1)]);}catch(_0x110790){PerformanceTester[_0x33e3fa(0x180)](_0x110790);const _0x3239aa={};_0x3239aa[_0x33e3fa(0x193)]=_0x3ae06a[_0x33e3fa(0x19d)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x110790,_0x3239aa),PerformanceTester[_0x33e3fa(0x18e)](PerformanceEvents[_0x33e3fa(0x1a1)],![],_0x110790);}const _0x27a62a={};_0x27a62a[_0x33e3fa(0x193)]=_0x3ae06a[_0x33e3fa(0x19d)],PerformanceTester[_0x33e3fa(0x18e)](PerformanceHookEvents[_0x33e3fa(0x1da)],!![],null,_0x27a62a);}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x1af)][_0x2ed7ad(0x197)],(_0x143e48,_0x462c0f)=>{const _0x5a8647=_0x2ed7ad,_0x3d4a23={'lcYrH':function(_0x37705d){const _0x3e4021=a1_0x13b3;return _0x3ae06a[_0x3e4021(0x136)](_0x37705d);},'USThl':function(_0x3f76e4,_0x24bcb1,_0x27a3bf,_0x1340ac){return _0x3ae06a['gdAxN'](_0x3f76e4,_0x24bcb1,_0x27a3bf,_0x1340ac);},'uQhMk':function(_0x5a24a7,_0x518c36,_0x5d8e88,_0xcfcc3d){const _0x51db54=a1_0x13b3;return _0x3ae06a[_0x51db54(0x1ce)](_0x5a24a7,_0x518c36,_0x5d8e88,_0xcfcc3d);}};PerformanceTester[_0x5a8647(0x140)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3ae06a['cyQhO'](_0x143e48[_0x5a8647(0x181)][_0x5a8647(0x19e)],_0x3ae06a[_0x5a8647(0x155)])){const _0x3fc80a=_0x2bb5d6['captureEvent'](TEST_EVENTS[_0x5a8647(0x1bf)],_0x143e48[_0x5a8647(0x154)][_0x5a8647(0x1c5)]);CodeceptRecorder[_0x5a8647(0x1e5)](()=>_0x2bb5d6[_0x5a8647(0x1d2)](TEST_EVENTS[_0x5a8647(0x1bf)],_0x3fc80a));}else{const _0x3037f2=_0x2bb5d6[_0x5a8647(0x12e)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x143e48,_0x462c0f);CodeceptRecorder['add'](()=>{const _0x2fcf00=_0x5a8647;try{_0x2bb5d6['fireEvent'](TEST_EVENTS[_0x2fcf00(0x1c1)],_0x3037f2);}catch(_0x8d7215){logger[_0x2fcf00(0x18c)](_0x2fcf00(0x1ca)+util[_0x2fcf00(0x1cb)](_0x8d7215)),PerformanceTester[_0x2fcf00(0x18e)](PerformanceEvents[_0x2fcf00(0x1a1)],![],_0x8d7215);}}),CodeceptRecorder[_0x5a8647(0x1e5)](async()=>{const _0x15901f=_0x5a8647;try{_0x3d4a23['lcYrH'](isBrowserstackInfra)&&(_0x6f763f?await _0x3d4a23[_0x15901f(0x123)](playwrightMarkSessionStatus,_0x448634,STATE_FAILED,_0x462c0f):await _0x3d4a23['uQhMk'](markSessionStatus,_0x448634,STATE_FAILED,_0x462c0f));}catch(_0xacba69){logger[_0x15901f(0x18c)](_0x15901f(0x19c)+util[_0x15901f(0x1cb)](_0xacba69)),PerformanceTester[_0x15901f(0x18e)](PerformanceEvents[_0x15901f(0x1a1)],![],_0xacba69);}});}PerformanceTester[_0x5a8647(0x18e)](PerformanceEvents[_0x5a8647(0x1a1)]);}catch(_0x5ec187){PerformanceTester[_0x5a8647(0x180)](_0x5ec187);const _0x303964={};_0x303964[_0x5a8647(0x193)]=_0x3ae06a[_0x5a8647(0x169)],PerformanceTester[_0x5a8647(0x18e)](PerformanceHookEvents[_0x5a8647(0x1da)],![],_0x5ec187,_0x303964),PerformanceTester[_0x5a8647(0x18e)](PerformanceEvents[_0x5a8647(0x1a1)],![],_0x5ec187);}const _0x5359fe={};_0x5359fe[_0x5a8647(0x193)]=_0x3ae06a[_0x5a8647(0x169)],PerformanceTester['end'](PerformanceHookEvents[_0x5a8647(0x1da)],!![],null,_0x5359fe);}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x185)],_0x5a25b9=>{const _0x1ed33b=_0x2ed7ad;PerformanceTester[_0x1ed33b(0x140)](PerformanceHookEvents[_0x1ed33b(0x1da)]);try{const _0x5bbbec=_0x2bb5d6[_0x1ed33b(0x12e)](TEST_EVENTS[_0x1ed33b(0x1bf)],_0x5a25b9);CodeceptRecorder[_0x1ed33b(0x1e5)](()=>_0x2bb5d6[_0x1ed33b(0x1d2)](TEST_EVENTS[_0x1ed33b(0x1bf)],_0x5bbbec)),PerformanceTester[_0x1ed33b(0x18e)](PerformanceEvents['SDK_TEST']);}catch(_0x4d36cc){PerformanceTester[_0x1ed33b(0x180)](_0x4d36cc),PerformanceTester[_0x1ed33b(0x18e)](PerformanceEvents[_0x1ed33b(0x1a1)],![],_0x4d36cc);const _0x3c2939={};_0x3c2939[_0x1ed33b(0x193)]=_0x3ae06a[_0x1ed33b(0x16f)],PerformanceTester[_0x1ed33b(0x18e)](PerformanceHookEvents[_0x1ed33b(0x1da)],![],_0x4d36cc,_0x3c2939);}const _0x4aee73={};_0x4aee73[_0x1ed33b(0x193)]=_0x3ae06a[_0x1ed33b(0x16f)],PerformanceTester[_0x1ed33b(0x18e)](PerformanceHookEvents[_0x1ed33b(0x1da)],!![],null,_0x4aee73);}),CodeceptJS['event'][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1af)][_0x2ed7ad(0x168)],async(_0x337922,_0x1a0190)=>{const _0x5c2393=_0x2ed7ad,_0x77795a={};_0x77795a[_0x5c2393(0x195)]=_0x3ae06a[_0x5c2393(0x173)];const _0x2adcf9=_0x77795a;try{PerformanceTester[_0x5c2393(0x140)](PerformanceHookEvents['SDK_HOOK']);if(_0x3ae06a['CbYUA'](isBrowserstackInfra)){const _0x3d1330=_0x3ae06a[_0x5c2393(0x1c7)](shouldScanTestForAccessibility,_0x337922['titlePath'](),!![]);if(_0x3ae06a[_0x5c2393(0x17c)](isAccessibilityAutomationSession)&&global[_0x5c2393(0x1b0)]&&_0x3d1330){const _0x1c4c54={};_0x1c4c54[_0x5c2393(0x141)]=_0x337922[_0x5c2393(0x12a)],_0x1c4c54[_0x5c2393(0x17f)]=process['env'][testHubConstants[_0x5c2393(0x15b)][_0x5c2393(0x178)]],_0x1c4c54[_0x5c2393(0x18d)]=process[_0x5c2393(0x133)][testHubConstants[_0x5c2393(0x15b)][_0x5c2393(0x17a)]];const _0x1b6caa=_0x1c4c54;logger[_0x5c2393(0x18c)](_0x5c2393(0x1db)+JSON[_0x5c2393(0x165)](_0x1b6caa)),CodeceptRecorder[_0x5c2393(0x1e5)](async()=>{const _0x1d5481=_0x5c2393,_0x3df924={};_0x3df924[_0x1d5481(0x175)]=_0x2adcf9[_0x1d5481(0x195)],await PerformanceTester[_0x1d5481(0x1cc)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x303de2=_0x1d5481;await AccessibilityHelper[_0x303de2(0x1f4)](_0x448634,scripts[_0x303de2(0x1ea)]);},_0x3df924)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xb3838e=_0x1d5481;await AccessibilityHelper[_0xb3838e(0x1f4)](_0x448634,scripts['saveTestResults'],_0x1b6caa);})();}),logger[_0x5c2393(0x12d)](_0x3ae06a['LMCNH']);}}const _0x5efd77={};_0x5efd77[_0x5c2393(0x193)]=_0x3ae06a[_0x5c2393(0x158)],PerformanceTester[_0x5c2393(0x18e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5efd77);}catch(_0x858e07){PerformanceTester[_0x5c2393(0x180)](_0x858e07);const _0xe0c40d={};_0xe0c40d[_0x5c2393(0x193)]=_0x3ae06a['lsjes'],PerformanceTester[_0x5c2393(0x18e)](PerformanceHookEvents[_0x5c2393(0x1da)],![],_0x858e07,_0xe0c40d);}}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x153)][_0x2ed7ad(0x1f8)],_0x3fc239=>{const _0x523850=_0x2ed7ad;PerformanceTester[_0x523850(0x140)](PerformanceHookEvents[_0x523850(0x1da)]);try{process[_0x523850(0x1a4)](_0x523850(0x1a3)+process[_0x523850(0x19f)],{'timestamp':new Date()[_0x523850(0x1f7)](),'level':_0x3ae06a[_0x523850(0x194)],'message':_0x3fc239,'kind':_0x3ae06a['vdhQB'],'http_response':{}});}catch(_0xaca3d7){PerformanceTester[_0x523850(0x180)](_0xaca3d7);const _0x5b33fa={};_0x5b33fa[_0x523850(0x193)]=_0x3ae06a[_0x523850(0x13e)],PerformanceTester[_0x523850(0x18e)](PerformanceHookEvents[_0x523850(0x1da)],![],_0xaca3d7,_0x5b33fa);}const _0x5976ab={};_0x5976ab[_0x523850(0x193)]=_0x3ae06a[_0x523850(0x13e)],PerformanceTester[_0x523850(0x18e)](PerformanceHookEvents[_0x523850(0x1da)],!![],null,_0x5976ab);}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x1fa)][_0x2ed7ad(0x142)],_0x3c0a0f=>{const _0x35026b=_0x2ed7ad,_0x45d87c={};_0x45d87c['hookType']=_0x3ae06a[_0x35026b(0x1f1)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x35026b(0x1da)],()=>{const _0xf5969=_0x35026b;_0x2bb5d6[_0xf5969(0x186)](_0x3c0a0f);},_0x45d87c)();}),CodeceptJS[_0x2ed7ad(0x150)][_0x2ed7ad(0x15c)]['on'](CodeceptJS['event'][_0x2ed7ad(0x1fa)][_0x2ed7ad(0x168)],_0x315147=>{const _0x229c79=_0x2ed7ad,_0x2c182c={};_0x2c182c[_0x229c79(0x193)]=_0x3ae06a[_0x229c79(0x139)],PerformanceTester[_0x229c79(0x1cc)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x2bb5d6['bddStepFinish'](_0x315147);},_0x2c182c)();});};
|
|
1
|
+
const a1_0x41f5cb=a1_0x3d84;function a1_0x3d84(_0x3f96fb,_0x588aa9){const _0x2bd989=a1_0x2bd9();return a1_0x3d84=function(_0x3d8448,_0x48bab7){_0x3d8448=_0x3d8448-0x184;let _0x4be125=_0x2bd989[_0x3d8448];return _0x4be125;},a1_0x3d84(_0x3f96fb,_0x588aa9);}(function(_0x53823e,_0x31a671){const _0x2327ae=a1_0x3d84,_0x42f52d=_0x53823e();while(!![]){try{const _0x158652=parseInt(_0x2327ae(0x1f8))/0x1+parseInt(_0x2327ae(0x228))/0x2*(-parseInt(_0x2327ae(0x1f4))/0x3)+-parseInt(_0x2327ae(0x246))/0x4*(parseInt(_0x2327ae(0x24e))/0x5)+parseInt(_0x2327ae(0x1fc))/0x6+parseInt(_0x2327ae(0x22a))/0x7+-parseInt(_0x2327ae(0x215))/0x8*(-parseInt(_0x2327ae(0x225))/0x9)+-parseInt(_0x2327ae(0x1d1))/0xa*(parseInt(_0x2327ae(0x203))/0xb);if(_0x158652===_0x31a671)break;else _0x42f52d['push'](_0x42f52d['shift']());}catch(_0x28a55c){_0x42f52d['push'](_0x42f52d['shift']());}}}(a1_0x2bd9,0x55450));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x41f5cb(0x25c)),logger=require(a1_0x41f5cb(0x19f))[a1_0x41f5cb(0x1fa)],testOpsHelper=require(a1_0x41f5cb(0x21b)),requestSpy=require(a1_0x41f5cb(0x20b)),PlaywrightSessionDetails=require(a1_0x41f5cb(0x236)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x41f5cb(0x237)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x41f5cb(0x1ec)),AccessibilityHelper=require(a1_0x41f5cb(0x187)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x41f5cb(0x1ca)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x41f5cb(0x1e4)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x41f5cb(0x1ed)),globals=require(a1_0x41f5cb(0x242)),CodeceptJS=requireModule(a1_0x41f5cb(0x1d0),a1_0x41f5cb(0x23e)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x41f5cb(0x23e)),CodeceptWebDriver=requireModule(a1_0x41f5cb(0x1db),'codeceptjs'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x41f5cb(0x23e)),CodeceptPlaywright=requireModule(a1_0x41f5cb(0x209),a1_0x41f5cb(0x23e)),playwrightMarkSessionStatus=(_0x427d3a,_0x3e9002,_0x1dc7c3)=>{const _0x5f58fc=a1_0x41f5cb,_0x578e00={'avZqa':_0x5f58fc(0x1c2),'gagNQ':function(_0x5ba664,_0x43735c){return _0x5ba664(_0x43735c);}},_0x4ce8ca={};_0x4ce8ca[_0x5f58fc(0x24b)]=_0x3e9002;const _0xcadfa1={};_0xcadfa1['action']=_0x578e00[_0x5f58fc(0x1fd)],_0xcadfa1[_0x5f58fc(0x241)]=_0x4ce8ca;const _0x2d5768=_0xcadfa1;return!_0x578e00[_0x5f58fc(0x1ea)](isUndefined,_0x1dc7c3)&&(_0x2d5768[_0x5f58fc(0x241)]['reason']=JSON[_0x5f58fc(0x198)](_0x1dc7c3)),_0x427d3a[_0x5f58fc(0x247)](()=>{},_0x5f58fc(0x1b9)+JSON['stringify'](_0x2d5768));},o11ySync=PerformanceTester[a1_0x41f5cb(0x20d)](PerformanceO11yEvents[a1_0x41f5cb(0x1ee)],async _0x3f71f6=>{const _0x2100a6=a1_0x41f5cb,_0x799a0f={};_0x799a0f['baWFb']=function(_0x2090fc,_0x1ec02f){return _0x2090fc===_0x1ec02f;},_0x799a0f[_0x2100a6(0x1da)]='Playwright';const _0x468c04=_0x799a0f;_0x468c04[_0x2100a6(0x1d5)](_0x3f71f6[_0x2100a6(0x24f)]['name'],_0x468c04[_0x2100a6(0x1da)])?await _0x3f71f6['executeScript'](_0x4e3ed8=>{},testOpsHelper[_0x2100a6(0x1c4)]()):await _0x3f71f6[_0x2100a6(0x247)](testOpsHelper[_0x2100a6(0x1c4)]());}),markSessionName=PerformanceTester[a1_0x41f5cb(0x20d)](PerformanceAutEvents[a1_0x41f5cb(0x213)],async(_0x3dd4b4,_0x49dc68)=>{const _0x330e23=a1_0x41f5cb,_0x4d379b={};_0x4d379b[_0x330e23(0x1d4)]='setSessionName',_0x4d379b[_0x330e23(0x210)]=function(_0x22ff1d,_0x195a12){return _0x22ff1d===_0x195a12;},_0x4d379b['tQWTo']=_0x330e23(0x1b1);const _0x5c9221=_0x4d379b,_0x4e79f7={};_0x4e79f7['name']=_0x49dc68;const _0x2049d8={};_0x2049d8[_0x330e23(0x21e)]=_0x5c9221[_0x330e23(0x1d4)],_0x2049d8[_0x330e23(0x241)]=_0x4e79f7;const _0x2805c0=_0x2049d8;_0x5c9221['wpzTq'](_0x3dd4b4[_0x330e23(0x24f)][_0x330e23(0x222)],_0x5c9221[_0x330e23(0x255)])?await _0x3dd4b4['executeScript'](()=>{},_0x330e23(0x1b9)+JSON[_0x330e23(0x198)](_0x2805c0)):await _0x3dd4b4[_0x330e23(0x247)](_0x330e23(0x1b9)+JSON[_0x330e23(0x198)](_0x2805c0));}),patchSaveScreenshot=_0x19485f=>{const _0x3c29b8=a1_0x41f5cb,_0x5866f5={'CUlyM':_0x3c29b8(0x1b2),'wDlCw':_0x3c29b8(0x1a6),'oDclA':function(_0x4437b2){return _0x4437b2();},'frXmE':function(_0x4c5bdd,_0x551b8e){return _0x4c5bdd(_0x551b8e);}};_0x5866f5[_0x3c29b8(0x20a)](isTrue,process[_0x3c29b8(0x1dc)][_0x3c29b8(0x1f9)])&&!_0x19485f[_0x3c29b8(0x218)]&&(_0x19485f[_0x3c29b8(0x218)]=!![],_0x19485f[_0x3c29b8(0x21c)]=_0x19485f[_0x3c29b8(0x232)],_0x19485f[_0x3c29b8(0x232)]=(_0x33c30b,_0x14fed7=![])=>{const _0x9ef8a6=_0x3c29b8,_0x5116c4={'ZTLiC':_0x5866f5[_0x9ef8a6(0x1c7)],'KlqsI':_0x5866f5[_0x9ef8a6(0x1d3)],'yOvIZ':function(_0x521f3e){const _0x51adf0=_0x9ef8a6;return _0x5866f5[_0x51adf0(0x1af)](_0x521f3e);}};return new Promise(function(_0x3d5a99,_0x22a8c5){const _0x430cb4=_0x9ef8a6;_0x19485f[_0x430cb4(0x21c)](_0x33c30b,_0x14fed7)[_0x430cb4(0x211)](()=>{const _0x459ddd=_0x430cb4,_0x2f26f=CodeceptUtils[_0x459ddd(0x205)](_0x33c30b),_0x8cafa7=fs['readFileSync'](_0x2f26f);process[_0x459ddd(0x1d9)](_0x459ddd(0x1c6)+process[_0x459ddd(0x245)],{'timestamp':new Date()[_0x459ddd(0x18f)](),'message':_0x8cafa7[_0x459ddd(0x207)](_0x5116c4[_0x459ddd(0x20e)]),'kind':_0x5116c4[_0x459ddd(0x224)]}),_0x5116c4['yOvIZ'](_0x3d5a99);})[_0x430cb4(0x19a)](()=>null);});});},patchWebDriverBefore=_0x5bde5e=>{const _0x237eb4=a1_0x41f5cb,_0x4409c4={'rRkHC':function(_0x2a0620){return _0x2a0620();},'eBUmB':function(_0x238b2f,_0x403103){return _0x238b2f(_0x403103);},'UKKkI':function(_0x10f9fa,_0x50eab1){return _0x10f9fa===_0x50eab1;},'jQEjr':_0x237eb4(0x227),'CikMr':function(_0x220e68,_0x59ac75){return _0x220e68(_0x59ac75);}},_0x57a564=async function(_0x402d04,_0x28e5e5){const _0x4abb41=_0x237eb4;return _0x4409c4[_0x4abb41(0x1e1)](isAccessibilityAutomationSession)&&!global[_0x4abb41(0x1a8)]&&global[_0x4abb41(0x21f)]&&scripts[_0x4abb41(0x18d)](_0x402d04[_0x4abb41(0x222)])&&_0x4409c4['eBUmB'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4abb41(0x1a8)]=!![],await PerformanceTester[_0x4abb41(0x20d)](PerformanceA11yEvents[_0x4abb41(0x190)],async()=>{const _0x2058c3=_0x4abb41;logger[_0x2058c3(0x1a4)](_0x2058c3(0x1ac)+_0x402d04[_0x2058c3(0x202)]+'\x20'+_0x402d04[_0x2058c3(0x222)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5bde5e,scripts[_0x2058c3(0x22d)]);},{'command':_0x402d04[_0x4abb41(0x222)]})()),global['bstackAllyScanning']=![],_0x28e5e5[_0x4abb41(0x19c)](this,Array['prototype'][_0x4abb41(0x21a)][_0x4abb41(0x22b)](arguments,0x2));},_0x59a8ab=CodeceptWebDriver['prototype'][_0x237eb4(0x1a2)];CodeceptWebDriver[_0x237eb4(0x1e2)][_0x237eb4(0x1a2)]=async function(){const _0x2dcca3=_0x237eb4,_0x2760ac={'tRtRN':function(_0x2b1d95,_0x326bd5){const _0x33256d=a1_0x3d84;return _0x4409c4[_0x33256d(0x1e5)](_0x2b1d95,_0x326bd5);},'aQrcY':_0x4409c4[_0x2dcca3(0x220)]};try{await _0x59a8ab['apply'](this,arguments);}catch(_0xb0f49d){logger['debug']('Failed\x20to\x20execute\x20_before:\x20'+util[_0x2dcca3(0x20c)](_0xb0f49d));}scripts['commandsToWrap']['filter'](_0x4782ab=>_0x4782ab[_0x2dcca3(0x222)]&&_0x4782ab[_0x2dcca3(0x202)])[_0x2dcca3(0x234)](_0x3f2407=>{const _0x45549b=_0x2dcca3;this[_0x45549b(0x196)][_0x45549b(0x22c)](_0x3f2407[_0x45549b(0x222)],_0x57a564[_0x45549b(0x193)](this,_0x3f2407),_0x2760ac[_0x45549b(0x253)](_0x3f2407[_0x45549b(0x202)],_0x2760ac['aQrcY']));}),_0x4409c4[_0x2dcca3(0x1f1)](processWebDriverConfig,_0x5bde5e);};},patchPlaywrightBefore=()=>{const _0x5426aa=a1_0x41f5cb;PlaywrightSessionDetails[_0x5426aa(0x201)]();const _0x4fba3a=CodeceptPlaywright[_0x5426aa(0x1e2)][_0x5426aa(0x1a2)];CodeceptPlaywright['prototype'][_0x5426aa(0x1a2)]=async function(){const _0x25b92f=_0x5426aa;this[_0x25b92f(0x208)]=await this[_0x25b92f(0x196)][_0x25b92f(0x204)]()[0x0],await _0x4fba3a[_0x25b92f(0x19c)](this,arguments);};},getCodeceptDriver=()=>{const _0x37ae9f=a1_0x41f5cb,_0x324272={};_0x324272[_0x37ae9f(0x24c)]='WebDriver',_0x324272[_0x37ae9f(0x1a9)]='Playwright',_0x324272[_0x37ae9f(0x189)]='Puppeteer',_0x324272[_0x37ae9f(0x199)]=_0x37ae9f(0x1bb);const _0xbd3596=_0x324272,_0x40a575=[_0xbd3596['PEMVE'],_0xbd3596[_0x37ae9f(0x1a9)],_0xbd3596[_0x37ae9f(0x189)],_0xbd3596[_0x37ae9f(0x199)]],_0xfda84c=_0x40a575[_0x37ae9f(0x212)](_0x44fd40=>!!CodeceptJS[_0x37ae9f(0x1f3)]['helpers'](_0x44fd40));if(!_0xfda84c)return null;return CodeceptJS[_0x37ae9f(0x1f3)][_0x37ae9f(0x194)](_0xfda84c);};function a1_0x2bd9(){const _0x2dbb2c=['nQDbL','../../helpers/performance/constants','UKKkI','SDK_PRE_INITIALIZE','getResultsSummary','bddStep-after','fireEvent','gagNQ','VlQrB','../../helpers/accessibility-automation/helper','../../helpers/testhub/constants.js','SYNC','after','BROWSERSTACK_TESTHUB_JWT','CikMr','ctx','container','9tbRllK','addRequestSpy','UBNew','tZepk','186981MOjMhT','BS_TESTOPS_ALLOW_SCREENSHOTS','winstonLogger','warn','1392162AlGYfX','avZqa','bddStep','dispatcher','step','patch','class','2377551bPlTaH','contexts','screenshotOutputFolder','titlePath','toString','browserContext','codeceptjs/lib/helper/Playwright.js','frXmE','../../helpers/request-spy','format','measureWrapper','ZTLiC','currentTest','wpzTq','then','find','SESSION_NAME','event','304HXOsYk','SDK_HOOK','restore','patchSaveScreenshot','failed','slice','../../helpers/test-observability/utils','initSaveScreenshot','test-passed','action','accessibilityPlatform','jQEjr','BROWSERSTACK_TESTHUB_UUID','name','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','KlqsI','151137mZioNl','step-comment','Element','392722ImixjD','browserstackTestName','4322045Pzinij','call','overwriteCommand','performScan','NwsiY','zwnIJ','title','zbMHp','saveScreenshot','ghlXL','forEach','lqzXL','../../bin/playwright/sessionDetails','./o11yHelper','before','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','gucMX','lxklr','nqkOH','Hqdip','codeceptjs','all','dqnlk','arguments','../../helpers/globals.js','SESSION_STATUS','comment','pid','12PfAFAw','executeScript','TEST_RUN_STARTED','yzsqi','test-after','status','PEMVE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','146345DBfJpZ','constructor','zgYIn','hook','ikBft','tRtRN','saveTestResults','tQWTo','enabled','Suite','__workerDetails','bddStep-before','test-before','TEST_RUN_SKIPPED','../../helpers/helper','setGlobal','nzaso','TEST_RUN_FINISHED','../../bin/playwright/accessibility-helper','end','pkKQc','getAccessibilityResultsSummary','start','qpEjz','shouldWrapCommand','captureError','toISOString','PERFORM_SCAN','pHWpZ','browserStackExecuteDriver','bind','helpers','kOJtV','browser','mAGBR','stringify','jfKFC','catch','passed','apply','rAZQi','captureEvent','../../helpers/logger','jYOJn','ijtpY','_before','YuMLI','debug','hook-failed','TEST_SCREENSHOT','ENV_VAR','bstackAllyScanning','yWYAp','suCKp','SDK_POST_TEST','Performing\x20scan\x20for\x20','getResults','wSKkO','oDclA','LlxJW','Playwright','base64','Klqna','snBUw','hook-passed','SDK_TEST','hookType','bddStepStart','browserstack_executor:\x20','Yppsp','TestCafe','lMJSo','skipSessionStatus','__driver','HdCtK','test-failed','HOOK_RUN_STARTED','setSessionStatus','add','getSyncScript','afterTest','bs:addLog:','CUlyM','elksR','SDK_POST_INITIALIZE','../../helpers/performance/performance-tester','info','HOOK_RUN_FINISHED','SDK_PRE_TEST','stopMonitoring','command','codeceptjs/lib/index.js','30wySbDW','mDelD','wDlCw','oSgSj','baWFb','stop','test','FFXmS','emit','zzkJz','codeceptjs/lib/helper/WebDriver.js','env','thBuildUuid','SAVE_RESULTS','JiTyW','JVvon','rRkHC','prototype'];a1_0x2bd9=function(){return _0x2dbb2c;};return a1_0x2bd9();}module['exports']=function(_0x4f9d46){const _0x120834=a1_0x41f5cb,_0x729aa5={'nzaso':function(_0x554ef5){return _0x554ef5();},'lMJSo':function(_0x2e6857,_0x46a858){return _0x2e6857(_0x46a858);},'pHWpZ':_0x120834(0x18a),'YuMLI':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','snBUw':'getAccessibilityResults','yzsqi':_0x120834(0x24d),'Hqdip':'hook-started','Jzlpr':_0x120834(0x1b5),'JVvon':_0x120834(0x1a5),'NwsiY':_0x120834(0x229),'Yppsp':_0x120834(0x25a),'suCKp':function(_0x467634){return _0x467634();},'VlQrB':function(_0x1b4a95,_0x598a8e){return _0x1b4a95(_0x598a8e);},'lxklr':function(_0x328b99,_0x5e4efb,_0x16795c){return _0x328b99(_0x5e4efb,_0x16795c);},'UBNew':'test-started','HdCtK':function(_0x1ce1f1,_0x50291c,_0x2c51a7){return _0x1ce1f1(_0x50291c,_0x2c51a7);},'elksR':_0x120834(0x21d),'ijtpY':function(_0x3d2110){return _0x3d2110();},'qpEjz':function(_0x43e515,_0x1cccb4,_0x4251ed,_0x432a03){return _0x43e515(_0x1cccb4,_0x4251ed,_0x432a03);},'dqnlk':function(_0x79694e,_0x438398){return _0x79694e===_0x438398;},'YRDYK':_0x120834(0x257),'zgYIn':_0x120834(0x1c0),'JiTyW':'test-skipped','FFXmS':_0x120834(0x1c5),'ikBft':function(_0x4eca58){return _0x4eca58();},'lqzXL':function(_0x1c9e3e,_0x2d8328,_0x8ea988){return _0x1c9e3e(_0x2d8328,_0x8ea988);},'ghlXL':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','rAZQi':_0x120834(0x24a),'jYOJn':'INFO','LjkXd':'TEST_LOG','Klqna':_0x120834(0x226),'mAGBR':_0x120834(0x259),'rOPYP':_0x120834(0x1e8),'zbMHp':_0x120834(0x1b1)};_0x4f9d46['skipSessionStatus']&&(global['__skipSessionStatus']=_0x4f9d46[_0x120834(0x1bd)]);PerformanceTester['startMonitoring']();const _0x4557a1=_0x729aa5[_0x120834(0x1a1)](getCodeceptDriver),_0x5ef138=new O11yHelper(_0x4557a1,_0x4f9d46),_0xe58727=!!CodeceptJS[_0x120834(0x1f3)][_0x120834(0x194)](_0x729aa5[_0x120834(0x231)]);global[_0x120834(0x1be)]=_0x4557a1,_0x4557a1&&(PerformanceTester[_0x120834(0x20d)](PerformanceEvents[_0x120834(0x1e6)],()=>{const _0x5c9e82=_0x120834;_0xe58727?_0x729aa5[_0x5c9e82(0x185)](patchPlaywrightBefore):_0x729aa5[_0x5c9e82(0x1bc)](patchWebDriverBefore,_0x4557a1);})(),PerformanceTester[_0x120834(0x20d)](PerformanceEvents[_0x120834(0x1c9)],()=>{const _0x105a03=_0x120834,_0x2dc70d={};_0x2dc70d['wSKkO']=_0x729aa5[_0x105a03(0x1b4)],_0x2dc70d[_0x105a03(0x195)]=_0x729aa5[_0x105a03(0x249)];const _0x5826dd=_0x2dc70d;_0x4557a1['getAccessibilityResultsSummary']=async()=>{const _0x19551e=_0x105a03;if(global[_0x19551e(0x21f)]){const _0x1963a0={};_0x1963a0[_0x19551e(0x1cf)]=_0x729aa5[_0x19551e(0x191)],await PerformanceTester[_0x19551e(0x20d)](PerformanceA11yEvents[_0x19551e(0x190)],async()=>{const _0x38f3bb=_0x19551e;await AccessibilityHelper['browserStackExecuteDriver'](_0x4557a1,scripts[_0x38f3bb(0x22d)]);},_0x1963a0)(),await PerformanceTester[_0x19551e(0x20d)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x3ac830=_0x19551e;await AccessibilityHelper[_0x3ac830(0x192)](_0x4557a1,scripts[_0x3ac830(0x1e7)]);})();}else return logger[_0x19551e(0x1fb)](_0x729aa5[_0x19551e(0x1a3)]),{};},_0x4557a1['getAccessibilityResults']=async()=>{const _0x3993e9=_0x105a03;if(global['accessibilityPlatform']){const _0x21c87b={};_0x21c87b[_0x3993e9(0x1cf)]=_0x5826dd[_0x3993e9(0x1ae)],await PerformanceTester[_0x3993e9(0x20d)](PerformanceA11yEvents[_0x3993e9(0x190)],async()=>{const _0x4eb26d=_0x3993e9;await AccessibilityHelper[_0x4eb26d(0x192)](_0x4557a1,scripts[_0x4eb26d(0x22d)]);},_0x21c87b)(),await PerformanceTester[_0x3993e9(0x20d)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x21e644=_0x3993e9;await AccessibilityHelper['browserStackExecuteDriver'](_0x4557a1,scripts[_0x21e644(0x1ad)]);})();}else return logger['warn'](_0x5826dd[_0x3993e9(0x195)]),{};},_0x729aa5[_0x105a03(0x1bc)](patchSaveScreenshot,_0x4557a1);})()),CodeceptJS['event'][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)]['all'][_0x120834(0x238)],()=>{const _0x576d86=_0x120834;PerformanceTester[_0x576d86(0x18b)](PerformanceEvents[_0x576d86(0x1cd)]);try{_0x5ef138[_0x576d86(0x18b)](),testOpsHelper[_0x576d86(0x1f5)](),PerformanceTester[_0x576d86(0x188)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x273f26){PerformanceTester[_0x576d86(0x18e)](_0x273f26),PerformanceTester['end'](PerformanceEvents[_0x576d86(0x1cd)],![],_0x273f26);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x23f)]['after'],async()=>{const _0x100617=_0x120834;PerformanceTester[_0x100617(0x18b)](PerformanceEvents[_0x100617(0x1ab)]);try{requestSpy[_0x100617(0x217)](),await _0x5ef138[_0x100617(0x1d6)](),PerformanceTester['end'](PerformanceEvents[_0x100617(0x1ab)]);}catch(_0x319cda){PerformanceTester[_0x100617(0x18e)](_0x319cda),PerformanceTester[_0x100617(0x188)](PerformanceEvents[_0x100617(0x1ab)],![],_0x319cda);}finally{PerformanceTester[_0x100617(0x1ce)]();}}),CodeceptJS[_0x120834(0x214)]['dispatcher']['on'](CodeceptJS[_0x120834(0x214)]['hook']['started'],_0x3b715a=>{const _0x83ee47=_0x120834;PerformanceTester[_0x83ee47(0x18b)](PerformanceEvents['SDK_HOOK']);try{const _0x557343=_0x3b715a[_0x83ee47(0x1f2)][_0x83ee47(0x1d7)],_0x332b3a=_0x5ef138[_0x83ee47(0x19e)](TEST_EVENTS[_0x83ee47(0x1c1)],_0x557343);CodeceptRecorder[_0x83ee47(0x1c3)](()=>_0x5ef138[_0x83ee47(0x1e9)](TEST_EVENTS[_0x83ee47(0x1c1)],_0x332b3a));const _0x2424b4={};_0x2424b4[_0x83ee47(0x1b7)]=_0x729aa5[_0x83ee47(0x23d)],PerformanceTester[_0x83ee47(0x188)](PerformanceEvents['SDK_HOOK'],!![],null,_0x2424b4);}catch(_0x70c3f4){const _0x42fb79={};_0x42fb79[_0x83ee47(0x1b7)]=_0x729aa5[_0x83ee47(0x23d)],PerformanceTester[_0x83ee47(0x188)](PerformanceEvents[_0x83ee47(0x216)],![],_0x70c3f4,_0x42fb79),PerformanceTester[_0x83ee47(0x18e)](_0x70c3f4);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x251)]['passed'],_0x5cc9fc=>{const _0x134a0d=_0x120834,_0x45157c={};_0x45157c[_0x134a0d(0x1b7)]=_0x729aa5['Jzlpr'],PerformanceTester[_0x134a0d(0x18b)](PerformanceHookEvents[_0x134a0d(0x216)],!![],null,_0x45157c);try{const _0x4a7cc0=_0x5cc9fc[_0x134a0d(0x1f2)]['test'],_0x1edd3e=_0x5ef138[_0x134a0d(0x19e)](TEST_EVENTS[_0x134a0d(0x1cc)],_0x4a7cc0);CodeceptRecorder[_0x134a0d(0x1c3)](()=>_0x5ef138[_0x134a0d(0x1e9)](TEST_EVENTS[_0x134a0d(0x1cc)],_0x1edd3e));const _0x3aede2={};_0x3aede2[_0x134a0d(0x1b7)]=_0x729aa5['Jzlpr'],PerformanceTester[_0x134a0d(0x188)](PerformanceHookEvents[_0x134a0d(0x216)],!![],null,_0x3aede2);}catch(_0x4fa555){PerformanceTester[_0x134a0d(0x18e)](_0x4fa555);const _0x1447ca={};_0x1447ca[_0x134a0d(0x1b7)]=_0x729aa5['Jzlpr'],PerformanceTester[_0x134a0d(0x188)](PerformanceHookEvents[_0x134a0d(0x216)],![],_0x4fa555,_0x1447ca);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x251)][_0x120834(0x219)],async(_0x1f2728,_0xf0cf53)=>{const _0x4f8c22=_0x120834;PerformanceTester[_0x4f8c22(0x18b)](PerformanceHookEvents['SDK_HOOK']);try{const _0xe37cd6=_0x1f2728[_0x4f8c22(0x1f2)][_0x4f8c22(0x1d7)],_0x1b1f5e=_0x5ef138[_0x4f8c22(0x19e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0xe37cd6,_0xf0cf53);CodeceptRecorder['add'](()=>_0x5ef138['fireEvent'](TEST_EVENTS[_0x4f8c22(0x1cc)],_0x1b1f5e));const _0x525bd3={};_0x525bd3[_0x4f8c22(0x1b7)]=_0x729aa5[_0x4f8c22(0x1e0)],PerformanceTester[_0x4f8c22(0x18b)](PerformanceHookEvents[_0x4f8c22(0x216)],!![],null,_0x525bd3);}catch(_0x398d3b){PerformanceTester[_0x4f8c22(0x18e)](_0x398d3b);const _0x2a48e1={};_0x2a48e1[_0x4f8c22(0x1b7)]=_0x729aa5['JVvon'],PerformanceTester[_0x4f8c22(0x188)](PerformanceHookEvents[_0x4f8c22(0x216)],![],_0x398d3b,_0x2a48e1);}const _0x5145a9={};_0x5145a9['hookType']=_0x729aa5['JVvon'],PerformanceTester[_0x4f8c22(0x188)](PerformanceHookEvents[_0x4f8c22(0x216)],!![],null,_0x5145a9);}),CodeceptJS['event'][_0x120834(0x1ff)]['on'](CodeceptJS['event']['test'][_0x120834(0x238)],_0x518c25=>{const _0xf839b4=_0x120834;PerformanceTester[_0xf839b4(0x18b)](PerformanceHookEvents[_0xf839b4(0x216)]);try{globals[_0xf839b4(0x184)](_0x729aa5['NwsiY'],_0x518c25['title']);_0x729aa5['nzaso'](isBrowserstackInfra)&&(_0xe58727&&(global[_0xf839b4(0x258)]={'currentTest':{'name':_0x518c25['title'],'testInfo':{'titlePath':_0x518c25[_0xf839b4(0x206)]()}}}));const _0x4c1ec3={};_0x4c1ec3[_0xf839b4(0x1b7)]=_0x729aa5[_0xf839b4(0x1ba)],PerformanceTester[_0xf839b4(0x188)](PerformanceHookEvents[_0xf839b4(0x216)],!![],null,_0x4c1ec3);}catch(_0x498fde){PerformanceTester['captureError'](_0x498fde);const _0x594b98={};_0x594b98[_0xf839b4(0x1b7)]=_0x729aa5[_0xf839b4(0x1ba)],PerformanceTester[_0xf839b4(0x188)](PerformanceHookEvents['SDK_HOOK'],![],_0x498fde,_0x594b98);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x1d7)]['started'],_0x222ce4=>{const _0x23d184=_0x120834,_0xf5e350={'VyTnr':function(_0xab0acd){const _0x4ae9e6=a1_0x3d84;return _0x729aa5[_0x4ae9e6(0x1aa)](_0xab0acd);},'LlxJW':function(_0x20cced,_0x2bc36b){const _0x2eaab3=a1_0x3d84;return _0x729aa5[_0x2eaab3(0x1eb)](_0x20cced,_0x2bc36b);},'tZepk':function(_0x42e50a,_0x204ac5,_0xf6c268){const _0x3e1497=a1_0x3d84;return _0x729aa5[_0x3e1497(0x23b)](_0x42e50a,_0x204ac5,_0xf6c268);}};PerformanceTester[_0x23d184(0x18b)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x23d184(0x184)](_0x729aa5[_0x23d184(0x22e)],_0x222ce4[_0x23d184(0x230)]);const _0x87f256=_0x5ef138['captureEvent'](TEST_EVENTS[_0x23d184(0x248)],_0x222ce4);CodeceptRecorder[_0x23d184(0x1c3)](()=>_0x5ef138[_0x23d184(0x1e9)](TEST_EVENTS[_0x23d184(0x248)],_0x87f256)),CodeceptRecorder[_0x23d184(0x1c3)](async()=>{const _0x48a5f6=_0x23d184;_0xf5e350['VyTnr'](isBrowserstackInfra)&&(!_0xf5e350['LlxJW'](isTrue,_0x4f9d46['skipSessionName'])&&await _0xf5e350[_0x48a5f6(0x1f7)](markSessionName,_0x4557a1,_0x222ce4[_0x48a5f6(0x230)]),_0x5ef138[_0x48a5f6(0x256)]&&await _0xf5e350[_0x48a5f6(0x1b0)](o11ySync,_0x4557a1));});}catch(_0xde0612){const _0x5b18b1={};_0x5b18b1[_0x23d184(0x1b7)]=_0x729aa5['UBNew'],PerformanceTester[_0x23d184(0x188)](PerformanceHookEvents[_0x23d184(0x216)],![],_0xde0612,_0x5b18b1),PerformanceTester[_0x23d184(0x18e)](_0xde0612);}const _0x19cf74={};_0x19cf74[_0x23d184(0x1b7)]=_0x729aa5[_0x23d184(0x1f6)],PerformanceTester[_0x23d184(0x188)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x19cf74);}),CodeceptJS[_0x120834(0x214)]['dispatcher']['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x1d7)][_0x120834(0x19b)],_0x4caedd=>{const _0x44c5b6=_0x120834,_0x2bb0ce={'mDelD':function(_0x114a60,_0x256839,_0x13de83){const _0x45762c=a1_0x3d84;return _0x729aa5[_0x45762c(0x1bf)](_0x114a60,_0x256839,_0x13de83);},'zwnIJ':function(_0x25d083){const _0x148d7d=a1_0x3d84;return _0x729aa5[_0x148d7d(0x1aa)](_0x25d083);}};PerformanceTester[_0x44c5b6(0x18b)](PerformanceHookEvents[_0x44c5b6(0x216)]);try{const _0x377a94=_0x5ef138[_0x44c5b6(0x19e)](TEST_EVENTS[_0x44c5b6(0x186)],_0x4caedd);CodeceptRecorder[_0x44c5b6(0x1c3)](()=>_0x5ef138[_0x44c5b6(0x1e9)](TEST_EVENTS[_0x44c5b6(0x186)],_0x377a94)),CodeceptRecorder[_0x44c5b6(0x1c3)](async()=>{const _0xaede2a=_0x44c5b6,_0xb82306={'gucMX':function(_0x37d50a,_0x5f1c76,_0x50de22){const _0x3bdde9=a1_0x3d84;return _0x2bb0ce[_0x3bdde9(0x1d2)](_0x37d50a,_0x5f1c76,_0x50de22);},'nQDbL':function(_0x49f257,_0x3d8d7c,_0xcc4c50){const _0x1c3b88=a1_0x3d84;return _0x2bb0ce[_0x1c3b88(0x1d2)](_0x49f257,_0x3d8d7c,_0xcc4c50);}};_0x2bb0ce[_0xaede2a(0x22f)](isBrowserstackInfra)&&await PerformanceTester[_0xaede2a(0x20d)](PerformanceAutEvents[_0xaede2a(0x243)],async()=>{const _0x550dc5=_0xaede2a;_0xe58727?await _0xb82306[_0x550dc5(0x23a)](playwrightMarkSessionStatus,_0x4557a1,STATE_PASSED):await _0xb82306[_0x550dc5(0x1e3)](markSessionStatus,_0x4557a1,STATE_PASSED);})();}),PerformanceTester[_0x44c5b6(0x188)](PerformanceEvents[_0x44c5b6(0x1b6)]);}catch(_0x378e99){PerformanceTester[_0x44c5b6(0x18e)](_0x378e99);const _0x332622={};_0x332622[_0x44c5b6(0x1b7)]=_0x729aa5[_0x44c5b6(0x1c8)],PerformanceTester[_0x44c5b6(0x188)](PerformanceHookEvents[_0x44c5b6(0x216)],![],_0x378e99,_0x332622),PerformanceTester[_0x44c5b6(0x188)](PerformanceEvents[_0x44c5b6(0x1b6)],![],_0x378e99);}const _0xeda7e={};_0xeda7e['hookType']=_0x729aa5[_0x44c5b6(0x1c8)],PerformanceTester[_0x44c5b6(0x188)](PerformanceHookEvents[_0x44c5b6(0x216)],!![],null,_0xeda7e);}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)]['test'][_0x120834(0x219)],(_0x2658bd,_0x288a85)=>{const _0x13c6cf=_0x120834;PerformanceTester[_0x13c6cf(0x18b)](PerformanceHookEvents[_0x13c6cf(0x216)]);try{if(_0x729aa5[_0x13c6cf(0x240)](_0x2658bd[_0x13c6cf(0x24f)]['name'],_0x729aa5['YRDYK'])){const _0x52aeaf=_0x5ef138[_0x13c6cf(0x19e)](TEST_EVENTS[_0x13c6cf(0x25b)],_0x2658bd[_0x13c6cf(0x1f2)][_0x13c6cf(0x20f)]);CodeceptRecorder[_0x13c6cf(0x1c3)](()=>_0x5ef138['fireEvent'](TEST_EVENTS[_0x13c6cf(0x25b)],_0x52aeaf));}else{const _0x1cef8c=_0x5ef138[_0x13c6cf(0x19e)](TEST_EVENTS[_0x13c6cf(0x186)],_0x2658bd,_0x288a85);CodeceptRecorder[_0x13c6cf(0x1c3)](()=>{const _0x1db301=_0x13c6cf;try{_0x5ef138[_0x1db301(0x1e9)](TEST_EVENTS[_0x1db301(0x186)],_0x1cef8c);}catch(_0x16efbe){logger[_0x1db301(0x1a4)](_0x1db301(0x239)+util[_0x1db301(0x20c)](_0x16efbe)),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x16efbe);}}),CodeceptRecorder['add'](async()=>{const _0x593f9f=_0x13c6cf;try{_0x729aa5[_0x593f9f(0x1a1)](isBrowserstackInfra)&&(_0xe58727?await _0x729aa5['qpEjz'](playwrightMarkSessionStatus,_0x4557a1,STATE_FAILED,_0x288a85):await _0x729aa5[_0x593f9f(0x18c)](markSessionStatus,_0x4557a1,STATE_FAILED,_0x288a85));}catch(_0x9d53ec){logger[_0x593f9f(0x1a4)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util['format'](_0x9d53ec)),PerformanceTester[_0x593f9f(0x188)](PerformanceEvents['SDK_TEST'],![],_0x9d53ec);}});}PerformanceTester['end'](PerformanceEvents[_0x13c6cf(0x1b6)]);}catch(_0xa4895d){PerformanceTester['captureError'](_0xa4895d);const _0x1860e0={};_0x1860e0[_0x13c6cf(0x1b7)]=_0x729aa5[_0x13c6cf(0x250)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0xa4895d,_0x1860e0),PerformanceTester[_0x13c6cf(0x188)](PerformanceEvents[_0x13c6cf(0x1b6)],![],_0xa4895d);}const _0x243b12={};_0x243b12['hookType']=_0x729aa5[_0x13c6cf(0x250)],PerformanceTester['end'](PerformanceHookEvents[_0x13c6cf(0x216)],!![],null,_0x243b12);}),CodeceptJS['event'][_0x120834(0x1ff)]['on'](CodeceptJS['event'][_0x120834(0x1d7)]['skipped'],_0x38bc03=>{const _0xf7f238=_0x120834;PerformanceTester[_0xf7f238(0x18b)](PerformanceHookEvents[_0xf7f238(0x216)]);try{const _0x3245dd=_0x5ef138[_0xf7f238(0x19e)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x38bc03);CodeceptRecorder[_0xf7f238(0x1c3)](()=>_0x5ef138[_0xf7f238(0x1e9)](TEST_EVENTS[_0xf7f238(0x25b)],_0x3245dd)),PerformanceTester[_0xf7f238(0x188)](PerformanceEvents['SDK_TEST']);}catch(_0x4b0c70){PerformanceTester[_0xf7f238(0x18e)](_0x4b0c70),PerformanceTester[_0xf7f238(0x188)](PerformanceEvents[_0xf7f238(0x1b6)],![],_0x4b0c70);const _0x17f36f={};_0x17f36f[_0xf7f238(0x1b7)]=_0x729aa5[_0xf7f238(0x1df)],PerformanceTester[_0xf7f238(0x188)](PerformanceHookEvents['SDK_HOOK'],![],_0x4b0c70,_0x17f36f);}const _0x324f34={};_0x324f34[_0xf7f238(0x1b7)]=_0x729aa5[_0xf7f238(0x1df)],PerformanceTester[_0xf7f238(0x188)](PerformanceHookEvents[_0xf7f238(0x216)],!![],null,_0x324f34);}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x1d7)]['after'],async(_0x5bfadb,_0x1add2f)=>{const _0x75c93c=_0x120834,_0x57862c={};_0x57862c[_0x75c93c(0x23c)]=_0x729aa5[_0x75c93c(0x1d8)];const _0x59d567=_0x57862c;try{PerformanceTester[_0x75c93c(0x18b)](PerformanceHookEvents[_0x75c93c(0x216)]);if(_0x729aa5[_0x75c93c(0x252)](isBrowserstackInfra)){const _0x58b419=_0x729aa5[_0x75c93c(0x235)](shouldScanTestForAccessibility,_0x5bfadb[_0x75c93c(0x206)](),!![]);if(_0x729aa5['nzaso'](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x58b419){const _0x29e1b7={};_0x29e1b7['thTestRunUuid']=_0x5bfadb['testAnalyticsId'],_0x29e1b7[_0x75c93c(0x1dd)]=process[_0x75c93c(0x1dc)][testHubConstants[_0x75c93c(0x1a7)][_0x75c93c(0x221)]],_0x29e1b7['thJwtToken']=process['env'][testHubConstants[_0x75c93c(0x1a7)][_0x75c93c(0x1f0)]];const _0x57a4c2=_0x29e1b7;logger[_0x75c93c(0x1a4)](_0x75c93c(0x223)+JSON[_0x75c93c(0x198)](_0x57a4c2)),CodeceptRecorder['add'](async()=>{const _0xe77aa5=_0x75c93c,_0x120e2c={};_0x120e2c[_0xe77aa5(0x1cf)]=_0x59d567[_0xe77aa5(0x23c)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xe77aa5(0x190)],async()=>{const _0x37d502=_0xe77aa5;await AccessibilityHelper['browserStackExecuteDriver'](_0x4557a1,scripts[_0x37d502(0x22d)]);},_0x120e2c)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xe77aa5(0x1de)],async()=>{const _0x407d43=_0xe77aa5;await AccessibilityHelper[_0x407d43(0x192)](_0x4557a1,scripts[_0x407d43(0x254)],_0x57a4c2);})();}),logger[_0x75c93c(0x1cb)](_0x729aa5[_0x75c93c(0x233)]);}}const _0x39c5dd={};_0x39c5dd[_0x75c93c(0x1b7)]=_0x729aa5[_0x75c93c(0x19d)],PerformanceTester[_0x75c93c(0x188)](PerformanceHookEvents[_0x75c93c(0x216)],!![],null,_0x39c5dd);}catch(_0x23e3f7){PerformanceTester[_0x75c93c(0x18e)](_0x23e3f7);const _0x4a92bd={};_0x4a92bd[_0x75c93c(0x1b7)]=_0x729aa5[_0x75c93c(0x19d)],PerformanceTester[_0x75c93c(0x188)](PerformanceHookEvents['SDK_HOOK'],![],_0x23e3f7,_0x4a92bd);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x200)][_0x120834(0x244)],_0x5b987f=>{const _0xb3e559=_0x120834;PerformanceTester[_0xb3e559(0x18b)](PerformanceHookEvents[_0xb3e559(0x216)]);try{process[_0xb3e559(0x1d9)]('bs:addLog:'+process[_0xb3e559(0x245)],{'timestamp':new Date()[_0xb3e559(0x18f)](),'level':_0x729aa5[_0xb3e559(0x1a0)],'message':_0x5b987f,'kind':_0x729aa5['LjkXd'],'http_response':{}});}catch(_0x3445d9){PerformanceTester[_0xb3e559(0x18e)](_0x3445d9);const _0x18bfab={};_0x18bfab[_0xb3e559(0x1b7)]=_0x729aa5[_0xb3e559(0x1b3)],PerformanceTester[_0xb3e559(0x188)](PerformanceHookEvents[_0xb3e559(0x216)],![],_0x3445d9,_0x18bfab);}const _0x241e01={};_0x241e01['hookType']=_0x729aa5[_0xb3e559(0x1b3)],PerformanceTester['end'](PerformanceHookEvents[_0xb3e559(0x216)],!![],null,_0x241e01);}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)]['bddStep'][_0x120834(0x238)],_0x5eeddf=>{const _0x4d0ff9=_0x120834,_0x4141bd={};_0x4141bd[_0x4d0ff9(0x1b7)]=_0x729aa5[_0x4d0ff9(0x197)],PerformanceTester[_0x4d0ff9(0x20d)](PerformanceHookEvents[_0x4d0ff9(0x216)],()=>{const _0x1fd61a=_0x4d0ff9;_0x5ef138[_0x1fd61a(0x1b8)](_0x5eeddf);},_0x4141bd)();}),CodeceptJS[_0x120834(0x214)]['dispatcher']['on'](CodeceptJS['event'][_0x120834(0x1fe)][_0x120834(0x1ef)],_0x631faf=>{const _0x2e72d1=_0x120834,_0x1e2143={};_0x1e2143['hookType']=_0x729aa5['rOPYP'],PerformanceTester[_0x2e72d1(0x20d)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x5ef138['bddStepFinish'](_0x631faf);},_0x1e2143)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x498333=a2_0x53d0;function a2_0x3963(){const _0x202a0e=['codeceptjs','Workers','../../helpers/helper','dirname','profile','playwright-chromium','browserName','end','chromium','../../helpers/test-observability/utils','44653ZEPgiU','finalExecution','njPXM','BROWSERSTACK_TEST_OBSERVABILITY_YML','NutXv','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','testContextOptions','spawn','now','bYdjU','zBcqM','codecept.conf.js','bVbCM','ZXsON','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','2eaPRQV','qnRVV','../utils/constants','isEmpty','BrowserStackPlugin','stringify','toLowerCase','chrome','1326FhPbPm','518059fJUjPy','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright-webkit','launchBuild','USER_CONFIG_DETAILS_PATH','9139790USZNWR','TZzSE','2542833NFYUvC','BrowserStackPlugin.js','handleApp','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','552280QQOjhp','exports','DBRcp','title','zMxDu','tBhFi','platforms','SDK_SETUP','err','codecept.json','codeceptjs/lib/index.js','rkBaU','CODECEPT','XQjzz','enabled','UMvET','existsSync','cwd','LVaRA','map','load','gUvUs','playwright-firefox','rKXCV','browser','FRAMEWORKS','test','printResults','mergeDeep','env','run','config','testConfig','JxUyD','OSUmN','join','dgTVw','debug','BROWSERSTACK_RERUN','accessibility','addTests','../../helpers/testhub/testhubHandler','isUndefined','../../helpers/logger','10eclRjx','all','before','Started\x20:\x20','format','kduMg','isTrue','chdir','rZFwF','failed','trim','SDK_CLEANUP','helpers','findIndex','process','stack','-cucumber','../../helpers/performance/performance-tester','stop','WebDriver','winstonLogger','addConfig','mWlyK','browserWSEndpoint','validPlatformsPresent','Kiqci','850408CIlFdt','YiVKr','BROWSERSTACK_RERUN_TESTS','isTestObservabilitySession','skipSessionName','2|3|4|0|5|1','gherkin','../../helpers/accessibility-automation/helper','forEach','LgbCj','desiredCapabilities','length','printBuildLink','slice','addOptions','frameworkName','3918366EFGxwo','setAdditionalCapabilities','info','log','prepareCapabilities','accessibilityOptions','SENNI','validateRerunTestList','rCMqz','path','HuWtl','push','event','../../bin/playwright/accessibility-helper','elycK','Playwright','rsWGn','testObservability','--config','../../helpers/utilities','Failed\x20:\x20','passed'];a2_0x3963=function(){return _0x202a0e;};return a2_0x3963();}(function(_0x576c2d,_0x7b701b){const _0x9ab6c5=a2_0x53d0,_0x15deed=_0x576c2d();while(!![]){try{const _0x5c80e4=parseInt(_0x9ab6c5(0x1e0))/0x1*(parseInt(_0x9ab6c5(0x1d7))/0x2)+-parseInt(_0x9ab6c5(0x1a7))/0x3+-parseInt(_0x9ab6c5(0x231))/0x4*(parseInt(_0x9ab6c5(0x217))/0x5)+parseInt(_0x9ab6c5(0x1df))/0x6*(parseInt(_0x9ab6c5(0x1c7))/0x7)+parseInt(_0x9ab6c5(0x1eb))/0x8+-parseInt(_0x9ab6c5(0x1e7))/0x9+parseInt(_0x9ab6c5(0x1e5))/0xa;if(_0x5c80e4===_0x7b701b)break;else _0x15deed['push'](_0x15deed['shift']());}catch(_0x65a9e){_0x15deed['push'](_0x15deed['shift']());}}}(a2_0x3963,0xdafc9));const fs=require('fs'),path=require(a2_0x498333(0x1b0)),util=require('util'),process=require(a2_0x498333(0x225)),logger=require(a2_0x498333(0x216))[a2_0x498333(0x22b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x498333(0x1ba)),{checkAccessibilityPlatformConfig}=require(a2_0x498333(0x238)),{setAccessibilityCapabilities}=require(a2_0x498333(0x1b4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x498333(0x1bf)),CodeceptJS=requireModule(a2_0x498333(0x1f5),a2_0x498333(0x1bd)),testOpsHelper=require(a2_0x498333(0x1c6)),TestHubHandler=require(a2_0x498333(0x214)),constants=require(a2_0x498333(0x1d9)),PerformanceTester=require(a2_0x498333(0x228)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x498333(0x1d5)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x8b8a8d,_0x52d224)=>{const _0x1351f7=a2_0x498333,_0x4924d7={};_0x4924d7[_0x1351f7(0x1d1)]=function(_0x3ad558,_0x6c665f){return _0x3ad558===_0x6c665f;},_0x4924d7[_0x1351f7(0x1b5)]=_0x1351f7(0x1d2),_0x4924d7['njPXM']=_0x1351f7(0x1f4);const _0x201d18=_0x4924d7;let _0x2ae819=null;const _0x15888b={};let _0x58de6c=_0x52d224[_0x1351f7(0x224)](_0x31839c=>_0x31839c===_0x1351f7(0x1b9));_0x201d18[_0x1351f7(0x1d1)](_0x58de6c,-0x1)&&(_0x58de6c=_0x52d224[_0x1351f7(0x224)](_0x15e190=>_0x15e190==='-c'));if(!helper[_0x1351f7(0x215)](_0x8b8a8d[_0x1351f7(0x20a)])&&fs[_0x1351f7(0x1fb)](path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x8b8a8d[_0x1351f7(0x20a)])))_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x8b8a8d[_0x1351f7(0x20a)]),_0x52d224[_0x1351f7(0x1a4)](_0x58de6c,0x2);else{if(!helper[_0x1351f7(0x215)](_0x8b8a8d['c'])&&fs[_0x1351f7(0x1fb)](path[_0x1351f7(0x20e)](process['cwd'](),_0x8b8a8d['c'])))_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x8b8a8d['c']),_0x52d224[_0x1351f7(0x1a4)](_0x58de6c,0x2);else{if(fs[_0x1351f7(0x1fb)](path[_0x1351f7(0x20e)](process['cwd'](),_0x201d18[_0x1351f7(0x1b5)])))_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x201d18['elycK']);else fs['existsSync'](path['join'](process[_0x1351f7(0x1fc)](),_0x201d18['njPXM']))&&(_0x2ae819=path[_0x1351f7(0x20e)](process[_0x1351f7(0x1fc)](),_0x201d18[_0x1351f7(0x1c9)]));}}return process[_0x1351f7(0x208)][_0x1351f7(0x1e4)]=_0x2ae819,_0x2ae819;},getO11yRerunPattern=()=>{const _0xd0293f=a2_0x498333,_0x1acf84=helper[_0xd0293f(0x21d)](process[_0xd0293f(0x208)][_0xd0293f(0x211)]);if(_0x1acf84){const _0x46b9f9=process[_0xd0293f(0x208)][_0xd0293f(0x233)],_0xc0aed9=[];if(helper[_0xd0293f(0x1ae)](_0x46b9f9)&&!helper[_0xd0293f(0x215)](_0x46b9f9)){_0x46b9f9['split'](',')[_0xd0293f(0x1fe)](_0x319f96=>{const _0x450cb8=_0xd0293f;_0xc0aed9[_0x450cb8(0x1b2)]('('+_0x319f96[_0x450cb8(0x221)]()+')');});const _0x548170='^'+_0xc0aed9[_0xd0293f(0x20e)]('|')+'$';return _0x548170;}}return null;},a2_0x76f37b={};a2_0x76f37b[a2_0x498333(0x1de)]='chromium',a2_0x76f37b[a2_0x498333(0x1c2)]=a2_0x498333(0x1c5),a2_0x76f37b[a2_0x498333(0x201)]='firefox',a2_0x76f37b[a2_0x498333(0x1e2)]='webkit';function a2_0x53d0(_0x379cea,_0x160b05){const _0x39632e=a2_0x3963();return a2_0x53d0=function(_0x53d0d3,_0x385040){_0x53d0d3=_0x53d0d3-0x19f;let _0xa308e5=_0x39632e[_0x53d0d3];return _0xa308e5;},a2_0x53d0(_0x379cea,_0x160b05);}const pwToCodeceptBrowser=a2_0x76f37b;async function run(_0x58429f,_0x294a2b){const _0x3d2d02=a2_0x498333,_0x4f0465={'ZXsON':function(_0x4a1628,_0x3fb73a){return _0x4a1628+_0x3fb73a;},'OSUmN':function(_0xe3842a,_0x469b08){return _0xe3842a(_0x469b08);},'gUvUs':function(_0x59c4cf,_0x28d869,_0x12266d){return _0x59c4cf(_0x28d869,_0x12266d);},'UMvET':'helpers','TZzSE':function(_0x1635be){return _0x1635be();},'JxUyD':function(_0x319bb5){return _0x319bb5();},'hcQdO':_0x3d2d02(0x1bb),'SENNI':'Passed\x20:\x20','rZFwF':_0x3d2d02(0x21a),'NutXv':_0x3d2d02(0x236),'dgTVw':_0x3d2d02(0x1bd),'rCMqz':function(_0x5214e3,_0x107a0a,_0xea5f8f){return _0x5214e3(_0x107a0a,_0xea5f8f);},'bVbCM':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mWlyK':'Playwright','rkBaU':_0x3d2d02(0x22a),'rsWGn':function(_0x2be6cf,_0x467e86){return _0x2be6cf(_0x467e86);},'EivCL':function(_0x2c06c4,_0x265876){return _0x2c06c4!=_0x265876;},'HuWtl':function(_0x1d4056,_0x47984e){return _0x1d4056===_0x47984e;},'bYdjU':_0x3d2d02(0x237),'XQjzz':function(_0x408432,_0xde50c0){return _0x408432+_0xde50c0;},'tBhFi':_0x3d2d02(0x227),'rKXCV':function(_0x566f92,_0x5e92d6){return _0x566f92*_0x5e92d6;},'zMxDu':_0x3d2d02(0x203),'KthUA':function(_0x924ff4,_0x2098fc,_0x36a0f0){return _0x924ff4(_0x2098fc,_0x36a0f0);},'kduMg':_0x3d2d02(0x1a1),'qnRVV':function(_0x515424,_0x1fe9b8,_0x474ce2){return _0x515424(_0x1fe9b8,_0x474ce2);},'LVaRA':'root','YiVKr':_0x3d2d02(0x1e8),'DBRcp':'browserStackCwd','Kiqci':function(_0x310e48){return _0x310e48();}},_0x443c56=new BrowserStackSetup(_0x58429f,_0x4f0465[_0x3d2d02(0x20f)]);await _0x443c56['initialize'](),await helper[_0x3d2d02(0x1e9)](_0x443c56[_0x3d2d02(0x20a)]);if(!_0x443c56[_0x3d2d02(0x20a)])return;process[_0x3d2d02(0x1c1)]=_0x58429f[_0x3d2d02(0x1c1)];_0x58429f[_0x3d2d02(0x1c1)]&&(process[_0x3d2d02(0x208)][_0x3d2d02(0x1c1)]=_0x58429f['profile']);const _0x31977e=_0x4f0465[_0x3d2d02(0x1af)](getUserCodeceptJSConfigs,_0x58429f,_0x294a2b);let _0x34f0e8={};_0x31977e?(logger[_0x3d2d02(0x1a9)](_0x3d2d02(0x1cc)+_0x31977e),_0x34f0e8=CodeceptJS[_0x3d2d02(0x20a)][_0x3d2d02(0x1ff)](_0x31977e)):logger[_0x3d2d02(0x1a9)](_0x4f0465[_0x3d2d02(0x1d3)]);let _0x229e2b=![];_0x4f0465[_0x3d2d02(0x200)](nestedKeyValue,_0x34f0e8,[_0x4f0465['UMvET'],_0x4f0465['mWlyK']])&&(_0x229e2b=!![]);const _0x437aa3=_0x229e2b?_0x4f0465[_0x3d2d02(0x22d)]:_0x4f0465[_0x3d2d02(0x1f6)];let _0x4e41e6=!_0x229e2b?helper['useW3C'](_0x443c56[_0x3d2d02(0x20a)]):![];!helper[_0x3d2d02(0x215)](_0x443c56[_0x3d2d02(0x20a)]['accessibilityOptions'])&&(process['env'][_0x3d2d02(0x1e1)]=JSON['stringify'](_0x443c56[_0x3d2d02(0x20a)][_0x3d2d02(0x1ac)]));let _0x320961=_0x443c56[_0x3d2d02(0x20a)][_0x3d2d02(0x212)];_0x320961=_0x320961||_0x4f0465[_0x3d2d02(0x1b7)](checkAccessibilityPlatformConfig,_0x443c56[_0x3d2d02(0x20a)]),process[_0x3d2d02(0x208)][_0x3d2d02(0x1d6)]=_0x320961;_0x320961&&(_0x4e41e6=!_0x320961);_0x4f0465['EivCL'](_0x443c56['config']['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x443c56[_0x3d2d02(0x20a)][_0x3d2d02(0x1b8)]:process[_0x3d2d02(0x208)][_0x3d2d02(0x1ca)]=_0x4f0465[_0x3d2d02(0x1b1)](_0x437aa3,_0x4f0465[_0x3d2d02(0x22d)]);const _0x373209=_0x4f0465[_0x3d2d02(0x200)](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x3d2d02(0x1d0)]]),_0x268548=_0x4f0465[_0x3d2d02(0x1f8)](_0x4f0465[_0x3d2d02(0x20f)],_0x373209&&!helper[_0x3d2d02(0x1da)](_0x373209)?_0x4f0465[_0x3d2d02(0x1f0)]:''),_0x10f9f6=await TestHubHandler[_0x3d2d02(0x1e3)](_0x268548,_0x443c56);_0x320961&&_0x4f0465[_0x3d2d02(0x1b7)](setAccessibilityCapabilities,_0x443c56[_0x3d2d02(0x20a)]);const _0x574528={},_0x36d0f9=[],_0x9960c8=_0x443c56['config']['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x58429f,_0x294a2b,_0x443c56['config'],constants[_0x3d2d02(0x204)][_0x3d2d02(0x1f7)])||0x1;let _0x32f854=0x1;if(_0x4f0465[_0x3d2d02(0x1e6)](isBrowserstackInfra)){const _0x346f43=helper[_0x3d2d02(0x1ab)](_0x443c56[_0x3d2d02(0x20a)],_0x4e41e6,constants[_0x3d2d02(0x204)]['CODECEPT']);_0x346f43['forEach'](_0x57fb7d=>{const _0x2ce2c1=_0x3d2d02;helper[_0x2ce2c1(0x1a8)](_0x57fb7d);}),helper[_0x3d2d02(0x22f)](_0x443c56['config'])?_0x32f854=_0x4f0465[_0x3d2d02(0x202)](_0x9960c8,_0x443c56['config'][_0x3d2d02(0x1f1)][_0x3d2d02(0x1a2)]):_0x32f854=_0x9960c8,_0x346f43[_0x3d2d02(0x19f)](_0x1f5304=>{const _0x1cb4dd=_0x3d2d02,_0x4c4dc5={'LgbCj':function(_0x25cfaf,_0x4e4213){const _0x9fb360=a2_0x53d0;return _0x4f0465[_0x9fb360(0x1d4)](_0x25cfaf,_0x4e4213);},'zriWM':function(_0x319cab,_0x2d7800){const _0x30da1f=a2_0x53d0;return _0x4f0465[_0x30da1f(0x20d)](_0x319cab,_0x2d7800);}},_0x176f4b=_0x4f0465[_0x1cb4dd(0x1d4)](helper['getPlatformName'](_0x1f5304,'_'),'_'+Date[_0x1cb4dd(0x1cf)]()),_0x5ca189=((()=>{const _0x5d0a1a=_0x1cb4dd;if(_0x229e2b){const _0xcac9ed=pwToCodeceptBrowser[_0x1f5304[_0x5d0a1a(0x1c3)]]||_0x1f5304[_0x5d0a1a(0x1c3)];return{'browser':_0xcac9ed,[_0xcac9ed]:{'browserWSEndpoint':_0x4c4dc5[_0x5d0a1a(0x1a0)](helper['getPlaywrightUrl'](_0x443c56[_0x5d0a1a(0x20a)]),_0x4c4dc5['zriWM'](encodeURIComponent,JSON[_0x5d0a1a(0x1dc)](_0x1f5304)))}};}const _0x2c42f5={};return _0x2c42f5[_0x5d0a1a(0x1a1)]=_0x1f5304,_0x2c42f5;})()),_0x3aeb92=_0x4f0465[_0x1cb4dd(0x200)](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x1cb4dd(0x1fa)],_0x437aa3]);_0x574528[_0x176f4b]=_0x3aeb92?helper['mergeDeep'](_0x5ca189,_0x3aeb92):_0x5ca189,!_0x229e2b&&(_0x574528[_0x176f4b][_0x1cb4dd(0x203)]=_0x1f5304[_0x1cb4dd(0x1c3)]||_0x5ca189[_0x1cb4dd(0x203)]),_0x36d0f9[_0x1cb4dd(0x1b2)](_0x176f4b);});}else{_0x32f854=0x1;if(_0x229e2b){const _0x2d3989=_0x4f0465[_0x3d2d02(0x1af)](nestedKeyValue,_0x34f0e8,[_0x4f0465['UMvET'],_0x437aa3,_0x4f0465[_0x3d2d02(0x1ef)]]),_0x3ea3c5=_0x4f0465['KthUA'](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x3d2d02(0x1fa)],_0x437aa3,_0x2d3989]);_0x3ea3c5&&_0x3ea3c5[_0x3d2d02(0x22e)]&&(_0x3ea3c5[_0x3d2d02(0x22e)]=helper[_0x3d2d02(0x1ab)](null,null,_0x268548[_0x3d2d02(0x1dd)](),null,null,_0x3ea3c5[_0x3d2d02(0x22e)]));}else _0x34f0e8[_0x4f0465[_0x3d2d02(0x1fa)]][_0x437aa3][_0x4f0465[_0x3d2d02(0x21c)]]=helper['prepareCapabilities'](null,null,_0x268548[_0x3d2d02(0x1dd)](),_0x4f0465[_0x3d2d02(0x1d8)](nestedKeyValue,_0x34f0e8,[_0x4f0465[_0x3d2d02(0x1fa)],_0x437aa3,_0x4f0465['kduMg']]),null,null);_0x574528[_0x4f0465[_0x3d2d02(0x1fd)]]=_0x34f0e8,_0x36d0f9['push'](_0x4f0465[_0x3d2d02(0x1fd)]);}const _0x2f8b71={};_0x2f8b71[_0x3d2d02(0x20b)]=_0x31977e;const _0x3e7a91=_0x2f8b71,_0x50e67b=path['join'](__dirname,_0x4f0465[_0x3d2d02(0x232)]),_0x35f4ba=process[_0x3d2d02(0x1fc)]();process['env'][_0x4f0465[_0x3d2d02(0x1ed)]]=_0x35f4ba,process['chdir'](path[_0x3d2d02(0x1c0)](_0x31977e));const _0x3cd935=new CodeceptJS[(_0x3d2d02(0x1be))](null,_0x3e7a91),_0x124c67=_0x3cd935['createGroupsOfSuites'](_0x32f854),_0x44dc02=testOpsHelper[_0x3d2d02(0x234)](),_0x1c7571=_0x36d0f9[_0x3d2d02(0x1fe)](_0x229098=>{const _0x3368f7=_0x3d2d02,_0xf986c8={};_0xf986c8[_0x3368f7(0x1b6)]=_0x574528[_0x229098];const _0x45eabf={};_0x45eabf['WebDriver']=_0x574528[_0x229098];const _0x111945=_0x229e2b?_0xf986c8:_0x45eabf,_0x4ef26e=_0x4f0465['TZzSE'](getO11yRerunPattern),_0x250253={};_0x250253[_0x3368f7(0x223)]=_0x111945;const _0xae216b={};_0xae216b['require']=_0x50e67b,_0xae216b[_0x3368f7(0x1f9)]=!![],_0xae216b[_0x3368f7(0x235)]=_0x443c56[_0x3368f7(0x20a)][_0x3368f7(0x1cd)][_0x3368f7(0x235)],_0xae216b['skipSessionStatus']=_0x443c56[_0x3368f7(0x20a)]['testContextOptions']['skipSessionStatus'],_0xae216b[_0x3368f7(0x1b8)]=_0x44dc02,_0xae216b[_0x3368f7(0x1a6)]=_0x268548;const _0x287f4e={};_0x287f4e[_0x3368f7(0x1db)]=_0xae216b;const _0x3c17a9={};return _0x3c17a9['plugins']=_0x287f4e,helper[_0x3368f7(0x207)]({},_0x34f0e8,_0x4f0465[_0x3368f7(0x20c)](isBrowserstackInfra)?_0x250253:{},_0x4ef26e?{'grep':_0x4ef26e}:{},_0x3c17a9);});for(const _0x476c5b of _0x1c7571){for(const _0x53d4b9 of _0x124c67){const _0x2c9a72=_0x3cd935[_0x3d2d02(0x1ce)]();_0x2c9a72[_0x3d2d02(0x213)](_0x53d4b9),_0x2c9a72[_0x3d2d02(0x22c)](_0x476c5b);const _0x5bb739={};_0x5bb739['config']=_0x31977e,_0x2c9a72[_0x3d2d02(0x1a5)](_0x5bb739);}}_0x3cd935['on'](CodeceptJS[_0x3d2d02(0x1b3)][_0x3d2d02(0x205)][_0x3d2d02(0x220)],(_0x36d5ed,_0x28135a)=>{const _0x1d5797=_0x3d2d02;console[_0x1d5797(0x1aa)](_0x4f0465['hcQdO'],_0x36d5ed['title']);const _0x18415f={[_0x36d5ed[_0x1d5797(0x1ee)]]:_0x36d5ed[_0x1d5797(0x1f3)][_0x1d5797(0x226)]};_testErrorData[_0x1d5797(0x1b2)](_0x18415f);}),_0x3cd935['on'](CodeceptJS[_0x3d2d02(0x1b3)][_0x3d2d02(0x205)][_0x3d2d02(0x1bc)],async _0xc2af65=>{const _0x3e00ea=_0x3d2d02;console[_0x3e00ea(0x1aa)](_0x4f0465[_0x3e00ea(0x1ad)],_0xc2af65[_0x3e00ea(0x1ee)]);}),_0x3cd935['on'](CodeceptJS[_0x3d2d02(0x1b3)]['test'][_0x3d2d02(0x219)],async _0x3ffac9=>{const _0x1807bc=_0x3d2d02;console['log'](_0x4f0465[_0x1807bc(0x21f)],_0x3ffac9['title']);}),_0x3cd935['on'](CodeceptJS['event'][_0x3d2d02(0x218)]['result'],async()=>{const _0xb45ee=_0x3d2d02,_0x142f5e=_0x4f0465[_0xb45ee(0x1cb)]['split']('|');let _0x307f39=0x0;while(!![]){switch(_0x142f5e[_0x307f39++]){case'0':utilities[_0xb45ee(0x1c8)](_0x443c56);continue;case'1':_0x3cd935[_0xb45ee(0x206)]();continue;case'2':PerformanceTester['start'](PerformanceEvents[_0xb45ee(0x222)]);continue;case'3':_0x443c56['errorMessage']=_testErrorData;continue;case'4':testOpsHelper[_0xb45ee(0x1a3)]();continue;case'5':try{await TestHubHandler[_0xb45ee(0x229)]();}catch(_0x5bd6dc){logger[_0xb45ee(0x210)](_0xb45ee(0x1ea)+util[_0xb45ee(0x21b)](_0x5bd6dc));}continue;}break;}});async function _0x5a39f8(){const _0x1a2d42=_0x3d2d02;try{await _0x3cd935['bootstrapAll'](),await _0x3cd935[_0x1a2d42(0x209)]();}finally{process[_0x1a2d42(0x21e)](_0x35f4ba),await _0x3cd935['teardownAll']();}}PerformanceTester[_0x3d2d02(0x1c4)](PerformanceEvents[_0x3d2d02(0x1f2)]),_0x4f0465[_0x3d2d02(0x230)](_0x5a39f8);}module[a2_0x498333(0x1ec)]=run;
|
|
2
|
+
'use strict';const a2_0x505e16=a2_0x4737;function a2_0x4248(){const _0x1dc0ea=['join','cwd','skipSessionStatus','BrowserStackPlugin','SDK_CLEANUP','result','14583573BGqrll','JgiRx','140179RdYpJk','testObservability','validPlatformsPresent','profile','mergeDeep','title','accessibilityOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','trim','../../helpers/accessibility-automation/helper','codeceptjs/lib/index.js','teardownAll','4680HJZTub','FRAMEWORKS','playwright-chromium','3985UvrcNu','before','isTrue','1920732dOankt','existsSync','ANcay','../../helpers/BrowserStackSetup','prepareCapabilities','PzLFy','skipSessionName','isTestObservabilitySession','createGroupsOfSuites','platforms','run','YoJUJ','enabled','HLNXJ','codeceptjs','parallelsPerPlatform','wxBKb','passed','winstonLogger','../../helpers/performance/performance-tester','mvOBm','../../helpers/utilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','stringify','../../helpers/test-observability/utils','yLZZs','config','printResults','map','YSIsH','../../helpers/logger','../../bin/playwright/accessibility-helper','codecept.conf.js','bootstrapAll','mnOGW','webkit','lXFgO','../utils/constants','getPlatformName','event','launchBuild','isEmpty','FXMyJ','browserStackCwd','log','BROWSERSTACK_RERUN','info','IwEvB','Workers','3|1|2|5|0|4','require','MSCjC','start','njCfA','finalExecution','addOptions','../../helpers/performance/constants','push','plugins','testContextOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','3306406wXpddb','stop','getUserWorkerCount','vvZvB','ttESz','useW3C','rthiY','jXeOO','-cucumber','desiredCapabilities','testConfig','handleApp','1421ziuPSh','helpers','spawn','OnDqO','toLowerCase','browserWSEndpoint','stack','jeZmc','initialize','frameworkName','BROWSERSTACK_RERUN_TESTS','env','wUifb','Passed\x20:\x20','exports','forEach','yVtYb','../../helpers/helper','getPlaywrightUrl','dirname','SDK_SETUP','split','PIZXN','WebDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','validateRerunTestList','stAXN','aQVjL','browser','CODECEPT','err','chdir','load','browserName','process','all','length','addTests','chromium','failed','accessibility','test','uQlBR','../../helpers/testhub/testhubHandler','playwright-webkit','ptbOK','isUndefined','format','slice','7806jYFnVB','2439040yBIuWz','setAdditionalCapabilities','util','kJNZj'];a2_0x4248=function(){return _0x1dc0ea;};return a2_0x4248();}(function(_0x52c053,_0x37cd66){const _0x5d3b80=a2_0x4737,_0x25622b=_0x52c053();while(!![]){try{const _0x18d514=-parseInt(_0x5d3b80(0x1d0))/0x1+parseInt(_0x5d3b80(0x21f))/0x2+parseInt(_0x5d3b80(0x1e2))/0x3+-parseInt(_0x5d3b80(0x25d))/0x4+-parseInt(_0x5d3b80(0x1df))/0x5*(-parseInt(_0x5d3b80(0x25c))/0x6)+-parseInt(_0x5d3b80(0x22b))/0x7*(parseInt(_0x5d3b80(0x1dc))/0x8)+-parseInt(_0x5d3b80(0x1ce))/0x9;if(_0x18d514===_0x37cd66)break;else _0x25622b['push'](_0x25622b['shift']());}catch(_0x193dc8){_0x25622b['push'](_0x25622b['shift']());}}}(a2_0x4248,0xcd625));const fs=require('fs'),path=require('path'),util=require(a2_0x505e16(0x25f)),process=require(a2_0x505e16(0x24d)),logger=require(a2_0x505e16(0x200))[a2_0x505e16(0x1f4)],{default:BrowserStackSetup}=require(a2_0x505e16(0x1e5)),helper=require(a2_0x505e16(0x23c)),utilities=require(a2_0x505e16(0x1f7)),{checkAccessibilityPlatformConfig}=require(a2_0x505e16(0x1d9)),{setAccessibilityCapabilities}=require(a2_0x505e16(0x201)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x505e16(0x23c)),CodeceptJS=requireModule(a2_0x505e16(0x1da),a2_0x505e16(0x1f0)),testOpsHelper=require(a2_0x505e16(0x1fa)),TestHubHandler=require(a2_0x505e16(0x256)),constants=require(a2_0x505e16(0x207)),PerformanceTester=require(a2_0x505e16(0x1f5)),PerformanceEvents=require(a2_0x505e16(0x21a))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x33fad5,_0x503cac)=>{const _0x408d6d=a2_0x505e16,_0x31087b={};_0x31087b[_0x408d6d(0x255)]=function(_0x2103e3,_0xd816e2){return _0x2103e3===_0xd816e2;},_0x31087b[_0x408d6d(0x1f2)]=_0x408d6d(0x202),_0x31087b[_0x408d6d(0x232)]='codecept.json';const _0x41fc72=_0x31087b;let _0x28bca1=null;const _0x4ae810={};let _0x3d3fa2=_0x503cac['findIndex'](_0x4fb4b6=>_0x4fb4b6==='--config');_0x41fc72[_0x408d6d(0x255)](_0x3d3fa2,-0x1)&&(_0x3d3fa2=_0x503cac['findIndex'](_0x10c910=>_0x10c910==='-c'));if(!helper['isUndefined'](_0x33fad5[_0x408d6d(0x1fc)])&&fs[_0x408d6d(0x1e3)](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x33fad5[_0x408d6d(0x1fc)])))_0x28bca1=path['join'](process[_0x408d6d(0x262)](),_0x33fad5[_0x408d6d(0x1fc)]),_0x503cac[_0x408d6d(0x25b)](_0x3d3fa2,0x2);else{if(!helper[_0x408d6d(0x259)](_0x33fad5['c'])&&fs[_0x408d6d(0x1e3)](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x33fad5['c'])))_0x28bca1=path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x33fad5['c']),_0x503cac[_0x408d6d(0x25b)](_0x3d3fa2,0x2);else{if(fs['existsSync'](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72[_0x408d6d(0x1f2)])))_0x28bca1=path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72['wxBKb']);else fs[_0x408d6d(0x1e3)](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72[_0x408d6d(0x232)]))&&(_0x28bca1=path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72[_0x408d6d(0x232)]));}}return process[_0x408d6d(0x236)]['USER_CONFIG_DETAILS_PATH']=_0x28bca1,_0x28bca1;},getO11yRerunPattern=()=>{const _0x331db8=a2_0x505e16,_0x31f16f=helper[_0x331db8(0x1e1)](process[_0x331db8(0x236)][_0x331db8(0x20f)]);if(_0x31f16f){const _0x3302bb=process['env'][_0x331db8(0x235)],_0x118001=[];if(helper[_0x331db8(0x244)](_0x3302bb)&&!helper[_0x331db8(0x259)](_0x3302bb)){_0x3302bb[_0x331db8(0x240)](',')['map'](_0x1ef099=>{const _0x8652b8=_0x331db8;_0x118001['push']('('+_0x1ef099[_0x8652b8(0x1d8)]()+')');});const _0x14dc5d='^'+_0x118001[_0x331db8(0x261)]('|')+'$';return _0x14dc5d;}}return null;},a2_0x4c5db1={};a2_0x4c5db1['chrome']=a2_0x505e16(0x251),a2_0x4c5db1[a2_0x505e16(0x1de)]='chromium',a2_0x4c5db1['playwright-firefox']='firefox',a2_0x4c5db1[a2_0x505e16(0x257)]=a2_0x505e16(0x205);function a2_0x4737(_0x40bdc0,_0x1e1dff){const _0x4248dc=a2_0x4248();return a2_0x4737=function(_0x4737f1,_0x4c1139){_0x4737f1=_0x4737f1-0x1ca;let _0x50d1e2=_0x4248dc[_0x4737f1];return _0x50d1e2;},a2_0x4737(_0x40bdc0,_0x1e1dff);}const pwToCodeceptBrowser=a2_0x4c5db1;async function run(_0xac582b,_0x4d9b76){const _0x49a38f=a2_0x505e16,_0x450638={'ttESz':function(_0x393526,_0x3c2ff4){return _0x393526+_0x3c2ff4;},'HLNXJ':function(_0xed7fcc,_0xde09fe){return _0xed7fcc(_0xde09fe);},'lXFgO':function(_0x144162,_0x56c09a){return _0x144162+_0x56c09a;},'njCfA':function(_0x34b76d,_0x45db8f,_0x4b046b){return _0x34b76d(_0x45db8f,_0x4b046b);},'yLZZs':_0x49a38f(0x22c),'ANcay':function(_0x3d29bf){return _0x3d29bf();},'TMftT':function(_0x232d99){return _0x232d99();},'stAXN':'Failed\x20:\x20','ptbOK':_0x49a38f(0x238),'kJNZj':'Started\x20:\x20','OnDqO':_0x49a38f(0x213),'vvZvB':'codeceptjs','aQVjL':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','MSCjC':function(_0x37e7ca,_0x1837ab,_0x2c8e94){return _0x37e7ca(_0x1837ab,_0x2c8e94);},'mnOGW':'Playwright','IwEvB':'WebDriver','PzLFy':function(_0x25a70a,_0x346915){return _0x25a70a!=_0x346915;},'FXMyJ':function(_0x5c8a3d,_0x2c8e28){return _0x5c8a3d===_0x2c8e28;},'mvOBm':'gherkin','iHkfR':function(_0x5b0bb7,_0x1f4e98){return _0x5b0bb7+_0x1f4e98;},'mFjPb':_0x49a38f(0x227),'PIZXN':function(_0x31c0bc,_0x1e03c1){return _0x31c0bc(_0x1e03c1);},'wUifb':function(_0x57f159){return _0x57f159();},'YSIsH':function(_0x2ba86d,_0x36cd7c){return _0x2ba86d*_0x36cd7c;},'rthiY':function(_0x35e153,_0x401000,_0x2d3db0){return _0x35e153(_0x401000,_0x2d3db0);},'JgiRx':_0x49a38f(0x247),'YoJUJ':_0x49a38f(0x228),'jXeOO':'root','yVtYb':'BrowserStackPlugin.js','hOOGE':_0x49a38f(0x20d)},_0x531294=new BrowserStackSetup(_0xac582b,_0x450638['vvZvB']);await _0x531294[_0x49a38f(0x233)](),await helper[_0x49a38f(0x22a)](_0x531294[_0x49a38f(0x1fc)]);if(!_0x531294[_0x49a38f(0x1fc)])return;process[_0x49a38f(0x1d3)]=_0xac582b['profile'];_0xac582b[_0x49a38f(0x1d3)]&&(process[_0x49a38f(0x236)][_0x49a38f(0x1d3)]=_0xac582b['profile']);const _0x3926c4=_0x450638[_0x49a38f(0x217)](getUserCodeceptJSConfigs,_0xac582b,_0x4d9b76);let _0x1639d5={};_0x3926c4?(logger[_0x49a38f(0x210)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3926c4),_0x1639d5=CodeceptJS[_0x49a38f(0x1fc)][_0x49a38f(0x24b)](_0x3926c4)):logger[_0x49a38f(0x210)](_0x450638[_0x49a38f(0x246)]);let _0x23f17d=![];_0x450638['MSCjC'](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x450638[_0x49a38f(0x204)]])&&(_0x23f17d=!![]);const _0x1d0900=_0x23f17d?_0x450638[_0x49a38f(0x204)]:_0x450638[_0x49a38f(0x211)];let _0x102b89=!_0x23f17d?helper[_0x49a38f(0x224)](_0x531294['config']):![];!helper[_0x49a38f(0x259)](_0x531294[_0x49a38f(0x1fc)][_0x49a38f(0x1d6)])&&(process['env'][_0x49a38f(0x243)]=JSON[_0x49a38f(0x1f9)](_0x531294['config']['accessibilityOptions']));let _0x34d601=_0x531294[_0x49a38f(0x1fc)][_0x49a38f(0x253)];_0x34d601=_0x34d601||_0x450638[_0x49a38f(0x1ef)](checkAccessibilityPlatformConfig,_0x531294[_0x49a38f(0x1fc)]),process['env'][_0x49a38f(0x21e)]=_0x34d601;_0x34d601&&(_0x102b89=!_0x34d601);_0x450638[_0x49a38f(0x1e7)](_0x531294[_0x49a38f(0x1fc)]['testObservability'],null)?process[_0x49a38f(0x236)][_0x49a38f(0x1f8)]=_0x531294[_0x49a38f(0x1fc)]['testObservability']:process[_0x49a38f(0x236)][_0x49a38f(0x1f8)]=_0x450638[_0x49a38f(0x20c)](_0x1d0900,_0x450638['mnOGW']);const _0x963165=_0x450638[_0x49a38f(0x217)](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1f6)]]),_0x43dcc8=_0x450638['iHkfR'](_0x450638[_0x49a38f(0x222)],_0x963165&&!helper[_0x49a38f(0x20b)](_0x963165)?_0x450638['mFjPb']:''),_0x2c7892=await TestHubHandler[_0x49a38f(0x20a)](_0x43dcc8,_0x531294);_0x34d601&&_0x450638[_0x49a38f(0x241)](setAccessibilityCapabilities,_0x531294[_0x49a38f(0x1fc)]);const _0x5c6e77={},_0x57ef99=[],_0x1018f5=_0x531294[_0x49a38f(0x1fc)][_0x49a38f(0x1f1)]||helper[_0x49a38f(0x221)](_0xac582b,_0x4d9b76,_0x531294[_0x49a38f(0x1fc)],constants[_0x49a38f(0x1dd)][_0x49a38f(0x248)])||0x1;let _0x304f87=0x1;if(_0x450638[_0x49a38f(0x237)](isBrowserstackInfra)){const _0x926393=helper['prepareCapabilities'](_0x531294[_0x49a38f(0x1fc)],_0x102b89,constants['FRAMEWORKS'][_0x49a38f(0x248)]);_0x926393[_0x49a38f(0x23a)](_0x57ffab=>{const _0x2e0ff6=_0x49a38f;helper[_0x2e0ff6(0x25e)](_0x57ffab);}),helper[_0x49a38f(0x1d2)](_0x531294[_0x49a38f(0x1fc)])?_0x304f87=_0x450638[_0x49a38f(0x1ff)](_0x1018f5,_0x531294['config'][_0x49a38f(0x1eb)][_0x49a38f(0x24f)]):_0x304f87=_0x1018f5,_0x926393[_0x49a38f(0x23a)](_0x28fe58=>{const _0x2f91f4=_0x49a38f,_0x52522d=_0x450638[_0x2f91f4(0x206)](helper[_0x2f91f4(0x208)](_0x28fe58,'_'),'_'+Date['now']()),_0xdebf46=((()=>{const _0x686efe=_0x2f91f4;if(_0x23f17d){const _0x40a580=pwToCodeceptBrowser[_0x28fe58[_0x686efe(0x24c)]]||_0x28fe58[_0x686efe(0x24c)];return{'browser':_0x40a580,[_0x40a580]:{'browserWSEndpoint':_0x450638[_0x686efe(0x223)](helper[_0x686efe(0x23d)](_0x531294['config']),_0x450638[_0x686efe(0x1ef)](encodeURIComponent,JSON['stringify'](_0x28fe58)))}};}const _0x9d4b4={};return _0x9d4b4['desiredCapabilities']=_0x28fe58,_0x9d4b4;})()),_0x1e86c1=_0x450638[_0x2f91f4(0x217)](nestedKeyValue,_0x1639d5,[_0x450638[_0x2f91f4(0x1fb)],_0x1d0900]);_0x5c6e77[_0x52522d]=_0x1e86c1?helper['mergeDeep'](_0xdebf46,_0x1e86c1):_0xdebf46,!_0x23f17d&&(_0x5c6e77[_0x52522d][_0x2f91f4(0x247)]=_0x28fe58[_0x2f91f4(0x24c)]||_0xdebf46[_0x2f91f4(0x247)]),_0x57ef99[_0x2f91f4(0x21b)](_0x52522d);});}else{_0x304f87=0x1;if(_0x23f17d){const _0x367a89=_0x450638[_0x49a38f(0x225)](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x1d0900,_0x450638[_0x49a38f(0x1cf)]]),_0x410039=_0x450638['rthiY'](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x1d0900,_0x367a89]);_0x410039&&_0x410039[_0x49a38f(0x230)]&&(_0x410039['browserWSEndpoint']=helper[_0x49a38f(0x1e6)](null,null,_0x43dcc8['toLowerCase'](),null,null,_0x410039[_0x49a38f(0x230)]));}else _0x1639d5[_0x450638[_0x49a38f(0x1fb)]][_0x1d0900][_0x450638[_0x49a38f(0x1ed)]]=helper[_0x49a38f(0x1e6)](null,null,_0x43dcc8[_0x49a38f(0x22f)](),_0x450638[_0x49a38f(0x215)](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x1d0900,_0x450638[_0x49a38f(0x1ed)]]),null,null);_0x5c6e77[_0x450638['jXeOO']]=_0x1639d5,_0x57ef99['push'](_0x450638[_0x49a38f(0x226)]);}const _0x5c4c0b={};_0x5c4c0b[_0x49a38f(0x229)]=_0x3926c4;const _0x429733=_0x5c4c0b,_0x796159=path['join'](__dirname,_0x450638[_0x49a38f(0x23b)]),_0x221826=process['cwd']();process[_0x49a38f(0x236)][_0x450638['hOOGE']]=_0x221826,process[_0x49a38f(0x24a)](path[_0x49a38f(0x23e)](_0x3926c4));const _0x564754=new CodeceptJS[(_0x49a38f(0x212))](null,_0x429733),_0x5398c4=_0x564754[_0x49a38f(0x1ea)](_0x304f87),_0x34ae31=testOpsHelper[_0x49a38f(0x1e9)](),_0x387458=_0x57ef99[_0x49a38f(0x1fe)](_0x4c6d16=>{const _0x5aec2a=_0x49a38f,_0x5bdc6c={};_0x5bdc6c['Playwright']=_0x5c6e77[_0x4c6d16];const _0xa5eb3={};_0xa5eb3[_0x5aec2a(0x242)]=_0x5c6e77[_0x4c6d16];const _0x5c905c=_0x23f17d?_0x5bdc6c:_0xa5eb3,_0x4f1949=_0x450638[_0x5aec2a(0x1e4)](getO11yRerunPattern),_0x5ef5d0={};_0x5ef5d0[_0x5aec2a(0x22c)]=_0x5c905c;const _0x4a7154={};_0x4a7154[_0x5aec2a(0x214)]=_0x796159,_0x4a7154[_0x5aec2a(0x1ee)]=!![],_0x4a7154[_0x5aec2a(0x1e8)]=_0x531294['config'][_0x5aec2a(0x21d)][_0x5aec2a(0x1e8)],_0x4a7154[_0x5aec2a(0x1ca)]=_0x531294[_0x5aec2a(0x1fc)]['testContextOptions'][_0x5aec2a(0x1ca)],_0x4a7154[_0x5aec2a(0x1d1)]=_0x34ae31,_0x4a7154[_0x5aec2a(0x234)]=_0x43dcc8;const _0x1b5695={};_0x1b5695[_0x5aec2a(0x1cb)]=_0x4a7154;const _0x1de3f9={};return _0x1de3f9[_0x5aec2a(0x21c)]=_0x1b5695,helper[_0x5aec2a(0x1d4)]({},_0x1639d5,_0x450638['TMftT'](isBrowserstackInfra)?_0x5ef5d0:{},_0x4f1949?{'grep':_0x4f1949}:{},_0x1de3f9);});for(const _0xcda3a8 of _0x387458){for(const _0x525b4c of _0x5398c4){const _0x133090=_0x564754[_0x49a38f(0x22d)]();_0x133090[_0x49a38f(0x250)](_0x525b4c),_0x133090['addConfig'](_0xcda3a8);const _0x172cd8={};_0x172cd8[_0x49a38f(0x1fc)]=_0x3926c4,_0x133090[_0x49a38f(0x219)](_0x172cd8);}}_0x564754['on'](CodeceptJS[_0x49a38f(0x209)][_0x49a38f(0x254)][_0x49a38f(0x252)],(_0x13f78d,_0x3eb437)=>{const _0x5d86a7=_0x49a38f;console[_0x5d86a7(0x20e)](_0x450638[_0x5d86a7(0x245)],_0x13f78d['title']);const _0x2ef474={[_0x13f78d['title']]:_0x13f78d[_0x5d86a7(0x249)][_0x5d86a7(0x231)]};_testErrorData['push'](_0x2ef474);}),_0x564754['on'](CodeceptJS[_0x49a38f(0x209)][_0x49a38f(0x254)][_0x49a38f(0x1f3)],async _0x41bff7=>{const _0x41c8da=_0x49a38f;console[_0x41c8da(0x20e)](_0x450638[_0x41c8da(0x258)],_0x41bff7['title']);}),_0x564754['on'](CodeceptJS[_0x49a38f(0x209)][_0x49a38f(0x254)][_0x49a38f(0x1e0)],async _0x2a7c93=>{const _0x1cd97d=_0x49a38f;console[_0x1cd97d(0x20e)](_0x450638[_0x1cd97d(0x260)],_0x2a7c93[_0x1cd97d(0x1d5)]);}),_0x564754['on'](CodeceptJS['event'][_0x49a38f(0x24e)][_0x49a38f(0x1cd)],async()=>{const _0x417ed3=_0x49a38f,_0x427bf1=_0x450638[_0x417ed3(0x22e)][_0x417ed3(0x240)]('|');let _0x1bf78a=0x0;while(!![]){switch(_0x427bf1[_0x1bf78a++]){case'0':try{await TestHubHandler[_0x417ed3(0x220)]();}catch(_0x28b51f){logger['debug'](_0x417ed3(0x1d7)+util[_0x417ed3(0x25a)](_0x28b51f));}continue;case'1':_0x531294['errorMessage']=_testErrorData;continue;case'2':testOpsHelper['printBuildLink']();continue;case'3':PerformanceTester[_0x417ed3(0x216)](PerformanceEvents[_0x417ed3(0x1cc)]);continue;case'4':_0x564754[_0x417ed3(0x1fd)]();continue;case'5':utilities[_0x417ed3(0x218)](_0x531294);continue;}break;}});async function _0x36fee5(){const _0x237467=_0x49a38f;try{await _0x564754[_0x237467(0x203)](),await _0x564754[_0x237467(0x1ec)]();}finally{process['chdir'](_0x221826),await _0x564754[_0x237467(0x1db)]();}}PerformanceTester['end'](PerformanceEvents[_0x49a38f(0x23f)]),_0x450638[_0x49a38f(0x1e4)](_0x36fee5);}module[a2_0x505e16(0x239)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x158633=a3_0x144d;function a3_0x144d(_0xfa24fc,_0x5d731f){const _0x67730c=a3_0x6773();return a3_0x144d=function(_0x144df2,_0x1bb2c2){_0x144df2=_0x144df2-0x1cc;let _0x230db2=_0x67730c[_0x144df2];return _0x230db2;},a3_0x144d(_0xfa24fc,_0x5d731f);}(function(_0x3a7e27,_0x1e140a){const _0x562457=a3_0x144d,_0x50a436=_0x3a7e27();while(!![]){try{const _0x5f1ec2=-parseInt(_0x562457(0x1f1))/0x1*(parseInt(_0x562457(0x201))/0x2)+parseInt(_0x562457(0x213))/0x3+parseInt(_0x562457(0x1f9))/0x4+parseInt(_0x562457(0x1ea))/0x5+-parseInt(_0x562457(0x1d7))/0x6+-parseInt(_0x562457(0x1f2))/0x7*(parseInt(_0x562457(0x203))/0x8)+parseInt(_0x562457(0x205))/0x9*(parseInt(_0x562457(0x1f0))/0xa);if(_0x5f1ec2===_0x1e140a)break;else _0x50a436['push'](_0x50a436['shift']());}catch(_0x45a834){_0x50a436['push'](_0x50a436['shift']());}}}(a3_0x6773,0x1d92e));const {isUndefined,nestedKeyValue}=require(a3_0x158633(0x1cc)),logger=require('../../helpers/logger')[a3_0x158633(0x1d6)],PlaywrightSessionDetails=require(a3_0x158633(0x206)),{isAccessibilityAutomationSession}=require(a3_0x158633(0x1d5)),{getObservabilityLinkedProductName}=require(a3_0x158633(0x1cd)),getOSVersionFromCaps=_0x1412c5=>{const _0xc8622e=a3_0x158633,_0x18e1a6={};_0x18e1a6[_0xc8622e(0x212)]=_0xc8622e(0x1f3),_0x18e1a6[_0xc8622e(0x210)]=_0xc8622e(0x209),_0x18e1a6['WXwkZ']=_0xc8622e(0x1ec),_0x18e1a6[_0xc8622e(0x1e6)]=_0xc8622e(0x202),_0x18e1a6[_0xc8622e(0x200)]='os_version';const _0x3366f7=_0x18e1a6;if(!_0x1412c5)return null;const _0x177e97=_0x1412c5[_0x3366f7['vmUpw']],_0x4b008b=[_0x3366f7['sYsli'],_0x3366f7['WXwkZ'],_0x3366f7[_0xc8622e(0x1e6)],_0x3366f7['emfUT']];for(const _0x4c2c06 of _0x4b008b){if(_0x177e97&&_0x177e97[_0x4c2c06])return _0x177e97[_0x4c2c06];else{if(_0x1412c5[_0x4c2c06])return _0x1412c5[_0x4c2c06];}}return null;};function a3_0x6773(){const _0x5c82bd=['pRqKl','__cloud_provider___','browserstack_executor','includes','DRugo','EdwRH','warn','browserWSEndpoint','VXPhx','obtOG','XMGfV','constructor','processWebDriverConfig','deviceName','333305PtmZDz','accessibilityPlatform','platform_version','tRepu','sessionId','chrome','30iyDDTA','12mCfXwp','7nyiKeT','bstack:options','latest','browser','parse','VRYbU','FgLmX','412008KAgLvM','xkRlx','platformName','FqrxH','shouldPatchExecuteScript','liMaX','vXqgi','emfUT','7444DfBRgL','osVersion','687944CHKeda','browserName','412812yqKlaf','../../bin/playwright/sessionDetails','Jvzrk','searchParams','platformVersion','get','config','Playwright','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','desiredCapabilities','rldNM','sYsli','WebDriver','vmUpw','532566owIfLy','browserstack_accessibility_automation_script','bsSessionId','XpCWj','../../helpers/helper','../../helpers/test-observability/utils','HLZms','name','browser_version','browserVersion','unknown_grid','fetchPlatformDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../helpers/accessibility-automation/helper','winstonLogger','1397988vcRWet','fsKQt','getDetails','GXVqQ','playwright-chromium'];a3_0x6773=function(){return _0x5c82bd;};return a3_0x6773();}exports[a3_0x158633(0x1d3)]=_0x796e9d=>{const _0x18300c=a3_0x158633,_0x30f540={'XpCWj':_0x18300c(0x1d2),'EdwRH':function(_0xb71311,_0x58c8a8){return _0xb71311===_0x58c8a8;},'Wnwpx':_0x18300c(0x211),'VRYbU':function(_0x17b32f,_0x51fe08){return _0x17b32f(_0x51fe08);},'liMaX':function(_0x5b5d65,_0x341a77,_0x294180){return _0x5b5d65(_0x341a77,_0x294180);},'GXVqQ':_0x18300c(0x20b),'Jvzrk':_0x18300c(0x20e),'NKvnb':function(_0x1247cd,_0x5f084f){return _0x1247cd(_0x5f084f);},'Sksfs':_0x18300c(0x20c),'cFyZn':function(_0x519a14,_0x4361db,_0x425179){return _0x519a14(_0x4361db,_0x425179);},'FgLmX':_0x18300c(0x1f5),'DRugo':_0x18300c(0x1e3),'obtOG':'caps'};if(!_0x796e9d)return null;let _0xafd795=global[_0x18300c(0x1dd)]||_0x30f540[_0x18300c(0x216)];if(_0x30f540[_0x18300c(0x1e1)](_0x796e9d[_0x18300c(0x1e7)][_0x18300c(0x1cf)],_0x30f540['Wnwpx'])){const _0x36df64=_0x796e9d[_0x18300c(0x1f5)];if(!_0x36df64)return null;const _0x403618=_0x36df64['capabilities'],_0x10f117=_0x30f540['VRYbU'](getOSVersionFromCaps,_0x30f540[_0x18300c(0x1fe)](nestedKeyValue,_0x796e9d,[_0x30f540[_0x18300c(0x1da)],_0x30f540[_0x18300c(0x207)]]));return{[_0xafd795]:{'browser':_0x403618[_0x18300c(0x204)],'browser_version':_0x403618[_0x18300c(0x1d1)],'capabilities':_0x403618,'platform':_0x403618[_0x18300c(0x1fb)],'platform_version':_0x403618[_0x18300c(0x209)]||_0x10f117,'product':_0x30f540['NKvnb'](getObservabilityLinkedProductName,_0x403618),'session_id':_0x36df64[_0x18300c(0x1ee)]}};}else{if(_0x30f540[_0x18300c(0x1e1)](_0x796e9d['constructor'][_0x18300c(0x1cf)],_0x30f540['Sksfs'])){const _0x15b56e=PlaywrightSessionDetails[_0x18300c(0x1d9)]();_0xafd795=_0x15b56e['cloudProvider']||_0xafd795;const _0x4e0a6d=_0x30f540['cFyZn'](nestedKeyValue,_0x796e9d,[_0x30f540[_0x18300c(0x1da)],_0x30f540[_0x18300c(0x1f8)],_0x30f540[_0x18300c(0x1e0)]]),_0x50cf71=_0x4e0a6d?JSON[_0x18300c(0x1f6)](new URL(_0x4e0a6d)[_0x18300c(0x208)][_0x18300c(0x20a)](_0x30f540[_0x18300c(0x1e5)])):{};return{[_0xafd795]:{'browser':_0x15b56e['browser']||_0x50cf71['browserName'],'browser_version':_0x15b56e[_0x18300c(0x1d0)]||_0x50cf71[_0x18300c(0x1d0)],'capabilities':_0x50cf71,'platform':_0x15b56e['platform'],'platform_version':_0x15b56e['platform_version'],'product':_0x30f540[_0x18300c(0x1f7)](getObservabilityLinkedProductName,_0x50cf71),'session_id':_0x15b56e[_0x18300c(0x215)]}};}}},exports[a3_0x158633(0x1e8)]=_0x1fca87=>{const _0x1d4712=a3_0x158633,_0x19d774={'rldNM':function(_0x311615){return _0x311615();},'FqrxH':function(_0x42dfdc,_0x1ae76a){return _0x42dfdc===_0x1ae76a;},'zTAWp':_0x1d4712(0x1f4),'tRepu':function(_0xe87ebd,_0x4bf849){return _0xe87ebd>_0x4bf849;},'VXPhx':function(_0x5890cc,_0x51e2a8){return _0x5890cc(_0x51e2a8);},'xkRlx':_0x1d4712(0x1d4),'HLZms':function(_0xe25a26,_0x4a2ad7){return _0xe25a26===_0x4a2ad7;},'MkBan':_0x1d4712(0x1ef),'fSCXU':function(_0x4c922b,_0x3da015){return _0x4c922b===_0x3da015;},'sBEXN':_0x1d4712(0x1db),'ldCdL':_0x1d4712(0x20d),'pRqKl':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x19d774[_0x1d4712(0x20f)](isAccessibilityAutomationSession)){const _0x1c05f8=_0x1fca87['browser'],_0x362849=_0x1c05f8['capabilities'];global[_0x1d4712(0x1eb)]=!![],!(_0x19d774[_0x1d4712(0x1fc)](_0x362849[_0x1d4712(0x1d1)],_0x19d774['zTAWp'])||_0x19d774[_0x1d4712(0x1ed)](_0x19d774[_0x1d4712(0x1e4)](parseInt,_0x362849[_0x1d4712(0x1d1)]),0x5e))&&(logger[_0x1d4712(0x1e2)](_0x19d774[_0x1d4712(0x1fa)]),global[_0x1d4712(0x1eb)]=![]),!(_0x19d774[_0x1d4712(0x1ce)](_0x362849[_0x1d4712(0x204)],_0x19d774['MkBan'])||_0x19d774['fSCXU'](_0x362849[_0x1d4712(0x204)],_0x19d774['sBEXN']))&&(logger[_0x1d4712(0x1e2)](_0x19d774['ldCdL']),global['accessibilityPlatform']=![]),!_0x19d774['VXPhx'](isUndefined,_0x362849[_0x1d4712(0x1e9)])&&(logger['warn'](_0x19d774[_0x1d4712(0x1dc)]),global[_0x1d4712(0x1eb)]=![]);}},exports[a3_0x158633(0x1fd)]=_0x5cccf6=>{const _0x40059a=a3_0x158633,_0x3da7b7={};_0x3da7b7[_0x40059a(0x1d8)]=_0x40059a(0x1de),_0x3da7b7[_0x40059a(0x1ff)]=_0x40059a(0x214);const _0x44bf5b=_0x3da7b7;if(!_0x5cccf6)return![];return!_0x5cccf6[_0x40059a(0x1df)](_0x44bf5b[_0x40059a(0x1d8)])&&!_0x5cccf6[_0x40059a(0x1df)](_0x44bf5b['vXqgi']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0xc9dcdf=a4_0x4adc;(function(_0x377d1f,_0xa87fe4){const _0x2a683a=a4_0x4adc,_0x3054a1=_0x377d1f();while(!![]){try{const _0x49323e=parseInt(_0x2a683a(0x1c6))/0x1+-parseInt(_0x2a683a(0x1df))/0x2*(parseInt(_0x2a683a(0x229))/0x3)+-parseInt(_0x2a683a(0x17f))/0x4+-parseInt(_0x2a683a(0x1d3))/0x5+parseInt(_0x2a683a(0x1f9))/0x6+parseInt(_0x2a683a(0x186))/0x7*(-parseInt(_0x2a683a(0x209))/0x8)+-parseInt(_0x2a683a(0x1c8))/0x9*(-parseInt(_0x2a683a(0x23f))/0xa);if(_0x49323e===_0xa87fe4)break;else _0x3054a1['push'](_0x3054a1['shift']());}catch(_0x555ac3){_0x3054a1['push'](_0x3054a1['shift']());}}}(a4_0x1ebb,0x7a4bf));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0xc9dcdf(0x1d5)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0xc9dcdf(0x1c3)),{getTestEnv}=require(a4_0xc9dcdf(0x1af)),{FRAMEWORKS}=require(a4_0xc9dcdf(0x1e6)),logger=require(a4_0xc9dcdf(0x254))[a4_0xc9dcdf(0x207)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0xc9dcdf(0x1ff)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0xc9dcdf(0x1e3)],{processAccessibilityCaps}=require(a4_0xc9dcdf(0x17b)),Constants=require(a4_0xc9dcdf(0x1d8)),{fetchPlatformDetails}=require(a4_0xc9dcdf(0x1b7)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xc9dcdf(0x205)),STATE_PASSED='passed',STATE_FAILED=a4_0xc9dcdf(0x238),a4_0x3751a5={};a4_0x3751a5[a4_0xc9dcdf(0x1a6)]=a4_0xc9dcdf(0x24f),a4_0x3751a5[a4_0xc9dcdf(0x22e)]=a4_0xc9dcdf(0x1a9),a4_0x3751a5['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x3751a5[a4_0xc9dcdf(0x1c0)]=a4_0xc9dcdf(0x18a),a4_0x3751a5['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x3751a5,parseEvent=_0x42146c=>{const _0x2208dd=a4_0xc9dcdf,_0x5cf937={};_0x5cf937[_0x2208dd(0x1f4)]=function(_0x213269,_0x376ba4){return _0x213269<_0x376ba4;},_0x5cf937['axGCJ']=function(_0xd4c6a,_0x276d7e){return _0xd4c6a===_0x276d7e;},_0x5cf937['BeapQ']=_0x2208dd(0x1e0),_0x5cf937['QOlAF']=function(_0x127785,_0xb58105){return _0x127785===_0xb58105;},_0x5cf937['tZPhd']=_0x2208dd(0x200),_0x5cf937['SEFVa']=function(_0x2011da,_0x5c388f){return _0x2011da===_0x5c388f;},_0x5cf937[_0x2208dd(0x20a)]='skipped',_0x5cf937[_0x2208dd(0x260)]=function(_0x1386d6,_0x28e75b){return _0x1386d6===_0x28e75b;},_0x5cf937['QTBhY']=_0x2208dd(0x26a),_0x5cf937[_0x2208dd(0x26e)]=_0x2208dd(0x24b);const _0x52a7a5=_0x5cf937,_0x2e900b=_0x42146c[_0x2208dd(0x1db)](/^(.*)Run(.*)$/);if(!_0x2e900b)return null;if(_0x52a7a5['ythfJ'](_0x2e900b[_0x2208dd(0x253)],0x3))return null;const _0x540733=_0x2e900b[0x1][_0x2208dd(0x1d6)](),_0x282245=_0x2e900b[0x2][_0x2208dd(0x1d6)]();return{'test':_0x52a7a5[_0x2208dd(0x217)](_0x540733,_0x52a7a5[_0x2208dd(0x232)]),'hook':_0x52a7a5[_0x2208dd(0x225)](_0x540733,_0x52a7a5[_0x2208dd(0x1b1)]),'skipped':_0x52a7a5['SEFVa'](_0x282245,_0x52a7a5[_0x2208dd(0x20a)]),'started':_0x52a7a5[_0x2208dd(0x260)](_0x282245,_0x52a7a5['QTBhY']),'finished':_0x52a7a5[_0x2208dd(0x260)](_0x282245,_0x52a7a5['fbcsd'])};},mockPWBrowserType=_0x1901bf=>{const _0x1a0781=a4_0xc9dcdf,_0x31d37a={'SgHDa':function(_0xd9fb8c,_0x4825f3){return _0xd9fb8c===_0x4825f3;},'fEUYF':_0x1a0781(0x256),'LfzOP':function(_0x3bac9c,_0x4c345a,_0x246136){return _0x3bac9c(_0x4c345a,_0x246136);},'ShIvd':_0x1a0781(0x215),'JNQhn':function(_0x1afe94,_0x1547ab){return _0x1afe94(_0x1547ab);},'aVXDm':_0x1a0781(0x278),'PmBVx':_0x1a0781(0x191),'Sqgie':_0x1a0781(0x23c),'PjiUy':_0x1a0781(0x183),'SpFDT':_0x1a0781(0x245),'bCuMP':_0x1a0781(0x233),'tCvgf':_0x1a0781(0x213)},_0x3c317d=path[_0x1a0781(0x18d)](_0x31d37a[_0x1a0781(0x21f)],_0x31d37a[_0x1a0781(0x180)],_0x31d37a[_0x1a0781(0x21b)]),_0x7c06c0=_0x31d37a[_0x1a0781(0x268)](importFileFromPWCore,_0x3c317d);if(!_0x7c06c0){_0x31d37a[_0x1a0781(0x268)](debug,_0x31d37a[_0x1a0781(0x258)]);return;}const _0x4c219a=_0x7c06c0[_0x1a0781(0x1ad)],_0x39e807=_0x4c219a[_0x1a0781(0x1b8)];if(_0x39e807[_0x1a0781(0x22d)])return;const _0x5ad21b=_0x39e807[_0x1a0781(0x233)];Object['defineProperty'](_0x39e807,_0x31d37a[_0x1a0781(0x1ea)],{'get':function(){const _0x3aef5c=_0x1a0781,_0x35d2d1={'nOCTa':function(_0x41b348,_0x576cf9){const _0x2a4a9c=a4_0x4adc;return _0x31d37a[_0x2a4a9c(0x1c4)](_0x41b348,_0x576cf9);},'vFxmn':_0x31d37a[_0x3aef5c(0x262)],'lXUWZ':function(_0x80a5c6,_0x131c68,_0x4930c){const _0x391746=_0x3aef5c;return _0x31d37a[_0x391746(0x1a3)](_0x80a5c6,_0x131c68,_0x4930c);},'eXSoc':_0x31d37a[_0x3aef5c(0x243)],'UANak':function(_0x2d16ee,_0x52423c){const _0x440339=_0x3aef5c;return _0x31d37a[_0x440339(0x268)](_0x2d16ee,_0x52423c);},'GioTg':_0x31d37a[_0x3aef5c(0x1cf)]};return async function _0x350eb0(_0x4116c4,_0x42046e){const _0x273bfc=_0x3aef5c,_0xc2443b=_0x35d2d1[_0x273bfc(0x1f5)](nestedKeyValue,_0x4116c4,[_0x35d2d1[_0x273bfc(0x1bb)]])||_0x4116c4;let _0x1b0c82=null,_0x28a99e=null;try{[_0x28a99e,_0x1b0c82]=_0xc2443b?_0x35d2d1[_0x273bfc(0x192)](parseWSEndpoint,_0xc2443b):[null,null],global[_0x273bfc(0x1ce)]=_0x1b0c82,_0x28a99e[_0x273bfc(0x252)](_0x35d2d1[_0x273bfc(0x1c9)])&&(global[_0x273bfc(0x263)]=_0x35d2d1[_0x273bfc(0x1c9)]);}catch(_0x109774){logger[_0x273bfc(0x1e3)](_0x273bfc(0x19f)+_0xc2443b+'\x20'+_0x109774);}_0x35d2d1[_0x273bfc(0x1f5)](processAccessibilityCaps,_0x1b0c82,_0x28a99e);if(global['accessibilityPlatform']){const _0x559763=await _0x39e807[_0x273bfc(0x1d7)][_0x273bfc(0x1ca)](this,[''+Constants[_0x273bfc(0x1ee)]+_0x35d2d1['UANak'](encodeURIComponent,JSON[_0x273bfc(0x196)](_0x1b0c82))]);return PlaywrightSessionDetails[_0x273bfc(0x1f7)](_0x559763,_0x1901bf,_0xc2443b),_0x559763;}return _0x5ad21b[_0x273bfc(0x1ca)](this,arguments)['then'](_0x35f9d4=>{const _0x375fe6=_0x273bfc;let _0x193868=_0x4116c4['wsEndpoint'];return _0x35d2d1[_0x375fe6(0x20d)](typeof _0x4116c4,_0x35d2d1[_0x375fe6(0x1b0)])&&(_0x193868=_0x4116c4),PlaywrightSessionDetails[_0x375fe6(0x1f7)](_0x35f9d4,_0x1901bf,_0x193868),_0x35f9d4;});};}});const _0x1c1af1=_0x39e807[_0x1a0781(0x213)];Object[_0x1a0781(0x230)](_0x39e807,_0x31d37a['tCvgf'],{'get':function(){return async function _0x730325(){const _0x5caa30=a4_0x4adc;return _0x1c1af1['apply'](this,arguments)[_0x5caa30(0x231)](_0xa94431=>{const _0x39fcfd=_0x5caa30;return PlaywrightSessionDetails[_0x39fcfd(0x1f7)](_0xa94431,null),_0xa94431;});};}});};function a4_0x1ebb(){const _0x25d9bd=['bind','fullTitle','STATE_FAILED','type','removeAllListeners','rKNnf','browserstack','O11yHelper','_beforeEach','../playwright/accessibility-helper','bddStepStart','inspect','Qivpf','1152260IQECkj','Sqgie','hook_run_uuid','getFailureType','browserType.js','startedAt','bs:addLog:','1981MnOGLR','currentHook','PathHelper','meta','HookRunStarted','fireEvent','enabled','join','iBGOQ','stepAnalyticsId','svNFE','lib','UANak','VqQke','errorsDetailed','driver','stringify','Playwright','BwRjd','File\x20path\x20could\x20not\x20be\x20found','IYodY','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','test_run','config','location_prefix','Failed\x20to\x20parse\x20wsendpoint\x20','wzfsh','codeceptjs','wihMv','LfzOP','DFJCK','parent','TEST_RUN_STARTED','patchConsoleLogger','resetSkipTestHooks','TestRunFinished','getInstance','expanded','toString','BrowserType','1|0|5|2|4|3','../mocha/test-observability/mochaUtils','vFxmn','tZPhd','zoKnr','pending','getTime','YyoVP','stop','./helper.js','prototype','test_run_uuid','now','eXSoc','sep','name','YmDbn','file','HOOK_RUN_STARTED','exports','mapTestHooks','../../helpers/test-observability/utils','SgHDa','getCBTInfo','549207ZRRuba','comment','14917977YQLAXU','GioTg','apply','CBTSessionCreated','_paths','eZnPI','__platformCaps','aVXDm','getRootParentFile','KHKKR','suites','1562665KglbRH','hooks','uuid','toLowerCase','connectOverCDP','../utils/constants','finished_at','TEST_EVENTS','match','frameworkName','NvoUG','findGitConfig','2162ctMAvH','test','CLoJK','VcRBc','debug','result','backtrace','../../helpers/test-observability/constants','LogCreated','file_name','ctx','bCuMP','shutdown','xUVTo','testAnalyticsId','PLAYWRIGHT_HUB_URL','FkivL','_beforeAll','start','javascript','captureEvent','ythfJ','lXUWZ','initializeBddStep','setupBrowserDetails','failureData','1452168MuUYha','bddStepFinish','event_type','ogFAt','HMiIi','hookAnalyticsId','../../helpers/test-observability/requestQueueHandler','hook','keyword','body','getHierarchy','sendCBTInfo','../../helpers/testhub/utils.js','eRETo','winstonLogger','DtnIW','10216sVxGub','hYdQP','NbtOC','kbcQk','nOCTa','duration','kZPab','AJTCf','UwqRK','cwd','launch','tUvxS','wsEndpoint','retryOf','axGCJ','_afterEach','logs','zAHnY','PjiUy','appendTestItemLog','push','success','PmBVx','VeTnS','find','failed\x20to\x20get\x20root\x20parent\x20file\x20','currentTest','pAJCx','QOlAF','Ykzir','split','_testEnv','2736feNUKW','toUpperCase','nNsXz','LSiOt','obsBrowserTypeMockApplied','TEST_RUN_FINISHED','yBzzo','defineProperty','then','BeapQ','connect','getHookType','toISOString','bddSteps','hook_type','failed','err','concat','passed','client','uHwEf','CVnsa','10FQutYE','PGQuh','markedStatus','getHooksForTest','ShIvd','riGmQ','Not\x20able\x20to\x20import\x20Browser','\x20with\x20error\x20:\x20','uVzOW','bzUdH','util','statSync','finished','uploadEventData','pid','message','TestRunStarted','OwAbg','tags','includes','length','../../helpers/logger','smvsY','string','FEocD','SpFDT','pQKDW','failure_backtrace','skipped','_afterAll','sNZBI','feature','forEach','ycnPo','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','fEUYF','__cloud_provider___','integrations','FhnLy','STATE_PASSED','failure','JNQhn','yleAD','started','status','relative','LMeyr','fbcsd','groups','dirname','title'];a4_0x1ebb=function(){return _0x25d9bd;};return a4_0x1ebb();}class O11yHelper{[a4_0xc9dcdf(0x223)]=null;['currentHook']=null;[a4_0xc9dcdf(0x18c)]=![];[a4_0xc9dcdf(0x1dc)]=![];constructor(_0x4ef08c,_0x1d526a){const _0x280c64=a4_0xc9dcdf,_0x43c49e={'svNFE':_0x280c64(0x1ae),'bzUdH':function(_0x1c9324){return _0x1c9324();},'yBzzo':function(_0x2c65c6){return _0x2c65c6();},'rKNnf':function(_0x119ad3,_0x3bc846){return _0x119ad3===_0x3bc846;},'fcjZh':_0x280c64(0x197),'kZPab':function(_0x478740,_0x255ae6){return _0x478740(_0x255ae6);}},_0xff75aa=_0x43c49e[_0x280c64(0x190)][_0x280c64(0x227)]('|');let _0x219112=0x0;while(!![]){switch(_0xff75aa[_0x219112++]){case'0':this[_0x280c64(0x1dc)]=_0x1d526a[_0x280c64(0x1dc)];continue;case'1':this['enabled']=_0x43c49e[_0x280c64(0x248)](shouldProcessEventForTesthub);continue;case'2':this[_0x280c64(0x228)]=_0x43c49e[_0x280c64(0x22f)](getTestEnv);continue;case'3':this[_0x280c64(0x195)]&&_0x43c49e[_0x280c64(0x277)](this[_0x280c64(0x195)]['constructor'][_0x280c64(0x1bd)],_0x43c49e['fcjZh'])&&_0x43c49e[_0x280c64(0x20f)](mockPWBrowserType,null);continue;case'4':this[_0x280c64(0x1cc)]=new testOpsHelper[(_0x280c64(0x188))]({'cwd':process[_0x280c64(0x212)]()},this['_testEnv'][_0x280c64(0x19e)]);continue;case'5':this[_0x280c64(0x195)]=_0x4ef08c;continue;}break;}}[a4_0xc9dcdf(0x1f1)](){const _0xb9aad3=a4_0xc9dcdf;if(!this[_0xb9aad3(0x18c)])return;testOpsHelper[_0xb9aad3(0x1a7)](),process[_0xb9aad3(0x276)](_0xb9aad3(0x185)+process[_0xb9aad3(0x24d)]),process['on']('bs:addLog:'+process[_0xb9aad3(0x24d)],this[_0xb9aad3(0x21c)][_0xb9aad3(0x272)](this));}async[a4_0xc9dcdf(0x1b6)](){const _0x527d15=a4_0xc9dcdf;await RequestQueueHandler[_0x527d15(0x1aa)]()[_0x527d15(0x1eb)]();}async[a4_0xc9dcdf(0x21c)](_0xc4aca7){const _0x29b7d2=a4_0xc9dcdf,_0x5d8a4c={'BwRjd':_0x29b7d2(0x1e7),'pNILa':function(_0x1b8be9,_0x208590){return _0x1b8be9(_0x208590);}};try{this[_0x29b7d2(0x187)]&&!this[_0x29b7d2(0x187)][_0x29b7d2(0x241)]&&(_0xc4aca7['hook_run_uuid']=this[_0x29b7d2(0x187)][_0x29b7d2(0x1fe)]);!_0xc4aca7[_0x29b7d2(0x181)]&&this[_0x29b7d2(0x223)]&&!this[_0x29b7d2(0x223)]['markedStatus']&&(_0xc4aca7[_0x29b7d2(0x1b9)]=this[_0x29b7d2(0x223)]['testAnalyticsId']);if(_0xc4aca7['hook_run_uuid']||_0xc4aca7[_0x29b7d2(0x1b9)]){const _0x282bce={};_0x282bce[_0x29b7d2(0x1fb)]=_0x5d8a4c[_0x29b7d2(0x198)],_0x282bce[_0x29b7d2(0x219)]=[_0xc4aca7],await SessionHandler[_0x29b7d2(0x24c)](_0x282bce);}}catch(_0x20781b){_0x5d8a4c['pNILa'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x20781b);}}async[a4_0xc9dcdf(0x204)](_0xbd8a80){const _0x25a1b1=a4_0xc9dcdf,_0x3dee1a={'xcFwV':_0x25a1b1(0x1cb),'pAJCx':function(_0x512b21,_0x3fe895){return _0x512b21(_0x3fe895);}};if(!this[_0x25a1b1(0x18c)])return;const _0x5f1fc2=this[_0x25a1b1(0x1c5)](this[_0x25a1b1(0x195)]);try{const _0x454105={};_0x454105[_0x25a1b1(0x1d5)]=_0xbd8a80,_0x454105[_0x25a1b1(0x264)]=_0x5f1fc2;const _0x2ccae4=_0x454105,_0x20f95d={};_0x20f95d['event_type']=_0x3dee1a['xcFwV'],_0x20f95d[_0x25a1b1(0x19c)]=_0x2ccae4,await SessionHandler[_0x25a1b1(0x24c)](_0x20f95d);}catch(_0x2e8514){_0x3dee1a[_0x25a1b1(0x224)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2e8514);}}['getCBTInfo'](_0x507379){const _0x9cad55=a4_0xc9dcdf,_0x269e23={'FhnLy':function(_0x57800d,_0x11cc32){return _0x57800d(_0x11cc32);}};return _0x269e23[_0x9cad55(0x265)](fetchPlatformDetails,_0x507379);}[a4_0xc9dcdf(0x1a8)]=_0x4e4efc=>{const _0x146de4=a4_0xc9dcdf,_0x136e93={};_0x136e93[_0x146de4(0x210)]=_0x146de4(0x17a),_0x136e93[_0x146de4(0x23e)]=_0x146de4(0x218);const _0xae5341=_0x136e93;if(!_0x4e4efc||!_0x4e4efc['parent'])return;[_0xae5341[_0x146de4(0x210)],_0xae5341[_0x146de4(0x23e)]][_0x146de4(0x25f)](_0x5cd875=>{const _0x229b20=_0x146de4,_0x3d2b19=_0x4e4efc[_0x229b20(0x1a5)][_0x5cd875];_0x3d2b19[_0x229b20(0x25f)](_0x5343f7=>{const _0x1e037a=_0x229b20;_0x5343f7[_0x1e037a(0x1fe)]&&(_0x5343f7[_0x1e037a(0x1fe)]=null);});});};['mapTestHooks'](_0x47b85f){const _0x2f93f2=a4_0xc9dcdf,_0x2f4743={'pQKDW':_0x2f93f2(0x1a1),'IYodY':function(_0x3db6b1){return _0x3db6b1();},'VeTnS':function(_0x125a58,_0x1bd00a){return _0x125a58===_0x1bd00a;},'uHwEf':'_afterEach','tUvxS':function(_0x161878){return _0x161878();},'nvucW':'_beforeAll','fAxXP':_0x2f93f2(0x25c),'nHuqT':'_beforeEach'};if(!_0x47b85f||!_0x47b85f[_0x2f93f2(0x1a5)])return;[_0x2f4743['nvucW'],_0x2f4743['fAxXP'],_0x2f4743['nHuqT'],_0x2f4743['uHwEf']][_0x2f93f2(0x25f)](_0xb8b2d2=>{const _0x5ee8b7=_0x2f93f2,_0x26faa8=_0x47b85f[_0x5ee8b7(0x1a5)][_0xb8b2d2]||[];_0x26faa8[_0x5ee8b7(0x25f)](_0x54e98f=>{const _0x773dbc=_0x5ee8b7;if(_0x54e98f[_0x773dbc(0x271)]['includes'](_0x2f4743[_0x773dbc(0x259)]))return;if(!_0x54e98f[_0x773dbc(0x1fe)])_0x54e98f['hookAnalyticsId']=_0x2f4743[_0x773dbc(0x19a)](uuidv4);else _0x54e98f[_0x773dbc(0x241)]&&_0x2f4743[_0x773dbc(0x220)](_0xb8b2d2,_0x2f4743[_0x773dbc(0x23d)])&&(_0x54e98f['hookAnalyticsId']=_0x2f4743[_0x773dbc(0x214)](uuidv4),delete _0x54e98f[_0x773dbc(0x241)]);});}),this[_0x2f93f2(0x1c2)](_0x47b85f[_0x2f93f2(0x1a5)]);}[a4_0xc9dcdf(0x242)](_0x37612c){const _0xf1df5f=a4_0xc9dcdf,_0x34f788={};_0x34f788[_0xf1df5f(0x20b)]=_0xf1df5f(0x1f0),_0x34f788[_0xf1df5f(0x1b5)]=_0xf1df5f(0x25c),_0x34f788[_0xf1df5f(0x255)]=_0xf1df5f(0x17a),_0x34f788[_0xf1df5f(0x211)]=_0xf1df5f(0x218);const _0x3c7f54=_0x34f788;if(!_0x37612c||!_0x37612c[_0xf1df5f(0x1a5)])return[];const _0x1c1147=[];return[_0x3c7f54['NbtOC'],_0x3c7f54[_0xf1df5f(0x1b5)],_0x3c7f54['smvsY'],_0x3c7f54[_0xf1df5f(0x211)]][_0xf1df5f(0x25f)](_0x464bf8=>{const _0x411249=_0xf1df5f,_0x3b623b=_0x37612c['parent'][_0x464bf8]||[];_0x3b623b[_0x411249(0x25f)](_0x37c38b=>{const _0x21020f=_0x411249;_0x37c38b['hookAnalyticsId']&&_0x1c1147['push'](_0x37c38b[_0x21020f(0x1fe)]);});}),[][_0xf1df5f(0x23a)](_0x1c1147,this[_0xf1df5f(0x242)](_0x37612c[_0xf1df5f(0x1a5)]));}['getHookType'](_0x158cb3){const _0x5b47f1=a4_0xc9dcdf,_0x27b63c=/^"(?<hook>.*)" hook:.*$/,_0x27eb16=_0x158cb3[_0x5b47f1(0x271)],_0x9c8c82=_0x27eb16[_0x5b47f1(0x1db)](_0x27b63c);if(_0x9c8c82&&_0x9c8c82[_0x5b47f1(0x26f)])return _0x9c8c82[_0x5b47f1(0x26f)]['hook'][_0x5b47f1(0x22a)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x3c0a37){const _0x3a3e6d=a4_0xc9dcdf,_0x414241={};_0x414241[_0x3a3e6d(0x20c)]=function(_0x3a01b6,_0x41e31e){return _0x3a01b6===_0x41e31e;},_0x414241['FEocD']=function(_0x38cd2f,_0x2cf37a){return _0x38cd2f===_0x2cf37a;},_0x414241[_0x3a3e6d(0x17e)]='.git',_0x414241[_0x3a3e6d(0x206)]=_0x3a3e6d(0x19d);const _0x414841=_0x414241,_0xa74d3e=path[_0x3a3e6d(0x1bc)];if(_0x414841['kbcQk'](_0x3c0a37,null)||_0x414841[_0x3a3e6d(0x257)](_0x3c0a37,'')||_0x414841[_0x3a3e6d(0x257)](_0x3c0a37,_0xa74d3e)||_0x414841[_0x3a3e6d(0x20c)](_0x3c0a37,path[_0x3a3e6d(0x270)](_0x3c0a37)))return null;try{return fs[_0x3a3e6d(0x24a)](path[_0x3a3e6d(0x18d)](_0x3c0a37,_0x414841[_0x3a3e6d(0x17e)],_0x414841['eRETo'])),_0x3c0a37;}catch(_0x48f8dc){const _0x4f21e2=path[_0x3a3e6d(0x270)](_0x3c0a37);return this[_0x3a3e6d(0x1de)](_0x4f21e2);}}[a4_0xc9dcdf(0x1d0)](_0x55ba8f){const _0x1146ee=a4_0xc9dcdf,_0x205709={};_0x205709[_0x1146ee(0x250)]=function(_0x3cc2a6,_0x268a5a){return _0x3cc2a6>_0x268a5a;};const _0x4ce055=_0x205709;if(_0x55ba8f[_0x1146ee(0x1bf)])return _0x55ba8f[_0x1146ee(0x1bf)];if(_0x55ba8f[_0x1146ee(0x1e9)]){const _0x5045ee=_0x55ba8f[_0x1146ee(0x1e9)][_0x1146ee(0x223)]?this[_0x1146ee(0x1d0)](_0x55ba8f[_0x1146ee(0x1e9)][_0x1146ee(0x223)]):null;if(_0x5045ee)return _0x5045ee;}if(_0x55ba8f[_0x1146ee(0x1a5)]){const _0x4c9f8d=this[_0x1146ee(0x1d0)](_0x55ba8f[_0x1146ee(0x1a5)])||(_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1e9)]&&_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1e9)][_0x1146ee(0x223)]?this[_0x1146ee(0x1d0)](_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1e9)][_0x1146ee(0x223)]):null);if(_0x4c9f8d)return _0x4c9f8d;_0x55ba8f['parent']['suites']&&_0x4ce055[_0x1146ee(0x250)](_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1d2)][_0x1146ee(0x253)],0x0)&&_0x55ba8f[_0x1146ee(0x1a5)][_0x1146ee(0x1d2)][_0x1146ee(0x25f)](_0x4faa6f=>{const _0x1ad513=_0x1146ee,_0xc83430=_0x4faa6f['ctx']?this[_0x1ad513(0x1d0)](_0x4faa6f['ctx']):null;if(_0xc83430)return _0xc83430;});}return null;}[a4_0xc9dcdf(0x203)](_0x1c2e56){const _0x5d6173=a4_0xc9dcdf,_0x3b28d4={};_0x3b28d4[_0x5d6173(0x1ec)]=function(_0x43caa0,_0x3ee255){return _0x43caa0!==_0x3ee255;};const _0x1e7e76=_0x3b28d4,_0x365534=[];if(_0x1c2e56&&_0x1c2e56[_0x5d6173(0x1a5)]){let _0x15ea2d=_0x1c2e56[_0x5d6173(0x1a5)];while(_0x15ea2d&&_0x1e7e76[_0x5d6173(0x1ec)](_0x15ea2d[_0x5d6173(0x271)],'')){_0x365534[_0x5d6173(0x21d)](_0x15ea2d[_0x5d6173(0x271)]),_0x15ea2d=_0x15ea2d[_0x5d6173(0x1a5)];}}return _0x365534;}[a4_0xc9dcdf(0x1f3)](_0x4d4cfc,_0x5a0de2,_0x1d95ab=undefined){const _0x401ad8=a4_0xc9dcdf,_0x480e81={'zAHnY':function(_0x5e9314,_0x5275ba){return _0x5e9314(_0x5275ba);},'HMiIi':function(_0x4f069f){return _0x4f069f();},'riGmQ':function(_0x39d43b){return _0x39d43b();},'yypkJ':_0x401ad8(0x249),'FkivL':'err','DFJCK':function(_0x1e4dc9,_0x7fda5b){return _0x1e4dc9!==_0x7fda5b;},'uVzOW':function(_0x419c77,_0x192f36){return _0x419c77!==_0x192f36;},'DtnIW':_0x401ad8(0x199),'wzfsh':_0x401ad8(0x1b3),'LSiOt':_0x401ad8(0x238),'YmDbn':_0x401ad8(0x23b),'iBGOQ':_0x401ad8(0x25b),'wihMv':_0x401ad8(0x1f2),'VqQke':function(_0xc5424d,_0x19e7e6){return _0xc5424d-_0x19e7e6;},'yleAD':function(_0x5a4561,_0xf4367e,_0x180b84,_0x54f4a4,_0x495794){return _0x5a4561(_0xf4367e,_0x180b84,_0x54f4a4,_0x495794);},'FMmjR':_0x401ad8(0x264),'dsfFW':_0x401ad8(0x189),'YRZzh':_0x401ad8(0x267),'KHKKR':_0x401ad8(0x25a),'sNZBI':_0x401ad8(0x1e5),'Ykzir':'failure_reason_expanded','cZHRB':_0x401ad8(0x1ab),'LMeyr':function(_0x78e9d6,_0x1ffced){return _0x78e9d6===_0x1ffced;},'ZrYeg':'hook_run','CLoJK':_0x401ad8(0x19c)};if(!this[_0x401ad8(0x18c)])return;try{if(_0x5a0de2['fn']&&_0x5a0de2['fn']['toString']()[_0x401ad8(0x1db)](/browserstack internal helper hook/))return;const _0x5e2cf7=_0x480e81['zAHnY'](parseEvent,_0x4d4cfc);if(!_0x5e2cf7)return;if(_0x5e2cf7[_0x401ad8(0x1e0)]){this[_0x401ad8(0x223)]=_0x5a0de2,this['currentHook']=null;if(_0x5e2cf7[_0x401ad8(0x26a)]||_0x5e2cf7[_0x401ad8(0x25b)]){_0x5a0de2[_0x401ad8(0x184)]=new Date(),_0x5a0de2[_0x401ad8(0x241)]=![];if(!_0x5a0de2[_0x401ad8(0x1ed)])_0x5a0de2[_0x401ad8(0x1ed)]=_0x480e81[_0x401ad8(0x1fd)](uuidv4);else _0x5a0de2[_0x401ad8(0x241)]&&(!_0x5a0de2[_0x401ad8(0x216)]&&(_0x5a0de2[_0x401ad8(0x216)]=_0x5a0de2[_0x401ad8(0x1ed)]),_0x5a0de2[_0x401ad8(0x1ed)]=_0x480e81[_0x401ad8(0x1fd)](uuidv4));}}else{if(_0x5e2cf7[_0x401ad8(0x200)]){this[_0x401ad8(0x187)]=_0x5a0de2;if(_0x5e2cf7['started']){_0x5a0de2['startedAt']=new Date(),_0x5a0de2[_0x401ad8(0x241)]=![];if(!_0x5a0de2[_0x401ad8(0x1fe)])_0x5a0de2[_0x401ad8(0x1fe)]=_0x480e81[_0x401ad8(0x244)](uuidv4);else _0x5a0de2['hookAnalyticsId']&&_0x5a0de2[_0x401ad8(0x241)]&&(_0x5a0de2['hookAnalyticsId']=_0x480e81[_0x401ad8(0x1fd)](uuidv4));}}}if(_0x5e2cf7[_0x401ad8(0x24b)]&&_0x5a0de2['markedStatus'])return;let _0x467081;try{_0x467081=this['getRootParentFile'](_0x5a0de2);}catch(_0x1ec550){logger[_0x401ad8(0x1e3)](_0x401ad8(0x222)+_0x1ec550),_0x467081=null;}const _0x54eae1=_0x480e81[_0x401ad8(0x21a)](require,_0x480e81['yypkJ']);let _0x291e09=[];_0x1d95ab&&(_0x291e09=[_0x1d95ab,_0x480e81[_0x401ad8(0x1ef)]]);const _0x27baf9=_0x480e81[_0x401ad8(0x1a4)](_0x5a0de2[_0x401ad8(0x194)],undefined)?_0x54eae1[_0x401ad8(0x17d)](_0x5a0de2[_0x401ad8(0x194)][0x0]):_0x480e81[_0x401ad8(0x247)](_0x1d95ab,undefined)?_0x1d95ab[_0x401ad8(0x1ac)]():undefined,_0x3473a6=_0x467081?this[_0x401ad8(0x1de)](_0x467081):null,_0x1423b9=_0x467081?this[_0x401ad8(0x1cc)]['prefixTestPath'](this[_0x401ad8(0x1d0)](_0x5a0de2)):_0x480e81[_0x401ad8(0x208)];let _0x3c5476=_0x480e81[_0x401ad8(0x1a0)];const _0x111908=!_0x5e2cf7['started']?new Date()['toISOString']():null;if(_0x5e2cf7[_0x401ad8(0x24b)])_0x3c5476=_0x1d95ab?_0x480e81[_0x401ad8(0x22c)]:_0x480e81[_0x401ad8(0x1be)],_0x5a0de2['markedStatus']=!![];else _0x5e2cf7['skipped']&&(_0x3c5476=_0x480e81[_0x401ad8(0x18e)],_0x5a0de2[_0x401ad8(0x241)]=!![]);const _0x381db3={'framework':this[_0x401ad8(0x1dc)],'uuid':_0x5a0de2[_0x401ad8(0x1ed)]||_0x5a0de2[_0x401ad8(0x1fe)],'name':_0x5a0de2[_0x401ad8(0x271)],'body':{'lang':_0x480e81[_0x401ad8(0x1a2)],'code':_0x5a0de2[_0x401ad8(0x202)][_0x401ad8(0x1ac)]()},'type':_0x5a0de2[_0x401ad8(0x275)],'scope':_0x5a0de2[_0x401ad8(0x273)](),'scopes':this[_0x401ad8(0x203)](_0x5a0de2),'file_name':_0x1423b9,'vc_filepath':_0x3473a6?path[_0x401ad8(0x26c)](_0x3473a6,_0x467081):null,'location':_0x1423b9,'result':_0x3c5476,'failure_reason':_0x27baf9,'duration_in_ms':_0x5a0de2[_0x401ad8(0x20e)]||(_0x5e2cf7[_0x401ad8(0x24b)]||_0x5e2cf7[_0x401ad8(0x25b)])?_0x480e81[_0x401ad8(0x193)](Date[_0x401ad8(0x1ba)](),new Date(_0x5a0de2['startedAt'])[_0x401ad8(0x1b4)]()):null,'started_at':new Date(_0x5a0de2[_0x401ad8(0x184)])['toISOString'](),'finished_at':_0x111908,'failure':testOpsHelper[_0x401ad8(0x1f8)][_0x401ad8(0x1ca)](null,_0x291e09),'failure_type':!_0x27baf9?null:testOpsHelper[_0x401ad8(0x182)](_0x27baf9),'retry_of':_0x5a0de2[_0x401ad8(0x216)]||null,'tags':_0x5a0de2[_0x401ad8(0x251)]||[],'customRerunParam':{'rerun_name':_0x5a0de2[_0x401ad8(0x273)]()}};_0x480e81[_0x401ad8(0x269)](appendTesthubParams,_0x381db3,_0x4d4cfc,_0x5a0de2,FRAMEWORKS['CODECEPT']);if(_0x5e2cf7[_0x401ad8(0x200)])[_0x381db3[_0x401ad8(0x237)],_0x381db3[_0x401ad8(0x1bd)]]=[this[_0x401ad8(0x234)](_0x5a0de2),_0x5a0de2[_0x401ad8(0x1e9)][_0x401ad8(0x1e0)]['title']],_0x5e2cf7[_0x401ad8(0x24b)]?_0x480e81[_0x401ad8(0x1a4)](_0x381db3[_0x401ad8(0x1e4)],_0x480e81[_0x401ad8(0x22c)])&&(_0x381db3['result']=_0x480e81['YmDbn']):_0x381db3[_0x401ad8(0x202)]={};else _0x5e2cf7[_0x401ad8(0x1e0)]&&(this[_0x401ad8(0x1c2)](_0x5a0de2),_0x5e2cf7[_0x401ad8(0x25b)]&&this['resetSkipTestHooks'](_0x5a0de2),(_0x5e2cf7['finished']||_0x5e2cf7[_0x401ad8(0x25b)])&&(_0x381db3[_0x401ad8(0x1d4)]=this[_0x401ad8(0x242)](_0x5a0de2)));this[_0x401ad8(0x195)]&&(_0x5e2cf7['started']||_0x5e2cf7[_0x401ad8(0x25b)])&&(_0x381db3[_0x480e81['FMmjR']]=this[_0x401ad8(0x1c5)](this[_0x401ad8(0x195)]));_0x5e2cf7[_0x401ad8(0x1e0)]&&_0x5e2cf7[_0x401ad8(0x24b)]&&_0x5a0de2[_0x401ad8(0x236)]&&(_0x381db3[_0x480e81['dsfFW']]={'feature':{'name':_0x5a0de2[_0x401ad8(0x1a5)][_0x401ad8(0x25e)]['name'],'path':_0x381db3[_0x401ad8(0x1e8)],'description':_0x5a0de2[_0x401ad8(0x1a5)][_0x401ad8(0x1c7)]},'scenario':{'name':_0x5a0de2[_0x401ad8(0x271)]},'steps':_0x5a0de2[_0x401ad8(0x236)]});const _0x571bb9=_0x381db3[_0x480e81['YRZzh']][0x0];_0x571bb9&&(_0x381db3[_0x480e81[_0x401ad8(0x1d1)]]=_0x571bb9[_0x480e81[_0x401ad8(0x25d)]],_0x381db3[_0x480e81[_0x401ad8(0x226)]]=_0x571bb9[_0x480e81['cZHRB']]);if(_0x5a0de2['bddSteps'])for(const _0x533b48 of _0x5a0de2[_0x401ad8(0x236)]){!_0x533b48[_0x401ad8(0x1d9)]&&(_0x533b48['finished_at']=new Date()[_0x401ad8(0x235)](),_0x480e81[_0x401ad8(0x26d)](_0x533b48[_0x401ad8(0x1e4)],_0x480e81[_0x401ad8(0x1a0)])&&(_0x571bb9?(_0x533b48[_0x401ad8(0x1e4)]=_0x480e81[_0x401ad8(0x22c)],_0x533b48[_0x401ad8(0x267)]=_0x571bb9[_0x480e81[_0x401ad8(0x25d)]][0x0]):_0x533b48[_0x401ad8(0x1e4)]=_0x480e81[_0x401ad8(0x1be)]));}const _0x44e6f5={};_0x44e6f5[_0x401ad8(0x1fb)]=_0x5e2cf7[_0x401ad8(0x25b)]?TEST_EVENTS[_0x401ad8(0x22e)]:_0x4d4cfc;const _0x61c638=_0x44e6f5;return _0x5e2cf7[_0x401ad8(0x200)]?_0x61c638[_0x480e81['ZrYeg']]=_0x381db3:_0x61c638[_0x480e81[_0x401ad8(0x1e1)]]=_0x381db3,_0x61c638;}catch(_0x4cf405){logger[_0x401ad8(0x1e3)](_0x401ad8(0x19b)+_0x4d4cfc+_0x401ad8(0x246)+_0x4cf405);}}async[a4_0xc9dcdf(0x18b)](_0x534944,_0x3a7106){const _0x52d1e5=a4_0xc9dcdf;if(!this[_0x52d1e5(0x18c)]||!_0x3a7106||!_0x534944)return![];try{return await SessionHandler[_0x52d1e5(0x24c)](_0x3a7106);}catch(_0x41ba8d){logger[_0x52d1e5(0x1e3)](_0x52d1e5(0x261)+_0x534944+_0x52d1e5(0x246)+_0x41ba8d);}}[a4_0xc9dcdf(0x1f6)](_0x554893){const _0x5a074b=a4_0xc9dcdf,_0x425941={};_0x425941[_0x5a074b(0x1dd)]=_0x5a074b(0x1b3);const _0x4bbdb3=_0x425941;return{'id':_0x554893[_0x5a074b(0x18f)],'text':_0x554893['text'],'keyword':_0x554893[_0x5a074b(0x201)],'started_at':_0x554893[_0x5a074b(0x184)]['toISOString'](),'result':_0x4bbdb3[_0x5a074b(0x1dd)]};}[a4_0xc9dcdf(0x17c)](_0x13e30e){const _0x5362fa=a4_0xc9dcdf,_0x4ff4ec={'nNsXz':function(_0xfe7a44){return _0xfe7a44();}};!this[_0x5362fa(0x223)]['bddSteps']&&(this[_0x5362fa(0x223)]['bddSteps']=[]),!_0x13e30e[_0x5362fa(0x18f)]&&(_0x13e30e[_0x5362fa(0x18f)]=_0x4ff4ec[_0x5362fa(0x22b)](uuidv4),_0x13e30e[_0x5362fa(0x184)]=new Date(),this[_0x5362fa(0x223)][_0x5362fa(0x236)][_0x5362fa(0x21d)](this['initializeBddStep'](_0x13e30e)));}[a4_0xc9dcdf(0x1fa)](_0x3b6d3b){const _0xf1276c=a4_0xc9dcdf,_0x302f51={'PGQuh':function(_0x35324c,_0x2d6391){return _0x35324c(_0x2d6391);},'zoKnr':_0xf1276c(0x21e),'VcRBc':_0xf1276c(0x1b3),'ogFAt':_0xf1276c(0x23b),'eZnPI':function(_0x2a0277,_0x421587){return _0x2a0277-_0x421587;}};let _0x34fbd7=this[_0xf1276c(0x223)][_0xf1276c(0x236)][_0xf1276c(0x221)](_0x17b51c=>_0x17b51c['id']===_0x3b6d3b[_0xf1276c(0x18f)]);_0x302f51[_0xf1276c(0x240)](isUndefined,_0x34fbd7)&&(_0x34fbd7=this[_0xf1276c(0x1f6)](_0x3b6d3b)),_0x34fbd7['result']=[_0x302f51[_0xf1276c(0x1b2)],_0x302f51[_0xf1276c(0x1e2)]][_0xf1276c(0x252)](_0x3b6d3b[_0xf1276c(0x26b)])?_0x302f51[_0xf1276c(0x1fc)]:_0x3b6d3b[_0xf1276c(0x26b)],_0x34fbd7['finished_at']=new Date()[_0xf1276c(0x235)](),_0x34fbd7[_0xf1276c(0x20e)]=_0x302f51[_0xf1276c(0x1cd)](Date[_0xf1276c(0x1ba)](),_0x3b6d3b[_0xf1276c(0x184)][_0xf1276c(0x1b4)]()),_0x34fbd7[_0xf1276c(0x267)]=_0x3b6d3b['err']?_0x3b6d3b[_0xf1276c(0x239)][_0xf1276c(0x24e)]:null;}}function a4_0x4adc(_0x37b278,_0xa06288){const _0x1ebb07=a4_0x1ebb();return a4_0x4adc=function(_0x4adc26,_0x3d9b22){_0x4adc26=_0x4adc26-0x179;let _0x2ce240=_0x1ebb07[_0x4adc26];return _0x2ce240;},a4_0x4adc(_0x37b278,_0xa06288);}const a4_0x39d8b7={};a4_0x39d8b7[a4_0xc9dcdf(0x179)]=O11yHelper,a4_0x39d8b7[a4_0xc9dcdf(0x266)]=STATE_PASSED,a4_0x39d8b7[a4_0xc9dcdf(0x274)]=STATE_FAILED,a4_0x39d8b7[a4_0xc9dcdf(0x1da)]=TEST_EVENTS,module[a4_0xc9dcdf(0x1c1)]=a4_0x39d8b7;
|
|
1
|
+
function a4_0x5819(_0x59be3f,_0x50d15b){const _0x4d69dd=a4_0x4d69();return a4_0x5819=function(_0x581931,_0x2640ed){_0x581931=_0x581931-0xf1;let _0x36f023=_0x4d69dd[_0x581931];return _0x36f023;},a4_0x5819(_0x59be3f,_0x50d15b);}const a4_0x2a935e=a4_0x5819;(function(_0x426d84,_0x10be80){const _0x4a2f05=a4_0x5819,_0x224599=_0x426d84();while(!![]){try{const _0x49b2c7=parseInt(_0x4a2f05(0x175))/0x1*(-parseInt(_0x4a2f05(0x19b))/0x2)+parseInt(_0x4a2f05(0x16f))/0x3*(parseInt(_0x4a2f05(0x18e))/0x4)+-parseInt(_0x4a2f05(0x198))/0x5*(-parseInt(_0x4a2f05(0x14b))/0x6)+-parseInt(_0x4a2f05(0x16a))/0x7*(parseInt(_0x4a2f05(0x1cb))/0x8)+parseInt(_0x4a2f05(0x1de))/0x9*(parseInt(_0x4a2f05(0x161))/0xa)+parseInt(_0x4a2f05(0x16b))/0xb*(parseInt(_0x4a2f05(0xf5))/0xc)+parseInt(_0x4a2f05(0x1b7))/0xd*(-parseInt(_0x4a2f05(0x128))/0xe);if(_0x49b2c7===_0x10be80)break;else _0x224599['push'](_0x224599['shift']());}catch(_0x181c41){_0x224599['push'](_0x224599['shift']());}}}(a4_0x4d69,0xb8e59));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x2a935e(0x197)),{getTestEnv}=require(a4_0x2a935e(0x134)),{FRAMEWORKS}=require(a4_0x2a935e(0x1b1)),logger=require(a4_0x2a935e(0x168))[a4_0x2a935e(0x146)],SessionHandler=require(a4_0x2a935e(0x129)),RequestQueueHandler=require(a4_0x2a935e(0x136)),PlaywrightSessionDetails=require(a4_0x2a935e(0x12f)),debug=testOpsHelper[a4_0x2a935e(0x13f)],{processAccessibilityCaps}=require(a4_0x2a935e(0x15d)),Constants=require(a4_0x2a935e(0x13b)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED=a4_0x2a935e(0x1b4),a4_0x479334={};a4_0x479334[a4_0x2a935e(0x117)]=a4_0x2a935e(0x1d5),a4_0x479334[a4_0x2a935e(0x1a5)]='TestRunFinished',a4_0x479334[a4_0x2a935e(0x18a)]=a4_0x2a935e(0x1e1),a4_0x479334['HOOK_RUN_STARTED']=a4_0x2a935e(0x1a9),a4_0x479334['HOOK_RUN_FINISHED']=a4_0x2a935e(0x133);const TEST_EVENTS=a4_0x479334,parseEvent=_0x2de711=>{const _0x1e7580=a4_0x2a935e,_0x2a54dc={};_0x2a54dc[_0x1e7580(0x11b)]=function(_0x40142a,_0x9188dd){return _0x40142a<_0x9188dd;},_0x2a54dc[_0x1e7580(0x1c0)]=function(_0x5a99e6,_0x213ada){return _0x5a99e6===_0x213ada;},_0x2a54dc[_0x1e7580(0x120)]=_0x1e7580(0x19a),_0x2a54dc['nAQpu']=_0x1e7580(0x108),_0x2a54dc[_0x1e7580(0x1bb)]='skipped',_0x2a54dc[_0x1e7580(0x1d2)]=_0x1e7580(0x10e),_0x2a54dc[_0x1e7580(0x1bd)]=_0x1e7580(0x17d);const _0x5ea501=_0x2a54dc,_0x441ac5=_0x2de711[_0x1e7580(0x10b)](/^(.*)Run(.*)$/);if(!_0x441ac5)return null;if(_0x5ea501[_0x1e7580(0x11b)](_0x441ac5[_0x1e7580(0x13c)],0x3))return null;const _0x4ee447=_0x441ac5[0x1]['toLowerCase'](),_0x558e14=_0x441ac5[0x2][_0x1e7580(0x180)]();return{'test':_0x5ea501[_0x1e7580(0x1c0)](_0x4ee447,_0x5ea501[_0x1e7580(0x120)]),'hook':_0x5ea501[_0x1e7580(0x1c0)](_0x4ee447,_0x5ea501[_0x1e7580(0x124)]),'skipped':_0x5ea501[_0x1e7580(0x1c0)](_0x558e14,_0x5ea501['aqGia']),'started':_0x5ea501[_0x1e7580(0x1c0)](_0x558e14,_0x5ea501[_0x1e7580(0x1d2)]),'finished':_0x5ea501[_0x1e7580(0x1c0)](_0x558e14,_0x5ea501[_0x1e7580(0x1bd)])};},mockPWBrowserType=_0x2b15d7=>{const _0x1c8d5f=a4_0x2a935e,_0x322621={'hyOLs':function(_0x50ff6b,_0x5648e6){return _0x50ff6b===_0x5648e6;},'ubyZb':'string','XVODW':function(_0x109565,_0xb84726,_0x2070e6){return _0x109565(_0xb84726,_0x2070e6);},'GSKec':'wsEndpoint','xVrFg':function(_0x3c0de2,_0x4e6f57){return _0x3c0de2(_0x4e6f57);},'NNkBP':_0x1c8d5f(0x17b),'RmdxH':function(_0x57e5d7,_0x15e8cb){return _0x57e5d7(_0x15e8cb);},'wnCwp':_0x1c8d5f(0x1d4),'ZYNiv':_0x1c8d5f(0x167),'yhiOh':_0x1c8d5f(0x116),'jDTZL':function(_0x31c827,_0x26335b){return _0x31c827(_0x26335b);},'pXJdk':'Not\x20able\x20to\x20import\x20Browser','romUd':_0x1c8d5f(0x196),'GlGAj':_0x1c8d5f(0x12e)},_0x444b8d=path[_0x1c8d5f(0x14c)](_0x322621[_0x1c8d5f(0x106)],_0x322621[_0x1c8d5f(0x1e7)],_0x322621['yhiOh']),_0x3fe93b=_0x322621[_0x1c8d5f(0x155)](importFileFromPWCore,_0x444b8d);if(!_0x3fe93b){_0x322621[_0x1c8d5f(0x1e0)](debug,_0x322621['pXJdk']);return;}const _0x3ef7aa=_0x3fe93b[_0x1c8d5f(0x1c5)],_0x53c604=_0x3ef7aa['prototype'];if(_0x53c604[_0x1c8d5f(0x1dc)])return;const _0x35d96c=_0x53c604[_0x1c8d5f(0x196)];Object[_0x1c8d5f(0x1c1)](_0x53c604,_0x322621['romUd'],{'get':function(){const _0x1e32b9=_0x1c8d5f,_0xe76ac1={'aPEBY':function(_0x33c3fe,_0x217732){const _0x3f08d7=a4_0x5819;return _0x322621[_0x3f08d7(0x181)](_0x33c3fe,_0x217732);},'Sqaso':_0x322621['ubyZb'],'uHOfV':function(_0x37932a,_0x1f3174,_0x5b9ca8){return _0x322621['XVODW'](_0x37932a,_0x1f3174,_0x5b9ca8);},'TcMHq':_0x322621[_0x1e32b9(0x1be)],'TVCBq':function(_0x52c229,_0x47c7fb){const _0x164360=_0x1e32b9;return _0x322621[_0x164360(0x19e)](_0x52c229,_0x47c7fb);},'HmTlD':_0x322621[_0x1e32b9(0x1d9)],'pRxUA':function(_0x52505e,_0x28f83d,_0x1ac9a9){const _0xc4e868=_0x1e32b9;return _0x322621[_0xc4e868(0x107)](_0x52505e,_0x28f83d,_0x1ac9a9);},'DjDFj':function(_0x552f9a,_0x564170){const _0x6386e9=_0x1e32b9;return _0x322621[_0x6386e9(0x155)](_0x552f9a,_0x564170);}};return async function _0x4d6936(_0x51fede,_0x110e8d){const _0x442387=_0x1e32b9,_0x34ab6f={'ZBtLe':function(_0x4fbdfc,_0x477419){return _0xe76ac1['aPEBY'](_0x4fbdfc,_0x477419);},'EMeYU':_0xe76ac1[_0x442387(0x1d1)]},_0xe3bb9c=_0xe76ac1[_0x442387(0x1c6)](nestedKeyValue,_0x51fede,[_0xe76ac1[_0x442387(0x15c)]])||_0x51fede;let _0x3e71da=null,_0x59ffaa=null;try{[_0x59ffaa,_0x3e71da]=_0xe3bb9c?_0xe76ac1[_0x442387(0x190)](parseWSEndpoint,_0xe3bb9c):[null,null],global[_0x442387(0x12d)]=_0x3e71da,_0x59ffaa[_0x442387(0x14e)](_0xe76ac1[_0x442387(0x195)])&&(global['__cloud_provider___']=_0xe76ac1[_0x442387(0x195)]);}catch(_0x2f76d5){logger[_0x442387(0x13f)](_0x442387(0x1c3)+_0xe3bb9c+'\x20'+_0x2f76d5);}_0xe76ac1['pRxUA'](processAccessibilityCaps,_0x3e71da,_0x59ffaa);if(global[_0x442387(0x1e9)]){const _0x5525df=await _0x53c604[_0x442387(0x145)][_0x442387(0x1ea)](this,[''+Constants[_0x442387(0xfc)]+_0xe76ac1[_0x442387(0x113)](encodeURIComponent,JSON[_0x442387(0x19f)](_0x3e71da))]);return PlaywrightSessionDetails[_0x442387(0x1e2)](_0x5525df,_0x2b15d7,_0xe3bb9c),_0x5525df;}return _0x35d96c['apply'](this,arguments)['then'](_0x8e1e2b=>{const _0x4ea278=_0x442387;let _0x5383da=_0x51fede[_0x4ea278(0x1aa)];return _0x34ab6f[_0x4ea278(0x1ca)](typeof _0x51fede,_0x34ab6f[_0x4ea278(0x189)])&&(_0x5383da=_0x51fede),PlaywrightSessionDetails[_0x4ea278(0x1e2)](_0x8e1e2b,_0x2b15d7,_0x5383da),_0x8e1e2b;});};}});const _0x860d1f=_0x53c604['launch'];Object[_0x1c8d5f(0x1c1)](_0x53c604,_0x322621[_0x1c8d5f(0x11a)],{'get':function(){return async function _0x37f1d0(){const _0x7e5aec=a4_0x5819;return _0x860d1f[_0x7e5aec(0x1ea)](this,arguments)[_0x7e5aec(0x1b3)](_0x4e4c16=>{const _0x97280=_0x7e5aec;return PlaywrightSessionDetails[_0x97280(0x1e2)](_0x4e4c16,null),_0x4e4c16;});};}});};class O11yHelper{[a4_0x2a935e(0x101)]=null;[a4_0x2a935e(0x13e)]=null;['enabled']=![];[a4_0x2a935e(0x173)]=![];constructor(_0x33a960,_0x3c1d27){const _0x1eccab=a4_0x2a935e,_0x3bcace={'YFqEi':_0x1eccab(0x162),'JiYUR':function(_0x3c8c7d,_0x734bf6){return _0x3c8c7d===_0x734bf6;},'SNKsK':_0x1eccab(0x15b),'BQqEd':function(_0x34e8e1,_0x258754){return _0x34e8e1(_0x258754);},'noWmi':function(_0x402851){return _0x402851();}},_0x4a7016=_0x3bcace[_0x1eccab(0x1a3)][_0x1eccab(0x144)]('|');let _0xa239a4=0x0;while(!![]){switch(_0x4a7016[_0xa239a4++]){case'0':this[_0x1eccab(0x173)]=_0x3c1d27[_0x1eccab(0x173)];continue;case'1':this[_0x1eccab(0x121)]&&_0x3bcace['JiYUR'](this[_0x1eccab(0x121)][_0x1eccab(0x15f)][_0x1eccab(0x12c)],_0x3bcace['SNKsK'])&&_0x3bcace[_0x1eccab(0x10c)](mockPWBrowserType,null);continue;case'2':this[_0x1eccab(0x127)]=_0x3bcace[_0x1eccab(0x1b8)](getTestEnv);continue;case'3':this[_0x1eccab(0x1b5)]=new testOpsHelper[(_0x1eccab(0x1d3))]({'cwd':process[_0x1eccab(0x194)]()},this[_0x1eccab(0x127)][_0x1eccab(0x191)]);continue;case'4':this[_0x1eccab(0x160)]=_0x3bcace[_0x1eccab(0x1b8)](shouldProcessEventForTesthub);continue;case'5':this['driver']=_0x33a960;continue;}break;}}[a4_0x2a935e(0x1e6)](){const _0x425282=a4_0x2a935e;if(!this[_0x425282(0x160)])return;testOpsHelper['patchConsoleLogger'](),process[_0x425282(0x16c)](_0x425282(0x140)+process[_0x425282(0x1af)]),process['on'](_0x425282(0x140)+process['pid'],this[_0x425282(0x169)][_0x425282(0x14f)](this));}async[a4_0x2a935e(0x1bf)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x2a935e(0x169)](_0x2df3af){const _0x193730=a4_0x2a935e,_0x33b104={'zQgfO':_0x193730(0x172),'scThG':function(_0x32fb35,_0x2ca8f7){return _0x32fb35(_0x2ca8f7);}};try{this[_0x193730(0x13e)]&&!this[_0x193730(0x13e)][_0x193730(0x143)]&&(_0x2df3af[_0x193730(0x1b2)]=this[_0x193730(0x13e)][_0x193730(0x1a1)]);!_0x2df3af[_0x193730(0x1b2)]&&this['currentTest']&&!this[_0x193730(0x101)]['markedStatus']&&(_0x2df3af[_0x193730(0x137)]=this[_0x193730(0x101)][_0x193730(0x183)]);if(_0x2df3af[_0x193730(0x1b2)]||_0x2df3af[_0x193730(0x137)]){const _0x41b07b={};_0x41b07b['event_type']=_0x33b104['zQgfO'],_0x41b07b['logs']=[_0x2df3af],await SessionHandler['uploadEventData'](_0x41b07b);}}catch(_0x546a99){_0x33b104['scThG'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x546a99);}}async[a4_0x2a935e(0x135)](_0x4974a1){const _0x1c75b0=a4_0x2a935e,_0x5885bb={'mucJN':'CBTSessionCreated','mmWTy':function(_0x4004eb,_0xad209e){return _0x4004eb(_0xad209e);}};if(!this[_0x1c75b0(0x160)])return;const _0x510199=this[_0x1c75b0(0x18b)](this[_0x1c75b0(0x121)]);try{const _0x5428b3={};_0x5428b3[_0x1c75b0(0x14d)]=_0x4974a1,_0x5428b3[_0x1c75b0(0xfb)]=_0x510199;const _0x296838=_0x5428b3,_0x8a3ff3={};_0x8a3ff3[_0x1c75b0(0x19c)]=_0x5885bb[_0x1c75b0(0x104)],_0x8a3ff3[_0x1c75b0(0x103)]=_0x296838,await SessionHandler[_0x1c75b0(0xf6)](_0x8a3ff3);}catch(_0x8b0167){_0x5885bb[_0x1c75b0(0x16e)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x8b0167);}}[a4_0x2a935e(0x18b)](_0xee9686){const _0x164d76=a4_0x2a935e,_0x4c6def={'VDudV':function(_0x1d3bff,_0xdc12ac){return _0x1d3bff(_0xdc12ac);}};return _0x4c6def[_0x164d76(0x1a8)](fetchPlatformDetails,_0xee9686);}[a4_0x2a935e(0x166)]=_0x2f19d7=>{const _0x58b3f3=a4_0x2a935e,_0x8ba32e={};_0x8ba32e[_0x58b3f3(0x156)]=_0x58b3f3(0xf8),_0x8ba32e[_0x58b3f3(0x148)]=_0x58b3f3(0xf9);const _0x5a9f04=_0x8ba32e;if(!_0x2f19d7||!_0x2f19d7[_0x58b3f3(0x159)])return;[_0x5a9f04[_0x58b3f3(0x156)],_0x5a9f04[_0x58b3f3(0x148)]][_0x58b3f3(0x18f)](_0x32964f=>{const _0x7bab92=_0x58b3f3,_0x4b24bd=_0x2f19d7[_0x7bab92(0x159)][_0x32964f];_0x4b24bd[_0x7bab92(0x18f)](_0x29bc30=>{const _0x484146=_0x7bab92;_0x29bc30[_0x484146(0x1a1)]&&(_0x29bc30[_0x484146(0x1a1)]=null);});});};[a4_0x2a935e(0x153)](_0x2f152c){const _0x201fe5=a4_0x2a935e,_0x2ff031={'XcOOw':_0x201fe5(0x18c),'dJOOy':function(_0x300bce){return _0x300bce();},'GGKmi':function(_0x5afc44,_0x430ef6){return _0x5afc44===_0x430ef6;},'pTpje':_0x201fe5(0xf9),'Iyfvf':_0x201fe5(0x1ab),'dUltC':_0x201fe5(0x184),'FqunT':'_beforeEach'};if(!_0x2f152c||!_0x2f152c['parent'])return;[_0x2ff031['Iyfvf'],_0x2ff031[_0x201fe5(0x16d)],_0x2ff031[_0x201fe5(0x1da)],_0x2ff031[_0x201fe5(0x157)]][_0x201fe5(0x18f)](_0x183fcc=>{const _0x2b1eed=_0x201fe5,_0x5f320e={'LAIMv':_0x2ff031['XcOOw'],'vUMpa':function(_0x2f6b5e){const _0x1f8207=a4_0x5819;return _0x2ff031[_0x1f8207(0x118)](_0x2f6b5e);},'MKSIl':function(_0x58ce94,_0x1dfaca){const _0x52d6bb=a4_0x5819;return _0x2ff031[_0x52d6bb(0x1c2)](_0x58ce94,_0x1dfaca);},'dRIon':_0x2ff031['pTpje'],'qprIe':function(_0xfe7ac3){const _0x3ebbf7=a4_0x5819;return _0x2ff031[_0x3ebbf7(0x118)](_0xfe7ac3);}},_0x2fa30e=_0x2f152c[_0x2b1eed(0x159)][_0x183fcc]||[];_0x2fa30e['forEach'](_0xa2737e=>{const _0x3babab=_0x2b1eed;if(_0xa2737e[_0x3babab(0x105)][_0x3babab(0x14e)](_0x5f320e[_0x3babab(0x1ad)]))return;if(!_0xa2737e[_0x3babab(0x1a1)])_0xa2737e[_0x3babab(0x1a1)]=_0x5f320e[_0x3babab(0x1e8)](uuidv4);else _0xa2737e[_0x3babab(0x143)]&&_0x5f320e[_0x3babab(0x1ba)](_0x183fcc,_0x5f320e['dRIon'])&&(_0xa2737e[_0x3babab(0x1a1)]=_0x5f320e['qprIe'](uuidv4),delete _0xa2737e[_0x3babab(0x143)]);});}),this[_0x201fe5(0x153)](_0x2f152c[_0x201fe5(0x159)]);}[a4_0x2a935e(0x1c8)](_0x15f3f1){const _0x313353=a4_0x2a935e,_0x31c25c={};_0x31c25c[_0x313353(0x11c)]=_0x313353(0x1ab),_0x31c25c['WFXbH']=_0x313353(0x184),_0x31c25c['ozJUd']=_0x313353(0xf8),_0x31c25c[_0x313353(0x147)]=_0x313353(0xf9);const _0x3a3b77=_0x31c25c;if(!_0x15f3f1||!_0x15f3f1[_0x313353(0x159)])return[];const _0x1b8749=[];return[_0x3a3b77[_0x313353(0x11c)],_0x3a3b77[_0x313353(0x1c7)],_0x3a3b77['ozJUd'],_0x3a3b77['gdweO']]['forEach'](_0x3be462=>{const _0x549302=_0x313353,_0x1c3395=_0x15f3f1[_0x549302(0x159)][_0x3be462]||[];_0x1c3395[_0x549302(0x18f)](_0x316d5d=>{const _0x595f8b=_0x549302;_0x316d5d[_0x595f8b(0x1a1)]&&_0x1b8749[_0x595f8b(0x1a0)](_0x316d5d['hookAnalyticsId']);});}),[][_0x313353(0x186)](_0x1b8749,this[_0x313353(0x1c8)](_0x15f3f1[_0x313353(0x159)]));}[a4_0x2a935e(0x112)](_0x2f88bb){const _0x6c2927=a4_0x2a935e,_0x59222d=/^"(?<hook>.*)" hook:.*$/,_0x2aed06=_0x2f88bb[_0x6c2927(0x105)],_0x2087c1=_0x2aed06[_0x6c2927(0x10b)](_0x59222d);if(_0x2087c1&&_0x2087c1[_0x6c2927(0x192)])return _0x2087c1[_0x6c2927(0x192)][_0x6c2927(0x108)][_0x6c2927(0x1d0)]()[_0x6c2927(0x163)]('\x20','_');return null;}[a4_0x2a935e(0x188)](_0x404ebc){const _0x5dca26=a4_0x2a935e,_0x1fc272={};_0x1fc272[_0x5dca26(0x150)]=function(_0x483d0f,_0xc82882){return _0x483d0f===_0xc82882;},_0x1fc272['hGZDt']=function(_0xaa03ce,_0x5e6c69){return _0xaa03ce===_0x5e6c69;},_0x1fc272[_0x5dca26(0x152)]=function(_0x702bbb,_0x37e0a1){return _0x702bbb===_0x37e0a1;},_0x1fc272[_0x5dca26(0x170)]=_0x5dca26(0x1bc),_0x1fc272['cIakT']='config';const _0x26c1e8=_0x1fc272,_0x5a6fa6=path['sep'];if(_0x26c1e8[_0x5dca26(0x150)](_0x404ebc,null)||_0x26c1e8[_0x5dca26(0x150)](_0x404ebc,'')||_0x26c1e8[_0x5dca26(0x132)](_0x404ebc,_0x5a6fa6)||_0x26c1e8[_0x5dca26(0x152)](_0x404ebc,path[_0x5dca26(0x1dd)](_0x404ebc)))return null;try{return fs[_0x5dca26(0x1b6)](path['join'](_0x404ebc,_0x26c1e8[_0x5dca26(0x170)],_0x26c1e8['cIakT'])),_0x404ebc;}catch(_0x20225e){const _0x1c63ac=path[_0x5dca26(0x1dd)](_0x404ebc);return this['findGitConfig'](_0x1c63ac);}}[a4_0x2a935e(0x1e4)](_0x11f84f){const _0x5a480d=a4_0x2a935e,_0x4cbb7f={};_0x4cbb7f[_0x5a480d(0x18d)]=function(_0x310af5,_0x592397){return _0x310af5>_0x592397;};const _0xb39ab5=_0x4cbb7f;if(_0x11f84f['file'])return _0x11f84f[_0x5a480d(0x139)];if(_0x11f84f[_0x5a480d(0x185)]){const _0xf229f5=_0x11f84f[_0x5a480d(0x185)][_0x5a480d(0x101)]?this[_0x5a480d(0x1e4)](_0x11f84f['ctx'][_0x5a480d(0x101)]):null;if(_0xf229f5)return _0xf229f5;}if(_0x11f84f[_0x5a480d(0x159)]){const _0x598973=this['getRootParentFile'](_0x11f84f[_0x5a480d(0x159)])||(_0x11f84f[_0x5a480d(0x159)]['ctx']&&_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x185)][_0x5a480d(0x101)]?this['getRootParentFile'](_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x185)][_0x5a480d(0x101)]):null);if(_0x598973)return _0x598973;_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x130)]&&_0xb39ab5[_0x5a480d(0x18d)](_0x11f84f['parent'][_0x5a480d(0x130)][_0x5a480d(0x13c)],0x0)&&_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x130)]['forEach'](_0x535faa=>{const _0x2e15d0=_0x5a480d,_0x31ee03=_0x535faa[_0x2e15d0(0x185)]?this['getRootParentFile'](_0x535faa['ctx']):null;if(_0x31ee03)return _0x31ee03;});}return null;}['getHierarchy'](_0x1c399e){const _0x5029b0=a4_0x2a935e,_0x5b7648={};_0x5b7648[_0x5029b0(0x12a)]=function(_0x5ab9e2,_0x488f8c){return _0x5ab9e2!==_0x488f8c;};const _0x24c3b8=_0x5b7648,_0x4d3f64=[];if(_0x1c399e&&_0x1c399e[_0x5029b0(0x159)]){let _0x2b9bfb=_0x1c399e['parent'];while(_0x2b9bfb&&_0x24c3b8[_0x5029b0(0x12a)](_0x2b9bfb['title'],'')){_0x4d3f64[_0x5029b0(0x1a0)](_0x2b9bfb[_0x5029b0(0x105)]),_0x2b9bfb=_0x2b9bfb[_0x5029b0(0x159)];}}return _0x4d3f64;}[a4_0x2a935e(0x100)](_0x5aa63c,_0x50cb98,_0x1486a6=undefined){const _0x99dfc9=a4_0x2a935e,_0x1e16b0={'wfCTU':function(_0x2d4f30,_0x5d80aa){return _0x2d4f30(_0x5d80aa);},'ofSzY':function(_0x154fb9){return _0x154fb9();},'aZxsM':function(_0x191a91){return _0x191a91();},'mIAKq':_0x99dfc9(0x109),'GNiPr':_0x99dfc9(0x131),'BGeLP':function(_0x3e8ba0,_0x5e9add){return _0x3e8ba0!==_0x5e9add;},'akBDs':_0x99dfc9(0x10a),'Ntkkt':_0x99dfc9(0x122),'hPrRj':_0x99dfc9(0x1b4),'fxqVj':'passed','vRkTu':_0x99dfc9(0x1a6),'xjWbI':'javascript','Kmuhz':function(_0x3a0e2b,_0x346535){return _0x3a0e2b-_0x346535;},'jWJzI':function(_0x29cafe,_0x34f4ea,_0x58008f,_0xa72cbb,_0x453f0c){return _0x29cafe(_0x34f4ea,_0x58008f,_0xa72cbb,_0x453f0c);},'fgalz':function(_0x3e593c,_0x35cf34){return _0x3e593c!==_0x35cf34;},'zfZLi':_0x99dfc9(0xfb),'qVSNX':_0x99dfc9(0xf7),'gMQZT':_0x99dfc9(0x176),'DIrKQ':_0x99dfc9(0x179),'hsSND':_0x99dfc9(0xfd),'ZgIng':_0x99dfc9(0x1d6),'JSPYQ':_0x99dfc9(0x1eb),'TxQWH':function(_0x827838,_0x52cd1b){return _0x827838===_0x52cd1b;},'pfjPz':'hook_run','BmitM':_0x99dfc9(0x103)};if(!this[_0x99dfc9(0x160)])return;try{if(_0x50cb98['fn']&&_0x50cb98['fn'][_0x99dfc9(0x123)]()[_0x99dfc9(0x10b)](/browserstack internal helper hook/))return;const _0x57a459=_0x1e16b0['wfCTU'](parseEvent,_0x5aa63c);if(!_0x57a459)return;if(_0x57a459[_0x99dfc9(0x19a)]){this['currentTest']=_0x50cb98,this['currentHook']=null;if(_0x57a459['started']||_0x57a459['skipped']){_0x50cb98[_0x99dfc9(0x11d)]=new Date(),_0x50cb98['markedStatus']=![];if(!_0x50cb98[_0x99dfc9(0x183)])_0x50cb98[_0x99dfc9(0x183)]=_0x1e16b0['ofSzY'](uuidv4);else _0x50cb98[_0x99dfc9(0x143)]&&(!_0x50cb98[_0x99dfc9(0x115)]&&(_0x50cb98[_0x99dfc9(0x115)]=_0x50cb98[_0x99dfc9(0x183)]),_0x50cb98['testAnalyticsId']=_0x1e16b0[_0x99dfc9(0xf3)](uuidv4));}}else{if(_0x57a459['hook']){this[_0x99dfc9(0x13e)]=_0x50cb98;if(_0x57a459['started']){_0x50cb98[_0x99dfc9(0x11d)]=new Date(),_0x50cb98[_0x99dfc9(0x143)]=![];if(!_0x50cb98[_0x99dfc9(0x1a1)])_0x50cb98[_0x99dfc9(0x1a1)]=_0x1e16b0[_0x99dfc9(0x182)](uuidv4);else _0x50cb98[_0x99dfc9(0x1a1)]&&_0x50cb98[_0x99dfc9(0x143)]&&(_0x50cb98[_0x99dfc9(0x1a1)]=_0x1e16b0[_0x99dfc9(0x182)](uuidv4));}}}if(_0x57a459['finished']&&_0x50cb98[_0x99dfc9(0x143)])return;let _0x2c9a8e;try{_0x2c9a8e=this['getRootParentFile'](_0x50cb98);}catch(_0x1c356a){logger[_0x99dfc9(0x13f)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x1c356a),_0x2c9a8e=null;}const _0x374c24=_0x1e16b0[_0x99dfc9(0xfe)](require,_0x1e16b0[_0x99dfc9(0x110)]);let _0x1610ba=[];_0x1486a6&&(_0x1610ba=[_0x1486a6,_0x1e16b0[_0x99dfc9(0x1d7)]]);const _0x5d609d=_0x1e16b0[_0x99dfc9(0x1b0)](_0x50cb98[_0x99dfc9(0x165)],undefined)?_0x374c24['inspect'](_0x50cb98[_0x99dfc9(0x165)][0x0]):_0x1e16b0[_0x99dfc9(0x1b0)](_0x1486a6,undefined)?_0x1486a6[_0x99dfc9(0x123)]():undefined,_0x2029c6=_0x2c9a8e?this[_0x99dfc9(0x188)](_0x2c9a8e):null,_0x275a2d=_0x2c9a8e?this[_0x99dfc9(0x1b5)][_0x99dfc9(0x19d)](this['getRootParentFile'](_0x50cb98)):_0x1e16b0[_0x99dfc9(0x15e)];let _0x2578fe=_0x1e16b0['Ntkkt'];const _0x13577c=!_0x57a459[_0x99dfc9(0x10e)]?new Date()[_0x99dfc9(0x17a)]():null;if(_0x57a459['finished'])_0x2578fe=_0x1486a6?_0x1e16b0[_0x99dfc9(0x174)]:_0x1e16b0['fxqVj'],_0x50cb98[_0x99dfc9(0x143)]=!![];else _0x57a459[_0x99dfc9(0x1a6)]&&(_0x2578fe=_0x1e16b0[_0x99dfc9(0x164)],_0x50cb98[_0x99dfc9(0x143)]=!![]);const _0x11051d={'framework':this[_0x99dfc9(0x173)],'uuid':_0x50cb98[_0x99dfc9(0x183)]||_0x50cb98[_0x99dfc9(0x1a1)],'name':_0x50cb98['title'],'body':{'lang':_0x1e16b0[_0x99dfc9(0xf2)],'code':_0x50cb98[_0x99dfc9(0x17c)][_0x99dfc9(0x123)]()},'type':_0x50cb98[_0x99dfc9(0x11f)],'scope':_0x50cb98['fullTitle'](),'scopes':this[_0x99dfc9(0x1c4)](_0x50cb98),'file_name':_0x275a2d,'vc_filepath':_0x2029c6?path[_0x99dfc9(0x114)](_0x2029c6,_0x2c9a8e):null,'location':_0x275a2d,'result':_0x2578fe,'failure_reason':_0x5d609d,'duration_in_ms':_0x50cb98[_0x99dfc9(0x154)]||(_0x57a459[_0x99dfc9(0x17d)]||_0x57a459[_0x99dfc9(0x1a6)])?_0x1e16b0[_0x99dfc9(0x1a4)](Date[_0x99dfc9(0x1d8)](),new Date(_0x50cb98['startedAt'])[_0x99dfc9(0x11e)]()):null,'started_at':new Date(_0x50cb98['startedAt'])[_0x99dfc9(0x17a)](),'finished_at':_0x13577c,'failure':testOpsHelper[_0x99dfc9(0x125)][_0x99dfc9(0x1ea)](null,_0x1610ba),'failure_type':!_0x5d609d?null:testOpsHelper[_0x99dfc9(0x10f)](_0x5d609d),'retry_of':_0x50cb98[_0x99dfc9(0x115)]||null,'tags':_0x50cb98['tags']||[],'customRerunParam':{'rerun_name':_0x50cb98[_0x99dfc9(0x151)]()}};_0x1e16b0['jWJzI'](appendTesthubParams,_0x11051d,_0x5aa63c,_0x50cb98,FRAMEWORKS['CODECEPT']);if(_0x57a459['hook'])[_0x11051d[_0x99dfc9(0x1cc)],_0x11051d[_0x99dfc9(0x12c)]]=[this['getHookType'](_0x50cb98),_0x50cb98['ctx'][_0x99dfc9(0x19a)]['title']],_0x57a459[_0x99dfc9(0x17d)]?_0x1e16b0[_0x99dfc9(0x178)](_0x11051d['result'],_0x1e16b0[_0x99dfc9(0x174)])&&(_0x11051d[_0x99dfc9(0x138)]=_0x1e16b0[_0x99dfc9(0x119)]):_0x11051d[_0x99dfc9(0x17c)]={};else _0x57a459[_0x99dfc9(0x19a)]&&(this[_0x99dfc9(0x153)](_0x50cb98),_0x57a459['skipped']&&this[_0x99dfc9(0x166)](_0x50cb98),(_0x57a459['finished']||_0x57a459[_0x99dfc9(0x1a6)])&&(_0x11051d[_0x99dfc9(0x193)]=this[_0x99dfc9(0x1c8)](_0x50cb98)));this[_0x99dfc9(0x121)]&&(_0x57a459['started']||_0x57a459['skipped'])&&(_0x11051d[_0x1e16b0[_0x99dfc9(0x10d)]]=this[_0x99dfc9(0x18b)](this[_0x99dfc9(0x121)]));_0x57a459['test']&&_0x57a459[_0x99dfc9(0x17d)]&&_0x50cb98[_0x99dfc9(0x1db)]&&(_0x11051d[_0x1e16b0['qVSNX']]={'feature':{'name':_0x50cb98[_0x99dfc9(0x159)][_0x99dfc9(0xf1)][_0x99dfc9(0x12c)],'path':_0x11051d[_0x99dfc9(0x1ac)],'description':_0x50cb98[_0x99dfc9(0x159)][_0x99dfc9(0x177)]},'scenario':{'name':_0x50cb98['title']},'steps':_0x50cb98[_0x99dfc9(0x1db)]});const _0x2a9cfe=_0x11051d[_0x1e16b0[_0x99dfc9(0x111)]][0x0];_0x2a9cfe&&(_0x11051d[_0x1e16b0[_0x99dfc9(0x1a2)]]=_0x2a9cfe[_0x1e16b0[_0x99dfc9(0x126)]],_0x11051d[_0x1e16b0[_0x99dfc9(0x171)]]=_0x2a9cfe[_0x1e16b0[_0x99dfc9(0xf4)]]);if(_0x50cb98['bddSteps'])for(const _0x2a29f7 of _0x50cb98[_0x99dfc9(0x1db)]){!_0x2a29f7['finished_at']&&(_0x2a29f7[_0x99dfc9(0x12b)]=new Date()['toISOString'](),_0x1e16b0[_0x99dfc9(0x1e3)](_0x2a29f7[_0x99dfc9(0x138)],_0x1e16b0['Ntkkt'])&&(_0x2a9cfe?(_0x2a29f7[_0x99dfc9(0x138)]=_0x1e16b0[_0x99dfc9(0x174)],_0x2a29f7['failure']=_0x2a9cfe[_0x1e16b0[_0x99dfc9(0x126)]][0x0]):_0x2a29f7['result']=_0x1e16b0['fxqVj']));}const _0x3b42f2={};_0x3b42f2[_0x99dfc9(0x19c)]=_0x57a459['skipped']?TEST_EVENTS[_0x99dfc9(0x1a5)]:_0x5aa63c;const _0x239ddd=_0x3b42f2;return _0x57a459[_0x99dfc9(0x108)]?_0x239ddd[_0x1e16b0[_0x99dfc9(0xff)]]=_0x11051d:_0x239ddd[_0x1e16b0[_0x99dfc9(0x1ce)]]=_0x11051d,_0x239ddd;}catch(_0x3c6bc3){logger['debug'](_0x99dfc9(0x142)+_0x5aa63c+_0x99dfc9(0x1c9)+_0x3c6bc3);}}async[a4_0x2a935e(0x1ae)](_0xa8ae6f,_0x5c0622){const _0x24335c=a4_0x2a935e;if(!this[_0x24335c(0x160)]||!_0x5c0622||!_0xa8ae6f)return![];try{return await SessionHandler[_0x24335c(0xf6)](_0x5c0622);}catch(_0x10bcd0){logger[_0x24335c(0x13f)](_0x24335c(0x13a)+_0xa8ae6f+_0x24335c(0x1c9)+_0x10bcd0);}}[a4_0x2a935e(0x15a)](_0x541bc0){const _0x4ad31a=a4_0x2a935e,_0x482053={};_0x482053[_0x4ad31a(0x199)]=_0x4ad31a(0x122);const _0xa51ca9=_0x482053;return{'id':_0x541bc0[_0x4ad31a(0x1df)],'text':_0x541bc0[_0x4ad31a(0x1a7)],'keyword':_0x541bc0['keyword'],'started_at':_0x541bc0[_0x4ad31a(0x11d)][_0x4ad31a(0x17a)](),'result':_0xa51ca9['KNBUH']};}[a4_0x2a935e(0x17e)](_0x46ecc2){const _0x4f37ab=a4_0x2a935e,_0x2f6e6e={'zpteS':function(_0x3b72cc){return _0x3b72cc();}};!this['currentTest'][_0x4f37ab(0x1db)]&&(this['currentTest'][_0x4f37ab(0x1db)]=[]),!_0x46ecc2['stepAnalyticsId']&&(_0x46ecc2['stepAnalyticsId']=_0x2f6e6e[_0x4f37ab(0x141)](uuidv4),_0x46ecc2['startedAt']=new Date(),this['currentTest']['bddSteps'][_0x4f37ab(0x1a0)](this[_0x4f37ab(0x15a)](_0x46ecc2)));}[a4_0x2a935e(0x1cd)](_0x230d3e){const _0x30f45e=a4_0x2a935e,_0x5b27a3={'eaFcM':function(_0x551667,_0x4ae9f2){return _0x551667(_0x4ae9f2);},'wqECQ':_0x30f45e(0xfa),'aEVPB':'pending','kOobf':_0x30f45e(0x187),'LVDlP':function(_0x147775,_0x38239d){return _0x147775-_0x38239d;}};let _0x5a99cb=this['currentTest'][_0x30f45e(0x1db)][_0x30f45e(0x102)](_0x14e710=>_0x14e710['id']===_0x230d3e[_0x30f45e(0x1df)]);_0x5b27a3['eaFcM'](isUndefined,_0x5a99cb)&&(_0x5a99cb=this[_0x30f45e(0x15a)](_0x230d3e)),_0x5a99cb[_0x30f45e(0x138)]=[_0x5b27a3[_0x30f45e(0x1e5)],_0x5b27a3['aEVPB']][_0x30f45e(0x14e)](_0x230d3e['status'])?_0x5b27a3['kOobf']:_0x230d3e[_0x30f45e(0x17f)],_0x5a99cb[_0x30f45e(0x12b)]=new Date()[_0x30f45e(0x17a)](),_0x5a99cb[_0x30f45e(0x154)]=_0x5b27a3['LVDlP'](Date[_0x30f45e(0x1d8)](),_0x230d3e['startedAt'][_0x30f45e(0x11e)]()),_0x5a99cb[_0x30f45e(0x176)]=_0x230d3e[_0x30f45e(0x131)]?_0x230d3e[_0x30f45e(0x131)][_0x30f45e(0x1cf)]:null;}}const a4_0x4acad9={};function a4_0x4d69(){const _0x56bca1=['file','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','../utils/constants','length','STATE_FAILED','currentHook','debug','bs:addLog:','zpteS','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','markedStatus','split','connectOverCDP','winstonLogger','gdweO','vLkSf','STATE_PASSED','O11yHelper','6TirAkN','join','uuid','includes','bind','XaLBs','fullTitle','swxgj','mapTestHooks','duration','RmdxH','TUkdV','pTpje','TEST_EVENTS','parent','initializeBddStep','Playwright','TcMHq','../playwright/accessibility-helper','akBDs','constructor','enabled','110540TtKrSM','4|0|5|2|3|1','replace','vRkTu','errorsDetailed','resetSkipTestHooks','client','../../helpers/logger','appendTestItemLog','1050567cFkGbd','3402355LYMtuT','removeAllListeners','dUltC','mmWTy','3mdbCjG','XxdYQ','ZgIng','LogCreated','frameworkName','hPrRj','3793hTKqaa','failure','comment','fgalz','failure_backtrace','toISOString','browserstack','body','finished','bddStepStart','status','toLowerCase','hyOLs','aZxsM','testAnalyticsId','_afterAll','ctx','concat','passed','findGitConfig','EMeYU','TEST_RUN_SKIPPED','getCBTInfo','codeceptjs','WRItj','1776604Kxubxk','forEach','TVCBq','location_prefix','groups','hooks','cwd','HmTlD','connect','../../helpers/test-observability/utils','161435mEJcYF','KNBUH','test','428ZeBoaA','event_type','prefixTestPath','xVrFg','stringify','push','hookAnalyticsId','DIrKQ','YFqEi','Kmuhz','TEST_RUN_FINISHED','skipped','text','VDudV','HookRunStarted','wsEndpoint','_beforeAll','file_name','LAIMv','fireEvent','pid','BGeLP','../../helpers/test-observability/constants','hook_run_uuid','then','failed','_paths','statSync','39ueubvO','noWmi','exports','MKSIl','aqGia','.git','kSORB','GSKec','stop','cyPQv','defineProperty','GGKmi','Failed\x20to\x20parse\x20wsendpoint\x20','getHierarchy','BrowserType','uHOfV','WFXbH','getHooksForTest','\x20with\x20error\x20:\x20','ZBtLe','8WobdaV','hook_type','bddStepFinish','BmitM','message','toUpperCase','Sqaso','KHkMN','PathHelper','lib','TestRunStarted','failure_reason_expanded','GNiPr','now','NNkBP','FqunT','bddSteps','obsBrowserTypeMockApplied','dirname','315ZRwCol','stepAnalyticsId','jDTZL','TestRunSkipped','setupBrowserDetails','TxQWH','getRootParentFile','wqECQ','start','ZYNiv','vUMpa','accessibilityPlatform','apply','expanded','feature','xjWbI','ofSzY','JSPYQ','36LpNUUT','uploadEventData','meta','_beforeEach','_afterEach','success','integrations','PLAYWRIGHT_HUB_URL','backtrace','wfCTU','pfjPz','captureEvent','currentTest','find','test_run','mucJN','title','wnCwp','XVODW','hook','util','File\x20path\x20could\x20not\x20be\x20found','match','BQqEd','zfZLi','started','getFailureType','mIAKq','gMQZT','getHookType','DjDFj','relative','retryOf','browserType.js','TEST_RUN_STARTED','dJOOy','fxqVj','GlGAj','mxunC','qSBqz','startedAt','getTime','type','LInRO','driver','pending','toString','nAQpu','failureData','hsSND','_testEnv','336574JvWGwU','../../helpers/test-observability/sessionHandler','YIaPB','finished_at','name','__platformCaps','launch','../playwright/sessionDetails','suites','err','hGZDt','HookRunFinished','../mocha/test-observability/mochaUtils','sendCBTInfo','../../helpers/test-observability/requestQueueHandler','test_run_uuid','result'];a4_0x4d69=function(){return _0x56bca1;};return a4_0x4d69();}a4_0x4acad9[a4_0x2a935e(0x14a)]=O11yHelper,a4_0x4acad9[a4_0x2a935e(0x149)]=STATE_PASSED,a4_0x4acad9[a4_0x2a935e(0x13d)]=STATE_FAILED,a4_0x4acad9[a4_0x2a935e(0x158)]=TEST_EVENTS,module[a4_0x2a935e(0x1b9)]=a4_0x4acad9;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x37d3e0=a5_0x1097;function a5_0xd49b(){const _0x505a0e=['stepsFailed','push','errorMessage','splice','CUCUMBER','\x20pending','yellow','../../helpers/utilities','15113nvPJle','9hnnEpk','bnvxI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exports','\x20skipped','error\x20removing\x20tcg\x20config\x20file','QAuXR','getUserWorkerCount','skipSessionStatus','cwd','isBrowserstackInfra','true','logLevel','lZFwz','red','prepareCapabilities','createDir','WHOKe','getPlatformName','useW3C','stop','path','****\x20RESULTS\x20****','isUndefined','QgUKj','handleApp','../test-runner','turboScaleUrl','end','tmp','SDK_SETUP','\x20undefined','178xactxQ','EdXeH','accessibilityOptions','../../helpers/BrowserStackSetup','bgWhite','Jkovj','411152kElbZI','exitCode','\x20failed','initialize','tLdFg','3437148QVSMve','../../helpers/testhub/testhubHandler','stepsPending','61527BBorEz','unlinkSync','bold','Removing\x20tmp\x20directory\x20created\x20for\x20reports','EVENTS','../../helpers/performance/constants','2335730SHshSh','util','scenarios','CJLyc','BROWSERSTACK_TEST_OBSERVABILITY_YML','8jGIEFT','then','debug','cucumber-js','length','HCgUa','4591BRYevO','gBrWi','start','scenariosFailed','euWcy','tmHAv','stringify','cucumber','WkFOZ','testContextOptions','FRAMEWORKS','stepsAmbiguous','env','winstonLogger','1684870sTuUYI','../../helpers/performance/performance-tester','argv','setupTCGAuth','stepsUndefined','removeDir','\x20passed','KVoPa','framework','VlkSo','skipSessionName','tBiOt','SDK_CLEANUP','nbWMw','gxnyi','BkyHi','config','printBuildLink','testObservability','cyan','green','\x20scenarios','zPcCn','getTCGConfigFilePaths','log','AOIMZ','390wZTVsQ','stepsUnknown','jKhRY','proxySettings','rbdOe','OxtzZ'];a5_0xd49b=function(){return _0x505a0e;};return a5_0xd49b();}(function(_0x5df4b5,_0x4be14e){const _0x3120ca=a5_0x1097,_0x1179ad=_0x5df4b5();while(!![]){try{const _0x1ce67a=-parseInt(_0x3120ca(0x181))/0x1*(-parseInt(_0x3120ca(0x162))/0x2)+-parseInt(_0x3120ca(0x170))/0x3*(-parseInt(_0x3120ca(0x17b))/0x4)+-parseInt(_0x3120ca(0x18f))/0x5+-parseInt(_0x3120ca(0x1a9))/0x6*(-parseInt(_0x3120ca(0x1b7))/0x7)+parseInt(_0x3120ca(0x168))/0x8*(parseInt(_0x3120ca(0x1b8))/0x9)+parseInt(_0x3120ca(0x176))/0xa+-parseInt(_0x3120ca(0x16d))/0xb;if(_0x1ce67a===_0x4be14e)break;else _0x1179ad['push'](_0x1179ad['shift']());}catch(_0xba590c){_0x1179ad['push'](_0x1179ad['shift']());}}}(a5_0xd49b,0x370c5));function a5_0x1097(_0x2b632e,_0x5373ad){const _0xd49b6b=a5_0xd49b();return a5_0x1097=function(_0x10970b,_0x3d730a){_0x10970b=_0x10970b-0x15f;let _0x35e4a7=_0xd49b6b[_0x10970b];return _0x35e4a7;},a5_0x1097(_0x2b632e,_0x5373ad);}const fs=require('fs'),path=require(a5_0x37d3e0(0x1cd)),util=require(a5_0x37d3e0(0x177)),logger=require('../../helpers/logger')[a5_0x37d3e0(0x18e)],{default:BrowserStackSetup}=require(a5_0x37d3e0(0x165)),helper=require('../../helpers/helper'),utilities=require(a5_0x37d3e0(0x1b6)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x37d3e0(0x1d2)),TestHubHandler=require(a5_0x37d3e0(0x16e)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require(a5_0x37d3e0(0x190)),PerformanceEvents=require(a5_0x37d3e0(0x175))[a5_0x37d3e0(0x174)];function printCucumberStats(_0x14ec18){const _0x3b612c=a5_0x37d3e0,_0x59900f={};_0x59900f['tBiOt']=function(_0x1cf32d,_0x50dbff){return _0x1cf32d>_0x50dbff;},_0x59900f[_0x3b612c(0x186)]=function(_0x408449,_0x5a15a7){return _0x408449-_0x5a15a7;},_0x59900f[_0x3b612c(0x185)]=function(_0x212c6a,_0x34e84c){return _0x212c6a-_0x34e84c;},_0x59900f[_0x3b612c(0x198)]=function(_0x3fcd47,_0x2a53e3){return _0x3fcd47>_0x2a53e3;},_0x59900f['AimNy']=function(_0x458978,_0xf8ac9e){return _0x458978>_0xf8ac9e;},_0x59900f[_0x3b612c(0x1c9)]=function(_0xaecdc6,_0x575c97){return _0xaecdc6>_0x575c97;},_0x59900f[_0x3b612c(0x19d)]=function(_0xdcf636,_0x23b982){return _0xdcf636>_0x23b982;},_0x59900f[_0x3b612c(0x1b9)]=function(_0x4cc1a5,_0x3f84fd){return _0x4cc1a5>_0x3f84fd;},_0x59900f[_0x3b612c(0x19e)]=function(_0x5655dd,_0x4fa966){return _0x5655dd>_0x4fa966;},_0x59900f[_0x3b612c(0x16c)]=function(_0x8d4f2a,_0x203bab){return _0x8d4f2a>_0x203bab;},_0x59900f['uDMny']=function(_0x3a30a3,_0x63b945){return _0x3a30a3>_0x63b945;},_0x59900f[_0x3b612c(0x196)]=function(_0x3499ee,_0x26f8ea){return _0x3499ee+_0x26f8ea;},_0x59900f[_0x3b612c(0x1c5)]=function(_0xcc3686,_0x2f3bae){return _0xcc3686+_0x2f3bae;},_0x59900f[_0x3b612c(0x179)]=function(_0x82052d,_0x194d97){return _0x82052d+_0x194d97;},_0x59900f[_0x3b612c(0x1ae)]=function(_0xa1704f,_0x3e0b52){return _0xa1704f===_0x3e0b52;},_0x59900f[_0x3b612c(0x1d0)]=_0x3b612c(0x1ce);const _0x4b9c04=_0x59900f;let _0xc8662b=0x0;if(_0x4b9c04[_0x3b612c(0x1ae)](_0x14ec18['length'],0x0))return _0xc8662b;return console[_0x3b612c(0x1a7)](chalk[_0x3b612c(0x172)][_0x3b612c(0x166)](_0x4b9c04[_0x3b612c(0x1d0)])),_0x14ec18['forEach'](_0x14d554=>{const _0x3e54dd=_0x3b612c,_0x1b2b3d=_0x14d554[0x0],_0x8d8f23=_0x14d554[0x1];console[_0x3e54dd(0x1a7)]('\x0a'+chalk['bold'][_0x3e54dd(0x1b5)](''+helper[_0x3e54dd(0x1ca)](_0x1b2b3d)));const _0x716d26=_0x8d8f23[_0x3e54dd(0x178)],_0x45d0de=_0x8d8f23['steps'],_0x902dd4=_0x8d8f23[_0x3e54dd(0x184)],_0x3f6572=_0x8d8f23[_0x3e54dd(0x1af)],_0x53fdd9=_0x8d8f23['stepsPassed'],_0x342db2=_0x8d8f23['stepsSkipped'],_0x2c82a6=_0x8d8f23[_0x3e54dd(0x16f)],_0x7641b4=_0x8d8f23[_0x3e54dd(0x193)],_0x207590=_0x8d8f23[_0x3e54dd(0x1aa)],_0x117edc=_0x8d8f23[_0x3e54dd(0x18c)],_0x23f73b=_0x8d8f23['processSuccess'];let _0x263300=_0x716d26+_0x3e54dd(0x1a4);const _0x25cb9c=_0x4b9c04['tBiOt'](_0x4b9c04[_0x3e54dd(0x186)](_0x716d26,_0x902dd4),0x0)?_0x4b9c04[_0x3e54dd(0x185)](_0x716d26,_0x902dd4):0x0;if(_0x4b9c04[_0x3e54dd(0x198)](_0x902dd4,0x0)&&_0x4b9c04['AimNy'](_0x25cb9c,0x0))_0x263300+='\x20('+chalk['bold'][_0x3e54dd(0x1c6)](_0x902dd4+_0x3e54dd(0x16a))+',\x20'+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1a3)](_0x25cb9c+_0x3e54dd(0x195))+')';else(_0x4b9c04[_0x3e54dd(0x19a)](_0x902dd4,0x0)||_0x4b9c04[_0x3e54dd(0x1c9)](_0x25cb9c,0x0))&&(_0x263300+=_0x4b9c04['VlkSo'](_0x902dd4,0x0)?'\x20('+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1c6)](_0x902dd4+_0x3e54dd(0x16a))+')':'\x20('+chalk[_0x3e54dd(0x172)]['green'](_0x25cb9c+'\x20passed')+')');const _0xa1a4c7=_0x45d0de+'\x20steps',_0x5bcc22=[];_0x4b9c04[_0x3e54dd(0x198)](_0x117edc,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1c6)](_0x117edc+'\x20ambiguous'));_0x4b9c04[_0x3e54dd(0x19d)](_0x3f6572,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1c6)](_0x3f6572+_0x3e54dd(0x16a)));_0x4b9c04['AimNy'](_0x53fdd9,0x0)&&_0x5bcc22['push'](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1a3)](_0x53fdd9+_0x3e54dd(0x195)));_0x4b9c04['bnvxI'](_0x2c82a6,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1b5)](_0x2c82a6+_0x3e54dd(0x1b4)));_0x4b9c04[_0x3e54dd(0x19e)](_0x342db2,0x0)&&_0x5bcc22['push'](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1a2)](_0x342db2+_0x3e54dd(0x1bc)));_0x4b9c04[_0x3e54dd(0x16c)](_0x7641b4,0x0)&&_0x5bcc22[_0x3e54dd(0x1b0)](''+chalk[_0x3e54dd(0x172)][_0x3e54dd(0x1b5)](_0x7641b4+_0x3e54dd(0x161)));_0x4b9c04['uDMny'](_0x207590,0x0)&&_0x5bcc22['push'](''+chalk['bold']['yellow'](_0x207590+_0x3e54dd(0x1bc)));const _0x28607d=_0x4b9c04[_0x3e54dd(0x196)](_0x4b9c04[_0x3e54dd(0x196)](_0x4b9c04[_0x3e54dd(0x196)](_0xa1a4c7,'('),_0x5bcc22['join'](',\x20')),')');console[_0x3e54dd(0x1a7)](_0x4b9c04['lZFwz'](_0x4b9c04[_0x3e54dd(0x1c5)](_0x4b9c04[_0x3e54dd(0x179)](_0x4b9c04[_0x3e54dd(0x196)]('\x0a',_0x263300),'\x0a'),_0x28607d),'\x0a')),_0x4b9c04[_0x3e54dd(0x1ae)](_0x23f73b,![])&&(_0xc8662b=0x1);}),_0xc8662b;}async function run(_0x3b21d5,_0x265a98){const _0x2aacd2=a5_0x37d3e0,_0x539f6a={'nbWMw':function(_0x50f5b1,_0x2ede70){return _0x50f5b1(_0x2ede70);},'rbdOe':function(_0x4c5d59,_0x53a038){return _0x4c5d59>_0x53a038;},'Jkovj':'Generating\x20consolidated\x20report...','sjYok':_0x2aacd2(0x173),'AhCef':_0x2aacd2(0x188),'uflKo':_0x2aacd2(0x1bd),'AOIMZ':_0x2aacd2(0x17e),'gBrWi':_0x2aacd2(0x15f),'WkFOZ':function(_0x229084,_0x1e006d){return _0x229084>_0x1e006d;},'HCgUa':function(_0x36674d,_0x44ef76){return _0x36674d-_0x44ef76;},'zPcCn':function(_0x40f961,_0x58c7de){return _0x40f961>=_0x58c7de;},'QAuXR':function(_0x1afb1f,_0x41689a){return _0x1afb1f!=_0x41689a;},'EdXeH':_0x2aacd2(0x1c3),'jKhRY':function(_0x2bed07,_0x1f586c,_0x4a3dab,_0x4a21ac,_0x384351,_0x42a1dd){return _0x2bed07(_0x1f586c,_0x4a3dab,_0x4a21ac,_0x384351,_0x42a1dd);}},_0x2008ea=new BrowserStackSetup(_0x3b21d5,_0x539f6a[_0x2aacd2(0x1a8)]);await _0x2008ea[_0x2aacd2(0x16b)](),helper['setUserConfigPath'](_0x2008ea[_0x2aacd2(0x197)],_0x3b21d5);!helper[_0x2aacd2(0x1c2)]()&&await _0x2008ea[_0x2aacd2(0x192)]();await helper[_0x2aacd2(0x1d1)](_0x2008ea[_0x2aacd2(0x19f)]);const _0x5df627=helper[_0x2aacd2(0x1cb)](_0x2008ea[_0x2aacd2(0x19f)]),_0x53c68a=helper[_0x2aacd2(0x1c7)](_0x2008ea[_0x2aacd2(0x19f)],_0x5df627,constants[_0x2aacd2(0x18b)][_0x2aacd2(0x1b3)]);if(!_0x2008ea['config'])return;const _0x2b4f38=_0x2008ea[_0x2aacd2(0x19f)]['parallelsPerPlatform']||helper[_0x2aacd2(0x1bf)](_0x3b21d5,_0x265a98,_0x2008ea[_0x2aacd2(0x19f)],constants[_0x2aacd2(0x18b)][_0x2aacd2(0x1b3)])||0x1,_0x119126={'server':helper['getHubUrl'](_0x2008ea[_0x2aacd2(0x19f)]),'proxySettings':_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1ac)],'maxWorkers':_0x2b4f38,'browserStackLogLevel':_0x2008ea['config'][_0x2aacd2(0x1c4)],'skipSessionName':_0x2008ea[_0x2aacd2(0x19f)]['testContextOptions'][_0x2aacd2(0x199)],'skipSessionStatus':_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x18a)][_0x2aacd2(0x1c0)],'turboScaleUrl':_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1d3)]},_0x90b526=process[_0x2aacd2(0x191)],[_0x25857e,_0x3abd48]=helper['parseFormatters'](_0x90b526),_0x3bbb99=path['join'](process[_0x2aacd2(0x1c1)](),_0x539f6a[_0x2aacd2(0x182)]);if(_0x539f6a[_0x2aacd2(0x189)](_0x3abd48['length'],0x0)){helper[_0x2aacd2(0x1c8)](_0x3bbb99);for(let _0x5c81c1=_0x539f6a[_0x2aacd2(0x180)](_0x25857e[_0x2aacd2(0x17f)],0x1);_0x539f6a[_0x2aacd2(0x1a5)](_0x5c81c1,0x0);_0x5c81c1--){_0x90b526[_0x2aacd2(0x1b2)](_0x25857e[_0x5c81c1],0x2);}}!helper[_0x2aacd2(0x1cf)](_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x164)])&&(process[_0x2aacd2(0x18d)][_0x2aacd2(0x1ba)]=JSON[_0x2aacd2(0x187)](_0x2008ea['config']['accessibilityOptions']));_0x539f6a[_0x2aacd2(0x1be)](_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1a1)],null)?process[_0x2aacd2(0x18d)][_0x2aacd2(0x17a)]=_0x2008ea[_0x2aacd2(0x19f)][_0x2aacd2(0x1a1)]:process[_0x2aacd2(0x18d)][_0x2aacd2(0x17a)]=_0x539f6a[_0x2aacd2(0x163)];const _0x397437=await TestHubHandler['launchBuild'](constants[_0x2aacd2(0x18b)][_0x2aacd2(0x1b3)],_0x2008ea);PerformanceTester[_0x2aacd2(0x1d4)](PerformanceEvents[_0x2aacd2(0x160)]);let _0x26ea63;_0x539f6a[_0x2aacd2(0x1ab)](parallelCucumberRun,_0x53c68a,_0x119126,_0x2008ea[_0x2aacd2(0x19f)],_0x90b526,_0x3abd48)[_0x2aacd2(0x17c)](async _0x5b2d2d=>{const _0x4cc6cb=_0x2aacd2;PerformanceTester[_0x4cc6cb(0x183)](PerformanceEvents['SDK_CLEANUP']),_0x26ea63=_0x5b2d2d;const _0x3533ee=_0x539f6a[_0x4cc6cb(0x19c)](printCucumberStats,_0x5b2d2d);process[_0x4cc6cb(0x169)]=_0x3533ee,_0x539f6a[_0x4cc6cb(0x1ad)](_0x3abd48['length'],0x0)&&(logger[_0x4cc6cb(0x17d)](_0x539f6a[_0x4cc6cb(0x167)]),helper['mergeOutputFiles'](_0x3bbb99,_0x3abd48),logger[_0x4cc6cb(0x17d)](_0x539f6a['sjYok']),helper[_0x4cc6cb(0x194)](_0x3bbb99));})['finally'](async()=>{const _0x13640a=_0x2aacd2;PerformanceTester['start'](PerformanceEvents[_0x13640a(0x19b)]),_0x2008ea[_0x13640a(0x1b1)]=helper['getErrorMessageFromResults'](_0x26ea63,_0x539f6a['AhCef']),testOpsHelper[_0x13640a(0x1a0)]();try{await TestHubHandler[_0x13640a(0x1cc)]();}catch(_0x598a10){logger[_0x13640a(0x17d)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x598a10));}try{const {browserstackFolderPath:_0x5bf98d,tcgConfigPath:_0x3d5375}=helper[_0x13640a(0x1a6)]();fs[_0x13640a(0x171)](_0x3d5375),fs['rmdirSync'](_0x5bf98d);}catch(_0xefb9a){logger[_0x13640a(0x17d)](_0x539f6a['uflKo'],_0xefb9a);}await utilities['finalExecution'](_0x2008ea);});}module[a5_0x37d3e0(0x1bb)]=run;
|
|
2
|
+
'use strict';const a5_0x13fb26=a5_0x3409;(function(_0x3ca86e,_0x34d881){const _0x502fd1=a5_0x3409,_0x4e8a8c=_0x3ca86e();while(!![]){try{const _0xd2d57a=parseInt(_0x502fd1(0x1c1))/0x1+parseInt(_0x502fd1(0x1c0))/0x2*(-parseInt(_0x502fd1(0x189))/0x3)+-parseInt(_0x502fd1(0x1c2))/0x4+parseInt(_0x502fd1(0x199))/0x5+-parseInt(_0x502fd1(0x174))/0x6+parseInt(_0x502fd1(0x1c6))/0x7*(-parseInt(_0x502fd1(0x191))/0x8)+-parseInt(_0x502fd1(0x172))/0x9*(-parseInt(_0x502fd1(0x1c8))/0xa);if(_0xd2d57a===_0x34d881)break;else _0x4e8a8c['push'](_0x4e8a8c['shift']());}catch(_0x5322b9){_0x4e8a8c['push'](_0x4e8a8c['shift']());}}}(a5_0x4eb7,0xbc3eb));function a5_0x3409(_0x177ffe,_0x2c6603){const _0x4eb7aa=a5_0x4eb7();return a5_0x3409=function(_0x3409dc,_0x1587bc){_0x3409dc=_0x3409dc-0x169;let _0x30b800=_0x4eb7aa[_0x3409dc];return _0x30b800;},a5_0x3409(_0x177ffe,_0x2c6603);}const fs=require('fs'),path=require(a5_0x13fb26(0x176)),util=require(a5_0x13fb26(0x1b4)),logger=require(a5_0x13fb26(0x1d0))[a5_0x13fb26(0x1be)],{default:BrowserStackSetup}=require(a5_0x13fb26(0x1c4)),helper=require(a5_0x13fb26(0x1ce)),utilities=require(a5_0x13fb26(0x177)),constants=require(a5_0x13fb26(0x1ac)),{parallelCucumberRun}=require(a5_0x13fb26(0x17f)),TestHubHandler=require(a5_0x13fb26(0x1b8)),testOpsHelper=require(a5_0x13fb26(0x1b5)),chalk=require(a5_0x13fb26(0x1dc)),PerformanceTester=require(a5_0x13fb26(0x1a3)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x13fb26(0x1bd)];function printCucumberStats(_0x51cb1b){const _0x5cbdab=a5_0x13fb26,_0x12699a={};_0x12699a[_0x5cbdab(0x179)]=function(_0x3c5537,_0xb566d5){return _0x3c5537>_0xb566d5;},_0x12699a[_0x5cbdab(0x1ae)]=function(_0x2fb744,_0x578c38){return _0x2fb744-_0x578c38;},_0x12699a['bYDwB']=function(_0x5a6614,_0x39041e){return _0x5a6614-_0x39041e;},_0x12699a['Rnfao']=function(_0xab64f9,_0x4a40f1){return _0xab64f9>_0x4a40f1;},_0x12699a[_0x5cbdab(0x1b9)]=function(_0x1475f6,_0x28e333){return _0x1475f6>_0x28e333;},_0x12699a[_0x5cbdab(0x1b2)]=function(_0x56c422,_0x3b92f3){return _0x56c422>_0x3b92f3;},_0x12699a[_0x5cbdab(0x178)]=function(_0x18306b,_0x29c342){return _0x18306b>_0x29c342;},_0x12699a[_0x5cbdab(0x173)]=function(_0x3a15d6,_0x1351c6){return _0x3a15d6>_0x1351c6;},_0x12699a[_0x5cbdab(0x186)]=function(_0x1bd4d4,_0x5a41d2){return _0x1bd4d4+_0x5a41d2;},_0x12699a[_0x5cbdab(0x1d6)]=function(_0x41ec7e,_0x49a4ae){return _0x41ec7e+_0x49a4ae;},_0x12699a[_0x5cbdab(0x16c)]=function(_0x2f71da,_0x506946){return _0x2f71da+_0x506946;},_0x12699a[_0x5cbdab(0x1d2)]=function(_0x506446,_0x43534a){return _0x506446+_0x43534a;},_0x12699a[_0x5cbdab(0x1ba)]=function(_0x48cb7c,_0xb1d78f){return _0x48cb7c+_0xb1d78f;},_0x12699a[_0x5cbdab(0x1cc)]=function(_0x181c5e,_0x2ca108){return _0x181c5e===_0x2ca108;},_0x12699a['xLOPY']=function(_0x150c31,_0x46d242){return _0x150c31===_0x46d242;},_0x12699a['mNzzY']=_0x5cbdab(0x198);const _0x36df78=_0x12699a;let _0x556a85=0x0;if(_0x36df78[_0x5cbdab(0x1bc)](_0x51cb1b[_0x5cbdab(0x1b6)],0x0))return _0x556a85;return console[_0x5cbdab(0x1b0)](chalk[_0x5cbdab(0x19c)]['bgWhite'](_0x36df78['mNzzY'])),_0x51cb1b[_0x5cbdab(0x16e)](_0x182490=>{const _0x441a45=_0x5cbdab,_0x176da5=_0x182490[0x0],_0x2ad43e=_0x182490[0x1];console[_0x441a45(0x1b0)]('\x0a'+chalk[_0x441a45(0x19c)]['yellow'](''+helper[_0x441a45(0x184)](_0x176da5)));const _0x14a4b6=_0x2ad43e[_0x441a45(0x1b1)],_0x10d8dc=_0x2ad43e[_0x441a45(0x18f)],_0x496c45=_0x2ad43e['scenariosFailed'],_0x449fb4=_0x2ad43e['stepsFailed'],_0x2a8ab5=_0x2ad43e[_0x441a45(0x192)],_0x39aa51=_0x2ad43e['stepsSkipped'],_0x42a506=_0x2ad43e[_0x441a45(0x1c5)],_0x2eb37c=_0x2ad43e[_0x441a45(0x16a)],_0x18126f=_0x2ad43e[_0x441a45(0x17d)],_0x36f542=_0x2ad43e[_0x441a45(0x1a2)],_0x1e954b=_0x2ad43e[_0x441a45(0x19e)];let _0xa9057a=_0x14a4b6+_0x441a45(0x169);const _0x320a58=_0x36df78[_0x441a45(0x179)](_0x36df78['elhSe'](_0x14a4b6,_0x496c45),0x0)?_0x36df78[_0x441a45(0x185)](_0x14a4b6,_0x496c45):0x0;if(_0x36df78[_0x441a45(0x179)](_0x496c45,0x0)&&_0x36df78[_0x441a45(0x179)](_0x320a58,0x0))_0xa9057a+='\x20('+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x496c45+_0x441a45(0x17e))+',\x20'+chalk[_0x441a45(0x19c)][_0x441a45(0x1a4)](_0x320a58+_0x441a45(0x19b))+')';else(_0x36df78[_0x441a45(0x179)](_0x496c45,0x0)||_0x36df78['EMejd'](_0x320a58,0x0))&&(_0xa9057a+=_0x36df78[_0x441a45(0x179)](_0x496c45,0x0)?'\x20('+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x496c45+_0x441a45(0x17e))+')':'\x20('+chalk['bold'][_0x441a45(0x1a4)](_0x320a58+_0x441a45(0x19b))+')');const _0x59bd73=_0x10d8dc+_0x441a45(0x1ca),_0xdc8cd=[];_0x36df78['Rnfao'](_0x36f542,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x36f542+_0x441a45(0x1aa)));_0x36df78[_0x441a45(0x1b9)](_0x449fb4,0x0)&&_0xdc8cd['push'](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x449fb4+'\x20failed'));_0x36df78[_0x441a45(0x179)](_0x2a8ab5,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk[_0x441a45(0x19c)]['green'](_0x2a8ab5+_0x441a45(0x19b)));_0x36df78[_0x441a45(0x1b2)](_0x42a506,0x0)&&_0xdc8cd['push'](''+chalk['bold'][_0x441a45(0x1c7)](_0x42a506+'\x20pending'));_0x36df78[_0x441a45(0x178)](_0x39aa51,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk['bold']['cyan'](_0x39aa51+'\x20skipped'));_0x36df78[_0x441a45(0x173)](_0x2eb37c,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c7)](_0x2eb37c+_0x441a45(0x194)));_0x36df78[_0x441a45(0x178)](_0x18126f,0x0)&&_0xdc8cd['push'](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c7)](_0x18126f+_0x441a45(0x196)));const _0x2c25f4=_0x36df78[_0x441a45(0x186)](_0x36df78['duOof'](_0x36df78['xbONr'](_0x59bd73,'('),_0xdc8cd['join'](',\x20')),')');console['log'](_0x36df78[_0x441a45(0x1d2)](_0x36df78[_0x441a45(0x1ba)](_0x36df78[_0x441a45(0x1d2)](_0x36df78[_0x441a45(0x1d6)]('\x0a',_0xa9057a),'\x0a'),_0x2c25f4),'\x0a')),_0x36df78['ByZZP'](_0x1e954b,![])&&(_0x556a85=0x1);}),_0x556a85;}async function run(_0x5e526c,_0x449c4a){const _0x56bff6=a5_0x13fb26,_0x4bf287={'NvAvB':function(_0x3ca5d5,_0x13d9ec){return _0x3ca5d5(_0x13d9ec);},'yEcRQ':function(_0x4603f4,_0x2d9fe0){return _0x4603f4>_0x2d9fe0;},'jQSim':'Generating\x20consolidated\x20report...','yrztm':_0x56bff6(0x18c),'dAsnE':'cucumber','EBgCv':_0x56bff6(0x1cf),'cOsiK':'cucumber-js','fiMYF':_0x56bff6(0x190),'cxHqN':function(_0x1767a3,_0x2a8813){return _0x1767a3>_0x2a8813;},'uCRYw':function(_0x3fa28d,_0x47296e){return _0x3fa28d-_0x47296e;},'iHbok':function(_0x192c66,_0x406d1e){return _0x192c66>=_0x406d1e;},'SYaCM':function(_0x4bf106,_0xfadd25){return _0x4bf106!=_0xfadd25;},'VrzZu':_0x56bff6(0x1b7),'vAWZg':function(_0x247c73,_0x477f07,_0x1eb3ed,_0x4db999,_0x308894,_0x273359){return _0x247c73(_0x477f07,_0x1eb3ed,_0x4db999,_0x308894,_0x273359);}},_0x22302b=new BrowserStackSetup(_0x5e526c,_0x4bf287[_0x56bff6(0x1a1)]);await _0x22302b[_0x56bff6(0x188)](),helper[_0x56bff6(0x17b)](_0x22302b[_0x56bff6(0x17a)],_0x5e526c);!helper[_0x56bff6(0x18a)]()&&await _0x22302b['setupTCGAuth']();await helper[_0x56bff6(0x170)](_0x22302b[_0x56bff6(0x1db)]);const _0x3e672e=helper['useW3C'](_0x22302b[_0x56bff6(0x1db)]),_0x389530=helper[_0x56bff6(0x1bf)](_0x22302b[_0x56bff6(0x1db)],_0x3e672e,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x22302b[_0x56bff6(0x1db)])return;const _0x26a204=_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x16b)]||helper[_0x56bff6(0x197)](_0x5e526c,_0x449c4a,_0x22302b['config'],constants[_0x56bff6(0x19f)]['CUCUMBER'])||0x1,_0x402306={'server':helper[_0x56bff6(0x16f)](_0x22302b[_0x56bff6(0x1db)]),'proxySettings':_0x22302b['config'][_0x56bff6(0x187)],'maxWorkers':_0x26a204,'browserStackLogLevel':_0x22302b[_0x56bff6(0x1db)]['logLevel'],'skipSessionName':_0x22302b['config']['testContextOptions'][_0x56bff6(0x195)],'skipSessionStatus':_0x22302b[_0x56bff6(0x1db)]['testContextOptions'][_0x56bff6(0x16d)],'turboScaleUrl':_0x22302b['config'][_0x56bff6(0x18b)]},_0x5ee225=process['argv'],[_0x29dcdc,_0x355b50]=helper[_0x56bff6(0x1bb)](_0x5ee225),_0xdcb313=path[_0x56bff6(0x19a)](process[_0x56bff6(0x1b3)](),_0x4bf287[_0x56bff6(0x1af)]);if(_0x4bf287[_0x56bff6(0x18d)](_0x355b50[_0x56bff6(0x1b6)],0x0)){helper['createDir'](_0xdcb313);for(let _0x4e8bed=_0x4bf287['uCRYw'](_0x29dcdc[_0x56bff6(0x1b6)],0x1);_0x4bf287[_0x56bff6(0x1cb)](_0x4e8bed,0x0);_0x4e8bed--){_0x5ee225['splice'](_0x29dcdc[_0x4e8bed],0x2);}}!helper['isUndefined'](_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x183)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x56bff6(0x175)](_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x183)]));_0x4bf287[_0x56bff6(0x1d4)](_0x22302b[_0x56bff6(0x1db)]['testObservability'],null)?process[_0x56bff6(0x17c)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x181)]:process[_0x56bff6(0x17c)][_0x56bff6(0x193)]=_0x4bf287['VrzZu'];const _0x2e2790=await TestHubHandler[_0x56bff6(0x1d1)](constants[_0x56bff6(0x19f)][_0x56bff6(0x1da)],_0x22302b);PerformanceTester[_0x56bff6(0x1a0)](PerformanceEvents['SDK_SETUP']);let _0x350c0c;_0x4bf287['vAWZg'](parallelCucumberRun,_0x389530,_0x402306,_0x22302b[_0x56bff6(0x1db)],_0x5ee225,_0x355b50)[_0x56bff6(0x1ad)](async _0x1e0efe=>{const _0x11176c=_0x56bff6;PerformanceTester[_0x11176c(0x19d)](PerformanceEvents['SDK_CLEANUP']),_0x350c0c=_0x1e0efe;const _0x41729c=_0x4bf287['NvAvB'](printCucumberStats,_0x1e0efe);process['exitCode']=_0x41729c,_0x4bf287[_0x11176c(0x1c3)](_0x355b50[_0x11176c(0x1b6)],0x0)&&(logger[_0x11176c(0x1a5)](_0x4bf287[_0x11176c(0x1a9)]),helper[_0x11176c(0x182)](_0xdcb313,_0x355b50),logger[_0x11176c(0x1a5)](_0x4bf287['yrztm']),helper[_0x11176c(0x1d9)](_0xdcb313));})[_0x56bff6(0x1a6)](async()=>{const _0x45cd85=_0x56bff6;PerformanceTester[_0x45cd85(0x19d)](PerformanceEvents[_0x45cd85(0x1d7)]),_0x22302b[_0x45cd85(0x1ab)]=helper[_0x45cd85(0x1d5)](_0x350c0c,_0x4bf287['dAsnE']),testOpsHelper[_0x45cd85(0x1d8)]();try{await TestHubHandler[_0x45cd85(0x1a7)]();}catch(_0x456e3b){logger[_0x45cd85(0x1a5)](_0x45cd85(0x18e)+util[_0x45cd85(0x1a8)](_0x456e3b));}try{const {browserstackFolderPath:_0x975efd,tcgConfigPath:_0xb37088}=helper[_0x45cd85(0x1cd)]();fs['unlinkSync'](_0xb37088),fs['rmdirSync'](_0x975efd);}catch(_0x4894ab){logger['debug'](_0x4bf287[_0x45cd85(0x1d3)],_0x4894ab);}await utilities['finalExecution'](_0x22302b);});}function a5_0x4eb7(){const _0x4778a8=['jQSim','\x20ambiguous','errorMessage','../utils/constants','then','elhSe','fiMYF','log','scenarios','zGWMl','cwd','util','../../helpers/test-observability/utils','length','true','../../helpers/testhub/testhubHandler','ggduI','OtFmo','parseFormatters','xLOPY','EVENTS','winstonLogger','prepareCapabilities','2hOpVri','110746txXktu','1054116WLTTLs','yEcRQ','../../helpers/BrowserStackSetup','stepsPending','1509109fQoBYZ','yellow','28130kOfsIx','red','\x20steps','iHbok','ByZZP','getTCGConfigFilePaths','../../helpers/helper','error\x20removing\x20tcg\x20config\x20file','../../helpers/logger','launchBuild','eTKTz','EBgCv','SYaCM','getErrorMessageFromResults','duOof','SDK_CLEANUP','printBuildLink','removeDir','CUCUMBER','config','chalk','\x20scenarios','stepsUndefined','parallelsPerPlatform','xbONr','skipSessionStatus','forEach','getHubUrl','handleApp','exports','7551wszQIP','mFdOe','1038336Yzsxmx','stringify','path','../../helpers/utilities','nCIHZ','EMejd','framework','setUserConfigPath','env','stepsUnknown','\x20failed','../test-runner','push','testObservability','mergeOutputFiles','accessibilityOptions','getPlatformName','bYDwB','lLCNK','proxySettings','initialize','3255570dzrjJW','isBrowserstackInfra','turboScaleUrl','Removing\x20tmp\x20directory\x20created\x20for\x20reports','cxHqN','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','steps','tmp','56nRVlKk','stepsPassed','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20undefined','skipSessionName','\x20skipped','getUserWorkerCount','****\x20RESULTS\x20****','6655410ShAMkx','join','\x20passed','bold','start','processSuccess','FRAMEWORKS','end','cOsiK','stepsAmbiguous','../../helpers/performance/performance-tester','green','debug','finally','stop','format'];a5_0x4eb7=function(){return _0x4778a8;};return a5_0x4eb7();}module[a5_0x13fb26(0x171)]=run;
|