browserstack-node-sdk 1.34.41 → 1.34.42
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
|
+
function a1_0x392f(_0x55363d,_0x1e3cff){const _0x5f52e3=a1_0x5f52();return a1_0x392f=function(_0x392fc8,_0x5a916a){_0x392fc8=_0x392fc8-0x13e;let _0x1fbdd6=_0x5f52e3[_0x392fc8];return _0x1fbdd6;},a1_0x392f(_0x55363d,_0x1e3cff);}const a1_0x4f4bbd=a1_0x392f;(function(_0x321f6b,_0xc1714d){const _0x3c3ceb=a1_0x392f,_0x1f47ca=_0x321f6b();while(!![]){try{const _0x2e0a89=parseInt(_0x3c3ceb(0x1d6))/0x1*(-parseInt(_0x3c3ceb(0x1bc))/0x2)+-parseInt(_0x3c3ceb(0x1ef))/0x3+-parseInt(_0x3c3ceb(0x166))/0x4+parseInt(_0x3c3ceb(0x147))/0x5*(parseInt(_0x3c3ceb(0x165))/0x6)+-parseInt(_0x3c3ceb(0x19a))/0x7*(parseInt(_0x3c3ceb(0x1fa))/0x8)+parseInt(_0x3c3ceb(0x168))/0x9+parseInt(_0x3c3ceb(0x1eb))/0xa;if(_0x2e0a89===_0xc1714d)break;else _0x1f47ca['push'](_0x1f47ca['shift']());}catch(_0x124959){_0x1f47ca['push'](_0x1f47ca['shift']());}}}(a1_0x5f52,0xd53fd));const fs=require('fs'),util=require(a1_0x4f4bbd(0x209)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4f4bbd(0x1ca)),logger=require(a1_0x4f4bbd(0x200))[a1_0x4f4bbd(0x215)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x4f4bbd(0x1e8)),PlaywrightSessionDetails=require(a1_0x4f4bbd(0x1c2)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4f4bbd(0x20d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4f4bbd(0x1a4)),AccessibilityHelper=require(a1_0x4f4bbd(0x1a0)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x4f4bbd(0x151)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4f4bbd(0x19f)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4f4bbd(0x177)),testHubConstants=require(a1_0x4f4bbd(0x1f1)),globals=require(a1_0x4f4bbd(0x1aa)),CodeceptJS=requireModule(a1_0x4f4bbd(0x1d0),a1_0x4f4bbd(0x1af)),CodeceptUtils=requireModule(a1_0x4f4bbd(0x142),a1_0x4f4bbd(0x1af)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x4f4bbd(0x1af)),CodeceptRecorder=requireModule(a1_0x4f4bbd(0x1b7),a1_0x4f4bbd(0x1af)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x4f4bbd(0x1af)),playwrightMarkSessionStatus=(_0x439e7b,_0x4a6b2a,_0x2d958d)=>{const _0x28c774=a1_0x4f4bbd,_0x3ba253={'YRwVD':_0x28c774(0x1dd),'pDXNB':function(_0x192ac9,_0x303bce){return _0x192ac9(_0x303bce);}},_0x13c55d={};_0x13c55d[_0x28c774(0x20f)]=_0x4a6b2a;const _0x1b9232={};_0x1b9232[_0x28c774(0x216)]=_0x3ba253[_0x28c774(0x1e3)],_0x1b9232[_0x28c774(0x1e1)]=_0x13c55d;const _0x242d3b=_0x1b9232;return!_0x3ba253['pDXNB'](isUndefined,_0x2d958d)&&(_0x242d3b[_0x28c774(0x1e1)][_0x28c774(0x1e9)]=JSON[_0x28c774(0x17c)](_0x2d958d)),_0x439e7b['executeScript'](()=>{},_0x28c774(0x1ec)+JSON[_0x28c774(0x17c)](_0x242d3b));},o11ySync=PerformanceTester[a1_0x4f4bbd(0x1fd)](PerformanceO11yEvents[a1_0x4f4bbd(0x1d3)],async _0x156efe=>{const _0x7bbc55=a1_0x4f4bbd,_0x43aa1f={};_0x43aa1f[_0x7bbc55(0x174)]=function(_0x40bf02,_0x2cca38){return _0x40bf02===_0x2cca38;},_0x43aa1f[_0x7bbc55(0x1e6)]='Playwright';const _0x2ff998=_0x43aa1f;_0x2ff998[_0x7bbc55(0x174)](_0x156efe[_0x7bbc55(0x212)]['name'],_0x2ff998[_0x7bbc55(0x1e6)])?await _0x156efe[_0x7bbc55(0x20e)](_0x145178=>{},testOpsHelper[_0x7bbc55(0x186)]()):await _0x156efe[_0x7bbc55(0x20e)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x4f4bbd(0x1fd)](PerformanceAutEvents[a1_0x4f4bbd(0x150)],async(_0x2c6f09,_0x3ed4c1)=>{const _0x178245=a1_0x4f4bbd,_0x399d0a={};_0x399d0a[_0x178245(0x149)]=_0x178245(0x1fb),_0x399d0a[_0x178245(0x1dc)]=function(_0x1c5d68,_0x128267){return _0x1c5d68===_0x128267;},_0x399d0a['GMaCo']=_0x178245(0x203);const _0x20a1fe=_0x399d0a,_0x50a44f={};_0x50a44f[_0x178245(0x178)]=_0x3ed4c1;const _0x52abc8={};_0x52abc8[_0x178245(0x216)]=_0x20a1fe['WWXWf'],_0x52abc8['arguments']=_0x50a44f;const _0x4d7260=_0x52abc8;_0x20a1fe[_0x178245(0x1dc)](_0x2c6f09[_0x178245(0x212)]['name'],_0x20a1fe[_0x178245(0x141)])?await _0x2c6f09[_0x178245(0x20e)](()=>{},_0x178245(0x1ec)+JSON['stringify'](_0x4d7260)):await _0x2c6f09[_0x178245(0x20e)](_0x178245(0x1ec)+JSON[_0x178245(0x17c)](_0x4d7260));}),patchSaveScreenshot=_0x1d86f2=>{const _0x1ad312=a1_0x4f4bbd,_0x59dfe7={'DxqQE':'base64','gdToH':'TEST_SCREENSHOT','qHzcI':function(_0x48601d){return _0x48601d();},'VhEig':function(_0x2079e9,_0x129d66){return _0x2079e9(_0x129d66);}};_0x59dfe7[_0x1ad312(0x188)](isTrue,process[_0x1ad312(0x1ac)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x1d86f2['patchSaveScreenshot']&&(_0x1d86f2[_0x1ad312(0x191)]=!![],_0x1d86f2[_0x1ad312(0x1c9)]=_0x1d86f2['saveScreenshot'],_0x1d86f2[_0x1ad312(0x208)]=(_0x1935cc,_0x31efbd=![])=>{const _0x2374b8=_0x1ad312,_0x44add6={'MXxFm':_0x59dfe7['DxqQE'],'LcdmZ':_0x59dfe7[_0x2374b8(0x1c5)],'bMpev':function(_0x519bbf){const _0x1eeaf7=_0x2374b8;return _0x59dfe7[_0x1eeaf7(0x17d)](_0x519bbf);}};return new Promise(function(_0x28c955,_0x861934){const _0x27194e=_0x2374b8,_0x2c5ea1={'rArch':_0x44add6[_0x27194e(0x143)],'gXxbZ':_0x44add6[_0x27194e(0x190)],'RTOTD':function(_0x50a9a8){return _0x44add6['bMpev'](_0x50a9a8);}};_0x1d86f2[_0x27194e(0x1c9)](_0x1935cc,_0x31efbd)[_0x27194e(0x161)](()=>{const _0x384635=_0x27194e,_0x5317c4=CodeceptUtils[_0x384635(0x1ea)](_0x1935cc),_0x20b359=fs[_0x384635(0x210)](_0x5317c4);process[_0x384635(0x154)](_0x384635(0x1a3)+process[_0x384635(0x1b1)],{'timestamp':new Date()[_0x384635(0x184)](),'message':_0x20b359[_0x384635(0x1e4)](_0x2c5ea1[_0x384635(0x195)]),'kind':_0x2c5ea1['gXxbZ']}),_0x2c5ea1[_0x384635(0x1db)](_0x28c955);})[_0x27194e(0x16d)](()=>null);});});},patchWebDriverBefore=_0x14bd47=>{const _0x63aa84=a1_0x4f4bbd,_0x5ae902={'tWwBv':function(_0x256a75){return _0x256a75();},'PLODw':function(_0x1630fd,_0x1ecdb5){return _0x1630fd(_0x1ecdb5);},'bmJVn':function(_0x28b8c2,_0x2ad1cd){return _0x28b8c2===_0x2ad1cd;},'LWfCp':_0x63aa84(0x1c8)},_0x4e502f=async function(_0x568582,_0x2dbff8){const _0x1794c0=_0x63aa84;return _0x5ae902[_0x1794c0(0x1a9)](isAccessibilityAutomationSession)&&!global[_0x1794c0(0x1b6)]&&global['accessibilityPlatform']&&scripts[_0x1794c0(0x1b5)](_0x568582[_0x1794c0(0x178)])&&_0x5ae902[_0x1794c0(0x158)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1794c0(0x1b6)]=!![],await PerformanceTester[_0x1794c0(0x1fd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x57109f=_0x1794c0;logger['debug']('Performing\x20scan\x20for\x20'+_0x568582['class']+'\x20'+_0x568582[_0x57109f(0x178)]),await AccessibilityHelper[_0x57109f(0x196)](_0x14bd47,scripts['performScan']);},{'command':_0x568582[_0x1794c0(0x178)]})()),global['bstackAllyScanning']=![],_0x2dbff8['apply'](this,Array[_0x1794c0(0x201)]['slice'][_0x1794c0(0x1ff)](arguments,0x2));},_0x350847=CodeceptWebDriver['prototype'][_0x63aa84(0x1a7)];CodeceptWebDriver[_0x63aa84(0x201)][_0x63aa84(0x1a7)]=async function(){const _0x548d46=_0x63aa84,_0x31e40b={'QNJqi':function(_0x43512d,_0x37d835){return _0x5ae902['bmJVn'](_0x43512d,_0x37d835);},'knKAG':_0x5ae902['LWfCp']};try{await _0x350847[_0x548d46(0x1d4)](this,arguments);}catch(_0x372d3e){logger[_0x548d46(0x1c4)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x548d46(0x17a)](_0x372d3e));}scripts['commandsToWrap']['filter'](_0x3ac9a2=>_0x3ac9a2[_0x548d46(0x178)]&&_0x3ac9a2[_0x548d46(0x1f9)])[_0x548d46(0x156)](_0x30d5c9=>{const _0x5cfb2c=_0x548d46;this[_0x5cfb2c(0x1b2)][_0x5cfb2c(0x1ee)](_0x30d5c9[_0x5cfb2c(0x178)],_0x4e502f[_0x5cfb2c(0x19e)](this,_0x30d5c9),_0x31e40b[_0x5cfb2c(0x159)](_0x30d5c9[_0x5cfb2c(0x1f9)],_0x31e40b['knKAG']));}),_0x5ae902[_0x548d46(0x158)](processWebDriverConfig,_0x14bd47);};},patchPlaywrightBefore=()=>{const _0x4fd6a4=a1_0x4f4bbd;PlaywrightSessionDetails[_0x4fd6a4(0x18b)]();const _0xd70bf=CodeceptPlaywright[_0x4fd6a4(0x201)]['_before'];CodeceptPlaywright[_0x4fd6a4(0x201)][_0x4fd6a4(0x1a7)]=async function(){const _0xb9df67=_0x4fd6a4;this[_0xb9df67(0x1c6)]=await this[_0xb9df67(0x1b2)]['contexts']()[0x0],await _0xd70bf[_0xb9df67(0x1d4)](this,arguments);};},getCodeceptDriver=()=>{const _0x44dd7d=a1_0x4f4bbd,_0xe0e7ce={};_0xe0e7ce[_0x44dd7d(0x16a)]=_0x44dd7d(0x18a),_0xe0e7ce[_0x44dd7d(0x15a)]=_0x44dd7d(0x203),_0xe0e7ce[_0x44dd7d(0x1cd)]=_0x44dd7d(0x1ad),_0xe0e7ce[_0x44dd7d(0x18c)]=_0x44dd7d(0x14a);const _0x53f6cc=_0xe0e7ce,_0x27a21b=[_0x53f6cc[_0x44dd7d(0x16a)],_0x53f6cc['UpveP'],_0x53f6cc[_0x44dd7d(0x1cd)],_0x53f6cc[_0x44dd7d(0x18c)]],_0x2315ef=_0x27a21b[_0x44dd7d(0x1e5)](_0x2a678c=>!!CodeceptJS[_0x44dd7d(0x181)][_0x44dd7d(0x1b8)](_0x2a678c));if(!_0x2315ef)return null;return CodeceptJS[_0x44dd7d(0x181)][_0x44dd7d(0x1b8)](_0x2315ef);};function a1_0x5f52(){const _0x993ee5=['afterTest','failed','HgOfG','SDK_HOOK','msQYc','codeceptjs/lib/index.js','hook-passed','FexEE','SYNC','apply','thTestRunUuid','1EFHOaU','browserstackTestName','getResultsSummary','stop','INFO','RTOTD','PQsUs','setSessionStatus','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','MsisH','thBuildUuid','arguments','saveTestResults','YRwVD','toString','find','bvDvR','MTQDo','../../helpers/request-spy','reason','screenshotOutputFolder','14266230ArRrhO','browserstack_executor:\x20','GET_RESULTS','overwriteCommand','3735750bZmiCx','mziWQ','../../helpers/testhub/constants.js','__skipSessionStatus','xyOyl','getAccessibilityResults','hookType','startMonitoring','BGeFO','TEST_RUN_FINISHED','class','31016MgrJOU','setSessionName','bddStepFinish','measureWrapper','stopMonitoring','call','../../helpers/logger','prototype','zZUlo','Playwright','RNgQg','mSOJu','TEST_LOG','started','saveScreenshot','util','addRequestSpy','GPSbA','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','./o11yHelper','executeScript','status','readFileSync','title','constructor','test','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','winstonLogger','action','Suite','SDK_POST_INITIALIZE','hook-started','BROWSERSTACK_TESTHUB_JWT','GdUnY','warn','GMaCo','codeceptjs/lib/utils.js','MXxFm','event','XQnHc','__workerDetails','1702065UkqUNM','setGlobal','WWXWf','TestCafe','test-failed','all','command','skipSessionStatus','HOOK_RUN_STARTED','SESSION_NAME','../../helpers/performance/performance-tester','lwYMp','xWeDj','emit','captureError','forEach','captureEvent','PLODw','QNJqi','UpveP','TEST_RUN_SKIPPED','PERFORM_SCAN','rlwar','start','test-skipped','WVfJa','then','ciKXV','NkZmy','bddStepStart','12KDIlNj','1054320TXVAOB','PmLVD','9518013dxmqan','before','pFwpn','tKxGj','ctx','catch','NnVLg','dispatcher','YdVBJ','SDK_POST_TEST','LMbMh','test-after','mdvDj','BROWSERSTACK_TESTHUB_UUID','zMalt','./helper.js','name','QHteU','format','exports','stringify','qHzcI','BRTfG','GET_RESULTS_SUMMARY','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','container','__driver','leaZc','toISOString','enabled','getSyncScript','testAnalyticsId','VhEig','test-before','WebDriver','patch','aHqrH','hook','end','SDK_PRE_INITIALIZE','LcdmZ','patchSaveScreenshot','performScan','XIgRn','ENV_VAR','rArch','browserStackExecuteDriver','oUrtC','add','restore','994fRPkrw','iWfsa','FgNAo','passed','bind','../../helpers/performance/constants','../../bin/playwright/accessibility-helper','thJwtToken','gtrQl','bs:addLog:','../../helpers/accessibility-automation/helper','HOOK_RUN_FINISHED','fireEvent','_before','tPEgN','tWwBv','../../helpers/globals.js','kPGzX','env','Puppeteer','currentTest','codeceptjs','kladU','pid','browser','MUhlt','UgRdZ','shouldWrapCommand','bstackAllyScanning','codeceptjs/lib/recorder.js','helpers','accessibilityPlatform','bddStep-after','edBHO','464346tYyKjv','test-started','bddStep-before','SDK_PRE_TEST','CKVzr','bddStep','../../bin/playwright/sessionDetails','TEST_RUN_STARTED','debug','gdToH','browserContext','SDK_TEST','Element','initSaveScreenshot','../../helpers/helper'];a1_0x5f52=function(){return _0x993ee5;};return a1_0x5f52();}module[a1_0x4f4bbd(0x17b)]=function(_0x4a6940){const _0x9f9afd=a1_0x4f4bbd,_0x5513f2={'msQYc':function(_0xcdddd7){return _0xcdddd7();},'ciKXV':function(_0x4145eb,_0x5a7ad8){return _0x4145eb(_0x5a7ad8);},'mSOJu':'getAccessibilityResultsSummary','tPEgN':_0x9f9afd(0x20c),'MsisH':_0x9f9afd(0x1f4),'FexEE':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','YdVBJ':_0x9f9afd(0x219),'mziWQ':_0x9f9afd(0x1d1),'oUrtC':'hook-failed','kPGzX':_0x9f9afd(0x1d7),'XIgRn':function(_0x477795){return _0x477795();},'leaZc':_0x9f9afd(0x189),'iWfsa':function(_0x1464a9,_0x412ecb){return _0x1464a9(_0x412ecb);},'BGeFO':function(_0x190c5c,_0x202b61,_0x4f57ca){return _0x190c5c(_0x202b61,_0x4f57ca);},'NkZmy':_0x9f9afd(0x1bd),'FgNAo':function(_0x54f61a){return _0x54f61a();},'WVfJa':'test-passed','rlwar':function(_0x46691f){return _0x46691f();},'LMbMh':function(_0x4bf2aa,_0x1aa3a8,_0x372bf3,_0x4d8c73){return _0x4bf2aa(_0x1aa3a8,_0x372bf3,_0x4d8c73);},'RNgQg':function(_0x303238,_0x42e8f9,_0x1bb255,_0x171219){return _0x303238(_0x42e8f9,_0x1bb255,_0x171219);},'QHteU':function(_0x35428e,_0xfedcb2){return _0x35428e===_0xfedcb2;},'MPaEB':_0x9f9afd(0x217),'CKVzr':_0x9f9afd(0x14b),'UgRdZ':_0x9f9afd(0x15f),'wUDxT':_0x9f9afd(0x1cb),'gtrQl':function(_0x2b4b2c,_0x1c1107,_0x103879){return _0x2b4b2c(_0x1c1107,_0x103879);},'NnVLg':function(_0x5ed397){return _0x5ed397();},'kladU':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','XQnHc':_0x9f9afd(0x173),'GdUnY':_0x9f9afd(0x1da),'zZUlo':_0x9f9afd(0x206),'MTQDo':'step-comment','edBHO':_0x9f9afd(0x1be),'MUhlt':_0x9f9afd(0x1ba),'xWeDj':function(_0x1836a6){return _0x1836a6();},'GPSbA':_0x9f9afd(0x203)};_0x4a6940[_0x9f9afd(0x14e)]&&(global[_0x9f9afd(0x1f2)]=_0x4a6940[_0x9f9afd(0x14e)]);PerformanceTester[_0x9f9afd(0x1f6)]();const _0x5d098b=_0x5513f2[_0x9f9afd(0x153)](getCodeceptDriver),_0x17b608=new O11yHelper(_0x5d098b,_0x4a6940),_0x3684bc=!!CodeceptJS[_0x9f9afd(0x181)]['helpers'](_0x5513f2[_0x9f9afd(0x20b)]);global[_0x9f9afd(0x182)]=_0x5d098b,_0x5d098b&&(PerformanceTester[_0x9f9afd(0x1fd)](PerformanceEvents[_0x9f9afd(0x18f)],()=>{const _0x495a11=_0x9f9afd;_0x3684bc?_0x5513f2[_0x495a11(0x1cf)](patchPlaywrightBefore):_0x5513f2[_0x495a11(0x162)](patchWebDriverBefore,_0x5d098b);})(),PerformanceTester[_0x9f9afd(0x1fd)](PerformanceEvents[_0x9f9afd(0x218)],()=>{const _0x40fc68=_0x9f9afd,_0x452e38={};_0x452e38['tKxGj']=_0x5513f2[_0x40fc68(0x1df)],_0x452e38[_0x40fc68(0x152)]=_0x5513f2[_0x40fc68(0x1d2)];const _0xcd31c3=_0x452e38;_0x5d098b['getAccessibilityResultsSummary']=async()=>{const _0x57a4a1=_0x40fc68;if(global[_0x57a4a1(0x1b9)]){const _0x2f2f5b={};_0x2f2f5b[_0x57a4a1(0x14d)]=_0x5513f2[_0x57a4a1(0x205)],await PerformanceTester[_0x57a4a1(0x1fd)](PerformanceA11yEvents[_0x57a4a1(0x15c)],async()=>{const _0x1f0d4=_0x57a4a1;await AccessibilityHelper[_0x1f0d4(0x196)](_0x5d098b,scripts[_0x1f0d4(0x192)]);},_0x2f2f5b)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x57a4a1(0x17f)],async()=>{const _0x32fa13=_0x57a4a1;await AccessibilityHelper['browserStackExecuteDriver'](_0x5d098b,scripts[_0x32fa13(0x1d8)]);})();}else return logger[_0x57a4a1(0x140)](_0x5513f2[_0x57a4a1(0x1a8)]),{};},_0x5d098b[_0x40fc68(0x1f4)]=async()=>{const _0x57e600=_0x40fc68;if(global[_0x57e600(0x1b9)]){const _0x52ec52={};_0x52ec52['command']=_0xcd31c3[_0x57e600(0x16b)],await PerformanceTester[_0x57e600(0x1fd)](PerformanceA11yEvents[_0x57e600(0x15c)],async()=>{const _0x705d96=_0x57e600;await AccessibilityHelper[_0x705d96(0x196)](_0x5d098b,scripts['performScan']);},_0x52ec52)(),await PerformanceTester[_0x57e600(0x1fd)](PerformanceA11yEvents[_0x57e600(0x1ed)],async()=>{const _0xfbd4c6=_0x57e600;await AccessibilityHelper[_0xfbd4c6(0x196)](_0x5d098b,scripts['getResults']);})();}else return logger[_0x57e600(0x140)](_0xcd31c3[_0x57e600(0x152)]),{};},_0x5513f2[_0x40fc68(0x162)](patchSaveScreenshot,_0x5d098b);})()),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x14c)][_0x9f9afd(0x169)],()=>{const _0x3c8136=_0x9f9afd;PerformanceTester[_0x3c8136(0x15e)](PerformanceEvents[_0x3c8136(0x1bf)]);try{_0x17b608[_0x3c8136(0x15e)](),testOpsHelper[_0x3c8136(0x20a)](),PerformanceTester[_0x3c8136(0x18e)](PerformanceEvents[_0x3c8136(0x1bf)]);}catch(_0x3ef6ae){PerformanceTester[_0x3c8136(0x155)](_0x3ef6ae),PerformanceTester[_0x3c8136(0x18e)](PerformanceEvents[_0x3c8136(0x1bf)],![],_0x3ef6ae);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x14c)]['after'],async()=>{const _0x939ce7=_0x9f9afd;PerformanceTester['start'](PerformanceEvents[_0x939ce7(0x171)]);try{requestSpy[_0x939ce7(0x199)](),await _0x17b608[_0x939ce7(0x1d9)](),PerformanceTester[_0x939ce7(0x18e)](PerformanceEvents[_0x939ce7(0x171)]);}catch(_0x1c5207){PerformanceTester[_0x939ce7(0x155)](_0x1c5207),PerformanceTester[_0x939ce7(0x18e)](PerformanceEvents[_0x939ce7(0x171)],![],_0x1c5207);}finally{PerformanceTester[_0x939ce7(0x1fe)]();}}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['hook'][_0x9f9afd(0x207)],_0x3f4c17=>{const _0x42efeb=_0x9f9afd;PerformanceTester[_0x42efeb(0x15e)](PerformanceEvents['SDK_HOOK']);try{const _0x226b15=_0x3f4c17[_0x42efeb(0x16c)][_0x42efeb(0x213)],_0x388799=_0x17b608[_0x42efeb(0x157)](TEST_EVENTS[_0x42efeb(0x14f)],_0x226b15);CodeceptRecorder[_0x42efeb(0x198)](()=>_0x17b608[_0x42efeb(0x1a6)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x388799));const _0x57cca6={};_0x57cca6['hookType']=_0x5513f2[_0x42efeb(0x170)],PerformanceTester['end'](PerformanceEvents[_0x42efeb(0x1ce)],!![],null,_0x57cca6);}catch(_0x427e19){const _0x31d449={};_0x31d449[_0x42efeb(0x1f5)]=_0x5513f2[_0x42efeb(0x170)],PerformanceTester[_0x42efeb(0x18e)](PerformanceEvents[_0x42efeb(0x1ce)],![],_0x427e19,_0x31d449),PerformanceTester[_0x42efeb(0x155)](_0x427e19);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)]['hook']['passed'],_0x3d6e13=>{const _0xe2fc6c=_0x9f9afd,_0x35957a={};_0x35957a[_0xe2fc6c(0x1f5)]=_0x5513f2['mziWQ'],PerformanceTester[_0xe2fc6c(0x15e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x35957a);try{const _0x17669d=_0x3d6e13[_0xe2fc6c(0x16c)]['test'],_0x105fda=_0x17b608[_0xe2fc6c(0x157)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x17669d);CodeceptRecorder[_0xe2fc6c(0x198)](()=>_0x17b608[_0xe2fc6c(0x1a6)](TEST_EVENTS[_0xe2fc6c(0x1a5)],_0x105fda));const _0x27fe4e={};_0x27fe4e[_0xe2fc6c(0x1f5)]=_0x5513f2[_0xe2fc6c(0x1f0)],PerformanceTester['end'](PerformanceHookEvents[_0xe2fc6c(0x1ce)],!![],null,_0x27fe4e);}catch(_0x15f7fa){PerformanceTester[_0xe2fc6c(0x155)](_0x15f7fa);const _0x2c505f={};_0x2c505f[_0xe2fc6c(0x1f5)]=_0x5513f2[_0xe2fc6c(0x1f0)],PerformanceTester[_0xe2fc6c(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0x15f7fa,_0x2c505f);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x18d)][_0x9f9afd(0x1cc)],async(_0x5d3967,_0x2025af)=>{const _0x168fc8=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents[_0x168fc8(0x1ce)]);try{const _0x378268=_0x5d3967[_0x168fc8(0x16c)][_0x168fc8(0x213)],_0xdf02c6=_0x17b608[_0x168fc8(0x157)](TEST_EVENTS[_0x168fc8(0x1a5)],_0x378268,_0x2025af);CodeceptRecorder[_0x168fc8(0x198)](()=>_0x17b608[_0x168fc8(0x1a6)](TEST_EVENTS[_0x168fc8(0x1a5)],_0xdf02c6));const _0x5ea836={};_0x5ea836[_0x168fc8(0x1f5)]=_0x5513f2[_0x168fc8(0x197)],PerformanceTester[_0x168fc8(0x15e)](PerformanceHookEvents[_0x168fc8(0x1ce)],!![],null,_0x5ea836);}catch(_0xf5f0a1){PerformanceTester[_0x168fc8(0x155)](_0xf5f0a1);const _0x36c938={};_0x36c938[_0x168fc8(0x1f5)]=_0x5513f2[_0x168fc8(0x197)],PerformanceTester[_0x168fc8(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0xf5f0a1,_0x36c938);}const _0x557806={};_0x557806[_0x168fc8(0x1f5)]=_0x5513f2['oUrtC'],PerformanceTester['end'](PerformanceHookEvents[_0x168fc8(0x1ce)],!![],null,_0x557806);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)]['test'][_0x9f9afd(0x169)],_0xdfc8f=>{const _0x3479a1=_0x9f9afd;PerformanceTester[_0x3479a1(0x15e)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x3479a1(0x148)](_0x5513f2[_0x3479a1(0x1ab)],_0xdfc8f[_0x3479a1(0x211)]);_0x5513f2[_0x3479a1(0x193)](isBrowserstackInfra)&&(_0x3684bc&&(global[_0x3479a1(0x146)]={'currentTest':{'name':_0xdfc8f[_0x3479a1(0x211)],'testInfo':{'titlePath':_0xdfc8f['titlePath']()}}}));const _0x3dd56f={};_0x3dd56f[_0x3479a1(0x1f5)]=_0x5513f2[_0x3479a1(0x183)],PerformanceTester[_0x3479a1(0x18e)](PerformanceHookEvents[_0x3479a1(0x1ce)],!![],null,_0x3dd56f);}catch(_0x13364d){PerformanceTester[_0x3479a1(0x155)](_0x13364d);const _0x87a299={};_0x87a299[_0x3479a1(0x1f5)]=_0x5513f2['leaZc'],PerformanceTester[_0x3479a1(0x18e)](PerformanceHookEvents[_0x3479a1(0x1ce)],![],_0x13364d,_0x87a299);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x207)],_0x1aeead=>{const _0x6da09=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x5513f2[_0x6da09(0x1ab)],_0x1aeead[_0x6da09(0x211)]);const _0x3c2402=_0x17b608[_0x6da09(0x157)](TEST_EVENTS[_0x6da09(0x1c3)],_0x1aeead);CodeceptRecorder[_0x6da09(0x198)](()=>_0x17b608['fireEvent'](TEST_EVENTS[_0x6da09(0x1c3)],_0x3c2402)),CodeceptRecorder[_0x6da09(0x198)](async()=>{const _0xc46dec=_0x6da09;_0x5513f2[_0xc46dec(0x1cf)](isBrowserstackInfra)&&(!_0x5513f2[_0xc46dec(0x19b)](isTrue,_0x4a6940['skipSessionName'])&&await _0x5513f2[_0xc46dec(0x1f7)](markSessionName,_0x5d098b,_0x1aeead[_0xc46dec(0x211)]),_0x17b608[_0xc46dec(0x185)]&&await _0x5513f2[_0xc46dec(0x162)](o11ySync,_0x5d098b));});}catch(_0x4fd5f4){const _0x19ec61={};_0x19ec61['hookType']=_0x5513f2['NkZmy'],PerformanceTester['end'](PerformanceHookEvents[_0x6da09(0x1ce)],![],_0x4fd5f4,_0x19ec61),PerformanceTester[_0x6da09(0x155)](_0x4fd5f4);}const _0x4dcba1={};_0x4dcba1['hookType']=_0x5513f2[_0x6da09(0x163)],PerformanceTester[_0x6da09(0x18e)](PerformanceHookEvents[_0x6da09(0x1ce)],!![],null,_0x4dcba1);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x19d)],_0x25b7f8=>{const _0x5c712c=_0x9f9afd,_0xff42b8={'zMalt':function(_0x3638c6,_0x57b730,_0x3f0c7f){return _0x5513f2['BGeFO'](_0x3638c6,_0x57b730,_0x3f0c7f);},'xyOyl':function(_0x43413c){const _0x19fd30=a1_0x392f;return _0x5513f2[_0x19fd30(0x19c)](_0x43413c);}};PerformanceTester[_0x5c712c(0x15e)](PerformanceHookEvents[_0x5c712c(0x1ce)]);try{const _0x48a9f7=_0x17b608['captureEvent'](TEST_EVENTS[_0x5c712c(0x1f8)],_0x25b7f8);CodeceptRecorder[_0x5c712c(0x198)](()=>_0x17b608['fireEvent'](TEST_EVENTS[_0x5c712c(0x1f8)],_0x48a9f7)),CodeceptRecorder[_0x5c712c(0x198)](async()=>{const _0x28fcfe=_0x5c712c,_0x2b3c13={'PmLVD':function(_0x21ca3c,_0x2c0d51,_0x163eca){const _0x4beb3c=a1_0x392f;return _0xff42b8[_0x4beb3c(0x176)](_0x21ca3c,_0x2c0d51,_0x163eca);},'jEKsj':function(_0x4ff615,_0x765d8c,_0x5bb75b){const _0x37a900=a1_0x392f;return _0xff42b8[_0x37a900(0x176)](_0x4ff615,_0x765d8c,_0x5bb75b);}};_0xff42b8[_0x28fcfe(0x1f3)](isBrowserstackInfra)&&await PerformanceTester[_0x28fcfe(0x1fd)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x170057=_0x28fcfe;_0x3684bc?await _0x2b3c13[_0x170057(0x167)](playwrightMarkSessionStatus,_0x5d098b,STATE_PASSED):await _0x2b3c13['jEKsj'](markSessionStatus,_0x5d098b,STATE_PASSED);})();}),PerformanceTester[_0x5c712c(0x18e)](PerformanceEvents['SDK_TEST']);}catch(_0x51fe0a){PerformanceTester[_0x5c712c(0x155)](_0x51fe0a);const _0x202efa={};_0x202efa[_0x5c712c(0x1f5)]=_0x5513f2[_0x5c712c(0x160)],PerformanceTester[_0x5c712c(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0x51fe0a,_0x202efa),PerformanceTester[_0x5c712c(0x18e)](PerformanceEvents[_0x5c712c(0x1c7)],![],_0x51fe0a);}const _0x299dad={};_0x299dad[_0x5c712c(0x1f5)]=_0x5513f2['WVfJa'],PerformanceTester[_0x5c712c(0x18e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x299dad);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x1cc)],(_0x38ba27,_0x3432f6)=>{const _0xb481d9=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x5513f2[_0xb481d9(0x179)](_0x38ba27['constructor']['name'],_0x5513f2['MPaEB'])){const _0x41f26b=_0x17b608[_0xb481d9(0x157)](TEST_EVENTS[_0xb481d9(0x15b)],_0x38ba27['ctx'][_0xb481d9(0x1ae)]);CodeceptRecorder[_0xb481d9(0x198)](()=>_0x17b608[_0xb481d9(0x1a6)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x41f26b));}else{const _0x57e09d=_0x17b608['captureEvent'](TEST_EVENTS[_0xb481d9(0x1f8)],_0x38ba27,_0x3432f6);CodeceptRecorder[_0xb481d9(0x198)](()=>{const _0x587fdc=_0xb481d9;try{_0x17b608['fireEvent'](TEST_EVENTS[_0x587fdc(0x1f8)],_0x57e09d);}catch(_0x177fbc){logger[_0x587fdc(0x1c4)](_0x587fdc(0x180)+util[_0x587fdc(0x17a)](_0x177fbc)),PerformanceTester[_0x587fdc(0x18e)](PerformanceEvents[_0x587fdc(0x1c7)],![],_0x177fbc);}}),CodeceptRecorder[_0xb481d9(0x198)](async()=>{const _0x290c4e=_0xb481d9;try{_0x5513f2[_0x290c4e(0x15d)](isBrowserstackInfra)&&(_0x3684bc?await _0x5513f2[_0x290c4e(0x172)](playwrightMarkSessionStatus,_0x5d098b,STATE_FAILED,_0x3432f6):await _0x5513f2[_0x290c4e(0x204)](markSessionStatus,_0x5d098b,STATE_FAILED,_0x3432f6));}catch(_0x143b13){logger[_0x290c4e(0x1c4)](_0x290c4e(0x1de)+util[_0x290c4e(0x17a)](_0x143b13)),PerformanceTester[_0x290c4e(0x18e)](PerformanceEvents[_0x290c4e(0x1c7)],![],_0x143b13);}});}PerformanceTester[_0xb481d9(0x18e)](PerformanceEvents[_0xb481d9(0x1c7)]);}catch(_0x490c3c){PerformanceTester[_0xb481d9(0x155)](_0x490c3c);const _0x180d15={};_0x180d15[_0xb481d9(0x1f5)]=_0x5513f2[_0xb481d9(0x1c0)],PerformanceTester[_0xb481d9(0x18e)](PerformanceHookEvents[_0xb481d9(0x1ce)],![],_0x490c3c,_0x180d15),PerformanceTester[_0xb481d9(0x18e)](PerformanceEvents[_0xb481d9(0x1c7)],![],_0x490c3c);}const _0xd1908c={};_0xd1908c[_0xb481d9(0x1f5)]=_0x5513f2['CKVzr'],PerformanceTester[_0xb481d9(0x18e)](PerformanceHookEvents[_0xb481d9(0x1ce)],!![],null,_0xd1908c);}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)]['skipped'],_0x258f32=>{const _0x327519=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents[_0x327519(0x1ce)]);try{const _0x497f35=_0x17b608[_0x327519(0x157)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x258f32);CodeceptRecorder['add'](()=>_0x17b608[_0x327519(0x1a6)](TEST_EVENTS[_0x327519(0x15b)],_0x497f35)),PerformanceTester[_0x327519(0x18e)](PerformanceEvents[_0x327519(0x1c7)]);}catch(_0x57003b){PerformanceTester[_0x327519(0x155)](_0x57003b),PerformanceTester[_0x327519(0x18e)](PerformanceEvents[_0x327519(0x1c7)],![],_0x57003b);const _0x15fb8d={};_0x15fb8d[_0x327519(0x1f5)]=_0x5513f2[_0x327519(0x1b4)],PerformanceTester[_0x327519(0x18e)](PerformanceHookEvents[_0x327519(0x1ce)],![],_0x57003b,_0x15fb8d);}const _0x4d9844={};_0x4d9844['hookType']=_0x5513f2[_0x327519(0x1b4)],PerformanceTester['end'](PerformanceHookEvents[_0x327519(0x1ce)],!![],null,_0x4d9844);}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS['event'][_0x9f9afd(0x213)]['after'],async(_0x45013f,_0x3156cd)=>{const _0x56a1a8=_0x9f9afd,_0x15d18b={};_0x15d18b[_0x56a1a8(0x17e)]=_0x5513f2['wUDxT'];const _0x132416=_0x15d18b;try{PerformanceTester[_0x56a1a8(0x15e)](PerformanceHookEvents[_0x56a1a8(0x1ce)]);if(_0x5513f2['msQYc'](isBrowserstackInfra)){const _0x1469e0=_0x5513f2[_0x56a1a8(0x1a2)](shouldScanTestForAccessibility,_0x45013f['titlePath'](),!![]);if(_0x5513f2[_0x56a1a8(0x16e)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x1469e0){const _0x458c4a={};_0x458c4a[_0x56a1a8(0x1d5)]=_0x45013f[_0x56a1a8(0x187)],_0x458c4a[_0x56a1a8(0x1e0)]=process[_0x56a1a8(0x1ac)][testHubConstants[_0x56a1a8(0x194)][_0x56a1a8(0x175)]],_0x458c4a[_0x56a1a8(0x1a1)]=process[_0x56a1a8(0x1ac)][testHubConstants['ENV_VAR'][_0x56a1a8(0x13e)]];const _0x3d87cd=_0x458c4a;logger[_0x56a1a8(0x1c4)](_0x56a1a8(0x214)+JSON[_0x56a1a8(0x17c)](_0x3d87cd)),CodeceptRecorder[_0x56a1a8(0x198)](async()=>{const _0x11efc2=_0x56a1a8,_0x365131={};_0x365131[_0x11efc2(0x14d)]=_0x132416[_0x11efc2(0x17e)],await PerformanceTester[_0x11efc2(0x1fd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x226ed0=_0x11efc2;await AccessibilityHelper[_0x226ed0(0x196)](_0x5d098b,scripts[_0x226ed0(0x192)]);},_0x365131)(),await PerformanceTester[_0x11efc2(0x1fd)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x40f4a3=_0x11efc2;await AccessibilityHelper[_0x40f4a3(0x196)](_0x5d098b,scripts[_0x40f4a3(0x1e2)],_0x3d87cd);})();}),logger['info'](_0x5513f2[_0x56a1a8(0x1b0)]);}}const _0x184b25={};_0x184b25[_0x56a1a8(0x1f5)]=_0x5513f2[_0x56a1a8(0x145)],PerformanceTester[_0x56a1a8(0x18e)](PerformanceHookEvents[_0x56a1a8(0x1ce)],!![],null,_0x184b25);}catch(_0x3b1f33){PerformanceTester['captureError'](_0x3b1f33);const _0xdf90e1={};_0xdf90e1[_0x56a1a8(0x1f5)]=_0x5513f2[_0x56a1a8(0x145)],PerformanceTester[_0x56a1a8(0x18e)](PerformanceHookEvents[_0x56a1a8(0x1ce)],![],_0x3b1f33,_0xdf90e1);}}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['step']['comment'],_0x1b340a=>{const _0x47e031=_0x9f9afd;PerformanceTester[_0x47e031(0x15e)](PerformanceHookEvents[_0x47e031(0x1ce)]);try{process[_0x47e031(0x154)](_0x47e031(0x1a3)+process[_0x47e031(0x1b1)],{'timestamp':new Date()[_0x47e031(0x184)](),'level':_0x5513f2[_0x47e031(0x13f)],'message':_0x1b340a,'kind':_0x5513f2[_0x47e031(0x202)],'http_response':{}});}catch(_0x936d15){PerformanceTester[_0x47e031(0x155)](_0x936d15);const _0x50c314={};_0x50c314['hookType']=_0x5513f2[_0x47e031(0x1e7)],PerformanceTester[_0x47e031(0x18e)](PerformanceHookEvents[_0x47e031(0x1ce)],![],_0x936d15,_0x50c314);}const _0xd7fbfb={};_0xd7fbfb[_0x47e031(0x1f5)]=_0x5513f2[_0x47e031(0x1e7)],PerformanceTester[_0x47e031(0x18e)](PerformanceHookEvents[_0x47e031(0x1ce)],!![],null,_0xd7fbfb);}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['bddStep'][_0x9f9afd(0x169)],_0x5377a2=>{const _0x58d7c8=_0x9f9afd,_0x3614e9={};_0x3614e9[_0x58d7c8(0x1f5)]=_0x5513f2[_0x58d7c8(0x1bb)],PerformanceTester[_0x58d7c8(0x1fd)](PerformanceHookEvents[_0x58d7c8(0x1ce)],()=>{const _0x105643=_0x58d7c8;_0x17b608[_0x105643(0x164)](_0x5377a2);},_0x3614e9)();}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS['event'][_0x9f9afd(0x1c1)]['after'],_0x5b6b92=>{const _0x3cb3b4=_0x9f9afd,_0x31d509={};_0x31d509[_0x3cb3b4(0x1f5)]=_0x5513f2[_0x3cb3b4(0x1b3)],PerformanceTester[_0x3cb3b4(0x1fd)](PerformanceHookEvents[_0x3cb3b4(0x1ce)],()=>{const _0x1e6625=_0x3cb3b4;_0x17b608[_0x1e6625(0x1fc)](_0x5b6b92);},_0x31d509)();});};
|
|
@@ -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';const a2_0x275dd3=a2_0x1d77;(function(_0x59cab7,_0x113625){const _0x4aef8d=a2_0x1d77,_0x5e6a55=_0x59cab7();while(!![]){try{const _0x3382e8=-parseInt(_0x4aef8d(0x179))/0x1+parseInt(_0x4aef8d(0x1d6))/0x2+-parseInt(_0x4aef8d(0x16b))/0x3+-parseInt(_0x4aef8d(0x16a))/0x4*(-parseInt(_0x4aef8d(0x19d))/0x5)+-parseInt(_0x4aef8d(0x17d))/0x6+parseInt(_0x4aef8d(0x188))/0x7*(parseInt(_0x4aef8d(0x1bc))/0x8)+-parseInt(_0x4aef8d(0x157))/0x9*(-parseInt(_0x4aef8d(0x199))/0xa);if(_0x3382e8===_0x113625)break;else _0x5e6a55['push'](_0x5e6a55['shift']());}catch(_0x56ec91){_0x5e6a55['push'](_0x5e6a55['shift']());}}}(a2_0x48fb,0x4a2b1));const fs=require('fs'),path=require(a2_0x275dd3(0x183)),util=require('util'),process=require(a2_0x275dd3(0x1ce)),logger=require(a2_0x275dd3(0x19b))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x275dd3(0x174)),helper=require('../../helpers/helper'),utilities=require(a2_0x275dd3(0x1cd)),{checkAccessibilityPlatformConfig}=require(a2_0x275dd3(0x189)),{setAccessibilityCapabilities}=require(a2_0x275dd3(0x1ae)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x275dd3(0x1e0)),CodeceptJS=requireModule(a2_0x275dd3(0x1ab),'codeceptjs'),testOpsHelper=require(a2_0x275dd3(0x1ca)),TestHubHandler=require(a2_0x275dd3(0x17a)),constants=require(a2_0x275dd3(0x1bd)),PerformanceTester=require(a2_0x275dd3(0x1cc)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x41ef5f,_0x353b70)=>{const _0x529828=a2_0x275dd3,_0x2bd32c={};_0x2bd32c[_0x529828(0x1c1)]=function(_0xbe4d8a,_0xf03ff3){return _0xbe4d8a===_0xf03ff3;},_0x2bd32c[_0x529828(0x167)]=_0x529828(0x18a),_0x2bd32c[_0x529828(0x1c8)]=_0x529828(0x1c5);const _0x43c192=_0x2bd32c;let _0x554ad9=null;const _0x46021d={};let _0x45c353=_0x353b70['findIndex'](_0x239637=>_0x239637===_0x529828(0x187));_0x43c192[_0x529828(0x1c1)](_0x45c353,-0x1)&&(_0x45c353=_0x353b70['findIndex'](_0x1f9df6=>_0x1f9df6==='-c'));if(!helper[_0x529828(0x1a0)](_0x41ef5f['config'])&&fs['existsSync'](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f[_0x529828(0x1d9)])))_0x554ad9=path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f[_0x529828(0x1d9)]),_0x353b70[_0x529828(0x1b8)](_0x45c353,0x2);else{if(!helper[_0x529828(0x1a0)](_0x41ef5f['c'])&&fs[_0x529828(0x178)](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f['c'])))_0x554ad9=path['join'](process['cwd'](),_0x41ef5f['c']),_0x353b70['slice'](_0x45c353,0x2);else{if(fs[_0x529828(0x178)](path[_0x529828(0x19e)](process['cwd'](),_0x43c192[_0x529828(0x167)])))_0x554ad9=path['join'](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x167)]);else fs['existsSync'](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x1c8)]))&&(_0x554ad9=path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x1c8)]));}}return process[_0x529828(0x156)]['USER_CONFIG_DETAILS_PATH']=_0x554ad9,_0x554ad9;},getO11yRerunPattern=()=>{const _0xc1cdb0=a2_0x275dd3,_0x23d601=helper['isTrue'](process[_0xc1cdb0(0x156)][_0xc1cdb0(0x1a5)]);if(_0x23d601){const _0x2a4f75=process[_0xc1cdb0(0x156)][_0xc1cdb0(0x176)],_0x9cf639=[];if(helper[_0xc1cdb0(0x158)](_0x2a4f75)&&!helper[_0xc1cdb0(0x1a0)](_0x2a4f75)){_0x2a4f75[_0xc1cdb0(0x1ac)](',')[_0xc1cdb0(0x190)](_0x45c257=>{const _0x21c514=_0xc1cdb0;_0x9cf639[_0x21c514(0x18f)]('('+_0x45c257[_0x21c514(0x171)]()+')');});const _0x457d39='^'+_0x9cf639[_0xc1cdb0(0x19e)]('|')+'$';return _0x457d39;}}return null;},a2_0x558d00={};a2_0x558d00['chrome']=a2_0x275dd3(0x15c),a2_0x558d00['playwright-chromium']=a2_0x275dd3(0x15c),a2_0x558d00[a2_0x275dd3(0x18d)]=a2_0x275dd3(0x182),a2_0x558d00['playwright-webkit']=a2_0x275dd3(0x1c3);function a2_0x1d77(_0x120b44,_0x1a4321){const _0x48fb57=a2_0x48fb();return a2_0x1d77=function(_0x1d77dc,_0x52804f){_0x1d77dc=_0x1d77dc-0x156;let _0x594243=_0x48fb57[_0x1d77dc];return _0x594243;},a2_0x1d77(_0x120b44,_0x1a4321);}const pwToCodeceptBrowser=a2_0x558d00;function a2_0x48fb(){const _0x195df8=['8LAjuaf','848238OtoTzo','bootstrapAll','testConfig','log','DDjOl','title','trim','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','event','../../helpers/BrowserStackSetup','info','BROWSERSTACK_RERUN_TESTS','start','existsSync','505113OEpFyj','../../helpers/testhub/testhubHandler','browserName','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','1608012HkNCDb','browser','run','CODECEPT','browserWSEndpoint','firefox','path','result','chdir','errorMessage','--config','112APUNQt','../../helpers/accessibility-automation/helper','codecept.conf.js','launchBuild','format','playwright-firefox','initialize','push','map','codeceptjs','wiRJQ','plugins','qQQDg','prepareCapabilities','SDK_SETUP','pxhBe','end','8259560qNZaLx','now','../../helpers/logger','5|2|3|0|4|1','38435yiIqpB','join','FRAMEWORKS','isUndefined','fyOyt','axkBZ','getPlaywrightUrl','ogOmU','BROWSERSTACK_RERUN','HNaLt','finalExecution','stack','Playwright','desiredCapabilities','codeceptjs/lib/index.js','split','printBuildLink','../../bin/playwright/accessibility-helper','spawn','Started\x20:\x20','ZZBvm','lSqnG','cimDw','LNytX','OUgCD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BrowserStackPlugin','slice','mWSYu','testObservability','browserStackCwd','169368ELIPdp','../utils/constants','cwd','root','ZwCSf','ACaSx','all','webkit','toLowerCase','codecept.json','addTests','accessibilityOptions','UaUGK','mrMXS','../../helpers/test-observability/utils','gherkin','../../helpers/performance/performance-tester','../../helpers/utilities','process','teardownAll','skipSessionName','passed','WebDriver','helpers','platforms','forEach','359176EtAlHD','handleApp','Zhsnj','config','createGroupsOfSuites','ebEla','skipSessionStatus','fovJT','fzKGW','setAdditionalCapabilities','../../helpers/helper','isTestObservabilitySession','printResults','env','9CEsCBK','validateRerunTestList','UQpQO','stringify','getUserWorkerCount','chromium','mergeDeep','length','Failed\x20:\x20','profile','before','testContextOptions','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','test','Eowlp','Passed\x20:\x20','dDVXx','HVqHF','NpqPo'];a2_0x48fb=function(){return _0x195df8;};return a2_0x48fb();}async function run(_0x1443b4,_0x1ca691){const _0x3facb4=a2_0x275dd3,_0x3698a2={'cimDw':function(_0x18a89d,_0x34a058){return _0x18a89d+_0x34a058;},'fzKGW':function(_0x4201b5,_0x34c694){return _0x4201b5(_0x34c694);},'UQpQO':function(_0x4c9c4a,_0x1d7abb,_0x4481ee){return _0x4c9c4a(_0x1d7abb,_0x4481ee);},'ZZBvm':_0x3facb4(0x1d3),'fovJT':function(_0x1c1bcd){return _0x1c1bcd();},'zIPFa':_0x3facb4(0x15f),'CbnUT':_0x3facb4(0x166),'mrMXS':_0x3facb4(0x1b0),'ebEla':_0x3facb4(0x19c),'HNaLt':_0x3facb4(0x191),'mWSYu':function(_0x2104d6,_0x25831c,_0x5f0ef9){return _0x2104d6(_0x25831c,_0x5f0ef9);},'Eowlp':_0x3facb4(0x172),'axkBZ':_0x3facb4(0x1a9),'Zhsnj':_0x3facb4(0x1d2),'lSqnG':function(_0x2314a0,_0x1e96e9){return _0x2314a0!=_0x1e96e9;},'ogOmU':function(_0x566a58,_0x1e4807){return _0x566a58===_0x1e4807;},'Ybcdi':function(_0x56422f,_0x3bcd7a){return _0x56422f+_0x3bcd7a;},'wiRJQ':function(_0x30842b,_0x498781,_0x3392d8){return _0x30842b(_0x498781,_0x3392d8);},'qQQDg':_0x3facb4(0x1cb),'ymesH':'-cucumber','NpqPo':function(_0x3b4a14){return _0x3b4a14();},'MGtYx':function(_0x3aea45,_0x4647d3){return _0x3aea45*_0x4647d3;},'DDjOl':_0x3facb4(0x17e),'OUgCD':function(_0x474761,_0x3c8c55,_0x59c088){return _0x474761(_0x3c8c55,_0x59c088);},'LNytX':_0x3facb4(0x1aa),'KymVY':function(_0x331cc6,_0x198698,_0x323aeb){return _0x331cc6(_0x198698,_0x323aeb);},'fyOyt':_0x3facb4(0x1bf),'pxhBe':'BrowserStackPlugin.js','HVqHF':_0x3facb4(0x1bb),'ZwCSf':function(_0x464225){return _0x464225();}},_0x1c712d=new BrowserStackSetup(_0x1443b4,_0x3698a2['HNaLt']);await _0x1c712d[_0x3facb4(0x18e)](),await helper[_0x3facb4(0x1d7)](_0x1c712d['config']);if(!_0x1c712d['config'])return;process[_0x3facb4(0x160)]=_0x1443b4[_0x3facb4(0x160)];_0x1443b4[_0x3facb4(0x160)]&&(process[_0x3facb4(0x156)][_0x3facb4(0x160)]=_0x1443b4[_0x3facb4(0x160)]);const _0x4a1898=_0x3698a2[_0x3facb4(0x1b9)](getUserCodeceptJSConfigs,_0x1443b4,_0x1ca691);let _0x5a1988={};_0x4a1898?(logger[_0x3facb4(0x175)](_0x3facb4(0x163)+_0x4a1898),_0x5a1988=CodeceptJS[_0x3facb4(0x1d9)]['load'](_0x4a1898)):logger['info'](_0x3698a2[_0x3facb4(0x165)]);let _0x420eba=![];_0x3698a2[_0x3facb4(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x1b1)],_0x3698a2[_0x3facb4(0x1a2)]])&&(_0x420eba=!![]);const _0x539718=_0x420eba?_0x3698a2['axkBZ']:_0x3698a2[_0x3facb4(0x1d8)];let _0x5b3fff=!_0x420eba?helper['useW3C'](_0x1c712d[_0x3facb4(0x1d9)]):![];!helper[_0x3facb4(0x1a0)](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1c7)])&&(process['env'][_0x3facb4(0x1b6)]=JSON['stringify'](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1c7)]));let _0x5ab7ce=_0x1c712d[_0x3facb4(0x1d9)]['accessibility'];_0x5ab7ce=_0x5ab7ce||_0x3698a2[_0x3facb4(0x1de)](checkAccessibilityPlatformConfig,_0x1c712d['config']),process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5ab7ce;_0x5ab7ce&&(_0x5b3fff=!_0x5ab7ce);_0x3698a2[_0x3facb4(0x1b2)](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1ba)],null)?process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1c712d['config'][_0x3facb4(0x1ba)]:process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3698a2[_0x3facb4(0x1a4)](_0x539718,_0x3698a2[_0x3facb4(0x1a2)]);const _0x123aee=_0x3698a2['Ybcdi'](_0x3698a2[_0x3facb4(0x1a6)],_0x3698a2[_0x3facb4(0x192)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x194)]])?_0x3698a2['ymesH']:''),_0x3df2ae=await TestHubHandler[_0x3facb4(0x18b)](_0x123aee,_0x1c712d);_0x5ab7ce&&_0x3698a2[_0x3facb4(0x1de)](setAccessibilityCapabilities,_0x1c712d[_0x3facb4(0x1d9)]);const _0x44f8b0={},_0x29a258=[],_0x58ed30=_0x1c712d[_0x3facb4(0x1d9)]['parallelsPerPlatform']||helper[_0x3facb4(0x15b)](_0x1443b4,_0x1ca691,_0x1c712d[_0x3facb4(0x1d9)],constants[_0x3facb4(0x19f)][_0x3facb4(0x180)])||0x1;let _0x1af14e=0x1;if(_0x3698a2[_0x3facb4(0x169)](isBrowserstackInfra)){const _0x2877c7=helper['prepareCapabilities'](_0x1c712d[_0x3facb4(0x1d9)],_0x5b3fff,constants[_0x3facb4(0x19f)]['CODECEPT']);_0x2877c7[_0x3facb4(0x1d5)](_0x5bbc1d=>{const _0x2272fb=_0x3facb4;helper[_0x2272fb(0x1df)](_0x5bbc1d);}),helper['validPlatformsPresent'](_0x1c712d[_0x3facb4(0x1d9)])?_0x1af14e=_0x3698a2['MGtYx'](_0x58ed30,_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1d4)][_0x3facb4(0x15e)]):_0x1af14e=_0x58ed30,_0x2877c7[_0x3facb4(0x1d5)](_0x129bd8=>{const _0x4e9723=_0x3facb4,_0xa5b4a9=_0x3698a2[_0x4e9723(0x1b3)](helper['getPlatformName'](_0x129bd8,'_'),'_'+Date[_0x4e9723(0x19a)]()),_0x4072ef=((()=>{const _0x3ae21f=_0x4e9723;if(_0x420eba){const _0x3202eb=pwToCodeceptBrowser[_0x129bd8[_0x3ae21f(0x17b)]]||_0x129bd8[_0x3ae21f(0x17b)];return{'browser':_0x3202eb,[_0x3202eb]:{'browserWSEndpoint':_0x3698a2[_0x3ae21f(0x1b3)](helper[_0x3ae21f(0x1a3)](_0x1c712d[_0x3ae21f(0x1d9)]),_0x3698a2[_0x3ae21f(0x1de)](encodeURIComponent,JSON[_0x3ae21f(0x15a)](_0x129bd8)))}};}const _0x5562bd={};return _0x5562bd['desiredCapabilities']=_0x129bd8,_0x5562bd;})()),_0x2d0f6d=_0x3698a2[_0x4e9723(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718]);_0x44f8b0[_0xa5b4a9]=_0x2d0f6d?helper[_0x4e9723(0x15d)](_0x4072ef,_0x2d0f6d):_0x4072ef,!_0x420eba&&(_0x44f8b0[_0xa5b4a9][_0x4e9723(0x17e)]=_0x129bd8['browserName']||_0x4072ef[_0x4e9723(0x17e)]),_0x29a258[_0x4e9723(0x18f)](_0xa5b4a9);});}else{_0x1af14e=0x1;if(_0x420eba){const _0x4706a1=_0x3698a2[_0x3facb4(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718,_0x3698a2[_0x3facb4(0x16f)]]),_0x4d4593=_0x3698a2[_0x3facb4(0x1b5)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x1b1)],_0x539718,_0x4706a1]);_0x4d4593&&_0x4d4593['browserWSEndpoint']&&(_0x4d4593[_0x3facb4(0x181)]=helper['prepareCapabilities'](null,null,_0x123aee[_0x3facb4(0x1c4)](),null,null,_0x4d4593[_0x3facb4(0x181)]));}else _0x5a1988[_0x3698a2['ZZBvm']][_0x539718][_0x3698a2['LNytX']]=helper[_0x3facb4(0x195)](null,null,_0x123aee[_0x3facb4(0x1c4)](),_0x3698a2['KymVY'](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718,_0x3698a2[_0x3facb4(0x1b4)]]),null,null);_0x44f8b0[_0x3698a2['fyOyt']]=_0x5a1988,_0x29a258[_0x3facb4(0x18f)](_0x3698a2[_0x3facb4(0x1a1)]);}const _0x428224={};_0x428224[_0x3facb4(0x16d)]=_0x4a1898;const _0x5cb23d=_0x428224,_0x2cd3e4=path[_0x3facb4(0x19e)](__dirname,_0x3698a2[_0x3facb4(0x197)]),_0x310f3f=process['cwd']();process[_0x3facb4(0x156)][_0x3698a2[_0x3facb4(0x168)]]=_0x310f3f,process['chdir'](path['dirname'](_0x4a1898));const _0x289aa4=new CodeceptJS['Workers'](null,_0x5cb23d),_0x35d73b=_0x289aa4[_0x3facb4(0x1da)](_0x1af14e),_0x482e57=testOpsHelper[_0x3facb4(0x1e1)](),_0xd32ac5=_0x29a258[_0x3facb4(0x190)](_0x1ad874=>{const _0x186216=_0x3facb4,_0x13b34d={};_0x13b34d[_0x186216(0x1a9)]=_0x44f8b0[_0x1ad874];const _0x281190={};_0x281190[_0x186216(0x1d2)]=_0x44f8b0[_0x1ad874];const _0x18cec6=_0x420eba?_0x13b34d:_0x281190,_0x382d18=_0x3698a2[_0x186216(0x1dd)](getO11yRerunPattern),_0x3add53={};_0x3add53[_0x186216(0x1d3)]=_0x18cec6;const _0x5ef60e={};_0x5ef60e['require']=_0x2cd3e4,_0x5ef60e['enabled']=!![],_0x5ef60e[_0x186216(0x1d0)]=_0x1c712d[_0x186216(0x1d9)][_0x186216(0x162)][_0x186216(0x1d0)],_0x5ef60e[_0x186216(0x1dc)]=_0x1c712d[_0x186216(0x1d9)][_0x186216(0x162)][_0x186216(0x1dc)],_0x5ef60e[_0x186216(0x1ba)]=_0x482e57,_0x5ef60e['frameworkName']=_0x123aee;const _0x5321d0={};_0x5321d0[_0x186216(0x1b7)]=_0x5ef60e;const _0xaf188a={};return _0xaf188a[_0x186216(0x193)]=_0x5321d0,helper[_0x186216(0x15d)]({},_0x5a1988,_0x3698a2[_0x186216(0x1dd)](isBrowserstackInfra)?_0x3add53:{},_0x382d18?{'grep':_0x382d18}:{},_0xaf188a);});for(const _0x55dcfb of _0xd32ac5){for(const _0x3f3787 of _0x35d73b){const _0x4b5937=_0x289aa4[_0x3facb4(0x1af)]();_0x4b5937[_0x3facb4(0x1c6)](_0x3f3787),_0x4b5937['addConfig'](_0x55dcfb);}}_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)][_0x3facb4(0x164)]['failed'],(_0x5d4a70,_0x2e22f7)=>{const _0x2dcc20=_0x3facb4;console[_0x2dcc20(0x16e)](_0x3698a2['zIPFa'],_0x5d4a70['title']);const _0x18e9ab={[_0x5d4a70[_0x2dcc20(0x170)]]:_0x5d4a70['err'][_0x2dcc20(0x1a8)]};_testErrorData[_0x2dcc20(0x18f)](_0x18e9ab);}),_0x289aa4['on'](CodeceptJS['event']['test'][_0x3facb4(0x1d1)],async _0x55f3e4=>{const _0x25047b=_0x3facb4;console[_0x25047b(0x16e)](_0x3698a2['CbnUT'],_0x55f3e4[_0x25047b(0x170)]);}),_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)]['test'][_0x3facb4(0x161)],async _0x23aec6=>{const _0x4a4684=_0x3facb4;console[_0x4a4684(0x16e)](_0x3698a2[_0x4a4684(0x1c9)],_0x23aec6[_0x4a4684(0x170)]);}),_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)][_0x3facb4(0x1c2)][_0x3facb4(0x184)],async()=>{const _0x2366a7=_0x3facb4,_0x152b56=_0x3698a2[_0x2366a7(0x1db)][_0x2366a7(0x1ac)]('|');let _0x197097=0x0;while(!![]){switch(_0x152b56[_0x197097++]){case'0':utilities[_0x2366a7(0x1a7)](_0x1c712d);continue;case'1':_0x289aa4[_0x2366a7(0x1e2)]();continue;case'2':_0x1c712d[_0x2366a7(0x186)]=_testErrorData;continue;case'3':testOpsHelper[_0x2366a7(0x1ad)]();continue;case'4':try{await TestHubHandler['stop']();}catch(_0x46eb8c){logger['debug'](_0x2366a7(0x17c)+util[_0x2366a7(0x18c)](_0x46eb8c));}continue;case'5':PerformanceTester[_0x2366a7(0x177)](PerformanceEvents['SDK_CLEANUP']);continue;}break;}});async function _0x3fbcff(){const _0x11d674=_0x3facb4;try{await _0x289aa4[_0x11d674(0x16c)](),await _0x289aa4[_0x11d674(0x17f)]();}finally{process[_0x11d674(0x185)](_0x310f3f),await _0x289aa4[_0x11d674(0x1cf)]();}}PerformanceTester[_0x3facb4(0x198)](PerformanceEvents[_0x3facb4(0x196)]),_0x3698a2[_0x3facb4(0x1c0)](_0x3fbcff);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x27849e=a3_0x31fa;function a3_0x31fa(_0x5a48da,_0x2d743d){const _0x1130e6=a3_0x1130();return a3_0x31fa=function(_0x31faa8,_0x153fed){_0x31faa8=_0x31faa8-0xb7;let _0x1a416a=_0x1130e6[_0x31faa8];return _0x1a416a;},a3_0x31fa(_0x5a48da,_0x2d743d);}function a3_0x1130(){const _0xedffe2=['4629410WrbNRV','capabilities','11Fscjel','osVersion','latest','get','828027rhucPJ','browser','accessibilityPlatform','../../helpers/logger','bstack:options','OzJIT','eLYfE','searchParams','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','platform','MOtEb','YqTGd','zeMYj','1291990NrlMMV','config','platformName','27305810UxxAbi','vdnks','includes','RzWzb','winstonLogger','JGBRO','desiredCapabilities','unknown_grid','browserVersion','dXtbg','ajrKE','RPRaO','13564KngQlW','browser_version','getDetails','eOaOd','18yRuHvt','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserWSEndpoint','bsSessionId','platformVersion','browserstack_executor','vsiEL','XmMQW','921108zyRmCJ','browserName','name','RCPtz','540519mXPxcC','104icfDMr','sessionId','aFLFK','playwright-chromium','woMqD','warn','wKnoj','MtBzF','luDWA','constructor','parse','WebDriver','2SewImc','KwHsY','CKxLv','browserstack_accessibility_automation_script','ojFvF','OGVjm'];a3_0x1130=function(){return _0xedffe2;};return a3_0x1130();}(function(_0x5d52e1,_0x55f177){const _0x5d5a1a=a3_0x31fa,_0x53a466=_0x5d52e1();while(!![]){try{const _0x1bb5a0=parseInt(_0x5d5a1a(0xcd))/0x1*(parseInt(_0x5d5a1a(0xfb))/0x2)+-parseInt(_0x5d5a1a(0xe0))/0x3*(-parseInt(_0x5d5a1a(0xdc))/0x4)+parseInt(_0x5d5a1a(0xba))/0x5+parseInt(_0x5d5a1a(0xea))/0x6+-parseInt(_0x5d5a1a(0xee))/0x7+-parseInt(_0x5d5a1a(0xef))/0x8*(-parseInt(_0x5d5a1a(0xc0))/0x9)+-parseInt(_0x5d5a1a(0xd0))/0xa*(parseInt(_0x5d5a1a(0xbc))/0xb);if(_0x1bb5a0===_0x55f177)break;else _0x53a466['push'](_0x53a466['shift']());}catch(_0x538d14){_0x53a466['push'](_0x53a466['shift']());}}}(a3_0x1130,0xbe6c9));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x27849e(0xc3))[a3_0x27849e(0xd4)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x57dcef=>{const _0x87be43=a3_0x27849e,_0x12324c={};_0x12324c[_0x87be43(0xb8)]=_0x87be43(0xc4),_0x12324c[_0x87be43(0xd9)]=_0x87be43(0xe6),_0x12324c[_0x87be43(0xf3)]=_0x87be43(0xe1),_0x12324c[_0x87be43(0xfc)]=_0x87be43(0xbd),_0x12324c['MOtEb']='os_version';const _0x5b4999=_0x12324c;if(!_0x57dcef)return null;const _0x6c4051=_0x57dcef[_0x5b4999['ojFvF']],_0x55893f=[_0x5b4999[_0x87be43(0xd9)],_0x5b4999[_0x87be43(0xf3)],_0x5b4999[_0x87be43(0xfc)],_0x5b4999[_0x87be43(0xca)]];for(const _0x56f70c of _0x55893f){if(_0x6c4051&&_0x6c4051[_0x56f70c])return _0x6c4051[_0x56f70c];else{if(_0x57dcef[_0x56f70c])return _0x57dcef[_0x56f70c];}}return null;};exports['fetchPlatformDetails']=_0x3f0741=>{const _0x5017e6=a3_0x27849e,_0x1cab37={'MtBzF':_0x5017e6(0xd7),'eLYfE':function(_0x4e86f6,_0x5210e7){return _0x4e86f6===_0x5210e7;},'vsiEL':_0x5017e6(0xfa),'OGVjm':function(_0xb1d563,_0x354f99){return _0xb1d563(_0x354f99);},'JGBRO':function(_0x4e4aee,_0x4de5c0,_0x734fe6){return _0x4e4aee(_0x4de5c0,_0x734fe6);},'ajrKE':_0x5017e6(0xce),'RzWzb':_0x5017e6(0xd6),'DALMA':function(_0x41c279,_0x90e7fb){return _0x41c279===_0x90e7fb;},'yZUjL':'Playwright','SeItx':_0x5017e6(0xc1),'RPRaO':_0x5017e6(0xe4),'CRlVz':'caps','CKxLv':function(_0x2dd8d0,_0x2aca56){return _0x2dd8d0(_0x2aca56);}};if(!_0x3f0741)return null;let _0x5607b2=global['__cloud_provider___']||_0x1cab37[_0x5017e6(0xf6)];if(_0x1cab37[_0x5017e6(0xc6)](_0x3f0741[_0x5017e6(0xf8)][_0x5017e6(0xec)],_0x1cab37[_0x5017e6(0xe8)])){const _0x1ee677=_0x3f0741['browser'];if(!_0x1ee677)return null;const _0x177701=_0x1ee677[_0x5017e6(0xbb)],_0x188e2e=_0x1cab37[_0x5017e6(0xb9)](getOSVersionFromCaps,_0x1cab37[_0x5017e6(0xd5)](nestedKeyValue,_0x3f0741,[_0x1cab37[_0x5017e6(0xda)],_0x1cab37[_0x5017e6(0xd3)]]));return{[_0x5607b2]:{'browser':_0x177701[_0x5017e6(0xeb)],'browser_version':_0x177701['browserVersion'],'capabilities':_0x177701,'platform':_0x177701[_0x5017e6(0xcf)],'platform_version':_0x177701[_0x5017e6(0xe6)]||_0x188e2e,'product':_0x1cab37[_0x5017e6(0xb9)](getObservabilityLinkedProductName,_0x177701),'session_id':_0x1ee677[_0x5017e6(0xf0)]}};}else{if(_0x1cab37['DALMA'](_0x3f0741[_0x5017e6(0xf8)][_0x5017e6(0xec)],_0x1cab37['yZUjL'])){const _0x344c4c=PlaywrightSessionDetails[_0x5017e6(0xde)]();_0x5607b2=_0x344c4c['cloudProvider']||_0x5607b2;const _0x660ec5=_0x1cab37[_0x5017e6(0xd5)](nestedKeyValue,_0x3f0741,[_0x1cab37[_0x5017e6(0xda)],_0x1cab37['SeItx'],_0x1cab37[_0x5017e6(0xdb)]]),_0x2fd1ad=_0x660ec5?JSON[_0x5017e6(0xf9)](new URL(_0x660ec5)[_0x5017e6(0xc7)][_0x5017e6(0xbf)](_0x1cab37['CRlVz'])):{};return{[_0x5607b2]:{'browser':_0x344c4c[_0x5017e6(0xc1)]||_0x2fd1ad[_0x5017e6(0xeb)],'browser_version':_0x344c4c[_0x5017e6(0xdd)]||_0x2fd1ad[_0x5017e6(0xdd)],'capabilities':_0x2fd1ad,'platform':_0x344c4c[_0x5017e6(0xc9)],'platform_version':_0x344c4c[_0x5017e6(0xe1)],'product':_0x1cab37[_0x5017e6(0xfd)](getObservabilityLinkedProductName,_0x2fd1ad),'session_id':_0x344c4c[_0x5017e6(0xe5)]}};}}},exports['processWebDriverConfig']=_0x16df04=>{const _0x3aae7e=a3_0x27849e,_0x497c02={'zeMYj':function(_0x3ea5d2){return _0x3ea5d2();},'YqTGd':function(_0x2dac7c,_0x5cf72e){return _0x2dac7c===_0x5cf72e;},'tXXya':_0x3aae7e(0xbe),'XmMQW':function(_0x8f688f,_0x2ac27f){return _0x8f688f>_0x2ac27f;},'eOaOd':function(_0x5487f9,_0x131ad2){return _0x5487f9(_0x131ad2);},'luDWA':_0x3aae7e(0xc8),'lWUyq':function(_0x33a0ac,_0x38daf4){return _0x33a0ac===_0x38daf4;},'OzJIT':'chrome','aFLFK':function(_0x559de2,_0x17c72f){return _0x559de2===_0x17c72f;},'RCPtz':_0x3aae7e(0xf2),'NwfdO':_0x3aae7e(0xe3),'vdnks':_0x3aae7e(0xe2)};if(_0x497c02[_0x3aae7e(0xcc)](isAccessibilityAutomationSession)){const _0x38c57c=_0x16df04[_0x3aae7e(0xc1)],_0x2a33c3=_0x38c57c[_0x3aae7e(0xbb)];global[_0x3aae7e(0xc2)]=!![],!(_0x497c02[_0x3aae7e(0xcb)](_0x2a33c3['browserVersion'],_0x497c02['tXXya'])||_0x497c02[_0x3aae7e(0xe9)](_0x497c02[_0x3aae7e(0xdf)](parseInt,_0x2a33c3[_0x3aae7e(0xd8)]),0x5e))&&(logger[_0x3aae7e(0xf4)](_0x497c02[_0x3aae7e(0xf7)]),global[_0x3aae7e(0xc2)]=![]),!(_0x497c02['lWUyq'](_0x2a33c3['browserName'],_0x497c02[_0x3aae7e(0xc5)])||_0x497c02[_0x3aae7e(0xf1)](_0x2a33c3['browserName'],_0x497c02[_0x3aae7e(0xed)]))&&(logger['warn'](_0x497c02['NwfdO']),global['accessibilityPlatform']=![]),!_0x497c02[_0x3aae7e(0xdf)](isUndefined,_0x2a33c3['deviceName'])&&(logger[_0x3aae7e(0xf4)](_0x497c02[_0x3aae7e(0xd1)]),global[_0x3aae7e(0xc2)]=![]);}},exports['shouldPatchExecuteScript']=_0x3f5c02=>{const _0x49a1fb=a3_0x27849e,_0x649b37={};_0x649b37['jOkFw']=_0x49a1fb(0xe7),_0x649b37[_0x49a1fb(0xf5)]=_0x49a1fb(0xb7);const _0x59912e=_0x649b37;if(!_0x3f5c02)return![];return!_0x3f5c02['includes'](_0x59912e['jOkFw'])&&!_0x3f5c02[_0x49a1fb(0xd2)](_0x59912e['wKnoj']);};
|
|
@@ -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_0x453e(_0x3289ba,_0x536813){const _0x154c7e=a4_0x154c();return a4_0x453e=function(_0x453eec,_0x1f4170){_0x453eec=_0x453eec-0xa8;let _0x33f682=_0x154c7e[_0x453eec];return _0x33f682;},a4_0x453e(_0x3289ba,_0x536813);}const a4_0x267f91=a4_0x453e;(function(_0x5586fe,_0x66f789){const _0x458738=a4_0x453e,_0x12db0b=_0x5586fe();while(!![]){try{const _0x433a1e=parseInt(_0x458738(0xea))/0x1+-parseInt(_0x458738(0xbd))/0x2+parseInt(_0x458738(0x139))/0x3+-parseInt(_0x458738(0xbc))/0x4+-parseInt(_0x458738(0x199))/0x5*(-parseInt(_0x458738(0x18b))/0x6)+-parseInt(_0x458738(0x188))/0x7*(parseInt(_0x458738(0xd8))/0x8)+-parseInt(_0x458738(0xac))/0x9*(parseInt(_0x458738(0x147))/0xa);if(_0x433a1e===_0x66f789)break;else _0x12db0b['push'](_0x12db0b['shift']());}catch(_0x2b0a17){_0x12db0b['push'](_0x12db0b['shift']());}}}(a4_0x154c,0x7696a));const path=require(a4_0x267f91(0x142)),fs=require('fs'),{v4:uuidv4}=require(a4_0x267f91(0x13d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x267f91(0x17b)),testOpsHelper=require(a4_0x267f91(0x140)),{getTestEnv}=require(a4_0x267f91(0x11e)),{FRAMEWORKS}=require(a4_0x267f91(0xc6)),logger=require(a4_0x267f91(0x11b))[a4_0x267f91(0x10e)],SessionHandler=require(a4_0x267f91(0x116)),RequestQueueHandler=require(a4_0x267f91(0xf0)),PlaywrightSessionDetails=require(a4_0x267f91(0x17d)),debug=testOpsHelper[a4_0x267f91(0x181)],{processAccessibilityCaps}=require(a4_0x267f91(0xb2)),Constants=require(a4_0x267f91(0x154)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x267f91(0x16e)),STATE_PASSED=a4_0x267f91(0x174),STATE_FAILED=a4_0x267f91(0x105),a4_0x2af862={};function a4_0x154c(){const _0x4c5902=['iZPYm','cciCA','kSOog','SXljq','399126OXvxLl','__platformCaps','TestRunFinished','474NMHpxA','groups','resetSkipTestHooks','oYNtp','file','_beforeAll','toString','HOOK_RUN_FINISHED','now','getTime','success','RYTQi','failure','pending','54875aYyWkx','ZRmmS','fsqql','UKHBH','mnEwy','yTAMy','IEtHG','test_run_uuid','hookAnalyticsId','LCVHl','ltCXK','mapTestHooks','connectOverCDP','TQkvB','387npAUJX','ptfJr','dltHp','length','lTUGQ','startedAt','../playwright/accessibility-helper','bddStepFinish','Kmgue','HookRunStarted','RDqkY','toISOString','eFDgc','getHooksForTest','fullTitle','suites','1994396NUTetA','124610maXNXq','pskBO','HOOK_RUN_STARTED','failed\x20to\x20get\x20root\x20parent\x20file\x20','launch','duration','defineProperty','GNLHG','join','../../helpers/test-observability/constants','HORli','xhCuz','naedc','relative','vHiwu','PathHelper','QhJwR','QVIbC','prefixTestPath','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','bddSteps','TestRunStarted','WqaRv','captureEvent','enabled','wOByA','O11yHelper','40QwiglE','sBQfj','getHookType','gOGtx','patchConsoleLogger','yjwHe','accessibilityPlatform','lib','lPRup','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','cwd','toLowerCase','XOqoq','.git','connect','bs:addLog:','forEach','SpXZR','691953xxZFpN','4|0|3|5|2|1','ctx','TEST_RUN_FINISHED','type','xlvwG','../../helpers/test-observability/requestQueueHandler','hook','status','BzvZo','errorsDetailed','LnHqq','apply','err','test_run','prototype','fjPOQ','sTPVf','bind','hLfTE','concat','qZmPJ','_afterEach','then','driver','uploadEventData','hook_run_uuid','failed','constructor','fEmLS','getFailureType','feature','frameworkName','push','bfPtN','mDfEg','winstonLogger','event_type','failure_reason_expanded','uAjEn','CBTSessionCreated','getRootParentFile','setupBrowserDetails','name','../../helpers/test-observability/sessionHandler','wPvSz','lzoHn','XApuH','mYGID','../../helpers/logger','UEvwI','lpFby','../mocha/test-observability/mochaUtils','markedStatus','currentTest','failureData','retryOf','gLdTg','cwWeY','LogCreated','currentHook','HookRunFinished','bWmPW','string','BrowserType','finished_at','IcCpJ','skipped','sbxKt','SfGXV','uoUtD','sdXST','_beforeEach','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_STARTED','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','browserType.js','shutdown','exports','291309igAoIS','statSync','_testEnv','EhDlN','uuid','codeceptjs','dnKes','../../helpers/test-observability/utils','keyword','path','PllMU','Playwright','toUpperCase','find','75430LZRYQH','TDGeT','_afterAll','javascript','finished','STATE_PASSED','liARo','nrdvb','bkehD','gtcTU','test','dImHP','result','../utils/constants','qLbTr','PQZQC','\x20with\x20error\x20:\x20','failure_backtrace','tcYty','LuHbJ','OwDIS','coHgK','JQxhC','integrations','PLAYWRIGHT_HUB_URL','parent','config','hook_type','meta','NEphl','removeAllListeners','yKokM','location_prefix','wsEndpoint','findGitConfig','vBcwu','hook_run','getCBTInfo','getHierarchy','../../helpers/testhub/utils.js','started','title','Failed\x20to\x20parse\x20wsendpoint\x20','client','tBZab','passed','testAnalyticsId','CODECEPT','body','stop','TEST_RUN_SKIPPED','stepAnalyticsId','../../helpers/helper','initializeBddStep','../playwright/sessionDetails','tags','jeCxB','dirname','debug','appendTestItemLog','backtrace'];a4_0x154c=function(){return _0x4c5902;};return a4_0x154c();}a4_0x2af862[a4_0x267f91(0x134)]=a4_0x267f91(0xd2),a4_0x2af862[a4_0x267f91(0xed)]=a4_0x267f91(0x18a),a4_0x2af862[a4_0x267f91(0x179)]='TestRunSkipped',a4_0x2af862[a4_0x267f91(0xbf)]=a4_0x267f91(0xb5),a4_0x2af862[a4_0x267f91(0x192)]=a4_0x267f91(0x127);const TEST_EVENTS=a4_0x2af862,parseEvent=_0x5006f1=>{const _0x2c4bdb=a4_0x267f91,_0x30efa1={};_0x30efa1[_0x2c4bdb(0xe4)]=function(_0x2ea50b,_0x38e344){return _0x2ea50b<_0x38e344;},_0x30efa1[_0x2c4bdb(0x118)]=function(_0x5d897b,_0x26948f){return _0x5d897b===_0x26948f;},_0x30efa1[_0x2c4bdb(0xc7)]=_0x2c4bdb(0x151),_0x30efa1['UKHBH']=function(_0x263916,_0x1ba06e){return _0x263916===_0x1ba06e;},_0x30efa1[_0x2c4bdb(0x19e)]='hook',_0x30efa1['hLfTE']=function(_0x24954e,_0x188910){return _0x24954e===_0x188910;},_0x30efa1[_0x2c4bdb(0x196)]='skipped',_0x30efa1[_0x2c4bdb(0xf5)]=function(_0x266f16,_0x582c41){return _0x266f16===_0x582c41;},_0x30efa1[_0x2c4bdb(0xcb)]=_0x2c4bdb(0x16f),_0x30efa1[_0x2c4bdb(0x173)]=function(_0x40d6c8,_0x11c67c){return _0x40d6c8===_0x11c67c;},_0x30efa1[_0x2c4bdb(0x131)]=_0x2c4bdb(0x14b);const _0x5bd611=_0x30efa1,_0x25e19e=_0x5006f1['match'](/^(.*)Run(.*)$/);if(!_0x25e19e)return null;if(_0x5bd611[_0x2c4bdb(0xe4)](_0x25e19e[_0x2c4bdb(0xaf)],0x3))return null;const _0x109470=_0x25e19e[0x1]['toLowerCase'](),_0x5c8afe=_0x25e19e[0x2][_0x2c4bdb(0xe3)]();return{'test':_0x5bd611[_0x2c4bdb(0x118)](_0x109470,_0x5bd611[_0x2c4bdb(0xc7)]),'hook':_0x5bd611[_0x2c4bdb(0x19c)](_0x109470,_0x5bd611[_0x2c4bdb(0x19e)]),'skipped':_0x5bd611[_0x2c4bdb(0xfd)](_0x5c8afe,_0x5bd611[_0x2c4bdb(0x196)]),'started':_0x5bd611[_0x2c4bdb(0xf5)](_0x5c8afe,_0x5bd611[_0x2c4bdb(0xcb)]),'finished':_0x5bd611[_0x2c4bdb(0x173)](_0x5c8afe,_0x5bd611['sdXST'])};},mockPWBrowserType=_0x54364d=>{const _0x305ae2=a4_0x267f91,_0x271ad8={'gtcTU':function(_0x48c510,_0x1f01c6){return _0x48c510===_0x1f01c6;},'yTwxW':_0x305ae2(0x129),'XApuH':function(_0x4560c0,_0x12ad5d,_0x456ef1){return _0x4560c0(_0x12ad5d,_0x456ef1);},'NEphl':_0x305ae2(0x168),'bkehD':function(_0x4d2823,_0x3c4439){return _0x4d2823(_0x3c4439);},'TQkvB':'browserstack','mDfEg':function(_0x5ca334,_0xd7bf04,_0x43d109){return _0x5ca334(_0xd7bf04,_0x43d109);},'JQxhC':function(_0x17f0fe,_0x43bcf8){return _0x17f0fe(_0x43bcf8);},'IcCpJ':_0x305ae2(0xdf),'uAjEn':_0x305ae2(0x172),'SfGXV':_0x305ae2(0x136),'wOByA':function(_0x439f96,_0x3050c2){return _0x439f96(_0x3050c2);},'PQZQC':_0x305ae2(0x133),'jeCxB':_0x305ae2(0xe6),'ZRmmS':_0x305ae2(0xc1)},_0xaf940e=path[_0x305ae2(0xc5)](_0x271ad8[_0x305ae2(0x12c)],_0x271ad8[_0x305ae2(0x111)],_0x271ad8[_0x305ae2(0x12f)]),_0x3c7df8=_0x271ad8[_0x305ae2(0x14f)](importFileFromPWCore,_0xaf940e);if(!_0x3c7df8){_0x271ad8[_0x305ae2(0xd6)](debug,_0x271ad8[_0x305ae2(0x156)]);return;}const _0x3c5e5a=_0x3c7df8[_0x305ae2(0x12a)],_0x173174=_0x3c5e5a[_0x305ae2(0xf9)];if(_0x173174['obsBrowserTypeMockApplied'])return;const _0x47988b=_0x173174[_0x305ae2(0xe6)];Object[_0x305ae2(0xc3)](_0x173174,_0x271ad8[_0x305ae2(0x17f)],{'get':function(){const _0x8147b5=_0x305ae2,_0x495606={'PStmp':function(_0x3ab22d,_0x1333bd){const _0x18617f=a4_0x453e;return _0x271ad8[_0x18617f(0x150)](_0x3ab22d,_0x1333bd);},'IjfUr':_0x271ad8['yTwxW'],'UEvwI':function(_0x10a79a,_0x4eb91c,_0x317fa4){const _0x3f6680=a4_0x453e;return _0x271ad8[_0x3f6680(0x119)](_0x10a79a,_0x4eb91c,_0x317fa4);},'sbxKt':_0x271ad8[_0x8147b5(0x164)],'DyjEh':function(_0x3f0ce2,_0x27d0f6){const _0x362fbe=_0x8147b5;return _0x271ad8[_0x362fbe(0x14f)](_0x3f0ce2,_0x27d0f6);},'dImHP':_0x271ad8[_0x8147b5(0xab)],'EYyYd':function(_0x1910d6,_0x1ab6ef,_0x8bc3be){const _0x541411=_0x8147b5;return _0x271ad8[_0x541411(0x10d)](_0x1910d6,_0x1ab6ef,_0x8bc3be);},'BzvZo':function(_0x9ae12,_0x24c655){const _0x4ec2a6=_0x8147b5;return _0x271ad8[_0x4ec2a6(0x15d)](_0x9ae12,_0x24c655);}};return async function _0x55e71d(_0x5c2fc4,_0x26d242){const _0x24ae48=_0x8147b5,_0x24ac6d=_0x495606[_0x24ae48(0x11c)](nestedKeyValue,_0x5c2fc4,[_0x495606[_0x24ae48(0x12e)]])||_0x5c2fc4;let _0x45302a=null,_0x3a052f=null;try{[_0x3a052f,_0x45302a]=_0x24ac6d?_0x495606['DyjEh'](parseWSEndpoint,_0x24ac6d):[null,null],global[_0x24ae48(0x189)]=_0x45302a,_0x3a052f['includes'](_0x495606['dImHP'])&&(global['__cloud_provider___']=_0x495606[_0x24ae48(0x152)]);}catch(_0x396458){logger[_0x24ae48(0x181)](_0x24ae48(0x171)+_0x24ac6d+'\x20'+_0x396458);}_0x495606['EYyYd'](processAccessibilityCaps,_0x45302a,_0x3a052f);if(global[_0x24ae48(0xde)]){const _0x16c52b=await _0x173174[_0x24ae48(0xaa)][_0x24ae48(0xf6)](this,[''+Constants[_0x24ae48(0x15f)]+_0x495606[_0x24ae48(0xf3)](encodeURIComponent,JSON['stringify'](_0x45302a))]);return PlaywrightSessionDetails[_0x24ae48(0x114)](_0x16c52b,_0x54364d,_0x24ac6d),_0x16c52b;}return _0x47988b[_0x24ae48(0xf6)](this,arguments)[_0x24ae48(0x101)](_0x14a289=>{const _0x242f34=_0x24ae48;let _0x2c03c1=_0x5c2fc4[_0x242f34(0x168)];return _0x495606['PStmp'](typeof _0x5c2fc4,_0x495606['IjfUr'])&&(_0x2c03c1=_0x5c2fc4),PlaywrightSessionDetails[_0x242f34(0x114)](_0x14a289,_0x54364d,_0x2c03c1),_0x14a289;});};}});const _0x3f7a1b=_0x173174[_0x305ae2(0xc1)];Object['defineProperty'](_0x173174,_0x271ad8[_0x305ae2(0x19a)],{'get':function(){return async function _0x46528d(){return _0x3f7a1b['apply'](this,arguments)['then'](_0x50cf97=>{const _0x441fac=a4_0x453e;return PlaywrightSessionDetails[_0x441fac(0x114)](_0x50cf97,null),_0x50cf97;});};}});};class O11yHelper{[a4_0x267f91(0x120)]=null;[a4_0x267f91(0x126)]=null;[a4_0x267f91(0xd5)]=![];[a4_0x267f91(0x10a)]=![];constructor(_0x325940,_0x251644){const _0xa8a3c2=a4_0x267f91,_0x56d91e={'nrdvb':_0xa8a3c2(0xeb),'WIFmx':function(_0x3de3af,_0x7a9baa){return _0x3de3af===_0x7a9baa;},'QhJwR':_0xa8a3c2(0x144),'coHgK':function(_0x4b3e49,_0x585146){return _0x4b3e49(_0x585146);},'WqaRv':function(_0x4603d0){return _0x4603d0();}},_0xa9b8=_0x56d91e[_0xa8a3c2(0x14e)]['split']('|');let _0x2fc01c=0x0;while(!![]){switch(_0xa9b8[_0x2fc01c++]){case'0':this[_0xa8a3c2(0x10a)]=_0x251644[_0xa8a3c2(0x10a)];continue;case'1':this[_0xa8a3c2(0x102)]&&_0x56d91e['WIFmx'](this[_0xa8a3c2(0x102)][_0xa8a3c2(0x106)][_0xa8a3c2(0x115)],_0x56d91e[_0xa8a3c2(0xcd)])&&_0x56d91e[_0xa8a3c2(0x15c)](mockPWBrowserType,null);continue;case'2':this['_paths']=new testOpsHelper[(_0xa8a3c2(0xcc))]({'cwd':process[_0xa8a3c2(0xe2)]()},this[_0xa8a3c2(0x13b)][_0xa8a3c2(0x167)]);continue;case'3':this[_0xa8a3c2(0x102)]=_0x325940;continue;case'4':this[_0xa8a3c2(0xd5)]=_0x56d91e[_0xa8a3c2(0xd3)](shouldProcessEventForTesthub);continue;case'5':this[_0xa8a3c2(0x13b)]=_0x56d91e[_0xa8a3c2(0xd3)](getTestEnv);continue;}break;}}['start'](){const _0x409584=a4_0x267f91;if(!this[_0x409584(0xd5)])return;testOpsHelper[_0x409584(0xdc)](),process[_0x409584(0x165)](_0x409584(0xe7)+process['pid']),process['on']('bs:addLog:'+process['pid'],this[_0x409584(0x182)][_0x409584(0xfc)](this));}async[a4_0x267f91(0x178)](){const _0x574284=a4_0x267f91;await RequestQueueHandler['getInstance']()[_0x574284(0x137)]();}async[a4_0x267f91(0x182)](_0x447f1e){const _0x174af8=a4_0x267f91,_0xaa72fd={'LCVHl':_0x174af8(0x125),'yKokM':function(_0x354374,_0xea1e3c){return _0x354374(_0xea1e3c);}};try{this['currentHook']&&!this[_0x174af8(0x126)][_0x174af8(0x11f)]&&(_0x447f1e[_0x174af8(0x104)]=this[_0x174af8(0x126)]['hookAnalyticsId']);!_0x447f1e[_0x174af8(0x104)]&&this[_0x174af8(0x120)]&&!this[_0x174af8(0x120)][_0x174af8(0x11f)]&&(_0x447f1e[_0x174af8(0x1a0)]=this['currentTest'][_0x174af8(0x175)]);if(_0x447f1e[_0x174af8(0x104)]||_0x447f1e['test_run_uuid']){const _0x149b0d={};_0x149b0d[_0x174af8(0x10f)]=_0xaa72fd[_0x174af8(0x1a2)],_0x149b0d['logs']=[_0x447f1e],await SessionHandler[_0x174af8(0x103)](_0x149b0d);}}catch(_0x556b52){_0xaa72fd[_0x174af8(0x166)](debug,_0x174af8(0xe1)+_0x556b52);}}async['sendCBTInfo'](_0x18d29f){const _0x5acdb1=a4_0x267f91,_0x538275={'qpFyo':_0x5acdb1(0x112),'gLdTg':function(_0x35f15f,_0x394333){return _0x35f15f(_0x394333);}};if(!this[_0x5acdb1(0xd5)])return;const _0x47a755=this[_0x5acdb1(0x16c)](this['driver']);try{const _0x558dc1={};_0x558dc1[_0x5acdb1(0x13d)]=_0x18d29f,_0x558dc1['integrations']=_0x47a755;const _0x879d58=_0x558dc1,_0x4ff59a={};_0x4ff59a['event_type']=_0x538275['qpFyo'],_0x4ff59a[_0x5acdb1(0xf8)]=_0x879d58,await SessionHandler[_0x5acdb1(0x103)](_0x4ff59a);}catch(_0x1a835b){_0x538275[_0x5acdb1(0x123)](debug,_0x5acdb1(0x135)+_0x1a835b);}}[a4_0x267f91(0x16c)](_0x3e32ae){const _0x964248=a4_0x267f91,_0x156caf={'dltHp':function(_0x6346ed,_0x220786){return _0x6346ed(_0x220786);}};return _0x156caf[_0x964248(0xae)](fetchPlatformDetails,_0x3e32ae);}['resetSkipTestHooks']=_0x314588=>{const _0x509442=a4_0x267f91,_0x3730a4={};_0x3730a4[_0x509442(0xb8)]='_beforeEach',_0x3730a4[_0x509442(0x124)]='_afterEach';const _0x43a0b2=_0x3730a4;if(!_0x314588||!_0x314588['parent'])return;[_0x43a0b2[_0x509442(0xb8)],_0x43a0b2[_0x509442(0x124)]][_0x509442(0xe8)](_0xeb779=>{const _0x5c76ab=_0x509442,_0x261126=_0x314588[_0x5c76ab(0x160)][_0xeb779];_0x261126['forEach'](_0x9f60fe=>{const _0x5aea07=_0x5c76ab;_0x9f60fe[_0x5aea07(0x1a1)]&&(_0x9f60fe[_0x5aea07(0x1a1)]=null);});});};['mapTestHooks'](_0x637701){const _0x1a5429=a4_0x267f91,_0x339c0d={'fEmLS':_0x1a5429(0x13e),'ZqENT':function(_0x4e5ab2){return _0x4e5ab2();},'MDybd':function(_0x97936f,_0xf2cd0){return _0x97936f===_0xf2cd0;},'EhDlN':_0x1a5429(0x100),'mnEwy':function(_0x15aeb6){return _0x15aeb6();},'WZwwC':_0x1a5429(0x190),'oYNtp':'_afterAll','sTPVf':_0x1a5429(0x132)};if(!_0x637701||!_0x637701[_0x1a5429(0x160)])return;[_0x339c0d['WZwwC'],_0x339c0d[_0x1a5429(0x18e)],_0x339c0d[_0x1a5429(0xfb)],_0x339c0d[_0x1a5429(0x13c)]][_0x1a5429(0xe8)](_0xafdfc7=>{const _0x44c332=_0x1a5429,_0x3d9bba={'xhCuz':_0x339c0d[_0x44c332(0x107)],'dnKes':function(_0xd83ccc){return _0x339c0d['ZqENT'](_0xd83ccc);},'QVIbC':function(_0xf7c45a,_0x2faaf7){return _0x339c0d['MDybd'](_0xf7c45a,_0x2faaf7);},'eYoxe':_0x339c0d[_0x44c332(0x13c)],'Kmgue':function(_0x1e6171){const _0x233805=_0x44c332;return _0x339c0d[_0x233805(0x19d)](_0x1e6171);}},_0x30bf0f=_0x637701[_0x44c332(0x160)][_0xafdfc7]||[];_0x30bf0f[_0x44c332(0xe8)](_0x56ba9d=>{const _0x468d3f=_0x44c332;if(_0x56ba9d[_0x468d3f(0x170)]['includes'](_0x3d9bba[_0x468d3f(0xc8)]))return;if(!_0x56ba9d[_0x468d3f(0x1a1)])_0x56ba9d['hookAnalyticsId']=_0x3d9bba[_0x468d3f(0x13f)](uuidv4);else _0x56ba9d[_0x468d3f(0x11f)]&&_0x3d9bba[_0x468d3f(0xce)](_0xafdfc7,_0x3d9bba['eYoxe'])&&(_0x56ba9d[_0x468d3f(0x1a1)]=_0x3d9bba[_0x468d3f(0xb4)](uuidv4),delete _0x56ba9d[_0x468d3f(0x11f)]);});}),this['mapTestHooks'](_0x637701['parent']);}[a4_0x267f91(0xb9)](_0x22cd7b){const _0x30e5ab=a4_0x267f91,_0x36d8d0={};_0x36d8d0[_0x30e5ab(0xdd)]=_0x30e5ab(0x190),_0x36d8d0[_0x30e5ab(0xc9)]=_0x30e5ab(0x149),_0x36d8d0[_0x30e5ab(0xff)]='_beforeEach',_0x36d8d0[_0x30e5ab(0xef)]='_afterEach';const _0x2db1e4=_0x36d8d0;if(!_0x22cd7b||!_0x22cd7b['parent'])return[];const _0x25c760=[];return[_0x2db1e4['yjwHe'],_0x2db1e4[_0x30e5ab(0xc9)],_0x2db1e4[_0x30e5ab(0xff)],_0x2db1e4[_0x30e5ab(0xef)]]['forEach'](_0x36280f=>{const _0x328da4=_0x22cd7b['parent'][_0x36280f]||[];_0x328da4['forEach'](_0x5aa487=>{const _0x2c2c5c=a4_0x453e;_0x5aa487[_0x2c2c5c(0x1a1)]&&_0x25c760[_0x2c2c5c(0x10b)](_0x5aa487[_0x2c2c5c(0x1a1)]);});}),[][_0x30e5ab(0xfe)](_0x25c760,this[_0x30e5ab(0xb9)](_0x22cd7b[_0x30e5ab(0x160)]));}[a4_0x267f91(0xda)](_0x192b70){const _0x37f54=a4_0x267f91,_0x1cef08=/^"(?<hook>.*)" hook:.*$/,_0x261bc7=_0x192b70['title'],_0x2ed95f=_0x261bc7['match'](_0x1cef08);if(_0x2ed95f&&_0x2ed95f[_0x37f54(0x18c)])return _0x2ed95f[_0x37f54(0x18c)][_0x37f54(0xf1)][_0x37f54(0x145)]()['replace']('\x20','_');return null;}[a4_0x267f91(0x169)](_0x2a5944){const _0x6f2e5b=a4_0x267f91,_0x5be6c3={};_0x5be6c3[_0x6f2e5b(0xdb)]=function(_0x24f0af,_0x41e5f9){return _0x24f0af===_0x41e5f9;},_0x5be6c3['qLbTr']=function(_0x2cc0ab,_0x198645){return _0x2cc0ab===_0x198645;},_0x5be6c3['mYGID']=_0x6f2e5b(0xe5),_0x5be6c3[_0x6f2e5b(0x14d)]=_0x6f2e5b(0x161);const _0x3e10ea=_0x5be6c3,_0x5c5085=path['sep'];if(_0x3e10ea['gOGtx'](_0x2a5944,null)||_0x3e10ea[_0x6f2e5b(0x155)](_0x2a5944,'')||_0x3e10ea['gOGtx'](_0x2a5944,_0x5c5085)||_0x3e10ea[_0x6f2e5b(0x155)](_0x2a5944,path[_0x6f2e5b(0x180)](_0x2a5944)))return null;try{return fs[_0x6f2e5b(0x13a)](path[_0x6f2e5b(0xc5)](_0x2a5944,_0x3e10ea[_0x6f2e5b(0x11a)],_0x3e10ea[_0x6f2e5b(0x14d)])),_0x2a5944;}catch(_0x2fed38){const _0xdf0225=path[_0x6f2e5b(0x180)](_0x2a5944);return this[_0x6f2e5b(0x169)](_0xdf0225);}}['getRootParentFile'](_0x4c7a16){const _0x24c904=a4_0x267f91,_0x221d81={};_0x221d81[_0x24c904(0x159)]=function(_0x4fff76,_0x4d2993){return _0x4fff76>_0x4d2993;};const _0x5c58e3=_0x221d81;if(_0x4c7a16[_0x24c904(0x18f)])return _0x4c7a16['file'];if(_0x4c7a16[_0x24c904(0xec)]){const _0x20c19b=_0x4c7a16['ctx'][_0x24c904(0x120)]?this[_0x24c904(0x113)](_0x4c7a16[_0x24c904(0xec)][_0x24c904(0x120)]):null;if(_0x20c19b)return _0x20c19b;}if(_0x4c7a16[_0x24c904(0x160)]){const _0x396588=this[_0x24c904(0x113)](_0x4c7a16['parent'])||(_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)]&&_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)][_0x24c904(0x120)]?this['getRootParentFile'](_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)][_0x24c904(0x120)]):null);if(_0x396588)return _0x396588;_0x4c7a16[_0x24c904(0x160)]['suites']&&_0x5c58e3[_0x24c904(0x159)](_0x4c7a16[_0x24c904(0x160)]['suites'][_0x24c904(0xaf)],0x0)&&_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xbb)][_0x24c904(0xe8)](_0x5e99c0=>{const _0x439be6=_0x24c904,_0x1a7e54=_0x5e99c0[_0x439be6(0xec)]?this[_0x439be6(0x113)](_0x5e99c0[_0x439be6(0xec)]):null;if(_0x1a7e54)return _0x1a7e54;});}return null;}['getHierarchy'](_0x92493f){const _0x309adb=a4_0x267f91,_0x445f22={};_0x445f22['xWvRp']=function(_0x4a667a,_0x592797){return _0x4a667a!==_0x592797;};const _0x36bceb=_0x445f22,_0x366a98=[];if(_0x92493f&&_0x92493f[_0x309adb(0x160)]){let _0x55cb4e=_0x92493f[_0x309adb(0x160)];while(_0x55cb4e&&_0x36bceb['xWvRp'](_0x55cb4e[_0x309adb(0x170)],'')){_0x366a98[_0x309adb(0x10b)](_0x55cb4e[_0x309adb(0x170)]),_0x55cb4e=_0x55cb4e[_0x309adb(0x160)];}}return _0x366a98;}[a4_0x267f91(0xd4)](_0xafde56,_0x35cc13,_0x496ad8=undefined){const _0x3d45b3=a4_0x267f91,_0x1ffb8e={'sBQfj':function(_0x40af60,_0x451043){return _0x40af60(_0x451043);},'ptfJr':function(_0x2a7b9c){return _0x2a7b9c();},'zUJHd':function(_0x42ea4c){return _0x42ea4c();},'wPvSz':function(_0x3566b3){return _0x3566b3();},'lpFby':'util','ltCXK':_0x3d45b3(0xf7),'uoUtD':function(_0x18595b,_0x362808){return _0x18595b!==_0x362808;},'cciCA':function(_0x26d766,_0x3493e5){return _0x26d766!==_0x3493e5;},'TDGeT':'File\x20path\x20could\x20not\x20be\x20found','RDqkY':_0x3d45b3(0x198),'fsqql':_0x3d45b3(0x105),'bfPtN':_0x3d45b3(0x174),'fjPOQ':'skipped','LuHbJ':_0x3d45b3(0x14a),'NdRaa':function(_0x214012,_0x176041){return _0x214012-_0x176041;},'OwDIS':function(_0x611040,_0x2ee907,_0x3b2631,_0x367c19,_0x1cca40){return _0x611040(_0x2ee907,_0x3b2631,_0x367c19,_0x1cca40);},'cVtZO':_0x3d45b3(0x15e),'rhQFS':_0x3d45b3(0x163),'JLEvT':_0x3d45b3(0x197),'PllMU':_0x3d45b3(0x158),'lTUGQ':_0x3d45b3(0x183),'iZPYm':_0x3d45b3(0x110),'SXljq':'expanded','pskBO':function(_0x5a0083,_0x44f326){return _0x5a0083===_0x44f326;},'GNLHG':_0x3d45b3(0x16b),'kSOog':'test_run'};if(!this[_0x3d45b3(0xd5)])return;try{if(_0x35cc13['fn']&&_0x35cc13['fn']['toString']()['match'](/browserstack internal helper hook/))return;const _0x5aa301=_0x1ffb8e['sBQfj'](parseEvent,_0xafde56);if(!_0x5aa301)return;if(_0x5aa301[_0x3d45b3(0x151)]){this[_0x3d45b3(0x120)]=_0x35cc13,this[_0x3d45b3(0x126)]=null;if(_0x5aa301[_0x3d45b3(0x16f)]||_0x5aa301['skipped']){_0x35cc13[_0x3d45b3(0xb1)]=new Date(),_0x35cc13['markedStatus']=![];if(!_0x35cc13[_0x3d45b3(0x175)])_0x35cc13['testAnalyticsId']=_0x1ffb8e['ptfJr'](uuidv4);else _0x35cc13[_0x3d45b3(0x11f)]&&(!_0x35cc13[_0x3d45b3(0x122)]&&(_0x35cc13['retryOf']=_0x35cc13[_0x3d45b3(0x175)]),_0x35cc13[_0x3d45b3(0x175)]=_0x1ffb8e[_0x3d45b3(0xad)](uuidv4));}}else{if(_0x5aa301[_0x3d45b3(0xf1)]){this[_0x3d45b3(0x126)]=_0x35cc13;if(_0x5aa301[_0x3d45b3(0x16f)]){_0x35cc13['startedAt']=new Date(),_0x35cc13[_0x3d45b3(0x11f)]=![];if(!_0x35cc13['hookAnalyticsId'])_0x35cc13[_0x3d45b3(0x1a1)]=_0x1ffb8e['zUJHd'](uuidv4);else _0x35cc13[_0x3d45b3(0x1a1)]&&_0x35cc13['markedStatus']&&(_0x35cc13[_0x3d45b3(0x1a1)]=_0x1ffb8e[_0x3d45b3(0x117)](uuidv4));}}}if(_0x5aa301[_0x3d45b3(0x14b)]&&_0x35cc13[_0x3d45b3(0x11f)])return;let _0x14bc0a;try{_0x14bc0a=this[_0x3d45b3(0x113)](_0x35cc13);}catch(_0x3b67f8){logger['debug'](_0x3d45b3(0xc0)+_0x3b67f8),_0x14bc0a=null;}const _0x36f9fe=_0x1ffb8e[_0x3d45b3(0xd9)](require,_0x1ffb8e[_0x3d45b3(0x11d)]);let _0x1066ad=[];_0x496ad8&&(_0x1066ad=[_0x496ad8,_0x1ffb8e[_0x3d45b3(0xa8)]]);const _0x50b8a9=_0x1ffb8e[_0x3d45b3(0x130)](_0x35cc13[_0x3d45b3(0xf4)],undefined)?_0x36f9fe['inspect'](_0x35cc13['errorsDetailed'][0x0]):_0x1ffb8e['cciCA'](_0x496ad8,undefined)?_0x496ad8['toString']():undefined,_0x3069d6=_0x14bc0a?this[_0x3d45b3(0x169)](_0x14bc0a):null,_0x2eb170=_0x14bc0a?this['_paths'][_0x3d45b3(0xcf)](this[_0x3d45b3(0x113)](_0x35cc13)):_0x1ffb8e[_0x3d45b3(0x148)];let _0x449a4c=_0x1ffb8e[_0x3d45b3(0xb6)];const _0x321205=!_0x5aa301[_0x3d45b3(0x16f)]?new Date()[_0x3d45b3(0xb7)]():null;if(_0x5aa301[_0x3d45b3(0x14b)])_0x449a4c=_0x496ad8?_0x1ffb8e[_0x3d45b3(0x19b)]:_0x1ffb8e[_0x3d45b3(0x10c)],_0x35cc13[_0x3d45b3(0x11f)]=!![];else _0x5aa301[_0x3d45b3(0x12d)]&&(_0x449a4c=_0x1ffb8e[_0x3d45b3(0xfa)],_0x35cc13[_0x3d45b3(0x11f)]=!![]);const _0x393ffe={'framework':this['frameworkName'],'uuid':_0x35cc13[_0x3d45b3(0x175)]||_0x35cc13['hookAnalyticsId'],'name':_0x35cc13['title'],'body':{'lang':_0x1ffb8e[_0x3d45b3(0x15a)],'code':_0x35cc13[_0x3d45b3(0x177)][_0x3d45b3(0x191)]()},'type':_0x35cc13[_0x3d45b3(0xee)],'scope':_0x35cc13[_0x3d45b3(0xba)](),'scopes':this[_0x3d45b3(0x16d)](_0x35cc13),'file_name':_0x2eb170,'vc_filepath':_0x3069d6?path[_0x3d45b3(0xca)](_0x3069d6,_0x14bc0a):null,'location':_0x2eb170,'result':_0x449a4c,'failure_reason':_0x50b8a9,'duration_in_ms':_0x35cc13['duration']||(_0x5aa301[_0x3d45b3(0x14b)]||_0x5aa301[_0x3d45b3(0x12d)])?_0x1ffb8e['NdRaa'](Date[_0x3d45b3(0x193)](),new Date(_0x35cc13[_0x3d45b3(0xb1)])[_0x3d45b3(0x194)]()):null,'started_at':new Date(_0x35cc13[_0x3d45b3(0xb1)])[_0x3d45b3(0xb7)](),'finished_at':_0x321205,'failure':testOpsHelper[_0x3d45b3(0x121)]['apply'](null,_0x1066ad),'failure_type':!_0x50b8a9?null:testOpsHelper[_0x3d45b3(0x108)](_0x50b8a9),'retry_of':_0x35cc13[_0x3d45b3(0x122)]||null,'tags':_0x35cc13[_0x3d45b3(0x17e)]||[],'customRerunParam':{'rerun_name':_0x35cc13[_0x3d45b3(0xba)]()}};_0x1ffb8e[_0x3d45b3(0x15b)](appendTesthubParams,_0x393ffe,_0xafde56,_0x35cc13,FRAMEWORKS[_0x3d45b3(0x176)]);if(_0x5aa301[_0x3d45b3(0xf1)])[_0x393ffe[_0x3d45b3(0x162)],_0x393ffe[_0x3d45b3(0x115)]]=[this[_0x3d45b3(0xda)](_0x35cc13),_0x35cc13['ctx'][_0x3d45b3(0x151)][_0x3d45b3(0x170)]],_0x5aa301[_0x3d45b3(0x14b)]?_0x1ffb8e[_0x3d45b3(0x185)](_0x393ffe[_0x3d45b3(0x153)],_0x1ffb8e[_0x3d45b3(0x19b)])&&(_0x393ffe[_0x3d45b3(0x153)]=_0x1ffb8e[_0x3d45b3(0x10c)]):_0x393ffe['body']={};else _0x5aa301[_0x3d45b3(0x151)]&&(this[_0x3d45b3(0xa9)](_0x35cc13),_0x5aa301[_0x3d45b3(0x12d)]&&this[_0x3d45b3(0x18d)](_0x35cc13),(_0x5aa301['finished']||_0x5aa301[_0x3d45b3(0x12d)])&&(_0x393ffe['hooks']=this[_0x3d45b3(0xb9)](_0x35cc13)));this[_0x3d45b3(0x102)]&&(_0x5aa301[_0x3d45b3(0x16f)]||_0x5aa301[_0x3d45b3(0x12d)])&&(_0x393ffe[_0x1ffb8e['cVtZO']]=this['getCBTInfo'](this[_0x3d45b3(0x102)]));_0x5aa301[_0x3d45b3(0x151)]&&_0x5aa301[_0x3d45b3(0x14b)]&&_0x35cc13[_0x3d45b3(0xd1)]&&(_0x393ffe[_0x1ffb8e['rhQFS']]={'feature':{'name':_0x35cc13[_0x3d45b3(0x160)][_0x3d45b3(0x109)][_0x3d45b3(0x115)],'path':_0x393ffe['file_name'],'description':_0x35cc13[_0x3d45b3(0x160)]['comment']},'scenario':{'name':_0x35cc13[_0x3d45b3(0x170)]},'steps':_0x35cc13['bddSteps']});const _0x136a40=_0x393ffe[_0x1ffb8e['JLEvT']][0x0];_0x136a40&&(_0x393ffe[_0x1ffb8e[_0x3d45b3(0x143)]]=_0x136a40[_0x1ffb8e['lTUGQ']],_0x393ffe[_0x1ffb8e[_0x3d45b3(0x184)]]=_0x136a40[_0x1ffb8e[_0x3d45b3(0x187)]]);if(_0x35cc13[_0x3d45b3(0xd1)])for(const _0x365693 of _0x35cc13['bddSteps']){!_0x365693[_0x3d45b3(0x12b)]&&(_0x365693[_0x3d45b3(0x12b)]=new Date()[_0x3d45b3(0xb7)](),_0x1ffb8e[_0x3d45b3(0xbe)](_0x365693['result'],_0x1ffb8e[_0x3d45b3(0xb6)])&&(_0x136a40?(_0x365693['result']=_0x1ffb8e[_0x3d45b3(0x19b)],_0x365693['failure']=_0x136a40[_0x1ffb8e[_0x3d45b3(0xb0)]][0x0]):_0x365693[_0x3d45b3(0x153)]=_0x1ffb8e[_0x3d45b3(0x10c)]));}const _0x138c3d={};_0x138c3d[_0x3d45b3(0x10f)]=_0x5aa301[_0x3d45b3(0x12d)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0xafde56;const _0x310576=_0x138c3d;return _0x5aa301[_0x3d45b3(0xf1)]?_0x310576[_0x1ffb8e[_0x3d45b3(0xc4)]]=_0x393ffe:_0x310576[_0x1ffb8e[_0x3d45b3(0x186)]]=_0x393ffe,_0x310576;}catch(_0x371cb2){logger['debug'](_0x3d45b3(0xd0)+_0xafde56+_0x3d45b3(0x157)+_0x371cb2);}}async['fireEvent'](_0x342304,_0xf47d82){const _0x2b8d65=a4_0x267f91;if(!this['enabled']||!_0xf47d82||!_0x342304)return![];try{return await SessionHandler[_0x2b8d65(0x103)](_0xf47d82);}catch(_0x1fb251){logger[_0x2b8d65(0x181)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x342304+_0x2b8d65(0x157)+_0x1fb251);}}[a4_0x267f91(0x17c)](_0x4acd2f){const _0x75f587=a4_0x267f91,_0x208dac={};_0x208dac[_0x75f587(0xe9)]=_0x75f587(0x198);const _0x56fc4d=_0x208dac;return{'id':_0x4acd2f['stepAnalyticsId'],'text':_0x4acd2f['text'],'keyword':_0x4acd2f[_0x75f587(0x141)],'started_at':_0x4acd2f[_0x75f587(0xb1)][_0x75f587(0xb7)](),'result':_0x56fc4d['SpXZR']};}['bddStepStart'](_0x3d8447){const _0x258293=a4_0x267f91,_0x38f5c9={'lPRup':function(_0x576caa){return _0x576caa();}};!this[_0x258293(0x120)][_0x258293(0xd1)]&&(this[_0x258293(0x120)][_0x258293(0xd1)]=[]),!_0x3d8447['stepAnalyticsId']&&(_0x3d8447[_0x258293(0x17a)]=_0x38f5c9[_0x258293(0xe0)](uuidv4),_0x3d8447[_0x258293(0xb1)]=new Date(),this[_0x258293(0x120)][_0x258293(0xd1)][_0x258293(0x10b)](this[_0x258293(0x17c)](_0x3d8447)));}[a4_0x267f91(0xb3)](_0x53d6ac){const _0x4a27e6=a4_0x267f91,_0x58e8b8={'bWmPW':function(_0xfcc4a4,_0xda95c7){return _0xfcc4a4(_0xda95c7);},'vBcwu':_0x4a27e6(0x195),'IEtHG':_0x4a27e6(0x198),'FnluZ':_0x4a27e6(0x174),'fObif':function(_0x3a7ba1,_0x3bde17){return _0x3a7ba1-_0x3bde17;}};let _0x2c1ee6=this['currentTest']['bddSteps'][_0x4a27e6(0x146)](_0x16a8c5=>_0x16a8c5['id']===_0x53d6ac[_0x4a27e6(0x17a)]);_0x58e8b8[_0x4a27e6(0x128)](isUndefined,_0x2c1ee6)&&(_0x2c1ee6=this[_0x4a27e6(0x17c)](_0x53d6ac)),_0x2c1ee6['result']=[_0x58e8b8[_0x4a27e6(0x16a)],_0x58e8b8[_0x4a27e6(0x19f)]]['includes'](_0x53d6ac[_0x4a27e6(0xf2)])?_0x58e8b8['FnluZ']:_0x53d6ac[_0x4a27e6(0xf2)],_0x2c1ee6[_0x4a27e6(0x12b)]=new Date()[_0x4a27e6(0xb7)](),_0x2c1ee6[_0x4a27e6(0xc2)]=_0x58e8b8['fObif'](Date[_0x4a27e6(0x193)](),_0x53d6ac['startedAt'][_0x4a27e6(0x194)]()),_0x2c1ee6[_0x4a27e6(0x197)]=_0x53d6ac[_0x4a27e6(0xf7)]?_0x53d6ac[_0x4a27e6(0xf7)]['message']:null;}}const a4_0x16765c={};a4_0x16765c[a4_0x267f91(0xd7)]=O11yHelper,a4_0x16765c[a4_0x267f91(0x14c)]=STATE_PASSED,a4_0x16765c['STATE_FAILED']=STATE_FAILED,a4_0x16765c['TEST_EVENTS']=TEST_EVENTS,module[a4_0x267f91(0x138)]=a4_0x16765c;
|
|
@@ -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_0x33c29b=a5_0x104a;(function(_0x75bb12,_0xa353fa){const _0x2f2fe1=a5_0x104a,_0x457237=_0x75bb12();while(!![]){try{const _0x26684b=-parseInt(_0x2f2fe1(0xf0))/0x1+-parseInt(_0x2f2fe1(0xe1))/0x2*(parseInt(_0x2f2fe1(0x140))/0x3)+-parseInt(_0x2f2fe1(0xe0))/0x4+parseInt(_0x2f2fe1(0x107))/0x5*(-parseInt(_0x2f2fe1(0x12f))/0x6)+parseInt(_0x2f2fe1(0x10e))/0x7*(-parseInt(_0x2f2fe1(0x13e))/0x8)+-parseInt(_0x2f2fe1(0xe9))/0x9*(-parseInt(_0x2f2fe1(0x141))/0xa)+parseInt(_0x2f2fe1(0x102))/0xb;if(_0x26684b===_0xa353fa)break;else _0x457237['push'](_0x457237['shift']());}catch(_0xb71bd){_0x457237['push'](_0x457237['shift']());}}}(a5_0xa3f6,0xeb022));function a5_0xa3f6(){const _0x186833=['handleApp','yellow','\x20scenarios','log','stepsPending','rmdirSync','FRAMEWORKS','\x20undefined','\x20failed','getErrorMessageFromResults','accessibilityOptions','56933965NSFIIb','printBuildLink','iZJLg','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20steps','2824855URislI','logLevel','tmp','VTeLs','../../helpers/helper','start','EcsNt','14XBFTei','scenarios','green','cucumber-js','parallelsPerPlatform','ZHSGE','config','chalk','\x20pending','exports','\x20ambiguous','AFfdR','YCyUR','finally','exitCode','CKHdq','stepsUnknown','parseFormatters','red','util','getUserWorkerCount','stepsSkipped','../../helpers/utilities','testContextOptions','then','forEach','getTCGConfigFilePaths','env','xBosr','join','scenariosFailed','../../helpers/logger','mergeOutputFiles','12CJHyPj','format','removeDir','\x20skipped','length','unlinkSync','cyan','../test-runner','processSuccess','CUCUMBER','cxrhI','finalExecution','launchBuild','skipSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','6491216kGWYxh','\x20passed','81FEchJp','446210kMgxLz','cwd','../../helpers/performance/constants','LeJUQ','splice','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/testhub/testhubHandler','HYvxH','steps','../../helpers/test-observability/utils','jQwAb','push','setUserConfigPath','testObservability','getHubUrl','FRkNC','AIzOe','debug','stepsFailed','prepareCapabilities','SDK_CLEANUP','isUndefined','iBDJP','cucumber','EVENTS','../../helpers/BrowserStackSetup','SDK_SETUP','proxySettings','IXUKv','1922432gcPeRl','100782EBJHil','vKpIr','winstonLogger','initialize','stepsUndefined','wsbbI','true','MsCQo','369KIgnWJ','XDdZi','createDir','twgzg','bold','stop','error\x20removing\x20tcg\x20config\x20file','1448771dYcriq','evHJh','getPlatformName','../../helpers/performance/performance-tester','KnrZa','stepsPassed','useW3C'];a5_0xa3f6=function(){return _0x186833;};return a5_0xa3f6();}function a5_0x104a(_0x1db4d1,_0x5f44fa){const _0xa3f6ee=a5_0xa3f6();return a5_0x104a=function(_0x104ab3,_0x4527b5){_0x104ab3=_0x104ab3-0xdd;let _0x3b9b6e=_0xa3f6ee[_0x104ab3];return _0x3b9b6e;},a5_0x104a(_0x1db4d1,_0x5f44fa);}const fs=require('fs'),path=require('path'),util=require(a5_0x33c29b(0x121)),logger=require(a5_0x33c29b(0x12d))[a5_0x33c29b(0xe3)],{default:BrowserStackSetup}=require(a5_0x33c29b(0x15a)),helper=require(a5_0x33c29b(0x10b)),utilities=require(a5_0x33c29b(0x124)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x33c29b(0x136)),TestHubHandler=require(a5_0x33c29b(0x147)),testOpsHelper=require(a5_0x33c29b(0x14a)),chalk=require(a5_0x33c29b(0x115)),PerformanceTester=require(a5_0x33c29b(0xf3)),PerformanceEvents=require(a5_0x33c29b(0x143))[a5_0x33c29b(0x159)];function printCucumberStats(_0x25ed18){const _0x5bfb91=a5_0x33c29b,_0x34f773={};_0x34f773['twgzg']=function(_0x492708,_0x4ecc61){return _0x492708>_0x4ecc61;},_0x34f773['iZJLg']=function(_0x4f62c3,_0x4af3b4){return _0x4f62c3-_0x4af3b4;},_0x34f773[_0x5bfb91(0x12a)]=function(_0x2aeef1,_0x461da9){return _0x2aeef1>_0x461da9;},_0x34f773[_0x5bfb91(0x14b)]=function(_0x4e9ab7,_0x4d1f4b){return _0x4e9ab7>_0x4d1f4b;},_0x34f773[_0x5bfb91(0xe6)]=function(_0x5c96aa,_0x1a3e26){return _0x5c96aa>_0x1a3e26;},_0x34f773[_0x5bfb91(0xe2)]=function(_0x5e7ff8,_0x269562){return _0x5e7ff8>_0x269562;},_0x34f773[_0x5bfb91(0xf4)]=function(_0x3b8333,_0x2bfb72){return _0x3b8333+_0x2bfb72;},_0x34f773[_0x5bfb91(0x144)]=function(_0x3f6c01,_0x1275dc){return _0x3f6c01+_0x1275dc;},_0x34f773[_0x5bfb91(0x150)]=function(_0x2e33d4,_0x2198c4){return _0x2e33d4+_0x2198c4;},_0x34f773[_0x5bfb91(0xea)]=function(_0x1dfad3,_0xe5dcb6){return _0x1dfad3+_0xe5dcb6;},_0x34f773['gFHcO']=function(_0x11a9ad,_0x4e72a0){return _0x11a9ad===_0x4e72a0;},_0x34f773[_0x5bfb91(0x148)]=function(_0x507021,_0x322104){return _0x507021===_0x322104;},_0x34f773[_0x5bfb91(0x10d)]='****\x20RESULTS\x20****';const _0x50581a=_0x34f773;let _0x28b527=0x0;if(_0x50581a[_0x5bfb91(0x148)](_0x25ed18[_0x5bfb91(0x133)],0x0))return _0x28b527;return console[_0x5bfb91(0xfa)](chalk[_0x5bfb91(0xed)]['bgWhite'](_0x50581a['EcsNt'])),_0x25ed18[_0x5bfb91(0x127)](_0x4934ae=>{const _0x21ec80=_0x5bfb91,_0xd95567=_0x4934ae[0x0],_0x4c744b=_0x4934ae[0x1];console[_0x21ec80(0xfa)]('\x0a'+chalk[_0x21ec80(0xed)][_0x21ec80(0xf8)](''+helper[_0x21ec80(0xf2)](_0xd95567)));const _0x49c2e5=_0x4c744b[_0x21ec80(0x10f)],_0x135b03=_0x4c744b[_0x21ec80(0x149)],_0x5aa62d=_0x4c744b[_0x21ec80(0x12c)],_0x3759ba=_0x4c744b[_0x21ec80(0x153)],_0x5e2d0b=_0x4c744b[_0x21ec80(0xf5)],_0xdcb5f5=_0x4c744b[_0x21ec80(0x123)],_0x9c80cb=_0x4c744b[_0x21ec80(0xfb)],_0x30f19d=_0x4c744b[_0x21ec80(0xe5)],_0x2ae297=_0x4c744b[_0x21ec80(0x11e)],_0x395a1c=_0x4c744b['stepsAmbiguous'],_0x36d6df=_0x4c744b[_0x21ec80(0x137)];let _0x4832fd=_0x49c2e5+_0x21ec80(0xf9);const _0x1176ad=_0x50581a['twgzg'](_0x50581a[_0x21ec80(0x104)](_0x49c2e5,_0x5aa62d),0x0)?_0x50581a[_0x21ec80(0x104)](_0x49c2e5,_0x5aa62d):0x0;if(_0x50581a[_0x21ec80(0x12a)](_0x5aa62d,0x0)&&_0x50581a[_0x21ec80(0x12a)](_0x1176ad,0x0))_0x4832fd+='\x20('+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x5aa62d+'\x20failed')+',\x20'+chalk[_0x21ec80(0xed)][_0x21ec80(0x110)](_0x1176ad+'\x20passed')+')';else(_0x50581a[_0x21ec80(0x14b)](_0x5aa62d,0x0)||_0x50581a[_0x21ec80(0x12a)](_0x1176ad,0x0))&&(_0x4832fd+=_0x50581a['jQwAb'](_0x5aa62d,0x0)?'\x20('+chalk['bold']['red'](_0x5aa62d+_0x21ec80(0xff))+')':'\x20('+chalk[_0x21ec80(0xed)][_0x21ec80(0x110)](_0x1176ad+'\x20passed')+')');const _0x45d6c5=_0x135b03+_0x21ec80(0x106),_0x21d895=[];_0x50581a[_0x21ec80(0xec)](_0x395a1c,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x395a1c+_0x21ec80(0x118)));_0x50581a[_0x21ec80(0xe6)](_0x3759ba,0x0)&&_0x21d895['push'](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x3759ba+_0x21ec80(0xff)));_0x50581a[_0x21ec80(0xe6)](_0x5e2d0b,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)]['green'](_0x5e2d0b+_0x21ec80(0x13f)));_0x50581a[_0x21ec80(0x14b)](_0x9c80cb,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0xf8)](_0x9c80cb+_0x21ec80(0x116)));_0x50581a['vKpIr'](_0xdcb5f5,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x135)](_0xdcb5f5+_0x21ec80(0x132)));_0x50581a[_0x21ec80(0x12a)](_0x30f19d,0x0)&&_0x21d895['push'](''+chalk[_0x21ec80(0xed)]['yellow'](_0x30f19d+_0x21ec80(0xfe)));_0x50581a[_0x21ec80(0xe6)](_0x2ae297,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)]['yellow'](_0x2ae297+_0x21ec80(0x132)));const _0x11d6e5=_0x50581a[_0x21ec80(0xf4)](_0x50581a[_0x21ec80(0xf4)](_0x50581a['LeJUQ'](_0x45d6c5,'('),_0x21d895['join'](',\x20')),')');console[_0x21ec80(0xfa)](_0x50581a[_0x21ec80(0x144)](_0x50581a['LeJUQ'](_0x50581a['FRkNC'](_0x50581a[_0x21ec80(0xea)]('\x0a',_0x4832fd),'\x0a'),_0x11d6e5),'\x0a')),_0x50581a['gFHcO'](_0x36d6df,![])&&(_0x28b527=0x1);}),_0x28b527;}async function run(_0x3180ec,_0x1951dc){const _0x191791=a5_0x33c29b,_0x1664f5={'IXUKv':function(_0x50a2ca,_0x35f950){return _0x50a2ca(_0x35f950);},'YCyUR':function(_0x14a356,_0x3f5c09){return _0x14a356>_0x3f5c09;},'cxrhI':'Generating\x20consolidated\x20report...','AFfdR':_0x191791(0x146),'CKHdq':_0x191791(0x158),'iBDJP':_0x191791(0xef),'evHJh':_0x191791(0x111),'ZHSGE':_0x191791(0x109),'MsCQo':function(_0x2580ef,_0x936013){return _0x2580ef>_0x936013;},'fsfcn':function(_0x3ba59f,_0x22420d){return _0x3ba59f-_0x22420d;},'VTeLs':function(_0x22b70c,_0x43af0f){return _0x22b70c>=_0x43af0f;},'xtcjs':function(_0x48c71d,_0x296fde){return _0x48c71d!=_0x296fde;},'ijrTt':_0x191791(0xe7),'AIzOe':function(_0x2e9c72,_0x201b8a,_0x613e5d,_0x2afa8c,_0x144bbe,_0xbbaf9e){return _0x2e9c72(_0x201b8a,_0x613e5d,_0x2afa8c,_0x144bbe,_0xbbaf9e);}},_0x4fbd9a=new BrowserStackSetup(_0x3180ec,_0x1664f5[_0x191791(0xf1)]);await _0x4fbd9a[_0x191791(0xe4)](),helper[_0x191791(0x14d)](_0x4fbd9a['framework'],_0x3180ec);!helper['isBrowserstackInfra']()&&await _0x4fbd9a['setupTCGAuth']();await helper[_0x191791(0xf7)](_0x4fbd9a[_0x191791(0x114)]);const _0x3df3c2=helper[_0x191791(0xf6)](_0x4fbd9a['config']),_0x131566=helper[_0x191791(0x154)](_0x4fbd9a[_0x191791(0x114)],_0x3df3c2,constants[_0x191791(0xfd)]['CUCUMBER']);if(!_0x4fbd9a[_0x191791(0x114)])return;const _0x250dff=_0x4fbd9a['config'][_0x191791(0x112)]||helper[_0x191791(0x122)](_0x3180ec,_0x1951dc,_0x4fbd9a[_0x191791(0x114)],constants[_0x191791(0xfd)][_0x191791(0x138)])||0x1,_0x2f8aa9={'server':helper[_0x191791(0x14f)](_0x4fbd9a[_0x191791(0x114)]),'proxySettings':_0x4fbd9a[_0x191791(0x114)][_0x191791(0xde)],'maxWorkers':_0x250dff,'browserStackLogLevel':_0x4fbd9a['config'][_0x191791(0x108)],'skipSessionName':_0x4fbd9a[_0x191791(0x114)][_0x191791(0x125)][_0x191791(0x13c)],'skipSessionStatus':_0x4fbd9a['config'][_0x191791(0x125)]['skipSessionStatus'],'turboScaleUrl':_0x4fbd9a[_0x191791(0x114)]['turboScaleUrl']},_0x3bd0c2=process['argv'],[_0x21afef,_0x54e3b4]=helper[_0x191791(0x11f)](_0x3bd0c2),_0x39205=path[_0x191791(0x12b)](process[_0x191791(0x142)](),_0x1664f5[_0x191791(0x113)]);if(_0x1664f5[_0x191791(0xe8)](_0x54e3b4[_0x191791(0x133)],0x0)){helper[_0x191791(0xeb)](_0x39205);for(let _0x5bb4bf=_0x1664f5['fsfcn'](_0x21afef[_0x191791(0x133)],0x1);_0x1664f5[_0x191791(0x10a)](_0x5bb4bf,0x0);_0x5bb4bf--){_0x3bd0c2[_0x191791(0x145)](_0x21afef[_0x5bb4bf],0x2);}}!helper[_0x191791(0x156)](_0x4fbd9a['config'][_0x191791(0x101)])&&(process['env'][_0x191791(0x13d)]=JSON['stringify'](_0x4fbd9a[_0x191791(0x114)]['accessibilityOptions']));_0x1664f5['xtcjs'](_0x4fbd9a[_0x191791(0x114)][_0x191791(0x14e)],null)?process[_0x191791(0x129)][_0x191791(0x105)]=_0x4fbd9a[_0x191791(0x114)][_0x191791(0x14e)]:process[_0x191791(0x129)][_0x191791(0x105)]=_0x1664f5['ijrTt'];const _0x4d6ad5=await TestHubHandler[_0x191791(0x13b)](constants[_0x191791(0xfd)][_0x191791(0x138)],_0x4fbd9a);PerformanceTester['end'](PerformanceEvents[_0x191791(0xdd)]);let _0x2fe470;_0x1664f5[_0x191791(0x151)](parallelCucumberRun,_0x131566,_0x2f8aa9,_0x4fbd9a[_0x191791(0x114)],_0x3bd0c2,_0x54e3b4)[_0x191791(0x126)](async _0x303a24=>{const _0x1d5864=_0x191791;PerformanceTester[_0x1d5864(0x10c)](PerformanceEvents[_0x1d5864(0x155)]),_0x2fe470=_0x303a24;const _0x6a0379=_0x1664f5[_0x1d5864(0xdf)](printCucumberStats,_0x303a24);process[_0x1d5864(0x11c)]=_0x6a0379,_0x1664f5[_0x1d5864(0x11a)](_0x54e3b4[_0x1d5864(0x133)],0x0)&&(logger[_0x1d5864(0x152)](_0x1664f5[_0x1d5864(0x139)]),helper[_0x1d5864(0x12e)](_0x39205,_0x54e3b4),logger[_0x1d5864(0x152)](_0x1664f5[_0x1d5864(0x119)]),helper[_0x1d5864(0x131)](_0x39205));})[_0x191791(0x11b)](async()=>{const _0x103dd9=_0x191791;PerformanceTester[_0x103dd9(0x10c)](PerformanceEvents[_0x103dd9(0x155)]),_0x4fbd9a['errorMessage']=helper[_0x103dd9(0x100)](_0x2fe470,_0x1664f5[_0x103dd9(0x11d)]),testOpsHelper[_0x103dd9(0x103)]();try{await TestHubHandler[_0x103dd9(0xee)]();}catch(_0x44d4bc){logger[_0x103dd9(0x152)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x103dd9(0x130)](_0x44d4bc));}try{const {browserstackFolderPath:_0xbc9c4c,tcgConfigPath:_0x4f02cd}=helper[_0x103dd9(0x128)]();fs[_0x103dd9(0x134)](_0x4f02cd),fs[_0x103dd9(0xfc)](_0xbc9c4c);}catch(_0x16cba7){logger[_0x103dd9(0x152)](_0x1664f5[_0x103dd9(0x157)],_0x16cba7);}await utilities[_0x103dd9(0x13a)](_0x4fbd9a);});}module[a5_0x33c29b(0x117)]=run;
|