browserstack-node-sdk 1.34.43 → 1.34.44
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/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/turboscale-agent.yaml +2 -0
- 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_0x196618=a1_0x4121;function a1_0x543f(){const _0x59ad3d=['WebDriver','hook-passed','qYmYC','TEST_RUN_STARTED','msUyr','prototype','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bind','JcGpi','passed','SDK_POST_INITIALIZE','bs:addLog:','zCSAT','codeceptjs/lib/utils.js','../../helpers/accessibility-automation/helper','6124GLYFDg','rEPar','start','HOOK_RUN_STARTED','saveScreenshot','before','Performing\x20scan\x20for\x20','kNtyX','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','zXAhT','INFO','YFIFS','browserstackTestName','stopMonitoring','phesI','hook','./helper.js','bddStep-before','Suite','Playwright','TdMzR','after','zLyLQ','captureEvent','ANJcq','codeceptjs/lib/index.js','Svdlv','patch','started','BxjOS','TEST_RUN_FINISHED','warn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','lyPGj','Nkvon','SAVE_RESULTS','jugjg','../../bin/playwright/accessibility-helper','stop','thBuildUuid','BROWSERSTACK_TESTHUB_UUID','contexts','executeScript','test-after','info','TEST_RUN_SKIPPED','fireEvent','Puppeteer','apply','Failed\x20to\x20execute\x20_before:\x20','IhaeC','EMcLO','catch','performScan','mDHsO','TEST_LOG','_before','WflKL','setGlobal','test-started','ftShE','accessibilityPlatform','format','pid','ENV_VAR','readFileSync','../../helpers/request-spy','testAnalyticsId','Element','comment','BS_TESTOPS_ALLOW_SCREENSHOTS','IYKAw','all','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_PRE_INITIALIZE','tMzUU','2211IeWmYt','bddStepFinish','SESSION_STATUS','add','TVqLj','vYhmy','kuFkd','test-passed','ZedtU','../../helpers/helper','wHcXr','hookType','end','codeceptjs','iwLLW','env','codeceptjs/lib/helper/WebDriver.js','getResultsSummary','event','uXnOk','test-before','zYcJP','slice','codeceptjs/lib/recorder.js','IDxjz','title','SDK_TEST','YVSQw','oknOe','fVnfQ','action','test','1632222ydBsUC','llfYp','TestCafe','XjlTk','7hrlTCw','toISOString','stringify','MFpGI','getAccessibilityResultsSummary','browserStackExecuteDriver','afterTest','../../helpers/performance/constants','browserContext','patchSaveScreenshot','emit','titlePath','screenshotOutputFolder','__workerDetails','debug','PQfvW','33880EecpWL','browserstack_executor:\x20','hZbTt','SDK_HOOK','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','util','failed','../../helpers/test-observability/utils','dispatcher','XvyvO','filter','hook-started','initSaveScreenshot','KSahB','helpers','status','currentTest','1430952bRTfXO','test-failed','skipped','2045EDTTnN','reason','SDK_POST_TEST','jWgWh','thJwtToken','commandsToWrap','VtPBD','IwUoF','captureError','HOOK_RUN_FINISHED','EnVuC','GzEmg','eZapM','32SATmQP','zdTIP','uaQZK','ctx','__driver','bddStep','saveTestResults','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','__skipSessionStatus','step-comment','fYjOo','measureWrapper','YhEsE','bstackAllyScanning','../../helpers/globals.js','forEach','Bgcow','60798nxKYLY','11QudLnW','base64','hook-failed','37270812frqjjD','../../bin/playwright/sessionDetails','Ajkbl','SESSION_NAME','name','egFgV','iJykx','Jehkm','skipSessionName','SDK_PRE_TEST','BROWSERSTACK_TESTHUB_JWT','winstonLogger','browser','thTestRunUuid','381942czfnRn','gHSKh','command','toString','skipSessionStatus','bddStep-after','GET_RESULTS_SUMMARY','GjTPR','getSyncScript','arguments','PERFORM_SCAN','getAccessibilityResults','class','constructor','exports','dVuyW','GET_RESULTS'];a1_0x543f=function(){return _0x59ad3d;};return a1_0x543f();}(function(_0x10ee7a,_0x41af1d){const _0x5225bd=a1_0x4121,_0x448078=_0x10ee7a();while(!![]){try{const _0xe90606=parseInt(_0x5225bd(0x17b))/0x1*(-parseInt(_0x5225bd(0x17a))/0x2)+parseInt(_0x5225bd(0x18c))/0x3+parseInt(_0x5225bd(0x1ac))/0x4*(-parseInt(_0x5225bd(0x15c))/0x5)+parseInt(_0x5225bd(0x159))/0x6*(-parseInt(_0x5225bd(0x21c))/0x7)+-parseInt(_0x5225bd(0x169))/0x8*(parseInt(_0x5225bd(0x218))/0x9)+-parseInt(_0x5225bd(0x148))/0xa*(parseInt(_0x5225bd(0x1f8))/0xb)+parseInt(_0x5225bd(0x17e))/0xc;if(_0xe90606===_0x41af1d)break;else _0x448078['push'](_0x448078['shift']());}catch(_0x2e850d){_0x448078['push'](_0x448078['shift']());}}}(a1_0x543f,0x99417));function a1_0x4121(_0x3e72dd,_0x548397){const _0x543fd3=a1_0x543f();return a1_0x4121=function(_0x412179,_0x4cb744){_0x412179=_0x412179-0x143;let _0x1b9c95=_0x543fd3[_0x412179];return _0x1b9c95;},a1_0x4121(_0x3e72dd,_0x548397);}const fs=require('fs'),util=require(a1_0x196618(0x14d)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x196618(0x201)),logger=require('../../helpers/logger')[a1_0x196618(0x189)],testOpsHelper=require(a1_0x196618(0x14f)),requestSpy=require(a1_0x196618(0x1ee)),PlaywrightSessionDetails=require(a1_0x196618(0x17f)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x196618(0x1ab)),AccessibilityHelper=require(a1_0x196618(0x1d1)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x196618(0x223)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x196618(0x1bc)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x196618(0x177)),CodeceptJS=requireModule(a1_0x196618(0x1c5),a1_0x196618(0x205)),CodeceptUtils=requireModule(a1_0x196618(0x1aa),a1_0x196618(0x205)),CodeceptWebDriver=requireModule(a1_0x196618(0x208),a1_0x196618(0x205)),CodeceptRecorder=requireModule(a1_0x196618(0x20f),'codeceptjs'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x196618(0x205)),playwrightMarkSessionStatus=(_0x2f6a6b,_0x42c50f,_0x1111a3)=>{const _0x17ad87=a1_0x196618,_0x46d95b={'YhEsE':'setSessionStatus','ufkVV':function(_0x4721a2,_0x13e47f){return _0x4721a2(_0x13e47f);}},_0x5d3665={};_0x5d3665[_0x17ad87(0x157)]=_0x42c50f;const _0x1af933={};_0x1af933['action']=_0x46d95b[_0x17ad87(0x175)],_0x1af933['arguments']=_0x5d3665;const _0x302feb=_0x1af933;return!_0x46d95b['ufkVV'](isUndefined,_0x1111a3)&&(_0x302feb['arguments'][_0x17ad87(0x15d)]=JSON[_0x17ad87(0x21e)](_0x1111a3)),_0x2f6a6b[_0x17ad87(0x1d6)](()=>{},_0x17ad87(0x149)+JSON[_0x17ad87(0x21e)](_0x302feb));},o11ySync=PerformanceTester[a1_0x196618(0x174)](PerformanceO11yEvents['SYNC'],async _0x1ca578=>{const _0x26284d=a1_0x196618,_0x527215={};_0x527215[_0x26284d(0x20d)]=function(_0x319193,_0x42f45e){return _0x319193===_0x42f45e;},_0x527215[_0x26284d(0x1f3)]=_0x26284d(0x1bf);const _0x8a25a3=_0x527215;_0x8a25a3[_0x26284d(0x20d)](_0x1ca578[_0x26284d(0x199)][_0x26284d(0x182)],_0x8a25a3[_0x26284d(0x1f3)])?await _0x1ca578[_0x26284d(0x1d6)](_0x37c461=>{},testOpsHelper[_0x26284d(0x194)]()):await _0x1ca578[_0x26284d(0x1d6)](testOpsHelper[_0x26284d(0x194)]());}),markSessionName=PerformanceTester[a1_0x196618(0x174)](PerformanceAutEvents[a1_0x196618(0x181)],async(_0x28cc4c,_0x2ce63d)=>{const _0x4fd1ea=a1_0x196618,_0x29c01b={};_0x29c01b[_0x4fd1ea(0x219)]='setSessionName',_0x29c01b[_0x4fd1ea(0x1f7)]=function(_0x2641e6,_0x1e7882){return _0x2641e6===_0x1e7882;},_0x29c01b[_0x4fd1ea(0x151)]=_0x4fd1ea(0x1bf);const _0x1b839f=_0x29c01b,_0x238304={};_0x238304[_0x4fd1ea(0x182)]=_0x2ce63d;const _0x30f2c1={};_0x30f2c1[_0x4fd1ea(0x216)]=_0x1b839f['llfYp'],_0x30f2c1[_0x4fd1ea(0x195)]=_0x238304;const _0x44783b=_0x30f2c1;_0x1b839f[_0x4fd1ea(0x1f7)](_0x28cc4c[_0x4fd1ea(0x199)][_0x4fd1ea(0x182)],_0x1b839f['XvyvO'])?await _0x28cc4c['executeScript'](()=>{},_0x4fd1ea(0x149)+JSON[_0x4fd1ea(0x21e)](_0x44783b)):await _0x28cc4c[_0x4fd1ea(0x1d6)](_0x4fd1ea(0x149)+JSON[_0x4fd1ea(0x21e)](_0x44783b));}),patchSaveScreenshot=_0x11862b=>{const _0x155b9d=a1_0x196618,_0x4da23b={'EnVuC':_0x155b9d(0x17c),'hZbTt':'TEST_SCREENSHOT','Svdlv':function(_0x70be25){return _0x70be25();},'VtPBD':function(_0x5bbab0,_0x381e41){return _0x5bbab0(_0x381e41);}};_0x4da23b[_0x155b9d(0x162)](isTrue,process[_0x155b9d(0x207)][_0x155b9d(0x1f2)])&&!_0x11862b[_0x155b9d(0x225)]&&(_0x11862b[_0x155b9d(0x225)]=!![],_0x11862b[_0x155b9d(0x154)]=_0x11862b['saveScreenshot'],_0x11862b[_0x155b9d(0x1b0)]=(_0x206a62,_0x19def1=![])=>{const _0x29c9cd=_0x155b9d,_0x43773d={'Nkvon':_0x4da23b[_0x29c9cd(0x166)],'CLpbh':_0x4da23b[_0x29c9cd(0x14a)],'kuFkd':function(_0x24aeaf){const _0x44953d=_0x29c9cd;return _0x4da23b[_0x44953d(0x1c6)](_0x24aeaf);}};return new Promise(function(_0x256527,_0x9af9a9){const _0x10c1e8=_0x29c9cd;_0x11862b['initSaveScreenshot'](_0x206a62,_0x19def1)['then'](()=>{const _0x57ff83=a1_0x4121,_0x400555=CodeceptUtils[_0x57ff83(0x144)](_0x206a62),_0xbc9593=fs[_0x57ff83(0x1ed)](_0x400555);process['emit'](_0x57ff83(0x1a8)+process['pid'],{'timestamp':new Date()[_0x57ff83(0x21d)](),'message':_0xbc9593[_0x57ff83(0x18f)](_0x43773d[_0x57ff83(0x1ce)]),'kind':_0x43773d['CLpbh']}),_0x43773d[_0x57ff83(0x1fe)](_0x256527);})[_0x10c1e8(0x1e0)](()=>null);});});},patchWebDriverBefore=_0x43783f=>{const _0x2fc057=a1_0x196618,_0x2f57a6={'PQfvW':function(_0x563269){return _0x563269();},'gHSKh':function(_0xdcb78b,_0x301b8c){return _0xdcb78b(_0x301b8c);},'rEPar':function(_0x22a444,_0x5573fd){return _0x22a444===_0x5573fd;},'ZedtU':_0x2fc057(0x1f0)},_0x127e56=async function(_0x4607a1,_0x512b95){const _0x3f44bb=_0x2fc057;return _0x2f57a6[_0x3f44bb(0x147)](isAccessibilityAutomationSession)&&!global[_0x3f44bb(0x176)]&&global[_0x3f44bb(0x1e9)]&&scripts['shouldWrapCommand'](_0x4607a1['name'])&&_0x2f57a6[_0x3f44bb(0x18d)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3f44bb(0x176)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f44bb(0x196)],async()=>{const _0x329fa7=_0x3f44bb;logger[_0x329fa7(0x146)](_0x329fa7(0x1b2)+_0x4607a1[_0x329fa7(0x198)]+'\x20'+_0x4607a1[_0x329fa7(0x182)]),await AccessibilityHelper[_0x329fa7(0x221)](_0x43783f,scripts[_0x329fa7(0x1e1)]);},{'command':_0x4607a1['name']})()),global[_0x3f44bb(0x176)]=![],_0x512b95[_0x3f44bb(0x1dc)](this,Array[_0x3f44bb(0x1a2)][_0x3f44bb(0x20e)]['call'](arguments,0x2));},_0x2ceecf=CodeceptWebDriver[_0x2fc057(0x1a2)][_0x2fc057(0x1e4)];CodeceptWebDriver[_0x2fc057(0x1a2)][_0x2fc057(0x1e4)]=async function(){const _0x38e0e3=_0x2fc057;try{await _0x2ceecf[_0x38e0e3(0x1dc)](this,arguments);}catch(_0x206135){logger[_0x38e0e3(0x146)](_0x38e0e3(0x1dd)+util[_0x38e0e3(0x1ea)](_0x206135));}scripts[_0x38e0e3(0x161)][_0x38e0e3(0x152)](_0x4f31ac=>_0x4f31ac[_0x38e0e3(0x182)]&&_0x4f31ac[_0x38e0e3(0x198)])[_0x38e0e3(0x178)](_0x29d9a7=>{const _0x1ade84=_0x38e0e3;this[_0x1ade84(0x18a)]['overwriteCommand'](_0x29d9a7['name'],_0x127e56[_0x1ade84(0x1a4)](this,_0x29d9a7),_0x2f57a6[_0x1ade84(0x1ad)](_0x29d9a7[_0x1ade84(0x198)],_0x2f57a6[_0x1ade84(0x200)]));}),_0x2f57a6[_0x38e0e3(0x18d)](processWebDriverConfig,_0x43783f);};},patchPlaywrightBefore=()=>{const _0x206ba2=a1_0x196618;PlaywrightSessionDetails[_0x206ba2(0x1c7)]();const _0x3f1e21=CodeceptPlaywright['prototype'][_0x206ba2(0x1e4)];CodeceptPlaywright[_0x206ba2(0x1a2)]['_before']=async function(){const _0x4f279c=_0x206ba2;this[_0x4f279c(0x224)]=await this[_0x4f279c(0x18a)][_0x4f279c(0x1d5)]()[0x0],await _0x3f1e21[_0x4f279c(0x1dc)](this,arguments);};},getCodeceptDriver=()=>{const _0x39ea62=a1_0x196618,_0x25a8c0={};_0x25a8c0[_0x39ea62(0x193)]=_0x39ea62(0x19d),_0x25a8c0[_0x39ea62(0x1b5)]=_0x39ea62(0x1bf),_0x25a8c0[_0x39ea62(0x168)]=_0x39ea62(0x1db),_0x25a8c0[_0x39ea62(0x1c2)]=_0x39ea62(0x21a);const _0x5c969b=_0x25a8c0,_0x1519ec=[_0x5c969b[_0x39ea62(0x193)],_0x5c969b[_0x39ea62(0x1b5)],_0x5c969b[_0x39ea62(0x168)],_0x5c969b[_0x39ea62(0x1c2)]],_0x412ccc=_0x1519ec['find'](_0x472243=>!!CodeceptJS['container'][_0x39ea62(0x156)](_0x472243));if(!_0x412ccc)return null;return CodeceptJS['container'][_0x39ea62(0x156)](_0x412ccc);};module[a1_0x196618(0x19a)]=function(_0x4aafff){const _0x4ba472=a1_0x196618,_0x2a5d1b={'GzEmg':function(_0x77d4c6){return _0x77d4c6();},'IhaeC':function(_0x30579c,_0x535ab5){return _0x30579c(_0x535ab5);},'ANJcq':_0x4ba472(0x220),'MFpGI':_0x4ba472(0x1cc),'TqlVZ':_0x4ba472(0x197),'iJykx':_0x4ba472(0x1b4),'fVnfQ':_0x4ba472(0x153),'XjlTk':_0x4ba472(0x19e),'zCSAT':_0x4ba472(0x17d),'vYhmy':_0x4ba472(0x1b8),'IwUoF':function(_0x4eaaf9){return _0x4eaaf9();},'egFgV':_0x4ba472(0x20c),'uXnOk':function(_0x385539){return _0x385539();},'lhlyf':function(_0x5c42a7,_0xa51c02,_0x74e9b1){return _0x5c42a7(_0xa51c02,_0x74e9b1);},'Jehkm':function(_0x39bf9e,_0x3e3496){return _0x39bf9e(_0x3e3496);},'iwLLW':_0x4ba472(0x1e7),'zdTIP':_0x4ba472(0x1ff),'EMcLO':function(_0x35e919){return _0x35e919();},'lyPGj':function(_0x319170,_0x520859,_0x15ad40,_0x1ead03){return _0x319170(_0x520859,_0x15ad40,_0x1ead03);},'WflKL':function(_0x2070b0,_0x389a03){return _0x2070b0===_0x389a03;},'oknOe':_0x4ba472(0x1be),'IDxjz':_0x4ba472(0x15a),'YFIFS':'test-skipped','wHcXr':_0x4ba472(0x222),'TVqLj':function(_0x641680){return _0x641680();},'Ajkbl':function(_0x24bb33){return _0x24bb33();},'uaQZK':_0x4ba472(0x14c),'KSahB':_0x4ba472(0x1d7),'bQSnX':_0x4ba472(0x1b6),'fYjOo':_0x4ba472(0x1e3),'jugjg':_0x4ba472(0x172),'kNtyX':_0x4ba472(0x1bd),'BxjOS':_0x4ba472(0x191),'Bgcow':function(_0x1bc983){return _0x1bc983();},'YVSQw':_0x4ba472(0x1bf)};_0x4aafff['skipSessionStatus']&&(global[_0x4ba472(0x171)]=_0x4aafff[_0x4ba472(0x190)]);PerformanceTester['startMonitoring']();const _0x42af04=_0x2a5d1b[_0x4ba472(0x179)](getCodeceptDriver),_0x3fce2d=new O11yHelper(_0x42af04,_0x4aafff),_0x2209e9=!!CodeceptJS['container'][_0x4ba472(0x156)](_0x2a5d1b[_0x4ba472(0x213)]);global[_0x4ba472(0x16d)]=_0x42af04,_0x42af04&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x4ba472(0x1f6)],()=>{const _0x4e3c8d=_0x4ba472;_0x2209e9?_0x2a5d1b[_0x4e3c8d(0x167)](patchPlaywrightBefore):_0x2a5d1b[_0x4e3c8d(0x1de)](patchWebDriverBefore,_0x42af04);})(),PerformanceTester[_0x4ba472(0x174)](PerformanceEvents[_0x4ba472(0x1a7)],()=>{const _0x411218=_0x4ba472,_0x5a79f4={};_0x5a79f4['jWgWh']=_0x2a5d1b[_0x411218(0x1c4)],_0x5a79f4['qYmYC']=_0x2a5d1b[_0x411218(0x21f)],_0x5a79f4[_0x411218(0x1e2)]=_0x2a5d1b['TqlVZ'],_0x5a79f4[_0x411218(0x19b)]=_0x2a5d1b[_0x411218(0x184)];const _0x29c6db=_0x5a79f4;_0x42af04[_0x411218(0x220)]=async()=>{const _0x23f131=_0x411218;if(global[_0x23f131(0x1e9)]){const _0x23d67c={};_0x23d67c['command']=_0x29c6db[_0x23f131(0x15f)],await PerformanceTester[_0x23f131(0x174)](PerformanceA11yEvents[_0x23f131(0x196)],async()=>{const _0x54b1e8=_0x23f131;await AccessibilityHelper['browserStackExecuteDriver'](_0x42af04,scripts[_0x54b1e8(0x1e1)]);},_0x23d67c)(),await PerformanceTester[_0x23f131(0x174)](PerformanceA11yEvents[_0x23f131(0x192)],async()=>{const _0x1eb01=_0x23f131;await AccessibilityHelper[_0x1eb01(0x221)](_0x42af04,scripts[_0x1eb01(0x209)]);})();}else return logger[_0x23f131(0x1cb)](_0x29c6db[_0x23f131(0x19f)]),{};},_0x42af04[_0x411218(0x197)]=async()=>{const _0x599e11=_0x411218;if(global['accessibilityPlatform']){const _0x3f1ddb={};_0x3f1ddb[_0x599e11(0x18e)]=_0x29c6db['mDHsO'],await PerformanceTester[_0x599e11(0x174)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x14bfe0=_0x599e11;await AccessibilityHelper[_0x14bfe0(0x221)](_0x42af04,scripts[_0x14bfe0(0x1e1)]);},_0x3f1ddb)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x599e11(0x19c)],async()=>{const _0x8fac30=_0x599e11;await AccessibilityHelper[_0x8fac30(0x221)](_0x42af04,scripts['getResults']);})();}else return logger[_0x599e11(0x1cb)](_0x29c6db[_0x599e11(0x19b)]),{};},_0x2a5d1b[_0x411218(0x1de)](patchSaveScreenshot,_0x42af04);})()),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)]['all'][_0x4ba472(0x1b1)],()=>{const _0x5a0bc3=_0x4ba472;PerformanceTester[_0x5a0bc3(0x1ae)](PerformanceEvents['SDK_PRE_TEST']);try{_0x3fce2d['start'](),testOpsHelper['addRequestSpy'](),PerformanceTester['end'](PerformanceEvents[_0x5a0bc3(0x187)]);}catch(_0x52acb8){PerformanceTester[_0x5a0bc3(0x164)](_0x52acb8),PerformanceTester[_0x5a0bc3(0x204)](PerformanceEvents['SDK_PRE_TEST'],![],_0x52acb8);}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x1f4)]['after'],async()=>{const _0x1657e0=_0x4ba472;PerformanceTester[_0x1657e0(0x1ae)](PerformanceEvents[_0x1657e0(0x15e)]);try{requestSpy['restore'](),await _0x3fce2d[_0x1657e0(0x1d2)](),PerformanceTester['end'](PerformanceEvents[_0x1657e0(0x15e)]);}catch(_0x18fa81){PerformanceTester[_0x1657e0(0x164)](_0x18fa81),PerformanceTester[_0x1657e0(0x204)](PerformanceEvents[_0x1657e0(0x15e)],![],_0x18fa81);}finally{PerformanceTester[_0x1657e0(0x1b9)]();}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x1bb)][_0x4ba472(0x1c8)],_0x107ff9=>{const _0x372d89=_0x4ba472;PerformanceTester[_0x372d89(0x1ae)](PerformanceEvents[_0x372d89(0x14b)]);try{const _0x17f998=_0x107ff9['ctx'][_0x372d89(0x217)],_0x82b37=_0x3fce2d[_0x372d89(0x1c3)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x17f998);CodeceptRecorder['add'](()=>_0x3fce2d[_0x372d89(0x1da)](TEST_EVENTS[_0x372d89(0x1af)],_0x82b37));const _0x1bf56d={};_0x1bf56d[_0x372d89(0x203)]=_0x2a5d1b[_0x372d89(0x215)],PerformanceTester['end'](PerformanceEvents[_0x372d89(0x14b)],!![],null,_0x1bf56d);}catch(_0x5b2a5e){const _0x590244={};_0x590244[_0x372d89(0x203)]=_0x2a5d1b[_0x372d89(0x215)],PerformanceTester[_0x372d89(0x204)](PerformanceEvents[_0x372d89(0x14b)],![],_0x5b2a5e,_0x590244),PerformanceTester['captureError'](_0x5b2a5e);}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x1bb)][_0x4ba472(0x1a6)],_0x4fc5c7=>{const _0x416e8d=_0x4ba472,_0x34cbfb={};_0x34cbfb['hookType']=_0x2a5d1b['XjlTk'],PerformanceTester[_0x416e8d(0x1ae)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x34cbfb);try{const _0x4b2b68=_0x4fc5c7['ctx'][_0x416e8d(0x217)],_0x112b5f=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x416e8d(0x165)],_0x4b2b68);CodeceptRecorder[_0x416e8d(0x1fb)](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x416e8d(0x165)],_0x112b5f));const _0xd458a7={};_0xd458a7[_0x416e8d(0x203)]=_0x2a5d1b[_0x416e8d(0x21b)],PerformanceTester[_0x416e8d(0x204)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xd458a7);}catch(_0x3008ec){PerformanceTester[_0x416e8d(0x164)](_0x3008ec);const _0x1999ee={};_0x1999ee[_0x416e8d(0x203)]=_0x2a5d1b[_0x416e8d(0x21b)],PerformanceTester[_0x416e8d(0x204)](PerformanceHookEvents[_0x416e8d(0x14b)],![],_0x3008ec,_0x1999ee);}}),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x1bb)]['failed'],async(_0x444dd8,_0x188cfe)=>{const _0x5160d1=_0x4ba472;PerformanceTester[_0x5160d1(0x1ae)](PerformanceHookEvents[_0x5160d1(0x14b)]);try{const _0x1d2e80=_0x444dd8[_0x5160d1(0x16c)]['test'],_0x132963=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x5160d1(0x165)],_0x1d2e80,_0x188cfe);CodeceptRecorder[_0x5160d1(0x1fb)](()=>_0x3fce2d[_0x5160d1(0x1da)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x132963));const _0x4f9d33={};_0x4f9d33[_0x5160d1(0x203)]=_0x2a5d1b['zCSAT'],PerformanceTester[_0x5160d1(0x1ae)](PerformanceHookEvents[_0x5160d1(0x14b)],!![],null,_0x4f9d33);}catch(_0x24bb54){PerformanceTester[_0x5160d1(0x164)](_0x24bb54);const _0x35beb6={};_0x35beb6[_0x5160d1(0x203)]=_0x2a5d1b['zCSAT'],PerformanceTester[_0x5160d1(0x204)](PerformanceHookEvents[_0x5160d1(0x14b)],![],_0x24bb54,_0x35beb6);}const _0x47af98={};_0x47af98[_0x5160d1(0x203)]=_0x2a5d1b[_0x5160d1(0x1a9)],PerformanceTester['end'](PerformanceHookEvents[_0x5160d1(0x14b)],!![],null,_0x47af98);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x1b1)],_0xddd7f4=>{const _0x4d3036=_0x4ba472;PerformanceTester[_0x4d3036(0x1ae)](PerformanceHookEvents[_0x4d3036(0x14b)]);try{globals[_0x4d3036(0x1e6)](_0x2a5d1b[_0x4d3036(0x1fd)],_0xddd7f4[_0x4d3036(0x211)]);_0x2a5d1b[_0x4d3036(0x163)](isBrowserstackInfra)&&(_0x2209e9&&(global[_0x4d3036(0x145)]={'currentTest':{'name':_0xddd7f4[_0x4d3036(0x211)],'testInfo':{'titlePath':_0xddd7f4[_0x4d3036(0x143)]()}}}));const _0x3dfc44={};_0x3dfc44[_0x4d3036(0x203)]=_0x2a5d1b[_0x4d3036(0x183)],PerformanceTester[_0x4d3036(0x204)](PerformanceHookEvents[_0x4d3036(0x14b)],!![],null,_0x3dfc44);}catch(_0x5ab0c5){PerformanceTester['captureError'](_0x5ab0c5);const _0x4e6542={};_0x4e6542['hookType']=_0x2a5d1b[_0x4d3036(0x183)],PerformanceTester[_0x4d3036(0x204)](PerformanceHookEvents[_0x4d3036(0x14b)],![],_0x5ab0c5,_0x4e6542);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x4ba472(0x217)]['started'],_0x271b64=>{const _0x3b3b0c=_0x4ba472;PerformanceTester[_0x3b3b0c(0x1ae)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x3b3b0c(0x1e6)](_0x2a5d1b['vYhmy'],_0x271b64[_0x3b3b0c(0x211)]);const _0x2d6988=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x3b3b0c(0x1a0)],_0x271b64);CodeceptRecorder[_0x3b3b0c(0x1fb)](()=>_0x3fce2d[_0x3b3b0c(0x1da)](TEST_EVENTS['TEST_RUN_STARTED'],_0x2d6988)),CodeceptRecorder['add'](async()=>{const _0x2316ce=_0x3b3b0c;_0x2a5d1b['uXnOk'](isBrowserstackInfra)&&(!_0x2a5d1b[_0x2316ce(0x1de)](isTrue,_0x4aafff[_0x2316ce(0x186)])&&await _0x2a5d1b['lhlyf'](markSessionName,_0x42af04,_0x271b64[_0x2316ce(0x211)]),_0x3fce2d['enabled']&&await _0x2a5d1b[_0x2316ce(0x185)](o11ySync,_0x42af04));});}catch(_0x6b7560){const _0x3154b0={};_0x3154b0[_0x3b3b0c(0x203)]=_0x2a5d1b[_0x3b3b0c(0x206)],PerformanceTester['end'](PerformanceHookEvents[_0x3b3b0c(0x14b)],![],_0x6b7560,_0x3154b0),PerformanceTester[_0x3b3b0c(0x164)](_0x6b7560);}const _0x58bfb1={};_0x58bfb1[_0x3b3b0c(0x203)]=_0x2a5d1b['iwLLW'],PerformanceTester[_0x3b3b0c(0x204)](PerformanceHookEvents[_0x3b3b0c(0x14b)],!![],null,_0x58bfb1);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)]['passed'],_0x54dad8=>{const _0x325883=_0x4ba472,_0x57a8b7={'TdMzR':function(_0x67edc1,_0x5329cc,_0xfd0bf7){return _0x2a5d1b['lhlyf'](_0x67edc1,_0x5329cc,_0xfd0bf7);},'msUyr':function(_0x435b74,_0x5b2bcf,_0x3f9fb0){return _0x2a5d1b['lhlyf'](_0x435b74,_0x5b2bcf,_0x3f9fb0);},'ftShE':function(_0x1c5905){const _0x4a2e3c=a1_0x4121;return _0x2a5d1b[_0x4a2e3c(0x20b)](_0x1c5905);}};PerformanceTester['start'](PerformanceHookEvents[_0x325883(0x14b)]);try{const _0xdf992=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x325883(0x1ca)],_0x54dad8);CodeceptRecorder['add'](()=>_0x3fce2d['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0xdf992)),CodeceptRecorder[_0x325883(0x1fb)](async()=>{const _0x227591=_0x325883;_0x57a8b7[_0x227591(0x1e8)](isBrowserstackInfra)&&await PerformanceTester[_0x227591(0x174)](PerformanceAutEvents[_0x227591(0x1fa)],async()=>{const _0x19d7a1=_0x227591;_0x2209e9?await _0x57a8b7[_0x19d7a1(0x1c0)](playwrightMarkSessionStatus,_0x42af04,STATE_PASSED):await _0x57a8b7[_0x19d7a1(0x1a1)](markSessionStatus,_0x42af04,STATE_PASSED);})();}),PerformanceTester[_0x325883(0x204)](PerformanceEvents[_0x325883(0x212)]);}catch(_0x5bdc90){PerformanceTester[_0x325883(0x164)](_0x5bdc90);const _0x3030d5={};_0x3030d5[_0x325883(0x203)]=_0x2a5d1b[_0x325883(0x16a)],PerformanceTester[_0x325883(0x204)](PerformanceHookEvents['SDK_HOOK'],![],_0x5bdc90,_0x3030d5),PerformanceTester[_0x325883(0x204)](PerformanceEvents[_0x325883(0x212)],![],_0x5bdc90);}const _0x4c5f3f={};_0x4c5f3f[_0x325883(0x203)]=_0x2a5d1b[_0x325883(0x16a)],PerformanceTester['end'](PerformanceHookEvents[_0x325883(0x14b)],!![],null,_0x4c5f3f);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x14e)],(_0x40a1a5,_0x38ecd7)=>{const _0x3b3bb7=_0x4ba472,_0xb60c92={'phesI':function(_0x54f3cf){const _0x1072f0=a1_0x4121;return _0x2a5d1b[_0x1072f0(0x1df)](_0x54f3cf);},'JcGpi':function(_0x4870a4,_0x15d4b9,_0x5a26f6,_0x29628c){const _0x3a94c1=a1_0x4121;return _0x2a5d1b[_0x3a94c1(0x1cd)](_0x4870a4,_0x15d4b9,_0x5a26f6,_0x29628c);}};PerformanceTester[_0x3b3bb7(0x1ae)](PerformanceHookEvents[_0x3b3bb7(0x14b)]);try{if(_0x2a5d1b[_0x3b3bb7(0x1e5)](_0x40a1a5['constructor'][_0x3b3bb7(0x182)],_0x2a5d1b[_0x3b3bb7(0x214)])){const _0x17fd94=_0x3fce2d[_0x3b3bb7(0x1c3)](TEST_EVENTS[_0x3b3bb7(0x1d9)],_0x40a1a5[_0x3b3bb7(0x16c)][_0x3b3bb7(0x158)]);CodeceptRecorder[_0x3b3bb7(0x1fb)](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x3b3bb7(0x1d9)],_0x17fd94));}else{const _0x46da43=_0x3fce2d['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x40a1a5,_0x38ecd7);CodeceptRecorder['add'](()=>{const _0xc8bf7c=_0x3b3bb7;try{_0x3fce2d[_0xc8bf7c(0x1da)](TEST_EVENTS[_0xc8bf7c(0x1ca)],_0x46da43);}catch(_0xf0c079){logger[_0xc8bf7c(0x146)](_0xc8bf7c(0x170)+util['format'](_0xf0c079)),PerformanceTester[_0xc8bf7c(0x204)](PerformanceEvents[_0xc8bf7c(0x212)],![],_0xf0c079);}}),CodeceptRecorder[_0x3b3bb7(0x1fb)](async()=>{const _0x205382=_0x3b3bb7;try{_0xb60c92[_0x205382(0x1ba)](isBrowserstackInfra)&&(_0x2209e9?await _0xb60c92[_0x205382(0x1a5)](playwrightMarkSessionStatus,_0x42af04,STATE_FAILED,_0x38ecd7):await _0xb60c92[_0x205382(0x1a5)](markSessionStatus,_0x42af04,STATE_FAILED,_0x38ecd7));}catch(_0x5f2a12){logger['debug'](_0x205382(0x1a3)+util[_0x205382(0x1ea)](_0x5f2a12)),PerformanceTester[_0x205382(0x204)](PerformanceEvents[_0x205382(0x212)],![],_0x5f2a12);}});}PerformanceTester[_0x3b3bb7(0x204)](PerformanceEvents['SDK_TEST']);}catch(_0x5dbc8f){PerformanceTester[_0x3b3bb7(0x164)](_0x5dbc8f);const _0x4eff31={};_0x4eff31[_0x3b3bb7(0x203)]=_0x2a5d1b[_0x3b3bb7(0x210)],PerformanceTester[_0x3b3bb7(0x204)](PerformanceHookEvents['SDK_HOOK'],![],_0x5dbc8f,_0x4eff31),PerformanceTester['end'](PerformanceEvents[_0x3b3bb7(0x212)],![],_0x5dbc8f);}const _0x18caac={};_0x18caac['hookType']=_0x2a5d1b[_0x3b3bb7(0x210)],PerformanceTester[_0x3b3bb7(0x204)](PerformanceHookEvents[_0x3b3bb7(0x14b)],!![],null,_0x18caac);}),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x15b)],_0x319d7f=>{const _0x1fa2fe=_0x4ba472;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x59f0eb=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x1fa2fe(0x1d9)],_0x319d7f);CodeceptRecorder['add'](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x1fa2fe(0x1d9)],_0x59f0eb)),PerformanceTester['end'](PerformanceEvents[_0x1fa2fe(0x212)]);}catch(_0xe63dc){PerformanceTester[_0x1fa2fe(0x164)](_0xe63dc),PerformanceTester[_0x1fa2fe(0x204)](PerformanceEvents[_0x1fa2fe(0x212)],![],_0xe63dc);const _0x4d8cc4={};_0x4d8cc4[_0x1fa2fe(0x203)]=_0x2a5d1b['YFIFS'],PerformanceTester[_0x1fa2fe(0x204)](PerformanceHookEvents[_0x1fa2fe(0x14b)],![],_0xe63dc,_0x4d8cc4);}const _0x318a5e={};_0x318a5e[_0x1fa2fe(0x203)]=_0x2a5d1b[_0x1fa2fe(0x1b7)],PerformanceTester['end'](PerformanceHookEvents[_0x1fa2fe(0x14b)],!![],null,_0x318a5e);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x217)][_0x4ba472(0x1c1)],async(_0x509846,_0x280326)=>{const _0x2a4f40=_0x4ba472;try{PerformanceTester[_0x2a4f40(0x1ae)](PerformanceHookEvents[_0x2a4f40(0x14b)]);if(_0x2a5d1b[_0x2a4f40(0x1fc)](isBrowserstackInfra)){const _0x4782fb=_0x2a5d1b['lhlyf'](shouldScanTestForAccessibility,_0x509846[_0x2a4f40(0x143)](),!![]);if(_0x2a5d1b[_0x2a4f40(0x180)](isAccessibilityAutomationSession)&&global[_0x2a4f40(0x1e9)]&&_0x4782fb){const _0x15297b={};_0x15297b[_0x2a4f40(0x18b)]=_0x509846[_0x2a4f40(0x1ef)],_0x15297b[_0x2a4f40(0x1d3)]=process[_0x2a4f40(0x207)][testHubConstants[_0x2a4f40(0x1ec)][_0x2a4f40(0x1d4)]],_0x15297b[_0x2a4f40(0x160)]=process[_0x2a4f40(0x207)][testHubConstants[_0x2a4f40(0x1ec)][_0x2a4f40(0x188)]];const _0x29326d=_0x15297b;logger[_0x2a4f40(0x146)](_0x2a4f40(0x1f5)+JSON[_0x2a4f40(0x21e)](_0x29326d)),CodeceptRecorder[_0x2a4f40(0x1fb)](async()=>{const _0x419ccc=_0x2a4f40,_0x4be793={};_0x4be793[_0x419ccc(0x18e)]=_0x2a5d1b[_0x419ccc(0x202)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x419ccc(0x196)],async()=>{const _0x3f7482=_0x419ccc;await AccessibilityHelper[_0x3f7482(0x221)](_0x42af04,scripts[_0x3f7482(0x1e1)]);},_0x4be793)(),await PerformanceTester[_0x419ccc(0x174)](PerformanceA11yEvents[_0x419ccc(0x1cf)],async()=>{const _0x4e6b0c=_0x419ccc;await AccessibilityHelper[_0x4e6b0c(0x221)](_0x42af04,scripts[_0x4e6b0c(0x16f)],_0x29326d);})();}),logger[_0x2a4f40(0x1d8)](_0x2a5d1b[_0x2a4f40(0x16b)]);}}const _0x22861f={};_0x22861f['hookType']=_0x2a5d1b[_0x2a4f40(0x155)],PerformanceTester['end'](PerformanceHookEvents[_0x2a4f40(0x14b)],!![],null,_0x22861f);}catch(_0x14baf0){PerformanceTester['captureError'](_0x14baf0);const _0x58e477={};_0x58e477['hookType']=_0x2a5d1b['KSahB'],PerformanceTester[_0x2a4f40(0x204)](PerformanceHookEvents[_0x2a4f40(0x14b)],![],_0x14baf0,_0x58e477);}}),CodeceptJS[_0x4ba472(0x20a)]['dispatcher']['on'](CodeceptJS['event']['step'][_0x4ba472(0x1f1)],_0xcfa37c=>{const _0x1748a7=_0x4ba472;PerformanceTester['start'](PerformanceHookEvents[_0x1748a7(0x14b)]);try{process[_0x1748a7(0x226)](_0x1748a7(0x1a8)+process[_0x1748a7(0x1eb)],{'timestamp':new Date()[_0x1748a7(0x21d)](),'level':_0x2a5d1b['bQSnX'],'message':_0xcfa37c,'kind':_0x2a5d1b[_0x1748a7(0x173)],'http_response':{}});}catch(_0x124d3e){PerformanceTester['captureError'](_0x124d3e);const _0x1e6364={};_0x1e6364[_0x1748a7(0x203)]=_0x2a5d1b[_0x1748a7(0x1d0)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x124d3e,_0x1e6364);}const _0x279fa5={};_0x279fa5[_0x1748a7(0x203)]=_0x2a5d1b[_0x1748a7(0x1d0)],PerformanceTester['end'](PerformanceHookEvents[_0x1748a7(0x14b)],!![],null,_0x279fa5);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4ba472(0x20a)]['bddStep'][_0x4ba472(0x1b1)],_0x4b9b7d=>{const _0x3379b0=_0x4ba472,_0x4ec29f={};_0x4ec29f[_0x3379b0(0x203)]=_0x2a5d1b[_0x3379b0(0x1b3)],PerformanceTester[_0x3379b0(0x174)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x3fce2d['bddStepStart'](_0x4b9b7d);},_0x4ec29f)();}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x16e)][_0x4ba472(0x1c1)],_0x4867f5=>{const _0x975dca=_0x4ba472,_0xf18576={};_0xf18576[_0x975dca(0x203)]=_0x2a5d1b[_0x975dca(0x1c9)],PerformanceTester[_0x975dca(0x174)](PerformanceHookEvents[_0x975dca(0x14b)],()=>{const _0x374306=_0x975dca;_0x3fce2d[_0x374306(0x1f9)](_0x4867f5);},_0xf18576)();});};
|
|
1
|
+
const a1_0x28eb99=a1_0x192a;(function(_0x419779,_0xb2cc8e){const _0x3a2a34=a1_0x192a,_0x93a51b=_0x419779();while(!![]){try{const _0x3de933=-parseInt(_0x3a2a34(0x164))/0x1+parseInt(_0x3a2a34(0x1dd))/0x2*(-parseInt(_0x3a2a34(0x153))/0x3)+parseInt(_0x3a2a34(0x18e))/0x4+parseInt(_0x3a2a34(0x19d))/0x5+parseInt(_0x3a2a34(0x1ea))/0x6*(-parseInt(_0x3a2a34(0x203))/0x7)+parseInt(_0x3a2a34(0x1f6))/0x8+parseInt(_0x3a2a34(0x14f))/0x9;if(_0x3de933===_0xb2cc8e)break;else _0x93a51b['push'](_0x93a51b['shift']());}catch(_0x2ea695){_0x93a51b['push'](_0x93a51b['shift']());}}}(a1_0x5ecd,0x9c961));const fs=require('fs'),util=require(a1_0x28eb99(0x1c9)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x28eb99(0x198)),logger=require(a1_0x28eb99(0x1fd))[a1_0x28eb99(0x17b)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x28eb99(0x178)),PlaywrightSessionDetails=require(a1_0x28eb99(0x161)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x28eb99(0x185)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x28eb99(0x1a1)),scripts=require(a1_0x28eb99(0x158)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x28eb99(0x1ef)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x28eb99(0x13b)),testHubConstants=require(a1_0x28eb99(0x1e2)),globals=require(a1_0x28eb99(0x183)),CodeceptJS=requireModule(a1_0x28eb99(0x189),a1_0x28eb99(0x1a8)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x28eb99(0x1a8)),CodeceptWebDriver=requireModule(a1_0x28eb99(0x1fb),a1_0x28eb99(0x1a8)),CodeceptRecorder=requireModule(a1_0x28eb99(0x150),a1_0x28eb99(0x1a8)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x28eb99(0x1a8)),playwrightMarkSessionStatus=(_0x2ba002,_0x29e6fc,_0x5cac38)=>{const _0x4c4bb5=a1_0x28eb99,_0x4607eb={'WcDTh':_0x4c4bb5(0x209),'jyefl':function(_0x1c6b07,_0x42a780){return _0x1c6b07(_0x42a780);}},_0x1352ce={};_0x1352ce[_0x4c4bb5(0x170)]=_0x29e6fc;const _0xb095cf={};_0xb095cf[_0x4c4bb5(0x1b0)]=_0x4607eb['WcDTh'],_0xb095cf['arguments']=_0x1352ce;const _0x17a7cc=_0xb095cf;return!_0x4607eb['jyefl'](isUndefined,_0x5cac38)&&(_0x17a7cc[_0x4c4bb5(0x210)][_0x4c4bb5(0x174)]=JSON['stringify'](_0x5cac38)),_0x2ba002[_0x4c4bb5(0x192)](()=>{},_0x4c4bb5(0x1f7)+JSON[_0x4c4bb5(0x155)](_0x17a7cc));},o11ySync=PerformanceTester[a1_0x28eb99(0x184)](PerformanceO11yEvents[a1_0x28eb99(0x182)],async _0x392313=>{const _0x1fdead=a1_0x28eb99,_0x338b93={};_0x338b93[_0x1fdead(0x145)]=function(_0x4d9303,_0x1e7882){return _0x4d9303===_0x1e7882;},_0x338b93[_0x1fdead(0x17c)]=_0x1fdead(0x169);const _0x1b1224=_0x338b93;_0x1b1224[_0x1fdead(0x145)](_0x392313[_0x1fdead(0x1bf)][_0x1fdead(0x1f2)],_0x1b1224[_0x1fdead(0x17c)])?await _0x392313['executeScript'](_0x1ea7f9=>{},testOpsHelper[_0x1fdead(0x142)]()):await _0x392313[_0x1fdead(0x192)](testOpsHelper[_0x1fdead(0x142)]());}),markSessionName=PerformanceTester[a1_0x28eb99(0x184)](PerformanceAutEvents['SESSION_NAME'],async(_0x4d6e89,_0x1e7b66)=>{const _0x286f2c=a1_0x28eb99,_0x391bad={};_0x391bad[_0x286f2c(0x1c5)]='setSessionName',_0x391bad[_0x286f2c(0x188)]=function(_0x49a829,_0xbf8515){return _0x49a829===_0xbf8515;},_0x391bad[_0x286f2c(0x166)]=_0x286f2c(0x169);const _0x53456f=_0x391bad,_0x5c7a21={};_0x5c7a21[_0x286f2c(0x1f2)]=_0x1e7b66;const _0x4d34a9={};_0x4d34a9['action']=_0x53456f[_0x286f2c(0x1c5)],_0x4d34a9['arguments']=_0x5c7a21;const _0x2d1bbf=_0x4d34a9;_0x53456f[_0x286f2c(0x188)](_0x4d6e89[_0x286f2c(0x1bf)]['name'],_0x53456f[_0x286f2c(0x166)])?await _0x4d6e89[_0x286f2c(0x192)](()=>{},_0x286f2c(0x1f7)+JSON[_0x286f2c(0x155)](_0x2d1bbf)):await _0x4d6e89[_0x286f2c(0x192)](_0x286f2c(0x1f7)+JSON['stringify'](_0x2d1bbf));}),patchSaveScreenshot=_0x194b47=>{const _0x5d55eb=a1_0x28eb99,_0x3c2d66={'qDLCP':_0x5d55eb(0x14b),'Ctqlc':_0x5d55eb(0x140),'llplm':function(_0x50f5d8){return _0x50f5d8();},'mpfoq':function(_0x5dc618,_0x29d202){return _0x5dc618(_0x29d202);}};_0x3c2d66['mpfoq'](isTrue,process[_0x5d55eb(0x1fe)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x194b47['patchSaveScreenshot']&&(_0x194b47[_0x5d55eb(0x168)]=!![],_0x194b47[_0x5d55eb(0x139)]=_0x194b47[_0x5d55eb(0x206)],_0x194b47[_0x5d55eb(0x206)]=(_0x4bb30a,_0x3de60e=![])=>{const _0x5c1b30=_0x5d55eb,_0x26b2de={'VKtKx':_0x3c2d66[_0x5c1b30(0x1a0)],'gJvQz':_0x3c2d66['Ctqlc'],'yUeMg':function(_0x354c00){const _0x3e4653=_0x5c1b30;return _0x3c2d66[_0x3e4653(0x143)](_0x354c00);}};return new Promise(function(_0xb90b30,_0x107de4){const _0x540046=_0x5c1b30;_0x194b47[_0x540046(0x139)](_0x4bb30a,_0x3de60e)['then'](()=>{const _0x1c4220=_0x540046,_0x35b52a=CodeceptUtils[_0x1c4220(0x1b5)](_0x4bb30a),_0x52331b=fs[_0x1c4220(0x196)](_0x35b52a);process[_0x1c4220(0x208)](_0x1c4220(0x1d5)+process['pid'],{'timestamp':new Date()[_0x1c4220(0x18d)](),'message':_0x52331b[_0x1c4220(0x1cb)](_0x26b2de[_0x1c4220(0x20b)]),'kind':_0x26b2de[_0x1c4220(0x1b3)]}),_0x26b2de[_0x1c4220(0x211)](_0xb90b30);})[_0x540046(0x16b)](()=>null);});});},patchWebDriverBefore=_0x2373c1=>{const _0x4e028e=a1_0x28eb99,_0x19022c={'ZkgsD':function(_0x1d4d1f){return _0x1d4d1f();},'MCVWZ':function(_0x4da260,_0x4fb260){return _0x4da260(_0x4fb260);},'YzhVx':function(_0x3f40a4,_0x161ed2){return _0x3f40a4===_0x161ed2;},'JDLqa':_0x4e028e(0x141),'NzhER':function(_0x423df6,_0x5d3e36){return _0x423df6(_0x5d3e36);}},_0x5f503d=async function(_0x588c0a,_0x4ea4a4){const _0x564a1a=_0x4e028e;return _0x19022c[_0x564a1a(0x20d)](isAccessibilityAutomationSession)&&!global[_0x564a1a(0x162)]&&global[_0x564a1a(0x18a)]&&scripts['shouldWrapCommand'](_0x588c0a[_0x564a1a(0x1f2)])&&_0x19022c['MCVWZ'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x564a1a(0x162)]=!![],await PerformanceTester[_0x564a1a(0x184)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x7f4dff=_0x564a1a;logger[_0x7f4dff(0x15e)](_0x7f4dff(0x15c)+_0x588c0a[_0x7f4dff(0x180)]+'\x20'+_0x588c0a[_0x7f4dff(0x1f2)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2373c1,scripts['performScan']);},{'command':_0x588c0a[_0x564a1a(0x1f2)]})()),global[_0x564a1a(0x162)]=![],_0x4ea4a4[_0x564a1a(0x19f)](this,Array[_0x564a1a(0x1c7)][_0x564a1a(0x1ae)][_0x564a1a(0x1be)](arguments,0x2));},_0x523b85=CodeceptWebDriver[_0x4e028e(0x1c7)][_0x4e028e(0x1ba)];CodeceptWebDriver[_0x4e028e(0x1c7)][_0x4e028e(0x1ba)]=async function(){const _0x2b8d6a=_0x4e028e;try{await _0x523b85[_0x2b8d6a(0x19f)](this,arguments);}catch(_0x2606ef){logger[_0x2b8d6a(0x15e)](_0x2b8d6a(0x16d)+util[_0x2b8d6a(0x1d4)](_0x2606ef));}scripts[_0x2b8d6a(0x1ac)][_0x2b8d6a(0x1e3)](_0x141661=>_0x141661[_0x2b8d6a(0x1f2)]&&_0x141661['class'])[_0x2b8d6a(0x204)](_0x139a2a=>{const _0x4e0aa5=_0x2b8d6a;this['browser'][_0x4e0aa5(0x14d)](_0x139a2a[_0x4e0aa5(0x1f2)],_0x5f503d['bind'](this,_0x139a2a),_0x19022c['YzhVx'](_0x139a2a[_0x4e0aa5(0x180)],_0x19022c[_0x4e0aa5(0x1ee)]));}),_0x19022c['NzhER'](processWebDriverConfig,_0x2373c1);};},patchPlaywrightBefore=()=>{const _0x409fc8=a1_0x28eb99;PlaywrightSessionDetails[_0x409fc8(0x154)]();const _0x316f55=CodeceptPlaywright[_0x409fc8(0x1c7)][_0x409fc8(0x1ba)];CodeceptPlaywright['prototype'][_0x409fc8(0x1ba)]=async function(){const _0x30a04f=_0x409fc8;this[_0x30a04f(0x146)]=await this[_0x30a04f(0x159)][_0x30a04f(0x1a3)]()[0x0],await _0x316f55[_0x30a04f(0x19f)](this,arguments);};},getCodeceptDriver=()=>{const _0x3b80d0=a1_0x28eb99,_0x3039e4={};_0x3039e4[_0x3b80d0(0x17a)]=_0x3b80d0(0x1c2),_0x3039e4[_0x3b80d0(0x14c)]=_0x3b80d0(0x169),_0x3039e4[_0x3b80d0(0x1cc)]='Puppeteer',_0x3039e4['pGmQH']=_0x3b80d0(0x1ec);const _0x4862ff=_0x3039e4,_0x5e4ff0=[_0x4862ff[_0x3b80d0(0x17a)],_0x4862ff['SMJaf'],_0x4862ff[_0x3b80d0(0x1cc)],_0x4862ff[_0x3b80d0(0x199)]],_0xcab1fb=_0x5e4ff0[_0x3b80d0(0x1d8)](_0x139693=>!!CodeceptJS[_0x3b80d0(0x1c3)][_0x3b80d0(0x167)](_0x139693));if(!_0xcab1fb)return null;return CodeceptJS['container'][_0x3b80d0(0x167)](_0xcab1fb);};function a1_0x192a(_0x499eda,_0x2be0e4){const _0x5ecd0d=a1_0x5ecd();return a1_0x192a=function(_0x192a38,_0x5eed63){_0x192a38=_0x192a38-0x138;let _0x3e1261=_0x5ecd0d[_0x192a38];return _0x3e1261;},a1_0x192a(_0x499eda,_0x2be0e4);}module['exports']=function(_0x5d498c){const _0x3648da=a1_0x28eb99,_0x455077={'ViVPX':function(_0x25d95b){return _0x25d95b();},'ESHTf':function(_0x57691c,_0xfea7e6){return _0x57691c(_0xfea7e6);},'XpPaR':_0x3648da(0x1ab),'HMJvg':_0x3648da(0x19c),'BhAjC':_0x3648da(0x1c1),'vLVGl':_0x3648da(0x1f5),'CKzyB':_0x3648da(0x149),'HZPEw':_0x3648da(0x151),'IancM':_0x3648da(0x1e9),'XpsWd':_0x3648da(0x18f),'PFpBg':function(_0x4c88e6){return _0x4c88e6();},'PdHND':'test-before','ucsRI':function(_0x2680c3,_0xca7752,_0x2185e8){return _0x2680c3(_0xca7752,_0x2185e8);},'LOlBo':'test-started','BJdXB':function(_0x4a219b,_0x3073ce,_0x4b7bf6){return _0x4a219b(_0x3073ce,_0x4b7bf6);},'sehOG':_0x3648da(0x15b),'bNerh':function(_0x367625){return _0x367625();},'wBnTa':function(_0x1d0bea,_0x456c74,_0x59753a,_0x76943a){return _0x1d0bea(_0x456c74,_0x59753a,_0x76943a);},'SZNFk':function(_0x4f2f37,_0xacc3cf){return _0x4f2f37===_0xacc3cf;},'OoRpR':_0x3648da(0x1b6),'QWxxy':_0x3648da(0x163),'BhLSE':_0x3648da(0x1d6),'cXVth':_0x3648da(0x1e1),'ymYQz':function(_0x2f73ba,_0x5177ab,_0x2d20c1){return _0x2f73ba(_0x5177ab,_0x2d20c1);},'NPwJq':_0x3648da(0x20c),'eYKih':_0x3648da(0x1df),'jLrQt':_0x3648da(0x18c),'PaMid':_0x3648da(0x1ca),'WUhCV':_0x3648da(0x1d0),'dlMcg':'bddStep-before','PSqzp':_0x3648da(0x20e),'DzwyS':_0x3648da(0x169)};_0x5d498c['skipSessionStatus']&&(global[_0x3648da(0x15a)]=_0x5d498c[_0x3648da(0x1f8)]);PerformanceTester['startMonitoring']();const _0xbf0e8=_0x455077['PFpBg'](getCodeceptDriver),_0x41a6cf=new O11yHelper(_0xbf0e8,_0x5d498c),_0x939754=!!CodeceptJS[_0x3648da(0x1c3)]['helpers'](_0x455077[_0x3648da(0x17d)]);global[_0x3648da(0x1bd)]=_0xbf0e8,_0xbf0e8&&(PerformanceTester[_0x3648da(0x184)](PerformanceEvents[_0x3648da(0x1e8)],()=>{const _0x211f14=_0x3648da;_0x939754?_0x455077[_0x211f14(0x1bb)](patchPlaywrightBefore):_0x455077[_0x211f14(0x1eb)](patchWebDriverBefore,_0xbf0e8);})(),PerformanceTester[_0x3648da(0x184)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x1194d0=_0x3648da,_0x1476aa={};_0x1476aa[_0x1194d0(0x177)]=_0x455077['BhAjC'],_0x1476aa[_0x1194d0(0x187)]=_0x455077[_0x1194d0(0x16e)];const _0x59f0da=_0x1476aa;_0xbf0e8[_0x1194d0(0x1c1)]=async()=>{const _0x17b26b=_0x1194d0;if(global[_0x17b26b(0x18a)]){const _0x4cb4e0={};_0x4cb4e0[_0x17b26b(0x19b)]=_0x59f0da['bjPkI'],await PerformanceTester[_0x17b26b(0x184)](PerformanceA11yEvents[_0x17b26b(0x1ff)],async()=>{const _0x30ce45=_0x17b26b;await AccessibilityHelper['browserStackExecuteDriver'](_0xbf0e8,scripts[_0x30ce45(0x148)]);},_0x4cb4e0)(),await PerformanceTester[_0x17b26b(0x184)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0xbf0e8,scripts['getResultsSummary']);})();}else return logger[_0x17b26b(0x147)](_0x59f0da[_0x17b26b(0x187)]),{};},_0xbf0e8[_0x1194d0(0x1ab)]=async()=>{const _0x24f6e3=_0x1194d0;if(global[_0x24f6e3(0x18a)]){const _0x26a1e2={};_0x26a1e2[_0x24f6e3(0x19b)]=_0x455077[_0x24f6e3(0x1e6)],await PerformanceTester[_0x24f6e3(0x184)](PerformanceA11yEvents[_0x24f6e3(0x1ff)],async()=>{const _0x42b059=_0x24f6e3;await AccessibilityHelper[_0x42b059(0x1af)](_0xbf0e8,scripts[_0x42b059(0x148)]);},_0x26a1e2)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x24f6e3(0x13f)],async()=>{const _0x5dd6e0=_0x24f6e3;await AccessibilityHelper[_0x5dd6e0(0x1af)](_0xbf0e8,scripts[_0x5dd6e0(0x1d3)]);})();}else return logger[_0x24f6e3(0x147)](_0x455077[_0x24f6e3(0x157)]),{};},_0x455077['ESHTf'](patchSaveScreenshot,_0xbf0e8);})()),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x138)][_0x3648da(0x18b)],()=>{const _0x13dee2=_0x3648da;PerformanceTester[_0x13dee2(0x16f)](PerformanceEvents[_0x13dee2(0x207)]);try{_0x41a6cf['start'](),testOpsHelper[_0x13dee2(0x1c4)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4158be){PerformanceTester[_0x13dee2(0x13a)](_0x4158be),PerformanceTester[_0x13dee2(0x156)](PerformanceEvents[_0x13dee2(0x207)],![],_0x4158be);}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x138)][_0x3648da(0x1f3)],async()=>{const _0x50b472=_0x3648da;PerformanceTester[_0x50b472(0x16f)](PerformanceEvents[_0x50b472(0x1fc)]);try{requestSpy[_0x50b472(0x181)](),await _0x41a6cf['stop'](),PerformanceTester[_0x50b472(0x156)](PerformanceEvents[_0x50b472(0x1fc)]);}catch(_0xbc394){PerformanceTester[_0x50b472(0x13a)](_0xbc394),PerformanceTester[_0x50b472(0x156)](PerformanceEvents[_0x50b472(0x1fc)],![],_0xbc394);}finally{PerformanceTester[_0x50b472(0x14a)]();}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)]['hook'][_0x3648da(0x1f4)],_0x4f06e3=>{const _0x462e3e=_0x3648da;PerformanceTester[_0x462e3e(0x16f)](PerformanceEvents[_0x462e3e(0x190)]);try{const _0x4d4af2=_0x4f06e3[_0x462e3e(0x205)][_0x462e3e(0x1aa)],_0xa4ebb0=_0x41a6cf[_0x462e3e(0x1b9)](TEST_EVENTS[_0x462e3e(0x152)],_0x4d4af2);CodeceptRecorder['add'](()=>_0x41a6cf[_0x462e3e(0x1cf)](TEST_EVENTS[_0x462e3e(0x152)],_0xa4ebb0));const _0x10ed82={};_0x10ed82['hookType']=_0x455077[_0x462e3e(0x171)],PerformanceTester[_0x462e3e(0x156)](PerformanceEvents[_0x462e3e(0x190)],!![],null,_0x10ed82);}catch(_0x21dbb6){const _0x118283={};_0x118283['hookType']=_0x455077[_0x462e3e(0x171)],PerformanceTester[_0x462e3e(0x156)](PerformanceEvents['SDK_HOOK'],![],_0x21dbb6,_0x118283),PerformanceTester[_0x462e3e(0x13a)](_0x21dbb6);}}),CodeceptJS['event'][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1c6)][_0x3648da(0x144)],_0x5ba4c1=>{const _0x346ce7=_0x3648da,_0x49c202={};_0x49c202[_0x346ce7(0x1da)]=_0x455077[_0x346ce7(0x1f9)],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x49c202);try{const _0x53c98b=_0x5ba4c1['ctx'][_0x346ce7(0x1aa)],_0x112630=_0x41a6cf[_0x346ce7(0x1b9)](TEST_EVENTS[_0x346ce7(0x1c0)],_0x53c98b);CodeceptRecorder[_0x346ce7(0x13c)](()=>_0x41a6cf['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x112630));const _0x84a1fd={};_0x84a1fd[_0x346ce7(0x1da)]=_0x455077[_0x346ce7(0x1f9)],PerformanceTester['end'](PerformanceHookEvents[_0x346ce7(0x190)],!![],null,_0x84a1fd);}catch(_0x147717){PerformanceTester['captureError'](_0x147717);const _0x13923b={};_0x13923b['hookType']=_0x455077[_0x346ce7(0x1f9)],PerformanceTester[_0x346ce7(0x156)](PerformanceHookEvents[_0x346ce7(0x190)],![],_0x147717,_0x13923b);}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event'][_0x3648da(0x1c6)]['failed'],async(_0x27a386,_0x18f1b1)=>{const _0x45620e=_0x3648da;PerformanceTester['start'](PerformanceHookEvents[_0x45620e(0x190)]);try{const _0x1032de=_0x27a386['ctx']['test'],_0x384e59=_0x41a6cf[_0x45620e(0x1b9)](TEST_EVENTS[_0x45620e(0x1c0)],_0x1032de,_0x18f1b1);CodeceptRecorder[_0x45620e(0x13c)](()=>_0x41a6cf[_0x45620e(0x1cf)](TEST_EVENTS[_0x45620e(0x1c0)],_0x384e59));const _0x34895b={};_0x34895b[_0x45620e(0x1da)]=_0x455077[_0x45620e(0x1d7)],PerformanceTester[_0x45620e(0x16f)](PerformanceHookEvents[_0x45620e(0x190)],!![],null,_0x34895b);}catch(_0x2baf94){PerformanceTester[_0x45620e(0x13a)](_0x2baf94);const _0x1ad33b={};_0x1ad33b[_0x45620e(0x1da)]=_0x455077['IancM'],PerformanceTester[_0x45620e(0x156)](PerformanceHookEvents[_0x45620e(0x190)],![],_0x2baf94,_0x1ad33b);}const _0x59c39c={};_0x59c39c[_0x45620e(0x1da)]=_0x455077['IancM'],PerformanceTester[_0x45620e(0x156)](PerformanceHookEvents[_0x45620e(0x190)],!![],null,_0x59c39c);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event'][_0x3648da(0x1aa)]['before'],_0x39d71a=>{const _0x1bd280=_0x3648da;PerformanceTester[_0x1bd280(0x16f)](PerformanceHookEvents[_0x1bd280(0x190)]);try{globals['setGlobal'](_0x455077[_0x1bd280(0x1a7)],_0x39d71a[_0x1bd280(0x1e5)]);_0x455077['PFpBg'](isBrowserstackInfra)&&(_0x939754&&(global[_0x1bd280(0x1db)]={'currentTest':{'name':_0x39d71a[_0x1bd280(0x1e5)],'testInfo':{'titlePath':_0x39d71a[_0x1bd280(0x1b8)]()}}}));const _0x3fa929={};_0x3fa929[_0x1bd280(0x1da)]=_0x455077[_0x1bd280(0x17f)],PerformanceTester[_0x1bd280(0x156)](PerformanceHookEvents[_0x1bd280(0x190)],!![],null,_0x3fa929);}catch(_0x3fdda0){PerformanceTester[_0x1bd280(0x13a)](_0x3fdda0);const _0x17435b={};_0x17435b['hookType']=_0x455077[_0x1bd280(0x17f)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3fdda0,_0x17435b);}}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)]['started'],_0x3de0fc=>{const _0x2599b8=_0x3648da,_0x380eb7={'IpPsI':function(_0x4616e9){return _0x455077['ViVPX'](_0x4616e9);},'JuUfo':function(_0x5c6715,_0x4c05a8){const _0x1b7192=a1_0x192a;return _0x455077[_0x1b7192(0x1eb)](_0x5c6715,_0x4c05a8);},'mYFSF':function(_0x5bcd35,_0x187bba,_0x2e9ef1){const _0x1fdda2=a1_0x192a;return _0x455077[_0x1fdda2(0x1c8)](_0x5bcd35,_0x187bba,_0x2e9ef1);}};PerformanceTester[_0x2599b8(0x16f)](PerformanceHookEvents[_0x2599b8(0x190)]);try{globals[_0x2599b8(0x15f)](_0x455077['XpsWd'],_0x3de0fc[_0x2599b8(0x1e5)]);const _0x3ec064=_0x41a6cf['captureEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x3de0fc);CodeceptRecorder[_0x2599b8(0x13c)](()=>_0x41a6cf[_0x2599b8(0x1cf)](TEST_EVENTS[_0x2599b8(0x1a6)],_0x3ec064)),CodeceptRecorder[_0x2599b8(0x13c)](async()=>{const _0x5ebf3a=_0x2599b8;_0x380eb7['IpPsI'](isBrowserstackInfra)&&(!_0x380eb7[_0x5ebf3a(0x20a)](isTrue,_0x5d498c[_0x5ebf3a(0x1f0)])&&await _0x380eb7[_0x5ebf3a(0x1a2)](markSessionName,_0xbf0e8,_0x3de0fc[_0x5ebf3a(0x1e5)]),_0x41a6cf[_0x5ebf3a(0x172)]&&await _0x380eb7[_0x5ebf3a(0x20a)](o11ySync,_0xbf0e8));});}catch(_0x3c0023){const _0x5bca74={};_0x5bca74['hookType']=_0x455077[_0x2599b8(0x19a)],PerformanceTester['end'](PerformanceHookEvents[_0x2599b8(0x190)],![],_0x3c0023,_0x5bca74),PerformanceTester[_0x2599b8(0x13a)](_0x3c0023);}const _0x296b5a={};_0x296b5a[_0x2599b8(0x1da)]=_0x455077[_0x2599b8(0x19a)],PerformanceTester[_0x2599b8(0x156)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x296b5a);}),CodeceptJS['event'][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)][_0x3648da(0x144)],_0x320fd9=>{const _0x318db9=_0x3648da,_0x2a41cc={'pjWqx':function(_0x240135,_0x43eb07,_0x39c087){const _0xe95e19=a1_0x192a;return _0x455077[_0xe95e19(0x165)](_0x240135,_0x43eb07,_0x39c087);},'jmTYr':function(_0x32c012){const _0x5b83ce=a1_0x192a;return _0x455077[_0x5b83ce(0x1b7)](_0x32c012);}};PerformanceTester[_0x318db9(0x16f)](PerformanceHookEvents[_0x318db9(0x190)]);try{const _0x210729=_0x41a6cf[_0x318db9(0x1b9)](TEST_EVENTS[_0x318db9(0x1de)],_0x320fd9);CodeceptRecorder[_0x318db9(0x13c)](()=>_0x41a6cf[_0x318db9(0x1cf)](TEST_EVENTS[_0x318db9(0x1de)],_0x210729)),CodeceptRecorder[_0x318db9(0x13c)](async()=>{const _0x1f3964=_0x318db9,_0x3d618d={'QBzvl':function(_0x12bc8c,_0x2c9247,_0x225d89){const _0x25a3a1=a1_0x192a;return _0x2a41cc[_0x25a3a1(0x1a4)](_0x12bc8c,_0x2c9247,_0x225d89);}};_0x2a41cc[_0x1f3964(0x175)](isBrowserstackInfra)&&await PerformanceTester[_0x1f3964(0x184)](PerformanceAutEvents[_0x1f3964(0x1d1)],async()=>{const _0x2419fe=_0x1f3964;_0x939754?await _0x3d618d['QBzvl'](playwrightMarkSessionStatus,_0xbf0e8,STATE_PASSED):await _0x3d618d[_0x2419fe(0x1ad)](markSessionStatus,_0xbf0e8,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0xf5a4e7){PerformanceTester[_0x318db9(0x13a)](_0xf5a4e7);const _0x7ab8fe={};_0x7ab8fe['hookType']=_0x455077['sehOG'],PerformanceTester[_0x318db9(0x156)](PerformanceHookEvents[_0x318db9(0x190)],![],_0xf5a4e7,_0x7ab8fe),PerformanceTester[_0x318db9(0x156)](PerformanceEvents[_0x318db9(0x1e7)],![],_0xf5a4e7);}const _0x5b18d2={};_0x5b18d2[_0x318db9(0x1da)]=_0x455077['sehOG'],PerformanceTester[_0x318db9(0x156)](PerformanceHookEvents[_0x318db9(0x190)],!![],null,_0x5b18d2);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)][_0x3648da(0x1cd)],(_0x1c724b,_0x47f16f)=>{const _0x2bcaed=_0x3648da,_0x106895={'zXbnT':function(_0x1cb334){const _0x1b5a3e=a1_0x192a;return _0x455077[_0x1b5a3e(0x193)](_0x1cb334);},'faSrL':function(_0x445b96,_0x2154c8,_0x4578e5,_0x3ea2ad){const _0x1e1cb9=a1_0x192a;return _0x455077[_0x1e1cb9(0x186)](_0x445b96,_0x2154c8,_0x4578e5,_0x3ea2ad);}};PerformanceTester[_0x2bcaed(0x16f)](PerformanceHookEvents[_0x2bcaed(0x190)]);try{if(_0x455077[_0x2bcaed(0x197)](_0x1c724b[_0x2bcaed(0x1bf)]['name'],_0x455077[_0x2bcaed(0x191)])){const _0x16be3d=_0x41a6cf[_0x2bcaed(0x1b9)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1c724b['ctx'][_0x2bcaed(0x1d9)]);CodeceptRecorder[_0x2bcaed(0x13c)](()=>_0x41a6cf['fireEvent'](TEST_EVENTS[_0x2bcaed(0x200)],_0x16be3d));}else{const _0x55cb18=_0x41a6cf['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1c724b,_0x47f16f);CodeceptRecorder['add'](()=>{const _0x57131d=_0x2bcaed;try{_0x41a6cf['fireEvent'](TEST_EVENTS[_0x57131d(0x1de)],_0x55cb18);}catch(_0x353c3b){logger[_0x57131d(0x15e)](_0x57131d(0x1e0)+util[_0x57131d(0x1d4)](_0x353c3b)),PerformanceTester[_0x57131d(0x156)](PerformanceEvents[_0x57131d(0x1e7)],![],_0x353c3b);}}),CodeceptRecorder[_0x2bcaed(0x13c)](async()=>{const _0x6d51fd=_0x2bcaed;try{_0x106895[_0x6d51fd(0x1a9)](isBrowserstackInfra)&&(_0x939754?await _0x106895[_0x6d51fd(0x160)](playwrightMarkSessionStatus,_0xbf0e8,STATE_FAILED,_0x47f16f):await _0x106895[_0x6d51fd(0x160)](markSessionStatus,_0xbf0e8,STATE_FAILED,_0x47f16f));}catch(_0x54e96d){logger[_0x6d51fd(0x15e)](_0x6d51fd(0x201)+util[_0x6d51fd(0x1d4)](_0x54e96d)),PerformanceTester[_0x6d51fd(0x156)](PerformanceEvents[_0x6d51fd(0x1e7)],![],_0x54e96d);}});}PerformanceTester[_0x2bcaed(0x156)](PerformanceEvents[_0x2bcaed(0x1e7)]);}catch(_0x53a80a){PerformanceTester['captureError'](_0x53a80a);const _0x4f3be6={};_0x4f3be6[_0x2bcaed(0x1da)]=_0x455077[_0x2bcaed(0x1f1)],PerformanceTester[_0x2bcaed(0x156)](PerformanceHookEvents[_0x2bcaed(0x190)],![],_0x53a80a,_0x4f3be6),PerformanceTester[_0x2bcaed(0x156)](PerformanceEvents[_0x2bcaed(0x1e7)],![],_0x53a80a);}const _0x5e5713={};_0x5e5713[_0x2bcaed(0x1da)]=_0x455077[_0x2bcaed(0x1f1)],PerformanceTester[_0x2bcaed(0x156)](PerformanceHookEvents[_0x2bcaed(0x190)],!![],null,_0x5e5713);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event']['test'][_0x3648da(0x1dc)],_0x393f13=>{const _0x72dc52=_0x3648da;PerformanceTester[_0x72dc52(0x16f)](PerformanceHookEvents[_0x72dc52(0x190)]);try{const _0x5ec114=_0x41a6cf[_0x72dc52(0x1b9)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x393f13);CodeceptRecorder[_0x72dc52(0x13c)](()=>_0x41a6cf[_0x72dc52(0x1cf)](TEST_EVENTS[_0x72dc52(0x200)],_0x5ec114)),PerformanceTester[_0x72dc52(0x156)](PerformanceEvents['SDK_TEST']);}catch(_0x1e6426){PerformanceTester[_0x72dc52(0x13a)](_0x1e6426),PerformanceTester[_0x72dc52(0x156)](PerformanceEvents['SDK_TEST'],![],_0x1e6426);const _0xa95cb6={};_0xa95cb6['hookType']=_0x455077['BhLSE'],PerformanceTester[_0x72dc52(0x156)](PerformanceHookEvents[_0x72dc52(0x190)],![],_0x1e6426,_0xa95cb6);}const _0x15679f={};_0x15679f[_0x72dc52(0x1da)]=_0x455077[_0x72dc52(0x1ce)],PerformanceTester[_0x72dc52(0x156)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x15679f);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1aa)]['after'],async(_0x229089,_0x1b15e9)=>{const _0x297e27=_0x3648da,_0x5320b3={};_0x5320b3[_0x297e27(0x16a)]=_0x455077['cXVth'];const _0x3906ea=_0x5320b3;try{PerformanceTester[_0x297e27(0x16f)](PerformanceHookEvents[_0x297e27(0x190)]);if(_0x455077[_0x297e27(0x1b7)](isBrowserstackInfra)){const _0x34f59f=_0x455077[_0x297e27(0x17e)](shouldScanTestForAccessibility,_0x229089[_0x297e27(0x1b8)](),!![]);if(_0x455077[_0x297e27(0x193)](isAccessibilityAutomationSession)&&global[_0x297e27(0x18a)]&&_0x34f59f){const _0x1b477d={};_0x1b477d[_0x297e27(0x1b1)]=_0x229089['testAnalyticsId'],_0x1b477d['thBuildUuid']=process[_0x297e27(0x1fe)][testHubConstants['ENV_VAR'][_0x297e27(0x1e4)]],_0x1b477d[_0x297e27(0x1d2)]=process[_0x297e27(0x1fe)][testHubConstants[_0x297e27(0x20f)][_0x297e27(0x16c)]];const _0x48be99=_0x1b477d;logger[_0x297e27(0x15e)](_0x297e27(0x1ed)+JSON[_0x297e27(0x155)](_0x48be99)),CodeceptRecorder[_0x297e27(0x13c)](async()=>{const _0x56ca8d=_0x297e27,_0xd25665={};_0xd25665[_0x56ca8d(0x19b)]=_0x3906ea[_0x56ca8d(0x16a)],await PerformanceTester[_0x56ca8d(0x184)](PerformanceA11yEvents[_0x56ca8d(0x1ff)],async()=>{const _0x93426=_0x56ca8d;await AccessibilityHelper['browserStackExecuteDriver'](_0xbf0e8,scripts[_0x93426(0x148)]);},_0xd25665)(),await PerformanceTester[_0x56ca8d(0x184)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x42bd11=_0x56ca8d;await AccessibilityHelper[_0x42bd11(0x1af)](_0xbf0e8,scripts[_0x42bd11(0x176)],_0x48be99);})();}),logger[_0x297e27(0x13e)](_0x455077[_0x297e27(0x14e)]);}}const _0x51c6c2={};_0x51c6c2['hookType']=_0x455077['eYKih'],PerformanceTester[_0x297e27(0x156)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x51c6c2);}catch(_0x2f9750){PerformanceTester[_0x297e27(0x13a)](_0x2f9750);const _0x3b3c66={};_0x3b3c66[_0x297e27(0x1da)]=_0x455077['eYKih'],PerformanceTester['end'](PerformanceHookEvents[_0x297e27(0x190)],![],_0x2f9750,_0x3b3c66);}}),CodeceptJS[_0x3648da(0x179)]['dispatcher']['on'](CodeceptJS[_0x3648da(0x179)][_0x3648da(0x1b4)][_0x3648da(0x13d)],_0x5d6ee1=>{const _0x4c14de=_0x3648da;PerformanceTester[_0x4c14de(0x16f)](PerformanceHookEvents[_0x4c14de(0x190)]);try{process[_0x4c14de(0x208)](_0x4c14de(0x1d5)+process[_0x4c14de(0x194)],{'timestamp':new Date()[_0x4c14de(0x18d)](),'level':_0x455077[_0x4c14de(0x15d)],'message':_0x5d6ee1,'kind':_0x455077[_0x4c14de(0x195)],'http_response':{}});}catch(_0x46bbb5){PerformanceTester['captureError'](_0x46bbb5);const _0x6b7762={};_0x6b7762[_0x4c14de(0x1da)]=_0x455077[_0x4c14de(0x1bc)],PerformanceTester['end'](PerformanceHookEvents[_0x4c14de(0x190)],![],_0x46bbb5,_0x6b7762);}const _0xa35e45={};_0xa35e45['hookType']=_0x455077[_0x4c14de(0x1bc)],PerformanceTester['end'](PerformanceHookEvents[_0x4c14de(0x190)],!![],null,_0xa35e45);}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS['event'][_0x3648da(0x1a5)][_0x3648da(0x18b)],_0x5201f3=>{const _0x1040a6=_0x3648da,_0x442ef7={};_0x442ef7[_0x1040a6(0x1da)]=_0x455077[_0x1040a6(0x202)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x1040a6(0x190)],()=>{const _0x572aa0=_0x1040a6;_0x41a6cf[_0x572aa0(0x1fa)](_0x5201f3);},_0x442ef7)();}),CodeceptJS[_0x3648da(0x179)][_0x3648da(0x173)]['on'](CodeceptJS[_0x3648da(0x179)]['bddStep']['after'],_0xc86582=>{const _0x30b01e=_0x3648da,_0x215302={};_0x215302[_0x30b01e(0x1da)]=_0x455077[_0x30b01e(0x1b2)],PerformanceTester[_0x30b01e(0x184)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x2835f0=_0x30b01e;_0x41a6cf[_0x2835f0(0x19e)](_0xc86582);},_0x215302)();});};function a1_0x5ecd(){const _0x57862a=['start','status','CKzyB','enabled','dispatcher','reason','jmTYr','saveTestResults','bjPkI','../../helpers/request-spy','event','OYjoO','winstonLogger','OCeRg','DzwyS','ymYQz','PdHND','class','restore','SYNC','../../helpers/globals.js','measureWrapper','./o11yHelper','wBnTa','xXnVO','Isycf','codeceptjs/lib/index.js','accessibilityPlatform','before','INFO','toISOString','3531268ZsEXDf','browserstackTestName','SDK_HOOK','OoRpR','executeScript','bNerh','pid','PaMid','readFileSync','SZNFk','../../helpers/helper','pGmQH','LOlBo','command','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','2428930zYHjay','bddStepFinish','apply','qDLCP','../../bin/playwright/accessibility-helper','mYFSF','contexts','pjWqx','bddStep','TEST_RUN_STARTED','XpsWd','codeceptjs','zXbnT','test','getAccessibilityResults','commandsToWrap','QBzvl','slice','browserStackExecuteDriver','action','thTestRunUuid','PSqzp','gJvQz','step','screenshotOutputFolder','Suite','PFpBg','titlePath','captureEvent','_before','ViVPX','WUhCV','__driver','call','constructor','HOOK_RUN_FINISHED','getAccessibilityResultsSummary','WebDriver','container','addRequestSpy','yipLF','hook','prototype','ucsRI','util','TEST_LOG','toString','aYQuy','failed','BhLSE','fireEvent','step-comment','SESSION_STATUS','thJwtToken','getResults','format','bs:addLog:','test-skipped','IancM','find','currentTest','hookType','__workerDetails','skipped','1644kGbBQH','TEST_RUN_FINISHED','test-after','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','afterTest','../../helpers/testhub/constants.js','filter','BROWSERSTACK_TESTHUB_UUID','title','XpPaR','SDK_TEST','SDK_PRE_INITIALIZE','hook-failed','306TZNccP','ESHTf','TestCafe','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','JDLqa','../../helpers/performance/constants','skipSessionName','QWxxy','name','after','started','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','9736056bDLROV','browserstack_executor:\x20','skipSessionStatus','HZPEw','bddStepStart','codeceptjs/lib/helper/WebDriver.js','SDK_POST_TEST','../../helpers/logger','env','PERFORM_SCAN','TEST_RUN_SKIPPED','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','dlMcg','121751JhTfjm','forEach','ctx','saveScreenshot','SDK_PRE_TEST','emit','setSessionStatus','JuUfo','VKtKx','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ZkgsD','bddStep-after','ENV_VAR','arguments','yUeMg','all','initSaveScreenshot','captureError','./helper.js','add','comment','info','GET_RESULTS','TEST_SCREENSHOT','Element','getSyncScript','llplm','passed','gqCAW','browserContext','warn','performScan','hook-started','stopMonitoring','base64','SMJaf','overwriteCommand','NPwJq','1384065OxsrJv','codeceptjs/lib/recorder.js','hook-passed','HOOK_RUN_STARTED','3921pghqZp','patch','stringify','end','HMJvg','../../helpers/accessibility-automation/scripts','browser','__skipSessionStatus','test-passed','Performing\x20scan\x20for\x20','jLrQt','debug','setGlobal','faSrL','../../bin/playwright/sessionDetails','bstackAllyScanning','test-failed','136621xaARvZ','BJdXB','RsSdI','helpers','patchSaveScreenshot','Playwright','OdHLa','catch','BROWSERSTACK_TESTHUB_JWT','Failed\x20to\x20execute\x20_before:\x20','vLVGl'];a1_0x5ecd=function(){return _0x57862a;};return a1_0x5ecd();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x40e6(_0x26bd5c,_0x5d32ca){const _0x3bc094=a2_0x3bc0();return a2_0x40e6=function(_0x40e668,_0x463736){_0x40e668=_0x40e668-0x16e;let _0x587f57=_0x3bc094[_0x40e668];return _0x587f57;},a2_0x40e6(_0x26bd5c,_0x5d32ca);}const a2_0x2945b8=a2_0x40e6;(function(_0x9c2ace,_0x12222d){const _0x829783=a2_0x40e6,_0x4b7edc=_0x9c2ace();while(!![]){try{const _0x306e80=-parseInt(_0x829783(0x1b6))/0x1+-parseInt(_0x829783(0x1fc))/0x2+parseInt(_0x829783(0x1ec))/0x3+-parseInt(_0x829783(0x1df))/0x4+parseInt(_0x829783(0x1b3))/0x5+parseInt(_0x829783(0x1e3))/0x6+-parseInt(_0x829783(0x195))/0x7;if(_0x306e80===_0x12222d)break;else _0x4b7edc['push'](_0x4b7edc['shift']());}catch(_0xa10f9e){_0x4b7edc['push'](_0x4b7edc['shift']());}}}(a2_0x3bc0,0xc2cfc));function a2_0x3bc0(){const _0x7344a7=['BROWSERSTACK_TEST_OBSERVABILITY_YML','kBmYQ','ofIQj','otsMJ','util','winstonLogger','printBuildLink','title','Playwright','AoPRZ','5172975WzxUSC','result','mergeDeep','337478RJpXgE','WebDriver','FRAMEWORKS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/helper','EVENTS','validPlatformsPresent','now','NzayC','fyILA','CODECEPT','err','process','USER_CONFIG_DETAILS_PATH','ShrjQ','NrOoI','printResults','codecept.json','BrowserStackPlugin','../../helpers/BrowserStackSetup','fwWjm','log','../../bin/playwright/accessibility-helper','frameworkName','SDK_CLEANUP','Workers','BROWSERSTACK_RERUN','failed','info','forEach','qPeHJ','spawn','../utils/constants','BrowserStackPlugin.js','profile','prepareCapabilities','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','SDK_SETUP','addConfig','format','browserStackCwd','316916UvreJe','playwright-chromium','QiwUc','createGroupsOfSuites','2383536DSCyYI','length','plugins','env','../../helpers/test-observability/utils','JNWhz','errorMessage','debug','../../helpers/logger','3697305YfjSqm','SewtT','join','getPlatformName','pGwaI','isTestObservabilitySession','existsSync','toLowerCase','addTests','chdir','QwlhH','../../helpers/performance/performance-tester','enabled','accessibilityOptions','testContextOptions','../../helpers/performance/constants','2038414sYuMUq','browserWSEndpoint','helpers','event','getUserWorkerCount','dirname','Qsaxc','cwd','codecept.conf.js','testObservability','platforms','webZz','path','skipSessionStatus','BROWSERSTACK_RERUN_TESTS','RtowM','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Failed\x20:\x20','RCmGo','zSMdQ','browser','stop','getPlaywrightUrl','../../helpers/testhub/testhubHandler','all','sSNeB','eUDFK','test','accessibility','config','0|2|4|1|3|5','desiredCapabilities','Passed\x20:\x20','shLNV','lIMye','stringify','EeIpd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bootstrapAll','require','codeceptjs/lib/index.js','MnJAl','Started\x20:\x20','testConfig','run','Bomyb','skipSessionName','push','chromium','pfwKu','3012968yCjHYy','map','browserName','exports','useW3C','before','teardownAll','UbzCo','IlxVC','xZdzK','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','isUndefined','-cucumber','chrome','findIndex','codeceptjs','Wtdbs','playwright-webkit','slice','setAdditionalCapabilities'];a2_0x3bc0=function(){return _0x7344a7;};return a2_0x3bc0();}const fs=require('fs'),path=require(a2_0x2945b8(0x16f)),util=require(a2_0x2945b8(0x1ad)),process=require(a2_0x2945b8(0x1c2)),logger=require(a2_0x2945b8(0x1eb))[a2_0x2945b8(0x1ae)],{default:BrowserStackSetup}=require(a2_0x2945b8(0x1c9)),helper=require(a2_0x2945b8(0x1ba)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x2945b8(0x1cc)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x2945b8(0x18b),a2_0x2945b8(0x1a4)),testOpsHelper=require(a2_0x2945b8(0x1e7)),TestHubHandler=require(a2_0x2945b8(0x17a)),constants=require(a2_0x2945b8(0x1d6)),PerformanceTester=require(a2_0x2945b8(0x1f7)),PerformanceEvents=require(a2_0x2945b8(0x1fb))[a2_0x2945b8(0x1bb)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x4212d6,_0x215186)=>{const _0x49f7c5=a2_0x2945b8,_0x3f6a72={};_0x3f6a72[_0x49f7c5(0x1ed)]=function(_0x366783,_0xc0d49f){return _0x366783===_0xc0d49f;},_0x3f6a72[_0x49f7c5(0x19e)]=_0x49f7c5(0x204),_0x3f6a72[_0x49f7c5(0x1aa)]=_0x49f7c5(0x1c7);const _0x33feb0=_0x3f6a72;let _0x5305ed=null;const _0x427137={};let _0x52e99d=_0x215186[_0x49f7c5(0x1a3)](_0x40a4e4=>_0x40a4e4==='--config');_0x33feb0[_0x49f7c5(0x1ed)](_0x52e99d,-0x1)&&(_0x52e99d=_0x215186[_0x49f7c5(0x1a3)](_0x47b2d3=>_0x47b2d3==='-c'));if(!helper[_0x49f7c5(0x1a0)](_0x4212d6['config'])&&fs[_0x49f7c5(0x1f2)](path['join'](process[_0x49f7c5(0x203)](),_0x4212d6[_0x49f7c5(0x180)])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6[_0x49f7c5(0x180)]),_0x215186[_0x49f7c5(0x1a7)](_0x52e99d,0x2);else{if(!helper[_0x49f7c5(0x1a0)](_0x4212d6['c'])&&fs[_0x49f7c5(0x1f2)](path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6['c'])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6['c']),_0x215186[_0x49f7c5(0x1a7)](_0x52e99d,0x2);else{if(fs[_0x49f7c5(0x1f2)](path['join'](process[_0x49f7c5(0x203)](),_0x33feb0['xZdzK'])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x33feb0[_0x49f7c5(0x19e)]);else fs['existsSync'](path[_0x49f7c5(0x1ee)](process['cwd'](),_0x33feb0[_0x49f7c5(0x1aa)]))&&(_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x33feb0['kBmYQ']));}}return process['env'][_0x49f7c5(0x1c3)]=_0x5305ed,_0x5305ed;},getO11yRerunPattern=()=>{const _0x10b58a=a2_0x2945b8,_0x4f1b07=helper['isTrue'](process[_0x10b58a(0x1e6)][_0x10b58a(0x1d0)]);if(_0x4f1b07){const _0x5746eb=process[_0x10b58a(0x1e6)][_0x10b58a(0x171)],_0xdcaa30=[];if(helper['validateRerunTestList'](_0x5746eb)&&!helper[_0x10b58a(0x1a0)](_0x5746eb)){_0x5746eb['split'](',')[_0x10b58a(0x196)](_0x3e3573=>{const _0x56d666=_0x10b58a;_0xdcaa30[_0x56d666(0x192)]('('+_0x3e3573['trim']()+')');});const _0x4b0099='^'+_0xdcaa30[_0x10b58a(0x1ee)]('|')+'$';return _0x4b0099;}}return null;},a2_0x44efd4={};a2_0x44efd4[a2_0x2945b8(0x1a2)]=a2_0x2945b8(0x193),a2_0x44efd4[a2_0x2945b8(0x1e0)]=a2_0x2945b8(0x193),a2_0x44efd4['playwright-firefox']='firefox',a2_0x44efd4[a2_0x2945b8(0x1a6)]='webkit';const pwToCodeceptBrowser=a2_0x44efd4;async function run(_0x6f1088,_0x171e52){const _0x455784=a2_0x2945b8,_0x9f4e63={'QwlhH':function(_0x4d3940,_0xd17f5b){return _0x4d3940+_0xd17f5b;},'ofIQj':function(_0x4cb5a5,_0x231a71){return _0x4cb5a5(_0x231a71);},'BZuWu':function(_0x36fb2c,_0x5a95a6){return _0x36fb2c+_0x5a95a6;},'RCmGo':function(_0x1e296f,_0x49f4b8,_0x220e4a){return _0x1e296f(_0x49f4b8,_0x220e4a);},'QiwUc':_0x455784(0x1fe),'NrOoI':function(_0x2465f8){return _0x2465f8();},'eUDFK':_0x455784(0x174),'otsMJ':_0x455784(0x183),'zzygv':_0x455784(0x18d),'shLNV':_0x455784(0x181),'UbzCo':'codeceptjs','pGwaI':_0x455784(0x173),'RtowM':function(_0x4b06f8,_0x46d914,_0x2a4e51){return _0x4b06f8(_0x46d914,_0x2a4e51);},'qPeHJ':_0x455784(0x1b1),'NkqYI':'WebDriver','IlxVC':function(_0x47e836,_0x52d5ba){return _0x47e836(_0x52d5ba);},'JNWhz':function(_0x2f396f,_0x51d65f){return _0x2f396f!=_0x51d65f;},'lIMye':function(_0x58971c,_0x2de7fc){return _0x58971c===_0x2de7fc;},'lHcMR':function(_0x5cb1d4,_0x213319){return _0x5cb1d4+_0x213319;},'webZz':function(_0x3f8ee8,_0x584146,_0x163a27){return _0x3f8ee8(_0x584146,_0x163a27);},'Qsaxc':'gherkin','sSNeB':_0x455784(0x1a1),'ShrjQ':function(_0x226fa1){return _0x226fa1();},'MnJAl':function(_0x4443c9,_0x10fb04){return _0x4443c9*_0x10fb04;},'fwWjm':function(_0x3cbf05,_0x309cff,_0x53e998){return _0x3cbf05(_0x309cff,_0x53e998);},'pfwKu':_0x455784(0x177),'Wtdbs':_0x455784(0x182),'Bomyb':function(_0x4bba25,_0x4673cc,_0x45c36f){return _0x4bba25(_0x4673cc,_0x45c36f);},'EeIpd':'root','zSMdQ':_0x455784(0x1d7),'NzayC':_0x455784(0x1de),'AoPRZ':function(_0x3f88f8){return _0x3f88f8();}},_0x259df1=new BrowserStackSetup(_0x6f1088,_0x9f4e63[_0x455784(0x19c)]);await _0x259df1['initialize'](),await helper['handleApp'](_0x259df1[_0x455784(0x180)]);if(!_0x259df1[_0x455784(0x180)])return;process[_0x455784(0x1d8)]=_0x6f1088[_0x455784(0x1d8)];_0x6f1088[_0x455784(0x1d8)]&&(process[_0x455784(0x1e6)][_0x455784(0x1d8)]=_0x6f1088['profile']);const _0x3297bc=_0x9f4e63['RCmGo'](getUserCodeceptJSConfigs,_0x6f1088,_0x171e52);let _0x155c58={};_0x3297bc?(logger[_0x455784(0x1d2)](_0x455784(0x1da)+_0x3297bc),_0x155c58=CodeceptJS[_0x455784(0x180)]['load'](_0x3297bc)):logger[_0x455784(0x1d2)](_0x9f4e63[_0x455784(0x1f0)]);let _0x3d9530=![];_0x9f4e63[_0x455784(0x172)](nestedKeyValue,_0x155c58,[_0x9f4e63['QiwUc'],_0x9f4e63['qPeHJ']])&&(_0x3d9530=!![]);const _0x2c7dac=_0x3d9530?_0x9f4e63[_0x455784(0x1d4)]:_0x9f4e63['NkqYI'];let _0x28cd78=!_0x3d9530?helper[_0x455784(0x199)](_0x259df1[_0x455784(0x180)]):![];!helper[_0x455784(0x1a0)](_0x259df1[_0x455784(0x180)][_0x455784(0x1f9)])&&(process[_0x455784(0x1e6)][_0x455784(0x188)]=JSON[_0x455784(0x186)](_0x259df1[_0x455784(0x180)]['accessibilityOptions']));let _0x20de7f=_0x259df1[_0x455784(0x180)][_0x455784(0x17f)];_0x20de7f=_0x20de7f||_0x9f4e63[_0x455784(0x19d)](checkAccessibilityPlatformConfig,_0x259df1['config']),process[_0x455784(0x1e6)][_0x455784(0x1b9)]=_0x20de7f;_0x20de7f&&(_0x28cd78=!_0x20de7f);_0x9f4e63[_0x455784(0x1e8)](_0x259df1['config']['testObservability'],null)?process[_0x455784(0x1e6)][_0x455784(0x1a9)]=_0x259df1[_0x455784(0x180)][_0x455784(0x205)]:process[_0x455784(0x1e6)][_0x455784(0x1a9)]=_0x9f4e63[_0x455784(0x185)](_0x2c7dac,_0x9f4e63[_0x455784(0x1d4)]);const _0x45069f=_0x9f4e63['lHcMR'](_0x9f4e63[_0x455784(0x19c)],_0x9f4e63[_0x455784(0x16e)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x202)]])?_0x9f4e63[_0x455784(0x17c)]:''),_0x34fd87=await TestHubHandler['launchBuild'](_0x45069f,_0x259df1);_0x20de7f&&_0x9f4e63[_0x455784(0x19d)](setAccessibilityCapabilities,_0x259df1[_0x455784(0x180)]);const _0x4f66bd={},_0x597dac=[],_0x5c2b04=_0x259df1[_0x455784(0x180)]['parallelsPerPlatform']||helper[_0x455784(0x200)](_0x6f1088,_0x171e52,_0x259df1[_0x455784(0x180)],constants[_0x455784(0x1b8)][_0x455784(0x1c0)])||0x1;let _0x258004=0x1;if(_0x9f4e63[_0x455784(0x1c4)](isBrowserstackInfra)){const _0x523a68=helper[_0x455784(0x1d9)](_0x259df1[_0x455784(0x180)],_0x28cd78,constants[_0x455784(0x1b8)][_0x455784(0x1c0)]);_0x523a68[_0x455784(0x1d3)](_0x41a891=>{const _0x218db1=_0x455784;helper[_0x218db1(0x1a8)](_0x41a891);}),helper[_0x455784(0x1bc)](_0x259df1[_0x455784(0x180)])?_0x258004=_0x9f4e63[_0x455784(0x18c)](_0x5c2b04,_0x259df1[_0x455784(0x180)][_0x455784(0x206)][_0x455784(0x1e4)]):_0x258004=_0x5c2b04,_0x523a68[_0x455784(0x1d3)](_0x4196fe=>{const _0x590d88=_0x455784,_0x38e83d={'wMoZt':function(_0x2aa219,_0x1cd94c){const _0xd10476=a2_0x40e6;return _0x9f4e63[_0xd10476(0x1f6)](_0x2aa219,_0x1cd94c);},'fyILA':function(_0x9a001c,_0x3b35c5){const _0x154ff6=a2_0x40e6;return _0x9f4e63[_0x154ff6(0x1ab)](_0x9a001c,_0x3b35c5);}},_0x34f8be=_0x9f4e63['BZuWu'](helper[_0x590d88(0x1ef)](_0x4196fe,'_'),'_'+Date[_0x590d88(0x1bd)]()),_0x28b7ad=((()=>{const _0x38c870=_0x590d88;if(_0x3d9530){const _0x3e6c95=pwToCodeceptBrowser[_0x4196fe['browserName']]||_0x4196fe[_0x38c870(0x197)];return{'browser':_0x3e6c95,[_0x3e6c95]:{'browserWSEndpoint':_0x38e83d['wMoZt'](helper[_0x38c870(0x179)](_0x259df1['config']),_0x38e83d[_0x38c870(0x1bf)](encodeURIComponent,JSON[_0x38c870(0x186)](_0x4196fe)))}};}const _0x354329={};return _0x354329[_0x38c870(0x182)]=_0x4196fe,_0x354329;})()),_0x1f1c5a=_0x9f4e63['RCmGo'](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x590d88(0x1e1)],_0x2c7dac]);_0x4f66bd[_0x34f8be]=_0x1f1c5a?helper[_0x590d88(0x1b5)](_0x28b7ad,_0x1f1c5a):_0x28b7ad,!_0x3d9530&&(_0x4f66bd[_0x34f8be][_0x590d88(0x177)]=_0x4196fe[_0x590d88(0x197)]||_0x28b7ad[_0x590d88(0x177)]),_0x597dac['push'](_0x34f8be);});}else{_0x258004=0x1;if(_0x3d9530){const _0x2ce6da=_0x9f4e63[_0x455784(0x1ca)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x1e1)],_0x2c7dac,_0x9f4e63[_0x455784(0x194)]]),_0x2905a4=_0x9f4e63[_0x455784(0x175)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x1e1)],_0x2c7dac,_0x2ce6da]);_0x2905a4&&_0x2905a4[_0x455784(0x1fd)]&&(_0x2905a4['browserWSEndpoint']=helper[_0x455784(0x1d9)](null,null,_0x45069f[_0x455784(0x1f3)](),null,null,_0x2905a4[_0x455784(0x1fd)]));}else _0x155c58[_0x9f4e63[_0x455784(0x1e1)]][_0x2c7dac][_0x9f4e63['Wtdbs']]=helper[_0x455784(0x1d9)](null,null,_0x45069f['toLowerCase'](),_0x9f4e63[_0x455784(0x190)](nestedKeyValue,_0x155c58,[_0x9f4e63['QiwUc'],_0x2c7dac,_0x9f4e63[_0x455784(0x1a5)]]),null,null);_0x4f66bd[_0x9f4e63[_0x455784(0x187)]]=_0x155c58,_0x597dac[_0x455784(0x192)](_0x9f4e63[_0x455784(0x187)]);}const _0x2cc98d={};_0x2cc98d[_0x455784(0x18e)]=_0x3297bc;const _0x13db81=_0x2cc98d,_0x27f862=path[_0x455784(0x1ee)](__dirname,_0x9f4e63[_0x455784(0x176)]),_0x119934=process[_0x455784(0x203)]();process[_0x455784(0x1e6)][_0x9f4e63[_0x455784(0x1be)]]=_0x119934,process[_0x455784(0x1f5)](path[_0x455784(0x201)](_0x3297bc));const _0x3e93b4=new CodeceptJS[(_0x455784(0x1cf))](null,_0x13db81),_0x397b36=_0x3e93b4[_0x455784(0x1e2)](_0x258004),_0x8c0bc2=testOpsHelper[_0x455784(0x1f1)](),_0x44f683=_0x597dac[_0x455784(0x196)](_0x2f2f9e=>{const _0x1fd450=_0x455784,_0x5a1553={};_0x5a1553['Playwright']=_0x4f66bd[_0x2f2f9e];const _0x487677={};_0x487677[_0x1fd450(0x1b7)]=_0x4f66bd[_0x2f2f9e];const _0x1b1609=_0x3d9530?_0x5a1553:_0x487677,_0x3d4a3e=_0x9f4e63[_0x1fd450(0x1c5)](getO11yRerunPattern),_0x12471f={};_0x12471f[_0x1fd450(0x1fe)]=_0x1b1609;const _0x4d6720={};_0x4d6720[_0x1fd450(0x18a)]=_0x27f862,_0x4d6720[_0x1fd450(0x1f8)]=!![],_0x4d6720['skipSessionName']=_0x259df1['config'][_0x1fd450(0x1fa)][_0x1fd450(0x191)],_0x4d6720['skipSessionStatus']=_0x259df1['config'][_0x1fd450(0x1fa)][_0x1fd450(0x170)],_0x4d6720['testObservability']=_0x8c0bc2,_0x4d6720[_0x1fd450(0x1cd)]=_0x45069f;const _0x42665e={};_0x42665e[_0x1fd450(0x1c8)]=_0x4d6720;const _0xe428ad={};return _0xe428ad[_0x1fd450(0x1e5)]=_0x42665e,helper[_0x1fd450(0x1b5)]({},_0x155c58,_0x9f4e63['NrOoI'](isBrowserstackInfra)?_0x12471f:{},_0x3d4a3e?{'grep':_0x3d4a3e}:{},_0xe428ad);});for(const _0x22e01b of _0x44f683){for(const _0x105d13 of _0x397b36){const _0x193017=_0x3e93b4[_0x455784(0x1d5)]();_0x193017[_0x455784(0x1f4)](_0x105d13),_0x193017[_0x455784(0x1dc)](_0x22e01b);}}_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)][_0x455784(0x17e)][_0x455784(0x1d1)],(_0x44f932,_0x4ef8a8)=>{const _0x5e4534=_0x455784;console[_0x5e4534(0x1cb)](_0x9f4e63[_0x5e4534(0x17d)],_0x44f932[_0x5e4534(0x1b0)]);const _0x1e747d={[_0x44f932['title']]:_0x44f932[_0x5e4534(0x1c1)]['stack']};_testErrorData[_0x5e4534(0x192)](_0x1e747d);}),_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)]['test']['passed'],async _0x3f263f=>{const _0x5864b7=_0x455784;console[_0x5864b7(0x1cb)](_0x9f4e63[_0x5864b7(0x1ac)],_0x3f263f[_0x5864b7(0x1b0)]);}),_0x3e93b4['on'](CodeceptJS['event']['test'][_0x455784(0x19a)],async _0x347746=>{const _0x48737b=_0x455784;console[_0x48737b(0x1cb)](_0x9f4e63['zzygv'],_0x347746[_0x48737b(0x1b0)]);}),_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)][_0x455784(0x17b)][_0x455784(0x1b4)],async()=>{const _0x2817f1=_0x455784,_0x112e54=_0x9f4e63[_0x2817f1(0x184)]['split']('|');let _0x32ceb2=0x0;while(!![]){switch(_0x112e54[_0x32ceb2++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x2817f1(0x1ce)]);continue;case'1':utilities['finalExecution'](_0x259df1);continue;case'2':_0x259df1[_0x2817f1(0x1e9)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x2817f1(0x178)]();}catch(_0x20d2eb){logger[_0x2817f1(0x1ea)](_0x2817f1(0x19f)+util[_0x2817f1(0x1dd)](_0x20d2eb));}continue;case'4':testOpsHelper[_0x2817f1(0x1af)]();continue;case'5':_0x3e93b4[_0x2817f1(0x1c6)]();continue;}break;}});async function _0x975e92(){const _0x4ccb03=_0x455784;try{await _0x3e93b4[_0x4ccb03(0x189)](),await _0x3e93b4[_0x4ccb03(0x18f)]();}finally{process[_0x4ccb03(0x1f5)](_0x119934),await _0x3e93b4[_0x4ccb03(0x19b)]();}}PerformanceTester['end'](PerformanceEvents[_0x455784(0x1db)]),_0x9f4e63[_0x455784(0x1b2)](_0x975e92);}module[a2_0x2945b8(0x198)]=run;
|
|
2
|
+
'use strict';function a2_0x4b81(_0x366df7,_0x29d62a){const _0x4ef28f=a2_0x4ef2();return a2_0x4b81=function(_0x4b8159,_0x3649bf){_0x4b8159=_0x4b8159-0x12b;let _0x16b775=_0x4ef28f[_0x4b8159];return _0x16b775;},a2_0x4b81(_0x366df7,_0x29d62a);}const a2_0x4900a0=a2_0x4b81;(function(_0x4fc598,_0x3fc91c){const _0x27fb1e=a2_0x4b81,_0x5a1f21=_0x4fc598();while(!![]){try{const _0x52c215=parseInt(_0x27fb1e(0x1b6))/0x1*(-parseInt(_0x27fb1e(0x142))/0x2)+parseInt(_0x27fb1e(0x15e))/0x3*(parseInt(_0x27fb1e(0x153))/0x4)+parseInt(_0x27fb1e(0x171))/0x5+parseInt(_0x27fb1e(0x1a6))/0x6*(-parseInt(_0x27fb1e(0x177))/0x7)+-parseInt(_0x27fb1e(0x19c))/0x8*(parseInt(_0x27fb1e(0x13b))/0x9)+-parseInt(_0x27fb1e(0x15a))/0xa+parseInt(_0x27fb1e(0x155))/0xb;if(_0x52c215===_0x3fc91c)break;else _0x5a1f21['push'](_0x5a1f21['shift']());}catch(_0x67df5e){_0x5a1f21['push'](_0x5a1f21['shift']());}}}(a2_0x4ef2,0xd0fce));const fs=require('fs'),path=require(a2_0x4900a0(0x1b8)),util=require(a2_0x4900a0(0x17e)),process=require(a2_0x4900a0(0x131)),logger=require('../../helpers/logger')[a2_0x4900a0(0x1b9)],{default:BrowserStackSetup}=require(a2_0x4900a0(0x12f)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x4900a0(0x167)),{setAccessibilityCapabilities}=require(a2_0x4900a0(0x189)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4900a0(0x164)),CodeceptJS=requireModule(a2_0x4900a0(0x179),a2_0x4900a0(0x1b1)),testOpsHelper=require(a2_0x4900a0(0x134)),TestHubHandler=require(a2_0x4900a0(0x1a7)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x4900a0(0x198)),PerformanceEvents=require(a2_0x4900a0(0x13a))[a2_0x4900a0(0x194)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x3cedfc,_0xb9f56e)=>{const _0x234670=a2_0x4900a0,_0x536e81={};_0x536e81[_0x234670(0x170)]=function(_0x3c682a,_0x46a612){return _0x3c682a===_0x46a612;},_0x536e81[_0x234670(0x193)]='codecept.conf.js',_0x536e81['KXnCz']=_0x234670(0x176);const _0x5a099e=_0x536e81;let _0x48f5f5=null;const _0x2617b0={};let _0x17f2bc=_0xb9f56e['findIndex'](_0x135b04=>_0x135b04==='--config');_0x5a099e[_0x234670(0x170)](_0x17f2bc,-0x1)&&(_0x17f2bc=_0xb9f56e[_0x234670(0x18b)](_0x8f5d2=>_0x8f5d2==='-c'));if(!helper['isUndefined'](_0x3cedfc[_0x234670(0x130)])&&fs[_0x234670(0x14f)](path['join'](process['cwd'](),_0x3cedfc[_0x234670(0x130)])))_0x48f5f5=path[_0x234670(0x175)](process['cwd'](),_0x3cedfc[_0x234670(0x130)]),_0xb9f56e[_0x234670(0x19e)](_0x17f2bc,0x2);else{if(!helper[_0x234670(0x144)](_0x3cedfc['c'])&&fs[_0x234670(0x14f)](path['join'](process[_0x234670(0x19f)](),_0x3cedfc['c'])))_0x48f5f5=path['join'](process['cwd'](),_0x3cedfc['c']),_0xb9f56e[_0x234670(0x19e)](_0x17f2bc,0x2);else{if(fs[_0x234670(0x14f)](path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e[_0x234670(0x193)])))_0x48f5f5=path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e[_0x234670(0x193)]);else fs['existsSync'](path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e['KXnCz']))&&(_0x48f5f5=path[_0x234670(0x175)](process[_0x234670(0x19f)](),_0x5a099e[_0x234670(0x162)]));}}return process[_0x234670(0x199)][_0x234670(0x143)]=_0x48f5f5,_0x48f5f5;},getO11yRerunPattern=()=>{const _0x299be3=a2_0x4900a0,_0x3bfc55=helper['isTrue'](process['env'][_0x299be3(0x13c)]);if(_0x3bfc55){const _0x26b524=process[_0x299be3(0x199)][_0x299be3(0x150)],_0x4191ab=[];if(helper[_0x299be3(0x186)](_0x26b524)&&!helper[_0x299be3(0x144)](_0x26b524)){_0x26b524[_0x299be3(0x141)](',')[_0x299be3(0x16f)](_0x2deee0=>{const _0x4bfd71=_0x299be3;_0x4191ab['push']('('+_0x2deee0[_0x4bfd71(0x1b2)]()+')');});const _0x1940b7='^'+_0x4191ab['join']('|')+'$';return _0x1940b7;}}return null;},a2_0x3a4872={};a2_0x3a4872['chrome']=a2_0x4900a0(0x18d),a2_0x3a4872[a2_0x4900a0(0x182)]='chromium',a2_0x3a4872['playwright-firefox']='firefox',a2_0x3a4872[a2_0x4900a0(0x14a)]=a2_0x4900a0(0x147);const pwToCodeceptBrowser=a2_0x3a4872;async function run(_0x43f5c1,_0x184b48){const _0x75e5c9=a2_0x4900a0,_0xbea8e={'uRqYI':function(_0x75d014,_0x24db0b){return _0x75d014+_0x24db0b;},'DPQXM':function(_0x16a26f,_0x393125){return _0x16a26f(_0x393125);},'SjYor':function(_0x264506,_0x2cb90b){return _0x264506+_0x2cb90b;},'vufKY':function(_0x3930ac,_0x37f951,_0x543107){return _0x3930ac(_0x37f951,_0x543107);},'QwrBq':_0x75e5c9(0x185),'FIJuE':function(_0x18c89b){return _0x18c89b();},'rkvAl':_0x75e5c9(0x1aa),'zlnzV':_0x75e5c9(0x161),'uzrLv':_0x75e5c9(0x1a1),'IseTG':_0x75e5c9(0x16c),'kqUav':_0x75e5c9(0x1b1),'Adyvn':_0x75e5c9(0x17d),'PBCZO':'Playwright','vXzJn':_0x75e5c9(0x15b),'iJJHJ':function(_0x405cb1,_0x10b543){return _0x405cb1(_0x10b543);},'iBWXd':function(_0x73032f,_0x1aed9e){return _0x73032f!=_0x1aed9e;},'PdAeD':function(_0x4c2100,_0x2bb991){return _0x4c2100===_0x2bb991;},'EiWck':function(_0x3e65cc,_0x16dec1){return _0x3e65cc+_0x16dec1;},'EiTRg':'gherkin','ksVHv':_0x75e5c9(0x13d),'qtLuA':function(_0x5ca9b5,_0x47b506){return _0x5ca9b5*_0x47b506;},'Xyqxt':function(_0x51131f,_0x5af7af,_0x45ec6d){return _0x51131f(_0x5af7af,_0x45ec6d);},'pcOsQ':_0x75e5c9(0x149),'KvjfN':'desiredCapabilities','dZyvk':_0x75e5c9(0x139),'TlMAt':_0x75e5c9(0x16d),'txQnp':_0x75e5c9(0x15c)},_0x2de705=new BrowserStackSetup(_0x43f5c1,_0xbea8e[_0x75e5c9(0x19d)]);await _0x2de705['initialize'](),await helper['handleApp'](_0x2de705[_0x75e5c9(0x130)]);if(!_0x2de705[_0x75e5c9(0x130)])return;process[_0x75e5c9(0x16a)]=_0x43f5c1[_0x75e5c9(0x16a)];_0x43f5c1[_0x75e5c9(0x16a)]&&(process[_0x75e5c9(0x199)][_0x75e5c9(0x16a)]=_0x43f5c1['profile']);const _0x563398=_0xbea8e[_0x75e5c9(0x140)](getUserCodeceptJSConfigs,_0x43f5c1,_0x184b48);let _0x5000b8={};_0x563398?(logger[_0x75e5c9(0x146)](_0x75e5c9(0x178)+_0x563398),_0x5000b8=CodeceptJS['config'][_0x75e5c9(0x12b)](_0x563398)):logger['info'](_0xbea8e['Adyvn']);let _0x12b122=![];_0xbea8e['vufKY'](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x160)],_0xbea8e['PBCZO']])&&(_0x12b122=!![]);const _0xe1ce6c=_0x12b122?_0xbea8e[_0x75e5c9(0x17f)]:_0xbea8e[_0x75e5c9(0x136)];let _0x99a21c=!_0x12b122?helper[_0x75e5c9(0x18c)](_0x2de705[_0x75e5c9(0x130)]):![];!helper[_0x75e5c9(0x144)](_0x2de705['config'][_0x75e5c9(0x18a)])&&(process[_0x75e5c9(0x199)][_0x75e5c9(0x15d)]=JSON[_0x75e5c9(0x157)](_0x2de705['config'][_0x75e5c9(0x18a)]));let _0x4edfaf=_0x2de705[_0x75e5c9(0x130)][_0x75e5c9(0x14d)];_0x4edfaf=_0x4edfaf||_0xbea8e[_0x75e5c9(0x152)](checkAccessibilityPlatformConfig,_0x2de705[_0x75e5c9(0x130)]),process[_0x75e5c9(0x199)][_0x75e5c9(0x196)]=_0x4edfaf;_0x4edfaf&&(_0x99a21c=!_0x4edfaf);_0xbea8e[_0x75e5c9(0x17b)](_0x2de705[_0x75e5c9(0x130)]['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2de705[_0x75e5c9(0x130)]['testObservability']:process[_0x75e5c9(0x199)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xbea8e[_0x75e5c9(0x148)](_0xe1ce6c,_0xbea8e[_0x75e5c9(0x17f)]);const _0x231116=_0xbea8e['EiWck'](_0xbea8e[_0x75e5c9(0x19d)],_0xbea8e['vufKY'](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x19b)]])?_0xbea8e[_0x75e5c9(0x187)]:''),_0x296c65=await TestHubHandler[_0x75e5c9(0x138)](_0x231116,_0x2de705);_0x4edfaf&&_0xbea8e[_0x75e5c9(0x12e)](setAccessibilityCapabilities,_0x2de705[_0x75e5c9(0x130)]);const _0x27c536={},_0x3c2f90=[],_0x100301=_0x2de705['config'][_0x75e5c9(0x180)]||helper[_0x75e5c9(0x163)](_0x43f5c1,_0x184b48,_0x2de705[_0x75e5c9(0x130)],constants[_0x75e5c9(0x12d)]['CODECEPT'])||0x1;let _0x1ce0ea=0x1;if(_0xbea8e[_0x75e5c9(0x169)](isBrowserstackInfra)){const _0x5ddfbd=helper['prepareCapabilities'](_0x2de705['config'],_0x99a21c,constants[_0x75e5c9(0x12d)][_0x75e5c9(0x1a4)]);_0x5ddfbd['forEach'](_0xd8feff=>{const _0x498dcf=_0x75e5c9;helper[_0x498dcf(0x17a)](_0xd8feff);}),helper['validPlatformsPresent'](_0x2de705['config'])?_0x1ce0ea=_0xbea8e['qtLuA'](_0x100301,_0x2de705[_0x75e5c9(0x130)]['platforms']['length']):_0x1ce0ea=_0x100301,_0x5ddfbd[_0x75e5c9(0x188)](_0x50926a=>{const _0xd4b397=_0x75e5c9,_0x45d765=_0xbea8e[_0xd4b397(0x14b)](helper[_0xd4b397(0x1a5)](_0x50926a,'_'),'_'+Date[_0xd4b397(0x14c)]()),_0x1042be=((()=>{const _0x3ab639=_0xd4b397;if(_0x12b122){const _0x1b017f=pwToCodeceptBrowser[_0x50926a[_0x3ab639(0x151)]]||_0x50926a['browserName'];return{'browser':_0x1b017f,[_0x1b017f]:{'browserWSEndpoint':_0xbea8e[_0x3ab639(0x1a9)](helper[_0x3ab639(0x19a)](_0x2de705[_0x3ab639(0x130)]),_0xbea8e[_0x3ab639(0x12e)](encodeURIComponent,JSON[_0x3ab639(0x157)](_0x50926a)))}};}const _0x14bb48={};return _0x14bb48[_0x3ab639(0x1ae)]=_0x50926a,_0x14bb48;})()),_0x42ba5d=_0xbea8e[_0xd4b397(0x140)](nestedKeyValue,_0x5000b8,[_0xbea8e[_0xd4b397(0x160)],_0xe1ce6c]);_0x27c536[_0x45d765]=_0x42ba5d?helper[_0xd4b397(0x18f)](_0x1042be,_0x42ba5d):_0x1042be,!_0x12b122&&(_0x27c536[_0x45d765][_0xd4b397(0x149)]=_0x50926a['browserName']||_0x1042be['browser']),_0x3c2f90['push'](_0x45d765);});}else{_0x1ce0ea=0x1;if(_0x12b122){const _0x1f1ac8=_0xbea8e[_0x75e5c9(0x197)](nestedKeyValue,_0x5000b8,[_0xbea8e['QwrBq'],_0xe1ce6c,_0xbea8e[_0x75e5c9(0x16e)]]),_0x4231a1=_0xbea8e[_0x75e5c9(0x140)](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x160)],_0xe1ce6c,_0x1f1ac8]);_0x4231a1&&_0x4231a1[_0x75e5c9(0x15f)]&&(_0x4231a1[_0x75e5c9(0x15f)]=helper['prepareCapabilities'](null,null,_0x231116[_0x75e5c9(0x184)](),null,null,_0x4231a1[_0x75e5c9(0x15f)]));}else _0x5000b8[_0xbea8e[_0x75e5c9(0x160)]][_0xe1ce6c][_0xbea8e[_0x75e5c9(0x172)]]=helper['prepareCapabilities'](null,null,_0x231116[_0x75e5c9(0x184)](),_0xbea8e[_0x75e5c9(0x140)](nestedKeyValue,_0x5000b8,[_0xbea8e[_0x75e5c9(0x160)],_0xe1ce6c,_0xbea8e[_0x75e5c9(0x172)]]),null,null);_0x27c536[_0xbea8e[_0x75e5c9(0x183)]]=_0x5000b8,_0x3c2f90[_0x75e5c9(0x12c)](_0xbea8e['dZyvk']);}const _0x230389={};_0x230389['testConfig']=_0x563398;const _0x328ac8=_0x230389,_0x21bc06=path['join'](__dirname,_0xbea8e[_0x75e5c9(0x1b5)]),_0x9282e4=process[_0x75e5c9(0x19f)]();process[_0x75e5c9(0x199)][_0xbea8e[_0x75e5c9(0x16b)]]=_0x9282e4,process[_0x75e5c9(0x159)](path['dirname'](_0x563398));const _0x28c254=new CodeceptJS[(_0x75e5c9(0x13f))](null,_0x328ac8),_0x551cf6=_0x28c254[_0x75e5c9(0x1a8)](_0x1ce0ea),_0x1c4834=testOpsHelper[_0x75e5c9(0x190)](),_0x1ce511=_0x3c2f90[_0x75e5c9(0x16f)](_0x4eba32=>{const _0x2e6ac6=_0x75e5c9,_0x195ad2={};_0x195ad2[_0x2e6ac6(0x165)]=_0x27c536[_0x4eba32];const _0x5640eb={};_0x5640eb[_0x2e6ac6(0x15b)]=_0x27c536[_0x4eba32];const _0x4fd76b=_0x12b122?_0x195ad2:_0x5640eb,_0x5c14fa=_0xbea8e[_0x2e6ac6(0x169)](getO11yRerunPattern),_0x5813be={};_0x5813be['helpers']=_0x4fd76b;const _0x891afd={};_0x891afd[_0x2e6ac6(0x1ad)]=_0x21bc06,_0x891afd[_0x2e6ac6(0x173)]=!![],_0x891afd['skipSessionName']=_0x2de705[_0x2e6ac6(0x130)][_0x2e6ac6(0x192)][_0x2e6ac6(0x166)],_0x891afd[_0x2e6ac6(0x156)]=_0x2de705[_0x2e6ac6(0x130)][_0x2e6ac6(0x192)]['skipSessionStatus'],_0x891afd[_0x2e6ac6(0x181)]=_0x1c4834,_0x891afd[_0x2e6ac6(0x13e)]=_0x231116;const _0x2adfc2={};_0x2adfc2['BrowserStackPlugin']=_0x891afd;const _0x5f5af2={};return _0x5f5af2[_0x2e6ac6(0x1ab)]=_0x2adfc2,helper[_0x2e6ac6(0x18f)]({},_0x5000b8,_0xbea8e[_0x2e6ac6(0x169)](isBrowserstackInfra)?_0x5813be:{},_0x5c14fa?{'grep':_0x5c14fa}:{},_0x5f5af2);});for(const _0x4035d6 of _0x1ce511){for(const _0x510b4d of _0x551cf6){const _0x1e5d98=_0x28c254[_0x75e5c9(0x1b4)]();_0x1e5d98[_0x75e5c9(0x14e)](_0x510b4d),_0x1e5d98['addConfig'](_0x4035d6);}}_0x28c254['on'](CodeceptJS['event'][_0x75e5c9(0x1b7)][_0x75e5c9(0x1a0)],(_0x104527,_0xdd0f39)=>{const _0x207dad=_0x75e5c9;console[_0x207dad(0x133)](_0xbea8e[_0x207dad(0x158)],_0x104527['title']);const _0x37ea28={[_0x104527[_0x207dad(0x135)]]:_0x104527[_0x207dad(0x1a3)]['stack']};_testErrorData[_0x207dad(0x12c)](_0x37ea28);}),_0x28c254['on'](CodeceptJS[_0x75e5c9(0x18e)][_0x75e5c9(0x1b7)][_0x75e5c9(0x17c)],async _0x389184=>{const _0x18b44e=_0x75e5c9;console['log'](_0xbea8e['zlnzV'],_0x389184[_0x18b44e(0x135)]);}),_0x28c254['on'](CodeceptJS[_0x75e5c9(0x18e)]['test']['before'],async _0x3b54fc=>{const _0x37ce65=_0x75e5c9;console[_0x37ce65(0x133)](_0xbea8e[_0x37ce65(0x145)],_0x3b54fc[_0x37ce65(0x135)]);}),_0x28c254['on'](CodeceptJS[_0x75e5c9(0x18e)]['all'][_0x75e5c9(0x154)],async()=>{const _0x13a791=_0x75e5c9,_0x56fad8=_0xbea8e[_0x13a791(0x195)][_0x13a791(0x141)]('|');let _0x4c85cd=0x0;while(!![]){switch(_0x56fad8[_0x4c85cd++]){case'0':utilities[_0x13a791(0x137)](_0x2de705);continue;case'1':_0x2de705[_0x13a791(0x174)]=_testErrorData;continue;case'2':try{await TestHubHandler[_0x13a791(0x168)]();}catch(_0x2e526e){logger[_0x13a791(0x132)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x13a791(0x191)](_0x2e526e));}continue;case'3':testOpsHelper[_0x13a791(0x1ac)]();continue;case'4':PerformanceTester[_0x13a791(0x1af)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':_0x28c254[_0x13a791(0x1b3)]();continue;}break;}});async function _0x1231a1(){const _0x5be7e2=_0x75e5c9;try{await _0x28c254['bootstrapAll'](),await _0x28c254['run']();}finally{process[_0x5be7e2(0x159)](_0x9282e4),await _0x28c254[_0x5be7e2(0x1a2)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0xbea8e['FIJuE'](_0x1231a1);}module[a2_0x4900a0(0x1b0)]=run;function a2_0x4ef2(){const _0x3d9c6a=['printResults','spawn','TlMAt','27708IGmlAc','test','path','winstonLogger','load','push','FRAMEWORKS','DPQXM','../../helpers/BrowserStackSetup','config','process','debug','log','../../helpers/test-observability/utils','title','vXzJn','finalExecution','launchBuild','root','../../helpers/performance/constants','144297DZuZTY','BROWSERSTACK_RERUN','-cucumber','frameworkName','Workers','vufKY','split','44QsfMzT','USER_CONFIG_DETAILS_PATH','isUndefined','uzrLv','info','webkit','PdAeD','browser','playwright-webkit','SjYor','now','accessibility','addTests','existsSync','BROWSERSTACK_RERUN_TESTS','browserName','iJJHJ','17912hCDAxG','result','10926223HAFgbs','skipSessionStatus','stringify','rkvAl','chdir','3440670iTfEks','WebDriver','browserStackCwd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','912DzcgaC','browserWSEndpoint','QwrBq','Passed\x20:\x20','KXnCz','getUserWorkerCount','../../helpers/helper','Playwright','skipSessionName','../../helpers/accessibility-automation/helper','stop','FIJuE','profile','txQnp','4|1|3|0|2|5','BrowserStackPlugin.js','pcOsQ','map','DaKGT','7383510LDuLnB','KvjfN','enabled','errorMessage','join','codecept.json','10447927fnjaok','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','codeceptjs/lib/index.js','setAdditionalCapabilities','iBWXd','passed','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','PBCZO','parallelsPerPlatform','testObservability','playwright-chromium','dZyvk','toLowerCase','helpers','validateRerunTestList','ksVHv','forEach','../../bin/playwright/accessibility-helper','accessibilityOptions','findIndex','useW3C','chromium','event','mergeDeep','isTestObservabilitySession','format','testContextOptions','EWEww','EVENTS','IseTG','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Xyqxt','../../helpers/performance/performance-tester','env','getPlaywrightUrl','EiTRg','264hrsoxZ','kqUav','slice','cwd','failed','Started\x20:\x20','teardownAll','err','CODECEPT','getPlatformName','6fFfcAu','../../helpers/testhub/testhubHandler','createGroupsOfSuites','uRqYI','Failed\x20:\x20','plugins','printBuildLink','require','desiredCapabilities','start','exports','codeceptjs','trim'];a2_0x4ef2=function(){return _0x3d9c6a;};return a2_0x4ef2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a3_0x392f85=a3_0x3b89;function a3_0x3b89(_0x176495,_0x279bb7){const _0x5d19f1=a3_0x5d19();return a3_0x3b89=function(_0x3b89e8,_0x574d41){_0x3b89e8=_0x3b89e8-0xa3;let _0x332483=_0x5d19f1[_0x3b89e8];return _0x332483;},a3_0x3b89(_0x176495,_0x279bb7);}(function(_0x33be5d,_0x12c136){const _0x104879=a3_0x3b89,_0x198a66=_0x33be5d();while(!![]){try{const _0x8dc96d=parseInt(_0x104879(0xcc))/0x1*(-parseInt(_0x104879(0xd2))/0x2)+-parseInt(_0x104879(0xb8))/0x3+-parseInt(_0x104879(0xa6))/0x4*(-parseInt(_0x104879(0xe3))/0x5)+-parseInt(_0x104879(0xd7))/0x6*(-parseInt(_0x104879(0xdb))/0x7)+-parseInt(_0x104879(0xbf))/0x8+-parseInt(_0x104879(0xc3))/0x9+parseInt(_0x104879(0xa9))/0xa;if(_0x8dc96d===_0x12c136)break;else _0x198a66['push'](_0x198a66['shift']());}catch(_0x475377){_0x198a66['push'](_0x198a66['shift']());}}}(a3_0x5d19,0x89fc4));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x392f85(0xe9))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x392f85(0xb1)),{isAccessibilityAutomationSession}=require(a3_0x392f85(0xc6)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x33d80d=>{const _0x32a8ea=a3_0x392f85,_0x2c1ab0={};_0x2c1ab0[_0x32a8ea(0xd3)]=_0x32a8ea(0xb3),_0x2c1ab0[_0x32a8ea(0xac)]=_0x32a8ea(0xa4),_0x2c1ab0[_0x32a8ea(0xb7)]=_0x32a8ea(0xd8),_0x2c1ab0[_0x32a8ea(0xc0)]=_0x32a8ea(0xb0),_0x2c1ab0[_0x32a8ea(0xcd)]='os_version';const _0x58c81e=_0x2c1ab0;if(!_0x33d80d)return null;const _0x56d047=_0x33d80d[_0x58c81e[_0x32a8ea(0xd3)]],_0x51a36b=[_0x58c81e[_0x32a8ea(0xac)],_0x58c81e[_0x32a8ea(0xb7)],_0x58c81e['puKhd'],_0x58c81e[_0x32a8ea(0xcd)]];for(const _0x17a22e of _0x51a36b){if(_0x56d047&&_0x56d047[_0x17a22e])return _0x56d047[_0x17a22e];else{if(_0x33d80d[_0x17a22e])return _0x33d80d[_0x17a22e];}}return null;};function a3_0x5d19(){const _0x426e6e=['desiredCapabilities','RtJNa','platform','constructor','browser','../../helpers/logger','browserName','latest','platformVersion','shouldPatchExecuteScript','296IEazWe','bhWBf','nvVng','12584250SqvkFi','bsSessionId','zebzT','IsWUj','fetchPlatformDetails','name','DHmJE','osVersion','../../bin/playwright/sessionDetails','platformName','bstack:options','deviceName','XdbCQ','cloudProvider','JgZYh','397995dnhVYv','accessibilityPlatform','avZMG','FhDJI','UCNxf','nCaUp','__cloud_provider___','7283592HrKmTT','puKhd','TfewP','hZQXN','785358UmDeAq','lRkZQ','VBCDP','../../helpers/accessibility-automation/helper','HAaDU','capabilities','Playwright','searchParams','qEsrS','621369JXsotd','KOtAi','warn','BaqXR','prSwM','includes','2bSRyYf','roZwN','chrome','processWebDriverConfig','pKysS','30uCnOPJ','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','getDetails','561218YGDQTF','browserVersion','riAUm','playwright-chromium','browserstack_accessibility_automation_script','browser_version','FOrFG','HbuVL','44435tEqcDM'];a3_0x5d19=function(){return _0x426e6e;};return a3_0x5d19();}exports[a3_0x392f85(0xad)]=_0x5eb33b=>{const _0x5d7f42=a3_0x392f85,_0x2874a3={'pKysS':'unknown_grid','UCNxf':function(_0x149ecc,_0x4fe122){return _0x149ecc===_0x4fe122;},'avZMG':'WebDriver','XdbCQ':function(_0x16ca4a,_0x5374e6){return _0x16ca4a(_0x5374e6);},'hZQXN':function(_0xf0ede1,_0x55df23,_0x5d3194){return _0xf0ede1(_0x55df23,_0x5d3194);},'qEsrS':'config','lPBaM':_0x5d7f42(0xe4),'igVgu':function(_0x728ef2,_0x389cfc){return _0x728ef2===_0x389cfc;},'bhWBf':_0x5d7f42(0xc9),'BaqXR':_0x5d7f42(0xe8),'HbuVL':'browserWSEndpoint','HAaDU':'caps'};if(!_0x5eb33b)return null;let _0x17ee94=global[_0x5d7f42(0xbe)]||_0x2874a3[_0x5d7f42(0xd6)];if(_0x2874a3[_0x5d7f42(0xbc)](_0x5eb33b[_0x5d7f42(0xe7)]['name'],_0x2874a3[_0x5d7f42(0xba)])){const _0x4a6506=_0x5eb33b[_0x5d7f42(0xe8)];if(!_0x4a6506)return null;const _0x348c6b=_0x4a6506[_0x5d7f42(0xc8)],_0x9848ff=_0x2874a3[_0x5d7f42(0xb5)](getOSVersionFromCaps,_0x2874a3[_0x5d7f42(0xc2)](nestedKeyValue,_0x5eb33b,[_0x2874a3[_0x5d7f42(0xcb)],_0x2874a3['lPBaM']]));return{[_0x17ee94]:{'browser':_0x348c6b[_0x5d7f42(0xea)],'browser_version':_0x348c6b[_0x5d7f42(0xdc)],'capabilities':_0x348c6b,'platform':_0x348c6b[_0x5d7f42(0xb2)],'platform_version':_0x348c6b['platformVersion']||_0x9848ff,'product':_0x2874a3[_0x5d7f42(0xb5)](getObservabilityLinkedProductName,_0x348c6b),'session_id':_0x4a6506['sessionId']}};}else{if(_0x2874a3['igVgu'](_0x5eb33b[_0x5d7f42(0xe7)][_0x5d7f42(0xae)],_0x2874a3[_0x5d7f42(0xa7)])){const _0x368b3a=PlaywrightSessionDetails[_0x5d7f42(0xda)]();_0x17ee94=_0x368b3a[_0x5d7f42(0xb6)]||_0x17ee94;const _0x4235a1=_0x2874a3[_0x5d7f42(0xc2)](nestedKeyValue,_0x5eb33b,[_0x2874a3[_0x5d7f42(0xcb)],_0x2874a3[_0x5d7f42(0xcf)],_0x2874a3[_0x5d7f42(0xe2)]]),_0x3240b6=_0x4235a1?JSON['parse'](new URL(_0x4235a1)[_0x5d7f42(0xca)]['get'](_0x2874a3[_0x5d7f42(0xc7)])):{};return{[_0x17ee94]:{'browser':_0x368b3a[_0x5d7f42(0xe8)]||_0x3240b6[_0x5d7f42(0xea)],'browser_version':_0x368b3a[_0x5d7f42(0xe0)]||_0x3240b6['browser_version'],'capabilities':_0x3240b6,'platform':_0x368b3a[_0x5d7f42(0xe6)],'platform_version':_0x368b3a[_0x5d7f42(0xd8)],'product':_0x2874a3[_0x5d7f42(0xb5)](getObservabilityLinkedProductName,_0x3240b6),'session_id':_0x368b3a[_0x5d7f42(0xaa)]}};}}},exports[a3_0x392f85(0xd5)]=_0xb10d48=>{const _0xfbcc68=a3_0x392f85,_0x427e87={'lRkZQ':function(_0xf08ebc){return _0xf08ebc();},'nvVng':function(_0x3d2764,_0x1962b7){return _0x3d2764===_0x1962b7;},'VBCDP':_0xfbcc68(0xa3),'DHmJE':function(_0x5d8ca2,_0xc70e4d){return _0x5d8ca2>_0xc70e4d;},'nCaUp':function(_0x2354b4,_0x3d733d){return _0x2354b4(_0x3d733d);},'FhDJI':_0xfbcc68(0xd9),'riAUm':_0xfbcc68(0xd4),'TfewP':function(_0x4d93a6,_0x4a75a7){return _0x4d93a6===_0x4a75a7;},'RtJNa':_0xfbcc68(0xde),'zebzT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','prSwM':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x427e87[_0xfbcc68(0xc4)](isAccessibilityAutomationSession)){const _0x3049c7=_0xb10d48[_0xfbcc68(0xe8)],_0x4527f6=_0x3049c7[_0xfbcc68(0xc8)];global[_0xfbcc68(0xb9)]=!![],!(_0x427e87[_0xfbcc68(0xa8)](_0x4527f6[_0xfbcc68(0xdc)],_0x427e87[_0xfbcc68(0xc5)])||_0x427e87[_0xfbcc68(0xaf)](_0x427e87[_0xfbcc68(0xbd)](parseInt,_0x4527f6['browserVersion']),0x5e))&&(logger['warn'](_0x427e87[_0xfbcc68(0xbb)]),global[_0xfbcc68(0xb9)]=![]),!(_0x427e87[_0xfbcc68(0xa8)](_0x4527f6[_0xfbcc68(0xea)],_0x427e87[_0xfbcc68(0xdd)])||_0x427e87[_0xfbcc68(0xc1)](_0x4527f6[_0xfbcc68(0xea)],_0x427e87[_0xfbcc68(0xe5)]))&&(logger[_0xfbcc68(0xce)](_0x427e87[_0xfbcc68(0xab)]),global[_0xfbcc68(0xb9)]=![]),!_0x427e87[_0xfbcc68(0xbd)](isUndefined,_0x4527f6[_0xfbcc68(0xb4)])&&(logger['warn'](_0x427e87[_0xfbcc68(0xd0)]),global[_0xfbcc68(0xb9)]=![]);}},exports[a3_0x392f85(0xa5)]=_0xf76749=>{const _0x510ade=a3_0x392f85,_0x1c4398={};_0x1c4398[_0x510ade(0xe1)]='browserstack_executor',_0x1c4398['dQFdV']=_0x510ade(0xdf);const _0x1958b6=_0x1c4398;if(!_0xf76749)return![];return!_0xf76749[_0x510ade(0xd1)](_0x1958b6[_0x510ade(0xe1)])&&!_0xf76749['includes'](_0x1958b6['dQFdV']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x5a6e(_0x3ba134,_0x443b4c){const _0x8fc95a=a4_0x8fc9();return a4_0x5a6e=function(_0x5a6e7f,_0x372052){_0x5a6e7f=_0x5a6e7f-0xe0;let _0x4c53f9=_0x8fc95a[_0x5a6e7f];return _0x4c53f9;},a4_0x5a6e(_0x3ba134,_0x443b4c);}const a4_0x14be34=a4_0x5a6e;(function(_0x54563a,_0x322af3){const _0x148697=a4_0x5a6e,_0x59482d=_0x54563a();while(!![]){try{const _0x428798=-parseInt(_0x148697(0x1a8))/0x1+-parseInt(_0x148697(0x106))/0x2*(-parseInt(_0x148697(0x136))/0x3)+-parseInt(_0x148697(0x132))/0x4*(parseInt(_0x148697(0x1d2))/0x5)+parseInt(_0x148697(0x1ae))/0x6+parseInt(_0x148697(0x101))/0x7+parseInt(_0x148697(0x131))/0x8+-parseInt(_0x148697(0x152))/0x9*(parseInt(_0x148697(0x10b))/0xa);if(_0x428798===_0x322af3)break;else _0x59482d['push'](_0x59482d['shift']());}catch(_0xf60e63){_0x59482d['push'](_0x59482d['shift']());}}}(a4_0x8fc9,0xd35ee));const path=require(a4_0x14be34(0x103)),fs=require('fs'),{v4:uuidv4}=require(a4_0x14be34(0x16d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x14be34(0x1a1)),testOpsHelper=require(a4_0x14be34(0x12c)),{getTestEnv}=require(a4_0x14be34(0x135)),{FRAMEWORKS}=require(a4_0x14be34(0x1bf)),logger=require(a4_0x14be34(0x1d4))['winstonLogger'],SessionHandler=require(a4_0x14be34(0x16f)),RequestQueueHandler=require(a4_0x14be34(0xf5)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x14be34(0x1b5)),{fetchPlatformDetails}=require(a4_0x14be34(0x139)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED=a4_0x14be34(0x154),a4_0x469675={};a4_0x469675[a4_0x14be34(0x18e)]=a4_0x14be34(0x126),a4_0x469675['TEST_RUN_FINISHED']='TestRunFinished',a4_0x469675['TEST_RUN_SKIPPED']=a4_0x14be34(0x185),a4_0x469675[a4_0x14be34(0x14c)]='HookRunStarted',a4_0x469675['HOOK_RUN_FINISHED']=a4_0x14be34(0x10c);const TEST_EVENTS=a4_0x469675,parseEvent=_0x2567cc=>{const _0x21db5d=a4_0x14be34,_0x24c15a={};_0x24c15a[_0x21db5d(0x142)]=function(_0x1e3c2a,_0x1b822f){return _0x1e3c2a<_0x1b822f;},_0x24c15a[_0x21db5d(0x1bd)]=function(_0x1b58d5,_0x4c992c){return _0x1b58d5===_0x4c992c;},_0x24c15a[_0x21db5d(0x19d)]=_0x21db5d(0x164),_0x24c15a['KWjCw']=function(_0x3ff23f,_0x294ba2){return _0x3ff23f===_0x294ba2;},_0x24c15a[_0x21db5d(0x110)]=_0x21db5d(0x1d1),_0x24c15a[_0x21db5d(0x14a)]=_0x21db5d(0x1b4),_0x24c15a[_0x21db5d(0x157)]=_0x21db5d(0x13a),_0x24c15a[_0x21db5d(0x107)]=_0x21db5d(0x176);const _0xb8f67b=_0x24c15a,_0x1838ef=_0x2567cc[_0x21db5d(0x1a4)](/^(.*)Run(.*)$/);if(!_0x1838ef)return null;if(_0xb8f67b[_0x21db5d(0x142)](_0x1838ef['length'],0x3))return null;const _0x4cd82b=_0x1838ef[0x1]['toLowerCase'](),_0x32f7c7=_0x1838ef[0x2][_0x21db5d(0xed)]();return{'test':_0xb8f67b['RjFWH'](_0x4cd82b,_0xb8f67b[_0x21db5d(0x19d)]),'hook':_0xb8f67b[_0x21db5d(0x179)](_0x4cd82b,_0xb8f67b[_0x21db5d(0x110)]),'skipped':_0xb8f67b[_0x21db5d(0x1bd)](_0x32f7c7,_0xb8f67b['ttQnt']),'started':_0xb8f67b[_0x21db5d(0x179)](_0x32f7c7,_0xb8f67b[_0x21db5d(0x157)]),'finished':_0xb8f67b[_0x21db5d(0x1bd)](_0x32f7c7,_0xb8f67b[_0x21db5d(0x107)])};},mockPWBrowserType=_0x556e97=>{const _0x4222b9=a4_0x14be34,_0xc0ad98={'PItLX':function(_0x30709a,_0x23ea18){return _0x30709a===_0x23ea18;},'MolRE':_0x4222b9(0x159),'wpvaW':function(_0x182a10,_0x4d0e34,_0x11393a){return _0x182a10(_0x4d0e34,_0x11393a);},'yyfwx':_0x4222b9(0x1ab),'tbBUs':function(_0x1f7541,_0x1bcf5d){return _0x1f7541(_0x1bcf5d);},'rODbe':_0x4222b9(0x1c9),'ZsMur':'lib','MUSOZ':_0x4222b9(0x1af),'KdaFN':_0x4222b9(0xf2),'UKXoZ':function(_0x1dbaac,_0x2e1884){return _0x1dbaac(_0x2e1884);},'RfRfF':_0x4222b9(0x11e),'ZLwFp':_0x4222b9(0xee),'QIfwf':'launch'},_0x54d65d=path[_0x4222b9(0x150)](_0xc0ad98[_0x4222b9(0xe4)],_0xc0ad98[_0x4222b9(0x19b)],_0xc0ad98[_0x4222b9(0x187)]),_0xd44101=_0xc0ad98[_0x4222b9(0x1d9)](importFileFromPWCore,_0x54d65d);if(!_0xd44101){_0xc0ad98[_0x4222b9(0x1ce)](debug,_0xc0ad98[_0x4222b9(0x109)]);return;}const _0x2e123c=_0xd44101[_0x4222b9(0xf7)],_0x15ddb3=_0x2e123c[_0x4222b9(0x197)];if(_0x15ddb3[_0x4222b9(0x10f)])return;const _0x18a031=_0x15ddb3[_0x4222b9(0xee)];Object[_0x4222b9(0x137)](_0x15ddb3,_0xc0ad98['ZLwFp'],{'get':function(){const _0x1d42c8=_0x4222b9,_0x2fa5d1={'IGuFD':function(_0x22ce77,_0x461139){const _0x47ce55=a4_0x5a6e;return _0xc0ad98[_0x47ce55(0x194)](_0x22ce77,_0x461139);},'fxPlR':_0xc0ad98[_0x1d42c8(0x186)],'vlodv':function(_0x105a9e,_0x25456f,_0x130d72){const _0x1af0d4=_0x1d42c8;return _0xc0ad98[_0x1af0d4(0x17a)](_0x105a9e,_0x25456f,_0x130d72);},'iqpWg':_0xc0ad98[_0x1d42c8(0x163)],'cCBEB':function(_0x2b1922,_0x264b87){return _0xc0ad98['tbBUs'](_0x2b1922,_0x264b87);},'AYoxg':_0xc0ad98['rODbe'],'ikZZi':function(_0x693222,_0x2fe8a8,_0xc24a2){return _0xc0ad98['wpvaW'](_0x693222,_0x2fe8a8,_0xc24a2);}};return async function _0x554067(_0x2ef873,_0x118ef5){const _0x52af96=_0x1d42c8,_0x19a6ad={'yZJbC':function(_0x3aaaba,_0x4a6738){const _0x375a37=a4_0x5a6e;return _0x2fa5d1[_0x375a37(0x1c6)](_0x3aaaba,_0x4a6738);},'xnYMh':_0x2fa5d1[_0x52af96(0x121)]},_0x1f8b39=_0x2fa5d1[_0x52af96(0x11d)](nestedKeyValue,_0x2ef873,[_0x2fa5d1[_0x52af96(0xe1)]])||_0x2ef873;let _0x550e6a=null,_0x691345=null;try{[_0x691345,_0x550e6a]=_0x1f8b39?_0x2fa5d1[_0x52af96(0x169)](parseWSEndpoint,_0x1f8b39):[null,null],global[_0x52af96(0x1bb)]=_0x550e6a,_0x691345[_0x52af96(0x147)](_0x2fa5d1[_0x52af96(0x180)])&&(global[_0x52af96(0xfe)]=_0x2fa5d1[_0x52af96(0x180)]);}catch(_0x3150a6){logger[_0x52af96(0x1b6)](_0x52af96(0xf4)+_0x1f8b39+'\x20'+_0x3150a6);}_0x2fa5d1[_0x52af96(0x153)](processAccessibilityCaps,_0x550e6a,_0x691345);if(global[_0x52af96(0x193)]){const _0x2a887e=await _0x15ddb3['connectOverCDP'][_0x52af96(0x1a9)](this,[''+Constants[_0x52af96(0x18c)]+_0x2fa5d1[_0x52af96(0x169)](encodeURIComponent,JSON['stringify'](_0x550e6a))]);return PlaywrightSessionDetails[_0x52af96(0x12b)](_0x2a887e,_0x556e97,_0x1f8b39),_0x2a887e;}return _0x18a031[_0x52af96(0x1a9)](this,arguments)[_0x52af96(0xe8)](_0xc9f4c1=>{const _0x5ad7f4=_0x52af96;let _0x220b5e=_0x2ef873[_0x5ad7f4(0x1ab)];return _0x19a6ad['yZJbC'](typeof _0x2ef873,_0x19a6ad[_0x5ad7f4(0x146)])&&(_0x220b5e=_0x2ef873),PlaywrightSessionDetails[_0x5ad7f4(0x12b)](_0xc9f4c1,_0x556e97,_0x220b5e),_0xc9f4c1;});};}});const _0x252a2d=_0x15ddb3[_0x4222b9(0x148)];Object[_0x4222b9(0x137)](_0x15ddb3,_0xc0ad98[_0x4222b9(0x129)],{'get':function(){return async function _0x55d430(){const _0x57f222=a4_0x5a6e;return _0x252a2d[_0x57f222(0x1a9)](this,arguments)[_0x57f222(0xe8)](_0x51ba26=>{const _0x5d0398=_0x57f222;return PlaywrightSessionDetails[_0x5d0398(0x12b)](_0x51ba26,null),_0x51ba26;});};}});};class O11yHelper{['currentTest']=null;[a4_0x14be34(0x1d5)]=null;[a4_0x14be34(0x196)]=![];['frameworkName']=![];constructor(_0x55e543,_0x37ed60){const _0x40ec47=a4_0x14be34,_0x54d5d4={'gKUGE':_0x40ec47(0xf9),'Udgkn':function(_0xa5e86,_0x57e89a){return _0xa5e86===_0x57e89a;},'DVVQu':'Playwright','dmxWx':function(_0x1dc13b,_0x34a4c3){return _0x1dc13b(_0x34a4c3);},'rDqWm':function(_0x6e3d00){return _0x6e3d00();}},_0x521115=_0x54d5d4[_0x40ec47(0x1cc)][_0x40ec47(0x1a5)]('|');let _0x202c02=0x0;while(!![]){switch(_0x521115[_0x202c02++]){case'0':this[_0x40ec47(0x1c3)]=_0x37ed60[_0x40ec47(0x1c3)];continue;case'1':this[_0x40ec47(0x1d8)]=new testOpsHelper[(_0x40ec47(0x13f))]({'cwd':process[_0x40ec47(0x18a)]()},this['_testEnv'][_0x40ec47(0x19f)]);continue;case'2':this[_0x40ec47(0x12d)]&&_0x54d5d4[_0x40ec47(0x108)](this[_0x40ec47(0x12d)][_0x40ec47(0x149)][_0x40ec47(0xfd)],_0x54d5d4[_0x40ec47(0x158)])&&_0x54d5d4['dmxWx'](mockPWBrowserType,null);continue;case'3':this[_0x40ec47(0x196)]=_0x54d5d4['rDqWm'](shouldProcessEventForTesthub);continue;case'4':this[_0x40ec47(0x199)]=_0x54d5d4[_0x40ec47(0x1d3)](getTestEnv);continue;case'5':this[_0x40ec47(0x12d)]=_0x55e543;continue;}break;}}[a4_0x14be34(0x15c)](){const _0x3c6ab2=a4_0x14be34;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x3c6ab2(0x1ca)](_0x3c6ab2(0xfa)+process[_0x3c6ab2(0x181)]),process['on'](_0x3c6ab2(0xfa)+process[_0x3c6ab2(0x181)],this[_0x3c6ab2(0x174)]['bind'](this));}async[a4_0x14be34(0x17b)](){const _0x32092e=a4_0x14be34;await RequestQueueHandler[_0x32092e(0xf1)]()['shutdown']();}async[a4_0x14be34(0x174)](_0x168c96){const _0x37c4c2=a4_0x14be34,_0x538f82={'KLRLn':_0x37c4c2(0x1ba),'sceTL':function(_0x1c6f92,_0x4b8536){return _0x1c6f92(_0x4b8536);}};try{this[_0x37c4c2(0x1d5)]&&!this[_0x37c4c2(0x1d5)][_0x37c4c2(0x19c)]&&(_0x168c96[_0x37c4c2(0x1aa)]=this[_0x37c4c2(0x1d5)]['hookAnalyticsId']);!_0x168c96[_0x37c4c2(0x1aa)]&&this[_0x37c4c2(0x182)]&&!this[_0x37c4c2(0x182)]['markedStatus']&&(_0x168c96[_0x37c4c2(0x15b)]=this[_0x37c4c2(0x182)][_0x37c4c2(0xfc)]);if(_0x168c96[_0x37c4c2(0x1aa)]||_0x168c96[_0x37c4c2(0x15b)]){const _0x448a91={};_0x448a91[_0x37c4c2(0x178)]=_0x538f82['KLRLn'],_0x448a91[_0x37c4c2(0xec)]=[_0x168c96],await SessionHandler[_0x37c4c2(0x160)](_0x448a91);}}catch(_0x504ef8){_0x538f82[_0x37c4c2(0x13c)](debug,_0x37c4c2(0x111)+_0x504ef8);}}async[a4_0x14be34(0x144)](_0x894135){const _0x17744e=a4_0x14be34,_0x2ee212={'nOYHb':_0x17744e(0x1d0),'HyOBv':function(_0x40c1eb,_0x327c4a){return _0x40c1eb(_0x327c4a);}};if(!this[_0x17744e(0x196)])return;const _0x28313b=this['getCBTInfo'](this[_0x17744e(0x12d)]);try{const _0x340796={};_0x340796['uuid']=_0x894135,_0x340796[_0x17744e(0x124)]=_0x28313b;const _0x2e6932=_0x340796,_0x31feb7={};_0x31feb7['event_type']=_0x2ee212[_0x17744e(0x15d)],_0x31feb7[_0x17744e(0x116)]=_0x2e6932,await SessionHandler['uploadEventData'](_0x31feb7);}catch(_0x1d7439){_0x2ee212[_0x17744e(0x1be)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1d7439);}}[a4_0x14be34(0x1b7)](_0x4a6ec5){const _0x2051dd=a4_0x14be34,_0x963910={'BRnbx':function(_0x101b9f,_0x14c530){return _0x101b9f(_0x14c530);}};return _0x963910[_0x2051dd(0x104)](fetchPlatformDetails,_0x4a6ec5);}['resetSkipTestHooks']=_0x261407=>{const _0x89c8f4=a4_0x14be34,_0x4341a0={};_0x4341a0[_0x89c8f4(0x140)]=_0x89c8f4(0x100),_0x4341a0['yCiIx']=_0x89c8f4(0x172);const _0x7315d=_0x4341a0;if(!_0x261407||!_0x261407[_0x89c8f4(0x1a0)])return;[_0x7315d[_0x89c8f4(0x140)],_0x7315d[_0x89c8f4(0x192)]]['forEach'](_0x345769=>{const _0x3bf2f0=_0x89c8f4,_0x4e50cb=_0x261407[_0x3bf2f0(0x1a0)][_0x345769];_0x4e50cb[_0x3bf2f0(0x1c1)](_0x42d43b=>{const _0x477a36=_0x3bf2f0;_0x42d43b[_0x477a36(0x1a2)]&&(_0x42d43b[_0x477a36(0x1a2)]=null);});});};[a4_0x14be34(0x1c4)](_0x58635b){const _0x48c2d8=a4_0x14be34,_0x39e126={'jGDsX':'codeceptjs','iOyJF':function(_0xd0ab46){return _0xd0ab46();},'rLBfA':function(_0x31d1b7,_0x5f08a8){return _0x31d1b7===_0x5f08a8;},'trakD':_0x48c2d8(0x172),'mouAn':function(_0xa8a73f){return _0xa8a73f();},'fJgpD':_0x48c2d8(0x141),'NNeTS':_0x48c2d8(0x14d),'fdeNX':_0x48c2d8(0x100)};if(!_0x58635b||!_0x58635b[_0x48c2d8(0x1a0)])return;[_0x39e126['fJgpD'],_0x39e126[_0x48c2d8(0xe5)],_0x39e126[_0x48c2d8(0x16e)],_0x39e126[_0x48c2d8(0x189)]][_0x48c2d8(0x1c1)](_0xad1304=>{const _0x24653b=_0x48c2d8,_0x2682d9=_0x58635b[_0x24653b(0x1a0)][_0xad1304]||[];_0x2682d9['forEach'](_0x125381=>{const _0x467fac=_0x24653b;if(_0x125381['title'][_0x467fac(0x147)](_0x39e126[_0x467fac(0x115)]))return;if(!_0x125381[_0x467fac(0x1a2)])_0x125381[_0x467fac(0x1a2)]=_0x39e126[_0x467fac(0x1d7)](uuidv4);else _0x125381[_0x467fac(0x19c)]&&_0x39e126[_0x467fac(0x162)](_0xad1304,_0x39e126['trakD'])&&(_0x125381[_0x467fac(0x1a2)]=_0x39e126[_0x467fac(0x127)](uuidv4),delete _0x125381[_0x467fac(0x19c)]);});}),this['mapTestHooks'](_0x58635b[_0x48c2d8(0x1a0)]);}['getHooksForTest'](_0x2b69ca){const _0x3a3bec=a4_0x14be34,_0x3aa59e={};_0x3aa59e[_0x3a3bec(0x170)]=_0x3a3bec(0x141),_0x3aa59e[_0x3a3bec(0x13d)]=_0x3a3bec(0x14d),_0x3aa59e[_0x3a3bec(0x125)]=_0x3a3bec(0x100),_0x3aa59e[_0x3a3bec(0x177)]=_0x3a3bec(0x172);const _0x44cb46=_0x3aa59e;if(!_0x2b69ca||!_0x2b69ca['parent'])return[];const _0xe9d02=[];return[_0x44cb46[_0x3a3bec(0x170)],_0x44cb46['wIVdh'],_0x44cb46[_0x3a3bec(0x125)],_0x44cb46[_0x3a3bec(0x177)]]['forEach'](_0x36ee4b=>{const _0x402316=_0x3a3bec,_0x5ed31d=_0x2b69ca[_0x402316(0x1a0)][_0x36ee4b]||[];_0x5ed31d[_0x402316(0x1c1)](_0x40abab=>{const _0x155c51=_0x402316;_0x40abab[_0x155c51(0x1a2)]&&_0xe9d02[_0x155c51(0x190)](_0x40abab['hookAnalyticsId']);});}),[]['concat'](_0xe9d02,this[_0x3a3bec(0xe7)](_0x2b69ca[_0x3a3bec(0x1a0)]));}[a4_0x14be34(0xe2)](_0x920f9e){const _0x4470be=a4_0x14be34,_0x5a1050=/^"(?<hook>.*)" hook:.*$/,_0x2b339d=_0x920f9e[_0x4470be(0x17d)],_0x35f757=_0x2b339d[_0x4470be(0x1a4)](_0x5a1050);if(_0x35f757&&_0x35f757[_0x4470be(0x1cf)])return _0x35f757[_0x4470be(0x1cf)]['hook'][_0x4470be(0x1a7)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x2c041d){const _0x4db24f=a4_0x14be34,_0x53ff4f={};_0x53ff4f['lVgwB']=function(_0x4d35d2,_0x1cac62){return _0x4d35d2===_0x1cac62;},_0x53ff4f[_0x4db24f(0x16c)]=function(_0x539e46,_0x35b6d2){return _0x539e46===_0x35b6d2;},_0x53ff4f['iVAEW']=function(_0x13376f,_0x3a9332){return _0x13376f===_0x3a9332;},_0x53ff4f[_0x4db24f(0x1ac)]=_0x4db24f(0x17f),_0x53ff4f[_0x4db24f(0x122)]=_0x4db24f(0x1c2);const _0x2da377=_0x53ff4f,_0x23d31b=path[_0x4db24f(0x102)];if(_0x2da377[_0x4db24f(0xf3)](_0x2c041d,null)||_0x2da377['KtVFS'](_0x2c041d,'')||_0x2da377[_0x4db24f(0x18b)](_0x2c041d,_0x23d31b)||_0x2da377[_0x4db24f(0xf3)](_0x2c041d,path['dirname'](_0x2c041d)))return null;try{return fs[_0x4db24f(0xf8)](path['join'](_0x2c041d,_0x2da377[_0x4db24f(0x1ac)],_0x2da377[_0x4db24f(0x122)])),_0x2c041d;}catch(_0x438193){const _0x30db15=path[_0x4db24f(0x175)](_0x2c041d);return this[_0x4db24f(0x11f)](_0x30db15);}}[a4_0x14be34(0x15a)](_0x4f858f){const _0x407694=a4_0x14be34,_0x26c72e={};_0x26c72e[_0x407694(0x18f)]=function(_0x315ed6,_0x1f951a){return _0x315ed6>_0x1f951a;};const _0x5b0c84=_0x26c72e;if(_0x4f858f[_0x407694(0x1bc)])return _0x4f858f['file'];if(_0x4f858f['ctx']){const _0x4592a1=_0x4f858f[_0x407694(0xe0)]['currentTest']?this[_0x407694(0x15a)](_0x4f858f['ctx'][_0x407694(0x182)]):null;if(_0x4592a1)return _0x4592a1;}if(_0x4f858f[_0x407694(0x1a0)]){const _0xd0a73c=this['getRootParentFile'](_0x4f858f['parent'])||(_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)]&&_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)][_0x407694(0x182)]?this['getRootParentFile'](_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)][_0x407694(0x182)]):null);if(_0xd0a73c)return _0xd0a73c;_0x4f858f[_0x407694(0x1a0)][_0x407694(0x12f)]&&_0x5b0c84[_0x407694(0x18f)](_0x4f858f['parent'][_0x407694(0x12f)][_0x407694(0x114)],0x0)&&_0x4f858f[_0x407694(0x1a0)][_0x407694(0x12f)]['forEach'](_0x27d6e1=>{const _0x3126ca=_0x407694,_0x2fc88c=_0x27d6e1[_0x3126ca(0xe0)]?this[_0x3126ca(0x15a)](_0x27d6e1[_0x3126ca(0xe0)]):null;if(_0x2fc88c)return _0x2fc88c;});}return null;}[a4_0x14be34(0x1b2)](_0x40122c){const _0x155855=a4_0x14be34,_0x2de993={};_0x2de993['GdJqG']=function(_0x2173e3,_0x421ece){return _0x2173e3!==_0x421ece;};const _0x2531d3=_0x2de993,_0x1ec5dd=[];if(_0x40122c&&_0x40122c[_0x155855(0x1a0)]){let _0x3371a7=_0x40122c[_0x155855(0x1a0)];while(_0x3371a7&&_0x2531d3[_0x155855(0x184)](_0x3371a7[_0x155855(0x17d)],'')){_0x1ec5dd[_0x155855(0x190)](_0x3371a7[_0x155855(0x17d)]),_0x3371a7=_0x3371a7[_0x155855(0x1a0)];}}return _0x1ec5dd;}[a4_0x14be34(0x1cd)](_0x25efc7,_0x4c145d,_0x74340=undefined){const _0x12cf1d=a4_0x14be34,_0xf35d46={'mgRIC':function(_0x2aa0eb,_0x320701){return _0x2aa0eb(_0x320701);},'KHdEY':function(_0x293c7f){return _0x293c7f();},'csMmo':function(_0x5cdb9f){return _0x5cdb9f();},'rofle':function(_0x577b60,_0x45e5c9){return _0x577b60(_0x45e5c9);},'yEFZI':_0x12cf1d(0x134),'vqEtx':'err','aYQRJ':function(_0x4d3f9b,_0x179df8){return _0x4d3f9b!==_0x179df8;},'BYnOR':_0x12cf1d(0x198),'aaNxQ':'pending','GevGR':_0x12cf1d(0x154),'MgNeA':'passed','ShcwL':_0x12cf1d(0x1b4),'Ceezn':_0x12cf1d(0x118),'rOyNj':function(_0x8a2c04,_0x5a9363){return _0x8a2c04-_0x5a9363;},'rlrml':function(_0x3e14af,_0x1be20e,_0x344548,_0x5a4f25,_0x4f4ec8){return _0x3e14af(_0x1be20e,_0x344548,_0x5a4f25,_0x4f4ec8);},'QRDov':function(_0x2e4934,_0x11d058){return _0x2e4934!==_0x11d058;},'IMGqk':'integrations','bdtAW':_0x12cf1d(0xeb),'AFowU':_0x12cf1d(0xf6),'bhKcJ':'failure_backtrace','KtcyD':_0x12cf1d(0x17e),'aytHb':'failure_reason_expanded','ztJpI':_0x12cf1d(0x12e),'yXvcq':function(_0x10334b,_0x134713){return _0x10334b===_0x134713;},'NgCgG':_0x12cf1d(0xfb),'WQOul':_0x12cf1d(0x116)};if(!this[_0x12cf1d(0x196)])return;try{if(_0x4c145d['fn']&&_0x4c145d['fn'][_0x12cf1d(0x1c5)]()[_0x12cf1d(0x1a4)](/browserstack internal helper hook/))return;const _0x34d87b=_0xf35d46['mgRIC'](parseEvent,_0x25efc7);if(!_0x34d87b)return;if(_0x34d87b[_0x12cf1d(0x164)]){this[_0x12cf1d(0x182)]=_0x4c145d,this[_0x12cf1d(0x1d5)]=null;if(_0x34d87b[_0x12cf1d(0x13a)]||_0x34d87b[_0x12cf1d(0x1b4)]){_0x4c145d[_0x12cf1d(0x119)]=new Date(),_0x4c145d[_0x12cf1d(0x19c)]=![];if(!_0x4c145d[_0x12cf1d(0xfc)])_0x4c145d[_0x12cf1d(0xfc)]=_0xf35d46[_0x12cf1d(0xea)](uuidv4);else _0x4c145d[_0x12cf1d(0x19c)]&&(!_0x4c145d[_0x12cf1d(0x13b)]&&(_0x4c145d[_0x12cf1d(0x13b)]=_0x4c145d[_0x12cf1d(0xfc)]),_0x4c145d[_0x12cf1d(0xfc)]=_0xf35d46[_0x12cf1d(0xef)](uuidv4));}}else{if(_0x34d87b['hook']){this[_0x12cf1d(0x1d5)]=_0x4c145d;if(_0x34d87b[_0x12cf1d(0x13a)]){_0x4c145d['startedAt']=new Date(),_0x4c145d[_0x12cf1d(0x19c)]=![];if(!_0x4c145d[_0x12cf1d(0x1a2)])_0x4c145d[_0x12cf1d(0x1a2)]=_0xf35d46['csMmo'](uuidv4);else _0x4c145d['hookAnalyticsId']&&_0x4c145d[_0x12cf1d(0x19c)]&&(_0x4c145d['hookAnalyticsId']=_0xf35d46[_0x12cf1d(0xef)](uuidv4));}}}if(_0x34d87b[_0x12cf1d(0x176)]&&_0x4c145d[_0x12cf1d(0x19c)])return;let _0x723359;try{_0x723359=this[_0x12cf1d(0x15a)](_0x4c145d);}catch(_0x4487e0){logger[_0x12cf1d(0x1b6)](_0x12cf1d(0x167)+_0x4487e0),_0x723359=null;}const _0x1e0e1b=_0xf35d46[_0x12cf1d(0x165)](require,_0xf35d46[_0x12cf1d(0x195)]);let _0x2835c5=[];_0x74340&&(_0x2835c5=[_0x74340,_0xf35d46[_0x12cf1d(0x113)]]);const _0x4df358=_0xf35d46[_0x12cf1d(0xe9)](_0x4c145d[_0x12cf1d(0xe6)],undefined)?_0x1e0e1b['inspect'](_0x4c145d[_0x12cf1d(0xe6)][0x0]):_0xf35d46[_0x12cf1d(0xe9)](_0x74340,undefined)?_0x74340[_0x12cf1d(0x1c5)]():undefined,_0x139aa3=_0x723359?this[_0x12cf1d(0x11f)](_0x723359):null,_0x92fd6d=_0x723359?this[_0x12cf1d(0x1d8)][_0x12cf1d(0x19a)](this['getRootParentFile'](_0x4c145d)):_0xf35d46[_0x12cf1d(0x1a6)];let _0x408c78=_0xf35d46[_0x12cf1d(0x173)];const _0x51773b=!_0x34d87b[_0x12cf1d(0x13a)]?new Date()['toISOString']():null;if(_0x34d87b[_0x12cf1d(0x176)])_0x408c78=_0x74340?_0xf35d46[_0x12cf1d(0x10d)]:_0xf35d46[_0x12cf1d(0x1c0)],_0x4c145d['markedStatus']=!![];else _0x34d87b[_0x12cf1d(0x1b4)]&&(_0x408c78=_0xf35d46[_0x12cf1d(0x10a)],_0x4c145d['markedStatus']=!![]);const _0x23e0d5={'framework':this[_0x12cf1d(0x1c3)],'uuid':_0x4c145d[_0x12cf1d(0xfc)]||_0x4c145d[_0x12cf1d(0x1a2)],'name':_0x4c145d[_0x12cf1d(0x17d)],'body':{'lang':_0xf35d46[_0x12cf1d(0x1c7)],'code':_0x4c145d[_0x12cf1d(0x120)][_0x12cf1d(0x1c5)]()},'type':_0x4c145d[_0x12cf1d(0x16a)],'scope':_0x4c145d['fullTitle'](),'scopes':this[_0x12cf1d(0x1b2)](_0x4c145d),'file_name':_0x92fd6d,'vc_filepath':_0x139aa3?path[_0x12cf1d(0x11b)](_0x139aa3,_0x723359):null,'location':_0x92fd6d,'result':_0x408c78,'failure_reason':_0x4df358,'duration_in_ms':_0x4c145d['duration']||(_0x34d87b['finished']||_0x34d87b['skipped'])?_0xf35d46[_0x12cf1d(0x123)](Date[_0x12cf1d(0x156)](),new Date(_0x4c145d[_0x12cf1d(0x119)])[_0x12cf1d(0xff)]()):null,'started_at':new Date(_0x4c145d[_0x12cf1d(0x119)])[_0x12cf1d(0x171)](),'finished_at':_0x51773b,'failure':testOpsHelper['failureData'][_0x12cf1d(0x1a9)](null,_0x2835c5),'failure_type':!_0x4df358?null:testOpsHelper[_0x12cf1d(0xf0)](_0x4df358),'retry_of':_0x4c145d['retryOf']||null,'tags':_0x4c145d[_0x12cf1d(0x1b1)]||[],'customRerunParam':{'rerun_name':_0x4c145d[_0x12cf1d(0x128)]()}};_0xf35d46[_0x12cf1d(0x188)](appendTesthubParams,_0x23e0d5,_0x25efc7,_0x4c145d,FRAMEWORKS['CODECEPT']);if(_0x34d87b[_0x12cf1d(0x1d1)])[_0x23e0d5['hook_type'],_0x23e0d5[_0x12cf1d(0xfd)]]=[this[_0x12cf1d(0xe2)](_0x4c145d),_0x4c145d['ctx'][_0x12cf1d(0x164)][_0x12cf1d(0x17d)]],_0x34d87b['finished']?_0xf35d46[_0x12cf1d(0x133)](_0x23e0d5[_0x12cf1d(0x155)],_0xf35d46[_0x12cf1d(0x10d)])&&(_0x23e0d5['result']=_0xf35d46[_0x12cf1d(0x1c0)]):_0x23e0d5[_0x12cf1d(0x120)]={};else _0x34d87b[_0x12cf1d(0x164)]&&(this[_0x12cf1d(0x1c4)](_0x4c145d),_0x34d87b[_0x12cf1d(0x1b4)]&&this['resetSkipTestHooks'](_0x4c145d),(_0x34d87b['finished']||_0x34d87b[_0x12cf1d(0x1b4)])&&(_0x23e0d5[_0x12cf1d(0xe3)]=this[_0x12cf1d(0xe7)](_0x4c145d)));this[_0x12cf1d(0x12d)]&&(_0x34d87b[_0x12cf1d(0x13a)]||_0x34d87b['skipped'])&&(_0x23e0d5[_0xf35d46[_0x12cf1d(0x166)]]=this[_0x12cf1d(0x1b7)](this['driver']));_0x34d87b[_0x12cf1d(0x164)]&&_0x34d87b[_0x12cf1d(0x176)]&&_0x4c145d[_0x12cf1d(0x13e)]&&(_0x23e0d5[_0xf35d46[_0x12cf1d(0x191)]]={'feature':{'name':_0x4c145d[_0x12cf1d(0x1a0)]['feature'][_0x12cf1d(0xfd)],'path':_0x23e0d5[_0x12cf1d(0x1c8)],'description':_0x4c145d[_0x12cf1d(0x1a0)][_0x12cf1d(0x168)]},'scenario':{'name':_0x4c145d[_0x12cf1d(0x17d)]},'steps':_0x4c145d[_0x12cf1d(0x13e)]});const _0x1c7534=_0x23e0d5[_0xf35d46[_0x12cf1d(0x143)]][0x0];_0x1c7534&&(_0x23e0d5[_0xf35d46['bhKcJ']]=_0x1c7534[_0xf35d46['KtcyD']],_0x23e0d5[_0xf35d46[_0x12cf1d(0x15f)]]=_0x1c7534[_0xf35d46['ztJpI']]);if(_0x4c145d[_0x12cf1d(0x13e)])for(const _0x483cfe of _0x4c145d[_0x12cf1d(0x13e)]){!_0x483cfe[_0x12cf1d(0x161)]&&(_0x483cfe[_0x12cf1d(0x161)]=new Date()[_0x12cf1d(0x171)](),_0xf35d46[_0x12cf1d(0x1ad)](_0x483cfe[_0x12cf1d(0x155)],_0xf35d46[_0x12cf1d(0x173)])&&(_0x1c7534?(_0x483cfe[_0x12cf1d(0x155)]=_0xf35d46['GevGR'],_0x483cfe[_0x12cf1d(0xf6)]=_0x1c7534[_0xf35d46[_0x12cf1d(0x15e)]][0x0]):_0x483cfe[_0x12cf1d(0x155)]=_0xf35d46[_0x12cf1d(0x1c0)]));}const _0x21906b={};_0x21906b[_0x12cf1d(0x178)]=_0x34d87b[_0x12cf1d(0x1b4)]?TEST_EVENTS[_0x12cf1d(0x16b)]:_0x25efc7;const _0x5da077=_0x21906b;return _0x34d87b[_0x12cf1d(0x1d1)]?_0x5da077[_0xf35d46[_0x12cf1d(0x12a)]]=_0x23e0d5:_0x5da077[_0xf35d46['WQOul']]=_0x23e0d5,_0x5da077;}catch(_0x3430f6){logger[_0x12cf1d(0x1b6)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x25efc7+_0x12cf1d(0x10e)+_0x3430f6);}}async['fireEvent'](_0x4bfbac,_0x3dcaf1){const _0x479c78=a4_0x14be34;if(!this[_0x479c78(0x196)]||!_0x3dcaf1||!_0x4bfbac)return![];try{return await SessionHandler[_0x479c78(0x160)](_0x3dcaf1);}catch(_0x5b926e){logger[_0x479c78(0x1b6)](_0x479c78(0x1b3)+_0x4bfbac+_0x479c78(0x10e)+_0x5b926e);}}[a4_0x14be34(0x1da)](_0x59e167){const _0x20964d=a4_0x14be34,_0x157c00={};_0x157c00[_0x20964d(0x183)]=_0x20964d(0x19e);const _0x588d05=_0x157c00;return{'id':_0x59e167[_0x20964d(0x1a3)],'text':_0x59e167[_0x20964d(0x14f)],'keyword':_0x59e167[_0x20964d(0x105)],'started_at':_0x59e167[_0x20964d(0x119)][_0x20964d(0x171)](),'result':_0x588d05['YrcFS']};}[a4_0x14be34(0x112)](_0x1a9d7c){const _0x12108c=a4_0x14be34,_0x2291be={'FasLo':function(_0x1c38bc){return _0x1c38bc();}};!this[_0x12108c(0x182)][_0x12108c(0x13e)]&&(this[_0x12108c(0x182)][_0x12108c(0x13e)]=[]),!_0x1a9d7c[_0x12108c(0x1a3)]&&(_0x1a9d7c[_0x12108c(0x1a3)]=_0x2291be[_0x12108c(0x1d6)](uuidv4),_0x1a9d7c[_0x12108c(0x119)]=new Date(),this[_0x12108c(0x182)][_0x12108c(0x13e)][_0x12108c(0x190)](this['initializeBddStep'](_0x1a9d7c)));}[a4_0x14be34(0x130)](_0x3e34b5){const _0x5051ef=a4_0x14be34,_0x2bd1d2={'guncX':function(_0x571f6f,_0x2f2dfc){return _0x571f6f(_0x2f2dfc);},'PAeBd':_0x5051ef(0x1b0),'euatx':_0x5051ef(0x19e),'WAqSM':_0x5051ef(0x1cb),'YrMjT':function(_0x3cf4f6,_0x58114e){return _0x3cf4f6-_0x58114e;}};let _0x1901bf=this[_0x5051ef(0x182)][_0x5051ef(0x13e)][_0x5051ef(0x117)](_0x5a7e30=>_0x5a7e30['id']===_0x3e34b5[_0x5051ef(0x1a3)]);_0x2bd1d2['guncX'](isUndefined,_0x1901bf)&&(_0x1901bf=this[_0x5051ef(0x1da)](_0x3e34b5)),_0x1901bf[_0x5051ef(0x155)]=[_0x2bd1d2[_0x5051ef(0x11c)],_0x2bd1d2[_0x5051ef(0x145)]]['includes'](_0x3e34b5[_0x5051ef(0x1b9)])?_0x2bd1d2[_0x5051ef(0x1b8)]:_0x3e34b5[_0x5051ef(0x1b9)],_0x1901bf[_0x5051ef(0x161)]=new Date()['toISOString'](),_0x1901bf['duration']=_0x2bd1d2[_0x5051ef(0x18d)](Date[_0x5051ef(0x156)](),_0x3e34b5[_0x5051ef(0x119)][_0x5051ef(0xff)]()),_0x1901bf[_0x5051ef(0xf6)]=_0x3e34b5[_0x5051ef(0x138)]?_0x3e34b5[_0x5051ef(0x138)][_0x5051ef(0x11a)]:null;}}const a4_0x3dfb51={};a4_0x3dfb51[a4_0x14be34(0x151)]=O11yHelper,a4_0x3dfb51[a4_0x14be34(0x17c)]=STATE_PASSED,a4_0x3dfb51[a4_0x14be34(0x14e)]=STATE_FAILED,a4_0x3dfb51['TEST_EVENTS']=TEST_EVENTS,module[a4_0x14be34(0x14b)]=a4_0x3dfb51;function a4_0x8fc9(){const _0x130113=['driver','expanded','suites','bddStepFinish','9455440VppJPs','12jjEUJF','QRDov','util','../mocha/test-observability/mochaUtils','510AjVDfi','defineProperty','err','./helper.js','started','retryOf','sceTL','wIVdh','bddSteps','PathHelper','pHuTX','_beforeAll','xiOPa','AFowU','sendCBTInfo','euatx','xnYMh','includes','launch','constructor','ttQnt','exports','HOOK_RUN_STARTED','_afterAll','STATE_FAILED','text','join','O11yHelper','10081377fpEhtS','ikZZi','failed','result','now','APDtG','DVVQu','string','getRootParentFile','test_run_uuid','start','nOYHb','KtcyD','aytHb','uploadEventData','finished_at','rLBfA','yyfwx','test','rofle','IMGqk','failed\x20to\x20get\x20root\x20parent\x20file\x20','comment','cCBEB','type','TEST_RUN_FINISHED','KtVFS','uuid','fdeNX','../../helpers/test-observability/sessionHandler','LqSdV','toISOString','_afterEach','aaNxQ','appendTestItemLog','dirname','finished','NZUtL','event_type','KWjCw','wpvaW','stop','STATE_PASSED','title','backtrace','.git','AYoxg','pid','currentTest','YrcFS','GdJqG','TestRunSkipped','MolRE','KdaFN','rlrml','trakD','cwd','iVAEW','PLAYWRIGHT_HUB_URL','YrMjT','TEST_RUN_STARTED','eblBJ','push','bdtAW','yCiIx','accessibilityPlatform','PItLX','yEFZI','enabled','prototype','File\x20path\x20could\x20not\x20be\x20found','_testEnv','prefixTestPath','MUSOZ','markedStatus','dnSlQ','pending','location_prefix','parent','../../helpers/helper','hookAnalyticsId','stepAnalyticsId','match','split','BYnOR','toUpperCase','625866LUNkWe','apply','hook_run_uuid','wsEndpoint','Nvstb','yXvcq','6475386uFhMAn','client','success','tags','getHierarchy','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','skipped','../utils/constants','debug','getCBTInfo','WAqSM','status','LogCreated','__platformCaps','file','RjFWH','HyOBv','../../helpers/test-observability/constants','MgNeA','forEach','config','frameworkName','mapTestHooks','toString','IGuFD','Ceezn','file_name','browserstack','removeAllListeners','passed','gKUGE','captureEvent','UKXoZ','groups','CBTSessionCreated','hook','1540265qWHsce','rDqWm','../../helpers/logger','currentHook','FasLo','iOyJF','_paths','tbBUs','initializeBddStep','ctx','iqpWg','getHookType','hooks','ZsMur','NNeTS','errorsDetailed','getHooksForTest','then','aYQRJ','KHdEY','meta','logs','toLowerCase','connect','csMmo','getFailureType','getInstance','browserType.js','lVgwB','Failed\x20to\x20parse\x20wsendpoint\x20','../../helpers/test-observability/requestQueueHandler','failure','BrowserType','statSync','3|0|5|4|1|2','bs:addLog:','hook_run','testAnalyticsId','name','__cloud_provider___','getTime','_beforeEach','613767ZreeTV','sep','path','BRnbx','keyword','13966KQeQgM','oPegl','Udgkn','RfRfF','ShcwL','10kcoGrN','HookRunFinished','GevGR','\x20with\x20error\x20:\x20','obsBrowserTypeMockApplied','WXrPI','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bddStepStart','vqEtx','length','jGDsX','test_run','find','javascript','startedAt','message','relative','PAeBd','vlodv','Not\x20able\x20to\x20import\x20Browser','findGitConfig','body','fxPlR','Vtsnr','rOyNj','integrations','nQlcp','TestRunStarted','mouAn','fullTitle','QIfwf','NgCgG','setupBrowserDetails','../../helpers/test-observability/utils'];a4_0x8fc9=function(){return _0x130113;};return a4_0x8fc9();}
|
|
1
|
+
const a4_0xec7a87=a4_0x2f7e;(function(_0x1c674b,_0x23b33f){const _0x11742f=a4_0x2f7e,_0x2d1c65=_0x1c674b();while(!![]){try{const _0x49209a=-parseInt(_0x11742f(0x2d5))/0x1*(-parseInt(_0x11742f(0x224))/0x2)+parseInt(_0x11742f(0x27a))/0x3+-parseInt(_0x11742f(0x2cc))/0x4*(-parseInt(_0x11742f(0x228))/0x5)+-parseInt(_0x11742f(0x2b0))/0x6+-parseInt(_0x11742f(0x23a))/0x7*(parseInt(_0x11742f(0x2d2))/0x8)+-parseInt(_0x11742f(0x2b5))/0x9+parseInt(_0x11742f(0x27b))/0xa;if(_0x49209a===_0x23b33f)break;else _0x2d1c65['push'](_0x2d1c65['shift']());}catch(_0x2866e8){_0x2d1c65['push'](_0x2d1c65['shift']());}}}(a4_0x474f,0x97446));function a4_0x474f(){const _0x28b83c=['BPbcI','stringify','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','TEST_EVENTS','toISOString','./helper.js','_afterEach','wsEndpoint','prototype','includes','STATE_FAILED','hook_run','Failed\x20to\x20parse\x20wsendpoint\x20','../../helpers/testhub/utils.js','uploadEventData','iiNhR','NHXGS','1246182XbwAoT','passed','aHXoL','concat','testAnalyticsId','11043963FkejRB','jBUte','../../helpers/test-observability/sessionHandler','result','rnsVK','KJsdp','pending','errorsDetailed','connectOverCDP','../../helpers/test-observability/utils','ctx','push','find','HookRunStarted','XyJLE','AHnhl','markedStatus','jkFjg','hooks','uhhHo','pid','event_type','wYQNb','36LKGCkT','wqECZ','getRootParentFile','err','getCBTInfo','toLowerCase','568424snaTEu','fireEvent','codeceptjs','2sqTvZs','bZeGc','skipped','inspect','TestRunSkipped','appendTestItemLog','TestRunStarted','failed','HUIGM','exports','huqYs','status','setupBrowserDetails','vfQZz','HookRunFinished','client','currentHook','LogCreated','expanded','test_run','HOOK_RUN_STARTED','title','toUpperCase','TocDK','ckEgQ','obsBrowserTypeMockApplied','message','match','TEST_RUN_STARTED','tlkvC','suites','TEST_RUN_SKIPPED','retryOf','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','_beforeEach','YPCby','kQIhL','rngHX','driver','WzCKn','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','defineProperty','failed\x20to\x20get\x20root\x20parent\x20file\x20','rCJjm','../../helpers/helper','dirname','YSwnp','success','lpIwj','join','_afterAll','toString','pLrdW','initializeBddStep','statSync','bddSteps','yiaSp','nqKdG','nbPdO','yFcNM','findGitConfig','JlDIh','dprrN','mVncf','body','hookAnalyticsId','cdUQu','start','934186tzUvIb','bs:addLog:','finished','patchConsoleLogger','625880nHbXIs','test','sYXsP','_beforeAll','TEST_RUN_FINISHED','rcfOH','then','enabled','startedAt','rmrim','pDeaK','ukpKf','lEufJ','hUTiu','currentTest','started','removeAllListeners','xgNvh','49rFejkT','integrations','jBost','accessibilityPlatform','mRCti','tags','logs','jTqCH','kqvqJ','apply','MkqnN','stop','NDJWB','forEach','name','parent','flJjt','PathHelper','hook_type','Not\x20able\x20to\x20import\x20Browser','File\x20path\x20could\x20not\x20be\x20found','constructor','fullTitle','BrowserType','bind','SoJhB','_paths','fPqLS','launch','CODECEPT','split','bddStepFinish','IIRBJ','OmNWx','comment','type','failure_backtrace','.git','javascript','test_run_uuid','../mocha/test-observability/mochaUtils','replace','OSPqa','winstonLogger','fiBbF','Playwright','../playwright/sessionDetails','stepAnalyticsId','fGLHT','../../helpers/test-observability/requestQueueHandler','dEsnm','BvVvM','mapTestHooks','text','xgufQ','failure','failure_reason_expanded','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','UTgzi','path','failureData','../../helpers/test-observability/constants','\x20with\x20error\x20:\x20','getHierarchy','1281645vSRRjZ','637800GSmiFE','hook','finished_at','sakof','PLAYWRIGHT_HUB_URL','frameworkName','getHookType','feature','captureEvent','jPjhM','lib','RNTlX','duration','resetSkipTestHooks','HYHTL','backtrace','meta','length','__cloud_provider___','hpcZx','groups','getTime','_testEnv','debug','keyword','yZEJp','hook_run_uuid','getHooksForTest','QoRYR','KsCKe','now','getFailureType','LMMHw','file','HhtnI','file_name'];a4_0x474f=function(){return _0x28b83c;};return a4_0x474f();}const path=require(a4_0xec7a87(0x275)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xec7a87(0x20c)),testOpsHelper=require(a4_0xec7a87(0x2be)),{getTestEnv}=require(a4_0xec7a87(0x262)),{FRAMEWORKS}=require(a4_0xec7a87(0x277)),logger=require('../../helpers/logger')[a4_0xec7a87(0x265)],SessionHandler=require(a4_0xec7a87(0x2b7)),RequestQueueHandler=require(a4_0xec7a87(0x26b)),PlaywrightSessionDetails=require(a4_0xec7a87(0x268)),debug=testOpsHelper[a4_0xec7a87(0x292)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0xec7a87(0x2a4)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0xec7a87(0x2ac)),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x126b39={};function a4_0x2f7e(_0x264ce4,_0x139529){const _0x474f74=a4_0x474f();return a4_0x2f7e=function(_0x2f7e22,_0xc33465){_0x2f7e22=_0x2f7e22-0x1f3;let _0x1f66e7=_0x474f74[_0x2f7e22];return _0x1f66e7;},a4_0x2f7e(_0x264ce4,_0x139529);}a4_0x126b39[a4_0xec7a87(0x1fc)]=a4_0xec7a87(0x2db),a4_0x126b39[a4_0xec7a87(0x22c)]='TestRunFinished',a4_0x126b39[a4_0xec7a87(0x1ff)]=a4_0xec7a87(0x2d9),a4_0x126b39[a4_0xec7a87(0x1f4)]=a4_0xec7a87(0x2c2),a4_0x126b39['HOOK_RUN_FINISHED']=a4_0xec7a87(0x2e3);const TEST_EVENTS=a4_0x126b39,parseEvent=_0x48487b=>{const _0xc8d51a=a4_0xec7a87,_0x35d3c8={};_0x35d3c8[_0xc8d51a(0x26a)]=function(_0x564a75,_0x431904){return _0x564a75<_0x431904;},_0x35d3c8['vfQZz']=function(_0x4533ba,_0x2fff10){return _0x4533ba===_0x2fff10;},_0x35d3c8[_0xc8d51a(0x286)]=_0xc8d51a(0x229),_0x35d3c8[_0xc8d51a(0x253)]='hook',_0x35d3c8[_0xc8d51a(0x2cb)]=_0xc8d51a(0x2d7),_0x35d3c8[_0xc8d51a(0x255)]=_0xc8d51a(0x237),_0x35d3c8[_0xc8d51a(0x2af)]=_0xc8d51a(0x226);const _0x406b07=_0x35d3c8,_0x48574b=_0x48487b[_0xc8d51a(0x1fb)](/^(.*)Run(.*)$/);if(!_0x48574b)return null;if(_0x406b07['fGLHT'](_0x48574b[_0xc8d51a(0x28c)],0x3))return null;const _0x1ff83c=_0x48574b[0x1]['toLowerCase'](),_0x25c459=_0x48574b[0x2][_0xc8d51a(0x2d1)]();return{'test':_0x406b07['vfQZz'](_0x1ff83c,_0x406b07[_0xc8d51a(0x286)]),'hook':_0x406b07[_0xc8d51a(0x2e2)](_0x1ff83c,_0x406b07[_0xc8d51a(0x253)]),'skipped':_0x406b07[_0xc8d51a(0x2e2)](_0x25c459,_0x406b07[_0xc8d51a(0x2cb)]),'started':_0x406b07[_0xc8d51a(0x2e2)](_0x25c459,_0x406b07[_0xc8d51a(0x255)]),'finished':_0x406b07[_0xc8d51a(0x2e2)](_0x25c459,_0x406b07[_0xc8d51a(0x2af)])};},mockPWBrowserType=_0x2c1cab=>{const _0x42583c=a4_0xec7a87,_0x1c2c41={'HYHTL':function(_0xb98b87,_0x135f8a,_0x5a00d1){return _0xb98b87(_0x135f8a,_0x5a00d1);},'TocDK':'wsEndpoint','ZDCbx':function(_0x1b9cfb,_0x10296a){return _0x1b9cfb(_0x10296a);},'yFcNM':'browserstack','hUTiu':function(_0xfd0074,_0x14468a,_0x1e7c2f){return _0xfd0074(_0x14468a,_0x1e7c2f);},'jiOSj':function(_0x11e9a9,_0x3be535){return _0x11e9a9===_0x3be535;},'OmNWx':'string','HUIGM':_0x42583c(0x285),'pDeaK':_0x42583c(0x2e4),'dEsnm':'browserType.js','pXrJZ':function(_0xd1632c,_0x132833){return _0xd1632c(_0x132833);},'WzCKn':function(_0x44ed88,_0x248b91){return _0x44ed88(_0x248b91);},'iEmtU':_0x42583c(0x24d),'owuSt':'connect','kqvqJ':_0x42583c(0x256)},_0x6a574a=path[_0x42583c(0x211)](_0x1c2c41[_0x42583c(0x2dd)],_0x1c2c41[_0x42583c(0x232)],_0x1c2c41[_0x42583c(0x26c)]),_0x239a0b=_0x1c2c41['pXrJZ'](importFileFromPWCore,_0x6a574a);if(!_0x239a0b){_0x1c2c41[_0x42583c(0x207)](debug,_0x1c2c41['iEmtU']);return;}const _0x1f53a6=_0x239a0b[_0x42583c(0x251)],_0x28b388=_0x1f53a6[_0x42583c(0x2a7)];if(_0x28b388[_0x42583c(0x1f9)])return;const _0x1e9a34=_0x28b388['connect'];Object[_0x42583c(0x209)](_0x28b388,_0x1c2c41['owuSt'],{'get':function(){const _0xd20d78=_0x42583c,_0x1a911c={'yiaSp':function(_0x3c2c27,_0x3fc9a4){return _0x1c2c41['jiOSj'](_0x3c2c27,_0x3fc9a4);},'nqKdG':_0x1c2c41[_0xd20d78(0x25b)]};return async function _0x346d7d(_0x5ce301,_0x349550){const _0x58feb6=_0xd20d78,_0x2a8489=_0x1c2c41[_0x58feb6(0x289)](nestedKeyValue,_0x5ce301,[_0x1c2c41[_0x58feb6(0x1f7)]])||_0x5ce301;let _0x18e81c=null,_0x12550a=null;try{[_0x12550a,_0x18e81c]=_0x2a8489?_0x1c2c41['ZDCbx'](parseWSEndpoint,_0x2a8489):[null,null],global['__platformCaps']=_0x18e81c,_0x12550a[_0x58feb6(0x2a8)](_0x1c2c41[_0x58feb6(0x21b)])&&(global[_0x58feb6(0x28d)]=_0x1c2c41[_0x58feb6(0x21b)]);}catch(_0x4b03bc){logger[_0x58feb6(0x292)](_0x58feb6(0x2ab)+_0x2a8489+'\x20'+_0x4b03bc);}_0x1c2c41[_0x58feb6(0x235)](processAccessibilityCaps,_0x18e81c,_0x12550a);if(global[_0x58feb6(0x23d)]){const _0x4bffa3=await _0x28b388[_0x58feb6(0x2bd)][_0x58feb6(0x243)](this,[''+Constants[_0x58feb6(0x27f)]+_0x1c2c41['ZDCbx'](encodeURIComponent,JSON[_0x58feb6(0x2a0)](_0x18e81c))]);return PlaywrightSessionDetails[_0x58feb6(0x2e1)](_0x4bffa3,_0x2c1cab,_0x2a8489),_0x4bffa3;}return _0x1e9a34[_0x58feb6(0x243)](this,arguments)[_0x58feb6(0x22e)](_0x1124cf=>{const _0x259bd0=_0x58feb6;let _0x170d23=_0x5ce301[_0x259bd0(0x2a6)];return _0x1a911c[_0x259bd0(0x218)](typeof _0x5ce301,_0x1a911c[_0x259bd0(0x219)])&&(_0x170d23=_0x5ce301),PlaywrightSessionDetails[_0x259bd0(0x2e1)](_0x1124cf,_0x2c1cab,_0x170d23),_0x1124cf;});};}});const _0x31767d=_0x28b388[_0x42583c(0x256)];Object[_0x42583c(0x209)](_0x28b388,_0x1c2c41[_0x42583c(0x242)],{'get':function(){return async function _0x5116bb(){return _0x31767d['apply'](this,arguments)['then'](_0x32258c=>{const _0x109a44=a4_0x2f7e;return PlaywrightSessionDetails[_0x109a44(0x2e1)](_0x32258c,null),_0x32258c;});};}});};class O11yHelper{[a4_0xec7a87(0x236)]=null;[a4_0xec7a87(0x2e5)]=null;[a4_0xec7a87(0x22f)]=![];[a4_0xec7a87(0x280)]=![];constructor(_0x57b33d,_0x348511){const _0x2d9e81=a4_0xec7a87,_0x59d89b={'KJsdp':'5|0|2|3|4|1','PJkOA':function(_0x4ea07c,_0x26eba6){return _0x4ea07c===_0x26eba6;},'uhhHo':_0x2d9e81(0x267),'oKysz':function(_0x2b1190,_0x590861){return _0x2b1190(_0x590861);},'MkqnN':function(_0x23ead0){return _0x23ead0();}},_0x4c77d3=_0x59d89b[_0x2d9e81(0x2ba)][_0x2d9e81(0x258)]('|');let _0x3f03e5=0x0;while(!![]){switch(_0x4c77d3[_0x3f03e5++]){case'0':this['frameworkName']=_0x348511[_0x2d9e81(0x280)];continue;case'1':this[_0x2d9e81(0x206)]&&_0x59d89b['PJkOA'](this[_0x2d9e81(0x206)][_0x2d9e81(0x24f)]['name'],_0x59d89b[_0x2d9e81(0x2c8)])&&_0x59d89b['oKysz'](mockPWBrowserType,null);continue;case'2':this[_0x2d9e81(0x206)]=_0x57b33d;continue;case'3':this[_0x2d9e81(0x291)]=_0x59d89b[_0x2d9e81(0x244)](getTestEnv);continue;case'4':this[_0x2d9e81(0x254)]=new testOpsHelper[(_0x2d9e81(0x24b))]({'cwd':process['cwd']()},this['_testEnv']['location_prefix']);continue;case'5':this[_0x2d9e81(0x22f)]=_0x59d89b[_0x2d9e81(0x244)](shouldProcessEventForTesthub);continue;}break;}}[a4_0xec7a87(0x223)](){const _0x129657=a4_0xec7a87;if(!this[_0x129657(0x22f)])return;testOpsHelper[_0x129657(0x227)](),process[_0x129657(0x238)](_0x129657(0x225)+process[_0x129657(0x2c9)]),process['on']('bs:addLog:'+process[_0x129657(0x2c9)],this[_0x129657(0x2da)][_0x129657(0x252)](this));}async[a4_0xec7a87(0x245)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0xec7a87(0x2da)](_0x540ce1){const _0x2d1eff=a4_0xec7a87,_0x33991e={'cbFfR':_0x2d1eff(0x2e6),'yxKza':function(_0x325f88,_0x30d372){return _0x325f88(_0x30d372);}};try{this['currentHook']&&!this[_0x2d1eff(0x2e5)]['markedStatus']&&(_0x540ce1[_0x2d1eff(0x295)]=this[_0x2d1eff(0x2e5)][_0x2d1eff(0x221)]);!_0x540ce1[_0x2d1eff(0x295)]&&this[_0x2d1eff(0x236)]&&!this[_0x2d1eff(0x236)]['markedStatus']&&(_0x540ce1[_0x2d1eff(0x261)]=this[_0x2d1eff(0x236)]['testAnalyticsId']);if(_0x540ce1[_0x2d1eff(0x295)]||_0x540ce1['test_run_uuid']){const _0x455e43={};_0x455e43[_0x2d1eff(0x2ca)]=_0x33991e['cbFfR'],_0x455e43[_0x2d1eff(0x240)]=[_0x540ce1],await SessionHandler[_0x2d1eff(0x2ad)](_0x455e43);}}catch(_0x1ab7b8){_0x33991e['yxKza'](debug,_0x2d1eff(0x201)+_0x1ab7b8);}}async['sendCBTInfo'](_0x194e7a){const _0x46bb95=a4_0xec7a87,_0x222137={'rngHX':'CBTSessionCreated','huqYs':function(_0x3ad398,_0x55a45e){return _0x3ad398(_0x55a45e);}};if(!this[_0x46bb95(0x22f)])return;const _0x177ead=this['getCBTInfo'](this[_0x46bb95(0x206)]);try{const _0x3e1915={};_0x3e1915['uuid']=_0x194e7a,_0x3e1915[_0x46bb95(0x23b)]=_0x177ead;const _0x317455=_0x3e1915,_0x3e30d5={};_0x3e30d5[_0x46bb95(0x2ca)]=_0x222137[_0x46bb95(0x205)],_0x3e30d5[_0x46bb95(0x1f3)]=_0x317455,await SessionHandler[_0x46bb95(0x2ad)](_0x3e30d5);}catch(_0x45cd41){_0x222137[_0x46bb95(0x2df)](debug,_0x46bb95(0x2a1)+_0x45cd41);}}[a4_0xec7a87(0x2d0)](_0x2afa1b){const _0x1ff694={'nqmej':function(_0x4d440b,_0x4a1068){return _0x4d440b(_0x4a1068);}};return _0x1ff694['nqmej'](fetchPlatformDetails,_0x2afa1b);}['resetSkipTestHooks']=_0x13e0ea=>{const _0x42c3dd=a4_0xec7a87,_0x5db66a={};_0x5db66a['xgNvh']='_beforeEach',_0x5db66a[_0x42c3dd(0x21f)]='_afterEach';const _0xff0e94=_0x5db66a;if(!_0x13e0ea||!_0x13e0ea['parent'])return;[_0xff0e94[_0x42c3dd(0x239)],_0xff0e94['mVncf']][_0x42c3dd(0x247)](_0x384945=>{const _0x3367e2=_0x42c3dd,_0x5ac295=_0x13e0ea[_0x3367e2(0x249)][_0x384945];_0x5ac295['forEach'](_0x60686d=>{const _0x21414a=_0x3367e2;_0x60686d['hookAnalyticsId']&&(_0x60686d[_0x21414a(0x221)]=null);});});};[a4_0xec7a87(0x26e)](_0x3f67a7){const _0x4b7025=a4_0xec7a87,_0x5a0f12={'iiNhR':_0x4b7025(0x2d4),'IIRBJ':function(_0x2f1e3f){return _0x2f1e3f();},'NDJWB':function(_0x4fbef9,_0x396f41){return _0x4fbef9===_0x396f41;},'tlkvC':_0x4b7025(0x2a5),'hHQEf':_0x4b7025(0x22b),'cdUQu':_0x4b7025(0x212),'XyJLE':_0x4b7025(0x202)};if(!_0x3f67a7||!_0x3f67a7[_0x4b7025(0x249)])return;[_0x5a0f12['hHQEf'],_0x5a0f12[_0x4b7025(0x222)],_0x5a0f12[_0x4b7025(0x2c3)],_0x5a0f12[_0x4b7025(0x1fd)]]['forEach'](_0x1e0b7c=>{const _0x57521d=_0x4b7025,_0x5f5d2a={'BPbcI':_0x5a0f12[_0x57521d(0x2ae)],'mRCti':function(_0x37419e){const _0x8eb40a=_0x57521d;return _0x5a0f12[_0x8eb40a(0x25a)](_0x37419e);},'wkUgm':function(_0x70ce91,_0x4d3581){const _0x1cc1d8=_0x57521d;return _0x5a0f12[_0x1cc1d8(0x246)](_0x70ce91,_0x4d3581);},'dZBGB':_0x5a0f12[_0x57521d(0x1fd)]},_0x250fb8=_0x3f67a7[_0x57521d(0x249)][_0x1e0b7c]||[];_0x250fb8['forEach'](_0x1861cc=>{const _0x278cb2=_0x57521d;if(_0x1861cc[_0x278cb2(0x1f5)][_0x278cb2(0x2a8)](_0x5f5d2a[_0x278cb2(0x29f)]))return;if(!_0x1861cc[_0x278cb2(0x221)])_0x1861cc[_0x278cb2(0x221)]=_0x5f5d2a[_0x278cb2(0x23e)](uuidv4);else _0x1861cc[_0x278cb2(0x2c5)]&&_0x5f5d2a['wkUgm'](_0x1e0b7c,_0x5f5d2a['dZBGB'])&&(_0x1861cc[_0x278cb2(0x221)]=_0x5f5d2a[_0x278cb2(0x23e)](uuidv4),delete _0x1861cc['markedStatus']);});}),this['mapTestHooks'](_0x3f67a7['parent']);}[a4_0xec7a87(0x296)](_0x56939a){const _0x52069e=a4_0xec7a87,_0x52bac5={};_0x52bac5[_0x52069e(0x21a)]=_0x52069e(0x22b),_0x52bac5[_0x52069e(0x2cd)]=_0x52069e(0x212),_0x52bac5['HhtnI']='_beforeEach',_0x52bac5['VGsgr']='_afterEach';const _0x4da1e5=_0x52bac5;if(!_0x56939a||!_0x56939a[_0x52069e(0x249)])return[];const _0x53fbda=[];return[_0x4da1e5[_0x52069e(0x21a)],_0x4da1e5[_0x52069e(0x2cd)],_0x4da1e5[_0x52069e(0x29d)],_0x4da1e5['VGsgr']][_0x52069e(0x247)](_0x23fd82=>{const _0xcb0aec=_0x52069e,_0x2388f3=_0x56939a[_0xcb0aec(0x249)][_0x23fd82]||[];_0x2388f3['forEach'](_0x561639=>{const _0x468b29=_0xcb0aec;_0x561639[_0x468b29(0x221)]&&_0x53fbda[_0x468b29(0x2c0)](_0x561639[_0x468b29(0x221)]);});}),[][_0x52069e(0x2b3)](_0x53fbda,this['getHooksForTest'](_0x56939a[_0x52069e(0x249)]));}[a4_0xec7a87(0x281)](_0x314771){const _0x42f850=a4_0xec7a87,_0x1951d2=/^"(?<hook>.*)" hook:.*$/,_0x1f2952=_0x314771['title'],_0x16c154=_0x1f2952['match'](_0x1951d2);if(_0x16c154&&_0x16c154['groups'])return _0x16c154[_0x42f850(0x28f)]['hook'][_0x42f850(0x1f6)]()[_0x42f850(0x263)]('\x20','_');return null;}[a4_0xec7a87(0x21c)](_0x5658bd){const _0x543808=a4_0xec7a87,_0x3eeb71={};_0x3eeb71['jBost']=function(_0x2d098b,_0x147169){return _0x2d098b===_0x147169;},_0x3eeb71[_0x543808(0x20b)]=function(_0x42220e,_0x13bcfb){return _0x42220e===_0x13bcfb;},_0x3eeb71[_0x543808(0x231)]=function(_0x3fbcce,_0x2d5339){return _0x3fbcce===_0x2d5339;},_0x3eeb71[_0x543808(0x27e)]=_0x543808(0x25f),_0x3eeb71[_0x543808(0x234)]='config';const _0x11b4a5=_0x3eeb71,_0x978681=path['sep'];if(_0x11b4a5[_0x543808(0x23c)](_0x5658bd,null)||_0x11b4a5['rCJjm'](_0x5658bd,'')||_0x11b4a5[_0x543808(0x231)](_0x5658bd,_0x978681)||_0x11b4a5[_0x543808(0x23c)](_0x5658bd,path[_0x543808(0x20d)](_0x5658bd)))return null;try{return fs[_0x543808(0x216)](path[_0x543808(0x211)](_0x5658bd,_0x11b4a5[_0x543808(0x27e)],_0x11b4a5[_0x543808(0x234)])),_0x5658bd;}catch(_0x338e79){const _0xb14c94=path[_0x543808(0x20d)](_0x5658bd);return this[_0x543808(0x21c)](_0xb14c94);}}[a4_0xec7a87(0x2ce)](_0x49a9ca){const _0x1c03f7=a4_0xec7a87,_0x1b6888={};_0x1b6888['sYXsP']=function(_0x4215e3,_0x4a6dbb){return _0x4215e3>_0x4a6dbb;};const _0x539e8e=_0x1b6888;if(_0x49a9ca[_0x1c03f7(0x29c)])return _0x49a9ca[_0x1c03f7(0x29c)];if(_0x49a9ca[_0x1c03f7(0x2bf)]){const _0x1268a6=_0x49a9ca['ctx'][_0x1c03f7(0x236)]?this[_0x1c03f7(0x2ce)](_0x49a9ca['ctx'][_0x1c03f7(0x236)]):null;if(_0x1268a6)return _0x1268a6;}if(_0x49a9ca[_0x1c03f7(0x249)]){const _0xde7b05=this[_0x1c03f7(0x2ce)](_0x49a9ca[_0x1c03f7(0x249)])||(_0x49a9ca[_0x1c03f7(0x249)][_0x1c03f7(0x2bf)]&&_0x49a9ca['parent'][_0x1c03f7(0x2bf)][_0x1c03f7(0x236)]?this[_0x1c03f7(0x2ce)](_0x49a9ca[_0x1c03f7(0x249)][_0x1c03f7(0x2bf)][_0x1c03f7(0x236)]):null);if(_0xde7b05)return _0xde7b05;_0x49a9ca['parent']['suites']&&_0x539e8e[_0x1c03f7(0x22a)](_0x49a9ca[_0x1c03f7(0x249)][_0x1c03f7(0x1fe)][_0x1c03f7(0x28c)],0x0)&&_0x49a9ca['parent'][_0x1c03f7(0x1fe)][_0x1c03f7(0x247)](_0x2f36ce=>{const _0x4a60a3=_0x1c03f7,_0xd7b903=_0x2f36ce['ctx']?this[_0x4a60a3(0x2ce)](_0x2f36ce[_0x4a60a3(0x2bf)]):null;if(_0xd7b903)return _0xd7b903;});}return null;}[a4_0xec7a87(0x279)](_0x3eabf4){const _0x545743=a4_0xec7a87,_0x1010f0={};_0x1010f0[_0x545743(0x2b9)]=function(_0x5b78b4,_0x1a014a){return _0x5b78b4!==_0x1a014a;};const _0x43567f=_0x1010f0,_0x2af9f3=[];if(_0x3eabf4&&_0x3eabf4[_0x545743(0x249)]){let _0x2a0735=_0x3eabf4[_0x545743(0x249)];while(_0x2a0735&&_0x43567f['rnsVK'](_0x2a0735['title'],'')){_0x2af9f3['push'](_0x2a0735['title']),_0x2a0735=_0x2a0735[_0x545743(0x249)];}}return _0x2af9f3;}[a4_0xec7a87(0x283)](_0x434d54,_0x5c6bf6,_0x422316=undefined){const _0x45a120=a4_0xec7a87,_0x4455ed={'jPjhM':function(_0x4d8a7b,_0x1939d9){return _0x4d8a7b(_0x1939d9);},'UTgzi':function(_0x53051a){return _0x53051a();},'lpIwj':function(_0x424ad8){return _0x424ad8();},'fFOgx':'util','fiBbF':_0x45a120(0x2cf),'KsCKe':function(_0x5a4039,_0x1c8211){return _0x5a4039!==_0x1c8211;},'kQIhL':_0x45a120(0x24e),'flJjt':_0x45a120(0x2bb),'BvVvM':_0x45a120(0x2dc),'YSwnp':_0x45a120(0x2b1),'jkFjg':_0x45a120(0x2d7),'jBUte':_0x45a120(0x260),'aHXoL':function(_0x1efe7a,_0x34b1c0){return _0x1efe7a-_0x34b1c0;},'ukpKf':function(_0x318b63,_0x3f8b89,_0xf5a2b6,_0x4b28f0,_0x598b20){return _0x318b63(_0x3f8b89,_0xf5a2b6,_0x4b28f0,_0x598b20);},'dprrN':_0x45a120(0x23b),'QoRYR':_0x45a120(0x28b),'pLrdW':'failure','bZeGc':_0x45a120(0x25e),'ckEgQ':_0x45a120(0x28a),'kjtyE':_0x45a120(0x272),'jTqCH':_0x45a120(0x2e7),'XpmwK':function(_0x17c83f,_0x4988fb){return _0x17c83f===_0x4988fb;},'AHnhl':_0x45a120(0x2aa),'OSPqa':'test_run'};if(!this['enabled'])return;try{if(_0x5c6bf6['fn']&&_0x5c6bf6['fn'][_0x45a120(0x213)]()[_0x45a120(0x1fb)](/browserstack internal helper hook/))return;const _0x1e0944=_0x4455ed[_0x45a120(0x284)](parseEvent,_0x434d54);if(!_0x1e0944)return;if(_0x1e0944[_0x45a120(0x229)]){this[_0x45a120(0x236)]=_0x5c6bf6,this[_0x45a120(0x2e5)]=null;if(_0x1e0944[_0x45a120(0x237)]||_0x1e0944[_0x45a120(0x2d7)]){_0x5c6bf6[_0x45a120(0x230)]=new Date(),_0x5c6bf6[_0x45a120(0x2c5)]=![];if(!_0x5c6bf6[_0x45a120(0x2b4)])_0x5c6bf6['testAnalyticsId']=_0x4455ed['UTgzi'](uuidv4);else _0x5c6bf6[_0x45a120(0x2c5)]&&(!_0x5c6bf6[_0x45a120(0x200)]&&(_0x5c6bf6[_0x45a120(0x200)]=_0x5c6bf6['testAnalyticsId']),_0x5c6bf6[_0x45a120(0x2b4)]=_0x4455ed[_0x45a120(0x274)](uuidv4));}}else{if(_0x1e0944['hook']){this[_0x45a120(0x2e5)]=_0x5c6bf6;if(_0x1e0944['started']){_0x5c6bf6[_0x45a120(0x230)]=new Date(),_0x5c6bf6[_0x45a120(0x2c5)]=![];if(!_0x5c6bf6[_0x45a120(0x221)])_0x5c6bf6[_0x45a120(0x221)]=_0x4455ed[_0x45a120(0x210)](uuidv4);else _0x5c6bf6['hookAnalyticsId']&&_0x5c6bf6[_0x45a120(0x2c5)]&&(_0x5c6bf6[_0x45a120(0x221)]=_0x4455ed[_0x45a120(0x274)](uuidv4));}}}if(_0x1e0944[_0x45a120(0x226)]&&_0x5c6bf6[_0x45a120(0x2c5)])return;let _0x3b44c6;try{_0x3b44c6=this[_0x45a120(0x2ce)](_0x5c6bf6);}catch(_0x1348a2){logger['debug'](_0x45a120(0x20a)+_0x1348a2),_0x3b44c6=null;}const _0x4fe2b1=_0x4455ed[_0x45a120(0x284)](require,_0x4455ed['fFOgx']);let _0x31cab8=[];_0x422316&&(_0x31cab8=[_0x422316,_0x4455ed[_0x45a120(0x266)]]);const _0x161397=_0x4455ed[_0x45a120(0x298)](_0x5c6bf6['errorsDetailed'],undefined)?_0x4fe2b1[_0x45a120(0x2d8)](_0x5c6bf6[_0x45a120(0x2bc)][0x0]):_0x4455ed[_0x45a120(0x298)](_0x422316,undefined)?_0x422316[_0x45a120(0x213)]():undefined,_0x2f8c63=_0x3b44c6?this[_0x45a120(0x21c)](_0x3b44c6):null,_0x4cb1d3=_0x3b44c6?this[_0x45a120(0x254)]['prefixTestPath'](this[_0x45a120(0x2ce)](_0x5c6bf6)):_0x4455ed[_0x45a120(0x204)];let _0x53714c=_0x4455ed[_0x45a120(0x24a)];const _0x4d96c4=!_0x1e0944[_0x45a120(0x237)]?new Date()[_0x45a120(0x2a3)]():null;if(_0x1e0944[_0x45a120(0x226)])_0x53714c=_0x422316?_0x4455ed[_0x45a120(0x26d)]:_0x4455ed[_0x45a120(0x20e)],_0x5c6bf6[_0x45a120(0x2c5)]=!![];else _0x1e0944['skipped']&&(_0x53714c=_0x4455ed[_0x45a120(0x2c6)],_0x5c6bf6[_0x45a120(0x2c5)]=!![]);const _0x47f3ed={'framework':this[_0x45a120(0x280)],'uuid':_0x5c6bf6[_0x45a120(0x2b4)]||_0x5c6bf6[_0x45a120(0x221)],'name':_0x5c6bf6[_0x45a120(0x1f5)],'body':{'lang':_0x4455ed[_0x45a120(0x2b6)],'code':_0x5c6bf6[_0x45a120(0x220)][_0x45a120(0x213)]()},'type':_0x5c6bf6[_0x45a120(0x25d)],'scope':_0x5c6bf6[_0x45a120(0x250)](),'scopes':this[_0x45a120(0x279)](_0x5c6bf6),'file_name':_0x4cb1d3,'vc_filepath':_0x2f8c63?path['relative'](_0x2f8c63,_0x3b44c6):null,'location':_0x4cb1d3,'result':_0x53714c,'failure_reason':_0x161397,'duration_in_ms':_0x5c6bf6[_0x45a120(0x287)]||(_0x1e0944[_0x45a120(0x226)]||_0x1e0944['skipped'])?_0x4455ed[_0x45a120(0x2b2)](Date['now'](),new Date(_0x5c6bf6[_0x45a120(0x230)])['getTime']()):null,'started_at':new Date(_0x5c6bf6[_0x45a120(0x230)])[_0x45a120(0x2a3)](),'finished_at':_0x4d96c4,'failure':testOpsHelper[_0x45a120(0x276)]['apply'](null,_0x31cab8),'failure_type':!_0x161397?null:testOpsHelper[_0x45a120(0x29a)](_0x161397),'retry_of':_0x5c6bf6[_0x45a120(0x200)]||null,'tags':_0x5c6bf6[_0x45a120(0x23f)]||[],'customRerunParam':{'rerun_name':_0x5c6bf6['fullTitle']()}};_0x4455ed[_0x45a120(0x233)](appendTesthubParams,_0x47f3ed,_0x434d54,_0x5c6bf6,FRAMEWORKS[_0x45a120(0x257)]);if(_0x1e0944[_0x45a120(0x27c)])[_0x47f3ed[_0x45a120(0x24c)],_0x47f3ed[_0x45a120(0x248)]]=[this[_0x45a120(0x281)](_0x5c6bf6),_0x5c6bf6[_0x45a120(0x2bf)]['test'][_0x45a120(0x1f5)]],_0x1e0944[_0x45a120(0x226)]?_0x4455ed['KsCKe'](_0x47f3ed[_0x45a120(0x2b8)],_0x4455ed[_0x45a120(0x26d)])&&(_0x47f3ed['result']=_0x4455ed[_0x45a120(0x20e)]):_0x47f3ed[_0x45a120(0x220)]={};else _0x1e0944[_0x45a120(0x229)]&&(this[_0x45a120(0x26e)](_0x5c6bf6),_0x1e0944['skipped']&&this[_0x45a120(0x288)](_0x5c6bf6),(_0x1e0944['finished']||_0x1e0944[_0x45a120(0x2d7)])&&(_0x47f3ed[_0x45a120(0x2c7)]=this[_0x45a120(0x296)](_0x5c6bf6)));this[_0x45a120(0x206)]&&(_0x1e0944['started']||_0x1e0944[_0x45a120(0x2d7)])&&(_0x47f3ed[_0x4455ed[_0x45a120(0x21e)]]=this[_0x45a120(0x2d0)](this[_0x45a120(0x206)]));_0x1e0944[_0x45a120(0x229)]&&_0x1e0944['finished']&&_0x5c6bf6[_0x45a120(0x217)]&&(_0x47f3ed[_0x4455ed[_0x45a120(0x297)]]={'feature':{'name':_0x5c6bf6[_0x45a120(0x249)][_0x45a120(0x282)][_0x45a120(0x248)],'path':_0x47f3ed[_0x45a120(0x29e)],'description':_0x5c6bf6[_0x45a120(0x249)][_0x45a120(0x25c)]},'scenario':{'name':_0x5c6bf6[_0x45a120(0x1f5)]},'steps':_0x5c6bf6['bddSteps']});const _0xecfb9e=_0x47f3ed[_0x4455ed[_0x45a120(0x214)]][0x0];_0xecfb9e&&(_0x47f3ed[_0x4455ed[_0x45a120(0x2d6)]]=_0xecfb9e[_0x4455ed[_0x45a120(0x1f8)]],_0x47f3ed[_0x4455ed['kjtyE']]=_0xecfb9e[_0x4455ed[_0x45a120(0x241)]]);if(_0x5c6bf6['bddSteps'])for(const _0x1e7af0 of _0x5c6bf6[_0x45a120(0x217)]){!_0x1e7af0[_0x45a120(0x27d)]&&(_0x1e7af0[_0x45a120(0x27d)]=new Date()[_0x45a120(0x2a3)](),_0x4455ed['XpmwK'](_0x1e7af0[_0x45a120(0x2b8)],_0x4455ed['flJjt'])&&(_0xecfb9e?(_0x1e7af0['result']=_0x4455ed['BvVvM'],_0x1e7af0['failure']=_0xecfb9e[_0x4455ed[_0x45a120(0x1f8)]][0x0]):_0x1e7af0[_0x45a120(0x2b8)]=_0x4455ed[_0x45a120(0x20e)]));}const _0x298a1d={};_0x298a1d['event_type']=_0x1e0944['skipped']?TEST_EVENTS[_0x45a120(0x22c)]:_0x434d54;const _0x17040b=_0x298a1d;return _0x1e0944[_0x45a120(0x27c)]?_0x17040b[_0x4455ed[_0x45a120(0x2c4)]]=_0x47f3ed:_0x17040b[_0x4455ed[_0x45a120(0x264)]]=_0x47f3ed,_0x17040b;}catch(_0x1b06b2){logger['debug'](_0x45a120(0x208)+_0x434d54+_0x45a120(0x278)+_0x1b06b2);}}async[a4_0xec7a87(0x2d3)](_0x58b217,_0x263bf6){const _0x51752f=a4_0xec7a87;if(!this[_0x51752f(0x22f)]||!_0x263bf6||!_0x58b217)return![];try{return await SessionHandler[_0x51752f(0x2ad)](_0x263bf6);}catch(_0xb626b1){logger['debug'](_0x51752f(0x273)+_0x58b217+_0x51752f(0x278)+_0xb626b1);}}[a4_0xec7a87(0x215)](_0x244498){const _0x43170a=a4_0xec7a87,_0x30c2f5={};_0x30c2f5[_0x43170a(0x29b)]=_0x43170a(0x2bb);const _0x59d20a=_0x30c2f5;return{'id':_0x244498['stepAnalyticsId'],'text':_0x244498[_0x43170a(0x26f)],'keyword':_0x244498[_0x43170a(0x293)],'started_at':_0x244498[_0x43170a(0x230)][_0x43170a(0x2a3)](),'result':_0x59d20a[_0x43170a(0x29b)]};}['bddStepStart'](_0x361711){const _0x315d38=a4_0xec7a87,_0x1279e3={'hpcZx':function(_0x50113b){return _0x50113b();}};!this[_0x315d38(0x236)][_0x315d38(0x217)]&&(this[_0x315d38(0x236)]['bddSteps']=[]),!_0x361711[_0x315d38(0x269)]&&(_0x361711[_0x315d38(0x269)]=_0x1279e3[_0x315d38(0x28e)](uuidv4),_0x361711['startedAt']=new Date(),this['currentTest'][_0x315d38(0x217)][_0x315d38(0x2c0)](this[_0x315d38(0x215)](_0x361711)));}[a4_0xec7a87(0x259)](_0x2b8748){const _0x2905b7=a4_0xec7a87,_0x1cf2f2={'JlDIh':function(_0x47bdf5,_0x2c3843){return _0x47bdf5(_0x2c3843);},'YPCby':_0x2905b7(0x20f),'rcfOH':_0x2905b7(0x2bb),'xgufQ':'passed','yZEJp':function(_0x1323b8,_0x412107){return _0x1323b8-_0x412107;}};let _0x3f140f=this[_0x2905b7(0x236)][_0x2905b7(0x217)][_0x2905b7(0x2c1)](_0x5a8981=>_0x5a8981['id']===_0x2b8748['stepAnalyticsId']);_0x1cf2f2[_0x2905b7(0x21d)](isUndefined,_0x3f140f)&&(_0x3f140f=this[_0x2905b7(0x215)](_0x2b8748)),_0x3f140f[_0x2905b7(0x2b8)]=[_0x1cf2f2[_0x2905b7(0x203)],_0x1cf2f2[_0x2905b7(0x22d)]][_0x2905b7(0x2a8)](_0x2b8748[_0x2905b7(0x2e0)])?_0x1cf2f2[_0x2905b7(0x270)]:_0x2b8748[_0x2905b7(0x2e0)],_0x3f140f[_0x2905b7(0x27d)]=new Date()[_0x2905b7(0x2a3)](),_0x3f140f[_0x2905b7(0x287)]=_0x1cf2f2[_0x2905b7(0x294)](Date[_0x2905b7(0x299)](),_0x2b8748[_0x2905b7(0x230)][_0x2905b7(0x290)]()),_0x3f140f[_0x2905b7(0x271)]=_0x2b8748[_0x2905b7(0x2cf)]?_0x2b8748[_0x2905b7(0x2cf)][_0x2905b7(0x1fa)]:null;}}const a4_0x110cd2={};a4_0x110cd2['O11yHelper']=O11yHelper,a4_0x110cd2['STATE_PASSED']=STATE_PASSED,a4_0x110cd2[a4_0xec7a87(0x2a9)]=STATE_FAILED,a4_0x110cd2[a4_0xec7a87(0x2a2)]=TEST_EVENTS,module[a4_0xec7a87(0x2de)]=a4_0x110cd2;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x3f4ec2=a5_0x5cc7;(function(_0x285214,_0x1e083b){const _0xecac34=a5_0x5cc7,_0x5aa1bb=_0x285214();while(!![]){try{const _0x3a67f3=parseInt(_0xecac34(0xc8))/0x1+parseInt(_0xecac34(0xb4))/0x2+parseInt(_0xecac34(0xd5))/0x3+-parseInt(_0xecac34(0xa5))/0x4*(-parseInt(_0xecac34(0xdb))/0x5)+parseInt(_0xecac34(0xec))/0x6+parseInt(_0xecac34(0xde))/0x7+-parseInt(_0xecac34(0x82))/0x8;if(_0x3a67f3===_0x1e083b)break;else _0x5aa1bb['push'](_0x5aa1bb['shift']());}catch(_0x27813d){_0x5aa1bb['push'](_0x5aa1bb['shift']());}}}(a5_0x349e,0x89352));function a5_0x349e(){const _0x2be6c6=['config','\x20steps','removeDir','turboScaleUrl','util','stop','****\x20RESULTS\x20****','nSWWV','lDuyk','join','prepareCapabilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','1426812TgFFiy','debug','stepsAmbiguous','forEach','../../helpers/BrowserStackSetup','oBvOB','testObservability','getErrorMessageFromResults','log','isUndefined','accessibilityOptions','31485064TQxNhg','start','CUCUMBER','uLYAq','length','\x20skipped','GrpBC','bold','winstonLogger','DSuBx','stepsPending','cyan','vQHOF','stepsUnknown','useW3C','launchBuild','iEABu','hXEkx','../../helpers/utilities','yellow','getUserWorkerCount','MnjLf','mergeOutputFiles','splice','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','IfSbC','getTCGConfigFilePaths','Pnfsb','../../helpers/testhub/testhubHandler','uXaGl','\x20scenarios','end','path','createDir','../utils/constants','260VmMeBB','bgWhite','push','sPGIL','Removing\x20tmp\x20directory\x20created\x20for\x20reports','FjzBA','FRAMEWORKS','skipSessionStatus','errorMessage','zERRq','exitCode','skipSessionName','stepsSkipped','dbKHH','testContextOptions','1794904yoKDFR','\x20passed','format','SDK_SETUP','EmDrj','processSuccess','stringify','setUserConfigPath','OPYuj','parallelsPerPlatform','env','\x20undefined','SIIRW','green','twghK','HwCOY','setupTCGAuth','mxpUc','tmp','amFAA','910897RkVJkf','trmSr','../../helpers/performance/constants','SDK_CLEANUP','stepsUndefined','scenariosFailed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','qNAzq','../../helpers/logger','printBuildLink','\x20failed','cEjPm','exports','2817627drfLDn','\x20ambiguous','\x20pending','red','logLevel','framework','71475jLctiK','cwd','then','4081700JNogOn','iabYD'];a5_0x349e=function(){return _0x2be6c6;};return a5_0x349e();}function a5_0x5cc7(_0x2793fd,_0x52d6f4){const _0x349ea8=a5_0x349e();return a5_0x5cc7=function(_0x5cc710,_0x3be28d){_0x5cc710=_0x5cc710-0x78;let _0x9e4f52=_0x349ea8[_0x5cc710];return _0x9e4f52;},a5_0x5cc7(_0x2793fd,_0x52d6f4);}const fs=require('fs'),path=require(a5_0x3f4ec2(0xa2)),util=require(a5_0x3f4ec2(0xe4)),logger=require(a5_0x3f4ec2(0xd0))[a5_0x3f4ec2(0x8a)],{default:BrowserStackSetup}=require(a5_0x3f4ec2(0x7b)),helper=require('../../helpers/helper'),utilities=require(a5_0x3f4ec2(0x94)),constants=require(a5_0x3f4ec2(0xa4)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x3f4ec2(0x9e)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x3f4ec2(0xca))['EVENTS'];function printCucumberStats(_0x284521){const _0x300cc7=a5_0x3f4ec2,_0x18010c={};_0x18010c[_0x300cc7(0x88)]=function(_0x237c1f,_0x5eef1e){return _0x237c1f>_0x5eef1e;},_0x18010c[_0x300cc7(0xb2)]=function(_0xfef372,_0x51d588){return _0xfef372-_0x51d588;},_0x18010c[_0x300cc7(0x97)]=function(_0xdfdce4,_0x35cff7){return _0xdfdce4-_0x35cff7;},_0x18010c[_0x300cc7(0x9b)]=function(_0x33fd4e,_0x47c853){return _0x33fd4e>_0x47c853;},_0x18010c[_0x300cc7(0xc5)]=function(_0x2a7b16,_0x1d0084){return _0x2a7b16>_0x1d0084;},_0x18010c[_0x300cc7(0xc7)]=function(_0x952edd,_0x10b5f5){return _0x952edd>_0x10b5f5;},_0x18010c['Pnfsb']=function(_0x3fa750,_0x5480fc){return _0x3fa750>_0x5480fc;},_0x18010c['OPYuj']=function(_0x3db941,_0x43f120){return _0x3db941>_0x43f120;},_0x18010c['twghK']=function(_0x56b656,_0x9f3406){return _0x56b656>_0x9f3406;},_0x18010c[_0x300cc7(0xe7)]=function(_0xe472fa,_0x245c97){return _0xe472fa>_0x245c97;},_0x18010c[_0x300cc7(0xa8)]=function(_0x50256c,_0x1d101e){return _0x50256c>_0x1d101e;},_0x18010c[_0x300cc7(0xcf)]=function(_0x436374,_0x7c7161){return _0x436374+_0x7c7161;},_0x18010c[_0x300cc7(0x7c)]=function(_0x55a456,_0x357732){return _0x55a456+_0x357732;},_0x18010c[_0x300cc7(0xc0)]=function(_0xa77093,_0x4d4cac){return _0xa77093+_0x4d4cac;},_0x18010c[_0x300cc7(0x9f)]=function(_0x3ac688,_0x5ea21d){return _0x3ac688+_0x5ea21d;},_0x18010c[_0x300cc7(0xc3)]=function(_0x2b1b4c,_0x2ff4ee){return _0x2b1b4c===_0x2ff4ee;},_0x18010c['hXEkx']=_0x300cc7(0xe6);const _0x591a2a=_0x18010c;let _0xbb26a0=0x0;if(_0x591a2a[_0x300cc7(0xc3)](_0x284521['length'],0x0))return _0xbb26a0;return console['log'](chalk[_0x300cc7(0x89)][_0x300cc7(0xa6)](_0x591a2a[_0x300cc7(0x93)])),_0x284521[_0x300cc7(0x7a)](_0x144417=>{const _0x419045=_0x300cc7,_0x7964b0=_0x144417[0x0],_0x5485e9=_0x144417[0x1];console[_0x419045(0x7f)]('\x0a'+chalk[_0x419045(0x89)][_0x419045(0x95)](''+helper['getPlatformName'](_0x7964b0)));const _0x3e7e38=_0x5485e9['scenarios'],_0x4897d2=_0x5485e9['steps'],_0x1af899=_0x5485e9[_0x419045(0xcd)],_0x1ee8fa=_0x5485e9['stepsFailed'],_0x4bdf8f=_0x5485e9['stepsPassed'],_0x4abc92=_0x5485e9[_0x419045(0xb1)],_0x32ca66=_0x5485e9[_0x419045(0x8c)],_0xe7d8a9=_0x5485e9[_0x419045(0xcc)],_0x391a6c=_0x5485e9[_0x419045(0x8f)],_0x3cf2a9=_0x5485e9[_0x419045(0x79)],_0x4aca12=_0x5485e9[_0x419045(0xb9)];let _0x156d5b=_0x3e7e38+_0x419045(0xa0);const _0x5592d4=_0x591a2a[_0x419045(0x88)](_0x591a2a[_0x419045(0xb2)](_0x3e7e38,_0x1af899),0x0)?_0x591a2a[_0x419045(0x97)](_0x3e7e38,_0x1af899):0x0;if(_0x591a2a[_0x419045(0x9b)](_0x1af899,0x0)&&_0x591a2a[_0x419045(0xc5)](_0x5592d4,0x0))_0x156d5b+='\x20('+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x1af899+_0x419045(0xd2))+',\x20'+chalk[_0x419045(0x89)][_0x419045(0xc1)](_0x5592d4+_0x419045(0xb5))+')';else(_0x591a2a[_0x419045(0xc7)](_0x1af899,0x0)||_0x591a2a[_0x419045(0x88)](_0x5592d4,0x0))&&(_0x156d5b+=_0x591a2a[_0x419045(0x9d)](_0x1af899,0x0)?'\x20('+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x1af899+_0x419045(0xd2))+')':'\x20('+chalk[_0x419045(0x89)][_0x419045(0xc1)](_0x5592d4+'\x20passed')+')');const _0x350abd=_0x4897d2+_0x419045(0xe1),_0x5c420e=[];_0x591a2a['mxpUc'](_0x3cf2a9,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x3cf2a9+_0x419045(0xd6)));_0x591a2a[_0x419045(0xbc)](_0x1ee8fa,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['red'](_0x1ee8fa+_0x419045(0xd2)));_0x591a2a[_0x419045(0xc2)](_0x4bdf8f,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['green'](_0x4bdf8f+_0x419045(0xb5)));_0x591a2a[_0x419045(0x88)](_0x32ca66,0x0)&&_0x5c420e['push'](''+chalk[_0x419045(0x89)]['yellow'](_0x32ca66+_0x419045(0xd7)));_0x591a2a[_0x419045(0xe7)](_0x4abc92,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk['bold'][_0x419045(0x8d)](_0x4abc92+'\x20skipped'));_0x591a2a['sPGIL'](_0xe7d8a9,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)][_0x419045(0x95)](_0xe7d8a9+_0x419045(0xbf)));_0x591a2a[_0x419045(0xe7)](_0x391a6c,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['yellow'](_0x391a6c+_0x419045(0x87)));const _0x23d293=_0x591a2a[_0x419045(0xcf)](_0x591a2a['qNAzq'](_0x591a2a[_0x419045(0x7c)](_0x350abd,'('),_0x5c420e[_0x419045(0xe9)](',\x20')),')');console[_0x419045(0x7f)](_0x591a2a[_0x419045(0xc0)](_0x591a2a[_0x419045(0xc0)](_0x591a2a[_0x419045(0x9f)](_0x591a2a['oBvOB']('\x0a',_0x156d5b),'\x0a'),_0x23d293),'\x0a')),_0x591a2a[_0x419045(0xc3)](_0x4aca12,![])&&(_0xbb26a0=0x1);}),_0xbb26a0;}async function run(_0x1a9fb4,_0x5d9c0e){const _0x58354b=a5_0x3f4ec2,_0x122472={'trmSr':function(_0x43dca4,_0x15f860){return _0x43dca4(_0x15f860);},'cEjPm':function(_0x5c1aa2,_0x50673f){return _0x5c1aa2>_0x50673f;},'FjzBA':'Generating\x20consolidated\x20report...','EmDrj':_0x58354b(0xa9),'nzTPM':'cucumber','IIUaZ':'error\x20removing\x20tcg\x20config\x20file','lDuyk':'cucumber-js','vQHOF':_0x58354b(0xc6),'lAxtj':function(_0x3884dd,_0x393fda){return _0x3884dd>_0x393fda;},'iabYD':function(_0x2c9f15,_0x299602){return _0x2c9f15-_0x299602;},'zERRq':function(_0x55a8ce,_0x13baf3){return _0x55a8ce>=_0x13baf3;},'uLYAq':function(_0x249719,_0xc8d407){return _0x249719!=_0xc8d407;},'DSuBx':'true','iEABu':function(_0x2569cb,_0x34866a,_0xf6fc6c,_0x3c14b0,_0x37a830,_0x4aff71){return _0x2569cb(_0x34866a,_0xf6fc6c,_0x3c14b0,_0x37a830,_0x4aff71);}},_0x4c36a8=new BrowserStackSetup(_0x1a9fb4,_0x122472[_0x58354b(0xe8)]);await _0x4c36a8['initialize'](),helper[_0x58354b(0xbb)](_0x4c36a8[_0x58354b(0xda)],_0x1a9fb4);!helper['isBrowserstackInfra']()&&await _0x4c36a8[_0x58354b(0xc4)]();await helper['handleApp'](_0x4c36a8[_0x58354b(0xe0)]);const _0x698fdd=helper[_0x58354b(0x90)](_0x4c36a8['config']),_0x3a47b1=helper[_0x58354b(0xea)](_0x4c36a8['config'],_0x698fdd,constants[_0x58354b(0xab)][_0x58354b(0x84)]);if(!_0x4c36a8[_0x58354b(0xe0)])return;const _0x53e957=_0x4c36a8['config'][_0x58354b(0xbd)]||helper[_0x58354b(0x96)](_0x1a9fb4,_0x5d9c0e,_0x4c36a8[_0x58354b(0xe0)],constants[_0x58354b(0xab)][_0x58354b(0x84)])||0x1,_0x4236c4={'server':helper['getHubUrl'](_0x4c36a8[_0x58354b(0xe0)]),'proxySettings':_0x4c36a8['config']['proxySettings'],'maxWorkers':_0x53e957,'browserStackLogLevel':_0x4c36a8['config'][_0x58354b(0xd9)],'skipSessionName':_0x4c36a8[_0x58354b(0xe0)]['testContextOptions'][_0x58354b(0xb0)],'skipSessionStatus':_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0xb3)][_0x58354b(0xac)],'turboScaleUrl':_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0xe3)]},_0x5c8d06=process['argv'],[_0x23c352,_0x183054]=helper['parseFormatters'](_0x5c8d06),_0x4ca25e=path[_0x58354b(0xe9)](process[_0x58354b(0xdc)](),_0x122472[_0x58354b(0x8e)]);if(_0x122472['lAxtj'](_0x183054['length'],0x0)){helper[_0x58354b(0xa3)](_0x4ca25e);for(let _0x2a2c75=_0x122472[_0x58354b(0xdf)](_0x23c352[_0x58354b(0x86)],0x1);_0x122472[_0x58354b(0xae)](_0x2a2c75,0x0);_0x2a2c75--){_0x5c8d06[_0x58354b(0x99)](_0x23c352[_0x2a2c75],0x2);}}!helper[_0x58354b(0x80)](_0x4c36a8['config'][_0x58354b(0x81)])&&(process[_0x58354b(0xbe)][_0x58354b(0xce)]=JSON[_0x58354b(0xba)](_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x81)]));_0x122472[_0x58354b(0x85)](_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x7d)],null)?process['env'][_0x58354b(0xeb)]=_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x7d)]:process[_0x58354b(0xbe)][_0x58354b(0xeb)]=_0x122472[_0x58354b(0x8b)];const _0x3b6745=await TestHubHandler[_0x58354b(0x91)](constants[_0x58354b(0xab)][_0x58354b(0x84)],_0x4c36a8);PerformanceTester[_0x58354b(0xa1)](PerformanceEvents[_0x58354b(0xb7)]);let _0x812df4;_0x122472[_0x58354b(0x92)](parallelCucumberRun,_0x3a47b1,_0x4236c4,_0x4c36a8[_0x58354b(0xe0)],_0x5c8d06,_0x183054)[_0x58354b(0xdd)](async _0x355092=>{const _0x44acba=_0x58354b;PerformanceTester[_0x44acba(0x83)](PerformanceEvents[_0x44acba(0xcb)]),_0x812df4=_0x355092;const _0xfd1a73=_0x122472[_0x44acba(0xc9)](printCucumberStats,_0x355092);process[_0x44acba(0xaf)]=_0xfd1a73,_0x122472[_0x44acba(0xd3)](_0x183054[_0x44acba(0x86)],0x0)&&(logger[_0x44acba(0x78)](_0x122472[_0x44acba(0xaa)]),helper[_0x44acba(0x98)](_0x4ca25e,_0x183054),logger['debug'](_0x122472[_0x44acba(0xb8)]),helper[_0x44acba(0xe2)](_0x4ca25e));})['finally'](async()=>{const _0x407900=_0x58354b;PerformanceTester[_0x407900(0x83)](PerformanceEvents[_0x407900(0xcb)]),_0x4c36a8[_0x407900(0xad)]=helper[_0x407900(0x7e)](_0x812df4,_0x122472['nzTPM']),testOpsHelper[_0x407900(0xd1)]();try{await TestHubHandler[_0x407900(0xe5)]();}catch(_0x2bf5d8){logger['debug'](_0x407900(0x9a)+util[_0x407900(0xb6)](_0x2bf5d8));}try{const {browserstackFolderPath:_0x252e87,tcgConfigPath:_0xcba8d4}=helper[_0x407900(0x9c)]();fs['unlinkSync'](_0xcba8d4),fs['rmdirSync'](_0x252e87);}catch(_0xcec6ae){logger['debug'](_0x122472['IIUaZ'],_0xcec6ae);}await utilities['finalExecution'](_0x4c36a8);});}module[a5_0x3f4ec2(0xd4)]=run;
|
|
2
|
+
'use strict';const a5_0x33727a=a5_0xf017;function a5_0xf017(_0x56dc88,_0x7e7ebb){const _0x273f8e=a5_0x273f();return a5_0xf017=function(_0xf01703,_0x6a7ba7){_0xf01703=_0xf01703-0x109;let _0x1b8b4d=_0x273f8e[_0xf01703];return _0x1b8b4d;},a5_0xf017(_0x56dc88,_0x7e7ebb);}function a5_0x273f(){const _0x26dfa6=['piEWZ','steps','../../helpers/testhub/testhubHandler','FRAMEWORKS','../../helpers/utilities','763499ooCHyu','bold','kpldi','\x20scenarios','green','7974946luHEoS','join','getHubUrl','KXSxf','removeDir','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','turboScaleUrl','finalExecution','lkBMQ','12987gLNYhi','1417932pCCpWm','stepsSkipped','accessibilityOptions','4pVtRgI','end','../../helpers/performance/constants','Vggoo','logLevel','yellow','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','tmp','bgWhite','errorMessage','skipSessionStatus','../../helpers/logger','EhFSX','558520HjGJvA','AKLaJ','bfmAv','HpRDL','getUserWorkerCount','setupTCGAuth','\x20skipped','log','TOBrD','format','cyan','start','useW3C','proxySettings','exports','debug','EVENTS','YJnIq','stepsPending','stepsUndefined','setUserConfigPath','scenariosFailed','true','../test-runner','sdJYT','1608blIUtD','length','\x20pending','stepsUnknown','splice','cwd','NGlQE','red','\x20undefined','scenarios','util','finally','error\x20removing\x20tcg\x20config\x20file','zlXFk','../../helpers/BrowserStackSetup','isUndefined','14145FDAXQA','unlinkSync','SDK_SETUP','then','\x20failed','MBkWG','iCNca','1575060RJFsoQ','push','../../helpers/performance/performance-tester','BROWSERSTACK_TEST_OBSERVABILITY_YML','QkAHe','env','getTCGConfigFilePaths','\x20ambiguous','QSVmL','22sHdOqW','parallelsPerPlatform','ClaLM','stepsPassed','prepareCapabilities','mergeOutputFiles','getPlatformName','\x20passed','NgeIR','SDK_CLEANUP','rmdirSync','launchBuild','framework','config','cucumber-js','aSkvi','CUCUMBER','LXSIH','stepsFailed','oTMqF','vebKV','Generating\x20consolidated\x20report...','45xNlCjm','../utils/constants','****\x20RESULTS\x20****','../../helpers/test-observability/utils','isBrowserstackInfra'];a5_0x273f=function(){return _0x26dfa6;};return a5_0x273f();}(function(_0x3089ac,_0x3df542){const _0x4e88c1=a5_0xf017,_0x50974c=_0x3089ac();while(!![]){try{const _0x4a98cb=-parseInt(_0x4e88c1(0x17f))/0x1+parseInt(_0x4e88c1(0x118))/0x2*(parseInt(_0x4e88c1(0x114))/0x3)+-parseInt(_0x4e88c1(0x115))/0x4+-parseInt(_0x4e88c1(0x14f))/0x5*(-parseInt(_0x4e88c1(0x13f))/0x6)+parseInt(_0x4e88c1(0x10b))/0x7+parseInt(_0x4e88c1(0x126))/0x8*(parseInt(_0x4e88c1(0x175))/0x9)+parseInt(_0x4e88c1(0x156))/0xa*(-parseInt(_0x4e88c1(0x15f))/0xb);if(_0x4a98cb===_0x3df542)break;else _0x50974c['push'](_0x50974c['shift']());}catch(_0x50e395){_0x50974c['push'](_0x50974c['shift']());}}}(a5_0x273f,0xc8bad));const fs=require('fs'),path=require('path'),util=require(a5_0x33727a(0x149)),logger=require(a5_0x33727a(0x124))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x33727a(0x14d)),helper=require('../../helpers/helper'),utilities=require(a5_0x33727a(0x17e)),constants=require(a5_0x33727a(0x176)),{parallelCucumberRun}=require(a5_0x33727a(0x13d)),TestHubHandler=require(a5_0x33727a(0x17c)),testOpsHelper=require(a5_0x33727a(0x178)),chalk=require('chalk'),PerformanceTester=require(a5_0x33727a(0x158)),PerformanceEvents=require(a5_0x33727a(0x11a))[a5_0x33727a(0x136)];function printCucumberStats(_0x151851){const _0xab3b1=a5_0x33727a,_0x2c7126={};_0x2c7126[_0xab3b1(0x14c)]=function(_0x228529,_0x36bca5){return _0x228529>_0x36bca5;},_0x2c7126[_0xab3b1(0x161)]=function(_0x1f7b26,_0x578385){return _0x1f7b26-_0x578385;},_0x2c7126[_0xab3b1(0x127)]=function(_0x3fe770,_0x5a21aa){return _0x3fe770>_0x5a21aa;},_0x2c7126['YJnIq']=function(_0x34f672,_0x5b7f16){return _0x34f672>_0x5b7f16;},_0x2c7126[_0xab3b1(0x13e)]=function(_0x21d342,_0x3b948f){return _0x21d342>_0x3b948f;},_0x2c7126[_0xab3b1(0x167)]=function(_0xf3d62f,_0x133101){return _0xf3d62f>_0x133101;},_0x2c7126[_0xab3b1(0x10e)]=function(_0x22c263,_0x48fde2){return _0x22c263+_0x48fde2;},_0x2c7126[_0xab3b1(0x173)]=function(_0x4711b2,_0x15701f){return _0x4711b2+_0x15701f;},_0x2c7126[_0xab3b1(0x15e)]=function(_0x440a19,_0x8de28d){return _0x440a19+_0x8de28d;},_0x2c7126[_0xab3b1(0x15a)]=function(_0x53ace3,_0x31b051){return _0x53ace3+_0x31b051;},_0x2c7126[_0xab3b1(0x181)]=function(_0x57e2e2,_0x520d16){return _0x57e2e2+_0x520d16;},_0x2c7126[_0xab3b1(0x113)]=function(_0x15e7ac,_0xa3d039){return _0x15e7ac+_0xa3d039;},_0x2c7126[_0xab3b1(0x154)]=function(_0x57a0af,_0x1f71d5){return _0x57a0af===_0x1f71d5;},_0x2c7126[_0xab3b1(0x12e)]=function(_0x226a89,_0x2061bb){return _0x226a89===_0x2061bb;},_0x2c7126[_0xab3b1(0x170)]=_0xab3b1(0x177);const _0x49140c=_0x2c7126;let _0x371957=0x0;if(_0x49140c[_0xab3b1(0x12e)](_0x151851[_0xab3b1(0x140)],0x0))return _0x371957;return console[_0xab3b1(0x12d)](chalk['bold'][_0xab3b1(0x121)](_0x49140c[_0xab3b1(0x170)])),_0x151851['forEach'](_0x36c5c4=>{const _0x28b6ec=_0xab3b1,_0x590815=_0x36c5c4[0x0],_0x2caf78=_0x36c5c4[0x1];console[_0x28b6ec(0x12d)]('\x0a'+chalk['bold'][_0x28b6ec(0x11d)](''+helper[_0x28b6ec(0x165)](_0x590815)));const _0x129285=_0x2caf78[_0x28b6ec(0x148)],_0x535623=_0x2caf78[_0x28b6ec(0x17b)],_0x4a8e26=_0x2caf78[_0x28b6ec(0x13b)],_0x20e3b9=_0x2caf78[_0x28b6ec(0x171)],_0x2a3fda=_0x2caf78[_0x28b6ec(0x162)],_0x28d164=_0x2caf78[_0x28b6ec(0x116)],_0x7e3f02=_0x2caf78[_0x28b6ec(0x138)],_0x4155d7=_0x2caf78[_0x28b6ec(0x139)],_0x2d1f07=_0x2caf78[_0x28b6ec(0x142)],_0xb4e411=_0x2caf78['stepsAmbiguous'],_0x362206=_0x2caf78['processSuccess'];let _0x25f213=_0x129285+_0x28b6ec(0x109);const _0x1c586f=_0x49140c['zlXFk'](_0x49140c[_0x28b6ec(0x161)](_0x129285,_0x4a8e26),0x0)?_0x49140c[_0x28b6ec(0x161)](_0x129285,_0x4a8e26):0x0;if(_0x49140c[_0x28b6ec(0x14c)](_0x4a8e26,0x0)&&_0x49140c[_0x28b6ec(0x14c)](_0x1c586f,0x0))_0x25f213+='\x20('+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x146)](_0x4a8e26+_0x28b6ec(0x153))+',\x20'+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x10a)](_0x1c586f+_0x28b6ec(0x166))+')';else(_0x49140c[_0x28b6ec(0x14c)](_0x4a8e26,0x0)||_0x49140c[_0x28b6ec(0x14c)](_0x1c586f,0x0))&&(_0x25f213+=_0x49140c[_0x28b6ec(0x14c)](_0x4a8e26,0x0)?'\x20('+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x146)](_0x4a8e26+_0x28b6ec(0x153))+')':'\x20('+chalk[_0x28b6ec(0x180)]['green'](_0x1c586f+_0x28b6ec(0x166))+')');const _0x1a4773=_0x535623+'\x20steps',_0x4cedab=[];_0x49140c[_0x28b6ec(0x127)](_0xb4e411,0x0)&&_0x4cedab['push'](''+chalk['bold']['red'](_0xb4e411+_0x28b6ec(0x15d)));_0x49140c[_0x28b6ec(0x127)](_0x20e3b9,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x146)](_0x20e3b9+_0x28b6ec(0x153)));_0x49140c[_0x28b6ec(0x137)](_0x2a3fda,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x10a)](_0x2a3fda+_0x28b6ec(0x166)));_0x49140c[_0x28b6ec(0x13e)](_0x7e3f02,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)]['yellow'](_0x7e3f02+_0x28b6ec(0x141)));_0x49140c[_0x28b6ec(0x14c)](_0x28d164,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x130)](_0x28d164+'\x20skipped'));_0x49140c['NgeIR'](_0x4155d7,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x11d)](_0x4155d7+_0x28b6ec(0x147)));_0x49140c[_0x28b6ec(0x167)](_0x2d1f07,0x0)&&_0x4cedab[_0x28b6ec(0x157)](''+chalk[_0x28b6ec(0x180)][_0x28b6ec(0x11d)](_0x2d1f07+_0x28b6ec(0x12c)));const _0x3994f1=_0x49140c[_0x28b6ec(0x10e)](_0x49140c[_0x28b6ec(0x10e)](_0x49140c[_0x28b6ec(0x173)](_0x1a4773,'('),_0x4cedab[_0x28b6ec(0x10c)](',\x20')),')');console[_0x28b6ec(0x12d)](_0x49140c[_0x28b6ec(0x15e)](_0x49140c[_0x28b6ec(0x15a)](_0x49140c[_0x28b6ec(0x181)](_0x49140c[_0x28b6ec(0x113)]('\x0a',_0x25f213),'\x0a'),_0x3994f1),'\x0a')),_0x49140c[_0x28b6ec(0x154)](_0x362206,![])&&(_0x371957=0x1);}),_0x371957;}async function run(_0x47f512,_0x1f1489){const _0x1f244b=a5_0x33727a,_0x2bb937={'MLhji':function(_0x51590d,_0x4012c4){return _0x51590d(_0x4012c4);},'iCNca':function(_0x19b7a8,_0x312e61){return _0x19b7a8>_0x312e61;},'NGlQE':_0x1f244b(0x174),'EhFSX':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','piEWZ':'cucumber','Vggoo':_0x1f244b(0x14b),'aSkvi':_0x1f244b(0x16d),'hdhVz':_0x1f244b(0x120),'oTMqF':function(_0x4ca54b,_0x43f56c){return _0x4ca54b-_0x43f56c;},'bIlHa':function(_0x8b24a7,_0x57730b){return _0x8b24a7>=_0x57730b;},'sfIrC':function(_0x1a8427,_0x10ca86){return _0x1a8427!=_0x10ca86;},'HpRDL':_0x1f244b(0x13c),'bfmAv':function(_0x50f07f,_0x3b6c2e,_0x2f562d,_0x41105b,_0x103cd6,_0xb3c1a6){return _0x50f07f(_0x3b6c2e,_0x2f562d,_0x41105b,_0x103cd6,_0xb3c1a6);}},_0x45de50=new BrowserStackSetup(_0x47f512,_0x2bb937[_0x1f244b(0x16e)]);await _0x45de50['initialize'](),helper[_0x1f244b(0x13a)](_0x45de50[_0x1f244b(0x16b)],_0x47f512);!helper[_0x1f244b(0x179)]()&&await _0x45de50[_0x1f244b(0x12b)]();await helper['handleApp'](_0x45de50['config']);const _0x5a08a6=helper[_0x1f244b(0x132)](_0x45de50[_0x1f244b(0x16c)]),_0x69731a=helper[_0x1f244b(0x163)](_0x45de50[_0x1f244b(0x16c)],_0x5a08a6,constants[_0x1f244b(0x17d)][_0x1f244b(0x16f)]);if(!_0x45de50[_0x1f244b(0x16c)])return;const _0x5f00c4=_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x160)]||helper[_0x1f244b(0x12a)](_0x47f512,_0x1f1489,_0x45de50[_0x1f244b(0x16c)],constants['FRAMEWORKS'][_0x1f244b(0x16f)])||0x1,_0xa2a287={'server':helper[_0x1f244b(0x10d)](_0x45de50['config']),'proxySettings':_0x45de50['config'][_0x1f244b(0x133)],'maxWorkers':_0x5f00c4,'browserStackLogLevel':_0x45de50['config'][_0x1f244b(0x11c)],'skipSessionName':_0x45de50[_0x1f244b(0x16c)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x45de50[_0x1f244b(0x16c)]['testContextOptions'][_0x1f244b(0x123)],'turboScaleUrl':_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x111)]},_0x542aed=process['argv'],[_0x4aae3f,_0x5a241f]=helper['parseFormatters'](_0x542aed),_0xae088e=path[_0x1f244b(0x10c)](process[_0x1f244b(0x144)](),_0x2bb937['hdhVz']);if(_0x2bb937['iCNca'](_0x5a241f[_0x1f244b(0x140)],0x0)){helper['createDir'](_0xae088e);for(let _0x297139=_0x2bb937[_0x1f244b(0x172)](_0x4aae3f[_0x1f244b(0x140)],0x1);_0x2bb937['bIlHa'](_0x297139,0x0);_0x297139--){_0x542aed[_0x1f244b(0x143)](_0x4aae3f[_0x297139],0x2);}}!helper[_0x1f244b(0x14e)](_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x117)])&&(process[_0x1f244b(0x15b)][_0x1f244b(0x11f)]=JSON[_0x1f244b(0x11e)](_0x45de50[_0x1f244b(0x16c)][_0x1f244b(0x117)]));_0x2bb937['sfIrC'](_0x45de50['config']['testObservability'],null)?process[_0x1f244b(0x15b)][_0x1f244b(0x159)]=_0x45de50[_0x1f244b(0x16c)]['testObservability']:process[_0x1f244b(0x15b)][_0x1f244b(0x159)]=_0x2bb937[_0x1f244b(0x129)];const _0x3ed355=await TestHubHandler[_0x1f244b(0x16a)](constants['FRAMEWORKS'][_0x1f244b(0x16f)],_0x45de50);PerformanceTester[_0x1f244b(0x119)](PerformanceEvents[_0x1f244b(0x151)]);let _0x1052dd;_0x2bb937[_0x1f244b(0x128)](parallelCucumberRun,_0x69731a,_0xa2a287,_0x45de50[_0x1f244b(0x16c)],_0x542aed,_0x5a241f)[_0x1f244b(0x152)](async _0x2a6c4b=>{const _0x7953f8=_0x1f244b;PerformanceTester['start'](PerformanceEvents[_0x7953f8(0x168)]),_0x1052dd=_0x2a6c4b;const _0x215c7a=_0x2bb937['MLhji'](printCucumberStats,_0x2a6c4b);process['exitCode']=_0x215c7a,_0x2bb937[_0x7953f8(0x155)](_0x5a241f['length'],0x0)&&(logger[_0x7953f8(0x135)](_0x2bb937[_0x7953f8(0x145)]),helper[_0x7953f8(0x164)](_0xae088e,_0x5a241f),logger[_0x7953f8(0x135)](_0x2bb937[_0x7953f8(0x125)]),helper[_0x7953f8(0x10f)](_0xae088e));})[_0x1f244b(0x14a)](async()=>{const _0x4c43a1=_0x1f244b;PerformanceTester[_0x4c43a1(0x131)](PerformanceEvents['SDK_CLEANUP']),_0x45de50[_0x4c43a1(0x122)]=helper['getErrorMessageFromResults'](_0x1052dd,_0x2bb937[_0x4c43a1(0x17a)]),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0xcecd6d){logger['debug'](_0x4c43a1(0x110)+util[_0x4c43a1(0x12f)](_0xcecd6d));}try{const {browserstackFolderPath:_0x530eab,tcgConfigPath:_0x5298d0}=helper[_0x4c43a1(0x15c)]();fs[_0x4c43a1(0x150)](_0x5298d0),fs[_0x4c43a1(0x169)](_0x530eab);}catch(_0x4eb8cd){logger[_0x4c43a1(0x135)](_0x2bb937[_0x4c43a1(0x11b)],_0x4eb8cd);}await utilities[_0x4c43a1(0x112)](_0x45de50);});}module[a5_0x33727a(0x134)]=run;
|