browserstack-node-sdk 1.34.41 → 1.34.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +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_0xd167(){const _0x1d1b00=['testAnalyticsId','JbcLI','lwcVe','Performing\x20scan\x20for\x20','test-passed','call','patchSaveScreenshot','format','CbbaA','TEST_RUN_FINISHED','TEST_RUN_STARTED','getResults','currentTest','../../helpers/performance/performance-tester','thBuildUuid','RtcWZ','ldThq','wmkDA','cPtEk','SDK_POST_INITIALIZE','shouldWrapCommand','info','add','TEST_RUN_SKIPPED','Auqtf','event','step','hook','INFO','stopMonitoring','started','OKCsn','vcSFy','SDK_HOOK','find','class','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','performScan','test','../../helpers/performance/constants','skipSessionStatus','BROWSERSTACK_TESTHUB_UUID','filter','failed','SDK_PRE_TEST','measureWrapper','titlePath','ocVxt','fBCSI','browserstackTestName','iSjIL','overwriteCommand','setSessionStatus','test-skipped','TqKru','rZtkr','4dRCatn','hook-started','SESSION_STATUS','name','hook-passed','GInca','2165548ARObXh','HOOK_RUN_STARTED','bstackAllyScanning','end','stop','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','VrYMG','HOOK_RUN_FINISHED','slice','sflRw','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','accessibilityPlatform','bBiZW','catch','xaXnR','passed','Playwright','4326441PjdlUs','prototype','sRaug','Gldwd','executeScript','SESSION_NAME','mfBpV','bddStep','readFileSync','test-before','fDPWX','bs:addLog:','14600864IzbiAp','helpers','VxXpV','SDK_POST_TEST','after','util','bind','warn','apply','_before','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserstack_executor:\x20','setGlobal','13866017gREvOv','before','../../bin/playwright/accessibility-helper','../../helpers/accessibility-automation/helper','cMgng','debug','aTYyI','browserContext','YVEVs','hookType','pXjBe','browserStackExecuteDriver','codeceptjs/lib/index.js','codeceptjs/lib/helper/Playwright.js','emit','title','constructor','3415OoFlBL','WrtnP','CEtjY','skipSessionName','GET_RESULTS_SUMMARY','afterTest','IdZgV','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','addRequestSpy','all','__skipSessionStatus','30qgRKjr','command','axsDC','PERFORM_SCAN','stringify','QTXAg','__workerDetails','inRAI','SDK_TEST','HLxtA','thTestRunUuid','yHoNA','TestCafe','contexts','getSyncScript','comment','kusWx','SDK_PRE_INITIALIZE','thJwtToken','arguments','exports','../../helpers/test-observability/utils','skipped','restore','start','vyRek','codeceptjs/lib/helper/WebDriver.js','step-comment','toString','codeceptjs/lib/recorder.js','fbtlY','forEach','ENV_VAR','codeceptjs/lib/utils.js','browser','hAxRE','env','WebDriver','reason','toISOString','getAccessibilityResults','11050425IIZZmH','8172tpTuRA','PnRlZ','patch','../../helpers/helper','JIEYf','iHDlG','../../helpers/request-spy','pid','LcOSP','container','test-started','bddStep-after','1BaSBbb','6623736tWrQzi','LgMXZ','TEST_LOG','BROWSERSTACK_TESTHUB_JWT','../../helpers/globals.js','Suite','captureError','commandsToWrap','base64','setSessionName','../../helpers/accessibility-automation/scripts','fireEvent','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','zkPdT','Puppeteer','saveScreenshot','xevCm','captureEvent','dispatcher','ctx','codeceptjs','ZBhmI','getAccessibilityResultsSummary','initSaveScreenshot','mLnck','RGJsq','dbTZy','coHee','Bkemm','./o11yHelper','test-failed','BS_TESTOPS_ALLOW_SCREENSHOTS'];a1_0xd167=function(){return _0x1d1b00;};return a1_0xd167();}const a1_0x18cf74=a1_0x52a2;(function(_0x49aca9,_0x261370){const _0x3bad28=a1_0x52a2,_0x12064d=_0x49aca9();while(!![]){try{const _0x23bc42=-parseInt(_0x3bad28(0x15c))/0x1*(-parseInt(_0x3bad28(0x1bb))/0x2)+-parseInt(_0x3bad28(0x1cc))/0x3*(parseInt(_0x3bad28(0x1b5))/0x4)+parseInt(_0x3bad28(0x1f6))/0x5*(-parseInt(_0x3bad28(0x150))/0x6)+-parseInt(_0x3bad28(0x15d))/0x7+-parseInt(_0x3bad28(0x1d8))/0x8+parseInt(_0x3bad28(0x14f))/0x9+parseInt(_0x3bad28(0x201))/0xa*(parseInt(_0x3bad28(0x1e5))/0xb);if(_0x23bc42===_0x261370)break;else _0x12064d['push'](_0x12064d['shift']());}catch(_0xfb1302){_0x12064d['push'](_0x12064d['shift']());}}}(a1_0xd167,0xe790b));const fs=require('fs'),util=require(a1_0x18cf74(0x1dd)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x18cf74(0x153)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x18cf74(0x13b)),requestSpy=require(a1_0x18cf74(0x156)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x18cf74(0x17a)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x18cf74(0x1e8)),AccessibilityHelper=require(a1_0x18cf74(0x1e7)),scripts=require(a1_0x18cf74(0x167)),PerformanceTester=require(a1_0x18cf74(0x18a)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x18cf74(0x1a4)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x18cf74(0x161)),CodeceptJS=requireModule(a1_0x18cf74(0x1f1),a1_0x18cf74(0x171)),CodeceptUtils=requireModule(a1_0x18cf74(0x147),a1_0x18cf74(0x171)),CodeceptWebDriver=requireModule(a1_0x18cf74(0x140),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x18cf74(0x143),a1_0x18cf74(0x171)),CodeceptPlaywright=requireModule(a1_0x18cf74(0x1f2),a1_0x18cf74(0x171)),playwrightMarkSessionStatus=(_0x345a27,_0x54a212,_0x2c1261)=>{const _0x118ad9=a1_0x18cf74,_0x49ac25={'wvmtU':_0x118ad9(0x1b1),'iSjIL':function(_0x216f14,_0x5857cf){return _0x216f14(_0x5857cf);}},_0x26ab0b={};_0x26ab0b['status']=_0x54a212;const _0x34c5d0={};_0x34c5d0['action']=_0x49ac25['wvmtU'],_0x34c5d0['arguments']=_0x26ab0b;const _0x4eb71c=_0x34c5d0;return!_0x49ac25[_0x118ad9(0x1af)](isUndefined,_0x2c1261)&&(_0x4eb71c['arguments'][_0x118ad9(0x14c)]=JSON['stringify'](_0x2c1261)),_0x345a27[_0x118ad9(0x1d0)](()=>{},_0x118ad9(0x1e3)+JSON[_0x118ad9(0x205)](_0x4eb71c));},o11ySync=PerformanceTester[a1_0x18cf74(0x1aa)](PerformanceO11yEvents['SYNC'],async _0x37e06c=>{const _0x1f75cd=a1_0x18cf74,_0x531822={};_0x531822[_0x1f75cd(0x1c9)]=function(_0x4e48c3,_0x6ef108){return _0x4e48c3===_0x6ef108;},_0x531822[_0x1f75cd(0x155)]=_0x1f75cd(0x1cb);const _0x4a7d72=_0x531822;_0x4a7d72['xaXnR'](_0x37e06c['constructor'][_0x1f75cd(0x1b8)],_0x4a7d72[_0x1f75cd(0x155)])?await _0x37e06c[_0x1f75cd(0x1d0)](_0x46c5de=>{},testOpsHelper[_0x1f75cd(0x20f)]()):await _0x37e06c[_0x1f75cd(0x1d0)](testOpsHelper[_0x1f75cd(0x20f)]());}),markSessionName=PerformanceTester[a1_0x18cf74(0x1aa)](PerformanceAutEvents[a1_0x18cf74(0x1d1)],async(_0x538a25,_0x1efbb6)=>{const _0x5d84aa=a1_0x18cf74,_0x353fb8={};_0x353fb8[_0x5d84aa(0x19c)]=_0x5d84aa(0x166),_0x353fb8[_0x5d84aa(0x176)]=function(_0x5c974b,_0x168110){return _0x5c974b===_0x168110;},_0x353fb8[_0x5d84aa(0x151)]=_0x5d84aa(0x1cb);const _0xae3a3=_0x353fb8,_0xe652ed={};_0xe652ed[_0x5d84aa(0x1b8)]=_0x1efbb6;const _0x3b7eed={};_0x3b7eed['action']=_0xae3a3['OKCsn'],_0x3b7eed[_0x5d84aa(0x139)]=_0xe652ed;const _0x3a307f=_0x3b7eed;_0xae3a3[_0x5d84aa(0x176)](_0x538a25[_0x5d84aa(0x1f5)]['name'],_0xae3a3[_0x5d84aa(0x151)])?await _0x538a25[_0x5d84aa(0x1d0)](()=>{},_0x5d84aa(0x1e3)+JSON[_0x5d84aa(0x205)](_0x3a307f)):await _0x538a25[_0x5d84aa(0x1d0)]('browserstack_executor:\x20'+JSON[_0x5d84aa(0x205)](_0x3a307f));}),patchSaveScreenshot=_0x3fadb9=>{const _0x3272ac=a1_0x18cf74,_0x209852={'GInca':_0x3272ac(0x165),'PHVeR':'TEST_SCREENSHOT','cBnwx':function(_0x319a7d){return _0x319a7d();},'FIbmR':function(_0x812e3a,_0x9b80de){return _0x812e3a(_0x9b80de);}};_0x209852['FIbmR'](isTrue,process[_0x3272ac(0x14a)][_0x3272ac(0x17c)])&&!_0x3fadb9[_0x3272ac(0x183)]&&(_0x3fadb9[_0x3272ac(0x183)]=!![],_0x3fadb9[_0x3272ac(0x174)]=_0x3fadb9[_0x3272ac(0x16c)],_0x3fadb9[_0x3272ac(0x16c)]=(_0x306bb9,_0x2ba506=![])=>{const _0x3b5674=_0x3272ac,_0xe9296b={'pMSzK':_0x209852[_0x3b5674(0x1ba)],'VrYMG':_0x209852['PHVeR'],'IdZgV':function(_0x3ed9dd){return _0x209852['cBnwx'](_0x3ed9dd);}};return new Promise(function(_0xd5c76e,_0x48f44b){const _0x4ec233=_0x3b5674;_0x3fadb9[_0x4ec233(0x174)](_0x306bb9,_0x2ba506)['then'](()=>{const _0xa769ce=_0x4ec233,_0x2faf4c=CodeceptUtils['screenshotOutputFolder'](_0x306bb9),_0x3fa28d=fs[_0xa769ce(0x1d4)](_0x2faf4c);process['emit'](_0xa769ce(0x1d7)+process[_0xa769ce(0x157)],{'timestamp':new Date()[_0xa769ce(0x14d)](),'message':_0x3fa28d[_0xa769ce(0x142)](_0xe9296b['pMSzK']),'kind':_0xe9296b[_0xa769ce(0x1c1)]}),_0xe9296b[_0xa769ce(0x1fc)](_0xd5c76e);})[_0x4ec233(0x1c8)](()=>null);});});},patchWebDriverBefore=_0x414ff6=>{const _0x4865e7=a1_0x18cf74,_0x154b69={'TqKru':function(_0x3ab75d){return _0x3ab75d();},'rZtkr':function(_0x3513f5,_0x46ac96){return _0x3513f5(_0x46ac96);},'huDte':function(_0x55a8fa,_0x2a4616){return _0x55a8fa===_0x2a4616;},'swhNq':'Element'},_0x567fab=async function(_0x32d32d,_0x2379d2){const _0x3ce01c=a1_0x52a2;return _0x154b69[_0x3ce01c(0x1b3)](isAccessibilityAutomationSession)&&!global[_0x3ce01c(0x1bd)]&&global[_0x3ce01c(0x1c6)]&&scripts[_0x3ce01c(0x191)](_0x32d32d['name'])&&_0x154b69[_0x3ce01c(0x1b4)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x578092=_0x3ce01c;logger[_0x578092(0x1ea)](_0x578092(0x180)+_0x32d32d[_0x578092(0x1a0)]+'\x20'+_0x32d32d['name']),await AccessibilityHelper[_0x578092(0x1f0)](_0x414ff6,scripts[_0x578092(0x1a2)]);},{'command':_0x32d32d[_0x3ce01c(0x1b8)]})()),global[_0x3ce01c(0x1bd)]=![],_0x2379d2[_0x3ce01c(0x1e0)](this,Array[_0x3ce01c(0x1cd)][_0x3ce01c(0x1c3)][_0x3ce01c(0x182)](arguments,0x2));},_0x52654a=CodeceptWebDriver[_0x4865e7(0x1cd)][_0x4865e7(0x1e1)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x4df0e0=_0x4865e7,_0x2c9e6b={'icuwR':function(_0x1736d1,_0x45a8dc){return _0x154b69['huDte'](_0x1736d1,_0x45a8dc);},'JIEYf':_0x154b69['swhNq']};await _0x52654a[_0x4df0e0(0x1e0)](this,arguments),scripts[_0x4df0e0(0x164)][_0x4df0e0(0x1a7)](_0x392ce8=>_0x392ce8['name']&&_0x392ce8[_0x4df0e0(0x1a0)])[_0x4df0e0(0x145)](_0x2fd975=>{const _0x21ae8a=_0x4df0e0;this['browser'][_0x21ae8a(0x1b0)](_0x2fd975[_0x21ae8a(0x1b8)],_0x567fab[_0x21ae8a(0x1de)](this,_0x2fd975),_0x2c9e6b['icuwR'](_0x2fd975[_0x21ae8a(0x1a0)],_0x2c9e6b[_0x21ae8a(0x154)]));}),_0x154b69[_0x4df0e0(0x1b4)](processWebDriverConfig,_0x414ff6);};},patchPlaywrightBefore=()=>{const _0x47764f=a1_0x18cf74;PlaywrightSessionDetails[_0x47764f(0x152)]();const _0x3ac6c6=CodeceptPlaywright[_0x47764f(0x1cd)][_0x47764f(0x1e1)];CodeceptPlaywright['prototype'][_0x47764f(0x1e1)]=async function(){const _0x75a7eb=_0x47764f;this[_0x75a7eb(0x1ec)]=await this[_0x75a7eb(0x148)][_0x75a7eb(0x20e)]()[0x0],await _0x3ac6c6[_0x75a7eb(0x1e0)](this,arguments);};},getCodeceptDriver=()=>{const _0x4d4911=a1_0x18cf74,_0x207547={};_0x207547[_0x4d4911(0x17f)]=_0x4d4911(0x14b),_0x207547[_0x4d4911(0x172)]=_0x4d4911(0x1cb),_0x207547['sRaug']=_0x4d4911(0x16b),_0x207547[_0x4d4911(0x16a)]=_0x4d4911(0x20d);const _0x791845=_0x207547,_0x303f33=[_0x791845[_0x4d4911(0x17f)],_0x791845[_0x4d4911(0x172)],_0x791845[_0x4d4911(0x1ce)],_0x791845[_0x4d4911(0x16a)]],_0x1779f3=_0x303f33[_0x4d4911(0x19f)](_0x49f423=>!!CodeceptJS[_0x4d4911(0x159)][_0x4d4911(0x1d9)](_0x49f423));if(!_0x1779f3)return null;return CodeceptJS[_0x4d4911(0x159)][_0x4d4911(0x1d9)](_0x1779f3);};function a1_0x52a2(_0x55a20a,_0x5bff65){const _0xd1674b=a1_0xd167();return a1_0x52a2=function(_0x52a277,_0x12ba51){_0x52a277=_0x52a277-0x136;let _0xfb0db0=_0xd1674b[_0x52a277];return _0xfb0db0;},a1_0x52a2(_0x55a20a,_0x5bff65);}module[a1_0x18cf74(0x13a)]=function(_0x175db2){const _0x3b32ba=a1_0x18cf74,_0x13bf42={'mfBpV':function(_0x2a8076){return _0x2a8076();},'sflRw':function(_0x2ffd1d,_0x21cd6f){return _0x2ffd1d(_0x21cd6f);},'aTYyI':'getAccessibilityResultsSummary','kusWx':_0x3b32ba(0x169),'yHoNA':_0x3b32ba(0x14e),'azTUP':_0x3b32ba(0x1c0),'ocVxt':function(_0x182820,_0x5f3a5a){return _0x182820(_0x5f3a5a);},'vcSFy':_0x3b32ba(0x1b6),'wmkDA':_0x3b32ba(0x1b9),'fBCSI':'hook-failed','cMgng':_0x3b32ba(0x1ae),'HLxtA':function(_0x5d6968){return _0x5d6968();},'ldThq':_0x3b32ba(0x1d5),'Auqtf':function(_0x445653){return _0x445653();},'inRAI':function(_0x5abdfa,_0x3ac9a1,_0x24f010){return _0x5abdfa(_0x3ac9a1,_0x24f010);},'axsDC':function(_0x3bf082,_0x2bea55){return _0x3bf082(_0x2bea55);},'LgMXZ':_0x3b32ba(0x15a),'VxXpV':function(_0x277a7d,_0x391fcd,_0x3cfc33){return _0x277a7d(_0x391fcd,_0x3cfc33);},'fDPWX':function(_0x469c7c,_0xd9ebf2,_0x4668bd){return _0x469c7c(_0xd9ebf2,_0x4668bd);},'RtcWZ':_0x3b32ba(0x181),'kMCpE':function(_0x440986,_0x5e995e,_0x2312fb,_0x29f924){return _0x440986(_0x5e995e,_0x2312fb,_0x29f924);},'QTXAg':function(_0x13e19c,_0x1b613b){return _0x13e19c===_0x1b613b;},'fbtlY':_0x3b32ba(0x162),'coHee':_0x3b32ba(0x17b),'aTxMw':_0x3b32ba(0x1b2),'WrtnP':_0x3b32ba(0x1fb),'cPtEk':_0x3b32ba(0x1a1),'mLnck':'test-after','WMuXy':_0x3b32ba(0x199),'CbbaA':_0x3b32ba(0x15f),'bBiZW':_0x3b32ba(0x141),'dbTZy':'bddStep-before','vyRek':_0x3b32ba(0x15b),'CEtjY':function(_0x1a8c9d){return _0x1a8c9d();},'hAxRE':_0x3b32ba(0x1cb)};_0x175db2[_0x3b32ba(0x1a5)]&&(global[_0x3b32ba(0x200)]=_0x175db2[_0x3b32ba(0x1a5)]);PerformanceTester['startMonitoring']();const _0x41f829=_0x13bf42[_0x3b32ba(0x1f8)](getCodeceptDriver),_0x4866ba=new O11yHelper(_0x41f829,_0x175db2),_0x4ccd6e=!!CodeceptJS[_0x3b32ba(0x159)][_0x3b32ba(0x1d9)](_0x13bf42[_0x3b32ba(0x149)]);global['__driver']=_0x41f829,_0x41f829&&(PerformanceTester[_0x3b32ba(0x1aa)](PerformanceEvents[_0x3b32ba(0x137)],()=>{const _0x4529df=_0x3b32ba;_0x4ccd6e?_0x13bf42[_0x4529df(0x1d2)](patchPlaywrightBefore):_0x13bf42[_0x4529df(0x1c4)](patchWebDriverBefore,_0x41f829);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x3b32ba(0x190)],()=>{const _0x1cb78b=_0x3b32ba,_0x5bdfa6={};_0x5bdfa6[_0x1cb78b(0x179)]=_0x13bf42[_0x1cb78b(0x20c)],_0x5bdfa6[_0x1cb78b(0x158)]=_0x13bf42['azTUP'];const _0x57e47d=_0x5bdfa6;_0x41f829[_0x1cb78b(0x173)]=async()=>{const _0x3d362f=_0x1cb78b;if(global[_0x3d362f(0x1c6)]){const _0x5b62f4={};_0x5b62f4[_0x3d362f(0x202)]=_0x13bf42[_0x3d362f(0x1eb)],await PerformanceTester[_0x3d362f(0x1aa)](PerformanceA11yEvents[_0x3d362f(0x204)],async()=>{const _0x586fe5=_0x3d362f;await AccessibilityHelper[_0x586fe5(0x1f0)](_0x41f829,scripts[_0x586fe5(0x1a2)]);},_0x5b62f4)(),await PerformanceTester[_0x3d362f(0x1aa)](PerformanceA11yEvents[_0x3d362f(0x1fa)],async()=>{const _0x5ba1bc=_0x3d362f;await AccessibilityHelper[_0x5ba1bc(0x1f0)](_0x41f829,scripts['getResultsSummary']);})();}else return logger[_0x3d362f(0x1df)](_0x13bf42[_0x3d362f(0x136)]),{};},_0x41f829[_0x1cb78b(0x14e)]=async()=>{const _0x4c4e14=_0x1cb78b;if(global[_0x4c4e14(0x1c6)]){const _0x12402c={};_0x12402c[_0x4c4e14(0x202)]=_0x57e47d[_0x4c4e14(0x179)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x43c696=_0x4c4e14;await AccessibilityHelper[_0x43c696(0x1f0)](_0x41f829,scripts[_0x43c696(0x1a2)]);},_0x12402c)(),await PerformanceTester[_0x4c4e14(0x1aa)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0xf43bdd=_0x4c4e14;await AccessibilityHelper[_0xf43bdd(0x1f0)](_0x41f829,scripts[_0xf43bdd(0x188)]);})();}else return logger['warn'](_0x57e47d[_0x4c4e14(0x158)]),{};},_0x13bf42[_0x1cb78b(0x1ac)](patchSaveScreenshot,_0x41f829);})()),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)]['all'][_0x3b32ba(0x1e6)],()=>{const _0x127032=_0x3b32ba;PerformanceTester[_0x127032(0x13e)](PerformanceEvents[_0x127032(0x1a9)]);try{_0x4866ba[_0x127032(0x13e)](),testOpsHelper[_0x127032(0x1fe)](),PerformanceTester[_0x127032(0x1be)](PerformanceEvents[_0x127032(0x1a9)]);}catch(_0x5b34d9){PerformanceTester['captureError'](_0x5b34d9),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x5b34d9);}}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x1ff)][_0x3b32ba(0x1dc)],async()=>{const _0x456bda=_0x3b32ba;PerformanceTester['start'](PerformanceEvents[_0x456bda(0x1db)]);try{requestSpy[_0x456bda(0x13d)](),await _0x4866ba[_0x456bda(0x1bf)](),PerformanceTester[_0x456bda(0x1be)](PerformanceEvents[_0x456bda(0x1db)]);}catch(_0x563978){PerformanceTester['captureError'](_0x563978),PerformanceTester[_0x456bda(0x1be)](PerformanceEvents[_0x456bda(0x1db)],![],_0x563978);}finally{PerformanceTester[_0x456bda(0x19a)]();}}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x198)][_0x3b32ba(0x19b)],_0x25bf84=>{const _0x2c891d=_0x3b32ba;PerformanceTester[_0x2c891d(0x13e)](PerformanceEvents[_0x2c891d(0x19e)]);try{const _0x473196=_0x25bf84[_0x2c891d(0x170)][_0x2c891d(0x1a3)],_0x515e44=_0x4866ba[_0x2c891d(0x16e)](TEST_EVENTS[_0x2c891d(0x1bc)],_0x473196);CodeceptRecorder[_0x2c891d(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS[_0x2c891d(0x1bc)],_0x515e44));const _0x4a53e9={};_0x4a53e9[_0x2c891d(0x1ee)]=_0x13bf42['vcSFy'],PerformanceTester[_0x2c891d(0x1be)](PerformanceEvents[_0x2c891d(0x19e)],!![],null,_0x4a53e9);}catch(_0x2dd6ff){const _0x57af2c={};_0x57af2c[_0x2c891d(0x1ee)]=_0x13bf42[_0x2c891d(0x19d)],PerformanceTester[_0x2c891d(0x1be)](PerformanceEvents[_0x2c891d(0x19e)],![],_0x2dd6ff,_0x57af2c),PerformanceTester[_0x2c891d(0x163)](_0x2dd6ff);}}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x198)][_0x3b32ba(0x1ca)],_0x178b7c=>{const _0x26d5a1=_0x3b32ba,_0x50449a={};_0x50449a[_0x26d5a1(0x1ee)]=_0x13bf42[_0x26d5a1(0x18e)],PerformanceTester[_0x26d5a1(0x13e)](PerformanceHookEvents[_0x26d5a1(0x19e)],!![],null,_0x50449a);try{const _0x5791b5=_0x178b7c['ctx'][_0x26d5a1(0x1a3)],_0x2a1796=_0x4866ba['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5791b5);CodeceptRecorder[_0x26d5a1(0x193)](()=>_0x4866ba[_0x26d5a1(0x168)](TEST_EVENTS[_0x26d5a1(0x1c2)],_0x2a1796));const _0x1bdc49={};_0x1bdc49[_0x26d5a1(0x1ee)]=_0x13bf42[_0x26d5a1(0x18e)],PerformanceTester[_0x26d5a1(0x1be)](PerformanceHookEvents[_0x26d5a1(0x19e)],!![],null,_0x1bdc49);}catch(_0x8baa83){PerformanceTester[_0x26d5a1(0x163)](_0x8baa83);const _0x341df2={};_0x341df2[_0x26d5a1(0x1ee)]=_0x13bf42[_0x26d5a1(0x18e)],PerformanceTester['end'](PerformanceHookEvents[_0x26d5a1(0x19e)],![],_0x8baa83,_0x341df2);}}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x198)][_0x3b32ba(0x1a8)],async(_0x5a7b7f,_0x4e147a)=>{const _0x50cfe1=_0x3b32ba;PerformanceTester[_0x50cfe1(0x13e)](PerformanceHookEvents['SDK_HOOK']);try{const _0x1a2b11=_0x5a7b7f[_0x50cfe1(0x170)][_0x50cfe1(0x1a3)],_0x48135c=_0x4866ba[_0x50cfe1(0x16e)](TEST_EVENTS[_0x50cfe1(0x1c2)],_0x1a2b11,_0x4e147a);CodeceptRecorder[_0x50cfe1(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS[_0x50cfe1(0x1c2)],_0x48135c));const _0x13264c={};_0x13264c['hookType']=_0x13bf42[_0x50cfe1(0x1ad)],PerformanceTester[_0x50cfe1(0x13e)](PerformanceHookEvents[_0x50cfe1(0x19e)],!![],null,_0x13264c);}catch(_0x18a53e){PerformanceTester['captureError'](_0x18a53e);const _0x461f56={};_0x461f56['hookType']=_0x13bf42['fBCSI'],PerformanceTester[_0x50cfe1(0x1be)](PerformanceHookEvents[_0x50cfe1(0x19e)],![],_0x18a53e,_0x461f56);}const _0x1cc8ca={};_0x1cc8ca[_0x50cfe1(0x1ee)]=_0x13bf42[_0x50cfe1(0x1ad)],PerformanceTester[_0x50cfe1(0x1be)](PerformanceHookEvents[_0x50cfe1(0x19e)],!![],null,_0x1cc8ca);}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x1a3)][_0x3b32ba(0x1e6)],_0x290d91=>{const _0xcbdcc0=_0x3b32ba;PerformanceTester[_0xcbdcc0(0x13e)](PerformanceHookEvents[_0xcbdcc0(0x19e)]);try{globals[_0xcbdcc0(0x1e4)](_0x13bf42['cMgng'],_0x290d91[_0xcbdcc0(0x1f4)]);_0x13bf42[_0xcbdcc0(0x20a)](isBrowserstackInfra)&&(_0x4ccd6e&&(global[_0xcbdcc0(0x207)]={'currentTest':{'name':_0x290d91['title'],'testInfo':{'titlePath':_0x290d91[_0xcbdcc0(0x1ab)]()}}}));const _0x2c2475={};_0x2c2475[_0xcbdcc0(0x1ee)]=_0x13bf42[_0xcbdcc0(0x18d)],PerformanceTester['end'](PerformanceHookEvents[_0xcbdcc0(0x19e)],!![],null,_0x2c2475);}catch(_0x3f166f){PerformanceTester[_0xcbdcc0(0x163)](_0x3f166f);const _0x1b802f={};_0x1b802f[_0xcbdcc0(0x1ee)]=_0x13bf42[_0xcbdcc0(0x18d)],PerformanceTester[_0xcbdcc0(0x1be)](PerformanceHookEvents[_0xcbdcc0(0x19e)],![],_0x3f166f,_0x1b802f);}}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x1a3)][_0x3b32ba(0x19b)],_0x30dcb9=>{const _0x559608=_0x3b32ba;PerformanceTester[_0x559608(0x13e)](PerformanceHookEvents[_0x559608(0x19e)]);try{globals['setGlobal'](_0x13bf42[_0x559608(0x1e9)],_0x30dcb9[_0x559608(0x1f4)]);const _0x2b65d3=_0x4866ba[_0x559608(0x16e)](TEST_EVENTS[_0x559608(0x187)],_0x30dcb9);CodeceptRecorder[_0x559608(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x2b65d3)),CodeceptRecorder['add'](async()=>{const _0x40e0ba=_0x559608;_0x13bf42['Auqtf'](isBrowserstackInfra)&&(!_0x13bf42['ocVxt'](isTrue,_0x175db2[_0x40e0ba(0x1f9)])&&await _0x13bf42[_0x40e0ba(0x208)](markSessionName,_0x41f829,_0x30dcb9[_0x40e0ba(0x1f4)]),_0x4866ba['enabled']&&await _0x13bf42[_0x40e0ba(0x203)](o11ySync,_0x41f829));});}catch(_0x58cad2){const _0x1fc165={};_0x1fc165[_0x559608(0x1ee)]=_0x13bf42[_0x559608(0x15e)],PerformanceTester[_0x559608(0x1be)](PerformanceHookEvents[_0x559608(0x19e)],![],_0x58cad2,_0x1fc165),PerformanceTester[_0x559608(0x163)](_0x58cad2);}const _0x128236={};_0x128236['hookType']=_0x13bf42[_0x559608(0x15e)],PerformanceTester[_0x559608(0x1be)](PerformanceHookEvents[_0x559608(0x19e)],!![],null,_0x128236);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1a3)][_0x3b32ba(0x1ca)],_0x12ee35=>{const _0x511812=_0x3b32ba,_0x39ed21={'QEHZZ':function(_0x356042,_0x2d7fde,_0x16b01a){const _0x2fbc1d=a1_0x52a2;return _0x13bf42[_0x2fbc1d(0x1da)](_0x356042,_0x2d7fde,_0x16b01a);},'pXjBe':function(_0x188ed9,_0x3be73c,_0x3c90e0){const _0x103f00=a1_0x52a2;return _0x13bf42[_0x103f00(0x1d6)](_0x188ed9,_0x3be73c,_0x3c90e0);},'YVEVs':function(_0x274b38){const _0x259919=a1_0x52a2;return _0x13bf42[_0x259919(0x195)](_0x274b38);}};PerformanceTester[_0x511812(0x13e)](PerformanceHookEvents[_0x511812(0x19e)]);try{const _0x52d9d5=_0x4866ba['captureEvent'](TEST_EVENTS[_0x511812(0x186)],_0x12ee35);CodeceptRecorder['add'](()=>_0x4866ba[_0x511812(0x168)](TEST_EVENTS[_0x511812(0x186)],_0x52d9d5)),CodeceptRecorder['add'](async()=>{const _0x17b43e=_0x511812,_0x4db436={'Gldwd':function(_0x5263b1,_0x2d2925,_0x151107){return _0x39ed21['QEHZZ'](_0x5263b1,_0x2d2925,_0x151107);},'LSyxW':function(_0x4137a8,_0x156ded,_0x399b21){const _0x15c662=a1_0x52a2;return _0x39ed21[_0x15c662(0x1ef)](_0x4137a8,_0x156ded,_0x399b21);}};_0x39ed21[_0x17b43e(0x1ed)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x17b43e(0x1b7)],async()=>{const _0x4536c4=_0x17b43e;_0x4ccd6e?await _0x4db436[_0x4536c4(0x1cf)](playwrightMarkSessionStatus,_0x41f829,STATE_PASSED):await _0x4db436['LSyxW'](markSessionStatus,_0x41f829,STATE_PASSED);})();}),PerformanceTester[_0x511812(0x1be)](PerformanceEvents[_0x511812(0x209)]);}catch(_0x4ac8b2){PerformanceTester[_0x511812(0x163)](_0x4ac8b2);const _0x384019={};_0x384019[_0x511812(0x1ee)]=_0x13bf42[_0x511812(0x18c)],PerformanceTester[_0x511812(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x4ac8b2,_0x384019),PerformanceTester[_0x511812(0x1be)](PerformanceEvents['SDK_TEST'],![],_0x4ac8b2);}const _0x328b24={};_0x328b24[_0x511812(0x1ee)]=_0x13bf42[_0x511812(0x18c)],PerformanceTester[_0x511812(0x1be)](PerformanceHookEvents[_0x511812(0x19e)],!![],null,_0x328b24);}),CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1a3)]['failed'],(_0x299c47,_0x570979)=>{const _0x163adb=_0x3b32ba,_0x553d0d={'JbcLI':function(_0x5c3497){return _0x13bf42['mfBpV'](_0x5c3497);},'CjSro':function(_0x7cfc1e,_0x1b9d8f,_0x4d631e,_0x52491e){return _0x13bf42['kMCpE'](_0x7cfc1e,_0x1b9d8f,_0x4d631e,_0x52491e);}};PerformanceTester[_0x163adb(0x13e)](PerformanceHookEvents[_0x163adb(0x19e)]);try{if(_0x13bf42[_0x163adb(0x206)](_0x299c47[_0x163adb(0x1f5)]['name'],_0x13bf42[_0x163adb(0x144)])){const _0xb981aa=_0x4866ba[_0x163adb(0x16e)](TEST_EVENTS[_0x163adb(0x194)],_0x299c47[_0x163adb(0x170)][_0x163adb(0x189)]);CodeceptRecorder[_0x163adb(0x193)](()=>_0x4866ba['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xb981aa));}else{const _0x16b2e6=_0x4866ba[_0x163adb(0x16e)](TEST_EVENTS[_0x163adb(0x186)],_0x299c47,_0x570979);CodeceptRecorder['add'](()=>{const _0x3603c4=_0x163adb;try{_0x4866ba[_0x3603c4(0x168)](TEST_EVENTS[_0x3603c4(0x186)],_0x16b2e6);}catch(_0x44fbc4){logger[_0x3603c4(0x1ea)](_0x3603c4(0x1fd)+util[_0x3603c4(0x184)](_0x44fbc4)),PerformanceTester[_0x3603c4(0x1be)](PerformanceEvents[_0x3603c4(0x209)],![],_0x44fbc4);}}),CodeceptRecorder['add'](async()=>{const _0x10c785=_0x163adb;try{_0x553d0d[_0x10c785(0x17e)](isBrowserstackInfra)&&(_0x4ccd6e?await _0x553d0d['CjSro'](playwrightMarkSessionStatus,_0x41f829,STATE_FAILED,_0x570979):await _0x553d0d['CjSro'](markSessionStatus,_0x41f829,STATE_FAILED,_0x570979));}catch(_0x397a9a){logger[_0x10c785(0x1ea)](_0x10c785(0x1c5)+util[_0x10c785(0x184)](_0x397a9a)),PerformanceTester[_0x10c785(0x1be)](PerformanceEvents['SDK_TEST'],![],_0x397a9a);}});}PerformanceTester[_0x163adb(0x1be)](PerformanceEvents[_0x163adb(0x209)]);}catch(_0x5d24ca){PerformanceTester['captureError'](_0x5d24ca);const _0x2354cf={};_0x2354cf[_0x163adb(0x1ee)]=_0x13bf42[_0x163adb(0x178)],PerformanceTester[_0x163adb(0x1be)](PerformanceHookEvents[_0x163adb(0x19e)],![],_0x5d24ca,_0x2354cf),PerformanceTester[_0x163adb(0x1be)](PerformanceEvents[_0x163adb(0x209)],![],_0x5d24ca);}const _0x6e9b80={};_0x6e9b80[_0x163adb(0x1ee)]=_0x13bf42[_0x163adb(0x178)],PerformanceTester[_0x163adb(0x1be)](PerformanceHookEvents[_0x163adb(0x19e)],!![],null,_0x6e9b80);}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1a3)][_0x3b32ba(0x13c)],_0x27276f=>{const _0x306cb7=_0x3b32ba;PerformanceTester[_0x306cb7(0x13e)](PerformanceHookEvents[_0x306cb7(0x19e)]);try{const _0x19b09c=_0x4866ba[_0x306cb7(0x16e)](TEST_EVENTS[_0x306cb7(0x194)],_0x27276f);CodeceptRecorder[_0x306cb7(0x193)](()=>_0x4866ba[_0x306cb7(0x168)](TEST_EVENTS[_0x306cb7(0x194)],_0x19b09c)),PerformanceTester[_0x306cb7(0x1be)](PerformanceEvents[_0x306cb7(0x209)]);}catch(_0x4c1e43){PerformanceTester[_0x306cb7(0x163)](_0x4c1e43),PerformanceTester[_0x306cb7(0x1be)](PerformanceEvents[_0x306cb7(0x209)],![],_0x4c1e43);const _0x476b1d={};_0x476b1d[_0x306cb7(0x1ee)]=_0x13bf42['aTxMw'],PerformanceTester[_0x306cb7(0x1be)](PerformanceHookEvents[_0x306cb7(0x19e)],![],_0x4c1e43,_0x476b1d);}const _0xfe07e3={};_0xfe07e3[_0x306cb7(0x1ee)]=_0x13bf42['aTxMw'],PerformanceTester[_0x306cb7(0x1be)](PerformanceHookEvents[_0x306cb7(0x19e)],!![],null,_0xfe07e3);}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS['event'][_0x3b32ba(0x1a3)][_0x3b32ba(0x1dc)],async(_0x31eec0,_0x4a6551)=>{const _0x2a8e72=_0x3b32ba,_0x71accf={};_0x71accf[_0x2a8e72(0x16d)]=_0x13bf42[_0x2a8e72(0x1f7)];const _0x5ab82a=_0x71accf;try{PerformanceTester[_0x2a8e72(0x13e)](PerformanceHookEvents[_0x2a8e72(0x19e)]);if(_0x13bf42[_0x2a8e72(0x1d2)](isBrowserstackInfra)){const _0x4e770d=_0x13bf42[_0x2a8e72(0x1d6)](shouldScanTestForAccessibility,_0x31eec0['titlePath'](),!![]);if(_0x13bf42[_0x2a8e72(0x1d2)](isAccessibilityAutomationSession)&&global[_0x2a8e72(0x1c6)]&&_0x4e770d){const _0x2dec99={};_0x2dec99[_0x2a8e72(0x20b)]=_0x31eec0[_0x2a8e72(0x17d)],_0x2dec99[_0x2a8e72(0x18b)]=process['env'][testHubConstants[_0x2a8e72(0x146)][_0x2a8e72(0x1a6)]],_0x2dec99[_0x2a8e72(0x138)]=process['env'][testHubConstants[_0x2a8e72(0x146)][_0x2a8e72(0x160)]];const _0x502b5e=_0x2dec99;logger[_0x2a8e72(0x1ea)](_0x2a8e72(0x1e2)+JSON[_0x2a8e72(0x205)](_0x502b5e)),CodeceptRecorder[_0x2a8e72(0x193)](async()=>{const _0x2b2688=_0x2a8e72,_0x1e3b14={};_0x1e3b14[_0x2b2688(0x202)]=_0x5ab82a['xevCm'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2b2688(0x204)],async()=>{const _0x24f24a=_0x2b2688;await AccessibilityHelper[_0x24f24a(0x1f0)](_0x41f829,scripts[_0x24f24a(0x1a2)]);},_0x1e3b14)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xec1f0b=_0x2b2688;await AccessibilityHelper[_0xec1f0b(0x1f0)](_0x41f829,scripts['saveTestResults'],_0x502b5e);})();}),logger[_0x2a8e72(0x192)](_0x13bf42[_0x2a8e72(0x18f)]);}}const _0x383e6a={};_0x383e6a[_0x2a8e72(0x1ee)]=_0x13bf42[_0x2a8e72(0x175)],PerformanceTester[_0x2a8e72(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x383e6a);}catch(_0x4a5f6e){PerformanceTester[_0x2a8e72(0x163)](_0x4a5f6e);const _0x2215f1={};_0x2215f1[_0x2a8e72(0x1ee)]=_0x13bf42['mLnck'],PerformanceTester[_0x2a8e72(0x1be)](PerformanceHookEvents[_0x2a8e72(0x19e)],![],_0x4a5f6e,_0x2215f1);}}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS['event'][_0x3b32ba(0x197)][_0x3b32ba(0x210)],_0xec5adb=>{const _0x49f99e=_0x3b32ba;PerformanceTester[_0x49f99e(0x13e)](PerformanceHookEvents[_0x49f99e(0x19e)]);try{process[_0x49f99e(0x1f3)](_0x49f99e(0x1d7)+process[_0x49f99e(0x157)],{'timestamp':new Date()['toISOString'](),'level':_0x13bf42['WMuXy'],'message':_0xec5adb,'kind':_0x13bf42[_0x49f99e(0x185)],'http_response':{}});}catch(_0x4be7d6){PerformanceTester[_0x49f99e(0x163)](_0x4be7d6);const _0x2fa687={};_0x2fa687[_0x49f99e(0x1ee)]=_0x13bf42[_0x49f99e(0x1c7)],PerformanceTester[_0x49f99e(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x4be7d6,_0x2fa687);}const _0x2fcf5c={};_0x2fcf5c[_0x49f99e(0x1ee)]=_0x13bf42[_0x49f99e(0x1c7)],PerformanceTester[_0x49f99e(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2fcf5c);}),CodeceptJS['event'][_0x3b32ba(0x16f)]['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1d3)][_0x3b32ba(0x1e6)],_0x2d7108=>{const _0xb3ba45=_0x3b32ba,_0x464ff1={};_0x464ff1[_0xb3ba45(0x1ee)]=_0x13bf42[_0xb3ba45(0x177)],PerformanceTester[_0xb3ba45(0x1aa)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x4866ba['bddStepStart'](_0x2d7108);},_0x464ff1)();}),CodeceptJS[_0x3b32ba(0x196)]['dispatcher']['on'](CodeceptJS[_0x3b32ba(0x196)][_0x3b32ba(0x1d3)][_0x3b32ba(0x1dc)],_0x45cac5=>{const _0x2f0023=_0x3b32ba,_0x20ecbb={};_0x20ecbb['hookType']=_0x13bf42[_0x2f0023(0x13f)],PerformanceTester[_0x2f0023(0x1aa)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x4866ba['bddStepFinish'](_0x45cac5);},_0x20ecbb)();});};
|
|
1
|
+
const a1_0x196618=a1_0x4121;function a1_0x543f(){const _0x59ad3d=['WebDriver','hook-passed','qYmYC','TEST_RUN_STARTED','msUyr','prototype','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bind','JcGpi','passed','SDK_POST_INITIALIZE','bs:addLog:','zCSAT','codeceptjs/lib/utils.js','../../helpers/accessibility-automation/helper','6124GLYFDg','rEPar','start','HOOK_RUN_STARTED','saveScreenshot','before','Performing\x20scan\x20for\x20','kNtyX','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','zXAhT','INFO','YFIFS','browserstackTestName','stopMonitoring','phesI','hook','./helper.js','bddStep-before','Suite','Playwright','TdMzR','after','zLyLQ','captureEvent','ANJcq','codeceptjs/lib/index.js','Svdlv','patch','started','BxjOS','TEST_RUN_FINISHED','warn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','lyPGj','Nkvon','SAVE_RESULTS','jugjg','../../bin/playwright/accessibility-helper','stop','thBuildUuid','BROWSERSTACK_TESTHUB_UUID','contexts','executeScript','test-after','info','TEST_RUN_SKIPPED','fireEvent','Puppeteer','apply','Failed\x20to\x20execute\x20_before:\x20','IhaeC','EMcLO','catch','performScan','mDHsO','TEST_LOG','_before','WflKL','setGlobal','test-started','ftShE','accessibilityPlatform','format','pid','ENV_VAR','readFileSync','../../helpers/request-spy','testAnalyticsId','Element','comment','BS_TESTOPS_ALLOW_SCREENSHOTS','IYKAw','all','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_PRE_INITIALIZE','tMzUU','2211IeWmYt','bddStepFinish','SESSION_STATUS','add','TVqLj','vYhmy','kuFkd','test-passed','ZedtU','../../helpers/helper','wHcXr','hookType','end','codeceptjs','iwLLW','env','codeceptjs/lib/helper/WebDriver.js','getResultsSummary','event','uXnOk','test-before','zYcJP','slice','codeceptjs/lib/recorder.js','IDxjz','title','SDK_TEST','YVSQw','oknOe','fVnfQ','action','test','1632222ydBsUC','llfYp','TestCafe','XjlTk','7hrlTCw','toISOString','stringify','MFpGI','getAccessibilityResultsSummary','browserStackExecuteDriver','afterTest','../../helpers/performance/constants','browserContext','patchSaveScreenshot','emit','titlePath','screenshotOutputFolder','__workerDetails','debug','PQfvW','33880EecpWL','browserstack_executor:\x20','hZbTt','SDK_HOOK','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','util','failed','../../helpers/test-observability/utils','dispatcher','XvyvO','filter','hook-started','initSaveScreenshot','KSahB','helpers','status','currentTest','1430952bRTfXO','test-failed','skipped','2045EDTTnN','reason','SDK_POST_TEST','jWgWh','thJwtToken','commandsToWrap','VtPBD','IwUoF','captureError','HOOK_RUN_FINISHED','EnVuC','GzEmg','eZapM','32SATmQP','zdTIP','uaQZK','ctx','__driver','bddStep','saveTestResults','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','__skipSessionStatus','step-comment','fYjOo','measureWrapper','YhEsE','bstackAllyScanning','../../helpers/globals.js','forEach','Bgcow','60798nxKYLY','11QudLnW','base64','hook-failed','37270812frqjjD','../../bin/playwright/sessionDetails','Ajkbl','SESSION_NAME','name','egFgV','iJykx','Jehkm','skipSessionName','SDK_PRE_TEST','BROWSERSTACK_TESTHUB_JWT','winstonLogger','browser','thTestRunUuid','381942czfnRn','gHSKh','command','toString','skipSessionStatus','bddStep-after','GET_RESULTS_SUMMARY','GjTPR','getSyncScript','arguments','PERFORM_SCAN','getAccessibilityResults','class','constructor','exports','dVuyW','GET_RESULTS'];a1_0x543f=function(){return _0x59ad3d;};return a1_0x543f();}(function(_0x10ee7a,_0x41af1d){const _0x5225bd=a1_0x4121,_0x448078=_0x10ee7a();while(!![]){try{const _0xe90606=parseInt(_0x5225bd(0x17b))/0x1*(-parseInt(_0x5225bd(0x17a))/0x2)+parseInt(_0x5225bd(0x18c))/0x3+parseInt(_0x5225bd(0x1ac))/0x4*(-parseInt(_0x5225bd(0x15c))/0x5)+parseInt(_0x5225bd(0x159))/0x6*(-parseInt(_0x5225bd(0x21c))/0x7)+-parseInt(_0x5225bd(0x169))/0x8*(parseInt(_0x5225bd(0x218))/0x9)+-parseInt(_0x5225bd(0x148))/0xa*(parseInt(_0x5225bd(0x1f8))/0xb)+parseInt(_0x5225bd(0x17e))/0xc;if(_0xe90606===_0x41af1d)break;else _0x448078['push'](_0x448078['shift']());}catch(_0x2e850d){_0x448078['push'](_0x448078['shift']());}}}(a1_0x543f,0x99417));function a1_0x4121(_0x3e72dd,_0x548397){const _0x543fd3=a1_0x543f();return a1_0x4121=function(_0x412179,_0x4cb744){_0x412179=_0x412179-0x143;let _0x1b9c95=_0x543fd3[_0x412179];return _0x1b9c95;},a1_0x4121(_0x3e72dd,_0x548397);}const fs=require('fs'),util=require(a1_0x196618(0x14d)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x196618(0x201)),logger=require('../../helpers/logger')[a1_0x196618(0x189)],testOpsHelper=require(a1_0x196618(0x14f)),requestSpy=require(a1_0x196618(0x1ee)),PlaywrightSessionDetails=require(a1_0x196618(0x17f)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x196618(0x1ab)),AccessibilityHelper=require(a1_0x196618(0x1d1)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x196618(0x223)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x196618(0x1bc)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x196618(0x177)),CodeceptJS=requireModule(a1_0x196618(0x1c5),a1_0x196618(0x205)),CodeceptUtils=requireModule(a1_0x196618(0x1aa),a1_0x196618(0x205)),CodeceptWebDriver=requireModule(a1_0x196618(0x208),a1_0x196618(0x205)),CodeceptRecorder=requireModule(a1_0x196618(0x20f),'codeceptjs'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x196618(0x205)),playwrightMarkSessionStatus=(_0x2f6a6b,_0x42c50f,_0x1111a3)=>{const _0x17ad87=a1_0x196618,_0x46d95b={'YhEsE':'setSessionStatus','ufkVV':function(_0x4721a2,_0x13e47f){return _0x4721a2(_0x13e47f);}},_0x5d3665={};_0x5d3665[_0x17ad87(0x157)]=_0x42c50f;const _0x1af933={};_0x1af933['action']=_0x46d95b[_0x17ad87(0x175)],_0x1af933['arguments']=_0x5d3665;const _0x302feb=_0x1af933;return!_0x46d95b['ufkVV'](isUndefined,_0x1111a3)&&(_0x302feb['arguments'][_0x17ad87(0x15d)]=JSON[_0x17ad87(0x21e)](_0x1111a3)),_0x2f6a6b[_0x17ad87(0x1d6)](()=>{},_0x17ad87(0x149)+JSON[_0x17ad87(0x21e)](_0x302feb));},o11ySync=PerformanceTester[a1_0x196618(0x174)](PerformanceO11yEvents['SYNC'],async _0x1ca578=>{const _0x26284d=a1_0x196618,_0x527215={};_0x527215[_0x26284d(0x20d)]=function(_0x319193,_0x42f45e){return _0x319193===_0x42f45e;},_0x527215[_0x26284d(0x1f3)]=_0x26284d(0x1bf);const _0x8a25a3=_0x527215;_0x8a25a3[_0x26284d(0x20d)](_0x1ca578[_0x26284d(0x199)][_0x26284d(0x182)],_0x8a25a3[_0x26284d(0x1f3)])?await _0x1ca578[_0x26284d(0x1d6)](_0x37c461=>{},testOpsHelper[_0x26284d(0x194)]()):await _0x1ca578[_0x26284d(0x1d6)](testOpsHelper[_0x26284d(0x194)]());}),markSessionName=PerformanceTester[a1_0x196618(0x174)](PerformanceAutEvents[a1_0x196618(0x181)],async(_0x28cc4c,_0x2ce63d)=>{const _0x4fd1ea=a1_0x196618,_0x29c01b={};_0x29c01b[_0x4fd1ea(0x219)]='setSessionName',_0x29c01b[_0x4fd1ea(0x1f7)]=function(_0x2641e6,_0x1e7882){return _0x2641e6===_0x1e7882;},_0x29c01b[_0x4fd1ea(0x151)]=_0x4fd1ea(0x1bf);const _0x1b839f=_0x29c01b,_0x238304={};_0x238304[_0x4fd1ea(0x182)]=_0x2ce63d;const _0x30f2c1={};_0x30f2c1[_0x4fd1ea(0x216)]=_0x1b839f['llfYp'],_0x30f2c1[_0x4fd1ea(0x195)]=_0x238304;const _0x44783b=_0x30f2c1;_0x1b839f[_0x4fd1ea(0x1f7)](_0x28cc4c[_0x4fd1ea(0x199)][_0x4fd1ea(0x182)],_0x1b839f['XvyvO'])?await _0x28cc4c['executeScript'](()=>{},_0x4fd1ea(0x149)+JSON[_0x4fd1ea(0x21e)](_0x44783b)):await _0x28cc4c[_0x4fd1ea(0x1d6)](_0x4fd1ea(0x149)+JSON[_0x4fd1ea(0x21e)](_0x44783b));}),patchSaveScreenshot=_0x11862b=>{const _0x155b9d=a1_0x196618,_0x4da23b={'EnVuC':_0x155b9d(0x17c),'hZbTt':'TEST_SCREENSHOT','Svdlv':function(_0x70be25){return _0x70be25();},'VtPBD':function(_0x5bbab0,_0x381e41){return _0x5bbab0(_0x381e41);}};_0x4da23b[_0x155b9d(0x162)](isTrue,process[_0x155b9d(0x207)][_0x155b9d(0x1f2)])&&!_0x11862b[_0x155b9d(0x225)]&&(_0x11862b[_0x155b9d(0x225)]=!![],_0x11862b[_0x155b9d(0x154)]=_0x11862b['saveScreenshot'],_0x11862b[_0x155b9d(0x1b0)]=(_0x206a62,_0x19def1=![])=>{const _0x29c9cd=_0x155b9d,_0x43773d={'Nkvon':_0x4da23b[_0x29c9cd(0x166)],'CLpbh':_0x4da23b[_0x29c9cd(0x14a)],'kuFkd':function(_0x24aeaf){const _0x44953d=_0x29c9cd;return _0x4da23b[_0x44953d(0x1c6)](_0x24aeaf);}};return new Promise(function(_0x256527,_0x9af9a9){const _0x10c1e8=_0x29c9cd;_0x11862b['initSaveScreenshot'](_0x206a62,_0x19def1)['then'](()=>{const _0x57ff83=a1_0x4121,_0x400555=CodeceptUtils[_0x57ff83(0x144)](_0x206a62),_0xbc9593=fs[_0x57ff83(0x1ed)](_0x400555);process['emit'](_0x57ff83(0x1a8)+process['pid'],{'timestamp':new Date()[_0x57ff83(0x21d)](),'message':_0xbc9593[_0x57ff83(0x18f)](_0x43773d[_0x57ff83(0x1ce)]),'kind':_0x43773d['CLpbh']}),_0x43773d[_0x57ff83(0x1fe)](_0x256527);})[_0x10c1e8(0x1e0)](()=>null);});});},patchWebDriverBefore=_0x43783f=>{const _0x2fc057=a1_0x196618,_0x2f57a6={'PQfvW':function(_0x563269){return _0x563269();},'gHSKh':function(_0xdcb78b,_0x301b8c){return _0xdcb78b(_0x301b8c);},'rEPar':function(_0x22a444,_0x5573fd){return _0x22a444===_0x5573fd;},'ZedtU':_0x2fc057(0x1f0)},_0x127e56=async function(_0x4607a1,_0x512b95){const _0x3f44bb=_0x2fc057;return _0x2f57a6[_0x3f44bb(0x147)](isAccessibilityAutomationSession)&&!global[_0x3f44bb(0x176)]&&global[_0x3f44bb(0x1e9)]&&scripts['shouldWrapCommand'](_0x4607a1['name'])&&_0x2f57a6[_0x3f44bb(0x18d)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3f44bb(0x176)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f44bb(0x196)],async()=>{const _0x329fa7=_0x3f44bb;logger[_0x329fa7(0x146)](_0x329fa7(0x1b2)+_0x4607a1[_0x329fa7(0x198)]+'\x20'+_0x4607a1[_0x329fa7(0x182)]),await AccessibilityHelper[_0x329fa7(0x221)](_0x43783f,scripts[_0x329fa7(0x1e1)]);},{'command':_0x4607a1['name']})()),global[_0x3f44bb(0x176)]=![],_0x512b95[_0x3f44bb(0x1dc)](this,Array[_0x3f44bb(0x1a2)][_0x3f44bb(0x20e)]['call'](arguments,0x2));},_0x2ceecf=CodeceptWebDriver[_0x2fc057(0x1a2)][_0x2fc057(0x1e4)];CodeceptWebDriver[_0x2fc057(0x1a2)][_0x2fc057(0x1e4)]=async function(){const _0x38e0e3=_0x2fc057;try{await _0x2ceecf[_0x38e0e3(0x1dc)](this,arguments);}catch(_0x206135){logger[_0x38e0e3(0x146)](_0x38e0e3(0x1dd)+util[_0x38e0e3(0x1ea)](_0x206135));}scripts[_0x38e0e3(0x161)][_0x38e0e3(0x152)](_0x4f31ac=>_0x4f31ac[_0x38e0e3(0x182)]&&_0x4f31ac[_0x38e0e3(0x198)])[_0x38e0e3(0x178)](_0x29d9a7=>{const _0x1ade84=_0x38e0e3;this[_0x1ade84(0x18a)]['overwriteCommand'](_0x29d9a7['name'],_0x127e56[_0x1ade84(0x1a4)](this,_0x29d9a7),_0x2f57a6[_0x1ade84(0x1ad)](_0x29d9a7[_0x1ade84(0x198)],_0x2f57a6[_0x1ade84(0x200)]));}),_0x2f57a6[_0x38e0e3(0x18d)](processWebDriverConfig,_0x43783f);};},patchPlaywrightBefore=()=>{const _0x206ba2=a1_0x196618;PlaywrightSessionDetails[_0x206ba2(0x1c7)]();const _0x3f1e21=CodeceptPlaywright['prototype'][_0x206ba2(0x1e4)];CodeceptPlaywright[_0x206ba2(0x1a2)]['_before']=async function(){const _0x4f279c=_0x206ba2;this[_0x4f279c(0x224)]=await this[_0x4f279c(0x18a)][_0x4f279c(0x1d5)]()[0x0],await _0x3f1e21[_0x4f279c(0x1dc)](this,arguments);};},getCodeceptDriver=()=>{const _0x39ea62=a1_0x196618,_0x25a8c0={};_0x25a8c0[_0x39ea62(0x193)]=_0x39ea62(0x19d),_0x25a8c0[_0x39ea62(0x1b5)]=_0x39ea62(0x1bf),_0x25a8c0[_0x39ea62(0x168)]=_0x39ea62(0x1db),_0x25a8c0[_0x39ea62(0x1c2)]=_0x39ea62(0x21a);const _0x5c969b=_0x25a8c0,_0x1519ec=[_0x5c969b[_0x39ea62(0x193)],_0x5c969b[_0x39ea62(0x1b5)],_0x5c969b[_0x39ea62(0x168)],_0x5c969b[_0x39ea62(0x1c2)]],_0x412ccc=_0x1519ec['find'](_0x472243=>!!CodeceptJS['container'][_0x39ea62(0x156)](_0x472243));if(!_0x412ccc)return null;return CodeceptJS['container'][_0x39ea62(0x156)](_0x412ccc);};module[a1_0x196618(0x19a)]=function(_0x4aafff){const _0x4ba472=a1_0x196618,_0x2a5d1b={'GzEmg':function(_0x77d4c6){return _0x77d4c6();},'IhaeC':function(_0x30579c,_0x535ab5){return _0x30579c(_0x535ab5);},'ANJcq':_0x4ba472(0x220),'MFpGI':_0x4ba472(0x1cc),'TqlVZ':_0x4ba472(0x197),'iJykx':_0x4ba472(0x1b4),'fVnfQ':_0x4ba472(0x153),'XjlTk':_0x4ba472(0x19e),'zCSAT':_0x4ba472(0x17d),'vYhmy':_0x4ba472(0x1b8),'IwUoF':function(_0x4eaaf9){return _0x4eaaf9();},'egFgV':_0x4ba472(0x20c),'uXnOk':function(_0x385539){return _0x385539();},'lhlyf':function(_0x5c42a7,_0xa51c02,_0x74e9b1){return _0x5c42a7(_0xa51c02,_0x74e9b1);},'Jehkm':function(_0x39bf9e,_0x3e3496){return _0x39bf9e(_0x3e3496);},'iwLLW':_0x4ba472(0x1e7),'zdTIP':_0x4ba472(0x1ff),'EMcLO':function(_0x35e919){return _0x35e919();},'lyPGj':function(_0x319170,_0x520859,_0x15ad40,_0x1ead03){return _0x319170(_0x520859,_0x15ad40,_0x1ead03);},'WflKL':function(_0x2070b0,_0x389a03){return _0x2070b0===_0x389a03;},'oknOe':_0x4ba472(0x1be),'IDxjz':_0x4ba472(0x15a),'YFIFS':'test-skipped','wHcXr':_0x4ba472(0x222),'TVqLj':function(_0x641680){return _0x641680();},'Ajkbl':function(_0x24bb33){return _0x24bb33();},'uaQZK':_0x4ba472(0x14c),'KSahB':_0x4ba472(0x1d7),'bQSnX':_0x4ba472(0x1b6),'fYjOo':_0x4ba472(0x1e3),'jugjg':_0x4ba472(0x172),'kNtyX':_0x4ba472(0x1bd),'BxjOS':_0x4ba472(0x191),'Bgcow':function(_0x1bc983){return _0x1bc983();},'YVSQw':_0x4ba472(0x1bf)};_0x4aafff['skipSessionStatus']&&(global[_0x4ba472(0x171)]=_0x4aafff[_0x4ba472(0x190)]);PerformanceTester['startMonitoring']();const _0x42af04=_0x2a5d1b[_0x4ba472(0x179)](getCodeceptDriver),_0x3fce2d=new O11yHelper(_0x42af04,_0x4aafff),_0x2209e9=!!CodeceptJS['container'][_0x4ba472(0x156)](_0x2a5d1b[_0x4ba472(0x213)]);global[_0x4ba472(0x16d)]=_0x42af04,_0x42af04&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x4ba472(0x1f6)],()=>{const _0x4e3c8d=_0x4ba472;_0x2209e9?_0x2a5d1b[_0x4e3c8d(0x167)](patchPlaywrightBefore):_0x2a5d1b[_0x4e3c8d(0x1de)](patchWebDriverBefore,_0x42af04);})(),PerformanceTester[_0x4ba472(0x174)](PerformanceEvents[_0x4ba472(0x1a7)],()=>{const _0x411218=_0x4ba472,_0x5a79f4={};_0x5a79f4['jWgWh']=_0x2a5d1b[_0x411218(0x1c4)],_0x5a79f4['qYmYC']=_0x2a5d1b[_0x411218(0x21f)],_0x5a79f4[_0x411218(0x1e2)]=_0x2a5d1b['TqlVZ'],_0x5a79f4[_0x411218(0x19b)]=_0x2a5d1b[_0x411218(0x184)];const _0x29c6db=_0x5a79f4;_0x42af04[_0x411218(0x220)]=async()=>{const _0x23f131=_0x411218;if(global[_0x23f131(0x1e9)]){const _0x23d67c={};_0x23d67c['command']=_0x29c6db[_0x23f131(0x15f)],await PerformanceTester[_0x23f131(0x174)](PerformanceA11yEvents[_0x23f131(0x196)],async()=>{const _0x54b1e8=_0x23f131;await AccessibilityHelper['browserStackExecuteDriver'](_0x42af04,scripts[_0x54b1e8(0x1e1)]);},_0x23d67c)(),await PerformanceTester[_0x23f131(0x174)](PerformanceA11yEvents[_0x23f131(0x192)],async()=>{const _0x1eb01=_0x23f131;await AccessibilityHelper[_0x1eb01(0x221)](_0x42af04,scripts[_0x1eb01(0x209)]);})();}else return logger[_0x23f131(0x1cb)](_0x29c6db[_0x23f131(0x19f)]),{};},_0x42af04[_0x411218(0x197)]=async()=>{const _0x599e11=_0x411218;if(global['accessibilityPlatform']){const _0x3f1ddb={};_0x3f1ddb[_0x599e11(0x18e)]=_0x29c6db['mDHsO'],await PerformanceTester[_0x599e11(0x174)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x14bfe0=_0x599e11;await AccessibilityHelper[_0x14bfe0(0x221)](_0x42af04,scripts[_0x14bfe0(0x1e1)]);},_0x3f1ddb)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x599e11(0x19c)],async()=>{const _0x8fac30=_0x599e11;await AccessibilityHelper[_0x8fac30(0x221)](_0x42af04,scripts['getResults']);})();}else return logger[_0x599e11(0x1cb)](_0x29c6db[_0x599e11(0x19b)]),{};},_0x2a5d1b[_0x411218(0x1de)](patchSaveScreenshot,_0x42af04);})()),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)]['all'][_0x4ba472(0x1b1)],()=>{const _0x5a0bc3=_0x4ba472;PerformanceTester[_0x5a0bc3(0x1ae)](PerformanceEvents['SDK_PRE_TEST']);try{_0x3fce2d['start'](),testOpsHelper['addRequestSpy'](),PerformanceTester['end'](PerformanceEvents[_0x5a0bc3(0x187)]);}catch(_0x52acb8){PerformanceTester[_0x5a0bc3(0x164)](_0x52acb8),PerformanceTester[_0x5a0bc3(0x204)](PerformanceEvents['SDK_PRE_TEST'],![],_0x52acb8);}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x1f4)]['after'],async()=>{const _0x1657e0=_0x4ba472;PerformanceTester[_0x1657e0(0x1ae)](PerformanceEvents[_0x1657e0(0x15e)]);try{requestSpy['restore'](),await _0x3fce2d[_0x1657e0(0x1d2)](),PerformanceTester['end'](PerformanceEvents[_0x1657e0(0x15e)]);}catch(_0x18fa81){PerformanceTester[_0x1657e0(0x164)](_0x18fa81),PerformanceTester[_0x1657e0(0x204)](PerformanceEvents[_0x1657e0(0x15e)],![],_0x18fa81);}finally{PerformanceTester[_0x1657e0(0x1b9)]();}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x1bb)][_0x4ba472(0x1c8)],_0x107ff9=>{const _0x372d89=_0x4ba472;PerformanceTester[_0x372d89(0x1ae)](PerformanceEvents[_0x372d89(0x14b)]);try{const _0x17f998=_0x107ff9['ctx'][_0x372d89(0x217)],_0x82b37=_0x3fce2d[_0x372d89(0x1c3)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x17f998);CodeceptRecorder['add'](()=>_0x3fce2d[_0x372d89(0x1da)](TEST_EVENTS[_0x372d89(0x1af)],_0x82b37));const _0x1bf56d={};_0x1bf56d[_0x372d89(0x203)]=_0x2a5d1b[_0x372d89(0x215)],PerformanceTester['end'](PerformanceEvents[_0x372d89(0x14b)],!![],null,_0x1bf56d);}catch(_0x5b2a5e){const _0x590244={};_0x590244[_0x372d89(0x203)]=_0x2a5d1b[_0x372d89(0x215)],PerformanceTester[_0x372d89(0x204)](PerformanceEvents[_0x372d89(0x14b)],![],_0x5b2a5e,_0x590244),PerformanceTester['captureError'](_0x5b2a5e);}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x1bb)][_0x4ba472(0x1a6)],_0x4fc5c7=>{const _0x416e8d=_0x4ba472,_0x34cbfb={};_0x34cbfb['hookType']=_0x2a5d1b['XjlTk'],PerformanceTester[_0x416e8d(0x1ae)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x34cbfb);try{const _0x4b2b68=_0x4fc5c7['ctx'][_0x416e8d(0x217)],_0x112b5f=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x416e8d(0x165)],_0x4b2b68);CodeceptRecorder[_0x416e8d(0x1fb)](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x416e8d(0x165)],_0x112b5f));const _0xd458a7={};_0xd458a7[_0x416e8d(0x203)]=_0x2a5d1b[_0x416e8d(0x21b)],PerformanceTester[_0x416e8d(0x204)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xd458a7);}catch(_0x3008ec){PerformanceTester[_0x416e8d(0x164)](_0x3008ec);const _0x1999ee={};_0x1999ee[_0x416e8d(0x203)]=_0x2a5d1b[_0x416e8d(0x21b)],PerformanceTester[_0x416e8d(0x204)](PerformanceHookEvents[_0x416e8d(0x14b)],![],_0x3008ec,_0x1999ee);}}),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x1bb)]['failed'],async(_0x444dd8,_0x188cfe)=>{const _0x5160d1=_0x4ba472;PerformanceTester[_0x5160d1(0x1ae)](PerformanceHookEvents[_0x5160d1(0x14b)]);try{const _0x1d2e80=_0x444dd8[_0x5160d1(0x16c)]['test'],_0x132963=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x5160d1(0x165)],_0x1d2e80,_0x188cfe);CodeceptRecorder[_0x5160d1(0x1fb)](()=>_0x3fce2d[_0x5160d1(0x1da)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x132963));const _0x4f9d33={};_0x4f9d33[_0x5160d1(0x203)]=_0x2a5d1b['zCSAT'],PerformanceTester[_0x5160d1(0x1ae)](PerformanceHookEvents[_0x5160d1(0x14b)],!![],null,_0x4f9d33);}catch(_0x24bb54){PerformanceTester[_0x5160d1(0x164)](_0x24bb54);const _0x35beb6={};_0x35beb6[_0x5160d1(0x203)]=_0x2a5d1b['zCSAT'],PerformanceTester[_0x5160d1(0x204)](PerformanceHookEvents[_0x5160d1(0x14b)],![],_0x24bb54,_0x35beb6);}const _0x47af98={};_0x47af98[_0x5160d1(0x203)]=_0x2a5d1b[_0x5160d1(0x1a9)],PerformanceTester['end'](PerformanceHookEvents[_0x5160d1(0x14b)],!![],null,_0x47af98);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x1b1)],_0xddd7f4=>{const _0x4d3036=_0x4ba472;PerformanceTester[_0x4d3036(0x1ae)](PerformanceHookEvents[_0x4d3036(0x14b)]);try{globals[_0x4d3036(0x1e6)](_0x2a5d1b[_0x4d3036(0x1fd)],_0xddd7f4[_0x4d3036(0x211)]);_0x2a5d1b[_0x4d3036(0x163)](isBrowserstackInfra)&&(_0x2209e9&&(global[_0x4d3036(0x145)]={'currentTest':{'name':_0xddd7f4[_0x4d3036(0x211)],'testInfo':{'titlePath':_0xddd7f4[_0x4d3036(0x143)]()}}}));const _0x3dfc44={};_0x3dfc44[_0x4d3036(0x203)]=_0x2a5d1b[_0x4d3036(0x183)],PerformanceTester[_0x4d3036(0x204)](PerformanceHookEvents[_0x4d3036(0x14b)],!![],null,_0x3dfc44);}catch(_0x5ab0c5){PerformanceTester['captureError'](_0x5ab0c5);const _0x4e6542={};_0x4e6542['hookType']=_0x2a5d1b[_0x4d3036(0x183)],PerformanceTester[_0x4d3036(0x204)](PerformanceHookEvents[_0x4d3036(0x14b)],![],_0x5ab0c5,_0x4e6542);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x4ba472(0x217)]['started'],_0x271b64=>{const _0x3b3b0c=_0x4ba472;PerformanceTester[_0x3b3b0c(0x1ae)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x3b3b0c(0x1e6)](_0x2a5d1b['vYhmy'],_0x271b64[_0x3b3b0c(0x211)]);const _0x2d6988=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x3b3b0c(0x1a0)],_0x271b64);CodeceptRecorder[_0x3b3b0c(0x1fb)](()=>_0x3fce2d[_0x3b3b0c(0x1da)](TEST_EVENTS['TEST_RUN_STARTED'],_0x2d6988)),CodeceptRecorder['add'](async()=>{const _0x2316ce=_0x3b3b0c;_0x2a5d1b['uXnOk'](isBrowserstackInfra)&&(!_0x2a5d1b[_0x2316ce(0x1de)](isTrue,_0x4aafff[_0x2316ce(0x186)])&&await _0x2a5d1b['lhlyf'](markSessionName,_0x42af04,_0x271b64[_0x2316ce(0x211)]),_0x3fce2d['enabled']&&await _0x2a5d1b[_0x2316ce(0x185)](o11ySync,_0x42af04));});}catch(_0x6b7560){const _0x3154b0={};_0x3154b0[_0x3b3b0c(0x203)]=_0x2a5d1b[_0x3b3b0c(0x206)],PerformanceTester['end'](PerformanceHookEvents[_0x3b3b0c(0x14b)],![],_0x6b7560,_0x3154b0),PerformanceTester[_0x3b3b0c(0x164)](_0x6b7560);}const _0x58bfb1={};_0x58bfb1[_0x3b3b0c(0x203)]=_0x2a5d1b['iwLLW'],PerformanceTester[_0x3b3b0c(0x204)](PerformanceHookEvents[_0x3b3b0c(0x14b)],!![],null,_0x58bfb1);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)]['passed'],_0x54dad8=>{const _0x325883=_0x4ba472,_0x57a8b7={'TdMzR':function(_0x67edc1,_0x5329cc,_0xfd0bf7){return _0x2a5d1b['lhlyf'](_0x67edc1,_0x5329cc,_0xfd0bf7);},'msUyr':function(_0x435b74,_0x5b2bcf,_0x3f9fb0){return _0x2a5d1b['lhlyf'](_0x435b74,_0x5b2bcf,_0x3f9fb0);},'ftShE':function(_0x1c5905){const _0x4a2e3c=a1_0x4121;return _0x2a5d1b[_0x4a2e3c(0x20b)](_0x1c5905);}};PerformanceTester['start'](PerformanceHookEvents[_0x325883(0x14b)]);try{const _0xdf992=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x325883(0x1ca)],_0x54dad8);CodeceptRecorder['add'](()=>_0x3fce2d['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0xdf992)),CodeceptRecorder[_0x325883(0x1fb)](async()=>{const _0x227591=_0x325883;_0x57a8b7[_0x227591(0x1e8)](isBrowserstackInfra)&&await PerformanceTester[_0x227591(0x174)](PerformanceAutEvents[_0x227591(0x1fa)],async()=>{const _0x19d7a1=_0x227591;_0x2209e9?await _0x57a8b7[_0x19d7a1(0x1c0)](playwrightMarkSessionStatus,_0x42af04,STATE_PASSED):await _0x57a8b7[_0x19d7a1(0x1a1)](markSessionStatus,_0x42af04,STATE_PASSED);})();}),PerformanceTester[_0x325883(0x204)](PerformanceEvents[_0x325883(0x212)]);}catch(_0x5bdc90){PerformanceTester[_0x325883(0x164)](_0x5bdc90);const _0x3030d5={};_0x3030d5[_0x325883(0x203)]=_0x2a5d1b[_0x325883(0x16a)],PerformanceTester[_0x325883(0x204)](PerformanceHookEvents['SDK_HOOK'],![],_0x5bdc90,_0x3030d5),PerformanceTester[_0x325883(0x204)](PerformanceEvents[_0x325883(0x212)],![],_0x5bdc90);}const _0x4c5f3f={};_0x4c5f3f[_0x325883(0x203)]=_0x2a5d1b[_0x325883(0x16a)],PerformanceTester['end'](PerformanceHookEvents[_0x325883(0x14b)],!![],null,_0x4c5f3f);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x14e)],(_0x40a1a5,_0x38ecd7)=>{const _0x3b3bb7=_0x4ba472,_0xb60c92={'phesI':function(_0x54f3cf){const _0x1072f0=a1_0x4121;return _0x2a5d1b[_0x1072f0(0x1df)](_0x54f3cf);},'JcGpi':function(_0x4870a4,_0x15d4b9,_0x5a26f6,_0x29628c){const _0x3a94c1=a1_0x4121;return _0x2a5d1b[_0x3a94c1(0x1cd)](_0x4870a4,_0x15d4b9,_0x5a26f6,_0x29628c);}};PerformanceTester[_0x3b3bb7(0x1ae)](PerformanceHookEvents[_0x3b3bb7(0x14b)]);try{if(_0x2a5d1b[_0x3b3bb7(0x1e5)](_0x40a1a5['constructor'][_0x3b3bb7(0x182)],_0x2a5d1b[_0x3b3bb7(0x214)])){const _0x17fd94=_0x3fce2d[_0x3b3bb7(0x1c3)](TEST_EVENTS[_0x3b3bb7(0x1d9)],_0x40a1a5[_0x3b3bb7(0x16c)][_0x3b3bb7(0x158)]);CodeceptRecorder[_0x3b3bb7(0x1fb)](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x3b3bb7(0x1d9)],_0x17fd94));}else{const _0x46da43=_0x3fce2d['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x40a1a5,_0x38ecd7);CodeceptRecorder['add'](()=>{const _0xc8bf7c=_0x3b3bb7;try{_0x3fce2d[_0xc8bf7c(0x1da)](TEST_EVENTS[_0xc8bf7c(0x1ca)],_0x46da43);}catch(_0xf0c079){logger[_0xc8bf7c(0x146)](_0xc8bf7c(0x170)+util['format'](_0xf0c079)),PerformanceTester[_0xc8bf7c(0x204)](PerformanceEvents[_0xc8bf7c(0x212)],![],_0xf0c079);}}),CodeceptRecorder[_0x3b3bb7(0x1fb)](async()=>{const _0x205382=_0x3b3bb7;try{_0xb60c92[_0x205382(0x1ba)](isBrowserstackInfra)&&(_0x2209e9?await _0xb60c92[_0x205382(0x1a5)](playwrightMarkSessionStatus,_0x42af04,STATE_FAILED,_0x38ecd7):await _0xb60c92[_0x205382(0x1a5)](markSessionStatus,_0x42af04,STATE_FAILED,_0x38ecd7));}catch(_0x5f2a12){logger['debug'](_0x205382(0x1a3)+util[_0x205382(0x1ea)](_0x5f2a12)),PerformanceTester[_0x205382(0x204)](PerformanceEvents[_0x205382(0x212)],![],_0x5f2a12);}});}PerformanceTester[_0x3b3bb7(0x204)](PerformanceEvents['SDK_TEST']);}catch(_0x5dbc8f){PerformanceTester[_0x3b3bb7(0x164)](_0x5dbc8f);const _0x4eff31={};_0x4eff31[_0x3b3bb7(0x203)]=_0x2a5d1b[_0x3b3bb7(0x210)],PerformanceTester[_0x3b3bb7(0x204)](PerformanceHookEvents['SDK_HOOK'],![],_0x5dbc8f,_0x4eff31),PerformanceTester['end'](PerformanceEvents[_0x3b3bb7(0x212)],![],_0x5dbc8f);}const _0x18caac={};_0x18caac['hookType']=_0x2a5d1b[_0x3b3bb7(0x210)],PerformanceTester[_0x3b3bb7(0x204)](PerformanceHookEvents[_0x3b3bb7(0x14b)],!![],null,_0x18caac);}),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x15b)],_0x319d7f=>{const _0x1fa2fe=_0x4ba472;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x59f0eb=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x1fa2fe(0x1d9)],_0x319d7f);CodeceptRecorder['add'](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x1fa2fe(0x1d9)],_0x59f0eb)),PerformanceTester['end'](PerformanceEvents[_0x1fa2fe(0x212)]);}catch(_0xe63dc){PerformanceTester[_0x1fa2fe(0x164)](_0xe63dc),PerformanceTester[_0x1fa2fe(0x204)](PerformanceEvents[_0x1fa2fe(0x212)],![],_0xe63dc);const _0x4d8cc4={};_0x4d8cc4[_0x1fa2fe(0x203)]=_0x2a5d1b['YFIFS'],PerformanceTester[_0x1fa2fe(0x204)](PerformanceHookEvents[_0x1fa2fe(0x14b)],![],_0xe63dc,_0x4d8cc4);}const _0x318a5e={};_0x318a5e[_0x1fa2fe(0x203)]=_0x2a5d1b[_0x1fa2fe(0x1b7)],PerformanceTester['end'](PerformanceHookEvents[_0x1fa2fe(0x14b)],!![],null,_0x318a5e);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x217)][_0x4ba472(0x1c1)],async(_0x509846,_0x280326)=>{const _0x2a4f40=_0x4ba472;try{PerformanceTester[_0x2a4f40(0x1ae)](PerformanceHookEvents[_0x2a4f40(0x14b)]);if(_0x2a5d1b[_0x2a4f40(0x1fc)](isBrowserstackInfra)){const _0x4782fb=_0x2a5d1b['lhlyf'](shouldScanTestForAccessibility,_0x509846[_0x2a4f40(0x143)](),!![]);if(_0x2a5d1b[_0x2a4f40(0x180)](isAccessibilityAutomationSession)&&global[_0x2a4f40(0x1e9)]&&_0x4782fb){const _0x15297b={};_0x15297b[_0x2a4f40(0x18b)]=_0x509846[_0x2a4f40(0x1ef)],_0x15297b[_0x2a4f40(0x1d3)]=process[_0x2a4f40(0x207)][testHubConstants[_0x2a4f40(0x1ec)][_0x2a4f40(0x1d4)]],_0x15297b[_0x2a4f40(0x160)]=process[_0x2a4f40(0x207)][testHubConstants[_0x2a4f40(0x1ec)][_0x2a4f40(0x188)]];const _0x29326d=_0x15297b;logger[_0x2a4f40(0x146)](_0x2a4f40(0x1f5)+JSON[_0x2a4f40(0x21e)](_0x29326d)),CodeceptRecorder[_0x2a4f40(0x1fb)](async()=>{const _0x419ccc=_0x2a4f40,_0x4be793={};_0x4be793[_0x419ccc(0x18e)]=_0x2a5d1b[_0x419ccc(0x202)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x419ccc(0x196)],async()=>{const _0x3f7482=_0x419ccc;await AccessibilityHelper[_0x3f7482(0x221)](_0x42af04,scripts[_0x3f7482(0x1e1)]);},_0x4be793)(),await PerformanceTester[_0x419ccc(0x174)](PerformanceA11yEvents[_0x419ccc(0x1cf)],async()=>{const _0x4e6b0c=_0x419ccc;await AccessibilityHelper[_0x4e6b0c(0x221)](_0x42af04,scripts[_0x4e6b0c(0x16f)],_0x29326d);})();}),logger[_0x2a4f40(0x1d8)](_0x2a5d1b[_0x2a4f40(0x16b)]);}}const _0x22861f={};_0x22861f['hookType']=_0x2a5d1b[_0x2a4f40(0x155)],PerformanceTester['end'](PerformanceHookEvents[_0x2a4f40(0x14b)],!![],null,_0x22861f);}catch(_0x14baf0){PerformanceTester['captureError'](_0x14baf0);const _0x58e477={};_0x58e477['hookType']=_0x2a5d1b['KSahB'],PerformanceTester[_0x2a4f40(0x204)](PerformanceHookEvents[_0x2a4f40(0x14b)],![],_0x14baf0,_0x58e477);}}),CodeceptJS[_0x4ba472(0x20a)]['dispatcher']['on'](CodeceptJS['event']['step'][_0x4ba472(0x1f1)],_0xcfa37c=>{const _0x1748a7=_0x4ba472;PerformanceTester['start'](PerformanceHookEvents[_0x1748a7(0x14b)]);try{process[_0x1748a7(0x226)](_0x1748a7(0x1a8)+process[_0x1748a7(0x1eb)],{'timestamp':new Date()[_0x1748a7(0x21d)](),'level':_0x2a5d1b['bQSnX'],'message':_0xcfa37c,'kind':_0x2a5d1b[_0x1748a7(0x173)],'http_response':{}});}catch(_0x124d3e){PerformanceTester['captureError'](_0x124d3e);const _0x1e6364={};_0x1e6364[_0x1748a7(0x203)]=_0x2a5d1b[_0x1748a7(0x1d0)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x124d3e,_0x1e6364);}const _0x279fa5={};_0x279fa5[_0x1748a7(0x203)]=_0x2a5d1b[_0x1748a7(0x1d0)],PerformanceTester['end'](PerformanceHookEvents[_0x1748a7(0x14b)],!![],null,_0x279fa5);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4ba472(0x20a)]['bddStep'][_0x4ba472(0x1b1)],_0x4b9b7d=>{const _0x3379b0=_0x4ba472,_0x4ec29f={};_0x4ec29f[_0x3379b0(0x203)]=_0x2a5d1b[_0x3379b0(0x1b3)],PerformanceTester[_0x3379b0(0x174)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x3fce2d['bddStepStart'](_0x4b9b7d);},_0x4ec29f)();}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x16e)][_0x4ba472(0x1c1)],_0x4867f5=>{const _0x975dca=_0x4ba472,_0xf18576={};_0xf18576[_0x975dca(0x203)]=_0x2a5d1b[_0x975dca(0x1c9)],PerformanceTester[_0x975dca(0x174)](PerformanceHookEvents[_0x975dca(0x14b)],()=>{const _0x374306=_0x975dca;_0x3fce2d[_0x374306(0x1f9)](_0x4867f5);},_0xf18576)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x316118=a2_0x1cfc;(function(_0x258909,_0x53fd8c){const _0x2e9047=a2_0x1cfc,_0x1b656c=_0x258909();while(!![]){try{const _0x4f41db=-parseInt(_0x2e9047(0x1b9))/0x1+-parseInt(_0x2e9047(0x1cc))/0x2+parseInt(_0x2e9047(0x19d))/0x3+-parseInt(_0x2e9047(0x1d9))/0x4*(parseInt(_0x2e9047(0x1a6))/0x5)+parseInt(_0x2e9047(0x1e1))/0x6+parseInt(_0x2e9047(0x1f2))/0x7+-parseInt(_0x2e9047(0x1be))/0x8*(-parseInt(_0x2e9047(0x1f8))/0x9);if(_0x4f41db===_0x53fd8c)break;else _0x1b656c['push'](_0x1b656c['shift']());}catch(_0x5d6b73){_0x1b656c['push'](_0x1b656c['shift']());}}}(a2_0xe2d8,0xeec09));const fs=require('fs'),path=require(a2_0x316118(0x1a8)),util=require(a2_0x316118(0x1e4)),process=require(a2_0x316118(0x199)),logger=require(a2_0x316118(0x1e7))[a2_0x316118(0x224)],{default:BrowserStackSetup}=require(a2_0x316118(0x20e)),helper=require('../../helpers/helper'),utilities=require(a2_0x316118(0x20c)),{checkAccessibilityPlatformConfig}=require(a2_0x316118(0x1ea)),{setAccessibilityCapabilities}=require(a2_0x316118(0x1b5)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x316118(0x22e)),CodeceptJS=requireModule(a2_0x316118(0x21f),a2_0x316118(0x1e8)),testOpsHelper=require(a2_0x316118(0x1e6)),TestHubHandler=require(a2_0x316118(0x1c1)),constants=require(a2_0x316118(0x1a2)),PerformanceTester=require(a2_0x316118(0x19f)),PerformanceEvents=require(a2_0x316118(0x225))[a2_0x316118(0x1ae)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x337df3,_0x2b5f14)=>{const _0x44bf31=a2_0x316118,_0x141553={};_0x141553['pLjME']=function(_0x42c7f6,_0x33cd62){return _0x42c7f6===_0x33cd62;},_0x141553[_0x44bf31(0x1ff)]=_0x44bf31(0x1aa),_0x141553[_0x44bf31(0x1f1)]=_0x44bf31(0x214);const _0x427962=_0x141553;let _0x2aee08=null;const _0x1738cb={};let _0x399370=_0x2b5f14[_0x44bf31(0x20a)](_0xaf8882=>_0xaf8882===_0x44bf31(0x226));_0x427962[_0x44bf31(0x207)](_0x399370,-0x1)&&(_0x399370=_0x2b5f14[_0x44bf31(0x20a)](_0x32568b=>_0x32568b==='-c'));if(!helper['isUndefined'](_0x337df3[_0x44bf31(0x213)])&&fs['existsSync'](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x337df3[_0x44bf31(0x213)])))_0x2aee08=path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x337df3[_0x44bf31(0x213)]),_0x2b5f14[_0x44bf31(0x228)](_0x399370,0x2);else{if(!helper[_0x44bf31(0x201)](_0x337df3['c'])&&fs[_0x44bf31(0x195)](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x337df3['c'])))_0x2aee08=path[_0x44bf31(0x216)](process['cwd'](),_0x337df3['c']),_0x2b5f14[_0x44bf31(0x228)](_0x399370,0x2);else{if(fs[_0x44bf31(0x195)](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x427962[_0x44bf31(0x1ff)])))_0x2aee08=path['join'](process['cwd'](),_0x427962[_0x44bf31(0x1ff)]);else fs[_0x44bf31(0x195)](path[_0x44bf31(0x216)](process[_0x44bf31(0x1b7)](),_0x427962[_0x44bf31(0x1f1)]))&&(_0x2aee08=path['join'](process[_0x44bf31(0x1b7)](),_0x427962['NeLCC']));}}return process[_0x44bf31(0x1ba)]['USER_CONFIG_DETAILS_PATH']=_0x2aee08,_0x2aee08;},getO11yRerunPattern=()=>{const _0x57db72=a2_0x316118,_0x272060=helper[_0x57db72(0x1a5)](process[_0x57db72(0x1ba)][_0x57db72(0x229)]);if(_0x272060){const _0x3b8c3a=process[_0x57db72(0x1ba)]['BROWSERSTACK_RERUN_TESTS'],_0x18f972=[];if(helper[_0x57db72(0x1fd)](_0x3b8c3a)&&!helper[_0x57db72(0x201)](_0x3b8c3a)){_0x3b8c3a['split'](',')[_0x57db72(0x1d2)](_0x44bcfd=>{const _0x23ec0c=_0x57db72;_0x18f972[_0x23ec0c(0x21d)]('('+_0x44bcfd[_0x23ec0c(0x1e3)]()+')');});const _0x461a12='^'+_0x18f972[_0x57db72(0x216)]('|')+'$';return _0x461a12;}}return null;},a2_0x2ab2dc={};a2_0x2ab2dc[a2_0x316118(0x1c5)]=a2_0x316118(0x1d7),a2_0x2ab2dc[a2_0x316118(0x1e0)]=a2_0x316118(0x1d7),a2_0x2ab2dc[a2_0x316118(0x1df)]=a2_0x316118(0x1c2),a2_0x2ab2dc[a2_0x316118(0x202)]='webkit';function a2_0xe2d8(){const _0x40b2ef=['SDK_SETUP','useW3C','printBuildLink','map','WebDriver','StWEt','-cucumber','gherkin','chromium','bmgeT','12hArfUY','eNfQp','testObservability','finalExecution','chdir','lPEpb','playwright-firefox','playwright-chromium','5005518zRDzFj','Failed\x20:\x20','trim','util','stringify','../../helpers/test-observability/utils','../../helpers/logger','codeceptjs','profile','../../helpers/accessibility-automation/helper','tIjMs','HNjnm','BrowserStackPlugin','browserName','format','BrowserStackPlugin.js','NeLCC','7422079cVFydm','ZnXwB','TWkGP','parallelsPerPlatform','validPlatformsPresent','setAdditionalCapabilities','3627pzjUUa','skipSessionName','luEza','KfcWt','vwufI','validateRerunTestList','browserStackCwd','qnCVN','skipSessionStatus','isUndefined','playwright-webkit','XDTJd','info','load','toLowerCase','pLjME','stop','zzbFZ','findIndex','bootstrapAll','../../helpers/utilities','test','../../helpers/BrowserStackSetup','vrMka','launchBuild','FRAMEWORKS','PykDV','config','codecept.json','KnOmh','join','testContextOptions','AiaAR','spawn','forEach','browserWSEndpoint','exports','push','handleApp','codeceptjs/lib/index.js','now','teardownAll','addTests','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','winstonLogger','../../helpers/performance/constants','--config','before','slice','BROWSERSTACK_RERUN','accessibilityOptions','event','Passed\x20:\x20','Playwright','../../helpers/helper','Started\x20:\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','existsSync','BROWSERSTACK_TEST_OBSERVABILITY_YML','createGroupsOfSuites','require','process','getPlaywrightUrl','isTestObservabilitySession','pKBQd','395703MIlCur','helpers','../../helpers/performance/performance-tester','title','0|4|2|1|5|3','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_YML','passed','isTrue','2528705YgvEID','Jhkeh','path','accessibility','codecept.conf.js','CODECEPT','dirname','log','EVENTS','ChgLb','end','hlojm','length','err','platforms','../../bin/playwright/accessibility-helper','testConfig','cwd','prepareCapabilities','1646049sGFXMD','env','getUserWorkerCount','debug','browser','68808DUsjFk','stack','mHKBm','../../helpers/testhub/testhubHandler','firefox','root','addConfig','chrome','TISub','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','tgGat','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SFqGG','desiredCapabilities','2702906iohqaF','LoCij','errorMessage'];a2_0xe2d8=function(){return _0x40b2ef;};return a2_0xe2d8();}const pwToCodeceptBrowser=a2_0x2ab2dc;function a2_0x1cfc(_0x5828cf,_0xabe4a9){const _0xe2d81=a2_0xe2d8();return a2_0x1cfc=function(_0x1cfcaf,_0xd25335){_0x1cfcaf=_0x1cfcaf-0x195;let _0x14e4f0=_0xe2d81[_0x1cfcaf];return _0x14e4f0;},a2_0x1cfc(_0x5828cf,_0xabe4a9);}async function run(_0x1845f0,_0x144858){const _0x3e9eea=a2_0x316118,_0x5599d8={'mHKBm':function(_0x13a583,_0x55b638){return _0x13a583+_0x55b638;},'HdeQX':function(_0x461e79,_0x10c955){return _0x461e79(_0x10c955);},'hlojm':function(_0x2010e5,_0x571b2c,_0x1eb51e){return _0x2010e5(_0x571b2c,_0x1eb51e);},'vwufI':'helpers','TWkGP':function(_0x49f70a){return _0x49f70a();},'RKwMN':function(_0x450b76){return _0x450b76();},'XDTJd':_0x3e9eea(0x1e2),'vrMka':_0x3e9eea(0x22c),'ehXas':_0x3e9eea(0x22f),'bmgeT':_0x3e9eea(0x1a1),'ZnXwB':'codeceptjs','AiaAR':function(_0x11190b,_0x252c7b,_0x2f0ce2){return _0x11190b(_0x252c7b,_0x2f0ce2);},'tIjMs':_0x3e9eea(0x223),'KnOmh':_0x3e9eea(0x22d),'KfcWt':'WebDriver','pKBQd':function(_0x4ab704,_0x201430){return _0x4ab704!=_0x201430;},'dMLXg':function(_0xb477b5,_0x2e8461){return _0xb477b5===_0x2e8461;},'KcHyh':function(_0x2b26a8,_0x3e7800){return _0x2b26a8+_0x3e7800;},'ChgLb':function(_0x59c67b,_0x95a633,_0x15b825){return _0x59c67b(_0x95a633,_0x15b825);},'lPEpb':_0x3e9eea(0x1d6),'HNjnm':_0x3e9eea(0x1d5),'Jhkeh':function(_0x2a21ac,_0x147695){return _0x2a21ac(_0x147695);},'LoCij':function(_0x431f39,_0x55cf51){return _0x431f39*_0x55cf51;},'zzbFZ':'browser','TISub':'desiredCapabilities','eNfQp':function(_0x3cc506,_0x4d0927,_0x47a21f){return _0x3cc506(_0x4d0927,_0x47a21f);},'luEza':_0x3e9eea(0x1c3),'PykDV':_0x3e9eea(0x1f0),'SFqGG':_0x3e9eea(0x1fe),'ULFqx':function(_0x46180e){return _0x46180e();}},_0x198a84=new BrowserStackSetup(_0x1845f0,_0x5599d8['ZnXwB']);await _0x198a84['initialize'](),await helper[_0x3e9eea(0x21e)](_0x198a84[_0x3e9eea(0x213)]);if(!_0x198a84['config'])return;process[_0x3e9eea(0x1e9)]=_0x1845f0[_0x3e9eea(0x1e9)];_0x1845f0[_0x3e9eea(0x1e9)]&&(process[_0x3e9eea(0x1ba)][_0x3e9eea(0x1e9)]=_0x1845f0['profile']);const _0x34fa59=_0x5599d8[_0x3e9eea(0x218)](getUserCodeceptJSConfigs,_0x1845f0,_0x144858);let _0x4174a7={};_0x34fa59?(logger[_0x3e9eea(0x204)](_0x3e9eea(0x1c7)+_0x34fa59),_0x4174a7=CodeceptJS[_0x3e9eea(0x213)][_0x3e9eea(0x205)](_0x34fa59)):logger[_0x3e9eea(0x204)](_0x5599d8[_0x3e9eea(0x1eb)]);let _0x70bfe5=![];_0x5599d8[_0x3e9eea(0x1b1)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1fc)],_0x5599d8[_0x3e9eea(0x215)]])&&(_0x70bfe5=!![]);const _0x127937=_0x70bfe5?_0x5599d8[_0x3e9eea(0x215)]:_0x5599d8[_0x3e9eea(0x1fb)];let _0xc09019=!_0x70bfe5?helper[_0x3e9eea(0x1d0)](_0x198a84['config']):![];!helper['isUndefined'](_0x198a84['config'][_0x3e9eea(0x22a)])&&(process[_0x3e9eea(0x1ba)][_0x3e9eea(0x1c9)]=JSON[_0x3e9eea(0x1e5)](_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x22a)]));let _0x139e6e=_0x198a84['config'][_0x3e9eea(0x1a9)];_0x139e6e=_0x139e6e||_0x5599d8['HdeQX'](checkAccessibilityPlatformConfig,_0x198a84[_0x3e9eea(0x213)]),process[_0x3e9eea(0x1ba)][_0x3e9eea(0x1a3)]=_0x139e6e;_0x139e6e&&(_0xc09019=!_0x139e6e);_0x5599d8[_0x3e9eea(0x19c)](_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x1db)],null)?process[_0x3e9eea(0x1ba)][_0x3e9eea(0x196)]=_0x198a84[_0x3e9eea(0x213)]['testObservability']:process[_0x3e9eea(0x1ba)][_0x3e9eea(0x196)]=_0x5599d8['dMLXg'](_0x127937,_0x5599d8[_0x3e9eea(0x215)]);const _0x579d2d=_0x5599d8['KcHyh'](_0x5599d8[_0x3e9eea(0x1f3)],_0x5599d8[_0x3e9eea(0x1af)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1de)]])?_0x5599d8[_0x3e9eea(0x1ec)]:''),_0x2a5d9e=await TestHubHandler[_0x3e9eea(0x210)](_0x579d2d,_0x198a84);_0x139e6e&&_0x5599d8[_0x3e9eea(0x1a7)](setAccessibilityCapabilities,_0x198a84[_0x3e9eea(0x213)]);const _0x3ed386={},_0x2ceddb=[],_0x690bcc=_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x1f5)]||helper[_0x3e9eea(0x1bb)](_0x1845f0,_0x144858,_0x198a84[_0x3e9eea(0x213)],constants[_0x3e9eea(0x211)]['CODECEPT'])||0x1;let _0x369187=0x1;if(_0x5599d8[_0x3e9eea(0x1f4)](isBrowserstackInfra)){const _0x17125c=helper[_0x3e9eea(0x1b8)](_0x198a84[_0x3e9eea(0x213)],_0xc09019,constants[_0x3e9eea(0x211)][_0x3e9eea(0x1ab)]);_0x17125c[_0x3e9eea(0x21a)](_0x25012b=>{const _0x19d30c=_0x3e9eea;helper[_0x19d30c(0x1f7)](_0x25012b);}),helper[_0x3e9eea(0x1f6)](_0x198a84[_0x3e9eea(0x213)])?_0x369187=_0x5599d8[_0x3e9eea(0x1cd)](_0x690bcc,_0x198a84[_0x3e9eea(0x213)][_0x3e9eea(0x1b4)][_0x3e9eea(0x1b2)]):_0x369187=_0x690bcc,_0x17125c[_0x3e9eea(0x21a)](_0xac1bcd=>{const _0x1a66be=_0x3e9eea,_0x5781b1={'tgGat':function(_0x177da2,_0x4c1175){const _0xf194ca=a2_0x1cfc;return _0x5599d8[_0xf194ca(0x1c0)](_0x177da2,_0x4c1175);},'StWEt':function(_0x7c8d9a,_0x263422){return _0x5599d8['HdeQX'](_0x7c8d9a,_0x263422);}},_0xd400cc=_0x5599d8[_0x1a66be(0x1c0)](helper['getPlatformName'](_0xac1bcd,'_'),'_'+Date[_0x1a66be(0x220)]()),_0x13c309=((()=>{const _0x1168ad=_0x1a66be;if(_0x70bfe5){const _0x53e233=pwToCodeceptBrowser[_0xac1bcd[_0x1168ad(0x1ee)]]||_0xac1bcd[_0x1168ad(0x1ee)];return{'browser':_0x53e233,[_0x53e233]:{'browserWSEndpoint':_0x5781b1[_0x1168ad(0x1c8)](helper[_0x1168ad(0x19a)](_0x198a84[_0x1168ad(0x213)]),_0x5781b1[_0x1168ad(0x1d4)](encodeURIComponent,JSON[_0x1168ad(0x1e5)](_0xac1bcd)))}};}const _0x3be453={};return _0x3be453[_0x1168ad(0x1cb)]=_0xac1bcd,_0x3be453;})()),_0x6a7e81=_0x5599d8[_0x1a66be(0x1b1)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x1a66be(0x1fc)],_0x127937]);_0x3ed386[_0xd400cc]=_0x6a7e81?helper['mergeDeep'](_0x13c309,_0x6a7e81):_0x13c309,!_0x70bfe5&&(_0x3ed386[_0xd400cc]['browser']=_0xac1bcd[_0x1a66be(0x1ee)]||_0x13c309[_0x1a66be(0x1bd)]),_0x2ceddb[_0x1a66be(0x21d)](_0xd400cc);});}else{_0x369187=0x1;if(_0x70bfe5){const _0x4bdaa1=_0x5599d8[_0x3e9eea(0x218)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1fc)],_0x127937,_0x5599d8[_0x3e9eea(0x209)]]),_0x4535a8=_0x5599d8[_0x3e9eea(0x1b1)](nestedKeyValue,_0x4174a7,[_0x5599d8['vwufI'],_0x127937,_0x4bdaa1]);_0x4535a8&&_0x4535a8[_0x3e9eea(0x21b)]&&(_0x4535a8['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x579d2d[_0x3e9eea(0x206)](),null,null,_0x4535a8[_0x3e9eea(0x21b)]));}else _0x4174a7[_0x5599d8['vwufI']][_0x127937][_0x5599d8['TISub']]=helper['prepareCapabilities'](null,null,_0x579d2d[_0x3e9eea(0x206)](),_0x5599d8[_0x3e9eea(0x1da)](nestedKeyValue,_0x4174a7,[_0x5599d8[_0x3e9eea(0x1fc)],_0x127937,_0x5599d8[_0x3e9eea(0x1c6)]]),null,null);_0x3ed386[_0x5599d8[_0x3e9eea(0x1fa)]]=_0x4174a7,_0x2ceddb[_0x3e9eea(0x21d)](_0x5599d8[_0x3e9eea(0x1fa)]);}const _0xbb36eb={};_0xbb36eb[_0x3e9eea(0x1b6)]=_0x34fa59;const _0x336ae3=_0xbb36eb,_0x4f3efe=path[_0x3e9eea(0x216)](__dirname,_0x5599d8[_0x3e9eea(0x212)]),_0x9aac70=process[_0x3e9eea(0x1b7)]();process[_0x3e9eea(0x1ba)][_0x5599d8[_0x3e9eea(0x1ca)]]=_0x9aac70,process['chdir'](path[_0x3e9eea(0x1ac)](_0x34fa59));const _0x4cc95f=new CodeceptJS['Workers'](null,_0x336ae3),_0x4b30cb=_0x4cc95f[_0x3e9eea(0x197)](_0x369187),_0x4889b4=testOpsHelper[_0x3e9eea(0x19b)](),_0x4c5983=_0x2ceddb[_0x3e9eea(0x1d2)](_0x41f942=>{const _0x12e0ff=_0x3e9eea,_0x37f7f6={};_0x37f7f6[_0x12e0ff(0x22d)]=_0x3ed386[_0x41f942];const _0x2ed475={};_0x2ed475[_0x12e0ff(0x1d3)]=_0x3ed386[_0x41f942];const _0x317fd0=_0x70bfe5?_0x37f7f6:_0x2ed475,_0x3e25ef=_0x5599d8[_0x12e0ff(0x1f4)](getO11yRerunPattern),_0x28cd9f={};_0x28cd9f[_0x12e0ff(0x19e)]=_0x317fd0;const _0xd10c={};_0xd10c[_0x12e0ff(0x198)]=_0x4f3efe,_0xd10c['enabled']=!![],_0xd10c['skipSessionName']=_0x198a84['config'][_0x12e0ff(0x217)][_0x12e0ff(0x1f9)],_0xd10c[_0x12e0ff(0x200)]=_0x198a84[_0x12e0ff(0x213)][_0x12e0ff(0x217)]['skipSessionStatus'],_0xd10c['testObservability']=_0x4889b4,_0xd10c['frameworkName']=_0x579d2d;const _0x3bd3eb={};_0x3bd3eb[_0x12e0ff(0x1ed)]=_0xd10c;const _0x31ff14={};return _0x31ff14['plugins']=_0x3bd3eb,helper['mergeDeep']({},_0x4174a7,_0x5599d8['RKwMN'](isBrowserstackInfra)?_0x28cd9f:{},_0x3e25ef?{'grep':_0x3e25ef}:{},_0x31ff14);});for(const _0x113dd1 of _0x4c5983){for(const _0x15a05a of _0x4b30cb){const _0x572556=_0x4cc95f[_0x3e9eea(0x219)]();_0x572556[_0x3e9eea(0x222)](_0x15a05a),_0x572556[_0x3e9eea(0x1c4)](_0x113dd1);}}_0x4cc95f['on'](CodeceptJS['event'][_0x3e9eea(0x20d)]['failed'],(_0xfec472,_0x20ba0d)=>{const _0x46c453=_0x3e9eea;console[_0x46c453(0x1ad)](_0x5599d8[_0x46c453(0x203)],_0xfec472[_0x46c453(0x1a0)]);const _0x160df8={[_0xfec472[_0x46c453(0x1a0)]]:_0xfec472[_0x46c453(0x1b3)][_0x46c453(0x1bf)]};_testErrorData[_0x46c453(0x21d)](_0x160df8);}),_0x4cc95f['on'](CodeceptJS[_0x3e9eea(0x22b)][_0x3e9eea(0x20d)][_0x3e9eea(0x1a4)],async _0xb935d=>{const _0x424aac=_0x3e9eea;console[_0x424aac(0x1ad)](_0x5599d8[_0x424aac(0x20f)],_0xb935d[_0x424aac(0x1a0)]);}),_0x4cc95f['on'](CodeceptJS[_0x3e9eea(0x22b)][_0x3e9eea(0x20d)][_0x3e9eea(0x227)],async _0x3bd2ae=>{const _0x4257c4=_0x3e9eea;console['log'](_0x5599d8['ehXas'],_0x3bd2ae[_0x4257c4(0x1a0)]);}),_0x4cc95f['on'](CodeceptJS[_0x3e9eea(0x22b)]['all']['result'],async()=>{const _0x411d13=_0x3e9eea,_0xc6e1e5=_0x5599d8[_0x411d13(0x1d8)]['split']('|');let _0x548269=0x0;while(!![]){switch(_0xc6e1e5[_0x548269++]){case'0':PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);continue;case'1':utilities[_0x411d13(0x1dc)](_0x198a84);continue;case'2':testOpsHelper[_0x411d13(0x1d1)]();continue;case'3':_0x4cc95f['printResults']();continue;case'4':_0x198a84[_0x411d13(0x1ce)]=_testErrorData;continue;case'5':try{await TestHubHandler[_0x411d13(0x208)]();}catch(_0x1956dc){logger[_0x411d13(0x1bc)](_0x411d13(0x230)+util[_0x411d13(0x1ef)](_0x1956dc));}continue;}break;}});async function _0xeb4458(){const _0x235ac2=_0x3e9eea;try{await _0x4cc95f[_0x235ac2(0x20b)](),await _0x4cc95f['run']();}finally{process[_0x235ac2(0x1dd)](_0x9aac70),await _0x4cc95f[_0x235ac2(0x221)]();}}PerformanceTester[_0x3e9eea(0x1b0)](PerformanceEvents[_0x3e9eea(0x1cf)]),_0x5599d8['ULFqx'](_0xeb4458);}module[a2_0x316118(0x21c)]=run;
|
|
2
|
+
'use strict';function a2_0x40e6(_0x26bd5c,_0x5d32ca){const _0x3bc094=a2_0x3bc0();return a2_0x40e6=function(_0x40e668,_0x463736){_0x40e668=_0x40e668-0x16e;let _0x587f57=_0x3bc094[_0x40e668];return _0x587f57;},a2_0x40e6(_0x26bd5c,_0x5d32ca);}const a2_0x2945b8=a2_0x40e6;(function(_0x9c2ace,_0x12222d){const _0x829783=a2_0x40e6,_0x4b7edc=_0x9c2ace();while(!![]){try{const _0x306e80=-parseInt(_0x829783(0x1b6))/0x1+-parseInt(_0x829783(0x1fc))/0x2+parseInt(_0x829783(0x1ec))/0x3+-parseInt(_0x829783(0x1df))/0x4+parseInt(_0x829783(0x1b3))/0x5+parseInt(_0x829783(0x1e3))/0x6+-parseInt(_0x829783(0x195))/0x7;if(_0x306e80===_0x12222d)break;else _0x4b7edc['push'](_0x4b7edc['shift']());}catch(_0xa10f9e){_0x4b7edc['push'](_0x4b7edc['shift']());}}}(a2_0x3bc0,0xc2cfc));function a2_0x3bc0(){const _0x7344a7=['BROWSERSTACK_TEST_OBSERVABILITY_YML','kBmYQ','ofIQj','otsMJ','util','winstonLogger','printBuildLink','title','Playwright','AoPRZ','5172975WzxUSC','result','mergeDeep','337478RJpXgE','WebDriver','FRAMEWORKS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/helper','EVENTS','validPlatformsPresent','now','NzayC','fyILA','CODECEPT','err','process','USER_CONFIG_DETAILS_PATH','ShrjQ','NrOoI','printResults','codecept.json','BrowserStackPlugin','../../helpers/BrowserStackSetup','fwWjm','log','../../bin/playwright/accessibility-helper','frameworkName','SDK_CLEANUP','Workers','BROWSERSTACK_RERUN','failed','info','forEach','qPeHJ','spawn','../utils/constants','BrowserStackPlugin.js','profile','prepareCapabilities','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','SDK_SETUP','addConfig','format','browserStackCwd','316916UvreJe','playwright-chromium','QiwUc','createGroupsOfSuites','2383536DSCyYI','length','plugins','env','../../helpers/test-observability/utils','JNWhz','errorMessage','debug','../../helpers/logger','3697305YfjSqm','SewtT','join','getPlatformName','pGwaI','isTestObservabilitySession','existsSync','toLowerCase','addTests','chdir','QwlhH','../../helpers/performance/performance-tester','enabled','accessibilityOptions','testContextOptions','../../helpers/performance/constants','2038414sYuMUq','browserWSEndpoint','helpers','event','getUserWorkerCount','dirname','Qsaxc','cwd','codecept.conf.js','testObservability','platforms','webZz','path','skipSessionStatus','BROWSERSTACK_RERUN_TESTS','RtowM','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Failed\x20:\x20','RCmGo','zSMdQ','browser','stop','getPlaywrightUrl','../../helpers/testhub/testhubHandler','all','sSNeB','eUDFK','test','accessibility','config','0|2|4|1|3|5','desiredCapabilities','Passed\x20:\x20','shLNV','lIMye','stringify','EeIpd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bootstrapAll','require','codeceptjs/lib/index.js','MnJAl','Started\x20:\x20','testConfig','run','Bomyb','skipSessionName','push','chromium','pfwKu','3012968yCjHYy','map','browserName','exports','useW3C','before','teardownAll','UbzCo','IlxVC','xZdzK','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','isUndefined','-cucumber','chrome','findIndex','codeceptjs','Wtdbs','playwright-webkit','slice','setAdditionalCapabilities'];a2_0x3bc0=function(){return _0x7344a7;};return a2_0x3bc0();}const fs=require('fs'),path=require(a2_0x2945b8(0x16f)),util=require(a2_0x2945b8(0x1ad)),process=require(a2_0x2945b8(0x1c2)),logger=require(a2_0x2945b8(0x1eb))[a2_0x2945b8(0x1ae)],{default:BrowserStackSetup}=require(a2_0x2945b8(0x1c9)),helper=require(a2_0x2945b8(0x1ba)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x2945b8(0x1cc)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x2945b8(0x18b),a2_0x2945b8(0x1a4)),testOpsHelper=require(a2_0x2945b8(0x1e7)),TestHubHandler=require(a2_0x2945b8(0x17a)),constants=require(a2_0x2945b8(0x1d6)),PerformanceTester=require(a2_0x2945b8(0x1f7)),PerformanceEvents=require(a2_0x2945b8(0x1fb))[a2_0x2945b8(0x1bb)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x4212d6,_0x215186)=>{const _0x49f7c5=a2_0x2945b8,_0x3f6a72={};_0x3f6a72[_0x49f7c5(0x1ed)]=function(_0x366783,_0xc0d49f){return _0x366783===_0xc0d49f;},_0x3f6a72[_0x49f7c5(0x19e)]=_0x49f7c5(0x204),_0x3f6a72[_0x49f7c5(0x1aa)]=_0x49f7c5(0x1c7);const _0x33feb0=_0x3f6a72;let _0x5305ed=null;const _0x427137={};let _0x52e99d=_0x215186[_0x49f7c5(0x1a3)](_0x40a4e4=>_0x40a4e4==='--config');_0x33feb0[_0x49f7c5(0x1ed)](_0x52e99d,-0x1)&&(_0x52e99d=_0x215186[_0x49f7c5(0x1a3)](_0x47b2d3=>_0x47b2d3==='-c'));if(!helper[_0x49f7c5(0x1a0)](_0x4212d6['config'])&&fs[_0x49f7c5(0x1f2)](path['join'](process[_0x49f7c5(0x203)](),_0x4212d6[_0x49f7c5(0x180)])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6[_0x49f7c5(0x180)]),_0x215186[_0x49f7c5(0x1a7)](_0x52e99d,0x2);else{if(!helper[_0x49f7c5(0x1a0)](_0x4212d6['c'])&&fs[_0x49f7c5(0x1f2)](path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6['c'])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6['c']),_0x215186[_0x49f7c5(0x1a7)](_0x52e99d,0x2);else{if(fs[_0x49f7c5(0x1f2)](path['join'](process[_0x49f7c5(0x203)](),_0x33feb0['xZdzK'])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x33feb0[_0x49f7c5(0x19e)]);else fs['existsSync'](path[_0x49f7c5(0x1ee)](process['cwd'](),_0x33feb0[_0x49f7c5(0x1aa)]))&&(_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x33feb0['kBmYQ']));}}return process['env'][_0x49f7c5(0x1c3)]=_0x5305ed,_0x5305ed;},getO11yRerunPattern=()=>{const _0x10b58a=a2_0x2945b8,_0x4f1b07=helper['isTrue'](process[_0x10b58a(0x1e6)][_0x10b58a(0x1d0)]);if(_0x4f1b07){const _0x5746eb=process[_0x10b58a(0x1e6)][_0x10b58a(0x171)],_0xdcaa30=[];if(helper['validateRerunTestList'](_0x5746eb)&&!helper[_0x10b58a(0x1a0)](_0x5746eb)){_0x5746eb['split'](',')[_0x10b58a(0x196)](_0x3e3573=>{const _0x56d666=_0x10b58a;_0xdcaa30[_0x56d666(0x192)]('('+_0x3e3573['trim']()+')');});const _0x4b0099='^'+_0xdcaa30[_0x10b58a(0x1ee)]('|')+'$';return _0x4b0099;}}return null;},a2_0x44efd4={};a2_0x44efd4[a2_0x2945b8(0x1a2)]=a2_0x2945b8(0x193),a2_0x44efd4[a2_0x2945b8(0x1e0)]=a2_0x2945b8(0x193),a2_0x44efd4['playwright-firefox']='firefox',a2_0x44efd4[a2_0x2945b8(0x1a6)]='webkit';const pwToCodeceptBrowser=a2_0x44efd4;async function run(_0x6f1088,_0x171e52){const _0x455784=a2_0x2945b8,_0x9f4e63={'QwlhH':function(_0x4d3940,_0xd17f5b){return _0x4d3940+_0xd17f5b;},'ofIQj':function(_0x4cb5a5,_0x231a71){return _0x4cb5a5(_0x231a71);},'BZuWu':function(_0x36fb2c,_0x5a95a6){return _0x36fb2c+_0x5a95a6;},'RCmGo':function(_0x1e296f,_0x49f4b8,_0x220e4a){return _0x1e296f(_0x49f4b8,_0x220e4a);},'QiwUc':_0x455784(0x1fe),'NrOoI':function(_0x2465f8){return _0x2465f8();},'eUDFK':_0x455784(0x174),'otsMJ':_0x455784(0x183),'zzygv':_0x455784(0x18d),'shLNV':_0x455784(0x181),'UbzCo':'codeceptjs','pGwaI':_0x455784(0x173),'RtowM':function(_0x4b06f8,_0x46d914,_0x2a4e51){return _0x4b06f8(_0x46d914,_0x2a4e51);},'qPeHJ':_0x455784(0x1b1),'NkqYI':'WebDriver','IlxVC':function(_0x47e836,_0x52d5ba){return _0x47e836(_0x52d5ba);},'JNWhz':function(_0x2f396f,_0x51d65f){return _0x2f396f!=_0x51d65f;},'lIMye':function(_0x58971c,_0x2de7fc){return _0x58971c===_0x2de7fc;},'lHcMR':function(_0x5cb1d4,_0x213319){return _0x5cb1d4+_0x213319;},'webZz':function(_0x3f8ee8,_0x584146,_0x163a27){return _0x3f8ee8(_0x584146,_0x163a27);},'Qsaxc':'gherkin','sSNeB':_0x455784(0x1a1),'ShrjQ':function(_0x226fa1){return _0x226fa1();},'MnJAl':function(_0x4443c9,_0x10fb04){return _0x4443c9*_0x10fb04;},'fwWjm':function(_0x3cbf05,_0x309cff,_0x53e998){return _0x3cbf05(_0x309cff,_0x53e998);},'pfwKu':_0x455784(0x177),'Wtdbs':_0x455784(0x182),'Bomyb':function(_0x4bba25,_0x4673cc,_0x45c36f){return _0x4bba25(_0x4673cc,_0x45c36f);},'EeIpd':'root','zSMdQ':_0x455784(0x1d7),'NzayC':_0x455784(0x1de),'AoPRZ':function(_0x3f88f8){return _0x3f88f8();}},_0x259df1=new BrowserStackSetup(_0x6f1088,_0x9f4e63[_0x455784(0x19c)]);await _0x259df1['initialize'](),await helper['handleApp'](_0x259df1[_0x455784(0x180)]);if(!_0x259df1[_0x455784(0x180)])return;process[_0x455784(0x1d8)]=_0x6f1088[_0x455784(0x1d8)];_0x6f1088[_0x455784(0x1d8)]&&(process[_0x455784(0x1e6)][_0x455784(0x1d8)]=_0x6f1088['profile']);const _0x3297bc=_0x9f4e63['RCmGo'](getUserCodeceptJSConfigs,_0x6f1088,_0x171e52);let _0x155c58={};_0x3297bc?(logger[_0x455784(0x1d2)](_0x455784(0x1da)+_0x3297bc),_0x155c58=CodeceptJS[_0x455784(0x180)]['load'](_0x3297bc)):logger[_0x455784(0x1d2)](_0x9f4e63[_0x455784(0x1f0)]);let _0x3d9530=![];_0x9f4e63[_0x455784(0x172)](nestedKeyValue,_0x155c58,[_0x9f4e63['QiwUc'],_0x9f4e63['qPeHJ']])&&(_0x3d9530=!![]);const _0x2c7dac=_0x3d9530?_0x9f4e63[_0x455784(0x1d4)]:_0x9f4e63['NkqYI'];let _0x28cd78=!_0x3d9530?helper[_0x455784(0x199)](_0x259df1[_0x455784(0x180)]):![];!helper[_0x455784(0x1a0)](_0x259df1[_0x455784(0x180)][_0x455784(0x1f9)])&&(process[_0x455784(0x1e6)][_0x455784(0x188)]=JSON[_0x455784(0x186)](_0x259df1[_0x455784(0x180)]['accessibilityOptions']));let _0x20de7f=_0x259df1[_0x455784(0x180)][_0x455784(0x17f)];_0x20de7f=_0x20de7f||_0x9f4e63[_0x455784(0x19d)](checkAccessibilityPlatformConfig,_0x259df1['config']),process[_0x455784(0x1e6)][_0x455784(0x1b9)]=_0x20de7f;_0x20de7f&&(_0x28cd78=!_0x20de7f);_0x9f4e63[_0x455784(0x1e8)](_0x259df1['config']['testObservability'],null)?process[_0x455784(0x1e6)][_0x455784(0x1a9)]=_0x259df1[_0x455784(0x180)][_0x455784(0x205)]:process[_0x455784(0x1e6)][_0x455784(0x1a9)]=_0x9f4e63[_0x455784(0x185)](_0x2c7dac,_0x9f4e63[_0x455784(0x1d4)]);const _0x45069f=_0x9f4e63['lHcMR'](_0x9f4e63[_0x455784(0x19c)],_0x9f4e63[_0x455784(0x16e)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x202)]])?_0x9f4e63[_0x455784(0x17c)]:''),_0x34fd87=await TestHubHandler['launchBuild'](_0x45069f,_0x259df1);_0x20de7f&&_0x9f4e63[_0x455784(0x19d)](setAccessibilityCapabilities,_0x259df1[_0x455784(0x180)]);const _0x4f66bd={},_0x597dac=[],_0x5c2b04=_0x259df1[_0x455784(0x180)]['parallelsPerPlatform']||helper[_0x455784(0x200)](_0x6f1088,_0x171e52,_0x259df1[_0x455784(0x180)],constants[_0x455784(0x1b8)][_0x455784(0x1c0)])||0x1;let _0x258004=0x1;if(_0x9f4e63[_0x455784(0x1c4)](isBrowserstackInfra)){const _0x523a68=helper[_0x455784(0x1d9)](_0x259df1[_0x455784(0x180)],_0x28cd78,constants[_0x455784(0x1b8)][_0x455784(0x1c0)]);_0x523a68[_0x455784(0x1d3)](_0x41a891=>{const _0x218db1=_0x455784;helper[_0x218db1(0x1a8)](_0x41a891);}),helper[_0x455784(0x1bc)](_0x259df1[_0x455784(0x180)])?_0x258004=_0x9f4e63[_0x455784(0x18c)](_0x5c2b04,_0x259df1[_0x455784(0x180)][_0x455784(0x206)][_0x455784(0x1e4)]):_0x258004=_0x5c2b04,_0x523a68[_0x455784(0x1d3)](_0x4196fe=>{const _0x590d88=_0x455784,_0x38e83d={'wMoZt':function(_0x2aa219,_0x1cd94c){const _0xd10476=a2_0x40e6;return _0x9f4e63[_0xd10476(0x1f6)](_0x2aa219,_0x1cd94c);},'fyILA':function(_0x9a001c,_0x3b35c5){const _0x154ff6=a2_0x40e6;return _0x9f4e63[_0x154ff6(0x1ab)](_0x9a001c,_0x3b35c5);}},_0x34f8be=_0x9f4e63['BZuWu'](helper[_0x590d88(0x1ef)](_0x4196fe,'_'),'_'+Date[_0x590d88(0x1bd)]()),_0x28b7ad=((()=>{const _0x38c870=_0x590d88;if(_0x3d9530){const _0x3e6c95=pwToCodeceptBrowser[_0x4196fe['browserName']]||_0x4196fe[_0x38c870(0x197)];return{'browser':_0x3e6c95,[_0x3e6c95]:{'browserWSEndpoint':_0x38e83d['wMoZt'](helper[_0x38c870(0x179)](_0x259df1['config']),_0x38e83d[_0x38c870(0x1bf)](encodeURIComponent,JSON[_0x38c870(0x186)](_0x4196fe)))}};}const _0x354329={};return _0x354329[_0x38c870(0x182)]=_0x4196fe,_0x354329;})()),_0x1f1c5a=_0x9f4e63['RCmGo'](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x590d88(0x1e1)],_0x2c7dac]);_0x4f66bd[_0x34f8be]=_0x1f1c5a?helper[_0x590d88(0x1b5)](_0x28b7ad,_0x1f1c5a):_0x28b7ad,!_0x3d9530&&(_0x4f66bd[_0x34f8be][_0x590d88(0x177)]=_0x4196fe[_0x590d88(0x197)]||_0x28b7ad[_0x590d88(0x177)]),_0x597dac['push'](_0x34f8be);});}else{_0x258004=0x1;if(_0x3d9530){const _0x2ce6da=_0x9f4e63[_0x455784(0x1ca)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x1e1)],_0x2c7dac,_0x9f4e63[_0x455784(0x194)]]),_0x2905a4=_0x9f4e63[_0x455784(0x175)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x1e1)],_0x2c7dac,_0x2ce6da]);_0x2905a4&&_0x2905a4[_0x455784(0x1fd)]&&(_0x2905a4['browserWSEndpoint']=helper[_0x455784(0x1d9)](null,null,_0x45069f[_0x455784(0x1f3)](),null,null,_0x2905a4[_0x455784(0x1fd)]));}else _0x155c58[_0x9f4e63[_0x455784(0x1e1)]][_0x2c7dac][_0x9f4e63['Wtdbs']]=helper[_0x455784(0x1d9)](null,null,_0x45069f['toLowerCase'](),_0x9f4e63[_0x455784(0x190)](nestedKeyValue,_0x155c58,[_0x9f4e63['QiwUc'],_0x2c7dac,_0x9f4e63[_0x455784(0x1a5)]]),null,null);_0x4f66bd[_0x9f4e63[_0x455784(0x187)]]=_0x155c58,_0x597dac[_0x455784(0x192)](_0x9f4e63[_0x455784(0x187)]);}const _0x2cc98d={};_0x2cc98d[_0x455784(0x18e)]=_0x3297bc;const _0x13db81=_0x2cc98d,_0x27f862=path[_0x455784(0x1ee)](__dirname,_0x9f4e63[_0x455784(0x176)]),_0x119934=process[_0x455784(0x203)]();process[_0x455784(0x1e6)][_0x9f4e63[_0x455784(0x1be)]]=_0x119934,process[_0x455784(0x1f5)](path[_0x455784(0x201)](_0x3297bc));const _0x3e93b4=new CodeceptJS[(_0x455784(0x1cf))](null,_0x13db81),_0x397b36=_0x3e93b4[_0x455784(0x1e2)](_0x258004),_0x8c0bc2=testOpsHelper[_0x455784(0x1f1)](),_0x44f683=_0x597dac[_0x455784(0x196)](_0x2f2f9e=>{const _0x1fd450=_0x455784,_0x5a1553={};_0x5a1553['Playwright']=_0x4f66bd[_0x2f2f9e];const _0x487677={};_0x487677[_0x1fd450(0x1b7)]=_0x4f66bd[_0x2f2f9e];const _0x1b1609=_0x3d9530?_0x5a1553:_0x487677,_0x3d4a3e=_0x9f4e63[_0x1fd450(0x1c5)](getO11yRerunPattern),_0x12471f={};_0x12471f[_0x1fd450(0x1fe)]=_0x1b1609;const _0x4d6720={};_0x4d6720[_0x1fd450(0x18a)]=_0x27f862,_0x4d6720[_0x1fd450(0x1f8)]=!![],_0x4d6720['skipSessionName']=_0x259df1['config'][_0x1fd450(0x1fa)][_0x1fd450(0x191)],_0x4d6720['skipSessionStatus']=_0x259df1['config'][_0x1fd450(0x1fa)][_0x1fd450(0x170)],_0x4d6720['testObservability']=_0x8c0bc2,_0x4d6720[_0x1fd450(0x1cd)]=_0x45069f;const _0x42665e={};_0x42665e[_0x1fd450(0x1c8)]=_0x4d6720;const _0xe428ad={};return _0xe428ad[_0x1fd450(0x1e5)]=_0x42665e,helper[_0x1fd450(0x1b5)]({},_0x155c58,_0x9f4e63['NrOoI'](isBrowserstackInfra)?_0x12471f:{},_0x3d4a3e?{'grep':_0x3d4a3e}:{},_0xe428ad);});for(const _0x22e01b of _0x44f683){for(const _0x105d13 of _0x397b36){const _0x193017=_0x3e93b4[_0x455784(0x1d5)]();_0x193017[_0x455784(0x1f4)](_0x105d13),_0x193017[_0x455784(0x1dc)](_0x22e01b);}}_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)][_0x455784(0x17e)][_0x455784(0x1d1)],(_0x44f932,_0x4ef8a8)=>{const _0x5e4534=_0x455784;console[_0x5e4534(0x1cb)](_0x9f4e63[_0x5e4534(0x17d)],_0x44f932[_0x5e4534(0x1b0)]);const _0x1e747d={[_0x44f932['title']]:_0x44f932[_0x5e4534(0x1c1)]['stack']};_testErrorData[_0x5e4534(0x192)](_0x1e747d);}),_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)]['test']['passed'],async _0x3f263f=>{const _0x5864b7=_0x455784;console[_0x5864b7(0x1cb)](_0x9f4e63[_0x5864b7(0x1ac)],_0x3f263f[_0x5864b7(0x1b0)]);}),_0x3e93b4['on'](CodeceptJS['event']['test'][_0x455784(0x19a)],async _0x347746=>{const _0x48737b=_0x455784;console[_0x48737b(0x1cb)](_0x9f4e63['zzygv'],_0x347746[_0x48737b(0x1b0)]);}),_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)][_0x455784(0x17b)][_0x455784(0x1b4)],async()=>{const _0x2817f1=_0x455784,_0x112e54=_0x9f4e63[_0x2817f1(0x184)]['split']('|');let _0x32ceb2=0x0;while(!![]){switch(_0x112e54[_0x32ceb2++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x2817f1(0x1ce)]);continue;case'1':utilities['finalExecution'](_0x259df1);continue;case'2':_0x259df1[_0x2817f1(0x1e9)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x2817f1(0x178)]();}catch(_0x20d2eb){logger[_0x2817f1(0x1ea)](_0x2817f1(0x19f)+util[_0x2817f1(0x1dd)](_0x20d2eb));}continue;case'4':testOpsHelper[_0x2817f1(0x1af)]();continue;case'5':_0x3e93b4[_0x2817f1(0x1c6)]();continue;}break;}});async function _0x975e92(){const _0x4ccb03=_0x455784;try{await _0x3e93b4[_0x4ccb03(0x189)](),await _0x3e93b4[_0x4ccb03(0x18f)]();}finally{process[_0x4ccb03(0x1f5)](_0x119934),await _0x3e93b4[_0x4ccb03(0x19b)]();}}PerformanceTester['end'](PerformanceEvents[_0x455784(0x1db)]),_0x9f4e63[_0x455784(0x1b2)](_0x975e92);}module[a2_0x2945b8(0x198)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0x199c(){const _0x1f5abf=['vVNZI','ZXqZz','iAVgR','bstack:options','RFpcm','latest','ZgDxo','kYXBo','../../helpers/accessibility-automation/helper','4318776ICBAqf','hUbce','searchParams','WebDriver','desiredCapabilities','platformVersion','platform_version','playwright-chromium','2464926mpPbrY','shouldPatchExecuteScript','Ifbel','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityPlatform','osVersion','QdAOX','553030Seglcl','JQzXS','../../helpers/logger','kbMQT','KLyIn','__cloud_provider___','browser_version','platform','jNbYE','ssbpv','browserstack_accessibility_automation_script','browserName','deviceName','WTiqT','platformName','getDetails','3DdzSwg','../../helpers/helper','SRetI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','1829772LfqGJa','constructor','caps','browserWSEndpoint','sessionId','os_version','config','warn','UcVLj','NxpnS','browserstack_executor','YwREj','browser','qOdOc','310gZJFiS','5571741etavss','parse','cLmwq','capabilities','../../helpers/test-observability/utils','jZwnG','processWebDriverConfig','browserVersion','includes','pqKfm','SgiCX','Playwright','name','VTAaf','cloudProvider','5809072TFsgZF','56346SSyGrp','frEAO','bsSessionId','unknown_grid'];a3_0x199c=function(){return _0x1f5abf;};return a3_0x199c();}function a3_0x4980(_0x254118,_0x4d572c){const _0x199c03=a3_0x199c();return a3_0x4980=function(_0x498042,_0x3c07d8){_0x498042=_0x498042-0x174;let _0x3f6f55=_0x199c03[_0x498042];return _0x3f6f55;},a3_0x4980(_0x254118,_0x4d572c);}const a3_0x1f57ab=a3_0x4980;(function(_0x327f3c,_0x2e1e3d){const _0x40cfe1=a3_0x4980,_0x1dcbbf=_0x327f3c();while(!![]){try{const _0x3a4319=parseInt(_0x40cfe1(0x1b0))/0x1*(parseInt(_0x40cfe1(0x1a0))/0x2)+-parseInt(_0x40cfe1(0x199))/0x3+parseInt(_0x40cfe1(0x1b4))/0x4+parseInt(_0x40cfe1(0x1c2))/0x5*(-parseInt(_0x40cfe1(0x184))/0x6)+parseInt(_0x40cfe1(0x174))/0x7+-parseInt(_0x40cfe1(0x183))/0x8+parseInt(_0x40cfe1(0x191))/0x9;if(_0x3a4319===_0x2e1e3d)break;else _0x1dcbbf['push'](_0x1dcbbf['shift']());}catch(_0x1db56d){_0x1dcbbf['push'](_0x1dcbbf['shift']());}}}(a3_0x199c,0x69a9d));const {isUndefined,nestedKeyValue}=require(a3_0x1f57ab(0x1b1)),logger=require(a3_0x1f57ab(0x1a2))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x1f57ab(0x190)),{getObservabilityLinkedProductName}=require(a3_0x1f57ab(0x178)),getOSVersionFromCaps=_0x35f7ad=>{const _0x3dbf94=a3_0x1f57ab,_0x21cfa4={};_0x21cfa4[_0x3dbf94(0x1b2)]=_0x3dbf94(0x18b),_0x21cfa4[_0x3dbf94(0x189)]=_0x3dbf94(0x196),_0x21cfa4['YCdrY']=_0x3dbf94(0x197),_0x21cfa4[_0x3dbf94(0x181)]=_0x3dbf94(0x19e),_0x21cfa4[_0x3dbf94(0x19b)]=_0x3dbf94(0x1b9);const _0x5d9b44=_0x21cfa4;if(!_0x35f7ad)return null;const _0x14f9fe=_0x35f7ad[_0x5d9b44[_0x3dbf94(0x1b2)]],_0x428ef1=[_0x5d9b44['ZXqZz'],_0x5d9b44['YCdrY'],_0x5d9b44[_0x3dbf94(0x181)],_0x5d9b44[_0x3dbf94(0x19b)]];for(const _0x531cf1 of _0x428ef1){if(_0x14f9fe&&_0x14f9fe[_0x531cf1])return _0x14f9fe[_0x531cf1];else{if(_0x35f7ad[_0x531cf1])return _0x35f7ad[_0x531cf1];}}return null;};exports['fetchPlatformDetails']=_0x34676d=>{const _0x4b8405=a3_0x1f57ab,_0xabe51e={'JQzXS':_0x4b8405(0x187),'qOdOc':function(_0x2a9821,_0x472ba3){return _0x2a9821===_0x472ba3;},'jNbYE':_0x4b8405(0x194),'NxpnS':function(_0x13bb7c,_0x4315b4){return _0x13bb7c(_0x4315b4);},'UcVLj':function(_0x4c84dd,_0x2410ac,_0x5084e9){return _0x4c84dd(_0x2410ac,_0x5084e9);},'kYXBo':_0x4b8405(0x1ba),'ssbpv':_0x4b8405(0x195),'jZwnG':function(_0x57371c,_0x127418){return _0x57371c===_0x127418;},'QdAOX':_0x4b8405(0x17f),'CDMdT':'browser','hUbce':_0x4b8405(0x1b7),'vTCTt':_0x4b8405(0x1b6),'ZgDxo':function(_0x4bbef5,_0x2c1b2b){return _0x4bbef5(_0x2c1b2b);}};if(!_0x34676d)return null;let _0x345a35=global[_0x4b8405(0x1a5)]||_0xabe51e[_0x4b8405(0x1a1)];if(_0xabe51e[_0x4b8405(0x1c1)](_0x34676d[_0x4b8405(0x1b5)][_0x4b8405(0x180)],_0xabe51e[_0x4b8405(0x1a8)])){const _0x923035=_0x34676d[_0x4b8405(0x1c0)];if(!_0x923035)return null;const _0xdf66fd=_0x923035['capabilities'],_0x46500f=_0xabe51e[_0x4b8405(0x1bd)](getOSVersionFromCaps,_0xabe51e[_0x4b8405(0x1bc)](nestedKeyValue,_0x34676d,[_0xabe51e['kYXBo'],_0xabe51e[_0x4b8405(0x1a9)]]));return{[_0x345a35]:{'browser':_0xdf66fd[_0x4b8405(0x1ab)],'browser_version':_0xdf66fd[_0x4b8405(0x17b)],'capabilities':_0xdf66fd,'platform':_0xdf66fd[_0x4b8405(0x1ae)],'platform_version':_0xdf66fd['platformVersion']||_0x46500f,'product':_0xabe51e[_0x4b8405(0x1bd)](getObservabilityLinkedProductName,_0xdf66fd),'session_id':_0x923035[_0x4b8405(0x1b8)]}};}else{if(_0xabe51e[_0x4b8405(0x179)](_0x34676d[_0x4b8405(0x1b5)][_0x4b8405(0x180)],_0xabe51e[_0x4b8405(0x19f)])){const _0x290d4a=PlaywrightSessionDetails[_0x4b8405(0x1af)]();_0x345a35=_0x290d4a[_0x4b8405(0x182)]||_0x345a35;const _0x283d04=_0xabe51e['UcVLj'](nestedKeyValue,_0x34676d,[_0xabe51e[_0x4b8405(0x18f)],_0xabe51e['CDMdT'],_0xabe51e[_0x4b8405(0x192)]]),_0x17a959=_0x283d04?JSON[_0x4b8405(0x175)](new URL(_0x283d04)[_0x4b8405(0x193)]['get'](_0xabe51e['vTCTt'])):{};return{[_0x345a35]:{'browser':_0x290d4a[_0x4b8405(0x1c0)]||_0x17a959['browserName'],'browser_version':_0x290d4a[_0x4b8405(0x1a6)]||_0x17a959[_0x4b8405(0x1a6)],'capabilities':_0x17a959,'platform':_0x290d4a[_0x4b8405(0x1a7)],'platform_version':_0x290d4a[_0x4b8405(0x197)],'product':_0xabe51e[_0x4b8405(0x18e)](getObservabilityLinkedProductName,_0x17a959),'session_id':_0x290d4a[_0x4b8405(0x186)]}};}}},exports[a3_0x1f57ab(0x17a)]=_0xb705c=>{const _0x4607a2=a3_0x1f57ab,_0x6cf302={'iAVgR':function(_0x1b3068){return _0x1b3068();},'pqKfm':function(_0x5856f2,_0x2f99a6){return _0x5856f2===_0x2f99a6;},'vVNZI':_0x4607a2(0x18d),'kgYNQ':function(_0x5e8253,_0x186039){return _0x5e8253>_0x186039;},'kbMQT':function(_0x4ce2f0,_0x1995a1){return _0x4ce2f0(_0x1995a1);},'RFpcm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','HAQCx':function(_0x182327,_0x59409e){return _0x182327===_0x59409e;},'cLmwq':'chrome','YwREj':_0x4607a2(0x198),'WTiqT':_0x4607a2(0x19c),'frEAO':function(_0x47769f,_0x48cdcd){return _0x47769f(_0x48cdcd);},'VuOHo':_0x4607a2(0x1b3)};if(_0x6cf302[_0x4607a2(0x18a)](isAccessibilityAutomationSession)){const _0x50ff93=_0xb705c[_0x4607a2(0x1c0)],_0x563321=_0x50ff93[_0x4607a2(0x177)];global[_0x4607a2(0x19d)]=!![],!(_0x6cf302[_0x4607a2(0x17d)](_0x563321[_0x4607a2(0x17b)],_0x6cf302[_0x4607a2(0x188)])||_0x6cf302['kgYNQ'](_0x6cf302[_0x4607a2(0x1a3)](parseInt,_0x563321[_0x4607a2(0x17b)]),0x5e))&&(logger[_0x4607a2(0x1bb)](_0x6cf302[_0x4607a2(0x18c)]),global[_0x4607a2(0x19d)]=![]),!(_0x6cf302['HAQCx'](_0x563321[_0x4607a2(0x1ab)],_0x6cf302[_0x4607a2(0x176)])||_0x6cf302[_0x4607a2(0x17d)](_0x563321[_0x4607a2(0x1ab)],_0x6cf302[_0x4607a2(0x1bf)]))&&(logger['warn'](_0x6cf302[_0x4607a2(0x1ad)]),global[_0x4607a2(0x19d)]=![]),!_0x6cf302[_0x4607a2(0x185)](isUndefined,_0x563321[_0x4607a2(0x1ac)])&&(logger[_0x4607a2(0x1bb)](_0x6cf302['VuOHo']),global[_0x4607a2(0x19d)]=![]);}},exports[a3_0x1f57ab(0x19a)]=_0x202e07=>{const _0x22c261=a3_0x1f57ab,_0x4a69e={};_0x4a69e[_0x22c261(0x17e)]=_0x22c261(0x1be),_0x4a69e[_0x22c261(0x1a4)]=_0x22c261(0x1aa);const _0x580a83=_0x4a69e;if(!_0x202e07)return![];return!_0x202e07[_0x22c261(0x17c)](_0x580a83[_0x22c261(0x17e)])&&!_0x202e07[_0x22c261(0x17c)](_0x580a83['KLyIn']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x3aa476=a4_0x7c99;function a4_0x7c99(_0x16144e,_0x8c4478){const _0x133b58=a4_0x133b();return a4_0x7c99=function(_0x7c9956,_0x5c80fd){_0x7c9956=_0x7c9956-0x10c;let _0xc2c7e5=_0x133b58[_0x7c9956];return _0xc2c7e5;},a4_0x7c99(_0x16144e,_0x8c4478);}(function(_0x4234bd,_0x13926f){const _0x2805d0=a4_0x7c99,_0x381fa4=_0x4234bd();while(!![]){try{const _0x2f0b3f=-parseInt(_0x2805d0(0x1d8))/0x1+-parseInt(_0x2805d0(0x124))/0x2*(-parseInt(_0x2805d0(0x1e3))/0x3)+parseInt(_0x2805d0(0x18e))/0x4+-parseInt(_0x2805d0(0x1cd))/0x5+-parseInt(_0x2805d0(0x160))/0x6*(parseInt(_0x2805d0(0x1f8))/0x7)+parseInt(_0x2805d0(0x136))/0x8*(-parseInt(_0x2805d0(0x13d))/0x9)+parseInt(_0x2805d0(0x1ed))/0xa*(parseInt(_0x2805d0(0x1da))/0xb);if(_0x2f0b3f===_0x13926f)break;else _0x381fa4['push'](_0x381fa4['shift']());}catch(_0x4ba7db){_0x381fa4['push'](_0x381fa4['shift']());}}}(a4_0x133b,0xd1c1f));const path=require(a4_0x3aa476(0x1f7)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3aa476(0x11a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x3aa476(0x1e9)),{getTestEnv}=require(a4_0x3aa476(0x128)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x3aa476(0x166)],SessionHandler=require(a4_0x3aa476(0x19c)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3aa476(0x148)),{fetchPlatformDetails}=require(a4_0x3aa476(0x179)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x3aa476(0x193),STATE_FAILED=a4_0x3aa476(0x12a),a4_0x264b26={};a4_0x264b26[a4_0x3aa476(0x196)]=a4_0x3aa476(0x17a),a4_0x264b26[a4_0x3aa476(0x176)]='TestRunFinished',a4_0x264b26['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x264b26[a4_0x3aa476(0x177)]=a4_0x3aa476(0x115),a4_0x264b26[a4_0x3aa476(0x187)]=a4_0x3aa476(0x1d3);const TEST_EVENTS=a4_0x264b26,parseEvent=_0x960734=>{const _0xcaffb6=a4_0x3aa476,_0x176b46={};_0x176b46['HQufZ']=function(_0x5e0c48,_0x17103f){return _0x5e0c48<_0x17103f;},_0x176b46[_0xcaffb6(0x16e)]=function(_0x2ff9a6,_0x21b64e){return _0x2ff9a6===_0x21b64e;},_0x176b46['xYhYy']='test',_0x176b46[_0xcaffb6(0x16a)]=function(_0x3963c4,_0x19aed8){return _0x3963c4===_0x19aed8;},_0x176b46[_0xcaffb6(0x152)]=_0xcaffb6(0x1e4),_0x176b46[_0xcaffb6(0x1a1)]=_0xcaffb6(0x13f),_0x176b46['dabEK']=function(_0x2aff8a,_0x5328d0){return _0x2aff8a===_0x5328d0;},_0x176b46[_0xcaffb6(0x131)]=_0xcaffb6(0x117),_0x176b46[_0xcaffb6(0x15f)]=_0xcaffb6(0x19b);const _0x3bd1d1=_0x176b46,_0x11bd03=_0x960734[_0xcaffb6(0x19f)](/^(.*)Run(.*)$/);if(!_0x11bd03)return null;if(_0x3bd1d1[_0xcaffb6(0x1ee)](_0x11bd03[_0xcaffb6(0x1c4)],0x3))return null;const _0x27826a=_0x11bd03[0x1][_0xcaffb6(0x132)](),_0x33fdb1=_0x11bd03[0x2][_0xcaffb6(0x132)]();return{'test':_0x3bd1d1['NXcke'](_0x27826a,_0x3bd1d1[_0xcaffb6(0x15c)]),'hook':_0x3bd1d1[_0xcaffb6(0x16a)](_0x27826a,_0x3bd1d1['CCtpt']),'skipped':_0x3bd1d1[_0xcaffb6(0x16a)](_0x33fdb1,_0x3bd1d1[_0xcaffb6(0x1a1)]),'started':_0x3bd1d1['dabEK'](_0x33fdb1,_0x3bd1d1[_0xcaffb6(0x131)]),'finished':_0x3bd1d1[_0xcaffb6(0x133)](_0x33fdb1,_0x3bd1d1[_0xcaffb6(0x15f)])};},mockPWBrowserType=_0x2b26ef=>{const _0x5b2879=a4_0x3aa476,_0x2f3cd3={'riBov':function(_0x7f9803,_0x48e5da,_0x285c13){return _0x7f9803(_0x48e5da,_0x285c13);},'TSeHi':_0x5b2879(0x168),'wfdxR':function(_0x26f1fd,_0x1d4179){return _0x26f1fd(_0x1d4179);},'dvUKC':_0x5b2879(0x14c),'bteff':function(_0x5a9449,_0x3872c4,_0x550247){return _0x5a9449(_0x3872c4,_0x550247);},'wuAPO':function(_0x483e08,_0x51c73c){return _0x483e08(_0x51c73c);},'RiTtB':function(_0x3f1327,_0x5e3b66){return _0x3f1327===_0x5e3b66;},'WpyNQ':_0x5b2879(0x11b),'OMpsp':_0x5b2879(0x18b),'tBrME':'client','Jownl':_0x5b2879(0x14d),'cIUIk':function(_0x123ebf,_0x1116c5){return _0x123ebf(_0x1116c5);},'bRvtD':_0x5b2879(0x195),'gPcaH':'connect','SyPtT':'launch'},_0x2ef4e5=path[_0x5b2879(0x198)](_0x2f3cd3['OMpsp'],_0x2f3cd3[_0x5b2879(0x1c2)],_0x2f3cd3[_0x5b2879(0x155)]),_0x1f888e=_0x2f3cd3['wfdxR'](importFileFromPWCore,_0x2ef4e5);if(!_0x1f888e){_0x2f3cd3[_0x5b2879(0x1b2)](debug,_0x2f3cd3[_0x5b2879(0x1c6)]);return;}const _0x59f957=_0x1f888e[_0x5b2879(0x134)],_0x34a690=_0x59f957[_0x5b2879(0x1e0)];if(_0x34a690[_0x5b2879(0x1c0)])return;const _0x255435=_0x34a690[_0x5b2879(0x161)];Object[_0x5b2879(0x12e)](_0x34a690,_0x2f3cd3[_0x5b2879(0x186)],{'get':function(){const _0x86a508=_0x5b2879,_0x29340a={'mdWvj':function(_0x337ce6,_0x20d639){const _0x56a806=a4_0x7c99;return _0x2f3cd3[_0x56a806(0x1c9)](_0x337ce6,_0x20d639);},'soFHm':_0x2f3cd3[_0x86a508(0x1f4)]};return async function _0x105f1e(_0x4ca728,_0x4ec83b){const _0x5dadfe=_0x86a508,_0x49d29e=_0x2f3cd3['riBov'](nestedKeyValue,_0x4ca728,[_0x2f3cd3[_0x5dadfe(0x183)]])||_0x4ca728;let _0x5809df=null,_0x1416f6=null;try{[_0x1416f6,_0x5809df]=_0x49d29e?_0x2f3cd3['wfdxR'](parseWSEndpoint,_0x49d29e):[null,null],global[_0x5dadfe(0x126)]=_0x5809df,_0x1416f6[_0x5dadfe(0x112)](_0x2f3cd3[_0x5dadfe(0x15e)])&&(global[_0x5dadfe(0x1a4)]=_0x2f3cd3[_0x5dadfe(0x15e)]);}catch(_0x35c83f){logger[_0x5dadfe(0x157)](_0x5dadfe(0x1c3)+_0x49d29e+'\x20'+_0x35c83f);}_0x2f3cd3['bteff'](processAccessibilityCaps,_0x5809df,_0x1416f6);if(global[_0x5dadfe(0x18c)]){const _0x5d4c30=await _0x34a690[_0x5dadfe(0x1d9)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2f3cd3[_0x5dadfe(0x1b1)](encodeURIComponent,JSON[_0x5dadfe(0x11d)](_0x5809df))]);return PlaywrightSessionDetails[_0x5dadfe(0x16c)](_0x5d4c30,_0x2b26ef,_0x49d29e),_0x5d4c30;}return _0x255435[_0x5dadfe(0x143)](this,arguments)['then'](_0x4f204f=>{const _0x1fe58f=_0x5dadfe;let _0x1a6722=_0x4ca728['wsEndpoint'];return _0x29340a[_0x1fe58f(0x17c)](typeof _0x4ca728,_0x29340a[_0x1fe58f(0x135)])&&(_0x1a6722=_0x4ca728),PlaywrightSessionDetails['setupBrowserDetails'](_0x4f204f,_0x2b26ef,_0x1a6722),_0x4f204f;});};}});const _0x1fe269=_0x34a690[_0x5b2879(0x189)];Object[_0x5b2879(0x12e)](_0x34a690,_0x2f3cd3[_0x5b2879(0x173)],{'get':function(){return async function _0x2622f6(){const _0x434403=a4_0x7c99;return _0x1fe269[_0x434403(0x143)](this,arguments)[_0x434403(0x150)](_0x54b2a0=>{const _0x1a7d5e=_0x434403;return PlaywrightSessionDetails[_0x1a7d5e(0x16c)](_0x54b2a0,null),_0x54b2a0;});};}});};class O11yHelper{[a4_0x3aa476(0x17b)]=null;[a4_0x3aa476(0x129)]=null;[a4_0x3aa476(0x127)]=![];[a4_0x3aa476(0x1ab)]=![];constructor(_0x30f011,_0x470f89){const _0x31b573=a4_0x3aa476,_0x29656f={'tGvjK':_0x31b573(0x151),'fPYDb':function(_0x2f75e0,_0x27b440){return _0x2f75e0===_0x27b440;},'tGVxE':_0x31b573(0x1bf),'vHLkB':function(_0x4a8b48,_0x269d61){return _0x4a8b48(_0x269d61);},'lkInz':function(_0x4fdc57){return _0x4fdc57();}},_0x5f0124=_0x29656f[_0x31b573(0x1fa)][_0x31b573(0x125)]('|');let _0x30eeeb=0x0;while(!![]){switch(_0x5f0124[_0x30eeeb++]){case'0':this['driver']=_0x30f011;continue;case'1':this[_0x31b573(0x14a)]=new testOpsHelper['PathHelper']({'cwd':process[_0x31b573(0x1aa)]()},this['_testEnv'][_0x31b573(0x1c7)]);continue;case'2':this[_0x31b573(0x1ab)]=_0x470f89[_0x31b573(0x1ab)];continue;case'3':this[_0x31b573(0x159)]&&_0x29656f[_0x31b573(0x121)](this[_0x31b573(0x159)][_0x31b573(0x1d2)][_0x31b573(0x180)],_0x29656f[_0x31b573(0x10e)])&&_0x29656f[_0x31b573(0x1a6)](mockPWBrowserType,null);continue;case'4':this['_testEnv']=_0x29656f[_0x31b573(0x11e)](getTestEnv);continue;case'5':this[_0x31b573(0x127)]=_0x29656f['lkInz'](shouldProcessEventForTesthub);continue;}break;}}[a4_0x3aa476(0x188)](){const _0x10f423=a4_0x3aa476;if(!this[_0x10f423(0x127)])return;testOpsHelper[_0x10f423(0x138)](),process['removeAllListeners']('bs:addLog:'+process[_0x10f423(0x1b9)]),process['on'](_0x10f423(0x1f2)+process[_0x10f423(0x1b9)],this[_0x10f423(0x120)]['bind'](this));}async[a4_0x3aa476(0x10f)](){const _0x41a956=a4_0x3aa476;await RequestQueueHandler[_0x41a956(0x12f)]()['shutdown']();}async[a4_0x3aa476(0x120)](_0x26b0ab){const _0xcbeea5=a4_0x3aa476,_0x5bdfd6={'iIQDU':_0xcbeea5(0x16f),'sCnXw':function(_0x480e75,_0xd76bf1){return _0x480e75(_0xd76bf1);}};try{this[_0xcbeea5(0x129)]&&!this[_0xcbeea5(0x129)][_0xcbeea5(0x12b)]&&(_0x26b0ab[_0xcbeea5(0x163)]=this[_0xcbeea5(0x129)][_0xcbeea5(0x1eb)]);!_0x26b0ab[_0xcbeea5(0x163)]&&this['currentTest']&&!this[_0xcbeea5(0x17b)][_0xcbeea5(0x12b)]&&(_0x26b0ab[_0xcbeea5(0x1a5)]=this[_0xcbeea5(0x17b)][_0xcbeea5(0x17e)]);if(_0x26b0ab[_0xcbeea5(0x163)]||_0x26b0ab[_0xcbeea5(0x1a5)]){const _0xb2c4a1={};_0xb2c4a1['event_type']=_0x5bdfd6['iIQDU'],_0xb2c4a1[_0xcbeea5(0x1e1)]=[_0x26b0ab],await SessionHandler[_0xcbeea5(0x15d)](_0xb2c4a1);}}catch(_0xc5c4a3){_0x5bdfd6[_0xcbeea5(0x199)](debug,_0xcbeea5(0x197)+_0xc5c4a3);}}async['sendCBTInfo'](_0x316fe9){const _0x2d91b7=a4_0x3aa476,_0x198747={'ZyvtQ':'CBTSessionCreated','FFFBH':function(_0x3956d4,_0x4a5750){return _0x3956d4(_0x4a5750);}};if(!this[_0x2d91b7(0x127)])return;const _0x5dfd70=this[_0x2d91b7(0x12d)](this[_0x2d91b7(0x159)]);try{const _0x3283e0={};_0x3283e0[_0x2d91b7(0x11a)]=_0x316fe9,_0x3283e0['integrations']=_0x5dfd70;const _0x2b1814=_0x3283e0,_0x5ec110={};_0x5ec110[_0x2d91b7(0x14e)]=_0x198747[_0x2d91b7(0x1ae)],_0x5ec110[_0x2d91b7(0x123)]=_0x2b1814,await SessionHandler[_0x2d91b7(0x15d)](_0x5ec110);}catch(_0x5af64b){_0x198747['FFFBH'](debug,_0x2d91b7(0x15a)+_0x5af64b);}}[a4_0x3aa476(0x12d)](_0x10d0db){const _0x4d8c19=a4_0x3aa476,_0x3931e5={'jZfJa':function(_0x1ffe5b,_0x157af1){return _0x1ffe5b(_0x157af1);}};return _0x3931e5[_0x4d8c19(0x1f1)](fetchPlatformDetails,_0x10d0db);}[a4_0x3aa476(0x171)]=_0x31e876=>{const _0x3db60d=a4_0x3aa476,_0x10b948={};_0x10b948[_0x3db60d(0x118)]=_0x3db60d(0x13e),_0x10b948[_0x3db60d(0x1a8)]=_0x3db60d(0x170);const _0xccd25c=_0x10b948;if(!_0x31e876||!_0x31e876[_0x3db60d(0x1de)])return;[_0xccd25c[_0x3db60d(0x118)],_0xccd25c['EmddI']][_0x3db60d(0x145)](_0x17e1a5=>{const _0x44525d=_0x3db60d,_0x2f668a=_0x31e876[_0x44525d(0x1de)][_0x17e1a5];_0x2f668a[_0x44525d(0x145)](_0x22cf7=>{const _0x550b73=_0x44525d;_0x22cf7[_0x550b73(0x1eb)]&&(_0x22cf7[_0x550b73(0x1eb)]=null);});});};['mapTestHooks'](_0x5eae2d){const _0x5841cd=a4_0x3aa476,_0x455a4e={'VYBJl':_0x5841cd(0x1d7),'HKzIr':function(_0x3f2a8c){return _0x3f2a8c();},'VFhHp':function(_0x581bcc,_0x1e294e){return _0x581bcc===_0x1e294e;},'gbtlE':_0x5841cd(0x170),'rkouc':'_beforeAll','CBPzX':_0x5841cd(0x1c1),'OSwbz':'_beforeEach'};if(!_0x5eae2d||!_0x5eae2d[_0x5841cd(0x1de)])return;[_0x455a4e['rkouc'],_0x455a4e[_0x5841cd(0x113)],_0x455a4e['OSwbz'],_0x455a4e[_0x5841cd(0x1ef)]][_0x5841cd(0x145)](_0x493fe4=>{const _0x50095a=_0x5841cd,_0x25e92f=_0x5eae2d[_0x50095a(0x1de)][_0x493fe4]||[];_0x25e92f[_0x50095a(0x145)](_0x4aefbd=>{const _0x31c5e9=_0x50095a;if(_0x4aefbd[_0x31c5e9(0x10d)][_0x31c5e9(0x112)](_0x455a4e[_0x31c5e9(0x1ea)]))return;if(!_0x4aefbd[_0x31c5e9(0x1eb)])_0x4aefbd[_0x31c5e9(0x1eb)]=_0x455a4e[_0x31c5e9(0x1af)](uuidv4);else _0x4aefbd['markedStatus']&&_0x455a4e[_0x31c5e9(0x1ec)](_0x493fe4,_0x455a4e['gbtlE'])&&(_0x4aefbd[_0x31c5e9(0x1eb)]=_0x455a4e[_0x31c5e9(0x1af)](uuidv4),delete _0x4aefbd[_0x31c5e9(0x12b)]);});}),this['mapTestHooks'](_0x5eae2d[_0x5841cd(0x1de)]);}[a4_0x3aa476(0x1cb)](_0x456305){const _0x484b6f=a4_0x3aa476,_0x37059e={};_0x37059e[_0x484b6f(0x162)]=_0x484b6f(0x1df),_0x37059e[_0x484b6f(0x158)]=_0x484b6f(0x1c1),_0x37059e[_0x484b6f(0x1ce)]=_0x484b6f(0x13e),_0x37059e[_0x484b6f(0x1ca)]=_0x484b6f(0x170);const _0x2a372d=_0x37059e;if(!_0x456305||!_0x456305[_0x484b6f(0x1de)])return[];const _0x172fd0=[];return[_0x2a372d[_0x484b6f(0x162)],_0x2a372d[_0x484b6f(0x158)],_0x2a372d['ijVpF'],_0x2a372d[_0x484b6f(0x1ca)]][_0x484b6f(0x145)](_0x1c6e83=>{const _0x5e5bd9=_0x484b6f,_0x2e0651=_0x456305[_0x5e5bd9(0x1de)][_0x1c6e83]||[];_0x2e0651[_0x5e5bd9(0x145)](_0x1b80ef=>{const _0x1284d7=_0x5e5bd9;_0x1b80ef[_0x1284d7(0x1eb)]&&_0x172fd0[_0x1284d7(0x1d4)](_0x1b80ef['hookAnalyticsId']);});}),[][_0x484b6f(0x156)](_0x172fd0,this[_0x484b6f(0x1cb)](_0x456305['parent']));}[a4_0x3aa476(0x114)](_0x26940a){const _0x4979c8=a4_0x3aa476,_0x4af359=/^"(?<hook>.*)" hook:.*$/,_0x258f67=_0x26940a[_0x4979c8(0x10d)],_0x1f5c89=_0x258f67[_0x4979c8(0x19f)](_0x4af359);if(_0x1f5c89&&_0x1f5c89[_0x4979c8(0x1d6)])return _0x1f5c89[_0x4979c8(0x1d6)][_0x4979c8(0x1e4)]['toUpperCase']()[_0x4979c8(0x141)]('\x20','_');return null;}[a4_0x3aa476(0x1f6)](_0x241b60){const _0x494056=a4_0x3aa476,_0x3aefbf={};_0x3aefbf[_0x494056(0x146)]=function(_0x5d08db,_0xccda63){return _0x5d08db===_0xccda63;},_0x3aefbf[_0x494056(0x1f3)]=function(_0x4afa1c,_0x40512f){return _0x4afa1c===_0x40512f;},_0x3aefbf[_0x494056(0x110)]=function(_0x3fd3ac,_0x329101){return _0x3fd3ac===_0x329101;},_0x3aefbf['NFNRQ']=_0x494056(0x14f),_0x3aefbf[_0x494056(0x1ba)]='config';const _0x1d181e=_0x3aefbf,_0x41a35e=path['sep'];if(_0x1d181e[_0x494056(0x146)](_0x241b60,null)||_0x1d181e[_0x494056(0x146)](_0x241b60,'')||_0x1d181e[_0x494056(0x1f3)](_0x241b60,_0x41a35e)||_0x1d181e[_0x494056(0x110)](_0x241b60,path['dirname'](_0x241b60)))return null;try{return fs[_0x494056(0x122)](path[_0x494056(0x198)](_0x241b60,_0x1d181e[_0x494056(0x139)],_0x1d181e[_0x494056(0x1ba)])),_0x241b60;}catch(_0x40c7f0){const _0xb487b3=path[_0x494056(0x119)](_0x241b60);return this[_0x494056(0x1f6)](_0xb487b3);}}[a4_0x3aa476(0x18a)](_0x280cd7){const _0x2e1fa0=a4_0x3aa476,_0xcc81ed={};_0xcc81ed[_0x2e1fa0(0x16d)]=function(_0x237364,_0x399e1c){return _0x237364>_0x399e1c;};const _0x1c3ba0=_0xcc81ed;if(_0x280cd7[_0x2e1fa0(0x1a7)])return _0x280cd7[_0x2e1fa0(0x1a7)];if(_0x280cd7['ctx']){const _0x5f58a1=_0x280cd7[_0x2e1fa0(0x142)][_0x2e1fa0(0x17b)]?this[_0x2e1fa0(0x18a)](_0x280cd7[_0x2e1fa0(0x142)]['currentTest']):null;if(_0x5f58a1)return _0x5f58a1;}if(_0x280cd7[_0x2e1fa0(0x1de)]){const _0xd9761a=this['getRootParentFile'](_0x280cd7[_0x2e1fa0(0x1de)])||(_0x280cd7[_0x2e1fa0(0x1de)][_0x2e1fa0(0x142)]&&_0x280cd7[_0x2e1fa0(0x1de)][_0x2e1fa0(0x142)]['currentTest']?this[_0x2e1fa0(0x18a)](_0x280cd7['parent'][_0x2e1fa0(0x142)][_0x2e1fa0(0x17b)]):null);if(_0xd9761a)return _0xd9761a;_0x280cd7[_0x2e1fa0(0x1de)]['suites']&&_0x1c3ba0[_0x2e1fa0(0x16d)](_0x280cd7[_0x2e1fa0(0x1de)]['suites'][_0x2e1fa0(0x1c4)],0x0)&&_0x280cd7[_0x2e1fa0(0x1de)][_0x2e1fa0(0x1e6)][_0x2e1fa0(0x145)](_0x2e70ab=>{const _0x21c9aa=_0x2e1fa0,_0x39ac30=_0x2e70ab[_0x21c9aa(0x142)]?this[_0x21c9aa(0x18a)](_0x2e70ab['ctx']):null;if(_0x39ac30)return _0x39ac30;});}return null;}['getHierarchy'](_0x12b024){const _0x13a3cc=a4_0x3aa476,_0x35bff2={};_0x35bff2[_0x13a3cc(0x111)]=function(_0x7ee6da,_0x382222){return _0x7ee6da!==_0x382222;};const _0x3f5da3=_0x35bff2,_0xfc8ad1=[];if(_0x12b024&&_0x12b024[_0x13a3cc(0x1de)]){let _0x2403e1=_0x12b024[_0x13a3cc(0x1de)];while(_0x2403e1&&_0x3f5da3['ZamsM'](_0x2403e1[_0x13a3cc(0x10d)],'')){_0xfc8ad1[_0x13a3cc(0x1d4)](_0x2403e1[_0x13a3cc(0x10d)]),_0x2403e1=_0x2403e1[_0x13a3cc(0x1de)];}}return _0xfc8ad1;}[a4_0x3aa476(0x1b0)](_0x87f1d5,_0x45a866,_0x5aa195=undefined){const _0x22ba41=a4_0x3aa476,_0x2db967={'SADaG':function(_0x31c36c,_0x5141f2){return _0x31c36c(_0x5141f2);},'MLyoH':function(_0x2da97e){return _0x2da97e();},'jHLmD':function(_0x3bd2b2){return _0x3bd2b2();},'WpgLC':function(_0x522140){return _0x522140();},'XKujy':function(_0x58c96b,_0xd73bac){return _0x58c96b(_0xd73bac);},'EykqQ':'util','HYDcs':_0x22ba41(0x1b6),'sHVhG':function(_0x19f17a,_0x33e843){return _0x19f17a!==_0x33e843;},'aXQas':'File\x20path\x20could\x20not\x20be\x20found','holsb':_0x22ba41(0x10c),'vYreY':_0x22ba41(0x12a),'YMEVh':_0x22ba41(0x193),'pMfZU':_0x22ba41(0x13f),'ykoUs':_0x22ba41(0x19e),'MHaox':function(_0x4990d9,_0x2aba88){return _0x4990d9-_0x2aba88;},'lotRq':function(_0x10dedb,_0x213660,_0x210e05,_0x28ea29,_0x9354a4){return _0x10dedb(_0x213660,_0x210e05,_0x28ea29,_0x9354a4);},'ONDrV':_0x22ba41(0x1ac),'rOwDx':_0x22ba41(0x1b3),'oKpao':_0x22ba41(0x144),'ihMFi':'failure_backtrace','FYdDH':_0x22ba41(0x137),'QdppM':_0x22ba41(0x140),'fNLGN':'expanded','pIBFq':function(_0x2057d3,_0x14903b){return _0x2057d3===_0x14903b;},'TpjQy':_0x22ba41(0x147),'vOiOA':_0x22ba41(0x123)};if(!this['enabled'])return;try{if(_0x45a866['fn']&&_0x45a866['fn'][_0x22ba41(0x1bb)]()[_0x22ba41(0x19f)](/browserstack internal helper hook/))return;const _0xba720e=_0x2db967[_0x22ba41(0x1e5)](parseEvent,_0x87f1d5);if(!_0xba720e)return;if(_0xba720e['test']){this['currentTest']=_0x45a866,this[_0x22ba41(0x129)]=null;if(_0xba720e[_0x22ba41(0x117)]||_0xba720e[_0x22ba41(0x13f)]){_0x45a866[_0x22ba41(0x165)]=new Date(),_0x45a866[_0x22ba41(0x12b)]=![];if(!_0x45a866[_0x22ba41(0x17e)])_0x45a866['testAnalyticsId']=_0x2db967[_0x22ba41(0x164)](uuidv4);else _0x45a866[_0x22ba41(0x12b)]&&(!_0x45a866['retryOf']&&(_0x45a866[_0x22ba41(0x12c)]=_0x45a866[_0x22ba41(0x17e)]),_0x45a866[_0x22ba41(0x17e)]=_0x2db967[_0x22ba41(0x153)](uuidv4));}}else{if(_0xba720e['hook']){this[_0x22ba41(0x129)]=_0x45a866;if(_0xba720e[_0x22ba41(0x117)]){_0x45a866['startedAt']=new Date(),_0x45a866['markedStatus']=![];if(!_0x45a866[_0x22ba41(0x1eb)])_0x45a866[_0x22ba41(0x1eb)]=_0x2db967[_0x22ba41(0x164)](uuidv4);else _0x45a866[_0x22ba41(0x1eb)]&&_0x45a866[_0x22ba41(0x12b)]&&(_0x45a866['hookAnalyticsId']=_0x2db967[_0x22ba41(0x1d1)](uuidv4));}}}if(_0xba720e[_0x22ba41(0x19b)]&&_0x45a866[_0x22ba41(0x12b)])return;let _0x4ba2a4;try{_0x4ba2a4=this[_0x22ba41(0x18a)](_0x45a866);}catch(_0x5e38b6){logger['debug'](_0x22ba41(0x1a9)+_0x5e38b6),_0x4ba2a4=null;}const _0x45a629=_0x2db967['XKujy'](require,_0x2db967['EykqQ']);let _0x34ddc0=[];_0x5aa195&&(_0x34ddc0=[_0x5aa195,_0x2db967['HYDcs']]);const _0x24c7ff=_0x2db967['sHVhG'](_0x45a866[_0x22ba41(0x190)],undefined)?_0x45a629[_0x22ba41(0x18f)](_0x45a866[_0x22ba41(0x190)][0x0]):_0x2db967[_0x22ba41(0x1dd)](_0x5aa195,undefined)?_0x5aa195[_0x22ba41(0x1bb)]():undefined,_0x5d9a67=_0x4ba2a4?this[_0x22ba41(0x1f6)](_0x4ba2a4):null,_0x305f07=_0x4ba2a4?this[_0x22ba41(0x14a)][_0x22ba41(0x1e7)](this['getRootParentFile'](_0x45a866)):_0x2db967[_0x22ba41(0x1b8)];let _0x5b10db=_0x2db967[_0x22ba41(0x17f)];const _0x499562=!_0xba720e[_0x22ba41(0x117)]?new Date()[_0x22ba41(0x1bc)]():null;if(_0xba720e[_0x22ba41(0x19b)])_0x5b10db=_0x5aa195?_0x2db967[_0x22ba41(0x184)]:_0x2db967[_0x22ba41(0x1f9)],_0x45a866['markedStatus']=!![];else _0xba720e[_0x22ba41(0x13f)]&&(_0x5b10db=_0x2db967[_0x22ba41(0x1dc)],_0x45a866[_0x22ba41(0x12b)]=!![]);const _0x2f588a={'framework':this[_0x22ba41(0x1ab)],'uuid':_0x45a866[_0x22ba41(0x17e)]||_0x45a866[_0x22ba41(0x1eb)],'name':_0x45a866[_0x22ba41(0x10d)],'body':{'lang':_0x2db967['ykoUs'],'code':_0x45a866[_0x22ba41(0x194)]['toString']()},'type':_0x45a866[_0x22ba41(0x15b)],'scope':_0x45a866[_0x22ba41(0x1b7)](),'scopes':this['getHierarchy'](_0x45a866),'file_name':_0x305f07,'vc_filepath':_0x5d9a67?path['relative'](_0x5d9a67,_0x4ba2a4):null,'location':_0x305f07,'result':_0x5b10db,'failure_reason':_0x24c7ff,'duration_in_ms':_0x45a866[_0x22ba41(0x14b)]||(_0xba720e[_0x22ba41(0x19b)]||_0xba720e[_0x22ba41(0x13f)])?_0x2db967['MHaox'](Date[_0x22ba41(0x11f)](),new Date(_0x45a866[_0x22ba41(0x165)])['getTime']()):null,'started_at':new Date(_0x45a866[_0x22ba41(0x165)])[_0x22ba41(0x1bc)](),'finished_at':_0x499562,'failure':testOpsHelper[_0x22ba41(0x178)][_0x22ba41(0x143)](null,_0x34ddc0),'failure_type':!_0x24c7ff?null:testOpsHelper[_0x22ba41(0x185)](_0x24c7ff),'retry_of':_0x45a866[_0x22ba41(0x12c)]||null,'tags':_0x45a866[_0x22ba41(0x11c)]||[],'customRerunParam':{'rerun_name':_0x45a866[_0x22ba41(0x1b7)]()}};_0x2db967[_0x22ba41(0x1c5)](appendTesthubParams,_0x2f588a,_0x87f1d5,_0x45a866,FRAMEWORKS[_0x22ba41(0x1ad)]);if(_0xba720e[_0x22ba41(0x1e4)])[_0x2f588a['hook_type'],_0x2f588a[_0x22ba41(0x180)]]=[this[_0x22ba41(0x114)](_0x45a866),_0x45a866['ctx'][_0x22ba41(0x19a)][_0x22ba41(0x10d)]],_0xba720e[_0x22ba41(0x19b)]?_0x2db967[_0x22ba41(0x1dd)](_0x2f588a[_0x22ba41(0x1a3)],_0x2db967[_0x22ba41(0x184)])&&(_0x2f588a[_0x22ba41(0x1a3)]=_0x2db967[_0x22ba41(0x1f9)]):_0x2f588a[_0x22ba41(0x194)]={};else _0xba720e[_0x22ba41(0x19a)]&&(this[_0x22ba41(0x13c)](_0x45a866),_0xba720e[_0x22ba41(0x13f)]&&this[_0x22ba41(0x171)](_0x45a866),(_0xba720e[_0x22ba41(0x19b)]||_0xba720e[_0x22ba41(0x13f)])&&(_0x2f588a[_0x22ba41(0x130)]=this[_0x22ba41(0x1cb)](_0x45a866)));this[_0x22ba41(0x159)]&&(_0xba720e[_0x22ba41(0x117)]||_0xba720e[_0x22ba41(0x13f)])&&(_0x2f588a[_0x2db967[_0x22ba41(0x16b)]]=this[_0x22ba41(0x12d)](this['driver']));_0xba720e[_0x22ba41(0x19a)]&&_0xba720e[_0x22ba41(0x19b)]&&_0x45a866['bddSteps']&&(_0x2f588a[_0x2db967[_0x22ba41(0x191)]]={'feature':{'name':_0x45a866['parent']['feature']['name'],'path':_0x2f588a['file_name'],'description':_0x45a866['parent'][_0x22ba41(0x1db)]},'scenario':{'name':_0x45a866[_0x22ba41(0x10d)]},'steps':_0x45a866[_0x22ba41(0x13a)]});const _0x21626e=_0x2f588a[_0x2db967['oKpao']][0x0];_0x21626e&&(_0x2f588a[_0x2db967[_0x22ba41(0x1d5)]]=_0x21626e[_0x2db967[_0x22ba41(0x116)]],_0x2f588a[_0x2db967[_0x22ba41(0x1cc)]]=_0x21626e[_0x2db967[_0x22ba41(0x1b5)]]);if(_0x45a866[_0x22ba41(0x13a)])for(const _0x176f8e of _0x45a866[_0x22ba41(0x13a)]){!_0x176f8e[_0x22ba41(0x172)]&&(_0x176f8e[_0x22ba41(0x172)]=new Date()[_0x22ba41(0x1bc)](),_0x2db967[_0x22ba41(0x1b4)](_0x176f8e[_0x22ba41(0x1a3)],_0x2db967['holsb'])&&(_0x21626e?(_0x176f8e[_0x22ba41(0x1a3)]=_0x2db967[_0x22ba41(0x184)],_0x176f8e[_0x22ba41(0x144)]=_0x21626e[_0x2db967[_0x22ba41(0x116)]][0x0]):_0x176f8e[_0x22ba41(0x1a3)]=_0x2db967[_0x22ba41(0x1f9)]));}const _0x41b02c={};_0x41b02c[_0x22ba41(0x14e)]=_0xba720e[_0x22ba41(0x13f)]?TEST_EVENTS[_0x22ba41(0x176)]:_0x87f1d5;const _0x1defc4=_0x41b02c;return _0xba720e[_0x22ba41(0x1e4)]?_0x1defc4[_0x2db967['TpjQy']]=_0x2f588a:_0x1defc4[_0x2db967[_0x22ba41(0x154)]]=_0x2f588a,_0x1defc4;}catch(_0x28c45e){logger['debug'](_0x22ba41(0x1f5)+_0x87f1d5+_0x22ba41(0x18d)+_0x28c45e);}}async[a4_0x3aa476(0x174)](_0x1fdaca,_0x5a670c){const _0x3ff312=a4_0x3aa476;if(!this[_0x3ff312(0x127)]||!_0x5a670c||!_0x1fdaca)return![];try{return await SessionHandler[_0x3ff312(0x15d)](_0x5a670c);}catch(_0x14cb0f){logger[_0x3ff312(0x157)](_0x3ff312(0x17d)+_0x1fdaca+_0x3ff312(0x18d)+_0x14cb0f);}}[a4_0x3aa476(0x1f0)](_0x41f0e5){const _0x31d3d7=a4_0x3aa476,_0x3e834a={};_0x3e834a[_0x31d3d7(0x182)]=_0x31d3d7(0x10c);const _0xcb3cee=_0x3e834a;return{'id':_0x41f0e5[_0x31d3d7(0x1cf)],'text':_0x41f0e5['text'],'keyword':_0x41f0e5[_0x31d3d7(0x175)],'started_at':_0x41f0e5[_0x31d3d7(0x165)][_0x31d3d7(0x1bc)](),'result':_0xcb3cee['oUAif']};}[a4_0x3aa476(0x1c8)](_0x4229e1){const _0x3a845c=a4_0x3aa476,_0x54c9a={'jjjzW':function(_0x1fa9c4){return _0x1fa9c4();}};!this[_0x3a845c(0x17b)]['bddSteps']&&(this['currentTest'][_0x3a845c(0x13a)]=[]),!_0x4229e1[_0x3a845c(0x1cf)]&&(_0x4229e1[_0x3a845c(0x1cf)]=_0x54c9a['jjjzW'](uuidv4),_0x4229e1[_0x3a845c(0x165)]=new Date(),this[_0x3a845c(0x17b)]['bddSteps']['push'](this[_0x3a845c(0x1f0)](_0x4229e1)));}[a4_0x3aa476(0x149)](_0x3b9a7b){const _0x22258c=a4_0x3aa476,_0xcfc99f={'GPrEz':function(_0x251403,_0x267b3a){return _0x251403(_0x267b3a);},'tUoBM':_0x22258c(0x1bd),'bwalK':'pending','gjXmY':_0x22258c(0x193),'wNpBd':function(_0xc99a85,_0x163a90){return _0xc99a85-_0x163a90;}};let _0x7f02f9=this[_0x22258c(0x17b)][_0x22258c(0x13a)][_0x22258c(0x19d)](_0x3693e9=>_0x3693e9['id']===_0x3b9a7b[_0x22258c(0x1cf)]);_0xcfc99f['GPrEz'](isUndefined,_0x7f02f9)&&(_0x7f02f9=this[_0x22258c(0x1f0)](_0x3b9a7b)),_0x7f02f9['result']=[_0xcfc99f[_0x22258c(0x1be)],_0xcfc99f[_0x22258c(0x1e2)]][_0x22258c(0x112)](_0x3b9a7b[_0x22258c(0x1a0)])?_0xcfc99f[_0x22258c(0x167)]:_0x3b9a7b[_0x22258c(0x1a0)],_0x7f02f9['finished_at']=new Date()['toISOString'](),_0x7f02f9['duration']=_0xcfc99f['wNpBd'](Date[_0x22258c(0x11f)](),_0x3b9a7b[_0x22258c(0x165)][_0x22258c(0x13b)]()),_0x7f02f9[_0x22258c(0x144)]=_0x3b9a7b[_0x22258c(0x1b6)]?_0x3b9a7b[_0x22258c(0x1b6)][_0x22258c(0x1e8)]:null;}}function a4_0x133b(){const _0x3a9aa3=['failed','markedStatus','retryOf','getCBTInfo','defineProperty','getInstance','hooks','qvzaP','toLowerCase','dabEK','BrowserType','soFHm','20096KizALY','backtrace','patchConsoleLogger','NFNRQ','bddSteps','getTime','mapTestHooks','2511RlWYzB','_beforeEach','skipped','failure_reason_expanded','replace','ctx','apply','failure','forEach','vdTJd','hook_run','../utils/constants','bddStepFinish','_paths','duration','browserstack','browserType.js','event_type','.git','then','5|2|0|4|1|3','CCtpt','jHLmD','vOiOA','Jownl','concat','debug','COarC','driver','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','type','xYhYy','uploadEventData','dvUKC','tWWhH','20658PBEcaw','connect','bwkcX','hook_run_uuid','MLyoH','startedAt','winstonLogger','gjXmY','wsEndpoint','exports','rtWpr','ONDrV','setupBrowserDetails','zytms','NXcke','LogCreated','_afterEach','resetSkipTestHooks','finished_at','SyPtT','fireEvent','keyword','TEST_RUN_FINISHED','HOOK_RUN_STARTED','failureData','./helper.js','TestRunStarted','currentTest','mdWvj','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','testAnalyticsId','holsb','name','STATE_PASSED','oUAif','TSeHi','vYreY','getFailureType','gPcaH','HOOK_RUN_FINISHED','start','launch','getRootParentFile','lib','accessibilityPlatform','\x20with\x20error\x20:\x20','5755316mZYpfi','inspect','errorsDetailed','rOwDx','TEST_EVENTS','passed','body','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_STARTED','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','join','sCnXw','test','finished','../../helpers/test-observability/sessionHandler','find','javascript','match','status','eNHjQ','O11yHelper','result','__cloud_provider___','test_run_uuid','vHLkB','file','EmddI','failed\x20to\x20get\x20root\x20parent\x20file\x20','cwd','frameworkName','integrations','CODECEPT','ZyvtQ','HKzIr','captureEvent','wuAPO','cIUIk','meta','pIBFq','fNLGN','err','fullTitle','aXQas','pid','KPCDj','toString','toISOString','success','tUoBM','Playwright','obsBrowserTypeMockApplied','_afterAll','tBrME','Failed\x20to\x20parse\x20wsendpoint\x20','length','lotRq','bRvtD','location_prefix','bddStepStart','RiTtB','vZvWs','getHooksForTest','QdppM','1096525rAwwtl','ijVpF','stepAnalyticsId','STATE_FAILED','WpgLC','constructor','HookRunFinished','push','ihMFi','groups','codeceptjs','1033998LELxVI','connectOverCDP','6858929joHBMJ','comment','pMfZU','sHVhG','parent','_beforeAll','prototype','logs','bwalK','1425966TdqGua','hook','SADaG','suites','prefixTestPath','message','../../helpers/test-observability/utils','VYBJl','hookAnalyticsId','VFhHp','10cOUMPO','HQufZ','gbtlE','initializeBddStep','jZfJa','bs:addLog:','DWoFN','WpyNQ','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','findGitConfig','path','406oXxRqo','YMEVh','tGvjK','pending','title','tGVxE','stop','RwUFp','ZamsM','includes','CBPzX','getHookType','HookRunStarted','FYdDH','started','GggAB','dirname','uuid','string','tags','stringify','lkInz','now','appendTestItemLog','fPYDb','statSync','test_run','4lpAuXp','split','__platformCaps','enabled','../mocha/test-observability/mochaUtils','currentHook'];a4_0x133b=function(){return _0x3a9aa3;};return a4_0x133b();}const a4_0x17a450={};a4_0x17a450[a4_0x3aa476(0x1a2)]=O11yHelper,a4_0x17a450[a4_0x3aa476(0x181)]=STATE_PASSED,a4_0x17a450[a4_0x3aa476(0x1d0)]=STATE_FAILED,a4_0x17a450[a4_0x3aa476(0x192)]=TEST_EVENTS,module[a4_0x3aa476(0x169)]=a4_0x17a450;
|
|
1
|
+
function a4_0x5a6e(_0x3ba134,_0x443b4c){const _0x8fc95a=a4_0x8fc9();return a4_0x5a6e=function(_0x5a6e7f,_0x372052){_0x5a6e7f=_0x5a6e7f-0xe0;let _0x4c53f9=_0x8fc95a[_0x5a6e7f];return _0x4c53f9;},a4_0x5a6e(_0x3ba134,_0x443b4c);}const a4_0x14be34=a4_0x5a6e;(function(_0x54563a,_0x322af3){const _0x148697=a4_0x5a6e,_0x59482d=_0x54563a();while(!![]){try{const _0x428798=-parseInt(_0x148697(0x1a8))/0x1+-parseInt(_0x148697(0x106))/0x2*(-parseInt(_0x148697(0x136))/0x3)+-parseInt(_0x148697(0x132))/0x4*(parseInt(_0x148697(0x1d2))/0x5)+parseInt(_0x148697(0x1ae))/0x6+parseInt(_0x148697(0x101))/0x7+parseInt(_0x148697(0x131))/0x8+-parseInt(_0x148697(0x152))/0x9*(parseInt(_0x148697(0x10b))/0xa);if(_0x428798===_0x322af3)break;else _0x59482d['push'](_0x59482d['shift']());}catch(_0xf60e63){_0x59482d['push'](_0x59482d['shift']());}}}(a4_0x8fc9,0xd35ee));const path=require(a4_0x14be34(0x103)),fs=require('fs'),{v4:uuidv4}=require(a4_0x14be34(0x16d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x14be34(0x1a1)),testOpsHelper=require(a4_0x14be34(0x12c)),{getTestEnv}=require(a4_0x14be34(0x135)),{FRAMEWORKS}=require(a4_0x14be34(0x1bf)),logger=require(a4_0x14be34(0x1d4))['winstonLogger'],SessionHandler=require(a4_0x14be34(0x16f)),RequestQueueHandler=require(a4_0x14be34(0xf5)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x14be34(0x1b5)),{fetchPlatformDetails}=require(a4_0x14be34(0x139)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED=a4_0x14be34(0x154),a4_0x469675={};a4_0x469675[a4_0x14be34(0x18e)]=a4_0x14be34(0x126),a4_0x469675['TEST_RUN_FINISHED']='TestRunFinished',a4_0x469675['TEST_RUN_SKIPPED']=a4_0x14be34(0x185),a4_0x469675[a4_0x14be34(0x14c)]='HookRunStarted',a4_0x469675['HOOK_RUN_FINISHED']=a4_0x14be34(0x10c);const TEST_EVENTS=a4_0x469675,parseEvent=_0x2567cc=>{const _0x21db5d=a4_0x14be34,_0x24c15a={};_0x24c15a[_0x21db5d(0x142)]=function(_0x1e3c2a,_0x1b822f){return _0x1e3c2a<_0x1b822f;},_0x24c15a[_0x21db5d(0x1bd)]=function(_0x1b58d5,_0x4c992c){return _0x1b58d5===_0x4c992c;},_0x24c15a[_0x21db5d(0x19d)]=_0x21db5d(0x164),_0x24c15a['KWjCw']=function(_0x3ff23f,_0x294ba2){return _0x3ff23f===_0x294ba2;},_0x24c15a[_0x21db5d(0x110)]=_0x21db5d(0x1d1),_0x24c15a[_0x21db5d(0x14a)]=_0x21db5d(0x1b4),_0x24c15a[_0x21db5d(0x157)]=_0x21db5d(0x13a),_0x24c15a[_0x21db5d(0x107)]=_0x21db5d(0x176);const _0xb8f67b=_0x24c15a,_0x1838ef=_0x2567cc[_0x21db5d(0x1a4)](/^(.*)Run(.*)$/);if(!_0x1838ef)return null;if(_0xb8f67b[_0x21db5d(0x142)](_0x1838ef['length'],0x3))return null;const _0x4cd82b=_0x1838ef[0x1]['toLowerCase'](),_0x32f7c7=_0x1838ef[0x2][_0x21db5d(0xed)]();return{'test':_0xb8f67b['RjFWH'](_0x4cd82b,_0xb8f67b[_0x21db5d(0x19d)]),'hook':_0xb8f67b[_0x21db5d(0x179)](_0x4cd82b,_0xb8f67b[_0x21db5d(0x110)]),'skipped':_0xb8f67b[_0x21db5d(0x1bd)](_0x32f7c7,_0xb8f67b['ttQnt']),'started':_0xb8f67b[_0x21db5d(0x179)](_0x32f7c7,_0xb8f67b[_0x21db5d(0x157)]),'finished':_0xb8f67b[_0x21db5d(0x1bd)](_0x32f7c7,_0xb8f67b[_0x21db5d(0x107)])};},mockPWBrowserType=_0x556e97=>{const _0x4222b9=a4_0x14be34,_0xc0ad98={'PItLX':function(_0x30709a,_0x23ea18){return _0x30709a===_0x23ea18;},'MolRE':_0x4222b9(0x159),'wpvaW':function(_0x182a10,_0x4d0e34,_0x11393a){return _0x182a10(_0x4d0e34,_0x11393a);},'yyfwx':_0x4222b9(0x1ab),'tbBUs':function(_0x1f7541,_0x1bcf5d){return _0x1f7541(_0x1bcf5d);},'rODbe':_0x4222b9(0x1c9),'ZsMur':'lib','MUSOZ':_0x4222b9(0x1af),'KdaFN':_0x4222b9(0xf2),'UKXoZ':function(_0x1dbaac,_0x2e1884){return _0x1dbaac(_0x2e1884);},'RfRfF':_0x4222b9(0x11e),'ZLwFp':_0x4222b9(0xee),'QIfwf':'launch'},_0x54d65d=path[_0x4222b9(0x150)](_0xc0ad98[_0x4222b9(0xe4)],_0xc0ad98[_0x4222b9(0x19b)],_0xc0ad98[_0x4222b9(0x187)]),_0xd44101=_0xc0ad98[_0x4222b9(0x1d9)](importFileFromPWCore,_0x54d65d);if(!_0xd44101){_0xc0ad98[_0x4222b9(0x1ce)](debug,_0xc0ad98[_0x4222b9(0x109)]);return;}const _0x2e123c=_0xd44101[_0x4222b9(0xf7)],_0x15ddb3=_0x2e123c[_0x4222b9(0x197)];if(_0x15ddb3[_0x4222b9(0x10f)])return;const _0x18a031=_0x15ddb3[_0x4222b9(0xee)];Object[_0x4222b9(0x137)](_0x15ddb3,_0xc0ad98['ZLwFp'],{'get':function(){const _0x1d42c8=_0x4222b9,_0x2fa5d1={'IGuFD':function(_0x22ce77,_0x461139){const _0x47ce55=a4_0x5a6e;return _0xc0ad98[_0x47ce55(0x194)](_0x22ce77,_0x461139);},'fxPlR':_0xc0ad98[_0x1d42c8(0x186)],'vlodv':function(_0x105a9e,_0x25456f,_0x130d72){const _0x1af0d4=_0x1d42c8;return _0xc0ad98[_0x1af0d4(0x17a)](_0x105a9e,_0x25456f,_0x130d72);},'iqpWg':_0xc0ad98[_0x1d42c8(0x163)],'cCBEB':function(_0x2b1922,_0x264b87){return _0xc0ad98['tbBUs'](_0x2b1922,_0x264b87);},'AYoxg':_0xc0ad98['rODbe'],'ikZZi':function(_0x693222,_0x2fe8a8,_0xc24a2){return _0xc0ad98['wpvaW'](_0x693222,_0x2fe8a8,_0xc24a2);}};return async function _0x554067(_0x2ef873,_0x118ef5){const _0x52af96=_0x1d42c8,_0x19a6ad={'yZJbC':function(_0x3aaaba,_0x4a6738){const _0x375a37=a4_0x5a6e;return _0x2fa5d1[_0x375a37(0x1c6)](_0x3aaaba,_0x4a6738);},'xnYMh':_0x2fa5d1[_0x52af96(0x121)]},_0x1f8b39=_0x2fa5d1[_0x52af96(0x11d)](nestedKeyValue,_0x2ef873,[_0x2fa5d1[_0x52af96(0xe1)]])||_0x2ef873;let _0x550e6a=null,_0x691345=null;try{[_0x691345,_0x550e6a]=_0x1f8b39?_0x2fa5d1[_0x52af96(0x169)](parseWSEndpoint,_0x1f8b39):[null,null],global[_0x52af96(0x1bb)]=_0x550e6a,_0x691345[_0x52af96(0x147)](_0x2fa5d1[_0x52af96(0x180)])&&(global[_0x52af96(0xfe)]=_0x2fa5d1[_0x52af96(0x180)]);}catch(_0x3150a6){logger[_0x52af96(0x1b6)](_0x52af96(0xf4)+_0x1f8b39+'\x20'+_0x3150a6);}_0x2fa5d1[_0x52af96(0x153)](processAccessibilityCaps,_0x550e6a,_0x691345);if(global[_0x52af96(0x193)]){const _0x2a887e=await _0x15ddb3['connectOverCDP'][_0x52af96(0x1a9)](this,[''+Constants[_0x52af96(0x18c)]+_0x2fa5d1[_0x52af96(0x169)](encodeURIComponent,JSON['stringify'](_0x550e6a))]);return PlaywrightSessionDetails[_0x52af96(0x12b)](_0x2a887e,_0x556e97,_0x1f8b39),_0x2a887e;}return _0x18a031[_0x52af96(0x1a9)](this,arguments)[_0x52af96(0xe8)](_0xc9f4c1=>{const _0x5ad7f4=_0x52af96;let _0x220b5e=_0x2ef873[_0x5ad7f4(0x1ab)];return _0x19a6ad['yZJbC'](typeof _0x2ef873,_0x19a6ad[_0x5ad7f4(0x146)])&&(_0x220b5e=_0x2ef873),PlaywrightSessionDetails[_0x5ad7f4(0x12b)](_0xc9f4c1,_0x556e97,_0x220b5e),_0xc9f4c1;});};}});const _0x252a2d=_0x15ddb3[_0x4222b9(0x148)];Object[_0x4222b9(0x137)](_0x15ddb3,_0xc0ad98[_0x4222b9(0x129)],{'get':function(){return async function _0x55d430(){const _0x57f222=a4_0x5a6e;return _0x252a2d[_0x57f222(0x1a9)](this,arguments)[_0x57f222(0xe8)](_0x51ba26=>{const _0x5d0398=_0x57f222;return PlaywrightSessionDetails[_0x5d0398(0x12b)](_0x51ba26,null),_0x51ba26;});};}});};class O11yHelper{['currentTest']=null;[a4_0x14be34(0x1d5)]=null;[a4_0x14be34(0x196)]=![];['frameworkName']=![];constructor(_0x55e543,_0x37ed60){const _0x40ec47=a4_0x14be34,_0x54d5d4={'gKUGE':_0x40ec47(0xf9),'Udgkn':function(_0xa5e86,_0x57e89a){return _0xa5e86===_0x57e89a;},'DVVQu':'Playwright','dmxWx':function(_0x1dc13b,_0x34a4c3){return _0x1dc13b(_0x34a4c3);},'rDqWm':function(_0x6e3d00){return _0x6e3d00();}},_0x521115=_0x54d5d4[_0x40ec47(0x1cc)][_0x40ec47(0x1a5)]('|');let _0x202c02=0x0;while(!![]){switch(_0x521115[_0x202c02++]){case'0':this[_0x40ec47(0x1c3)]=_0x37ed60[_0x40ec47(0x1c3)];continue;case'1':this[_0x40ec47(0x1d8)]=new testOpsHelper[(_0x40ec47(0x13f))]({'cwd':process[_0x40ec47(0x18a)]()},this['_testEnv'][_0x40ec47(0x19f)]);continue;case'2':this[_0x40ec47(0x12d)]&&_0x54d5d4[_0x40ec47(0x108)](this[_0x40ec47(0x12d)][_0x40ec47(0x149)][_0x40ec47(0xfd)],_0x54d5d4[_0x40ec47(0x158)])&&_0x54d5d4['dmxWx'](mockPWBrowserType,null);continue;case'3':this[_0x40ec47(0x196)]=_0x54d5d4['rDqWm'](shouldProcessEventForTesthub);continue;case'4':this[_0x40ec47(0x199)]=_0x54d5d4[_0x40ec47(0x1d3)](getTestEnv);continue;case'5':this[_0x40ec47(0x12d)]=_0x55e543;continue;}break;}}[a4_0x14be34(0x15c)](){const _0x3c6ab2=a4_0x14be34;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x3c6ab2(0x1ca)](_0x3c6ab2(0xfa)+process[_0x3c6ab2(0x181)]),process['on'](_0x3c6ab2(0xfa)+process[_0x3c6ab2(0x181)],this[_0x3c6ab2(0x174)]['bind'](this));}async[a4_0x14be34(0x17b)](){const _0x32092e=a4_0x14be34;await RequestQueueHandler[_0x32092e(0xf1)]()['shutdown']();}async[a4_0x14be34(0x174)](_0x168c96){const _0x37c4c2=a4_0x14be34,_0x538f82={'KLRLn':_0x37c4c2(0x1ba),'sceTL':function(_0x1c6f92,_0x4b8536){return _0x1c6f92(_0x4b8536);}};try{this[_0x37c4c2(0x1d5)]&&!this[_0x37c4c2(0x1d5)][_0x37c4c2(0x19c)]&&(_0x168c96[_0x37c4c2(0x1aa)]=this[_0x37c4c2(0x1d5)]['hookAnalyticsId']);!_0x168c96[_0x37c4c2(0x1aa)]&&this[_0x37c4c2(0x182)]&&!this[_0x37c4c2(0x182)]['markedStatus']&&(_0x168c96[_0x37c4c2(0x15b)]=this[_0x37c4c2(0x182)][_0x37c4c2(0xfc)]);if(_0x168c96[_0x37c4c2(0x1aa)]||_0x168c96[_0x37c4c2(0x15b)]){const _0x448a91={};_0x448a91[_0x37c4c2(0x178)]=_0x538f82['KLRLn'],_0x448a91[_0x37c4c2(0xec)]=[_0x168c96],await SessionHandler[_0x37c4c2(0x160)](_0x448a91);}}catch(_0x504ef8){_0x538f82[_0x37c4c2(0x13c)](debug,_0x37c4c2(0x111)+_0x504ef8);}}async[a4_0x14be34(0x144)](_0x894135){const _0x17744e=a4_0x14be34,_0x2ee212={'nOYHb':_0x17744e(0x1d0),'HyOBv':function(_0x40c1eb,_0x327c4a){return _0x40c1eb(_0x327c4a);}};if(!this[_0x17744e(0x196)])return;const _0x28313b=this['getCBTInfo'](this[_0x17744e(0x12d)]);try{const _0x340796={};_0x340796['uuid']=_0x894135,_0x340796[_0x17744e(0x124)]=_0x28313b;const _0x2e6932=_0x340796,_0x31feb7={};_0x31feb7['event_type']=_0x2ee212[_0x17744e(0x15d)],_0x31feb7[_0x17744e(0x116)]=_0x2e6932,await SessionHandler['uploadEventData'](_0x31feb7);}catch(_0x1d7439){_0x2ee212[_0x17744e(0x1be)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1d7439);}}[a4_0x14be34(0x1b7)](_0x4a6ec5){const _0x2051dd=a4_0x14be34,_0x963910={'BRnbx':function(_0x101b9f,_0x14c530){return _0x101b9f(_0x14c530);}};return _0x963910[_0x2051dd(0x104)](fetchPlatformDetails,_0x4a6ec5);}['resetSkipTestHooks']=_0x261407=>{const _0x89c8f4=a4_0x14be34,_0x4341a0={};_0x4341a0[_0x89c8f4(0x140)]=_0x89c8f4(0x100),_0x4341a0['yCiIx']=_0x89c8f4(0x172);const _0x7315d=_0x4341a0;if(!_0x261407||!_0x261407[_0x89c8f4(0x1a0)])return;[_0x7315d[_0x89c8f4(0x140)],_0x7315d[_0x89c8f4(0x192)]]['forEach'](_0x345769=>{const _0x3bf2f0=_0x89c8f4,_0x4e50cb=_0x261407[_0x3bf2f0(0x1a0)][_0x345769];_0x4e50cb[_0x3bf2f0(0x1c1)](_0x42d43b=>{const _0x477a36=_0x3bf2f0;_0x42d43b[_0x477a36(0x1a2)]&&(_0x42d43b[_0x477a36(0x1a2)]=null);});});};[a4_0x14be34(0x1c4)](_0x58635b){const _0x48c2d8=a4_0x14be34,_0x39e126={'jGDsX':'codeceptjs','iOyJF':function(_0xd0ab46){return _0xd0ab46();},'rLBfA':function(_0x31d1b7,_0x5f08a8){return _0x31d1b7===_0x5f08a8;},'trakD':_0x48c2d8(0x172),'mouAn':function(_0xa8a73f){return _0xa8a73f();},'fJgpD':_0x48c2d8(0x141),'NNeTS':_0x48c2d8(0x14d),'fdeNX':_0x48c2d8(0x100)};if(!_0x58635b||!_0x58635b[_0x48c2d8(0x1a0)])return;[_0x39e126['fJgpD'],_0x39e126[_0x48c2d8(0xe5)],_0x39e126[_0x48c2d8(0x16e)],_0x39e126[_0x48c2d8(0x189)]][_0x48c2d8(0x1c1)](_0xad1304=>{const _0x24653b=_0x48c2d8,_0x2682d9=_0x58635b[_0x24653b(0x1a0)][_0xad1304]||[];_0x2682d9['forEach'](_0x125381=>{const _0x467fac=_0x24653b;if(_0x125381['title'][_0x467fac(0x147)](_0x39e126[_0x467fac(0x115)]))return;if(!_0x125381[_0x467fac(0x1a2)])_0x125381[_0x467fac(0x1a2)]=_0x39e126[_0x467fac(0x1d7)](uuidv4);else _0x125381[_0x467fac(0x19c)]&&_0x39e126[_0x467fac(0x162)](_0xad1304,_0x39e126['trakD'])&&(_0x125381[_0x467fac(0x1a2)]=_0x39e126[_0x467fac(0x127)](uuidv4),delete _0x125381[_0x467fac(0x19c)]);});}),this['mapTestHooks'](_0x58635b[_0x48c2d8(0x1a0)]);}['getHooksForTest'](_0x2b69ca){const _0x3a3bec=a4_0x14be34,_0x3aa59e={};_0x3aa59e[_0x3a3bec(0x170)]=_0x3a3bec(0x141),_0x3aa59e[_0x3a3bec(0x13d)]=_0x3a3bec(0x14d),_0x3aa59e[_0x3a3bec(0x125)]=_0x3a3bec(0x100),_0x3aa59e[_0x3a3bec(0x177)]=_0x3a3bec(0x172);const _0x44cb46=_0x3aa59e;if(!_0x2b69ca||!_0x2b69ca['parent'])return[];const _0xe9d02=[];return[_0x44cb46[_0x3a3bec(0x170)],_0x44cb46['wIVdh'],_0x44cb46[_0x3a3bec(0x125)],_0x44cb46[_0x3a3bec(0x177)]]['forEach'](_0x36ee4b=>{const _0x402316=_0x3a3bec,_0x5ed31d=_0x2b69ca[_0x402316(0x1a0)][_0x36ee4b]||[];_0x5ed31d[_0x402316(0x1c1)](_0x40abab=>{const _0x155c51=_0x402316;_0x40abab[_0x155c51(0x1a2)]&&_0xe9d02[_0x155c51(0x190)](_0x40abab['hookAnalyticsId']);});}),[]['concat'](_0xe9d02,this[_0x3a3bec(0xe7)](_0x2b69ca[_0x3a3bec(0x1a0)]));}[a4_0x14be34(0xe2)](_0x920f9e){const _0x4470be=a4_0x14be34,_0x5a1050=/^"(?<hook>.*)" hook:.*$/,_0x2b339d=_0x920f9e[_0x4470be(0x17d)],_0x35f757=_0x2b339d[_0x4470be(0x1a4)](_0x5a1050);if(_0x35f757&&_0x35f757[_0x4470be(0x1cf)])return _0x35f757[_0x4470be(0x1cf)]['hook'][_0x4470be(0x1a7)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x2c041d){const _0x4db24f=a4_0x14be34,_0x53ff4f={};_0x53ff4f['lVgwB']=function(_0x4d35d2,_0x1cac62){return _0x4d35d2===_0x1cac62;},_0x53ff4f[_0x4db24f(0x16c)]=function(_0x539e46,_0x35b6d2){return _0x539e46===_0x35b6d2;},_0x53ff4f['iVAEW']=function(_0x13376f,_0x3a9332){return _0x13376f===_0x3a9332;},_0x53ff4f[_0x4db24f(0x1ac)]=_0x4db24f(0x17f),_0x53ff4f[_0x4db24f(0x122)]=_0x4db24f(0x1c2);const _0x2da377=_0x53ff4f,_0x23d31b=path[_0x4db24f(0x102)];if(_0x2da377[_0x4db24f(0xf3)](_0x2c041d,null)||_0x2da377['KtVFS'](_0x2c041d,'')||_0x2da377[_0x4db24f(0x18b)](_0x2c041d,_0x23d31b)||_0x2da377[_0x4db24f(0xf3)](_0x2c041d,path['dirname'](_0x2c041d)))return null;try{return fs[_0x4db24f(0xf8)](path['join'](_0x2c041d,_0x2da377[_0x4db24f(0x1ac)],_0x2da377[_0x4db24f(0x122)])),_0x2c041d;}catch(_0x438193){const _0x30db15=path[_0x4db24f(0x175)](_0x2c041d);return this[_0x4db24f(0x11f)](_0x30db15);}}[a4_0x14be34(0x15a)](_0x4f858f){const _0x407694=a4_0x14be34,_0x26c72e={};_0x26c72e[_0x407694(0x18f)]=function(_0x315ed6,_0x1f951a){return _0x315ed6>_0x1f951a;};const _0x5b0c84=_0x26c72e;if(_0x4f858f[_0x407694(0x1bc)])return _0x4f858f['file'];if(_0x4f858f['ctx']){const _0x4592a1=_0x4f858f[_0x407694(0xe0)]['currentTest']?this[_0x407694(0x15a)](_0x4f858f['ctx'][_0x407694(0x182)]):null;if(_0x4592a1)return _0x4592a1;}if(_0x4f858f[_0x407694(0x1a0)]){const _0xd0a73c=this['getRootParentFile'](_0x4f858f['parent'])||(_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)]&&_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)][_0x407694(0x182)]?this['getRootParentFile'](_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)][_0x407694(0x182)]):null);if(_0xd0a73c)return _0xd0a73c;_0x4f858f[_0x407694(0x1a0)][_0x407694(0x12f)]&&_0x5b0c84[_0x407694(0x18f)](_0x4f858f['parent'][_0x407694(0x12f)][_0x407694(0x114)],0x0)&&_0x4f858f[_0x407694(0x1a0)][_0x407694(0x12f)]['forEach'](_0x27d6e1=>{const _0x3126ca=_0x407694,_0x2fc88c=_0x27d6e1[_0x3126ca(0xe0)]?this[_0x3126ca(0x15a)](_0x27d6e1[_0x3126ca(0xe0)]):null;if(_0x2fc88c)return _0x2fc88c;});}return null;}[a4_0x14be34(0x1b2)](_0x40122c){const _0x155855=a4_0x14be34,_0x2de993={};_0x2de993['GdJqG']=function(_0x2173e3,_0x421ece){return _0x2173e3!==_0x421ece;};const _0x2531d3=_0x2de993,_0x1ec5dd=[];if(_0x40122c&&_0x40122c[_0x155855(0x1a0)]){let _0x3371a7=_0x40122c[_0x155855(0x1a0)];while(_0x3371a7&&_0x2531d3[_0x155855(0x184)](_0x3371a7[_0x155855(0x17d)],'')){_0x1ec5dd[_0x155855(0x190)](_0x3371a7[_0x155855(0x17d)]),_0x3371a7=_0x3371a7[_0x155855(0x1a0)];}}return _0x1ec5dd;}[a4_0x14be34(0x1cd)](_0x25efc7,_0x4c145d,_0x74340=undefined){const _0x12cf1d=a4_0x14be34,_0xf35d46={'mgRIC':function(_0x2aa0eb,_0x320701){return _0x2aa0eb(_0x320701);},'KHdEY':function(_0x293c7f){return _0x293c7f();},'csMmo':function(_0x5cdb9f){return _0x5cdb9f();},'rofle':function(_0x577b60,_0x45e5c9){return _0x577b60(_0x45e5c9);},'yEFZI':_0x12cf1d(0x134),'vqEtx':'err','aYQRJ':function(_0x4d3f9b,_0x179df8){return _0x4d3f9b!==_0x179df8;},'BYnOR':_0x12cf1d(0x198),'aaNxQ':'pending','GevGR':_0x12cf1d(0x154),'MgNeA':'passed','ShcwL':_0x12cf1d(0x1b4),'Ceezn':_0x12cf1d(0x118),'rOyNj':function(_0x8a2c04,_0x5a9363){return _0x8a2c04-_0x5a9363;},'rlrml':function(_0x3e14af,_0x1be20e,_0x344548,_0x5a4f25,_0x4f4ec8){return _0x3e14af(_0x1be20e,_0x344548,_0x5a4f25,_0x4f4ec8);},'QRDov':function(_0x2e4934,_0x11d058){return _0x2e4934!==_0x11d058;},'IMGqk':'integrations','bdtAW':_0x12cf1d(0xeb),'AFowU':_0x12cf1d(0xf6),'bhKcJ':'failure_backtrace','KtcyD':_0x12cf1d(0x17e),'aytHb':'failure_reason_expanded','ztJpI':_0x12cf1d(0x12e),'yXvcq':function(_0x10334b,_0x134713){return _0x10334b===_0x134713;},'NgCgG':_0x12cf1d(0xfb),'WQOul':_0x12cf1d(0x116)};if(!this[_0x12cf1d(0x196)])return;try{if(_0x4c145d['fn']&&_0x4c145d['fn'][_0x12cf1d(0x1c5)]()[_0x12cf1d(0x1a4)](/browserstack internal helper hook/))return;const _0x34d87b=_0xf35d46['mgRIC'](parseEvent,_0x25efc7);if(!_0x34d87b)return;if(_0x34d87b[_0x12cf1d(0x164)]){this[_0x12cf1d(0x182)]=_0x4c145d,this[_0x12cf1d(0x1d5)]=null;if(_0x34d87b[_0x12cf1d(0x13a)]||_0x34d87b[_0x12cf1d(0x1b4)]){_0x4c145d[_0x12cf1d(0x119)]=new Date(),_0x4c145d[_0x12cf1d(0x19c)]=![];if(!_0x4c145d[_0x12cf1d(0xfc)])_0x4c145d[_0x12cf1d(0xfc)]=_0xf35d46[_0x12cf1d(0xea)](uuidv4);else _0x4c145d[_0x12cf1d(0x19c)]&&(!_0x4c145d[_0x12cf1d(0x13b)]&&(_0x4c145d[_0x12cf1d(0x13b)]=_0x4c145d[_0x12cf1d(0xfc)]),_0x4c145d[_0x12cf1d(0xfc)]=_0xf35d46[_0x12cf1d(0xef)](uuidv4));}}else{if(_0x34d87b['hook']){this[_0x12cf1d(0x1d5)]=_0x4c145d;if(_0x34d87b[_0x12cf1d(0x13a)]){_0x4c145d['startedAt']=new Date(),_0x4c145d[_0x12cf1d(0x19c)]=![];if(!_0x4c145d[_0x12cf1d(0x1a2)])_0x4c145d[_0x12cf1d(0x1a2)]=_0xf35d46['csMmo'](uuidv4);else _0x4c145d['hookAnalyticsId']&&_0x4c145d[_0x12cf1d(0x19c)]&&(_0x4c145d['hookAnalyticsId']=_0xf35d46[_0x12cf1d(0xef)](uuidv4));}}}if(_0x34d87b[_0x12cf1d(0x176)]&&_0x4c145d[_0x12cf1d(0x19c)])return;let _0x723359;try{_0x723359=this[_0x12cf1d(0x15a)](_0x4c145d);}catch(_0x4487e0){logger[_0x12cf1d(0x1b6)](_0x12cf1d(0x167)+_0x4487e0),_0x723359=null;}const _0x1e0e1b=_0xf35d46[_0x12cf1d(0x165)](require,_0xf35d46[_0x12cf1d(0x195)]);let _0x2835c5=[];_0x74340&&(_0x2835c5=[_0x74340,_0xf35d46[_0x12cf1d(0x113)]]);const _0x4df358=_0xf35d46[_0x12cf1d(0xe9)](_0x4c145d[_0x12cf1d(0xe6)],undefined)?_0x1e0e1b['inspect'](_0x4c145d[_0x12cf1d(0xe6)][0x0]):_0xf35d46[_0x12cf1d(0xe9)](_0x74340,undefined)?_0x74340[_0x12cf1d(0x1c5)]():undefined,_0x139aa3=_0x723359?this[_0x12cf1d(0x11f)](_0x723359):null,_0x92fd6d=_0x723359?this[_0x12cf1d(0x1d8)][_0x12cf1d(0x19a)](this['getRootParentFile'](_0x4c145d)):_0xf35d46[_0x12cf1d(0x1a6)];let _0x408c78=_0xf35d46[_0x12cf1d(0x173)];const _0x51773b=!_0x34d87b[_0x12cf1d(0x13a)]?new Date()['toISOString']():null;if(_0x34d87b[_0x12cf1d(0x176)])_0x408c78=_0x74340?_0xf35d46[_0x12cf1d(0x10d)]:_0xf35d46[_0x12cf1d(0x1c0)],_0x4c145d['markedStatus']=!![];else _0x34d87b[_0x12cf1d(0x1b4)]&&(_0x408c78=_0xf35d46[_0x12cf1d(0x10a)],_0x4c145d['markedStatus']=!![]);const _0x23e0d5={'framework':this[_0x12cf1d(0x1c3)],'uuid':_0x4c145d[_0x12cf1d(0xfc)]||_0x4c145d[_0x12cf1d(0x1a2)],'name':_0x4c145d[_0x12cf1d(0x17d)],'body':{'lang':_0xf35d46[_0x12cf1d(0x1c7)],'code':_0x4c145d[_0x12cf1d(0x120)][_0x12cf1d(0x1c5)]()},'type':_0x4c145d[_0x12cf1d(0x16a)],'scope':_0x4c145d['fullTitle'](),'scopes':this[_0x12cf1d(0x1b2)](_0x4c145d),'file_name':_0x92fd6d,'vc_filepath':_0x139aa3?path[_0x12cf1d(0x11b)](_0x139aa3,_0x723359):null,'location':_0x92fd6d,'result':_0x408c78,'failure_reason':_0x4df358,'duration_in_ms':_0x4c145d['duration']||(_0x34d87b['finished']||_0x34d87b['skipped'])?_0xf35d46[_0x12cf1d(0x123)](Date[_0x12cf1d(0x156)](),new Date(_0x4c145d[_0x12cf1d(0x119)])[_0x12cf1d(0xff)]()):null,'started_at':new Date(_0x4c145d[_0x12cf1d(0x119)])[_0x12cf1d(0x171)](),'finished_at':_0x51773b,'failure':testOpsHelper['failureData'][_0x12cf1d(0x1a9)](null,_0x2835c5),'failure_type':!_0x4df358?null:testOpsHelper[_0x12cf1d(0xf0)](_0x4df358),'retry_of':_0x4c145d['retryOf']||null,'tags':_0x4c145d[_0x12cf1d(0x1b1)]||[],'customRerunParam':{'rerun_name':_0x4c145d[_0x12cf1d(0x128)]()}};_0xf35d46[_0x12cf1d(0x188)](appendTesthubParams,_0x23e0d5,_0x25efc7,_0x4c145d,FRAMEWORKS['CODECEPT']);if(_0x34d87b[_0x12cf1d(0x1d1)])[_0x23e0d5['hook_type'],_0x23e0d5[_0x12cf1d(0xfd)]]=[this[_0x12cf1d(0xe2)](_0x4c145d),_0x4c145d['ctx'][_0x12cf1d(0x164)][_0x12cf1d(0x17d)]],_0x34d87b['finished']?_0xf35d46[_0x12cf1d(0x133)](_0x23e0d5[_0x12cf1d(0x155)],_0xf35d46[_0x12cf1d(0x10d)])&&(_0x23e0d5['result']=_0xf35d46[_0x12cf1d(0x1c0)]):_0x23e0d5[_0x12cf1d(0x120)]={};else _0x34d87b[_0x12cf1d(0x164)]&&(this[_0x12cf1d(0x1c4)](_0x4c145d),_0x34d87b[_0x12cf1d(0x1b4)]&&this['resetSkipTestHooks'](_0x4c145d),(_0x34d87b['finished']||_0x34d87b[_0x12cf1d(0x1b4)])&&(_0x23e0d5[_0x12cf1d(0xe3)]=this[_0x12cf1d(0xe7)](_0x4c145d)));this[_0x12cf1d(0x12d)]&&(_0x34d87b[_0x12cf1d(0x13a)]||_0x34d87b['skipped'])&&(_0x23e0d5[_0xf35d46[_0x12cf1d(0x166)]]=this[_0x12cf1d(0x1b7)](this['driver']));_0x34d87b[_0x12cf1d(0x164)]&&_0x34d87b[_0x12cf1d(0x176)]&&_0x4c145d[_0x12cf1d(0x13e)]&&(_0x23e0d5[_0xf35d46[_0x12cf1d(0x191)]]={'feature':{'name':_0x4c145d[_0x12cf1d(0x1a0)]['feature'][_0x12cf1d(0xfd)],'path':_0x23e0d5[_0x12cf1d(0x1c8)],'description':_0x4c145d[_0x12cf1d(0x1a0)][_0x12cf1d(0x168)]},'scenario':{'name':_0x4c145d[_0x12cf1d(0x17d)]},'steps':_0x4c145d[_0x12cf1d(0x13e)]});const _0x1c7534=_0x23e0d5[_0xf35d46[_0x12cf1d(0x143)]][0x0];_0x1c7534&&(_0x23e0d5[_0xf35d46['bhKcJ']]=_0x1c7534[_0xf35d46['KtcyD']],_0x23e0d5[_0xf35d46[_0x12cf1d(0x15f)]]=_0x1c7534[_0xf35d46['ztJpI']]);if(_0x4c145d[_0x12cf1d(0x13e)])for(const _0x483cfe of _0x4c145d[_0x12cf1d(0x13e)]){!_0x483cfe[_0x12cf1d(0x161)]&&(_0x483cfe[_0x12cf1d(0x161)]=new Date()[_0x12cf1d(0x171)](),_0xf35d46[_0x12cf1d(0x1ad)](_0x483cfe[_0x12cf1d(0x155)],_0xf35d46[_0x12cf1d(0x173)])&&(_0x1c7534?(_0x483cfe[_0x12cf1d(0x155)]=_0xf35d46['GevGR'],_0x483cfe[_0x12cf1d(0xf6)]=_0x1c7534[_0xf35d46[_0x12cf1d(0x15e)]][0x0]):_0x483cfe[_0x12cf1d(0x155)]=_0xf35d46[_0x12cf1d(0x1c0)]));}const _0x21906b={};_0x21906b[_0x12cf1d(0x178)]=_0x34d87b[_0x12cf1d(0x1b4)]?TEST_EVENTS[_0x12cf1d(0x16b)]:_0x25efc7;const _0x5da077=_0x21906b;return _0x34d87b[_0x12cf1d(0x1d1)]?_0x5da077[_0xf35d46[_0x12cf1d(0x12a)]]=_0x23e0d5:_0x5da077[_0xf35d46['WQOul']]=_0x23e0d5,_0x5da077;}catch(_0x3430f6){logger[_0x12cf1d(0x1b6)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x25efc7+_0x12cf1d(0x10e)+_0x3430f6);}}async['fireEvent'](_0x4bfbac,_0x3dcaf1){const _0x479c78=a4_0x14be34;if(!this[_0x479c78(0x196)]||!_0x3dcaf1||!_0x4bfbac)return![];try{return await SessionHandler[_0x479c78(0x160)](_0x3dcaf1);}catch(_0x5b926e){logger[_0x479c78(0x1b6)](_0x479c78(0x1b3)+_0x4bfbac+_0x479c78(0x10e)+_0x5b926e);}}[a4_0x14be34(0x1da)](_0x59e167){const _0x20964d=a4_0x14be34,_0x157c00={};_0x157c00[_0x20964d(0x183)]=_0x20964d(0x19e);const _0x588d05=_0x157c00;return{'id':_0x59e167[_0x20964d(0x1a3)],'text':_0x59e167[_0x20964d(0x14f)],'keyword':_0x59e167[_0x20964d(0x105)],'started_at':_0x59e167[_0x20964d(0x119)][_0x20964d(0x171)](),'result':_0x588d05['YrcFS']};}[a4_0x14be34(0x112)](_0x1a9d7c){const _0x12108c=a4_0x14be34,_0x2291be={'FasLo':function(_0x1c38bc){return _0x1c38bc();}};!this[_0x12108c(0x182)][_0x12108c(0x13e)]&&(this[_0x12108c(0x182)][_0x12108c(0x13e)]=[]),!_0x1a9d7c[_0x12108c(0x1a3)]&&(_0x1a9d7c[_0x12108c(0x1a3)]=_0x2291be[_0x12108c(0x1d6)](uuidv4),_0x1a9d7c[_0x12108c(0x119)]=new Date(),this[_0x12108c(0x182)][_0x12108c(0x13e)][_0x12108c(0x190)](this['initializeBddStep'](_0x1a9d7c)));}[a4_0x14be34(0x130)](_0x3e34b5){const _0x5051ef=a4_0x14be34,_0x2bd1d2={'guncX':function(_0x571f6f,_0x2f2dfc){return _0x571f6f(_0x2f2dfc);},'PAeBd':_0x5051ef(0x1b0),'euatx':_0x5051ef(0x19e),'WAqSM':_0x5051ef(0x1cb),'YrMjT':function(_0x3cf4f6,_0x58114e){return _0x3cf4f6-_0x58114e;}};let _0x1901bf=this[_0x5051ef(0x182)][_0x5051ef(0x13e)][_0x5051ef(0x117)](_0x5a7e30=>_0x5a7e30['id']===_0x3e34b5[_0x5051ef(0x1a3)]);_0x2bd1d2['guncX'](isUndefined,_0x1901bf)&&(_0x1901bf=this[_0x5051ef(0x1da)](_0x3e34b5)),_0x1901bf[_0x5051ef(0x155)]=[_0x2bd1d2[_0x5051ef(0x11c)],_0x2bd1d2[_0x5051ef(0x145)]]['includes'](_0x3e34b5[_0x5051ef(0x1b9)])?_0x2bd1d2[_0x5051ef(0x1b8)]:_0x3e34b5[_0x5051ef(0x1b9)],_0x1901bf[_0x5051ef(0x161)]=new Date()['toISOString'](),_0x1901bf['duration']=_0x2bd1d2[_0x5051ef(0x18d)](Date[_0x5051ef(0x156)](),_0x3e34b5[_0x5051ef(0x119)][_0x5051ef(0xff)]()),_0x1901bf[_0x5051ef(0xf6)]=_0x3e34b5[_0x5051ef(0x138)]?_0x3e34b5[_0x5051ef(0x138)][_0x5051ef(0x11a)]:null;}}const a4_0x3dfb51={};a4_0x3dfb51[a4_0x14be34(0x151)]=O11yHelper,a4_0x3dfb51[a4_0x14be34(0x17c)]=STATE_PASSED,a4_0x3dfb51[a4_0x14be34(0x14e)]=STATE_FAILED,a4_0x3dfb51['TEST_EVENTS']=TEST_EVENTS,module[a4_0x14be34(0x14b)]=a4_0x3dfb51;function a4_0x8fc9(){const _0x130113=['driver','expanded','suites','bddStepFinish','9455440VppJPs','12jjEUJF','QRDov','util','../mocha/test-observability/mochaUtils','510AjVDfi','defineProperty','err','./helper.js','started','retryOf','sceTL','wIVdh','bddSteps','PathHelper','pHuTX','_beforeAll','xiOPa','AFowU','sendCBTInfo','euatx','xnYMh','includes','launch','constructor','ttQnt','exports','HOOK_RUN_STARTED','_afterAll','STATE_FAILED','text','join','O11yHelper','10081377fpEhtS','ikZZi','failed','result','now','APDtG','DVVQu','string','getRootParentFile','test_run_uuid','start','nOYHb','KtcyD','aytHb','uploadEventData','finished_at','rLBfA','yyfwx','test','rofle','IMGqk','failed\x20to\x20get\x20root\x20parent\x20file\x20','comment','cCBEB','type','TEST_RUN_FINISHED','KtVFS','uuid','fdeNX','../../helpers/test-observability/sessionHandler','LqSdV','toISOString','_afterEach','aaNxQ','appendTestItemLog','dirname','finished','NZUtL','event_type','KWjCw','wpvaW','stop','STATE_PASSED','title','backtrace','.git','AYoxg','pid','currentTest','YrcFS','GdJqG','TestRunSkipped','MolRE','KdaFN','rlrml','trakD','cwd','iVAEW','PLAYWRIGHT_HUB_URL','YrMjT','TEST_RUN_STARTED','eblBJ','push','bdtAW','yCiIx','accessibilityPlatform','PItLX','yEFZI','enabled','prototype','File\x20path\x20could\x20not\x20be\x20found','_testEnv','prefixTestPath','MUSOZ','markedStatus','dnSlQ','pending','location_prefix','parent','../../helpers/helper','hookAnalyticsId','stepAnalyticsId','match','split','BYnOR','toUpperCase','625866LUNkWe','apply','hook_run_uuid','wsEndpoint','Nvstb','yXvcq','6475386uFhMAn','client','success','tags','getHierarchy','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','skipped','../utils/constants','debug','getCBTInfo','WAqSM','status','LogCreated','__platformCaps','file','RjFWH','HyOBv','../../helpers/test-observability/constants','MgNeA','forEach','config','frameworkName','mapTestHooks','toString','IGuFD','Ceezn','file_name','browserstack','removeAllListeners','passed','gKUGE','captureEvent','UKXoZ','groups','CBTSessionCreated','hook','1540265qWHsce','rDqWm','../../helpers/logger','currentHook','FasLo','iOyJF','_paths','tbBUs','initializeBddStep','ctx','iqpWg','getHookType','hooks','ZsMur','NNeTS','errorsDetailed','getHooksForTest','then','aYQRJ','KHdEY','meta','logs','toLowerCase','connect','csMmo','getFailureType','getInstance','browserType.js','lVgwB','Failed\x20to\x20parse\x20wsendpoint\x20','../../helpers/test-observability/requestQueueHandler','failure','BrowserType','statSync','3|0|5|4|1|2','bs:addLog:','hook_run','testAnalyticsId','name','__cloud_provider___','getTime','_beforeEach','613767ZreeTV','sep','path','BRnbx','keyword','13966KQeQgM','oPegl','Udgkn','RfRfF','ShcwL','10kcoGrN','HookRunFinished','GevGR','\x20with\x20error\x20:\x20','obsBrowserTypeMockApplied','WXrPI','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bddStepStart','vqEtx','length','jGDsX','test_run','find','javascript','startedAt','message','relative','PAeBd','vlodv','Not\x20able\x20to\x20import\x20Browser','findGitConfig','body','fxPlR','Vtsnr','rOyNj','integrations','nQlcp','TestRunStarted','mouAn','fullTitle','QIfwf','NgCgG','setupBrowserDetails','../../helpers/test-observability/utils'];a4_0x8fc9=function(){return _0x130113;};return a4_0x8fc9();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x1be9ce=a5_0x38ba;(function(_0x5927e3,_0x164f0a){const _0x5c861c=a5_0x38ba,_0x5c6886=_0x5927e3();while(!![]){try{const _0x167157=parseInt(_0x5c861c(0x20a))/0x1+parseInt(_0x5c861c(0x1e8))/0x2+-parseInt(_0x5c861c(0x208))/0x3*(parseInt(_0x5c861c(0x1eb))/0x4)+-parseInt(_0x5c861c(0x22b))/0x5+-parseInt(_0x5c861c(0x1ee))/0x6+parseInt(_0x5c861c(0x223))/0x7*(parseInt(_0x5c861c(0x1e5))/0x8)+parseInt(_0x5c861c(0x224))/0x9;if(_0x167157===_0x164f0a)break;else _0x5c6886['push'](_0x5c6886['shift']());}catch(_0x3da0f4){_0x5c6886['push'](_0x5c6886['shift']());}}}(a5_0x3b8b,0x7e470));const fs=require('fs'),path=require('path'),util=require(a5_0x1be9ce(0x210)),logger=require(a5_0x1be9ce(0x214))[a5_0x1be9ce(0x219)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x1be9ce(0x21c)),utilities=require('../../helpers/utilities'),constants=require(a5_0x1be9ce(0x1f4)),{parallelCucumberRun}=require(a5_0x1be9ce(0x235)),TestHubHandler=require(a5_0x1be9ce(0x1fc)),testOpsHelper=require(a5_0x1be9ce(0x1ef)),chalk=require('chalk'),PerformanceTester=require(a5_0x1be9ce(0x225)),PerformanceEvents=require(a5_0x1be9ce(0x218))[a5_0x1be9ce(0x240)];function printCucumberStats(_0x50fd53){const _0x33347c=a5_0x1be9ce,_0x2ff521={};_0x2ff521['PVcDU']=function(_0x27ca5b,_0x11b2ce){return _0x27ca5b>_0x11b2ce;},_0x2ff521[_0x33347c(0x234)]=function(_0xc200ec,_0x5ee809){return _0xc200ec-_0x5ee809;},_0x2ff521['sexlE']=function(_0x32447f,_0xcb36f5){return _0x32447f>_0xcb36f5;},_0x2ff521[_0x33347c(0x205)]=function(_0xfb7026,_0x5a06f8){return _0xfb7026>_0x5a06f8;},_0x2ff521[_0x33347c(0x1ed)]=function(_0x1df77c,_0x574453){return _0x1df77c>_0x574453;},_0x2ff521[_0x33347c(0x1ea)]=function(_0x50808a,_0x37a17c){return _0x50808a>_0x37a17c;},_0x2ff521[_0x33347c(0x1e9)]=function(_0x2c2dee,_0x4067b8){return _0x2c2dee>_0x4067b8;},_0x2ff521['roDyY']=function(_0x9a0120,_0x541228){return _0x9a0120+_0x541228;},_0x2ff521[_0x33347c(0x22a)]=function(_0x35b083,_0x3da6f0){return _0x35b083+_0x3da6f0;},_0x2ff521[_0x33347c(0x24d)]=function(_0x26198d,_0x4fc6fb){return _0x26198d+_0x4fc6fb;},_0x2ff521[_0x33347c(0x22d)]=function(_0xed7992,_0x54d215){return _0xed7992+_0x54d215;},_0x2ff521['KVACa']=function(_0x448896,_0x434e30){return _0x448896===_0x434e30;},_0x2ff521[_0x33347c(0x22c)]=function(_0xe6de4e,_0x5be44f){return _0xe6de4e===_0x5be44f;},_0x2ff521[_0x33347c(0x236)]='****\x20RESULTS\x20****';const _0x569c9f=_0x2ff521;let _0x1b2ed8=0x0;if(_0x569c9f[_0x33347c(0x22c)](_0x50fd53[_0x33347c(0x1fa)],0x0))return _0x1b2ed8;return console[_0x33347c(0x216)](chalk['bold'][_0x33347c(0x233)](_0x569c9f[_0x33347c(0x236)])),_0x50fd53['forEach'](_0x5b4718=>{const _0x5a402a=_0x33347c,_0x2594f7=_0x5b4718[0x0],_0x5708db=_0x5b4718[0x1];console[_0x5a402a(0x216)]('\x0a'+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x247)](''+helper[_0x5a402a(0x20e)](_0x2594f7)));const _0x2bb179=_0x5708db[_0x5a402a(0x222)],_0x51f9f0=_0x5708db[_0x5a402a(0x23b)],_0x31cba3=_0x5708db[_0x5a402a(0x1f9)],_0x1e5b95=_0x5708db[_0x5a402a(0x20b)],_0x3bc4db=_0x5708db[_0x5a402a(0x243)],_0x47cce3=_0x5708db[_0x5a402a(0x207)],_0x58e737=_0x5708db[_0x5a402a(0x229)],_0xcd87f4=_0x5708db['stepsUndefined'],_0x37a654=_0x5708db[_0x5a402a(0x213)],_0x353b7d=_0x5708db[_0x5a402a(0x220)],_0x5d5447=_0x5708db[_0x5a402a(0x245)];let _0x4a6e84=_0x2bb179+_0x5a402a(0x1ff);const _0x3a2bcb=_0x569c9f[_0x5a402a(0x212)](_0x569c9f[_0x5a402a(0x234)](_0x2bb179,_0x31cba3),0x0)?_0x569c9f[_0x5a402a(0x234)](_0x2bb179,_0x31cba3):0x0;if(_0x569c9f[_0x5a402a(0x212)](_0x31cba3,0x0)&&_0x569c9f['PVcDU'](_0x3a2bcb,0x0))_0x4a6e84+='\x20('+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x244)](_0x31cba3+_0x5a402a(0x204))+',\x20'+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x21d)](_0x3a2bcb+_0x5a402a(0x200))+')';else(_0x569c9f[_0x5a402a(0x238)](_0x31cba3,0x0)||_0x569c9f[_0x5a402a(0x238)](_0x3a2bcb,0x0))&&(_0x4a6e84+=_0x569c9f[_0x5a402a(0x238)](_0x31cba3,0x0)?'\x20('+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x244)](_0x31cba3+'\x20failed')+')':'\x20('+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x21d)](_0x3a2bcb+_0x5a402a(0x200))+')');const _0x348e2b=_0x51f9f0+'\x20steps',_0x27f555=[];_0x569c9f['Oipoy'](_0x353b7d,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)]['red'](_0x353b7d+'\x20ambiguous'));_0x569c9f['sexlE'](_0x1e5b95,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)]['red'](_0x1e5b95+_0x5a402a(0x204)));_0x569c9f[_0x5a402a(0x1ed)](_0x3bc4db,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x21d)](_0x3bc4db+_0x5a402a(0x200)));_0x569c9f[_0x5a402a(0x1ea)](_0x58e737,0x0)&&_0x27f555['push'](''+chalk['bold'][_0x5a402a(0x247)](_0x58e737+_0x5a402a(0x1f1)));_0x569c9f[_0x5a402a(0x238)](_0x47cce3,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk[_0x5a402a(0x1e2)][_0x5a402a(0x1e1)](_0x47cce3+_0x5a402a(0x24b)));_0x569c9f['gIMPu'](_0xcd87f4,0x0)&&_0x27f555['push'](''+chalk['bold'][_0x5a402a(0x247)](_0xcd87f4+'\x20undefined'));_0x569c9f[_0x5a402a(0x1e9)](_0x37a654,0x0)&&_0x27f555[_0x5a402a(0x203)](''+chalk['bold'][_0x5a402a(0x247)](_0x37a654+_0x5a402a(0x24b)));const _0x2a89ee=_0x569c9f[_0x5a402a(0x1f5)](_0x569c9f[_0x5a402a(0x1f5)](_0x569c9f['QohQn'](_0x348e2b,'('),_0x27f555[_0x5a402a(0x20d)](',\x20')),')');console[_0x5a402a(0x216)](_0x569c9f[_0x5a402a(0x24d)](_0x569c9f[_0x5a402a(0x24d)](_0x569c9f[_0x5a402a(0x1f5)](_0x569c9f['YWCbk']('\x0a',_0x4a6e84),'\x0a'),_0x2a89ee),'\x0a')),_0x569c9f['KVACa'](_0x5d5447,![])&&(_0x1b2ed8=0x1);}),_0x1b2ed8;}async function run(_0x2dc54e,_0x5504f5){const _0xbff96c=a5_0x1be9ce,_0x4aca4e={'LRbMa':function(_0x539239,_0x4e9e3e){return _0x539239(_0x4e9e3e);},'MyhCa':function(_0x1321fc,_0x2caaa9){return _0x1321fc>_0x2caaa9;},'XlsAf':_0xbff96c(0x1f8),'qAfrJ':_0xbff96c(0x202),'BLweX':_0xbff96c(0x21e),'uxDqf':'error\x20removing\x20tcg\x20config\x20file','kcHdO':_0xbff96c(0x1e7),'FJPSH':_0xbff96c(0x250),'duRvs':function(_0x32203,_0x3c0ed6){return _0x32203>_0x3c0ed6;},'rbAcg':function(_0x17e15e,_0x56f466){return _0x17e15e-_0x56f466;},'eZjts':function(_0x2b6afc,_0x19d9d4){return _0x2b6afc>=_0x19d9d4;},'MpLTr':function(_0x1e2b8a,_0x332e3c){return _0x1e2b8a!=_0x332e3c;},'VhkMc':'true','byQyQ':function(_0x3c255f,_0x4d68e8,_0x390206,_0x119da4,_0x3167b7,_0x173da6){return _0x3c255f(_0x4d68e8,_0x390206,_0x119da4,_0x3167b7,_0x173da6);}},_0x2880eb=new BrowserStackSetup(_0x2dc54e,_0x4aca4e[_0xbff96c(0x241)]);await _0x2880eb[_0xbff96c(0x217)](),helper[_0xbff96c(0x24f)](_0x2880eb[_0xbff96c(0x20c)],_0x2dc54e);!helper[_0xbff96c(0x230)]()&&await _0x2880eb[_0xbff96c(0x1f3)]();await helper['handleApp'](_0x2880eb[_0xbff96c(0x1e6)]);const _0x4d5031=helper[_0xbff96c(0x232)](_0x2880eb[_0xbff96c(0x1e6)]),_0x40e309=helper[_0xbff96c(0x23e)](_0x2880eb[_0xbff96c(0x1e6)],_0x4d5031,constants[_0xbff96c(0x1f7)]['CUCUMBER']);if(!_0x2880eb['config'])return;const _0x4de544=_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x221)]||helper[_0xbff96c(0x248)](_0x2dc54e,_0x5504f5,_0x2880eb[_0xbff96c(0x1e6)],constants[_0xbff96c(0x1f7)][_0xbff96c(0x24a)])||0x1,_0x326c69={'server':helper[_0xbff96c(0x24c)](_0x2880eb['config']),'proxySettings':_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x1fb)],'maxWorkers':_0x4de544,'browserStackLogLevel':_0x2880eb['config']['logLevel'],'skipSessionName':_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x226)]['skipSessionName'],'skipSessionStatus':_0x2880eb['config'][_0xbff96c(0x226)]['skipSessionStatus'],'turboScaleUrl':_0x2880eb[_0xbff96c(0x1e6)]['turboScaleUrl']},_0x2f470d=process['argv'],[_0x1119dd,_0x232924]=helper[_0xbff96c(0x201)](_0x2f470d),_0x589da5=path[_0xbff96c(0x20d)](process[_0xbff96c(0x23c)](),_0x4aca4e['FJPSH']);if(_0x4aca4e[_0xbff96c(0x242)](_0x232924[_0xbff96c(0x1fa)],0x0)){helper[_0xbff96c(0x1f6)](_0x589da5);for(let _0x3edf47=_0x4aca4e['rbAcg'](_0x1119dd[_0xbff96c(0x1fa)],0x1);_0x4aca4e[_0xbff96c(0x1ec)](_0x3edf47,0x0);_0x3edf47--){_0x2f470d[_0xbff96c(0x1e3)](_0x1119dd[_0x3edf47],0x2);}}!helper[_0xbff96c(0x239)](_0x2880eb['config'][_0xbff96c(0x22f)])&&(process['env'][_0xbff96c(0x237)]=JSON['stringify'](_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x22f)]));_0x4aca4e[_0xbff96c(0x1e0)](_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x23a)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2880eb[_0xbff96c(0x1e6)][_0xbff96c(0x23a)]:process[_0xbff96c(0x215)][_0xbff96c(0x1f2)]=_0x4aca4e[_0xbff96c(0x22e)];const _0x251e2a=await TestHubHandler[_0xbff96c(0x209)](constants[_0xbff96c(0x1f7)]['CUCUMBER'],_0x2880eb);PerformanceTester[_0xbff96c(0x1f0)](PerformanceEvents[_0xbff96c(0x227)]);let _0x47d300;_0x4aca4e[_0xbff96c(0x1e4)](parallelCucumberRun,_0x40e309,_0x326c69,_0x2880eb['config'],_0x2f470d,_0x232924)[_0xbff96c(0x1fd)](async _0x17d3e1=>{const _0x2a2d25=_0xbff96c;PerformanceTester['start'](PerformanceEvents[_0x2a2d25(0x211)]),_0x47d300=_0x17d3e1;const _0x1c1096=_0x4aca4e[_0x2a2d25(0x206)](printCucumberStats,_0x17d3e1);process['exitCode']=_0x1c1096,_0x4aca4e[_0x2a2d25(0x20f)](_0x232924[_0x2a2d25(0x1fa)],0x0)&&(logger[_0x2a2d25(0x23f)](_0x4aca4e[_0x2a2d25(0x252)]),helper['mergeOutputFiles'](_0x589da5,_0x232924),logger[_0x2a2d25(0x23f)](_0x4aca4e[_0x2a2d25(0x21a)]),helper['removeDir'](_0x589da5));})['finally'](async()=>{const _0x17ce69=_0xbff96c;PerformanceTester[_0x17ce69(0x24e)](PerformanceEvents['SDK_CLEANUP']),_0x2880eb[_0x17ce69(0x251)]=helper[_0x17ce69(0x246)](_0x47d300,_0x4aca4e['BLweX']),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x17ce69(0x21b)]();}catch(_0x2c9644){logger[_0x17ce69(0x23f)](_0x17ce69(0x228)+util[_0x17ce69(0x231)](_0x2c9644));}try{const {browserstackFolderPath:_0x576495,tcgConfigPath:_0x45a6c1}=helper[_0x17ce69(0x1fe)]();fs[_0x17ce69(0x21f)](_0x45a6c1),fs['rmdirSync'](_0x576495);}catch(_0x2e43d3){logger[_0x17ce69(0x23f)](_0x4aca4e[_0x17ce69(0x23d)],_0x2e43d3);}await utilities[_0x17ce69(0x249)](_0x2880eb);});}module['exports']=run;function a5_0x38ba(_0x36ace7,_0x463966){const _0x3b8b49=a5_0x3b8b();return a5_0x38ba=function(_0x38ba45,_0x1b0b77){_0x38ba45=_0x38ba45-0x1e0;let _0x4dadba=_0x3b8b49[_0x38ba45];return _0x4dadba;},a5_0x38ba(_0x36ace7,_0x463966);}function a5_0x3b8b(){const _0x39278f=['finalExecution','CUCUMBER','\x20skipped','getHubUrl','iZSdO','start','setUserConfigPath','tmp','errorMessage','XlsAf','MpLTr','cyan','bold','splice','byQyQ','4188376vOMRHd','config','cucumber-js','67356IpbXwA','GvvUh','gIMPu','28020qZrBuD','eZjts','vEiBX','3608460QKpguv','../../helpers/test-observability/utils','end','\x20pending','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupTCGAuth','../utils/constants','roDyY','createDir','FRAMEWORKS','Generating\x20consolidated\x20report...','scenariosFailed','length','proxySettings','../../helpers/testhub/testhubHandler','then','getTCGConfigFilePaths','\x20scenarios','\x20passed','parseFormatters','Removing\x20tmp\x20directory\x20created\x20for\x20reports','push','\x20failed','Oipoy','LRbMa','stepsSkipped','135LpMYAD','launchBuild','90074pEKhwf','stepsFailed','framework','join','getPlatformName','MyhCa','util','SDK_CLEANUP','PVcDU','stepsUnknown','../../helpers/logger','env','log','initialize','../../helpers/performance/constants','winstonLogger','qAfrJ','stop','../../helpers/helper','green','cucumber','unlinkSync','stepsAmbiguous','parallelsPerPlatform','scenarios','7erQdXT','12619566PmVHac','../../helpers/performance/performance-tester','testContextOptions','SDK_SETUP','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','stepsPending','QohQn','3078030LYDCbi','ALIaS','YWCbk','VhkMc','accessibilityOptions','isBrowserstackInfra','format','useW3C','bgWhite','iDGjE','../test-runner','eYLiA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','sexlE','isUndefined','testObservability','steps','cwd','uxDqf','prepareCapabilities','debug','EVENTS','kcHdO','duRvs','stepsPassed','red','processSuccess','getErrorMessageFromResults','yellow','getUserWorkerCount'];a5_0x3b8b=function(){return _0x39278f;};return a5_0x3b8b();}
|
|
2
|
+
'use strict';const a5_0x3f4ec2=a5_0x5cc7;(function(_0x285214,_0x1e083b){const _0xecac34=a5_0x5cc7,_0x5aa1bb=_0x285214();while(!![]){try{const _0x3a67f3=parseInt(_0xecac34(0xc8))/0x1+parseInt(_0xecac34(0xb4))/0x2+parseInt(_0xecac34(0xd5))/0x3+-parseInt(_0xecac34(0xa5))/0x4*(-parseInt(_0xecac34(0xdb))/0x5)+parseInt(_0xecac34(0xec))/0x6+parseInt(_0xecac34(0xde))/0x7+-parseInt(_0xecac34(0x82))/0x8;if(_0x3a67f3===_0x1e083b)break;else _0x5aa1bb['push'](_0x5aa1bb['shift']());}catch(_0x27813d){_0x5aa1bb['push'](_0x5aa1bb['shift']());}}}(a5_0x349e,0x89352));function a5_0x349e(){const _0x2be6c6=['config','\x20steps','removeDir','turboScaleUrl','util','stop','****\x20RESULTS\x20****','nSWWV','lDuyk','join','prepareCapabilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','1426812TgFFiy','debug','stepsAmbiguous','forEach','../../helpers/BrowserStackSetup','oBvOB','testObservability','getErrorMessageFromResults','log','isUndefined','accessibilityOptions','31485064TQxNhg','start','CUCUMBER','uLYAq','length','\x20skipped','GrpBC','bold','winstonLogger','DSuBx','stepsPending','cyan','vQHOF','stepsUnknown','useW3C','launchBuild','iEABu','hXEkx','../../helpers/utilities','yellow','getUserWorkerCount','MnjLf','mergeOutputFiles','splice','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','IfSbC','getTCGConfigFilePaths','Pnfsb','../../helpers/testhub/testhubHandler','uXaGl','\x20scenarios','end','path','createDir','../utils/constants','260VmMeBB','bgWhite','push','sPGIL','Removing\x20tmp\x20directory\x20created\x20for\x20reports','FjzBA','FRAMEWORKS','skipSessionStatus','errorMessage','zERRq','exitCode','skipSessionName','stepsSkipped','dbKHH','testContextOptions','1794904yoKDFR','\x20passed','format','SDK_SETUP','EmDrj','processSuccess','stringify','setUserConfigPath','OPYuj','parallelsPerPlatform','env','\x20undefined','SIIRW','green','twghK','HwCOY','setupTCGAuth','mxpUc','tmp','amFAA','910897RkVJkf','trmSr','../../helpers/performance/constants','SDK_CLEANUP','stepsUndefined','scenariosFailed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','qNAzq','../../helpers/logger','printBuildLink','\x20failed','cEjPm','exports','2817627drfLDn','\x20ambiguous','\x20pending','red','logLevel','framework','71475jLctiK','cwd','then','4081700JNogOn','iabYD'];a5_0x349e=function(){return _0x2be6c6;};return a5_0x349e();}function a5_0x5cc7(_0x2793fd,_0x52d6f4){const _0x349ea8=a5_0x349e();return a5_0x5cc7=function(_0x5cc710,_0x3be28d){_0x5cc710=_0x5cc710-0x78;let _0x9e4f52=_0x349ea8[_0x5cc710];return _0x9e4f52;},a5_0x5cc7(_0x2793fd,_0x52d6f4);}const fs=require('fs'),path=require(a5_0x3f4ec2(0xa2)),util=require(a5_0x3f4ec2(0xe4)),logger=require(a5_0x3f4ec2(0xd0))[a5_0x3f4ec2(0x8a)],{default:BrowserStackSetup}=require(a5_0x3f4ec2(0x7b)),helper=require('../../helpers/helper'),utilities=require(a5_0x3f4ec2(0x94)),constants=require(a5_0x3f4ec2(0xa4)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x3f4ec2(0x9e)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x3f4ec2(0xca))['EVENTS'];function printCucumberStats(_0x284521){const _0x300cc7=a5_0x3f4ec2,_0x18010c={};_0x18010c[_0x300cc7(0x88)]=function(_0x237c1f,_0x5eef1e){return _0x237c1f>_0x5eef1e;},_0x18010c[_0x300cc7(0xb2)]=function(_0xfef372,_0x51d588){return _0xfef372-_0x51d588;},_0x18010c[_0x300cc7(0x97)]=function(_0xdfdce4,_0x35cff7){return _0xdfdce4-_0x35cff7;},_0x18010c[_0x300cc7(0x9b)]=function(_0x33fd4e,_0x47c853){return _0x33fd4e>_0x47c853;},_0x18010c[_0x300cc7(0xc5)]=function(_0x2a7b16,_0x1d0084){return _0x2a7b16>_0x1d0084;},_0x18010c[_0x300cc7(0xc7)]=function(_0x952edd,_0x10b5f5){return _0x952edd>_0x10b5f5;},_0x18010c['Pnfsb']=function(_0x3fa750,_0x5480fc){return _0x3fa750>_0x5480fc;},_0x18010c['OPYuj']=function(_0x3db941,_0x43f120){return _0x3db941>_0x43f120;},_0x18010c['twghK']=function(_0x56b656,_0x9f3406){return _0x56b656>_0x9f3406;},_0x18010c[_0x300cc7(0xe7)]=function(_0xe472fa,_0x245c97){return _0xe472fa>_0x245c97;},_0x18010c[_0x300cc7(0xa8)]=function(_0x50256c,_0x1d101e){return _0x50256c>_0x1d101e;},_0x18010c[_0x300cc7(0xcf)]=function(_0x436374,_0x7c7161){return _0x436374+_0x7c7161;},_0x18010c[_0x300cc7(0x7c)]=function(_0x55a456,_0x357732){return _0x55a456+_0x357732;},_0x18010c[_0x300cc7(0xc0)]=function(_0xa77093,_0x4d4cac){return _0xa77093+_0x4d4cac;},_0x18010c[_0x300cc7(0x9f)]=function(_0x3ac688,_0x5ea21d){return _0x3ac688+_0x5ea21d;},_0x18010c[_0x300cc7(0xc3)]=function(_0x2b1b4c,_0x2ff4ee){return _0x2b1b4c===_0x2ff4ee;},_0x18010c['hXEkx']=_0x300cc7(0xe6);const _0x591a2a=_0x18010c;let _0xbb26a0=0x0;if(_0x591a2a[_0x300cc7(0xc3)](_0x284521['length'],0x0))return _0xbb26a0;return console['log'](chalk[_0x300cc7(0x89)][_0x300cc7(0xa6)](_0x591a2a[_0x300cc7(0x93)])),_0x284521[_0x300cc7(0x7a)](_0x144417=>{const _0x419045=_0x300cc7,_0x7964b0=_0x144417[0x0],_0x5485e9=_0x144417[0x1];console[_0x419045(0x7f)]('\x0a'+chalk[_0x419045(0x89)][_0x419045(0x95)](''+helper['getPlatformName'](_0x7964b0)));const _0x3e7e38=_0x5485e9['scenarios'],_0x4897d2=_0x5485e9['steps'],_0x1af899=_0x5485e9[_0x419045(0xcd)],_0x1ee8fa=_0x5485e9['stepsFailed'],_0x4bdf8f=_0x5485e9['stepsPassed'],_0x4abc92=_0x5485e9[_0x419045(0xb1)],_0x32ca66=_0x5485e9[_0x419045(0x8c)],_0xe7d8a9=_0x5485e9[_0x419045(0xcc)],_0x391a6c=_0x5485e9[_0x419045(0x8f)],_0x3cf2a9=_0x5485e9[_0x419045(0x79)],_0x4aca12=_0x5485e9[_0x419045(0xb9)];let _0x156d5b=_0x3e7e38+_0x419045(0xa0);const _0x5592d4=_0x591a2a[_0x419045(0x88)](_0x591a2a[_0x419045(0xb2)](_0x3e7e38,_0x1af899),0x0)?_0x591a2a[_0x419045(0x97)](_0x3e7e38,_0x1af899):0x0;if(_0x591a2a[_0x419045(0x9b)](_0x1af899,0x0)&&_0x591a2a[_0x419045(0xc5)](_0x5592d4,0x0))_0x156d5b+='\x20('+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x1af899+_0x419045(0xd2))+',\x20'+chalk[_0x419045(0x89)][_0x419045(0xc1)](_0x5592d4+_0x419045(0xb5))+')';else(_0x591a2a[_0x419045(0xc7)](_0x1af899,0x0)||_0x591a2a[_0x419045(0x88)](_0x5592d4,0x0))&&(_0x156d5b+=_0x591a2a[_0x419045(0x9d)](_0x1af899,0x0)?'\x20('+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x1af899+_0x419045(0xd2))+')':'\x20('+chalk[_0x419045(0x89)][_0x419045(0xc1)](_0x5592d4+'\x20passed')+')');const _0x350abd=_0x4897d2+_0x419045(0xe1),_0x5c420e=[];_0x591a2a['mxpUc'](_0x3cf2a9,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x3cf2a9+_0x419045(0xd6)));_0x591a2a[_0x419045(0xbc)](_0x1ee8fa,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['red'](_0x1ee8fa+_0x419045(0xd2)));_0x591a2a[_0x419045(0xc2)](_0x4bdf8f,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['green'](_0x4bdf8f+_0x419045(0xb5)));_0x591a2a[_0x419045(0x88)](_0x32ca66,0x0)&&_0x5c420e['push'](''+chalk[_0x419045(0x89)]['yellow'](_0x32ca66+_0x419045(0xd7)));_0x591a2a[_0x419045(0xe7)](_0x4abc92,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk['bold'][_0x419045(0x8d)](_0x4abc92+'\x20skipped'));_0x591a2a['sPGIL'](_0xe7d8a9,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)][_0x419045(0x95)](_0xe7d8a9+_0x419045(0xbf)));_0x591a2a[_0x419045(0xe7)](_0x391a6c,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['yellow'](_0x391a6c+_0x419045(0x87)));const _0x23d293=_0x591a2a[_0x419045(0xcf)](_0x591a2a['qNAzq'](_0x591a2a[_0x419045(0x7c)](_0x350abd,'('),_0x5c420e[_0x419045(0xe9)](',\x20')),')');console[_0x419045(0x7f)](_0x591a2a[_0x419045(0xc0)](_0x591a2a[_0x419045(0xc0)](_0x591a2a[_0x419045(0x9f)](_0x591a2a['oBvOB']('\x0a',_0x156d5b),'\x0a'),_0x23d293),'\x0a')),_0x591a2a[_0x419045(0xc3)](_0x4aca12,![])&&(_0xbb26a0=0x1);}),_0xbb26a0;}async function run(_0x1a9fb4,_0x5d9c0e){const _0x58354b=a5_0x3f4ec2,_0x122472={'trmSr':function(_0x43dca4,_0x15f860){return _0x43dca4(_0x15f860);},'cEjPm':function(_0x5c1aa2,_0x50673f){return _0x5c1aa2>_0x50673f;},'FjzBA':'Generating\x20consolidated\x20report...','EmDrj':_0x58354b(0xa9),'nzTPM':'cucumber','IIUaZ':'error\x20removing\x20tcg\x20config\x20file','lDuyk':'cucumber-js','vQHOF':_0x58354b(0xc6),'lAxtj':function(_0x3884dd,_0x393fda){return _0x3884dd>_0x393fda;},'iabYD':function(_0x2c9f15,_0x299602){return _0x2c9f15-_0x299602;},'zERRq':function(_0x55a8ce,_0x13baf3){return _0x55a8ce>=_0x13baf3;},'uLYAq':function(_0x249719,_0xc8d407){return _0x249719!=_0xc8d407;},'DSuBx':'true','iEABu':function(_0x2569cb,_0x34866a,_0xf6fc6c,_0x3c14b0,_0x37a830,_0x4aff71){return _0x2569cb(_0x34866a,_0xf6fc6c,_0x3c14b0,_0x37a830,_0x4aff71);}},_0x4c36a8=new BrowserStackSetup(_0x1a9fb4,_0x122472[_0x58354b(0xe8)]);await _0x4c36a8['initialize'](),helper[_0x58354b(0xbb)](_0x4c36a8[_0x58354b(0xda)],_0x1a9fb4);!helper['isBrowserstackInfra']()&&await _0x4c36a8[_0x58354b(0xc4)]();await helper['handleApp'](_0x4c36a8[_0x58354b(0xe0)]);const _0x698fdd=helper[_0x58354b(0x90)](_0x4c36a8['config']),_0x3a47b1=helper[_0x58354b(0xea)](_0x4c36a8['config'],_0x698fdd,constants[_0x58354b(0xab)][_0x58354b(0x84)]);if(!_0x4c36a8[_0x58354b(0xe0)])return;const _0x53e957=_0x4c36a8['config'][_0x58354b(0xbd)]||helper[_0x58354b(0x96)](_0x1a9fb4,_0x5d9c0e,_0x4c36a8[_0x58354b(0xe0)],constants[_0x58354b(0xab)][_0x58354b(0x84)])||0x1,_0x4236c4={'server':helper['getHubUrl'](_0x4c36a8[_0x58354b(0xe0)]),'proxySettings':_0x4c36a8['config']['proxySettings'],'maxWorkers':_0x53e957,'browserStackLogLevel':_0x4c36a8['config'][_0x58354b(0xd9)],'skipSessionName':_0x4c36a8[_0x58354b(0xe0)]['testContextOptions'][_0x58354b(0xb0)],'skipSessionStatus':_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0xb3)][_0x58354b(0xac)],'turboScaleUrl':_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0xe3)]},_0x5c8d06=process['argv'],[_0x23c352,_0x183054]=helper['parseFormatters'](_0x5c8d06),_0x4ca25e=path[_0x58354b(0xe9)](process[_0x58354b(0xdc)](),_0x122472[_0x58354b(0x8e)]);if(_0x122472['lAxtj'](_0x183054['length'],0x0)){helper[_0x58354b(0xa3)](_0x4ca25e);for(let _0x2a2c75=_0x122472[_0x58354b(0xdf)](_0x23c352[_0x58354b(0x86)],0x1);_0x122472[_0x58354b(0xae)](_0x2a2c75,0x0);_0x2a2c75--){_0x5c8d06[_0x58354b(0x99)](_0x23c352[_0x2a2c75],0x2);}}!helper[_0x58354b(0x80)](_0x4c36a8['config'][_0x58354b(0x81)])&&(process[_0x58354b(0xbe)][_0x58354b(0xce)]=JSON[_0x58354b(0xba)](_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x81)]));_0x122472[_0x58354b(0x85)](_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x7d)],null)?process['env'][_0x58354b(0xeb)]=_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x7d)]:process[_0x58354b(0xbe)][_0x58354b(0xeb)]=_0x122472[_0x58354b(0x8b)];const _0x3b6745=await TestHubHandler[_0x58354b(0x91)](constants[_0x58354b(0xab)][_0x58354b(0x84)],_0x4c36a8);PerformanceTester[_0x58354b(0xa1)](PerformanceEvents[_0x58354b(0xb7)]);let _0x812df4;_0x122472[_0x58354b(0x92)](parallelCucumberRun,_0x3a47b1,_0x4236c4,_0x4c36a8[_0x58354b(0xe0)],_0x5c8d06,_0x183054)[_0x58354b(0xdd)](async _0x355092=>{const _0x44acba=_0x58354b;PerformanceTester[_0x44acba(0x83)](PerformanceEvents[_0x44acba(0xcb)]),_0x812df4=_0x355092;const _0xfd1a73=_0x122472[_0x44acba(0xc9)](printCucumberStats,_0x355092);process[_0x44acba(0xaf)]=_0xfd1a73,_0x122472[_0x44acba(0xd3)](_0x183054[_0x44acba(0x86)],0x0)&&(logger[_0x44acba(0x78)](_0x122472[_0x44acba(0xaa)]),helper[_0x44acba(0x98)](_0x4ca25e,_0x183054),logger['debug'](_0x122472[_0x44acba(0xb8)]),helper[_0x44acba(0xe2)](_0x4ca25e));})['finally'](async()=>{const _0x407900=_0x58354b;PerformanceTester[_0x407900(0x83)](PerformanceEvents[_0x407900(0xcb)]),_0x4c36a8[_0x407900(0xad)]=helper[_0x407900(0x7e)](_0x812df4,_0x122472['nzTPM']),testOpsHelper[_0x407900(0xd1)]();try{await TestHubHandler[_0x407900(0xe5)]();}catch(_0x2bf5d8){logger['debug'](_0x407900(0x9a)+util[_0x407900(0xb6)](_0x2bf5d8));}try{const {browserstackFolderPath:_0x252e87,tcgConfigPath:_0xcba8d4}=helper[_0x407900(0x9c)]();fs['unlinkSync'](_0xcba8d4),fs['rmdirSync'](_0x252e87);}catch(_0xcec6ae){logger['debug'](_0x122472['IIUaZ'],_0xcec6ae);}await utilities['finalExecution'](_0x4c36a8);});}module[a5_0x3f4ec2(0xd4)]=run;
|