browserstack-node-sdk 1.34.32 → 1.34.33
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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x27aa(){const _0x2b7578=['qkISE','TEST_RUN_FINISHED','test-skipped','titlePath','emit','16486brfdSy','HOOK_RUN_STARTED','browserstackTestName','testAnalyticsId','performScan','UFEqn','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','addRequestSpy','fuJXP','2395503KDhbQi','container','filter','base64','accessibilityPlatform','rOQXf','655053sPqeFN','restore','bstackAllyScanning','captureEvent','WebDriver','status','jmdLd','format','qrbzG','bddStep','warn','cZBqp','Puppeteer','commandsToWrap','qdRGb','xmnXe','BwoQB','catch','test-failed','../../helpers/accessibility-automation/scripts','initSaveScreenshot','stop','__skipSessionStatus','browser','browserStackExecuteDriver','forEach','step','stringify','faxNY','passed','setGlobal','SDK_TEST','GET_RESULTS','hPbCe','snWBa','action','comment','jAXtl','afterTest','../../helpers/accessibility-automation/helper','hookType','TEST_RUN_SKIPPED','10AigJux','8GyRwTg','pid','getAccessibilityResultsSummary','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','wZPjv','hook','xpTiV','qzght','SDK_HOOK','bddStep-before','browserstack_executor:\x20','eBUrw','add','hook-started','dyRMk','Lgngs','21192924vftEIZ','GET_RESULTS_SUMMARY','executeScript','GwPOs','prototype','XZnXd','30wdBBWx','codeceptjs/lib/index.js','bddStep-after','./helper.js','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TEST_RUN_STARTED','iAUnM','env','sNduU','691911PrvXSY','test','debug','all','__driver','codeceptjs','started','measureWrapper','jkGfC','test-after','Sneim','shouldWrapCommand','RmZtE','getAccessibilityResults','getSyncScript','bddStepStart','../../helpers/performance/performance-tester','startMonitoring','test-before','ajKZM','cIwWK','vqzCz','GTSPT','4940970JfSqca','info','OvxHF','saveScreenshot','thBuildUuid','xKesI','PKsLu','event','dispatcher','skipSessionName','SDK_POST_TEST','currentTest','bind','util','INFO','HOOK_RUN_FINISHED','../../bin/playwright/accessibility-helper','bs:addLog:','enabled','then','../../helpers/logger','contexts','5IXefNn','hwgJe','ndVjF','nXlHf','gPHpZ','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','gsheT','SAVE_RESULTS','SYNC','command','../../helpers/globals.js','aKwAW','helpers','setSessionStatus','end','constructor','failed','XbWcz','getResultsSummary','../../bin/playwright/sessionDetails','_before','106916ENITpo','apply','../../helpers/performance/constants','thhAZ','JRkfl','./o11yHelper','exports','name','SxPhu','yQXbe','Playwright','TUyRw','class','wdFcM','Wdzva','Qprpn','arguments','Suite','RrdEE','YtaQD','captureError','call','ctx','Zdyff','IlhZE','readFileSync','title','fireEvent','find','RcBqW','patchSaveScreenshot','ENV_VAR','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','11eepDNe','hook-failed','ykvNh','toString','codeceptjs/lib/utils.js','../../helpers/helper','../../helpers/test-observability/utils','SDK_POST_INITIALIZE','after','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','toISOString','before','../../helpers/request-spy','lUuUQ','PERFORM_SCAN','eOKRj','SDK_PRE_TEST','start','reason','skipSessionStatus'];a1_0x27aa=function(){return _0x2b7578;};return a1_0x27aa();}const a1_0x11e14d=a1_0x4f1f;(function(_0x5a0881,_0x250390){const _0x267064=a1_0x4f1f,_0x2bdeeb=_0x5a0881();while(!![]){try{const _0x3b0017=parseInt(_0x267064(0x164))/0x1*(-parseInt(_0x267064(0x19d))/0x2)+-parseInt(_0x267064(0x1bd))/0x3+parseInt(_0x267064(0x1ff))/0x4*(parseInt(_0x267064(0x1ea))/0x5)+parseInt(_0x267064(0x1b4))/0x6*(-parseInt(_0x267064(0x173))/0x7)+-parseInt(_0x267064(0x19e))/0x8*(parseInt(_0x267064(0x16d))/0x9)+-parseInt(_0x267064(0x1d4))/0xa*(parseInt(_0x267064(0x220))/0xb)+parseInt(_0x267064(0x1ae))/0xc;if(_0x3b0017===_0x250390)break;else _0x2bdeeb['push'](_0x2bdeeb['shift']());}catch(_0x812e2c){_0x2bdeeb['push'](_0x2bdeeb['shift']());}}}(a1_0x27aa,0x3d6bc));function a1_0x4f1f(_0x199866,_0x4559ab){const _0x27aa96=a1_0x27aa();return a1_0x4f1f=function(_0x4f1f5b,_0xec32c){_0x4f1f5b=_0x4f1f5b-0x160;let _0x40cb9f=_0x27aa96[_0x4f1f5b];return _0x40cb9f;},a1_0x4f1f(_0x199866,_0x4559ab);}const fs=require('fs'),util=require(a1_0x11e14d(0x1e1)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x11e14d(0x225)),logger=require(a1_0x11e14d(0x1e8))['winstonLogger'],testOpsHelper=require(a1_0x11e14d(0x226)),requestSpy=require(a1_0x11e14d(0x22c)),PlaywrightSessionDetails=require(a1_0x11e14d(0x1fd)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x11e14d(0x204)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x11e14d(0x19a)),AccessibilityHelper=require(a1_0x11e14d(0x1e4)),scripts=require(a1_0x11e14d(0x186)),PerformanceTester=require(a1_0x11e14d(0x1cd)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x11e14d(0x201)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x11e14d(0x1b7)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x11e14d(0x1f4)),CodeceptJS=requireModule(a1_0x11e14d(0x1b5),a1_0x11e14d(0x1c2)),CodeceptUtils=requireModule(a1_0x11e14d(0x224),a1_0x11e14d(0x1c2)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x11e14d(0x1c2)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x11e14d(0x1c2)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x11e14d(0x1c2)),playwrightMarkSessionStatus=(_0x3a7397,_0x3cfbab,_0x3a9f52)=>{const _0x10030b=a1_0x11e14d,_0x24e1a3={'qzght':_0x10030b(0x1f7),'xaLhG':function(_0x37cec4,_0x4f929a){return _0x37cec4(_0x4f929a);}},_0x5772f5={};_0x5772f5[_0x10030b(0x178)]=_0x3cfbab;const _0x393a2a={};_0x393a2a['action']=_0x24e1a3[_0x10030b(0x1a5)],_0x393a2a['arguments']=_0x5772f5;const _0x26c780=_0x393a2a;return!_0x24e1a3['xaLhG'](isUndefined,_0x3a9f52)&&(_0x26c780['arguments'][_0x10030b(0x232)]=JSON[_0x10030b(0x18e)](_0x3a9f52)),_0x3a7397[_0x10030b(0x1b0)](()=>{},_0x10030b(0x1a8)+JSON[_0x10030b(0x18e)](_0x26c780));},o11ySync=PerformanceTester[a1_0x11e14d(0x1c4)](PerformanceO11yEvents[a1_0x11e14d(0x1f2)],async _0x3116cb=>{const _0x1050ea=a1_0x11e14d,_0x36f3e3={};_0x36f3e3['gsheT']=function(_0x46a02a,_0xa71343){return _0x46a02a===_0xa71343;},_0x36f3e3[_0x1050ea(0x1d1)]=_0x1050ea(0x209);const _0x6fd8c0=_0x36f3e3;_0x6fd8c0[_0x1050ea(0x1f0)](_0x3116cb['constructor'][_0x1050ea(0x206)],_0x6fd8c0[_0x1050ea(0x1d1)])?await _0x3116cb[_0x1050ea(0x1b0)](_0x4167dc=>{},testOpsHelper[_0x1050ea(0x1cb)]()):await _0x3116cb[_0x1050ea(0x1b0)](testOpsHelper[_0x1050ea(0x1cb)]());}),markSessionName=PerformanceTester[a1_0x11e14d(0x1c4)](PerformanceAutEvents['SESSION_NAME'],async(_0x5b4458,_0x56e0a0)=>{const _0x5b7508=a1_0x11e14d,_0x248b99={};_0x248b99[_0x5b7508(0x195)]='setSessionName',_0x248b99[_0x5b7508(0x1ac)]=function(_0x4a003b,_0x31da69){return _0x4a003b===_0x31da69;},_0x248b99[_0x5b7508(0x1d9)]=_0x5b7508(0x209);const _0x867971=_0x248b99,_0x47993e={};_0x47993e[_0x5b7508(0x206)]=_0x56e0a0;const _0x390c7b={};_0x390c7b[_0x5b7508(0x196)]=_0x867971[_0x5b7508(0x195)],_0x390c7b[_0x5b7508(0x20f)]=_0x47993e;const _0x4468d2=_0x390c7b;_0x867971[_0x5b7508(0x1ac)](_0x5b4458[_0x5b7508(0x1f9)][_0x5b7508(0x206)],_0x867971[_0x5b7508(0x1d9)])?await _0x5b4458[_0x5b7508(0x1b0)](()=>{},_0x5b7508(0x1a8)+JSON[_0x5b7508(0x18e)](_0x4468d2)):await _0x5b4458[_0x5b7508(0x1b0)]('browserstack_executor:\x20'+JSON[_0x5b7508(0x18e)](_0x4468d2));}),patchSaveScreenshot=_0x295817=>{const _0x21d9f6=a1_0x11e14d,_0x3149fa={'PKsLu':_0x21d9f6(0x170),'fuJXP':'TEST_SCREENSHOT','TMidA':function(_0xc3bd1d){return _0xc3bd1d();},'FfQaa':function(_0x23c61f,_0x420b84){return _0x23c61f(_0x420b84);}};_0x3149fa['FfQaa'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x295817[_0x21d9f6(0x21d)]&&(_0x295817[_0x21d9f6(0x21d)]=!![],_0x295817[_0x21d9f6(0x187)]=_0x295817[_0x21d9f6(0x1d7)],_0x295817[_0x21d9f6(0x1d7)]=(_0x4f356d,_0x7f6fde=![])=>{const _0x146969=_0x21d9f6,_0xbc6e3c={'RmZtE':_0x3149fa[_0x146969(0x1da)],'Sneim':_0x3149fa[_0x146969(0x16c)],'iAUnM':function(_0x58fa9c){return _0x3149fa['TMidA'](_0x58fa9c);}};return new Promise(function(_0x5aaebc,_0x1dec9b){const _0x5f1632=_0x146969;_0x295817[_0x5f1632(0x187)](_0x4f356d,_0x7f6fde)[_0x5f1632(0x1e7)](()=>{const _0xe02ee4=_0x5f1632,_0x1d4f6c=CodeceptUtils['screenshotOutputFolder'](_0x4f356d),_0x20fe52=fs[_0xe02ee4(0x218)](_0x1d4f6c);process[_0xe02ee4(0x163)]('bs:addLog:'+process[_0xe02ee4(0x19f)],{'timestamp':new Date()[_0xe02ee4(0x22a)](),'message':_0x20fe52[_0xe02ee4(0x223)](_0xbc6e3c[_0xe02ee4(0x1c9)]),'kind':_0xbc6e3c[_0xe02ee4(0x1c7)]}),_0xbc6e3c[_0xe02ee4(0x1ba)](_0x5aaebc);})[_0x5f1632(0x184)](()=>null);});});},patchWebDriverBefore=_0x28da78=>{const _0x8f463e=a1_0x11e14d,_0x4b685a={'WuBPZ':function(_0x5edbeb){return _0x5edbeb();},'yQXbe':function(_0x2163fc,_0x4ab396){return _0x2163fc(_0x4ab396);},'qkISE':function(_0x2e7d00,_0x2b3956){return _0x2e7d00===_0x2b3956;},'ndVjF':'Element'},_0x182dd0=async function(_0x369eae,_0x2f3492){const _0x4cfb4b=a1_0x4f1f;return _0x4b685a['WuBPZ'](isAccessibilityAutomationSession)&&!global[_0x4cfb4b(0x175)]&&global[_0x4cfb4b(0x171)]&&scripts[_0x4cfb4b(0x1c8)](_0x369eae[_0x4cfb4b(0x206)])&&_0x4b685a[_0x4cfb4b(0x208)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4cfb4b(0x175)]=!![],await PerformanceTester[_0x4cfb4b(0x1c4)](PerformanceA11yEvents[_0x4cfb4b(0x22e)],async()=>{const _0x3b7158=_0x4cfb4b;logger[_0x3b7158(0x1bf)]('Performing\x20scan\x20for\x20'+_0x369eae[_0x3b7158(0x20b)]+'\x20'+_0x369eae[_0x3b7158(0x206)]),await AccessibilityHelper[_0x3b7158(0x18b)](_0x28da78,scripts[_0x3b7158(0x168)]);},{'command':_0x369eae[_0x4cfb4b(0x206)]})()),global[_0x4cfb4b(0x175)]=![],_0x2f3492['apply'](this,Array[_0x4cfb4b(0x1b2)]['slice'][_0x4cfb4b(0x214)](arguments,0x2));},_0x47b88b=CodeceptWebDriver[_0x8f463e(0x1b2)][_0x8f463e(0x1fe)];CodeceptWebDriver[_0x8f463e(0x1b2)][_0x8f463e(0x1fe)]=async function(){const _0x778dea=_0x8f463e,_0x557f38={'wdFcM':function(_0x4174e9,_0x114db2){const _0x1cb9dc=a1_0x4f1f;return _0x4b685a[_0x1cb9dc(0x234)](_0x4174e9,_0x114db2);},'IlhZE':_0x4b685a[_0x778dea(0x1ec)]};await _0x47b88b[_0x778dea(0x200)](this,arguments),scripts[_0x778dea(0x180)][_0x778dea(0x16f)](_0x1f0fa9=>_0x1f0fa9[_0x778dea(0x206)]&&_0x1f0fa9[_0x778dea(0x20b)])[_0x778dea(0x18c)](_0x1f7f5b=>{const _0x370c90=_0x778dea;this[_0x370c90(0x18a)]['overwriteCommand'](_0x1f7f5b[_0x370c90(0x206)],_0x182dd0[_0x370c90(0x1e0)](this,_0x1f7f5b),_0x557f38[_0x370c90(0x20c)](_0x1f7f5b[_0x370c90(0x20b)],_0x557f38[_0x370c90(0x217)]));}),_0x4b685a[_0x778dea(0x208)](processWebDriverConfig,_0x28da78);};},patchPlaywrightBefore=()=>{const _0x3c6bfc=a1_0x11e14d;PlaywrightSessionDetails['patch']();const _0x11beef=CodeceptPlaywright[_0x3c6bfc(0x1b2)][_0x3c6bfc(0x1fe)];CodeceptPlaywright[_0x3c6bfc(0x1b2)][_0x3c6bfc(0x1fe)]=async function(){const _0x517968=_0x3c6bfc;this['browserContext']=await this[_0x517968(0x18a)][_0x517968(0x1e9)]()[0x0],await _0x11beef[_0x517968(0x200)](this,arguments);};},getCodeceptDriver=()=>{const _0x283348=a1_0x11e14d,_0x4b84dd={};_0x4b84dd[_0x283348(0x1a9)]=_0x283348(0x177),_0x4b84dd[_0x283348(0x1eb)]=_0x283348(0x209),_0x4b84dd['wZPjv']=_0x283348(0x17f),_0x4b84dd[_0x283348(0x172)]='TestCafe';const _0x10c43e=_0x4b84dd,_0x3762f9=[_0x10c43e['eBUrw'],_0x10c43e[_0x283348(0x1eb)],_0x10c43e[_0x283348(0x1a2)],_0x10c43e['rOQXf']],_0x2b8320=_0x3762f9[_0x283348(0x21b)](_0xfe00b2=>!!CodeceptJS[_0x283348(0x16e)]['helpers'](_0xfe00b2));if(!_0x2b8320)return null;return CodeceptJS[_0x283348(0x16e)][_0x283348(0x1f6)](_0x2b8320);};module[a1_0x11e14d(0x205)]=function(_0xda3eb4){const _0x426d3e=a1_0x11e14d,_0x2e04fb={'vqzCz':function(_0x10cc4e){return _0x10cc4e();},'jmdLd':function(_0x2c177b,_0x5d362a){return _0x2c177b(_0x5d362a);},'GwPOs':_0x426d3e(0x1a0),'TUyRw':_0x426d3e(0x21f),'OvxHF':_0x426d3e(0x1ca),'Qprpn':_0x426d3e(0x1b8),'ykvNh':function(_0x33f3db,_0x3653db){return _0x33f3db(_0x3653db);},'Zdyff':_0x426d3e(0x1ab),'qdRGb':'hook-passed','YtaQD':_0x426d3e(0x221),'BwoQB':_0x426d3e(0x166),'cZBqp':function(_0x4fba58){return _0x4fba58();},'GTSPT':_0x426d3e(0x1cf),'lUuUQ':function(_0x3b15d6,_0x41959f){return _0x3b15d6(_0x41959f);},'hPbCe':function(_0x407a97,_0xa7cf0e,_0x3c04e0){return _0x407a97(_0xa7cf0e,_0x3c04e0);},'JEvwI':'test-started','Wdzva':function(_0xa3d8a8,_0x5b4d06,_0x767a62){return _0xa3d8a8(_0x5b4d06,_0x767a62);},'xpTiV':function(_0x4eb121){return _0x4eb121();},'gPHpZ':'test-passed','sNduU':function(_0x98e7e9,_0x1eec89,_0x93ebcf,_0x3c6556){return _0x98e7e9(_0x1eec89,_0x93ebcf,_0x3c6556);},'jAXtl':function(_0x17c2d5,_0x3e99ac){return _0x17c2d5===_0x3e99ac;},'jkGfC':_0x426d3e(0x210),'UFEqn':_0x426d3e(0x185),'olXFR':_0x426d3e(0x161),'NPCwP':_0x426d3e(0x199),'SxPhu':function(_0x50e1f6){return _0x50e1f6();},'RcBqW':_0x426d3e(0x229),'JRkfl':_0x426d3e(0x1c6),'thhAZ':_0x426d3e(0x1e2),'Rspei':'TEST_LOG','eOKRj':'step-comment','RrdEE':_0x426d3e(0x1a7),'tyAoC':_0x426d3e(0x1b6),'aKwAW':_0x426d3e(0x209)};_0xda3eb4[_0x426d3e(0x233)]&&(global[_0x426d3e(0x189)]=_0xda3eb4[_0x426d3e(0x233)]);PerformanceTester[_0x426d3e(0x1ce)]();const _0xe94cdf=_0x2e04fb[_0x426d3e(0x207)](getCodeceptDriver),_0x54402e=new O11yHelper(_0xe94cdf,_0xda3eb4),_0x48b1f1=!!CodeceptJS[_0x426d3e(0x16e)][_0x426d3e(0x1f6)](_0x2e04fb[_0x426d3e(0x1f5)]);global[_0x426d3e(0x1c1)]=_0xe94cdf,_0xe94cdf&&(PerformanceTester[_0x426d3e(0x1c4)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x750e17=_0x426d3e;_0x48b1f1?_0x2e04fb[_0x750e17(0x1d2)](patchPlaywrightBefore):_0x2e04fb[_0x750e17(0x179)](patchWebDriverBefore,_0xe94cdf);})(),PerformanceTester[_0x426d3e(0x1c4)](PerformanceEvents[_0x426d3e(0x227)],()=>{const _0x3a2b44=_0x426d3e,_0x5b06e5={};_0x5b06e5['CJQrM']=_0x2e04fb[_0x3a2b44(0x1d6)],_0x5b06e5[_0x3a2b44(0x182)]=_0x2e04fb[_0x3a2b44(0x20e)];const _0x1e09b5=_0x5b06e5;_0xe94cdf['getAccessibilityResultsSummary']=async()=>{const _0x3b3917=_0x3a2b44;if(global[_0x3b3917(0x171)]){const _0x1bd947={};_0x1bd947[_0x3b3917(0x1f3)]=_0x2e04fb[_0x3b3917(0x1b1)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3b3917(0x22e)],async()=>{const _0x4ec832=_0x3b3917;await AccessibilityHelper[_0x4ec832(0x18b)](_0xe94cdf,scripts['performScan']);},_0x1bd947)(),await PerformanceTester[_0x3b3917(0x1c4)](PerformanceA11yEvents[_0x3b3917(0x1af)],async()=>{const _0x5a91c6=_0x3b3917;await AccessibilityHelper[_0x5a91c6(0x18b)](_0xe94cdf,scripts[_0x5a91c6(0x1fc)]);})();}else return logger[_0x3b3917(0x17d)](_0x2e04fb[_0x3b3917(0x20a)]),{};},_0xe94cdf[_0x3a2b44(0x1ca)]=async()=>{const _0x196c41=_0x3a2b44;if(global['accessibilityPlatform']){const _0x3cfb59={};_0x3cfb59[_0x196c41(0x1f3)]=_0x1e09b5['CJQrM'],await PerformanceTester[_0x196c41(0x1c4)](PerformanceA11yEvents[_0x196c41(0x22e)],async()=>{const _0x5e38a=_0x196c41;await AccessibilityHelper['browserStackExecuteDriver'](_0xe94cdf,scripts[_0x5e38a(0x168)]);},_0x3cfb59)(),await PerformanceTester[_0x196c41(0x1c4)](PerformanceA11yEvents[_0x196c41(0x193)],async()=>{const _0x1aba94=_0x196c41;await AccessibilityHelper[_0x1aba94(0x18b)](_0xe94cdf,scripts['getResults']);})();}else return logger[_0x196c41(0x17d)](_0x1e09b5[_0x196c41(0x182)]),{};},_0x2e04fb[_0x3a2b44(0x222)](patchSaveScreenshot,_0xe94cdf);})()),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)]['all'][_0x426d3e(0x22b)],()=>{const _0x1d5dab=_0x426d3e;PerformanceTester['start'](PerformanceEvents['SDK_PRE_TEST']);try{_0x54402e[_0x1d5dab(0x231)](),testOpsHelper[_0x1d5dab(0x16b)](),PerformanceTester['end'](PerformanceEvents[_0x1d5dab(0x230)]);}catch(_0x2739db){PerformanceTester[_0x1d5dab(0x213)](_0x2739db),PerformanceTester[_0x1d5dab(0x1f8)](PerformanceEvents[_0x1d5dab(0x230)],![],_0x2739db);}}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1c0)][_0x426d3e(0x228)],async()=>{const _0x307adc=_0x426d3e;PerformanceTester[_0x307adc(0x231)](PerformanceEvents[_0x307adc(0x1de)]);try{requestSpy[_0x307adc(0x174)](),await _0x54402e[_0x307adc(0x188)](),PerformanceTester['end'](PerformanceEvents[_0x307adc(0x1de)]);}catch(_0xccbaf3){PerformanceTester[_0x307adc(0x213)](_0xccbaf3),PerformanceTester[_0x307adc(0x1f8)](PerformanceEvents[_0x307adc(0x1de)],![],_0xccbaf3);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1a3)][_0x426d3e(0x1c3)],_0x1cd166=>{const _0x69f260=_0x426d3e;PerformanceTester[_0x69f260(0x231)](PerformanceEvents['SDK_HOOK']);try{const _0x598463=_0x1cd166[_0x69f260(0x215)][_0x69f260(0x1be)],_0x1c9c23=_0x54402e['captureEvent'](TEST_EVENTS[_0x69f260(0x165)],_0x598463);CodeceptRecorder['add'](()=>_0x54402e[_0x69f260(0x21a)](TEST_EVENTS[_0x69f260(0x165)],_0x1c9c23));const _0x37e999={};_0x37e999[_0x69f260(0x19b)]=_0x2e04fb['Zdyff'],PerformanceTester[_0x69f260(0x1f8)](PerformanceEvents['SDK_HOOK'],!![],null,_0x37e999);}catch(_0x2af7e1){const _0x7d3b18={};_0x7d3b18[_0x69f260(0x19b)]=_0x2e04fb[_0x69f260(0x216)],PerformanceTester[_0x69f260(0x1f8)](PerformanceEvents[_0x69f260(0x1a6)],![],_0x2af7e1,_0x7d3b18),PerformanceTester[_0x69f260(0x213)](_0x2af7e1);}}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1a3)][_0x426d3e(0x190)],_0x3c413b=>{const _0x419342=_0x426d3e,_0x270696={};_0x270696[_0x419342(0x19b)]=_0x2e04fb['qdRGb'],PerformanceTester[_0x419342(0x231)](PerformanceHookEvents[_0x419342(0x1a6)],!![],null,_0x270696);try{const _0x3c5aea=_0x3c413b[_0x419342(0x215)][_0x419342(0x1be)],_0x45ff4c=_0x54402e['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3c5aea);CodeceptRecorder[_0x419342(0x1aa)](()=>_0x54402e[_0x419342(0x21a)](TEST_EVENTS[_0x419342(0x1e3)],_0x45ff4c));const _0x1d28bd={};_0x1d28bd['hookType']=_0x2e04fb[_0x419342(0x181)],PerformanceTester[_0x419342(0x1f8)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1d28bd);}catch(_0x219089){PerformanceTester[_0x419342(0x213)](_0x219089);const _0x22f1b9={};_0x22f1b9[_0x419342(0x19b)]=_0x2e04fb[_0x419342(0x181)],PerformanceTester[_0x419342(0x1f8)](PerformanceHookEvents[_0x419342(0x1a6)],![],_0x219089,_0x22f1b9);}}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1a3)][_0x426d3e(0x1fa)],async(_0x3fd144,_0x350e17)=>{const _0xd136b0=_0x426d3e;PerformanceTester['start'](PerformanceHookEvents[_0xd136b0(0x1a6)]);try{const _0xb06feb=_0x3fd144[_0xd136b0(0x215)][_0xd136b0(0x1be)],_0x37ddc8=_0x54402e[_0xd136b0(0x176)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0xb06feb,_0x350e17);CodeceptRecorder[_0xd136b0(0x1aa)](()=>_0x54402e[_0xd136b0(0x21a)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x37ddc8));const _0x2fc03={};_0x2fc03[_0xd136b0(0x19b)]=_0x2e04fb[_0xd136b0(0x212)],PerformanceTester[_0xd136b0(0x231)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2fc03);}catch(_0x5d417a){PerformanceTester[_0xd136b0(0x213)](_0x5d417a);const _0x104195={};_0x104195[_0xd136b0(0x19b)]=_0x2e04fb['YtaQD'],PerformanceTester[_0xd136b0(0x1f8)](PerformanceHookEvents[_0xd136b0(0x1a6)],![],_0x5d417a,_0x104195);}const _0x5ef16d={};_0x5ef16d[_0xd136b0(0x19b)]=_0x2e04fb[_0xd136b0(0x212)],PerformanceTester['end'](PerformanceHookEvents[_0xd136b0(0x1a6)],!![],null,_0x5ef16d);}),CodeceptJS['event'][_0x426d3e(0x1dc)]['on'](CodeceptJS['event'][_0x426d3e(0x1be)]['before'],_0x467a3d=>{const _0x14aad8=_0x426d3e;PerformanceTester[_0x14aad8(0x231)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x14aad8(0x191)](_0x2e04fb[_0x14aad8(0x183)],_0x467a3d[_0x14aad8(0x219)]);_0x2e04fb[_0x14aad8(0x17e)](isBrowserstackInfra)&&(_0x48b1f1&&(global['__workerDetails']={'currentTest':{'name':_0x467a3d[_0x14aad8(0x219)],'testInfo':{'titlePath':_0x467a3d[_0x14aad8(0x162)]()}}}));const _0x5f1ad5={};_0x5f1ad5[_0x14aad8(0x19b)]=_0x2e04fb[_0x14aad8(0x1d3)],PerformanceTester[_0x14aad8(0x1f8)](PerformanceHookEvents[_0x14aad8(0x1a6)],!![],null,_0x5f1ad5);}catch(_0x1f0f92){PerformanceTester[_0x14aad8(0x213)](_0x1f0f92);const _0x357cfb={};_0x357cfb['hookType']=_0x2e04fb[_0x14aad8(0x1d3)],PerformanceTester[_0x14aad8(0x1f8)](PerformanceHookEvents[_0x14aad8(0x1a6)],![],_0x1f0f92,_0x357cfb);}}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS['event'][_0x426d3e(0x1be)][_0x426d3e(0x1c3)],_0x48060e=>{const _0x449d04=_0x426d3e;PerformanceTester[_0x449d04(0x231)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x449d04(0x191)](_0x2e04fb[_0x449d04(0x183)],_0x48060e[_0x449d04(0x219)]);const _0xa483b2=_0x54402e[_0x449d04(0x176)](TEST_EVENTS[_0x449d04(0x1b9)],_0x48060e);CodeceptRecorder[_0x449d04(0x1aa)](()=>_0x54402e[_0x449d04(0x21a)](TEST_EVENTS[_0x449d04(0x1b9)],_0xa483b2)),CodeceptRecorder[_0x449d04(0x1aa)](async()=>{const _0xd5e51c=_0x449d04;_0x2e04fb[_0xd5e51c(0x17e)](isBrowserstackInfra)&&(!_0x2e04fb[_0xd5e51c(0x22d)](isTrue,_0xda3eb4[_0xd5e51c(0x1dd)])&&await _0x2e04fb[_0xd5e51c(0x194)](markSessionName,_0xe94cdf,_0x48060e[_0xd5e51c(0x219)]),_0x54402e[_0xd5e51c(0x1e6)]&&await _0x2e04fb['jmdLd'](o11ySync,_0xe94cdf));});}catch(_0x302b14){const _0x27da7c={};_0x27da7c[_0x449d04(0x19b)]=_0x2e04fb['JEvwI'],PerformanceTester[_0x449d04(0x1f8)](PerformanceHookEvents[_0x449d04(0x1a6)],![],_0x302b14,_0x27da7c),PerformanceTester[_0x449d04(0x213)](_0x302b14);}const _0x578f42={};_0x578f42['hookType']=_0x2e04fb['JEvwI'],PerformanceTester[_0x449d04(0x1f8)](PerformanceHookEvents[_0x449d04(0x1a6)],!![],null,_0x578f42);}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1be)][_0x426d3e(0x190)],_0x4ed8cc=>{const _0x231603=_0x426d3e,_0x1fcddb={'XZnXd':function(_0x312b0c,_0x5e672d,_0x409248){const _0x13bad7=a1_0x4f1f;return _0x2e04fb[_0x13bad7(0x20d)](_0x312b0c,_0x5e672d,_0x409248);},'Lgngs':function(_0x17bc68,_0x4274a7,_0x1a60a0){const _0x590882=a1_0x4f1f;return _0x2e04fb[_0x590882(0x194)](_0x17bc68,_0x4274a7,_0x1a60a0);},'mkJZV':function(_0x43bace){return _0x2e04fb['xpTiV'](_0x43bace);}};PerformanceTester[_0x231603(0x231)](PerformanceHookEvents['SDK_HOOK']);try{const _0x40674e=_0x54402e[_0x231603(0x176)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4ed8cc);CodeceptRecorder[_0x231603(0x1aa)](()=>_0x54402e[_0x231603(0x21a)](TEST_EVENTS[_0x231603(0x160)],_0x40674e)),CodeceptRecorder[_0x231603(0x1aa)](async()=>{const _0x129b2a={'nXlHf':function(_0x8a35a0,_0x174b74,_0x124c58){const _0x1f8941=a1_0x4f1f;return _0x1fcddb[_0x1f8941(0x1b3)](_0x8a35a0,_0x174b74,_0x124c58);},'ajKZM':function(_0x205ac5,_0x34b739,_0x5d59cf){const _0x942d03=a1_0x4f1f;return _0x1fcddb[_0x942d03(0x1ad)](_0x205ac5,_0x34b739,_0x5d59cf);}};_0x1fcddb['mkJZV'](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x62a1ee=a1_0x4f1f;_0x48b1f1?await _0x129b2a[_0x62a1ee(0x1ed)](playwrightMarkSessionStatus,_0xe94cdf,STATE_PASSED):await _0x129b2a[_0x62a1ee(0x1d0)](markSessionStatus,_0xe94cdf,STATE_PASSED);})();}),PerformanceTester[_0x231603(0x1f8)](PerformanceEvents[_0x231603(0x192)]);}catch(_0x410e37){PerformanceTester[_0x231603(0x213)](_0x410e37);const _0xe8f186={};_0xe8f186[_0x231603(0x19b)]=_0x2e04fb[_0x231603(0x1ee)],PerformanceTester[_0x231603(0x1f8)](PerformanceHookEvents[_0x231603(0x1a6)],![],_0x410e37,_0xe8f186),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x410e37);}const _0x1a4297={};_0x1a4297['hookType']=_0x2e04fb['gPHpZ'],PerformanceTester[_0x231603(0x1f8)](PerformanceHookEvents[_0x231603(0x1a6)],!![],null,_0x1a4297);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event']['test'][_0x426d3e(0x1fa)],(_0x518bf5,_0xd3ab90)=>{const _0x9c1ec8=_0x426d3e,_0x19c57e={'vlDKE':function(_0x27eb04){const _0x3725eb=a1_0x4f1f;return _0x2e04fb[_0x3725eb(0x1d2)](_0x27eb04);},'qrbzG':function(_0x209702,_0x30f9d8,_0xfc9a17,_0x2b5090){const _0x59bdcb=a1_0x4f1f;return _0x2e04fb[_0x59bdcb(0x1bc)](_0x209702,_0x30f9d8,_0xfc9a17,_0x2b5090);},'XbWcz':function(_0x37b92a,_0x1827a8,_0x4e47e0,_0x47b04d){const _0x4b11b7=a1_0x4f1f;return _0x2e04fb[_0x4b11b7(0x1bc)](_0x37b92a,_0x1827a8,_0x4e47e0,_0x47b04d);}};PerformanceTester[_0x9c1ec8(0x231)](PerformanceHookEvents[_0x9c1ec8(0x1a6)]);try{if(_0x2e04fb[_0x9c1ec8(0x198)](_0x518bf5[_0x9c1ec8(0x1f9)][_0x9c1ec8(0x206)],_0x2e04fb[_0x9c1ec8(0x1c5)])){const _0x40c2c7=_0x54402e['captureEvent'](TEST_EVENTS[_0x9c1ec8(0x19c)],_0x518bf5[_0x9c1ec8(0x215)][_0x9c1ec8(0x1df)]);CodeceptRecorder['add'](()=>_0x54402e[_0x9c1ec8(0x21a)](TEST_EVENTS[_0x9c1ec8(0x19c)],_0x40c2c7));}else{const _0x35f2c6=_0x54402e['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x518bf5,_0xd3ab90);CodeceptRecorder[_0x9c1ec8(0x1aa)](()=>{const _0x3da759=_0x9c1ec8;try{_0x54402e[_0x3da759(0x21a)](TEST_EVENTS[_0x3da759(0x160)],_0x35f2c6);}catch(_0x3c5f2f){logger[_0x3da759(0x1bf)](_0x3da759(0x1a1)+util[_0x3da759(0x17a)](_0x3c5f2f)),PerformanceTester['end'](PerformanceEvents[_0x3da759(0x192)],![],_0x3c5f2f);}}),CodeceptRecorder[_0x9c1ec8(0x1aa)](async()=>{const _0xa0935f=_0x9c1ec8;try{_0x19c57e['vlDKE'](isBrowserstackInfra)&&(_0x48b1f1?await _0x19c57e[_0xa0935f(0x17b)](playwrightMarkSessionStatus,_0xe94cdf,STATE_FAILED,_0xd3ab90):await _0x19c57e[_0xa0935f(0x1fb)](markSessionStatus,_0xe94cdf,STATE_FAILED,_0xd3ab90));}catch(_0x4a65af){logger['debug'](_0xa0935f(0x16a)+util[_0xa0935f(0x17a)](_0x4a65af)),PerformanceTester[_0xa0935f(0x1f8)](PerformanceEvents[_0xa0935f(0x192)],![],_0x4a65af);}});}PerformanceTester[_0x9c1ec8(0x1f8)](PerformanceEvents[_0x9c1ec8(0x192)]);}catch(_0x330eb6){PerformanceTester[_0x9c1ec8(0x213)](_0x330eb6);const _0xf914a5={};_0xf914a5[_0x9c1ec8(0x19b)]=_0x2e04fb[_0x9c1ec8(0x169)],PerformanceTester[_0x9c1ec8(0x1f8)](PerformanceHookEvents['SDK_HOOK'],![],_0x330eb6,_0xf914a5),PerformanceTester[_0x9c1ec8(0x1f8)](PerformanceEvents[_0x9c1ec8(0x192)],![],_0x330eb6);}const _0x91b2e2={};_0x91b2e2[_0x9c1ec8(0x19b)]=_0x2e04fb['UFEqn'],PerformanceTester['end'](PerformanceHookEvents[_0x9c1ec8(0x1a6)],!![],null,_0x91b2e2);}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)]['test']['skipped'],_0x3220be=>{const _0xa2261b=_0x426d3e;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x31a6ce=_0x54402e[_0xa2261b(0x176)](TEST_EVENTS[_0xa2261b(0x19c)],_0x3220be);CodeceptRecorder[_0xa2261b(0x1aa)](()=>_0x54402e[_0xa2261b(0x21a)](TEST_EVENTS[_0xa2261b(0x19c)],_0x31a6ce)),PerformanceTester[_0xa2261b(0x1f8)](PerformanceEvents[_0xa2261b(0x192)]);}catch(_0x527b00){PerformanceTester[_0xa2261b(0x213)](_0x527b00),PerformanceTester[_0xa2261b(0x1f8)](PerformanceEvents[_0xa2261b(0x192)],![],_0x527b00);const _0x1e2cf2={};_0x1e2cf2['hookType']=_0x2e04fb['olXFR'],PerformanceTester[_0xa2261b(0x1f8)](PerformanceHookEvents[_0xa2261b(0x1a6)],![],_0x527b00,_0x1e2cf2);}const _0x201fbf={};_0x201fbf['hookType']=_0x2e04fb['olXFR'],PerformanceTester['end'](PerformanceHookEvents[_0xa2261b(0x1a6)],!![],null,_0x201fbf);}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1be)][_0x426d3e(0x228)],async(_0x4a43ff,_0x435715)=>{const _0x573f20=_0x426d3e,_0xe1c2f3={};_0xe1c2f3[_0x573f20(0x18f)]=_0x2e04fb['NPCwP'];const _0x14cf19=_0xe1c2f3;try{PerformanceTester[_0x573f20(0x231)](PerformanceHookEvents[_0x573f20(0x1a6)]);if(_0x2e04fb['SxPhu'](isBrowserstackInfra)){const _0x4836cc=_0x2e04fb[_0x573f20(0x20d)](shouldScanTestForAccessibility,_0x4a43ff[_0x573f20(0x162)](),!![]);if(_0x2e04fb[_0x573f20(0x1a4)](isAccessibilityAutomationSession)&&global[_0x573f20(0x171)]&&_0x4836cc){const _0x4a1ac8={};_0x4a1ac8['thTestRunUuid']=_0x4a43ff[_0x573f20(0x167)],_0x4a1ac8[_0x573f20(0x1d8)]=process[_0x573f20(0x1bb)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x4a1ac8['thJwtToken']=process[_0x573f20(0x1bb)][testHubConstants[_0x573f20(0x21e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x280d5b=_0x4a1ac8;logger[_0x573f20(0x1bf)](_0x573f20(0x1ef)+JSON[_0x573f20(0x18e)](_0x280d5b)),CodeceptRecorder['add'](async()=>{const _0x1a106a=_0x573f20,_0x459f56={};_0x459f56['command']=_0x14cf19[_0x1a106a(0x18f)],await PerformanceTester[_0x1a106a(0x1c4)](PerformanceA11yEvents[_0x1a106a(0x22e)],async()=>{const _0x6a9cff=_0x1a106a;await AccessibilityHelper['browserStackExecuteDriver'](_0xe94cdf,scripts[_0x6a9cff(0x168)]);},_0x459f56)(),await PerformanceTester[_0x1a106a(0x1c4)](PerformanceA11yEvents[_0x1a106a(0x1f1)],async()=>{const _0x2ffdb5=_0x1a106a;await AccessibilityHelper[_0x2ffdb5(0x18b)](_0xe94cdf,scripts['saveTestResults'],_0x280d5b);})();}),logger[_0x573f20(0x1d5)](_0x2e04fb[_0x573f20(0x21c)]);}}const _0x35699f={};_0x35699f[_0x573f20(0x19b)]=_0x2e04fb[_0x573f20(0x203)],PerformanceTester[_0x573f20(0x1f8)](PerformanceHookEvents[_0x573f20(0x1a6)],!![],null,_0x35699f);}catch(_0x186052){PerformanceTester['captureError'](_0x186052);const _0x46f997={};_0x46f997['hookType']=_0x2e04fb[_0x573f20(0x203)],PerformanceTester[_0x573f20(0x1f8)](PerformanceHookEvents[_0x573f20(0x1a6)],![],_0x186052,_0x46f997);}}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS['event'][_0x426d3e(0x18d)][_0x426d3e(0x197)],_0xa21092=>{const _0x3fc228=_0x426d3e;PerformanceTester['start'](PerformanceHookEvents[_0x3fc228(0x1a6)]);try{process[_0x3fc228(0x163)](_0x3fc228(0x1e5)+process[_0x3fc228(0x19f)],{'timestamp':new Date()[_0x3fc228(0x22a)](),'level':_0x2e04fb[_0x3fc228(0x202)],'message':_0xa21092,'kind':_0x2e04fb['Rspei'],'http_response':{}});}catch(_0x48f1d0){PerformanceTester[_0x3fc228(0x213)](_0x48f1d0);const _0x47a575={};_0x47a575[_0x3fc228(0x19b)]=_0x2e04fb[_0x3fc228(0x22f)],PerformanceTester[_0x3fc228(0x1f8)](PerformanceHookEvents['SDK_HOOK'],![],_0x48f1d0,_0x47a575);}const _0xf44afd={};_0xf44afd['hookType']=_0x2e04fb[_0x3fc228(0x22f)],PerformanceTester[_0x3fc228(0x1f8)](PerformanceHookEvents[_0x3fc228(0x1a6)],!![],null,_0xf44afd);}),CodeceptJS[_0x426d3e(0x1db)]['dispatcher']['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x17c)]['before'],_0x4fe390=>{const _0x41e6d3=_0x426d3e,_0x2ca229={};_0x2ca229[_0x41e6d3(0x19b)]=_0x2e04fb[_0x41e6d3(0x211)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x41e6d3(0x1a6)],()=>{const _0x8c542e=_0x41e6d3;_0x54402e[_0x8c542e(0x1cc)](_0x4fe390);},_0x2ca229)();}),CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x1dc)]['on'](CodeceptJS[_0x426d3e(0x1db)][_0x426d3e(0x17c)][_0x426d3e(0x228)],_0x15d149=>{const _0x30e4b2=_0x426d3e,_0x462bf0={};_0x462bf0['hookType']=_0x2e04fb['tyAoC'],PerformanceTester[_0x30e4b2(0x1c4)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x54402e['bddStepFinish'](_0x15d149);},_0x462bf0)();});};
|
|
1
|
+
function a1_0x5286(){const _0x55d726=['skipSessionStatus','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','failed','format','fUVHq','TEST_RUN_STARTED','accessibilityPlatform','fJfUs','ctx','3460659hOUmny','codeceptjs','ZCNMg','Puppeteer','browserContext','find','getSyncScript','saveScreenshot','vVfGo','screenshotOutputFolder','browserstackTestName','INFO','getAccessibilityResultsSummary','DcwAE','qoXfE','../../helpers/performance/performance-tester','CUUkK','oJSsU','captureError','container','eNzDX','bstackAllyScanning','uPMXH','toString','vWHkA','test-failed','stopMonitoring','BS_TESTOPS_ALLOW_SCREENSHOTS','then','browserstack_executor:\x20','hookType','setSessionStatus','overwriteCommand','igoGj','test','BROWSERSTACK_TESTHUB_JWT','test-after','performScan','all','QkinX','thBuildUuid','slice','debug','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Laesb','8198946xHimkA','wqnQx','titlePath','../../helpers/test-observability/utils','arguments','saveTestResults','HOOK_RUN_FINISHED','../../helpers/testhub/constants.js','mntuU','commandsToWrap','reason','TRTDR','../../helpers/performance/constants','util','class','measureWrapper','event','bddStep','../../helpers/helper','step-comment','PbeXV','contexts','hook-failed','SDK_TEST','Suite','DYvKW','__skipSessionStatus','forEach','WebDriver','../../helpers/accessibility-automation/scripts','lpRok','FfPwO','Lflls','codeceptjs/lib/index.js','270bLEVLU','bs:addLog:','__workerDetails','YcqFX','thTestRunUuid','readFileSync','started','./o11yHelper','knEnI','UrAMf','2890TQYEwC','HOOK_RUN_STARTED','TEST_SCREENSHOT','catch','browser','initSaveScreenshot','SDK_PRE_INITIALIZE','SEkfj','GET_RESULTS','iAKQE','lKRqt','1867996uXznaW','FTYxf','stringify','base64','bddStep-before','codeceptjs/lib/helper/Playwright.js','action','3308zjDNtz','winstonLogger','DEIBe','65944NuhqeM','constructor','end','bddStepStart','enabled','TEST_RUN_SKIPPED','EnsgT','xznAk','env','goRnr','FZkJj','4170815TtBBaG','hook-started','bZYFH','call','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','edZhc','pid','qjujf','fbvzU','SDK_POST_TEST','bddStep-after','restore','SDK_POST_INITIALIZE','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','executeScript','ZSysT','Element','uovij','SESSION_STATUS','codeceptjs/lib/utils.js','test-passed','bddStepFinish','dispatcher','zknpD','currentTest','HiyRs','TEST_RUN_FINISHED','shouldWrapCommand','../../helpers/request-spy','../../helpers/logger','111294DwLCCN','browserStackExecuteDriver','patchSaveScreenshot','command','before','setGlobal','_before','mrltf','startMonitoring','testAnalyticsId','prototype','hook','nZgTB','ENV_VAR','addRequestSpy','codeceptjs/lib/helper/WebDriver.js','GQVEy','helpers','skipSessionName','patch','GfQgV','after','749fRqfOp','status','name','1cSqLZI','SDK_HOOK','captureEvent','hZtBf','start','bind','getAccessibilityResults','SDK_PRE_TEST','setSessionName','Playwright','emit','../../bin/playwright/sessionDetails','MCZsZ','test-skipped','SYNC','zofOL','warn','pcQtH','PERFORM_SCAN','fireEvent','title','info','lzlYh','lyLNG','exports','toISOString','add','getResultsSummary','skipped','apply','../../helpers/accessibility-automation/helper','BROWSERSTACK_TESTHUB_UUID','Performing\x20scan\x20for\x20'];a1_0x5286=function(){return _0x55d726;};return a1_0x5286();}const a1_0x23d3d1=a1_0x40b1;(function(_0x2d240d,_0x157ea3){const _0xc94418=a1_0x40b1,_0x26714b=_0x2d240d();while(!![]){try{const _0x23bbf1=parseInt(_0xc94418(0x1c8))/0x1*(parseInt(_0xc94418(0x17c))/0x2)+-parseInt(_0xc94418(0x118))/0x3+-parseInt(_0xc94418(0x183))/0x4*(-parseInt(_0xc94418(0x171))/0x5)+parseInt(_0xc94418(0x145))/0x6+parseInt(_0xc94418(0x1c5))/0x7*(-parseInt(_0xc94418(0x186))/0x8)+-parseInt(_0xc94418(0x1af))/0x9*(parseInt(_0xc94418(0x167))/0xa)+parseInt(_0xc94418(0x191))/0xb;if(_0x23bbf1===_0x157ea3)break;else _0x26714b['push'](_0x26714b['shift']());}catch(_0x5d4b20){_0x26714b['push'](_0x26714b['shift']());}}}(a1_0x5286,0xc0700));function a1_0x40b1(_0x42d70f,_0x3777d2){const _0x528671=a1_0x5286();return a1_0x40b1=function(_0x40b1aa,_0x85bb65){_0x40b1aa=_0x40b1aa-0x116;let _0x276a5e=_0x528671[_0x40b1aa];return _0x276a5e;},a1_0x40b1(_0x42d70f,_0x3777d2);}const fs=require('fs'),util=require(a1_0x23d3d1(0x152)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x23d3d1(0x157)),logger=require(a1_0x23d3d1(0x1ae))[a1_0x23d3d1(0x184)],testOpsHelper=require(a1_0x23d3d1(0x148)),requestSpy=require(a1_0x23d3d1(0x1ad)),PlaywrightSessionDetails=require(a1_0x23d3d1(0x1d3)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x23d3d1(0x16e)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x23d3d1(0x1e6)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x23d3d1(0x162)),PerformanceTester=require(a1_0x23d3d1(0x127)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x23d3d1(0x151)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x23d3d1(0x14c)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x23d3d1(0x166),a1_0x23d3d1(0x119)),CodeceptUtils=requireModule(a1_0x23d3d1(0x1a4),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x23d3d1(0x1be),a1_0x23d3d1(0x119)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x23d3d1(0x119)),CodeceptPlaywright=requireModule(a1_0x23d3d1(0x181),'codeceptjs'),playwrightMarkSessionStatus=(_0x23c799,_0x58bedf,_0x4f277f)=>{const _0x2869ce=a1_0x23d3d1,_0x527715={'bZYFH':_0x2869ce(0x137),'vmBqI':function(_0x4eb462,_0x53328a){return _0x4eb462(_0x53328a);}},_0x3b8f8f={};_0x3b8f8f[_0x2869ce(0x1c6)]=_0x58bedf;const _0x54d417={};_0x54d417[_0x2869ce(0x182)]=_0x527715[_0x2869ce(0x193)],_0x54d417[_0x2869ce(0x149)]=_0x3b8f8f;const _0x4b9507=_0x54d417;return!_0x527715['vmBqI'](isUndefined,_0x4f277f)&&(_0x4b9507[_0x2869ce(0x149)][_0x2869ce(0x14f)]=JSON[_0x2869ce(0x17e)](_0x4f277f)),_0x23c799[_0x2869ce(0x19f)](()=>{},_0x2869ce(0x135)+JSON['stringify'](_0x4b9507));},o11ySync=PerformanceTester[a1_0x23d3d1(0x154)](PerformanceO11yEvents[a1_0x23d3d1(0x1d6)],async _0x5a8654=>{const _0x59865a=a1_0x23d3d1,_0x17f050={};_0x17f050[_0x59865a(0x144)]=function(_0x5b5b23,_0x12a1a6){return _0x5b5b23===_0x12a1a6;},_0x17f050[_0x59865a(0x164)]=_0x59865a(0x1d1);const _0x19813e=_0x17f050;_0x19813e['Laesb'](_0x5a8654[_0x59865a(0x187)][_0x59865a(0x1c7)],_0x19813e['FfPwO'])?await _0x5a8654[_0x59865a(0x19f)](_0x127d22=>{},testOpsHelper[_0x59865a(0x11e)]()):await _0x5a8654[_0x59865a(0x19f)](testOpsHelper[_0x59865a(0x11e)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x2b78dc,_0x2fb569)=>{const _0x27c5c2=a1_0x23d3d1,_0x54a553={};_0x54a553[_0x27c5c2(0x139)]=_0x27c5c2(0x1d0),_0x54a553[_0x27c5c2(0x18d)]=function(_0x264d82,_0x55f829){return _0x264d82===_0x55f829;},_0x54a553[_0x27c5c2(0x11a)]=_0x27c5c2(0x1d1);const _0x56764f=_0x54a553,_0x2241de={};_0x2241de[_0x27c5c2(0x1c7)]=_0x2fb569;const _0x72cabd={};_0x72cabd[_0x27c5c2(0x182)]=_0x56764f[_0x27c5c2(0x139)],_0x72cabd[_0x27c5c2(0x149)]=_0x2241de;const _0x445707=_0x72cabd;_0x56764f[_0x27c5c2(0x18d)](_0x2b78dc[_0x27c5c2(0x187)][_0x27c5c2(0x1c7)],_0x56764f[_0x27c5c2(0x11a)])?await _0x2b78dc[_0x27c5c2(0x19f)](()=>{},'browserstack_executor:\x20'+JSON[_0x27c5c2(0x17e)](_0x445707)):await _0x2b78dc[_0x27c5c2(0x19f)](_0x27c5c2(0x135)+JSON[_0x27c5c2(0x17e)](_0x445707));}),patchSaveScreenshot=_0x197c3a=>{const _0x4d0603=a1_0x23d3d1,_0x139e85={'fUVHq':_0x4d0603(0x17f),'vWHkA':_0x4d0603(0x173),'cmimQ':function(_0x7d6d9c){return _0x7d6d9c();},'QkinX':function(_0x3f727b,_0x47cb06){return _0x3f727b(_0x47cb06);}};_0x139e85[_0x4d0603(0x13f)](isTrue,process['env'][_0x4d0603(0x133)])&&!_0x197c3a[_0x4d0603(0x1b1)]&&(_0x197c3a[_0x4d0603(0x1b1)]=!![],_0x197c3a[_0x4d0603(0x176)]=_0x197c3a[_0x4d0603(0x11f)],_0x197c3a[_0x4d0603(0x11f)]=(_0x12ccf9,_0x14384f=![])=>{return new Promise(function(_0x2ca662,_0x1a313){const _0x213191=a1_0x40b1,_0x1fd0a7={'FZkJj':_0x139e85[_0x213191(0x1ed)],'lpRok':_0x139e85[_0x213191(0x130)],'mntuU':function(_0x32587b){return _0x139e85['cmimQ'](_0x32587b);}};_0x197c3a[_0x213191(0x176)](_0x12ccf9,_0x14384f)[_0x213191(0x134)](()=>{const _0x2291d3=_0x213191,_0x1a92b9=CodeceptUtils[_0x2291d3(0x121)](_0x12ccf9),_0x2f7ab0=fs[_0x2291d3(0x16c)](_0x1a92b9);process[_0x2291d3(0x1d2)](_0x2291d3(0x168)+process[_0x2291d3(0x197)],{'timestamp':new Date()[_0x2291d3(0x1e1)](),'message':_0x2f7ab0[_0x2291d3(0x12f)](_0x1fd0a7[_0x2291d3(0x190)]),'kind':_0x1fd0a7[_0x2291d3(0x163)]}),_0x1fd0a7[_0x2291d3(0x14d)](_0x2ca662);})[_0x213191(0x174)](()=>null);});});},patchWebDriverBefore=_0x526b97=>{const _0x3c057d=a1_0x23d3d1,_0x15d5ae={'knEnI':function(_0x547bdc){return _0x547bdc();},'zofOL':function(_0x4fb93a,_0x1bf5c5){return _0x4fb93a(_0x1bf5c5);},'xBPRi':function(_0x713d36,_0x3a34b7){return _0x713d36===_0x3a34b7;},'qjujf':_0x3c057d(0x1a1),'Lflls':function(_0x1b9aae,_0x4e51bf){return _0x1b9aae(_0x4e51bf);}},_0x3f5ce7=async function(_0x39f956,_0x3924ff){const _0x2d5751=_0x3c057d;return _0x15d5ae[_0x2d5751(0x16f)](isAccessibilityAutomationSession)&&!global[_0x2d5751(0x12d)]&&global['accessibilityPlatform']&&scripts[_0x2d5751(0x1ac)](_0x39f956[_0x2d5751(0x1c7)])&&_0x15d5ae[_0x2d5751(0x1d7)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2d5751(0x12d)]=!![],await PerformanceTester[_0x2d5751(0x154)](PerformanceA11yEvents[_0x2d5751(0x1da)],async()=>{const _0x19ff7f=_0x2d5751;logger[_0x19ff7f(0x142)](_0x19ff7f(0x1e8)+_0x39f956['class']+'\x20'+_0x39f956[_0x19ff7f(0x1c7)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x526b97,scripts[_0x19ff7f(0x13d)]);},{'command':_0x39f956[_0x2d5751(0x1c7)]})()),global['bstackAllyScanning']=![],_0x3924ff[_0x2d5751(0x1e5)](this,Array['prototype'][_0x2d5751(0x141)][_0x2d5751(0x194)](arguments,0x2));},_0xee11cb=CodeceptWebDriver[_0x3c057d(0x1b9)]['_before'];CodeceptWebDriver[_0x3c057d(0x1b9)][_0x3c057d(0x1b5)]=async function(){const _0x71f3ad=_0x3c057d,_0x9a624b={'lyLNG':function(_0x25f74d,_0x3fa826){return _0x15d5ae['xBPRi'](_0x25f74d,_0x3fa826);},'HTuQJ':_0x15d5ae[_0x71f3ad(0x198)]};await _0xee11cb['apply'](this,arguments),scripts[_0x71f3ad(0x14e)]['filter'](_0x5c0a99=>_0x5c0a99[_0x71f3ad(0x1c7)]&&_0x5c0a99[_0x71f3ad(0x153)])[_0x71f3ad(0x160)](_0x264e4a=>{const _0x5e9113=_0x71f3ad;this[_0x5e9113(0x175)][_0x5e9113(0x138)](_0x264e4a[_0x5e9113(0x1c7)],_0x3f5ce7[_0x5e9113(0x1cd)](this,_0x264e4a),_0x9a624b[_0x5e9113(0x1df)](_0x264e4a[_0x5e9113(0x153)],_0x9a624b['HTuQJ']));}),_0x15d5ae[_0x71f3ad(0x165)](processWebDriverConfig,_0x526b97);};},patchPlaywrightBefore=()=>{const _0x41b2ff=a1_0x23d3d1;PlaywrightSessionDetails[_0x41b2ff(0x1c2)]();const _0x1bc92e=CodeceptPlaywright['prototype'][_0x41b2ff(0x1b5)];CodeceptPlaywright['prototype'][_0x41b2ff(0x1b5)]=async function(){const _0xd93d67=_0x41b2ff;this[_0xd93d67(0x11c)]=await this[_0xd93d67(0x175)][_0xd93d67(0x15a)]()[0x0],await _0x1bc92e[_0xd93d67(0x1e5)](this,arguments);};},getCodeceptDriver=()=>{const _0x306cbd=a1_0x23d3d1,_0x43e1a1={};_0x43e1a1[_0x306cbd(0x170)]=_0x306cbd(0x161),_0x43e1a1['LlSHn']='Playwright',_0x43e1a1['zknpD']=_0x306cbd(0x11b),_0x43e1a1['fAJMI']='TestCafe';const _0x2b9ed1=_0x43e1a1,_0x195d0d=[_0x2b9ed1[_0x306cbd(0x170)],_0x2b9ed1['LlSHn'],_0x2b9ed1[_0x306cbd(0x1a8)],_0x2b9ed1['fAJMI']],_0x5b5f35=_0x195d0d[_0x306cbd(0x11d)](_0x256dd5=>!!CodeceptJS[_0x306cbd(0x12b)][_0x306cbd(0x1c0)](_0x256dd5));if(!_0x5b5f35)return null;return CodeceptJS['container']['helpers'](_0x5b5f35);};module[a1_0x23d3d1(0x1e0)]=function(_0x336569){const _0x5de6c0=a1_0x23d3d1,_0x1a0b1d={'eNzDX':function(_0xaae6c1){return _0xaae6c1();},'XxKgb':function(_0x469fca,_0x10dbed){return _0x469fca(_0x10dbed);},'goRnr':_0x5de6c0(0x124),'lzlYh':_0x5de6c0(0x1ea),'uqFsz':_0x5de6c0(0x1ce),'iAKQE':_0x5de6c0(0x195),'GQVEy':function(_0x4ab605,_0x5cc86b){return _0x4ab605(_0x5cc86b);},'nZgTB':_0x5de6c0(0x192),'edZhc':'hook-passed','mrltf':_0x5de6c0(0x15b),'DYvKW':_0x5de6c0(0x122),'EnsgT':'test-before','MCZsZ':function(_0x54fefe){return _0x54fefe();},'uPMXH':function(_0x47d17f,_0x3f4932,_0x32dc6c){return _0x47d17f(_0x3f4932,_0x32dc6c);},'rADYR':function(_0x5aed67,_0x416650){return _0x5aed67(_0x416650);},'uovij':'test-started','rYbLY':function(_0x39fb09,_0x199748,_0x5b7e70){return _0x39fb09(_0x199748,_0x5b7e70);},'fbvzU':_0x5de6c0(0x1a5),'PbeXV':function(_0x337dbe){return _0x337dbe();},'CUUkK':function(_0x94b452,_0x2c1563,_0x53ef22,_0x19136f){return _0x94b452(_0x2c1563,_0x53ef22,_0x19136f);},'ALECI':function(_0x361093,_0x142f7f){return _0x361093===_0x142f7f;},'HiyRs':_0x5de6c0(0x15d),'YcqFX':_0x5de6c0(0x131),'DEIBe':_0x5de6c0(0x1d5),'wqnQx':'afterTest','pcQtH':function(_0x282f6e){return _0x282f6e();},'vVfGo':_0x5de6c0(0x143),'GfQgV':_0x5de6c0(0x13c),'DcwAE':_0x5de6c0(0x123),'qfrDt':'TEST_LOG','fJfUs':_0x5de6c0(0x158),'qoXfE':_0x5de6c0(0x180),'oJSsU':_0x5de6c0(0x19b),'FTYxf':_0x5de6c0(0x1d1)};_0x336569[_0x5de6c0(0x1e9)]&&(global[_0x5de6c0(0x15f)]=_0x336569[_0x5de6c0(0x1e9)]);PerformanceTester[_0x5de6c0(0x1b7)]();const _0x27ec61=_0x1a0b1d[_0x5de6c0(0x1d9)](getCodeceptDriver),_0x1905a5=new O11yHelper(_0x27ec61,_0x336569),_0x31062d=!!CodeceptJS['container'][_0x5de6c0(0x1c0)](_0x1a0b1d[_0x5de6c0(0x17d)]);global['__driver']=_0x27ec61,_0x27ec61&&(PerformanceTester[_0x5de6c0(0x154)](PerformanceEvents[_0x5de6c0(0x177)],()=>{const _0x223aeb=_0x5de6c0;_0x31062d?_0x1a0b1d[_0x223aeb(0x12c)](patchPlaywrightBefore):_0x1a0b1d['XxKgb'](patchWebDriverBefore,_0x27ec61);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x5de6c0(0x19d)],()=>{const _0xf20179=_0x5de6c0,_0x56dd65={};_0x56dd65[_0xf20179(0x1a0)]=_0x1a0b1d['uqFsz'],_0x56dd65[_0xf20179(0x17b)]=_0x1a0b1d[_0xf20179(0x17a)];const _0x53d19a=_0x56dd65;_0x27ec61[_0xf20179(0x124)]=async()=>{const _0x5b87e9=_0xf20179;if(global[_0x5b87e9(0x1ef)]){const _0x18f4c8={};_0x18f4c8[_0x5b87e9(0x1b2)]=_0x1a0b1d[_0x5b87e9(0x18f)],await PerformanceTester[_0x5b87e9(0x154)](PerformanceA11yEvents[_0x5b87e9(0x1da)],async()=>{const _0x4ecc92=_0x5b87e9;await AccessibilityHelper['browserStackExecuteDriver'](_0x27ec61,scripts[_0x4ecc92(0x13d)]);},_0x18f4c8)(),await PerformanceTester[_0x5b87e9(0x154)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x504581=_0x5b87e9;await AccessibilityHelper['browserStackExecuteDriver'](_0x27ec61,scripts[_0x504581(0x1e3)]);})();}else return logger[_0x5b87e9(0x1d8)](_0x1a0b1d[_0x5b87e9(0x1de)]),{};},_0x27ec61[_0xf20179(0x1ce)]=async()=>{const _0x51da1c=_0xf20179;if(global[_0x51da1c(0x1ef)]){const _0x203ce0={};_0x203ce0[_0x51da1c(0x1b2)]=_0x53d19a['ZSysT'],await PerformanceTester[_0x51da1c(0x154)](PerformanceA11yEvents[_0x51da1c(0x1da)],async()=>{const _0x4ec32b=_0x51da1c;await AccessibilityHelper[_0x4ec32b(0x1b0)](_0x27ec61,scripts[_0x4ec32b(0x13d)]);},_0x203ce0)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x51da1c(0x179)],async()=>{const _0x48814b=_0x51da1c;await AccessibilityHelper[_0x48814b(0x1b0)](_0x27ec61,scripts['getResults']);})();}else return logger[_0x51da1c(0x1d8)](_0x53d19a[_0x51da1c(0x17b)]),{};},_0x1a0b1d[_0xf20179(0x1bf)](patchSaveScreenshot,_0x27ec61);})()),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x13e)][_0x5de6c0(0x1b3)],()=>{const _0x312426=_0x5de6c0;PerformanceTester[_0x312426(0x1cc)](PerformanceEvents[_0x312426(0x1cf)]);try{_0x1905a5[_0x312426(0x1cc)](),testOpsHelper[_0x312426(0x1bd)](),PerformanceTester[_0x312426(0x188)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4d1400){PerformanceTester[_0x312426(0x12a)](_0x4d1400),PerformanceTester[_0x312426(0x188)](PerformanceEvents[_0x312426(0x1cf)],![],_0x4d1400);}}),CodeceptJS[_0x5de6c0(0x155)]['dispatcher']['on'](CodeceptJS[_0x5de6c0(0x155)]['all']['after'],async()=>{const _0x3b7f24=_0x5de6c0;PerformanceTester[_0x3b7f24(0x1cc)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x3b7f24(0x19c)](),await _0x1905a5['stop'](),PerformanceTester[_0x3b7f24(0x188)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x5aee35){PerformanceTester[_0x3b7f24(0x12a)](_0x5aee35),PerformanceTester[_0x3b7f24(0x188)](PerformanceEvents[_0x3b7f24(0x19a)],![],_0x5aee35);}finally{PerformanceTester[_0x3b7f24(0x132)]();}}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS['event']['hook'][_0x5de6c0(0x16d)],_0x1135ea=>{const _0x578856=_0x5de6c0;PerformanceTester[_0x578856(0x1cc)](PerformanceEvents[_0x578856(0x1c9)]);try{const _0x51132a=_0x1135ea[_0x578856(0x117)]['test'],_0x36311d=_0x1905a5['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x51132a);CodeceptRecorder[_0x578856(0x1e2)](()=>_0x1905a5[_0x578856(0x1db)](TEST_EVENTS[_0x578856(0x172)],_0x36311d));const _0x62a56={};_0x62a56[_0x578856(0x136)]=_0x1a0b1d['nZgTB'],PerformanceTester[_0x578856(0x188)](PerformanceEvents[_0x578856(0x1c9)],!![],null,_0x62a56);}catch(_0x34dae2){const _0x54f27b={};_0x54f27b['hookType']=_0x1a0b1d[_0x578856(0x1bb)],PerformanceTester['end'](PerformanceEvents[_0x578856(0x1c9)],![],_0x34dae2,_0x54f27b),PerformanceTester[_0x578856(0x12a)](_0x34dae2);}}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1ba)]['passed'],_0x556714=>{const _0x4067d5=_0x5de6c0,_0x3b9b1c={};_0x3b9b1c[_0x4067d5(0x136)]=_0x1a0b1d[_0x4067d5(0x196)],PerformanceTester[_0x4067d5(0x1cc)](PerformanceHookEvents[_0x4067d5(0x1c9)],!![],null,_0x3b9b1c);try{const _0x4c7937=_0x556714[_0x4067d5(0x117)][_0x4067d5(0x13a)],_0x22fa6a=_0x1905a5[_0x4067d5(0x1ca)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4c7937);CodeceptRecorder[_0x4067d5(0x1e2)](()=>_0x1905a5['fireEvent'](TEST_EVENTS[_0x4067d5(0x14b)],_0x22fa6a));const _0xe340={};_0xe340[_0x4067d5(0x136)]=_0x1a0b1d['edZhc'],PerformanceTester['end'](PerformanceHookEvents[_0x4067d5(0x1c9)],!![],null,_0xe340);}catch(_0x325ef6){PerformanceTester[_0x4067d5(0x12a)](_0x325ef6);const _0x452473={};_0x452473[_0x4067d5(0x136)]=_0x1a0b1d[_0x4067d5(0x196)],PerformanceTester[_0x4067d5(0x188)](PerformanceHookEvents[_0x4067d5(0x1c9)],![],_0x325ef6,_0x452473);}}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1ba)][_0x5de6c0(0x1eb)],async(_0x2bae54,_0x3488cf)=>{const _0x1956c6=_0x5de6c0;PerformanceTester[_0x1956c6(0x1cc)](PerformanceHookEvents[_0x1956c6(0x1c9)]);try{const _0x3a03d=_0x2bae54[_0x1956c6(0x117)][_0x1956c6(0x13a)],_0x279299=_0x1905a5['captureEvent'](TEST_EVENTS[_0x1956c6(0x14b)],_0x3a03d,_0x3488cf);CodeceptRecorder[_0x1956c6(0x1e2)](()=>_0x1905a5[_0x1956c6(0x1db)](TEST_EVENTS[_0x1956c6(0x14b)],_0x279299));const _0x3fff28={};_0x3fff28['hookType']=_0x1a0b1d[_0x1956c6(0x1b6)],PerformanceTester[_0x1956c6(0x1cc)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3fff28);}catch(_0x210096){PerformanceTester['captureError'](_0x210096);const _0x45f8b3={};_0x45f8b3[_0x1956c6(0x136)]=_0x1a0b1d[_0x1956c6(0x1b6)],PerformanceTester[_0x1956c6(0x188)](PerformanceHookEvents[_0x1956c6(0x1c9)],![],_0x210096,_0x45f8b3);}const _0xb50785={};_0xb50785[_0x1956c6(0x136)]=_0x1a0b1d[_0x1956c6(0x1b6)],PerformanceTester['end'](PerformanceHookEvents[_0x1956c6(0x1c9)],!![],null,_0xb50785);}),CodeceptJS['event'][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x13a)]['before'],_0x32cea0=>{const _0x249bc5=_0x5de6c0;PerformanceTester[_0x249bc5(0x1cc)](PerformanceHookEvents[_0x249bc5(0x1c9)]);try{globals[_0x249bc5(0x1b4)](_0x1a0b1d[_0x249bc5(0x15e)],_0x32cea0['title']);_0x1a0b1d['eNzDX'](isBrowserstackInfra)&&(_0x31062d&&(global[_0x249bc5(0x169)]={'currentTest':{'name':_0x32cea0[_0x249bc5(0x1dc)],'testInfo':{'titlePath':_0x32cea0['titlePath']()}}}));const _0xde330a={};_0xde330a[_0x249bc5(0x136)]=_0x1a0b1d['EnsgT'],PerformanceTester[_0x249bc5(0x188)](PerformanceHookEvents[_0x249bc5(0x1c9)],!![],null,_0xde330a);}catch(_0x37523f){PerformanceTester[_0x249bc5(0x12a)](_0x37523f);const _0x42c009={};_0x42c009['hookType']=_0x1a0b1d[_0x249bc5(0x18c)],PerformanceTester[_0x249bc5(0x188)](PerformanceHookEvents[_0x249bc5(0x1c9)],![],_0x37523f,_0x42c009);}}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS['event'][_0x5de6c0(0x13a)][_0x5de6c0(0x16d)],_0x265f26=>{const _0x2a61d0=_0x5de6c0;PerformanceTester[_0x2a61d0(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x1a0b1d[_0x2a61d0(0x15e)],_0x265f26[_0x2a61d0(0x1dc)]);const _0x3e3c7a=_0x1905a5['captureEvent'](TEST_EVENTS[_0x2a61d0(0x1ee)],_0x265f26);CodeceptRecorder[_0x2a61d0(0x1e2)](()=>_0x1905a5['fireEvent'](TEST_EVENTS[_0x2a61d0(0x1ee)],_0x3e3c7a)),CodeceptRecorder[_0x2a61d0(0x1e2)](async()=>{const _0x3e25b5=_0x2a61d0;_0x1a0b1d['MCZsZ'](isBrowserstackInfra)&&(!_0x1a0b1d[_0x3e25b5(0x1bf)](isTrue,_0x336569[_0x3e25b5(0x1c1)])&&await _0x1a0b1d[_0x3e25b5(0x12e)](markSessionName,_0x27ec61,_0x265f26[_0x3e25b5(0x1dc)]),_0x1905a5[_0x3e25b5(0x18a)]&&await _0x1a0b1d['rADYR'](o11ySync,_0x27ec61));});}catch(_0x3b6d81){const _0x15a51e={};_0x15a51e['hookType']=_0x1a0b1d[_0x2a61d0(0x1a2)],PerformanceTester[_0x2a61d0(0x188)](PerformanceHookEvents[_0x2a61d0(0x1c9)],![],_0x3b6d81,_0x15a51e),PerformanceTester['captureError'](_0x3b6d81);}const _0x2f137e={};_0x2f137e[_0x2a61d0(0x136)]=_0x1a0b1d[_0x2a61d0(0x1a2)],PerformanceTester['end'](PerformanceHookEvents[_0x2a61d0(0x1c9)],!![],null,_0x2f137e);}),CodeceptJS['event'][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x13a)]['passed'],_0x4e6b8b=>{const _0x5f1452=_0x5de6c0,_0x2092aa={'SEkfj':function(_0x18f072,_0xeed34b,_0x517245){return _0x1a0b1d['rYbLY'](_0x18f072,_0xeed34b,_0x517245);}};PerformanceTester[_0x5f1452(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{const _0x477cc7=_0x1905a5[_0x5f1452(0x1ca)](TEST_EVENTS[_0x5f1452(0x1ab)],_0x4e6b8b);CodeceptRecorder[_0x5f1452(0x1e2)](()=>_0x1905a5['fireEvent'](TEST_EVENTS[_0x5f1452(0x1ab)],_0x477cc7)),CodeceptRecorder[_0x5f1452(0x1e2)](async()=>{const _0x5eb17d=_0x5f1452;_0x1a0b1d['eNzDX'](isBrowserstackInfra)&&await PerformanceTester[_0x5eb17d(0x154)](PerformanceAutEvents[_0x5eb17d(0x1a3)],async()=>{const _0x44d430=_0x5eb17d;_0x31062d?await _0x2092aa[_0x44d430(0x178)](playwrightMarkSessionStatus,_0x27ec61,STATE_PASSED):await _0x2092aa[_0x44d430(0x178)](markSessionStatus,_0x27ec61,STATE_PASSED);})();}),PerformanceTester[_0x5f1452(0x188)](PerformanceEvents[_0x5f1452(0x15c)]);}catch(_0x512a03){PerformanceTester[_0x5f1452(0x12a)](_0x512a03);const _0x407f82={};_0x407f82[_0x5f1452(0x136)]=_0x1a0b1d[_0x5f1452(0x199)],PerformanceTester[_0x5f1452(0x188)](PerformanceHookEvents['SDK_HOOK'],![],_0x512a03,_0x407f82),PerformanceTester[_0x5f1452(0x188)](PerformanceEvents['SDK_TEST'],![],_0x512a03);}const _0x4e634a={};_0x4e634a[_0x5f1452(0x136)]=_0x1a0b1d[_0x5f1452(0x199)],PerformanceTester[_0x5f1452(0x188)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4e634a);}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x13a)]['failed'],(_0x369730,_0x34bb31)=>{const _0x39171c=_0x5de6c0,_0x1517bb={'hZtBf':function(_0x30868c){const _0x523aba=a1_0x40b1;return _0x1a0b1d[_0x523aba(0x159)](_0x30868c);},'TRTDR':function(_0x3a2049,_0x5aabbc,_0x34052b,_0x186248){const _0x56e8c1=a1_0x40b1;return _0x1a0b1d[_0x56e8c1(0x128)](_0x3a2049,_0x5aabbc,_0x34052b,_0x186248);}};PerformanceTester[_0x39171c(0x1cc)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x1a0b1d['ALECI'](_0x369730['constructor'][_0x39171c(0x1c7)],_0x1a0b1d[_0x39171c(0x1aa)])){const _0xadeee9=_0x1905a5[_0x39171c(0x1ca)](TEST_EVENTS[_0x39171c(0x18b)],_0x369730[_0x39171c(0x117)][_0x39171c(0x1a9)]);CodeceptRecorder['add'](()=>_0x1905a5[_0x39171c(0x1db)](TEST_EVENTS[_0x39171c(0x18b)],_0xadeee9));}else{const _0x5e83f9=_0x1905a5[_0x39171c(0x1ca)](TEST_EVENTS[_0x39171c(0x1ab)],_0x369730,_0x34bb31);CodeceptRecorder[_0x39171c(0x1e2)](()=>{const _0x4678d7=_0x39171c;try{_0x1905a5['fireEvent'](TEST_EVENTS[_0x4678d7(0x1ab)],_0x5e83f9);}catch(_0xf33f52){logger[_0x4678d7(0x142)](_0x4678d7(0x19e)+util[_0x4678d7(0x1ec)](_0xf33f52)),PerformanceTester[_0x4678d7(0x188)](PerformanceEvents[_0x4678d7(0x15c)],![],_0xf33f52);}}),CodeceptRecorder[_0x39171c(0x1e2)](async()=>{const _0x3cfcb5=_0x39171c;try{_0x1517bb[_0x3cfcb5(0x1cb)](isBrowserstackInfra)&&(_0x31062d?await _0x1517bb[_0x3cfcb5(0x150)](playwrightMarkSessionStatus,_0x27ec61,STATE_FAILED,_0x34bb31):await _0x1517bb['TRTDR'](markSessionStatus,_0x27ec61,STATE_FAILED,_0x34bb31));}catch(_0x591036){logger[_0x3cfcb5(0x142)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x3cfcb5(0x1ec)](_0x591036)),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x591036);}});}PerformanceTester[_0x39171c(0x188)](PerformanceEvents[_0x39171c(0x15c)]);}catch(_0x415f5d){PerformanceTester[_0x39171c(0x12a)](_0x415f5d);const _0x1b1f1d={};_0x1b1f1d['hookType']=_0x1a0b1d[_0x39171c(0x16a)],PerformanceTester[_0x39171c(0x188)](PerformanceHookEvents[_0x39171c(0x1c9)],![],_0x415f5d,_0x1b1f1d),PerformanceTester[_0x39171c(0x188)](PerformanceEvents['SDK_TEST'],![],_0x415f5d);}const _0x257d12={};_0x257d12['hookType']=_0x1a0b1d['YcqFX'],PerformanceTester[_0x39171c(0x188)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x257d12);}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x13a)][_0x5de6c0(0x1e4)],_0x140dfb=>{const _0x226dbb=_0x5de6c0;PerformanceTester[_0x226dbb(0x1cc)](PerformanceHookEvents[_0x226dbb(0x1c9)]);try{const _0x470906=_0x1905a5[_0x226dbb(0x1ca)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x140dfb);CodeceptRecorder[_0x226dbb(0x1e2)](()=>_0x1905a5[_0x226dbb(0x1db)](TEST_EVENTS[_0x226dbb(0x18b)],_0x470906)),PerformanceTester[_0x226dbb(0x188)](PerformanceEvents[_0x226dbb(0x15c)]);}catch(_0x5768cf){PerformanceTester[_0x226dbb(0x12a)](_0x5768cf),PerformanceTester[_0x226dbb(0x188)](PerformanceEvents[_0x226dbb(0x15c)],![],_0x5768cf);const _0x255265={};_0x255265[_0x226dbb(0x136)]=_0x1a0b1d[_0x226dbb(0x185)],PerformanceTester[_0x226dbb(0x188)](PerformanceHookEvents[_0x226dbb(0x1c9)],![],_0x5768cf,_0x255265);}const _0x48504b={};_0x48504b[_0x226dbb(0x136)]=_0x1a0b1d[_0x226dbb(0x185)],PerformanceTester[_0x226dbb(0x188)](PerformanceHookEvents[_0x226dbb(0x1c9)],!![],null,_0x48504b);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x13a)][_0x5de6c0(0x1c4)],async(_0x3d8a11,_0x6e3d34)=>{const _0x3a2347=_0x5de6c0,_0x663ff7={};_0x663ff7['nLYup']=_0x1a0b1d[_0x3a2347(0x146)];const _0x3c1dea=_0x663ff7;try{PerformanceTester['start'](PerformanceHookEvents[_0x3a2347(0x1c9)]);if(_0x1a0b1d[_0x3a2347(0x1d4)](isBrowserstackInfra)){const _0x3c24f9=_0x1a0b1d[_0x3a2347(0x12e)](shouldScanTestForAccessibility,_0x3d8a11[_0x3a2347(0x147)](),!![]);if(_0x1a0b1d[_0x3a2347(0x1d9)](isAccessibilityAutomationSession)&&global[_0x3a2347(0x1ef)]&&_0x3c24f9){const _0x2961c0={};_0x2961c0[_0x3a2347(0x16b)]=_0x3d8a11[_0x3a2347(0x1b8)],_0x2961c0[_0x3a2347(0x140)]=process[_0x3a2347(0x18e)][testHubConstants[_0x3a2347(0x1bc)][_0x3a2347(0x1e7)]],_0x2961c0['thJwtToken']=process[_0x3a2347(0x18e)][testHubConstants[_0x3a2347(0x1bc)][_0x3a2347(0x13b)]];const _0x45041e=_0x2961c0;logger[_0x3a2347(0x142)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x3a2347(0x17e)](_0x45041e)),CodeceptRecorder[_0x3a2347(0x1e2)](async()=>{const _0x1bfb85=_0x3a2347,_0x32928f={};_0x32928f[_0x1bfb85(0x1b2)]=_0x3c1dea['nLYup'],await PerformanceTester[_0x1bfb85(0x154)](PerformanceA11yEvents[_0x1bfb85(0x1da)],async()=>{const _0x5df72a=_0x1bfb85;await AccessibilityHelper[_0x5df72a(0x1b0)](_0x27ec61,scripts[_0x5df72a(0x13d)]);},_0x32928f)(),await PerformanceTester[_0x1bfb85(0x154)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xe5ee33=_0x1bfb85;await AccessibilityHelper[_0xe5ee33(0x1b0)](_0x27ec61,scripts[_0xe5ee33(0x14a)],_0x45041e);})();}),logger[_0x3a2347(0x1dd)](_0x1a0b1d[_0x3a2347(0x120)]);}}const _0x57780b={};_0x57780b['hookType']=_0x1a0b1d['GfQgV'],PerformanceTester['end'](PerformanceHookEvents[_0x3a2347(0x1c9)],!![],null,_0x57780b);}catch(_0x3a81c0){PerformanceTester[_0x3a2347(0x12a)](_0x3a81c0);const _0x50877e={};_0x50877e['hookType']=_0x1a0b1d[_0x3a2347(0x1c3)],PerformanceTester['end'](PerformanceHookEvents[_0x3a2347(0x1c9)],![],_0x3a81c0,_0x50877e);}}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS['event']['step']['comment'],_0xefef78=>{const _0x2fa20a=_0x5de6c0;PerformanceTester[_0x2fa20a(0x1cc)](PerformanceHookEvents[_0x2fa20a(0x1c9)]);try{process[_0x2fa20a(0x1d2)](_0x2fa20a(0x168)+process[_0x2fa20a(0x197)],{'timestamp':new Date()['toISOString'](),'level':_0x1a0b1d[_0x2fa20a(0x125)],'message':_0xefef78,'kind':_0x1a0b1d['qfrDt'],'http_response':{}});}catch(_0x425b98){PerformanceTester['captureError'](_0x425b98);const _0x51163d={};_0x51163d[_0x2fa20a(0x136)]=_0x1a0b1d[_0x2fa20a(0x116)],PerformanceTester[_0x2fa20a(0x188)](PerformanceHookEvents[_0x2fa20a(0x1c9)],![],_0x425b98,_0x51163d);}const _0x12ba36={};_0x12ba36[_0x2fa20a(0x136)]=_0x1a0b1d[_0x2fa20a(0x116)],PerformanceTester[_0x2fa20a(0x188)](PerformanceHookEvents[_0x2fa20a(0x1c9)],!![],null,_0x12ba36);}),CodeceptJS[_0x5de6c0(0x155)]['dispatcher']['on'](CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x156)][_0x5de6c0(0x1b3)],_0x45f352=>{const _0x2baf3b=_0x5de6c0,_0x14b942={};_0x14b942[_0x2baf3b(0x136)]=_0x1a0b1d[_0x2baf3b(0x126)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x2baf3b(0x1c9)],()=>{const _0x26b99f=_0x2baf3b;_0x1905a5[_0x26b99f(0x189)](_0x45f352);},_0x14b942)();}),CodeceptJS[_0x5de6c0(0x155)][_0x5de6c0(0x1a7)]['on'](CodeceptJS[_0x5de6c0(0x155)]['bddStep'][_0x5de6c0(0x1c4)],_0x20b7c4=>{const _0x39f333=_0x5de6c0,_0x158cc6={};_0x158cc6[_0x39f333(0x136)]=_0x1a0b1d[_0x39f333(0x129)],PerformanceTester[_0x39f333(0x154)](PerformanceHookEvents[_0x39f333(0x1c9)],()=>{const _0x553d82=_0x39f333;_0x1905a5[_0x553d82(0x1a6)](_0x20b7c4);},_0x158cc6)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x3f1025=a2_0x1e79;(function(_0x2fa505,_0x32934a){const _0x3d2f99=a2_0x1e79,_0xb2b718=_0x2fa505();while(!![]){try{const _0x551766=-parseInt(_0x3d2f99(0x22a))/0x1*(parseInt(_0x3d2f99(0x1ec))/0x2)+parseInt(_0x3d2f99(0x1dc))/0x3+-parseInt(_0x3d2f99(0x1d0))/0x4*(parseInt(_0x3d2f99(0x207))/0x5)+parseInt(_0x3d2f99(0x1d9))/0x6+parseInt(_0x3d2f99(0x214))/0x7+parseInt(_0x3d2f99(0x22b))/0x8+-parseInt(_0x3d2f99(0x21d))/0x9*(parseInt(_0x3d2f99(0x1fb))/0xa);if(_0x551766===_0x32934a)break;else _0xb2b718['push'](_0xb2b718['shift']());}catch(_0x1015b5){_0xb2b718['push'](_0xb2b718['shift']());}}}(a2_0x26c0,0xa500c));const fs=require('fs'),path=require(a2_0x3f1025(0x20a)),util=require('util'),process=require(a2_0x3f1025(0x20e)),logger=require('../../helpers/logger')[a2_0x3f1025(0x1c9)],{default:BrowserStackSetup}=require(a2_0x3f1025(0x1ae)),helper=require(a2_0x3f1025(0x1df)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x3f1025(0x1d4)),{setAccessibilityCapabilities}=require(a2_0x3f1025(0x200)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3f1025(0x1df)),CodeceptJS=requireModule(a2_0x3f1025(0x1cc),'codeceptjs'),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x3f1025(0x224)),constants=require(a2_0x3f1025(0x1af)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x3f1025(0x1d8)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x42fc43,_0x19ef69)=>{const _0x2354cb=a2_0x3f1025,_0x31a0d6={};_0x31a0d6[_0x2354cb(0x1a4)]=function(_0x4e9236,_0x4f48f7){return _0x4e9236===_0x4f48f7;},_0x31a0d6[_0x2354cb(0x1e4)]=_0x2354cb(0x1e7),_0x31a0d6[_0x2354cb(0x1f5)]='codecept.json';const _0x199d9d=_0x31a0d6;let _0x2fcf19=null;const _0x450918={};let _0x2ddf39=_0x19ef69[_0x2354cb(0x206)](_0x2b2ff0=>_0x2b2ff0==='--config');_0x199d9d[_0x2354cb(0x1a4)](_0x2ddf39,-0x1)&&(_0x2ddf39=_0x19ef69[_0x2354cb(0x206)](_0x52a5c7=>_0x52a5c7==='-c'));if(!helper['isUndefined'](_0x42fc43[_0x2354cb(0x223)])&&fs[_0x2354cb(0x1a0)](path[_0x2354cb(0x1a2)](process[_0x2354cb(0x1f6)](),_0x42fc43[_0x2354cb(0x223)])))_0x2fcf19=path[_0x2354cb(0x1a2)](process['cwd'](),_0x42fc43[_0x2354cb(0x223)]),_0x19ef69['slice'](_0x2ddf39,0x2);else{if(!helper[_0x2354cb(0x1e6)](_0x42fc43['c'])&&fs[_0x2354cb(0x1a0)](path[_0x2354cb(0x1a2)](process[_0x2354cb(0x1f6)](),_0x42fc43['c'])))_0x2fcf19=path[_0x2354cb(0x1a2)](process[_0x2354cb(0x1f6)](),_0x42fc43['c']),_0x19ef69[_0x2354cb(0x1c2)](_0x2ddf39,0x2);else{if(fs[_0x2354cb(0x1a0)](path[_0x2354cb(0x1a2)](process['cwd'](),_0x199d9d[_0x2354cb(0x1e4)])))_0x2fcf19=path[_0x2354cb(0x1a2)](process[_0x2354cb(0x1f6)](),_0x199d9d[_0x2354cb(0x1e4)]);else fs[_0x2354cb(0x1a0)](path[_0x2354cb(0x1a2)](process['cwd'](),_0x199d9d[_0x2354cb(0x1f5)]))&&(_0x2fcf19=path[_0x2354cb(0x1a2)](process['cwd'](),_0x199d9d[_0x2354cb(0x1f5)]));}}return _0x2fcf19;},getO11yRerunPattern=()=>{const _0x35b411=a2_0x3f1025,_0x281434={};_0x281434[_0x35b411(0x1e2)]=function(_0x209c65,_0x2b552f){return _0x209c65!==_0x2b552f;},_0x281434[_0x35b411(0x1f0)]=_0x35b411(0x20c);const _0x2036f8=_0x281434,_0x10b178=helper[_0x35b411(0x1cb)](process[_0x35b411(0x21e)][_0x35b411(0x219)]);if(_0x10b178){const _0x4094f6=process[_0x35b411(0x21e)]['BROWSERSTACK_RERUN_TESTS'],_0x3019b0=[];if(_0x2036f8[_0x35b411(0x1e2)](_0x4094f6,_0x2036f8['rbSif'])&&!helper[_0x35b411(0x1e6)](_0x4094f6)){_0x4094f6[_0x35b411(0x21b)](',')[_0x35b411(0x213)](_0x2fa625=>{const _0x3808f0=_0x35b411;_0x3019b0[_0x3808f0(0x1c3)]('('+_0x2fa625['trim']()+')');});const _0x3111b0='^'+_0x3019b0[_0x35b411(0x1a2)]('|')+'$';return _0x3111b0;}}return null;},a2_0x56f865={};a2_0x56f865['chrome']=a2_0x3f1025(0x1f3),a2_0x56f865[a2_0x3f1025(0x1b5)]=a2_0x3f1025(0x1f3),a2_0x56f865['playwright-firefox']=a2_0x3f1025(0x1cf),a2_0x56f865['playwright-webkit']=a2_0x3f1025(0x1b3);const pwToCodeceptBrowser=a2_0x56f865;async function run(_0x65b0cb,_0x47b58c){const _0x1e6fd0=a2_0x3f1025,_0x1d6687={'mhcbm':function(_0x261ad0,_0x416a27){return _0x261ad0+_0x416a27;},'AmkzK':function(_0x543db0,_0x41c636){return _0x543db0(_0x41c636);},'HcJhN':function(_0x242493,_0x51fe4f){return _0x242493+_0x51fe4f;},'oYSxa':function(_0x202e4b,_0x1ee97f,_0x5c9361){return _0x202e4b(_0x1ee97f,_0x5c9361);},'ubhhr':_0x1e6fd0(0x22c),'uZkhp':function(_0x24bf17){return _0x24bf17();},'DhahR':function(_0x509270){return _0x509270();},'sPEtq':_0x1e6fd0(0x1a3),'OMSmQ':_0x1e6fd0(0x211),'TUxxE':_0x1e6fd0(0x215),'SUdkd':_0x1e6fd0(0x1c8),'oOauQ':_0x1e6fd0(0x1dd),'OIVcV':_0x1e6fd0(0x1ab),'CjDXr':function(_0x39f6b8,_0x175885,_0x3689a5){return _0x39f6b8(_0x175885,_0x3689a5);},'rXAyW':'Playwright','twCUK':_0x1e6fd0(0x1c5),'VXvbU':function(_0x1b19e6,_0x20394d){return _0x1b19e6(_0x20394d);},'LeQzE':function(_0x14e62b,_0x47734d){return _0x14e62b!=_0x47734d;},'hJUCV':function(_0x28387a,_0x1f774b){return _0x28387a===_0x1f774b;},'lBUIc':function(_0x3001f7,_0x511d1b){return _0x3001f7+_0x511d1b;},'DwHQX':function(_0x5b5e8c,_0x4ecd26,_0x909762){return _0x5b5e8c(_0x4ecd26,_0x909762);},'lRoum':_0x1e6fd0(0x1e8),'NDkYc':'-cucumber','vDsBA':function(_0x2e93dd,_0x2ca49d){return _0x2e93dd*_0x2ca49d;},'logjH':_0x1e6fd0(0x1a6),'ocbFu':'desiredCapabilities','AoSJi':_0x1e6fd0(0x1cd),'gZMtV':_0x1e6fd0(0x1a9),'ouEhr':_0x1e6fd0(0x222),'OkZdE':function(_0x11780b){return _0x11780b();}},_0x33fbec=new BrowserStackSetup(_0x65b0cb,_0x1d6687[_0x1e6fd0(0x1ff)]);await _0x33fbec[_0x1e6fd0(0x1b1)](),await helper['handleApp'](_0x33fbec[_0x1e6fd0(0x223)]);if(!_0x33fbec['config'])return;process[_0x1e6fd0(0x228)]=_0x65b0cb[_0x1e6fd0(0x228)];_0x65b0cb['profile']&&(process[_0x1e6fd0(0x21e)][_0x1e6fd0(0x228)]=_0x65b0cb[_0x1e6fd0(0x228)]);const _0x5d03d1=_0x1d6687[_0x1e6fd0(0x216)](getUserCodeceptJSConfigs,_0x65b0cb,_0x47b58c);let _0x63b6e6={};_0x5d03d1?(logger[_0x1e6fd0(0x227)](_0x1e6fd0(0x1b7)+_0x5d03d1),_0x63b6e6=CodeceptJS[_0x1e6fd0(0x223)][_0x1e6fd0(0x20b)](_0x5d03d1)):logger['info'](_0x1d6687['OIVcV']);let _0x15a55e=![];_0x1d6687[_0x1e6fd0(0x1c0)](nestedKeyValue,_0x63b6e6,[_0x1d6687[_0x1e6fd0(0x1bd)],_0x1d6687[_0x1e6fd0(0x1ed)]])&&(_0x15a55e=!![]);const _0xcf30ac=_0x15a55e?_0x1d6687[_0x1e6fd0(0x1ed)]:_0x1d6687[_0x1e6fd0(0x21a)];let _0x5d5ac8=!_0x15a55e?helper[_0x1e6fd0(0x1c4)](_0x33fbec[_0x1e6fd0(0x223)]):![];!helper[_0x1e6fd0(0x1e6)](_0x33fbec[_0x1e6fd0(0x223)]['accessibilityOptions'])&&(process[_0x1e6fd0(0x21e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1e6fd0(0x1bc)](_0x33fbec[_0x1e6fd0(0x223)]['accessibilityOptions']));let _0x2b670d=_0x33fbec[_0x1e6fd0(0x223)]['accessibility'];_0x2b670d=_0x2b670d||_0x1d6687['VXvbU'](checkAccessibilityPlatformConfig,_0x33fbec[_0x1e6fd0(0x223)]),process[_0x1e6fd0(0x21e)][_0x1e6fd0(0x1b9)]=_0x2b670d;_0x2b670d&&(_0x5d5ac8=!_0x2b670d);_0x1d6687[_0x1e6fd0(0x1ea)](_0x33fbec['config'][_0x1e6fd0(0x1f4)],null)?process[_0x1e6fd0(0x21e)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x33fbec[_0x1e6fd0(0x223)][_0x1e6fd0(0x1f4)]:process[_0x1e6fd0(0x21e)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1d6687[_0x1e6fd0(0x1a5)](_0xcf30ac,_0x1d6687[_0x1e6fd0(0x1ed)]);const _0x5d8efa=_0x1d6687['lBUIc'](_0x1d6687[_0x1e6fd0(0x1ff)],_0x1d6687[_0x1e6fd0(0x220)](nestedKeyValue,_0x63b6e6,[_0x1d6687[_0x1e6fd0(0x226)]])?_0x1d6687['NDkYc']:''),_0xf40c12=await TestHubHandler[_0x1e6fd0(0x1ac)](_0x5d8efa,_0x33fbec);_0x2b670d&&_0x1d6687[_0x1e6fd0(0x1d5)](setAccessibilityCapabilities,_0x33fbec[_0x1e6fd0(0x223)]);const _0x3a54d8={},_0x33dbf4=[],_0x4d28d1=_0x33fbec[_0x1e6fd0(0x223)]['parallelsPerPlatform']||helper[_0x1e6fd0(0x1e3)](_0x65b0cb,_0x47b58c,_0x33fbec[_0x1e6fd0(0x223)],constants['FRAMEWORKS'][_0x1e6fd0(0x205)])||0x1;let _0x31753b=0x1;if(_0x1d6687['uZkhp'](isBrowserstackInfra)){const _0x5470c8=helper[_0x1e6fd0(0x1c7)](_0x33fbec[_0x1e6fd0(0x223)],_0x5d5ac8,constants[_0x1e6fd0(0x1f1)][_0x1e6fd0(0x205)]);_0x5470c8[_0x1e6fd0(0x1f9)](_0x410787=>{const _0x159b35=_0x1e6fd0;helper[_0x159b35(0x1a1)](_0x410787);}),helper[_0x1e6fd0(0x1ef)](_0x33fbec[_0x1e6fd0(0x223)])?_0x31753b=_0x1d6687[_0x1e6fd0(0x1d7)](_0x4d28d1,_0x33fbec[_0x1e6fd0(0x223)]['platforms']['length']):_0x31753b=_0x4d28d1,_0x5470c8[_0x1e6fd0(0x1f9)](_0x3582d1=>{const _0x1975d7=_0x1e6fd0,_0x238700={'JySxT':function(_0x5ac3a9,_0x4d038d){return _0x1d6687['mhcbm'](_0x5ac3a9,_0x4d038d);},'liVKv':function(_0x3519ca,_0x16e796){const _0x27739d=a2_0x1e79;return _0x1d6687[_0x27739d(0x1bb)](_0x3519ca,_0x16e796);}},_0x2f5f1a=_0x1d6687['HcJhN'](helper[_0x1975d7(0x1ce)](_0x3582d1,'_'),'_'+Date['now']()),_0x5d3d61=((()=>{const _0x10afa2=_0x1975d7;if(_0x15a55e){const _0x499154=pwToCodeceptBrowser[_0x3582d1[_0x10afa2(0x1ca)]]||_0x3582d1[_0x10afa2(0x1ca)];return{'browser':_0x499154,[_0x499154]:{'browserWSEndpoint':_0x238700[_0x10afa2(0x19f)](helper[_0x10afa2(0x1e1)](_0x33fbec[_0x10afa2(0x223)]),_0x238700[_0x10afa2(0x1d1)](encodeURIComponent,JSON['stringify'](_0x3582d1)))}};}const _0x102e33={};return _0x102e33['desiredCapabilities']=_0x3582d1,_0x102e33;})()),_0x48fd31=_0x1d6687[_0x1975d7(0x216)](nestedKeyValue,_0x63b6e6,[_0x1d6687[_0x1975d7(0x1bd)],_0xcf30ac]);_0x3a54d8[_0x2f5f1a]=_0x48fd31?helper[_0x1975d7(0x1d3)](_0x5d3d61,_0x48fd31):_0x5d3d61,!_0x15a55e&&(_0x3a54d8[_0x2f5f1a][_0x1975d7(0x1a6)]=_0x3582d1[_0x1975d7(0x1ca)]||_0x5d3d61[_0x1975d7(0x1a6)]),_0x33dbf4['push'](_0x2f5f1a);});}else{_0x31753b=0x1;if(_0x15a55e){const _0x4e7a51=_0x1d6687['DwHQX'](nestedKeyValue,_0x63b6e6,[_0x1d6687[_0x1e6fd0(0x1bd)],_0xcf30ac,_0x1d6687[_0x1e6fd0(0x1c1)]]),_0x358bfb=_0x1d6687[_0x1e6fd0(0x220)](nestedKeyValue,_0x63b6e6,[_0x1d6687['ubhhr'],_0xcf30ac,_0x4e7a51]);_0x358bfb&&_0x358bfb[_0x1e6fd0(0x225)]&&(_0x358bfb[_0x1e6fd0(0x225)]=helper['prepareCapabilities'](null,null,_0x5d8efa[_0x1e6fd0(0x1f2)](),null,null,_0x358bfb[_0x1e6fd0(0x225)]));}else _0x63b6e6[_0x1d6687[_0x1e6fd0(0x1bd)]][_0xcf30ac][_0x1d6687[_0x1e6fd0(0x1a8)]]=helper[_0x1e6fd0(0x1c7)](null,null,_0x5d8efa['toLowerCase'](),_0x1d6687[_0x1e6fd0(0x220)](nestedKeyValue,_0x63b6e6,[_0x1d6687['ubhhr'],_0xcf30ac,_0x1d6687[_0x1e6fd0(0x1a8)]]),null,null);_0x3a54d8[_0x1d6687[_0x1e6fd0(0x221)]]=_0x63b6e6,_0x33dbf4[_0x1e6fd0(0x1c3)](_0x1d6687[_0x1e6fd0(0x221)]);}const _0x8549b4={};_0x8549b4[_0x1e6fd0(0x1b0)]=_0x5d03d1;const _0x222898=_0x8549b4,_0x1f7b35=path[_0x1e6fd0(0x1a2)](__dirname,_0x1d6687[_0x1e6fd0(0x1de)]),_0xff1ba7=process[_0x1e6fd0(0x1f6)]();process[_0x1e6fd0(0x21e)][_0x1d6687['ouEhr']]=_0xff1ba7,process[_0x1e6fd0(0x202)](path['dirname'](_0x5d03d1));const _0x18656c=new CodeceptJS[(_0x1e6fd0(0x212))](null,_0x222898),_0x331e08=_0x18656c[_0x1e6fd0(0x1b4)](_0x31753b),_0x1bd979=testOpsHelper[_0x1e6fd0(0x20f)](),_0x1987d7=_0x33dbf4[_0x1e6fd0(0x213)](_0x3be7a8=>{const _0x27ca86=_0x1e6fd0,_0x148ade={};_0x148ade[_0x27ca86(0x1e5)]=_0x3a54d8[_0x3be7a8];const _0x4d95bd={};_0x4d95bd['WebDriver']=_0x3a54d8[_0x3be7a8];const _0x3ea5b1=_0x15a55e?_0x148ade:_0x4d95bd,_0x93c5e7=_0x1d6687[_0x27ca86(0x1c6)](getO11yRerunPattern),_0xbf5af9={};_0xbf5af9[_0x27ca86(0x22c)]=_0x3ea5b1;const _0x51027e={};_0x51027e[_0x27ca86(0x1e9)]=_0x1f7b35,_0x51027e[_0x27ca86(0x201)]=!![],_0x51027e[_0x27ca86(0x217)]=_0x33fbec[_0x27ca86(0x223)]['testContextOptions']['skipSessionName'],_0x51027e['skipSessionStatus']=_0x33fbec[_0x27ca86(0x223)][_0x27ca86(0x1fd)][_0x27ca86(0x1d6)],_0x51027e['testObservability']=_0x1bd979,_0x51027e['frameworkName']=_0x5d8efa;const _0xa72fbf={};_0xa72fbf[_0x27ca86(0x19e)]=_0x51027e;const _0xd8eb65={};return _0xd8eb65[_0x27ca86(0x1bf)]=_0xa72fbf,helper[_0x27ca86(0x1d3)]({},_0x63b6e6,_0x1d6687[_0x27ca86(0x1db)](isBrowserstackInfra)?_0xbf5af9:{},_0x93c5e7?{'grep':_0x93c5e7}:{},_0xd8eb65);});for(const _0x4c2be6 of _0x1987d7){for(const _0x1ad192 of _0x331e08){const _0x2ad4d1=_0x18656c['spawn']();_0x2ad4d1[_0x1e6fd0(0x1f7)](_0x1ad192),_0x2ad4d1['addConfig'](_0x4c2be6);}}_0x18656c['on'](CodeceptJS[_0x1e6fd0(0x203)][_0x1e6fd0(0x210)][_0x1e6fd0(0x218)],(_0x23dc76,_0x43926e)=>{const _0x242969=_0x1e6fd0;console[_0x242969(0x208)](_0x1d6687[_0x242969(0x229)],_0x23dc76['title']);const _0x4d1069={[_0x23dc76['title']]:_0x23dc76['err'][_0x242969(0x1fe)]};_testErrorData['push'](_0x4d1069);}),_0x18656c['on'](CodeceptJS['event'][_0x1e6fd0(0x210)][_0x1e6fd0(0x1e0)],async _0x2242f0=>{const _0x283eab=_0x1e6fd0;console[_0x283eab(0x208)](_0x1d6687[_0x283eab(0x1fc)],_0x2242f0[_0x283eab(0x21c)]);}),_0x18656c['on'](CodeceptJS[_0x1e6fd0(0x203)][_0x1e6fd0(0x210)][_0x1e6fd0(0x1b8)],async _0xf78d16=>{const _0x54e8b5=_0x1e6fd0;console[_0x54e8b5(0x208)](_0x1d6687[_0x54e8b5(0x1a7)],_0xf78d16[_0x54e8b5(0x21c)]);}),_0x18656c['on'](CodeceptJS['event'][_0x1e6fd0(0x1b2)]['result'],async()=>{const _0x47f980=_0x1e6fd0,_0x57b067=_0x1d6687['SUdkd']['split']('|');let _0x5a5e61=0x0;while(!![]){switch(_0x57b067[_0x5a5e61++]){case'0':try{await TestHubHandler[_0x47f980(0x1be)]();}catch(_0x43d7de){logger[_0x47f980(0x1da)](_0x47f980(0x1ee)+util[_0x47f980(0x1ad)](_0x43d7de));}continue;case'1':_0x18656c['printResults']();continue;case'2':_0x33fbec[_0x47f980(0x1fa)]=_testErrorData;continue;case'3':testOpsHelper['printBuildLink']();continue;case'4':PerformanceTester[_0x47f980(0x209)](PerformanceEvents[_0x47f980(0x1aa)]);continue;case'5':utilities[_0x47f980(0x1f8)](_0x33fbec);continue;}break;}});async function _0x2025e3(){const _0x16a176=_0x1e6fd0;try{await _0x18656c[_0x16a176(0x1ba)](),await _0x18656c[_0x16a176(0x204)]();}finally{process[_0x16a176(0x202)](_0xff1ba7),await _0x18656c[_0x16a176(0x1d2)]();}}PerformanceTester[_0x1e6fd0(0x1eb)](PerformanceEvents[_0x1e6fd0(0x20d)]),_0x1d6687[_0x1e6fd0(0x21f)](_0x2025e3);}module[a2_0x3f1025(0x1b6)]=run;function a2_0x1e79(_0x313203,_0x1568b9){const _0x26c098=a2_0x26c0();return a2_0x1e79=function(_0x1e7958,_0x1b726f){_0x1e7958=_0x1e7958-0x19e;let _0x5eb7e6=_0x26c098[_0x1e7958];return _0x5eb7e6;},a2_0x1e79(_0x313203,_0x1568b9);}function a2_0x26c0(){const _0x377ec0=['AmkzK','stringify','ubhhr','stop','plugins','CjDXr','logjH','slice','push','useW3C','WebDriver','uZkhp','prepareCapabilities','4|2|3|5|0|1','winstonLogger','browserName','isTrue','codeceptjs/lib/index.js','root','getPlatformName','firefox','26444HEVXxK','liVKv','teardownAll','mergeDeep','../../helpers/accessibility-automation/helper','VXvbU','skipSessionStatus','vDsBA','EVENTS','1620YUCWYI','debug','DhahR','2599368ZenRot','codeceptjs','gZMtV','../../helpers/helper','passed','getPlaywrightUrl','IIZTB','getUserWorkerCount','LvINU','Playwright','isUndefined','codecept.conf.js','gherkin','require','LeQzE','end','482278EzfLGw','rXAyW','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','validPlatformsPresent','rbSif','FRAMEWORKS','toLowerCase','chromium','testObservability','pjDoQ','cwd','addTests','finalExecution','forEach','errorMessage','444590bBHKGH','OMSmQ','testContextOptions','stack','oOauQ','../../bin/playwright/accessibility-helper','enabled','chdir','event','run','CODECEPT','findIndex','995qPernc','log','start','path','load','null','SDK_SETUP','process','isTestObservabilitySession','test','Passed\x20:\x20','Workers','map','7794668fseJzO','Started\x20:\x20','oYSxa','skipSessionName','failed','BROWSERSTACK_RERUN','twCUK','split','title','81hSzuhC','env','OkZdE','DwHQX','AoSJi','browserStackCwd','config','../../helpers/testhub/testhubHandler','browserWSEndpoint','lRoum','info','profile','sPEtq','2qDxusX','7148800EBvYfw','helpers','BrowserStackPlugin','JySxT','existsSync','setAdditionalCapabilities','join','Failed\x20:\x20','okwch','hJUCV','browser','TUxxE','ocbFu','BrowserStackPlugin.js','SDK_CLEANUP','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','launchBuild','format','../../helpers/BrowserStackSetup','../utils/constants','testConfig','initialize','all','webkit','createGroupsOfSuites','playwright-chromium','exports','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','before','BROWSERSTACK_TEST_ACCESSIBILITY_YML','bootstrapAll'];a2_0x26c0=function(){return _0x377ec0;};return a2_0x26c0();}
|
|
2
|
+
'use strict';const a2_0x2f3288=a2_0x5c49;(function(_0x3c4356,_0x5deb47){const _0x59c681=a2_0x5c49,_0x465d8a=_0x3c4356();while(!![]){try{const _0x4516f4=-parseInt(_0x59c681(0x1a4))/0x1*(-parseInt(_0x59c681(0x1b9))/0x2)+parseInt(_0x59c681(0x21c))/0x3+-parseInt(_0x59c681(0x1fd))/0x4+parseInt(_0x59c681(0x1a0))/0x5*(-parseInt(_0x59c681(0x1a3))/0x6)+parseInt(_0x59c681(0x235))/0x7*(parseInt(_0x59c681(0x223))/0x8)+-parseInt(_0x59c681(0x1ec))/0x9+-parseInt(_0x59c681(0x1fc))/0xa*(parseInt(_0x59c681(0x20d))/0xb);if(_0x4516f4===_0x5deb47)break;else _0x465d8a['push'](_0x465d8a['shift']());}catch(_0x2cb32a){_0x465d8a['push'](_0x465d8a['shift']());}}}(a2_0x51b1,0xbac7d));function a2_0x5c49(_0x439a80,_0x9738e9){const _0x51b11a=a2_0x51b1();return a2_0x5c49=function(_0x5c49aa,_0x335c4b){_0x5c49aa=_0x5c49aa-0x19f;let _0x24f661=_0x51b11a[_0x5c49aa];return _0x24f661;},a2_0x5c49(_0x439a80,_0x9738e9);}function a2_0x51b1(){const _0x3d96f=['config','slice','path','NkiwS','dZONX','testContextOptions','Failed\x20:\x20','existsSync','EVENTS','result','1470678YvpLcw','run','BzMKx','ZJTer','browserWSEndpoint','codeceptjs/lib/index.js','BROWSERSTACK_TEST_OBSERVABILITY_YML','11360648WEdbNh','WebDriver','event','isUndefined','chdir','UzJKz','CSvTk','../utils/constants','winstonLogger','load','title','skipSessionName','playwright-chromium','../../helpers/testhub/testhubHandler','oPPKA','root','start','err','7caVrCZ','Started\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','5PxSySc','PoPqv','firefox','1327584nRrhOW','20382WmThCm','browser','parallelsPerPlatform','snHKe','CocAm','stringify','enabled','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','browserName','stack','teardownAll','mergeDeep','bootstrapAll','testConfig','XAFaR','frameworkName','printBuildLink','now','NclEn','playwright-firefox','push','126JaaYBc','../../helpers/performance/constants','findIndex','playwright-webkit','helpers','trim','uOIqQ','util','Workers','exports','printResults','isTrue','jFdvl','finalExecution','validPlatformsPresent','umQWV','SDK_CLEANUP','lSdGk','initialize','prepareCapabilities','gherkin','../../helpers/BrowserStackSetup','YRrOR','BrowserStackPlugin','DPfYG','spawn','test','RyclW','SDK_SETUP','Playwright','SPhRU','platforms','RTHZq','errorMessage','-cucumber','join','info','../../helpers/test-observability/utils','accessibility','browserStackCwd','toLowerCase','CODECEPT','kNZtV','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dirname','format','forEach','chrome','length','chromium','launchBuild','6889716BkmYaY','CbCzF','getPlatformName','Passed\x20:\x20','MCDSc','codecept.json','map','DRyxI','../../bin/playwright/accessibility-helper','niSIV','zKBGn','isTestObservabilitySession','passed','--config','stop','FRAMEWORKS','594070ZRurwi','2443336dhGDxC','null','useW3C','log','testObservability','KgZbd','createGroupsOfSuites','getUserWorkerCount','desiredCapabilities','gVczY','plugins','CVScy','handleApp','env','require','jnwIn','154GYvZgf','../../helpers/accessibility-automation/helper','codeceptjs','cwd','profile'];a2_0x51b1=function(){return _0x3d96f;};return a2_0x51b1();}const fs=require('fs'),path=require(a2_0x2f3288(0x214)),util=require(a2_0x2f3288(0x1c0)),process=require('process'),logger=require('../../helpers/logger')[a2_0x2f3288(0x22b)],{default:BrowserStackSetup}=require(a2_0x2f3288(0x1ce)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x2f3288(0x20e)),{setAccessibilityCapabilities}=require(a2_0x2f3288(0x1f4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x2f3288(0x221),a2_0x2f3288(0x20f)),testOpsHelper=require(a2_0x2f3288(0x1de)),TestHubHandler=require(a2_0x2f3288(0x230)),constants=require(a2_0x2f3288(0x22a)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a2_0x2f3288(0x1ba))[a2_0x2f3288(0x21a)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2efefb,_0xa32cd5)=>{const _0x45b7b0=a2_0x2f3288,_0x2a7b47={};_0x2a7b47[_0x45b7b0(0x1d9)]=function(_0xf77228,_0x5bb1b5){return _0xf77228===_0x5bb1b5;},_0x2a7b47[_0x45b7b0(0x1f5)]='codecept.conf.js',_0x2a7b47[_0x45b7b0(0x21e)]=_0x45b7b0(0x1f1);const _0x5efbae=_0x2a7b47;let _0x5501a1=null;const _0x321260={};let _0xd9e519=_0xa32cd5[_0x45b7b0(0x1bb)](_0x8f96be=>_0x8f96be===_0x45b7b0(0x1f9));_0x5efbae[_0x45b7b0(0x1d9)](_0xd9e519,-0x1)&&(_0xd9e519=_0xa32cd5[_0x45b7b0(0x1bb)](_0xddf0ac=>_0xddf0ac==='-c'));if(!helper['isUndefined'](_0x2efefb[_0x45b7b0(0x212)])&&fs['existsSync'](path['join'](process['cwd'](),_0x2efefb[_0x45b7b0(0x212)])))_0x5501a1=path[_0x45b7b0(0x1dc)](process['cwd'](),_0x2efefb[_0x45b7b0(0x212)]),_0xa32cd5[_0x45b7b0(0x213)](_0xd9e519,0x2);else{if(!helper[_0x45b7b0(0x226)](_0x2efefb['c'])&&fs[_0x45b7b0(0x219)](path[_0x45b7b0(0x1dc)](process[_0x45b7b0(0x210)](),_0x2efefb['c'])))_0x5501a1=path[_0x45b7b0(0x1dc)](process[_0x45b7b0(0x210)](),_0x2efefb['c']),_0xa32cd5[_0x45b7b0(0x213)](_0xd9e519,0x2);else{if(fs[_0x45b7b0(0x219)](path[_0x45b7b0(0x1dc)](process[_0x45b7b0(0x210)](),_0x5efbae[_0x45b7b0(0x1f5)])))_0x5501a1=path['join'](process['cwd'](),_0x5efbae[_0x45b7b0(0x1f5)]);else fs[_0x45b7b0(0x219)](path[_0x45b7b0(0x1dc)](process['cwd'](),_0x5efbae[_0x45b7b0(0x21e)]))&&(_0x5501a1=path[_0x45b7b0(0x1dc)](process[_0x45b7b0(0x210)](),_0x5efbae[_0x45b7b0(0x21e)]));}}return _0x5501a1;},getO11yRerunPattern=()=>{const _0x5e91fe=a2_0x2f3288,_0x188c04={};_0x188c04[_0x5e91fe(0x20c)]=function(_0x501b16,_0x35c7ff){return _0x501b16!==_0x35c7ff;},_0x188c04['umQWV']=_0x5e91fe(0x1fe);const _0x418b74=_0x188c04,_0x504e2a=helper[_0x5e91fe(0x1c4)](process[_0x5e91fe(0x20a)]['BROWSERSTACK_RERUN']);if(_0x504e2a){const _0xf9d94f=process[_0x5e91fe(0x20a)]['BROWSERSTACK_RERUN_TESTS'],_0x3bf7d7=[];if(_0x418b74[_0x5e91fe(0x20c)](_0xf9d94f,_0x418b74[_0x5e91fe(0x1c8)])&&!helper[_0x5e91fe(0x226)](_0xf9d94f)){_0xf9d94f['split'](',')[_0x5e91fe(0x1f2)](_0x3dac3c=>{const _0x342a56=_0x5e91fe;_0x3bf7d7[_0x342a56(0x1b8)]('('+_0x3dac3c[_0x342a56(0x1be)]()+')');});const _0x5b9158='^'+_0x3bf7d7[_0x5e91fe(0x1dc)]('|')+'$';return _0x5b9158;}}return null;},a2_0x191dd6={};a2_0x191dd6[a2_0x2f3288(0x1e8)]=a2_0x2f3288(0x1ea),a2_0x191dd6[a2_0x2f3288(0x22f)]=a2_0x2f3288(0x1ea),a2_0x191dd6[a2_0x2f3288(0x1b7)]=a2_0x2f3288(0x1a2),a2_0x191dd6[a2_0x2f3288(0x1bc)]='webkit';const pwToCodeceptBrowser=a2_0x191dd6;async function run(_0x5d3807,_0xa70d4c){const _0xad37da=a2_0x2f3288,_0x55f318={'WVadf':function(_0x66efc8,_0x1f9296){return _0x66efc8+_0x1f9296;},'BWXeR':function(_0x4c6063,_0x2a4ce0){return _0x4c6063(_0x2a4ce0);},'DRyxI':function(_0x35eac0,_0x13da07){return _0x35eac0+_0x13da07;},'UzJKz':function(_0x5d3659,_0x435b59,_0x3d4497){return _0x5d3659(_0x435b59,_0x3d4497);},'gVczY':_0xad37da(0x1bd),'jFdvl':function(_0x2fbb30){return _0x2fbb30();},'CbCzF':_0xad37da(0x218),'YRrOR':_0xad37da(0x1ef),'NJMDF':_0xad37da(0x236),'ZBSBR':'4|3|0|5|2|1','RyclW':_0xad37da(0x20f),'PoPqv':_0xad37da(0x1ab),'KgZbd':_0xad37da(0x1d6),'ZJTer':'WebDriver','CSvTk':function(_0x18a1cf,_0x569ba7){return _0x18a1cf(_0x569ba7);},'DPfYG':function(_0x490fee,_0x531067){return _0x490fee!=_0x531067;},'SPhRU':function(_0x164889,_0x38b9d4){return _0x164889===_0x38b9d4;},'XAFaR':function(_0x47fd6c,_0x4b15c4){return _0x47fd6c+_0x4b15c4;},'snHKe':function(_0x31929e,_0x3e7ca0,_0x4a3f14){return _0x31929e(_0x3e7ca0,_0x4a3f14);},'lSdGk':_0xad37da(0x1cd),'zQnqr':_0xad37da(0x1db),'oPPKA':function(_0x5751b8,_0x56b077){return _0x5751b8(_0x56b077);},'NkiwS':function(_0x4d9dbe){return _0x4d9dbe();},'dZONX':function(_0x18e6d0,_0x80787d){return _0x18e6d0*_0x80787d;},'CVScy':function(_0x5cae29,_0x5b4560,_0xf267a9){return _0x5cae29(_0x5b4560,_0xf267a9);},'upmwQ':'browser','uOIqQ':_0xad37da(0x205),'qjGaA':function(_0x430b5e,_0x2a74b5,_0x2106b1){return _0x430b5e(_0x2a74b5,_0x2106b1);},'kNZtV':_0xad37da(0x232),'CocAm':'BrowserStackPlugin.js','NclEn':_0xad37da(0x1e0)},_0x228a46=new BrowserStackSetup(_0x5d3807,_0x55f318[_0xad37da(0x1d4)]);await _0x228a46[_0xad37da(0x1cb)](),await helper[_0xad37da(0x209)](_0x228a46[_0xad37da(0x212)]);if(!_0x228a46['config'])return;process[_0xad37da(0x211)]=_0x5d3807[_0xad37da(0x211)];_0x5d3807['profile']&&(process[_0xad37da(0x20a)][_0xad37da(0x211)]=_0x5d3807[_0xad37da(0x211)]);const _0x4fe2d8=_0x55f318[_0xad37da(0x228)](getUserCodeceptJSConfigs,_0x5d3807,_0xa70d4c);let _0xdfbce6={};_0x4fe2d8?(logger[_0xad37da(0x1dd)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4fe2d8),_0xdfbce6=CodeceptJS[_0xad37da(0x212)][_0xad37da(0x22c)](_0x4fe2d8)):logger[_0xad37da(0x1dd)](_0x55f318[_0xad37da(0x1a1)]);let _0x1d273a=![];_0x55f318[_0xad37da(0x228)](nestedKeyValue,_0xdfbce6,[_0x55f318['gVczY'],_0x55f318[_0xad37da(0x202)]])&&(_0x1d273a=!![]);const _0x613764=_0x1d273a?_0x55f318[_0xad37da(0x202)]:_0x55f318[_0xad37da(0x21f)];let _0x35ec04=!_0x1d273a?helper[_0xad37da(0x1ff)](_0x228a46[_0xad37da(0x212)]):![];!helper['isUndefined'](_0x228a46['config']['accessibilityOptions'])&&(process[_0xad37da(0x20a)][_0xad37da(0x1e4)]=JSON[_0xad37da(0x1a9)](_0x228a46[_0xad37da(0x212)]['accessibilityOptions']));let _0x29dbca=_0x228a46[_0xad37da(0x212)][_0xad37da(0x1df)];_0x29dbca=_0x29dbca||_0x55f318[_0xad37da(0x229)](checkAccessibilityPlatformConfig,_0x228a46[_0xad37da(0x212)]),process[_0xad37da(0x20a)][_0xad37da(0x19f)]=_0x29dbca;_0x29dbca&&(_0x35ec04=!_0x29dbca);_0x55f318[_0xad37da(0x1d1)](_0x228a46[_0xad37da(0x212)][_0xad37da(0x201)],null)?process[_0xad37da(0x20a)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x228a46[_0xad37da(0x212)][_0xad37da(0x201)]:process[_0xad37da(0x20a)][_0xad37da(0x222)]=_0x55f318[_0xad37da(0x1d7)](_0x613764,_0x55f318['KgZbd']);const _0x141483=_0x55f318[_0xad37da(0x1b2)](_0x55f318[_0xad37da(0x1d4)],_0x55f318[_0xad37da(0x1a7)](nestedKeyValue,_0xdfbce6,[_0x55f318[_0xad37da(0x1ca)]])?_0x55f318['zQnqr']:''),_0x2d9db7=await TestHubHandler[_0xad37da(0x1eb)](_0x141483,_0x228a46);_0x29dbca&&_0x55f318[_0xad37da(0x231)](setAccessibilityCapabilities,_0x228a46[_0xad37da(0x212)]);const _0x144e3e={},_0x324f1f=[],_0x2784a3=_0x228a46[_0xad37da(0x212)][_0xad37da(0x1a6)]||helper[_0xad37da(0x204)](_0x5d3807,_0xa70d4c,_0x228a46[_0xad37da(0x212)],constants[_0xad37da(0x1fb)][_0xad37da(0x1e2)])||0x1;let _0x2e6caa=0x1;if(_0x55f318[_0xad37da(0x215)](isBrowserstackInfra)){const _0x4cf222=helper[_0xad37da(0x1cc)](_0x228a46[_0xad37da(0x212)],_0x35ec04,constants[_0xad37da(0x1fb)][_0xad37da(0x1e2)]);_0x4cf222[_0xad37da(0x1e7)](_0x453c6a=>{helper['setAdditionalCapabilities'](_0x453c6a);}),helper[_0xad37da(0x1c7)](_0x228a46[_0xad37da(0x212)])?_0x2e6caa=_0x55f318[_0xad37da(0x216)](_0x2784a3,_0x228a46[_0xad37da(0x212)][_0xad37da(0x1d8)][_0xad37da(0x1e9)]):_0x2e6caa=_0x2784a3,_0x4cf222[_0xad37da(0x1e7)](_0x30507f=>{const _0x33c3ad=_0xad37da,_0x4a1417={'zKBGn':function(_0x488eb6,_0x407841){return _0x55f318['WVadf'](_0x488eb6,_0x407841);},'MCDSc':function(_0x46c90a,_0x1d1dcb){return _0x55f318['BWXeR'](_0x46c90a,_0x1d1dcb);}},_0x554c30=_0x55f318[_0x33c3ad(0x1f3)](helper[_0x33c3ad(0x1ee)](_0x30507f,'_'),'_'+Date[_0x33c3ad(0x1b5)]()),_0x3db56d=((()=>{const _0x380b50=_0x33c3ad;if(_0x1d273a){const _0x2b3c78=pwToCodeceptBrowser[_0x30507f[_0x380b50(0x1ac)]]||_0x30507f[_0x380b50(0x1ac)];return{'browser':_0x2b3c78,[_0x2b3c78]:{'browserWSEndpoint':_0x4a1417[_0x380b50(0x1f6)](helper['getPlaywrightUrl'](_0x228a46[_0x380b50(0x212)]),_0x4a1417[_0x380b50(0x1f0)](encodeURIComponent,JSON[_0x380b50(0x1a9)](_0x30507f)))}};}const _0x2b321f={};return _0x2b321f[_0x380b50(0x205)]=_0x30507f,_0x2b321f;})()),_0x42e778=_0x55f318[_0x33c3ad(0x228)](nestedKeyValue,_0xdfbce6,[_0x55f318[_0x33c3ad(0x206)],_0x613764]);_0x144e3e[_0x554c30]=_0x42e778?helper[_0x33c3ad(0x1af)](_0x3db56d,_0x42e778):_0x3db56d,!_0x1d273a&&(_0x144e3e[_0x554c30][_0x33c3ad(0x1a5)]=_0x30507f['browserName']||_0x3db56d[_0x33c3ad(0x1a5)]),_0x324f1f[_0x33c3ad(0x1b8)](_0x554c30);});}else{_0x2e6caa=0x1;if(_0x1d273a){const _0x50d985=_0x55f318[_0xad37da(0x208)](nestedKeyValue,_0xdfbce6,[_0x55f318[_0xad37da(0x206)],_0x613764,_0x55f318['upmwQ']]),_0x527477=_0x55f318[_0xad37da(0x1a7)](nestedKeyValue,_0xdfbce6,[_0x55f318['gVczY'],_0x613764,_0x50d985]);_0x527477&&_0x527477['browserWSEndpoint']&&(_0x527477['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x141483[_0xad37da(0x1e1)](),null,null,_0x527477[_0xad37da(0x220)]));}else _0xdfbce6[_0x55f318['gVczY']][_0x613764][_0x55f318[_0xad37da(0x1bf)]]=helper[_0xad37da(0x1cc)](null,null,_0x141483[_0xad37da(0x1e1)](),_0x55f318['qjGaA'](nestedKeyValue,_0xdfbce6,[_0x55f318[_0xad37da(0x206)],_0x613764,_0x55f318[_0xad37da(0x1bf)]]),null,null);_0x144e3e[_0x55f318[_0xad37da(0x1e3)]]=_0xdfbce6,_0x324f1f['push'](_0x55f318[_0xad37da(0x1e3)]);}const _0x1df4af={};_0x1df4af[_0xad37da(0x1b1)]=_0x4fe2d8;const _0x37a273=_0x1df4af,_0x1ed262=path[_0xad37da(0x1dc)](__dirname,_0x55f318[_0xad37da(0x1a8)]),_0x33f4cc=process['cwd']();process[_0xad37da(0x20a)][_0x55f318[_0xad37da(0x1b6)]]=_0x33f4cc,process[_0xad37da(0x227)](path[_0xad37da(0x1e5)](_0x4fe2d8));const _0x137e0b=new CodeceptJS[(_0xad37da(0x1c1))](null,_0x37a273),_0x4445bc=_0x137e0b[_0xad37da(0x203)](_0x2e6caa),_0x44c3e0=testOpsHelper[_0xad37da(0x1f7)](),_0xd356d4=_0x324f1f[_0xad37da(0x1f2)](_0x4b501a=>{const _0x23756b=_0xad37da,_0x3ec281={};_0x3ec281[_0x23756b(0x1d6)]=_0x144e3e[_0x4b501a];const _0x1b8c42={};_0x1b8c42[_0x23756b(0x224)]=_0x144e3e[_0x4b501a];const _0x318f05=_0x1d273a?_0x3ec281:_0x1b8c42,_0x52eb9c=_0x55f318[_0x23756b(0x1c5)](getO11yRerunPattern),_0x3b6ff9={};_0x3b6ff9[_0x23756b(0x1bd)]=_0x318f05;const _0x4ec513={};_0x4ec513[_0x23756b(0x20b)]=_0x1ed262,_0x4ec513[_0x23756b(0x1aa)]=!![],_0x4ec513[_0x23756b(0x22e)]=_0x228a46[_0x23756b(0x212)][_0x23756b(0x217)][_0x23756b(0x22e)],_0x4ec513['skipSessionStatus']=_0x228a46[_0x23756b(0x212)]['testContextOptions']['skipSessionStatus'],_0x4ec513[_0x23756b(0x201)]=_0x44c3e0,_0x4ec513[_0x23756b(0x1b3)]=_0x141483;const _0x2a1b95={};_0x2a1b95[_0x23756b(0x1d0)]=_0x4ec513;const _0x14d02e={};return _0x14d02e[_0x23756b(0x207)]=_0x2a1b95,helper[_0x23756b(0x1af)]({},_0xdfbce6,_0x55f318[_0x23756b(0x1c5)](isBrowserstackInfra)?_0x3b6ff9:{},_0x52eb9c?{'grep':_0x52eb9c}:{},_0x14d02e);});for(const _0x3309b1 of _0xd356d4){for(const _0x4f4244 of _0x4445bc){const _0x21d5c7=_0x137e0b[_0xad37da(0x1d2)]();_0x21d5c7['addTests'](_0x4f4244),_0x21d5c7['addConfig'](_0x3309b1);}}_0x137e0b['on'](CodeceptJS['event'][_0xad37da(0x1d3)]['failed'],(_0x3408e7,_0x44ab23)=>{const _0x2f2923=_0xad37da;console[_0x2f2923(0x200)](_0x55f318[_0x2f2923(0x1ed)],_0x3408e7[_0x2f2923(0x22d)]);const _0xeff82e={[_0x3408e7[_0x2f2923(0x22d)]]:_0x3408e7[_0x2f2923(0x234)][_0x2f2923(0x1ad)]};_testErrorData[_0x2f2923(0x1b8)](_0xeff82e);}),_0x137e0b['on'](CodeceptJS[_0xad37da(0x225)]['test'][_0xad37da(0x1f8)],async _0xa1a2f7=>{const _0x5a772b=_0xad37da;console['log'](_0x55f318[_0x5a772b(0x1cf)],_0xa1a2f7[_0x5a772b(0x22d)]);}),_0x137e0b['on'](CodeceptJS[_0xad37da(0x225)][_0xad37da(0x1d3)]['before'],async _0x16e689=>{const _0x4a8efd=_0xad37da;console[_0x4a8efd(0x200)](_0x55f318['NJMDF'],_0x16e689[_0x4a8efd(0x22d)]);}),_0x137e0b['on'](CodeceptJS[_0xad37da(0x225)]['all'][_0xad37da(0x21b)],async()=>{const _0x2d335d=_0xad37da,_0x25f42c=_0x55f318['ZBSBR']['split']('|');let _0x4a27fe=0x0;while(!![]){switch(_0x25f42c[_0x4a27fe++]){case'0':testOpsHelper[_0x2d335d(0x1b4)]();continue;case'1':_0x137e0b[_0x2d335d(0x1c3)]();continue;case'2':try{await TestHubHandler[_0x2d335d(0x1fa)]();}catch(_0x25a995){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x2d335d(0x1e6)](_0x25a995));}continue;case'3':_0x228a46[_0x2d335d(0x1da)]=_testErrorData;continue;case'4':PerformanceTester[_0x2d335d(0x233)](PerformanceEvents[_0x2d335d(0x1c9)]);continue;case'5':utilities[_0x2d335d(0x1c6)](_0x228a46);continue;}break;}});async function _0xc987e6(){const _0x1e3154=_0xad37da;try{await _0x137e0b[_0x1e3154(0x1b0)](),await _0x137e0b[_0x1e3154(0x21d)]();}finally{process['chdir'](_0x33f4cc),await _0x137e0b[_0x1e3154(0x1ae)]();}}PerformanceTester['end'](PerformanceEvents[_0xad37da(0x1d5)]),_0x55f318[_0xad37da(0x1c5)](_0xc987e6);}module[a2_0x2f3288(0x1c2)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x2ff0ca=a3_0x2444;function a3_0x2444(_0x71bf22,_0x4ebd1e){const _0x391dce=a3_0x391d();return a3_0x2444=function(_0x24443e,_0x20b75d){_0x24443e=_0x24443e-0x87;let _0x23a92e=_0x391dce[_0x24443e];return _0x23a92e;},a3_0x2444(_0x71bf22,_0x4ebd1e);}(function(_0x395bc7,_0x1bf404){const _0x642be1=a3_0x2444,_0x4c94ff=_0x395bc7();while(!![]){try{const _0x5217ff=parseInt(_0x642be1(0xc8))/0x1*(-parseInt(_0x642be1(0x94))/0x2)+parseInt(_0x642be1(0x89))/0x3+-parseInt(_0x642be1(0xc7))/0x4*(parseInt(_0x642be1(0xd2))/0x5)+-parseInt(_0x642be1(0xc0))/0x6+parseInt(_0x642be1(0xc3))/0x7+-parseInt(_0x642be1(0xa9))/0x8+-parseInt(_0x642be1(0xb2))/0x9*(-parseInt(_0x642be1(0xc4))/0xa);if(_0x5217ff===_0x1bf404)break;else _0x4c94ff['push'](_0x4c94ff['shift']());}catch(_0x49c922){_0x4c94ff['push'](_0x4c94ff['shift']());}}}(a3_0x391d,0xe3820));function a3_0x391d(){const _0x3550fd=['ZLyjI','playwright-chromium','constructor','platformVersion','browserWSEndpoint','aRzHB','browserstack_executor','capabilities','Playwright','iqUex','getDetails','11137760QTpNbH','bsSessionId','../../helpers/accessibility-automation/helper','latest','QRYcn','browserVersion','browserstack_accessibility_automation_script','caps','bxSNI','27qWwmec','chrome','ZeUiJ','SrDrH','gcZYw','get','fetchPlatformDetails','cloudProvider','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','osVersion','vGBGQ','warn','tNllL','6056160ZOKOnr','kTSxv','browserName','8009778YYhXeo','7902430oxUgmK','ryveT','ktwkY','4154956jQrlMW','23936yNAztA','browser_version','PIDkX','accessibilityPlatform','includes','platformName','UFYCn','../../helpers/test-observability/utils','SuAGc','pWppI','5CqQoxJ','sessionId','browser','zUoaW','bstack:options','3361512SwClBu','winstonLogger','iqZSD','TPmTx','NRINz','PHBSe','../../helpers/helper','WebDriver','../../bin/playwright/sessionDetails','config','EaeCV','22mOIJLJ','VfQZu','TYnAO','name','NIHIL','processWebDriverConfig','gIivA','ZWchc','kbBmF','__cloud_provider___'];a3_0x391d=function(){return _0x3550fd;};return a3_0x391d();}const {isUndefined,nestedKeyValue}=require(a3_0x2ff0ca(0x8f)),logger=require(a3_0x2ff0ca(0xba))[a3_0x2ff0ca(0x8a)],PlaywrightSessionDetails=require(a3_0x2ff0ca(0x91)),{isAccessibilityAutomationSession}=require(a3_0x2ff0ca(0xab)),{getObservabilityLinkedProductName}=require(a3_0x2ff0ca(0xcf)),getOSVersionFromCaps=_0x4b6e94=>{const _0x452718=a3_0x2ff0ca,_0x3ada90={};_0x3ada90['ZeUiJ']=_0x452718(0x88),_0x3ada90[_0x452718(0xb6)]=_0x452718(0xa1),_0x3ada90[_0x452718(0xa7)]='platform_version',_0x3ada90['PHBSe']=_0x452718(0xbc),_0x3ada90[_0x452718(0x87)]='os_version';const _0x2d624a=_0x3ada90;if(!_0x4b6e94)return null;const _0x38f341=_0x4b6e94[_0x2d624a[_0x452718(0xb4)]],_0x13d8a7=[_0x2d624a[_0x452718(0xb6)],_0x2d624a['iqUex'],_0x2d624a[_0x452718(0x8e)],_0x2d624a[_0x452718(0x87)]];for(const _0x5c6f34 of _0x13d8a7){if(_0x38f341&&_0x38f341[_0x5c6f34])return _0x38f341[_0x5c6f34];else{if(_0x4b6e94[_0x5c6f34])return _0x4b6e94[_0x5c6f34];}}return null;};exports[a3_0x2ff0ca(0xb8)]=_0x7a78fe=>{const _0x51dc4f=a3_0x2ff0ca,_0xd98cf6={'SrDrH':'unknown_grid','NIHIL':function(_0x3e9475,_0x472e42){return _0x3e9475===_0x472e42;},'tNllL':_0x51dc4f(0x90),'vGBGQ':function(_0x524505,_0x4ccfd5){return _0x524505(_0x4ccfd5);},'NRINz':function(_0xc6f791,_0x44ca0e,_0x577eab){return _0xc6f791(_0x44ca0e,_0x577eab);},'kbBmF':_0x51dc4f(0x92),'pWppI':'desiredCapabilities','aRzHB':function(_0xbf13db,_0x37c713){return _0xbf13db(_0x37c713);},'rtEkp':function(_0x348173,_0x577ef9){return _0x348173===_0x577ef9;},'ZWchc':_0x51dc4f(0xa6),'bxSNI':'browser','VfQZu':_0x51dc4f(0xa2),'ZLyjI':_0x51dc4f(0xb0)};if(!_0x7a78fe)return null;let _0x13cb4c=global[_0x51dc4f(0x9d)]||_0xd98cf6[_0x51dc4f(0xb5)];if(_0xd98cf6[_0x51dc4f(0x98)](_0x7a78fe[_0x51dc4f(0xa0)]['name'],_0xd98cf6[_0x51dc4f(0xbf)])){const _0x5ea1c8=_0x7a78fe[_0x51dc4f(0xd4)];if(!_0x5ea1c8)return null;const _0x4fa616=_0x5ea1c8[_0x51dc4f(0xa5)],_0x17b482=_0xd98cf6[_0x51dc4f(0xbd)](getOSVersionFromCaps,_0xd98cf6[_0x51dc4f(0x8d)](nestedKeyValue,_0x7a78fe,[_0xd98cf6[_0x51dc4f(0x9c)],_0xd98cf6[_0x51dc4f(0xd1)]]));return{[_0x13cb4c]:{'browser':_0x4fa616[_0x51dc4f(0xc2)],'browser_version':_0x4fa616['browserVersion'],'capabilities':_0x4fa616,'platform':_0x4fa616[_0x51dc4f(0xcd)],'platform_version':_0x4fa616[_0x51dc4f(0xa1)]||_0x17b482,'product':_0xd98cf6[_0x51dc4f(0xa3)](getObservabilityLinkedProductName,_0x4fa616),'session_id':_0x5ea1c8[_0x51dc4f(0xd3)]}};}else{if(_0xd98cf6['rtEkp'](_0x7a78fe['constructor'][_0x51dc4f(0x97)],_0xd98cf6[_0x51dc4f(0x9b)])){const _0x59a545=PlaywrightSessionDetails[_0x51dc4f(0xa8)]();_0x13cb4c=_0x59a545[_0x51dc4f(0xb9)]||_0x13cb4c;const _0xe6732c=_0xd98cf6['NRINz'](nestedKeyValue,_0x7a78fe,[_0xd98cf6[_0x51dc4f(0x9c)],_0xd98cf6[_0x51dc4f(0xb1)],_0xd98cf6[_0x51dc4f(0x95)]]),_0x47761c=_0xe6732c?JSON['parse'](new URL(_0xe6732c)['searchParams'][_0x51dc4f(0xb7)](_0xd98cf6[_0x51dc4f(0x9e)])):{};return{[_0x13cb4c]:{'browser':_0x59a545[_0x51dc4f(0xd4)]||_0x47761c['browserName'],'browser_version':_0x59a545[_0x51dc4f(0xc9)]||_0x47761c[_0x51dc4f(0xc9)],'capabilities':_0x47761c,'platform':_0x59a545['platform'],'platform_version':_0x59a545['platform_version'],'product':_0xd98cf6[_0x51dc4f(0xa3)](getObservabilityLinkedProductName,_0x47761c),'session_id':_0x59a545[_0x51dc4f(0xaa)]}};}}},exports[a3_0x2ff0ca(0x99)]=_0x37ab16=>{const _0x2aa606=a3_0x2ff0ca,_0x3aeed5={'CPSyO':function(_0x5d200){return _0x5d200();},'TPmTx':function(_0x5d0325,_0x1f7497){return _0x5d0325===_0x1f7497;},'QRYcn':_0x2aa606(0xac),'EaeCV':function(_0x1a87e2,_0xd1feb4){return _0x1a87e2>_0xd1feb4;},'UFYCn':function(_0x48afa4,_0x4154bd){return _0x48afa4(_0x4154bd);},'YlIyE':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ryveT':function(_0x34c4e4,_0x394282){return _0x34c4e4===_0x394282;},'SuAGc':_0x2aa606(0xb3),'PIDkX':function(_0xbf13b2,_0x445cdd){return _0xbf13b2===_0x445cdd;},'TYnAO':_0x2aa606(0x9f),'ZflIM':_0x2aa606(0xbb),'kTSxv':function(_0x20e68d,_0x316279){return _0x20e68d(_0x316279);},'gIivA':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x3aeed5['CPSyO'](isAccessibilityAutomationSession)){const _0x513112=_0x37ab16['browser'],_0x191cb2=_0x513112[_0x2aa606(0xa5)];global[_0x2aa606(0xcb)]=!![],!(_0x3aeed5[_0x2aa606(0x8c)](_0x191cb2[_0x2aa606(0xae)],_0x3aeed5[_0x2aa606(0xad)])||_0x3aeed5[_0x2aa606(0x93)](_0x3aeed5[_0x2aa606(0xce)](parseInt,_0x191cb2[_0x2aa606(0xae)]),0x5e))&&(logger[_0x2aa606(0xbe)](_0x3aeed5['YlIyE']),global[_0x2aa606(0xcb)]=![]),!(_0x3aeed5[_0x2aa606(0xc5)](_0x191cb2['browserName'],_0x3aeed5[_0x2aa606(0xd0)])||_0x3aeed5[_0x2aa606(0xca)](_0x191cb2[_0x2aa606(0xc2)],_0x3aeed5[_0x2aa606(0x96)]))&&(logger[_0x2aa606(0xbe)](_0x3aeed5['ZflIM']),global[_0x2aa606(0xcb)]=![]),!_0x3aeed5[_0x2aa606(0xc1)](isUndefined,_0x191cb2['deviceName'])&&(logger['warn'](_0x3aeed5[_0x2aa606(0x9a)]),global[_0x2aa606(0xcb)]=![]);}},exports['shouldPatchExecuteScript']=_0x250665=>{const _0x2dd8fb=a3_0x2ff0ca,_0x337d8b={};_0x337d8b[_0x2dd8fb(0x8b)]=_0x2dd8fb(0xa4),_0x337d8b[_0x2dd8fb(0xc6)]=_0x2dd8fb(0xaf);const _0x1e12ac=_0x337d8b;if(!_0x250665)return![];return!_0x250665['includes'](_0x1e12ac[_0x2dd8fb(0x8b)])&&!_0x250665[_0x2dd8fb(0xcc)](_0x1e12ac['ktwkY']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x51bc21=a4_0x4443;(function(_0x15d29d,_0x2e4f81){const _0x4e5f8e=a4_0x4443,_0x5222b8=_0x15d29d();while(!![]){try{const _0x2e6d20=-parseInt(_0x4e5f8e(0xf9))/0x1+-parseInt(_0x4e5f8e(0xde))/0x2*(-parseInt(_0x4e5f8e(0x17b))/0x3)+parseInt(_0x4e5f8e(0x11e))/0x4+parseInt(_0x4e5f8e(0xeb))/0x5*(-parseInt(_0x4e5f8e(0xf6))/0x6)+parseInt(_0x4e5f8e(0x15e))/0x7*(parseInt(_0x4e5f8e(0xd3))/0x8)+parseInt(_0x4e5f8e(0x13d))/0x9*(parseInt(_0x4e5f8e(0x1b9))/0xa)+-parseInt(_0x4e5f8e(0x18c))/0xb;if(_0x2e6d20===_0x2e4f81)break;else _0x5222b8['push'](_0x5222b8['shift']());}catch(_0x54506a){_0x5222b8['push'](_0x5222b8['shift']());}}}(a4_0x1d8f,0x2aaa6));const path=require(a4_0x51bc21(0x148)),fs=require('fs'),{v4:uuidv4}=require(a4_0x51bc21(0x1ae)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x51bc21(0x13f)),testOpsHelper=require(a4_0x51bc21(0x1a5)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x51bc21(0x164))[a4_0x51bc21(0x120)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x51bc21(0x19f)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x51bc21(0x114)),Constants=require(a4_0x51bc21(0xff)),{fetchPlatformDetails}=require(a4_0x51bc21(0x14d)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x51bc21(0x13e)),STATE_PASSED=a4_0x51bc21(0x1b3),STATE_FAILED='failed',a4_0x12bd85={};a4_0x12bd85[a4_0x51bc21(0x11d)]=a4_0x51bc21(0x1b5),a4_0x12bd85[a4_0x51bc21(0x11a)]=a4_0x51bc21(0x167),a4_0x12bd85['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x12bd85[a4_0x51bc21(0x1aa)]=a4_0x51bc21(0xee),a4_0x12bd85[a4_0x51bc21(0xcf)]=a4_0x51bc21(0x16d);const TEST_EVENTS=a4_0x12bd85,parseEvent=_0x503404=>{const _0x3d4820=a4_0x51bc21,_0x5ec4b0={};_0x5ec4b0[_0x3d4820(0x19b)]=function(_0x5b6489,_0x59cc74){return _0x5b6489<_0x59cc74;},_0x5ec4b0[_0x3d4820(0x173)]=function(_0x475a81,_0x117ef4){return _0x475a81===_0x117ef4;},_0x5ec4b0['GabbS']=_0x3d4820(0x1a0),_0x5ec4b0['hntnc']=function(_0x40fcc4,_0x3e001a){return _0x40fcc4===_0x3e001a;},_0x5ec4b0[_0x3d4820(0x142)]='hook',_0x5ec4b0['VbvPU']=function(_0x35f8b8,_0xed295){return _0x35f8b8===_0xed295;},_0x5ec4b0[_0x3d4820(0x15a)]=_0x3d4820(0xe3),_0x5ec4b0[_0x3d4820(0x147)]=_0x3d4820(0x186),_0x5ec4b0[_0x3d4820(0x111)]='finished';const _0x5d64af=_0x5ec4b0,_0x5ce50c=_0x503404['match'](/^(.*)Run(.*)$/);if(!_0x5ce50c)return null;if(_0x5d64af['uvJce'](_0x5ce50c['length'],0x3))return null;const _0xb4731e=_0x5ce50c[0x1][_0x3d4820(0x17e)](),_0x422ea9=_0x5ce50c[0x2]['toLowerCase']();return{'test':_0x5d64af[_0x3d4820(0x173)](_0xb4731e,_0x5d64af[_0x3d4820(0x183)]),'hook':_0x5d64af[_0x3d4820(0x10a)](_0xb4731e,_0x5d64af['ihyXO']),'skipped':_0x5d64af[_0x3d4820(0x17f)](_0x422ea9,_0x5d64af['kARTT']),'started':_0x5d64af['iBdJS'](_0x422ea9,_0x5d64af['mtiTH']),'finished':_0x5d64af['VbvPU'](_0x422ea9,_0x5d64af[_0x3d4820(0x111)])};},mockPWBrowserType=_0x40df79=>{const _0x4a9ae1=a4_0x51bc21,_0x71aeb9={'SsSXx':function(_0x3a2f99,_0xcca18d){return _0x3a2f99===_0xcca18d;},'QiOxh':_0x4a9ae1(0xe0),'dVfEj':function(_0x38a4dd,_0x5f7e10,_0x4b0255){return _0x38a4dd(_0x5f7e10,_0x4b0255);},'CNWIA':_0x4a9ae1(0xfc),'JuaXx':function(_0x552a4f,_0xf9ba5d){return _0x552a4f(_0xf9ba5d);},'FcrMM':_0x4a9ae1(0x12c),'HOjOk':_0x4a9ae1(0x158),'olmpI':_0x4a9ae1(0xc8),'vyAIC':_0x4a9ae1(0x1bb),'UosKw':function(_0x25cb1a,_0x407583){return _0x25cb1a(_0x407583);},'TADEH':function(_0x354a8d,_0x14d315){return _0x354a8d(_0x14d315);},'jCndF':_0x4a9ae1(0x196),'SvmOE':_0x4a9ae1(0x123),'qNIgv':'launch'},_0x1b0549=path[_0x4a9ae1(0x105)](_0x71aeb9['HOjOk'],_0x71aeb9[_0x4a9ae1(0x157)],_0x71aeb9[_0x4a9ae1(0xfa)]),_0x31f73b=_0x71aeb9['UosKw'](importFileFromPWCore,_0x1b0549);if(!_0x31f73b){_0x71aeb9['TADEH'](debug,_0x71aeb9[_0x4a9ae1(0x103)]);return;}const _0x18a4fc=_0x31f73b[_0x4a9ae1(0x153)],_0x1e7cfa=_0x18a4fc['prototype'];if(_0x1e7cfa[_0x4a9ae1(0x104)])return;const _0x5a0775=_0x1e7cfa[_0x4a9ae1(0x123)];Object[_0x4a9ae1(0x1b6)](_0x1e7cfa,_0x71aeb9[_0x4a9ae1(0x198)],{'get':function(){const _0x228d41=_0x4a9ae1,_0xda4dd2={'mZxmh':function(_0x42be0a,_0x361edb){const _0x6ceca2=a4_0x4443;return _0x71aeb9[_0x6ceca2(0x18a)](_0x42be0a,_0x361edb);},'VGqxh':_0x71aeb9[_0x228d41(0x110)],'TIUnR':function(_0x3c80ac,_0x4f1975,_0x25961e){return _0x71aeb9['dVfEj'](_0x3c80ac,_0x4f1975,_0x25961e);},'rmgsx':_0x71aeb9[_0x228d41(0x102)],'kbGQN':function(_0x3a7299,_0xdd957b){const _0x3ce94f=_0x228d41;return _0x71aeb9[_0x3ce94f(0xea)](_0x3a7299,_0xdd957b);},'cZjcD':_0x71aeb9[_0x228d41(0x119)],'NpKGc':function(_0x29a5de,_0x44d01f){return _0x71aeb9['JuaXx'](_0x29a5de,_0x44d01f);}};return async function _0x28f290(_0x331664,_0x4cdd51){const _0x14fd7c=_0x228d41,_0x40c2c=_0xda4dd2['TIUnR'](nestedKeyValue,_0x331664,[_0xda4dd2[_0x14fd7c(0x13a)]])||_0x331664;let _0x413803=null,_0x58807e=null;try{[_0x58807e,_0x413803]=_0x40c2c?_0xda4dd2[_0x14fd7c(0x150)](parseWSEndpoint,_0x40c2c):[null,null],global['__platformCaps']=_0x413803,_0x58807e[_0x14fd7c(0x12e)](_0xda4dd2['cZjcD'])&&(global[_0x14fd7c(0x12d)]=_0xda4dd2['cZjcD']);}catch(_0x10b6eb){logger['debug'](_0x14fd7c(0x117)+_0x40c2c+'\x20'+_0x10b6eb);}_0xda4dd2[_0x14fd7c(0xfe)](processAccessibilityCaps,_0x413803,_0x58807e);if(global[_0x14fd7c(0x166)]){const _0xee8e25=await _0x1e7cfa[_0x14fd7c(0x124)][_0x14fd7c(0xd4)](this,[''+Constants[_0x14fd7c(0x155)]+_0xda4dd2[_0x14fd7c(0x107)](encodeURIComponent,JSON[_0x14fd7c(0x184)](_0x413803))]);return PlaywrightSessionDetails[_0x14fd7c(0xf4)](_0xee8e25,_0x40df79,_0x40c2c),_0xee8e25;}return _0x5a0775[_0x14fd7c(0xd4)](this,arguments)[_0x14fd7c(0xe9)](_0x3763ab=>{const _0x45610a=_0x14fd7c;let _0x5dca0e=_0x331664[_0x45610a(0xfc)];return _0xda4dd2[_0x45610a(0x19d)](typeof _0x331664,_0xda4dd2[_0x45610a(0xf3)])&&(_0x5dca0e=_0x331664),PlaywrightSessionDetails[_0x45610a(0xf4)](_0x3763ab,_0x40df79,_0x5dca0e),_0x3763ab;});};}});const _0x47c172=_0x1e7cfa['launch'];Object[_0x4a9ae1(0x1b6)](_0x1e7cfa,_0x71aeb9[_0x4a9ae1(0xe7)],{'get':function(){return async function _0xd79c2f(){const _0x25d4d8=a4_0x4443;return _0x47c172['apply'](this,arguments)[_0x25d4d8(0xe9)](_0x16a93d=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x16a93d,null),_0x16a93d;});};}});};function a4_0x1d8f(){const _0x51ea39=['37460bZMyhU','vyAIC','LqtMO','wsEndpoint','lCMrO','TIUnR','../utils/constants','IHhmS','2|4|0|1|5|3','CNWIA','jCndF','obsBrowserTypeMockApplied','join','bddStepStart','NpKGc','toString','bYcKM','hntnc','body','groups','startedAt','message','test_run','QiOxh','AViCt','javascript','concat','../playwright/accessibility-helper','fwQhL','PoSua','Failed\x20to\x20parse\x20wsendpoint\x20','yaTUr','FcrMM','TEST_RUN_FINISHED','stepAnalyticsId','fullTitle','TEST_RUN_STARTED','1307336RqEvZx','getHierarchy','winstonLogger','dNXMu','LeCbA','connect','connectOverCDP','getHookType','success','gXvyM','zpvts','_paths','toISOString','match','browserstack','__cloud_provider___','includes','integrations','dCuMo','hookAnalyticsId','find','bddSteps','BiurP','location_prefix','failure_backtrace','bs:addLog:','length','err','rmgsx','bMfJm','backtrace','1656vUwoDU','../../helpers/testhub/utils.js','../../helpers/helper','CBTSessionCreated','_afterAll','ihyXO','HvtWz','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','logs','patchConsoleLogger','mtiTH','path','currentTest','ctx','now','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','./helper.js','getTime','suites','kbGQN','kIASE','inspect','BrowserType','event_type','PLAYWRIGHT_HUB_URL','uBQHR','olmpI','lib','sendCBTInfo','kARTT','UqzPU','util','LogCreated','2111249lEDHfn','getCBTInfo','VzfJV','atPTu','BGPLt','pid','../../helpers/logger','WcMVa','accessibilityPlatform','TestRunFinished','QWzoO','PathHelper','retryOf','parent','VfRRt','HookRunFinished','STATE_FAILED','OtPct','fSqVX','pending','bind','iBdJS','elAQO','nRtFX','driver','comment','prefixTestPath','jWYJi','hook','224022mtITWF','uoSDl','jntoF','toLowerCase','VbvPU','getHooksForTest','VprFv','lSCyT','GabbS','stringify','statSync','started','result','GIfXh','_testEnv','SsSXx','status','6114218KEiINa','findGitConfig','failure_reason_expanded','STATE_PASSED','mapTestHooks','toUpperCase','file_name','errorsDetailed','captureEvent','resetSkipTestHooks','Not\x20able\x20to\x20import\x20Browser','getInstance','SvmOE','getFailureType','stop','uvJce','split','mZxmh','.git','../playwright/sessionDetails','test','fireEvent','mcMQz','appendTestItemLog','bqqRM','../../helpers/test-observability/utils','_beforeAll','CODECEPT','relative','dgkjn','HOOK_RUN_STARTED','enabled','iuCdc','forEach','uuid','constructor','feature','markedStatus','TgGin','passed','name','TestRunStarted','defineProperty','dUvTf','failed\x20to\x20get\x20root\x20parent\x20file\x20','17780SUVron','exports','browserType.js','vflBU','EdZFq','shutdown','initializeBddStep','duration','push','client','rVtYJ','oCmdC','_afterEach','sep','bddStepFinish','\x20with\x20error\x20:\x20','HOOK_RUN_FINISHED','title','debug','getRootParentFile','8YUUfPq','apply','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','meta','tags','finished_at','YlyvL','hooks','file','test_run_uuid','hXddn','4NGHMou','failure','string','ryVJI','currentHook','skipped','vyUld','_beforeEach','bpOwI','qNIgv','frameworkName','then','JuaXx','925yHPlZr','removeAllListeners','failureData','HookRunStarted','expanded','nQlav','dirname','finished','VGqxh','setupBrowserDetails','hook_run_uuid','10926qycort','testAnalyticsId','uploadEventData'];a4_0x1d8f=function(){return _0x51ea39;};return a4_0x1d8f();}function a4_0x4443(_0x32c18c,_0x314d32){const _0x1d8ff5=a4_0x1d8f();return a4_0x4443=function(_0x444352,_0x129e4c){_0x444352=_0x444352-0xc7;let _0xabeb7c=_0x1d8ff5[_0x444352];return _0xabeb7c;},a4_0x4443(_0x32c18c,_0x314d32);}class O11yHelper{[a4_0x51bc21(0x149)]=null;['currentHook']=null;[a4_0x51bc21(0x1ab)]=![];[a4_0x51bc21(0xe8)]=![];constructor(_0x2e4bf3,_0x4b8b65){const _0x14109b=a4_0x51bc21,_0x495eb0={'nfHjz':_0x14109b(0x101),'bpOwI':function(_0xe323b7){return _0xe323b7();},'YlyvL':function(_0x5e9f58,_0x5933d1){return _0x5e9f58===_0x5933d1;},'oRrvu':'Playwright','UqzPU':function(_0x32605f,_0x2df459){return _0x32605f(_0x2df459);}},_0x2ee949=_0x495eb0['nfHjz'][_0x14109b(0x19c)]('|');let _0x2acc70=0x0;while(!![]){switch(_0x2ee949[_0x2acc70++]){case'0':this[_0x14109b(0x176)]=_0x2e4bf3;continue;case'1':this[_0x14109b(0x189)]=_0x495eb0[_0x14109b(0xe6)](getTestEnv);continue;case'2':this['enabled']=_0x495eb0[_0x14109b(0xe6)](shouldProcessEventForTesthub);continue;case'3':this[_0x14109b(0x176)]&&_0x495eb0[_0x14109b(0xd9)](this['driver'][_0x14109b(0x1af)]['name'],_0x495eb0['oRrvu'])&&_0x495eb0[_0x14109b(0x15b)](mockPWBrowserType,null);continue;case'4':this[_0x14109b(0xe8)]=_0x4b8b65[_0x14109b(0xe8)];continue;case'5':this[_0x14109b(0x129)]=new testOpsHelper[(_0x14109b(0x169))]({'cwd':process['cwd']()},this[_0x14109b(0x189)][_0x14109b(0x135)]);continue;}break;}}['start'](){const _0x3e74f7=a4_0x51bc21;if(!this[_0x3e74f7(0x1ab)])return;testOpsHelper[_0x3e74f7(0x146)](),process[_0x3e74f7(0xec)](_0x3e74f7(0x137)+process[_0x3e74f7(0x163)]),process['on']('bs:addLog:'+process[_0x3e74f7(0x163)],this[_0x3e74f7(0x1a3)][_0x3e74f7(0x172)](this));}async[a4_0x51bc21(0x19a)](){const _0x12f016=a4_0x51bc21;await RequestQueueHandler[_0x12f016(0x197)]()[_0x12f016(0x1be)]();}async[a4_0x51bc21(0x1a3)](_0x53a76f){const _0x33468a=a4_0x51bc21,_0x14ad8d={'elAQO':_0x33468a(0x15d),'iuCdc':function(_0x4468f3,_0x45eaaf){return _0x4468f3(_0x45eaaf);}};try{this[_0x33468a(0xe2)]&&!this[_0x33468a(0xe2)][_0x33468a(0x1b1)]&&(_0x53a76f['hook_run_uuid']=this[_0x33468a(0xe2)]['hookAnalyticsId']);!_0x53a76f[_0x33468a(0xf5)]&&this[_0x33468a(0x149)]&&!this[_0x33468a(0x149)][_0x33468a(0x1b1)]&&(_0x53a76f[_0x33468a(0xdc)]=this[_0x33468a(0x149)]['testAnalyticsId']);if(_0x53a76f[_0x33468a(0xf5)]||_0x53a76f[_0x33468a(0xdc)]){const _0x28b357={};_0x28b357['event_type']=_0x14ad8d[_0x33468a(0x174)],_0x28b357[_0x33468a(0x145)]=[_0x53a76f],await SessionHandler[_0x33468a(0xf8)](_0x28b357);}}catch(_0x4ebaa2){_0x14ad8d[_0x33468a(0x1ac)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x4ebaa2);}}async[a4_0x51bc21(0x159)](_0x2b822e){const _0x215b57=a4_0x51bc21,_0xc9aa73={'uBQHR':_0x215b57(0x140),'VzfJV':function(_0x123be3,_0x437359){return _0x123be3(_0x437359);}};if(!this['enabled'])return;const _0x5e99e7=this[_0x215b57(0x15f)](this[_0x215b57(0x176)]);try{const _0x32e479={};_0x32e479[_0x215b57(0x1ae)]=_0x2b822e,_0x32e479[_0x215b57(0x12f)]=_0x5e99e7;const _0x3d5eca=_0x32e479,_0x2e4046={};_0x2e4046[_0x215b57(0x154)]=_0xc9aa73[_0x215b57(0x156)],_0x2e4046[_0x215b57(0x10f)]=_0x3d5eca,await SessionHandler[_0x215b57(0xf8)](_0x2e4046);}catch(_0x568a9e){_0xc9aa73[_0x215b57(0x160)](debug,_0x215b57(0xd5)+_0x568a9e);}}[a4_0x51bc21(0x15f)](_0x365b5c){const _0x4e80dc=a4_0x51bc21,_0x192a99={'kIASE':function(_0x314ba6,_0xb827e5){return _0x314ba6(_0xb827e5);}};return _0x192a99[_0x4e80dc(0x151)](fetchPlatformDetails,_0x365b5c);}[a4_0x51bc21(0x195)]=_0x521ce9=>{const _0x32f7e7=a4_0x51bc21,_0x58a636={};_0x58a636[_0x32f7e7(0x13b)]=_0x32f7e7(0xe5),_0x58a636['zpvts']=_0x32f7e7(0xcb);const _0x1e6daa=_0x58a636;if(!_0x521ce9||!_0x521ce9[_0x32f7e7(0x16b)])return;[_0x1e6daa[_0x32f7e7(0x13b)],_0x1e6daa[_0x32f7e7(0x128)]][_0x32f7e7(0x1ad)](_0x4b3ea5=>{const _0xe79c4a=_0x32f7e7,_0x144253=_0x521ce9[_0xe79c4a(0x16b)][_0x4b3ea5];_0x144253[_0xe79c4a(0x1ad)](_0xfd0666=>{const _0xd9f4a3=_0xe79c4a;_0xfd0666[_0xd9f4a3(0x131)]&&(_0xfd0666[_0xd9f4a3(0x131)]=null);});});};[a4_0x51bc21(0x190)](_0x37f299){const _0x1070d4=a4_0x51bc21,_0xa9fc97={'yaTUr':'codeceptjs','PoSua':function(_0x3c61de){return _0x3c61de();},'dUvTf':function(_0x5e0180,_0x4a478d){return _0x5e0180===_0x4a478d;},'TgGin':'_afterEach','uoSDl':_0x1070d4(0x1a6),'bqqRM':'_afterAll','VfRRt':_0x1070d4(0xe5)};if(!_0x37f299||!_0x37f299['parent'])return;[_0xa9fc97[_0x1070d4(0x17c)],_0xa9fc97[_0x1070d4(0x1a4)],_0xa9fc97[_0x1070d4(0x16c)],_0xa9fc97[_0x1070d4(0x1b2)]][_0x1070d4(0x1ad)](_0x3d7f8f=>{const _0x2e59b9=_0x1070d4,_0x4f3b32=_0x37f299[_0x2e59b9(0x16b)][_0x3d7f8f]||[];_0x4f3b32[_0x2e59b9(0x1ad)](_0x1a6333=>{const _0x6c5dbf=_0x2e59b9;if(_0x1a6333[_0x6c5dbf(0xd0)][_0x6c5dbf(0x12e)](_0xa9fc97[_0x6c5dbf(0x118)]))return;if(!_0x1a6333[_0x6c5dbf(0x131)])_0x1a6333[_0x6c5dbf(0x131)]=_0xa9fc97[_0x6c5dbf(0x116)](uuidv4);else _0x1a6333[_0x6c5dbf(0x1b1)]&&_0xa9fc97[_0x6c5dbf(0x1b7)](_0x3d7f8f,_0xa9fc97[_0x6c5dbf(0x1b2)])&&(_0x1a6333[_0x6c5dbf(0x131)]=_0xa9fc97[_0x6c5dbf(0x116)](uuidv4),delete _0x1a6333['markedStatus']);});}),this[_0x1070d4(0x190)](_0x37f299[_0x1070d4(0x16b)]);}[a4_0x51bc21(0x180)](_0x2b0a12){const _0x1528bc=a4_0x51bc21,_0x42e954={};_0x42e954[_0x1528bc(0x165)]=_0x1528bc(0x1a6),_0x42e954['raMhO']=_0x1528bc(0x141),_0x42e954['XwYJk']=_0x1528bc(0xe5),_0x42e954[_0x1528bc(0x175)]='_afterEach';const _0x492d2c=_0x42e954;if(!_0x2b0a12||!_0x2b0a12['parent'])return[];const _0x3ddda1=[];return[_0x492d2c[_0x1528bc(0x165)],_0x492d2c['raMhO'],_0x492d2c['XwYJk'],_0x492d2c['nRtFX']][_0x1528bc(0x1ad)](_0x27acac=>{const _0x25265e=_0x1528bc,_0x3623d8=_0x2b0a12[_0x25265e(0x16b)][_0x27acac]||[];_0x3623d8[_0x25265e(0x1ad)](_0x457edd=>{const _0x5e9284=_0x25265e;_0x457edd['hookAnalyticsId']&&_0x3ddda1[_0x5e9284(0xc7)](_0x457edd['hookAnalyticsId']);});}),[][_0x1528bc(0x113)](_0x3ddda1,this['getHooksForTest'](_0x2b0a12[_0x1528bc(0x16b)]));}[a4_0x51bc21(0x125)](_0x14d231){const _0x4e9ed9=a4_0x51bc21,_0x1863d6=/^"(?<hook>.*)" hook:.*$/,_0x40bef7=_0x14d231['title'],_0x287ab9=_0x40bef7[_0x4e9ed9(0x12b)](_0x1863d6);if(_0x287ab9&&_0x287ab9[_0x4e9ed9(0x10c)])return _0x287ab9[_0x4e9ed9(0x10c)][_0x4e9ed9(0x17a)][_0x4e9ed9(0x191)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x55710d){const _0xe5a2df=a4_0x51bc21,_0x1887b3={};_0x1887b3['fwQhL']=function(_0x533a42,_0x374114){return _0x533a42===_0x374114;},_0x1887b3[_0xe5a2df(0x188)]=function(_0xce7248,_0x378fb3){return _0xce7248===_0x378fb3;},_0x1887b3[_0xe5a2df(0xc9)]=_0xe5a2df(0x19e),_0x1887b3[_0xe5a2df(0xf0)]='config';const _0x198ebd=_0x1887b3,_0x2d50ac=path[_0xe5a2df(0xcc)];if(_0x198ebd[_0xe5a2df(0x115)](_0x55710d,null)||_0x198ebd[_0xe5a2df(0x115)](_0x55710d,'')||_0x198ebd[_0xe5a2df(0x188)](_0x55710d,_0x2d50ac)||_0x198ebd['GIfXh'](_0x55710d,path[_0xe5a2df(0xf1)](_0x55710d)))return null;try{return fs[_0xe5a2df(0x185)](path[_0xe5a2df(0x105)](_0x55710d,_0x198ebd[_0xe5a2df(0xc9)],_0x198ebd[_0xe5a2df(0xf0)])),_0x55710d;}catch(_0x2058b2){const _0x374250=path['dirname'](_0x55710d);return this[_0xe5a2df(0x18d)](_0x374250);}}[a4_0x51bc21(0xd2)](_0x4383e4){const _0x30a9cd=a4_0x51bc21,_0x4b04b1={};_0x4b04b1[_0x30a9cd(0x16f)]=function(_0x140ac6,_0xf8f213){return _0x140ac6>_0xf8f213;};const _0x340579=_0x4b04b1;if(_0x4383e4[_0x30a9cd(0xdb)])return _0x4383e4[_0x30a9cd(0xdb)];if(_0x4383e4[_0x30a9cd(0x14a)]){const _0x586b71=_0x4383e4[_0x30a9cd(0x14a)][_0x30a9cd(0x149)]?this[_0x30a9cd(0xd2)](_0x4383e4['ctx'][_0x30a9cd(0x149)]):null;if(_0x586b71)return _0x586b71;}if(_0x4383e4[_0x30a9cd(0x16b)]){const _0x3351c9=this['getRootParentFile'](_0x4383e4[_0x30a9cd(0x16b)])||(_0x4383e4[_0x30a9cd(0x16b)][_0x30a9cd(0x14a)]&&_0x4383e4[_0x30a9cd(0x16b)][_0x30a9cd(0x14a)][_0x30a9cd(0x149)]?this[_0x30a9cd(0xd2)](_0x4383e4[_0x30a9cd(0x16b)]['ctx'][_0x30a9cd(0x149)]):null);if(_0x3351c9)return _0x3351c9;_0x4383e4[_0x30a9cd(0x16b)]['suites']&&_0x340579['OtPct'](_0x4383e4['parent'][_0x30a9cd(0x14f)][_0x30a9cd(0x138)],0x0)&&_0x4383e4[_0x30a9cd(0x16b)][_0x30a9cd(0x14f)][_0x30a9cd(0x1ad)](_0x4daead=>{const _0x1ba073=_0x30a9cd,_0x5192e5=_0x4daead[_0x1ba073(0x14a)]?this['getRootParentFile'](_0x4daead[_0x1ba073(0x14a)]):null;if(_0x5192e5)return _0x5192e5;});}return null;}[a4_0x51bc21(0x11f)](_0x3f5a91){const _0xc22608=a4_0x51bc21,_0x46dc7d={};_0x46dc7d[_0xc22608(0x179)]=function(_0x555ffc,_0x118b48){return _0x555ffc!==_0x118b48;};const _0x2f0666=_0x46dc7d,_0x2aee3e=[];if(_0x3f5a91&&_0x3f5a91['parent']){let _0x3d03d4=_0x3f5a91[_0xc22608(0x16b)];while(_0x3d03d4&&_0x2f0666[_0xc22608(0x179)](_0x3d03d4[_0xc22608(0xd0)],'')){_0x2aee3e[_0xc22608(0xc7)](_0x3d03d4[_0xc22608(0xd0)]),_0x3d03d4=_0x3d03d4[_0xc22608(0x16b)];}}return _0x2aee3e;}[a4_0x51bc21(0x194)](_0x2cedc6,_0x17ad78,_0x2a9f88=undefined){const _0x308bc5=a4_0x51bc21,_0x49cc68={'hXddn':function(_0x23a7b3,_0x364f60){return _0x23a7b3(_0x364f60);},'atPTu':function(_0xa9387){return _0xa9387();},'gXvyM':function(_0x5ba5bb){return _0x5ba5bb();},'DnEOm':_0x308bc5(0x15c),'fIvAs':_0x308bc5(0x139),'lSCyT':function(_0x1b2320,_0x4cf412){return _0x1b2320!==_0x4cf412;},'QAQCJ':'File\x20path\x20could\x20not\x20be\x20found','vyUld':'pending','BGPLt':'failed','mcMQz':_0x308bc5(0x1b3),'bYcKM':'skipped','VprFv':_0x308bc5(0x112),'BiurP':function(_0x56c602,_0x5490be){return _0x56c602-_0x5490be;},'BGHxa':function(_0x109f50,_0x29d924,_0x105f71,_0x142869,_0x540cd6){return _0x109f50(_0x29d924,_0x105f71,_0x142869,_0x540cd6);},'HvtWz':function(_0x47b99a,_0xa501ad){return _0x47b99a!==_0xa501ad;},'LeCbA':_0x308bc5(0x12f),'EdZFq':_0x308bc5(0xd6),'lCMrO':_0x308bc5(0xdf),'QWzoO':_0x308bc5(0x136),'jntoF':_0x308bc5(0x13c),'OTeJo':_0x308bc5(0x18e),'ryVJI':_0x308bc5(0xef),'vflBU':function(_0x1d6dbb,_0x1d6107){return _0x1d6dbb===_0x1d6107;},'dNXMu':'hook_run','dgkjn':'test_run'};if(!this[_0x308bc5(0x1ab)])return;try{if(_0x17ad78['fn']&&_0x17ad78['fn'][_0x308bc5(0x108)]()[_0x308bc5(0x12b)](/browserstack internal helper hook/))return;const _0x386e85=_0x49cc68[_0x308bc5(0xdd)](parseEvent,_0x2cedc6);if(!_0x386e85)return;if(_0x386e85[_0x308bc5(0x1a0)]){this['currentTest']=_0x17ad78,this['currentHook']=null;if(_0x386e85[_0x308bc5(0x186)]||_0x386e85['skipped']){_0x17ad78[_0x308bc5(0x10d)]=new Date(),_0x17ad78[_0x308bc5(0x1b1)]=![];if(!_0x17ad78[_0x308bc5(0xf7)])_0x17ad78[_0x308bc5(0xf7)]=_0x49cc68[_0x308bc5(0x161)](uuidv4);else _0x17ad78[_0x308bc5(0x1b1)]&&(!_0x17ad78[_0x308bc5(0x16a)]&&(_0x17ad78[_0x308bc5(0x16a)]=_0x17ad78[_0x308bc5(0xf7)]),_0x17ad78['testAnalyticsId']=_0x49cc68[_0x308bc5(0x127)](uuidv4));}}else{if(_0x386e85[_0x308bc5(0x17a)]){this[_0x308bc5(0xe2)]=_0x17ad78;if(_0x386e85[_0x308bc5(0x186)]){_0x17ad78['startedAt']=new Date(),_0x17ad78[_0x308bc5(0x1b1)]=![];if(!_0x17ad78['hookAnalyticsId'])_0x17ad78['hookAnalyticsId']=_0x49cc68['gXvyM'](uuidv4);else _0x17ad78[_0x308bc5(0x131)]&&_0x17ad78['markedStatus']&&(_0x17ad78['hookAnalyticsId']=_0x49cc68[_0x308bc5(0x161)](uuidv4));}}}if(_0x386e85[_0x308bc5(0xf2)]&&_0x17ad78['markedStatus'])return;let _0x155925;try{_0x155925=this[_0x308bc5(0xd2)](_0x17ad78);}catch(_0x4bce35){logger[_0x308bc5(0xd1)](_0x308bc5(0x1b8)+_0x4bce35),_0x155925=null;}const _0x557333=_0x49cc68[_0x308bc5(0xdd)](require,_0x49cc68['DnEOm']);let _0x48234a=[];_0x2a9f88&&(_0x48234a=[_0x2a9f88,_0x49cc68['fIvAs']]);const _0x2bf330=_0x49cc68['lSCyT'](_0x17ad78[_0x308bc5(0x193)],undefined)?_0x557333[_0x308bc5(0x152)](_0x17ad78[_0x308bc5(0x193)][0x0]):_0x49cc68[_0x308bc5(0x182)](_0x2a9f88,undefined)?_0x2a9f88['toString']():undefined,_0x348576=_0x155925?this['findGitConfig'](_0x155925):null,_0x4a2643=_0x155925?this['_paths'][_0x308bc5(0x178)](this[_0x308bc5(0xd2)](_0x17ad78)):_0x49cc68['QAQCJ'];let _0x182cf5=_0x49cc68[_0x308bc5(0xe4)];const _0x4bc785=!_0x386e85[_0x308bc5(0x186)]?new Date()[_0x308bc5(0x12a)]():null;if(_0x386e85['finished'])_0x182cf5=_0x2a9f88?_0x49cc68[_0x308bc5(0x162)]:_0x49cc68['mcMQz'],_0x17ad78[_0x308bc5(0x1b1)]=!![];else _0x386e85[_0x308bc5(0xe3)]&&(_0x182cf5=_0x49cc68[_0x308bc5(0x109)],_0x17ad78['markedStatus']=!![]);const _0x4ca7a3={'framework':this[_0x308bc5(0xe8)],'uuid':_0x17ad78[_0x308bc5(0xf7)]||_0x17ad78[_0x308bc5(0x131)],'name':_0x17ad78[_0x308bc5(0xd0)],'body':{'lang':_0x49cc68[_0x308bc5(0x181)],'code':_0x17ad78[_0x308bc5(0x10b)][_0x308bc5(0x108)]()},'type':_0x17ad78['type'],'scope':_0x17ad78['fullTitle'](),'scopes':this[_0x308bc5(0x11f)](_0x17ad78),'file_name':_0x4a2643,'vc_filepath':_0x348576?path[_0x308bc5(0x1a8)](_0x348576,_0x155925):null,'location':_0x4a2643,'result':_0x182cf5,'failure_reason':_0x2bf330,'duration_in_ms':_0x17ad78[_0x308bc5(0x1c0)]||(_0x386e85[_0x308bc5(0xf2)]||_0x386e85[_0x308bc5(0xe3)])?_0x49cc68[_0x308bc5(0x134)](Date[_0x308bc5(0x14b)](),new Date(_0x17ad78[_0x308bc5(0x10d)])[_0x308bc5(0x14e)]()):null,'started_at':new Date(_0x17ad78['startedAt'])[_0x308bc5(0x12a)](),'finished_at':_0x4bc785,'failure':testOpsHelper[_0x308bc5(0xed)]['apply'](null,_0x48234a),'failure_type':!_0x2bf330?null:testOpsHelper[_0x308bc5(0x199)](_0x2bf330),'retry_of':_0x17ad78['retryOf']||null,'tags':_0x17ad78[_0x308bc5(0xd7)]||[],'customRerunParam':{'rerun_name':_0x17ad78[_0x308bc5(0x11c)]()}};_0x49cc68['BGHxa'](appendTesthubParams,_0x4ca7a3,_0x2cedc6,_0x17ad78,FRAMEWORKS[_0x308bc5(0x1a7)]);if(_0x386e85[_0x308bc5(0x17a)])[_0x4ca7a3['hook_type'],_0x4ca7a3[_0x308bc5(0x1b4)]]=[this['getHookType'](_0x17ad78),_0x17ad78[_0x308bc5(0x14a)][_0x308bc5(0x1a0)][_0x308bc5(0xd0)]],_0x386e85['finished']?_0x49cc68[_0x308bc5(0x143)](_0x4ca7a3['result'],_0x49cc68['BGPLt'])&&(_0x4ca7a3[_0x308bc5(0x187)]=_0x49cc68['mcMQz']):_0x4ca7a3[_0x308bc5(0x10b)]={};else _0x386e85['test']&&(this[_0x308bc5(0x190)](_0x17ad78),_0x386e85[_0x308bc5(0xe3)]&&this[_0x308bc5(0x195)](_0x17ad78),(_0x386e85[_0x308bc5(0xf2)]||_0x386e85[_0x308bc5(0xe3)])&&(_0x4ca7a3[_0x308bc5(0xda)]=this[_0x308bc5(0x180)](_0x17ad78)));this[_0x308bc5(0x176)]&&(_0x386e85[_0x308bc5(0x186)]||_0x386e85[_0x308bc5(0xe3)])&&(_0x4ca7a3[_0x49cc68[_0x308bc5(0x122)]]=this[_0x308bc5(0x15f)](this[_0x308bc5(0x176)]));_0x386e85[_0x308bc5(0x1a0)]&&_0x386e85[_0x308bc5(0xf2)]&&_0x17ad78[_0x308bc5(0x133)]&&(_0x4ca7a3[_0x49cc68[_0x308bc5(0x1bd)]]={'feature':{'name':_0x17ad78[_0x308bc5(0x16b)][_0x308bc5(0x1b0)][_0x308bc5(0x1b4)],'path':_0x4ca7a3[_0x308bc5(0x192)],'description':_0x17ad78[_0x308bc5(0x16b)][_0x308bc5(0x177)]},'scenario':{'name':_0x17ad78[_0x308bc5(0xd0)]},'steps':_0x17ad78['bddSteps']});const _0x45c1c3=_0x4ca7a3[_0x49cc68[_0x308bc5(0xfd)]][0x0];_0x45c1c3&&(_0x4ca7a3[_0x49cc68[_0x308bc5(0x168)]]=_0x45c1c3[_0x49cc68[_0x308bc5(0x17d)]],_0x4ca7a3[_0x49cc68['OTeJo']]=_0x45c1c3[_0x49cc68[_0x308bc5(0xe1)]]);if(_0x17ad78['bddSteps'])for(const _0x4c8423 of _0x17ad78[_0x308bc5(0x133)]){!_0x4c8423[_0x308bc5(0xd8)]&&(_0x4c8423[_0x308bc5(0xd8)]=new Date()[_0x308bc5(0x12a)](),_0x49cc68[_0x308bc5(0x1bc)](_0x4c8423[_0x308bc5(0x187)],_0x49cc68[_0x308bc5(0xe4)])&&(_0x45c1c3?(_0x4c8423['result']=_0x49cc68[_0x308bc5(0x162)],_0x4c8423[_0x308bc5(0xdf)]=_0x45c1c3[_0x49cc68['jntoF']][0x0]):_0x4c8423[_0x308bc5(0x187)]=_0x49cc68[_0x308bc5(0x1a2)]));}const _0x218b85={};_0x218b85[_0x308bc5(0x154)]=_0x386e85[_0x308bc5(0xe3)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x2cedc6;const _0x2bfbda=_0x218b85;return _0x386e85['hook']?_0x2bfbda[_0x49cc68[_0x308bc5(0x121)]]=_0x4ca7a3:_0x2bfbda[_0x49cc68[_0x308bc5(0x1a9)]]=_0x4ca7a3,_0x2bfbda;}catch(_0x506651){logger[_0x308bc5(0xd1)](_0x308bc5(0x14c)+_0x2cedc6+_0x308bc5(0xce)+_0x506651);}}async[a4_0x51bc21(0x1a1)](_0x54df44,_0x5eb44f){const _0x579556=a4_0x51bc21;if(!this['enabled']||!_0x5eb44f||!_0x54df44)return![];try{return await SessionHandler[_0x579556(0xf8)](_0x5eb44f);}catch(_0x34bfd3){logger[_0x579556(0xd1)](_0x579556(0x144)+_0x54df44+'\x20with\x20error\x20:\x20'+_0x34bfd3);}}[a4_0x51bc21(0x1bf)](_0x228128){const _0x56770b=a4_0x51bc21,_0x186923={};_0x186923[_0x56770b(0x170)]=_0x56770b(0x171);const _0x4b6954=_0x186923;return{'id':_0x228128[_0x56770b(0x11b)],'text':_0x228128['text'],'keyword':_0x228128['keyword'],'started_at':_0x228128[_0x56770b(0x10d)][_0x56770b(0x12a)](),'result':_0x4b6954[_0x56770b(0x170)]};}[a4_0x51bc21(0x106)](_0xfe31a9){const _0x3475f9=a4_0x51bc21,_0x2ddc57={'dCuMo':function(_0x58789d){return _0x58789d();}};!this[_0x3475f9(0x149)][_0x3475f9(0x133)]&&(this[_0x3475f9(0x149)]['bddSteps']=[]),!_0xfe31a9[_0x3475f9(0x11b)]&&(_0xfe31a9['stepAnalyticsId']=_0x2ddc57[_0x3475f9(0x130)](uuidv4),_0xfe31a9[_0x3475f9(0x10d)]=new Date(),this[_0x3475f9(0x149)][_0x3475f9(0x133)][_0x3475f9(0xc7)](this['initializeBddStep'](_0xfe31a9)));}[a4_0x51bc21(0xcd)](_0x27cb4f){const _0x22aa20=a4_0x51bc21,_0x4187f1={'oCmdC':function(_0x4c86ce,_0x3bd872){return _0x4c86ce(_0x3bd872);},'LqtMO':_0x22aa20(0x126),'cRmDJ':_0x22aa20(0x171),'WCAAe':_0x22aa20(0x1b3),'IHhmS':function(_0x50568e,_0x4fffb2){return _0x50568e-_0x4fffb2;}};let _0x46782f=this[_0x22aa20(0x149)][_0x22aa20(0x133)][_0x22aa20(0x132)](_0xab4a57=>_0xab4a57['id']===_0x27cb4f[_0x22aa20(0x11b)]);_0x4187f1[_0x22aa20(0xca)](isUndefined,_0x46782f)&&(_0x46782f=this[_0x22aa20(0x1bf)](_0x27cb4f)),_0x46782f[_0x22aa20(0x187)]=[_0x4187f1[_0x22aa20(0xfb)],_0x4187f1['cRmDJ']][_0x22aa20(0x12e)](_0x27cb4f['status'])?_0x4187f1['WCAAe']:_0x27cb4f[_0x22aa20(0x18b)],_0x46782f[_0x22aa20(0xd8)]=new Date()['toISOString'](),_0x46782f[_0x22aa20(0x1c0)]=_0x4187f1[_0x22aa20(0x100)](Date[_0x22aa20(0x14b)](),_0x27cb4f[_0x22aa20(0x10d)]['getTime']()),_0x46782f[_0x22aa20(0xdf)]=_0x27cb4f[_0x22aa20(0x139)]?_0x27cb4f[_0x22aa20(0x139)][_0x22aa20(0x10e)]:null;}}const a4_0x6e1321={};a4_0x6e1321['O11yHelper']=O11yHelper,a4_0x6e1321[a4_0x51bc21(0x18f)]=STATE_PASSED,a4_0x6e1321[a4_0x51bc21(0x16e)]=STATE_FAILED,a4_0x6e1321['TEST_EVENTS']=TEST_EVENTS,module[a4_0x51bc21(0x1ba)]=a4_0x6e1321;
|
|
1
|
+
const a4_0x3f7774=a4_0x47fa;(function(_0xbee73d,_0x55ddfe){const _0x576481=a4_0x47fa,_0x13f6de=_0xbee73d();while(!![]){try{const _0x1ce01b=parseInt(_0x576481(0x25e))/0x1+-parseInt(_0x576481(0x289))/0x2+parseInt(_0x576481(0x292))/0x3+parseInt(_0x576481(0x1f1))/0x4+-parseInt(_0x576481(0x28c))/0x5+-parseInt(_0x576481(0x26b))/0x6*(parseInt(_0x576481(0x29e))/0x7)+-parseInt(_0x576481(0x23b))/0x8*(-parseInt(_0x576481(0x237))/0x9);if(_0x1ce01b===_0x55ddfe)break;else _0x13f6de['push'](_0x13f6de['shift']());}catch(_0x5181a9){_0x13f6de['push'](_0x13f6de['shift']());}}}(a4_0x377d,0x37cd3));const path=require(a4_0x3f7774(0x265)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3f7774(0x2c9)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3f7774(0x2d1)),testOpsHelper=require(a4_0x3f7774(0x24a)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x3f7774(0x200)),logger=require(a4_0x3f7774(0x228))[a4_0x3f7774(0x254)],SessionHandler=require(a4_0x3f7774(0x231)),RequestQueueHandler=require(a4_0x3f7774(0x22a)),PlaywrightSessionDetails=require(a4_0x3f7774(0x22b)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3f7774(0x2d5)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3f7774(0x1f8)),STATE_PASSED=a4_0x3f7774(0x247),STATE_FAILED=a4_0x3f7774(0x2b9),a4_0x5d0bd9={};function a4_0x377d(){const _0x4a465f=['forEach','nLeJr','../../helpers/test-observability/sessionHandler','captureEvent','WuxIz','duration','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','File\x20path\x20could\x20not\x20be\x20found','38565LjIbzN','meta','removeAllListeners','accessibilityPlatform','592pazQLU','STATE_FAILED','name','driver','ctx','event_type','title','ihDjh','toISOString','patchConsoleLogger','__cloud_provider___','IbcOT','passed','prefixTestPath','test','../../helpers/test-observability/utils','TgoVu','PzRBj','Not\x20able\x20to\x20import\x20Browser','prototype','expanded','kKZcZ','btcLr','started','pATBd','winstonLogger','bddStepFinish','ADEME','_beforeEach','qBMPS','dirname','pid','match','failure_reason_expanded','result','386740blCRZK','bddSteps','TestRunFinished','LxWyQ','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','startedAt','bddStepStart','path','qXZVX','TestRunSkipped','apply','connect','comment','692430xWqgHg','rzZWf','svAGL','failure_backtrace','browserType.js','xEtxp','_afterEach','concat','failed\x20to\x20get\x20root\x20parent\x20file\x20','split','bind','khMbQ','fullTitle','hook_run','frameworkName','lHdMO','WtjlC','xCDxz','PLAYWRIGHT_HUB_URL','uBofX','connectOverCDP','push','STATE_PASSED','\x20with\x20error\x20:\x20','wuosE','JHAcU','ACtnT','Nalxc','length','retryOf','540176gwNynZ','skipped','zUvGW','1571810snvvEG','finished','lib','LIKTq','jrSsP','BBzGJ','231186attvfC','gqoGy','LXWXv','launch','errorsDetailed','statSync','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','QfcVg','getCBTInfo','javascript','IBtxn','enabled','7ZAHvLJ','Playwright','parent','WsfbD','TEST_RUN_STARTED','suites','CRJYM','EoRld','then','yuvSO','testAnalyticsId','CEUcu','wMaQg','MSflj','debug','hook_type','currentTest','TIfom','lthUN','file','failure','knDWj','VqvJA','XwIxx','constructor','bATnL','UCaxw','failed','feature','type','_testEnv','AsNOC','mnuWl','mapTestHooks','markedStatus','bxDcb','Fncqh','getFailureType','TEST_EVENTS','_afterAll','stepAnalyticsId','mfyiG','fireEvent','uuid','dTUJq','AkbAN','resetSkipTestHooks','VXhvX','pIJrT','finished_at','CODECEPT','../../helpers/helper','tags','browserstack','toLowerCase','../utils/constants','hook_run_uuid','wsEndpoint','sZwiO','DNHcO','join','hook','HookRunStarted','aSUDi','defineProperty','bs:addLog:','util','success','pkfxo','location_prefix','odjAJ','body','TEST_RUN_SKIPPED','pending','KgtIZ','getHookType','__platformCaps','O11yHelper','HOOK_RUN_STARTED','590104SHdgXI','TEST_RUN_FINISHED','includes','NzyLl','initializeBddStep','nBmYW','string','../../helpers/testhub/utils.js','err','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','HIazm','test_run','appendTestItemLog','WblZq','cwd','../../helpers/test-observability/constants','getRootParentFile','_beforeAll','now','file_name','dUEXK','gXYZt','currentHook','HookRunFinished','hWAJv','getInstance','NDHYs','getHierarchy','config','findGitConfig','toString','_paths','cyoqs','LdGXo','stop','EdBeQ','OGbrf','groups','find','sep','PathHelper','getHooksForTest','GYpZN','dJliv','start','TestRunStarted','hnYLR','KddYE','integrations','codeceptjs','hdMVp','setupBrowserDetails','uploadEventData','CBTSessionCreated','dcPFO','../../helpers/logger','xtcCW','../../helpers/test-observability/requestQueueHandler','../playwright/sessionDetails','hookAnalyticsId','rTsrp','test_run_uuid'];a4_0x377d=function(){return _0x4a465f;};return a4_0x377d();}a4_0x5d0bd9[a4_0x3f7774(0x2a2)]=a4_0x3f7774(0x21e),a4_0x5d0bd9[a4_0x3f7774(0x1f2)]=a4_0x3f7774(0x260),a4_0x5d0bd9[a4_0x3f7774(0x2e6)]=a4_0x3f7774(0x267),a4_0x5d0bd9[a4_0x3f7774(0x1f0)]=a4_0x3f7774(0x2dc),a4_0x5d0bd9['HOOK_RUN_FINISHED']=a4_0x3f7774(0x208);const TEST_EVENTS=a4_0x5d0bd9,parseEvent=_0x8666d2=>{const _0x1f7254=a4_0x3f7774,_0x55730d={};_0x55730d[_0x1f7254(0x2c2)]=function(_0x2ae479,_0x5570d4){return _0x2ae479<_0x5570d4;},_0x55730d['lthUN']=function(_0x3268fc,_0x3adf5e){return _0x3268fc===_0x3adf5e;},_0x55730d[_0x1f7254(0x242)]=_0x1f7254(0x249),_0x55730d['dJliv']=function(_0x1d69c6,_0x49aef8){return _0x1d69c6===_0x49aef8;},_0x55730d[_0x1f7254(0x1fb)]=_0x1f7254(0x2db),_0x55730d[_0x1f7254(0x2e2)]=_0x1f7254(0x28a),_0x55730d[_0x1f7254(0x246)]=function(_0x27a2bc,_0x27d169){return _0x27a2bc===_0x27d169;},_0x55730d[_0x1f7254(0x261)]='started',_0x55730d[_0x1f7254(0x227)]=_0x1f7254(0x28d);const _0x2576af=_0x55730d,_0x1e3fc4=_0x8666d2[_0x1f7254(0x25b)](/^(.*)Run(.*)$/);if(!_0x1e3fc4)return null;if(_0x2576af[_0x1f7254(0x2c2)](_0x1e3fc4[_0x1f7254(0x287)],0x3))return null;const _0x1929e0=_0x1e3fc4[0x1][_0x1f7254(0x2d4)](),_0x588bb9=_0x1e3fc4[0x2][_0x1f7254(0x2d4)]();return{'test':_0x2576af['lthUN'](_0x1929e0,_0x2576af[_0x1f7254(0x242)]),'hook':_0x2576af[_0x1f7254(0x21c)](_0x1929e0,_0x2576af['HIazm']),'skipped':_0x2576af[_0x1f7254(0x2b0)](_0x588bb9,_0x2576af[_0x1f7254(0x2e2)]),'started':_0x2576af['IbcOT'](_0x588bb9,_0x2576af[_0x1f7254(0x261)]),'finished':_0x2576af[_0x1f7254(0x21c)](_0x588bb9,_0x2576af[_0x1f7254(0x227)])};},mockPWBrowserType=_0x4e73cd=>{const _0x1a2302=a4_0x3f7774,_0x39fa74={'nBmYW':function(_0x1d1561,_0x2f7cae){return _0x1d1561===_0x2f7cae;},'vebhX':_0x1a2302(0x1f7),'pATBd':function(_0x42c34e,_0x3e2b38,_0x37622f){return _0x42c34e(_0x3e2b38,_0x37622f);},'AsNOC':_0x1a2302(0x2d7),'kKZcZ':function(_0x307e91,_0x289cfa){return _0x307e91(_0x289cfa);},'ADEME':_0x1a2302(0x2d3),'LIKTq':_0x1a2302(0x28e),'QfcVg':'client','wuosE':_0x1a2302(0x26f),'MsJpB':_0x1a2302(0x24d),'Nalxc':_0x1a2302(0x269),'AqpxS':_0x1a2302(0x295)},_0x4a6816=path[_0x1a2302(0x2da)](_0x39fa74[_0x1a2302(0x28f)],_0x39fa74[_0x1a2302(0x299)],_0x39fa74[_0x1a2302(0x283)]),_0x11c175=_0x39fa74[_0x1a2302(0x250)](importFileFromPWCore,_0x4a6816);if(!_0x11c175){_0x39fa74[_0x1a2302(0x250)](debug,_0x39fa74['MsJpB']);return;}const _0x522a86=_0x11c175['BrowserType'],_0x196edc=_0x522a86[_0x1a2302(0x24e)];if(_0x196edc['obsBrowserTypeMockApplied'])return;const _0x13a7c8=_0x196edc[_0x1a2302(0x269)];Object[_0x1a2302(0x2de)](_0x196edc,_0x39fa74[_0x1a2302(0x286)],{'get':function(){const _0xe5e01c=_0x1a2302,_0x547a80={'LXWXv':function(_0x2f7599,_0x4fd5ca){const _0x373d23=a4_0x47fa;return _0x39fa74[_0x373d23(0x1f6)](_0x2f7599,_0x4fd5ca);},'EoRld':_0x39fa74['vebhX'],'UCaxw':function(_0x48127d,_0x1a2610,_0xe2684b){const _0x2dabd8=a4_0x47fa;return _0x39fa74[_0x2dabd8(0x253)](_0x48127d,_0x1a2610,_0xe2684b);},'bxDcb':_0x39fa74[_0xe5e01c(0x2bd)],'rTsrp':function(_0x1776bc,_0x3abad0){const _0x52ccf3=_0xe5e01c;return _0x39fa74[_0x52ccf3(0x250)](_0x1776bc,_0x3abad0);},'xCDxz':_0x39fa74[_0xe5e01c(0x256)]};return async function _0x2b3e6d(_0x275ca3,_0x4876f5){const _0x63858c=_0xe5e01c,_0x19b0a4={'PzRBj':function(_0x435e09,_0x430b21){const _0x13a26e=a4_0x47fa;return _0x547a80[_0x13a26e(0x294)](_0x435e09,_0x430b21);},'xEtxp':_0x547a80[_0x63858c(0x2a5)]},_0x16f710=_0x547a80[_0x63858c(0x2b8)](nestedKeyValue,_0x275ca3,[_0x547a80[_0x63858c(0x2c1)]])||_0x275ca3;let _0x867b54=null,_0xb79658=null;try{[_0xb79658,_0x867b54]=_0x16f710?_0x547a80[_0x63858c(0x22d)](parseWSEndpoint,_0x16f710):[null,null],global[_0x63858c(0x1ee)]=_0x867b54,_0xb79658['includes'](_0x547a80[_0x63858c(0x27c)])&&(global[_0x63858c(0x245)]=_0x547a80[_0x63858c(0x27c)]);}catch(_0x403a0a){logger[_0x63858c(0x2ac)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x16f710+'\x20'+_0x403a0a);}_0x547a80[_0x63858c(0x2b8)](processAccessibilityCaps,_0x867b54,_0xb79658);if(global[_0x63858c(0x23a)]){const _0xb74070=await _0x196edc[_0x63858c(0x27f)][_0x63858c(0x268)](this,[''+Constants[_0x63858c(0x27d)]+_0x547a80[_0x63858c(0x22d)](encodeURIComponent,JSON['stringify'](_0x867b54))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0xb74070,_0x4e73cd,_0x16f710),_0xb74070;}return _0x13a7c8[_0x63858c(0x268)](this,arguments)[_0x63858c(0x2a6)](_0x581fc4=>{const _0x52dd12=_0x63858c;let _0x50fdfa=_0x275ca3[_0x52dd12(0x2d7)];return _0x19b0a4[_0x52dd12(0x24c)](typeof _0x275ca3,_0x19b0a4[_0x52dd12(0x270)])&&(_0x50fdfa=_0x275ca3),PlaywrightSessionDetails[_0x52dd12(0x224)](_0x581fc4,_0x4e73cd,_0x50fdfa),_0x581fc4;});};}});const _0x1d60d8=_0x196edc[_0x1a2302(0x295)];Object['defineProperty'](_0x196edc,_0x39fa74['AqpxS'],{'get':function(){return async function _0x251fb3(){const _0x1872fc=a4_0x47fa;return _0x1d60d8[_0x1872fc(0x268)](this,arguments)['then'](_0x5cc9a6=>{const _0x50f348=_0x1872fc;return PlaywrightSessionDetails[_0x50f348(0x224)](_0x5cc9a6,null),_0x5cc9a6;});};}});};function a4_0x47fa(_0x22850f,_0x3481d4){const _0x377d47=a4_0x377d();return a4_0x47fa=function(_0x47fa45,_0x435195){_0x47fa45=_0x47fa45-0x1ee;let _0x2e9e6e=_0x377d47[_0x47fa45];return _0x2e9e6e;},a4_0x47fa(_0x22850f,_0x3481d4);}class O11yHelper{[a4_0x3f7774(0x2ae)]=null;['currentHook']=null;['enabled']=![];[a4_0x3f7774(0x279)]=![];constructor(_0x543248,_0x1cf4e5){const _0x2614c2=a4_0x3f7774,_0x139d12={'EdBeQ':'4|2|0|1|5|3','mfyiG':function(_0x5c9f22){return _0x5c9f22();},'WsfbD':function(_0x5e33e7,_0x1aa1d5){return _0x5e33e7===_0x1aa1d5;},'yuvSO':_0x2614c2(0x29f),'btcLr':function(_0x2e2c40,_0x2126b5){return _0x2e2c40(_0x2126b5);},'JAVqe':function(_0x7be13a){return _0x7be13a();}},_0x1b3fa8=_0x139d12[_0x2614c2(0x214)][_0x2614c2(0x274)]('|');let _0x48ed9b=0x0;while(!![]){switch(_0x1b3fa8[_0x48ed9b++]){case'0':this[_0x2614c2(0x23e)]=_0x543248;continue;case'1':this[_0x2614c2(0x2bc)]=_0x139d12[_0x2614c2(0x2c7)](getTestEnv);continue;case'2':this['frameworkName']=_0x1cf4e5[_0x2614c2(0x279)];continue;case'3':this[_0x2614c2(0x23e)]&&_0x139d12[_0x2614c2(0x2a1)](this[_0x2614c2(0x23e)][_0x2614c2(0x2b6)][_0x2614c2(0x23d)],_0x139d12[_0x2614c2(0x2a7)])&&_0x139d12[_0x2614c2(0x251)](mockPWBrowserType,null);continue;case'4':this[_0x2614c2(0x29d)]=_0x139d12['JAVqe'](shouldProcessEventForTesthub);continue;case'5':this[_0x2614c2(0x210)]=new testOpsHelper[(_0x2614c2(0x219))]({'cwd':process[_0x2614c2(0x1ff)]()},this['_testEnv'][_0x2614c2(0x2e3)]);continue;}break;}}[a4_0x3f7774(0x21d)](){const _0x24c864=a4_0x3f7774;if(!this[_0x24c864(0x29d)])return;testOpsHelper[_0x24c864(0x244)](),process[_0x24c864(0x239)](_0x24c864(0x2df)+process[_0x24c864(0x25a)]),process['on']('bs:addLog:'+process['pid'],this['appendTestItemLog'][_0x24c864(0x275)](this));}async[a4_0x3f7774(0x213)](){const _0x328084=a4_0x3f7774;await RequestQueueHandler[_0x328084(0x20a)]()['shutdown']();}async[a4_0x3f7774(0x1fd)](_0x360c88){const _0x22b141=a4_0x3f7774,_0xe65a7a={'jrSsP':'LogCreated','SjvdX':function(_0x1f12e7,_0x218b1c){return _0x1f12e7(_0x218b1c);}};try{this['currentHook']&&!this[_0x22b141(0x207)][_0x22b141(0x2c0)]&&(_0x360c88['hook_run_uuid']=this[_0x22b141(0x207)][_0x22b141(0x22c)]);!_0x360c88[_0x22b141(0x2d6)]&&this[_0x22b141(0x2ae)]&&!this[_0x22b141(0x2ae)][_0x22b141(0x2c0)]&&(_0x360c88[_0x22b141(0x22e)]=this[_0x22b141(0x2ae)][_0x22b141(0x2a8)]);if(_0x360c88[_0x22b141(0x2d6)]||_0x360c88[_0x22b141(0x22e)]){const _0x3ced22={};_0x3ced22[_0x22b141(0x240)]=_0xe65a7a[_0x22b141(0x290)],_0x3ced22['logs']=[_0x360c88],await SessionHandler[_0x22b141(0x225)](_0x3ced22);}}catch(_0xd41dda){_0xe65a7a['SjvdX'](debug,_0x22b141(0x298)+_0xd41dda);}}async['sendCBTInfo'](_0xd39c41){const _0x2c14f6=a4_0x3f7774,_0x35ed16={'knDWj':_0x2c14f6(0x226),'JHAcU':function(_0x2babf1,_0x36a7fc){return _0x2babf1(_0x36a7fc);}};if(!this[_0x2c14f6(0x29d)])return;const _0x5b8398=this[_0x2c14f6(0x29a)](this[_0x2c14f6(0x23e)]);try{const _0x5048ed={};_0x5048ed[_0x2c14f6(0x2c9)]=_0xd39c41,_0x5048ed['integrations']=_0x5b8398;const _0x3eff97=_0x5048ed,_0x4fe1ed={};_0x4fe1ed['event_type']=_0x35ed16[_0x2c14f6(0x2b3)],_0x4fe1ed[_0x2c14f6(0x1fc)]=_0x3eff97,await SessionHandler[_0x2c14f6(0x225)](_0x4fe1ed);}catch(_0x43ca94){_0x35ed16[_0x2c14f6(0x284)](debug,_0x2c14f6(0x262)+_0x43ca94);}}[a4_0x3f7774(0x29a)](_0x2fba81){const _0x42c470=a4_0x3f7774,_0x39912f={'wMaQg':function(_0x574651,_0x461c69){return _0x574651(_0x461c69);}};return _0x39912f[_0x42c470(0x2aa)](fetchPlatformDetails,_0x2fba81);}[a4_0x3f7774(0x2cc)]=_0x14ad31=>{const _0x5e8d9f=a4_0x3f7774,_0x49393e={};_0x49393e['AkbAN']='_beforeEach',_0x49393e[_0x5e8d9f(0x212)]=_0x5e8d9f(0x271);const _0x494c8c=_0x49393e;if(!_0x14ad31||!_0x14ad31[_0x5e8d9f(0x2a0)])return;[_0x494c8c[_0x5e8d9f(0x2cb)],_0x494c8c[_0x5e8d9f(0x212)]]['forEach'](_0x30bb0d=>{const _0x487988=_0x5e8d9f,_0x2bb0a3=_0x14ad31[_0x487988(0x2a0)][_0x30bb0d];_0x2bb0a3[_0x487988(0x22f)](_0xc994c7=>{const _0x2e5e23=_0x487988;_0xc994c7[_0x2e5e23(0x22c)]&&(_0xc994c7[_0x2e5e23(0x22c)]=null);});});};[a4_0x3f7774(0x2bf)](_0x7c38e0){const _0x39b55e=a4_0x3f7774,_0x51ac0b={'uBofX':_0x39b55e(0x222),'liIZz':function(_0x5dae42){return _0x5dae42();},'odjAJ':function(_0x79cb30,_0x9652a){return _0x79cb30===_0x9652a;},'fZLpI':'_afterEach','gXYZt':function(_0x4a1863){return _0x4a1863();},'ACtnT':_0x39b55e(0x202),'BBzGJ':_0x39b55e(0x2c5),'svAGL':_0x39b55e(0x257)};if(!_0x7c38e0||!_0x7c38e0[_0x39b55e(0x2a0)])return;[_0x51ac0b[_0x39b55e(0x285)],_0x51ac0b[_0x39b55e(0x291)],_0x51ac0b[_0x39b55e(0x26d)],_0x51ac0b['fZLpI']][_0x39b55e(0x22f)](_0x1a2f4a=>{const _0x593062=_0x39b55e,_0x27a712={'VXhvX':_0x51ac0b[_0x593062(0x27e)],'lpLKL':function(_0x26fbde){return _0x51ac0b['liIZz'](_0x26fbde);},'KddYE':function(_0x576c1e,_0x47a7a0){const _0x23d984=_0x593062;return _0x51ac0b[_0x23d984(0x2e4)](_0x576c1e,_0x47a7a0);},'RoDNN':_0x51ac0b['fZLpI'],'WtjlC':function(_0x4012e9){const _0x5bdcbc=_0x593062;return _0x51ac0b[_0x5bdcbc(0x206)](_0x4012e9);}},_0x5e1261=_0x7c38e0[_0x593062(0x2a0)][_0x1a2f4a]||[];_0x5e1261[_0x593062(0x22f)](_0x6ccdc8=>{const _0x52a114=_0x593062;if(_0x6ccdc8[_0x52a114(0x241)]['includes'](_0x27a712[_0x52a114(0x2cd)]))return;if(!_0x6ccdc8['hookAnalyticsId'])_0x6ccdc8['hookAnalyticsId']=_0x27a712['lpLKL'](uuidv4);else _0x6ccdc8[_0x52a114(0x2c0)]&&_0x27a712[_0x52a114(0x220)](_0x1a2f4a,_0x27a712['RoDNN'])&&(_0x6ccdc8[_0x52a114(0x22c)]=_0x27a712[_0x52a114(0x27b)](uuidv4),delete _0x6ccdc8[_0x52a114(0x2c0)]);});}),this[_0x39b55e(0x2bf)](_0x7c38e0[_0x39b55e(0x2a0)]);}[a4_0x3f7774(0x21a)](_0x2f1460){const _0x58871b=a4_0x3f7774,_0x5a50cd={};_0x5a50cd['GYpZN']=_0x58871b(0x202),_0x5a50cd[_0x58871b(0x233)]='_afterAll',_0x5a50cd[_0x58871b(0x266)]=_0x58871b(0x257),_0x5a50cd[_0x58871b(0x1fe)]='_afterEach';const _0x1119b8=_0x5a50cd;if(!_0x2f1460||!_0x2f1460[_0x58871b(0x2a0)])return[];const _0x3b751e=[];return[_0x1119b8[_0x58871b(0x21b)],_0x1119b8[_0x58871b(0x233)],_0x1119b8[_0x58871b(0x266)],_0x1119b8[_0x58871b(0x1fe)]][_0x58871b(0x22f)](_0x334c74=>{const _0x5d79d7=_0x58871b,_0x330381=_0x2f1460[_0x5d79d7(0x2a0)][_0x334c74]||[];_0x330381[_0x5d79d7(0x22f)](_0x519342=>{const _0x57ee94=_0x5d79d7;_0x519342[_0x57ee94(0x22c)]&&_0x3b751e[_0x57ee94(0x280)](_0x519342['hookAnalyticsId']);});}),[][_0x58871b(0x272)](_0x3b751e,this[_0x58871b(0x21a)](_0x2f1460['parent']));}[a4_0x3f7774(0x2e9)](_0x18c10e){const _0x1827a8=a4_0x3f7774,_0x37db14=/^"(?<hook>.*)" hook:.*$/,_0x35cbec=_0x18c10e[_0x1827a8(0x241)],_0x516c90=_0x35cbec[_0x1827a8(0x25b)](_0x37db14);if(_0x516c90&&_0x516c90['groups'])return _0x516c90[_0x1827a8(0x216)][_0x1827a8(0x2db)]['toUpperCase']()['replace']('\x20','_');return null;}['findGitConfig'](_0x11cfb8){const _0x41a208=a4_0x3f7774,_0xbe2df4={};_0xbe2df4[_0x41a208(0x1f4)]=function(_0x3def10,_0x506225){return _0x3def10===_0x506225;},_0xbe2df4['dUEXK']='.git',_0xbe2df4['CEUcu']=_0x41a208(0x20d);const _0x1d73dd=_0xbe2df4,_0x535be8=path[_0x41a208(0x218)];if(_0x1d73dd[_0x41a208(0x1f4)](_0x11cfb8,null)||_0x1d73dd[_0x41a208(0x1f4)](_0x11cfb8,'')||_0x1d73dd[_0x41a208(0x1f4)](_0x11cfb8,_0x535be8)||_0x1d73dd[_0x41a208(0x1f4)](_0x11cfb8,path[_0x41a208(0x259)](_0x11cfb8)))return null;try{return fs[_0x41a208(0x297)](path['join'](_0x11cfb8,_0x1d73dd[_0x41a208(0x205)],_0x1d73dd[_0x41a208(0x2a9)])),_0x11cfb8;}catch(_0xc6945e){const _0x2629d4=path['dirname'](_0x11cfb8);return this[_0x41a208(0x20e)](_0x2629d4);}}['getRootParentFile'](_0x291516){const _0x5cacb0=a4_0x3f7774,_0x63e85f={};_0x63e85f[_0x5cacb0(0x2b4)]=function(_0x11feb2,_0x4d9ef4){return _0x11feb2>_0x4d9ef4;};const _0x31f2b3=_0x63e85f;if(_0x291516[_0x5cacb0(0x2b1)])return _0x291516[_0x5cacb0(0x2b1)];if(_0x291516[_0x5cacb0(0x23f)]){const _0x55610b=_0x291516['ctx'][_0x5cacb0(0x2ae)]?this['getRootParentFile'](_0x291516[_0x5cacb0(0x23f)][_0x5cacb0(0x2ae)]):null;if(_0x55610b)return _0x55610b;}if(_0x291516[_0x5cacb0(0x2a0)]){const _0x22481d=this['getRootParentFile'](_0x291516['parent'])||(_0x291516[_0x5cacb0(0x2a0)][_0x5cacb0(0x23f)]&&_0x291516['parent'][_0x5cacb0(0x23f)][_0x5cacb0(0x2ae)]?this[_0x5cacb0(0x201)](_0x291516[_0x5cacb0(0x2a0)][_0x5cacb0(0x23f)]['currentTest']):null);if(_0x22481d)return _0x22481d;_0x291516[_0x5cacb0(0x2a0)]['suites']&&_0x31f2b3[_0x5cacb0(0x2b4)](_0x291516[_0x5cacb0(0x2a0)]['suites']['length'],0x0)&&_0x291516['parent'][_0x5cacb0(0x2a3)]['forEach'](_0x412921=>{const _0x28ece9=_0x5cacb0,_0x2d73f4=_0x412921[_0x28ece9(0x23f)]?this[_0x28ece9(0x201)](_0x412921[_0x28ece9(0x23f)]):null;if(_0x2d73f4)return _0x2d73f4;});}return null;}[a4_0x3f7774(0x20c)](_0x118fb2){const _0x4c2385=a4_0x3f7774,_0x358be0={};_0x358be0[_0x4c2385(0x229)]=function(_0x2645ff,_0x5b6267){return _0x2645ff!==_0x5b6267;};const _0x206b95=_0x358be0,_0x3896ad=[];if(_0x118fb2&&_0x118fb2[_0x4c2385(0x2a0)]){let _0xf34ae=_0x118fb2[_0x4c2385(0x2a0)];while(_0xf34ae&&_0x206b95[_0x4c2385(0x229)](_0xf34ae[_0x4c2385(0x241)],'')){_0x3896ad[_0x4c2385(0x280)](_0xf34ae[_0x4c2385(0x241)]),_0xf34ae=_0xf34ae[_0x4c2385(0x2a0)];}}return _0x3896ad;}[a4_0x3f7774(0x232)](_0xc6b1b9,_0x4a6247,_0x127fa3=undefined){const _0x2a6798=a4_0x3f7774,_0x3b5e6f={'zUvGW':function(_0xfab7f,_0x2da7d8){return _0xfab7f(_0x2da7d8);},'dTUJq':function(_0x4ae7eb){return _0x4ae7eb();},'nLeJr':function(_0x3d388e){return _0x3d388e();},'IBtxn':function(_0x5b4539){return _0x5b4539();},'pIJrT':_0x2a6798(0x2e0),'XwIxx':_0x2a6798(0x1f9),'hWAJv':function(_0x40fcfb,_0x543907){return _0x40fcfb!==_0x543907;},'KgtIZ':_0x2a6798(0x236),'gqoGy':_0x2a6798(0x2e7),'MSflj':_0x2a6798(0x2b9),'hnYLR':_0x2a6798(0x247),'TIfom':_0x2a6798(0x28a),'qBMPS':_0x2a6798(0x29b),'sZwiO':function(_0x1d172c,_0x3387cb){return _0x1d172c-_0x3387cb;},'DNHcO':function(_0x257be3,_0x19ef47,_0x45183a,_0x1f6732,_0x15bd22){return _0x257be3(_0x19ef47,_0x45183a,_0x1f6732,_0x15bd22);},'oHzWI':_0x2a6798(0x221),'aSUDi':_0x2a6798(0x238),'OGbrf':_0x2a6798(0x2b2),'rzZWf':_0x2a6798(0x26e),'lHdMO':'backtrace','cyoqs':_0x2a6798(0x25c),'kOaUe':_0x2a6798(0x24f),'mnuWl':function(_0x2a22e5,_0x1e6905){return _0x2a22e5===_0x1e6905;},'bATnL':_0x2a6798(0x278),'NDHYs':_0x2a6798(0x1fc)};if(!this[_0x2a6798(0x29d)])return;try{if(_0x4a6247['fn']&&_0x4a6247['fn'][_0x2a6798(0x20f)]()[_0x2a6798(0x25b)](/browserstack internal helper hook/))return;const _0x53d118=_0x3b5e6f['zUvGW'](parseEvent,_0xc6b1b9);if(!_0x53d118)return;if(_0x53d118[_0x2a6798(0x249)]){this['currentTest']=_0x4a6247,this[_0x2a6798(0x207)]=null;if(_0x53d118['started']||_0x53d118[_0x2a6798(0x28a)]){_0x4a6247[_0x2a6798(0x263)]=new Date(),_0x4a6247[_0x2a6798(0x2c0)]=![];if(!_0x4a6247['testAnalyticsId'])_0x4a6247[_0x2a6798(0x2a8)]=_0x3b5e6f[_0x2a6798(0x2ca)](uuidv4);else _0x4a6247[_0x2a6798(0x2c0)]&&(!_0x4a6247[_0x2a6798(0x288)]&&(_0x4a6247[_0x2a6798(0x288)]=_0x4a6247[_0x2a6798(0x2a8)]),_0x4a6247[_0x2a6798(0x2a8)]=_0x3b5e6f['dTUJq'](uuidv4));}}else{if(_0x53d118[_0x2a6798(0x2db)]){this['currentHook']=_0x4a6247;if(_0x53d118[_0x2a6798(0x252)]){_0x4a6247['startedAt']=new Date(),_0x4a6247['markedStatus']=![];if(!_0x4a6247[_0x2a6798(0x22c)])_0x4a6247['hookAnalyticsId']=_0x3b5e6f[_0x2a6798(0x230)](uuidv4);else _0x4a6247[_0x2a6798(0x22c)]&&_0x4a6247[_0x2a6798(0x2c0)]&&(_0x4a6247['hookAnalyticsId']=_0x3b5e6f[_0x2a6798(0x29c)](uuidv4));}}}if(_0x53d118['finished']&&_0x4a6247[_0x2a6798(0x2c0)])return;let _0x445830;try{_0x445830=this[_0x2a6798(0x201)](_0x4a6247);}catch(_0x32a287){logger[_0x2a6798(0x2ac)](_0x2a6798(0x273)+_0x32a287),_0x445830=null;}const _0x51a71f=_0x3b5e6f[_0x2a6798(0x28b)](require,_0x3b5e6f[_0x2a6798(0x2ce)]);let _0x4ab3bb=[];_0x127fa3&&(_0x4ab3bb=[_0x127fa3,_0x3b5e6f[_0x2a6798(0x2b5)]]);const _0x81041c=_0x3b5e6f[_0x2a6798(0x209)](_0x4a6247[_0x2a6798(0x296)],undefined)?_0x51a71f['inspect'](_0x4a6247['errorsDetailed'][0x0]):_0x3b5e6f[_0x2a6798(0x209)](_0x127fa3,undefined)?_0x127fa3[_0x2a6798(0x20f)]():undefined,_0x5f1455=_0x445830?this[_0x2a6798(0x20e)](_0x445830):null,_0x34eaad=_0x445830?this['_paths'][_0x2a6798(0x248)](this[_0x2a6798(0x201)](_0x4a6247)):_0x3b5e6f[_0x2a6798(0x2e8)];let _0x234619=_0x3b5e6f[_0x2a6798(0x293)];const _0x5885f4=!_0x53d118[_0x2a6798(0x252)]?new Date()[_0x2a6798(0x243)]():null;if(_0x53d118['finished'])_0x234619=_0x127fa3?_0x3b5e6f[_0x2a6798(0x2ab)]:_0x3b5e6f[_0x2a6798(0x21f)],_0x4a6247[_0x2a6798(0x2c0)]=!![];else _0x53d118[_0x2a6798(0x28a)]&&(_0x234619=_0x3b5e6f[_0x2a6798(0x2af)],_0x4a6247[_0x2a6798(0x2c0)]=!![]);const _0x14bbbc={'framework':this[_0x2a6798(0x279)],'uuid':_0x4a6247[_0x2a6798(0x2a8)]||_0x4a6247[_0x2a6798(0x22c)],'name':_0x4a6247[_0x2a6798(0x241)],'body':{'lang':_0x3b5e6f[_0x2a6798(0x258)],'code':_0x4a6247[_0x2a6798(0x2e5)][_0x2a6798(0x20f)]()},'type':_0x4a6247[_0x2a6798(0x2bb)],'scope':_0x4a6247['fullTitle'](),'scopes':this[_0x2a6798(0x20c)](_0x4a6247),'file_name':_0x34eaad,'vc_filepath':_0x5f1455?path['relative'](_0x5f1455,_0x445830):null,'location':_0x34eaad,'result':_0x234619,'failure_reason':_0x81041c,'duration_in_ms':_0x4a6247[_0x2a6798(0x234)]||(_0x53d118['finished']||_0x53d118[_0x2a6798(0x28a)])?_0x3b5e6f[_0x2a6798(0x2d8)](Date[_0x2a6798(0x203)](),new Date(_0x4a6247[_0x2a6798(0x263)])['getTime']()):null,'started_at':new Date(_0x4a6247['startedAt'])[_0x2a6798(0x243)](),'finished_at':_0x5885f4,'failure':testOpsHelper['failureData']['apply'](null,_0x4ab3bb),'failure_type':!_0x81041c?null:testOpsHelper[_0x2a6798(0x2c3)](_0x81041c),'retry_of':_0x4a6247[_0x2a6798(0x288)]||null,'tags':_0x4a6247[_0x2a6798(0x2d2)]||[],'customRerunParam':{'rerun_name':_0x4a6247[_0x2a6798(0x277)]()}};_0x3b5e6f[_0x2a6798(0x2d9)](appendTesthubParams,_0x14bbbc,_0xc6b1b9,_0x4a6247,FRAMEWORKS[_0x2a6798(0x2d0)]);if(_0x53d118[_0x2a6798(0x2db)])[_0x14bbbc[_0x2a6798(0x2ad)],_0x14bbbc[_0x2a6798(0x23d)]]=[this['getHookType'](_0x4a6247),_0x4a6247[_0x2a6798(0x23f)][_0x2a6798(0x249)][_0x2a6798(0x241)]],_0x53d118[_0x2a6798(0x28d)]?_0x3b5e6f[_0x2a6798(0x209)](_0x14bbbc['result'],_0x3b5e6f[_0x2a6798(0x2ab)])&&(_0x14bbbc[_0x2a6798(0x25d)]=_0x3b5e6f[_0x2a6798(0x21f)]):_0x14bbbc['body']={};else _0x53d118[_0x2a6798(0x249)]&&(this[_0x2a6798(0x2bf)](_0x4a6247),_0x53d118[_0x2a6798(0x28a)]&&this[_0x2a6798(0x2cc)](_0x4a6247),(_0x53d118[_0x2a6798(0x28d)]||_0x53d118[_0x2a6798(0x28a)])&&(_0x14bbbc['hooks']=this[_0x2a6798(0x21a)](_0x4a6247)));this['driver']&&(_0x53d118[_0x2a6798(0x252)]||_0x53d118[_0x2a6798(0x28a)])&&(_0x14bbbc[_0x3b5e6f['oHzWI']]=this[_0x2a6798(0x29a)](this['driver']));_0x53d118[_0x2a6798(0x249)]&&_0x53d118[_0x2a6798(0x28d)]&&_0x4a6247[_0x2a6798(0x25f)]&&(_0x14bbbc[_0x3b5e6f[_0x2a6798(0x2dd)]]={'feature':{'name':_0x4a6247[_0x2a6798(0x2a0)][_0x2a6798(0x2ba)][_0x2a6798(0x23d)],'path':_0x14bbbc[_0x2a6798(0x204)],'description':_0x4a6247[_0x2a6798(0x2a0)][_0x2a6798(0x26a)]},'scenario':{'name':_0x4a6247[_0x2a6798(0x241)]},'steps':_0x4a6247[_0x2a6798(0x25f)]});const _0x352426=_0x14bbbc[_0x3b5e6f[_0x2a6798(0x215)]][0x0];_0x352426&&(_0x14bbbc[_0x3b5e6f[_0x2a6798(0x26c)]]=_0x352426[_0x3b5e6f[_0x2a6798(0x27a)]],_0x14bbbc[_0x3b5e6f[_0x2a6798(0x211)]]=_0x352426[_0x3b5e6f['kOaUe']]);if(_0x4a6247[_0x2a6798(0x25f)])for(const _0xbdac98 of _0x4a6247[_0x2a6798(0x25f)]){!_0xbdac98[_0x2a6798(0x2cf)]&&(_0xbdac98[_0x2a6798(0x2cf)]=new Date()[_0x2a6798(0x243)](),_0x3b5e6f[_0x2a6798(0x2be)](_0xbdac98[_0x2a6798(0x25d)],_0x3b5e6f[_0x2a6798(0x293)])&&(_0x352426?(_0xbdac98[_0x2a6798(0x25d)]=_0x3b5e6f[_0x2a6798(0x2ab)],_0xbdac98['failure']=_0x352426[_0x3b5e6f[_0x2a6798(0x27a)]][0x0]):_0xbdac98[_0x2a6798(0x25d)]=_0x3b5e6f[_0x2a6798(0x21f)]));}const _0x3bf598={};_0x3bf598[_0x2a6798(0x240)]=_0x53d118[_0x2a6798(0x28a)]?TEST_EVENTS[_0x2a6798(0x1f2)]:_0xc6b1b9;const _0x24e353=_0x3bf598;return _0x53d118[_0x2a6798(0x2db)]?_0x24e353[_0x3b5e6f[_0x2a6798(0x2b7)]]=_0x14bbbc:_0x24e353[_0x3b5e6f[_0x2a6798(0x20b)]]=_0x14bbbc,_0x24e353;}catch(_0x27f076){logger[_0x2a6798(0x2ac)](_0x2a6798(0x235)+_0xc6b1b9+_0x2a6798(0x282)+_0x27f076);}}async[a4_0x3f7774(0x2c8)](_0x3d5892,_0x2c45a8){const _0x27b721=a4_0x3f7774;if(!this[_0x27b721(0x29d)]||!_0x2c45a8||!_0x3d5892)return![];try{return await SessionHandler[_0x27b721(0x225)](_0x2c45a8);}catch(_0x5d017f){logger[_0x27b721(0x2ac)](_0x27b721(0x1fa)+_0x3d5892+_0x27b721(0x282)+_0x5d017f);}}[a4_0x3f7774(0x1f5)](_0x37dd7c){const _0x340b11=a4_0x3f7774,_0x58641f={};_0x58641f[_0x340b11(0x276)]='pending';const _0x2e1443=_0x58641f;return{'id':_0x37dd7c[_0x340b11(0x2c6)],'text':_0x37dd7c['text'],'keyword':_0x37dd7c['keyword'],'started_at':_0x37dd7c[_0x340b11(0x263)]['toISOString'](),'result':_0x2e1443['khMbQ']};}[a4_0x3f7774(0x264)](_0x339de0){const _0x7f4cd0=a4_0x3f7774,_0x242414={'SEilE':function(_0x49868f){return _0x49868f();}};!this['currentTest'][_0x7f4cd0(0x25f)]&&(this[_0x7f4cd0(0x2ae)][_0x7f4cd0(0x25f)]=[]),!_0x339de0[_0x7f4cd0(0x2c6)]&&(_0x339de0[_0x7f4cd0(0x2c6)]=_0x242414['SEilE'](uuidv4),_0x339de0[_0x7f4cd0(0x263)]=new Date(),this['currentTest'][_0x7f4cd0(0x25f)][_0x7f4cd0(0x280)](this[_0x7f4cd0(0x1f5)](_0x339de0)));}[a4_0x3f7774(0x255)](_0x47561c){const _0x13da0e=a4_0x3f7774,_0x3bd98d={'TgoVu':function(_0x3493f2,_0x77d765){return _0x3493f2(_0x77d765);},'pFUCX':_0x13da0e(0x2e1),'hdMVp':_0x13da0e(0x2e7),'CRJYM':_0x13da0e(0x247),'IVxVH':function(_0x5e568c,_0x3e97fd){return _0x5e568c-_0x3e97fd;}};let _0x234234=this[_0x13da0e(0x2ae)][_0x13da0e(0x25f)][_0x13da0e(0x217)](_0xc00c3b=>_0xc00c3b['id']===_0x47561c[_0x13da0e(0x2c6)]);_0x3bd98d[_0x13da0e(0x24b)](isUndefined,_0x234234)&&(_0x234234=this[_0x13da0e(0x1f5)](_0x47561c)),_0x234234[_0x13da0e(0x25d)]=[_0x3bd98d['pFUCX'],_0x3bd98d[_0x13da0e(0x223)]][_0x13da0e(0x1f3)](_0x47561c['status'])?_0x3bd98d[_0x13da0e(0x2a4)]:_0x47561c['status'],_0x234234[_0x13da0e(0x2cf)]=new Date()[_0x13da0e(0x243)](),_0x234234['duration']=_0x3bd98d['IVxVH'](Date[_0x13da0e(0x203)](),_0x47561c[_0x13da0e(0x263)]['getTime']()),_0x234234[_0x13da0e(0x2b2)]=_0x47561c['err']?_0x47561c[_0x13da0e(0x1f9)]['message']:null;}}const a4_0x53faa1={};a4_0x53faa1[a4_0x3f7774(0x1ef)]=O11yHelper,a4_0x53faa1[a4_0x3f7774(0x281)]=STATE_PASSED,a4_0x53faa1[a4_0x3f7774(0x23c)]=STATE_FAILED,a4_0x53faa1[a4_0x3f7774(0x2c4)]=TEST_EVENTS,module['exports']=a4_0x53faa1;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x17b048=a5_0x2fc8;(function(_0x28481f,_0x651565){const _0x36ccc6=a5_0x2fc8,_0x4fbac4=_0x28481f();while(!![]){try{const _0x2d8fe8=parseInt(_0x36ccc6(0x1e5))/0x1*(parseInt(_0x36ccc6(0x221))/0x2)+parseInt(_0x36ccc6(0x1eb))/0x3+-parseInt(_0x36ccc6(0x1ba))/0x4+-parseInt(_0x36ccc6(0x218))/0x5*(parseInt(_0x36ccc6(0x1c9))/0x6)+parseInt(_0x36ccc6(0x20e))/0x7*(-parseInt(_0x36ccc6(0x1b9))/0x8)+parseInt(_0x36ccc6(0x1ca))/0x9*(-parseInt(_0x36ccc6(0x202))/0xa)+parseInt(_0x36ccc6(0x1ce))/0xb;if(_0x2d8fe8===_0x651565)break;else _0x4fbac4['push'](_0x4fbac4['shift']());}catch(_0x452411){_0x4fbac4['push'](_0x4fbac4['shift']());}}}(a5_0x2132,0x46bea));const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x17b048(0x212))[a5_0x17b048(0x1c1)],{default:BrowserStackSetup}=require(a5_0x17b048(0x1b1)),helper=require(a5_0x17b048(0x1b4)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x17b048(0x1cd)),TestHubHandler=require(a5_0x17b048(0x21e)),testOpsHelper=require(a5_0x17b048(0x1f5)),chalk=require(a5_0x17b048(0x1f7)),PerformanceTester=require(a5_0x17b048(0x1dd)),PerformanceEvents=require(a5_0x17b048(0x1c6))[a5_0x17b048(0x1ff)];function a5_0x2fc8(_0x171edb,_0xafb464){const _0x2132f4=a5_0x2132();return a5_0x2fc8=function(_0x2fc89c,_0x4b630c){_0x2fc89c=_0x2fc89c-0x1af;let _0x2cb587=_0x2132f4[_0x2fc89c];return _0x2cb587;},a5_0x2fc8(_0x171edb,_0xafb464);}function printCucumberStats(_0x56f55a){const _0x466e54=a5_0x17b048,_0x414421={};_0x414421['KNTDf']=function(_0xf35363,_0x47a2af){return _0xf35363>_0x47a2af;},_0x414421[_0x466e54(0x21a)]=function(_0x284479,_0x43c2cc){return _0x284479-_0x43c2cc;},_0x414421[_0x466e54(0x222)]=function(_0x4aa531,_0x9cdc93){return _0x4aa531>_0x9cdc93;},_0x414421['chlHX']=function(_0xdb3619,_0x1a883a){return _0xdb3619>_0x1a883a;},_0x414421[_0x466e54(0x1d0)]=function(_0x459d1c,_0x1a7534){return _0x459d1c>_0x1a7534;},_0x414421[_0x466e54(0x210)]=function(_0x55424a,_0x2e4d4c){return _0x55424a>_0x2e4d4c;},_0x414421[_0x466e54(0x1bd)]=function(_0x40df8f,_0x54bc47){return _0x40df8f>_0x54bc47;},_0x414421[_0x466e54(0x1b8)]=function(_0x538b27,_0x5cf54b){return _0x538b27+_0x5cf54b;},_0x414421[_0x466e54(0x1bc)]=function(_0x285d89,_0x8e306){return _0x285d89+_0x8e306;},_0x414421['jcAnF']=function(_0x5674bb,_0xbad737){return _0x5674bb+_0xbad737;},_0x414421['pvKCf']=function(_0x376217,_0x14a580){return _0x376217+_0x14a580;},_0x414421[_0x466e54(0x1e3)]=function(_0x5cba78,_0x2f239c){return _0x5cba78+_0x2f239c;},_0x414421['apDxY']=function(_0x3f9a17,_0x1ca028){return _0x3f9a17===_0x1ca028;},_0x414421['HaMZR']=function(_0x8c8154,_0x406182){return _0x8c8154===_0x406182;},_0x414421['XpfSJ']='****\x20RESULTS\x20****';const _0x54bfa0=_0x414421;let _0x1773c3=0x0;if(_0x54bfa0['HaMZR'](_0x56f55a['length'],0x0))return _0x1773c3;return console[_0x466e54(0x1fe)](chalk[_0x466e54(0x1d5)]['bgWhite'](_0x54bfa0[_0x466e54(0x203)])),_0x56f55a[_0x466e54(0x200)](_0x5ef31f=>{const _0x42caf=_0x466e54,_0x4e0d34=_0x5ef31f[0x0],_0x4ec62b=_0x5ef31f[0x1];console[_0x42caf(0x1fe)]('\x0a'+chalk['bold'][_0x42caf(0x1ef)](''+helper[_0x42caf(0x213)](_0x4e0d34)));const _0x1172c4=_0x4ec62b[_0x42caf(0x1bf)],_0x3a77fe=_0x4ec62b['steps'],_0x1fd3bf=_0x4ec62b[_0x42caf(0x1f9)],_0x57b9c6=_0x4ec62b[_0x42caf(0x1c0)],_0x211acd=_0x4ec62b[_0x42caf(0x1c2)],_0x1df303=_0x4ec62b[_0x42caf(0x1e0)],_0x4ebd7a=_0x4ec62b[_0x42caf(0x21b)],_0x232fad=_0x4ec62b[_0x42caf(0x1d8)],_0x535284=_0x4ec62b[_0x42caf(0x207)],_0x25038f=_0x4ec62b[_0x42caf(0x1f2)],_0x5b07d6=_0x4ec62b[_0x42caf(0x1ec)];let _0x4e0b57=_0x1172c4+'\x20scenarios';const _0x3d7bbe=_0x54bfa0['KNTDf'](_0x54bfa0[_0x42caf(0x21a)](_0x1172c4,_0x1fd3bf),0x0)?_0x54bfa0[_0x42caf(0x21a)](_0x1172c4,_0x1fd3bf):0x0;if(_0x54bfa0['KNTDf'](_0x1fd3bf,0x0)&&_0x54bfa0[_0x42caf(0x1b5)](_0x3d7bbe,0x0))_0x4e0b57+='\x20('+chalk[_0x42caf(0x1d5)]['red'](_0x1fd3bf+'\x20failed')+',\x20'+chalk[_0x42caf(0x1d5)][_0x42caf(0x1e7)](_0x3d7bbe+_0x42caf(0x206))+')';else(_0x54bfa0['KNTDf'](_0x1fd3bf,0x0)||_0x54bfa0[_0x42caf(0x222)](_0x3d7bbe,0x0))&&(_0x4e0b57+=_0x54bfa0[_0x42caf(0x1b5)](_0x1fd3bf,0x0)?'\x20('+chalk[_0x42caf(0x1d5)][_0x42caf(0x1d9)](_0x1fd3bf+_0x42caf(0x1da))+')':'\x20('+chalk[_0x42caf(0x1d5)]['green'](_0x3d7bbe+'\x20passed')+')');const _0x3e2755=_0x3a77fe+_0x42caf(0x21c),_0x122dcc=[];_0x54bfa0[_0x42caf(0x1b5)](_0x25038f,0x0)&&_0x122dcc[_0x42caf(0x1e8)](''+chalk['bold'][_0x42caf(0x1d9)](_0x25038f+_0x42caf(0x1f1)));_0x54bfa0['KNTDf'](_0x57b9c6,0x0)&&_0x122dcc[_0x42caf(0x1e8)](''+chalk[_0x42caf(0x1d5)][_0x42caf(0x1d9)](_0x57b9c6+_0x42caf(0x1da)));_0x54bfa0['chlHX'](_0x211acd,0x0)&&_0x122dcc[_0x42caf(0x1e8)](''+chalk[_0x42caf(0x1d5)][_0x42caf(0x1e7)](_0x211acd+_0x42caf(0x206)));_0x54bfa0[_0x42caf(0x1d0)](_0x4ebd7a,0x0)&&_0x122dcc['push'](''+chalk[_0x42caf(0x1d5)][_0x42caf(0x1ef)](_0x4ebd7a+_0x42caf(0x1e4)));_0x54bfa0[_0x42caf(0x210)](_0x1df303,0x0)&&_0x122dcc[_0x42caf(0x1e8)](''+chalk[_0x42caf(0x1d5)][_0x42caf(0x1de)](_0x1df303+_0x42caf(0x204)));_0x54bfa0[_0x42caf(0x222)](_0x232fad,0x0)&&_0x122dcc[_0x42caf(0x1e8)](''+chalk[_0x42caf(0x1d5)][_0x42caf(0x1ef)](_0x232fad+_0x42caf(0x1bb)));_0x54bfa0['TwNDW'](_0x535284,0x0)&&_0x122dcc[_0x42caf(0x1e8)](''+chalk[_0x42caf(0x1d5)][_0x42caf(0x1ef)](_0x535284+_0x42caf(0x204)));const _0x4cacc1=_0x54bfa0[_0x42caf(0x1b8)](_0x54bfa0[_0x42caf(0x1bc)](_0x54bfa0[_0x42caf(0x1bc)](_0x3e2755,'('),_0x122dcc[_0x42caf(0x1b0)](',\x20')),')');console[_0x42caf(0x1fe)](_0x54bfa0['jcAnF'](_0x54bfa0['pvKCf'](_0x54bfa0[_0x42caf(0x1e3)](_0x54bfa0[_0x42caf(0x1e3)]('\x0a',_0x4e0b57),'\x0a'),_0x4cacc1),'\x0a')),_0x54bfa0['apDxY'](_0x5b07d6,![])&&(_0x1773c3=0x1);}),_0x1773c3;}async function run(_0xaca145,_0xc84f4e){const _0xca7674=a5_0x17b048,_0x30ea8c={'wAwpa':function(_0x20aaea,_0x59482f){return _0x20aaea(_0x59482f);},'KcWHH':function(_0x4e0bf1,_0xbc4465){return _0x4e0bf1>_0xbc4465;},'xpFoU':_0xca7674(0x1f4),'BeZhk':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','NZdQf':_0xca7674(0x215),'aOWzi':'error\x20removing\x20tcg\x20config\x20file','aAHIE':'cucumber-js','yVtHd':_0xca7674(0x1fa),'lBckJ':function(_0x1127c0,_0x4b2360){return _0x1127c0-_0x4b2360;},'RKsQg':function(_0x1d44ca,_0x2c435b){return _0x1d44ca>=_0x2c435b;},'hDRjL':function(_0x1cc302,_0x3159d2){return _0x1cc302!=_0x3159d2;},'giTXV':_0xca7674(0x209),'ZZnSh':function(_0x330402,_0x257cb4,_0x5bb8e8,_0x42c28e,_0x253d25,_0x1a8bb3){return _0x330402(_0x257cb4,_0x5bb8e8,_0x42c28e,_0x253d25,_0x1a8bb3);}},_0x598e12=new BrowserStackSetup(_0xaca145,_0x30ea8c[_0xca7674(0x220)]);await _0x598e12[_0xca7674(0x20f)]();!helper[_0xca7674(0x211)]()&&await _0x598e12[_0xca7674(0x1d1)]();await helper[_0xca7674(0x1ea)](_0x598e12[_0xca7674(0x217)]);const _0x31d890=helper[_0xca7674(0x1b6)](_0x598e12[_0xca7674(0x217)]),_0x5a74c1=helper[_0xca7674(0x1f8)](_0x598e12['config'],_0x31d890,constants['FRAMEWORKS'][_0xca7674(0x1b7)]);if(!_0x598e12[_0xca7674(0x217)])return;const _0x38d0eb=_0x598e12[_0xca7674(0x217)][_0xca7674(0x1d7)]||helper[_0xca7674(0x1f3)](_0xaca145,_0xc84f4e,_0x598e12[_0xca7674(0x217)],constants[_0xca7674(0x1ed)][_0xca7674(0x1b7)])||0x1,_0x5a703c={'server':helper[_0xca7674(0x1b3)](_0x598e12[_0xca7674(0x217)]),'proxySettings':_0x598e12[_0xca7674(0x217)][_0xca7674(0x21d)],'maxWorkers':_0x38d0eb,'browserStackLogLevel':_0x598e12[_0xca7674(0x217)][_0xca7674(0x1e2)],'skipSessionName':_0x598e12['config']['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x598e12[_0xca7674(0x217)][_0xca7674(0x20a)]['skipSessionStatus'],'turboScaleUrl':_0x598e12[_0xca7674(0x217)][_0xca7674(0x1c7)]},_0x40a4d3=process[_0xca7674(0x1d2)],[_0x5ba401,_0x264e6c]=helper['parseFormatters'](_0x40a4d3),_0x3862b5=path[_0xca7674(0x1b0)](process[_0xca7674(0x1cc)](),_0x30ea8c[_0xca7674(0x1d3)]);if(_0x30ea8c[_0xca7674(0x219)](_0x264e6c[_0xca7674(0x1c5)],0x0)){helper[_0xca7674(0x1c4)](_0x3862b5);for(let _0x5199fc=_0x30ea8c[_0xca7674(0x1c3)](_0x5ba401[_0xca7674(0x1c5)],0x1);_0x30ea8c[_0xca7674(0x1f6)](_0x5199fc,0x0);_0x5199fc--){_0x40a4d3[_0xca7674(0x1cf)](_0x5ba401[_0x5199fc],0x2);}}!helper[_0xca7674(0x1be)](_0x598e12[_0xca7674(0x217)]['accessibilityOptions'])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xca7674(0x21f)](_0x598e12['config'][_0xca7674(0x20b)]));_0x30ea8c['hDRjL'](_0x598e12[_0xca7674(0x217)]['testObservability'],null)?process[_0xca7674(0x205)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x598e12[_0xca7674(0x217)][_0xca7674(0x1d6)]:process[_0xca7674(0x205)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x30ea8c[_0xca7674(0x1e6)];const _0x366abf=await TestHubHandler[_0xca7674(0x216)](constants[_0xca7674(0x1ed)][_0xca7674(0x1b7)],_0x598e12);PerformanceTester[_0xca7674(0x1dc)](PerformanceEvents[_0xca7674(0x1e9)]);let _0x33a9fd;_0x30ea8c[_0xca7674(0x1c8)](parallelCucumberRun,_0x5a74c1,_0x5a703c,_0x598e12[_0xca7674(0x217)],_0x40a4d3,_0x264e6c)[_0xca7674(0x208)](async _0x3430db=>{const _0x3084a6=_0xca7674;PerformanceTester[_0x3084a6(0x1f0)](PerformanceEvents[_0x3084a6(0x201)]),_0x33a9fd=_0x3430db;const _0x4d7b87=_0x30ea8c[_0x3084a6(0x1db)](printCucumberStats,_0x3430db);process[_0x3084a6(0x1fc)]=_0x4d7b87,_0x30ea8c[_0x3084a6(0x219)](_0x264e6c[_0x3084a6(0x1c5)],0x0)&&(logger[_0x3084a6(0x1d4)](_0x30ea8c['xpFoU']),helper['mergeOutputFiles'](_0x3862b5,_0x264e6c),logger[_0x3084a6(0x1d4)](_0x30ea8c['BeZhk']),helper[_0x3084a6(0x214)](_0x3862b5));})[_0xca7674(0x1cb)](async()=>{const _0x442f55=_0xca7674;PerformanceTester[_0x442f55(0x1f0)](PerformanceEvents[_0x442f55(0x201)]),_0x598e12[_0x442f55(0x20c)]=helper['getErrorMessageFromResults'](_0x33a9fd,_0x30ea8c[_0x442f55(0x1b2)]),testOpsHelper[_0x442f55(0x1af)]();try{await TestHubHandler[_0x442f55(0x20d)]();}catch(_0x3ebe7c){logger[_0x442f55(0x1d4)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x3ebe7c));}try{const {browserstackFolderPath:_0x3d760d,tcgConfigPath:_0x41507f}=helper[_0x442f55(0x1ee)]();fs[_0x442f55(0x1e1)](_0x41507f),fs[_0x442f55(0x1df)](_0x3d760d);}catch(_0x50eee0){logger['debug'](_0x30ea8c[_0x442f55(0x1fd)],_0x50eee0);}await utilities['finalExecution'](_0x598e12);});}module[a5_0x17b048(0x1fb)]=run;function a5_0x2132(){const _0x54f87c=['stepsAmbiguous','getUserWorkerCount','Generating\x20consolidated\x20report...','../../helpers/test-observability/utils','RKsQg','chalk','prepareCapabilities','scenariosFailed','tmp','exports','exitCode','aOWzi','log','EVENTS','forEach','SDK_CLEANUP','75370AybPso','XpfSJ','\x20skipped','env','\x20passed','stepsUnknown','then','true','testContextOptions','accessibilityOptions','errorMessage','stop','14vQCSTz','initialize','eaGsj','isBrowserstackInfra','../../helpers/logger','getPlatformName','removeDir','cucumber','launchBuild','config','340ZEAzdD','KcWHH','IbuEp','stepsPending','\x20steps','proxySettings','../../helpers/testhub/testhubHandler','stringify','aAHIE','6BHJxzV','qNpJK','printBuildLink','join','../../helpers/BrowserStackSetup','NZdQf','getHubUrl','../../helpers/helper','KNTDf','useW3C','CUCUMBER','LtWeM','2121224MxMaNa','1245960AZKVNc','\x20undefined','TLoSx','TwNDW','isUndefined','scenarios','stepsFailed','winstonLogger','stepsPassed','lBckJ','createDir','length','../../helpers/performance/constants','turboScaleUrl','ZZnSh','28746kejdlu','549WIukdJ','finally','cwd','../test-runner','13500663uTTZIT','splice','ELQcp','setupTCGAuth','argv','yVtHd','debug','bold','testObservability','parallelsPerPlatform','stepsUndefined','red','\x20failed','wAwpa','end','../../helpers/performance/performance-tester','cyan','rmdirSync','stepsSkipped','unlinkSync','logLevel','IPiFn','\x20pending','48475ZmQkwm','giTXV','green','push','SDK_SETUP','handleApp','1633059HOliKH','processSuccess','FRAMEWORKS','getTCGConfigFilePaths','yellow','start','\x20ambiguous'];a5_0x2132=function(){return _0x54f87c;};return a5_0x2132();}
|
|
2
|
+
'use strict';const a5_0x58ba94=a5_0x25a0;(function(_0x413247,_0x441b65){const _0x11b529=a5_0x25a0,_0x5537b5=_0x413247();while(!![]){try{const _0x3f47d0=-parseInt(_0x11b529(0x1e7))/0x1*(-parseInt(_0x11b529(0x1ea))/0x2)+parseInt(_0x11b529(0x1d2))/0x3+parseInt(_0x11b529(0x1d6))/0x4+parseInt(_0x11b529(0x22a))/0x5+-parseInt(_0x11b529(0x1ee))/0x6*(parseInt(_0x11b529(0x1dc))/0x7)+-parseInt(_0x11b529(0x1d1))/0x8+-parseInt(_0x11b529(0x1ba))/0x9;if(_0x3f47d0===_0x441b65)break;else _0x5537b5['push'](_0x5537b5['shift']());}catch(_0x2362e6){_0x5537b5['push'](_0x5537b5['shift']());}}}(a5_0x1af1,0x2f5f9));const fs=require('fs'),path=require(a5_0x58ba94(0x1e3)),util=require(a5_0x58ba94(0x202)),logger=require(a5_0x58ba94(0x233))[a5_0x58ba94(0x1d9)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x58ba94(0x1d0)),utilities=require(a5_0x58ba94(0x221)),constants=require(a5_0x58ba94(0x21e)),{parallelCucumberRun}=require(a5_0x58ba94(0x211)),TestHubHandler=require(a5_0x58ba94(0x209)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x58ba94(0x1e4)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x58ba94(0x230))['EVENTS'];function a5_0x1af1(){const _0x21b62d=['CUCUMBER','../../helpers/logger','oXnvF','unlinkSync','4181724xXKRsX','finally','red','tCift','argv','uWTmW','stepsSkipped','\x20pending','UeoIE','zcFOJ','\x20failed','splice','Removing\x20tmp\x20directory\x20created\x20for\x20reports','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','SDK_SETUP','isUndefined','TmNzF','stepsPending','\x20undefined','proxySettings','\x20steps','finalExecution','../../helpers/helper','1667168aFEjuk','986928CagAaG','EFKJP','\x20scenarios','then','1278148WGWzyt','BROWSERSTACK_TEST_OBSERVABILITY_YML','stepsUndefined','winstonLogger','testObservability','getHubUrl','207676SbJROw','stepsFailed','stringify','getTCGConfigFilePaths','tmp','FRAMEWORKS','WwCxW','path','chalk','log','start','79LZqDTD','push','yellow','662BFCDiL','ZXrkS','uCuIx','turboScaleUrl','6cHgjJl','scenariosFailed','parseFormatters','mHzJT','length','ksOgb','steps','handleApp','skipSessionStatus','cucumber','createDir','mergeOutputFiles','Generating\x20consolidated\x20report...','nFpQq','mnxde','getUserWorkerCount','prepareCapabilities','accessibilityOptions','bold','mWRoz','util','cwd','skipSessionName','true','stepsUnknown','stop','MlGLJ','../../helpers/testhub/testhubHandler','mfDzp','exports','removeDir','\x20skipped','stepsPassed','forEach','wBZNS','../test-runner','TSaBc','useW3C','DElhC','wepZB','config','debug','\x20passed','\x20ambiguous','testContextOptions','GQGTr','processSuccess','stepsAmbiguous','../utils/constants','SDK_CLEANUP','cyan','../../helpers/utilities','errorMessage','bgWhite','printBuildLink','green','launchBuild','env','getErrorMessageFromResults','cucumber-js','1110395rvpOWL','lCiOY','end','foEyx','zODYn','****\x20RESULTS\x20****','../../helpers/performance/constants','isBrowserstackInfra'];a5_0x1af1=function(){return _0x21b62d;};return a5_0x1af1();}function a5_0x25a0(_0x568a82,_0x5c339f){const _0x1af11a=a5_0x1af1();return a5_0x25a0=function(_0x25a09f,_0x37c1ec){_0x25a09f=_0x25a09f-0x1ba;let _0x35247d=_0x1af11a[_0x25a09f];return _0x35247d;},a5_0x25a0(_0x568a82,_0x5c339f);}function printCucumberStats(_0x461609){const _0x125e6c=a5_0x58ba94,_0x5ea588={};_0x5ea588[_0x125e6c(0x1f1)]=function(_0x2231fd,_0x36d88b){return _0x2231fd>_0x36d88b;},_0x5ea588[_0x125e6c(0x22d)]=function(_0x4efc4d,_0x41ddb6){return _0x4efc4d-_0x41ddb6;},_0x5ea588[_0x125e6c(0x1bd)]=function(_0x589afb,_0x3debfb){return _0x589afb>_0x3debfb;},_0x5ea588[_0x125e6c(0x1eb)]=function(_0x7321e0,_0x3a3496){return _0x7321e0>_0x3a3496;},_0x5ea588[_0x125e6c(0x1c3)]=function(_0x57b412,_0x37c7df){return _0x57b412>_0x37c7df;},_0x5ea588['dZWIi']=function(_0x3dd273,_0x2c3e4e){return _0x3dd273>_0x2c3e4e;},_0x5ea588[_0x125e6c(0x215)]=function(_0x736cb8,_0x566810){return _0x736cb8>_0x566810;},_0x5ea588[_0x125e6c(0x1c2)]=function(_0x3a934d,_0x2a1ad0){return _0x3a934d+_0x2a1ad0;},_0x5ea588[_0x125e6c(0x234)]=function(_0x44f973,_0x550f15){return _0x44f973+_0x550f15;},_0x5ea588[_0x125e6c(0x22b)]=function(_0x3bd9a3,_0x28df89){return _0x3bd9a3+_0x28df89;},_0x5ea588[_0x125e6c(0x20a)]=function(_0x180a83,_0x1f7e4f){return _0x180a83+_0x1f7e4f;},_0x5ea588['TSaBc']=function(_0x31759f,_0x456893){return _0x31759f+_0x456893;},_0x5ea588[_0x125e6c(0x22e)]=function(_0x5ae6b3,_0x3ea913){return _0x5ae6b3+_0x3ea913;},_0x5ea588['ReyCj']=function(_0x4c5b31,_0x533aee){return _0x4c5b31===_0x533aee;},_0x5ea588[_0x125e6c(0x1d3)]=function(_0x38084e,_0x20128a){return _0x38084e===_0x20128a;},_0x5ea588[_0x125e6c(0x1fb)]=_0x125e6c(0x22f);const _0x508efa=_0x5ea588;let _0x12cbb7=0x0;if(_0x508efa['EFKJP'](_0x461609[_0x125e6c(0x1f2)],0x0))return _0x12cbb7;return console[_0x125e6c(0x1e5)](chalk[_0x125e6c(0x200)][_0x125e6c(0x223)](_0x508efa[_0x125e6c(0x1fb)])),_0x461609[_0x125e6c(0x20f)](_0x5a8431=>{const _0x7b9248=_0x125e6c,_0x28d605=_0x5a8431[0x0],_0x86fe50=_0x5a8431[0x1];console[_0x7b9248(0x1e5)]('\x0a'+chalk[_0x7b9248(0x200)][_0x7b9248(0x1e9)](''+helper['getPlatformName'](_0x28d605)));const _0x57c098=_0x86fe50['scenarios'],_0x151898=_0x86fe50[_0x7b9248(0x1f4)],_0x13e4ca=_0x86fe50[_0x7b9248(0x1ef)],_0x5cbefb=_0x86fe50[_0x7b9248(0x1dd)],_0x152a27=_0x86fe50[_0x7b9248(0x20e)],_0x4e61f1=_0x86fe50[_0x7b9248(0x1c0)],_0x118c64=_0x86fe50[_0x7b9248(0x1cb)],_0x13894a=_0x86fe50[_0x7b9248(0x1d8)],_0x9f1883=_0x86fe50[_0x7b9248(0x206)],_0x77d750=_0x86fe50[_0x7b9248(0x21d)],_0x3a6b76=_0x86fe50[_0x7b9248(0x21c)];let _0x19e27d=_0x57c098+_0x7b9248(0x1d4);const _0x51b7a4=_0x508efa[_0x7b9248(0x1f1)](_0x508efa[_0x7b9248(0x22d)](_0x57c098,_0x13e4ca),0x0)?_0x508efa[_0x7b9248(0x22d)](_0x57c098,_0x13e4ca):0x0;if(_0x508efa['tCift'](_0x13e4ca,0x0)&&_0x508efa[_0x7b9248(0x1eb)](_0x51b7a4,0x0))_0x19e27d+='\x20('+chalk['bold'][_0x7b9248(0x1bc)](_0x13e4ca+_0x7b9248(0x1c4))+',\x20'+chalk['bold'][_0x7b9248(0x225)](_0x51b7a4+_0x7b9248(0x218))+')';else(_0x508efa[_0x7b9248(0x1eb)](_0x13e4ca,0x0)||_0x508efa[_0x7b9248(0x1f1)](_0x51b7a4,0x0))&&(_0x19e27d+=_0x508efa[_0x7b9248(0x1f1)](_0x13e4ca,0x0)?'\x20('+chalk[_0x7b9248(0x200)][_0x7b9248(0x1bc)](_0x13e4ca+_0x7b9248(0x1c4))+')':'\x20('+chalk[_0x7b9248(0x200)][_0x7b9248(0x225)](_0x51b7a4+_0x7b9248(0x218))+')');const _0x3826e9=_0x151898+_0x7b9248(0x1ce),_0x408fb1=[];_0x508efa[_0x7b9248(0x1f1)](_0x77d750,0x0)&&_0x408fb1['push'](''+chalk[_0x7b9248(0x200)][_0x7b9248(0x1bc)](_0x77d750+_0x7b9248(0x219)));_0x508efa['ZXrkS'](_0x5cbefb,0x0)&&_0x408fb1[_0x7b9248(0x1e8)](''+chalk['bold']['red'](_0x5cbefb+'\x20failed'));_0x508efa['mHzJT'](_0x152a27,0x0)&&_0x408fb1[_0x7b9248(0x1e8)](''+chalk['bold'][_0x7b9248(0x225)](_0x152a27+_0x7b9248(0x218)));_0x508efa['zcFOJ'](_0x118c64,0x0)&&_0x408fb1[_0x7b9248(0x1e8)](''+chalk[_0x7b9248(0x200)]['yellow'](_0x118c64+_0x7b9248(0x1c1)));_0x508efa['dZWIi'](_0x4e61f1,0x0)&&_0x408fb1['push'](''+chalk[_0x7b9248(0x200)][_0x7b9248(0x220)](_0x4e61f1+_0x7b9248(0x20d)));_0x508efa[_0x7b9248(0x1eb)](_0x13894a,0x0)&&_0x408fb1[_0x7b9248(0x1e8)](''+chalk['bold'][_0x7b9248(0x1e9)](_0x13894a+_0x7b9248(0x1cc)));_0x508efa[_0x7b9248(0x215)](_0x9f1883,0x0)&&_0x408fb1[_0x7b9248(0x1e8)](''+chalk['bold'][_0x7b9248(0x1e9)](_0x9f1883+'\x20skipped'));const _0x3bf752=_0x508efa['UeoIE'](_0x508efa[_0x7b9248(0x234)](_0x508efa[_0x7b9248(0x22b)](_0x3826e9,'('),_0x408fb1['join'](',\x20')),')');console['log'](_0x508efa[_0x7b9248(0x20a)](_0x508efa[_0x7b9248(0x212)](_0x508efa[_0x7b9248(0x22e)](_0x508efa[_0x7b9248(0x212)]('\x0a',_0x19e27d),'\x0a'),_0x3bf752),'\x0a')),_0x508efa['ReyCj'](_0x3a6b76,![])&&(_0x12cbb7=0x1);}),_0x12cbb7;}async function run(_0x143dad,_0x31fb16){const _0x2272d5=a5_0x58ba94,_0x388057={'ksOgb':function(_0x418f10,_0x6caee4){return _0x418f10(_0x6caee4);},'wBZNS':function(_0x4af0a0,_0x4ed59c){return _0x4af0a0>_0x4ed59c;},'uCuIx':_0x2272d5(0x1fa),'GQGTr':_0x2272d5(0x1c6),'TmNzF':_0x2272d5(0x1f7),'mnxde':'error\x20removing\x20tcg\x20config\x20file','WwCxW':_0x2272d5(0x229),'DElhC':_0x2272d5(0x1e0),'mWRoz':function(_0x59ee73,_0x4e0c93){return _0x59ee73-_0x4e0c93;},'uWTmW':function(_0x43cdae,_0x21abc4){return _0x43cdae>=_0x21abc4;},'AGOZY':function(_0x2534b4,_0xb8e154){return _0x2534b4!=_0xb8e154;},'MlGLJ':_0x2272d5(0x205),'kzPsn':function(_0xa91587,_0xdd638b,_0x2568d5,_0x1165eb,_0x6bdab8,_0xcf8bd5){return _0xa91587(_0xdd638b,_0x2568d5,_0x1165eb,_0x6bdab8,_0xcf8bd5);}},_0x1d620d=new BrowserStackSetup(_0x143dad,_0x388057[_0x2272d5(0x1e2)]);await _0x1d620d['initialize']();!helper[_0x2272d5(0x231)]()&&await _0x1d620d['setupTCGAuth']();await helper[_0x2272d5(0x1f5)](_0x1d620d[_0x2272d5(0x216)]);const _0x58a99d=helper[_0x2272d5(0x213)](_0x1d620d[_0x2272d5(0x216)]),_0x42b9b0=helper[_0x2272d5(0x1fe)](_0x1d620d[_0x2272d5(0x216)],_0x58a99d,constants[_0x2272d5(0x1e1)][_0x2272d5(0x232)]);if(!_0x1d620d['config'])return;const _0x107211=_0x1d620d[_0x2272d5(0x216)]['parallelsPerPlatform']||helper[_0x2272d5(0x1fd)](_0x143dad,_0x31fb16,_0x1d620d[_0x2272d5(0x216)],constants['FRAMEWORKS'][_0x2272d5(0x232)])||0x1,_0x5b6b99={'server':helper[_0x2272d5(0x1db)](_0x1d620d['config']),'proxySettings':_0x1d620d[_0x2272d5(0x216)][_0x2272d5(0x1cd)],'maxWorkers':_0x107211,'browserStackLogLevel':_0x1d620d['config']['logLevel'],'skipSessionName':_0x1d620d['config'][_0x2272d5(0x21a)][_0x2272d5(0x204)],'skipSessionStatus':_0x1d620d['config'][_0x2272d5(0x21a)][_0x2272d5(0x1f6)],'turboScaleUrl':_0x1d620d['config'][_0x2272d5(0x1ed)]},_0x45d07b=process[_0x2272d5(0x1be)],[_0x1d5250,_0x1d81b8]=helper[_0x2272d5(0x1f0)](_0x45d07b),_0x3b5093=path['join'](process[_0x2272d5(0x203)](),_0x388057[_0x2272d5(0x214)]);if(_0x388057[_0x2272d5(0x210)](_0x1d81b8[_0x2272d5(0x1f2)],0x0)){helper[_0x2272d5(0x1f8)](_0x3b5093);for(let _0x3350d4=_0x388057[_0x2272d5(0x201)](_0x1d5250[_0x2272d5(0x1f2)],0x1);_0x388057[_0x2272d5(0x1bf)](_0x3350d4,0x0);_0x3350d4--){_0x45d07b[_0x2272d5(0x1c5)](_0x1d5250[_0x3350d4],0x2);}}!helper[_0x2272d5(0x1c9)](_0x1d620d[_0x2272d5(0x216)][_0x2272d5(0x1ff)])&&(process[_0x2272d5(0x227)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2272d5(0x1de)](_0x1d620d[_0x2272d5(0x216)][_0x2272d5(0x1ff)]));_0x388057['AGOZY'](_0x1d620d[_0x2272d5(0x216)]['testObservability'],null)?process[_0x2272d5(0x227)][_0x2272d5(0x1d7)]=_0x1d620d[_0x2272d5(0x216)][_0x2272d5(0x1da)]:process[_0x2272d5(0x227)][_0x2272d5(0x1d7)]=_0x388057[_0x2272d5(0x208)];const _0x127773=await TestHubHandler[_0x2272d5(0x226)](constants[_0x2272d5(0x1e1)][_0x2272d5(0x232)],_0x1d620d);PerformanceTester[_0x2272d5(0x22c)](PerformanceEvents[_0x2272d5(0x1c8)]);let _0x472867;_0x388057['kzPsn'](parallelCucumberRun,_0x42b9b0,_0x5b6b99,_0x1d620d[_0x2272d5(0x216)],_0x45d07b,_0x1d81b8)[_0x2272d5(0x1d5)](async _0x321ad3=>{const _0x128453=_0x2272d5;PerformanceTester['start'](PerformanceEvents[_0x128453(0x21f)]),_0x472867=_0x321ad3;const _0x58b064=_0x388057[_0x128453(0x1f3)](printCucumberStats,_0x321ad3);process['exitCode']=_0x58b064,_0x388057['wBZNS'](_0x1d81b8[_0x128453(0x1f2)],0x0)&&(logger[_0x128453(0x217)](_0x388057[_0x128453(0x1ec)]),helper[_0x128453(0x1f9)](_0x3b5093,_0x1d81b8),logger['debug'](_0x388057[_0x128453(0x21b)]),helper[_0x128453(0x20c)](_0x3b5093));})[_0x2272d5(0x1bb)](async()=>{const _0x214c8d=_0x2272d5;PerformanceTester[_0x214c8d(0x1e6)](PerformanceEvents['SDK_CLEANUP']),_0x1d620d[_0x214c8d(0x222)]=helper[_0x214c8d(0x228)](_0x472867,_0x388057[_0x214c8d(0x1ca)]),testOpsHelper[_0x214c8d(0x224)]();try{await TestHubHandler[_0x214c8d(0x207)]();}catch(_0x10d4ff){logger[_0x214c8d(0x217)](_0x214c8d(0x1c7)+util['format'](_0x10d4ff));}try{const {browserstackFolderPath:_0x1579f2,tcgConfigPath:_0x4fa797}=helper[_0x214c8d(0x1df)]();fs[_0x214c8d(0x235)](_0x4fa797),fs['rmdirSync'](_0x1579f2);}catch(_0x27937a){logger[_0x214c8d(0x217)](_0x388057[_0x214c8d(0x1fc)],_0x27937a);}await utilities[_0x214c8d(0x1cf)](_0x1d620d);});}module[a5_0x58ba94(0x20b)]=run;
|