browserstack-node-sdk 1.34.39 → 1.34.41
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/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 +2 -2
- 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_0x3e68aa=a1_0x35e8;function a1_0x35e8(_0x3c9bde,_0x547f6d){const _0x1e6d3e=a1_0x1e6d();return a1_0x35e8=function(_0x35e81f,_0x54e853){_0x35e81f=_0x35e81f-0x11d;let _0x26853d=_0x1e6d3e[_0x35e81f];return _0x26853d;},a1_0x35e8(_0x3c9bde,_0x547f6d);}(function(_0x3d5622,_0x182a69){const _0x356ce3=a1_0x35e8,_0x5a10c9=_0x3d5622();while(!![]){try{const _0x3324f3=-parseInt(_0x356ce3(0x144))/0x1+parseInt(_0x356ce3(0x126))/0x2+-parseInt(_0x356ce3(0x150))/0x3*(parseInt(_0x356ce3(0x14e))/0x4)+-parseInt(_0x356ce3(0x133))/0x5*(parseInt(_0x356ce3(0x1a1))/0x6)+-parseInt(_0x356ce3(0x1bd))/0x7+-parseInt(_0x356ce3(0x120))/0x8*(-parseInt(_0x356ce3(0x158))/0x9)+parseInt(_0x356ce3(0x14d))/0xa;if(_0x3324f3===_0x182a69)break;else _0x5a10c9['push'](_0x5a10c9['shift']());}catch(_0x42df93){_0x5a10c9['push'](_0x5a10c9['shift']());}}}(a1_0x1e6d,0x4c29c));function a1_0x1e6d(){const _0x448620=['Ekavp','96885xGeDzn','warn','gwdeE','end','scomH','browserstack_executor:\x20','ctx','toString','afterTest','container','SgVXt','hookType','qvtRG','ZaBuR','LvWdK','setSessionName','titlePath','536501CtYGaF','toISOString','PUikB','EEULg','stop','accessibilityPlatform','getResults','TEST_RUN_SKIPPED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','6972740tnnZgc','11284PkYaam','../../helpers/accessibility-automation/scripts','21HyHVsa','bJFqb','hook-failed','call','performScan','stringify','initSaveScreenshot','TEST_RUN_FINISHED','9OJtDOL','ZMfQL','SESSION_STATUS','passed','bddStepStart','xufFC','codeceptjs/lib/helper/Playwright.js','__workerDetails','AVeaS','_before','prototype','GET_RESULTS','__skipSessionStatus','test-failed','Hlzhu','../../helpers/request-spy','executeScript','class','aPZkq','SDK_POST_INITIALIZE','getSyncScript','ENV_VAR','./helper.js','PERFORM_SCAN','hook-started','vLFUN','enabled','TEST_RUN_STARTED','reason','browserContext','contexts','format','add','skipSessionName','base64','TagrV','sCFcf','setGlobal','../../helpers/globals.js','bs:addLog:','constructor','Playwright','before','Rnllx','BROWSERSTACK_TESTHUB_UUID','../../helpers/testhub/constants.js','exports','hYThm','codeceptjs/lib/index.js','arguments','shouldWrapCommand','hook','NMVhU','measureWrapper','../../bin/playwright/accessibility-helper','SgbEe','browserstackTestName','OFkcB','EHqSo','DlSqu','skipped','failed','fireEvent','KPeJP','browser','stopMonitoring','HOOK_RUN_STARTED','captureEvent','sqXvK','cnZHx','YGSbg','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','test','174MMaPqH','env','eCgJl','Element','test-after','RGcKP','BS_TESTOPS_ALLOW_SCREENSHOTS','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','started','JAPbT','kCYUO','codeceptjs/lib/helper/WebDriver.js','../../helpers/accessibility-automation/helper','AdEBX','winstonLogger','action','getAccessibilityResults','comment','patch','forEach','HOOK_RUN_FINISHED','SDK_POST_TEST','rBowL','captureError','setSessionStatus','saveScreenshot','UodXr','./o11yHelper','58086vKBxRY','XHqAK','cqPus','aBgfF','dispatcher','util','addRequestSpy','overwriteCommand','bddStep-before','lFGbw','test-started','command','test-before','YoMpe','skipSessionStatus','start','Puppeteer','apply','browserStackExecuteDriver','step','tPcmE','title','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','emit','WebDriver','name','bstackAllyScanning','bddStepFinish','pid','hUyCS','all','FcpDD','../../helpers/performance/performance-tester','find','filter','test-skipped','after','SDK_HOOK','getAccessibilityResultsSummary','__driver','info','bddStep','BROWSERSTACK_TESTHUB_JWT','kuMfi','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','TestCafe','SDK_PRE_TEST','bYQbo','event','TEST_LOG','SDK_TEST','status','NYslr','../../helpers/test-observability/utils','debug','kWpOd','thJwtToken','hook-passed','4310888kHwbEF','GET_RESULTS_SUMMARY','helpers','testAnalyticsId','Vtatg','bind','404616zHCGsh','dwmzq','TEST_SCREENSHOT','ZuGWU','SAVE_RESULTS','NotmC','patchSaveScreenshot','startMonitoring','ZglaW','codeceptjs','fegss','mbzdi'];a1_0x1e6d=function(){return _0x448620;};return a1_0x1e6d();}const fs=require('fs'),util=require(a1_0x3e68aa(0x1c2)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x3e68aa(0x1af)],testOpsHelper=require(a1_0x3e68aa(0x1f2)),requestSpy=require(a1_0x3e68aa(0x167)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3e68aa(0x1bc)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3e68aa(0x1ad)),AccessibilityHelper=require(a1_0x3e68aa(0x18e)),scripts=require(a1_0x3e68aa(0x14f)),PerformanceTester=require(a1_0x3e68aa(0x1dd)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3e68aa(0x16e)),testHubConstants=require(a1_0x3e68aa(0x185)),globals=require(a1_0x3e68aa(0x17e)),CodeceptJS=requireModule(a1_0x3e68aa(0x188),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x3e68aa(0x12f)),CodeceptWebDriver=requireModule(a1_0x3e68aa(0x1ac),a1_0x3e68aa(0x12f)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x3e68aa(0x12f)),CodeceptPlaywright=requireModule(a1_0x3e68aa(0x15e),a1_0x3e68aa(0x12f)),playwrightMarkSessionStatus=(_0x1eef40,_0x1f59b8,_0x4bbbef)=>{const _0x2d1396=a1_0x3e68aa,_0xe00c1f={'Rnllx':_0x2d1396(0x1b9),'DbIGu':function(_0x1b5ac7,_0x933f3b){return _0x1b5ac7(_0x933f3b);}},_0x1a6ef2={};_0x1a6ef2[_0x2d1396(0x1f0)]=_0x1f59b8;const _0xb6792f={};_0xb6792f[_0x2d1396(0x1b0)]=_0xe00c1f[_0x2d1396(0x183)],_0xb6792f['arguments']=_0x1a6ef2;const _0x1bf46d=_0xb6792f;return!_0xe00c1f['DbIGu'](isUndefined,_0x4bbbef)&&(_0x1bf46d[_0x2d1396(0x189)][_0x2d1396(0x174)]=JSON[_0x2d1396(0x155)](_0x4bbbef)),_0x1eef40[_0x2d1396(0x168)](()=>{},_0x2d1396(0x138)+JSON[_0x2d1396(0x155)](_0x1bf46d));},o11ySync=PerformanceTester[a1_0x3e68aa(0x18d)](PerformanceO11yEvents['SYNC'],async _0x389c79=>{const _0x533a37=a1_0x3e68aa,_0x54c47f={};_0x54c47f[_0x533a37(0x1da)]=function(_0x43e72a,_0x5354c4){return _0x43e72a===_0x5354c4;},_0x54c47f['aBgfF']=_0x533a37(0x181);const _0x202899=_0x54c47f;_0x202899[_0x533a37(0x1da)](_0x389c79[_0x533a37(0x180)][_0x533a37(0x1d6)],_0x202899[_0x533a37(0x1c0)])?await _0x389c79[_0x533a37(0x168)](_0x4a5c9a=>{},testOpsHelper['getSyncScript']()):await _0x389c79[_0x533a37(0x168)](testOpsHelper[_0x533a37(0x16c)]());}),markSessionName=PerformanceTester[a1_0x3e68aa(0x18d)](PerformanceAutEvents['SESSION_NAME'],async(_0x177c2e,_0x556ab5)=>{const _0x353c19=a1_0x3e68aa,_0x5ec0ff={};_0x5ec0ff[_0x353c19(0x18c)]=_0x353c19(0x142),_0x5ec0ff[_0x353c19(0x127)]=function(_0x8897f2,_0x15cd05){return _0x8897f2===_0x15cd05;},_0x5ec0ff[_0x353c19(0x1ca)]=_0x353c19(0x181);const _0x39d172=_0x5ec0ff,_0x3ced50={};_0x3ced50[_0x353c19(0x1d6)]=_0x556ab5;const _0x261665={};_0x261665[_0x353c19(0x1b0)]=_0x39d172[_0x353c19(0x18c)],_0x261665['arguments']=_0x3ced50;const _0x1cee87=_0x261665;_0x39d172[_0x353c19(0x127)](_0x177c2e[_0x353c19(0x180)]['name'],_0x39d172[_0x353c19(0x1ca)])?await _0x177c2e[_0x353c19(0x168)](()=>{},_0x353c19(0x138)+JSON[_0x353c19(0x155)](_0x1cee87)):await _0x177c2e[_0x353c19(0x168)]('browserstack_executor:\x20'+JSON[_0x353c19(0x155)](_0x1cee87));}),patchSaveScreenshot=_0x573f6c=>{const _0xd243=a1_0x3e68aa,_0x22750f={'hYThm':_0xd243(0x17a),'mrGny':_0xd243(0x128),'RPdHK':function(_0x1167f4){return _0x1167f4();},'cnZHx':function(_0x35e1d3,_0x900494){return _0x35e1d3(_0x900494);}};_0x22750f[_0xd243(0x19d)](isTrue,process[_0xd243(0x1a2)][_0xd243(0x1a7)])&&!_0x573f6c[_0xd243(0x12c)]&&(_0x573f6c['patchSaveScreenshot']=!![],_0x573f6c[_0xd243(0x156)]=_0x573f6c['saveScreenshot'],_0x573f6c[_0xd243(0x1ba)]=(_0x48e42c,_0x4578f0=![])=>{const _0x2ded35=_0xd243,_0x454fea={'NYslr':_0x22750f[_0x2ded35(0x187)],'Ekavp':_0x22750f['mrGny'],'cqPus':function(_0x2250b6){return _0x22750f['RPdHK'](_0x2250b6);}};return new Promise(function(_0x545614,_0x41f30e){const _0x39c9a2=_0x2ded35;_0x573f6c[_0x39c9a2(0x156)](_0x48e42c,_0x4578f0)['then'](()=>{const _0x57ff95=_0x39c9a2,_0x207512=CodeceptUtils['screenshotOutputFolder'](_0x48e42c),_0x51d85f=fs['readFileSync'](_0x207512);process[_0x57ff95(0x1d4)](_0x57ff95(0x17f)+process[_0x57ff95(0x1d9)],{'timestamp':new Date()[_0x57ff95(0x145)](),'message':_0x51d85f[_0x57ff95(0x13a)](_0x454fea[_0x57ff95(0x1f1)]),'kind':_0x454fea[_0x57ff95(0x132)]}),_0x454fea[_0x57ff95(0x1bf)](_0x545614);})['catch'](()=>null);});});},patchWebDriverBefore=_0x1bf16e=>{const _0x2811fc=a1_0x3e68aa,_0x1b21c1={'OFkcB':function(_0x2e20c6){return _0x2e20c6();},'YGSbg':function(_0x9d3ff8,_0x413b17){return _0x9d3ff8(_0x413b17);},'OBIFx':function(_0x152da0,_0x57e5a3){return _0x152da0===_0x57e5a3;},'sqXvK':_0x2811fc(0x1a4)},_0x591a36=async function(_0x418d7b,_0x5a43bf){const _0x2378d1=_0x2811fc;return _0x1b21c1[_0x2378d1(0x191)](isAccessibilityAutomationSession)&&!global[_0x2378d1(0x1d7)]&&global[_0x2378d1(0x149)]&&scripts[_0x2378d1(0x18a)](_0x418d7b['name'])&&_0x1b21c1[_0x2378d1(0x19e)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2378d1(0x1d7)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2378d1(0x16f)],async()=>{const _0x4b1a43=_0x2378d1;logger[_0x4b1a43(0x1f3)]('Performing\x20scan\x20for\x20'+_0x418d7b[_0x4b1a43(0x169)]+'\x20'+_0x418d7b[_0x4b1a43(0x1d6)]),await AccessibilityHelper[_0x4b1a43(0x1cf)](_0x1bf16e,scripts[_0x4b1a43(0x154)]);},{'command':_0x418d7b[_0x2378d1(0x1d6)]})()),global['bstackAllyScanning']=![],_0x5a43bf[_0x2378d1(0x1ce)](this,Array['prototype']['slice'][_0x2378d1(0x153)](arguments,0x2));},_0x57f71f=CodeceptWebDriver[_0x2811fc(0x162)][_0x2811fc(0x161)];CodeceptWebDriver['prototype'][_0x2811fc(0x161)]=async function(){const _0x157767=_0x2811fc,_0xfde0bd={'BFBAG':function(_0x3be1b9,_0x9cd75a){return _0x1b21c1['OBIFx'](_0x3be1b9,_0x9cd75a);},'rBowL':_0x1b21c1[_0x157767(0x19c)]};await _0x57f71f[_0x157767(0x1ce)](this,arguments),scripts['commandsToWrap'][_0x157767(0x1df)](_0x40c934=>_0x40c934['name']&&_0x40c934[_0x157767(0x169)])[_0x157767(0x1b4)](_0x58a795=>{const _0x3e30bb=_0x157767;this[_0x3e30bb(0x198)][_0x3e30bb(0x1c4)](_0x58a795['name'],_0x591a36[_0x3e30bb(0x125)](this,_0x58a795),_0xfde0bd['BFBAG'](_0x58a795[_0x3e30bb(0x169)],_0xfde0bd[_0x3e30bb(0x1b7)]));}),_0x1b21c1[_0x157767(0x19e)](processWebDriverConfig,_0x1bf16e);};},patchPlaywrightBefore=()=>{const _0x39ad2d=a1_0x3e68aa;PlaywrightSessionDetails[_0x39ad2d(0x1b3)]();const _0x11b616=CodeceptPlaywright[_0x39ad2d(0x162)]['_before'];CodeceptPlaywright[_0x39ad2d(0x162)][_0x39ad2d(0x161)]=async function(){const _0x2b87bc=_0x39ad2d;this[_0x2b87bc(0x175)]=await this[_0x2b87bc(0x198)][_0x2b87bc(0x176)]()[0x0],await _0x11b616[_0x2b87bc(0x1ce)](this,arguments);};},getCodeceptDriver=()=>{const _0x5b5d82=a1_0x3e68aa,_0x1ac29c={};_0x1ac29c[_0x5b5d82(0x17b)]=_0x5b5d82(0x1d5),_0x1ac29c[_0x5b5d82(0x13d)]=_0x5b5d82(0x181),_0x1ac29c[_0x5b5d82(0x192)]=_0x5b5d82(0x1cd),_0x1ac29c[_0x5b5d82(0x130)]=_0x5b5d82(0x1ea);const _0xbf6607=_0x1ac29c,_0x47a6a3=[_0xbf6607[_0x5b5d82(0x17b)],_0xbf6607[_0x5b5d82(0x13d)],_0xbf6607[_0x5b5d82(0x192)],_0xbf6607['fegss']],_0x2dd2f1=_0x47a6a3[_0x5b5d82(0x1de)](_0x3ca66b=>!!CodeceptJS[_0x5b5d82(0x13c)]['helpers'](_0x3ca66b));if(!_0x2dd2f1)return null;return CodeceptJS['container'][_0x5b5d82(0x122)](_0x2dd2f1);};module[a1_0x3e68aa(0x186)]=function(_0x169970){const _0x3bce7b=a1_0x3e68aa,_0x4dc1a3={'ZaBuR':function(_0x5101a8){return _0x5101a8();},'KPeJP':function(_0x48a110,_0x108bb3){return _0x48a110(_0x108bb3);},'LfZLM':_0x3bce7b(0x1b1),'JyWek':_0x3bce7b(0x14c),'bJFqb':_0x3bce7b(0x1e3),'tPcmE':_0x3bce7b(0x1e9),'ZuGWU':function(_0x1b9481,_0x594d00){return _0x1b9481(_0x594d00);},'EEULg':_0x3bce7b(0x170),'bYQbo':_0x3bce7b(0x11f),'kWpOd':_0x3bce7b(0x152),'UodXr':_0x3bce7b(0x190),'eCgJl':function(_0x4b1390){return _0x4b1390();},'mbzdi':_0x3bce7b(0x1c9),'qvtRG':function(_0x5e1b7b,_0x4cb883){return _0x5e1b7b(_0x4cb883);},'lFGbw':function(_0x27b3b5,_0x38b863,_0x20ef66){return _0x27b3b5(_0x38b863,_0x20ef66);},'FcpDD':_0x3bce7b(0x1c7),'sCFcf':function(_0xb300b){return _0xb300b();},'AVeaS':'test-passed','Vtatg':function(_0x162e9a){return _0x162e9a();},'LvWdK':function(_0x4c75be,_0x3e3551,_0x262257,_0x5df020){return _0x4c75be(_0x3e3551,_0x262257,_0x5df020);},'Hlzhu':function(_0x5c187a,_0xe7b57c){return _0x5c187a===_0xe7b57c;},'ZglaW':'Suite','SgbEe':_0x3bce7b(0x165),'RGcKP':_0x3bce7b(0x1e0),'yZapo':_0x3bce7b(0x13b),'DlSqu':function(_0x2ace03){return _0x2ace03();},'JAPbT':function(_0x424a0e,_0x4c0659,_0x25ff4c){return _0x424a0e(_0x4c0659,_0x25ff4c);},'rWDqi':_0x3bce7b(0x1d3),'kuMfi':_0x3bce7b(0x1a5),'jDhcK':'INFO','xufFC':_0x3bce7b(0x1ee),'Qrdpo':'step-comment','oUoaL':_0x3bce7b(0x1c5),'kCYUO':'bddStep-after','tQkoW':function(_0x32996b){return _0x32996b();},'ZMfQL':'Playwright'};_0x169970[_0x3bce7b(0x1cb)]&&(global[_0x3bce7b(0x164)]=_0x169970[_0x3bce7b(0x1cb)]);PerformanceTester[_0x3bce7b(0x12d)]();const _0x2188d9=_0x4dc1a3['tQkoW'](getCodeceptDriver),_0x29235a=new O11yHelper(_0x2188d9,_0x169970),_0xe95748=!!CodeceptJS[_0x3bce7b(0x13c)][_0x3bce7b(0x122)](_0x4dc1a3[_0x3bce7b(0x159)]);global[_0x3bce7b(0x1e4)]=_0x2188d9,_0x2188d9&&(PerformanceTester[_0x3bce7b(0x18d)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x54161c=_0x3bce7b;_0xe95748?_0x4dc1a3[_0x54161c(0x140)](patchPlaywrightBefore):_0x4dc1a3[_0x54161c(0x197)](patchWebDriverBefore,_0x2188d9);})(),PerformanceTester[_0x3bce7b(0x18d)](PerformanceEvents[_0x3bce7b(0x16b)],()=>{const _0x3825ab=_0x3bce7b,_0x5d4b04={};_0x5d4b04[_0x3825ab(0x137)]=_0x4dc1a3[_0x3825ab(0x151)],_0x5d4b04[_0x3825ab(0x12b)]=_0x4dc1a3[_0x3825ab(0x1d1)];const _0x3b9950=_0x5d4b04;_0x2188d9[_0x3825ab(0x1e3)]=async()=>{const _0xae5890=_0x3825ab;if(global[_0xae5890(0x149)]){const _0x20fac6={};_0x20fac6[_0xae5890(0x1c8)]=_0x3b9950['scomH'],await PerformanceTester[_0xae5890(0x18d)](PerformanceA11yEvents[_0xae5890(0x16f)],async()=>{const _0x5cd8f4=_0xae5890;await AccessibilityHelper[_0x5cd8f4(0x1cf)](_0x2188d9,scripts[_0x5cd8f4(0x154)]);},_0x20fac6)(),await PerformanceTester[_0xae5890(0x18d)](PerformanceA11yEvents[_0xae5890(0x121)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x2188d9,scripts['getResultsSummary']);})();}else return logger[_0xae5890(0x134)](_0x3b9950['NotmC']),{};},_0x2188d9['getAccessibilityResults']=async()=>{const _0x495acd=_0x3825ab;if(global['accessibilityPlatform']){const _0x2b8108={};_0x2b8108['command']=_0x4dc1a3['LfZLM'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x495acd(0x16f)],async()=>{const _0x1a366a=_0x495acd;await AccessibilityHelper[_0x1a366a(0x1cf)](_0x2188d9,scripts[_0x1a366a(0x154)]);},_0x2b8108)(),await PerformanceTester[_0x495acd(0x18d)](PerformanceA11yEvents[_0x495acd(0x163)],async()=>{const _0x49b9b5=_0x495acd;await AccessibilityHelper[_0x49b9b5(0x1cf)](_0x2188d9,scripts[_0x49b9b5(0x14a)]);})();}else return logger[_0x495acd(0x134)](_0x4dc1a3['JyWek']),{};},_0x4dc1a3[_0x3825ab(0x129)](patchSaveScreenshot,_0x2188d9);})()),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)]['all'][_0x3bce7b(0x182)],()=>{const _0x242b2a=_0x3bce7b;PerformanceTester[_0x242b2a(0x1cc)](PerformanceEvents[_0x242b2a(0x1eb)]);try{_0x29235a[_0x242b2a(0x1cc)](),testOpsHelper[_0x242b2a(0x1c3)](),PerformanceTester[_0x242b2a(0x136)](PerformanceEvents[_0x242b2a(0x1eb)]);}catch(_0x220353){PerformanceTester[_0x242b2a(0x1b8)](_0x220353),PerformanceTester['end'](PerformanceEvents[_0x242b2a(0x1eb)],![],_0x220353);}}),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1db)][_0x3bce7b(0x1e1)],async()=>{const _0xbd341e=_0x3bce7b;PerformanceTester[_0xbd341e(0x1cc)](PerformanceEvents[_0xbd341e(0x1b6)]);try{requestSpy['restore'](),await _0x29235a[_0xbd341e(0x148)](),PerformanceTester[_0xbd341e(0x136)](PerformanceEvents[_0xbd341e(0x1b6)]);}catch(_0x14cc99){PerformanceTester['captureError'](_0x14cc99),PerformanceTester[_0xbd341e(0x136)](PerformanceEvents[_0xbd341e(0x1b6)],![],_0x14cc99);}finally{PerformanceTester[_0xbd341e(0x199)]();}}),CodeceptJS[_0x3bce7b(0x1ed)]['dispatcher']['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x18b)][_0x3bce7b(0x1a9)],_0xd014ba=>{const _0x2819cd=_0x3bce7b;PerformanceTester['start'](PerformanceEvents['SDK_HOOK']);try{const _0x1b5547=_0xd014ba[_0x2819cd(0x139)][_0x2819cd(0x1a0)],_0x236d13=_0x29235a['captureEvent'](TEST_EVENTS[_0x2819cd(0x19a)],_0x1b5547);CodeceptRecorder[_0x2819cd(0x178)](()=>_0x29235a['fireEvent'](TEST_EVENTS[_0x2819cd(0x19a)],_0x236d13));const _0x1256b9={};_0x1256b9[_0x2819cd(0x13e)]=_0x4dc1a3[_0x2819cd(0x147)],PerformanceTester[_0x2819cd(0x136)](PerformanceEvents[_0x2819cd(0x1e2)],!![],null,_0x1256b9);}catch(_0x3c8a38){const _0x51124a={};_0x51124a[_0x2819cd(0x13e)]=_0x4dc1a3[_0x2819cd(0x147)],PerformanceTester[_0x2819cd(0x136)](PerformanceEvents[_0x2819cd(0x1e2)],![],_0x3c8a38,_0x51124a),PerformanceTester[_0x2819cd(0x1b8)](_0x3c8a38);}}),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS['event'][_0x3bce7b(0x18b)]['passed'],_0x3eaebd=>{const _0x959fef=_0x3bce7b,_0x5e484b={};_0x5e484b[_0x959fef(0x13e)]=_0x4dc1a3[_0x959fef(0x1ec)],PerformanceTester['start'](PerformanceHookEvents[_0x959fef(0x1e2)],!![],null,_0x5e484b);try{const _0x5d4a48=_0x3eaebd[_0x959fef(0x139)]['test'],_0x525fa6=_0x29235a[_0x959fef(0x19b)](TEST_EVENTS[_0x959fef(0x1b5)],_0x5d4a48);CodeceptRecorder[_0x959fef(0x178)](()=>_0x29235a[_0x959fef(0x196)](TEST_EVENTS[_0x959fef(0x1b5)],_0x525fa6));const _0x4ffbc3={};_0x4ffbc3[_0x959fef(0x13e)]=_0x4dc1a3[_0x959fef(0x1ec)],PerformanceTester[_0x959fef(0x136)](PerformanceHookEvents[_0x959fef(0x1e2)],!![],null,_0x4ffbc3);}catch(_0x5d5665){PerformanceTester['captureError'](_0x5d5665);const _0x29c860={};_0x29c860['hookType']=_0x4dc1a3[_0x959fef(0x1ec)],PerformanceTester[_0x959fef(0x136)](PerformanceHookEvents[_0x959fef(0x1e2)],![],_0x5d5665,_0x29c860);}}),CodeceptJS['event'][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x18b)][_0x3bce7b(0x195)],async(_0x5ec238,_0x4d8794)=>{const _0x1f8455=_0x3bce7b;PerformanceTester[_0x1f8455(0x1cc)](PerformanceHookEvents[_0x1f8455(0x1e2)]);try{const _0x521f24=_0x5ec238[_0x1f8455(0x139)][_0x1f8455(0x1a0)],_0x2fae2a=_0x29235a['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x521f24,_0x4d8794);CodeceptRecorder[_0x1f8455(0x178)](()=>_0x29235a[_0x1f8455(0x196)](TEST_EVENTS[_0x1f8455(0x1b5)],_0x2fae2a));const _0x2a2a0a={};_0x2a2a0a[_0x1f8455(0x13e)]=_0x4dc1a3[_0x1f8455(0x11d)],PerformanceTester[_0x1f8455(0x1cc)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2a2a0a);}catch(_0x3abce1){PerformanceTester[_0x1f8455(0x1b8)](_0x3abce1);const _0x2ea91e={};_0x2ea91e[_0x1f8455(0x13e)]=_0x4dc1a3[_0x1f8455(0x11d)],PerformanceTester[_0x1f8455(0x136)](PerformanceHookEvents[_0x1f8455(0x1e2)],![],_0x3abce1,_0x2ea91e);}const _0x359bc1={};_0x359bc1[_0x1f8455(0x13e)]=_0x4dc1a3[_0x1f8455(0x11d)],PerformanceTester[_0x1f8455(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x359bc1);}),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS['event']['test'][_0x3bce7b(0x182)],_0x4e6e9b=>{const _0x19ede2=_0x3bce7b;PerformanceTester[_0x19ede2(0x1cc)](PerformanceHookEvents[_0x19ede2(0x1e2)]);try{globals[_0x19ede2(0x17d)](_0x4dc1a3[_0x19ede2(0x1bb)],_0x4e6e9b[_0x19ede2(0x1d2)]);_0x4dc1a3[_0x19ede2(0x1a3)](isBrowserstackInfra)&&(_0xe95748&&(global[_0x19ede2(0x15f)]={'currentTest':{'name':_0x4e6e9b[_0x19ede2(0x1d2)],'testInfo':{'titlePath':_0x4e6e9b[_0x19ede2(0x143)]()}}}));const _0x337b83={};_0x337b83[_0x19ede2(0x13e)]=_0x4dc1a3[_0x19ede2(0x131)],PerformanceTester[_0x19ede2(0x136)](PerformanceHookEvents[_0x19ede2(0x1e2)],!![],null,_0x337b83);}catch(_0x4ca2ed){PerformanceTester['captureError'](_0x4ca2ed);const _0x12f511={};_0x12f511[_0x19ede2(0x13e)]=_0x4dc1a3[_0x19ede2(0x131)],PerformanceTester[_0x19ede2(0x136)](PerformanceHookEvents[_0x19ede2(0x1e2)],![],_0x4ca2ed,_0x12f511);}}),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS['event']['test'][_0x3bce7b(0x1a9)],_0x310dc0=>{const _0xc38419=_0x3bce7b,_0x333ab0={'gwdeE':function(_0x572642){return _0x4dc1a3['eCgJl'](_0x572642);},'PUikB':function(_0x283c7c,_0x1909e7){const _0x33ce0b=a1_0x35e8;return _0x4dc1a3[_0x33ce0b(0x13f)](_0x283c7c,_0x1909e7);},'XHqAK':function(_0x3c9410,_0x1949a4,_0x4bad31){return _0x4dc1a3['lFGbw'](_0x3c9410,_0x1949a4,_0x4bad31);}};PerformanceTester['start'](PerformanceHookEvents[_0xc38419(0x1e2)]);try{globals[_0xc38419(0x17d)](_0x4dc1a3['UodXr'],_0x310dc0[_0xc38419(0x1d2)]);const _0x15e9c9=_0x29235a[_0xc38419(0x19b)](TEST_EVENTS[_0xc38419(0x173)],_0x310dc0);CodeceptRecorder[_0xc38419(0x178)](()=>_0x29235a[_0xc38419(0x196)](TEST_EVENTS[_0xc38419(0x173)],_0x15e9c9)),CodeceptRecorder[_0xc38419(0x178)](async()=>{const _0x4513fc=_0xc38419;_0x333ab0[_0x4513fc(0x135)](isBrowserstackInfra)&&(!_0x333ab0[_0x4513fc(0x146)](isTrue,_0x169970[_0x4513fc(0x179)])&&await _0x333ab0[_0x4513fc(0x1be)](markSessionName,_0x2188d9,_0x310dc0['title']),_0x29235a[_0x4513fc(0x172)]&&await _0x333ab0['PUikB'](o11ySync,_0x2188d9));});}catch(_0x518184){const _0xa413e5={};_0xa413e5['hookType']=_0x4dc1a3[_0xc38419(0x1dc)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x518184,_0xa413e5),PerformanceTester[_0xc38419(0x1b8)](_0x518184);}const _0x2351b0={};_0x2351b0['hookType']=_0x4dc1a3['FcpDD'],PerformanceTester['end'](PerformanceHookEvents[_0xc38419(0x1e2)],!![],null,_0x2351b0);}),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1a0)][_0x3bce7b(0x15b)],_0x377372=>{const _0x56d765=_0x3bce7b;PerformanceTester[_0x56d765(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{const _0x4fd94d=_0x29235a[_0x56d765(0x19b)](TEST_EVENTS[_0x56d765(0x157)],_0x377372);CodeceptRecorder[_0x56d765(0x178)](()=>_0x29235a[_0x56d765(0x196)](TEST_EVENTS[_0x56d765(0x157)],_0x4fd94d)),CodeceptRecorder[_0x56d765(0x178)](async()=>{const _0x49d6d5=_0x56d765,_0x22bbfc={'AdEBX':function(_0xef6814,_0x2a6d14,_0x38a21a){const _0x401bfc=a1_0x35e8;return _0x4dc1a3[_0x401bfc(0x1c6)](_0xef6814,_0x2a6d14,_0x38a21a);}};_0x4dc1a3[_0x49d6d5(0x17c)](isBrowserstackInfra)&&await PerformanceTester[_0x49d6d5(0x18d)](PerformanceAutEvents[_0x49d6d5(0x15a)],async()=>{const _0x40f573=_0x49d6d5;_0xe95748?await _0x22bbfc[_0x40f573(0x1ae)](playwrightMarkSessionStatus,_0x2188d9,STATE_PASSED):await _0x22bbfc[_0x40f573(0x1ae)](markSessionStatus,_0x2188d9,STATE_PASSED);})();}),PerformanceTester[_0x56d765(0x136)](PerformanceEvents[_0x56d765(0x1ef)]);}catch(_0x33cf25){PerformanceTester[_0x56d765(0x1b8)](_0x33cf25);const _0x3117c2={};_0x3117c2['hookType']=_0x4dc1a3['AVeaS'],PerformanceTester[_0x56d765(0x136)](PerformanceHookEvents[_0x56d765(0x1e2)],![],_0x33cf25,_0x3117c2),PerformanceTester[_0x56d765(0x136)](PerformanceEvents[_0x56d765(0x1ef)],![],_0x33cf25);}const _0x33d503={};_0x33d503[_0x56d765(0x13e)]=_0x4dc1a3[_0x56d765(0x160)],PerformanceTester[_0x56d765(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x33d503);}),CodeceptJS['event'][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1a0)][_0x3bce7b(0x195)],(_0x3264dc,_0x2c5e84)=>{const _0x4e84f0=_0x3bce7b,_0xcb2475={'aPZkq':function(_0x552a95){const _0x424927=a1_0x35e8;return _0x4dc1a3[_0x424927(0x124)](_0x552a95);},'vLFUN':function(_0x484877,_0x598583,_0x12b160,_0x1fe463){const _0x49c0ba=a1_0x35e8;return _0x4dc1a3[_0x49c0ba(0x141)](_0x484877,_0x598583,_0x12b160,_0x1fe463);}};PerformanceTester[_0x4e84f0(0x1cc)](PerformanceHookEvents[_0x4e84f0(0x1e2)]);try{if(_0x4dc1a3[_0x4e84f0(0x166)](_0x3264dc[_0x4e84f0(0x180)][_0x4e84f0(0x1d6)],_0x4dc1a3[_0x4e84f0(0x12e)])){const _0x3763d8=_0x29235a[_0x4e84f0(0x19b)](TEST_EVENTS[_0x4e84f0(0x14b)],_0x3264dc[_0x4e84f0(0x139)]['currentTest']);CodeceptRecorder[_0x4e84f0(0x178)](()=>_0x29235a[_0x4e84f0(0x196)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3763d8));}else{const _0x2fe607=_0x29235a[_0x4e84f0(0x19b)](TEST_EVENTS[_0x4e84f0(0x157)],_0x3264dc,_0x2c5e84);CodeceptRecorder[_0x4e84f0(0x178)](()=>{const _0x563c45=_0x4e84f0;try{_0x29235a['fireEvent'](TEST_EVENTS[_0x563c45(0x157)],_0x2fe607);}catch(_0xcd4ff2){logger[_0x563c45(0x1f3)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x563c45(0x177)](_0xcd4ff2)),PerformanceTester['end'](PerformanceEvents[_0x563c45(0x1ef)],![],_0xcd4ff2);}}),CodeceptRecorder['add'](async()=>{const _0x347132=_0x4e84f0;try{_0xcb2475[_0x347132(0x16a)](isBrowserstackInfra)&&(_0xe95748?await _0xcb2475[_0x347132(0x171)](playwrightMarkSessionStatus,_0x2188d9,STATE_FAILED,_0x2c5e84):await _0xcb2475[_0x347132(0x171)](markSessionStatus,_0x2188d9,STATE_FAILED,_0x2c5e84));}catch(_0x56cb3f){logger[_0x347132(0x1f3)](_0x347132(0x19f)+util[_0x347132(0x177)](_0x56cb3f)),PerformanceTester[_0x347132(0x136)](PerformanceEvents[_0x347132(0x1ef)],![],_0x56cb3f);}});}PerformanceTester[_0x4e84f0(0x136)](PerformanceEvents['SDK_TEST']);}catch(_0x21d0d7){PerformanceTester[_0x4e84f0(0x1b8)](_0x21d0d7);const _0x3a10d9={};_0x3a10d9[_0x4e84f0(0x13e)]=_0x4dc1a3[_0x4e84f0(0x18f)],PerformanceTester['end'](PerformanceHookEvents[_0x4e84f0(0x1e2)],![],_0x21d0d7,_0x3a10d9),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x21d0d7);}const _0x2d7cbc={};_0x2d7cbc[_0x4e84f0(0x13e)]=_0x4dc1a3[_0x4e84f0(0x18f)],PerformanceTester[_0x4e84f0(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2d7cbc);}),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1a0)][_0x3bce7b(0x194)],_0x230b0c=>{const _0x43525e=_0x3bce7b;PerformanceTester[_0x43525e(0x1cc)](PerformanceHookEvents[_0x43525e(0x1e2)]);try{const _0x104c8a=_0x29235a[_0x43525e(0x19b)](TEST_EVENTS[_0x43525e(0x14b)],_0x230b0c);CodeceptRecorder[_0x43525e(0x178)](()=>_0x29235a['fireEvent'](TEST_EVENTS[_0x43525e(0x14b)],_0x104c8a)),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0xdcfb4f){PerformanceTester['captureError'](_0xdcfb4f),PerformanceTester[_0x43525e(0x136)](PerformanceEvents[_0x43525e(0x1ef)],![],_0xdcfb4f);const _0x2c9469={};_0x2c9469['hookType']=_0x4dc1a3[_0x43525e(0x1a6)],PerformanceTester[_0x43525e(0x136)](PerformanceHookEvents[_0x43525e(0x1e2)],![],_0xdcfb4f,_0x2c9469);}const _0x5d383={};_0x5d383['hookType']=_0x4dc1a3[_0x43525e(0x1a6)],PerformanceTester[_0x43525e(0x136)](PerformanceHookEvents[_0x43525e(0x1e2)],!![],null,_0x5d383);}),CodeceptJS['event'][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1a0)][_0x3bce7b(0x1e1)],async(_0x575aad,_0x2f9533)=>{const _0x3600c3=_0x3bce7b;try{PerformanceTester[_0x3600c3(0x1cc)](PerformanceHookEvents[_0x3600c3(0x1e2)]);if(_0x4dc1a3[_0x3600c3(0x193)](isBrowserstackInfra)){const _0x3d0b14=_0x4dc1a3[_0x3600c3(0x1aa)](shouldScanTestForAccessibility,_0x575aad[_0x3600c3(0x143)](),!![]);if(_0x4dc1a3[_0x3600c3(0x140)](isAccessibilityAutomationSession)&&global[_0x3600c3(0x149)]&&_0x3d0b14){const _0x119249={};_0x119249['thTestRunUuid']=_0x575aad[_0x3600c3(0x123)],_0x119249['thBuildUuid']=process[_0x3600c3(0x1a2)][testHubConstants[_0x3600c3(0x16d)][_0x3600c3(0x184)]],_0x119249[_0x3600c3(0x11e)]=process[_0x3600c3(0x1a2)][testHubConstants[_0x3600c3(0x16d)][_0x3600c3(0x1e7)]];const _0x52bef3=_0x119249;logger[_0x3600c3(0x1f3)](_0x3600c3(0x1a8)+JSON['stringify'](_0x52bef3)),CodeceptRecorder[_0x3600c3(0x178)](async()=>{const _0x1688b4=_0x3600c3,_0x1fb4ad={};_0x1fb4ad[_0x1688b4(0x1c8)]=_0x4dc1a3['yZapo'],await PerformanceTester[_0x1688b4(0x18d)](PerformanceA11yEvents[_0x1688b4(0x16f)],async()=>{const _0x5283f6=_0x1688b4;await AccessibilityHelper[_0x5283f6(0x1cf)](_0x2188d9,scripts['performScan']);},_0x1fb4ad)(),await PerformanceTester[_0x1688b4(0x18d)](PerformanceA11yEvents[_0x1688b4(0x12a)],async()=>{const _0x1c055e=_0x1688b4;await AccessibilityHelper[_0x1c055e(0x1cf)](_0x2188d9,scripts['saveTestResults'],_0x52bef3);})();}),logger[_0x3600c3(0x1e5)](_0x4dc1a3['rWDqi']);}}const _0x37bc3d={};_0x37bc3d['hookType']=_0x4dc1a3[_0x3600c3(0x1e8)],PerformanceTester[_0x3600c3(0x136)](PerformanceHookEvents[_0x3600c3(0x1e2)],!![],null,_0x37bc3d);}catch(_0x552a9a){PerformanceTester['captureError'](_0x552a9a);const _0x1c4569={};_0x1c4569[_0x3600c3(0x13e)]=_0x4dc1a3[_0x3600c3(0x1e8)],PerformanceTester[_0x3600c3(0x136)](PerformanceHookEvents[_0x3600c3(0x1e2)],![],_0x552a9a,_0x1c4569);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1d0)][_0x3bce7b(0x1b2)],_0x36e412=>{const _0x47589e=_0x3bce7b;PerformanceTester[_0x47589e(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x47589e(0x1d4)]('bs:addLog:'+process[_0x47589e(0x1d9)],{'timestamp':new Date()[_0x47589e(0x145)](),'level':_0x4dc1a3['jDhcK'],'message':_0x36e412,'kind':_0x4dc1a3[_0x47589e(0x15d)],'http_response':{}});}catch(_0x3a1894){PerformanceTester[_0x47589e(0x1b8)](_0x3a1894);const _0x12ef47={};_0x12ef47[_0x47589e(0x13e)]=_0x4dc1a3['Qrdpo'],PerformanceTester[_0x47589e(0x136)](PerformanceHookEvents[_0x47589e(0x1e2)],![],_0x3a1894,_0x12ef47);}const _0x42d5f2={};_0x42d5f2[_0x47589e(0x13e)]=_0x4dc1a3['Qrdpo'],PerformanceTester[_0x47589e(0x136)](PerformanceHookEvents[_0x47589e(0x1e2)],!![],null,_0x42d5f2);}),CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1c1)]['on'](CodeceptJS['event']['bddStep'][_0x3bce7b(0x182)],_0x349a32=>{const _0xb53af2=_0x3bce7b,_0x2cc37e={};_0x2cc37e[_0xb53af2(0x13e)]=_0x4dc1a3['oUoaL'],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0xb53af2(0x1e2)],()=>{const _0x3193dd=_0xb53af2;_0x29235a[_0x3193dd(0x15c)](_0x349a32);},_0x2cc37e)();}),CodeceptJS['event'][_0x3bce7b(0x1c1)]['on'](CodeceptJS[_0x3bce7b(0x1ed)][_0x3bce7b(0x1e6)]['after'],_0x49f91b=>{const _0x209d96=_0x3bce7b,_0x5ce500={};_0x5ce500['hookType']=_0x4dc1a3[_0x209d96(0x1ab)],PerformanceTester[_0x209d96(0x18d)](PerformanceHookEvents[_0x209d96(0x1e2)],()=>{const _0xeefb0a=_0x209d96;_0x29235a[_0xeefb0a(0x1d8)](_0x49f91b);},_0x5ce500)();});};
|
|
1
|
+
function a1_0xd167(){const _0x1d1b00=['testAnalyticsId','JbcLI','lwcVe','Performing\x20scan\x20for\x20','test-passed','call','patchSaveScreenshot','format','CbbaA','TEST_RUN_FINISHED','TEST_RUN_STARTED','getResults','currentTest','../../helpers/performance/performance-tester','thBuildUuid','RtcWZ','ldThq','wmkDA','cPtEk','SDK_POST_INITIALIZE','shouldWrapCommand','info','add','TEST_RUN_SKIPPED','Auqtf','event','step','hook','INFO','stopMonitoring','started','OKCsn','vcSFy','SDK_HOOK','find','class','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','performScan','test','../../helpers/performance/constants','skipSessionStatus','BROWSERSTACK_TESTHUB_UUID','filter','failed','SDK_PRE_TEST','measureWrapper','titlePath','ocVxt','fBCSI','browserstackTestName','iSjIL','overwriteCommand','setSessionStatus','test-skipped','TqKru','rZtkr','4dRCatn','hook-started','SESSION_STATUS','name','hook-passed','GInca','2165548ARObXh','HOOK_RUN_STARTED','bstackAllyScanning','end','stop','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','VrYMG','HOOK_RUN_FINISHED','slice','sflRw','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','accessibilityPlatform','bBiZW','catch','xaXnR','passed','Playwright','4326441PjdlUs','prototype','sRaug','Gldwd','executeScript','SESSION_NAME','mfBpV','bddStep','readFileSync','test-before','fDPWX','bs:addLog:','14600864IzbiAp','helpers','VxXpV','SDK_POST_TEST','after','util','bind','warn','apply','_before','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserstack_executor:\x20','setGlobal','13866017gREvOv','before','../../bin/playwright/accessibility-helper','../../helpers/accessibility-automation/helper','cMgng','debug','aTYyI','browserContext','YVEVs','hookType','pXjBe','browserStackExecuteDriver','codeceptjs/lib/index.js','codeceptjs/lib/helper/Playwright.js','emit','title','constructor','3415OoFlBL','WrtnP','CEtjY','skipSessionName','GET_RESULTS_SUMMARY','afterTest','IdZgV','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','addRequestSpy','all','__skipSessionStatus','30qgRKjr','command','axsDC','PERFORM_SCAN','stringify','QTXAg','__workerDetails','inRAI','SDK_TEST','HLxtA','thTestRunUuid','yHoNA','TestCafe','contexts','getSyncScript','comment','kusWx','SDK_PRE_INITIALIZE','thJwtToken','arguments','exports','../../helpers/test-observability/utils','skipped','restore','start','vyRek','codeceptjs/lib/helper/WebDriver.js','step-comment','toString','codeceptjs/lib/recorder.js','fbtlY','forEach','ENV_VAR','codeceptjs/lib/utils.js','browser','hAxRE','env','WebDriver','reason','toISOString','getAccessibilityResults','11050425IIZZmH','8172tpTuRA','PnRlZ','patch','../../helpers/helper','JIEYf','iHDlG','../../helpers/request-spy','pid','LcOSP','container','test-started','bddStep-after','1BaSBbb','6623736tWrQzi','LgMXZ','TEST_LOG','BROWSERSTACK_TESTHUB_JWT','../../helpers/globals.js','Suite','captureError','commandsToWrap','base64','setSessionName','../../helpers/accessibility-automation/scripts','fireEvent','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','zkPdT','Puppeteer','saveScreenshot','xevCm','captureEvent','dispatcher','ctx','codeceptjs','ZBhmI','getAccessibilityResultsSummary','initSaveScreenshot','mLnck','RGJsq','dbTZy','coHee','Bkemm','./o11yHelper','test-failed','BS_TESTOPS_ALLOW_SCREENSHOTS'];a1_0xd167=function(){return _0x1d1b00;};return a1_0xd167();}const a1_0x18cf74=a1_0x52a2;(function(_0x49aca9,_0x261370){const _0x3bad28=a1_0x52a2,_0x12064d=_0x49aca9();while(!![]){try{const _0x23bc42=-parseInt(_0x3bad28(0x15c))/0x1*(-parseInt(_0x3bad28(0x1bb))/0x2)+-parseInt(_0x3bad28(0x1cc))/0x3*(parseInt(_0x3bad28(0x1b5))/0x4)+parseInt(_0x3bad28(0x1f6))/0x5*(-parseInt(_0x3bad28(0x150))/0x6)+-parseInt(_0x3bad28(0x15d))/0x7+-parseInt(_0x3bad28(0x1d8))/0x8+parseInt(_0x3bad28(0x14f))/0x9+parseInt(_0x3bad28(0x201))/0xa*(parseInt(_0x3bad28(0x1e5))/0xb);if(_0x23bc42===_0x261370)break;else _0x12064d['push'](_0x12064d['shift']());}catch(_0xfb1302){_0x12064d['push'](_0x12064d['shift']());}}}(a1_0xd167,0xe790b));const fs=require('fs'),util=require(a1_0x18cf74(0x1dd)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x18cf74(0x153)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x18cf74(0x13b)),requestSpy=require(a1_0x18cf74(0x156)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x18cf74(0x17a)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x18cf74(0x1e8)),AccessibilityHelper=require(a1_0x18cf74(0x1e7)),scripts=require(a1_0x18cf74(0x167)),PerformanceTester=require(a1_0x18cf74(0x18a)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x18cf74(0x1a4)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x18cf74(0x161)),CodeceptJS=requireModule(a1_0x18cf74(0x1f1),a1_0x18cf74(0x171)),CodeceptUtils=requireModule(a1_0x18cf74(0x147),a1_0x18cf74(0x171)),CodeceptWebDriver=requireModule(a1_0x18cf74(0x140),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x18cf74(0x143),a1_0x18cf74(0x171)),CodeceptPlaywright=requireModule(a1_0x18cf74(0x1f2),a1_0x18cf74(0x171)),playwrightMarkSessionStatus=(_0x345a27,_0x54a212,_0x2c1261)=>{const _0x118ad9=a1_0x18cf74,_0x49ac25={'wvmtU':_0x118ad9(0x1b1),'iSjIL':function(_0x216f14,_0x5857cf){return _0x216f14(_0x5857cf);}},_0x26ab0b={};_0x26ab0b['status']=_0x54a212;const _0x34c5d0={};_0x34c5d0['action']=_0x49ac25['wvmtU'],_0x34c5d0['arguments']=_0x26ab0b;const _0x4eb71c=_0x34c5d0;return!_0x49ac25[_0x118ad9(0x1af)](isUndefined,_0x2c1261)&&(_0x4eb71c['arguments'][_0x118ad9(0x14c)]=JSON['stringify'](_0x2c1261)),_0x345a27[_0x118ad9(0x1d0)](()=>{},_0x118ad9(0x1e3)+JSON[_0x118ad9(0x205)](_0x4eb71c));},o11ySync=PerformanceTester[a1_0x18cf74(0x1aa)](PerformanceO11yEvents['SYNC'],async _0x37e06c=>{const _0x1f75cd=a1_0x18cf74,_0x531822={};_0x531822[_0x1f75cd(0x1c9)]=function(_0x4e48c3,_0x6ef108){return _0x4e48c3===_0x6ef108;},_0x531822[_0x1f75cd(0x155)]=_0x1f75cd(0x1cb);const _0x4a7d72=_0x531822;_0x4a7d72['xaXnR'](_0x37e06c['constructor'][_0x1f75cd(0x1b8)],_0x4a7d72[_0x1f75cd(0x155)])?await _0x37e06c[_0x1f75cd(0x1d0)](_0x46c5de=>{},testOpsHelper[_0x1f75cd(0x20f)]()):await _0x37e06c[_0x1f75cd(0x1d0)](testOpsHelper[_0x1f75cd(0x20f)]());}),markSessionName=PerformanceTester[a1_0x18cf74(0x1aa)](PerformanceAutEvents[a1_0x18cf74(0x1d1)],async(_0x538a25,_0x1efbb6)=>{const _0x5d84aa=a1_0x18cf74,_0x353fb8={};_0x353fb8[_0x5d84aa(0x19c)]=_0x5d84aa(0x166),_0x353fb8[_0x5d84aa(0x176)]=function(_0x5c974b,_0x168110){return _0x5c974b===_0x168110;},_0x353fb8[_0x5d84aa(0x151)]=_0x5d84aa(0x1cb);const _0xae3a3=_0x353fb8,_0xe652ed={};_0xe652ed[_0x5d84aa(0x1b8)]=_0x1efbb6;const _0x3b7eed={};_0x3b7eed['action']=_0xae3a3['OKCsn'],_0x3b7eed[_0x5d84aa(0x139)]=_0xe652ed;const _0x3a307f=_0x3b7eed;_0xae3a3[_0x5d84aa(0x176)](_0x538a25[_0x5d84aa(0x1f5)]['name'],_0xae3a3[_0x5d84aa(0x151)])?await _0x538a25[_0x5d84aa(0x1d0)](()=>{},_0x5d84aa(0x1e3)+JSON[_0x5d84aa(0x205)](_0x3a307f)):await _0x538a25[_0x5d84aa(0x1d0)]('browserstack_executor:\x20'+JSON[_0x5d84aa(0x205)](_0x3a307f));}),patchSaveScreenshot=_0x3fadb9=>{const _0x3272ac=a1_0x18cf74,_0x209852={'GInca':_0x3272ac(0x165),'PHVeR':'TEST_SCREENSHOT','cBnwx':function(_0x319a7d){return _0x319a7d();},'FIbmR':function(_0x812e3a,_0x9b80de){return _0x812e3a(_0x9b80de);}};_0x209852['FIbmR'](isTrue,process[_0x3272ac(0x14a)][_0x3272ac(0x17c)])&&!_0x3fadb9[_0x3272ac(0x183)]&&(_0x3fadb9[_0x3272ac(0x183)]=!![],_0x3fadb9[_0x3272ac(0x174)]=_0x3fadb9[_0x3272ac(0x16c)],_0x3fadb9[_0x3272ac(0x16c)]=(_0x306bb9,_0x2ba506=![])=>{const _0x3b5674=_0x3272ac,_0xe9296b={'pMSzK':_0x209852[_0x3b5674(0x1ba)],'VrYMG':_0x209852['PHVeR'],'IdZgV':function(_0x3ed9dd){return _0x209852['cBnwx'](_0x3ed9dd);}};return new Promise(function(_0xd5c76e,_0x48f44b){const _0x4ec233=_0x3b5674;_0x3fadb9[_0x4ec233(0x174)](_0x306bb9,_0x2ba506)['then'](()=>{const _0xa769ce=_0x4ec233,_0x2faf4c=CodeceptUtils['screenshotOutputFolder'](_0x306bb9),_0x3fa28d=fs[_0xa769ce(0x1d4)](_0x2faf4c);process['emit'](_0xa769ce(0x1d7)+process[_0xa769ce(0x157)],{'timestamp':new Date()[_0xa769ce(0x14d)](),'message':_0x3fa28d[_0xa769ce(0x142)](_0xe9296b['pMSzK']),'kind':_0xe9296b[_0xa769ce(0x1c1)]}),_0xe9296b[_0xa769ce(0x1fc)](_0xd5c76e);})[_0x4ec233(0x1c8)](()=>null);});});},patchWebDriverBefore=_0x414ff6=>{const _0x4865e7=a1_0x18cf74,_0x154b69={'TqKru':function(_0x3ab75d){return _0x3ab75d();},'rZtkr':function(_0x3513f5,_0x46ac96){return _0x3513f5(_0x46ac96);},'huDte':function(_0x55a8fa,_0x2a4616){return _0x55a8fa===_0x2a4616;},'swhNq':'Element'},_0x567fab=async function(_0x32d32d,_0x2379d2){const _0x3ce01c=a1_0x52a2;return _0x154b69[_0x3ce01c(0x1b3)](isAccessibilityAutomationSession)&&!global[_0x3ce01c(0x1bd)]&&global[_0x3ce01c(0x1c6)]&&scripts[_0x3ce01c(0x191)](_0x32d32d['name'])&&_0x154b69[_0x3ce01c(0x1b4)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x578092=_0x3ce01c;logger[_0x578092(0x1ea)](_0x578092(0x180)+_0x32d32d[_0x578092(0x1a0)]+'\x20'+_0x32d32d['name']),await AccessibilityHelper[_0x578092(0x1f0)](_0x414ff6,scripts[_0x578092(0x1a2)]);},{'command':_0x32d32d[_0x3ce01c(0x1b8)]})()),global[_0x3ce01c(0x1bd)]=![],_0x2379d2[_0x3ce01c(0x1e0)](this,Array[_0x3ce01c(0x1cd)][_0x3ce01c(0x1c3)][_0x3ce01c(0x182)](arguments,0x2));},_0x52654a=CodeceptWebDriver[_0x4865e7(0x1cd)][_0x4865e7(0x1e1)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x4df0e0=_0x4865e7,_0x2c9e6b={'icuwR':function(_0x1736d1,_0x45a8dc){return _0x154b69['huDte'](_0x1736d1,_0x45a8dc);},'JIEYf':_0x154b69['swhNq']};await _0x52654a[_0x4df0e0(0x1e0)](this,arguments),scripts[_0x4df0e0(0x164)][_0x4df0e0(0x1a7)](_0x392ce8=>_0x392ce8['name']&&_0x392ce8[_0x4df0e0(0x1a0)])[_0x4df0e0(0x145)](_0x2fd975=>{const _0x21ae8a=_0x4df0e0;this['browser'][_0x21ae8a(0x1b0)](_0x2fd975[_0x21ae8a(0x1b8)],_0x567fab[_0x21ae8a(0x1de)](this,_0x2fd975),_0x2c9e6b['icuwR'](_0x2fd975[_0x21ae8a(0x1a0)],_0x2c9e6b[_0x21ae8a(0x154)]));}),_0x154b69[_0x4df0e0(0x1b4)](processWebDriverConfig,_0x414ff6);};},patchPlaywrightBefore=()=>{const _0x47764f=a1_0x18cf74;PlaywrightSessionDetails[_0x47764f(0x152)]();const _0x3ac6c6=CodeceptPlaywright[_0x47764f(0x1cd)][_0x47764f(0x1e1)];CodeceptPlaywright['prototype'][_0x47764f(0x1e1)]=async function(){const _0x75a7eb=_0x47764f;this[_0x75a7eb(0x1ec)]=await this[_0x75a7eb(0x148)][_0x75a7eb(0x20e)]()[0x0],await _0x3ac6c6[_0x75a7eb(0x1e0)](this,arguments);};},getCodeceptDriver=()=>{const _0x4d4911=a1_0x18cf74,_0x207547={};_0x207547[_0x4d4911(0x17f)]=_0x4d4911(0x14b),_0x207547[_0x4d4911(0x172)]=_0x4d4911(0x1cb),_0x207547['sRaug']=_0x4d4911(0x16b),_0x207547[_0x4d4911(0x16a)]=_0x4d4911(0x20d);const _0x791845=_0x207547,_0x303f33=[_0x791845[_0x4d4911(0x17f)],_0x791845[_0x4d4911(0x172)],_0x791845[_0x4d4911(0x1ce)],_0x791845[_0x4d4911(0x16a)]],_0x1779f3=_0x303f33[_0x4d4911(0x19f)](_0x49f423=>!!CodeceptJS[_0x4d4911(0x159)][_0x4d4911(0x1d9)](_0x49f423));if(!_0x1779f3)return null;return CodeceptJS[_0x4d4911(0x159)][_0x4d4911(0x1d9)](_0x1779f3);};function a1_0x52a2(_0x55a20a,_0x5bff65){const _0xd1674b=a1_0xd167();return a1_0x52a2=function(_0x52a277,_0x12ba51){_0x52a277=_0x52a277-0x136;let _0xfb0db0=_0xd1674b[_0x52a277];return _0xfb0db0;},a1_0x52a2(_0x55a20a,_0x5bff65);}module[a1_0x18cf74(0x13a)]=function(_0x175db2){const _0x3b32ba=a1_0x18cf74,_0x13bf42={'mfBpV':function(_0x2a8076){return _0x2a8076();},'sflRw':function(_0x2ffd1d,_0x21cd6f){return _0x2ffd1d(_0x21cd6f);},'aTYyI':'getAccessibilityResultsSummary','kusWx':_0x3b32ba(0x169),'yHoNA':_0x3b32ba(0x14e),'azTUP':_0x3b32ba(0x1c0),'ocVxt':function(_0x182820,_0x5f3a5a){return _0x182820(_0x5f3a5a);},'vcSFy':_0x3b32ba(0x1b6),'wmkDA':_0x3b32ba(0x1b9),'fBCSI':'hook-failed','cMgng':_0x3b32ba(0x1ae),'HLxtA':function(_0x5d6968){return _0x5d6968();},'ldThq':_0x3b32ba(0x1d5),'Auqtf':function(_0x445653){return _0x445653();},'inRAI':function(_0x5abdfa,_0x3ac9a1,_0x24f010){return _0x5abdfa(_0x3ac9a1,_0x24f010);},'axsDC':function(_0x3bf082,_0x2bea55){return _0x3bf082(_0x2bea55);},'LgMXZ':_0x3b32ba(0x15a),'VxXpV':function(_0x277a7d,_0x391fcd,_0x3cfc33){return _0x277a7d(_0x391fcd,_0x3cfc33);},'fDPWX':function(_0x469c7c,_0xd9ebf2,_0x4668bd){return _0x469c7c(_0xd9ebf2,_0x4668bd);},'RtcWZ':_0x3b32ba(0x181),'kMCpE':function(_0x440986,_0x5e995e,_0x2312fb,_0x29f924){return _0x440986(_0x5e995e,_0x2312fb,_0x29f924);},'QTXAg':function(_0x13e19c,_0x1b613b){return _0x13e19c===_0x1b613b;},'fbtlY':_0x3b32ba(0x162),'coHee':_0x3b32ba(0x17b),'aTxMw':_0x3b32ba(0x1b2),'WrtnP':_0x3b32ba(0x1fb),'cPtEk':_0x3b32ba(0x1a1),'mLnck':'test-after','WMuXy':_0x3b32ba(0x199),'CbbaA':_0x3b32ba(0x15f),'bBiZW':_0x3b32ba(0x141),'dbTZy':'bddStep-before','vyRek':_0x3b32ba(0x15b),'CEtjY':function(_0x1a8c9d){return _0x1a8c9d();},'hAxRE':_0x3b32ba(0x1cb)};_0x175db2[_0x3b32ba(0x1a5)]&&(global[_0x3b32ba(0x200)]=_0x175db2[_0x3b32ba(0x1a5)]);PerformanceTester['startMonitoring']();const _0x41f829=_0x13bf42[_0x3b32ba(0x1f8)](getCodeceptDriver),_0x4866ba=new O11yHelper(_0x41f829,_0x175db2),_0x4ccd6e=!!CodeceptJS[_0x3b32ba(0x159)][_0x3b32ba(0x1d9)](_0x13bf42[_0x3b32ba(0x149)]);global['__driver']=_0x41f829,_0x41f829&&(PerformanceTester[_0x3b32ba(0x1aa)](PerformanceEvents[_0x3b32ba(0x137)],()=>{const _0x4529df=_0x3b32ba;_0x4ccd6e?_0x13bf42[_0x4529df(0x1d2)](patchPlaywrightBefore):_0x13bf42[_0x4529df(0x1c4)](patchWebDriverBefore,_0x41f829);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x3b32ba(0x190)],()=>{const _0x1cb78b=_0x3b32ba,_0x5bdfa6={};_0x5bdfa6[_0x1cb78b(0x179)]=_0x13bf42[_0x1cb78b(0x20c)],_0x5bdfa6[_0x1cb78b(0x158)]=_0x13bf42['azTUP'];const _0x57e47d=_0x5bdfa6;_0x41f829[_0x1cb78b(0x173)]=async()=>{const _0x3d362f=_0x1cb78b;if(global[_0x3d362f(0x1c6)]){const _0x5b62f4={};_0x5b62f4[_0x3d362f(0x202)]=_0x13bf42[_0x3d362f(0x1eb)],await PerformanceTester[_0x3d362f(0x1aa)](PerformanceA11yEvents[_0x3d362f(0x204)],async()=>{const _0x586fe5=_0x3d362f;await AccessibilityHelper[_0x586fe5(0x1f0)](_0x41f829,scripts[_0x586fe5(0x1a2)]);},_0x5b62f4)(),await PerformanceTester[_0x3d362f(0x1aa)](PerformanceA11yEvents[_0x3d362f(0x1fa)],async()=>{const _0x5ba1bc=_0x3d362f;await AccessibilityHelper[_0x5ba1bc(0x1f0)](_0x41f829,scripts['getResultsSummary']);})();}else return logger[_0x3d362f(0x1df)](_0x13bf42[_0x3d362f(0x136)]),{};},_0x41f829[_0x1cb78b(0x14e)]=async()=>{const _0x4c4e14=_0x1cb78b;if(global[_0x4c4e14(0x1c6)]){const _0x12402c={};_0x12402c[_0x4c4e14(0x202)]=_0x57e47d[_0x4c4e14(0x179)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x43c696=_0x4c4e14;await AccessibilityHelper[_0x43c696(0x1f0)](_0x41f829,scripts[_0x43c696(0x1a2)]);},_0x12402c)(),await PerformanceTester[_0x4c4e14(0x1aa)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0xf43bdd=_0x4c4e14;await AccessibilityHelper[_0xf43bdd(0x1f0)](_0x41f829,scripts[_0xf43bdd(0x188)]);})();}else return logger['warn'](_0x57e47d[_0x4c4e14(0x158)]),{};},_0x13bf42[_0x1cb78b(0x1ac)](patchSaveScreenshot,_0x41f829);})()),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)]['all'][_0x3b32ba(0x1e6)],()=>{const _0x127032=_0x3b32ba;PerformanceTester[_0x127032(0x13e)](PerformanceEvents[_0x127032(0x1a9)]);try{_0x4866ba[_0x127032(0x13e)](),testOpsHelper[_0x127032(0x1fe)](),PerformanceTester[_0x127032(0x1be)](PerformanceEvents[_0x127032(0x1a9)]);}catch(_0x5b34d9){PerformanceTester['captureError'](_0x5b34d9),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x5b34d9);}}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x1ff)][_0x3b32ba(0x1dc)],async()=>{const _0x456bda=_0x3b32ba;PerformanceTester['start'](PerformanceEvents[_0x456bda(0x1db)]);try{requestSpy[_0x456bda(0x13d)](),await _0x4866ba[_0x456bda(0x1bf)](),PerformanceTester[_0x456bda(0x1be)](PerformanceEvents[_0x456bda(0x1db)]);}catch(_0x563978){PerformanceTester['captureError'](_0x563978),PerformanceTester[_0x456bda(0x1be)](PerformanceEvents[_0x456bda(0x1db)],![],_0x563978);}finally{PerformanceTester[_0x456bda(0x19a)]();}}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x198)][_0x3b32ba(0x19b)],_0x25bf84=>{const _0x2c891d=_0x3b32ba;PerformanceTester[_0x2c891d(0x13e)](PerformanceEvents[_0x2c891d(0x19e)]);try{const _0x473196=_0x25bf84[_0x2c891d(0x170)][_0x2c891d(0x1a3)],_0x515e44=_0x4866ba[_0x2c891d(0x16e)](TEST_EVENTS[_0x2c891d(0x1bc)],_0x473196);CodeceptRecorder[_0x2c891d(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS[_0x2c891d(0x1bc)],_0x515e44));const _0x4a53e9={};_0x4a53e9[_0x2c891d(0x1ee)]=_0x13bf42['vcSFy'],PerformanceTester[_0x2c891d(0x1be)](PerformanceEvents[_0x2c891d(0x19e)],!![],null,_0x4a53e9);}catch(_0x2dd6ff){const _0x57af2c={};_0x57af2c[_0x2c891d(0x1ee)]=_0x13bf42[_0x2c891d(0x19d)],PerformanceTester[_0x2c891d(0x1be)](PerformanceEvents[_0x2c891d(0x19e)],![],_0x2dd6ff,_0x57af2c),PerformanceTester[_0x2c891d(0x163)](_0x2dd6ff);}}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x198)][_0x3b32ba(0x1ca)],_0x178b7c=>{const _0x26d5a1=_0x3b32ba,_0x50449a={};_0x50449a[_0x26d5a1(0x1ee)]=_0x13bf42[_0x26d5a1(0x18e)],PerformanceTester[_0x26d5a1(0x13e)](PerformanceHookEvents[_0x26d5a1(0x19e)],!![],null,_0x50449a);try{const _0x5791b5=_0x178b7c['ctx'][_0x26d5a1(0x1a3)],_0x2a1796=_0x4866ba['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5791b5);CodeceptRecorder[_0x26d5a1(0x193)](()=>_0x4866ba[_0x26d5a1(0x168)](TEST_EVENTS[_0x26d5a1(0x1c2)],_0x2a1796));const _0x1bdc49={};_0x1bdc49[_0x26d5a1(0x1ee)]=_0x13bf42[_0x26d5a1(0x18e)],PerformanceTester[_0x26d5a1(0x1be)](PerformanceHookEvents[_0x26d5a1(0x19e)],!![],null,_0x1bdc49);}catch(_0x8baa83){PerformanceTester[_0x26d5a1(0x163)](_0x8baa83);const _0x341df2={};_0x341df2[_0x26d5a1(0x1ee)]=_0x13bf42[_0x26d5a1(0x18e)],PerformanceTester['end'](PerformanceHookEvents[_0x26d5a1(0x19e)],![],_0x8baa83,_0x341df2);}}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x198)][_0x3b32ba(0x1a8)],async(_0x5a7b7f,_0x4e147a)=>{const _0x50cfe1=_0x3b32ba;PerformanceTester[_0x50cfe1(0x13e)](PerformanceHookEvents['SDK_HOOK']);try{const _0x1a2b11=_0x5a7b7f[_0x50cfe1(0x170)][_0x50cfe1(0x1a3)],_0x48135c=_0x4866ba[_0x50cfe1(0x16e)](TEST_EVENTS[_0x50cfe1(0x1c2)],_0x1a2b11,_0x4e147a);CodeceptRecorder[_0x50cfe1(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS[_0x50cfe1(0x1c2)],_0x48135c));const _0x13264c={};_0x13264c['hookType']=_0x13bf42[_0x50cfe1(0x1ad)],PerformanceTester[_0x50cfe1(0x13e)](PerformanceHookEvents[_0x50cfe1(0x19e)],!![],null,_0x13264c);}catch(_0x18a53e){PerformanceTester['captureError'](_0x18a53e);const _0x461f56={};_0x461f56['hookType']=_0x13bf42['fBCSI'],PerformanceTester[_0x50cfe1(0x1be)](PerformanceHookEvents[_0x50cfe1(0x19e)],![],_0x18a53e,_0x461f56);}const _0x1cc8ca={};_0x1cc8ca[_0x50cfe1(0x1ee)]=_0x13bf42[_0x50cfe1(0x1ad)],PerformanceTester[_0x50cfe1(0x1be)](PerformanceHookEvents[_0x50cfe1(0x19e)],!![],null,_0x1cc8ca);}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x1a3)][_0x3b32ba(0x1e6)],_0x290d91=>{const _0xcbdcc0=_0x3b32ba;PerformanceTester[_0xcbdcc0(0x13e)](PerformanceHookEvents[_0xcbdcc0(0x19e)]);try{globals[_0xcbdcc0(0x1e4)](_0x13bf42['cMgng'],_0x290d91[_0xcbdcc0(0x1f4)]);_0x13bf42[_0xcbdcc0(0x20a)](isBrowserstackInfra)&&(_0x4ccd6e&&(global[_0xcbdcc0(0x207)]={'currentTest':{'name':_0x290d91['title'],'testInfo':{'titlePath':_0x290d91[_0xcbdcc0(0x1ab)]()}}}));const _0x2c2475={};_0x2c2475[_0xcbdcc0(0x1ee)]=_0x13bf42[_0xcbdcc0(0x18d)],PerformanceTester['end'](PerformanceHookEvents[_0xcbdcc0(0x19e)],!![],null,_0x2c2475);}catch(_0x3f166f){PerformanceTester[_0xcbdcc0(0x163)](_0x3f166f);const _0x1b802f={};_0x1b802f[_0xcbdcc0(0x1ee)]=_0x13bf42[_0xcbdcc0(0x18d)],PerformanceTester[_0xcbdcc0(0x1be)](PerformanceHookEvents[_0xcbdcc0(0x19e)],![],_0x3f166f,_0x1b802f);}}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x1a3)][_0x3b32ba(0x19b)],_0x30dcb9=>{const _0x559608=_0x3b32ba;PerformanceTester[_0x559608(0x13e)](PerformanceHookEvents[_0x559608(0x19e)]);try{globals['setGlobal'](_0x13bf42[_0x559608(0x1e9)],_0x30dcb9[_0x559608(0x1f4)]);const _0x2b65d3=_0x4866ba[_0x559608(0x16e)](TEST_EVENTS[_0x559608(0x187)],_0x30dcb9);CodeceptRecorder[_0x559608(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x2b65d3)),CodeceptRecorder['add'](async()=>{const _0x40e0ba=_0x559608;_0x13bf42['Auqtf'](isBrowserstackInfra)&&(!_0x13bf42['ocVxt'](isTrue,_0x175db2[_0x40e0ba(0x1f9)])&&await _0x13bf42[_0x40e0ba(0x208)](markSessionName,_0x41f829,_0x30dcb9[_0x40e0ba(0x1f4)]),_0x4866ba['enabled']&&await _0x13bf42[_0x40e0ba(0x203)](o11ySync,_0x41f829));});}catch(_0x58cad2){const _0x1fc165={};_0x1fc165[_0x559608(0x1ee)]=_0x13bf42[_0x559608(0x15e)],PerformanceTester[_0x559608(0x1be)](PerformanceHookEvents[_0x559608(0x19e)],![],_0x58cad2,_0x1fc165),PerformanceTester[_0x559608(0x163)](_0x58cad2);}const _0x128236={};_0x128236['hookType']=_0x13bf42[_0x559608(0x15e)],PerformanceTester[_0x559608(0x1be)](PerformanceHookEvents[_0x559608(0x19e)],!![],null,_0x128236);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1a3)][_0x3b32ba(0x1ca)],_0x12ee35=>{const _0x511812=_0x3b32ba,_0x39ed21={'QEHZZ':function(_0x356042,_0x2d7fde,_0x16b01a){const _0x2fbc1d=a1_0x52a2;return _0x13bf42[_0x2fbc1d(0x1da)](_0x356042,_0x2d7fde,_0x16b01a);},'pXjBe':function(_0x188ed9,_0x3be73c,_0x3c90e0){const _0x103f00=a1_0x52a2;return _0x13bf42[_0x103f00(0x1d6)](_0x188ed9,_0x3be73c,_0x3c90e0);},'YVEVs':function(_0x274b38){const _0x259919=a1_0x52a2;return _0x13bf42[_0x259919(0x195)](_0x274b38);}};PerformanceTester[_0x511812(0x13e)](PerformanceHookEvents[_0x511812(0x19e)]);try{const _0x52d9d5=_0x4866ba['captureEvent'](TEST_EVENTS[_0x511812(0x186)],_0x12ee35);CodeceptRecorder['add'](()=>_0x4866ba[_0x511812(0x168)](TEST_EVENTS[_0x511812(0x186)],_0x52d9d5)),CodeceptRecorder['add'](async()=>{const _0x17b43e=_0x511812,_0x4db436={'Gldwd':function(_0x5263b1,_0x2d2925,_0x151107){return _0x39ed21['QEHZZ'](_0x5263b1,_0x2d2925,_0x151107);},'LSyxW':function(_0x4137a8,_0x156ded,_0x399b21){const _0x15c662=a1_0x52a2;return _0x39ed21[_0x15c662(0x1ef)](_0x4137a8,_0x156ded,_0x399b21);}};_0x39ed21[_0x17b43e(0x1ed)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x17b43e(0x1b7)],async()=>{const _0x4536c4=_0x17b43e;_0x4ccd6e?await _0x4db436[_0x4536c4(0x1cf)](playwrightMarkSessionStatus,_0x41f829,STATE_PASSED):await _0x4db436['LSyxW'](markSessionStatus,_0x41f829,STATE_PASSED);})();}),PerformanceTester[_0x511812(0x1be)](PerformanceEvents[_0x511812(0x209)]);}catch(_0x4ac8b2){PerformanceTester[_0x511812(0x163)](_0x4ac8b2);const _0x384019={};_0x384019[_0x511812(0x1ee)]=_0x13bf42[_0x511812(0x18c)],PerformanceTester[_0x511812(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x4ac8b2,_0x384019),PerformanceTester[_0x511812(0x1be)](PerformanceEvents['SDK_TEST'],![],_0x4ac8b2);}const _0x328b24={};_0x328b24[_0x511812(0x1ee)]=_0x13bf42[_0x511812(0x18c)],PerformanceTester[_0x511812(0x1be)](PerformanceHookEvents[_0x511812(0x19e)],!![],null,_0x328b24);}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1a3)]['failed'],(_0x299c47,_0x570979)=>{const _0x163adb=_0x3b32ba,_0x553d0d={'JbcLI':function(_0x5c3497){return _0x13bf42['mfBpV'](_0x5c3497);},'CjSro':function(_0x7cfc1e,_0x1b9d8f,_0x4d631e,_0x52491e){return _0x13bf42['kMCpE'](_0x7cfc1e,_0x1b9d8f,_0x4d631e,_0x52491e);}};PerformanceTester[_0x163adb(0x13e)](PerformanceHookEvents[_0x163adb(0x19e)]);try{if(_0x13bf42[_0x163adb(0x206)](_0x299c47[_0x163adb(0x1f5)]['name'],_0x13bf42[_0x163adb(0x144)])){const _0xb981aa=_0x4866ba[_0x163adb(0x16e)](TEST_EVENTS[_0x163adb(0x194)],_0x299c47[_0x163adb(0x170)][_0x163adb(0x189)]);CodeceptRecorder[_0x163adb(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xb981aa));}else{const _0x16b2e6=_0x4866ba[_0x163adb(0x16e)](TEST_EVENTS[_0x163adb(0x186)],_0x299c47,_0x570979);CodeceptRecorder['add'](()=>{const _0x3603c4=_0x163adb;try{_0x4866ba[_0x3603c4(0x168)](TEST_EVENTS[_0x3603c4(0x186)],_0x16b2e6);}catch(_0x44fbc4){logger[_0x3603c4(0x1ea)](_0x3603c4(0x1fd)+util[_0x3603c4(0x184)](_0x44fbc4)),PerformanceTester[_0x3603c4(0x1be)](PerformanceEvents[_0x3603c4(0x209)],![],_0x44fbc4);}}),CodeceptRecorder['add'](async()=>{const _0x10c785=_0x163adb;try{_0x553d0d[_0x10c785(0x17e)](isBrowserstackInfra)&&(_0x4ccd6e?await _0x553d0d['CjSro'](playwrightMarkSessionStatus,_0x41f829,STATE_FAILED,_0x570979):await _0x553d0d['CjSro'](markSessionStatus,_0x41f829,STATE_FAILED,_0x570979));}catch(_0x397a9a){logger[_0x10c785(0x1ea)](_0x10c785(0x1c5)+util[_0x10c785(0x184)](_0x397a9a)),PerformanceTester[_0x10c785(0x1be)](PerformanceEvents['SDK_TEST'],![],_0x397a9a);}});}PerformanceTester[_0x163adb(0x1be)](PerformanceEvents[_0x163adb(0x209)]);}catch(_0x5d24ca){PerformanceTester['captureError'](_0x5d24ca);const _0x2354cf={};_0x2354cf[_0x163adb(0x1ee)]=_0x13bf42[_0x163adb(0x178)],PerformanceTester[_0x163adb(0x1be)](PerformanceHookEvents[_0x163adb(0x19e)],![],_0x5d24ca,_0x2354cf),PerformanceTester[_0x163adb(0x1be)](PerformanceEvents[_0x163adb(0x209)],![],_0x5d24ca);}const _0x6e9b80={};_0x6e9b80[_0x163adb(0x1ee)]=_0x13bf42[_0x163adb(0x178)],PerformanceTester[_0x163adb(0x1be)](PerformanceHookEvents[_0x163adb(0x19e)],!![],null,_0x6e9b80);}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1a3)][_0x3b32ba(0x13c)],_0x27276f=>{const _0x306cb7=_0x3b32ba;PerformanceTester[_0x306cb7(0x13e)](PerformanceHookEvents[_0x306cb7(0x19e)]);try{const _0x19b09c=_0x4866ba[_0x306cb7(0x16e)](TEST_EVENTS[_0x306cb7(0x194)],_0x27276f);CodeceptRecorder[_0x306cb7(0x193)](()=>_0x4866ba[_0x306cb7(0x168)](TEST_EVENTS[_0x306cb7(0x194)],_0x19b09c)),PerformanceTester[_0x306cb7(0x1be)](PerformanceEvents[_0x306cb7(0x209)]);}catch(_0x4c1e43){PerformanceTester[_0x306cb7(0x163)](_0x4c1e43),PerformanceTester[_0x306cb7(0x1be)](PerformanceEvents[_0x306cb7(0x209)],![],_0x4c1e43);const _0x476b1d={};_0x476b1d[_0x306cb7(0x1ee)]=_0x13bf42['aTxMw'],PerformanceTester[_0x306cb7(0x1be)](PerformanceHookEvents[_0x306cb7(0x19e)],![],_0x4c1e43,_0x476b1d);}const _0xfe07e3={};_0xfe07e3[_0x306cb7(0x1ee)]=_0x13bf42['aTxMw'],PerformanceTester[_0x306cb7(0x1be)](PerformanceHookEvents[_0x306cb7(0x19e)],!![],null,_0xfe07e3);}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS['event'][_0x3b32ba(0x1a3)][_0x3b32ba(0x1dc)],async(_0x31eec0,_0x4a6551)=>{const _0x2a8e72=_0x3b32ba,_0x71accf={};_0x71accf[_0x2a8e72(0x16d)]=_0x13bf42[_0x2a8e72(0x1f7)];const _0x5ab82a=_0x71accf;try{PerformanceTester[_0x2a8e72(0x13e)](PerformanceHookEvents[_0x2a8e72(0x19e)]);if(_0x13bf42[_0x2a8e72(0x1d2)](isBrowserstackInfra)){const _0x4e770d=_0x13bf42[_0x2a8e72(0x1d6)](shouldScanTestForAccessibility,_0x31eec0['titlePath'](),!![]);if(_0x13bf42[_0x2a8e72(0x1d2)](isAccessibilityAutomationSession)&&global[_0x2a8e72(0x1c6)]&&_0x4e770d){const _0x2dec99={};_0x2dec99[_0x2a8e72(0x20b)]=_0x31eec0[_0x2a8e72(0x17d)],_0x2dec99[_0x2a8e72(0x18b)]=process['env'][testHubConstants[_0x2a8e72(0x146)][_0x2a8e72(0x1a6)]],_0x2dec99[_0x2a8e72(0x138)]=process['env'][testHubConstants[_0x2a8e72(0x146)][_0x2a8e72(0x160)]];const _0x502b5e=_0x2dec99;logger[_0x2a8e72(0x1ea)](_0x2a8e72(0x1e2)+JSON[_0x2a8e72(0x205)](_0x502b5e)),CodeceptRecorder[_0x2a8e72(0x193)](async()=>{const _0x2b2688=_0x2a8e72,_0x1e3b14={};_0x1e3b14[_0x2b2688(0x202)]=_0x5ab82a['xevCm'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2b2688(0x204)],async()=>{const _0x24f24a=_0x2b2688;await AccessibilityHelper[_0x24f24a(0x1f0)](_0x41f829,scripts[_0x24f24a(0x1a2)]);},_0x1e3b14)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xec1f0b=_0x2b2688;await AccessibilityHelper[_0xec1f0b(0x1f0)](_0x41f829,scripts['saveTestResults'],_0x502b5e);})();}),logger[_0x2a8e72(0x192)](_0x13bf42[_0x2a8e72(0x18f)]);}}const _0x383e6a={};_0x383e6a[_0x2a8e72(0x1ee)]=_0x13bf42[_0x2a8e72(0x175)],PerformanceTester[_0x2a8e72(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x383e6a);}catch(_0x4a5f6e){PerformanceTester[_0x2a8e72(0x163)](_0x4a5f6e);const _0x2215f1={};_0x2215f1[_0x2a8e72(0x1ee)]=_0x13bf42['mLnck'],PerformanceTester[_0x2a8e72(0x1be)](PerformanceHookEvents[_0x2a8e72(0x19e)],![],_0x4a5f6e,_0x2215f1);}}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x197)][_0x3b32ba(0x210)],_0xec5adb=>{const _0x49f99e=_0x3b32ba;PerformanceTester[_0x49f99e(0x13e)](PerformanceHookEvents[_0x49f99e(0x19e)]);try{process[_0x49f99e(0x1f3)](_0x49f99e(0x1d7)+process[_0x49f99e(0x157)],{'timestamp':new Date()['toISOString'](),'level':_0x13bf42['WMuXy'],'message':_0xec5adb,'kind':_0x13bf42[_0x49f99e(0x185)],'http_response':{}});}catch(_0x4be7d6){PerformanceTester[_0x49f99e(0x163)](_0x4be7d6);const _0x2fa687={};_0x2fa687[_0x49f99e(0x1ee)]=_0x13bf42[_0x49f99e(0x1c7)],PerformanceTester[_0x49f99e(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x4be7d6,_0x2fa687);}const _0x2fcf5c={};_0x2fcf5c[_0x49f99e(0x1ee)]=_0x13bf42[_0x49f99e(0x1c7)],PerformanceTester[_0x49f99e(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2fcf5c);}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1d3)][_0x3b32ba(0x1e6)],_0x2d7108=>{const _0xb3ba45=_0x3b32ba,_0x464ff1={};_0x464ff1[_0xb3ba45(0x1ee)]=_0x13bf42[_0xb3ba45(0x177)],PerformanceTester[_0xb3ba45(0x1aa)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x4866ba['bddStepStart'](_0x2d7108);},_0x464ff1)();}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1d3)][_0x3b32ba(0x1dc)],_0x45cac5=>{const _0x2f0023=_0x3b32ba,_0x20ecbb={};_0x20ecbb['hookType']=_0x13bf42[_0x2f0023(0x13f)],PerformanceTester[_0x2f0023(0x1aa)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x4866ba['bddStepFinish'](_0x45cac5);},_0x20ecbb)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0xc7b174=a2_0x26d5;(function(_0x535a18,_0x426c74){const _0x28c70b=a2_0x26d5,_0x509fe2=_0x535a18();while(!![]){try{const _0x57663b=parseInt(_0x28c70b(0x1ad))/0x1*(-parseInt(_0x28c70b(0x1f8))/0x2)+parseInt(_0x28c70b(0x20b))/0x3*(parseInt(_0x28c70b(0x1fe))/0x4)+parseInt(_0x28c70b(0x1cd))/0x5*(-parseInt(_0x28c70b(0x1c5))/0x6)+-parseInt(_0x28c70b(0x1d0))/0x7*(parseInt(_0x28c70b(0x184))/0x8)+parseInt(_0x28c70b(0x1a4))/0x9+parseInt(_0x28c70b(0x1d7))/0xa*(-parseInt(_0x28c70b(0x210))/0xb)+parseInt(_0x28c70b(0x207))/0xc*(parseInt(_0x28c70b(0x203))/0xd);if(_0x57663b===_0x426c74)break;else _0x509fe2['push'](_0x509fe2['shift']());}catch(_0x33acad){_0x509fe2['push'](_0x509fe2['shift']());}}}(a2_0x39ec,0x3d69a));const fs=require('fs'),path=require(a2_0xc7b174(0x18b)),util=require(a2_0xc7b174(0x213)),process=require(a2_0xc7b174(0x183)),logger=require('../../helpers/logger')[a2_0xc7b174(0x18c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0xc7b174(0x1a8)),utilities=require(a2_0xc7b174(0x1ea)),{checkAccessibilityPlatformConfig}=require(a2_0xc7b174(0x1f4)),{setAccessibilityCapabilities}=require(a2_0xc7b174(0x1dd)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0xc7b174(0x1a8)),CodeceptJS=requireModule(a2_0xc7b174(0x1f5),a2_0xc7b174(0x1b7)),testOpsHelper=require(a2_0xc7b174(0x218)),TestHubHandler=require(a2_0xc7b174(0x1cc)),constants=require(a2_0xc7b174(0x1fd)),PerformanceTester=require(a2_0xc7b174(0x1eb)),PerformanceEvents=require(a2_0xc7b174(0x21c))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x55094b,_0xeae02)=>{const _0x78d0d4=a2_0xc7b174,_0x169d0f={};_0x169d0f['mGTCD']=function(_0x5c503b,_0x2d1640){return _0x5c503b===_0x2d1640;},_0x169d0f['gUcik']=_0x78d0d4(0x19d),_0x169d0f[_0x78d0d4(0x1b8)]='codecept.json';const _0x348a0f=_0x169d0f;let _0x5c08ae=null;const _0x48d88f={};let _0x41e272=_0xeae02[_0x78d0d4(0x1d6)](_0x248d12=>_0x248d12===_0x78d0d4(0x1e5));_0x348a0f[_0x78d0d4(0x1ae)](_0x41e272,-0x1)&&(_0x41e272=_0xeae02['findIndex'](_0x5dd393=>_0x5dd393==='-c'));if(!helper[_0x78d0d4(0x1d8)](_0x55094b[_0x78d0d4(0x20d)])&&fs[_0x78d0d4(0x1e6)](path['join'](process['cwd'](),_0x55094b[_0x78d0d4(0x20d)])))_0x5c08ae=path[_0x78d0d4(0x1ba)](process[_0x78d0d4(0x1f7)](),_0x55094b[_0x78d0d4(0x20d)]),_0xeae02['slice'](_0x41e272,0x2);else{if(!helper['isUndefined'](_0x55094b['c'])&&fs['existsSync'](path[_0x78d0d4(0x1ba)](process[_0x78d0d4(0x1f7)](),_0x55094b['c'])))_0x5c08ae=path[_0x78d0d4(0x1ba)](process[_0x78d0d4(0x1f7)](),_0x55094b['c']),_0xeae02[_0x78d0d4(0x1a9)](_0x41e272,0x2);else{if(fs['existsSync'](path['join'](process[_0x78d0d4(0x1f7)](),_0x348a0f[_0x78d0d4(0x1ed)])))_0x5c08ae=path[_0x78d0d4(0x1ba)](process[_0x78d0d4(0x1f7)](),_0x348a0f['gUcik']);else fs[_0x78d0d4(0x1e6)](path[_0x78d0d4(0x1ba)](process[_0x78d0d4(0x1f7)](),_0x348a0f[_0x78d0d4(0x1b8)]))&&(_0x5c08ae=path[_0x78d0d4(0x1ba)](process[_0x78d0d4(0x1f7)](),_0x348a0f[_0x78d0d4(0x1b8)]));}}return process[_0x78d0d4(0x19b)][_0x78d0d4(0x19e)]=_0x5c08ae,_0x5c08ae;},getO11yRerunPattern=()=>{const _0x4aa5b0=a2_0xc7b174,_0x459018=helper[_0x4aa5b0(0x190)](process[_0x4aa5b0(0x19b)][_0x4aa5b0(0x197)]);if(_0x459018){const _0x6e78bb=process[_0x4aa5b0(0x19b)][_0x4aa5b0(0x1b0)],_0x4cf307=[];if(helper[_0x4aa5b0(0x1a5)](_0x6e78bb)&&!helper[_0x4aa5b0(0x1d8)](_0x6e78bb)){_0x6e78bb[_0x4aa5b0(0x19a)](',')[_0x4aa5b0(0x1e9)](_0x34fb04=>{const _0x5e25db=_0x4aa5b0;_0x4cf307[_0x5e25db(0x1c8)]('('+_0x34fb04[_0x5e25db(0x20e)]()+')');});const _0x43ee61='^'+_0x4cf307['join']('|')+'$';return _0x43ee61;}}return null;},a2_0x551c6c={};a2_0x551c6c['chrome']=a2_0xc7b174(0x1bd),a2_0x551c6c[a2_0xc7b174(0x200)]=a2_0xc7b174(0x1bd),a2_0x551c6c[a2_0xc7b174(0x1b3)]=a2_0xc7b174(0x214),a2_0x551c6c[a2_0xc7b174(0x1f0)]=a2_0xc7b174(0x20a);function a2_0x39ec(){const _0x34987c=['mGTCD','WebDriver','BROWSERSTACK_RERUN_TESTS','addTests','log','playwright-firefox','useW3C','ntOzD','stringify','codeceptjs','ViVWP','skipSessionStatus','join','MbOad','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chromium','mergeDeep','-cucumber','spawn','launchBuild','ezHyB','frameworkName','validPlatformsPresent','30NVjsvY','iEPOk','3|0|1|5|4|2','push','vdzaa','NVZGM','REcLp','../../helpers/testhub/testhubHandler','244610FwuZpG','BROWSERSTACK_TEST_OBSERVABILITY_YML','load','21eGwDXp','qHpAy','info','helpers','MATwM','forEach','findIndex','5890qTisnN','isUndefined','stop','BrowserStackPlugin.js','parallelsPerPlatform','Passed\x20:\x20','../../bin/playwright/accessibility-helper','bootstrapAll','MtXKT','YTuOT','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','errorMessage','getPlatformName','BROWSERSTACK_TEST_ACCESSIBILITY_YML','--config','existsSync','Workers','debug','map','../../helpers/utilities','../../helpers/performance/performance-tester','createGroupsOfSuites','gUcik','dirname','title','playwright-webkit','Failed\x20:\x20','failed','length','../../helpers/accessibility-automation/helper','codeceptjs/lib/index.js','isTestObservabilitySession','cwd','2kFROgw','skipSessionName','handleApp','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Playwright','../utils/constants','673412oSeeYl','GiCgK','playwright-chromium','testConfig','getPlaywrightUrl','984932cXaeHQ','FRAMEWORKS','chdir','gherkin','12RoTybb','run','browser','webkit','6ZKpbAS','BrowserStackPlugin','config','trim','fZvCv','11xVeUBu','CODECEPT','root','util','firefox','GgwLK','ckzYM','XIuVA','../../helpers/test-observability/utils','iMVlB','testContextOptions','profile','../../helpers/performance/constants','printBuildLink','desiredCapabilities','process','461112gUbwWZ','plUSc','exports','toLowerCase','setAdditionalCapabilities','passed','lCFDA','path','winstonLogger','SDK_SETUP','accessibility','browserName','isTrue','EiUBM','prepareCapabilities','event','mrdEb','accessibilityOptions','browserWSEndpoint','BROWSERSTACK_RERUN','GSRmr','aBzrN','split','env','Sdbfe','codecept.conf.js','USER_CONFIG_DETAILS_PATH','plugins','SDK_CLEANUP','result','testObservability','err','2639475aGweTA','validateRerunTestList','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','before','../../helpers/helper','slice','printResults','GHWLj','test','36083KorSGI'];a2_0x39ec=function(){return _0x34987c;};return a2_0x39ec();}const pwToCodeceptBrowser=a2_0x551c6c;async function run(_0x5fb94c,_0x439ee9){const _0xd0e8cd=a2_0xc7b174,_0x1f2b1c={'aBzrN':function(_0x5276fb,_0x28c425){return _0x5276fb+_0x28c425;},'Sdbfe':function(_0x29609b,_0x12dea4){return _0x29609b(_0x12dea4);},'mrdEb':function(_0x1d4b63,_0xd36035){return _0x1d4b63+_0xd36035;},'ezHyB':function(_0x55fdfa,_0xff5d9f,_0x29db9a){return _0x55fdfa(_0xff5d9f,_0x29db9a);},'GgwLK':_0xd0e8cd(0x1d3),'XIuVA':function(_0x40b421){return _0x40b421();},'plUSc':function(_0x181213){return _0x181213();},'iGuap':_0xd0e8cd(0x1f1),'ckzYM':_0xd0e8cd(0x1dc),'NVZGM':'Started\x20:\x20','FlLcE':_0xd0e8cd(0x1c7),'REcLp':_0xd0e8cd(0x1b7),'MbOad':function(_0x41f43f,_0x4993f6,_0xc124a0){return _0x41f43f(_0x4993f6,_0xc124a0);},'lCFDA':_0xd0e8cd(0x1a6),'EiUBM':'Playwright','pOmAy':_0xd0e8cd(0x1af),'GHWLj':function(_0x57d430,_0x223ff5){return _0x57d430!=_0x223ff5;},'GSRmr':function(_0x147b0d,_0x35bbe1){return _0x147b0d===_0x35bbe1;},'qHpAy':_0xd0e8cd(0x206),'ntOzD':_0xd0e8cd(0x1bf),'GiCgK':function(_0x4f1371,_0x125505){return _0x4f1371(_0x125505);},'MVGtY':function(_0x141182,_0x4791f4){return _0x141182*_0x4791f4;},'YTuOT':function(_0xec2d,_0x5cf511,_0xf15440){return _0xec2d(_0x5cf511,_0xf15440);},'GkiWX':_0xd0e8cd(0x209),'iEPOk':function(_0x5255a7,_0x21a6d5,_0x2824c5){return _0x5255a7(_0x21a6d5,_0x2824c5);},'MATwM':_0xd0e8cd(0x21e),'SivCG':function(_0x31996d,_0x31549c,_0x3fc3eb){return _0x31996d(_0x31549c,_0x3fc3eb);},'vdzaa':_0xd0e8cd(0x212),'fZvCv':_0xd0e8cd(0x1da),'iMVlB':'browserStackCwd','MtXKT':function(_0xe4cb92){return _0xe4cb92();}},_0x45af37=new BrowserStackSetup(_0x5fb94c,_0x1f2b1c[_0xd0e8cd(0x1cb)]);await _0x45af37['initialize'](),await helper[_0xd0e8cd(0x1fa)](_0x45af37[_0xd0e8cd(0x20d)]);if(!_0x45af37[_0xd0e8cd(0x20d)])return;process[_0xd0e8cd(0x21b)]=_0x5fb94c[_0xd0e8cd(0x21b)];_0x5fb94c[_0xd0e8cd(0x21b)]&&(process['env'][_0xd0e8cd(0x21b)]=_0x5fb94c[_0xd0e8cd(0x21b)]);const _0x120cd6=_0x1f2b1c[_0xd0e8cd(0x1bb)](getUserCodeceptJSConfigs,_0x5fb94c,_0x439ee9);let _0x50ffcc={};_0x120cd6?(logger[_0xd0e8cd(0x1d2)](_0xd0e8cd(0x1fb)+_0x120cd6),_0x50ffcc=CodeceptJS[_0xd0e8cd(0x20d)][_0xd0e8cd(0x1cf)](_0x120cd6)):logger[_0xd0e8cd(0x1d2)](_0x1f2b1c[_0xd0e8cd(0x18a)]);let _0x3dcdce=![];_0x1f2b1c[_0xd0e8cd(0x1bb)](nestedKeyValue,_0x50ffcc,[_0x1f2b1c['GgwLK'],_0x1f2b1c['EiUBM']])&&(_0x3dcdce=!![]);const _0x258d9c=_0x3dcdce?_0x1f2b1c[_0xd0e8cd(0x191)]:_0x1f2b1c['pOmAy'];let _0x2d1cfe=!_0x3dcdce?helper[_0xd0e8cd(0x1b4)](_0x45af37[_0xd0e8cd(0x20d)]):![];!helper[_0xd0e8cd(0x1d8)](_0x45af37[_0xd0e8cd(0x20d)][_0xd0e8cd(0x195)])&&(process[_0xd0e8cd(0x19b)][_0xd0e8cd(0x1bc)]=JSON[_0xd0e8cd(0x1b6)](_0x45af37['config'][_0xd0e8cd(0x195)]));let _0xa84c4b=_0x45af37['config'][_0xd0e8cd(0x18e)];_0xa84c4b=_0xa84c4b||_0x1f2b1c[_0xd0e8cd(0x19c)](checkAccessibilityPlatformConfig,_0x45af37[_0xd0e8cd(0x20d)]),process[_0xd0e8cd(0x19b)][_0xd0e8cd(0x1e4)]=_0xa84c4b;_0xa84c4b&&(_0x2d1cfe=!_0xa84c4b);_0x1f2b1c[_0xd0e8cd(0x1ab)](_0x45af37[_0xd0e8cd(0x20d)][_0xd0e8cd(0x1a2)],null)?process[_0xd0e8cd(0x19b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x45af37[_0xd0e8cd(0x20d)][_0xd0e8cd(0x1a2)]:process[_0xd0e8cd(0x19b)][_0xd0e8cd(0x1ce)]=_0x1f2b1c[_0xd0e8cd(0x198)](_0x258d9c,_0x1f2b1c[_0xd0e8cd(0x191)]);const _0x2a586f=_0x1f2b1c[_0xd0e8cd(0x199)](_0x1f2b1c[_0xd0e8cd(0x1cb)],_0x1f2b1c[_0xd0e8cd(0x1bb)](nestedKeyValue,_0x50ffcc,[_0x1f2b1c[_0xd0e8cd(0x1d1)]])?_0x1f2b1c[_0xd0e8cd(0x1b5)]:''),_0xf276a0=await TestHubHandler[_0xd0e8cd(0x1c1)](_0x2a586f,_0x45af37);_0xa84c4b&&_0x1f2b1c[_0xd0e8cd(0x1ff)](setAccessibilityCapabilities,_0x45af37[_0xd0e8cd(0x20d)]);const _0x32e5b9={},_0xa90acf=[],_0x24d6c9=_0x45af37[_0xd0e8cd(0x20d)][_0xd0e8cd(0x1db)]||helper['getUserWorkerCount'](_0x5fb94c,_0x439ee9,_0x45af37[_0xd0e8cd(0x20d)],constants[_0xd0e8cd(0x204)][_0xd0e8cd(0x211)])||0x1;let _0x233738=0x1;if(_0x1f2b1c[_0xd0e8cd(0x185)](isBrowserstackInfra)){const _0x36cae4=helper[_0xd0e8cd(0x192)](_0x45af37[_0xd0e8cd(0x20d)],_0x2d1cfe,constants[_0xd0e8cd(0x204)]['CODECEPT']);_0x36cae4[_0xd0e8cd(0x1d5)](_0x4e1d0e=>{const _0x4de60d=_0xd0e8cd;helper[_0x4de60d(0x188)](_0x4e1d0e);}),helper[_0xd0e8cd(0x1c4)](_0x45af37[_0xd0e8cd(0x20d)])?_0x233738=_0x1f2b1c['MVGtY'](_0x24d6c9,_0x45af37[_0xd0e8cd(0x20d)]['platforms'][_0xd0e8cd(0x1f3)]):_0x233738=_0x24d6c9,_0x36cae4['forEach'](_0x6ff6a2=>{const _0x5ed727=_0xd0e8cd,_0x1a7b38=_0x1f2b1c[_0x5ed727(0x194)](helper[_0x5ed727(0x1e3)](_0x6ff6a2,'_'),'_'+Date['now']()),_0x57240d=((()=>{const _0x4a0c01=_0x5ed727;if(_0x3dcdce){const _0x8a91b5=pwToCodeceptBrowser[_0x6ff6a2[_0x4a0c01(0x18f)]]||_0x6ff6a2[_0x4a0c01(0x18f)];return{'browser':_0x8a91b5,[_0x8a91b5]:{'browserWSEndpoint':_0x1f2b1c[_0x4a0c01(0x199)](helper[_0x4a0c01(0x202)](_0x45af37[_0x4a0c01(0x20d)]),_0x1f2b1c[_0x4a0c01(0x19c)](encodeURIComponent,JSON[_0x4a0c01(0x1b6)](_0x6ff6a2)))}};}const _0x5d66fe={};return _0x5d66fe[_0x4a0c01(0x21e)]=_0x6ff6a2,_0x5d66fe;})()),_0x3e41c5=_0x1f2b1c[_0x5ed727(0x1c2)](nestedKeyValue,_0x50ffcc,[_0x1f2b1c[_0x5ed727(0x215)],_0x258d9c]);_0x32e5b9[_0x1a7b38]=_0x3e41c5?helper[_0x5ed727(0x1be)](_0x57240d,_0x3e41c5):_0x57240d,!_0x3dcdce&&(_0x32e5b9[_0x1a7b38][_0x5ed727(0x209)]=_0x6ff6a2[_0x5ed727(0x18f)]||_0x57240d[_0x5ed727(0x209)]),_0xa90acf[_0x5ed727(0x1c8)](_0x1a7b38);});}else{_0x233738=0x1;if(_0x3dcdce){const _0xa9ca26=_0x1f2b1c[_0xd0e8cd(0x1e0)](nestedKeyValue,_0x50ffcc,[_0x1f2b1c[_0xd0e8cd(0x215)],_0x258d9c,_0x1f2b1c['GkiWX']]),_0x56b7ef=_0x1f2b1c[_0xd0e8cd(0x1c6)](nestedKeyValue,_0x50ffcc,[_0x1f2b1c[_0xd0e8cd(0x215)],_0x258d9c,_0xa9ca26]);_0x56b7ef&&_0x56b7ef[_0xd0e8cd(0x196)]&&(_0x56b7ef['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x2a586f[_0xd0e8cd(0x187)](),null,null,_0x56b7ef[_0xd0e8cd(0x196)]));}else _0x50ffcc[_0x1f2b1c['GgwLK']][_0x258d9c][_0x1f2b1c[_0xd0e8cd(0x1d4)]]=helper[_0xd0e8cd(0x192)](null,null,_0x2a586f[_0xd0e8cd(0x187)](),_0x1f2b1c['SivCG'](nestedKeyValue,_0x50ffcc,[_0x1f2b1c['GgwLK'],_0x258d9c,_0x1f2b1c[_0xd0e8cd(0x1d4)]]),null,null);_0x32e5b9[_0x1f2b1c[_0xd0e8cd(0x1c9)]]=_0x50ffcc,_0xa90acf[_0xd0e8cd(0x1c8)](_0x1f2b1c[_0xd0e8cd(0x1c9)]);}const _0x532854={};_0x532854[_0xd0e8cd(0x201)]=_0x120cd6;const _0x4d5b4d=_0x532854,_0x479ac1=path[_0xd0e8cd(0x1ba)](__dirname,_0x1f2b1c[_0xd0e8cd(0x20f)]),_0x5d6660=process[_0xd0e8cd(0x1f7)]();process[_0xd0e8cd(0x19b)][_0x1f2b1c[_0xd0e8cd(0x219)]]=_0x5d6660,process[_0xd0e8cd(0x205)](path[_0xd0e8cd(0x1ee)](_0x120cd6));const _0x5c1c1d=new CodeceptJS[(_0xd0e8cd(0x1e7))](null,_0x4d5b4d),_0x112d1f=_0x5c1c1d[_0xd0e8cd(0x1ec)](_0x233738),_0x3d1fb4=testOpsHelper[_0xd0e8cd(0x1f6)](),_0x3968ca=_0xa90acf['map'](_0x1bc4e1=>{const _0x1d30ef=_0xd0e8cd,_0x55a3db={};_0x55a3db[_0x1d30ef(0x1fc)]=_0x32e5b9[_0x1bc4e1];const _0x5e6315={};_0x5e6315['WebDriver']=_0x32e5b9[_0x1bc4e1];const _0x154e61=_0x3dcdce?_0x55a3db:_0x5e6315,_0x55e2df=_0x1f2b1c[_0x1d30ef(0x217)](getO11yRerunPattern),_0x58ffe8={};_0x58ffe8['helpers']=_0x154e61;const _0x1cd596={};_0x1cd596['require']=_0x479ac1,_0x1cd596['enabled']=!![],_0x1cd596[_0x1d30ef(0x1f9)]=_0x45af37[_0x1d30ef(0x20d)][_0x1d30ef(0x21a)]['skipSessionName'],_0x1cd596['skipSessionStatus']=_0x45af37[_0x1d30ef(0x20d)]['testContextOptions'][_0x1d30ef(0x1b9)],_0x1cd596[_0x1d30ef(0x1a2)]=_0x3d1fb4,_0x1cd596[_0x1d30ef(0x1c3)]=_0x2a586f;const _0x1e167f={};_0x1e167f[_0x1d30ef(0x20c)]=_0x1cd596;const _0x25170c={};return _0x25170c[_0x1d30ef(0x19f)]=_0x1e167f,helper['mergeDeep']({},_0x50ffcc,_0x1f2b1c[_0x1d30ef(0x185)](isBrowserstackInfra)?_0x58ffe8:{},_0x55e2df?{'grep':_0x55e2df}:{},_0x25170c);});for(const _0x211f1c of _0x3968ca){for(const _0x20797d of _0x112d1f){const _0x1cbada=_0x5c1c1d[_0xd0e8cd(0x1c0)]();_0x1cbada[_0xd0e8cd(0x1b1)](_0x20797d),_0x1cbada['addConfig'](_0x211f1c);}}_0x5c1c1d['on'](CodeceptJS[_0xd0e8cd(0x193)]['test'][_0xd0e8cd(0x1f2)],(_0x28698d,_0x3ead99)=>{const _0x1e1da7=_0xd0e8cd;console[_0x1e1da7(0x1b2)](_0x1f2b1c['iGuap'],_0x28698d[_0x1e1da7(0x1ef)]);const _0x18df51={[_0x28698d[_0x1e1da7(0x1ef)]]:_0x28698d[_0x1e1da7(0x1a3)]['stack']};_testErrorData['push'](_0x18df51);}),_0x5c1c1d['on'](CodeceptJS[_0xd0e8cd(0x193)][_0xd0e8cd(0x1ac)][_0xd0e8cd(0x189)],async _0x368864=>{const _0x5592b4=_0xd0e8cd;console[_0x5592b4(0x1b2)](_0x1f2b1c[_0x5592b4(0x216)],_0x368864['title']);}),_0x5c1c1d['on'](CodeceptJS['event'][_0xd0e8cd(0x1ac)][_0xd0e8cd(0x1a7)],async _0x5d7542=>{const _0x43fa4c=_0xd0e8cd;console['log'](_0x1f2b1c[_0x43fa4c(0x1ca)],_0x5d7542[_0x43fa4c(0x1ef)]);}),_0x5c1c1d['on'](CodeceptJS[_0xd0e8cd(0x193)]['all'][_0xd0e8cd(0x1a1)],async()=>{const _0x521242=_0xd0e8cd,_0x22a702=_0x1f2b1c['FlLcE']['split']('|');let _0x33b318=0x0;while(!![]){switch(_0x22a702[_0x33b318++]){case'0':_0x45af37[_0x521242(0x1e2)]=_testErrorData;continue;case'1':testOpsHelper[_0x521242(0x21d)]();continue;case'2':_0x5c1c1d[_0x521242(0x1aa)]();continue;case'3':PerformanceTester['start'](PerformanceEvents[_0x521242(0x1a0)]);continue;case'4':try{await TestHubHandler[_0x521242(0x1d9)]();}catch(_0x3187af){logger[_0x521242(0x1e8)](_0x521242(0x1e1)+util['format'](_0x3187af));}continue;case'5':utilities['finalExecution'](_0x45af37);continue;}break;}});async function _0x140e0f(){const _0x54dfa4=_0xd0e8cd;try{await _0x5c1c1d[_0x54dfa4(0x1de)](),await _0x5c1c1d[_0x54dfa4(0x208)]();}finally{process[_0x54dfa4(0x205)](_0x5d6660),await _0x5c1c1d['teardownAll']();}}PerformanceTester['end'](PerformanceEvents[_0xd0e8cd(0x18d)]),_0x1f2b1c[_0xd0e8cd(0x1df)](_0x140e0f);}function a2_0x26d5(_0x504d45,_0x35984a){const _0x39ecf5=a2_0x39ec();return a2_0x26d5=function(_0x26d5b5,_0x3b5ccb){_0x26d5b5=_0x26d5b5-0x183;let _0x553f31=_0x39ecf5[_0x26d5b5];return _0x553f31;},a2_0x26d5(_0x504d45,_0x35984a);}module[a2_0xc7b174(0x186)]=run;
|
|
2
|
+
'use strict';const a2_0x316118=a2_0x1cfc;(function(_0x258909,_0x53fd8c){const _0x2e9047=a2_0x1cfc,_0x1b656c=_0x258909();while(!![]){try{const _0x4f41db=-parseInt(_0x2e9047(0x1b9))/0x1+-parseInt(_0x2e9047(0x1cc))/0x2+parseInt(_0x2e9047(0x19d))/0x3+-parseInt(_0x2e9047(0x1d9))/0x4*(parseInt(_0x2e9047(0x1a6))/0x5)+parseInt(_0x2e9047(0x1e1))/0x6+parseInt(_0x2e9047(0x1f2))/0x7+-parseInt(_0x2e9047(0x1be))/0x8*(-parseInt(_0x2e9047(0x1f8))/0x9);if(_0x4f41db===_0x53fd8c)break;else _0x1b656c['push'](_0x1b656c['shift']());}catch(_0x5d6b73){_0x1b656c['push'](_0x1b656c['shift']());}}}(a2_0xe2d8,0xeec09));const fs=require('fs'),path=require(a2_0x316118(0x1a8)),util=require(a2_0x316118(0x1e4)),process=require(a2_0x316118(0x199)),logger=require(a2_0x316118(0x1e7))[a2_0x316118(0x224)],{default:BrowserStackSetup}=require(a2_0x316118(0x20e)),helper=require('../../helpers/helper'),utilities=require(a2_0x316118(0x20c)),{checkAccessibilityPlatformConfig}=require(a2_0x316118(0x1ea)),{setAccessibilityCapabilities}=require(a2_0x316118(0x1b5)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x316118(0x22e)),CodeceptJS=requireModule(a2_0x316118(0x21f),a2_0x316118(0x1e8)),testOpsHelper=require(a2_0x316118(0x1e6)),TestHubHandler=require(a2_0x316118(0x1c1)),constants=require(a2_0x316118(0x1a2)),PerformanceTester=require(a2_0x316118(0x19f)),PerformanceEvents=require(a2_0x316118(0x225))[a2_0x316118(0x1ae)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x337df3,_0x2b5f14)=>{const _0x44bf31=a2_0x316118,_0x141553={};_0x141553['pLjME']=function(_0x42c7f6,_0x33cd62){return _0x42c7f6===_0x33cd62;},_0x141553[_0x44bf31(0x1ff)]=_0x44bf31(0x1aa),_0x141553[_0x44bf31(0x1f1)]=_0x44bf31(0x214);const _0x427962=_0x141553;let _0x2aee08=null;const _0x1738cb={};let _0x399370=_0x2b5f14[_0x44bf31(0x20a)](_0xaf8882=>_0xaf8882===_0x44bf31(0x226));_0x427962[_0x44bf31(0x207)](_0x399370,-0x1)&&(_0x399370=_0x2b5f14[_0x44bf31(0x20a)](_0x32568b=>_0x32568b==='-c'));if(!helper['isUndefined'](_0x337df3[_0x44bf31(0x213)])&&fs['existsSync'](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x337df3[_0x44bf31(0x213)])))_0x2aee08=path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x337df3[_0x44bf31(0x213)]),_0x2b5f14[_0x44bf31(0x228)](_0x399370,0x2);else{if(!helper[_0x44bf31(0x201)](_0x337df3['c'])&&fs[_0x44bf31(0x195)](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x337df3['c'])))_0x2aee08=path[_0x44bf31(0x216)](process['cwd'](),_0x337df3['c']),_0x2b5f14[_0x44bf31(0x228)](_0x399370,0x2);else{if(fs[_0x44bf31(0x195)](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x427962[_0x44bf31(0x1ff)])))_0x2aee08=path['join'](process['cwd'](),_0x427962[_0x44bf31(0x1ff)]);else fs[_0x44bf31(0x195)](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x427962[_0x44bf31(0x1f1)]))&&(_0x2aee08=path['join'](process[_0x44bf31(0x1b7)](),_0x427962['NeLCC']));}}return process[_0x44bf31(0x1ba)]['USER_CONFIG_DETAILS_PATH']=_0x2aee08,_0x2aee08;},getO11yRerunPattern=()=>{const _0x57db72=a2_0x316118,_0x272060=helper[_0x57db72(0x1a5)](process[_0x57db72(0x1ba)][_0x57db72(0x229)]);if(_0x272060){const _0x3b8c3a=process[_0x57db72(0x1ba)]['BROWSERSTACK_RERUN_TESTS'],_0x18f972=[];if(helper[_0x57db72(0x1fd)](_0x3b8c3a)&&!helper[_0x57db72(0x201)](_0x3b8c3a)){_0x3b8c3a['split'](',')[_0x57db72(0x1d2)](_0x44bcfd=>{const _0x23ec0c=_0x57db72;_0x18f972[_0x23ec0c(0x21d)]('('+_0x44bcfd[_0x23ec0c(0x1e3)]()+')');});const _0x461a12='^'+_0x18f972[_0x57db72(0x216)]('|')+'$';return _0x461a12;}}return null;},a2_0x2ab2dc={};a2_0x2ab2dc[a2_0x316118(0x1c5)]=a2_0x316118(0x1d7),a2_0x2ab2dc[a2_0x316118(0x1e0)]=a2_0x316118(0x1d7),a2_0x2ab2dc[a2_0x316118(0x1df)]=a2_0x316118(0x1c2),a2_0x2ab2dc[a2_0x316118(0x202)]='webkit';function a2_0xe2d8(){const _0x40b2ef=['SDK_SETUP','useW3C','printBuildLink','map','WebDriver','StWEt','-cucumber','gherkin','chromium','bmgeT','12hArfUY','eNfQp','testObservability','finalExecution','chdir','lPEpb','playwright-firefox','playwright-chromium','5005518zRDzFj','Failed\x20:\x20','trim','util','stringify','../../helpers/test-observability/utils','../../helpers/logger','codeceptjs','profile','../../helpers/accessibility-automation/helper','tIjMs','HNjnm','BrowserStackPlugin','browserName','format','BrowserStackPlugin.js','NeLCC','7422079cVFydm','ZnXwB','TWkGP','parallelsPerPlatform','validPlatformsPresent','setAdditionalCapabilities','3627pzjUUa','skipSessionName','luEza','KfcWt','vwufI','validateRerunTestList','browserStackCwd','qnCVN','skipSessionStatus','isUndefined','playwright-webkit','XDTJd','info','load','toLowerCase','pLjME','stop','zzbFZ','findIndex','bootstrapAll','../../helpers/utilities','test','../../helpers/BrowserStackSetup','vrMka','launchBuild','FRAMEWORKS','PykDV','config','codecept.json','KnOmh','join','testContextOptions','AiaAR','spawn','forEach','browserWSEndpoint','exports','push','handleApp','codeceptjs/lib/index.js','now','teardownAll','addTests','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','winstonLogger','../../helpers/performance/constants','--config','before','slice','BROWSERSTACK_RERUN','accessibilityOptions','event','Passed\x20:\x20','Playwright','../../helpers/helper','Started\x20:\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','existsSync','BROWSERSTACK_TEST_OBSERVABILITY_YML','createGroupsOfSuites','require','process','getPlaywrightUrl','isTestObservabilitySession','pKBQd','395703MIlCur','helpers','../../helpers/performance/performance-tester','title','0|4|2|1|5|3','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_YML','passed','isTrue','2528705YgvEID','Jhkeh','path','accessibility','codecept.conf.js','CODECEPT','dirname','log','EVENTS','ChgLb','end','hlojm','length','err','platforms','../../bin/playwright/accessibility-helper','testConfig','cwd','prepareCapabilities','1646049sGFXMD','env','getUserWorkerCount','debug','browser','68808DUsjFk','stack','mHKBm','../../helpers/testhub/testhubHandler','firefox','root','addConfig','chrome','TISub','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','tgGat','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SFqGG','desiredCapabilities','2702906iohqaF','LoCij','errorMessage'];a2_0xe2d8=function(){return _0x40b2ef;};return a2_0xe2d8();}const pwToCodeceptBrowser=a2_0x2ab2dc;function a2_0x1cfc(_0x5828cf,_0xabe4a9){const _0xe2d81=a2_0xe2d8();return a2_0x1cfc=function(_0x1cfcaf,_0xd25335){_0x1cfcaf=_0x1cfcaf-0x195;let _0x14e4f0=_0xe2d81[_0x1cfcaf];return _0x14e4f0;},a2_0x1cfc(_0x5828cf,_0xabe4a9);}async function run(_0x1845f0,_0x144858){const _0x3e9eea=a2_0x316118,_0x5599d8={'mHKBm':function(_0x13a583,_0x55b638){return _0x13a583+_0x55b638;},'HdeQX':function(_0x461e79,_0x10c955){return _0x461e79(_0x10c955);},'hlojm':function(_0x2010e5,_0x571b2c,_0x1eb51e){return _0x2010e5(_0x571b2c,_0x1eb51e);},'vwufI':'helpers','TWkGP':function(_0x49f70a){return _0x49f70a();},'RKwMN':function(_0x450b76){return _0x450b76();},'XDTJd':_0x3e9eea(0x1e2),'vrMka':_0x3e9eea(0x22c),'ehXas':_0x3e9eea(0x22f),'bmgeT':_0x3e9eea(0x1a1),'ZnXwB':'codeceptjs','AiaAR':function(_0x11190b,_0x252c7b,_0x2f0ce2){return _0x11190b(_0x252c7b,_0x2f0ce2);},'tIjMs':_0x3e9eea(0x223),'KnOmh':_0x3e9eea(0x22d),'KfcWt':'WebDriver','pKBQd':function(_0x4ab704,_0x201430){return _0x4ab704!=_0x201430;},'dMLXg':function(_0xb477b5,_0x2e8461){return _0xb477b5===_0x2e8461;},'KcHyh':function(_0x2b26a8,_0x3e7800){return _0x2b26a8+_0x3e7800;},'ChgLb':function(_0x59c67b,_0x95a633,_0x15b825){return _0x59c67b(_0x95a633,_0x15b825);},'lPEpb':_0x3e9eea(0x1d6),'HNjnm':_0x3e9eea(0x1d5),'Jhkeh':function(_0x2a21ac,_0x147695){return _0x2a21ac(_0x147695);},'LoCij':function(_0x431f39,_0x55cf51){return _0x431f39*_0x55cf51;},'zzbFZ':'browser','TISub':'desiredCapabilities','eNfQp':function(_0x3cc506,_0x4d0927,_0x47a21f){return _0x3cc506(_0x4d0927,_0x47a21f);},'luEza':_0x3e9eea(0x1c3),'PykDV':_0x3e9eea(0x1f0),'SFqGG':_0x3e9eea(0x1fe),'ULFqx':function(_0x46180e){return _0x46180e();}},_0x198a84=new BrowserStackSetup(_0x1845f0,_0x5599d8['ZnXwB']);await _0x198a84['initialize'](),await helper[_0x3e9eea(0x21e)](_0x198a84[_0x3e9eea(0x213)]);if(!_0x198a84['config'])return;process[_0x3e9eea(0x1e9)]=_0x1845f0[_0x3e9eea(0x1e9)];_0x1845f0[_0x3e9eea(0x1e9)]&&(process[_0x3e9eea(0x1ba)][_0x3e9eea(0x1e9)]=_0x1845f0['profile']);const _0x34fa59=_0x5599d8[_0x3e9eea(0x218)](getUserCodeceptJSConfigs,_0x1845f0,_0x144858);let _0x4174a7={};_0x34fa59?(logger[_0x3e9eea(0x204)](_0x3e9eea(0x1c7)+_0x34fa59),_0x4174a7=CodeceptJS[_0x3e9eea(0x213)][_0x3e9eea(0x205)](_0x34fa59)):logger[_0x3e9eea(0x204)](_0x5599d8[_0x3e9eea(0x1eb)]);let _0x70bfe5=![];_0x5599d8[_0x3e9eea(0x1b1)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1fc)],_0x5599d8[_0x3e9eea(0x215)]])&&(_0x70bfe5=!![]);const _0x127937=_0x70bfe5?_0x5599d8[_0x3e9eea(0x215)]:_0x5599d8[_0x3e9eea(0x1fb)];let _0xc09019=!_0x70bfe5?helper[_0x3e9eea(0x1d0)](_0x198a84['config']):![];!helper['isUndefined'](_0x198a84['config'][_0x3e9eea(0x22a)])&&(process[_0x3e9eea(0x1ba)][_0x3e9eea(0x1c9)]=JSON[_0x3e9eea(0x1e5)](_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x22a)]));let _0x139e6e=_0x198a84['config'][_0x3e9eea(0x1a9)];_0x139e6e=_0x139e6e||_0x5599d8['HdeQX'](checkAccessibilityPlatformConfig,_0x198a84[_0x3e9eea(0x213)]),process[_0x3e9eea(0x1ba)][_0x3e9eea(0x1a3)]=_0x139e6e;_0x139e6e&&(_0xc09019=!_0x139e6e);_0x5599d8[_0x3e9eea(0x19c)](_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x1db)],null)?process[_0x3e9eea(0x1ba)][_0x3e9eea(0x196)]=_0x198a84[_0x3e9eea(0x213)]['testObservability']:process[_0x3e9eea(0x1ba)][_0x3e9eea(0x196)]=_0x5599d8['dMLXg'](_0x127937,_0x5599d8[_0x3e9eea(0x215)]);const _0x579d2d=_0x5599d8['KcHyh'](_0x5599d8[_0x3e9eea(0x1f3)],_0x5599d8[_0x3e9eea(0x1af)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1de)]])?_0x5599d8[_0x3e9eea(0x1ec)]:''),_0x2a5d9e=await TestHubHandler[_0x3e9eea(0x210)](_0x579d2d,_0x198a84);_0x139e6e&&_0x5599d8[_0x3e9eea(0x1a7)](setAccessibilityCapabilities,_0x198a84[_0x3e9eea(0x213)]);const _0x3ed386={},_0x2ceddb=[],_0x690bcc=_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x1f5)]||helper[_0x3e9eea(0x1bb)](_0x1845f0,_0x144858,_0x198a84[_0x3e9eea(0x213)],constants[_0x3e9eea(0x211)]['CODECEPT'])||0x1;let _0x369187=0x1;if(_0x5599d8[_0x3e9eea(0x1f4)](isBrowserstackInfra)){const _0x17125c=helper[_0x3e9eea(0x1b8)](_0x198a84[_0x3e9eea(0x213)],_0xc09019,constants[_0x3e9eea(0x211)][_0x3e9eea(0x1ab)]);_0x17125c[_0x3e9eea(0x21a)](_0x25012b=>{const _0x19d30c=_0x3e9eea;helper[_0x19d30c(0x1f7)](_0x25012b);}),helper[_0x3e9eea(0x1f6)](_0x198a84[_0x3e9eea(0x213)])?_0x369187=_0x5599d8[_0x3e9eea(0x1cd)](_0x690bcc,_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x1b4)][_0x3e9eea(0x1b2)]):_0x369187=_0x690bcc,_0x17125c[_0x3e9eea(0x21a)](_0xac1bcd=>{const _0x1a66be=_0x3e9eea,_0x5781b1={'tgGat':function(_0x177da2,_0x4c1175){const _0xf194ca=a2_0x1cfc;return _0x5599d8[_0xf194ca(0x1c0)](_0x177da2,_0x4c1175);},'StWEt':function(_0x7c8d9a,_0x263422){return _0x5599d8['HdeQX'](_0x7c8d9a,_0x263422);}},_0xd400cc=_0x5599d8[_0x1a66be(0x1c0)](helper['getPlatformName'](_0xac1bcd,'_'),'_'+Date[_0x1a66be(0x220)]()),_0x13c309=((()=>{const _0x1168ad=_0x1a66be;if(_0x70bfe5){const _0x53e233=pwToCodeceptBrowser[_0xac1bcd[_0x1168ad(0x1ee)]]||_0xac1bcd[_0x1168ad(0x1ee)];return{'browser':_0x53e233,[_0x53e233]:{'browserWSEndpoint':_0x5781b1[_0x1168ad(0x1c8)](helper[_0x1168ad(0x19a)](_0x198a84[_0x1168ad(0x213)]),_0x5781b1[_0x1168ad(0x1d4)](encodeURIComponent,JSON[_0x1168ad(0x1e5)](_0xac1bcd)))}};}const _0x3be453={};return _0x3be453[_0x1168ad(0x1cb)]=_0xac1bcd,_0x3be453;})()),_0x6a7e81=_0x5599d8[_0x1a66be(0x1b1)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x1a66be(0x1fc)],_0x127937]);_0x3ed386[_0xd400cc]=_0x6a7e81?helper['mergeDeep'](_0x13c309,_0x6a7e81):_0x13c309,!_0x70bfe5&&(_0x3ed386[_0xd400cc]['browser']=_0xac1bcd[_0x1a66be(0x1ee)]||_0x13c309[_0x1a66be(0x1bd)]),_0x2ceddb[_0x1a66be(0x21d)](_0xd400cc);});}else{_0x369187=0x1;if(_0x70bfe5){const _0x4bdaa1=_0x5599d8[_0x3e9eea(0x218)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1fc)],_0x127937,_0x5599d8[_0x3e9eea(0x209)]]),_0x4535a8=_0x5599d8[_0x3e9eea(0x1b1)](nestedKeyValue,_0x4174a7,[_0x5599d8['vwufI'],_0x127937,_0x4bdaa1]);_0x4535a8&&_0x4535a8[_0x3e9eea(0x21b)]&&(_0x4535a8['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x579d2d[_0x3e9eea(0x206)](),null,null,_0x4535a8[_0x3e9eea(0x21b)]));}else _0x4174a7[_0x5599d8['vwufI']][_0x127937][_0x5599d8['TISub']]=helper['prepareCapabilities'](null,null,_0x579d2d[_0x3e9eea(0x206)](),_0x5599d8[_0x3e9eea(0x1da)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1fc)],_0x127937,_0x5599d8[_0x3e9eea(0x1c6)]]),null,null);_0x3ed386[_0x5599d8[_0x3e9eea(0x1fa)]]=_0x4174a7,_0x2ceddb[_0x3e9eea(0x21d)](_0x5599d8[_0x3e9eea(0x1fa)]);}const _0xbb36eb={};_0xbb36eb[_0x3e9eea(0x1b6)]=_0x34fa59;const _0x336ae3=_0xbb36eb,_0x4f3efe=path[_0x3e9eea(0x216)](__dirname,_0x5599d8[_0x3e9eea(0x212)]),_0x9aac70=process[_0x3e9eea(0x1b7)]();process[_0x3e9eea(0x1ba)][_0x5599d8[_0x3e9eea(0x1ca)]]=_0x9aac70,process['chdir'](path[_0x3e9eea(0x1ac)](_0x34fa59));const _0x4cc95f=new CodeceptJS['Workers'](null,_0x336ae3),_0x4b30cb=_0x4cc95f[_0x3e9eea(0x197)](_0x369187),_0x4889b4=testOpsHelper[_0x3e9eea(0x19b)](),_0x4c5983=_0x2ceddb[_0x3e9eea(0x1d2)](_0x41f942=>{const _0x12e0ff=_0x3e9eea,_0x37f7f6={};_0x37f7f6[_0x12e0ff(0x22d)]=_0x3ed386[_0x41f942];const _0x2ed475={};_0x2ed475[_0x12e0ff(0x1d3)]=_0x3ed386[_0x41f942];const _0x317fd0=_0x70bfe5?_0x37f7f6:_0x2ed475,_0x3e25ef=_0x5599d8[_0x12e0ff(0x1f4)](getO11yRerunPattern),_0x28cd9f={};_0x28cd9f[_0x12e0ff(0x19e)]=_0x317fd0;const _0xd10c={};_0xd10c[_0x12e0ff(0x198)]=_0x4f3efe,_0xd10c['enabled']=!![],_0xd10c['skipSessionName']=_0x198a84['config'][_0x12e0ff(0x217)][_0x12e0ff(0x1f9)],_0xd10c[_0x12e0ff(0x200)]=_0x198a84[_0x12e0ff(0x213)][_0x12e0ff(0x217)]['skipSessionStatus'],_0xd10c['testObservability']=_0x4889b4,_0xd10c['frameworkName']=_0x579d2d;const _0x3bd3eb={};_0x3bd3eb[_0x12e0ff(0x1ed)]=_0xd10c;const _0x31ff14={};return _0x31ff14['plugins']=_0x3bd3eb,helper['mergeDeep']({},_0x4174a7,_0x5599d8['RKwMN'](isBrowserstackInfra)?_0x28cd9f:{},_0x3e25ef?{'grep':_0x3e25ef}:{},_0x31ff14);});for(const _0x113dd1 of _0x4c5983){for(const _0x15a05a of _0x4b30cb){const _0x572556=_0x4cc95f[_0x3e9eea(0x219)]();_0x572556[_0x3e9eea(0x222)](_0x15a05a),_0x572556[_0x3e9eea(0x1c4)](_0x113dd1);}}_0x4cc95f['on'](CodeceptJS['event'][_0x3e9eea(0x20d)]['failed'],(_0xfec472,_0x20ba0d)=>{const _0x46c453=_0x3e9eea;console[_0x46c453(0x1ad)](_0x5599d8[_0x46c453(0x203)],_0xfec472[_0x46c453(0x1a0)]);const _0x160df8={[_0xfec472[_0x46c453(0x1a0)]]:_0xfec472[_0x46c453(0x1b3)][_0x46c453(0x1bf)]};_testErrorData[_0x46c453(0x21d)](_0x160df8);}),_0x4cc95f['on'](CodeceptJS[_0x3e9eea(0x22b)][_0x3e9eea(0x20d)][_0x3e9eea(0x1a4)],async _0xb935d=>{const _0x424aac=_0x3e9eea;console[_0x424aac(0x1ad)](_0x5599d8[_0x424aac(0x20f)],_0xb935d[_0x424aac(0x1a0)]);}),_0x4cc95f['on'](CodeceptJS[_0x3e9eea(0x22b)][_0x3e9eea(0x20d)][_0x3e9eea(0x227)],async _0x3bd2ae=>{const _0x4257c4=_0x3e9eea;console['log'](_0x5599d8['ehXas'],_0x3bd2ae[_0x4257c4(0x1a0)]);}),_0x4cc95f['on'](CodeceptJS[_0x3e9eea(0x22b)]['all']['result'],async()=>{const _0x411d13=_0x3e9eea,_0xc6e1e5=_0x5599d8[_0x411d13(0x1d8)]['split']('|');let _0x548269=0x0;while(!![]){switch(_0xc6e1e5[_0x548269++]){case'0':PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);continue;case'1':utilities[_0x411d13(0x1dc)](_0x198a84);continue;case'2':testOpsHelper[_0x411d13(0x1d1)]();continue;case'3':_0x4cc95f['printResults']();continue;case'4':_0x198a84[_0x411d13(0x1ce)]=_testErrorData;continue;case'5':try{await TestHubHandler[_0x411d13(0x208)]();}catch(_0x1956dc){logger[_0x411d13(0x1bc)](_0x411d13(0x230)+util[_0x411d13(0x1ef)](_0x1956dc));}continue;}break;}});async function _0xeb4458(){const _0x235ac2=_0x3e9eea;try{await _0x4cc95f[_0x235ac2(0x20b)](),await _0x4cc95f['run']();}finally{process[_0x235ac2(0x1dd)](_0x9aac70),await _0x4cc95f[_0x235ac2(0x221)]();}}PerformanceTester[_0x3e9eea(0x1b0)](PerformanceEvents[_0x3e9eea(0x1cf)]),_0x5599d8['ULFqx'](_0xeb4458);}module[a2_0x316118(0x21c)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a3_0x5225e8=a3_0x1218;function a3_0x8cb4(){const _0x348b50=['SrRRl','platformVersion','bLftx','../../helpers/helper','name','chrome','IgiYw','NIGUa','../../bin/playwright/sessionDetails','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','elnQL','browser_version','platform','BFveh','cxbvP','includes','caps','browser','iAIOb','browserWSEndpoint','3563613zPiyFv','platformName','WebDriver','config','350xysqmg','RnUvF','latest','19982djalSa','constructor','warn','ymPsP','QQLbN','70878bPeRQs','processWebDriverConfig','searchParams','BrZgu','VStVe','TKGzr','581thiSxM','RTGHd','lOOlw','1284Teonhx','642976cGddct','../../helpers/test-observability/utils','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','274615YhWetd','browserName','uKrTm','platform_version','shouldPatchExecuteScript','browserstack_executor','8KGsttU','bsSessionId','os_version','WpAJf','winstonLogger','pEvvI','13552CbcqtR','fLwJv','parse','MDzUS','9459410mTroTB','HivbX','258VGhssp','../../helpers/accessibility-automation/helper','get','browserVersion','capabilities'];a3_0x8cb4=function(){return _0x348b50;};return a3_0x8cb4();}(function(_0x1efd9a,_0x14575e){const _0x20d6cb=a3_0x1218,_0x1a293d=_0x1efd9a();while(!![]){try{const _0x285c19=-parseInt(_0x20d6cb(0x14a))/0x1+parseInt(_0x20d6cb(0x13b))/0x2*(-parseInt(_0x20d6cb(0x11a))/0x3)+parseInt(_0x20d6cb(0x114))/0x4*(-parseInt(_0x20d6cb(0x138))/0x5)+parseInt(_0x20d6cb(0x140))/0x6*(-parseInt(_0x20d6cb(0x146))/0x7)+parseInt(_0x20d6cb(0x10e))/0x8*(-parseInt(_0x20d6cb(0x134))/0x9)+parseInt(_0x20d6cb(0x118))/0xa+-parseInt(_0x20d6cb(0x14d))/0xb*(-parseInt(_0x20d6cb(0x149))/0xc);if(_0x285c19===_0x14575e)break;else _0x1a293d['push'](_0x1a293d['shift']());}catch(_0x29b4d4){_0x1a293d['push'](_0x1a293d['shift']());}}}(a3_0x8cb4,0x7a696));function a3_0x1218(_0x527671,_0x47078e){const _0x8cb48c=a3_0x8cb4();return a3_0x1218=function(_0x121831,_0x465df7){_0x121831=_0x121831-0x10b;let _0x4263ff=_0x8cb48c[_0x121831];return _0x4263ff;},a3_0x1218(_0x527671,_0x47078e);}const {isUndefined,nestedKeyValue}=require(a3_0x5225e8(0x122)),logger=require('../../helpers/logger')[a3_0x5225e8(0x112)],PlaywrightSessionDetails=require(a3_0x5225e8(0x127)),{isAccessibilityAutomationSession}=require(a3_0x5225e8(0x11b)),{getObservabilityLinkedProductName}=require(a3_0x5225e8(0x14b)),getOSVersionFromCaps=_0x587a62=>{const _0x51e826=a3_0x5225e8,_0x38cece={};_0x38cece[_0x51e826(0x13e)]='bstack:options',_0x38cece[_0x51e826(0x144)]='platformVersion',_0x38cece[_0x51e826(0x14f)]=_0x51e826(0x10b),_0x38cece[_0x51e826(0x139)]='osVersion',_0x38cece[_0x51e826(0x11f)]=_0x51e826(0x110);const _0x1254a1=_0x38cece;if(!_0x587a62)return null;const _0x577ddc=_0x587a62[_0x1254a1[_0x51e826(0x13e)]],_0x1c9da9=[_0x1254a1[_0x51e826(0x144)],_0x1254a1['uKrTm'],_0x1254a1[_0x51e826(0x139)],_0x1254a1[_0x51e826(0x11f)]];for(const _0x45faff of _0x1c9da9){if(_0x577ddc&&_0x577ddc[_0x45faff])return _0x577ddc[_0x45faff];else{if(_0x587a62[_0x45faff])return _0x587a62[_0x45faff];}}return null;};exports['fetchPlatformDetails']=_0x95ef2=>{const _0x53ec0a=a3_0x5225e8,_0x8c5c0={'rhXHb':'unknown_grid','elnQL':function(_0xd2288c,_0x71734b){return _0xd2288c===_0x71734b;},'yBtXz':_0x53ec0a(0x136),'iAIOb':function(_0x4da3f3,_0x47ccb2){return _0x4da3f3(_0x47ccb2);},'NIGUa':function(_0x189987,_0x202de5,_0x46372b){return _0x189987(_0x202de5,_0x46372b);},'MDzUS':_0x53ec0a(0x137),'BZhGC':'desiredCapabilities','BFveh':function(_0x2274e4,_0x57ff1a){return _0x2274e4(_0x57ff1a);},'ojWeT':'Playwright','TUqpl':_0x53ec0a(0x131),'lOOlw':_0x53ec0a(0x133),'FkXWS':_0x53ec0a(0x130)};if(!_0x95ef2)return null;let _0x3f833a=global['__cloud_provider___']||_0x8c5c0['rhXHb'];if(_0x8c5c0[_0x53ec0a(0x12a)](_0x95ef2[_0x53ec0a(0x13c)][_0x53ec0a(0x123)],_0x8c5c0['yBtXz'])){const _0xdbc213=_0x95ef2[_0x53ec0a(0x131)];if(!_0xdbc213)return null;const _0x303c95=_0xdbc213['capabilities'],_0x30f74a=_0x8c5c0[_0x53ec0a(0x132)](getOSVersionFromCaps,_0x8c5c0[_0x53ec0a(0x126)](nestedKeyValue,_0x95ef2,[_0x8c5c0['MDzUS'],_0x8c5c0['BZhGC']]));return{[_0x3f833a]:{'browser':_0x303c95[_0x53ec0a(0x14e)],'browser_version':_0x303c95[_0x53ec0a(0x11d)],'capabilities':_0x303c95,'platform':_0x303c95[_0x53ec0a(0x135)],'platform_version':_0x303c95[_0x53ec0a(0x120)]||_0x30f74a,'product':_0x8c5c0['BFveh'](getObservabilityLinkedProductName,_0x303c95),'session_id':_0xdbc213['sessionId']}};}else{if(_0x8c5c0['elnQL'](_0x95ef2[_0x53ec0a(0x13c)]['name'],_0x8c5c0['ojWeT'])){const _0x43241f=PlaywrightSessionDetails['getDetails']();_0x3f833a=_0x43241f['cloudProvider']||_0x3f833a;const _0x3263fe=_0x8c5c0['NIGUa'](nestedKeyValue,_0x95ef2,[_0x8c5c0[_0x53ec0a(0x117)],_0x8c5c0['TUqpl'],_0x8c5c0[_0x53ec0a(0x148)]]),_0x21599d=_0x3263fe?JSON[_0x53ec0a(0x116)](new URL(_0x3263fe)[_0x53ec0a(0x142)][_0x53ec0a(0x11c)](_0x8c5c0['FkXWS'])):{};return{[_0x3f833a]:{'browser':_0x43241f[_0x53ec0a(0x131)]||_0x21599d[_0x53ec0a(0x14e)],'browser_version':_0x43241f[_0x53ec0a(0x12b)]||_0x21599d['browser_version'],'capabilities':_0x21599d,'platform':_0x43241f[_0x53ec0a(0x12c)],'platform_version':_0x43241f[_0x53ec0a(0x10b)],'product':_0x8c5c0[_0x53ec0a(0x12d)](getObservabilityLinkedProductName,_0x21599d),'session_id':_0x43241f[_0x53ec0a(0x10f)]}};}}},exports[a3_0x5225e8(0x141)]=_0x5c7e21=>{const _0x54ccb=a3_0x5225e8,_0x4e8eb9={'IgiYw':function(_0x1a6e1d){return _0x1a6e1d();},'BrZgu':function(_0x113e9d,_0xc67cf5){return _0x113e9d===_0xc67cf5;},'fLwJv':_0x54ccb(0x13a),'RTGHd':function(_0x2b2740,_0x353d71){return _0x2b2740>_0x353d71;},'TKGzr':function(_0x35e3d7,_0x6cfcb7){return _0x35e3d7(_0x6cfcb7);},'bLftx':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jxUpe':_0x54ccb(0x124),'fUztQ':function(_0x304a51,_0x1a5c9a){return _0x304a51===_0x1a5c9a;},'HivbX':'playwright-chromium','pEvvI':_0x54ccb(0x14c),'QQLbN':_0x54ccb(0x129)};if(_0x4e8eb9[_0x54ccb(0x125)](isAccessibilityAutomationSession)){const _0x4d28d2=_0x5c7e21[_0x54ccb(0x131)],_0x63015e=_0x4d28d2[_0x54ccb(0x11e)];global['accessibilityPlatform']=!![],!(_0x4e8eb9[_0x54ccb(0x143)](_0x63015e[_0x54ccb(0x11d)],_0x4e8eb9[_0x54ccb(0x115)])||_0x4e8eb9[_0x54ccb(0x147)](_0x4e8eb9[_0x54ccb(0x145)](parseInt,_0x63015e[_0x54ccb(0x11d)]),0x5e))&&(logger['warn'](_0x4e8eb9[_0x54ccb(0x121)]),global[_0x54ccb(0x128)]=![]),!(_0x4e8eb9[_0x54ccb(0x143)](_0x63015e[_0x54ccb(0x14e)],_0x4e8eb9['jxUpe'])||_0x4e8eb9['fUztQ'](_0x63015e['browserName'],_0x4e8eb9[_0x54ccb(0x119)]))&&(logger[_0x54ccb(0x13d)](_0x4e8eb9[_0x54ccb(0x113)]),global['accessibilityPlatform']=![]),!_0x4e8eb9['TKGzr'](isUndefined,_0x63015e['deviceName'])&&(logger[_0x54ccb(0x13d)](_0x4e8eb9[_0x54ccb(0x13f)]),global[_0x54ccb(0x128)]=![]);}},exports[a3_0x5225e8(0x10c)]=_0x10c0d2=>{const _0x4e1e59=a3_0x5225e8,_0x4d34ac={};_0x4d34ac[_0x4e1e59(0x12e)]=_0x4e1e59(0x10d),_0x4d34ac['WpAJf']='browserstack_accessibility_automation_script';const _0x49071c=_0x4d34ac;if(!_0x10c0d2)return![];return!_0x10c0d2['includes'](_0x49071c[_0x4e1e59(0x12e)])&&!_0x10c0d2[_0x4e1e59(0x12f)](_0x49071c[_0x4e1e59(0x111)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x3de7c1=a4_0x377c;(function(_0x3cdfe1,_0x401d99){const _0x504fbb=a4_0x377c,_0x58c272=_0x3cdfe1();while(!![]){try{const _0x2fc8ee=-parseInt(_0x504fbb(0x21d))/0x1+parseInt(_0x504fbb(0x23e))/0x2*(parseInt(_0x504fbb(0x258))/0x3)+-parseInt(_0x504fbb(0x23d))/0x4*(parseInt(_0x504fbb(0x252))/0x5)+-parseInt(_0x504fbb(0x18f))/0x6*(-parseInt(_0x504fbb(0x1f6))/0x7)+-parseInt(_0x504fbb(0x1e9))/0x8+-parseInt(_0x504fbb(0x1c5))/0x9*(-parseInt(_0x504fbb(0x171))/0xa)+parseInt(_0x504fbb(0x24a))/0xb;if(_0x2fc8ee===_0x401d99)break;else _0x58c272['push'](_0x58c272['shift']());}catch(_0x4e72d8){_0x58c272['push'](_0x58c272['shift']());}}}(a4_0x1308,0x86f17));const path=require(a4_0x3de7c1(0x25a)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3de7c1(0x233)),testOpsHelper=require(a4_0x3de7c1(0x1da)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x3de7c1(0x228)),logger=require(a4_0x3de7c1(0x17b))[a4_0x3de7c1(0x25f)],SessionHandler=require(a4_0x3de7c1(0x19c)),RequestQueueHandler=require(a4_0x3de7c1(0x17a)),PlaywrightSessionDetails=require(a4_0x3de7c1(0x21e)),debug=testOpsHelper[a4_0x3de7c1(0x1d7)],{processAccessibilityCaps}=require(a4_0x3de7c1(0x1d1)),Constants=require(a4_0x3de7c1(0x1fb)),{fetchPlatformDetails}=require(a4_0x3de7c1(0x19a)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x3de7c1(0x183),STATE_FAILED='failed',a4_0x36d4bf={};a4_0x36d4bf[a4_0x3de7c1(0x1ca)]=a4_0x3de7c1(0x226),a4_0x36d4bf['TEST_RUN_FINISHED']=a4_0x3de7c1(0x1ac),a4_0x36d4bf['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x36d4bf[a4_0x3de7c1(0x20d)]=a4_0x3de7c1(0x1a8),a4_0x36d4bf[a4_0x3de7c1(0x244)]=a4_0x3de7c1(0x1e8);function a4_0x1308(){const _0x28875a=['File\x20path\x20could\x20not\x20be\x20found','javascript','7VMVrIZ','setupBrowserDetails','relative','MfbsM','event_type','../utils/constants','getFailureType','uploadEventData','oYbJK','prototype','VcvIr','currentHook','AzYjM','JTmqB','fullTitle','result','length','VnrLM','getHierarchy','EUeRe','TEST_RUN_FINISHED','XhmwM','stop','HOOK_RUN_STARTED','CODECEPT','Playwright','codeceptjs','title','_testEnv','join','patchConsoleLogger','toLowerCase','hFzPy','SrxRq','errorsDetailed','.git','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','__platformCaps','wsEndpoint','149582cyYyGX','../playwright/sessionDetails','toISOString','thuec','dCtxF','dVUEi','concat','vmhLB','lsLWR','TestRunStarted','statSync','../../helpers/test-observability/constants','bddStepFinish','forEach','_paths','TDzhs','file','JCAZi','EsNSh','groups','connectOverCDP','cpyYP','../../helpers/helper','sep','name','integrations','zfkCP','bddStepStart','match','STATE_PASSED','initializeBddStep','SKicr','668028jVKnyr','653518UiNAUc','defineProperty','CBTSessionCreated','hnlqx','MuhiD','test','HOOK_RUN_FINISHED','pKvXH','rQKPM','\x20with\x20error\x20:\x20','removeAllListeners','GoYka','6433053zBdKSq','bddSteps','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Failed\x20to\x20parse\x20wsendpoint\x20','npJzH','file_name','BrowserType','find','25drVdIh','urBWy','pEwZF','QFApQ','LogCreated','PixIb','3yYIsdf','XpuKq','path','failure_backtrace','jbNnD','getInstance','XeFrM','winstonLogger','then','cmZBx','location_prefix','keyword','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','text','10fcvHzK','O11yHelper','hook','_afterEach','skipped','ctx','hooks','bind','resetSkipTestHooks','../../helpers/test-observability/requestQueueHandler','../../helpers/logger','driver','includes','EmnYZ','imBlP','_beforeAll','aQXRz','markedStatus','passed','currentTest','type','XuUYe','mapTestHooks','bxMAF','pHfYS','failureData','string','getHooksForTest','util','started','4668546xrpwfi','inspect','cwd','EuDwG','body','Uivsu','meaiH','parent','getHookType','appendTestItemLog','getRootParentFile','./helper.js','hookAnalyticsId','../../helpers/test-observability/sessionHandler','NVLgK','uuid','split','5|3|4|1|2|0','dirname','WEZUT','GkZDK','finished_at','NMLim','findGitConfig','giqLC','HookRunStarted','getTime','browserType.js','launch','TestRunFinished','test_run','TSjVY','expanded','duration','failure','pending','stepAnalyticsId','pTbzH','frameworkName','err','constructor','sYmwa','retryOf','now','VHfQi','cpyXB','start','suites','hook_run_uuid','sendCBTInfo','replace','GoNAm','OsOSo','cCNqz','7672464fLyDAR','testAnalyticsId','toString','IyFAV','zhadI','TEST_RUN_STARTED','FhFEF','test_run_uuid','enabled','LtZWu','CkXdw','getCBTInfo','../playwright/accessibility-helper','yfRie','exports','THpEv','jBtAt','lib','debug','GnEbS','status','../../helpers/test-observability/utils','RXhXU','XjMxK','hdaqC','TEST_EVENTS','finished','push','connect','failed\x20to\x20get\x20root\x20parent\x20file\x20','success','startedAt','apply','_beforeEach','xoGIn','HookRunFinished','8038600wLzTMB','_afterAll','obsBrowserTypeMockApplied','tTzfq','wLMMB','accessibilityPlatform','hook_type','bs:addLog:','PathHelper','QcZyY','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'];a4_0x1308=function(){return _0x28875a;};return a4_0x1308();}function a4_0x377c(_0x371ae6,_0x586e85){const _0x130876=a4_0x1308();return a4_0x377c=function(_0x377ce0,_0x751e2e){_0x377ce0=_0x377ce0-0x170;let _0x1550cd=_0x130876[_0x377ce0];return _0x1550cd;},a4_0x377c(_0x371ae6,_0x586e85);}const TEST_EVENTS=a4_0x36d4bf,parseEvent=_0x479d49=>{const _0x3cf94a=a4_0x3de7c1,_0x3da7c3={};_0x3da7c3[_0x3cf94a(0x1ae)]=function(_0x3764d8,_0x4bed09){return _0x3764d8<_0x4bed09;},_0x3da7c3[_0x3cf94a(0x222)]=function(_0x55c647,_0x2f30ab){return _0x55c647===_0x2f30ab;},_0x3da7c3[_0x3cf94a(0x1a2)]=_0x3cf94a(0x243),_0x3da7c3['GoNAm']=function(_0x534107,_0x3baa2b){return _0x534107===_0x3baa2b;},_0x3da7c3[_0x3cf94a(0x1d5)]=_0x3cf94a(0x173),_0x3da7c3[_0x3cf94a(0x1a3)]=_0x3cf94a(0x175),_0x3da7c3['cCNqz']=function(_0x35bc7f,_0x2f1d48){return _0x35bc7f===_0x2f1d48;},_0x3da7c3['OsOSo']='started',_0x3da7c3[_0x3cf94a(0x242)]='finished';const _0x24a563=_0x3da7c3,_0x2296d1=_0x479d49[_0x3cf94a(0x239)](/^(.*)Run(.*)$/);if(!_0x2296d1)return null;if(_0x24a563[_0x3cf94a(0x1ae)](_0x2296d1[_0x3cf94a(0x206)],0x3))return null;const _0x482faa=_0x2296d1[0x1][_0x3cf94a(0x215)](),_0x3d9bf9=_0x2296d1[0x2][_0x3cf94a(0x215)]();return{'test':_0x24a563[_0x3cf94a(0x222)](_0x482faa,_0x24a563[_0x3cf94a(0x1a2)]),'hook':_0x24a563[_0x3cf94a(0x1c2)](_0x482faa,_0x24a563[_0x3cf94a(0x1d5)]),'skipped':_0x24a563[_0x3cf94a(0x222)](_0x3d9bf9,_0x24a563[_0x3cf94a(0x1a3)]),'started':_0x24a563['cCNqz'](_0x3d9bf9,_0x24a563[_0x3cf94a(0x1c3)]),'finished':_0x24a563[_0x3cf94a(0x1c4)](_0x3d9bf9,_0x24a563[_0x3cf94a(0x242)])};},mockPWBrowserType=_0x2d6a56=>{const _0x21e443=a4_0x3de7c1,_0x6d22ab={'cmZBx':function(_0x3ef69d,_0x49066b,_0x13ec9e){return _0x3ef69d(_0x49066b,_0x13ec9e);},'XpuKq':_0x21e443(0x21c),'meaiH':function(_0x79521d,_0x37bcfd){return _0x79521d(_0x37bcfd);},'wJjhV':'browserstack','cpyXB':function(_0x534fac,_0x5538c8){return _0x534fac(_0x5538c8);},'XeFrM':function(_0x4e23ad,_0x1aa0da){return _0x4e23ad===_0x1aa0da;},'EUeRe':_0x21e443(0x18b),'CfMSL':_0x21e443(0x1d6),'PGtra':'client','bxMAF':_0x21e443(0x1aa),'pEwZF':function(_0x523268,_0x21e26f){return _0x523268(_0x21e26f);},'IyFAV':'Not\x20able\x20to\x20import\x20Browser','rQKPM':'connect','EuDwG':_0x21e443(0x1ab)},_0x4c3cc9=path[_0x21e443(0x213)](_0x6d22ab['CfMSL'],_0x6d22ab['PGtra'],_0x6d22ab[_0x21e443(0x188)]),_0x5c81f7=_0x6d22ab[_0x21e443(0x254)](importFileFromPWCore,_0x4c3cc9);if(!_0x5c81f7){_0x6d22ab['meaiH'](debug,_0x6d22ab[_0x21e443(0x1c8)]);return;}const _0x393ec3=_0x5c81f7[_0x21e443(0x250)],_0x1b6d58=_0x393ec3[_0x21e443(0x1ff)];if(_0x1b6d58[_0x21e443(0x1eb)])return;const _0xcbecc2=_0x1b6d58[_0x21e443(0x1e1)];Object['defineProperty'](_0x1b6d58,_0x6d22ab[_0x21e443(0x246)],{'get':function(){const _0x3db365=_0x21e443,_0x43b551={'JTzZg':function(_0x3fe3bc,_0x5f163b){const _0x58bbc2=a4_0x377c;return _0x6d22ab[_0x58bbc2(0x25e)](_0x3fe3bc,_0x5f163b);},'GnEbS':_0x6d22ab[_0x3db365(0x209)]};return async function _0x2a2a68(_0x3d2109,_0x382101){const _0x219507=_0x3db365,_0x3270aa=_0x6d22ab[_0x219507(0x261)](nestedKeyValue,_0x3d2109,[_0x6d22ab[_0x219507(0x259)]])||_0x3d2109;let _0x3aea37=null,_0x3dda92=null;try{[_0x3dda92,_0x3aea37]=_0x3270aa?_0x6d22ab[_0x219507(0x195)](parseWSEndpoint,_0x3270aa):[null,null],global[_0x219507(0x21b)]=_0x3aea37,_0x3dda92['includes'](_0x6d22ab['wJjhV'])&&(global['__cloud_provider___']=_0x6d22ab['wJjhV']);}catch(_0x4e3f62){logger[_0x219507(0x1d7)](_0x219507(0x24d)+_0x3270aa+'\x20'+_0x4e3f62);}_0x6d22ab[_0x219507(0x261)](processAccessibilityCaps,_0x3aea37,_0x3dda92);if(global[_0x219507(0x1ee)]){const _0x481748=await _0x1b6d58[_0x219507(0x231)][_0x219507(0x1e5)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x6d22ab[_0x219507(0x1bc)](encodeURIComponent,JSON['stringify'](_0x3aea37))]);return PlaywrightSessionDetails[_0x219507(0x1f7)](_0x481748,_0x2d6a56,_0x3270aa),_0x481748;}return _0xcbecc2['apply'](this,arguments)['then'](_0x2319bc=>{const _0x13b571=_0x219507;let _0x22f726=_0x3d2109[_0x13b571(0x21c)];return _0x43b551['JTzZg'](typeof _0x3d2109,_0x43b551[_0x13b571(0x1d8)])&&(_0x22f726=_0x3d2109),PlaywrightSessionDetails[_0x13b571(0x1f7)](_0x2319bc,_0x2d6a56,_0x22f726),_0x2319bc;});};}});const _0xfdb9d6=_0x1b6d58[_0x21e443(0x1ab)];Object[_0x21e443(0x23f)](_0x1b6d58,_0x6d22ab[_0x21e443(0x192)],{'get':function(){return async function _0x5418dd(){const _0x4fa04a=a4_0x377c;return _0xfdb9d6['apply'](this,arguments)[_0x4fa04a(0x260)](_0x24087e=>{const _0x1b9093=_0x4fa04a;return PlaywrightSessionDetails[_0x1b9093(0x1f7)](_0x24087e,null),_0x24087e;});};}});};class O11yHelper{[a4_0x3de7c1(0x184)]=null;['currentHook']=null;[a4_0x3de7c1(0x1cd)]=![];[a4_0x3de7c1(0x1b5)]=![];constructor(_0x4d5136,_0x1e8504){const _0x16b5f2=a4_0x3de7c1,_0x395add={'jbNnD':_0x16b5f2(0x1a0),'cvVmn':function(_0x563043,_0x3aef68){return _0x563043===_0x3aef68;},'VnrLM':_0x16b5f2(0x20f),'hdaqC':function(_0x51b6c0,_0x304b01){return _0x51b6c0(_0x304b01);},'QFApQ':function(_0x51d312){return _0x51d312();},'pHfYS':function(_0x47bdf7){return _0x47bdf7();}},_0xf729ac=_0x395add[_0x16b5f2(0x25c)][_0x16b5f2(0x19f)]('|');let _0x1ef82c=0x0;while(!![]){switch(_0xf729ac[_0x1ef82c++]){case'0':this[_0x16b5f2(0x17c)]&&_0x395add['cvVmn'](this['driver'][_0x16b5f2(0x1b7)][_0x16b5f2(0x235)],_0x395add[_0x16b5f2(0x207)])&&_0x395add[_0x16b5f2(0x1dd)](mockPWBrowserType,null);continue;case'1':this[_0x16b5f2(0x212)]=_0x395add[_0x16b5f2(0x255)](getTestEnv);continue;case'2':this[_0x16b5f2(0x22b)]=new testOpsHelper[(_0x16b5f2(0x1f1))]({'cwd':process[_0x16b5f2(0x191)]()},this[_0x16b5f2(0x212)][_0x16b5f2(0x262)]);continue;case'3':this[_0x16b5f2(0x1b5)]=_0x1e8504[_0x16b5f2(0x1b5)];continue;case'4':this[_0x16b5f2(0x17c)]=_0x4d5136;continue;case'5':this[_0x16b5f2(0x1cd)]=_0x395add[_0x16b5f2(0x189)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x3de7c1(0x1bd)](){const _0x44fa8c=a4_0x3de7c1;if(!this['enabled'])return;testOpsHelper[_0x44fa8c(0x214)](),process[_0x44fa8c(0x248)](_0x44fa8c(0x1f0)+process['pid']),process['on'](_0x44fa8c(0x1f0)+process['pid'],this[_0x44fa8c(0x198)][_0x44fa8c(0x178)](this));}async[a4_0x3de7c1(0x20c)](){const _0x10612b=a4_0x3de7c1;await RequestQueueHandler[_0x10612b(0x25d)]()['shutdown']();}async[a4_0x3de7c1(0x198)](_0x5b31d0){const _0x4cbb98=a4_0x3de7c1,_0x2508a3={'XhmwM':_0x4cbb98(0x256),'xoGIn':function(_0x2115d4,_0x339c3e){return _0x2115d4(_0x339c3e);}};try{this[_0x4cbb98(0x201)]&&!this[_0x4cbb98(0x201)][_0x4cbb98(0x182)]&&(_0x5b31d0[_0x4cbb98(0x1bf)]=this['currentHook'][_0x4cbb98(0x19b)]);!_0x5b31d0[_0x4cbb98(0x1bf)]&&this[_0x4cbb98(0x184)]&&!this[_0x4cbb98(0x184)]['markedStatus']&&(_0x5b31d0['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x5b31d0[_0x4cbb98(0x1bf)]||_0x5b31d0[_0x4cbb98(0x1cc)]){const _0x4105a9={};_0x4105a9[_0x4cbb98(0x1fa)]=_0x2508a3[_0x4cbb98(0x20b)],_0x4105a9['logs']=[_0x5b31d0],await SessionHandler[_0x4cbb98(0x1fd)](_0x4105a9);}}catch(_0x15de36){_0x2508a3[_0x4cbb98(0x1e7)](debug,_0x4cbb98(0x1f3)+_0x15de36);}}async[a4_0x3de7c1(0x1c0)](_0x1f74cb){const _0x3909c9=a4_0x3de7c1,_0x18a235={'NMLim':_0x3909c9(0x240),'oYbJK':function(_0x3f97ce,_0x444434){return _0x3f97ce(_0x444434);}};if(!this[_0x3909c9(0x1cd)])return;const _0x11a323=this['getCBTInfo'](this['driver']);try{const _0xfeeca3={};_0xfeeca3[_0x3909c9(0x19e)]=_0x1f74cb,_0xfeeca3[_0x3909c9(0x236)]=_0x11a323;const _0x532f29=_0xfeeca3,_0x44e91e={};_0x44e91e['event_type']=_0x18a235[_0x3909c9(0x1a5)],_0x44e91e[_0x3909c9(0x1ad)]=_0x532f29,await SessionHandler[_0x3909c9(0x1fd)](_0x44e91e);}catch(_0x155939){_0x18a235[_0x3909c9(0x1fe)](debug,_0x3909c9(0x264)+_0x155939);}}['getCBTInfo'](_0x4dcfc4){const _0x5e303c={'WLjzQ':function(_0x27ac43,_0x5dd1a9){return _0x27ac43(_0x5dd1a9);}};return _0x5e303c['WLjzQ'](fetchPlatformDetails,_0x4dcfc4);}[a4_0x3de7c1(0x179)]=_0x1e6836=>{const _0x38cd86=a4_0x3de7c1,_0x1ab081={};_0x1ab081[_0x38cd86(0x1cb)]='_beforeEach',_0x1ab081[_0x38cd86(0x202)]='_afterEach';const _0x37b1ec=_0x1ab081;if(!_0x1e6836||!_0x1e6836['parent'])return;[_0x37b1ec[_0x38cd86(0x1cb)],_0x37b1ec[_0x38cd86(0x202)]][_0x38cd86(0x22a)](_0x36f9c2=>{const _0x4287ec=_0x38cd86,_0x5a68d7=_0x1e6836[_0x4287ec(0x196)][_0x36f9c2];_0x5a68d7[_0x4287ec(0x22a)](_0xf2795c=>{const _0x516757=_0x4287ec;_0xf2795c[_0x516757(0x19b)]&&(_0xf2795c[_0x516757(0x19b)]=null);});});};[a4_0x3de7c1(0x187)](_0x507729){const _0x333fef=a4_0x3de7c1,_0x5e6333={'LtZWu':_0x333fef(0x210),'npJzH':function(_0x2282f6){return _0x2282f6();},'GoYka':function(_0x47c13e,_0x4acdaf){return _0x47c13e===_0x4acdaf;},'thuec':_0x333fef(0x174),'JCAZi':function(_0xf0aec7){return _0xf0aec7();},'NVLgK':'_beforeAll','FQXve':_0x333fef(0x1ea),'EsNSh':_0x333fef(0x1e6)};if(!_0x507729||!_0x507729[_0x333fef(0x196)])return;[_0x5e6333[_0x333fef(0x19d)],_0x5e6333['FQXve'],_0x5e6333[_0x333fef(0x22f)],_0x5e6333[_0x333fef(0x220)]][_0x333fef(0x22a)](_0x1848e8=>{const _0x42cab4=_0x333fef,_0x5dca6a=_0x507729[_0x42cab4(0x196)][_0x1848e8]||[];_0x5dca6a[_0x42cab4(0x22a)](_0x4c2431=>{const _0x33c1a4=_0x42cab4;if(_0x4c2431[_0x33c1a4(0x211)]['includes'](_0x5e6333[_0x33c1a4(0x1ce)]))return;if(!_0x4c2431[_0x33c1a4(0x19b)])_0x4c2431['hookAnalyticsId']=_0x5e6333[_0x33c1a4(0x24e)](uuidv4);else _0x4c2431['markedStatus']&&_0x5e6333[_0x33c1a4(0x249)](_0x1848e8,_0x5e6333[_0x33c1a4(0x220)])&&(_0x4c2431[_0x33c1a4(0x19b)]=_0x5e6333[_0x33c1a4(0x22e)](uuidv4),delete _0x4c2431['markedStatus']);});}),this['mapTestHooks'](_0x507729[_0x333fef(0x196)]);}[a4_0x3de7c1(0x18c)](_0x30e201){const _0x40a643=a4_0x3de7c1,_0x360656={};_0x360656[_0x40a643(0x224)]=_0x40a643(0x180),_0x360656['CkXdw']=_0x40a643(0x1ea),_0x360656[_0x40a643(0x225)]=_0x40a643(0x1e6),_0x360656[_0x40a643(0x216)]=_0x40a643(0x174);const _0x118e75=_0x360656;if(!_0x30e201||!_0x30e201[_0x40a643(0x196)])return[];const _0x1004bb=[];return[_0x118e75['vmhLB'],_0x118e75[_0x40a643(0x1cf)],_0x118e75[_0x40a643(0x225)],_0x118e75[_0x40a643(0x216)]][_0x40a643(0x22a)](_0x2c4b5a=>{const _0x22787b=_0x40a643,_0x192442=_0x30e201[_0x22787b(0x196)][_0x2c4b5a]||[];_0x192442[_0x22787b(0x22a)](_0x2f6943=>{const _0x110e07=_0x22787b;_0x2f6943[_0x110e07(0x19b)]&&_0x1004bb[_0x110e07(0x1e0)](_0x2f6943[_0x110e07(0x19b)]);});}),[][_0x40a643(0x223)](_0x1004bb,this[_0x40a643(0x18c)](_0x30e201[_0x40a643(0x196)]));}[a4_0x3de7c1(0x197)](_0x27340b){const _0x3ed291=a4_0x3de7c1,_0x395f14=/^"(?<hook>.*)" hook:.*$/,_0x40aacd=_0x27340b[_0x3ed291(0x211)],_0x184386=_0x40aacd[_0x3ed291(0x239)](_0x395f14);if(_0x184386&&_0x184386[_0x3ed291(0x230)])return _0x184386[_0x3ed291(0x230)][_0x3ed291(0x173)]['toUpperCase']()[_0x3ed291(0x1c1)]('\x20','_');return null;}[a4_0x3de7c1(0x1a6)](_0x5a6b14){const _0x18c82a=a4_0x3de7c1,_0x4e39ae={};_0x4e39ae[_0x18c82a(0x217)]=function(_0x1694b0,_0x28af5f){return _0x1694b0===_0x28af5f;},_0x4e39ae[_0x18c82a(0x1ed)]=function(_0x82267c,_0x405c28){return _0x82267c===_0x405c28;},_0x4e39ae[_0x18c82a(0x194)]=_0x18c82a(0x219),_0x4e39ae['IdVno']='config';const _0x2169d3=_0x4e39ae,_0xbe05ae=path[_0x18c82a(0x234)];if(_0x2169d3['SrxRq'](_0x5a6b14,null)||_0x2169d3[_0x18c82a(0x217)](_0x5a6b14,'')||_0x2169d3['wLMMB'](_0x5a6b14,_0xbe05ae)||_0x2169d3['wLMMB'](_0x5a6b14,path[_0x18c82a(0x1a1)](_0x5a6b14)))return null;try{return fs[_0x18c82a(0x227)](path[_0x18c82a(0x213)](_0x5a6b14,_0x2169d3[_0x18c82a(0x194)],_0x2169d3['IdVno'])),_0x5a6b14;}catch(_0x38a3c2){const _0xfeb01=path[_0x18c82a(0x1a1)](_0x5a6b14);return this['findGitConfig'](_0xfeb01);}}['getRootParentFile'](_0xa4e3e1){const _0x39e090=a4_0x3de7c1,_0x3dbb6a={};_0x3dbb6a[_0x39e090(0x237)]=function(_0x1d2219,_0x237328){return _0x1d2219>_0x237328;};const _0x21e104=_0x3dbb6a;if(_0xa4e3e1[_0x39e090(0x22d)])return _0xa4e3e1['file'];if(_0xa4e3e1[_0x39e090(0x176)]){const _0x27fc2d=_0xa4e3e1['ctx']['currentTest']?this['getRootParentFile'](_0xa4e3e1[_0x39e090(0x176)][_0x39e090(0x184)]):null;if(_0x27fc2d)return _0x27fc2d;}if(_0xa4e3e1[_0x39e090(0x196)]){const _0x1e1028=this[_0x39e090(0x199)](_0xa4e3e1[_0x39e090(0x196)])||(_0xa4e3e1[_0x39e090(0x196)]['ctx']&&_0xa4e3e1['parent']['ctx']['currentTest']?this[_0x39e090(0x199)](_0xa4e3e1['parent']['ctx'][_0x39e090(0x184)]):null);if(_0x1e1028)return _0x1e1028;_0xa4e3e1[_0x39e090(0x196)][_0x39e090(0x1be)]&&_0x21e104[_0x39e090(0x237)](_0xa4e3e1[_0x39e090(0x196)][_0x39e090(0x1be)]['length'],0x0)&&_0xa4e3e1['parent'][_0x39e090(0x1be)][_0x39e090(0x22a)](_0x35066e=>{const _0x517211=_0x39e090,_0x3f87f3=_0x35066e[_0x517211(0x176)]?this['getRootParentFile'](_0x35066e['ctx']):null;if(_0x3f87f3)return _0x3f87f3;});}return null;}[a4_0x3de7c1(0x208)](_0xb20730){const _0x249759=a4_0x3de7c1,_0x5563c9={};_0x5563c9[_0x249759(0x22c)]=function(_0x25283d,_0x14b77b){return _0x25283d!==_0x14b77b;};const _0x3fe89c=_0x5563c9,_0x267433=[];if(_0xb20730&&_0xb20730[_0x249759(0x196)]){let _0x4119c6=_0xb20730[_0x249759(0x196)];while(_0x4119c6&&_0x3fe89c[_0x249759(0x22c)](_0x4119c6[_0x249759(0x211)],'')){_0x267433[_0x249759(0x1e0)](_0x4119c6['title']),_0x4119c6=_0x4119c6['parent'];}}return _0x267433;}['captureEvent'](_0x18b7ae,_0x59ef3d,_0x8eec6a=undefined){const _0x2ebfc0=a4_0x3de7c1,_0x5c41b9={'imBlP':function(_0x8bb514,_0x10c65b){return _0x8bb514(_0x10c65b);},'oeXrb':function(_0x5b8da8){return _0x5b8da8();},'VcvIr':function(_0x1da709){return _0x1da709();},'cpyYP':function(_0x13885b){return _0x13885b();},'QcZyY':function(_0x44fe59){return _0x44fe59();},'XjMxK':_0x2ebfc0(0x18d),'SKicr':'err','EmnYZ':function(_0x409c58,_0x341457){return _0x409c58!==_0x341457;},'aQXRz':_0x2ebfc0(0x1f4),'PixIb':_0x2ebfc0(0x1b2),'sYmwa':'failed','XuUYe':_0x2ebfc0(0x183),'tTzfq':_0x2ebfc0(0x175),'THpEv':_0x2ebfc0(0x1f5),'wYNCQ':function(_0x47a9a3,_0x5be5f4){return _0x47a9a3-_0x5be5f4;},'pTbzH':function(_0x285718,_0x124c3b,_0x4a7316,_0x5761b3,_0x20298c){return _0x285718(_0x124c3b,_0x4a7316,_0x5761b3,_0x20298c);},'zhadI':_0x2ebfc0(0x236),'vMgWR':'meta','bzYld':_0x2ebfc0(0x1b1),'urBWy':_0x2ebfc0(0x25b),'hnlqx':'backtrace','yfRie':'failure_reason_expanded','JTmqB':_0x2ebfc0(0x1af),'fJFcV':function(_0x56339b,_0x4f81bd){return _0x56339b===_0x4f81bd;},'dCtxF':'hook_run','giqLC':_0x2ebfc0(0x1ad)};if(!this[_0x2ebfc0(0x1cd)])return;try{if(_0x59ef3d['fn']&&_0x59ef3d['fn'][_0x2ebfc0(0x1c7)]()[_0x2ebfc0(0x239)](/browserstack internal helper hook/))return;const _0x3d7e0d=_0x5c41b9[_0x2ebfc0(0x17f)](parseEvent,_0x18b7ae);if(!_0x3d7e0d)return;if(_0x3d7e0d['test']){this[_0x2ebfc0(0x184)]=_0x59ef3d,this['currentHook']=null;if(_0x3d7e0d['started']||_0x3d7e0d['skipped']){_0x59ef3d[_0x2ebfc0(0x1e4)]=new Date(),_0x59ef3d[_0x2ebfc0(0x182)]=![];if(!_0x59ef3d[_0x2ebfc0(0x1c6)])_0x59ef3d['testAnalyticsId']=_0x5c41b9['oeXrb'](uuidv4);else _0x59ef3d[_0x2ebfc0(0x182)]&&(!_0x59ef3d[_0x2ebfc0(0x1b9)]&&(_0x59ef3d[_0x2ebfc0(0x1b9)]=_0x59ef3d['testAnalyticsId']),_0x59ef3d['testAnalyticsId']=_0x5c41b9[_0x2ebfc0(0x200)](uuidv4));}}else{if(_0x3d7e0d[_0x2ebfc0(0x173)]){this[_0x2ebfc0(0x201)]=_0x59ef3d;if(_0x3d7e0d[_0x2ebfc0(0x18e)]){_0x59ef3d[_0x2ebfc0(0x1e4)]=new Date(),_0x59ef3d[_0x2ebfc0(0x182)]=![];if(!_0x59ef3d[_0x2ebfc0(0x19b)])_0x59ef3d[_0x2ebfc0(0x19b)]=_0x5c41b9[_0x2ebfc0(0x232)](uuidv4);else _0x59ef3d[_0x2ebfc0(0x19b)]&&_0x59ef3d['markedStatus']&&(_0x59ef3d[_0x2ebfc0(0x19b)]=_0x5c41b9[_0x2ebfc0(0x1f2)](uuidv4));}}}if(_0x3d7e0d[_0x2ebfc0(0x1df)]&&_0x59ef3d['markedStatus'])return;let _0x21015a;try{_0x21015a=this[_0x2ebfc0(0x199)](_0x59ef3d);}catch(_0x3a6252){logger[_0x2ebfc0(0x1d7)](_0x2ebfc0(0x1e2)+_0x3a6252),_0x21015a=null;}const _0x300889=_0x5c41b9[_0x2ebfc0(0x17f)](require,_0x5c41b9[_0x2ebfc0(0x1dc)]);let _0x5e600c=[];_0x8eec6a&&(_0x5e600c=[_0x8eec6a,_0x5c41b9[_0x2ebfc0(0x23c)]]);const _0x1201e2=_0x5c41b9[_0x2ebfc0(0x17e)](_0x59ef3d[_0x2ebfc0(0x218)],undefined)?_0x300889[_0x2ebfc0(0x190)](_0x59ef3d['errorsDetailed'][0x0]):_0x5c41b9[_0x2ebfc0(0x17e)](_0x8eec6a,undefined)?_0x8eec6a[_0x2ebfc0(0x1c7)]():undefined,_0x52575e=_0x21015a?this[_0x2ebfc0(0x1a6)](_0x21015a):null,_0x149c8a=_0x21015a?this[_0x2ebfc0(0x22b)]['prefixTestPath'](this['getRootParentFile'](_0x59ef3d)):_0x5c41b9[_0x2ebfc0(0x181)];let _0x264ba2=_0x5c41b9[_0x2ebfc0(0x257)];const _0x45b30e=!_0x3d7e0d[_0x2ebfc0(0x18e)]?new Date()[_0x2ebfc0(0x21f)]():null;if(_0x3d7e0d[_0x2ebfc0(0x1df)])_0x264ba2=_0x8eec6a?_0x5c41b9[_0x2ebfc0(0x1b8)]:_0x5c41b9['XuUYe'],_0x59ef3d[_0x2ebfc0(0x182)]=!![];else _0x3d7e0d['skipped']&&(_0x264ba2=_0x5c41b9[_0x2ebfc0(0x1ec)],_0x59ef3d[_0x2ebfc0(0x182)]=!![]);const _0x5a949f={'framework':this[_0x2ebfc0(0x1b5)],'uuid':_0x59ef3d['testAnalyticsId']||_0x59ef3d[_0x2ebfc0(0x19b)],'name':_0x59ef3d[_0x2ebfc0(0x211)],'body':{'lang':_0x5c41b9[_0x2ebfc0(0x1d4)],'code':_0x59ef3d[_0x2ebfc0(0x193)][_0x2ebfc0(0x1c7)]()},'type':_0x59ef3d[_0x2ebfc0(0x185)],'scope':_0x59ef3d[_0x2ebfc0(0x204)](),'scopes':this[_0x2ebfc0(0x208)](_0x59ef3d),'file_name':_0x149c8a,'vc_filepath':_0x52575e?path[_0x2ebfc0(0x1f8)](_0x52575e,_0x21015a):null,'location':_0x149c8a,'result':_0x264ba2,'failure_reason':_0x1201e2,'duration_in_ms':_0x59ef3d[_0x2ebfc0(0x1b0)]||(_0x3d7e0d[_0x2ebfc0(0x1df)]||_0x3d7e0d[_0x2ebfc0(0x175)])?_0x5c41b9['wYNCQ'](Date[_0x2ebfc0(0x1ba)](),new Date(_0x59ef3d['startedAt'])[_0x2ebfc0(0x1a9)]()):null,'started_at':new Date(_0x59ef3d[_0x2ebfc0(0x1e4)])[_0x2ebfc0(0x21f)](),'finished_at':_0x45b30e,'failure':testOpsHelper[_0x2ebfc0(0x18a)][_0x2ebfc0(0x1e5)](null,_0x5e600c),'failure_type':!_0x1201e2?null:testOpsHelper[_0x2ebfc0(0x1fc)](_0x1201e2),'retry_of':_0x59ef3d[_0x2ebfc0(0x1b9)]||null,'tags':_0x59ef3d['tags']||[],'customRerunParam':{'rerun_name':_0x59ef3d[_0x2ebfc0(0x204)]()}};_0x5c41b9[_0x2ebfc0(0x1b4)](appendTesthubParams,_0x5a949f,_0x18b7ae,_0x59ef3d,FRAMEWORKS[_0x2ebfc0(0x20e)]);if(_0x3d7e0d[_0x2ebfc0(0x173)])[_0x5a949f[_0x2ebfc0(0x1ef)],_0x5a949f[_0x2ebfc0(0x235)]]=[this[_0x2ebfc0(0x197)](_0x59ef3d),_0x59ef3d[_0x2ebfc0(0x176)][_0x2ebfc0(0x243)][_0x2ebfc0(0x211)]],_0x3d7e0d[_0x2ebfc0(0x1df)]?_0x5c41b9['EmnYZ'](_0x5a949f[_0x2ebfc0(0x205)],_0x5c41b9[_0x2ebfc0(0x1b8)])&&(_0x5a949f['result']=_0x5c41b9['XuUYe']):_0x5a949f[_0x2ebfc0(0x193)]={};else _0x3d7e0d['test']&&(this[_0x2ebfc0(0x187)](_0x59ef3d),_0x3d7e0d['skipped']&&this[_0x2ebfc0(0x179)](_0x59ef3d),(_0x3d7e0d[_0x2ebfc0(0x1df)]||_0x3d7e0d[_0x2ebfc0(0x175)])&&(_0x5a949f[_0x2ebfc0(0x177)]=this['getHooksForTest'](_0x59ef3d)));this[_0x2ebfc0(0x17c)]&&(_0x3d7e0d['started']||_0x3d7e0d['skipped'])&&(_0x5a949f[_0x5c41b9[_0x2ebfc0(0x1c9)]]=this[_0x2ebfc0(0x1d0)](this[_0x2ebfc0(0x17c)]));_0x3d7e0d[_0x2ebfc0(0x243)]&&_0x3d7e0d[_0x2ebfc0(0x1df)]&&_0x59ef3d[_0x2ebfc0(0x24b)]&&(_0x5a949f[_0x5c41b9['vMgWR']]={'feature':{'name':_0x59ef3d['parent']['feature'][_0x2ebfc0(0x235)],'path':_0x5a949f[_0x2ebfc0(0x24f)],'description':_0x59ef3d[_0x2ebfc0(0x196)]['comment']},'scenario':{'name':_0x59ef3d[_0x2ebfc0(0x211)]},'steps':_0x59ef3d[_0x2ebfc0(0x24b)]});const _0x5b42f9=_0x5a949f[_0x5c41b9['bzYld']][0x0];_0x5b42f9&&(_0x5a949f[_0x5c41b9[_0x2ebfc0(0x253)]]=_0x5b42f9[_0x5c41b9[_0x2ebfc0(0x241)]],_0x5a949f[_0x5c41b9[_0x2ebfc0(0x1d2)]]=_0x5b42f9[_0x5c41b9[_0x2ebfc0(0x203)]]);if(_0x59ef3d[_0x2ebfc0(0x24b)])for(const _0x36a6e7 of _0x59ef3d[_0x2ebfc0(0x24b)]){!_0x36a6e7['finished_at']&&(_0x36a6e7[_0x2ebfc0(0x1a4)]=new Date()[_0x2ebfc0(0x21f)](),_0x5c41b9['fJFcV'](_0x36a6e7['result'],_0x5c41b9['PixIb'])&&(_0x5b42f9?(_0x36a6e7[_0x2ebfc0(0x205)]=_0x5c41b9[_0x2ebfc0(0x1b8)],_0x36a6e7[_0x2ebfc0(0x1b1)]=_0x5b42f9[_0x5c41b9['hnlqx']][0x0]):_0x36a6e7[_0x2ebfc0(0x205)]=_0x5c41b9[_0x2ebfc0(0x186)]));}const _0x385ca6={};_0x385ca6['event_type']=_0x3d7e0d[_0x2ebfc0(0x175)]?TEST_EVENTS[_0x2ebfc0(0x20a)]:_0x18b7ae;const _0x4715d6=_0x385ca6;return _0x3d7e0d['hook']?_0x4715d6[_0x5c41b9[_0x2ebfc0(0x221)]]=_0x5a949f:_0x4715d6[_0x5c41b9[_0x2ebfc0(0x1a7)]]=_0x5a949f,_0x4715d6;}catch(_0x2287ed){logger[_0x2ebfc0(0x1d7)](_0x2ebfc0(0x24c)+_0x18b7ae+_0x2ebfc0(0x247)+_0x2287ed);}}async['fireEvent'](_0x2c7a26,_0x392773){const _0xb80f45=a4_0x3de7c1;if(!this[_0xb80f45(0x1cd)]||!_0x392773||!_0x2c7a26)return![];try{return await SessionHandler[_0xb80f45(0x1fd)](_0x392773);}catch(_0x1900af){logger[_0xb80f45(0x1d7)](_0xb80f45(0x21a)+_0x2c7a26+_0xb80f45(0x247)+_0x1900af);}}[a4_0x3de7c1(0x23b)](_0x453f0f){const _0x4b74a3=a4_0x3de7c1,_0x280cad={};_0x280cad['pKvXH']=_0x4b74a3(0x1b2);const _0x598271=_0x280cad;return{'id':_0x453f0f[_0x4b74a3(0x1b3)],'text':_0x453f0f[_0x4b74a3(0x170)],'keyword':_0x453f0f[_0x4b74a3(0x263)],'started_at':_0x453f0f['startedAt'][_0x4b74a3(0x21f)](),'result':_0x598271[_0x4b74a3(0x245)]};}[a4_0x3de7c1(0x238)](_0x9dc03c){const _0x247716=a4_0x3de7c1,_0x475ebe={'tRRJV':function(_0x1387a0){return _0x1387a0();}};!this[_0x247716(0x184)][_0x247716(0x24b)]&&(this[_0x247716(0x184)][_0x247716(0x24b)]=[]),!_0x9dc03c[_0x247716(0x1b3)]&&(_0x9dc03c[_0x247716(0x1b3)]=_0x475ebe['tRRJV'](uuidv4),_0x9dc03c[_0x247716(0x1e4)]=new Date(),this[_0x247716(0x184)]['bddSteps'][_0x247716(0x1e0)](this[_0x247716(0x23b)](_0x9dc03c)));}[a4_0x3de7c1(0x229)](_0x26c7b8){const _0x230db1=a4_0x3de7c1,_0xb8fe2a={'tbwav':function(_0x3cba86,_0x3b9da1){return _0x3cba86(_0x3b9da1);},'MfbsM':_0x230db1(0x1e3),'RXhXU':_0x230db1(0x1b2),'irGCF':_0x230db1(0x183),'VHfQi':function(_0x15b364,_0x10c360){return _0x15b364-_0x10c360;}};let _0x53f745=this[_0x230db1(0x184)][_0x230db1(0x24b)][_0x230db1(0x251)](_0x3eea5d=>_0x3eea5d['id']===_0x26c7b8[_0x230db1(0x1b3)]);_0xb8fe2a['tbwav'](isUndefined,_0x53f745)&&(_0x53f745=this[_0x230db1(0x23b)](_0x26c7b8)),_0x53f745[_0x230db1(0x205)]=[_0xb8fe2a[_0x230db1(0x1f9)],_0xb8fe2a[_0x230db1(0x1db)]][_0x230db1(0x17d)](_0x26c7b8[_0x230db1(0x1d9)])?_0xb8fe2a['irGCF']:_0x26c7b8[_0x230db1(0x1d9)],_0x53f745[_0x230db1(0x1a4)]=new Date()['toISOString'](),_0x53f745[_0x230db1(0x1b0)]=_0xb8fe2a[_0x230db1(0x1bb)](Date[_0x230db1(0x1ba)](),_0x26c7b8['startedAt'][_0x230db1(0x1a9)]()),_0x53f745[_0x230db1(0x1b1)]=_0x26c7b8[_0x230db1(0x1b6)]?_0x26c7b8[_0x230db1(0x1b6)]['message']:null;}}const a4_0x4f34d7={};a4_0x4f34d7[a4_0x3de7c1(0x172)]=O11yHelper,a4_0x4f34d7[a4_0x3de7c1(0x23a)]=STATE_PASSED,a4_0x4f34d7['STATE_FAILED']=STATE_FAILED,a4_0x4f34d7[a4_0x3de7c1(0x1de)]=TEST_EVENTS,module[a4_0x3de7c1(0x1d3)]=a4_0x4f34d7;
|
|
1
|
+
const a4_0x3aa476=a4_0x7c99;function a4_0x7c99(_0x16144e,_0x8c4478){const _0x133b58=a4_0x133b();return a4_0x7c99=function(_0x7c9956,_0x5c80fd){_0x7c9956=_0x7c9956-0x10c;let _0xc2c7e5=_0x133b58[_0x7c9956];return _0xc2c7e5;},a4_0x7c99(_0x16144e,_0x8c4478);}(function(_0x4234bd,_0x13926f){const _0x2805d0=a4_0x7c99,_0x381fa4=_0x4234bd();while(!![]){try{const _0x2f0b3f=-parseInt(_0x2805d0(0x1d8))/0x1+-parseInt(_0x2805d0(0x124))/0x2*(-parseInt(_0x2805d0(0x1e3))/0x3)+parseInt(_0x2805d0(0x18e))/0x4+-parseInt(_0x2805d0(0x1cd))/0x5+-parseInt(_0x2805d0(0x160))/0x6*(parseInt(_0x2805d0(0x1f8))/0x7)+parseInt(_0x2805d0(0x136))/0x8*(-parseInt(_0x2805d0(0x13d))/0x9)+parseInt(_0x2805d0(0x1ed))/0xa*(parseInt(_0x2805d0(0x1da))/0xb);if(_0x2f0b3f===_0x13926f)break;else _0x381fa4['push'](_0x381fa4['shift']());}catch(_0x4ba7db){_0x381fa4['push'](_0x381fa4['shift']());}}}(a4_0x133b,0xd1c1f));const path=require(a4_0x3aa476(0x1f7)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3aa476(0x11a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x3aa476(0x1e9)),{getTestEnv}=require(a4_0x3aa476(0x128)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x3aa476(0x166)],SessionHandler=require(a4_0x3aa476(0x19c)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3aa476(0x148)),{fetchPlatformDetails}=require(a4_0x3aa476(0x179)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x3aa476(0x193),STATE_FAILED=a4_0x3aa476(0x12a),a4_0x264b26={};a4_0x264b26[a4_0x3aa476(0x196)]=a4_0x3aa476(0x17a),a4_0x264b26[a4_0x3aa476(0x176)]='TestRunFinished',a4_0x264b26['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x264b26[a4_0x3aa476(0x177)]=a4_0x3aa476(0x115),a4_0x264b26[a4_0x3aa476(0x187)]=a4_0x3aa476(0x1d3);const TEST_EVENTS=a4_0x264b26,parseEvent=_0x960734=>{const _0xcaffb6=a4_0x3aa476,_0x176b46={};_0x176b46['HQufZ']=function(_0x5e0c48,_0x17103f){return _0x5e0c48<_0x17103f;},_0x176b46[_0xcaffb6(0x16e)]=function(_0x2ff9a6,_0x21b64e){return _0x2ff9a6===_0x21b64e;},_0x176b46['xYhYy']='test',_0x176b46[_0xcaffb6(0x16a)]=function(_0x3963c4,_0x19aed8){return _0x3963c4===_0x19aed8;},_0x176b46[_0xcaffb6(0x152)]=_0xcaffb6(0x1e4),_0x176b46[_0xcaffb6(0x1a1)]=_0xcaffb6(0x13f),_0x176b46['dabEK']=function(_0x2aff8a,_0x5328d0){return _0x2aff8a===_0x5328d0;},_0x176b46[_0xcaffb6(0x131)]=_0xcaffb6(0x117),_0x176b46[_0xcaffb6(0x15f)]=_0xcaffb6(0x19b);const _0x3bd1d1=_0x176b46,_0x11bd03=_0x960734[_0xcaffb6(0x19f)](/^(.*)Run(.*)$/);if(!_0x11bd03)return null;if(_0x3bd1d1[_0xcaffb6(0x1ee)](_0x11bd03[_0xcaffb6(0x1c4)],0x3))return null;const _0x27826a=_0x11bd03[0x1][_0xcaffb6(0x132)](),_0x33fdb1=_0x11bd03[0x2][_0xcaffb6(0x132)]();return{'test':_0x3bd1d1['NXcke'](_0x27826a,_0x3bd1d1[_0xcaffb6(0x15c)]),'hook':_0x3bd1d1[_0xcaffb6(0x16a)](_0x27826a,_0x3bd1d1['CCtpt']),'skipped':_0x3bd1d1[_0xcaffb6(0x16a)](_0x33fdb1,_0x3bd1d1[_0xcaffb6(0x1a1)]),'started':_0x3bd1d1['dabEK'](_0x33fdb1,_0x3bd1d1[_0xcaffb6(0x131)]),'finished':_0x3bd1d1[_0xcaffb6(0x133)](_0x33fdb1,_0x3bd1d1[_0xcaffb6(0x15f)])};},mockPWBrowserType=_0x2b26ef=>{const _0x5b2879=a4_0x3aa476,_0x2f3cd3={'riBov':function(_0x7f9803,_0x48e5da,_0x285c13){return _0x7f9803(_0x48e5da,_0x285c13);},'TSeHi':_0x5b2879(0x168),'wfdxR':function(_0x26f1fd,_0x1d4179){return _0x26f1fd(_0x1d4179);},'dvUKC':_0x5b2879(0x14c),'bteff':function(_0x5a9449,_0x3872c4,_0x550247){return _0x5a9449(_0x3872c4,_0x550247);},'wuAPO':function(_0x483e08,_0x51c73c){return _0x483e08(_0x51c73c);},'RiTtB':function(_0x3f1327,_0x5e3b66){return _0x3f1327===_0x5e3b66;},'WpyNQ':_0x5b2879(0x11b),'OMpsp':_0x5b2879(0x18b),'tBrME':'client','Jownl':_0x5b2879(0x14d),'cIUIk':function(_0x123ebf,_0x1116c5){return _0x123ebf(_0x1116c5);},'bRvtD':_0x5b2879(0x195),'gPcaH':'connect','SyPtT':'launch'},_0x2ef4e5=path[_0x5b2879(0x198)](_0x2f3cd3['OMpsp'],_0x2f3cd3[_0x5b2879(0x1c2)],_0x2f3cd3[_0x5b2879(0x155)]),_0x1f888e=_0x2f3cd3['wfdxR'](importFileFromPWCore,_0x2ef4e5);if(!_0x1f888e){_0x2f3cd3[_0x5b2879(0x1b2)](debug,_0x2f3cd3[_0x5b2879(0x1c6)]);return;}const _0x59f957=_0x1f888e[_0x5b2879(0x134)],_0x34a690=_0x59f957[_0x5b2879(0x1e0)];if(_0x34a690[_0x5b2879(0x1c0)])return;const _0x255435=_0x34a690[_0x5b2879(0x161)];Object[_0x5b2879(0x12e)](_0x34a690,_0x2f3cd3[_0x5b2879(0x186)],{'get':function(){const _0x86a508=_0x5b2879,_0x29340a={'mdWvj':function(_0x337ce6,_0x20d639){const _0x56a806=a4_0x7c99;return _0x2f3cd3[_0x56a806(0x1c9)](_0x337ce6,_0x20d639);},'soFHm':_0x2f3cd3[_0x86a508(0x1f4)]};return async function _0x105f1e(_0x4ca728,_0x4ec83b){const _0x5dadfe=_0x86a508,_0x49d29e=_0x2f3cd3['riBov'](nestedKeyValue,_0x4ca728,[_0x2f3cd3[_0x5dadfe(0x183)]])||_0x4ca728;let _0x5809df=null,_0x1416f6=null;try{[_0x1416f6,_0x5809df]=_0x49d29e?_0x2f3cd3['wfdxR'](parseWSEndpoint,_0x49d29e):[null,null],global[_0x5dadfe(0x126)]=_0x5809df,_0x1416f6[_0x5dadfe(0x112)](_0x2f3cd3[_0x5dadfe(0x15e)])&&(global[_0x5dadfe(0x1a4)]=_0x2f3cd3[_0x5dadfe(0x15e)]);}catch(_0x35c83f){logger[_0x5dadfe(0x157)](_0x5dadfe(0x1c3)+_0x49d29e+'\x20'+_0x35c83f);}_0x2f3cd3['bteff'](processAccessibilityCaps,_0x5809df,_0x1416f6);if(global[_0x5dadfe(0x18c)]){const _0x5d4c30=await _0x34a690[_0x5dadfe(0x1d9)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2f3cd3[_0x5dadfe(0x1b1)](encodeURIComponent,JSON[_0x5dadfe(0x11d)](_0x5809df))]);return PlaywrightSessionDetails[_0x5dadfe(0x16c)](_0x5d4c30,_0x2b26ef,_0x49d29e),_0x5d4c30;}return _0x255435[_0x5dadfe(0x143)](this,arguments)['then'](_0x4f204f=>{const _0x1fe58f=_0x5dadfe;let _0x1a6722=_0x4ca728['wsEndpoint'];return _0x29340a[_0x1fe58f(0x17c)](typeof _0x4ca728,_0x29340a[_0x1fe58f(0x135)])&&(_0x1a6722=_0x4ca728),PlaywrightSessionDetails['setupBrowserDetails'](_0x4f204f,_0x2b26ef,_0x1a6722),_0x4f204f;});};}});const _0x1fe269=_0x34a690[_0x5b2879(0x189)];Object[_0x5b2879(0x12e)](_0x34a690,_0x2f3cd3[_0x5b2879(0x173)],{'get':function(){return async function _0x2622f6(){const _0x434403=a4_0x7c99;return _0x1fe269[_0x434403(0x143)](this,arguments)[_0x434403(0x150)](_0x54b2a0=>{const _0x1a7d5e=_0x434403;return PlaywrightSessionDetails[_0x1a7d5e(0x16c)](_0x54b2a0,null),_0x54b2a0;});};}});};class O11yHelper{[a4_0x3aa476(0x17b)]=null;[a4_0x3aa476(0x129)]=null;[a4_0x3aa476(0x127)]=![];[a4_0x3aa476(0x1ab)]=![];constructor(_0x30f011,_0x470f89){const _0x31b573=a4_0x3aa476,_0x29656f={'tGvjK':_0x31b573(0x151),'fPYDb':function(_0x2f75e0,_0x27b440){return _0x2f75e0===_0x27b440;},'tGVxE':_0x31b573(0x1bf),'vHLkB':function(_0x4a8b48,_0x269d61){return _0x4a8b48(_0x269d61);},'lkInz':function(_0x4fdc57){return _0x4fdc57();}},_0x5f0124=_0x29656f[_0x31b573(0x1fa)][_0x31b573(0x125)]('|');let _0x30eeeb=0x0;while(!![]){switch(_0x5f0124[_0x30eeeb++]){case'0':this['driver']=_0x30f011;continue;case'1':this[_0x31b573(0x14a)]=new testOpsHelper['PathHelper']({'cwd':process[_0x31b573(0x1aa)]()},this['_testEnv'][_0x31b573(0x1c7)]);continue;case'2':this[_0x31b573(0x1ab)]=_0x470f89[_0x31b573(0x1ab)];continue;case'3':this[_0x31b573(0x159)]&&_0x29656f[_0x31b573(0x121)](this[_0x31b573(0x159)][_0x31b573(0x1d2)][_0x31b573(0x180)],_0x29656f[_0x31b573(0x10e)])&&_0x29656f[_0x31b573(0x1a6)](mockPWBrowserType,null);continue;case'4':this['_testEnv']=_0x29656f[_0x31b573(0x11e)](getTestEnv);continue;case'5':this[_0x31b573(0x127)]=_0x29656f['lkInz'](shouldProcessEventForTesthub);continue;}break;}}[a4_0x3aa476(0x188)](){const _0x10f423=a4_0x3aa476;if(!this[_0x10f423(0x127)])return;testOpsHelper[_0x10f423(0x138)](),process['removeAllListeners']('bs:addLog:'+process[_0x10f423(0x1b9)]),process['on'](_0x10f423(0x1f2)+process[_0x10f423(0x1b9)],this[_0x10f423(0x120)]['bind'](this));}async[a4_0x3aa476(0x10f)](){const _0x41a956=a4_0x3aa476;await RequestQueueHandler[_0x41a956(0x12f)]()['shutdown']();}async[a4_0x3aa476(0x120)](_0x26b0ab){const _0xcbeea5=a4_0x3aa476,_0x5bdfd6={'iIQDU':_0xcbeea5(0x16f),'sCnXw':function(_0x480e75,_0xd76bf1){return _0x480e75(_0xd76bf1);}};try{this[_0xcbeea5(0x129)]&&!this[_0xcbeea5(0x129)][_0xcbeea5(0x12b)]&&(_0x26b0ab[_0xcbeea5(0x163)]=this[_0xcbeea5(0x129)][_0xcbeea5(0x1eb)]);!_0x26b0ab[_0xcbeea5(0x163)]&&this['currentTest']&&!this[_0xcbeea5(0x17b)][_0xcbeea5(0x12b)]&&(_0x26b0ab[_0xcbeea5(0x1a5)]=this[_0xcbeea5(0x17b)][_0xcbeea5(0x17e)]);if(_0x26b0ab[_0xcbeea5(0x163)]||_0x26b0ab[_0xcbeea5(0x1a5)]){const _0xb2c4a1={};_0xb2c4a1['event_type']=_0x5bdfd6['iIQDU'],_0xb2c4a1[_0xcbeea5(0x1e1)]=[_0x26b0ab],await SessionHandler[_0xcbeea5(0x15d)](_0xb2c4a1);}}catch(_0xc5c4a3){_0x5bdfd6[_0xcbeea5(0x199)](debug,_0xcbeea5(0x197)+_0xc5c4a3);}}async['sendCBTInfo'](_0x316fe9){const _0x2d91b7=a4_0x3aa476,_0x198747={'ZyvtQ':'CBTSessionCreated','FFFBH':function(_0x3956d4,_0x4a5750){return _0x3956d4(_0x4a5750);}};if(!this[_0x2d91b7(0x127)])return;const _0x5dfd70=this[_0x2d91b7(0x12d)](this[_0x2d91b7(0x159)]);try{const _0x3283e0={};_0x3283e0[_0x2d91b7(0x11a)]=_0x316fe9,_0x3283e0['integrations']=_0x5dfd70;const _0x2b1814=_0x3283e0,_0x5ec110={};_0x5ec110[_0x2d91b7(0x14e)]=_0x198747[_0x2d91b7(0x1ae)],_0x5ec110[_0x2d91b7(0x123)]=_0x2b1814,await SessionHandler[_0x2d91b7(0x15d)](_0x5ec110);}catch(_0x5af64b){_0x198747['FFFBH'](debug,_0x2d91b7(0x15a)+_0x5af64b);}}[a4_0x3aa476(0x12d)](_0x10d0db){const _0x4d8c19=a4_0x3aa476,_0x3931e5={'jZfJa':function(_0x1ffe5b,_0x157af1){return _0x1ffe5b(_0x157af1);}};return _0x3931e5[_0x4d8c19(0x1f1)](fetchPlatformDetails,_0x10d0db);}[a4_0x3aa476(0x171)]=_0x31e876=>{const _0x3db60d=a4_0x3aa476,_0x10b948={};_0x10b948[_0x3db60d(0x118)]=_0x3db60d(0x13e),_0x10b948[_0x3db60d(0x1a8)]=_0x3db60d(0x170);const _0xccd25c=_0x10b948;if(!_0x31e876||!_0x31e876[_0x3db60d(0x1de)])return;[_0xccd25c[_0x3db60d(0x118)],_0xccd25c['EmddI']][_0x3db60d(0x145)](_0x17e1a5=>{const _0x44525d=_0x3db60d,_0x2f668a=_0x31e876[_0x44525d(0x1de)][_0x17e1a5];_0x2f668a[_0x44525d(0x145)](_0x22cf7=>{const _0x550b73=_0x44525d;_0x22cf7[_0x550b73(0x1eb)]&&(_0x22cf7[_0x550b73(0x1eb)]=null);});});};['mapTestHooks'](_0x5eae2d){const _0x5841cd=a4_0x3aa476,_0x455a4e={'VYBJl':_0x5841cd(0x1d7),'HKzIr':function(_0x3f2a8c){return _0x3f2a8c();},'VFhHp':function(_0x581bcc,_0x1e294e){return _0x581bcc===_0x1e294e;},'gbtlE':_0x5841cd(0x170),'rkouc':'_beforeAll','CBPzX':_0x5841cd(0x1c1),'OSwbz':'_beforeEach'};if(!_0x5eae2d||!_0x5eae2d[_0x5841cd(0x1de)])return;[_0x455a4e['rkouc'],_0x455a4e[_0x5841cd(0x113)],_0x455a4e['OSwbz'],_0x455a4e[_0x5841cd(0x1ef)]][_0x5841cd(0x145)](_0x493fe4=>{const _0x50095a=_0x5841cd,_0x25e92f=_0x5eae2d[_0x50095a(0x1de)][_0x493fe4]||[];_0x25e92f[_0x50095a(0x145)](_0x4aefbd=>{const _0x31c5e9=_0x50095a;if(_0x4aefbd[_0x31c5e9(0x10d)][_0x31c5e9(0x112)](_0x455a4e[_0x31c5e9(0x1ea)]))return;if(!_0x4aefbd[_0x31c5e9(0x1eb)])_0x4aefbd[_0x31c5e9(0x1eb)]=_0x455a4e[_0x31c5e9(0x1af)](uuidv4);else _0x4aefbd['markedStatus']&&_0x455a4e[_0x31c5e9(0x1ec)](_0x493fe4,_0x455a4e['gbtlE'])&&(_0x4aefbd[_0x31c5e9(0x1eb)]=_0x455a4e[_0x31c5e9(0x1af)](uuidv4),delete _0x4aefbd[_0x31c5e9(0x12b)]);});}),this['mapTestHooks'](_0x5eae2d[_0x5841cd(0x1de)]);}[a4_0x3aa476(0x1cb)](_0x456305){const _0x484b6f=a4_0x3aa476,_0x37059e={};_0x37059e[_0x484b6f(0x162)]=_0x484b6f(0x1df),_0x37059e[_0x484b6f(0x158)]=_0x484b6f(0x1c1),_0x37059e[_0x484b6f(0x1ce)]=_0x484b6f(0x13e),_0x37059e[_0x484b6f(0x1ca)]=_0x484b6f(0x170);const _0x2a372d=_0x37059e;if(!_0x456305||!_0x456305[_0x484b6f(0x1de)])return[];const _0x172fd0=[];return[_0x2a372d[_0x484b6f(0x162)],_0x2a372d[_0x484b6f(0x158)],_0x2a372d['ijVpF'],_0x2a372d[_0x484b6f(0x1ca)]][_0x484b6f(0x145)](_0x1c6e83=>{const _0x5e5bd9=_0x484b6f,_0x2e0651=_0x456305[_0x5e5bd9(0x1de)][_0x1c6e83]||[];_0x2e0651[_0x5e5bd9(0x145)](_0x1b80ef=>{const _0x1284d7=_0x5e5bd9;_0x1b80ef[_0x1284d7(0x1eb)]&&_0x172fd0[_0x1284d7(0x1d4)](_0x1b80ef['hookAnalyticsId']);});}),[][_0x484b6f(0x156)](_0x172fd0,this[_0x484b6f(0x1cb)](_0x456305['parent']));}[a4_0x3aa476(0x114)](_0x26940a){const _0x4979c8=a4_0x3aa476,_0x4af359=/^"(?<hook>.*)" hook:.*$/,_0x258f67=_0x26940a[_0x4979c8(0x10d)],_0x1f5c89=_0x258f67[_0x4979c8(0x19f)](_0x4af359);if(_0x1f5c89&&_0x1f5c89[_0x4979c8(0x1d6)])return _0x1f5c89[_0x4979c8(0x1d6)][_0x4979c8(0x1e4)]['toUpperCase']()[_0x4979c8(0x141)]('\x20','_');return null;}[a4_0x3aa476(0x1f6)](_0x241b60){const _0x494056=a4_0x3aa476,_0x3aefbf={};_0x3aefbf[_0x494056(0x146)]=function(_0x5d08db,_0xccda63){return _0x5d08db===_0xccda63;},_0x3aefbf[_0x494056(0x1f3)]=function(_0x4afa1c,_0x40512f){return _0x4afa1c===_0x40512f;},_0x3aefbf[_0x494056(0x110)]=function(_0x3fd3ac,_0x329101){return _0x3fd3ac===_0x329101;},_0x3aefbf['NFNRQ']=_0x494056(0x14f),_0x3aefbf[_0x494056(0x1ba)]='config';const _0x1d181e=_0x3aefbf,_0x41a35e=path['sep'];if(_0x1d181e[_0x494056(0x146)](_0x241b60,null)||_0x1d181e[_0x494056(0x146)](_0x241b60,'')||_0x1d181e[_0x494056(0x1f3)](_0x241b60,_0x41a35e)||_0x1d181e[_0x494056(0x110)](_0x241b60,path['dirname'](_0x241b60)))return null;try{return fs[_0x494056(0x122)](path[_0x494056(0x198)](_0x241b60,_0x1d181e[_0x494056(0x139)],_0x1d181e[_0x494056(0x1ba)])),_0x241b60;}catch(_0x40c7f0){const _0xb487b3=path[_0x494056(0x119)](_0x241b60);return this[_0x494056(0x1f6)](_0xb487b3);}}[a4_0x3aa476(0x18a)](_0x280cd7){const _0x2e1fa0=a4_0x3aa476,_0xcc81ed={};_0xcc81ed[_0x2e1fa0(0x16d)]=function(_0x237364,_0x399e1c){return _0x237364>_0x399e1c;};const _0x1c3ba0=_0xcc81ed;if(_0x280cd7[_0x2e1fa0(0x1a7)])return _0x280cd7[_0x2e1fa0(0x1a7)];if(_0x280cd7['ctx']){const _0x5f58a1=_0x280cd7[_0x2e1fa0(0x142)][_0x2e1fa0(0x17b)]?this[_0x2e1fa0(0x18a)](_0x280cd7[_0x2e1fa0(0x142)]['currentTest']):null;if(_0x5f58a1)return _0x5f58a1;}if(_0x280cd7[_0x2e1fa0(0x1de)]){const _0xd9761a=this['getRootParentFile'](_0x280cd7[_0x2e1fa0(0x1de)])||(_0x280cd7[_0x2e1fa0(0x1de)][_0x2e1fa0(0x142)]&&_0x280cd7[_0x2e1fa0(0x1de)][_0x2e1fa0(0x142)]['currentTest']?this[_0x2e1fa0(0x18a)](_0x280cd7['parent'][_0x2e1fa0(0x142)][_0x2e1fa0(0x17b)]):null);if(_0xd9761a)return _0xd9761a;_0x280cd7[_0x2e1fa0(0x1de)]['suites']&&_0x1c3ba0[_0x2e1fa0(0x16d)](_0x280cd7[_0x2e1fa0(0x1de)]['suites'][_0x2e1fa0(0x1c4)],0x0)&&_0x280cd7[_0x2e1fa0(0x1de)][_0x2e1fa0(0x1e6)][_0x2e1fa0(0x145)](_0x2e70ab=>{const _0x21c9aa=_0x2e1fa0,_0x39ac30=_0x2e70ab[_0x21c9aa(0x142)]?this[_0x21c9aa(0x18a)](_0x2e70ab['ctx']):null;if(_0x39ac30)return _0x39ac30;});}return null;}['getHierarchy'](_0x12b024){const _0x13a3cc=a4_0x3aa476,_0x35bff2={};_0x35bff2[_0x13a3cc(0x111)]=function(_0x7ee6da,_0x382222){return _0x7ee6da!==_0x382222;};const _0x3f5da3=_0x35bff2,_0xfc8ad1=[];if(_0x12b024&&_0x12b024[_0x13a3cc(0x1de)]){let _0x2403e1=_0x12b024[_0x13a3cc(0x1de)];while(_0x2403e1&&_0x3f5da3['ZamsM'](_0x2403e1[_0x13a3cc(0x10d)],'')){_0xfc8ad1[_0x13a3cc(0x1d4)](_0x2403e1[_0x13a3cc(0x10d)]),_0x2403e1=_0x2403e1[_0x13a3cc(0x1de)];}}return _0xfc8ad1;}[a4_0x3aa476(0x1b0)](_0x87f1d5,_0x45a866,_0x5aa195=undefined){const _0x22ba41=a4_0x3aa476,_0x2db967={'SADaG':function(_0x31c36c,_0x5141f2){return _0x31c36c(_0x5141f2);},'MLyoH':function(_0x2da97e){return _0x2da97e();},'jHLmD':function(_0x3bd2b2){return _0x3bd2b2();},'WpgLC':function(_0x522140){return _0x522140();},'XKujy':function(_0x58c96b,_0xd73bac){return _0x58c96b(_0xd73bac);},'EykqQ':'util','HYDcs':_0x22ba41(0x1b6),'sHVhG':function(_0x19f17a,_0x33e843){return _0x19f17a!==_0x33e843;},'aXQas':'File\x20path\x20could\x20not\x20be\x20found','holsb':_0x22ba41(0x10c),'vYreY':_0x22ba41(0x12a),'YMEVh':_0x22ba41(0x193),'pMfZU':_0x22ba41(0x13f),'ykoUs':_0x22ba41(0x19e),'MHaox':function(_0x4990d9,_0x2aba88){return _0x4990d9-_0x2aba88;},'lotRq':function(_0x10dedb,_0x213660,_0x210e05,_0x28ea29,_0x9354a4){return _0x10dedb(_0x213660,_0x210e05,_0x28ea29,_0x9354a4);},'ONDrV':_0x22ba41(0x1ac),'rOwDx':_0x22ba41(0x1b3),'oKpao':_0x22ba41(0x144),'ihMFi':'failure_backtrace','FYdDH':_0x22ba41(0x137),'QdppM':_0x22ba41(0x140),'fNLGN':'expanded','pIBFq':function(_0x2057d3,_0x14903b){return _0x2057d3===_0x14903b;},'TpjQy':_0x22ba41(0x147),'vOiOA':_0x22ba41(0x123)};if(!this['enabled'])return;try{if(_0x45a866['fn']&&_0x45a866['fn'][_0x22ba41(0x1bb)]()[_0x22ba41(0x19f)](/browserstack internal helper hook/))return;const _0xba720e=_0x2db967[_0x22ba41(0x1e5)](parseEvent,_0x87f1d5);if(!_0xba720e)return;if(_0xba720e['test']){this['currentTest']=_0x45a866,this[_0x22ba41(0x129)]=null;if(_0xba720e[_0x22ba41(0x117)]||_0xba720e[_0x22ba41(0x13f)]){_0x45a866[_0x22ba41(0x165)]=new Date(),_0x45a866[_0x22ba41(0x12b)]=![];if(!_0x45a866[_0x22ba41(0x17e)])_0x45a866['testAnalyticsId']=_0x2db967[_0x22ba41(0x164)](uuidv4);else _0x45a866[_0x22ba41(0x12b)]&&(!_0x45a866['retryOf']&&(_0x45a866[_0x22ba41(0x12c)]=_0x45a866[_0x22ba41(0x17e)]),_0x45a866[_0x22ba41(0x17e)]=_0x2db967[_0x22ba41(0x153)](uuidv4));}}else{if(_0xba720e['hook']){this[_0x22ba41(0x129)]=_0x45a866;if(_0xba720e[_0x22ba41(0x117)]){_0x45a866['startedAt']=new Date(),_0x45a866['markedStatus']=![];if(!_0x45a866[_0x22ba41(0x1eb)])_0x45a866[_0x22ba41(0x1eb)]=_0x2db967[_0x22ba41(0x164)](uuidv4);else _0x45a866[_0x22ba41(0x1eb)]&&_0x45a866[_0x22ba41(0x12b)]&&(_0x45a866['hookAnalyticsId']=_0x2db967[_0x22ba41(0x1d1)](uuidv4));}}}if(_0xba720e[_0x22ba41(0x19b)]&&_0x45a866[_0x22ba41(0x12b)])return;let _0x4ba2a4;try{_0x4ba2a4=this[_0x22ba41(0x18a)](_0x45a866);}catch(_0x5e38b6){logger['debug'](_0x22ba41(0x1a9)+_0x5e38b6),_0x4ba2a4=null;}const _0x45a629=_0x2db967['XKujy'](require,_0x2db967['EykqQ']);let _0x34ddc0=[];_0x5aa195&&(_0x34ddc0=[_0x5aa195,_0x2db967['HYDcs']]);const _0x24c7ff=_0x2db967['sHVhG'](_0x45a866[_0x22ba41(0x190)],undefined)?_0x45a629[_0x22ba41(0x18f)](_0x45a866[_0x22ba41(0x190)][0x0]):_0x2db967[_0x22ba41(0x1dd)](_0x5aa195,undefined)?_0x5aa195[_0x22ba41(0x1bb)]():undefined,_0x5d9a67=_0x4ba2a4?this[_0x22ba41(0x1f6)](_0x4ba2a4):null,_0x305f07=_0x4ba2a4?this[_0x22ba41(0x14a)][_0x22ba41(0x1e7)](this['getRootParentFile'](_0x45a866)):_0x2db967[_0x22ba41(0x1b8)];let _0x5b10db=_0x2db967[_0x22ba41(0x17f)];const _0x499562=!_0xba720e[_0x22ba41(0x117)]?new Date()[_0x22ba41(0x1bc)]():null;if(_0xba720e[_0x22ba41(0x19b)])_0x5b10db=_0x5aa195?_0x2db967[_0x22ba41(0x184)]:_0x2db967[_0x22ba41(0x1f9)],_0x45a866['markedStatus']=!![];else _0xba720e[_0x22ba41(0x13f)]&&(_0x5b10db=_0x2db967[_0x22ba41(0x1dc)],_0x45a866[_0x22ba41(0x12b)]=!![]);const _0x2f588a={'framework':this[_0x22ba41(0x1ab)],'uuid':_0x45a866[_0x22ba41(0x17e)]||_0x45a866[_0x22ba41(0x1eb)],'name':_0x45a866[_0x22ba41(0x10d)],'body':{'lang':_0x2db967['ykoUs'],'code':_0x45a866[_0x22ba41(0x194)]['toString']()},'type':_0x45a866[_0x22ba41(0x15b)],'scope':_0x45a866[_0x22ba41(0x1b7)](),'scopes':this['getHierarchy'](_0x45a866),'file_name':_0x305f07,'vc_filepath':_0x5d9a67?path['relative'](_0x5d9a67,_0x4ba2a4):null,'location':_0x305f07,'result':_0x5b10db,'failure_reason':_0x24c7ff,'duration_in_ms':_0x45a866[_0x22ba41(0x14b)]||(_0xba720e[_0x22ba41(0x19b)]||_0xba720e[_0x22ba41(0x13f)])?_0x2db967['MHaox'](Date[_0x22ba41(0x11f)](),new Date(_0x45a866[_0x22ba41(0x165)])['getTime']()):null,'started_at':new Date(_0x45a866[_0x22ba41(0x165)])[_0x22ba41(0x1bc)](),'finished_at':_0x499562,'failure':testOpsHelper[_0x22ba41(0x178)][_0x22ba41(0x143)](null,_0x34ddc0),'failure_type':!_0x24c7ff?null:testOpsHelper[_0x22ba41(0x185)](_0x24c7ff),'retry_of':_0x45a866[_0x22ba41(0x12c)]||null,'tags':_0x45a866[_0x22ba41(0x11c)]||[],'customRerunParam':{'rerun_name':_0x45a866[_0x22ba41(0x1b7)]()}};_0x2db967[_0x22ba41(0x1c5)](appendTesthubParams,_0x2f588a,_0x87f1d5,_0x45a866,FRAMEWORKS[_0x22ba41(0x1ad)]);if(_0xba720e[_0x22ba41(0x1e4)])[_0x2f588a['hook_type'],_0x2f588a[_0x22ba41(0x180)]]=[this[_0x22ba41(0x114)](_0x45a866),_0x45a866['ctx'][_0x22ba41(0x19a)][_0x22ba41(0x10d)]],_0xba720e[_0x22ba41(0x19b)]?_0x2db967[_0x22ba41(0x1dd)](_0x2f588a[_0x22ba41(0x1a3)],_0x2db967[_0x22ba41(0x184)])&&(_0x2f588a[_0x22ba41(0x1a3)]=_0x2db967[_0x22ba41(0x1f9)]):_0x2f588a[_0x22ba41(0x194)]={};else _0xba720e[_0x22ba41(0x19a)]&&(this[_0x22ba41(0x13c)](_0x45a866),_0xba720e[_0x22ba41(0x13f)]&&this[_0x22ba41(0x171)](_0x45a866),(_0xba720e[_0x22ba41(0x19b)]||_0xba720e[_0x22ba41(0x13f)])&&(_0x2f588a[_0x22ba41(0x130)]=this[_0x22ba41(0x1cb)](_0x45a866)));this[_0x22ba41(0x159)]&&(_0xba720e[_0x22ba41(0x117)]||_0xba720e[_0x22ba41(0x13f)])&&(_0x2f588a[_0x2db967[_0x22ba41(0x16b)]]=this[_0x22ba41(0x12d)](this['driver']));_0xba720e[_0x22ba41(0x19a)]&&_0xba720e[_0x22ba41(0x19b)]&&_0x45a866['bddSteps']&&(_0x2f588a[_0x2db967[_0x22ba41(0x191)]]={'feature':{'name':_0x45a866['parent']['feature']['name'],'path':_0x2f588a['file_name'],'description':_0x45a866['parent'][_0x22ba41(0x1db)]},'scenario':{'name':_0x45a866[_0x22ba41(0x10d)]},'steps':_0x45a866[_0x22ba41(0x13a)]});const _0x21626e=_0x2f588a[_0x2db967['oKpao']][0x0];_0x21626e&&(_0x2f588a[_0x2db967[_0x22ba41(0x1d5)]]=_0x21626e[_0x2db967[_0x22ba41(0x116)]],_0x2f588a[_0x2db967[_0x22ba41(0x1cc)]]=_0x21626e[_0x2db967[_0x22ba41(0x1b5)]]);if(_0x45a866[_0x22ba41(0x13a)])for(const _0x176f8e of _0x45a866[_0x22ba41(0x13a)]){!_0x176f8e[_0x22ba41(0x172)]&&(_0x176f8e[_0x22ba41(0x172)]=new Date()[_0x22ba41(0x1bc)](),_0x2db967[_0x22ba41(0x1b4)](_0x176f8e[_0x22ba41(0x1a3)],_0x2db967['holsb'])&&(_0x21626e?(_0x176f8e[_0x22ba41(0x1a3)]=_0x2db967[_0x22ba41(0x184)],_0x176f8e[_0x22ba41(0x144)]=_0x21626e[_0x2db967[_0x22ba41(0x116)]][0x0]):_0x176f8e[_0x22ba41(0x1a3)]=_0x2db967[_0x22ba41(0x1f9)]));}const _0x41b02c={};_0x41b02c[_0x22ba41(0x14e)]=_0xba720e[_0x22ba41(0x13f)]?TEST_EVENTS[_0x22ba41(0x176)]:_0x87f1d5;const _0x1defc4=_0x41b02c;return _0xba720e[_0x22ba41(0x1e4)]?_0x1defc4[_0x2db967['TpjQy']]=_0x2f588a:_0x1defc4[_0x2db967[_0x22ba41(0x154)]]=_0x2f588a,_0x1defc4;}catch(_0x28c45e){logger['debug'](_0x22ba41(0x1f5)+_0x87f1d5+_0x22ba41(0x18d)+_0x28c45e);}}async[a4_0x3aa476(0x174)](_0x1fdaca,_0x5a670c){const _0x3ff312=a4_0x3aa476;if(!this[_0x3ff312(0x127)]||!_0x5a670c||!_0x1fdaca)return![];try{return await SessionHandler[_0x3ff312(0x15d)](_0x5a670c);}catch(_0x14cb0f){logger[_0x3ff312(0x157)](_0x3ff312(0x17d)+_0x1fdaca+_0x3ff312(0x18d)+_0x14cb0f);}}[a4_0x3aa476(0x1f0)](_0x41f0e5){const _0x31d3d7=a4_0x3aa476,_0x3e834a={};_0x3e834a[_0x31d3d7(0x182)]=_0x31d3d7(0x10c);const _0xcb3cee=_0x3e834a;return{'id':_0x41f0e5[_0x31d3d7(0x1cf)],'text':_0x41f0e5['text'],'keyword':_0x41f0e5[_0x31d3d7(0x175)],'started_at':_0x41f0e5[_0x31d3d7(0x165)][_0x31d3d7(0x1bc)](),'result':_0xcb3cee['oUAif']};}[a4_0x3aa476(0x1c8)](_0x4229e1){const _0x3a845c=a4_0x3aa476,_0x54c9a={'jjjzW':function(_0x1fa9c4){return _0x1fa9c4();}};!this[_0x3a845c(0x17b)]['bddSteps']&&(this['currentTest'][_0x3a845c(0x13a)]=[]),!_0x4229e1[_0x3a845c(0x1cf)]&&(_0x4229e1[_0x3a845c(0x1cf)]=_0x54c9a['jjjzW'](uuidv4),_0x4229e1[_0x3a845c(0x165)]=new Date(),this[_0x3a845c(0x17b)]['bddSteps']['push'](this[_0x3a845c(0x1f0)](_0x4229e1)));}[a4_0x3aa476(0x149)](_0x3b9a7b){const _0x22258c=a4_0x3aa476,_0xcfc99f={'GPrEz':function(_0x251403,_0x267b3a){return _0x251403(_0x267b3a);},'tUoBM':_0x22258c(0x1bd),'bwalK':'pending','gjXmY':_0x22258c(0x193),'wNpBd':function(_0xc99a85,_0x163a90){return _0xc99a85-_0x163a90;}};let _0x7f02f9=this[_0x22258c(0x17b)][_0x22258c(0x13a)][_0x22258c(0x19d)](_0x3693e9=>_0x3693e9['id']===_0x3b9a7b[_0x22258c(0x1cf)]);_0xcfc99f['GPrEz'](isUndefined,_0x7f02f9)&&(_0x7f02f9=this[_0x22258c(0x1f0)](_0x3b9a7b)),_0x7f02f9['result']=[_0xcfc99f[_0x22258c(0x1be)],_0xcfc99f[_0x22258c(0x1e2)]][_0x22258c(0x112)](_0x3b9a7b[_0x22258c(0x1a0)])?_0xcfc99f[_0x22258c(0x167)]:_0x3b9a7b[_0x22258c(0x1a0)],_0x7f02f9['finished_at']=new Date()['toISOString'](),_0x7f02f9['duration']=_0xcfc99f['wNpBd'](Date[_0x22258c(0x11f)](),_0x3b9a7b[_0x22258c(0x165)][_0x22258c(0x13b)]()),_0x7f02f9[_0x22258c(0x144)]=_0x3b9a7b[_0x22258c(0x1b6)]?_0x3b9a7b[_0x22258c(0x1b6)][_0x22258c(0x1e8)]:null;}}function a4_0x133b(){const _0x3a9aa3=['failed','markedStatus','retryOf','getCBTInfo','defineProperty','getInstance','hooks','qvzaP','toLowerCase','dabEK','BrowserType','soFHm','20096KizALY','backtrace','patchConsoleLogger','NFNRQ','bddSteps','getTime','mapTestHooks','2511RlWYzB','_beforeEach','skipped','failure_reason_expanded','replace','ctx','apply','failure','forEach','vdTJd','hook_run','../utils/constants','bddStepFinish','_paths','duration','browserstack','browserType.js','event_type','.git','then','5|2|0|4|1|3','CCtpt','jHLmD','vOiOA','Jownl','concat','debug','COarC','driver','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','type','xYhYy','uploadEventData','dvUKC','tWWhH','20658PBEcaw','connect','bwkcX','hook_run_uuid','MLyoH','startedAt','winstonLogger','gjXmY','wsEndpoint','exports','rtWpr','ONDrV','setupBrowserDetails','zytms','NXcke','LogCreated','_afterEach','resetSkipTestHooks','finished_at','SyPtT','fireEvent','keyword','TEST_RUN_FINISHED','HOOK_RUN_STARTED','failureData','./helper.js','TestRunStarted','currentTest','mdWvj','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','testAnalyticsId','holsb','name','STATE_PASSED','oUAif','TSeHi','vYreY','getFailureType','gPcaH','HOOK_RUN_FINISHED','start','launch','getRootParentFile','lib','accessibilityPlatform','\x20with\x20error\x20:\x20','5755316mZYpfi','inspect','errorsDetailed','rOwDx','TEST_EVENTS','passed','body','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_STARTED','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','join','sCnXw','test','finished','../../helpers/test-observability/sessionHandler','find','javascript','match','status','eNHjQ','O11yHelper','result','__cloud_provider___','test_run_uuid','vHLkB','file','EmddI','failed\x20to\x20get\x20root\x20parent\x20file\x20','cwd','frameworkName','integrations','CODECEPT','ZyvtQ','HKzIr','captureEvent','wuAPO','cIUIk','meta','pIBFq','fNLGN','err','fullTitle','aXQas','pid','KPCDj','toString','toISOString','success','tUoBM','Playwright','obsBrowserTypeMockApplied','_afterAll','tBrME','Failed\x20to\x20parse\x20wsendpoint\x20','length','lotRq','bRvtD','location_prefix','bddStepStart','RiTtB','vZvWs','getHooksForTest','QdppM','1096525rAwwtl','ijVpF','stepAnalyticsId','STATE_FAILED','WpgLC','constructor','HookRunFinished','push','ihMFi','groups','codeceptjs','1033998LELxVI','connectOverCDP','6858929joHBMJ','comment','pMfZU','sHVhG','parent','_beforeAll','prototype','logs','bwalK','1425966TdqGua','hook','SADaG','suites','prefixTestPath','message','../../helpers/test-observability/utils','VYBJl','hookAnalyticsId','VFhHp','10cOUMPO','HQufZ','gbtlE','initializeBddStep','jZfJa','bs:addLog:','DWoFN','WpyNQ','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','findGitConfig','path','406oXxRqo','YMEVh','tGvjK','pending','title','tGVxE','stop','RwUFp','ZamsM','includes','CBPzX','getHookType','HookRunStarted','FYdDH','started','GggAB','dirname','uuid','string','tags','stringify','lkInz','now','appendTestItemLog','fPYDb','statSync','test_run','4lpAuXp','split','__platformCaps','enabled','../mocha/test-observability/mochaUtils','currentHook'];a4_0x133b=function(){return _0x3a9aa3;};return a4_0x133b();}const a4_0x17a450={};a4_0x17a450[a4_0x3aa476(0x1a2)]=O11yHelper,a4_0x17a450[a4_0x3aa476(0x181)]=STATE_PASSED,a4_0x17a450[a4_0x3aa476(0x1d0)]=STATE_FAILED,a4_0x17a450[a4_0x3aa476(0x192)]=TEST_EVENTS,module[a4_0x3aa476(0x169)]=a4_0x17a450;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x439898=a5_0x15c7;function a5_0x15c7(_0x1503ca,_0x128308){const _0x44fbb2=a5_0x44fb();return a5_0x15c7=function(_0x15c7f6,_0x3474c8){_0x15c7f6=_0x15c7f6-0x1a4;let _0x3931c9=_0x44fbb2[_0x15c7f6];return _0x3931c9;},a5_0x15c7(_0x1503ca,_0x128308);}(function(_0x5bf99e,_0x83cc9a){const _0x38d04c=a5_0x15c7,_0x151c5a=_0x5bf99e();while(!![]){try{const _0x5af7db=-parseInt(_0x38d04c(0x1b1))/0x1+parseInt(_0x38d04c(0x1d5))/0x2+parseInt(_0x38d04c(0x1fb))/0x3*(parseInt(_0x38d04c(0x1be))/0x4)+-parseInt(_0x38d04c(0x1e2))/0x5+parseInt(_0x38d04c(0x1b2))/0x6*(parseInt(_0x38d04c(0x20a))/0x7)+-parseInt(_0x38d04c(0x1f6))/0x8*(-parseInt(_0x38d04c(0x1fd))/0x9)+-parseInt(_0x38d04c(0x1c3))/0xa;if(_0x5af7db===_0x83cc9a)break;else _0x151c5a['push'](_0x151c5a['shift']());}catch(_0x49ed4f){_0x151c5a['push'](_0x151c5a['shift']());}}}(a5_0x44fb,0x22e86));function a5_0x44fb(){const _0x6bd92a=['steps','wQCWi','OOWAU','true','FtowF','initialize','808GJqpWh','cyan','\x20pending','\x20passed','XnMnW','15747bXKTWc','stepsPassed','22806nokJDH','../../helpers/helper','yoEjK','kUUXF','stepsUnknown','stringify','\x20skipped','start','push','xvtTl','stepsSkipped','../../helpers/testhub/testhubHandler','green','149737pmPRvu','ekUFM','../../helpers/performance/performance-tester','../../helpers/performance/constants','skipSessionName','config','then','KIPXx','cwd','argv','log','../utils/constants','errorMessage','../../helpers/utilities','CUCUMBER','bold','QuLcK','../test-runner','exports','EVENTS','setUserConfigPath','DbpZV','getTCGConfigFilePaths','isUndefined','printBuildLink','tezEN','bbiqM','\x20undefined','getPlatformName','stop','red','stepsAmbiguous','length','veBkL','rmdirSync','266426UNgXof','66AyxRYE','cucumber-js','nFoTx','env','processSuccess','parallelsPerPlatform','LReNV','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getUserWorkerCount','stepsPending','../../helpers/test-observability/utils','end','216OzMpIm','proxySettings','XMGvO','turboScaleUrl','setupTCGAuth','3957300YYEFii','parseFormatters','iLnxa','\x20failed','YWdio','testObservability','debug','PiDSp','SDK_CLEANUP','tbgHx','Removing\x20tmp\x20directory\x20created\x20for\x20reports','cucumber','skipSessionStatus','handleApp','error\x20removing\x20tcg\x20config\x20file','splice','ytQzt','finalExecution','545070hUwoTG','FRAMEWORKS','accessibilityOptions','TISYE','\x20ambiguous','mergeOutputFiles','useW3C','getErrorMessageFromResults','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','logLevel','PHoZn','../../helpers/BrowserStackSetup','1210390lIWWid','createDir','AbNhZ','chalk','stepsUndefined','testContextOptions','Generating\x20consolidated\x20report...','winstonLogger','../../helpers/logger','prepareCapabilities','framework','yellow','qaoCR','SceXy'];a5_0x44fb=function(){return _0x6bd92a;};return a5_0x44fb();}const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x439898(0x1ea))[a5_0x439898(0x1e9)],{default:BrowserStackSetup}=require(a5_0x439898(0x1e1)),helper=require(a5_0x439898(0x1fe)),utilities=require(a5_0x439898(0x217)),constants=require(a5_0x439898(0x215)),{parallelCucumberRun}=require(a5_0x439898(0x21b)),TestHubHandler=require(a5_0x439898(0x208)),testOpsHelper=require(a5_0x439898(0x1bc)),chalk=require(a5_0x439898(0x1e5)),PerformanceTester=require(a5_0x439898(0x20c)),PerformanceEvents=require(a5_0x439898(0x20d))[a5_0x439898(0x21d)];function printCucumberStats(_0x4cd7ed){const _0x50e7ba=a5_0x439898,_0x12f140={};_0x12f140[_0x50e7ba(0x211)]=function(_0x418f34,_0x1c56c5){return _0x418f34>_0x1c56c5;},_0x12f140[_0x50e7ba(0x1f1)]=function(_0x47ed97,_0x296c79){return _0x47ed97-_0x296c79;},_0x12f140[_0x50e7ba(0x1d8)]=function(_0x95eba2,_0x36a441){return _0x95eba2-_0x36a441;},_0x12f140[_0x50e7ba(0x21f)]=function(_0x44bc8b,_0x311608){return _0x44bc8b>_0x311608;},_0x12f140[_0x50e7ba(0x1c5)]=function(_0x5e5afd,_0x46ced5){return _0x5e5afd>_0x46ced5;},_0x12f140[_0x50e7ba(0x1b8)]=function(_0x10afcc,_0xa065cd){return _0x10afcc>_0xa065cd;},_0x12f140[_0x50e7ba(0x1ee)]=function(_0x48e785,_0x2692e2){return _0x48e785>_0x2692e2;},_0x12f140['fppTm']=function(_0x5f005e,_0x1dba32){return _0x5f005e>_0x1dba32;},_0x12f140[_0x50e7ba(0x1a8)]=function(_0x14a8e3,_0x1578e5){return _0x14a8e3>_0x1578e5;},_0x12f140['xvtTl']=function(_0x3762d2,_0x13cfd2){return _0x3762d2>_0x13cfd2;},_0x12f140[_0x50e7ba(0x200)]=function(_0xaeced1,_0x26a182){return _0xaeced1+_0x26a182;},_0x12f140['ytQzt']=function(_0x472fdd,_0x47fce9){return _0x472fdd+_0x47fce9;},_0x12f140['SceXy']=function(_0x2328a1,_0x2dccd6){return _0x2328a1+_0x2dccd6;},_0x12f140[_0x50e7ba(0x1e0)]=function(_0x48576c,_0x126d34){return _0x48576c+_0x126d34;},_0x12f140[_0x50e7ba(0x1af)]=function(_0x3d9aac,_0x1d90f3){return _0x3d9aac===_0x1d90f3;},_0x12f140[_0x50e7ba(0x21a)]='****\x20RESULTS\x20****';const _0x466649=_0x12f140;let _0x3e8875=0x0;if(_0x466649[_0x50e7ba(0x1af)](_0x4cd7ed[_0x50e7ba(0x1ae)],0x0))return _0x3e8875;return console[_0x50e7ba(0x214)](chalk['bold']['bgWhite'](_0x466649[_0x50e7ba(0x21a)])),_0x4cd7ed['forEach'](_0x2b4a5c=>{const _0x21e6da=_0x50e7ba,_0x58d7b0=_0x2b4a5c[0x0],_0x3b4ae3=_0x2b4a5c[0x1];console[_0x21e6da(0x214)]('\x0a'+chalk[_0x21e6da(0x219)][_0x21e6da(0x1ed)](''+helper[_0x21e6da(0x1aa)](_0x58d7b0)));const _0x347a96=_0x3b4ae3['scenarios'],_0x2e1638=_0x3b4ae3[_0x21e6da(0x1f0)],_0xa3b455=_0x3b4ae3['scenariosFailed'],_0x56d197=_0x3b4ae3['stepsFailed'],_0x21f057=_0x3b4ae3[_0x21e6da(0x1fc)],_0x3bad11=_0x3b4ae3[_0x21e6da(0x207)],_0x503506=_0x3b4ae3[_0x21e6da(0x1bb)],_0x28decb=_0x3b4ae3[_0x21e6da(0x1e6)],_0x4400e6=_0x3b4ae3[_0x21e6da(0x201)],_0x39176a=_0x3b4ae3[_0x21e6da(0x1ad)],_0x2c7ee0=_0x3b4ae3[_0x21e6da(0x1b6)];let _0x33a2b2=_0x347a96+'\x20scenarios';const _0x215c05=_0x466649[_0x21e6da(0x211)](_0x466649[_0x21e6da(0x1f1)](_0x347a96,_0xa3b455),0x0)?_0x466649['TISYE'](_0x347a96,_0xa3b455):0x0;if(_0x466649[_0x21e6da(0x21f)](_0xa3b455,0x0)&&_0x466649['iLnxa'](_0x215c05,0x0))_0x33a2b2+='\x20('+chalk['bold'][_0x21e6da(0x1ac)](_0xa3b455+_0x21e6da(0x1c6))+',\x20'+chalk['bold'][_0x21e6da(0x209)](_0x215c05+'\x20passed')+')';else(_0x466649[_0x21e6da(0x1c5)](_0xa3b455,0x0)||_0x466649['LReNV'](_0x215c05,0x0))&&(_0x33a2b2+=_0x466649[_0x21e6da(0x21f)](_0xa3b455,0x0)?'\x20('+chalk[_0x21e6da(0x219)]['red'](_0xa3b455+'\x20failed')+')':'\x20('+chalk[_0x21e6da(0x219)][_0x21e6da(0x209)](_0x215c05+_0x21e6da(0x1f9))+')');const _0x114c58=_0x2e1638+'\x20steps',_0xd1b7b2=[];_0x466649[_0x21e6da(0x1ee)](_0x39176a,0x0)&&_0xd1b7b2[_0x21e6da(0x205)](''+chalk[_0x21e6da(0x219)][_0x21e6da(0x1ac)](_0x39176a+_0x21e6da(0x1d9)));_0x466649['fppTm'](_0x56d197,0x0)&&_0xd1b7b2[_0x21e6da(0x205)](''+chalk[_0x21e6da(0x219)][_0x21e6da(0x1ac)](_0x56d197+_0x21e6da(0x1c6)));_0x466649['bbiqM'](_0x21f057,0x0)&&_0xd1b7b2['push'](''+chalk[_0x21e6da(0x219)]['green'](_0x21f057+_0x21e6da(0x1f9)));_0x466649[_0x21e6da(0x1c5)](_0x503506,0x0)&&_0xd1b7b2['push'](''+chalk['bold'][_0x21e6da(0x1ed)](_0x503506+_0x21e6da(0x1f8)));_0x466649[_0x21e6da(0x211)](_0x3bad11,0x0)&&_0xd1b7b2[_0x21e6da(0x205)](''+chalk['bold'][_0x21e6da(0x1f7)](_0x3bad11+_0x21e6da(0x203)));_0x466649[_0x21e6da(0x206)](_0x28decb,0x0)&&_0xd1b7b2[_0x21e6da(0x205)](''+chalk[_0x21e6da(0x219)]['yellow'](_0x28decb+_0x21e6da(0x1a9)));_0x466649[_0x21e6da(0x1b8)](_0x4400e6,0x0)&&_0xd1b7b2[_0x21e6da(0x205)](''+chalk['bold']['yellow'](_0x4400e6+_0x21e6da(0x203)));const _0x43aadd=_0x466649[_0x21e6da(0x200)](_0x466649[_0x21e6da(0x1d3)](_0x466649[_0x21e6da(0x200)](_0x114c58,'('),_0xd1b7b2['join'](',\x20')),')');console[_0x21e6da(0x214)](_0x466649[_0x21e6da(0x1d3)](_0x466649[_0x21e6da(0x1ef)](_0x466649[_0x21e6da(0x1e0)](_0x466649['kUUXF']('\x0a',_0x33a2b2),'\x0a'),_0x43aadd),'\x0a')),_0x466649[_0x21e6da(0x1af)](_0x2c7ee0,![])&&(_0x3e8875=0x1);}),_0x3e8875;}async function run(_0x3db77f,_0x36e83e){const _0xa52b2f=a5_0x439898,_0x33e795={'fBQwQ':function(_0x2b51de,_0x3ed7c4){return _0x2b51de(_0x3ed7c4);},'OOWAU':function(_0x21c11b,_0x3cac35){return _0x21c11b>_0x3cac35;},'nFoTx':_0xa52b2f(0x1e8),'PiDSp':_0xa52b2f(0x1cd),'tbgHx':_0xa52b2f(0x1ce),'QhyjB':_0xa52b2f(0x1d1),'XMGvO':_0xa52b2f(0x1b3),'tezEN':'tmp','AbNhZ':function(_0x2cc06f,_0xf17565){return _0x2cc06f>_0xf17565;},'ekUFM':function(_0x5884a3,_0x5e7d9a){return _0x5884a3-_0x5e7d9a;},'yoEjK':function(_0x304d7f,_0x805cb6){return _0x304d7f>=_0x805cb6;},'YWdio':function(_0x5c77e6,_0x5951bc){return _0x5c77e6!=_0x5951bc;},'XnMnW':_0xa52b2f(0x1f3),'FtowF':function(_0xab2e0c,_0x278820,_0x1b9819,_0x45dab1,_0x3a0a37,_0x32eec0){return _0xab2e0c(_0x278820,_0x1b9819,_0x45dab1,_0x3a0a37,_0x32eec0);}},_0x48e4be=new BrowserStackSetup(_0x3db77f,_0x33e795[_0xa52b2f(0x1c0)]);await _0x48e4be[_0xa52b2f(0x1f5)](),helper[_0xa52b2f(0x21e)](_0x48e4be[_0xa52b2f(0x1ec)],_0x3db77f);!helper['isBrowserstackInfra']()&&await _0x48e4be[_0xa52b2f(0x1c2)]();await helper[_0xa52b2f(0x1d0)](_0x48e4be[_0xa52b2f(0x20f)]);const _0x581ba8=helper[_0xa52b2f(0x1db)](_0x48e4be['config']),_0x5142e7=helper[_0xa52b2f(0x1eb)](_0x48e4be[_0xa52b2f(0x20f)],_0x581ba8,constants[_0xa52b2f(0x1d6)][_0xa52b2f(0x218)]);if(!_0x48e4be['config'])return;const _0x12ae80=_0x48e4be[_0xa52b2f(0x20f)][_0xa52b2f(0x1b7)]||helper[_0xa52b2f(0x1ba)](_0x3db77f,_0x36e83e,_0x48e4be[_0xa52b2f(0x20f)],constants[_0xa52b2f(0x1d6)]['CUCUMBER'])||0x1,_0x164f7e={'server':helper['getHubUrl'](_0x48e4be[_0xa52b2f(0x20f)]),'proxySettings':_0x48e4be[_0xa52b2f(0x20f)][_0xa52b2f(0x1bf)],'maxWorkers':_0x12ae80,'browserStackLogLevel':_0x48e4be[_0xa52b2f(0x20f)][_0xa52b2f(0x1df)],'skipSessionName':_0x48e4be[_0xa52b2f(0x20f)]['testContextOptions'][_0xa52b2f(0x20e)],'skipSessionStatus':_0x48e4be[_0xa52b2f(0x20f)][_0xa52b2f(0x1e7)][_0xa52b2f(0x1cf)],'turboScaleUrl':_0x48e4be[_0xa52b2f(0x20f)][_0xa52b2f(0x1c1)]},_0x1f8279=process[_0xa52b2f(0x213)],[_0xdf8758,_0x559f2f]=helper[_0xa52b2f(0x1c4)](_0x1f8279),_0x7eec76=path['join'](process[_0xa52b2f(0x212)](),_0x33e795[_0xa52b2f(0x1a7)]);if(_0x33e795[_0xa52b2f(0x1e4)](_0x559f2f[_0xa52b2f(0x1ae)],0x0)){helper[_0xa52b2f(0x1e3)](_0x7eec76);for(let _0x529680=_0x33e795[_0xa52b2f(0x20b)](_0xdf8758[_0xa52b2f(0x1ae)],0x1);_0x33e795[_0xa52b2f(0x1ff)](_0x529680,0x0);_0x529680--){_0x1f8279[_0xa52b2f(0x1d2)](_0xdf8758[_0x529680],0x2);}}!helper[_0xa52b2f(0x1a5)](_0x48e4be[_0xa52b2f(0x20f)]['accessibilityOptions'])&&(process[_0xa52b2f(0x1b5)][_0xa52b2f(0x1b9)]=JSON[_0xa52b2f(0x202)](_0x48e4be[_0xa52b2f(0x20f)][_0xa52b2f(0x1d7)]));_0x33e795[_0xa52b2f(0x1c7)](_0x48e4be['config'][_0xa52b2f(0x1c8)],null)?process[_0xa52b2f(0x1b5)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x48e4be[_0xa52b2f(0x20f)]['testObservability']:process['env'][_0xa52b2f(0x1de)]=_0x33e795[_0xa52b2f(0x1fa)];const _0x50a152=await TestHubHandler['launchBuild'](constants[_0xa52b2f(0x1d6)][_0xa52b2f(0x218)],_0x48e4be);PerformanceTester[_0xa52b2f(0x1bd)](PerformanceEvents['SDK_SETUP']);let _0x1a1901;_0x33e795[_0xa52b2f(0x1f4)](parallelCucumberRun,_0x5142e7,_0x164f7e,_0x48e4be['config'],_0x1f8279,_0x559f2f)[_0xa52b2f(0x210)](async _0xdd459f=>{const _0x200950=_0xa52b2f;PerformanceTester['start'](PerformanceEvents[_0x200950(0x1cb)]),_0x1a1901=_0xdd459f;const _0x4df9fe=_0x33e795['fBQwQ'](printCucumberStats,_0xdd459f);process['exitCode']=_0x4df9fe,_0x33e795[_0x200950(0x1f2)](_0x559f2f[_0x200950(0x1ae)],0x0)&&(logger['debug'](_0x33e795[_0x200950(0x1b4)]),helper[_0x200950(0x1da)](_0x7eec76,_0x559f2f),logger[_0x200950(0x1c9)](_0x33e795[_0x200950(0x1ca)]),helper['removeDir'](_0x7eec76));})['finally'](async()=>{const _0x46a37e=_0xa52b2f;PerformanceTester[_0x46a37e(0x204)](PerformanceEvents['SDK_CLEANUP']),_0x48e4be[_0x46a37e(0x216)]=helper[_0x46a37e(0x1dc)](_0x1a1901,_0x33e795[_0x46a37e(0x1cc)]),testOpsHelper[_0x46a37e(0x1a6)]();try{await TestHubHandler[_0x46a37e(0x1ab)]();}catch(_0x8a8ec6){logger['debug'](_0x46a37e(0x1dd)+util['format'](_0x8a8ec6));}try{const {browserstackFolderPath:_0x123d11,tcgConfigPath:_0x50f720}=helper[_0x46a37e(0x1a4)]();fs['unlinkSync'](_0x50f720),fs[_0x46a37e(0x1b0)](_0x123d11);}catch(_0x6db5d8){logger[_0x46a37e(0x1c9)](_0x33e795['QhyjB'],_0x6db5d8);}await utilities[_0x46a37e(0x1d4)](_0x48e4be);});}module[a5_0x439898(0x21c)]=run;
|
|
2
|
+
'use strict';const a5_0x1be9ce=a5_0x38ba;(function(_0x5927e3,_0x164f0a){const _0x5c861c=a5_0x38ba,_0x5c6886=_0x5927e3();while(!![]){try{const _0x167157=parseInt(_0x5c861c(0x20a))/0x1+parseInt(_0x5c861c(0x1e8))/0x2+-parseInt(_0x5c861c(0x208))/0x3*(parseInt(_0x5c861c(0x1eb))/0x4)+-parseInt(_0x5c861c(0x22b))/0x5+-parseInt(_0x5c861c(0x1ee))/0x6+parseInt(_0x5c861c(0x223))/0x7*(parseInt(_0x5c861c(0x1e5))/0x8)+parseInt(_0x5c861c(0x224))/0x9;if(_0x167157===_0x164f0a)break;else _0x5c6886['push'](_0x5c6886['shift']());}catch(_0x3da0f4){_0x5c6886['push'](_0x5c6886['shift']());}}}(a5_0x3b8b,0x7e470));const fs=require('fs'),path=require('path'),util=require(a5_0x1be9ce(0x210)),logger=require(a5_0x1be9ce(0x214))[a5_0x1be9ce(0x219)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x1be9ce(0x21c)),utilities=require('../../helpers/utilities'),constants=require(a5_0x1be9ce(0x1f4)),{parallelCucumberRun}=require(a5_0x1be9ce(0x235)),TestHubHandler=require(a5_0x1be9ce(0x1fc)),testOpsHelper=require(a5_0x1be9ce(0x1ef)),chalk=require('chalk'),PerformanceTester=require(a5_0x1be9ce(0x225)),PerformanceEvents=require(a5_0x1be9ce(0x218))[a5_0x1be9ce(0x240)];function printCucumberStats(_0x50fd53){const _0x33347c=a5_0x1be9ce,_0x2ff521={};_0x2ff521['PVcDU']=function(_0x27ca5b,_0x11b2ce){return _0x27ca5b>_0x11b2ce;},_0x2ff521[_0x33347c(0x234)]=function(_0xc200ec,_0x5ee809){return _0xc200ec-_0x5ee809;},_0x2ff521['sexlE']=function(_0x32447f,_0xcb36f5){return _0x32447f>_0xcb36f5;},_0x2ff521[_0x33347c(0x205)]=function(_0xfb7026,_0x5a06f8){return _0xfb7026>_0x5a06f8;},_0x2ff521[_0x33347c(0x1ed)]=function(_0x1df77c,_0x574453){return _0x1df77c>_0x574453;},_0x2ff521[_0x33347c(0x1ea)]=function(_0x50808a,_0x37a17c){return _0x50808a>_0x37a17c;},_0x2ff521[_0x33347c(0x1e9)]=function(_0x2c2dee,_0x4067b8){return _0x2c2dee>_0x4067b8;},_0x2ff521['roDyY']=function(_0x9a0120,_0x541228){return _0x9a0120+_0x541228;},_0x2ff521[_0x33347c(0x22a)]=function(_0x35b083,_0x3da6f0){return _0x35b083+_0x3da6f0;},_0x2ff521[_0x33347c(0x24d)]=function(_0x26198d,_0x4fc6fb){return _0x26198d+_0x4fc6fb;},_0x2ff521[_0x33347c(0x22d)]=function(_0xed7992,_0x54d215){return _0xed7992+_0x54d215;},_0x2ff521['KVACa']=function(_0x448896,_0x434e30){return _0x448896===_0x434e30;},_0x2ff521[_0x33347c(0x22c)]=function(_0xe6de4e,_0x5be44f){return _0xe6de4e===_0x5be44f;},_0x2ff521[_0x33347c(0x236)]='****\x20RESULTS\x20****';const _0x569c9f=_0x2ff521;let _0x1b2ed8=0x0;if(_0x569c9f[_0x33347c(0x22c)](_0x50fd53[_0x33347c(0x1fa)],0x0))return _0x1b2ed8;return console[_0x33347c(0x216)](chalk['bold'][_0x33347c(0x233)](_0x569c9f[_0x33347c(0x236)])),_0x50fd53['forEach'](_0x5b4718=>{const _0x5a402a=_0x33347c,_0x2594f7=_0x5b4718[0x0],_0x5708db=_0x5b4718[0x1];console[_0x5a402a(0x216)]('\x0a'+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x247)](''+helper[_0x5a402a(0x20e)](_0x2594f7)));const _0x2bb179=_0x5708db[_0x5a402a(0x222)],_0x51f9f0=_0x5708db[_0x5a402a(0x23b)],_0x31cba3=_0x5708db[_0x5a402a(0x1f9)],_0x1e5b95=_0x5708db[_0x5a402a(0x20b)],_0x3bc4db=_0x5708db[_0x5a402a(0x243)],_0x47cce3=_0x5708db[_0x5a402a(0x207)],_0x58e737=_0x5708db[_0x5a402a(0x229)],_0xcd87f4=_0x5708db['stepsUndefined'],_0x37a654=_0x5708db[_0x5a402a(0x213)],_0x353b7d=_0x5708db[_0x5a402a(0x220)],_0x5d5447=_0x5708db[_0x5a402a(0x245)];let _0x4a6e84=_0x2bb179+_0x5a402a(0x1ff);const _0x3a2bcb=_0x569c9f[_0x5a402a(0x212)](_0x569c9f[_0x5a402a(0x234)](_0x2bb179,_0x31cba3),0x0)?_0x569c9f[_0x5a402a(0x234)](_0x2bb179,_0x31cba3):0x0;if(_0x569c9f[_0x5a402a(0x212)](_0x31cba3,0x0)&&_0x569c9f['PVcDU'](_0x3a2bcb,0x0))_0x4a6e84+='\x20('+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x244)](_0x31cba3+_0x5a402a(0x204))+',\x20'+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x21d)](_0x3a2bcb+_0x5a402a(0x200))+')';else(_0x569c9f[_0x5a402a(0x238)](_0x31cba3,0x0)||_0x569c9f[_0x5a402a(0x238)](_0x3a2bcb,0x0))&&(_0x4a6e84+=_0x569c9f[_0x5a402a(0x238)](_0x31cba3,0x0)?'\x20('+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x244)](_0x31cba3+'\x20failed')+')':'\x20('+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x21d)](_0x3a2bcb+_0x5a402a(0x200))+')');const _0x348e2b=_0x51f9f0+'\x20steps',_0x27f555=[];_0x569c9f['Oipoy'](_0x353b7d,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)]['red'](_0x353b7d+'\x20ambiguous'));_0x569c9f['sexlE'](_0x1e5b95,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)]['red'](_0x1e5b95+_0x5a402a(0x204)));_0x569c9f[_0x5a402a(0x1ed)](_0x3bc4db,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x21d)](_0x3bc4db+_0x5a402a(0x200)));_0x569c9f[_0x5a402a(0x1ea)](_0x58e737,0x0)&&_0x27f555['push'](''+chalk['bold'][_0x5a402a(0x247)](_0x58e737+_0x5a402a(0x1f1)));_0x569c9f[_0x5a402a(0x238)](_0x47cce3,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x1e1)](_0x47cce3+_0x5a402a(0x24b)));_0x569c9f['gIMPu'](_0xcd87f4,0x0)&&_0x27f555['push'](''+chalk['bold'][_0x5a402a(0x247)](_0xcd87f4+'\x20undefined'));_0x569c9f[_0x5a402a(0x1e9)](_0x37a654,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk['bold'][_0x5a402a(0x247)](_0x37a654+_0x5a402a(0x24b)));const _0x2a89ee=_0x569c9f[_0x5a402a(0x1f5)](_0x569c9f[_0x5a402a(0x1f5)](_0x569c9f['QohQn'](_0x348e2b,'('),_0x27f555[_0x5a402a(0x20d)](',\x20')),')');console[_0x5a402a(0x216)](_0x569c9f[_0x5a402a(0x24d)](_0x569c9f[_0x5a402a(0x24d)](_0x569c9f[_0x5a402a(0x1f5)](_0x569c9f['YWCbk']('\x0a',_0x4a6e84),'\x0a'),_0x2a89ee),'\x0a')),_0x569c9f['KVACa'](_0x5d5447,![])&&(_0x1b2ed8=0x1);}),_0x1b2ed8;}async function run(_0x2dc54e,_0x5504f5){const _0xbff96c=a5_0x1be9ce,_0x4aca4e={'LRbMa':function(_0x539239,_0x4e9e3e){return _0x539239(_0x4e9e3e);},'MyhCa':function(_0x1321fc,_0x2caaa9){return _0x1321fc>_0x2caaa9;},'XlsAf':_0xbff96c(0x1f8),'qAfrJ':_0xbff96c(0x202),'BLweX':_0xbff96c(0x21e),'uxDqf':'error\x20removing\x20tcg\x20config\x20file','kcHdO':_0xbff96c(0x1e7),'FJPSH':_0xbff96c(0x250),'duRvs':function(_0x32203,_0x3c0ed6){return _0x32203>_0x3c0ed6;},'rbAcg':function(_0x17e15e,_0x56f466){return _0x17e15e-_0x56f466;},'eZjts':function(_0x2b6afc,_0x19d9d4){return _0x2b6afc>=_0x19d9d4;},'MpLTr':function(_0x1e2b8a,_0x332e3c){return _0x1e2b8a!=_0x332e3c;},'VhkMc':'true','byQyQ':function(_0x3c255f,_0x4d68e8,_0x390206,_0x119da4,_0x3167b7,_0x173da6){return _0x3c255f(_0x4d68e8,_0x390206,_0x119da4,_0x3167b7,_0x173da6);}},_0x2880eb=new BrowserStackSetup(_0x2dc54e,_0x4aca4e[_0xbff96c(0x241)]);await _0x2880eb[_0xbff96c(0x217)](),helper[_0xbff96c(0x24f)](_0x2880eb[_0xbff96c(0x20c)],_0x2dc54e);!helper[_0xbff96c(0x230)]()&&await _0x2880eb[_0xbff96c(0x1f3)]();await helper['handleApp'](_0x2880eb[_0xbff96c(0x1e6)]);const _0x4d5031=helper[_0xbff96c(0x232)](_0x2880eb[_0xbff96c(0x1e6)]),_0x40e309=helper[_0xbff96c(0x23e)](_0x2880eb[_0xbff96c(0x1e6)],_0x4d5031,constants[_0xbff96c(0x1f7)]['CUCUMBER']);if(!_0x2880eb['config'])return;const _0x4de544=_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x221)]||helper[_0xbff96c(0x248)](_0x2dc54e,_0x5504f5,_0x2880eb[_0xbff96c(0x1e6)],constants[_0xbff96c(0x1f7)][_0xbff96c(0x24a)])||0x1,_0x326c69={'server':helper[_0xbff96c(0x24c)](_0x2880eb['config']),'proxySettings':_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x1fb)],'maxWorkers':_0x4de544,'browserStackLogLevel':_0x2880eb['config']['logLevel'],'skipSessionName':_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x226)]['skipSessionName'],'skipSessionStatus':_0x2880eb['config'][_0xbff96c(0x226)]['skipSessionStatus'],'turboScaleUrl':_0x2880eb[_0xbff96c(0x1e6)]['turboScaleUrl']},_0x2f470d=process['argv'],[_0x1119dd,_0x232924]=helper[_0xbff96c(0x201)](_0x2f470d),_0x589da5=path[_0xbff96c(0x20d)](process[_0xbff96c(0x23c)](),_0x4aca4e['FJPSH']);if(_0x4aca4e[_0xbff96c(0x242)](_0x232924[_0xbff96c(0x1fa)],0x0)){helper[_0xbff96c(0x1f6)](_0x589da5);for(let _0x3edf47=_0x4aca4e['rbAcg'](_0x1119dd[_0xbff96c(0x1fa)],0x1);_0x4aca4e[_0xbff96c(0x1ec)](_0x3edf47,0x0);_0x3edf47--){_0x2f470d[_0xbff96c(0x1e3)](_0x1119dd[_0x3edf47],0x2);}}!helper[_0xbff96c(0x239)](_0x2880eb['config'][_0xbff96c(0x22f)])&&(process['env'][_0xbff96c(0x237)]=JSON['stringify'](_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x22f)]));_0x4aca4e[_0xbff96c(0x1e0)](_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x23a)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x23a)]:process[_0xbff96c(0x215)][_0xbff96c(0x1f2)]=_0x4aca4e[_0xbff96c(0x22e)];const _0x251e2a=await TestHubHandler[_0xbff96c(0x209)](constants[_0xbff96c(0x1f7)]['CUCUMBER'],_0x2880eb);PerformanceTester[_0xbff96c(0x1f0)](PerformanceEvents[_0xbff96c(0x227)]);let _0x47d300;_0x4aca4e[_0xbff96c(0x1e4)](parallelCucumberRun,_0x40e309,_0x326c69,_0x2880eb['config'],_0x2f470d,_0x232924)[_0xbff96c(0x1fd)](async _0x17d3e1=>{const _0x2a2d25=_0xbff96c;PerformanceTester['start'](PerformanceEvents[_0x2a2d25(0x211)]),_0x47d300=_0x17d3e1;const _0x1c1096=_0x4aca4e[_0x2a2d25(0x206)](printCucumberStats,_0x17d3e1);process['exitCode']=_0x1c1096,_0x4aca4e[_0x2a2d25(0x20f)](_0x232924[_0x2a2d25(0x1fa)],0x0)&&(logger[_0x2a2d25(0x23f)](_0x4aca4e[_0x2a2d25(0x252)]),helper['mergeOutputFiles'](_0x589da5,_0x232924),logger[_0x2a2d25(0x23f)](_0x4aca4e[_0x2a2d25(0x21a)]),helper['removeDir'](_0x589da5));})['finally'](async()=>{const _0x17ce69=_0xbff96c;PerformanceTester[_0x17ce69(0x24e)](PerformanceEvents['SDK_CLEANUP']),_0x2880eb[_0x17ce69(0x251)]=helper[_0x17ce69(0x246)](_0x47d300,_0x4aca4e['BLweX']),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x17ce69(0x21b)]();}catch(_0x2c9644){logger[_0x17ce69(0x23f)](_0x17ce69(0x228)+util[_0x17ce69(0x231)](_0x2c9644));}try{const {browserstackFolderPath:_0x576495,tcgConfigPath:_0x45a6c1}=helper[_0x17ce69(0x1fe)]();fs[_0x17ce69(0x21f)](_0x45a6c1),fs['rmdirSync'](_0x576495);}catch(_0x2e43d3){logger[_0x17ce69(0x23f)](_0x4aca4e[_0x17ce69(0x23d)],_0x2e43d3);}await utilities[_0x17ce69(0x249)](_0x2880eb);});}module['exports']=run;function a5_0x38ba(_0x36ace7,_0x463966){const _0x3b8b49=a5_0x3b8b();return a5_0x38ba=function(_0x38ba45,_0x1b0b77){_0x38ba45=_0x38ba45-0x1e0;let _0x4dadba=_0x3b8b49[_0x38ba45];return _0x4dadba;},a5_0x38ba(_0x36ace7,_0x463966);}function a5_0x3b8b(){const _0x39278f=['finalExecution','CUCUMBER','\x20skipped','getHubUrl','iZSdO','start','setUserConfigPath','tmp','errorMessage','XlsAf','MpLTr','cyan','bold','splice','byQyQ','4188376vOMRHd','config','cucumber-js','67356IpbXwA','GvvUh','gIMPu','28020qZrBuD','eZjts','vEiBX','3608460QKpguv','../../helpers/test-observability/utils','end','\x20pending','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupTCGAuth','../utils/constants','roDyY','createDir','FRAMEWORKS','Generating\x20consolidated\x20report...','scenariosFailed','length','proxySettings','../../helpers/testhub/testhubHandler','then','getTCGConfigFilePaths','\x20scenarios','\x20passed','parseFormatters','Removing\x20tmp\x20directory\x20created\x20for\x20reports','push','\x20failed','Oipoy','LRbMa','stepsSkipped','135LpMYAD','launchBuild','90074pEKhwf','stepsFailed','framework','join','getPlatformName','MyhCa','util','SDK_CLEANUP','PVcDU','stepsUnknown','../../helpers/logger','env','log','initialize','../../helpers/performance/constants','winstonLogger','qAfrJ','stop','../../helpers/helper','green','cucumber','unlinkSync','stepsAmbiguous','parallelsPerPlatform','scenarios','7erQdXT','12619566PmVHac','../../helpers/performance/performance-tester','testContextOptions','SDK_SETUP','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','stepsPending','QohQn','3078030LYDCbi','ALIaS','YWCbk','VhkMc','accessibilityOptions','isBrowserstackInfra','format','useW3C','bgWhite','iDGjE','../test-runner','eYLiA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','sexlE','isUndefined','testObservability','steps','cwd','uxDqf','prepareCapabilities','debug','EVENTS','kcHdO','duRvs','stepsPassed','red','processSuccess','getErrorMessageFromResults','yellow','getUserWorkerCount'];a5_0x3b8b=function(){return _0x39278f;};return a5_0x3b8b();}
|