browserstack-node-sdk 1.34.49 → 1.34.51
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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 +3 -3
- 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/metadata.js +1 -0
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x2f6dfd=a1_0x136c;(function(_0x34fc7f,_0x4b4515){const _0x155410=a1_0x136c,_0x1244d9=_0x34fc7f();while(!![]){try{const _0x44707d=parseInt(_0x155410(0x133))/0x1+parseInt(_0x155410(0x148))/0x2*(-parseInt(_0x155410(0x11b))/0x3)+parseInt(_0x155410(0xd4))/0x4+-parseInt(_0x155410(0x12f))/0x5*(parseInt(_0x155410(0x178))/0x6)+-parseInt(_0x155410(0xc0))/0x7*(-parseInt(_0x155410(0x15a))/0x8)+parseInt(_0x155410(0x14b))/0x9*(parseInt(_0x155410(0xd1))/0xa)+-parseInt(_0x155410(0xb9))/0xb;if(_0x44707d===_0x4b4515)break;else _0x1244d9['push'](_0x1244d9['shift']());}catch(_0x3b6914){_0x1244d9['push'](_0x1244d9['shift']());}}}(a1_0xfdbd,0xde105));function a1_0xfdbd(){const _0x3b959a=['ZZZsb','lXNZt','124716kJaZnp','testAnalyticsId','bddStep-before','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hook-failed','mnmjF','Suite','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SESSION_STATUS','JQPvc','stopMonitoring','../../helpers/testhub/constants.js','PJxeB','thJwtToken','pAjFE','gTUUi','screenshotOutputFolder','info','maBws','skipSessionName','210820LwlRvF','TYkVA','exports','saveTestResults','1793340ZoVfeb','thBuildUuid','class','name','codeceptjs/lib/helper/WebDriver.js','arguments','SDK_TEST','browserStackExecuteDriver','OMqzd','JrgYu','step','debug','test-passed','TEST_RUN_FINISHED','../../helpers/globals.js','initSaveScreenshot','format','afterTest','EmaFM','bBmts','BS_TESTOPS_ALLOW_SCREENSHOTS','26GdopLB','./helper.js','winstonLogger','18zRsASc','bddStep','command','HOOK_RUN_STARTED','_before','codeceptjs/lib/index.js','before','PERFORM_SCAN','SeqGC','status','enabled','event','Element','test-skipped','mXhDL','40rHdMZv','codeceptjs/lib/utils.js','browser','SDK_PRE_INITIALIZE','UAVnW','env','ctx','SESSION_NAME','captureError','Eqctt','Failed\x20to\x20execute\x20_before:\x20','ZRoSv','OTjet','dispatcher','captureEvent','catch','Erxcf','BROWSERSTACK_TESTHUB_JWT','saveScreenshot','hookType','browserContext','../../helpers/test-observability/utils','bddStepFinish','hook','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','start','titlePath','BROWSERSTACK_TESTHUB_UUID','toString','reason','120nKnSep','AlwIq','Performing\x20scan\x20for\x20','startMonitoring','prototype','SDK_POST_INITIALIZE','lbGji','SDK_POST_TEST','setSessionName','test','hKqJw','toISOString','getAccessibilityResultsSummary','apply','helpers','QEkti','restore','constructor','RJbSp','commandsToWrap','28668442YnNzYz','end','measureWrapper','filter','accessibilityPlatform','codeceptjs/lib/helper/Playwright.js','TestCafe','967617Wuhyti','forEach','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','HckBA','bind','ShcXi','emit','Iqqba','pid','gcHug','FGwwN','patchSaveScreenshot','../../bin/playwright/accessibility-helper','INFO','passed','SDK_PRE_TEST','dESAY','6126940TsIVxL','TEST_RUN_SKIPPED','NPlnc','4758512KRphoN','GET_RESULTS_SUMMARY','test-failed','bstackAllyScanning','getSyncScript','TEST_RUN_STARTED','overwriteCommand','comment','NJlmA','failed','bddStep-after','__driver','gDLLM','container','EhusP','Puppeteer','after','Playwright','bs:addLog:','executeScript','ENV_VAR','skipSessionStatus','stop','RGPTK','../../helpers/accessibility-automation/scripts','../../helpers/helper','SYNC','action','test-after','title','getAccessibilityResults','LvSei','warn','setGlobal','browserstack_executor:\x20','HOOK_RUN_FINISHED','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bDxfn','SAVE_RESULTS','tLfVS','WebDriver','slDMB','performScan','SDK_HOOK','codeceptjs','../../helpers/request-spy','ULdGw','eMlDR','all','__workerDetails','pKRhP','contexts','started','stringify','../../helpers/performance/constants','DkVus','uifmF','UTJhz','base64','util','addRequestSpy','fireEvent','currentTest','add','test-before','__skipSessionStatus','LbgLj','call','codeceptjs/lib/recorder.js'];a1_0xfdbd=function(){return _0x3b959a;};return a1_0xfdbd();}const fs=require('fs'),util=require(a1_0x2f6dfd(0x10f)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2f6dfd(0xed)),logger=require('../../helpers/logger')[a1_0x2f6dfd(0x14a)],testOpsHelper=require(a1_0x2f6dfd(0x16f)),requestSpy=require(a1_0x2f6dfd(0x101)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x2f6dfd(0xcc)),scripts=require(a1_0x2f6dfd(0xec)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2f6dfd(0x10a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2f6dfd(0x149)),testHubConstants=require(a1_0x2f6dfd(0x126)),globals=require(a1_0x2f6dfd(0x141)),CodeceptJS=requireModule(a1_0x2f6dfd(0x150),a1_0x2f6dfd(0x100)),CodeceptUtils=requireModule(a1_0x2f6dfd(0x15b),a1_0x2f6dfd(0x100)),CodeceptWebDriver=requireModule(a1_0x2f6dfd(0x137),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x2f6dfd(0x118),a1_0x2f6dfd(0x100)),CodeceptPlaywright=requireModule(a1_0x2f6dfd(0xbe),'codeceptjs'),playwrightMarkSessionStatus=(_0x4b47d6,_0x35ee43,_0x46d51d)=>{const _0x127bf5=a1_0x2f6dfd,_0x581827={'HckBA':'setSessionStatus','clpmU':function(_0x59efe4,_0x41d465){return _0x59efe4(_0x41d465);}},_0x124d01={};_0x124d01[_0x127bf5(0x154)]=_0x35ee43;const _0x5461a4={};_0x5461a4[_0x127bf5(0xef)]=_0x581827[_0x127bf5(0xc3)],_0x5461a4[_0x127bf5(0x138)]=_0x124d01;const _0x1518fd=_0x5461a4;return!_0x581827['clpmU'](isUndefined,_0x46d51d)&&(_0x1518fd['arguments'][_0x127bf5(0x177)]=JSON[_0x127bf5(0x109)](_0x46d51d)),_0x4b47d6[_0x127bf5(0xe7)](()=>{},_0x127bf5(0xf6)+JSON['stringify'](_0x1518fd));},o11ySync=PerformanceTester[a1_0x2f6dfd(0xbb)](PerformanceO11yEvents[a1_0x2f6dfd(0xee)],async _0x4cb9de=>{const _0x35777d=a1_0x2f6dfd,_0x185366={};_0x185366[_0x35777d(0x127)]=function(_0x3341e1,_0x2c1afb){return _0x3341e1===_0x2c1afb;},_0x185366[_0x35777d(0xd3)]=_0x35777d(0xe5);const _0x354abc=_0x185366;_0x354abc[_0x35777d(0x127)](_0x4cb9de[_0x35777d(0xb6)][_0x35777d(0x136)],_0x354abc[_0x35777d(0xd3)])?await _0x4cb9de[_0x35777d(0xe7)](_0x586220=>{},testOpsHelper[_0x35777d(0xd8)]()):await _0x4cb9de[_0x35777d(0xe7)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x2f6dfd(0xbb)](PerformanceAutEvents[a1_0x2f6dfd(0x161)],async(_0x1803be,_0x43836f)=>{const _0x6a0db4=a1_0x2f6dfd,_0x46fddb={};_0x46fddb[_0x6a0db4(0x16a)]=_0x6a0db4(0x180),_0x46fddb['hzKLO']=function(_0x460d6c,_0x368e59){return _0x460d6c===_0x368e59;},_0x46fddb[_0x6a0db4(0xf9)]=_0x6a0db4(0xe5);const _0x29adfe=_0x46fddb,_0x587eb8={};_0x587eb8['name']=_0x43836f;const _0x32a81a={};_0x32a81a[_0x6a0db4(0xef)]=_0x29adfe[_0x6a0db4(0x16a)],_0x32a81a[_0x6a0db4(0x138)]=_0x587eb8;const _0x223fa5=_0x32a81a;_0x29adfe['hzKLO'](_0x1803be['constructor'][_0x6a0db4(0x136)],_0x29adfe[_0x6a0db4(0xf9)])?await _0x1803be['executeScript'](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x223fa5)):await _0x1803be[_0x6a0db4(0xe7)](_0x6a0db4(0xf6)+JSON[_0x6a0db4(0x109)](_0x223fa5));}),patchSaveScreenshot=_0x56996c=>{const _0x243847=a1_0x2f6dfd,_0x1f1b57={'Iqqba':_0x243847(0x10e),'OrWgP':'TEST_SCREENSHOT','pAjFE':function(_0x549c37){return _0x549c37();},'geUkN':function(_0x385c69,_0x5b257b){return _0x385c69(_0x5b257b);}};_0x1f1b57['geUkN'](isTrue,process[_0x243847(0x15f)][_0x243847(0x147)])&&!_0x56996c[_0x243847(0xcb)]&&(_0x56996c[_0x243847(0xcb)]=!![],_0x56996c['initSaveScreenshot']=_0x56996c[_0x243847(0x16c)],_0x56996c[_0x243847(0x16c)]=(_0x264d9b,_0x310199=![])=>{const _0x619259=_0x243847,_0x598864={'gDLLM':_0x1f1b57[_0x619259(0xc7)],'BsIMr':_0x1f1b57['OrWgP'],'JrgYu':function(_0x447c87){const _0x9c53ab=_0x619259;return _0x1f1b57[_0x9c53ab(0x129)](_0x447c87);}};return new Promise(function(_0x5ad69b,_0x3c4180){const _0x5c8bee=_0x619259,_0x44fcbb={'jyMxS':_0x598864[_0x5c8bee(0xe0)],'iTunq':_0x598864['BsIMr'],'IsVUt':function(_0x34a854){const _0x44f3ef=_0x5c8bee;return _0x598864[_0x44f3ef(0x13c)](_0x34a854);}};_0x56996c[_0x5c8bee(0x142)](_0x264d9b,_0x310199)['then'](()=>{const _0x5d37df=_0x5c8bee,_0x59c00b=CodeceptUtils[_0x5d37df(0x12b)](_0x264d9b),_0x55cf62=fs['readFileSync'](_0x59c00b);process[_0x5d37df(0xc6)](_0x5d37df(0xe6)+process[_0x5d37df(0xc8)],{'timestamp':new Date()[_0x5d37df(0xb0)](),'message':_0x55cf62[_0x5d37df(0x176)](_0x44fcbb['jyMxS']),'kind':_0x44fcbb['iTunq']}),_0x44fcbb['IsVUt'](_0x5ad69b);})[_0x5c8bee(0x169)](()=>null);});});},patchWebDriverBefore=_0x36c2a5=>{const _0x1674de=a1_0x2f6dfd,_0x567433={'PVZvg':function(_0x37d744){return _0x37d744();},'lbGji':function(_0x54f65c,_0x36a76e){return _0x54f65c(_0x36a76e);},'nRbig':function(_0x2b5908,_0x46a5d5){return _0x2b5908===_0x46a5d5;},'AnZqE':_0x1674de(0x157)},_0x4c5138=async function(_0x53cb3c,_0x1aa4de){const _0x17d0b2=_0x1674de;return _0x567433['PVZvg'](isAccessibilityAutomationSession)&&!global[_0x17d0b2(0xd7)]&&global[_0x17d0b2(0xbd)]&&scripts['shouldWrapCommand'](_0x53cb3c['name'])&&_0x567433['lbGji'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x17d0b2(0xd7)]=!![],await PerformanceTester[_0x17d0b2(0xbb)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1ff1b3=_0x17d0b2;logger[_0x1ff1b3(0x13e)](_0x1ff1b3(0x17a)+_0x53cb3c[_0x1ff1b3(0x135)]+'\x20'+_0x53cb3c[_0x1ff1b3(0x136)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x36c2a5,scripts[_0x1ff1b3(0xfe)]);},{'command':_0x53cb3c[_0x17d0b2(0x136)]})()),global['bstackAllyScanning']=![],_0x1aa4de[_0x17d0b2(0xb2)](this,Array[_0x17d0b2(0x17c)]['slice'][_0x17d0b2(0x117)](arguments,0x2));},_0x1c57ae=CodeceptWebDriver['prototype'][_0x1674de(0x14f)];CodeceptWebDriver[_0x1674de(0x17c)][_0x1674de(0x14f)]=async function(){const _0x3e4941=_0x1674de;try{await _0x1c57ae[_0x3e4941(0xb2)](this,arguments);}catch(_0x41d7c3){logger['debug'](_0x3e4941(0x164)+util['format'](_0x41d7c3));}scripts[_0x3e4941(0xb8)][_0x3e4941(0xbc)](_0x4fd33b=>_0x4fd33b['name']&&_0x4fd33b[_0x3e4941(0x135)])[_0x3e4941(0xc1)](_0x3db8d8=>{const _0x51b21c=_0x3e4941;this[_0x51b21c(0x15c)][_0x51b21c(0xda)](_0x3db8d8[_0x51b21c(0x136)],_0x4c5138[_0x51b21c(0xc4)](this,_0x3db8d8),_0x567433['nRbig'](_0x3db8d8['class'],_0x567433['AnZqE']));}),_0x567433[_0x3e4941(0x17e)](processWebDriverConfig,_0x36c2a5);};},patchPlaywrightBefore=()=>{const _0x43040d=a1_0x2f6dfd;PlaywrightSessionDetails['patch']();const _0xa887f9=CodeceptPlaywright[_0x43040d(0x17c)]['_before'];CodeceptPlaywright[_0x43040d(0x17c)]['_before']=async function(){const _0x2bbd8c=_0x43040d;this[_0x2bbd8c(0x16e)]=await this[_0x2bbd8c(0x15c)][_0x2bbd8c(0x107)]()[0x0],await _0xa887f9[_0x2bbd8c(0xb2)](this,arguments);};},getCodeceptDriver=()=>{const _0x2fde54=a1_0x2f6dfd,_0x260c3b={};_0x260c3b[_0x2fde54(0x10d)]=_0x2fde54(0xfc),_0x260c3b[_0x2fde54(0x146)]=_0x2fde54(0xe5),_0x260c3b[_0x2fde54(0x124)]=_0x2fde54(0xe3),_0x260c3b[_0x2fde54(0x163)]=_0x2fde54(0xbf);const _0x119293=_0x260c3b,_0x2fc544=[_0x119293[_0x2fde54(0x10d)],_0x119293['bBmts'],_0x119293[_0x2fde54(0x124)],_0x119293[_0x2fde54(0x163)]],_0x54e718=_0x2fc544['find'](_0x53b318=>!!CodeceptJS[_0x2fde54(0xe1)][_0x2fde54(0xb3)](_0x53b318));if(!_0x54e718)return null;return CodeceptJS[_0x2fde54(0xe1)]['helpers'](_0x54e718);};function a1_0x136c(_0x2aa0fd,_0x4ea36a){const _0xfdbda1=a1_0xfdbd();return a1_0x136c=function(_0x136cc7,_0x3bf65e){_0x136cc7=_0x136cc7-0xaf;let _0xd46457=_0xfdbda1[_0x136cc7];return _0xd46457;},a1_0x136c(_0x2aa0fd,_0x4ea36a);}module[a1_0x2f6dfd(0x131)]=function(_0x401722){const _0x5ba23f=a1_0x2f6dfd,_0x312e6d={'TYkVA':function(_0x379ea5){return _0x379ea5();},'ZZZsb':function(_0x163679,_0x3e6b58){return _0x163679(_0x3e6b58);},'EhusP':_0x5ba23f(0xb1),'dlVtJ':_0x5ba23f(0x122),'QEkti':_0x5ba23f(0xf2),'cOMXk':_0x5ba23f(0x11e),'SeqGC':'hook-started','gTUUi':'hook-passed','eMlDR':_0x5ba23f(0x11f),'AGGit':'browserstackTestName','hKqJw':function(_0x14d9a0){return _0x14d9a0();},'slDMB':_0x5ba23f(0x114),'tLfVS':function(_0x38bdf4){return _0x38bdf4();},'RJbSp':function(_0x59b243,_0x432a95,_0xfba0e8){return _0x59b243(_0x432a95,_0xfba0e8);},'LbgLj':function(_0x4d835c,_0x3dd2e1){return _0x4d835c(_0x3dd2e1);},'dESAY':'test-started','OMqzd':_0x5ba23f(0x13f),'LvSei':function(_0xa0c47d,_0x253033,_0x26f992,_0x3d05f9){return _0xa0c47d(_0x253033,_0x26f992,_0x3d05f9);},'WEkrI':function(_0x5344cc,_0x287d58,_0x2ff721,_0x466d11){return _0x5344cc(_0x287d58,_0x2ff721,_0x466d11);},'EmaFM':function(_0x13f86f,_0x25f642){return _0x13f86f===_0x25f642;},'eIuWM':_0x5ba23f(0x121),'OTjet':_0x5ba23f(0xd6),'gcHug':_0x5ba23f(0x158),'lQwHv':_0x5ba23f(0x144),'ZRoSv':function(_0x4fa1cc,_0x185a96,_0x18e2da){return _0x4fa1cc(_0x185a96,_0x18e2da);},'lXNZt':function(_0x21ac6e){return _0x21ac6e();},'pKRhP':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','uifmF':_0x5ba23f(0xf0),'FGwwN':_0x5ba23f(0xcd),'mnmjF':'TEST_LOG','maBws':'step-comment','KtxLF':_0x5ba23f(0x11d),'ULdGw':_0x5ba23f(0xde),'mXhDL':_0x5ba23f(0xe5)};_0x401722[_0x5ba23f(0xe9)]&&(global[_0x5ba23f(0x115)]=_0x401722[_0x5ba23f(0xe9)]);PerformanceTester[_0x5ba23f(0x17b)]();const _0x26232d=_0x312e6d[_0x5ba23f(0xfb)](getCodeceptDriver),_0x4d8cd9=new O11yHelper(_0x26232d,_0x401722),_0x441cc0=!!CodeceptJS[_0x5ba23f(0xe1)]['helpers'](_0x312e6d[_0x5ba23f(0x159)]);global[_0x5ba23f(0xdf)]=_0x26232d,_0x26232d&&(PerformanceTester[_0x5ba23f(0xbb)](PerformanceEvents[_0x5ba23f(0x15d)],()=>{const _0x33e4a2=_0x5ba23f;_0x441cc0?_0x312e6d[_0x33e4a2(0x130)](patchPlaywrightBefore):_0x312e6d[_0x33e4a2(0x119)](patchWebDriverBefore,_0x26232d);})(),PerformanceTester[_0x5ba23f(0xbb)](PerformanceEvents[_0x5ba23f(0x17d)],()=>{const _0x29b944=_0x5ba23f,_0x328d5e={};_0x328d5e['DkVus']=_0x312e6d[_0x29b944(0xe2)],_0x328d5e[_0x29b944(0xeb)]=_0x312e6d['dlVtJ'],_0x328d5e[_0x29b944(0x179)]=_0x312e6d[_0x29b944(0xb4)],_0x328d5e[_0x29b944(0xdc)]=_0x312e6d['cOMXk'];const _0x1bbd3c=_0x328d5e;_0x26232d[_0x29b944(0xb1)]=async()=>{const _0x102c0a=_0x29b944;if(global[_0x102c0a(0xbd)]){const _0x192398={};_0x192398[_0x102c0a(0x14d)]=_0x1bbd3c[_0x102c0a(0x10b)],await PerformanceTester[_0x102c0a(0xbb)](PerformanceA11yEvents[_0x102c0a(0x152)],async()=>{const _0x5bd839=_0x102c0a;await AccessibilityHelper[_0x5bd839(0x13a)](_0x26232d,scripts[_0x5bd839(0xfe)]);},_0x192398)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x102c0a(0xd5)],async()=>{const _0x5ac44b=_0x102c0a;await AccessibilityHelper[_0x5ac44b(0x13a)](_0x26232d,scripts['getResultsSummary']);})();}else return logger[_0x102c0a(0xf4)](_0x1bbd3c[_0x102c0a(0xeb)]),{};},_0x26232d[_0x29b944(0xf2)]=async()=>{const _0x2568c8=_0x29b944;if(global[_0x2568c8(0xbd)]){const _0x2278b7={};_0x2278b7[_0x2568c8(0x14d)]=_0x1bbd3c[_0x2568c8(0x179)],await PerformanceTester[_0x2568c8(0xbb)](PerformanceA11yEvents[_0x2568c8(0x152)],async()=>{const _0x48467f=_0x2568c8;await AccessibilityHelper[_0x48467f(0x13a)](_0x26232d,scripts[_0x48467f(0xfe)]);},_0x2278b7)(),await PerformanceTester[_0x2568c8(0xbb)](PerformanceA11yEvents['GET_RESULTS'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts['getResults']);})();}else return logger[_0x2568c8(0xf4)](_0x1bbd3c[_0x2568c8(0xdc)]),{};},_0x312e6d['ZZZsb'](patchSaveScreenshot,_0x26232d);})()),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS['event'][_0x5ba23f(0x104)]['before'],()=>{const _0x15ea05=_0x5ba23f;PerformanceTester[_0x15ea05(0x173)](PerformanceEvents[_0x15ea05(0xcf)]);try{_0x4d8cd9[_0x15ea05(0x173)](),testOpsHelper[_0x15ea05(0x110)](),PerformanceTester[_0x15ea05(0xba)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4ea669){PerformanceTester['captureError'](_0x4ea669),PerformanceTester[_0x15ea05(0xba)](PerformanceEvents[_0x15ea05(0xcf)],![],_0x4ea669);}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x104)][_0x5ba23f(0xe4)],async()=>{const _0xe0f320=_0x5ba23f;PerformanceTester[_0xe0f320(0x173)](PerformanceEvents[_0xe0f320(0x17f)]);try{requestSpy[_0xe0f320(0xb5)](),await _0x4d8cd9[_0xe0f320(0xea)](),PerformanceTester[_0xe0f320(0xba)](PerformanceEvents[_0xe0f320(0x17f)]);}catch(_0x54b662){PerformanceTester[_0xe0f320(0x162)](_0x54b662),PerformanceTester[_0xe0f320(0xba)](PerformanceEvents[_0xe0f320(0x17f)],![],_0x54b662);}finally{PerformanceTester[_0xe0f320(0x125)]();}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event'][_0x5ba23f(0x171)][_0x5ba23f(0x108)],_0x289df2=>{const _0x585bfc=_0x5ba23f;PerformanceTester[_0x585bfc(0x173)](PerformanceEvents[_0x585bfc(0xff)]);try{const _0xc594f=_0x289df2['ctx'][_0x585bfc(0x181)],_0x175055=_0x4d8cd9[_0x585bfc(0x168)](TEST_EVENTS[_0x585bfc(0x14e)],_0xc594f);CodeceptRecorder[_0x585bfc(0x113)](()=>_0x4d8cd9['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x175055));const _0x34dbf1={};_0x34dbf1[_0x585bfc(0x16d)]=_0x312e6d['SeqGC'],PerformanceTester[_0x585bfc(0xba)](PerformanceEvents[_0x585bfc(0xff)],!![],null,_0x34dbf1);}catch(_0x561158){const _0x5e78ca={};_0x5e78ca[_0x585bfc(0x16d)]=_0x312e6d[_0x585bfc(0x153)],PerformanceTester[_0x585bfc(0xba)](PerformanceEvents[_0x585bfc(0xff)],![],_0x561158,_0x5e78ca),PerformanceTester[_0x585bfc(0x162)](_0x561158);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x171)][_0x5ba23f(0xce)],_0x2ab145=>{const _0xf47941=_0x5ba23f,_0x615e3a={};_0x615e3a[_0xf47941(0x16d)]=_0x312e6d[_0xf47941(0x12a)],PerformanceTester['start'](PerformanceHookEvents[_0xf47941(0xff)],!![],null,_0x615e3a);try{const _0x142026=_0x2ab145[_0xf47941(0x160)][_0xf47941(0x181)],_0x517600=_0x4d8cd9[_0xf47941(0x168)](TEST_EVENTS[_0xf47941(0xf7)],_0x142026);CodeceptRecorder['add'](()=>_0x4d8cd9['fireEvent'](TEST_EVENTS[_0xf47941(0xf7)],_0x517600));const _0x28d9c8={};_0x28d9c8[_0xf47941(0x16d)]=_0x312e6d['gTUUi'],PerformanceTester[_0xf47941(0xba)](PerformanceHookEvents[_0xf47941(0xff)],!![],null,_0x28d9c8);}catch(_0xc89c1){PerformanceTester[_0xf47941(0x162)](_0xc89c1);const _0x2419da={};_0x2419da[_0xf47941(0x16d)]=_0x312e6d['gTUUi'],PerformanceTester[_0xf47941(0xba)](PerformanceHookEvents[_0xf47941(0xff)],![],_0xc89c1,_0x2419da);}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event']['hook'][_0x5ba23f(0xdd)],async(_0x3f84e8,_0x5064b5)=>{const _0x45e6da=_0x5ba23f;PerformanceTester[_0x45e6da(0x173)](PerformanceHookEvents[_0x45e6da(0xff)]);try{const _0x361ff3=_0x3f84e8[_0x45e6da(0x160)][_0x45e6da(0x181)],_0x4f1219=_0x4d8cd9[_0x45e6da(0x168)](TEST_EVENTS[_0x45e6da(0xf7)],_0x361ff3,_0x5064b5);CodeceptRecorder['add'](()=>_0x4d8cd9[_0x45e6da(0x111)](TEST_EVENTS[_0x45e6da(0xf7)],_0x4f1219));const _0x3f8efc={};_0x3f8efc[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester[_0x45e6da(0x173)](PerformanceHookEvents[_0x45e6da(0xff)],!![],null,_0x3f8efc);}catch(_0x3a90fc){PerformanceTester[_0x45e6da(0x162)](_0x3a90fc);const _0x121833={};_0x121833[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester[_0x45e6da(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x3a90fc,_0x121833);}const _0x3ef36b={};_0x3ef36b[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester['end'](PerformanceHookEvents[_0x45e6da(0xff)],!![],null,_0x3ef36b);}),CodeceptJS['event'][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)]['test'][_0x5ba23f(0x151)],_0x567f74=>{const _0x293f61=_0x5ba23f;PerformanceTester['start'](PerformanceHookEvents[_0x293f61(0xff)]);try{globals[_0x293f61(0xf5)](_0x312e6d['AGGit'],_0x567f74[_0x293f61(0xf1)]);_0x312e6d[_0x293f61(0xaf)](isBrowserstackInfra)&&(_0x441cc0&&(global[_0x293f61(0x105)]={'currentTest':{'name':_0x567f74['title'],'testInfo':{'titlePath':_0x567f74[_0x293f61(0x174)]()}}}));const _0x597e63={};_0x597e63['hookType']=_0x312e6d[_0x293f61(0xfd)],PerformanceTester['end'](PerformanceHookEvents[_0x293f61(0xff)],!![],null,_0x597e63);}catch(_0x24986a){PerformanceTester[_0x293f61(0x162)](_0x24986a);const _0x188af6={};_0x188af6[_0x293f61(0x16d)]=_0x312e6d[_0x293f61(0xfd)],PerformanceTester['end'](PerformanceHookEvents[_0x293f61(0xff)],![],_0x24986a,_0x188af6);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)]['started'],_0x12d0e9=>{const _0x4700fe=_0x5ba23f;PerformanceTester[_0x4700fe(0x173)](PerformanceHookEvents[_0x4700fe(0xff)]);try{globals['setGlobal'](_0x312e6d['AGGit'],_0x12d0e9[_0x4700fe(0xf1)]);const _0x1c8189=_0x4d8cd9[_0x4700fe(0x168)](TEST_EVENTS[_0x4700fe(0xd9)],_0x12d0e9);CodeceptRecorder[_0x4700fe(0x113)](()=>_0x4d8cd9[_0x4700fe(0x111)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1c8189)),CodeceptRecorder['add'](async()=>{const _0x2cef0d=_0x4700fe;_0x312e6d[_0x2cef0d(0xfb)](isBrowserstackInfra)&&(!_0x312e6d[_0x2cef0d(0x119)](isTrue,_0x401722[_0x2cef0d(0x12e)])&&await _0x312e6d['RJbSp'](markSessionName,_0x26232d,_0x12d0e9[_0x2cef0d(0xf1)]),_0x4d8cd9[_0x2cef0d(0x155)]&&await _0x312e6d[_0x2cef0d(0x116)](o11ySync,_0x26232d));});}catch(_0x17e39e){const _0x34de39={};_0x34de39['hookType']=_0x312e6d[_0x4700fe(0xd0)],PerformanceTester[_0x4700fe(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x17e39e,_0x34de39),PerformanceTester['captureError'](_0x17e39e);}const _0x5be137={};_0x5be137[_0x4700fe(0x16d)]=_0x312e6d[_0x4700fe(0xd0)],PerformanceTester[_0x4700fe(0xba)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5be137);}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)][_0x5ba23f(0xce)],_0x57ade1=>{const _0x575040=_0x5ba23f;PerformanceTester[_0x575040(0x173)](PerformanceHookEvents['SDK_HOOK']);try{const _0x43fa9f=_0x4d8cd9['captureEvent'](TEST_EVENTS[_0x575040(0x140)],_0x57ade1);CodeceptRecorder[_0x575040(0x113)](()=>_0x4d8cd9[_0x575040(0x111)](TEST_EVENTS[_0x575040(0x140)],_0x43fa9f)),CodeceptRecorder['add'](async()=>{const _0x182fe2=_0x575040,_0x3e3e49={'ShcXi':function(_0x57293f,_0x418f7d,_0x3e07f0){const _0x3f64c6=a1_0x136c;return _0x312e6d[_0x3f64c6(0xb7)](_0x57293f,_0x418f7d,_0x3e07f0);}};_0x312e6d[_0x182fe2(0xfb)](isBrowserstackInfra)&&await PerformanceTester[_0x182fe2(0xbb)](PerformanceAutEvents[_0x182fe2(0x123)],async()=>{const _0x2a3f24=_0x182fe2;_0x441cc0?await _0x3e3e49['ShcXi'](playwrightMarkSessionStatus,_0x26232d,STATE_PASSED):await _0x3e3e49[_0x2a3f24(0xc5)](markSessionStatus,_0x26232d,STATE_PASSED);})();}),PerformanceTester[_0x575040(0xba)](PerformanceEvents[_0x575040(0x139)]);}catch(_0x5d10ff){PerformanceTester['captureError'](_0x5d10ff);const _0x156f7d={};_0x156f7d[_0x575040(0x16d)]=_0x312e6d[_0x575040(0x13b)],PerformanceTester[_0x575040(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x5d10ff,_0x156f7d),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x5d10ff);}const _0x4cae81={};_0x4cae81[_0x575040(0x16d)]=_0x312e6d[_0x575040(0x13b)],PerformanceTester['end'](PerformanceHookEvents[_0x575040(0xff)],!![],null,_0x4cae81);}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)][_0x5ba23f(0xdd)],(_0x59f3f8,_0x2d4a80)=>{const _0x1516b6=_0x5ba23f;PerformanceTester[_0x1516b6(0x173)](PerformanceHookEvents[_0x1516b6(0xff)]);try{if(_0x312e6d[_0x1516b6(0x145)](_0x59f3f8[_0x1516b6(0xb6)][_0x1516b6(0x136)],_0x312e6d['eIuWM'])){const _0x17c907=_0x4d8cd9[_0x1516b6(0x168)](TEST_EVENTS[_0x1516b6(0xd2)],_0x59f3f8[_0x1516b6(0x160)][_0x1516b6(0x112)]);CodeceptRecorder[_0x1516b6(0x113)](()=>_0x4d8cd9[_0x1516b6(0x111)](TEST_EVENTS[_0x1516b6(0xd2)],_0x17c907));}else{const _0x38122c=_0x4d8cd9[_0x1516b6(0x168)](TEST_EVENTS[_0x1516b6(0x140)],_0x59f3f8,_0x2d4a80);CodeceptRecorder[_0x1516b6(0x113)](()=>{const _0xa6a506=_0x1516b6;try{_0x4d8cd9[_0xa6a506(0x111)](TEST_EVENTS[_0xa6a506(0x140)],_0x38122c);}catch(_0x293eb5){logger[_0xa6a506(0x13e)](_0xa6a506(0xc2)+util[_0xa6a506(0x143)](_0x293eb5)),PerformanceTester[_0xa6a506(0xba)](PerformanceEvents['SDK_TEST'],![],_0x293eb5);}}),CodeceptRecorder[_0x1516b6(0x113)](async()=>{const _0x1d2274=_0x1516b6;try{_0x312e6d[_0x1d2274(0xfb)](isBrowserstackInfra)&&(_0x441cc0?await _0x312e6d[_0x1d2274(0xf3)](playwrightMarkSessionStatus,_0x26232d,STATE_FAILED,_0x2d4a80):await _0x312e6d['WEkrI'](markSessionStatus,_0x26232d,STATE_FAILED,_0x2d4a80));}catch(_0x4b4f5a){logger['debug'](_0x1d2274(0xf8)+util[_0x1d2274(0x143)](_0x4b4f5a)),PerformanceTester[_0x1d2274(0xba)](PerformanceEvents[_0x1d2274(0x139)],![],_0x4b4f5a);}});}PerformanceTester[_0x1516b6(0xba)](PerformanceEvents[_0x1516b6(0x139)]);}catch(_0x4c9a17){PerformanceTester[_0x1516b6(0x162)](_0x4c9a17);const _0x42dd25={};_0x42dd25[_0x1516b6(0x16d)]=_0x312e6d[_0x1516b6(0x166)],PerformanceTester[_0x1516b6(0xba)](PerformanceHookEvents[_0x1516b6(0xff)],![],_0x4c9a17,_0x42dd25),PerformanceTester[_0x1516b6(0xba)](PerformanceEvents[_0x1516b6(0x139)],![],_0x4c9a17);}const _0x1f81f2={};_0x1f81f2[_0x1516b6(0x16d)]=_0x312e6d[_0x1516b6(0x166)],PerformanceTester[_0x1516b6(0xba)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1f81f2);}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)]['skipped'],_0x4d41b7=>{const _0x4a0c20=_0x5ba23f;PerformanceTester[_0x4a0c20(0x173)](PerformanceHookEvents[_0x4a0c20(0xff)]);try{const _0x422ea1=_0x4d8cd9[_0x4a0c20(0x168)](TEST_EVENTS[_0x4a0c20(0xd2)],_0x4d41b7);CodeceptRecorder['add'](()=>_0x4d8cd9[_0x4a0c20(0x111)](TEST_EVENTS[_0x4a0c20(0xd2)],_0x422ea1)),PerformanceTester['end'](PerformanceEvents[_0x4a0c20(0x139)]);}catch(_0x5d2fb5){PerformanceTester[_0x4a0c20(0x162)](_0x5d2fb5),PerformanceTester['end'](PerformanceEvents[_0x4a0c20(0x139)],![],_0x5d2fb5);const _0x90249={};_0x90249[_0x4a0c20(0x16d)]=_0x312e6d[_0x4a0c20(0xc9)],PerformanceTester[_0x4a0c20(0xba)](PerformanceHookEvents[_0x4a0c20(0xff)],![],_0x5d2fb5,_0x90249);}const _0x4bcba5={};_0x4bcba5[_0x4a0c20(0x16d)]=_0x312e6d[_0x4a0c20(0xc9)],PerformanceTester[_0x4a0c20(0xba)](PerformanceHookEvents[_0x4a0c20(0xff)],!![],null,_0x4bcba5);}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event'][_0x5ba23f(0x181)][_0x5ba23f(0xe4)],async(_0x2fa30a,_0x564e2a)=>{const _0x29e058=_0x5ba23f,_0x413989={};_0x413989['UAVnW']=_0x312e6d['lQwHv'];const _0x633ed1=_0x413989;try{PerformanceTester[_0x29e058(0x173)](PerformanceHookEvents[_0x29e058(0xff)]);if(_0x312e6d[_0x29e058(0xfb)](isBrowserstackInfra)){const _0x4aa7d6=_0x312e6d[_0x29e058(0x165)](shouldScanTestForAccessibility,_0x2fa30a['titlePath'](),!![]);if(_0x312e6d[_0x29e058(0x11a)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4aa7d6){const _0x1dbe9d={};_0x1dbe9d['thTestRunUuid']=_0x2fa30a[_0x29e058(0x11c)],_0x1dbe9d[_0x29e058(0x134)]=process[_0x29e058(0x15f)][testHubConstants[_0x29e058(0xe8)][_0x29e058(0x175)]],_0x1dbe9d[_0x29e058(0x128)]=process[_0x29e058(0x15f)][testHubConstants[_0x29e058(0xe8)][_0x29e058(0x16b)]];const _0x9ff8af=_0x1dbe9d;logger[_0x29e058(0x13e)](_0x29e058(0x172)+JSON[_0x29e058(0x109)](_0x9ff8af)),CodeceptRecorder[_0x29e058(0x113)](async()=>{const _0x36439a=_0x29e058,_0x664f34={};_0x664f34[_0x36439a(0x14d)]=_0x633ed1[_0x36439a(0x15e)],await PerformanceTester[_0x36439a(0xbb)](PerformanceA11yEvents[_0x36439a(0x152)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts['performScan']);},_0x664f34)(),await PerformanceTester[_0x36439a(0xbb)](PerformanceA11yEvents[_0x36439a(0xfa)],async()=>{const _0x1ba390=_0x36439a;await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts[_0x1ba390(0x132)],_0x9ff8af);})();}),logger[_0x29e058(0x12c)](_0x312e6d[_0x29e058(0x106)]);}}const _0x3eb01={};_0x3eb01[_0x29e058(0x16d)]=_0x312e6d[_0x29e058(0x10c)],PerformanceTester[_0x29e058(0xba)](PerformanceHookEvents[_0x29e058(0xff)],!![],null,_0x3eb01);}catch(_0x50d75c){PerformanceTester[_0x29e058(0x162)](_0x50d75c);const _0x2a4d56={};_0x2a4d56[_0x29e058(0x16d)]=_0x312e6d['uifmF'],PerformanceTester[_0x29e058(0xba)](PerformanceHookEvents[_0x29e058(0xff)],![],_0x50d75c,_0x2a4d56);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x13d)][_0x5ba23f(0xdb)],_0x56537d=>{const _0x3fbf5e=_0x5ba23f;PerformanceTester[_0x3fbf5e(0x173)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0x3fbf5e(0xe6)+process[_0x3fbf5e(0xc8)],{'timestamp':new Date()[_0x3fbf5e(0xb0)](),'level':_0x312e6d[_0x3fbf5e(0xca)],'message':_0x56537d,'kind':_0x312e6d[_0x3fbf5e(0x120)],'http_response':{}});}catch(_0x23b15b){PerformanceTester[_0x3fbf5e(0x162)](_0x23b15b);const _0x18b98f={};_0x18b98f[_0x3fbf5e(0x16d)]=_0x312e6d[_0x3fbf5e(0x12d)],PerformanceTester[_0x3fbf5e(0xba)](PerformanceHookEvents[_0x3fbf5e(0xff)],![],_0x23b15b,_0x18b98f);}const _0x1a51e0={};_0x1a51e0[_0x3fbf5e(0x16d)]=_0x312e6d['maBws'],PerformanceTester[_0x3fbf5e(0xba)](PerformanceHookEvents[_0x3fbf5e(0xff)],!![],null,_0x1a51e0);}),CodeceptJS['event'][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x14c)][_0x5ba23f(0x151)],_0x13fb12=>{const _0x4d8ff5=_0x5ba23f,_0x5a6e3f={};_0x5a6e3f[_0x4d8ff5(0x16d)]=_0x312e6d['KtxLF'],PerformanceTester[_0x4d8ff5(0xbb)](PerformanceHookEvents[_0x4d8ff5(0xff)],()=>{_0x4d8cd9['bddStepStart'](_0x13fb12);},_0x5a6e3f)();}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x14c)]['after'],_0xebd88=>{const _0x37318a=_0x5ba23f,_0x450896={};_0x450896['hookType']=_0x312e6d[_0x37318a(0x102)],PerformanceTester[_0x37318a(0xbb)](PerformanceHookEvents[_0x37318a(0xff)],()=>{const _0x9e3d9a=_0x37318a;_0x4d8cd9[_0x9e3d9a(0x170)](_0xebd88);},_0x450896)();});};
|
|
1
|
+
const a1_0x302636=a1_0x2612;function a1_0x2612(_0x5e4e3b,_0xcf0075){const _0x155cf6=a1_0x155c();return a1_0x2612=function(_0x261202,_0x158fd6){_0x261202=_0x261202-0x17d;let _0x4d1ab7=_0x155cf6[_0x261202];return _0x4d1ab7;},a1_0x2612(_0x5e4e3b,_0xcf0075);}(function(_0x27cc10,_0x3e704a){const _0x13c6e4=a1_0x2612,_0x280841=_0x27cc10();while(!![]){try{const _0x5d3070=parseInt(_0x13c6e4(0x1e0))/0x1+-parseInt(_0x13c6e4(0x1e5))/0x2+parseInt(_0x13c6e4(0x245))/0x3*(-parseInt(_0x13c6e4(0x1cc))/0x4)+parseInt(_0x13c6e4(0x229))/0x5+-parseInt(_0x13c6e4(0x243))/0x6*(parseInt(_0x13c6e4(0x1ef))/0x7)+-parseInt(_0x13c6e4(0x228))/0x8+parseInt(_0x13c6e4(0x1f9))/0x9;if(_0x5d3070===_0x3e704a)break;else _0x280841['push'](_0x280841['shift']());}catch(_0x3ab299){_0x280841['push'](_0x280841['shift']());}}}(a1_0x155c,0x5b035));function a1_0x155c(){const _0x1de018=['../../helpers/testhub/constants.js','getAccessibilityResults','jmsSB','HzUOz','SESSION_STATUS','setSessionStatus','NAQLc','gjAww','test-skipped','2868204LSbmju','Performing\x20scan\x20for\x20','passed','mOznX','bstackAllyScanning','../../bin/playwright/sessionDetails','stop','bswgp','../../helpers/helper','hookType','titlePath','step-comment','pid','../../helpers/request-spy','codeceptjs/lib/index.js','patchSaveScreenshot','prototype','captureEvent','LriWn','../../helpers/performance/constants','528933PLZWXw','qoNWT','eSBEu','bigam','helpers','99380CqZwnM','readFileSync','XvROP','debug','dBwmV','format','Hvcgu','WGlJo','dispatcher','../../bin/playwright/accessibility-helper','8071digLWS','test-passed','DLjPu','bouFa','SAVE_RESULTS','start','eXyve','ENV_VAR','WebDriver','BROWSERSTACK_TESTHUB_UUID','4799655kZKvru','ctx','shouldWrapCommand','tqJJg','../../helpers/accessibility-automation/helper','getResults','info','all','afHYp','XhRmT','codeceptjs/lib/helper/Playwright.js','ZaLOc','after','action','Puppeteer','TestCafe','GET_RESULTS','SDK_POST_INITIALIZE','uireJ','performScan','status','getSyncScript','env','oSEjP','testAnalyticsId','PmnMU','name','constructor','afterTest','HOOK_RUN_STARTED','test','./o11yHelper','browserStackExecuteDriver','getAccessibilityResultsSummary','jKuIv','bUVJP','sLhyf','stopMonitoring','OsaqV','PERFORM_SCAN','__driver','fyoGl','../../helpers/logger','title','measureWrapper','stringify','dAQTG','4924792mkZqYw','3470270Xmtbjv','browserstack_executor:\x20','mNLsP','evjgT','RrfYs','SDK_HOOK','Playwright','hzrLm','SDK_TEST','nZHlS','thJwtToken','SDK_PRE_INITIALIZE','HOOK_RUN_FINISHED','bddStep-after','KDONJ','util','skipSessionName','winstonLogger','test-started','../../helpers/globals.js','browserContext','bddStepStart','ohAGh','then','event','YnBAx','6qywZaF','base64','3JMBftN','iUgqL','TEST_SCREENSHOT','HGJYE','pMbrN','reason','failed','SDvaH','comment','test-after','step','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gVXKW','enabled','forEach','class','browser','vikqa','gdRJF','getResultsSummary','initSaveScreenshot','ozKHG','yczmH','TEST_RUN_SKIPPED','glNzf','FdDvf','filter','executeScript','tvluI','TEST_RUN_STARTED','../../helpers/test-observability/utils','command','TqHCF','pALaC','warn','end','container','contexts','pdeUE','SDK_POST_TEST','setGlobal','hook','add','./helper.js','INFO','browserstackTestName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/performance/performance-tester','__skipSessionStatus','__workerDetails','codeceptjs/lib/utils.js','thTestRunUuid','started','_before','hook-started','Suite','TEST_RUN_FINISHED','screenshotOutputFolder','captureError','KPBdT','call','qCWJF','apply','fbKMV','accessibilityPlatform','setSessionName','codeceptjs','pjKvT','exports','saveScreenshot','SDK_PRE_TEST','arguments','commandsToWrap','catch','fireEvent','skipSessionStatus','before','SESSION_NAME','rQvJo','currentTest','SYNC','hook-failed'];a1_0x155c=function(){return _0x1de018;};return a1_0x155c();}const fs=require('fs'),util=require(a1_0x302636(0x238)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x302636(0x1d4)),logger=require(a1_0x302636(0x223))[a1_0x302636(0x23a)],testOpsHelper=require(a1_0x302636(0x18f)),requestSpy=require(a1_0x302636(0x1d9)),PlaywrightSessionDetails=require(a1_0x302636(0x1d1)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x302636(0x218)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x302636(0x1fd)),AccessibilityHelper=require(a1_0x302636(0x1ee)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x302636(0x1a0)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x302636(0x1df)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x302636(0x19c)),testHubConstants=require(a1_0x302636(0x1c3)),globals=require(a1_0x302636(0x23c)),CodeceptJS=requireModule(a1_0x302636(0x1da),a1_0x302636(0x1b3)),CodeceptUtils=requireModule(a1_0x302636(0x1a3),a1_0x302636(0x1b3)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js','codeceptjs'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x302636(0x1b3)),CodeceptPlaywright=requireModule(a1_0x302636(0x203),'codeceptjs'),playwrightMarkSessionStatus=(_0x55ca0d,_0x4f3427,_0x35fdf5)=>{const _0x1bcd33=a1_0x302636,_0x515e59={'vikqa':_0x1bcd33(0x1c8),'qoNWT':function(_0x9b5966,_0x5d55a4){return _0x9b5966(_0x5d55a4);}},_0x5f2397={};_0x5f2397[_0x1bcd33(0x20d)]=_0x4f3427;const _0x1dc908={};_0x1dc908['action']=_0x515e59[_0x1bcd33(0x182)],_0x1dc908['arguments']=_0x5f2397;const _0x33bc28=_0x1dc908;return!_0x515e59[_0x1bcd33(0x1e1)](isUndefined,_0x35fdf5)&&(_0x33bc28[_0x1bcd33(0x1b8)][_0x1bcd33(0x24a)]=JSON[_0x1bcd33(0x226)](_0x35fdf5)),_0x55ca0d[_0x1bcd33(0x18c)](()=>{},_0x1bcd33(0x22a)+JSON['stringify'](_0x33bc28));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x302636(0x1c1)],async _0x3ace8d=>{const _0x432e9e=a1_0x302636,_0x15567a={};_0x15567a[_0x432e9e(0x249)]=function(_0x4b893b,_0x326897){return _0x4b893b===_0x326897;},_0x15567a['gjAww']=_0x432e9e(0x22f);const _0x360466=_0x15567a;_0x360466['pMbrN'](_0x3ace8d[_0x432e9e(0x214)]['name'],_0x360466[_0x432e9e(0x1ca)])?await _0x3ace8d[_0x432e9e(0x18c)](_0x318a35=>{},testOpsHelper[_0x432e9e(0x20e)]()):await _0x3ace8d[_0x432e9e(0x18c)](testOpsHelper[_0x432e9e(0x20e)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x302636(0x1be)],async(_0x18d47e,_0x48233b)=>{const _0x638c7d=a1_0x302636,_0x25c447={};_0x25c447[_0x638c7d(0x242)]=_0x638c7d(0x1b2),_0x25c447[_0x638c7d(0x202)]=function(_0x4fe5f0,_0x3a75bd){return _0x4fe5f0===_0x3a75bd;},_0x25c447[_0x638c7d(0x20b)]=_0x638c7d(0x22f);const _0x3b808b=_0x25c447,_0xc4bb88={};_0xc4bb88['name']=_0x48233b;const _0x440f7d={};_0x440f7d[_0x638c7d(0x206)]=_0x3b808b[_0x638c7d(0x242)],_0x440f7d[_0x638c7d(0x1b8)]=_0xc4bb88;const _0x3d210f=_0x440f7d;_0x3b808b[_0x638c7d(0x202)](_0x18d47e['constructor'][_0x638c7d(0x213)],_0x3b808b['uireJ'])?await _0x18d47e[_0x638c7d(0x18c)](()=>{},_0x638c7d(0x22a)+JSON[_0x638c7d(0x226)](_0x3d210f)):await _0x18d47e[_0x638c7d(0x18c)](_0x638c7d(0x22a)+JSON[_0x638c7d(0x226)](_0x3d210f));}),patchSaveScreenshot=_0x1d3e0a=>{const _0x43d7bb=a1_0x302636,_0x2e1107={'sLhyf':_0x43d7bb(0x244),'pdeUE':_0x43d7bb(0x247),'pALaC':function(_0x21d6b4){return _0x21d6b4();},'Npcrz':function(_0x25aef0,_0x23b965){return _0x25aef0(_0x23b965);}};_0x2e1107['Npcrz'](isTrue,process[_0x43d7bb(0x20f)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x1d3e0a[_0x43d7bb(0x1db)]&&(_0x1d3e0a[_0x43d7bb(0x1db)]=!![],_0x1d3e0a[_0x43d7bb(0x185)]=_0x1d3e0a[_0x43d7bb(0x1b6)],_0x1d3e0a[_0x43d7bb(0x1b6)]=(_0x10b781,_0x2fb6af=![])=>{const _0x1749cf=_0x43d7bb,_0x3e49c7={'hzrLm':_0x2e1107[_0x1749cf(0x21d)],'RrfYs':_0x2e1107[_0x1749cf(0x197)],'KPBdT':function(_0x5d6a1e){const _0x322c47=_0x1749cf;return _0x2e1107[_0x322c47(0x192)](_0x5d6a1e);}};return new Promise(function(_0x462df5,_0x484927){const _0x4da89a=_0x1749cf;_0x1d3e0a['initSaveScreenshot'](_0x10b781,_0x2fb6af)[_0x4da89a(0x240)](()=>{const _0x188c67=_0x4da89a,_0xd45b79=CodeceptUtils[_0x188c67(0x1aa)](_0x10b781),_0x3475dd=fs[_0x188c67(0x1e6)](_0xd45b79);process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x3475dd['toString'](_0x3e49c7[_0x188c67(0x230)]),'kind':_0x3e49c7[_0x188c67(0x22d)]}),_0x3e49c7[_0x188c67(0x1ac)](_0x462df5);})[_0x4da89a(0x1ba)](()=>null);});});},patchWebDriverBefore=_0x3164b6=>{const _0x5433a7=a1_0x302636,_0xeb6c91={'FdDvf':function(_0x355d87){return _0x355d87();},'afHYp':function(_0x600f82,_0x245cb9){return _0x600f82(_0x245cb9);},'ozKHG':function(_0x1d208d,_0x32558a){return _0x1d208d===_0x32558a;},'HGJYE':'Element','fyoGl':function(_0x2768f6,_0x19883c){return _0x2768f6(_0x19883c);}},_0x2a5e14=async function(_0x35c9cd,_0x1b6302){const _0x19c985=a1_0x2612;return _0xeb6c91[_0x19c985(0x18a)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x19c985(0x1b1)]&&scripts[_0x19c985(0x1fb)](_0x35c9cd[_0x19c985(0x213)])&&_0xeb6c91[_0x19c985(0x201)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x19c985(0x1d0)]=!![],await PerformanceTester[_0x19c985(0x225)](PerformanceA11yEvents[_0x19c985(0x220)],async()=>{const _0x480a7a=_0x19c985;logger['debug'](_0x480a7a(0x1cd)+_0x35c9cd[_0x480a7a(0x180)]+'\x20'+_0x35c9cd[_0x480a7a(0x213)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x3164b6,scripts[_0x480a7a(0x20c)]);},{'command':_0x35c9cd[_0x19c985(0x213)]})()),global[_0x19c985(0x1d0)]=![],_0x1b6302['apply'](this,Array[_0x19c985(0x1dc)]['slice'][_0x19c985(0x1ad)](arguments,0x2));},_0x5b67a6=CodeceptWebDriver[_0x5433a7(0x1dc)][_0x5433a7(0x1a6)];CodeceptWebDriver['prototype']['_before']=async function(){const _0xdbe131=_0x5433a7,_0x4f0882={'szaTv':function(_0x4ce172,_0x3a5cff){const _0x2f2ae0=a1_0x2612;return _0xeb6c91[_0x2f2ae0(0x186)](_0x4ce172,_0x3a5cff);},'pjKvT':_0xeb6c91[_0xdbe131(0x248)]};try{await _0x5b67a6[_0xdbe131(0x1af)](this,arguments);}catch(_0x8d679b){logger['debug']('Failed\x20to\x20execute\x20_before:\x20'+util[_0xdbe131(0x1ea)](_0x8d679b));}scripts[_0xdbe131(0x1b9)][_0xdbe131(0x18b)](_0x573fb2=>_0x573fb2['name']&&_0x573fb2['class'])[_0xdbe131(0x17f)](_0x176651=>{const _0x6a4551=_0xdbe131;this[_0x6a4551(0x181)]['overwriteCommand'](_0x176651['name'],_0x2a5e14['bind'](this,_0x176651),_0x4f0882['szaTv'](_0x176651['class'],_0x4f0882[_0x6a4551(0x1b4)]));}),_0xeb6c91[_0xdbe131(0x222)](processWebDriverConfig,_0x3164b6);};},patchPlaywrightBefore=()=>{const _0x139854=a1_0x302636;PlaywrightSessionDetails['patch']();const _0x3d59b8=CodeceptPlaywright['prototype'][_0x139854(0x1a6)];CodeceptPlaywright['prototype'][_0x139854(0x1a6)]=async function(){const _0x1b2a9e=_0x139854;this[_0x1b2a9e(0x23d)]=await this['browser'][_0x1b2a9e(0x196)]()[0x0],await _0x3d59b8[_0x1b2a9e(0x1af)](this,arguments);};},getCodeceptDriver=()=>{const _0x2d6cf5=a1_0x302636,_0x1a668f={};_0x1a668f['mNLsP']=_0x2d6cf5(0x1f7),_0x1a668f['NAQLc']='Playwright',_0x1a668f[_0x2d6cf5(0x1ae)]=_0x2d6cf5(0x207),_0x1a668f[_0x2d6cf5(0x191)]=_0x2d6cf5(0x208);const _0x2706cf=_0x1a668f,_0x3968b7=[_0x2706cf[_0x2d6cf5(0x22b)],_0x2706cf[_0x2d6cf5(0x1c9)],_0x2706cf['qCWJF'],_0x2706cf[_0x2d6cf5(0x191)]],_0x289fb3=_0x3968b7['find'](_0x5f115e=>!!CodeceptJS['container'][_0x2d6cf5(0x1e4)](_0x5f115e));if(!_0x289fb3)return null;return CodeceptJS[_0x2d6cf5(0x195)][_0x2d6cf5(0x1e4)](_0x289fb3);};module[a1_0x302636(0x1b5)]=function(_0x2781c6){const _0x22f390=a1_0x302636,_0x21ea29={'jmsSB':function(_0x32ee5a){return _0x32ee5a();},'eXyve':function(_0x1c0186,_0x860e39){return _0x1c0186(_0x860e39);},'glNzf':_0x22f390(0x1c4),'zCIEH':_0x22f390(0x19f),'OsaqV':_0x22f390(0x21a),'tqJJg':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','nbCIr':function(_0x3191f4,_0x41beea){return _0x3191f4(_0x41beea);},'HzUOz':_0x22f390(0x1a7),'mOznX':'hook-passed','tvluI':_0x22f390(0x1c2),'yczmH':_0x22f390(0x19e),'yULmK':function(_0x207d40){return _0x207d40();},'evjgT':'test-before','OoHlS':function(_0x5b9a93,_0x4dd88e){return _0x5b9a93(_0x4dd88e);},'jKuIv':function(_0x3ad12a,_0x256158,_0x1292c3){return _0x3ad12a(_0x256158,_0x1292c3);},'DLjPu':_0x22f390(0x23b),'zdzFg':function(_0x1a25ee,_0xa37886,_0x258f3f){return _0x1a25ee(_0xa37886,_0x258f3f);},'gVXKW':_0x22f390(0x1f0),'nwiBU':function(_0x2713d8){return _0x2713d8();},'dBwmV':function(_0x421806,_0x54a7d1,_0x36e2fe,_0x194f79){return _0x421806(_0x54a7d1,_0x36e2fe,_0x194f79);},'esgIH':function(_0x838db9,_0x5e7ce4){return _0x838db9===_0x5e7ce4;},'KDONJ':_0x22f390(0x1a8),'WGlJo':'test-failed','dAQTG':_0x22f390(0x1cb),'XvROP':_0x22f390(0x215),'LriWn':function(_0x569309){return _0x569309();},'gdRJF':function(_0x1da167,_0x1c2fba,_0xf524b5){return _0x1da167(_0x1c2fba,_0xf524b5);},'bigam':function(_0x250a8f){return _0x250a8f();},'rQvJo':_0x22f390(0x250),'oSEjP':_0x22f390(0x24e),'SDvaH':_0x22f390(0x19d),'PmnMU':'TEST_LOG','nZHlS':_0x22f390(0x1d7),'Hvcgu':'bddStep-before','fbKMV':_0x22f390(0x236),'owvOB':function(_0x4c6855){return _0x4c6855();},'bDzew':_0x22f390(0x22f)};_0x2781c6[_0x22f390(0x1bc)]&&(global[_0x22f390(0x1a1)]=_0x2781c6[_0x22f390(0x1bc)]);PerformanceTester['startMonitoring']();const _0x94faa9=_0x21ea29['owvOB'](getCodeceptDriver),_0x58c51d=new O11yHelper(_0x94faa9,_0x2781c6),_0x545f91=!!CodeceptJS[_0x22f390(0x195)]['helpers'](_0x21ea29['bDzew']);global[_0x22f390(0x221)]=_0x94faa9,_0x94faa9&&(PerformanceTester[_0x22f390(0x225)](PerformanceEvents[_0x22f390(0x234)],()=>{const _0x5e7441=_0x22f390;_0x545f91?_0x21ea29[_0x5e7441(0x1c5)](patchPlaywrightBefore):_0x21ea29[_0x5e7441(0x1f5)](patchWebDriverBefore,_0x94faa9);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x22f390(0x20a)],()=>{const _0x168aa8=_0x22f390,_0x26038f={};_0x26038f[_0x168aa8(0x246)]=_0x21ea29[_0x168aa8(0x21f)],_0x26038f[_0x168aa8(0x1e2)]=_0x21ea29[_0x168aa8(0x1fc)];const _0x114110=_0x26038f;_0x94faa9[_0x168aa8(0x21a)]=async()=>{const _0x1fe302=_0x168aa8;if(global[_0x1fe302(0x1b1)]){const _0x3607d2={};_0x3607d2['command']=_0x114110[_0x1fe302(0x246)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1fe302(0x220)],async()=>{const _0x16788c=_0x1fe302;await AccessibilityHelper[_0x16788c(0x219)](_0x94faa9,scripts['performScan']);},_0x3607d2)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x396bda=_0x1fe302;await AccessibilityHelper['browserStackExecuteDriver'](_0x94faa9,scripts[_0x396bda(0x184)]);})();}else return logger['warn'](_0x114110[_0x1fe302(0x1e2)]),{};},_0x94faa9['getAccessibilityResults']=async()=>{const _0x3b48a1=_0x168aa8;if(global['accessibilityPlatform']){const _0x30b3fc={};_0x30b3fc[_0x3b48a1(0x190)]=_0x21ea29[_0x3b48a1(0x189)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3b48a1(0x220)],async()=>{const _0x23991d=_0x3b48a1;await AccessibilityHelper[_0x23991d(0x219)](_0x94faa9,scripts[_0x23991d(0x20c)]);},_0x30b3fc)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3b48a1(0x209)],async()=>{const _0x3cdb2=_0x3b48a1;await AccessibilityHelper[_0x3cdb2(0x219)](_0x94faa9,scripts[_0x3cdb2(0x1fe)]);})();}else return logger[_0x3b48a1(0x193)](_0x21ea29['zCIEH']),{};},_0x21ea29['nbCIr'](patchSaveScreenshot,_0x94faa9);})()),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)]['all'][_0x22f390(0x1bd)],()=>{const _0x3e7d0=_0x22f390;PerformanceTester[_0x3e7d0(0x1f4)](PerformanceEvents[_0x3e7d0(0x1b7)]);try{_0x58c51d[_0x3e7d0(0x1f4)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x3e7d0(0x194)](PerformanceEvents[_0x3e7d0(0x1b7)]);}catch(_0x2bab3f){PerformanceTester[_0x3e7d0(0x1ab)](_0x2bab3f),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x2bab3f);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x200)][_0x22f390(0x205)],async()=>{const _0x24aa90=_0x22f390;PerformanceTester[_0x24aa90(0x1f4)](PerformanceEvents[_0x24aa90(0x198)]);try{requestSpy['restore'](),await _0x58c51d[_0x24aa90(0x1d2)](),PerformanceTester[_0x24aa90(0x194)](PerformanceEvents[_0x24aa90(0x198)]);}catch(_0x4d762e){PerformanceTester['captureError'](_0x4d762e),PerformanceTester[_0x24aa90(0x194)](PerformanceEvents['SDK_POST_TEST'],![],_0x4d762e);}finally{PerformanceTester[_0x24aa90(0x21e)]();}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x19a)][_0x22f390(0x1a5)],_0x4c0710=>{const _0x1466b7=_0x22f390;PerformanceTester[_0x1466b7(0x1f4)](PerformanceEvents[_0x1466b7(0x22e)]);try{const _0x3fcbde=_0x4c0710[_0x1466b7(0x1fa)]['test'],_0x3ee6d5=_0x58c51d[_0x1466b7(0x1dd)](TEST_EVENTS[_0x1466b7(0x216)],_0x3fcbde);CodeceptRecorder['add'](()=>_0x58c51d['fireEvent'](TEST_EVENTS[_0x1466b7(0x216)],_0x3ee6d5));const _0x2a41fc={};_0x2a41fc[_0x1466b7(0x1d5)]=_0x21ea29[_0x1466b7(0x1c6)],PerformanceTester[_0x1466b7(0x194)](PerformanceEvents['SDK_HOOK'],!![],null,_0x2a41fc);}catch(_0x29102a){const _0x4434ac={};_0x4434ac[_0x1466b7(0x1d5)]=_0x21ea29[_0x1466b7(0x1c6)],PerformanceTester[_0x1466b7(0x194)](PerformanceEvents[_0x1466b7(0x22e)],![],_0x29102a,_0x4434ac),PerformanceTester['captureError'](_0x29102a);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x19a)][_0x22f390(0x1ce)],_0x30e95f=>{const _0x134e45=_0x22f390,_0x575ccd={};_0x575ccd['hookType']=_0x21ea29['mOznX'],PerformanceTester[_0x134e45(0x1f4)](PerformanceHookEvents[_0x134e45(0x22e)],!![],null,_0x575ccd);try{const _0x22f72c=_0x30e95f[_0x134e45(0x1fa)][_0x134e45(0x217)],_0x5059b2=_0x58c51d['captureEvent'](TEST_EVENTS[_0x134e45(0x235)],_0x22f72c);CodeceptRecorder[_0x134e45(0x19b)](()=>_0x58c51d['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5059b2));const _0x19268b={};_0x19268b[_0x134e45(0x1d5)]=_0x21ea29[_0x134e45(0x1cf)],PerformanceTester[_0x134e45(0x194)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x19268b);}catch(_0x13d608){PerformanceTester[_0x134e45(0x1ab)](_0x13d608);const _0x55bd0f={};_0x55bd0f[_0x134e45(0x1d5)]=_0x21ea29[_0x134e45(0x1cf)],PerformanceTester[_0x134e45(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x13d608,_0x55bd0f);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x19a)][_0x22f390(0x24b)],async(_0x58d4ec,_0x1b75cf)=>{const _0x178227=_0x22f390;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x25750a=_0x58d4ec[_0x178227(0x1fa)][_0x178227(0x217)],_0x5417e2=_0x58c51d['captureEvent'](TEST_EVENTS[_0x178227(0x235)],_0x25750a,_0x1b75cf);CodeceptRecorder['add'](()=>_0x58c51d['fireEvent'](TEST_EVENTS[_0x178227(0x235)],_0x5417e2));const _0x298c1e={};_0x298c1e['hookType']=_0x21ea29[_0x178227(0x18d)],PerformanceTester[_0x178227(0x1f4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x298c1e);}catch(_0x563e5c){PerformanceTester['captureError'](_0x563e5c);const _0x17b0cc={};_0x17b0cc[_0x178227(0x1d5)]=_0x21ea29['tvluI'],PerformanceTester[_0x178227(0x194)](PerformanceHookEvents[_0x178227(0x22e)],![],_0x563e5c,_0x17b0cc);}const _0x5d9ccd={};_0x5d9ccd['hookType']=_0x21ea29['tvluI'],PerformanceTester['end'](PerformanceHookEvents[_0x178227(0x22e)],!![],null,_0x5d9ccd);}),CodeceptJS[_0x22f390(0x241)]['dispatcher']['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)][_0x22f390(0x1bd)],_0x305bdc=>{const _0x45f24f=_0x22f390;PerformanceTester[_0x45f24f(0x1f4)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x45f24f(0x199)](_0x21ea29[_0x45f24f(0x187)],_0x305bdc['title']);_0x21ea29['yULmK'](isBrowserstackInfra)&&(_0x545f91&&(global[_0x45f24f(0x1a2)]={'currentTest':{'name':_0x305bdc[_0x45f24f(0x224)],'testInfo':{'titlePath':_0x305bdc[_0x45f24f(0x1d6)]()}}}));const _0x4d72e2={};_0x4d72e2['hookType']=_0x21ea29[_0x45f24f(0x22c)],PerformanceTester[_0x45f24f(0x194)](PerformanceHookEvents[_0x45f24f(0x22e)],!![],null,_0x4d72e2);}catch(_0x39a697){PerformanceTester[_0x45f24f(0x1ab)](_0x39a697);const _0x11d63b={};_0x11d63b[_0x45f24f(0x1d5)]=_0x21ea29['evjgT'],PerformanceTester[_0x45f24f(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x39a697,_0x11d63b);}}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)][_0x22f390(0x1a5)],_0x4305ea=>{const _0x1f01be=_0x22f390,_0x231629={'ZaLOc':function(_0x4f5f6e){const _0x521c8c=a1_0x2612;return _0x21ea29[_0x521c8c(0x1c5)](_0x4f5f6e);},'ohAGh':function(_0x4e00af,_0x23af9b){return _0x21ea29['OoHlS'](_0x4e00af,_0x23af9b);},'bswgp':function(_0x362eae,_0x3e0210,_0x35a4b1){const _0x291883=a1_0x2612;return _0x21ea29[_0x291883(0x21b)](_0x362eae,_0x3e0210,_0x35a4b1);}};PerformanceTester[_0x1f01be(0x1f4)](PerformanceHookEvents[_0x1f01be(0x22e)]);try{globals[_0x1f01be(0x199)](_0x21ea29[_0x1f01be(0x187)],_0x4305ea[_0x1f01be(0x224)]);const _0x3834b4=_0x58c51d[_0x1f01be(0x1dd)](TEST_EVENTS[_0x1f01be(0x18e)],_0x4305ea);CodeceptRecorder['add'](()=>_0x58c51d[_0x1f01be(0x1bb)](TEST_EVENTS[_0x1f01be(0x18e)],_0x3834b4)),CodeceptRecorder['add'](async()=>{const _0x459d5a=_0x1f01be;_0x231629[_0x459d5a(0x204)](isBrowserstackInfra)&&(!_0x231629[_0x459d5a(0x23f)](isTrue,_0x2781c6[_0x459d5a(0x239)])&&await _0x231629[_0x459d5a(0x1d3)](markSessionName,_0x94faa9,_0x4305ea[_0x459d5a(0x224)]),_0x58c51d[_0x459d5a(0x17e)]&&await _0x231629[_0x459d5a(0x23f)](o11ySync,_0x94faa9));});}catch(_0x499a41){const _0x58b3d8={};_0x58b3d8[_0x1f01be(0x1d5)]=_0x21ea29[_0x1f01be(0x1f1)],PerformanceTester[_0x1f01be(0x194)](PerformanceHookEvents[_0x1f01be(0x22e)],![],_0x499a41,_0x58b3d8),PerformanceTester[_0x1f01be(0x1ab)](_0x499a41);}const _0x46db4a={};_0x46db4a['hookType']=_0x21ea29[_0x1f01be(0x1f1)],PerformanceTester[_0x1f01be(0x194)](PerformanceHookEvents[_0x1f01be(0x22e)],!![],null,_0x46db4a);}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)]['test'][_0x22f390(0x1ce)],_0x194c64=>{const _0x19fd2d=_0x22f390,_0x1498c7={'bUVJP':function(_0x46d35e,_0xa744f,_0x3ff193){return _0x21ea29['zdzFg'](_0x46d35e,_0xa744f,_0x3ff193);},'bouFa':function(_0x45ae72,_0x12cc83,_0x4e0d9a){return _0x21ea29['jKuIv'](_0x45ae72,_0x12cc83,_0x4e0d9a);}};PerformanceTester[_0x19fd2d(0x1f4)](PerformanceHookEvents['SDK_HOOK']);try{const _0x396902=_0x58c51d['captureEvent'](TEST_EVENTS[_0x19fd2d(0x1a9)],_0x194c64);CodeceptRecorder[_0x19fd2d(0x19b)](()=>_0x58c51d[_0x19fd2d(0x1bb)](TEST_EVENTS[_0x19fd2d(0x1a9)],_0x396902)),CodeceptRecorder[_0x19fd2d(0x19b)](async()=>{const _0x388026=_0x19fd2d;_0x21ea29[_0x388026(0x1c5)](isBrowserstackInfra)&&await PerformanceTester[_0x388026(0x225)](PerformanceAutEvents[_0x388026(0x1c7)],async()=>{const _0x29bead=_0x388026;_0x545f91?await _0x1498c7[_0x29bead(0x21c)](playwrightMarkSessionStatus,_0x94faa9,STATE_PASSED):await _0x1498c7[_0x29bead(0x1f2)](markSessionStatus,_0x94faa9,STATE_PASSED);})();}),PerformanceTester[_0x19fd2d(0x194)](PerformanceEvents['SDK_TEST']);}catch(_0x50d7ee){PerformanceTester[_0x19fd2d(0x1ab)](_0x50d7ee);const _0x46349d={};_0x46349d['hookType']=_0x21ea29['gVXKW'],PerformanceTester[_0x19fd2d(0x194)](PerformanceHookEvents[_0x19fd2d(0x22e)],![],_0x50d7ee,_0x46349d),PerformanceTester[_0x19fd2d(0x194)](PerformanceEvents['SDK_TEST'],![],_0x50d7ee);}const _0x209a1b={};_0x209a1b[_0x19fd2d(0x1d5)]=_0x21ea29[_0x19fd2d(0x17d)],PerformanceTester['end'](PerformanceHookEvents[_0x19fd2d(0x22e)],!![],null,_0x209a1b);}),CodeceptJS['event'][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)][_0x22f390(0x24b)],(_0x2dda33,_0x2c9d5d)=>{const _0xed0729=_0x22f390;PerformanceTester['start'](PerformanceHookEvents[_0xed0729(0x22e)]);try{if(_0x21ea29['esgIH'](_0x2dda33[_0xed0729(0x214)]['name'],_0x21ea29[_0xed0729(0x237)])){const _0x1df9d7=_0x58c51d['captureEvent'](TEST_EVENTS[_0xed0729(0x188)],_0x2dda33['ctx'][_0xed0729(0x1c0)]);CodeceptRecorder[_0xed0729(0x19b)](()=>_0x58c51d[_0xed0729(0x1bb)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1df9d7));}else{const _0x47255c=_0x58c51d[_0xed0729(0x1dd)](TEST_EVENTS[_0xed0729(0x1a9)],_0x2dda33,_0x2c9d5d);CodeceptRecorder[_0xed0729(0x19b)](()=>{const _0x2cb820=_0xed0729;try{_0x58c51d['fireEvent'](TEST_EVENTS[_0x2cb820(0x1a9)],_0x47255c);}catch(_0x16c50e){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x2cb820(0x1ea)](_0x16c50e)),PerformanceTester[_0x2cb820(0x194)](PerformanceEvents[_0x2cb820(0x231)],![],_0x16c50e);}}),CodeceptRecorder[_0xed0729(0x19b)](async()=>{const _0x4df17d=_0xed0729;try{_0x21ea29['nwiBU'](isBrowserstackInfra)&&(_0x545f91?await _0x21ea29[_0x4df17d(0x1e9)](playwrightMarkSessionStatus,_0x94faa9,STATE_FAILED,_0x2c9d5d):await _0x21ea29['dBwmV'](markSessionStatus,_0x94faa9,STATE_FAILED,_0x2c9d5d));}catch(_0x1ed8ac){logger[_0x4df17d(0x1e8)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x4df17d(0x1ea)](_0x1ed8ac)),PerformanceTester['end'](PerformanceEvents[_0x4df17d(0x231)],![],_0x1ed8ac);}});}PerformanceTester[_0xed0729(0x194)](PerformanceEvents['SDK_TEST']);}catch(_0x2f3d41){PerformanceTester[_0xed0729(0x1ab)](_0x2f3d41);const _0x5cfe6b={};_0x5cfe6b[_0xed0729(0x1d5)]=_0x21ea29['WGlJo'],PerformanceTester[_0xed0729(0x194)](PerformanceHookEvents[_0xed0729(0x22e)],![],_0x2f3d41,_0x5cfe6b),PerformanceTester[_0xed0729(0x194)](PerformanceEvents[_0xed0729(0x231)],![],_0x2f3d41);}const _0x1a95d9={};_0x1a95d9[_0xed0729(0x1d5)]=_0x21ea29[_0xed0729(0x1ec)],PerformanceTester[_0xed0729(0x194)](PerformanceHookEvents[_0xed0729(0x22e)],!![],null,_0x1a95d9);}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)][_0x22f390(0x217)]['skipped'],_0x155976=>{const _0x32e1bd=_0x22f390;PerformanceTester[_0x32e1bd(0x1f4)](PerformanceHookEvents[_0x32e1bd(0x22e)]);try{const _0x19e782=_0x58c51d[_0x32e1bd(0x1dd)](TEST_EVENTS[_0x32e1bd(0x188)],_0x155976);CodeceptRecorder[_0x32e1bd(0x19b)](()=>_0x58c51d[_0x32e1bd(0x1bb)](TEST_EVENTS[_0x32e1bd(0x188)],_0x19e782)),PerformanceTester[_0x32e1bd(0x194)](PerformanceEvents[_0x32e1bd(0x231)]);}catch(_0x3f4658){PerformanceTester[_0x32e1bd(0x1ab)](_0x3f4658),PerformanceTester[_0x32e1bd(0x194)](PerformanceEvents[_0x32e1bd(0x231)],![],_0x3f4658);const _0x17f326={};_0x17f326[_0x32e1bd(0x1d5)]=_0x21ea29[_0x32e1bd(0x227)],PerformanceTester[_0x32e1bd(0x194)](PerformanceHookEvents[_0x32e1bd(0x22e)],![],_0x3f4658,_0x17f326);}const _0x752e30={};_0x752e30[_0x32e1bd(0x1d5)]=_0x21ea29[_0x32e1bd(0x227)],PerformanceTester[_0x32e1bd(0x194)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x752e30);}),CodeceptJS['event'][_0x22f390(0x1ed)]['on'](CodeceptJS['event']['test'][_0x22f390(0x205)],async(_0x2979f5,_0x4c5296)=>{const _0x986d4e=_0x22f390;try{PerformanceTester[_0x986d4e(0x1f4)](PerformanceHookEvents[_0x986d4e(0x22e)]);if(_0x21ea29[_0x986d4e(0x1de)](isBrowserstackInfra)){const _0x434e0a=_0x21ea29[_0x986d4e(0x183)](shouldScanTestForAccessibility,_0x2979f5['titlePath'](),!![]);if(_0x21ea29[_0x986d4e(0x1e3)](isAccessibilityAutomationSession)&&global[_0x986d4e(0x1b1)]&&_0x434e0a){const _0x1144b3={};_0x1144b3[_0x986d4e(0x1a4)]=_0x2979f5[_0x986d4e(0x211)],_0x1144b3['thBuildUuid']=process[_0x986d4e(0x20f)][testHubConstants[_0x986d4e(0x1f6)][_0x986d4e(0x1f8)]],_0x1144b3[_0x986d4e(0x233)]=process[_0x986d4e(0x20f)][testHubConstants[_0x986d4e(0x1f6)]['BROWSERSTACK_TESTHUB_JWT']];const _0x22d3bc=_0x1144b3;logger[_0x986d4e(0x1e8)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x986d4e(0x226)](_0x22d3bc)),CodeceptRecorder[_0x986d4e(0x19b)](async()=>{const _0x1d5e4f=_0x986d4e,_0x5be520={};_0x5be520[_0x1d5e4f(0x190)]=_0x21ea29[_0x1d5e4f(0x1e7)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1d5e4f(0x220)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x94faa9,scripts['performScan']);},_0x5be520)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1d5e4f(0x1f3)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x94faa9,scripts['saveTestResults'],_0x22d3bc);})();}),logger[_0x986d4e(0x1ff)](_0x21ea29[_0x986d4e(0x1bf)]);}}const _0x989730={};_0x989730[_0x986d4e(0x1d5)]=_0x21ea29[_0x986d4e(0x210)],PerformanceTester['end'](PerformanceHookEvents[_0x986d4e(0x22e)],!![],null,_0x989730);}catch(_0x10a0c2){PerformanceTester[_0x986d4e(0x1ab)](_0x10a0c2);const _0x24bc9d={};_0x24bc9d[_0x986d4e(0x1d5)]=_0x21ea29[_0x986d4e(0x210)],PerformanceTester['end'](PerformanceHookEvents[_0x986d4e(0x22e)],![],_0x10a0c2,_0x24bc9d);}}),CodeceptJS['event'][_0x22f390(0x1ed)]['on'](CodeceptJS['event'][_0x22f390(0x24f)][_0x22f390(0x24d)],_0x5df5aa=>{const _0xc830ff=_0x22f390;PerformanceTester[_0xc830ff(0x1f4)](PerformanceHookEvents['SDK_HOOK']);try{process['emit']('bs:addLog:'+process[_0xc830ff(0x1d8)],{'timestamp':new Date()['toISOString'](),'level':_0x21ea29[_0xc830ff(0x24c)],'message':_0x5df5aa,'kind':_0x21ea29[_0xc830ff(0x212)],'http_response':{}});}catch(_0x456477){PerformanceTester[_0xc830ff(0x1ab)](_0x456477);const _0x3a422f={};_0x3a422f[_0xc830ff(0x1d5)]=_0x21ea29[_0xc830ff(0x232)],PerformanceTester['end'](PerformanceHookEvents[_0xc830ff(0x22e)],![],_0x456477,_0x3a422f);}const _0x410cbc={};_0x410cbc[_0xc830ff(0x1d5)]=_0x21ea29[_0xc830ff(0x232)],PerformanceTester[_0xc830ff(0x194)](PerformanceHookEvents[_0xc830ff(0x22e)],!![],null,_0x410cbc);}),CodeceptJS[_0x22f390(0x241)][_0x22f390(0x1ed)]['on'](CodeceptJS[_0x22f390(0x241)]['bddStep']['before'],_0x481daa=>{const _0x31a85d=_0x22f390,_0x48077e={};_0x48077e[_0x31a85d(0x1d5)]=_0x21ea29[_0x31a85d(0x1eb)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x31a85d(0x22e)],()=>{const _0x22ec25=_0x31a85d;_0x58c51d[_0x22ec25(0x23e)](_0x481daa);},_0x48077e)();}),CodeceptJS[_0x22f390(0x241)]['dispatcher']['on'](CodeceptJS[_0x22f390(0x241)]['bddStep']['after'],_0x417763=>{const _0x583eb6=_0x22f390,_0x1e3989={};_0x1e3989[_0x583eb6(0x1d5)]=_0x21ea29[_0x583eb6(0x1b0)],PerformanceTester[_0x583eb6(0x225)](PerformanceHookEvents[_0x583eb6(0x22e)],()=>{_0x58c51d['bddStepFinish'](_0x417763);},_0x1e3989)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0xb43cde=a2_0x47e4;(function(_0x4c4328,_0x30fb06){const _0x58cb94=a2_0x47e4,_0x3517fb=_0x4c4328();while(!![]){try{const _0x2872a7=-parseInt(_0x58cb94(0x1cd))/0x1*(-parseInt(_0x58cb94(0x1bd))/0x2)+-parseInt(_0x58cb94(0x1d8))/0x3*(parseInt(_0x58cb94(0x157))/0x4)+parseInt(_0x58cb94(0x1d6))/0x5*(-parseInt(_0x58cb94(0x15c))/0x6)+-parseInt(_0x58cb94(0x15b))/0x7+-parseInt(_0x58cb94(0x164))/0x8*(-parseInt(_0x58cb94(0x187))/0x9)+parseInt(_0x58cb94(0x1b2))/0xa*(-parseInt(_0x58cb94(0x1ad))/0xb)+-parseInt(_0x58cb94(0x1dc))/0xc*(-parseInt(_0x58cb94(0x1b9))/0xd);if(_0x2872a7===_0x30fb06)break;else _0x3517fb['push'](_0x3517fb['shift']());}catch(_0x11364e){_0x3517fb['push'](_0x3517fb['shift']());}}}(a2_0x21f4,0xbbc1f));function a2_0x47e4(_0x43effc,_0x500f37){const _0x21f436=a2_0x21f4();return a2_0x47e4=function(_0x47e432,_0x381387){_0x47e432=_0x47e432-0x156;let _0x2e0729=_0x21f436[_0x47e432];return _0x2e0729;},a2_0x47e4(_0x43effc,_0x500f37);}const fs=require('fs'),path=require(a2_0xb43cde(0x1c1)),util=require(a2_0xb43cde(0x1a6)),process=require(a2_0xb43cde(0x1b4)),logger=require('../../helpers/logger')[a2_0xb43cde(0x169)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0xb43cde(0x17d)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0xb43cde(0x178)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0xb43cde(0x18f)),CodeceptJS=requireModule(a2_0xb43cde(0x1b3),'codeceptjs'),testOpsHelper=require(a2_0xb43cde(0x1cf)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0xb43cde(0x1aa)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a2_0xb43cde(0x17c))[a2_0xb43cde(0x1b6)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x41e7b8,_0x1ec044)=>{const _0x18636b=a2_0xb43cde,_0x538813={};_0x538813[_0x18636b(0x199)]=function(_0x1e70f7,_0x352d61){return _0x1e70f7===_0x352d61;},_0x538813['BvoQZ']=_0x18636b(0x1ae),_0x538813['xtERg']='codecept.json';const _0x56bbcd=_0x538813;let _0x514030=null;const _0x3d1e6c={};let _0x1d3e23=_0x1ec044[_0x18636b(0x1cc)](_0x70e195=>_0x70e195==='--config');_0x56bbcd[_0x18636b(0x199)](_0x1d3e23,-0x1)&&(_0x1d3e23=_0x1ec044[_0x18636b(0x1cc)](_0x404b83=>_0x404b83==='-c'));if(!helper['isUndefined'](_0x41e7b8[_0x18636b(0x1db)])&&fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x41e7b8[_0x18636b(0x1db)])))_0x514030=path[_0x18636b(0x16b)](process['cwd'](),_0x41e7b8[_0x18636b(0x1db)]),_0x1ec044[_0x18636b(0x175)](_0x1d3e23,0x2);else{if(!helper[_0x18636b(0x1a4)](_0x41e7b8['c'])&&fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x41e7b8['c'])))_0x514030=path['join'](process[_0x18636b(0x176)](),_0x41e7b8['c']),_0x1ec044[_0x18636b(0x175)](_0x1d3e23,0x2);else{if(fs['existsSync'](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x159)])))_0x514030=path['join'](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x159)]);else fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x177)]))&&(_0x514030=path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd['xtERg']));}}return process[_0x18636b(0x171)][_0x18636b(0x198)]=_0x514030,_0x514030;},getO11yRerunPattern=()=>{const _0x4b6669=a2_0xb43cde,_0xe4be71=helper[_0x4b6669(0x16e)](process[_0x4b6669(0x171)][_0x4b6669(0x16d)]);if(_0xe4be71){const _0x4db339=process[_0x4b6669(0x171)][_0x4b6669(0x1bb)],_0x4f0aa8=[];if(helper['validateRerunTestList'](_0x4db339)&&!helper[_0x4b6669(0x1a4)](_0x4db339)){_0x4db339['split'](',')['map'](_0x231fe6=>{_0x4f0aa8['push']('('+_0x231fe6['trim']()+')');});const _0xf1c9da='^'+_0x4f0aa8[_0x4b6669(0x16b)]('|')+'$';return _0xf1c9da;}}return null;},a2_0x5ae915={};a2_0x5ae915[a2_0xb43cde(0x15f)]=a2_0xb43cde(0x1c9),a2_0x5ae915[a2_0xb43cde(0x1af)]=a2_0xb43cde(0x1c9),a2_0x5ae915['playwright-firefox']='firefox',a2_0x5ae915['playwright-webkit']='webkit';function a2_0x21f4(){const _0x4c1a02=['push','CWYbL','ShMSF','4|5|0|3|1|2','QciqO','getUserWorkerCount','testConfig','4ioDUMr','dirname','BvoQZ','mergeDeep','7667051WSvvvt','966yLxtiZ','profile','frameworkName','chrome','prepareCapabilities','start','idsMk','skipSessionName','8YchMIB','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','addConfig','HXdra','enabled','winstonLogger','require','join','vRaYD','BROWSERSTACK_RERUN','isTrue','toLowerCase','helpers','env','title','browserWSEndpoint','yhVaA','slice','cwd','xtERg','../../bin/playwright/accessibility-helper','DKyhF','IXRNx','end','../../helpers/performance/constants','../../helpers/utilities','log','Phlia','coHDw','split','WebDriver','length','validPlatformsPresent','browser','FtBPI','5562873hFzMFs','addOptions','EYeAK','veenz','setAdditionalCapabilities','handleApp','parallelsPerPlatform','info','../../helpers/helper','createGroupsOfSuites','UAywr','plugins','APRbT','chdir','Failed\x20:\x20','existsSync','load','USER_CONFIG_DETAILS_PATH','RtyDJ','run','all','before','teardownAll','seDAp','launchBuild','useW3C','test','result','gpLwU','isUndefined','SDK_SETUP','util','accessibility','forEach','BROWSERSTACK_TEST_OBSERVABILITY_YML','../utils/constants','YDJtz','getPlatformName','317251EFrLMB','codecept.conf.js','playwright-chromium','stop','finalExecution','410ddqeWg','codeceptjs/lib/index.js','process','now','EVENTS','browserName','isEmpty','13KfnhXH','root','BROWSERSTACK_RERUN_TESTS','kcDog','622seGoQu','accessibilityOptions','Playwright','stack','path','platforms','gBYvH','IIOYH','testContextOptions','stringify','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','PngQT','chromium','CODECEPT','addTests','findIndex','2453OvWloR','Passed\x20:\x20','../../helpers/test-observability/utils','codeceptjs','desiredCapabilities','UWgJa','spawn','map','XoROP','39635MtvBGV','Started\x20:\x20','4536123viyIoh','Workers','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','config','53449644HkfnBu','event','format','testObservability'];a2_0x21f4=function(){return _0x4c1a02;};return a2_0x21f4();}const pwToCodeceptBrowser=a2_0x5ae915;async function run(_0x5ec9f8,_0x8eb29f){const _0x173c58=a2_0xb43cde,_0x234191={'vyFHO':function(_0x523946,_0x215fc8){return _0x523946+_0x215fc8;},'APRbT':function(_0x3ac079,_0x4df0d9){return _0x3ac079(_0x4df0d9);},'gpLwU':function(_0x5b31c5,_0xd5b17d,_0x209de4){return _0x5b31c5(_0xd5b17d,_0x209de4);},'QciqO':_0x173c58(0x170),'PowtB':function(_0x1e5342){return _0x1e5342();},'UWgJa':function(_0x28bb7){return _0x28bb7();},'FtBPI':_0x173c58(0x195),'coHDw':_0x173c58(0x1ce),'UbxgG':_0x173c58(0x1d7),'Phlia':_0x173c58(0x1e3),'DKyhF':_0x173c58(0x1d0),'veenz':function(_0x505e94,_0x4f8c7f,_0x1282b5){return _0x505e94(_0x4f8c7f,_0x1282b5);},'YDJtz':_0x173c58(0x1da),'HXdra':function(_0x3cda2d,_0x446016,_0x1c0f5c){return _0x3cda2d(_0x446016,_0x1c0f5c);},'EYeAK':_0x173c58(0x1bf),'kcDog':_0x173c58(0x182),'PngQT':function(_0x5e3cda,_0x396e67){return _0x5e3cda(_0x396e67);},'ShMSF':function(_0x18a4a2,_0x505623){return _0x18a4a2!=_0x505623;},'IXRNx':function(_0x1dad9f,_0x4ab0b4){return _0x1dad9f===_0x4ab0b4;},'CWYbL':function(_0x5394fc,_0x407a7d,_0x12ffe0){return _0x5394fc(_0x407a7d,_0x12ffe0);},'vRaYD':'gherkin','UAywr':function(_0x4b1918,_0x4427c8){return _0x4b1918+_0x4427c8;},'idsMk':'-cucumber','oDBFu':function(_0x43e7c4){return _0x43e7c4();},'vdUAY':function(_0x133f00,_0x29a087){return _0x133f00*_0x29a087;},'gBYvH':_0x173c58(0x185),'yhVaA':'desiredCapabilities','IIOYH':_0x173c58(0x1ba),'seDAp':'BrowserStackPlugin.js','XoROP':'browserStackCwd'},_0x425834=new BrowserStackSetup(_0x5ec9f8,_0x234191[_0x173c58(0x179)]);await _0x425834['initialize'](),await helper[_0x173c58(0x18c)](_0x425834[_0x173c58(0x1db)]);if(!_0x425834[_0x173c58(0x1db)])return;process[_0x173c58(0x15d)]=_0x5ec9f8[_0x173c58(0x15d)];_0x5ec9f8[_0x173c58(0x15d)]&&(process[_0x173c58(0x171)][_0x173c58(0x15d)]=_0x5ec9f8[_0x173c58(0x15d)]);const _0x98bad4=_0x234191[_0x173c58(0x18a)](getUserCodeceptJSConfigs,_0x5ec9f8,_0x8eb29f);let _0x15b23a={};_0x98bad4?(logger[_0x173c58(0x18e)](_0x173c58(0x165)+_0x98bad4),_0x15b23a=CodeceptJS['config'][_0x173c58(0x197)](_0x98bad4)):logger['info'](_0x234191[_0x173c58(0x1ab)]);let _0x40d165=![];_0x234191[_0x173c58(0x167)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x234191[_0x173c58(0x189)]])&&(_0x40d165=!![]);const _0x13030c=_0x40d165?_0x234191[_0x173c58(0x189)]:_0x234191[_0x173c58(0x1bc)];let _0x37a98c=!_0x40d165?helper[_0x173c58(0x1a0)](_0x425834['config']):![];!helper[_0x173c58(0x1a4)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1be)])&&(process[_0x173c58(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x173c58(0x1c6)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1be)]));let _0x27d13f=_0x425834['config'][_0x173c58(0x1a7)];_0x27d13f=_0x27d13f||_0x234191[_0x173c58(0x1c8)](checkAccessibilityPlatformConfig,_0x425834[_0x173c58(0x1db)]),process[_0x173c58(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x27d13f;_0x27d13f&&(_0x37a98c=!_0x27d13f);_0x234191[_0x173c58(0x1e2)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1df)],null)?process[_0x173c58(0x171)][_0x173c58(0x1a9)]=_0x425834['config']['testObservability']:process['env'][_0x173c58(0x1a9)]=_0x234191[_0x173c58(0x17a)](_0x13030c,_0x234191[_0x173c58(0x189)]);const _0xb9793f=_0x234191[_0x173c58(0x1e1)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x16c)]]),_0xdc90ec=_0x234191[_0x173c58(0x191)](_0x234191[_0x173c58(0x179)],_0xb9793f&&!helper[_0x173c58(0x1b8)](_0xb9793f)?_0x234191[_0x173c58(0x162)]:''),_0x27ee43=await TestHubHandler[_0x173c58(0x19f)](_0xdc90ec,_0x425834);_0x27d13f&&_0x234191[_0x173c58(0x193)](setAccessibilityCapabilities,_0x425834[_0x173c58(0x1db)]);const _0x3d1600={},_0x4f68fa=[],_0x3085c4=_0x425834[_0x173c58(0x1db)][_0x173c58(0x18d)]||helper[_0x173c58(0x1e5)](_0x5ec9f8,_0x8eb29f,_0x425834[_0x173c58(0x1db)],constants['FRAMEWORKS'][_0x173c58(0x1ca)])||0x1;let _0x27eb5a=0x1;if(_0x234191['oDBFu'](isBrowserstackInfra)){const _0xcd044e=helper[_0x173c58(0x160)](_0x425834[_0x173c58(0x1db)],_0x37a98c,constants['FRAMEWORKS']['CODECEPT']);_0xcd044e[_0x173c58(0x1a8)](_0x1b4f9a=>{const _0x5f1cec=_0x173c58;helper[_0x5f1cec(0x18b)](_0x1b4f9a);}),helper[_0x173c58(0x184)](_0x425834[_0x173c58(0x1db)])?_0x27eb5a=_0x234191['vdUAY'](_0x3085c4,_0x425834[_0x173c58(0x1db)][_0x173c58(0x1c2)][_0x173c58(0x183)]):_0x27eb5a=_0x3085c4,_0xcd044e[_0x173c58(0x1a8)](_0x4a696e=>{const _0x257205=_0x173c58,_0x228915={'cNOUn':function(_0x26ff1a,_0x4c93fd){return _0x234191['vyFHO'](_0x26ff1a,_0x4c93fd);},'gruDg':function(_0x352c94,_0x463de4){const _0xd2c2c4=a2_0x47e4;return _0x234191[_0xd2c2c4(0x193)](_0x352c94,_0x463de4);}},_0x36ae36=_0x234191['vyFHO'](helper[_0x257205(0x1ac)](_0x4a696e,'_'),'_'+Date[_0x257205(0x1b5)]()),_0x4c69cb=((()=>{const _0x181336=_0x257205;if(_0x40d165){const _0x556cf1=pwToCodeceptBrowser[_0x4a696e[_0x181336(0x1b7)]]||_0x4a696e['browserName'];return{'browser':_0x556cf1,[_0x556cf1]:{'browserWSEndpoint':_0x228915['cNOUn'](helper['getPlaywrightUrl'](_0x425834[_0x181336(0x1db)]),_0x228915['gruDg'](encodeURIComponent,JSON[_0x181336(0x1c6)](_0x4a696e)))}};}const _0x6df516={};return _0x6df516[_0x181336(0x1d1)]=_0x4a696e,_0x6df516;})()),_0x3f5329=_0x234191['gpLwU'](nestedKeyValue,_0x15b23a,[_0x234191['QciqO'],_0x13030c]);_0x3d1600[_0x36ae36]=_0x3f5329?helper[_0x257205(0x15a)](_0x4c69cb,_0x3f5329):_0x4c69cb,!_0x40d165&&(_0x3d1600[_0x36ae36][_0x257205(0x185)]=_0x4a696e['browserName']||_0x4c69cb[_0x257205(0x185)]),_0x4f68fa[_0x257205(0x1e0)](_0x36ae36);});}else{_0x27eb5a=0x1;if(_0x40d165){const _0xff23dc=_0x234191[_0x173c58(0x18a)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0x234191[_0x173c58(0x1c3)]]),_0x422558=_0x234191['veenz'](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0xff23dc]);_0x422558&&_0x422558[_0x173c58(0x173)]&&(_0x422558[_0x173c58(0x173)]=helper['prepareCapabilities'](null,null,_0xdc90ec[_0x173c58(0x16f)](),null,null,_0x422558[_0x173c58(0x173)]));}else _0x15b23a[_0x234191['QciqO']][_0x13030c][_0x234191[_0x173c58(0x174)]]=helper[_0x173c58(0x160)](null,null,_0xdc90ec[_0x173c58(0x16f)](),_0x234191[_0x173c58(0x1a3)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0x234191[_0x173c58(0x174)]]),null,null);_0x3d1600[_0x234191['IIOYH']]=_0x15b23a,_0x4f68fa[_0x173c58(0x1e0)](_0x234191[_0x173c58(0x1c4)]);}const _0x20a03b={};_0x20a03b[_0x173c58(0x156)]=_0x98bad4;const _0x193e7d=_0x20a03b,_0x493861=path[_0x173c58(0x16b)](__dirname,_0x234191[_0x173c58(0x19e)]),_0x47a308=process[_0x173c58(0x176)]();process[_0x173c58(0x171)][_0x234191[_0x173c58(0x1d5)]]=_0x47a308,process[_0x173c58(0x194)](path[_0x173c58(0x158)](_0x98bad4));const _0x37a953=new CodeceptJS[(_0x173c58(0x1d9))](null,_0x193e7d),_0x43291c=_0x37a953[_0x173c58(0x190)](_0x27eb5a),_0x4471ef=testOpsHelper['isTestObservabilitySession'](),_0x3b335f=_0x4f68fa[_0x173c58(0x1d4)](_0x302b44=>{const _0x32386c=_0x173c58,_0x3c1517={};_0x3c1517['Playwright']=_0x3d1600[_0x302b44];const _0x52dc6d={};_0x52dc6d[_0x32386c(0x182)]=_0x3d1600[_0x302b44];const _0x518bd6=_0x40d165?_0x3c1517:_0x52dc6d,_0x3a74c2=_0x234191['PowtB'](getO11yRerunPattern),_0x24cf00={};_0x24cf00[_0x32386c(0x170)]=_0x518bd6;const _0x65195={};_0x65195[_0x32386c(0x16a)]=_0x493861,_0x65195[_0x32386c(0x168)]=!![],_0x65195['skipSessionName']=_0x425834[_0x32386c(0x1db)][_0x32386c(0x1c5)][_0x32386c(0x163)],_0x65195['skipSessionStatus']=_0x425834[_0x32386c(0x1db)]['testContextOptions']['skipSessionStatus'],_0x65195[_0x32386c(0x1df)]=_0x4471ef,_0x65195[_0x32386c(0x15e)]=_0xdc90ec;const _0x5775e7={};_0x5775e7['BrowserStackPlugin']=_0x65195;const _0x1c9497={};return _0x1c9497[_0x32386c(0x192)]=_0x5775e7,helper[_0x32386c(0x15a)]({},_0x15b23a,_0x234191['UWgJa'](isBrowserstackInfra)?_0x24cf00:{},_0x3a74c2?{'grep':_0x3a74c2}:{},_0x1c9497);});for(const _0x4ff971 of _0x3b335f){for(const _0x1f20d2 of _0x43291c){const _0x16f394=_0x37a953[_0x173c58(0x1d3)]();_0x16f394[_0x173c58(0x1cb)](_0x1f20d2),_0x16f394[_0x173c58(0x166)](_0x4ff971);const _0x28205a={};_0x28205a[_0x173c58(0x1db)]=_0x98bad4,_0x16f394[_0x173c58(0x188)](_0x28205a);}}_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)]['failed'],(_0x1d3cf,_0x14e7be)=>{const _0x1c45d0=_0x173c58;console[_0x1c45d0(0x17e)](_0x234191[_0x1c45d0(0x186)],_0x1d3cf[_0x1c45d0(0x172)]);const _0x1fb2cb={[_0x1d3cf[_0x1c45d0(0x172)]]:_0x1d3cf['err'][_0x1c45d0(0x1c0)]};_testErrorData[_0x1c45d0(0x1e0)](_0x1fb2cb);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)]['passed'],async _0x541333=>{const _0x37e264=_0x173c58;console[_0x37e264(0x17e)](_0x234191[_0x37e264(0x180)],_0x541333[_0x37e264(0x172)]);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)][_0x173c58(0x19c)],async _0x5abc30=>{const _0x25eec4=_0x173c58;console[_0x25eec4(0x17e)](_0x234191['UbxgG'],_0x5abc30['title']);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x19b)][_0x173c58(0x1a2)],async()=>{const _0x2ec893=_0x173c58,_0x68b6a1=_0x234191[_0x2ec893(0x17f)][_0x2ec893(0x181)]('|');let _0x2eadac=0x0;while(!![]){switch(_0x68b6a1[_0x2eadac++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':try{await TestHubHandler[_0x2ec893(0x1b0)]();}catch(_0xb10d4e){logger['debug'](_0x2ec893(0x1c7)+util[_0x2ec893(0x1de)](_0xb10d4e));}continue;case'2':_0x37a953['printResults']();continue;case'3':utilities[_0x2ec893(0x1b1)](_0x425834);continue;case'4':PerformanceTester[_0x2ec893(0x161)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':_0x425834['errorMessage']=_testErrorData;continue;}break;}});async function _0x2f83ba(){const _0x4d04e5=_0x173c58;try{await _0x37a953['bootstrapAll'](),await _0x37a953[_0x4d04e5(0x19a)]();}finally{process[_0x4d04e5(0x194)](_0x47a308),await _0x37a953[_0x4d04e5(0x19d)]();}}PerformanceTester[_0x173c58(0x17b)](PerformanceEvents[_0x173c58(0x1a5)]),_0x234191[_0x173c58(0x1d2)](_0x2f83ba);}module['exports']=run;
|
|
2
|
+
'use strict';const a2_0xa82872=a2_0x1167;(function(_0x2ad80a,_0x22ad89){const _0x46535a=a2_0x1167,_0x23ebe9=_0x2ad80a();while(!![]){try{const _0x599057=-parseInt(_0x46535a(0x203))/0x1+-parseInt(_0x46535a(0x1ea))/0x2+-parseInt(_0x46535a(0x22e))/0x3*(parseInt(_0x46535a(0x1d4))/0x4)+parseInt(_0x46535a(0x218))/0x5+parseInt(_0x46535a(0x22d))/0x6+-parseInt(_0x46535a(0x229))/0x7+parseInt(_0x46535a(0x1e2))/0x8;if(_0x599057===_0x22ad89)break;else _0x23ebe9['push'](_0x23ebe9['shift']());}catch(_0x30c511){_0x23ebe9['push'](_0x23ebe9['shift']());}}}(a2_0x47c6,0xa44cc));function a2_0x47c6(){const _0xc45130=['xOSCS','validPlatformsPresent','playwright-webkit','SDK_SETUP','useW3C','map','xIexV','USER_CONFIG_DETAILS_PATH','debug','codecept.conf.js','browserWSEndpoint','TQdqw','split','frameworkName','4219334BnzkKr','desiredCapabilities','MBgrD','SDK_CLEANUP','6429576tVgrme','305043rkVKjH','finalExecution','title','existsSync','2|5|0|4|1|3','TyOXs','MFKwv','push','load','xJXFM','info','skipSessionName','enabled','skipSessionStatus','../../helpers/test-observability/utils','pZVpE','hxXmm','BrowserStackPlugin.js','helpers','WebDriver','EVENTS','webkit','env','kPFIg','process','mergeDeep','FRAMEWORKS','CODECEPT','getPlatformName','before','isTestObservabilitySession','event','HNsiu','platforms','testObservability','failed','test','prepareCapabilities','UIffV','uTPIW','isEmpty','browser','firefox','gakqF','config','passed','accessibilityOptions','Failed\x20:\x20','cwd','root','end','browserName','codeceptjs','result','DEUKs','36KnrZhh','chromium','createGroupsOfSuites','forEach','findIndex','Yuykd','phfXB','--config','chdir','McTQW','-cucumber','../../helpers/BrowserStackSetup','toLowerCase','accessibility','12229920Ssmgnv','winstonLogger','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isTrue','DojWO','addOptions','BrowserStackPlugin','DPcHA','1319378jkAIsv','bvoIv','../../helpers/testhub/testhubHandler','gherkin','slice','join','Playwright','parallelsPerPlatform','zilbE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LTlHl','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','Passed\x20:\x20','length','../../helpers/performance/performance-tester','FnjwO','err','stringify','ZBHqd','all','hjjEM','addConfig','NAuni','testContextOptions','../../helpers/utilities','85262ELBJVW','eYbzt','bhqYa','stop','printBuildLink','isUndefined','initialize','errorMessage','util','profile','teardownAll','testConfig','printResults','../../bin/playwright/accessibility-helper','Started\x20:\x20','exports','ETNrp','YZBQo','log','../../helpers/accessibility-automation/helper','spawn','1677390CAGetA','setAdditionalCapabilities','require'];a2_0x47c6=function(){return _0xc45130;};return a2_0x47c6();}const fs=require('fs'),path=require('path'),util=require(a2_0xa82872(0x20b)),process=require(a2_0xa82872(0x246)),logger=require('../../helpers/logger')[a2_0xa82872(0x1e3)],{default:BrowserStackSetup}=require(a2_0xa82872(0x1df)),helper=require('../../helpers/helper'),utilities=require(a2_0xa82872(0x202)),{checkAccessibilityPlatformConfig}=require(a2_0xa82872(0x216)),{setAccessibilityCapabilities}=require(a2_0xa82872(0x210)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),testOpsHelper=require(a2_0xa82872(0x23c)),TestHubHandler=require(a2_0xa82872(0x1ec)),constants=require('../utils/constants'),PerformanceTester=require(a2_0xa82872(0x1f8)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0xa82872(0x242)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x4600d2,_0x27a4c8)=>{const _0x1fcf8c=a2_0xa82872,_0x4d616c={};_0x4d616c[_0x1fcf8c(0x254)]=function(_0x56d5b8,_0xdf220e){return _0x56d5b8===_0xdf220e;},_0x4d616c['kPFIg']=_0x1fcf8c(0x224),_0x4d616c[_0x1fcf8c(0x1f2)]='codecept.json';const _0x42dd93=_0x4d616c;let _0x31ceec=null;const _0x5f0661={};let _0x100961=_0x27a4c8[_0x1fcf8c(0x1d8)](_0x245fdb=>_0x245fdb===_0x1fcf8c(0x1db));_0x42dd93[_0x1fcf8c(0x254)](_0x100961,-0x1)&&(_0x100961=_0x27a4c8[_0x1fcf8c(0x1d8)](_0x34c77b=>_0x34c77b==='-c'));if(!helper['isUndefined'](_0x4600d2[_0x1fcf8c(0x25a)])&&fs[_0x1fcf8c(0x231)](path['join'](process[_0x1fcf8c(0x25e)](),_0x4600d2[_0x1fcf8c(0x25a)])))_0x31ceec=path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x4600d2['config']),_0x27a4c8[_0x1fcf8c(0x1ee)](_0x100961,0x2);else{if(!helper[_0x1fcf8c(0x208)](_0x4600d2['c'])&&fs[_0x1fcf8c(0x231)](path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x4600d2['c'])))_0x31ceec=path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x4600d2['c']),_0x27a4c8[_0x1fcf8c(0x1ee)](_0x100961,0x2);else{if(fs[_0x1fcf8c(0x231)](path['join'](process[_0x1fcf8c(0x25e)](),_0x42dd93[_0x1fcf8c(0x245)])))_0x31ceec=path[_0x1fcf8c(0x1ef)](process['cwd'](),_0x42dd93[_0x1fcf8c(0x245)]);else fs[_0x1fcf8c(0x231)](path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x42dd93[_0x1fcf8c(0x1f2)]))&&(_0x31ceec=path[_0x1fcf8c(0x1ef)](process[_0x1fcf8c(0x25e)](),_0x42dd93['zilbE']));}}return process['env'][_0x1fcf8c(0x222)]=_0x31ceec,_0x31ceec;},getO11yRerunPattern=()=>{const _0x4eac17=a2_0xa82872,_0x51a4f6=helper[_0x4eac17(0x1e5)](process[_0x4eac17(0x244)]['BROWSERSTACK_RERUN']);if(_0x51a4f6){const _0x35bbcb=process[_0x4eac17(0x244)]['BROWSERSTACK_RERUN_TESTS'],_0x16f480=[];if(helper['validateRerunTestList'](_0x35bbcb)&&!helper[_0x4eac17(0x208)](_0x35bbcb)){_0x35bbcb[_0x4eac17(0x227)](',')[_0x4eac17(0x220)](_0x4055a5=>{const _0x142cc7=_0x4eac17;_0x16f480[_0x142cc7(0x235)]('('+_0x4055a5['trim']()+')');});const _0x4da91a='^'+_0x16f480[_0x4eac17(0x1ef)]('|')+'$';return _0x4da91a;}}return null;},a2_0x53dc9c={};a2_0x53dc9c['chrome']=a2_0xa82872(0x1d5),a2_0x53dc9c['playwright-chromium']=a2_0xa82872(0x1d5),a2_0x53dc9c['playwright-firefox']=a2_0xa82872(0x258),a2_0x53dc9c[a2_0xa82872(0x21d)]=a2_0xa82872(0x243);function a2_0x1167(_0x502494,_0x52f7fa){const _0x47c6fc=a2_0x47c6();return a2_0x1167=function(_0x11673f,_0x2545de){_0x11673f=_0x11673f-0x1d4;let _0x2d7fb0=_0x47c6fc[_0x11673f];return _0x2d7fb0;},a2_0x1167(_0x502494,_0x52f7fa);}const pwToCodeceptBrowser=a2_0x53dc9c;async function run(_0x3b9c93,_0x315f53){const _0x1a7ba5=a2_0xa82872,_0x27a888={'uTPIW':function(_0x3e0fff,_0x156e7f){return _0x3e0fff+_0x156e7f;},'xJXFM':function(_0x5e4cd1,_0x479ef3){return _0x5e4cd1(_0x479ef3);},'FnjwO':function(_0x2323e7,_0x4dfec0,_0x2da054){return _0x2323e7(_0x4dfec0,_0x2da054);},'xIexV':_0x1a7ba5(0x240),'gakqF':function(_0x2c7118){return _0x2c7118();},'eYbzt':_0x1a7ba5(0x25d),'bvoIv':_0x1a7ba5(0x1f6),'YZBQo':_0x1a7ba5(0x211),'DojWO':_0x1a7ba5(0x232),'NAuni':_0x1a7ba5(0x262),'MBgrD':function(_0xb650f6,_0x3b33da,_0xea4949){return _0xb650f6(_0x3b33da,_0xea4949);},'xOSCS':_0x1a7ba5(0x1e4),'LTlHl':'Playwright','DEUKs':'WebDriver','phfXB':function(_0x1f41e8,_0xb43ad3){return _0x1f41e8!=_0xb43ad3;},'MFKwv':function(_0x30f7f6,_0x51e38a){return _0x30f7f6===_0x51e38a;},'HNsiu':_0x1a7ba5(0x1ed),'oCDXu':_0x1a7ba5(0x1de),'hjjEM':function(_0x2a5ad5){return _0x2a5ad5();},'TyOXs':function(_0x141f3c,_0x11f830){return _0x141f3c*_0x11f830;},'McTQW':'browser','ETNrp':function(_0x54b9b8,_0x916b93,_0x359994){return _0x54b9b8(_0x916b93,_0x359994);},'bhqYa':'desiredCapabilities','TQdqw':_0x1a7ba5(0x25f),'pZVpE':_0x1a7ba5(0x23f),'Yuykd':'browserStackCwd','ZBHqd':function(_0x2ee622){return _0x2ee622();}},_0x37b620=new BrowserStackSetup(_0x3b9c93,_0x27a888[_0x1a7ba5(0x200)]);await _0x37b620[_0x1a7ba5(0x209)](),await helper['handleApp'](_0x37b620[_0x1a7ba5(0x25a)]);if(!_0x37b620[_0x1a7ba5(0x25a)])return;process[_0x1a7ba5(0x20c)]=_0x3b9c93[_0x1a7ba5(0x20c)];_0x3b9c93[_0x1a7ba5(0x20c)]&&(process[_0x1a7ba5(0x244)][_0x1a7ba5(0x20c)]=_0x3b9c93[_0x1a7ba5(0x20c)]);const _0x4d26cc=_0x27a888[_0x1a7ba5(0x22b)](getUserCodeceptJSConfigs,_0x3b9c93,_0x315f53);let _0x4c9051={};_0x4d26cc?(logger[_0x1a7ba5(0x238)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x4d26cc),_0x4c9051=CodeceptJS[_0x1a7ba5(0x25a)][_0x1a7ba5(0x236)](_0x4d26cc)):logger[_0x1a7ba5(0x238)](_0x27a888[_0x1a7ba5(0x21b)]);let _0x448cac=![];_0x27a888['FnjwO'](nestedKeyValue,_0x4c9051,[_0x27a888['xIexV'],_0x27a888[_0x1a7ba5(0x1f4)]])&&(_0x448cac=!![]);const _0x4c076c=_0x448cac?_0x27a888[_0x1a7ba5(0x1f4)]:_0x27a888[_0x1a7ba5(0x264)];let _0x18c086=!_0x448cac?helper[_0x1a7ba5(0x21f)](_0x37b620['config']):![];!helper[_0x1a7ba5(0x208)](_0x37b620['config'][_0x1a7ba5(0x25c)])&&(process[_0x1a7ba5(0x244)][_0x1a7ba5(0x1f3)]=JSON[_0x1a7ba5(0x1fb)](_0x37b620[_0x1a7ba5(0x25a)]['accessibilityOptions']));let _0x351a3d=_0x37b620[_0x1a7ba5(0x25a)][_0x1a7ba5(0x1e1)];_0x351a3d=_0x351a3d||_0x27a888[_0x1a7ba5(0x237)](checkAccessibilityPlatformConfig,_0x37b620[_0x1a7ba5(0x25a)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x351a3d;_0x351a3d&&(_0x18c086=!_0x351a3d);_0x27a888[_0x1a7ba5(0x1da)](_0x37b620['config'][_0x1a7ba5(0x250)],null)?process[_0x1a7ba5(0x244)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37b620[_0x1a7ba5(0x25a)][_0x1a7ba5(0x250)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x27a888[_0x1a7ba5(0x234)](_0x4c076c,_0x27a888[_0x1a7ba5(0x1f4)]);const _0x39b501=_0x27a888[_0x1a7ba5(0x22b)](nestedKeyValue,_0x4c9051,[_0x27a888[_0x1a7ba5(0x24e)]]),_0x71b06e=_0x27a888[_0x1a7ba5(0x255)](_0x27a888[_0x1a7ba5(0x200)],_0x39b501&&!helper[_0x1a7ba5(0x256)](_0x39b501)?_0x27a888['oCDXu']:''),_0xd25ba3=await TestHubHandler['launchBuild'](_0x71b06e,_0x37b620);_0x351a3d&&_0x27a888['xJXFM'](setAccessibilityCapabilities,_0x37b620[_0x1a7ba5(0x25a)]);const _0x1a6356={},_0x1c818c=[],_0x8af262=_0x37b620[_0x1a7ba5(0x25a)][_0x1a7ba5(0x1f1)]||helper['getUserWorkerCount'](_0x3b9c93,_0x315f53,_0x37b620[_0x1a7ba5(0x25a)],constants[_0x1a7ba5(0x248)][_0x1a7ba5(0x249)])||0x1;let _0x39efbb=0x1;if(_0x27a888[_0x1a7ba5(0x1fe)](isBrowserstackInfra)){const _0x50e727=helper[_0x1a7ba5(0x253)](_0x37b620[_0x1a7ba5(0x25a)],_0x18c086,constants[_0x1a7ba5(0x248)][_0x1a7ba5(0x249)]);_0x50e727[_0x1a7ba5(0x1d7)](_0x3d3087=>{const _0x1b3ba4=_0x1a7ba5;helper[_0x1b3ba4(0x219)](_0x3d3087);}),helper[_0x1a7ba5(0x21c)](_0x37b620[_0x1a7ba5(0x25a)])?_0x39efbb=_0x27a888[_0x1a7ba5(0x233)](_0x8af262,_0x37b620['config'][_0x1a7ba5(0x24f)][_0x1a7ba5(0x1f7)]):_0x39efbb=_0x8af262,_0x50e727[_0x1a7ba5(0x1d7)](_0xa42191=>{const _0x1263c8=_0x1a7ba5,_0x94b028={'hxXmm':function(_0x5c7ea1,_0x3c45ec){return _0x27a888['uTPIW'](_0x5c7ea1,_0x3c45ec);},'DPcHA':function(_0x383c48,_0x1e8ee3){const _0x123347=a2_0x1167;return _0x27a888[_0x123347(0x237)](_0x383c48,_0x1e8ee3);}},_0x3a0076=_0x27a888['uTPIW'](helper[_0x1263c8(0x24a)](_0xa42191,'_'),'_'+Date['now']()),_0x308f68=((()=>{const _0x204f11=_0x1263c8;if(_0x448cac){const _0xee8982=pwToCodeceptBrowser[_0xa42191['browserName']]||_0xa42191[_0x204f11(0x261)];return{'browser':_0xee8982,[_0xee8982]:{'browserWSEndpoint':_0x94b028[_0x204f11(0x23e)](helper['getPlaywrightUrl'](_0x37b620['config']),_0x94b028[_0x204f11(0x1e9)](encodeURIComponent,JSON[_0x204f11(0x1fb)](_0xa42191)))}};}const _0x415f5c={};return _0x415f5c[_0x204f11(0x22a)]=_0xa42191,_0x415f5c;})()),_0x4f8487=_0x27a888[_0x1263c8(0x1f9)](nestedKeyValue,_0x4c9051,[_0x27a888['xIexV'],_0x4c076c]);_0x1a6356[_0x3a0076]=_0x4f8487?helper[_0x1263c8(0x247)](_0x308f68,_0x4f8487):_0x308f68,!_0x448cac&&(_0x1a6356[_0x3a0076][_0x1263c8(0x257)]=_0xa42191['browserName']||_0x308f68[_0x1263c8(0x257)]),_0x1c818c[_0x1263c8(0x235)](_0x3a0076);});}else{_0x39efbb=0x1;if(_0x448cac){const _0x2d0cbe=_0x27a888['FnjwO'](nestedKeyValue,_0x4c9051,[_0x27a888[_0x1a7ba5(0x221)],_0x4c076c,_0x27a888[_0x1a7ba5(0x1dd)]]),_0x399767=_0x27a888[_0x1a7ba5(0x213)](nestedKeyValue,_0x4c9051,[_0x27a888['xIexV'],_0x4c076c,_0x2d0cbe]);_0x399767&&_0x399767['browserWSEndpoint']&&(_0x399767[_0x1a7ba5(0x225)]=helper[_0x1a7ba5(0x253)](null,null,_0x71b06e[_0x1a7ba5(0x1e0)](),null,null,_0x399767[_0x1a7ba5(0x225)]));}else _0x4c9051[_0x27a888[_0x1a7ba5(0x221)]][_0x4c076c][_0x27a888[_0x1a7ba5(0x205)]]=helper[_0x1a7ba5(0x253)](null,null,_0x71b06e[_0x1a7ba5(0x1e0)](),_0x27a888[_0x1a7ba5(0x1f9)](nestedKeyValue,_0x4c9051,[_0x27a888[_0x1a7ba5(0x221)],_0x4c076c,_0x27a888[_0x1a7ba5(0x205)]]),null,null);_0x1a6356[_0x27a888[_0x1a7ba5(0x226)]]=_0x4c9051,_0x1c818c[_0x1a7ba5(0x235)](_0x27a888[_0x1a7ba5(0x226)]);}const _0x1917ca={};_0x1917ca[_0x1a7ba5(0x20e)]=_0x4d26cc;const _0xa5538a=_0x1917ca,_0x3feb1e=path[_0x1a7ba5(0x1ef)](__dirname,_0x27a888[_0x1a7ba5(0x23d)]),_0x2ac12b=process[_0x1a7ba5(0x25e)]();process[_0x1a7ba5(0x244)][_0x27a888[_0x1a7ba5(0x1d9)]]=_0x2ac12b,process[_0x1a7ba5(0x1dc)](path['dirname'](_0x4d26cc));const _0x10d558=new CodeceptJS['Workers'](null,_0xa5538a),_0x23503e=_0x10d558[_0x1a7ba5(0x1d6)](_0x39efbb),_0x2fb19f=testOpsHelper[_0x1a7ba5(0x24c)](),_0x104e0d=_0x1c818c[_0x1a7ba5(0x220)](_0x11325e=>{const _0x3a1eb8=_0x1a7ba5,_0x1f6f9b={};_0x1f6f9b[_0x3a1eb8(0x1f0)]=_0x1a6356[_0x11325e];const _0x7efe66={};_0x7efe66[_0x3a1eb8(0x241)]=_0x1a6356[_0x11325e];const _0x2016f7=_0x448cac?_0x1f6f9b:_0x7efe66,_0x2a43af=_0x27a888[_0x3a1eb8(0x259)](getO11yRerunPattern),_0x5d8103={};_0x5d8103['helpers']=_0x2016f7;const _0x48e963={};_0x48e963[_0x3a1eb8(0x21a)]=_0x3feb1e,_0x48e963[_0x3a1eb8(0x23a)]=!![],_0x48e963[_0x3a1eb8(0x239)]=_0x37b620[_0x3a1eb8(0x25a)][_0x3a1eb8(0x201)][_0x3a1eb8(0x239)],_0x48e963[_0x3a1eb8(0x23b)]=_0x37b620[_0x3a1eb8(0x25a)][_0x3a1eb8(0x201)][_0x3a1eb8(0x23b)],_0x48e963[_0x3a1eb8(0x250)]=_0x2fb19f,_0x48e963[_0x3a1eb8(0x228)]=_0x71b06e;const _0x13c9f8={};_0x13c9f8[_0x3a1eb8(0x1e8)]=_0x48e963;const _0x26e99d={};return _0x26e99d['plugins']=_0x13c9f8,helper['mergeDeep']({},_0x4c9051,_0x27a888[_0x3a1eb8(0x259)](isBrowserstackInfra)?_0x5d8103:{},_0x2a43af?{'grep':_0x2a43af}:{},_0x26e99d);});for(const _0x3c954e of _0x104e0d){for(const _0x17b913 of _0x23503e){const _0x50c7de=_0x10d558[_0x1a7ba5(0x217)]();_0x50c7de['addTests'](_0x17b913),_0x50c7de[_0x1a7ba5(0x1ff)](_0x3c954e);const _0x2a0f12={};_0x2a0f12[_0x1a7ba5(0x25a)]=_0x4d26cc,_0x50c7de[_0x1a7ba5(0x1e7)](_0x2a0f12);}}_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x252)][_0x1a7ba5(0x251)],(_0x5acd0e,_0x144069)=>{const _0x4c9fe5=_0x1a7ba5;console[_0x4c9fe5(0x215)](_0x27a888[_0x4c9fe5(0x204)],_0x5acd0e[_0x4c9fe5(0x230)]);const _0x5c92e7={[_0x5acd0e[_0x4c9fe5(0x230)]]:_0x5acd0e[_0x4c9fe5(0x1fa)]['stack']};_testErrorData[_0x4c9fe5(0x235)](_0x5c92e7);}),_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x252)][_0x1a7ba5(0x25b)],async _0x2acd0b=>{const _0xfd72fa=_0x1a7ba5;console[_0xfd72fa(0x215)](_0x27a888[_0xfd72fa(0x1eb)],_0x2acd0b[_0xfd72fa(0x230)]);}),_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x252)][_0x1a7ba5(0x24b)],async _0xa7e01c=>{const _0x68747b=_0x1a7ba5;console[_0x68747b(0x215)](_0x27a888[_0x68747b(0x214)],_0xa7e01c[_0x68747b(0x230)]);}),_0x10d558['on'](CodeceptJS[_0x1a7ba5(0x24d)][_0x1a7ba5(0x1fd)][_0x1a7ba5(0x263)],async()=>{const _0x39bd6b=_0x1a7ba5,_0x51ec98=_0x27a888[_0x39bd6b(0x1e6)][_0x39bd6b(0x227)]('|');let _0x3940a6=0x0;while(!![]){switch(_0x51ec98[_0x3940a6++]){case'0':testOpsHelper[_0x39bd6b(0x207)]();continue;case'1':try{await TestHubHandler[_0x39bd6b(0x206)]();}catch(_0x36041d){logger[_0x39bd6b(0x223)](_0x39bd6b(0x1f5)+util['format'](_0x36041d));}continue;case'2':PerformanceTester['start'](PerformanceEvents[_0x39bd6b(0x22c)]);continue;case'3':_0x10d558[_0x39bd6b(0x20f)]();continue;case'4':utilities[_0x39bd6b(0x22f)](_0x37b620);continue;case'5':_0x37b620[_0x39bd6b(0x20a)]=_testErrorData;continue;}break;}});async function _0x1a1106(){const _0x51faf6=_0x1a7ba5;try{await _0x10d558['bootstrapAll'](),await _0x10d558['run']();}finally{process['chdir'](_0x2ac12b),await _0x10d558[_0x51faf6(0x20d)]();}}PerformanceTester[_0x1a7ba5(0x260)](PerformanceEvents[_0x1a7ba5(0x21e)]),_0x27a888[_0x1a7ba5(0x1fc)](_0x1a1106);}module[a2_0xa82872(0x212)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a3_0x34b1(){const _0x4f5c71=['fXRgE','../../helpers/helper','cloudProvider','oAavV','bstack:options','TsxWa','browser_version','WebDriver','bsSessionId','os_version','kyFxv','osVersion','name','platformVersion','xdwHA','zAOwE','caps','nTONI','browserVersion','deviceName','browserstack_accessibility_automation_script','browser','platform','warn','7OBoHHW','parse','accessibilityPlatform','557511FprTgR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/logger','AAvJL','__cloud_provider___','BfDqv','gLypS','desiredCapabilities','platformName','Djfmz','getDetails','FmTJQ','BObMC','359082eonjIu','config','includes','4BbBVab','../../helpers/accessibility-automation/helper','2340jcawtM','platform_version','latest','2403300GmoPxP','ivZwB','capabilities','gvfrg','YDYdU','browserName','wuieA','shouldPatchExecuteScript','chrome','../../helpers/test-observability/utils','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','486cAEwmx','IPgNC','jOtQR','858280txwSxd','3500824xsdHyx','1573914VMKhQd','browserstack_executor','SwoTM','processWebDriverConfig','HtEba','YSnDw','AqvVd','MVMtj','constructor','EmjwG','XAwUW','VAurq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'];a3_0x34b1=function(){return _0x4f5c71;};return a3_0x34b1();}const a3_0x23478a=a3_0x12a3;(function(_0x2ad66f,_0xab70da){const _0x469635=a3_0x12a3,_0x5d9d49=_0x2ad66f();while(!![]){try{const _0x5c8016=-parseInt(_0x469635(0x129))/0x1*(parseInt(_0x469635(0x137))/0x2)+-parseInt(_0x469635(0x117))/0x3*(parseInt(_0x469635(0x127))/0x4)+parseInt(_0x469635(0x12c))/0x5+parseInt(_0x469635(0x13c))/0x6+-parseInt(_0x469635(0x114))/0x7*(-parseInt(_0x469635(0x13b))/0x8)+-parseInt(_0x469635(0x124))/0x9+-parseInt(_0x469635(0x13a))/0xa;if(_0x5c8016===_0xab70da)break;else _0x5d9d49['push'](_0x5d9d49['shift']());}catch(_0x247135){_0x5d9d49['push'](_0x5d9d49['shift']());}}}(a3_0x34b1,0x4956f));function a3_0x12a3(_0x1f3b09,_0x2d0534){const _0x34b168=a3_0x34b1();return a3_0x12a3=function(_0x12a3a0,_0x4f8bc3){_0x12a3a0=_0x12a3a0-0xf7;let _0x386044=_0x34b168[_0x12a3a0];return _0x386044;},a3_0x12a3(_0x1f3b09,_0x2d0534);}const {isUndefined,nestedKeyValue}=require(a3_0x23478a(0xfd)),logger=require(a3_0x23478a(0x119))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x23478a(0x128)),{getObservabilityLinkedProductName}=require(a3_0x23478a(0x135)),getOSVersionFromCaps=_0x175fb7=>{const _0x89bd58=a3_0x23478a,_0x32066d={};_0x32066d[_0x89bd58(0x13e)]=_0x89bd58(0x100),_0x32066d[_0x89bd58(0x12f)]=_0x89bd58(0x109),_0x32066d[_0x89bd58(0x132)]=_0x89bd58(0x12a),_0x32066d[_0x89bd58(0x12d)]=_0x89bd58(0x107),_0x32066d[_0x89bd58(0x106)]=_0x89bd58(0x105);const _0x1c04d7=_0x32066d;if(!_0x175fb7)return null;const _0xbd723e=_0x175fb7[_0x1c04d7[_0x89bd58(0x13e)]],_0x23cfff=[_0x1c04d7[_0x89bd58(0x12f)],_0x1c04d7['wuieA'],_0x1c04d7[_0x89bd58(0x12d)],_0x1c04d7['kyFxv']];for(const _0xf7e987 of _0x23cfff){if(_0xbd723e&&_0xbd723e[_0xf7e987])return _0xbd723e[_0xf7e987];else{if(_0x175fb7[_0xf7e987])return _0x175fb7[_0xf7e987];}}return null;};exports['fetchPlatformDetails']=_0x40c834=>{const _0x49f029=a3_0x23478a,_0x4f045d={'oAavV':'unknown_grid','BfDqv':function(_0x372b39,_0xa81fd7){return _0x372b39===_0xa81fd7;},'IPgNC':_0x49f029(0x103),'MVMtj':function(_0x970c83,_0x3bf276){return _0x970c83(_0x3bf276);},'qEYQi':function(_0x3ffba1,_0x5f576a,_0x2b909a){return _0x3ffba1(_0x5f576a,_0x2b909a);},'BObMC':_0x49f029(0x125),'EmjwG':_0x49f029(0x11e),'Djfmz':'Playwright','CzNmi':_0x49f029(0x111),'AqvVd':'browserWSEndpoint','AAvJL':_0x49f029(0x10c),'VAurq':function(_0x48f277,_0x239687){return _0x48f277(_0x239687);}};if(!_0x40c834)return null;let _0x21d738=global[_0x49f029(0x11b)]||_0x4f045d[_0x49f029(0xff)];if(_0x4f045d[_0x49f029(0x11c)](_0x40c834['constructor']['name'],_0x4f045d[_0x49f029(0x138)])){const _0x40411b=_0x40c834[_0x49f029(0x111)];if(!_0x40411b)return null;const _0x17e3d5=_0x40411b[_0x49f029(0x12e)],_0x382b77=_0x4f045d[_0x49f029(0x143)](getOSVersionFromCaps,_0x4f045d['qEYQi'](nestedKeyValue,_0x40c834,[_0x4f045d[_0x49f029(0x123)],_0x4f045d[_0x49f029(0xf8)]]));return{[_0x21d738]:{'browser':_0x17e3d5[_0x49f029(0x131)],'browser_version':_0x17e3d5[_0x49f029(0x10e)],'capabilities':_0x17e3d5,'platform':_0x17e3d5[_0x49f029(0x11f)],'platform_version':_0x17e3d5['platformVersion']||_0x382b77,'product':_0x4f045d[_0x49f029(0x143)](getObservabilityLinkedProductName,_0x17e3d5),'session_id':_0x40411b['sessionId']}};}else{if(_0x4f045d[_0x49f029(0x11c)](_0x40c834[_0x49f029(0xf7)][_0x49f029(0x108)],_0x4f045d[_0x49f029(0x120)])){const _0x36ac24=PlaywrightSessionDetails[_0x49f029(0x121)]();_0x21d738=_0x36ac24[_0x49f029(0xfe)]||_0x21d738;const _0x5efd64=_0x4f045d['qEYQi'](nestedKeyValue,_0x40c834,[_0x4f045d[_0x49f029(0x123)],_0x4f045d['CzNmi'],_0x4f045d[_0x49f029(0x142)]]),_0x22796f=_0x5efd64?JSON[_0x49f029(0x115)](new URL(_0x5efd64)['searchParams']['get'](_0x4f045d[_0x49f029(0x11a)])):{};return{[_0x21d738]:{'browser':_0x36ac24['browser']||_0x22796f[_0x49f029(0x131)],'browser_version':_0x36ac24[_0x49f029(0x102)]||_0x22796f[_0x49f029(0x102)],'capabilities':_0x22796f,'platform':_0x36ac24[_0x49f029(0x112)],'platform_version':_0x36ac24[_0x49f029(0x12a)],'product':_0x4f045d[_0x49f029(0xfa)](getObservabilityLinkedProductName,_0x22796f),'session_id':_0x36ac24[_0x49f029(0x104)]}};}}},exports[a3_0x23478a(0x13f)]=_0xe59f0d=>{const _0x17a99a=a3_0x23478a,_0x43890c={'nTONI':function(_0x412fbf){return _0x412fbf();},'XAwUW':function(_0x4db078,_0x781d78){return _0x4db078===_0x781d78;},'YDYdU':_0x17a99a(0x12b),'zAOwE':function(_0x38bdfc,_0x4ee246){return _0x38bdfc>_0x4ee246;},'gLypS':function(_0x35e57c,_0x53df7a){return _0x35e57c(_0x53df7a);},'FmTJQ':_0x17a99a(0xfb),'xdwHA':_0x17a99a(0x134),'HtEba':function(_0x409c09,_0x387e7b){return _0x409c09===_0x387e7b;},'jOtQR':'playwright-chromium','bBHsw':_0x17a99a(0x118),'YSnDw':_0x17a99a(0x136)};if(_0x43890c[_0x17a99a(0x10d)](isAccessibilityAutomationSession)){const _0x3826e4=_0xe59f0d[_0x17a99a(0x111)],_0x538841=_0x3826e4[_0x17a99a(0x12e)];global[_0x17a99a(0x116)]=!![],!(_0x43890c[_0x17a99a(0xf9)](_0x538841[_0x17a99a(0x10e)],_0x43890c[_0x17a99a(0x130)])||_0x43890c[_0x17a99a(0x10b)](_0x43890c[_0x17a99a(0x11d)](parseInt,_0x538841['browserVersion']),0x5e))&&(logger[_0x17a99a(0x113)](_0x43890c[_0x17a99a(0x122)]),global['accessibilityPlatform']=![]),!(_0x43890c[_0x17a99a(0xf9)](_0x538841['browserName'],_0x43890c[_0x17a99a(0x10a)])||_0x43890c[_0x17a99a(0x140)](_0x538841[_0x17a99a(0x131)],_0x43890c[_0x17a99a(0x139)]))&&(logger['warn'](_0x43890c['bBHsw']),global[_0x17a99a(0x116)]=![]),!_0x43890c[_0x17a99a(0x11d)](isUndefined,_0x538841[_0x17a99a(0x10f)])&&(logger['warn'](_0x43890c[_0x17a99a(0x141)]),global['accessibilityPlatform']=![]);}},exports[a3_0x23478a(0x133)]=_0x4572f1=>{const _0x5c7361=a3_0x23478a,_0x20a456={};_0x20a456['fXRgE']=_0x5c7361(0x13d),_0x20a456['TsxWa']=_0x5c7361(0x110);const _0x31d780=_0x20a456;if(!_0x4572f1)return![];return!_0x4572f1[_0x5c7361(0x126)](_0x31d780[_0x5c7361(0xfc)])&&!_0x4572f1[_0x5c7361(0x126)](_0x31d780[_0x5c7361(0x101)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x5de188=a4_0x4cd2;function a4_0x4cd2(_0x4abdbc,_0x1e2a46){const _0x39a4a8=a4_0x39a4();return a4_0x4cd2=function(_0x4cd2e0,_0x9e44bf){_0x4cd2e0=_0x4cd2e0-0x99;let _0x8113fa=_0x39a4a8[_0x4cd2e0];return _0x8113fa;},a4_0x4cd2(_0x4abdbc,_0x1e2a46);}(function(_0x1f1894,_0x24ddcb){const _0x1de073=a4_0x4cd2,_0x1deba5=_0x1f1894();while(!![]){try{const _0x36847b=parseInt(_0x1de073(0xdd))/0x1*(parseInt(_0x1de073(0xbf))/0x2)+-parseInt(_0x1de073(0x132))/0x3*(parseInt(_0x1de073(0x172))/0x4)+-parseInt(_0x1de073(0xca))/0x5*(-parseInt(_0x1de073(0xea))/0x6)+-parseInt(_0x1de073(0x146))/0x7*(-parseInt(_0x1de073(0xb7))/0x8)+parseInt(_0x1de073(0xd1))/0x9+-parseInt(_0x1de073(0x156))/0xa*(-parseInt(_0x1de073(0xc8))/0xb)+parseInt(_0x1de073(0x11e))/0xc*(-parseInt(_0x1de073(0x10e))/0xd);if(_0x36847b===_0x24ddcb)break;else _0x1deba5['push'](_0x1deba5['shift']());}catch(_0x221e19){_0x1deba5['push'](_0x1deba5['shift']());}}}(a4_0x39a4,0xccf98));function a4_0x39a4(){const _0x5d7f26=['integrations','failure_reason_expanded','ctx','cuqVp','hookAnalyticsId','then','rFBJh','../../helpers/test-observability/requestQueueHandler','pXund','BaFwy','now','bddStepStart','comment','file','qXFqW','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','start','IJRFm','87581AbKPgq','pid','toUpperCase','getFailureType','hook','defineProperty','ArziL','xORdX','match','connectOverCDP','retryOf','GdRaM','BnDss','eddhl','launch','HookRunStarted','5796kJFxjC','rHoff','_beforeEach','appendTestItemLog','path','groups','bs:addLog:','mXATZ','relative','afSgW','cPtOj','./helper.js','TEST_RUN_STARTED','prototype','Kvmvx','split','SVwhF','frameworkName','getHooksForTest','push','3ZAElTs','startedAt','IbMcQ','codeceptjs','TestRunSkipped','getTime','failure_backtrace','obsBrowserTypeMockApplied','CODECEPT','xxUvs','hook_run_uuid','WCjEZ','scCEW','klpZx','finished','LogCreated','EmZyS','hooks','test_run','config','186515DpLSJy','location_prefix','CBTSessionCreated','gvkab','pending','resetSkipTestHooks','jlZpR','prefixTestPath','HioEU','logs','_afterEach','__cloud_provider___','fullTitle','ddYGA','title','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','20gzoMgf','body','Pzwzw','findGitConfig','fwcmB','TEST_RUN_SKIPPED','getInstance','WeLrR','Wruhw','testAnalyticsId','jsqsf','_beforeAll','parent','__platformCaps','toISOString','feature','../../helpers/logger','PathHelper','javascript','test','OuPNx','O11yHelper','EtfoL','browserstack','accessibilityPlatform','sep','uuid','../mocha/test-observability/mochaUtils','3758816EVERJm','mapTestHooks','markedStatus','exports','BPgXL','4|5|1|3|0|2','IqlCd','test_run_uuid','status','currentHook','setupBrowserDetails','../../helpers/testhub/utils.js','driver','length','elTOf','ZJqgg','../playwright/accessibility-helper','apply','bddStepFinish','enabled','hook_run','rnlPI','includes','captureEvent','\x20with\x20error\x20:\x20','getRootParentFile','sendCBTInfo','forEach','getHookType','uploadEventData','getHierarchy','statSync','FqTZi','bVXOy','passed','ulGbM','constructor','currentTest','finished_at','expanded','HOOK_RUN_FINISHED','patchConsoleLogger','event_type','CNnrW','unilS','IYXSz','WLNmU','shutdown','../../helpers/test-observability/sessionHandler','../playwright/sessionDetails','XAtKC','vPHbh','File\x20path\x20could\x20not\x20be\x20found','_paths','16JorXet','PLAYWRIGHT_HUB_URL','gzZPS','hook_type','failed\x20to\x20get\x20root\x20parent\x20file\x20','dirname','../utils/constants','failed','80474LTAggz','fsTnJ','stop','TEST_RUN_FINISHED','bddSteps','IIZCC','toLowerCase','RYQaU','STATE_FAILED','4465714mcYMGJ','winstonLogger','1435FfnHFk','skipped','suites','client','connect','err','getCBTInfo','13564755EdstKc','../../helpers/test-observability/utils','mtBna','hLaNm','nOXdD','name','duration','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','wsEndpoint','TestRunFinished','nNTCP','IvDPw','41vNZadR','join','message','_testEnv','HPfBO','IYojf','debug','stepAnalyticsId','toString','Playwright','.git','fScsS','browserType.js','21138qAtJae','kISAW','initializeBddStep','failure','result','HOOK_RUN_STARTED','LnmDB','aximA','HookRunFinished','vHLIQ','string','_afterAll','Not\x20able\x20to\x20import\x20Browser','bQTZe','started','VjCck','meta','YCktX'];a4_0x39a4=function(){return _0x5d7f26;};return a4_0x39a4();}const path=require(a4_0x5de188(0x122)),fs=require('fs'),{v4:uuidv4}=require(a4_0x5de188(0x170)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x5de188(0xd2)),{getTestEnv}=require(a4_0x5de188(0x171)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x5de188(0x166))[a4_0x5de188(0xc9)],SessionHandler=require(a4_0x5de188(0xb1)),RequestQueueHandler=require(a4_0x5de188(0x103)),PlaywrightSessionDetails=require(a4_0x5de188(0xb2)),debug=testOpsHelper[a4_0x5de188(0xe3)],{processAccessibilityCaps}=require(a4_0x5de188(0x182)),Constants=require(a4_0x5de188(0xbd)),{fetchPlatformDetails}=require(a4_0x5de188(0x129)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x5de188(0x17d)),STATE_PASSED=a4_0x5de188(0xa3),STATE_FAILED=a4_0x5de188(0xbe),a4_0x4d6ded={};a4_0x4d6ded[a4_0x5de188(0x12a)]='TestRunStarted',a4_0x4d6ded[a4_0x5de188(0xc2)]=a4_0x5de188(0xda),a4_0x4d6ded[a4_0x5de188(0x15b)]=a4_0x5de188(0x136),a4_0x4d6ded[a4_0x5de188(0xef)]=a4_0x5de188(0x11d),a4_0x4d6ded[a4_0x5de188(0xa9)]=a4_0x5de188(0xf2);const TEST_EVENTS=a4_0x4d6ded,parseEvent=_0x4b8e79=>{const _0x50f070=a4_0x5de188,_0x4ddc91={};_0x4ddc91[_0x50f070(0x15a)]=function(_0x513e6a,_0x5893a8){return _0x513e6a<_0x5893a8;},_0x4ddc91[_0x50f070(0x13e)]=function(_0x9ebb84,_0x13165b){return _0x9ebb84===_0x13165b;},_0x4ddc91[_0x50f070(0x104)]=_0x50f070(0x169),_0x4ddc91[_0x50f070(0x114)]='hook',_0x4ddc91[_0x50f070(0xfb)]=_0x50f070(0xcb),_0x4ddc91[_0x50f070(0x105)]=function(_0x3f96ff,_0x441563){return _0x3f96ff===_0x441563;},_0x4ddc91[_0x50f070(0xdb)]=_0x50f070(0xf8),_0x4ddc91['FbDRW']=function(_0x5831e9,_0x534aa9){return _0x5831e9===_0x534aa9;},_0x4ddc91[_0x50f070(0x15e)]='finished';const _0x3cb755=_0x4ddc91,_0x3a025d=_0x4b8e79[_0x50f070(0x116)](/^(.*)Run(.*)$/);if(!_0x3a025d)return null;if(_0x3cb755[_0x50f070(0x15a)](_0x3a025d[_0x50f070(0x17f)],0x3))return null;const _0xc7be3a=_0x3a025d[0x1][_0x50f070(0xc5)](),_0x2d4d76=_0x3a025d[0x2][_0x50f070(0xc5)]();return{'test':_0x3cb755[_0x50f070(0x13e)](_0xc7be3a,_0x3cb755[_0x50f070(0x104)]),'hook':_0x3cb755[_0x50f070(0x13e)](_0xc7be3a,_0x3cb755[_0x50f070(0x114)]),'skipped':_0x3cb755[_0x50f070(0x13e)](_0x2d4d76,_0x3cb755[_0x50f070(0xfb)]),'started':_0x3cb755['BaFwy'](_0x2d4d76,_0x3cb755[_0x50f070(0xdb)]),'finished':_0x3cb755['FbDRW'](_0x2d4d76,_0x3cb755[_0x50f070(0x15e)])};},mockPWBrowserType=_0x9637d4=>{const _0x486faf=a4_0x5de188,_0x206bcb={'gzZPS':function(_0x2c1fc1,_0x46bb46){return _0x2c1fc1===_0x46bb46;},'VVXhP':_0x486faf(0xf4),'ZyvsC':function(_0x3cfc15,_0x440194,_0x2c2e87){return _0x3cfc15(_0x440194,_0x2c2e87);},'XjMTY':_0x486faf(0xd9),'XAtKC':function(_0x2f6f3c,_0x5ee948){return _0x2f6f3c(_0x5ee948);},'SVwhF':_0x486faf(0x16d),'DVBmK':function(_0x31b0a7,_0xe7af71,_0x3d98f){return _0x31b0a7(_0xe7af71,_0x3d98f);},'HioEU':'lib','cuqVp':_0x486faf(0xcd),'xxUvs':_0x486faf(0xe9),'bQTZe':function(_0x466ff9,_0x5abd84){return _0x466ff9(_0x5abd84);},'ddYGA':_0x486faf(0xf6),'BPgXL':_0x486faf(0xce),'mtBna':_0x486faf(0x11c)},_0x39f978=path[_0x486faf(0xde)](_0x206bcb[_0x486faf(0x14e)],_0x206bcb[_0x486faf(0xff)],_0x206bcb[_0x486faf(0x13b)]),_0x5f63c1=_0x206bcb['XAtKC'](importFileFromPWCore,_0x39f978);if(!_0x5f63c1){_0x206bcb[_0x486faf(0xf7)](debug,_0x206bcb[_0x486faf(0x153)]);return;}const _0x150c93=_0x5f63c1['BrowserType'],_0x59a94e=_0x150c93[_0x486faf(0x12b)];if(_0x59a94e[_0x486faf(0x139)])return;const _0x3c85cf=_0x59a94e[_0x486faf(0xce)];Object[_0x486faf(0x113)](_0x59a94e,_0x206bcb[_0x486faf(0x176)],{'get':function(){const _0x42a10f=_0x486faf,_0x323e74={'EtfoL':function(_0x405f6e,_0x523518){const _0x31436c=a4_0x4cd2;return _0x206bcb[_0x31436c(0xb9)](_0x405f6e,_0x523518);},'aximA':_0x206bcb['VVXhP'],'JDnzf':function(_0x232826,_0x1ee5dc,_0xe23c48){return _0x206bcb['ZyvsC'](_0x232826,_0x1ee5dc,_0xe23c48);},'vPHbh':_0x206bcb['XjMTY'],'RYQaU':function(_0x1726d1,_0x4e0f09){const _0x5c7c59=a4_0x4cd2;return _0x206bcb[_0x5c7c59(0xb3)](_0x1726d1,_0x4e0f09);},'IbMcQ':_0x206bcb[_0x42a10f(0x12e)],'pidYF':function(_0x2b7eda,_0x28844a,_0x421866){return _0x206bcb['DVBmK'](_0x2b7eda,_0x28844a,_0x421866);}};return async function _0x5435e5(_0x18b8d2,_0x2a61ca){const _0x35f08e=_0x42a10f,_0x9b2d88=_0x323e74['JDnzf'](nestedKeyValue,_0x18b8d2,[_0x323e74[_0x35f08e(0xb4)]])||_0x18b8d2;let _0x3de3da=null,_0x5ed3f2=null;try{[_0x5ed3f2,_0x3de3da]=_0x9b2d88?_0x323e74[_0x35f08e(0xc6)](parseWSEndpoint,_0x9b2d88):[null,null],global[_0x35f08e(0x163)]=_0x3de3da,_0x5ed3f2[_0x35f08e(0x188)](_0x323e74[_0x35f08e(0x134)])&&(global[_0x35f08e(0x151)]=_0x323e74[_0x35f08e(0x134)]);}catch(_0x43556e){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x9b2d88+'\x20'+_0x43556e);}_0x323e74['pidYF'](processAccessibilityCaps,_0x3de3da,_0x5ed3f2);if(global[_0x35f08e(0x16e)]){const _0x3102e4=await _0x59a94e[_0x35f08e(0x117)]['apply'](this,[''+Constants[_0x35f08e(0xb8)]+_0x323e74[_0x35f08e(0xc6)](encodeURIComponent,JSON['stringify'](_0x3de3da))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x3102e4,_0x9637d4,_0x9b2d88),_0x3102e4;}return _0x3c85cf[_0x35f08e(0x183)](this,arguments)[_0x35f08e(0x101)](_0x46d644=>{const _0x44a91d=_0x35f08e;let _0x483f5b=_0x18b8d2[_0x44a91d(0xd9)];return _0x323e74[_0x44a91d(0x16c)](typeof _0x18b8d2,_0x323e74[_0x44a91d(0xf1)])&&(_0x483f5b=_0x18b8d2),PlaywrightSessionDetails[_0x44a91d(0x17c)](_0x46d644,_0x9637d4,_0x483f5b),_0x46d644;});};}});const _0x1496cd=_0x59a94e[_0x486faf(0x11c)];Object[_0x486faf(0x113)](_0x59a94e,_0x206bcb[_0x486faf(0xd3)],{'get':function(){return async function _0x1b359b(){const _0x1947de=a4_0x4cd2;return _0x1496cd[_0x1947de(0x183)](this,arguments)[_0x1947de(0x101)](_0x20d69d=>{const _0x2567dd=_0x1947de;return PlaywrightSessionDetails[_0x2567dd(0x17c)](_0x20d69d,null),_0x20d69d;});};}});};class O11yHelper{[a4_0x5de188(0xa6)]=null;['currentHook']=null;['enabled']=![];[a4_0x5de188(0x12f)]=![];constructor(_0x4fea5e,_0x23f745){const _0x5b78a1=a4_0x5de188,_0x4e57c1={'WCjEZ':_0x5b78a1(0x177),'klpZx':function(_0x1246e9,_0x52145c){return _0x1246e9===_0x52145c;},'Pzwzw':_0x5b78a1(0xe6),'AOgxe':function(_0x2c9170,_0x12ae1b){return _0x2c9170(_0x12ae1b);},'wACEl':function(_0x1394d7){return _0x1394d7();}},_0x57b4ef=_0x4e57c1[_0x5b78a1(0x13d)][_0x5b78a1(0x12d)]('|');let _0x4cb0c0=0x0;while(!![]){switch(_0x57b4ef[_0x4cb0c0++]){case'0':this['_paths']=new testOpsHelper[(_0x5b78a1(0x167))]({'cwd':process['cwd']()},this[_0x5b78a1(0xe0)][_0x5b78a1(0x147)]);continue;case'1':this[_0x5b78a1(0x17e)]=_0x4fea5e;continue;case'2':this[_0x5b78a1(0x17e)]&&_0x4e57c1[_0x5b78a1(0x13f)](this[_0x5b78a1(0x17e)][_0x5b78a1(0xa5)]['name'],_0x4e57c1[_0x5b78a1(0x158)])&&_0x4e57c1['AOgxe'](mockPWBrowserType,null);continue;case'3':this['_testEnv']=_0x4e57c1['wACEl'](getTestEnv);continue;case'4':this[_0x5b78a1(0x185)]=_0x4e57c1['wACEl'](shouldProcessEventForTesthub);continue;case'5':this[_0x5b78a1(0x12f)]=_0x23f745[_0x5b78a1(0x12f)];continue;}break;}}[a4_0x5de188(0x10c)](){const _0x117026=a4_0x5de188;if(!this['enabled'])return;testOpsHelper[_0x117026(0xaa)](),process['removeAllListeners'](_0x117026(0x124)+process[_0x117026(0x10f)]),process['on'](_0x117026(0x124)+process[_0x117026(0x10f)],this[_0x117026(0x121)]['bind'](this));}async[a4_0x5de188(0xc1)](){const _0x5a197b=a4_0x5de188;await RequestQueueHandler[_0x5a197b(0x15c)]()[_0x5a197b(0xb0)]();}async['appendTestItemLog'](_0x2848ff){const _0x64d58e=a4_0x5de188,_0xd63586={'hgVXr':_0x64d58e(0x141),'GeVdV':function(_0x380aa1,_0x46733f){return _0x380aa1(_0x46733f);}};try{this[_0x64d58e(0x17b)]&&!this['currentHook'][_0x64d58e(0x174)]&&(_0x2848ff[_0x64d58e(0x13c)]=this[_0x64d58e(0x17b)]['hookAnalyticsId']);!_0x2848ff[_0x64d58e(0x13c)]&&this['currentTest']&&!this[_0x64d58e(0xa6)][_0x64d58e(0x174)]&&(_0x2848ff[_0x64d58e(0x179)]=this[_0x64d58e(0xa6)]['testAnalyticsId']);if(_0x2848ff[_0x64d58e(0x13c)]||_0x2848ff['test_run_uuid']){const _0x402390={};_0x402390[_0x64d58e(0xab)]=_0xd63586['hgVXr'],_0x402390[_0x64d58e(0x14f)]=[_0x2848ff],await SessionHandler['uploadEventData'](_0x402390);}}catch(_0x5810bc){_0xd63586['GeVdV'](debug,_0x64d58e(0x155)+_0x5810bc);}}async[a4_0x5de188(0x9b)](_0x54f6b1){const _0x31b1ca=a4_0x5de188,_0x326b49={'ZJqgg':_0x31b1ca(0x148),'IYXSz':function(_0xdbaafe,_0x4f896a){return _0xdbaafe(_0x4f896a);}};if(!this[_0x31b1ca(0x185)])return;const _0x412006=this[_0x31b1ca(0xd0)](this['driver']);try{const _0x426b03={};_0x426b03[_0x31b1ca(0x170)]=_0x54f6b1,_0x426b03[_0x31b1ca(0xfc)]=_0x412006;const _0x2b4f53=_0x426b03,_0x197edd={};_0x197edd[_0x31b1ca(0xab)]=_0x326b49[_0x31b1ca(0x181)],_0x197edd[_0x31b1ca(0x144)]=_0x2b4f53,await SessionHandler[_0x31b1ca(0x9e)](_0x197edd);}catch(_0x246ab9){_0x326b49[_0x31b1ca(0xae)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x246ab9);}}[a4_0x5de188(0xd0)](_0x4f14c3){const _0x2da414={'rgHCc':function(_0x1d008b,_0x4610f9){return _0x1d008b(_0x4610f9);}};return _0x2da414['rgHCc'](fetchPlatformDetails,_0x4f14c3);}[a4_0x5de188(0x14b)]=_0x3ee2c9=>{const _0x219d13=a4_0x5de188,_0x59ae6b={};_0x59ae6b['EmjFe']=_0x219d13(0x120),_0x59ae6b[_0x219d13(0xf0)]=_0x219d13(0x150);const _0x115334=_0x59ae6b;if(!_0x3ee2c9||!_0x3ee2c9[_0x219d13(0x162)])return;[_0x115334['EmjFe'],_0x115334['LnmDB']]['forEach'](_0x2616d8=>{const _0x30c0a2=_0x3ee2c9['parent'][_0x2616d8];_0x30c0a2['forEach'](_0x2e2745=>{const _0x10463f=a4_0x4cd2;_0x2e2745['hookAnalyticsId']&&(_0x2e2745[_0x10463f(0x100)]=null);});});};['mapTestHooks'](_0x189a1b){const _0x2155a5=a4_0x5de188,_0x3d5221={'Jckiy':_0x2155a5(0x135),'unilS':function(_0x34bb73){return _0x34bb73();},'xUBLQ':function(_0xeb3184,_0x38be39){return _0xeb3184===_0x38be39;},'WLNmU':_0x2155a5(0x150),'IJRFm':function(_0xf909cb){return _0xf909cb();},'xORdX':_0x2155a5(0x161),'Cqlfp':_0x2155a5(0xf5),'eSGSs':_0x2155a5(0x120)};if(!_0x189a1b||!_0x189a1b[_0x2155a5(0x162)])return;[_0x3d5221[_0x2155a5(0x115)],_0x3d5221['Cqlfp'],_0x3d5221['eSGSs'],_0x3d5221[_0x2155a5(0xaf)]][_0x2155a5(0x9c)](_0x45fdc6=>{const _0x360609=_0x2155a5,_0x3efaac=_0x189a1b[_0x360609(0x162)][_0x45fdc6]||[];_0x3efaac[_0x360609(0x9c)](_0x40f6f0=>{const _0x55318b=_0x360609;if(_0x40f6f0[_0x55318b(0x154)]['includes'](_0x3d5221['Jckiy']))return;if(!_0x40f6f0['hookAnalyticsId'])_0x40f6f0[_0x55318b(0x100)]=_0x3d5221[_0x55318b(0xad)](uuidv4);else _0x40f6f0['markedStatus']&&_0x3d5221['xUBLQ'](_0x45fdc6,_0x3d5221[_0x55318b(0xaf)])&&(_0x40f6f0[_0x55318b(0x100)]=_0x3d5221[_0x55318b(0x10d)](uuidv4),delete _0x40f6f0[_0x55318b(0x174)]);});}),this[_0x2155a5(0x173)](_0x189a1b[_0x2155a5(0x162)]);}[a4_0x5de188(0x130)](_0x148183){const _0x9d0145=a4_0x5de188,_0x113acc={};_0x113acc[_0x9d0145(0x10a)]=_0x9d0145(0x161),_0x113acc['gvkab']=_0x9d0145(0xf5),_0x113acc['rHoff']=_0x9d0145(0x120),_0x113acc[_0x9d0145(0xe8)]=_0x9d0145(0x150);const _0xded0e=_0x113acc;if(!_0x148183||!_0x148183[_0x9d0145(0x162)])return[];const _0x3f746c=[];return[_0xded0e['qXFqW'],_0xded0e[_0x9d0145(0x149)],_0xded0e[_0x9d0145(0x11f)],_0xded0e['fScsS']]['forEach'](_0x3bcb8e=>{const _0x1a6869=_0x9d0145,_0x584745=_0x148183[_0x1a6869(0x162)][_0x3bcb8e]||[];_0x584745[_0x1a6869(0x9c)](_0x5f5044=>{const _0x3067bf=_0x1a6869;_0x5f5044[_0x3067bf(0x100)]&&_0x3f746c['push'](_0x5f5044['hookAnalyticsId']);});}),[]['concat'](_0x3f746c,this['getHooksForTest'](_0x148183[_0x9d0145(0x162)]));}[a4_0x5de188(0x9d)](_0x3f842e){const _0x31a781=a4_0x5de188,_0x50b24e=/^"(?<hook>.*)" hook:.*$/,_0x313785=_0x3f842e[_0x31a781(0x154)],_0x242ecd=_0x313785[_0x31a781(0x116)](_0x50b24e);if(_0x242ecd&&_0x242ecd[_0x31a781(0x123)])return _0x242ecd['groups'][_0x31a781(0x112)][_0x31a781(0x110)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x1cf6d9){const _0x3385c7=a4_0x5de188,_0xf144ff={};_0xf144ff[_0x3385c7(0xc0)]=function(_0x4068eb,_0x4f0e9c){return _0x4068eb===_0x4f0e9c;},_0xf144ff[_0x3385c7(0xc4)]=function(_0x6caeff,_0x4c8540){return _0x6caeff===_0x4c8540;},_0xf144ff[_0x3385c7(0xdc)]=_0x3385c7(0xe7),_0xf144ff[_0x3385c7(0xd4)]=_0x3385c7(0x145);const _0xe6fb1=_0xf144ff,_0x40a5d3=path[_0x3385c7(0x16f)];if(_0xe6fb1[_0x3385c7(0xc0)](_0x1cf6d9,null)||_0xe6fb1['fsTnJ'](_0x1cf6d9,'')||_0xe6fb1[_0x3385c7(0xc4)](_0x1cf6d9,_0x40a5d3)||_0xe6fb1[_0x3385c7(0xc4)](_0x1cf6d9,path['dirname'](_0x1cf6d9)))return null;try{return fs[_0x3385c7(0xa0)](path[_0x3385c7(0xde)](_0x1cf6d9,_0xe6fb1['IvDPw'],_0xe6fb1[_0x3385c7(0xd4)])),_0x1cf6d9;}catch(_0x8ef5d7){const _0x1afab0=path[_0x3385c7(0xbc)](_0x1cf6d9);return this[_0x3385c7(0x159)](_0x1afab0);}}[a4_0x5de188(0x9a)](_0xbd5ded){const _0x42e019=a4_0x5de188,_0x24b60f={};_0x24b60f[_0x42e019(0x127)]=function(_0x470433,_0x42bcc6){return _0x470433>_0x42bcc6;};const _0x523120=_0x24b60f;if(_0xbd5ded[_0x42e019(0x109)])return _0xbd5ded[_0x42e019(0x109)];if(_0xbd5ded[_0x42e019(0xfe)]){const _0x5f3e3f=_0xbd5ded[_0x42e019(0xfe)]['currentTest']?this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0xfe)][_0x42e019(0xa6)]):null;if(_0x5f3e3f)return _0x5f3e3f;}if(_0xbd5ded['parent']){const _0x2fd8cc=this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0x162)])||(_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)]&&_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)][_0x42e019(0xa6)]?this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)][_0x42e019(0xa6)]):null);if(_0x2fd8cc)return _0x2fd8cc;_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xcc)]&&_0x523120[_0x42e019(0x127)](_0xbd5ded[_0x42e019(0x162)]['suites'][_0x42e019(0x17f)],0x0)&&_0xbd5ded['parent'][_0x42e019(0xcc)][_0x42e019(0x9c)](_0x16ab6d=>{const _0x1a4e3d=_0x42e019,_0x54216c=_0x16ab6d[_0x1a4e3d(0xfe)]?this[_0x1a4e3d(0x9a)](_0x16ab6d['ctx']):null;if(_0x54216c)return _0x54216c;});}return null;}[a4_0x5de188(0x9f)](_0x25062f){const _0xd539e1=a4_0x5de188,_0x208230={};_0x208230[_0xd539e1(0x16a)]=function(_0x23f309,_0x739d0a){return _0x23f309!==_0x739d0a;};const _0x2bbbcd=_0x208230,_0x21d05b=[];if(_0x25062f&&_0x25062f[_0xd539e1(0x162)]){let _0x23a509=_0x25062f[_0xd539e1(0x162)];while(_0x23a509&&_0x2bbbcd['OuPNx'](_0x23a509['title'],'')){_0x21d05b[_0xd539e1(0x131)](_0x23a509[_0xd539e1(0x154)]),_0x23a509=_0x23a509[_0xd539e1(0x162)];}}return _0x21d05b;}[a4_0x5de188(0x189)](_0x14f440,_0x2b79a0,_0x3645ae=undefined){const _0x5bc8c1=a4_0x5de188,_0xa457f9={'WeLrR':function(_0xa75b52,_0x25c43c){return _0xa75b52(_0x25c43c);},'nOXdD':function(_0x408349){return _0x408349();},'Kvmvx':function(_0x170fe1){return _0x170fe1();},'jlZpR':function(_0x4652ff,_0xf33494){return _0x4652ff(_0xf33494);},'JhbjY':'util','CNnrW':_0x5bc8c1(0xcf),'pIEWC':function(_0x5b8e3d,_0x47b3dc){return _0x5b8e3d!==_0x47b3dc;},'eddhl':function(_0x20871d,_0x294fd2){return _0x20871d!==_0x294fd2;},'vHLIQ':_0x5bc8c1(0xb5),'AoIXS':_0x5bc8c1(0x14a),'IqlCd':_0x5bc8c1(0xbe),'kISAW':'passed','bXUBk':_0x5bc8c1(0xcb),'bVXOy':_0x5bc8c1(0x168),'FqTZi':function(_0x1fe082,_0xd95a3f){return _0x1fe082-_0xd95a3f;},'yTSpX':function(_0x226b2f,_0xed3c0a,_0x2472c3,_0x4b3a3d,_0x2da71b){return _0x226b2f(_0xed3c0a,_0x2472c3,_0x4b3a3d,_0x2da71b);},'heXpo':function(_0xc160e7,_0x11720f){return _0xc160e7!==_0x11720f;},'mXATZ':_0x5bc8c1(0xfc),'VjCck':_0x5bc8c1(0xfa),'IYojf':_0x5bc8c1(0xed),'ulGbM':_0x5bc8c1(0x138),'BnDss':'backtrace','cpnaK':_0x5bc8c1(0xfd),'rFBJh':_0x5bc8c1(0xa8),'xrDJt':function(_0xc6d8f1,_0x4a181f){return _0xc6d8f1===_0x4a181f;},'elTOf':_0x5bc8c1(0x186),'ABylT':_0x5bc8c1(0x144)};if(!this['enabled'])return;try{if(_0x2b79a0['fn']&&_0x2b79a0['fn'][_0x5bc8c1(0xe5)]()['match'](/browserstack internal helper hook/))return;const _0x1ff207=_0xa457f9[_0x5bc8c1(0x15d)](parseEvent,_0x14f440);if(!_0x1ff207)return;if(_0x1ff207[_0x5bc8c1(0x169)]){this[_0x5bc8c1(0xa6)]=_0x2b79a0,this[_0x5bc8c1(0x17b)]=null;if(_0x1ff207[_0x5bc8c1(0xf8)]||_0x1ff207[_0x5bc8c1(0xcb)]){_0x2b79a0[_0x5bc8c1(0x133)]=new Date(),_0x2b79a0[_0x5bc8c1(0x174)]=![];if(!_0x2b79a0[_0x5bc8c1(0x15f)])_0x2b79a0['testAnalyticsId']=_0xa457f9[_0x5bc8c1(0xd5)](uuidv4);else _0x2b79a0['markedStatus']&&(!_0x2b79a0[_0x5bc8c1(0x118)]&&(_0x2b79a0[_0x5bc8c1(0x118)]=_0x2b79a0['testAnalyticsId']),_0x2b79a0[_0x5bc8c1(0x15f)]=_0xa457f9[_0x5bc8c1(0xd5)](uuidv4));}}else{if(_0x1ff207[_0x5bc8c1(0x112)]){this[_0x5bc8c1(0x17b)]=_0x2b79a0;if(_0x1ff207[_0x5bc8c1(0xf8)]){_0x2b79a0['startedAt']=new Date(),_0x2b79a0[_0x5bc8c1(0x174)]=![];if(!_0x2b79a0[_0x5bc8c1(0x100)])_0x2b79a0['hookAnalyticsId']=_0xa457f9[_0x5bc8c1(0x12c)](uuidv4);else _0x2b79a0[_0x5bc8c1(0x100)]&&_0x2b79a0[_0x5bc8c1(0x174)]&&(_0x2b79a0[_0x5bc8c1(0x100)]=_0xa457f9[_0x5bc8c1(0x12c)](uuidv4));}}}if(_0x1ff207[_0x5bc8c1(0x140)]&&_0x2b79a0[_0x5bc8c1(0x174)])return;let _0x4b3220;try{_0x4b3220=this[_0x5bc8c1(0x9a)](_0x2b79a0);}catch(_0x3db474){logger[_0x5bc8c1(0xe3)](_0x5bc8c1(0xbb)+_0x3db474),_0x4b3220=null;}const _0x1244e7=_0xa457f9[_0x5bc8c1(0x14c)](require,_0xa457f9['JhbjY']);let _0x3bfedc=[];_0x3645ae&&(_0x3bfedc=[_0x3645ae,_0xa457f9[_0x5bc8c1(0xac)]]);const _0x24184c=_0xa457f9['pIEWC'](_0x2b79a0['errorsDetailed'],undefined)?_0x1244e7['inspect'](_0x2b79a0['errorsDetailed'][0x0]):_0xa457f9[_0x5bc8c1(0x11b)](_0x3645ae,undefined)?_0x3645ae[_0x5bc8c1(0xe5)]():undefined,_0x4fd4d5=_0x4b3220?this[_0x5bc8c1(0x159)](_0x4b3220):null,_0x2e7dd9=_0x4b3220?this[_0x5bc8c1(0xb6)][_0x5bc8c1(0x14d)](this[_0x5bc8c1(0x9a)](_0x2b79a0)):_0xa457f9[_0x5bc8c1(0xf3)];let _0x616d88=_0xa457f9['AoIXS'];const _0x2d7c56=!_0x1ff207[_0x5bc8c1(0xf8)]?new Date()[_0x5bc8c1(0x164)]():null;if(_0x1ff207['finished'])_0x616d88=_0x3645ae?_0xa457f9[_0x5bc8c1(0x178)]:_0xa457f9['kISAW'],_0x2b79a0[_0x5bc8c1(0x174)]=!![];else _0x1ff207[_0x5bc8c1(0xcb)]&&(_0x616d88=_0xa457f9['bXUBk'],_0x2b79a0[_0x5bc8c1(0x174)]=!![]);const _0x38068={'framework':this[_0x5bc8c1(0x12f)],'uuid':_0x2b79a0['testAnalyticsId']||_0x2b79a0['hookAnalyticsId'],'name':_0x2b79a0[_0x5bc8c1(0x154)],'body':{'lang':_0xa457f9[_0x5bc8c1(0xa2)],'code':_0x2b79a0['body']['toString']()},'type':_0x2b79a0['type'],'scope':_0x2b79a0['fullTitle'](),'scopes':this['getHierarchy'](_0x2b79a0),'file_name':_0x2e7dd9,'vc_filepath':_0x4fd4d5?path[_0x5bc8c1(0x126)](_0x4fd4d5,_0x4b3220):null,'location':_0x2e7dd9,'result':_0x616d88,'failure_reason':_0x24184c,'duration_in_ms':_0x2b79a0[_0x5bc8c1(0xd7)]||(_0x1ff207['finished']||_0x1ff207['skipped'])?_0xa457f9[_0x5bc8c1(0xa1)](Date['now'](),new Date(_0x2b79a0[_0x5bc8c1(0x133)])['getTime']()):null,'started_at':new Date(_0x2b79a0[_0x5bc8c1(0x133)])[_0x5bc8c1(0x164)](),'finished_at':_0x2d7c56,'failure':testOpsHelper['failureData']['apply'](null,_0x3bfedc),'failure_type':!_0x24184c?null:testOpsHelper[_0x5bc8c1(0x111)](_0x24184c),'retry_of':_0x2b79a0[_0x5bc8c1(0x118)]||null,'tags':_0x2b79a0['tags']||[],'customRerunParam':{'rerun_name':_0x2b79a0[_0x5bc8c1(0x152)]()}};_0xa457f9['yTSpX'](appendTesthubParams,_0x38068,_0x14f440,_0x2b79a0,FRAMEWORKS[_0x5bc8c1(0x13a)]);if(_0x1ff207[_0x5bc8c1(0x112)])[_0x38068[_0x5bc8c1(0xba)],_0x38068[_0x5bc8c1(0xd6)]]=[this['getHookType'](_0x2b79a0),_0x2b79a0[_0x5bc8c1(0xfe)][_0x5bc8c1(0x169)][_0x5bc8c1(0x154)]],_0x1ff207[_0x5bc8c1(0x140)]?_0xa457f9['heXpo'](_0x38068[_0x5bc8c1(0xee)],_0xa457f9['IqlCd'])&&(_0x38068['result']=_0xa457f9[_0x5bc8c1(0xeb)]):_0x38068[_0x5bc8c1(0x157)]={};else _0x1ff207[_0x5bc8c1(0x169)]&&(this[_0x5bc8c1(0x173)](_0x2b79a0),_0x1ff207['skipped']&&this[_0x5bc8c1(0x14b)](_0x2b79a0),(_0x1ff207[_0x5bc8c1(0x140)]||_0x1ff207[_0x5bc8c1(0xcb)])&&(_0x38068[_0x5bc8c1(0x143)]=this[_0x5bc8c1(0x130)](_0x2b79a0)));this[_0x5bc8c1(0x17e)]&&(_0x1ff207[_0x5bc8c1(0xf8)]||_0x1ff207[_0x5bc8c1(0xcb)])&&(_0x38068[_0xa457f9[_0x5bc8c1(0x125)]]=this['getCBTInfo'](this[_0x5bc8c1(0x17e)]));_0x1ff207['test']&&_0x1ff207[_0x5bc8c1(0x140)]&&_0x2b79a0[_0x5bc8c1(0xc3)]&&(_0x38068[_0xa457f9[_0x5bc8c1(0xf9)]]={'feature':{'name':_0x2b79a0[_0x5bc8c1(0x162)][_0x5bc8c1(0x165)][_0x5bc8c1(0xd6)],'path':_0x38068['file_name'],'description':_0x2b79a0['parent'][_0x5bc8c1(0x108)]},'scenario':{'name':_0x2b79a0[_0x5bc8c1(0x154)]},'steps':_0x2b79a0[_0x5bc8c1(0xc3)]});const _0x41c4df=_0x38068[_0xa457f9[_0x5bc8c1(0xe2)]][0x0];_0x41c4df&&(_0x38068[_0xa457f9[_0x5bc8c1(0xa4)]]=_0x41c4df[_0xa457f9[_0x5bc8c1(0x11a)]],_0x38068[_0xa457f9['cpnaK']]=_0x41c4df[_0xa457f9[_0x5bc8c1(0x102)]]);if(_0x2b79a0['bddSteps'])for(const _0x277a5d of _0x2b79a0[_0x5bc8c1(0xc3)]){!_0x277a5d[_0x5bc8c1(0xa7)]&&(_0x277a5d[_0x5bc8c1(0xa7)]=new Date()[_0x5bc8c1(0x164)](),_0xa457f9['xrDJt'](_0x277a5d[_0x5bc8c1(0xee)],_0xa457f9['AoIXS'])&&(_0x41c4df?(_0x277a5d[_0x5bc8c1(0xee)]=_0xa457f9[_0x5bc8c1(0x178)],_0x277a5d['failure']=_0x41c4df[_0xa457f9[_0x5bc8c1(0x11a)]][0x0]):_0x277a5d['result']=_0xa457f9[_0x5bc8c1(0xeb)]));}const _0x365530={};_0x365530['event_type']=_0x1ff207[_0x5bc8c1(0xcb)]?TEST_EVENTS[_0x5bc8c1(0xc2)]:_0x14f440;const _0x4ccfea=_0x365530;return _0x1ff207[_0x5bc8c1(0x112)]?_0x4ccfea[_0xa457f9[_0x5bc8c1(0x180)]]=_0x38068:_0x4ccfea[_0xa457f9['ABylT']]=_0x38068,_0x4ccfea;}catch(_0x3a4260){logger['debug'](_0x5bc8c1(0xd8)+_0x14f440+_0x5bc8c1(0x99)+_0x3a4260);}}async['fireEvent'](_0x362a60,_0x5536bd){const _0x4de71f=a4_0x5de188;if(!this[_0x4de71f(0x185)]||!_0x5536bd||!_0x362a60)return![];try{return await SessionHandler[_0x4de71f(0x9e)](_0x5536bd);}catch(_0x5eddf1){logger[_0x4de71f(0xe3)](_0x4de71f(0x10b)+_0x362a60+_0x4de71f(0x99)+_0x5eddf1);}}[a4_0x5de188(0xec)](_0x2fc106){const _0x245fa5=a4_0x5de188,_0x49d61c={};_0x49d61c[_0x245fa5(0x119)]=_0x245fa5(0x14a);const _0x2efb58=_0x49d61c;return{'id':_0x2fc106[_0x245fa5(0xe4)],'text':_0x2fc106['text'],'keyword':_0x2fc106['keyword'],'started_at':_0x2fc106['startedAt'][_0x245fa5(0x164)](),'result':_0x2efb58[_0x245fa5(0x119)]};}[a4_0x5de188(0x107)](_0x315250){const _0x4c8b14=a4_0x5de188,_0x5dd203={'jsqsf':function(_0x215071){return _0x215071();}};!this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)]&&(this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)]=[]),!_0x315250['stepAnalyticsId']&&(_0x315250['stepAnalyticsId']=_0x5dd203[_0x4c8b14(0x160)](uuidv4),_0x315250[_0x4c8b14(0x133)]=new Date(),this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)][_0x4c8b14(0x131)](this['initializeBddStep'](_0x315250)));}[a4_0x5de188(0x184)](_0x4223a1){const _0x1f4dbe=a4_0x5de188,_0x3e5972={'HPfBO':function(_0x52e7ab,_0x9a1d10){return _0x52e7ab(_0x9a1d10);},'EmZyS':'success','rnlPI':_0x1f4dbe(0x14a),'NxkIg':_0x1f4dbe(0xa3),'cPtOj':function(_0x5abe62,_0x16bbbb){return _0x5abe62-_0x16bbbb;}};let _0xd4eca8=this[_0x1f4dbe(0xa6)]['bddSteps']['find'](_0x587e25=>_0x587e25['id']===_0x4223a1[_0x1f4dbe(0xe4)]);_0x3e5972[_0x1f4dbe(0xe1)](isUndefined,_0xd4eca8)&&(_0xd4eca8=this[_0x1f4dbe(0xec)](_0x4223a1)),_0xd4eca8['result']=[_0x3e5972[_0x1f4dbe(0x142)],_0x3e5972[_0x1f4dbe(0x187)]][_0x1f4dbe(0x188)](_0x4223a1['status'])?_0x3e5972['NxkIg']:_0x4223a1[_0x1f4dbe(0x17a)],_0xd4eca8['finished_at']=new Date()['toISOString'](),_0xd4eca8[_0x1f4dbe(0xd7)]=_0x3e5972[_0x1f4dbe(0x128)](Date[_0x1f4dbe(0x106)](),_0x4223a1[_0x1f4dbe(0x133)][_0x1f4dbe(0x137)]()),_0xd4eca8[_0x1f4dbe(0xed)]=_0x4223a1[_0x1f4dbe(0xcf)]?_0x4223a1[_0x1f4dbe(0xcf)][_0x1f4dbe(0xdf)]:null;}}const a4_0x36ad29={};a4_0x36ad29[a4_0x5de188(0x16b)]=O11yHelper,a4_0x36ad29['STATE_PASSED']=STATE_PASSED,a4_0x36ad29[a4_0x5de188(0xc7)]=STATE_FAILED,a4_0x36ad29['TEST_EVENTS']=TEST_EVENTS,module[a4_0x5de188(0x175)]=a4_0x36ad29;
|
|
1
|
+
const a4_0x13aca0=a4_0x4d2a;function a4_0x303e(){const _0x2742e7=['_beforeEach','wsEndpoint','HookRunStarted','start','getHooksForTest','captureEvent','WTLhQ','qNIKF','MoBDS','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','EyhPA','driver','RbZcu','AixrI','markedStatus','finished_at','EmYpd','__platformCaps','77235uxvDiB','title','./helper.js','concat','xyxVr','passed','includes','test_run','getRootParentFile','XWkYw','forEach','../../helpers/helper','appendTestItemLog','84dvjYOq','oCfYy','mOlUd','PLAYWRIGHT_HUB_URL','hook','../../helpers/testhub/utils.js','groups','JHDmS','launch','eDxxv','../../helpers/logger','TEST_EVENTS','bjYgD','4824616yjLxpD','YuiqR','zFGLX','hook_run_uuid','getFailureType','ktSMI','pid','vqQHL','JiYAT','nXqLi','RYZDI','path','cUuGx','obsBrowserTypeMockApplied','failure','bddStepFinish','debug','_testEnv','patchConsoleLogger','join','vVweY','yotBA','4401306dXCNBi','Playwright','find','fullTitle','VNxXj','HOOK_RUN_STARTED','zUKYz','icNYM','KzEKl','retryOf','getHookType','stepAnalyticsId','browserType.js','766200vsfDur','hCQLg','pending','Failed\x20to\x20parse\x20wsendpoint\x20','accessibilityPlatform','EFFxY','aflTN','rHwXw','TEST_RUN_STARTED','bddSteps','owpld','constructor','file','statSync','sendCBTInfo','HookRunFinished','uploadEventData','TEST_RUN_SKIPPED','toString','2844318gPWYYg','AjxYl','match','BrowserType','initializeBddStep','test','location_prefix','edhWf','hook_type','.git','YWIRb','length','apply','hqcTb','aKlJZ','hooks','1164714nAHuOt','../../helpers/test-observability/requestQueueHandler','connect','CBTSessionCreated','nHaaj','hookAnalyticsId','now','tags','failureData','enabled','relative','duration','ycOnQ','\x20with\x20error\x20:\x20','../../helpers/test-observability/sessionHandler','getTime','testAnalyticsId','stop','rySUK','TlZcO','replace','keyword','ctx','err','javascript','toISOString','_paths','cXvAd','defineProperty','util','result','xVZkb','currentTest','failure_backtrace','skipped','file_name','iQNFy','ucjlt','client','IZUOM','started','setupBrowserDetails','dtgIX','getInstance','bind','getHierarchy','LAAot','event_type','uuid','bkQTL','parent','push','pryEZ','Not\x20able\x20to\x20import\x20Browser','frameworkName','HOOK_RUN_FINISHED','mEcnE','vcqET','owFjy','logs','SjqmO','finished','CJpBq','ScEpQ','connectOverCDP','meta','mapTestHooks','_beforeAll','../utils/constants','oiCUJ','prototype','ZgAis','Padkd','RIrRL','errorsDetailed','O11yHelper','status','toUpperCase','TestRunSkipped','dirname','sep','currentHook','IAbgB','_afterAll','PathHelper','__cloud_provider___','text','TestRunFinished','CVGun','failed','QxCEq','message','startedAt','feature','then','test_run_uuid','winstonLogger','paTqg','hook_run','suites','../playwright/sessionDetails','resetSkipTestHooks','getCBTInfo','STATE_FAILED','findGitConfig','exports','246318yzVoao','../../helpers/test-observability/constants','name','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','body','TEST_RUN_FINISHED','stringify'];a4_0x303e=function(){return _0x2742e7;};return a4_0x303e();}function a4_0x4d2a(_0x8eb9a1,_0x222e33){const _0x303e05=a4_0x303e();return a4_0x4d2a=function(_0x4d2a15,_0x394025){_0x4d2a15=_0x4d2a15-0x112;let _0x5b183b=_0x303e05[_0x4d2a15];return _0x5b183b;},a4_0x4d2a(_0x8eb9a1,_0x222e33);}(function(_0x13ed36,_0x39129d){const _0x2c131b=a4_0x4d2a,_0x2b3853=_0x13ed36();while(!![]){try{const _0xaeff35=-parseInt(_0x2c131b(0x1b4))/0x1+parseInt(_0x2c131b(0x14a))/0x2+parseInt(_0x2c131b(0x13a))/0x3+parseInt(_0x2c131b(0x1da))/0x4*(parseInt(_0x2c131b(0x1cd))/0x5)+parseInt(_0x2c131b(0x127))/0x6+-parseInt(_0x2c131b(0x11a))/0x7+-parseInt(_0x2c131b(0x1e7))/0x8;if(_0xaeff35===_0x39129d)break;else _0x2b3853['push'](_0x2b3853['shift']());}catch(_0x1057ea){_0x2b3853['push'](_0x2b3853['shift']());}}}(a4_0x303e,0x7b24d));const path=require(a4_0x13aca0(0x1f2)),fs=require('fs'),{v4:uuidv4}=require(a4_0x13aca0(0x17a)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x13aca0(0x1d8)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x13aca0(0x1b5)),logger=require(a4_0x13aca0(0x1e4))[a4_0x13aca0(0x1aa)],SessionHandler=require(a4_0x13aca0(0x158)),RequestQueueHandler=require(a4_0x13aca0(0x14b)),PlaywrightSessionDetails=require(a4_0x13aca0(0x1ae)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x13aca0(0x18e)),{fetchPlatformDetails}=require(a4_0x13aca0(0x1cf)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x13aca0(0x1df)),STATE_PASSED='passed',STATE_FAILED=a4_0x13aca0(0x1a3),a4_0xe53af2={};a4_0xe53af2[a4_0x13aca0(0x12f)]='TestRunStarted',a4_0xe53af2['TEST_RUN_FINISHED']=a4_0x13aca0(0x1a1),a4_0xe53af2[a4_0x13aca0(0x138)]=a4_0x13aca0(0x198),a4_0xe53af2[a4_0x13aca0(0x11f)]=a4_0x13aca0(0x1bd),a4_0xe53af2[a4_0x13aca0(0x181)]=a4_0x13aca0(0x136);const TEST_EVENTS=a4_0xe53af2,parseEvent=_0xbd33ba=>{const _0x5845f0=a4_0x13aca0,_0x2ec910={};_0x2ec910['owFjy']=function(_0x44b2fe,_0x1f17ce){return _0x44b2fe<_0x1f17ce;},_0x2ec910['EFFxY']=function(_0x4c3589,_0xdd3e4c){return _0x4c3589===_0xdd3e4c;},_0x2ec910[_0x5845f0(0x1c1)]=_0x5845f0(0x13f),_0x2ec910[_0x5845f0(0x183)]=function(_0x3bec08,_0x54da41){return _0x3bec08===_0x54da41;},_0x2ec910['IZUOM']=_0x5845f0(0x1de),_0x2ec910[_0x5845f0(0x144)]=function(_0x1b0045,_0x5666db){return _0x1b0045===_0x5666db;},_0x2ec910[_0x5845f0(0x141)]='skipped',_0x2ec910[_0x5845f0(0x11e)]=_0x5845f0(0x172),_0x2ec910[_0x5845f0(0x1e1)]=_0x5845f0(0x187);const _0x5d0c00=_0x2ec910,_0x489c7a=_0xbd33ba['match'](/^(.*)Run(.*)$/);if(!_0x489c7a)return null;if(_0x5d0c00[_0x5845f0(0x184)](_0x489c7a[_0x5845f0(0x145)],0x3))return null;const _0x1ec605=_0x489c7a[0x1]['toLowerCase'](),_0x5aeb61=_0x489c7a[0x2]['toLowerCase']();return{'test':_0x5d0c00[_0x5845f0(0x12c)](_0x1ec605,_0x5d0c00['WTLhQ']),'hook':_0x5d0c00[_0x5845f0(0x183)](_0x1ec605,_0x5d0c00[_0x5845f0(0x171)]),'skipped':_0x5d0c00['YWIRb'](_0x5aeb61,_0x5d0c00[_0x5845f0(0x141)]),'started':_0x5d0c00[_0x5845f0(0x183)](_0x5aeb61,_0x5d0c00['VNxXj']),'finished':_0x5d0c00['EFFxY'](_0x5aeb61,_0x5d0c00[_0x5845f0(0x1e1)])};},mockPWBrowserType=_0x57ad1f=>{const _0x2a6860=a4_0x13aca0,_0x477230={'nxSUR':function(_0x4437be,_0xa84a7f,_0x54acf4){return _0x4437be(_0xa84a7f,_0x54acf4);},'VvOFo':_0x2a6860(0x1bc),'yotBA':function(_0x91b685,_0x5d4c83){return _0x91b685(_0x5d4c83);},'EmYpd':'browserstack','IAbgB':function(_0x3b1c57,_0x4b9ff8,_0x4f3ce6){return _0x3b1c57(_0x4b9ff8,_0x4f3ce6);},'HhFcB':function(_0x1c0d13,_0x4fc00e){return _0x1c0d13===_0x4fc00e;},'mfgZK':'string','EyhPA':'lib','ggsIE':_0x2a6860(0x170),'ZgAis':_0x2a6860(0x126),'nXqLi':_0x2a6860(0x17f),'icNYM':'connect','aKlJZ':_0x2a6860(0x1e2)},_0x3ad35c=path[_0x2a6860(0x117)](_0x477230[_0x2a6860(0x1c5)],_0x477230['ggsIE'],_0x477230[_0x2a6860(0x191)]),_0x373850=_0x477230[_0x2a6860(0x119)](importFileFromPWCore,_0x3ad35c);if(!_0x373850){_0x477230[_0x2a6860(0x119)](debug,_0x477230[_0x2a6860(0x1f0)]);return;}const _0x22d0f1=_0x373850[_0x2a6860(0x13d)],_0x7e5bac=_0x22d0f1[_0x2a6860(0x190)];if(_0x7e5bac[_0x2a6860(0x1f4)])return;const _0x3fcdb5=_0x7e5bac[_0x2a6860(0x14c)];Object['defineProperty'](_0x7e5bac,_0x477230[_0x2a6860(0x121)],{'get':function(){const _0x4c0d4b={'dkEtl':function(_0x303331,_0x3f2662){return _0x477230['HhFcB'](_0x303331,_0x3f2662);},'zUKYz':_0x477230['mfgZK']};return async function _0x1ee970(_0x41e717,_0x13443e){const _0x2092f8=a4_0x4d2a,_0xb9dc2a=_0x477230['nxSUR'](nestedKeyValue,_0x41e717,[_0x477230['VvOFo']])||_0x41e717;let _0x4801a1=null,_0x1b704f=null;try{[_0x1b704f,_0x4801a1]=_0xb9dc2a?_0x477230[_0x2092f8(0x119)](parseWSEndpoint,_0xb9dc2a):[null,null],global[_0x2092f8(0x1cc)]=_0x4801a1,_0x1b704f[_0x2092f8(0x1d3)](_0x477230['EmYpd'])&&(global[_0x2092f8(0x19f)]=_0x477230[_0x2092f8(0x1cb)]);}catch(_0x31ec52){logger['debug'](_0x2092f8(0x12a)+_0xb9dc2a+'\x20'+_0x31ec52);}_0x477230[_0x2092f8(0x19c)](processAccessibilityCaps,_0x4801a1,_0x1b704f);if(global[_0x2092f8(0x12b)]){const _0x506bfd=await _0x7e5bac[_0x2092f8(0x18a)]['apply'](this,[''+Constants[_0x2092f8(0x1dd)]+_0x477230[_0x2092f8(0x119)](encodeURIComponent,JSON[_0x2092f8(0x1ba)](_0x4801a1))]);return PlaywrightSessionDetails[_0x2092f8(0x173)](_0x506bfd,_0x57ad1f,_0xb9dc2a),_0x506bfd;}return _0x3fcdb5[_0x2092f8(0x146)](this,arguments)[_0x2092f8(0x1a8)](_0x4c6a0b=>{const _0x1fa0d7=_0x2092f8;let _0x1a0ea4=_0x41e717[_0x1fa0d7(0x1bc)];return _0x4c0d4b['dkEtl'](typeof _0x41e717,_0x4c0d4b[_0x1fa0d7(0x120)])&&(_0x1a0ea4=_0x41e717),PlaywrightSessionDetails[_0x1fa0d7(0x173)](_0x4c6a0b,_0x57ad1f,_0x1a0ea4),_0x4c6a0b;});};}});const _0x2d41f3=_0x7e5bac[_0x2a6860(0x1e2)];Object[_0x2a6860(0x166)](_0x7e5bac,_0x477230[_0x2a6860(0x148)],{'get':function(){return async function _0x169f0d(){const _0x1fc21d=a4_0x4d2a;return _0x2d41f3[_0x1fc21d(0x146)](this,arguments)[_0x1fc21d(0x1a8)](_0x3566e3=>{const _0x395f59=_0x1fc21d;return PlaywrightSessionDetails[_0x395f59(0x173)](_0x3566e3,null),_0x3566e3;});};}});};class O11yHelper{['currentTest']=null;[a4_0x13aca0(0x19b)]=null;[a4_0x13aca0(0x153)]=![];[a4_0x13aca0(0x180)]=![];constructor(_0x300cfa,_0x3fdc5d){const _0x537007=a4_0x13aca0,_0x342af9={'WTxCN':'3|2|5|4|0|1','rPAkM':function(_0x3955a2,_0xdacd5c){return _0x3955a2===_0xdacd5c;},'mEcnE':_0x537007(0x11b),'nHaaj':function(_0x276462,_0x3945e2){return _0x276462(_0x3945e2);},'LAAot':function(_0x3ce455){return _0x3ce455();},'paTqg':function(_0xad9b3e){return _0xad9b3e();}},_0x5565b3=_0x342af9['WTxCN']['split']('|');let _0x46c8de=0x0;while(!![]){switch(_0x5565b3[_0x46c8de++]){case'0':this[_0x537007(0x164)]=new testOpsHelper[(_0x537007(0x19e))]({'cwd':process['cwd']()},this[_0x537007(0x115)][_0x537007(0x140)]);continue;case'1':this[_0x537007(0x1c6)]&&_0x342af9['rPAkM'](this['driver'][_0x537007(0x132)][_0x537007(0x1b6)],_0x342af9[_0x537007(0x182)])&&_0x342af9[_0x537007(0x14e)](mockPWBrowserType,null);continue;case'2':this[_0x537007(0x180)]=_0x3fdc5d['frameworkName'];continue;case'3':this[_0x537007(0x153)]=_0x342af9[_0x537007(0x178)](shouldProcessEventForTesthub);continue;case'4':this[_0x537007(0x115)]=_0x342af9[_0x537007(0x1ab)](getTestEnv);continue;case'5':this['driver']=_0x300cfa;continue;}break;}}[a4_0x13aca0(0x1be)](){const _0xbd2540=a4_0x13aca0;if(!this[_0xbd2540(0x153)])return;testOpsHelper[_0xbd2540(0x116)](),process['removeAllListeners']('bs:addLog:'+process[_0xbd2540(0x1ed)]),process['on']('bs:addLog:'+process[_0xbd2540(0x1ed)],this[_0xbd2540(0x1d9)][_0xbd2540(0x176)](this));}async[a4_0x13aca0(0x15b)](){const _0x310111=a4_0x13aca0;await RequestQueueHandler[_0x310111(0x175)]()['shutdown']();}async[a4_0x13aca0(0x1d9)](_0x3a2ca0){const _0x3003b7=a4_0x13aca0,_0x279c51={'XMROK':'LogCreated','CTwhQ':function(_0x9a9ab0,_0x25b332){return _0x9a9ab0(_0x25b332);}};try{this['currentHook']&&!this[_0x3003b7(0x19b)][_0x3003b7(0x1c9)]&&(_0x3a2ca0[_0x3003b7(0x1ea)]=this[_0x3003b7(0x19b)][_0x3003b7(0x14f)]);!_0x3a2ca0[_0x3003b7(0x1ea)]&&this[_0x3003b7(0x16a)]&&!this[_0x3003b7(0x16a)][_0x3003b7(0x1c9)]&&(_0x3a2ca0[_0x3003b7(0x1a9)]=this[_0x3003b7(0x16a)][_0x3003b7(0x15a)]);if(_0x3a2ca0[_0x3003b7(0x1ea)]||_0x3a2ca0[_0x3003b7(0x1a9)]){const _0x3a6263={};_0x3a6263[_0x3003b7(0x179)]=_0x279c51['XMROK'],_0x3a6263[_0x3003b7(0x185)]=[_0x3a2ca0],await SessionHandler[_0x3003b7(0x137)](_0x3a6263);}}catch(_0xf84350){_0x279c51['CTwhQ'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0xf84350);}}async[a4_0x13aca0(0x135)](_0x3a8e19){const _0x45da57=a4_0x13aca0,_0x545f4a={'CVGun':_0x45da57(0x14d),'cUuGx':function(_0x4cfb2d,_0x4f2bfa){return _0x4cfb2d(_0x4f2bfa);}};if(!this[_0x45da57(0x153)])return;const _0xb1da98=this[_0x45da57(0x1b0)](this[_0x45da57(0x1c6)]);try{const _0x5a9b69={};_0x5a9b69['uuid']=_0x3a8e19,_0x5a9b69['integrations']=_0xb1da98;const _0x15aa4d=_0x5a9b69,_0x93efd7={};_0x93efd7[_0x45da57(0x179)]=_0x545f4a[_0x45da57(0x1a2)],_0x93efd7[_0x45da57(0x1d4)]=_0x15aa4d,await SessionHandler[_0x45da57(0x137)](_0x93efd7);}catch(_0x2de390){_0x545f4a[_0x45da57(0x1f3)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2de390);}}[a4_0x13aca0(0x1b0)](_0x73783e){const _0x23d8f6=a4_0x13aca0,_0x4bc68d={'hCQLg':function(_0xea55c8,_0x27dcab){return _0xea55c8(_0x27dcab);}};return _0x4bc68d[_0x23d8f6(0x128)](fetchPlatformDetails,_0x73783e);}[a4_0x13aca0(0x1af)]=_0x1d4b6d=>{const _0x5cdd3e=a4_0x13aca0,_0x26badc={};_0x26badc[_0x5cdd3e(0x186)]=_0x5cdd3e(0x1bb),_0x26badc['Padkd']='_afterEach';const _0x4652bd=_0x26badc;if(!_0x1d4b6d||!_0x1d4b6d[_0x5cdd3e(0x17c)])return;[_0x4652bd[_0x5cdd3e(0x186)],_0x4652bd[_0x5cdd3e(0x192)]]['forEach'](_0x3ad411=>{const _0x4fe2c5=_0x5cdd3e,_0x1add3b=_0x1d4b6d['parent'][_0x3ad411];_0x1add3b[_0x4fe2c5(0x1d7)](_0x4e4b3b=>{_0x4e4b3b['hookAnalyticsId']&&(_0x4e4b3b['hookAnalyticsId']=null);});});};[a4_0x13aca0(0x18c)](_0xa95ea4){const _0x35d954=a4_0x13aca0,_0x42a76d={'ScEpQ':'codeceptjs','YGMnB':function(_0x1b7012){return _0x1b7012();},'vVweY':function(_0xf268b8,_0x42fc65){return _0xf268b8===_0x42fc65;},'bjYgD':'_afterEach','aflTN':function(_0x576573){return _0x576573();},'RbZcu':_0x35d954(0x18d),'lhabi':_0x35d954(0x19d),'AjxYl':_0x35d954(0x1bb)};if(!_0xa95ea4||!_0xa95ea4[_0x35d954(0x17c)])return;[_0x42a76d[_0x35d954(0x1c7)],_0x42a76d['lhabi'],_0x42a76d[_0x35d954(0x13b)],_0x42a76d[_0x35d954(0x1e6)]][_0x35d954(0x1d7)](_0x2ca217=>{const _0x164fec=_0x35d954,_0x64ab57={'RIrRL':_0x42a76d[_0x164fec(0x189)],'luxTr':function(_0x44805a){return _0x42a76d['YGMnB'](_0x44805a);},'LSfyU':function(_0x46b4bd,_0x47be8c){const _0x4b0eb8=_0x164fec;return _0x42a76d[_0x4b0eb8(0x118)](_0x46b4bd,_0x47be8c);},'cXvAd':_0x42a76d[_0x164fec(0x1e6)],'xyxVr':function(_0x9d9cf6){const _0x560696=_0x164fec;return _0x42a76d[_0x560696(0x12d)](_0x9d9cf6);}},_0x3b60a0=_0xa95ea4[_0x164fec(0x17c)][_0x2ca217]||[];_0x3b60a0[_0x164fec(0x1d7)](_0x39dfe1=>{const _0x5a76f5=_0x164fec;if(_0x39dfe1[_0x5a76f5(0x1ce)][_0x5a76f5(0x1d3)](_0x64ab57[_0x5a76f5(0x193)]))return;if(!_0x39dfe1[_0x5a76f5(0x14f)])_0x39dfe1['hookAnalyticsId']=_0x64ab57['luxTr'](uuidv4);else _0x39dfe1[_0x5a76f5(0x1c9)]&&_0x64ab57['LSfyU'](_0x2ca217,_0x64ab57[_0x5a76f5(0x165)])&&(_0x39dfe1[_0x5a76f5(0x14f)]=_0x64ab57[_0x5a76f5(0x1d1)](uuidv4),delete _0x39dfe1[_0x5a76f5(0x1c9)]);});}),this[_0x35d954(0x18c)](_0xa95ea4['parent']);}[a4_0x13aca0(0x1bf)](_0x32b375){const _0x4f99e7=a4_0x13aca0,_0x472a4a={};_0x472a4a[_0x4f99e7(0x1e9)]=_0x4f99e7(0x18d),_0x472a4a['ucjlt']=_0x4f99e7(0x19d),_0x472a4a[_0x4f99e7(0x131)]=_0x4f99e7(0x1bb),_0x472a4a['QxCEq']='_afterEach';const _0x3a337a=_0x472a4a;if(!_0x32b375||!_0x32b375[_0x4f99e7(0x17c)])return[];const _0x49fdb0=[];return[_0x3a337a[_0x4f99e7(0x1e9)],_0x3a337a[_0x4f99e7(0x16f)],_0x3a337a[_0x4f99e7(0x131)],_0x3a337a[_0x4f99e7(0x1a4)]][_0x4f99e7(0x1d7)](_0x3efe1b=>{const _0x1f69b2=_0x4f99e7,_0x3ed801=_0x32b375[_0x1f69b2(0x17c)][_0x3efe1b]||[];_0x3ed801['forEach'](_0x37bb43=>{const _0x3f526d=_0x1f69b2;_0x37bb43['hookAnalyticsId']&&_0x49fdb0[_0x3f526d(0x17d)](_0x37bb43[_0x3f526d(0x14f)]);});}),[][_0x4f99e7(0x1d0)](_0x49fdb0,this[_0x4f99e7(0x1bf)](_0x32b375[_0x4f99e7(0x17c)]));}[a4_0x13aca0(0x124)](_0x5599e4){const _0x5929aa=a4_0x13aca0,_0x3f576c=/^"(?<hook>.*)" hook:.*$/,_0x2114d5=_0x5599e4['title'],_0x4011b2=_0x2114d5[_0x5929aa(0x13c)](_0x3f576c);if(_0x4011b2&&_0x4011b2[_0x5929aa(0x1e0)])return _0x4011b2[_0x5929aa(0x1e0)][_0x5929aa(0x1de)][_0x5929aa(0x197)]()[_0x5929aa(0x15e)]('\x20','_');return null;}[a4_0x13aca0(0x1b2)](_0x4e8f32){const _0x49e9e8=a4_0x13aca0,_0x2f929c={};_0x2f929c[_0x49e9e8(0x1f1)]=function(_0x53083f,_0x2a5579){return _0x53083f===_0x2a5579;},_0x2f929c[_0x49e9e8(0x1ee)]=function(_0xc24d63,_0x1928bb){return _0xc24d63===_0x1928bb;},_0x2f929c[_0x49e9e8(0x15c)]=_0x49e9e8(0x143),_0x2f929c[_0x49e9e8(0x1e3)]='config';const _0x34dca9=_0x2f929c,_0xb4b3ac=path[_0x49e9e8(0x19a)];if(_0x34dca9[_0x49e9e8(0x1f1)](_0x4e8f32,null)||_0x34dca9[_0x49e9e8(0x1ee)](_0x4e8f32,'')||_0x34dca9[_0x49e9e8(0x1f1)](_0x4e8f32,_0xb4b3ac)||_0x34dca9['vqQHL'](_0x4e8f32,path['dirname'](_0x4e8f32)))return null;try{return fs[_0x49e9e8(0x134)](path[_0x49e9e8(0x117)](_0x4e8f32,_0x34dca9[_0x49e9e8(0x15c)],_0x34dca9[_0x49e9e8(0x1e3)])),_0x4e8f32;}catch(_0x3a016a){const _0x26183b=path[_0x49e9e8(0x199)](_0x4e8f32);return this['findGitConfig'](_0x26183b);}}['getRootParentFile'](_0x4e1021){const _0x575427=a4_0x13aca0,_0x144c7a={};_0x144c7a[_0x575427(0x18f)]=function(_0x59f16b,_0x46f867){return _0x59f16b>_0x46f867;};const _0x314c75=_0x144c7a;if(_0x4e1021[_0x575427(0x133)])return _0x4e1021[_0x575427(0x133)];if(_0x4e1021[_0x575427(0x160)]){const _0x1fc4de=_0x4e1021[_0x575427(0x160)]['currentTest']?this[_0x575427(0x1d5)](_0x4e1021[_0x575427(0x160)][_0x575427(0x16a)]):null;if(_0x1fc4de)return _0x1fc4de;}if(_0x4e1021[_0x575427(0x17c)]){const _0x2a692f=this[_0x575427(0x1d5)](_0x4e1021['parent'])||(_0x4e1021[_0x575427(0x17c)][_0x575427(0x160)]&&_0x4e1021[_0x575427(0x17c)]['ctx'][_0x575427(0x16a)]?this[_0x575427(0x1d5)](_0x4e1021['parent'][_0x575427(0x160)][_0x575427(0x16a)]):null);if(_0x2a692f)return _0x2a692f;_0x4e1021[_0x575427(0x17c)][_0x575427(0x1ad)]&&_0x314c75['oiCUJ'](_0x4e1021['parent']['suites'][_0x575427(0x145)],0x0)&&_0x4e1021['parent']['suites']['forEach'](_0x59d98d=>{const _0x2573c4=_0x575427,_0x208b00=_0x59d98d[_0x2573c4(0x160)]?this[_0x2573c4(0x1d5)](_0x59d98d[_0x2573c4(0x160)]):null;if(_0x208b00)return _0x208b00;});}return null;}[a4_0x13aca0(0x177)](_0x1be076){const _0x1a2146=a4_0x13aca0,_0x261b5b={};_0x261b5b['JiYAT']=function(_0x5a4130,_0x305acf){return _0x5a4130!==_0x305acf;};const _0x54e0a3=_0x261b5b,_0x189702=[];if(_0x1be076&&_0x1be076[_0x1a2146(0x17c)]){let _0x178362=_0x1be076[_0x1a2146(0x17c)];while(_0x178362&&_0x54e0a3[_0x1a2146(0x1ef)](_0x178362[_0x1a2146(0x1ce)],'')){_0x189702['push'](_0x178362[_0x1a2146(0x1ce)]),_0x178362=_0x178362[_0x1a2146(0x17c)];}}return _0x189702;}[a4_0x13aca0(0x1c0)](_0x229ffe,_0x50cd17,_0xf01c9=undefined){const _0xe4be62=a4_0x13aca0,_0xa10429={'xVZkb':function(_0x3e177c,_0x3d0f6d){return _0x3e177c(_0x3d0f6d);},'KzEKl':function(_0x58d6cf){return _0x58d6cf();},'pryEZ':function(_0x510b28){return _0x510b28();},'qNIKF':_0xe4be62(0x167),'YuiqR':_0xe4be62(0x161),'ktSMI':function(_0x5dfc9b,_0x14fd32){return _0x5dfc9b!==_0x14fd32;},'gqNeV':'File\x20path\x20could\x20not\x20be\x20found','CJpBq':'pending','mOlUd':_0xe4be62(0x1a3),'TlZcO':_0xe4be62(0x1d2),'tUOcN':_0xe4be62(0x16c),'XWkYw':_0xe4be62(0x162),'dtgIX':function(_0x61478c,_0x5821aa){return _0x61478c-_0x5821aa;},'kPfPl':function(_0x33ac35,_0x18ad30,_0x1dede0,_0x3c9e54,_0x29ad6e){return _0x33ac35(_0x18ad30,_0x1dede0,_0x3c9e54,_0x29ad6e);},'rRejL':function(_0x55f38b,_0x2273f6){return _0x55f38b!==_0x2273f6;},'qXSSY':'integrations','QrQds':_0xe4be62(0x18b),'oCfYy':_0xe4be62(0x112),'bkQTL':_0xe4be62(0x16b),'iQNFy':'backtrace','rHwXw':'failure_reason_expanded','lyjxA':'expanded','MoBDS':function(_0x6116e,_0x305bee){return _0x6116e===_0x305bee;},'PqPqq':_0xe4be62(0x1ac),'ycOnQ':_0xe4be62(0x1d4)};if(!this[_0xe4be62(0x153)])return;try{if(_0x50cd17['fn']&&_0x50cd17['fn'][_0xe4be62(0x139)]()[_0xe4be62(0x13c)](/browserstack internal helper hook/))return;const _0x36bd30=_0xa10429[_0xe4be62(0x169)](parseEvent,_0x229ffe);if(!_0x36bd30)return;if(_0x36bd30['test']){this['currentTest']=_0x50cd17,this[_0xe4be62(0x19b)]=null;if(_0x36bd30[_0xe4be62(0x172)]||_0x36bd30[_0xe4be62(0x16c)]){_0x50cd17[_0xe4be62(0x1a6)]=new Date(),_0x50cd17[_0xe4be62(0x1c9)]=![];if(!_0x50cd17['testAnalyticsId'])_0x50cd17[_0xe4be62(0x15a)]=_0xa10429[_0xe4be62(0x122)](uuidv4);else _0x50cd17[_0xe4be62(0x1c9)]&&(!_0x50cd17[_0xe4be62(0x123)]&&(_0x50cd17['retryOf']=_0x50cd17[_0xe4be62(0x15a)]),_0x50cd17[_0xe4be62(0x15a)]=_0xa10429[_0xe4be62(0x17e)](uuidv4));}}else{if(_0x36bd30[_0xe4be62(0x1de)]){this['currentHook']=_0x50cd17;if(_0x36bd30['started']){_0x50cd17[_0xe4be62(0x1a6)]=new Date(),_0x50cd17['markedStatus']=![];if(!_0x50cd17[_0xe4be62(0x14f)])_0x50cd17[_0xe4be62(0x14f)]=_0xa10429[_0xe4be62(0x17e)](uuidv4);else _0x50cd17['hookAnalyticsId']&&_0x50cd17['markedStatus']&&(_0x50cd17[_0xe4be62(0x14f)]=_0xa10429[_0xe4be62(0x17e)](uuidv4));}}}if(_0x36bd30[_0xe4be62(0x187)]&&_0x50cd17[_0xe4be62(0x1c9)])return;let _0x986c99;try{_0x986c99=this[_0xe4be62(0x1d5)](_0x50cd17);}catch(_0x313021){logger[_0xe4be62(0x114)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x313021),_0x986c99=null;}const _0x5d4c0b=_0xa10429[_0xe4be62(0x169)](require,_0xa10429[_0xe4be62(0x1c2)]);let _0x387f06=[];_0xf01c9&&(_0x387f06=[_0xf01c9,_0xa10429[_0xe4be62(0x1e8)]]);const _0x3936f2=_0xa10429[_0xe4be62(0x1ec)](_0x50cd17[_0xe4be62(0x194)],undefined)?_0x5d4c0b['inspect'](_0x50cd17[_0xe4be62(0x194)][0x0]):_0xa10429[_0xe4be62(0x1ec)](_0xf01c9,undefined)?_0xf01c9['toString']():undefined,_0x88d84=_0x986c99?this['findGitConfig'](_0x986c99):null,_0x1e451f=_0x986c99?this[_0xe4be62(0x164)]['prefixTestPath'](this[_0xe4be62(0x1d5)](_0x50cd17)):_0xa10429['gqNeV'];let _0x511d36=_0xa10429[_0xe4be62(0x188)];const _0x703221=!_0x36bd30[_0xe4be62(0x172)]?new Date()['toISOString']():null;if(_0x36bd30[_0xe4be62(0x187)])_0x511d36=_0xf01c9?_0xa10429[_0xe4be62(0x1dc)]:_0xa10429['TlZcO'],_0x50cd17['markedStatus']=!![];else _0x36bd30['skipped']&&(_0x511d36=_0xa10429['tUOcN'],_0x50cd17[_0xe4be62(0x1c9)]=!![]);const _0x17b8cb={'framework':this[_0xe4be62(0x180)],'uuid':_0x50cd17[_0xe4be62(0x15a)]||_0x50cd17[_0xe4be62(0x14f)],'name':_0x50cd17[_0xe4be62(0x1ce)],'body':{'lang':_0xa10429[_0xe4be62(0x1d6)],'code':_0x50cd17['body']['toString']()},'type':_0x50cd17['type'],'scope':_0x50cd17[_0xe4be62(0x11d)](),'scopes':this[_0xe4be62(0x177)](_0x50cd17),'file_name':_0x1e451f,'vc_filepath':_0x88d84?path[_0xe4be62(0x154)](_0x88d84,_0x986c99):null,'location':_0x1e451f,'result':_0x511d36,'failure_reason':_0x3936f2,'duration_in_ms':_0x50cd17[_0xe4be62(0x155)]||(_0x36bd30['finished']||_0x36bd30[_0xe4be62(0x16c)])?_0xa10429[_0xe4be62(0x174)](Date[_0xe4be62(0x150)](),new Date(_0x50cd17[_0xe4be62(0x1a6)])[_0xe4be62(0x159)]()):null,'started_at':new Date(_0x50cd17['startedAt'])[_0xe4be62(0x163)](),'finished_at':_0x703221,'failure':testOpsHelper[_0xe4be62(0x152)][_0xe4be62(0x146)](null,_0x387f06),'failure_type':!_0x3936f2?null:testOpsHelper[_0xe4be62(0x1eb)](_0x3936f2),'retry_of':_0x50cd17[_0xe4be62(0x123)]||null,'tags':_0x50cd17[_0xe4be62(0x151)]||[],'customRerunParam':{'rerun_name':_0x50cd17[_0xe4be62(0x11d)]()}};_0xa10429['kPfPl'](appendTesthubParams,_0x17b8cb,_0x229ffe,_0x50cd17,FRAMEWORKS['CODECEPT']);if(_0x36bd30[_0xe4be62(0x1de)])[_0x17b8cb[_0xe4be62(0x142)],_0x17b8cb['name']]=[this[_0xe4be62(0x124)](_0x50cd17),_0x50cd17[_0xe4be62(0x160)][_0xe4be62(0x13f)][_0xe4be62(0x1ce)]],_0x36bd30[_0xe4be62(0x187)]?_0xa10429['rRejL'](_0x17b8cb[_0xe4be62(0x168)],_0xa10429[_0xe4be62(0x1dc)])&&(_0x17b8cb[_0xe4be62(0x168)]=_0xa10429[_0xe4be62(0x15d)]):_0x17b8cb[_0xe4be62(0x1b8)]={};else _0x36bd30[_0xe4be62(0x13f)]&&(this[_0xe4be62(0x18c)](_0x50cd17),_0x36bd30[_0xe4be62(0x16c)]&&this[_0xe4be62(0x1af)](_0x50cd17),(_0x36bd30[_0xe4be62(0x187)]||_0x36bd30[_0xe4be62(0x16c)])&&(_0x17b8cb[_0xe4be62(0x149)]=this[_0xe4be62(0x1bf)](_0x50cd17)));this[_0xe4be62(0x1c6)]&&(_0x36bd30[_0xe4be62(0x172)]||_0x36bd30[_0xe4be62(0x16c)])&&(_0x17b8cb[_0xa10429['qXSSY']]=this['getCBTInfo'](this[_0xe4be62(0x1c6)]));_0x36bd30['test']&&_0x36bd30[_0xe4be62(0x187)]&&_0x50cd17[_0xe4be62(0x130)]&&(_0x17b8cb[_0xa10429['QrQds']]={'feature':{'name':_0x50cd17['parent'][_0xe4be62(0x1a7)][_0xe4be62(0x1b6)],'path':_0x17b8cb[_0xe4be62(0x16d)],'description':_0x50cd17['parent']['comment']},'scenario':{'name':_0x50cd17[_0xe4be62(0x1ce)]},'steps':_0x50cd17[_0xe4be62(0x130)]});const _0x5acf32=_0x17b8cb[_0xa10429[_0xe4be62(0x1db)]][0x0];_0x5acf32&&(_0x17b8cb[_0xa10429[_0xe4be62(0x17b)]]=_0x5acf32[_0xa10429['iQNFy']],_0x17b8cb[_0xa10429[_0xe4be62(0x12e)]]=_0x5acf32[_0xa10429['lyjxA']]);if(_0x50cd17[_0xe4be62(0x130)])for(const _0x18fa0c of _0x50cd17[_0xe4be62(0x130)]){!_0x18fa0c[_0xe4be62(0x1ca)]&&(_0x18fa0c['finished_at']=new Date()['toISOString'](),_0xa10429[_0xe4be62(0x1c3)](_0x18fa0c['result'],_0xa10429['CJpBq'])&&(_0x5acf32?(_0x18fa0c[_0xe4be62(0x168)]=_0xa10429['mOlUd'],_0x18fa0c[_0xe4be62(0x112)]=_0x5acf32[_0xa10429[_0xe4be62(0x16e)]][0x0]):_0x18fa0c[_0xe4be62(0x168)]=_0xa10429[_0xe4be62(0x15d)]));}const _0x142053={};_0x142053[_0xe4be62(0x179)]=_0x36bd30['skipped']?TEST_EVENTS[_0xe4be62(0x1b9)]:_0x229ffe;const _0x1f4a7b=_0x142053;return _0x36bd30['hook']?_0x1f4a7b[_0xa10429['PqPqq']]=_0x17b8cb:_0x1f4a7b[_0xa10429[_0xe4be62(0x156)]]=_0x17b8cb,_0x1f4a7b;}catch(_0x438f40){logger[_0xe4be62(0x114)](_0xe4be62(0x1b7)+_0x229ffe+_0xe4be62(0x157)+_0x438f40);}}async['fireEvent'](_0x30dc43,_0x506d86){const _0x2faa78=a4_0x13aca0;if(!this['enabled']||!_0x506d86||!_0x30dc43)return![];try{return await SessionHandler[_0x2faa78(0x137)](_0x506d86);}catch(_0x29f85a){logger[_0x2faa78(0x114)](_0x2faa78(0x1c4)+_0x30dc43+_0x2faa78(0x157)+_0x29f85a);}}[a4_0x13aca0(0x13e)](_0x8b03c9){const _0x3851e2=a4_0x13aca0,_0x3c51d1={};_0x3c51d1[_0x3851e2(0x1c8)]=_0x3851e2(0x129);const _0x6f25c8=_0x3c51d1;return{'id':_0x8b03c9[_0x3851e2(0x125)],'text':_0x8b03c9[_0x3851e2(0x1a0)],'keyword':_0x8b03c9[_0x3851e2(0x15f)],'started_at':_0x8b03c9['startedAt'][_0x3851e2(0x163)](),'result':_0x6f25c8[_0x3851e2(0x1c8)]};}['bddStepStart'](_0x12ac1d){const _0xd61154=a4_0x13aca0,_0xe18710={'hqcTb':function(_0x4c4614){return _0x4c4614();}};!this[_0xd61154(0x16a)][_0xd61154(0x130)]&&(this[_0xd61154(0x16a)][_0xd61154(0x130)]=[]),!_0x12ac1d[_0xd61154(0x125)]&&(_0x12ac1d[_0xd61154(0x125)]=_0xe18710[_0xd61154(0x147)](uuidv4),_0x12ac1d[_0xd61154(0x1a6)]=new Date(),this[_0xd61154(0x16a)][_0xd61154(0x130)][_0xd61154(0x17d)](this[_0xd61154(0x13e)](_0x12ac1d)));}[a4_0x13aca0(0x113)](_0x290b55){const _0x371ba0=a4_0x13aca0,_0x3baa1b={'pdUSD':function(_0x58d423,_0x208ccb){return _0x58d423(_0x208ccb);},'ufnZP':'success','tcByU':'pending','kpiOn':_0x371ba0(0x1d2),'rHDGu':function(_0x39205c,_0x4e7186){return _0x39205c-_0x4e7186;}};let _0x5bb6c6=this[_0x371ba0(0x16a)][_0x371ba0(0x130)][_0x371ba0(0x11c)](_0x26433b=>_0x26433b['id']===_0x290b55[_0x371ba0(0x125)]);_0x3baa1b['pdUSD'](isUndefined,_0x5bb6c6)&&(_0x5bb6c6=this['initializeBddStep'](_0x290b55)),_0x5bb6c6[_0x371ba0(0x168)]=[_0x3baa1b['ufnZP'],_0x3baa1b['tcByU']][_0x371ba0(0x1d3)](_0x290b55[_0x371ba0(0x196)])?_0x3baa1b['kpiOn']:_0x290b55[_0x371ba0(0x196)],_0x5bb6c6[_0x371ba0(0x1ca)]=new Date()[_0x371ba0(0x163)](),_0x5bb6c6[_0x371ba0(0x155)]=_0x3baa1b['rHDGu'](Date['now'](),_0x290b55[_0x371ba0(0x1a6)][_0x371ba0(0x159)]()),_0x5bb6c6[_0x371ba0(0x112)]=_0x290b55['err']?_0x290b55[_0x371ba0(0x161)][_0x371ba0(0x1a5)]:null;}}const a4_0xa2801c={};a4_0xa2801c[a4_0x13aca0(0x195)]=O11yHelper,a4_0xa2801c['STATE_PASSED']=STATE_PASSED,a4_0xa2801c[a4_0x13aca0(0x1b1)]=STATE_FAILED,a4_0xa2801c[a4_0x13aca0(0x1e5)]=TEST_EVENTS,module[a4_0x13aca0(0x1b3)]=a4_0xa2801c;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x42646e=a5_0x18a1;(function(_0x479eb3,_0x1f10be){const _0x7f80b7=a5_0x18a1,_0x1bbbf9=_0x479eb3();while(!![]){try{const _0xad891e=parseInt(_0x7f80b7(0x178))/0x1+-parseInt(_0x7f80b7(0x168))/0x2+parseInt(_0x7f80b7(0x141))/0x3+-parseInt(_0x7f80b7(0x157))/0x4*(-parseInt(_0x7f80b7(0x147))/0x5)+-parseInt(_0x7f80b7(0x14b))/0x6*(-parseInt(_0x7f80b7(0x14a))/0x7)+parseInt(_0x7f80b7(0x150))/0x8+-parseInt(_0x7f80b7(0x13f))/0x9;if(_0xad891e===_0x1f10be)break;else _0x1bbbf9['push'](_0x1bbbf9['shift']());}catch(_0x1be3e6){_0x1bbbf9['push'](_0x1bbbf9['shift']());}}}(a5_0x30e8,0x3cf4e));const fs=require('fs'),path=require(a5_0x42646e(0x155)),util=require(a5_0x42646e(0x197)),logger=require(a5_0x42646e(0x13d))[a5_0x42646e(0x165)],{default:BrowserStackSetup}=require(a5_0x42646e(0x131)),helper=require(a5_0x42646e(0x170)),utilities=require('../../helpers/utilities'),constants=require(a5_0x42646e(0x148)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x42646e(0x129)),testOpsHelper=require(a5_0x42646e(0x152)),chalk=require(a5_0x42646e(0x146)),PerformanceTester=require(a5_0x42646e(0x11d)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x42646e(0x13c)];function a5_0x18a1(_0xc4424b,_0x1568a9){const _0x30e8ff=a5_0x30e8();return a5_0x18a1=function(_0x18a11f,_0x45f474){_0x18a11f=_0x18a11f-0x11b;let _0x9b8c3=_0x30e8ff[_0x18a11f];return _0x9b8c3;},a5_0x18a1(_0xc4424b,_0x1568a9);}function printCucumberStats(_0x4fbda6){const _0x2640e9=a5_0x42646e,_0x5caac1={};_0x5caac1[_0x2640e9(0x184)]=function(_0x4b04ff,_0x376ad8){return _0x4b04ff>_0x376ad8;},_0x5caac1['kWNOo']=function(_0x8c3804,_0x2d7adb){return _0x8c3804-_0x2d7adb;},_0x5caac1['iScFC']=function(_0x3ff432,_0x173d17){return _0x3ff432-_0x173d17;},_0x5caac1[_0x2640e9(0x194)]=function(_0x311454,_0x234b89){return _0x311454>_0x234b89;},_0x5caac1[_0x2640e9(0x134)]=function(_0x488e8a,_0x403077){return _0x488e8a>_0x403077;},_0x5caac1[_0x2640e9(0x188)]=function(_0x2d630f,_0x38dee1){return _0x2d630f>_0x38dee1;},_0x5caac1[_0x2640e9(0x138)]=function(_0xd886ac,_0xaf0013){return _0xd886ac>_0xaf0013;},_0x5caac1[_0x2640e9(0x142)]=function(_0x4a284c,_0x22f88c){return _0x4a284c>_0x22f88c;},_0x5caac1[_0x2640e9(0x16c)]=function(_0x129f86,_0x4dcf3c){return _0x129f86>_0x4dcf3c;},_0x5caac1[_0x2640e9(0x17f)]=function(_0x5b6c40,_0x155e7a){return _0x5b6c40>_0x155e7a;},_0x5caac1[_0x2640e9(0x122)]=function(_0x2b69b1,_0x1e11c3){return _0x2b69b1>_0x1e11c3;},_0x5caac1['ijMJM']=function(_0x1f2d6f,_0x795b9a){return _0x1f2d6f+_0x795b9a;},_0x5caac1[_0x2640e9(0x16a)]=function(_0x18bc9f,_0x250e8a){return _0x18bc9f+_0x250e8a;},_0x5caac1['MEdoQ']=function(_0x154642,_0x33decb){return _0x154642+_0x33decb;},_0x5caac1[_0x2640e9(0x143)]=function(_0x336294,_0x1aecae){return _0x336294===_0x1aecae;},_0x5caac1[_0x2640e9(0x16d)]=function(_0x2cc8a6,_0x9c4c44){return _0x2cc8a6===_0x9c4c44;},_0x5caac1[_0x2640e9(0x195)]=_0x2640e9(0x144);const _0x4a5de8=_0x5caac1;let _0x50a4b4=0x0;if(_0x4a5de8['ASQGA'](_0x4fbda6[_0x2640e9(0x133)],0x0))return _0x50a4b4;return console[_0x2640e9(0x180)](chalk['bold'][_0x2640e9(0x18c)](_0x4a5de8[_0x2640e9(0x195)])),_0x4fbda6[_0x2640e9(0x139)](_0x2f46b4=>{const _0x57178d=_0x2640e9,_0x55a43c=_0x2f46b4[0x0],_0x98d560=_0x2f46b4[0x1];console[_0x57178d(0x180)]('\x0a'+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](''+helper['getPlatformName'](_0x55a43c)));const _0x1a1b25=_0x98d560['scenarios'],_0x21a945=_0x98d560[_0x57178d(0x186)],_0x51cc36=_0x98d560[_0x57178d(0x187)],_0x5b89d7=_0x98d560[_0x57178d(0x15e)],_0x20dc30=_0x98d560[_0x57178d(0x17b)],_0x3f3941=_0x98d560[_0x57178d(0x172)],_0xbac289=_0x98d560['stepsPending'],_0x1e7ed1=_0x98d560[_0x57178d(0x145)],_0x54808e=_0x98d560[_0x57178d(0x12d)],_0x148d4f=_0x98d560[_0x57178d(0x15c)],_0x352fe0=_0x98d560['processSuccess'];let _0x307b22=_0x1a1b25+_0x57178d(0x128);const _0x211e9f=_0x4a5de8[_0x57178d(0x184)](_0x4a5de8[_0x57178d(0x135)](_0x1a1b25,_0x51cc36),0x0)?_0x4a5de8[_0x57178d(0x17e)](_0x1a1b25,_0x51cc36):0x0;if(_0x4a5de8[_0x57178d(0x194)](_0x51cc36,0x0)&&_0x4a5de8[_0x57178d(0x134)](_0x211e9f,0x0))_0x307b22+='\x20('+chalk[_0x57178d(0x166)][_0x57178d(0x153)](_0x51cc36+_0x57178d(0x154))+',\x20'+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x211e9f+_0x57178d(0x11b))+')';else(_0x4a5de8['otsKS'](_0x51cc36,0x0)||_0x4a5de8[_0x57178d(0x138)](_0x211e9f,0x0))&&(_0x307b22+=_0x4a5de8[_0x57178d(0x138)](_0x51cc36,0x0)?'\x20('+chalk[_0x57178d(0x166)]['red'](_0x51cc36+_0x57178d(0x154))+')':'\x20('+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x211e9f+'\x20passed')+')');const _0x43a99d=_0x21a945+_0x57178d(0x11e),_0x41b19d=[];_0x4a5de8[_0x57178d(0x188)](_0x148d4f,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk['bold'][_0x57178d(0x153)](_0x148d4f+_0x57178d(0x171)));_0x4a5de8['otsKS'](_0x5b89d7,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)]['red'](_0x5b89d7+'\x20failed'));_0x4a5de8['PHNTI'](_0x20dc30,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x20dc30+_0x57178d(0x11b)));_0x4a5de8['NHalv'](_0xbac289,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk['bold'][_0x57178d(0x11c)](_0xbac289+_0x57178d(0x11f)));_0x4a5de8['XFxTJ'](_0x3f3941,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x182)](_0x3f3941+_0x57178d(0x123)));_0x4a5de8[_0x57178d(0x142)](_0x1e7ed1,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](_0x1e7ed1+_0x57178d(0x158)));_0x4a5de8[_0x57178d(0x122)](_0x54808e,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](_0x54808e+_0x57178d(0x123)));const _0x39b91e=_0x4a5de8['ijMJM'](_0x4a5de8[_0x57178d(0x18e)](_0x4a5de8[_0x57178d(0x16a)](_0x43a99d,'('),_0x41b19d['join'](',\x20')),')');console[_0x57178d(0x180)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x16a)]('\x0a',_0x307b22),'\x0a'),_0x39b91e),'\x0a')),_0x4a5de8[_0x57178d(0x143)](_0x352fe0,![])&&(_0x50a4b4=0x1);}),_0x50a4b4;}function a5_0x30e8(){const _0x53122e=['debug','SDK_CLEANUP','kFtqm','bgWhite','getUserWorkerCount','ijMJM','testObservability','true','argv','UNYHX','getHubUrl','oXMOQ','xnwdT','config','util','\x20passed','yellow','../../helpers/performance/performance-tester','\x20steps','\x20pending','errorMessage','cwd','Guxxl','\x20skipped','parallelsPerPlatform','getTCGConfigFilePaths','start','green','\x20scenarios','../../helpers/testhub/testhubHandler','setUserConfigPath','join','dtoyB','stepsUnknown','xGpoe','isBrowserstackInfra','FRAMEWORKS','../../helpers/BrowserStackSetup','dLHKK','length','NoMEQ','kWNOo','WemGW','push','PhYCu','forEach','fTVEe','tmp','EVENTS','../../helpers/logger','removeDir','7238394QrvlFq','mergeOutputFiles','1098816OPNDQD','PHNTI','XAiWw','****\x20RESULTS\x20****','stepsUndefined','chalk','1629280eiRlvE','../utils/constants','cihsu','1829681gaWBVk','6GFQBrE','finalExecution','format','Removing\x20tmp\x20directory\x20created\x20for\x20reports','QFGPx','1837264oBBMmm','prepareCapabilities','../../helpers/test-observability/utils','red','\x20failed','path','createDir','4xCqWFa','\x20undefined','turboScaleUrl','logLevel','launchBuild','stepsAmbiguous','printBuildLink','stepsFailed','unlinkSync','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','skipSessionStatus','accessibilityOptions','MEdoQ','winstonLogger','bold','RlAuw','820006UqTRcn','env','WRCnz','XVZwz','NHalv','ASQGA','getErrorMessageFromResults','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/helper','\x20ambiguous','stepsSkipped','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','yLYNS','setupTCGAuth','proxySettings','handleApp','280778ctCvjt','initialize','exports','stepsPassed','CUCUMBER','RSmpX','iScFC','XFxTJ','log','stop','cyan','splice','yMlPK','testContextOptions','steps','scenariosFailed','otsKS'];a5_0x30e8=function(){return _0x53122e;};return a5_0x30e8();}async function run(_0x371ff3,_0xb327cc){const _0xbaed6b=a5_0x42646e,_0x128f07={'cihsu':function(_0x5b49c0,_0x3f6bc6){return _0x5b49c0(_0x3f6bc6);},'WemGW':function(_0x50fbba,_0x3089e7){return _0x50fbba>_0x3089e7;},'xGpoe':'Generating\x20consolidated\x20report...','QFGPx':_0xbaed6b(0x14e),'UNYHX':'cucumber','fTVEe':_0xbaed6b(0x160),'RSmpX':'cucumber-js','RlAuw':_0xbaed6b(0x13b),'XVZwz':function(_0x262e39,_0x366af6){return _0x262e39-_0x366af6;},'dtoyB':function(_0x8dbf5b,_0x2163a6){return _0x8dbf5b>=_0x2163a6;},'dLHKK':function(_0x539e84,_0x488f5c){return _0x539e84!=_0x488f5c;},'yLYNS':_0xbaed6b(0x190),'kFtqm':function(_0x26f43b,_0x47e896,_0x25ac18,_0x151f56,_0x5c3cb5,_0x215c3d){return _0x26f43b(_0x47e896,_0x25ac18,_0x151f56,_0x5c3cb5,_0x215c3d);}},_0x744367=new BrowserStackSetup(_0x371ff3,_0x128f07[_0xbaed6b(0x17d)]);await _0x744367[_0xbaed6b(0x179)](),helper[_0xbaed6b(0x12a)](_0x744367['framework'],_0x371ff3);!helper[_0xbaed6b(0x12f)]()&&await _0x744367[_0xbaed6b(0x175)]();await helper[_0xbaed6b(0x177)](_0x744367[_0xbaed6b(0x196)]);const _0x16fd84=helper['useW3C'](_0x744367['config']),_0x55f5c6=helper[_0xbaed6b(0x151)](_0x744367[_0xbaed6b(0x196)],_0x16fd84,constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)]);if(!_0x744367['config'])return;const _0x513bdc=_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x124)]||helper[_0xbaed6b(0x18d)](_0x371ff3,_0xb327cc,_0x744367[_0xbaed6b(0x196)],constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)])||0x1,_0x184d70={'server':helper[_0xbaed6b(0x193)](_0x744367[_0xbaed6b(0x196)]),'proxySettings':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x176)],'maxWorkers':_0x513bdc,'browserStackLogLevel':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x15a)],'skipSessionName':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x185)]['skipSessionName'],'skipSessionStatus':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x185)][_0xbaed6b(0x162)],'turboScaleUrl':_0x744367['config'][_0xbaed6b(0x159)]},_0x53c8f5=process[_0xbaed6b(0x191)],[_0x19d72c,_0x446d5c]=helper['parseFormatters'](_0x53c8f5),_0x10966c=path[_0xbaed6b(0x12b)](process[_0xbaed6b(0x121)](),_0x128f07[_0xbaed6b(0x167)]);if(_0x128f07[_0xbaed6b(0x136)](_0x446d5c['length'],0x0)){helper[_0xbaed6b(0x156)](_0x10966c);for(let _0x1b951e=_0x128f07[_0xbaed6b(0x16b)](_0x19d72c[_0xbaed6b(0x133)],0x1);_0x128f07[_0xbaed6b(0x12c)](_0x1b951e,0x0);_0x1b951e--){_0x53c8f5[_0xbaed6b(0x183)](_0x19d72c[_0x1b951e],0x2);}}!helper['isUndefined'](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x163)])&&(process['env'][_0xbaed6b(0x161)]=JSON['stringify'](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x163)]));_0x128f07[_0xbaed6b(0x132)](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x18f)],null)?process[_0xbaed6b(0x169)][_0xbaed6b(0x16f)]=_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x18f)]:process['env'][_0xbaed6b(0x16f)]=_0x128f07[_0xbaed6b(0x174)];const _0x258cae=await TestHubHandler[_0xbaed6b(0x15b)](constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)],_0x744367);PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x3b7e8c;_0x128f07[_0xbaed6b(0x18b)](parallelCucumberRun,_0x55f5c6,_0x184d70,_0x744367[_0xbaed6b(0x196)],_0x53c8f5,_0x446d5c)['then'](async _0x14d6a7=>{const _0x2f3703=_0xbaed6b;PerformanceTester[_0x2f3703(0x126)](PerformanceEvents[_0x2f3703(0x18a)]),_0x3b7e8c=_0x14d6a7;const _0x363c9d=_0x128f07[_0x2f3703(0x149)](printCucumberStats,_0x14d6a7);process['exitCode']=_0x363c9d,_0x128f07[_0x2f3703(0x136)](_0x446d5c[_0x2f3703(0x133)],0x0)&&(logger[_0x2f3703(0x189)](_0x128f07[_0x2f3703(0x12e)]),helper[_0x2f3703(0x140)](_0x10966c,_0x446d5c),logger['debug'](_0x128f07[_0x2f3703(0x14f)]),helper[_0x2f3703(0x13e)](_0x10966c));})['finally'](async()=>{const _0x114ad5=_0xbaed6b;PerformanceTester[_0x114ad5(0x126)](PerformanceEvents['SDK_CLEANUP']),_0x744367[_0x114ad5(0x120)]=helper[_0x114ad5(0x16e)](_0x3b7e8c,_0x128f07[_0x114ad5(0x192)]),testOpsHelper[_0x114ad5(0x15d)]();try{await TestHubHandler[_0x114ad5(0x181)]();}catch(_0x4a58a5){logger[_0x114ad5(0x189)](_0x114ad5(0x173)+util[_0x114ad5(0x14d)](_0x4a58a5));}try{const {browserstackFolderPath:_0x59fa78,tcgConfigPath:_0x1f1e73}=helper[_0x114ad5(0x125)]();fs[_0x114ad5(0x15f)](_0x1f1e73),fs['rmdirSync'](_0x59fa78);}catch(_0x18ba06){logger['debug'](_0x128f07[_0x114ad5(0x13a)],_0x18ba06);}await utilities[_0x114ad5(0x14c)](_0x744367);});}module[a5_0x42646e(0x17a)]=run;
|
|
2
|
+
'use strict';function a5_0x3e9e(){const _0x532b74=['yXHCf','xDdGd','exitCode','initialize','5463HswNYA','path','stop','42KAWfST','AQCel','log','logLevel','fFULc','124056GGKwRk','8KVUpGH','join','framework','gjgEx','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','1336461SPJJDg','oSgEP','length','finalExecution','tRkmB','getErrorMessageFromResults','670650hUdTNr','createDir','eKvCC','cyan','TZjUQ','then','BROWSERSTACK_TEST_OBSERVABILITY_YML','stringify','error\x20removing\x20tcg\x20config\x20file','2894880ALHSdQ','KywqL','format','rifok','tmp','SDK_SETUP','stepsSkipped','jFQXY','../../helpers/BrowserStackSetup','109105qLcvae','useW3C','FRAMEWORKS','../../helpers/helper','cDwTs','QWGrd','forEach','../test-runner','\x20skipped','AdOdv','JpHQA','getTCGConfigFilePaths','splice','bold','removeDir','steps','lFVjZ','isUndefined','lWqhr','winstonLogger','chalk','stepsUndefined','stepsPassed','335590spWPDe','Generating\x20consolidated\x20report...','../../helpers/utilities','\x20passed','../../helpers/testhub/testhubHandler','processSuccess','exports','unlinkSync','parallelsPerPlatform','ujsFL','QysMg','debug','SDK_CLEANUP','isBrowserstackInfra','env','getUserWorkerCount','scenariosFailed','../../helpers/logger','proxySettings','../../helpers/performance/performance-tester','printBuildLink','errorMessage','voovU','config','green','red','argv','setupTCGAuth','bgWhite','ScfKy','CUCUMBER','\x20steps','stepsFailed','setUserConfigPath','****\x20RESULTS\x20****','ZAXje','yellow','launchBuild','getHubUrl','parseFormatters','NzIUg','testObservability','stepsAmbiguous','getPlatformName','push','stepsPending','end','nbCFy','stepsUnknown','22270APFoJg','prepareCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','EVENTS','accessibilityOptions','\x20failed','start','rmdirSync','JfLJE','Removing\x20tmp\x20directory\x20created\x20for\x20reports'];a5_0x3e9e=function(){return _0x532b74;};return a5_0x3e9e();}const a5_0x23a162=a5_0x4c2c;function a5_0x4c2c(_0x512543,_0x4e801e){const _0x3e9e79=a5_0x3e9e();return a5_0x4c2c=function(_0x4c2c3d,_0x4bde97){_0x4c2c3d=_0x4c2c3d-0x177;let _0x346aca=_0x3e9e79[_0x4c2c3d];return _0x346aca;},a5_0x4c2c(_0x512543,_0x4e801e);}(function(_0x40b932,_0x17e02b){const _0x1a2a29=a5_0x4c2c,_0x33c0c5=_0x40b932();while(!![]){try{const _0x3cc913=-parseInt(_0x1a2a29(0x1cb))/0x1+-parseInt(_0x1a2a29(0x1b9))/0x2+parseInt(_0x1a2a29(0x1a8))/0x3*(-parseInt(_0x1a2a29(0x1ad))/0x4)+parseInt(_0x1a2a29(0x1e2))/0x5+-parseInt(_0x1a2a29(0x1c2))/0x6+-parseInt(_0x1a2a29(0x1b3))/0x7*(-parseInt(_0x1a2a29(0x1ae))/0x8)+-parseInt(_0x1a2a29(0x1a5))/0x9*(-parseInt(_0x1a2a29(0x196))/0xa);if(_0x3cc913===_0x17e02b)break;else _0x33c0c5['push'](_0x33c0c5['shift']());}catch(_0x3622e1){_0x33c0c5['push'](_0x33c0c5['shift']());}}}(a5_0x3e9e,0x3cb94));const fs=require('fs'),path=require(a5_0x23a162(0x1a6)),util=require('util'),logger=require(a5_0x23a162(0x1f3))[a5_0x23a162(0x1de)],{default:BrowserStackSetup}=require(a5_0x23a162(0x1ca)),helper=require(a5_0x23a162(0x1ce)),utilities=require(a5_0x23a162(0x1e4)),constants=require(a5_0x23a162(0x199)),{parallelCucumberRun}=require(a5_0x23a162(0x1d2)),TestHubHandler=require(a5_0x23a162(0x1e6)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x23a162(0x1df)),PerformanceTester=require(a5_0x23a162(0x178)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x23a162(0x19a)];function printCucumberStats(_0x516e37){const _0x55f728=a5_0x23a162,_0x28dff1={};_0x28dff1[_0x55f728(0x1ec)]=function(_0x3110af,_0x4dd578){return _0x3110af>_0x4dd578;},_0x28dff1[_0x55f728(0x1b7)]=function(_0x198799,_0x431a60){return _0x198799-_0x431a60;},_0x28dff1[_0x55f728(0x1ac)]=function(_0x1328f4,_0x538aa2){return _0x1328f4-_0x538aa2;},_0x28dff1['yXHCf']=function(_0x4dd61f,_0x5568c9){return _0x4dd61f>_0x5568c9;},_0x28dff1['KywqL']=function(_0x1dca19,_0xb0f5a0){return _0x1dca19>_0xb0f5a0;},_0x28dff1[_0x55f728(0x1c9)]=function(_0x511da6,_0x5a31b3){return _0x511da6>_0x5a31b3;},_0x28dff1[_0x55f728(0x1cf)]=function(_0x10b7ca,_0xe1c939){return _0x10b7ca>_0xe1c939;},_0x28dff1[_0x55f728(0x18d)]=function(_0x46829c,_0x2a9137){return _0x46829c>_0x2a9137;},_0x28dff1[_0x55f728(0x1c5)]=function(_0x202660,_0x607c6f){return _0x202660>_0x607c6f;},_0x28dff1['Cvaww']=function(_0x3244b8,_0x36817a){return _0x3244b8+_0x36817a;},_0x28dff1[_0x55f728(0x1bb)]=function(_0x1b0d62,_0x241311){return _0x1b0d62+_0x241311;},_0x28dff1[_0x55f728(0x1eb)]=function(_0x2a3ce0,_0x304800){return _0x2a3ce0+_0x304800;},_0x28dff1['JfLJE']=function(_0x5a64f3,_0x865f3){return _0x5a64f3+_0x865f3;},_0x28dff1[_0x55f728(0x1d0)]=function(_0x4efd21,_0x3ca2e1){return _0x4efd21===_0x3ca2e1;},_0x28dff1['JpHQA']=_0x55f728(0x187);const _0x42e6ff=_0x28dff1;let _0x4eaeb6=0x0;if(_0x42e6ff[_0x55f728(0x1d0)](_0x516e37['length'],0x0))return _0x4eaeb6;return console[_0x55f728(0x1aa)](chalk[_0x55f728(0x1d8)][_0x55f728(0x181)](_0x42e6ff[_0x55f728(0x1d5)])),_0x516e37[_0x55f728(0x1d1)](_0x235345=>{const _0x378b6c=_0x55f728,_0x293ed5=_0x235345[0x0],_0x57d854=_0x235345[0x1];console[_0x378b6c(0x1aa)]('\x0a'+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x189)](''+helper[_0x378b6c(0x190)](_0x293ed5)));const _0x1c4216=_0x57d854['scenarios'],_0xd79a14=_0x57d854[_0x378b6c(0x1da)],_0x231ea6=_0x57d854[_0x378b6c(0x1f2)],_0x4403bd=_0x57d854[_0x378b6c(0x185)],_0x5ac2a8=_0x57d854[_0x378b6c(0x1e1)],_0x5eb50c=_0x57d854[_0x378b6c(0x1c8)],_0xcd2b51=_0x57d854[_0x378b6c(0x192)],_0x46fc66=_0x57d854[_0x378b6c(0x1e0)],_0x2f5995=_0x57d854[_0x378b6c(0x195)],_0x16434a=_0x57d854[_0x378b6c(0x18f)],_0xabd488=_0x57d854[_0x378b6c(0x1e7)];let _0x545495=_0x1c4216+'\x20scenarios';const _0x1a7a7b=_0x42e6ff['QysMg'](_0x42e6ff['tRkmB'](_0x1c4216,_0x231ea6),0x0)?_0x42e6ff[_0x378b6c(0x1ac)](_0x1c4216,_0x231ea6):0x0;if(_0x42e6ff[_0x378b6c(0x1a1)](_0x231ea6,0x0)&&_0x42e6ff['KywqL'](_0x1a7a7b,0x0))_0x545495+='\x20('+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17e)](_0x231ea6+_0x378b6c(0x19c))+',\x20'+chalk['bold'][_0x378b6c(0x17d)](_0x1a7a7b+'\x20passed')+')';else(_0x42e6ff[_0x378b6c(0x1c3)](_0x231ea6,0x0)||_0x42e6ff['jFQXY'](_0x1a7a7b,0x0))&&(_0x545495+=_0x42e6ff['KywqL'](_0x231ea6,0x0)?'\x20('+chalk[_0x378b6c(0x1d8)]['red'](_0x231ea6+_0x378b6c(0x19c))+')':'\x20('+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17d)](_0x1a7a7b+'\x20passed')+')');const _0x28acc9=_0xd79a14+_0x378b6c(0x184),_0x50f1e2=[];_0x42e6ff[_0x378b6c(0x1cf)](_0x16434a,0x0)&&_0x50f1e2[_0x378b6c(0x191)](''+chalk[_0x378b6c(0x1d8)]['red'](_0x16434a+'\x20ambiguous'));_0x42e6ff[_0x378b6c(0x1a1)](_0x4403bd,0x0)&&_0x50f1e2['push'](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17e)](_0x4403bd+_0x378b6c(0x19c)));_0x42e6ff['jFQXY'](_0x5ac2a8,0x0)&&_0x50f1e2['push'](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x17d)](_0x5ac2a8+_0x378b6c(0x1e5)));_0x42e6ff[_0x378b6c(0x1c3)](_0xcd2b51,0x0)&&_0x50f1e2[_0x378b6c(0x191)](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x189)](_0xcd2b51+'\x20pending'));_0x42e6ff[_0x378b6c(0x18d)](_0x5eb50c,0x0)&&_0x50f1e2['push'](''+chalk['bold'][_0x378b6c(0x1bc)](_0x5eb50c+_0x378b6c(0x1d3)));_0x42e6ff['rifok'](_0x46fc66,0x0)&&_0x50f1e2['push'](''+chalk[_0x378b6c(0x1d8)]['yellow'](_0x46fc66+'\x20undefined'));_0x42e6ff['yXHCf'](_0x2f5995,0x0)&&_0x50f1e2[_0x378b6c(0x191)](''+chalk[_0x378b6c(0x1d8)][_0x378b6c(0x189)](_0x2f5995+_0x378b6c(0x1d3)));const _0x3f86bc=_0x42e6ff['Cvaww'](_0x42e6ff[_0x378b6c(0x1bb)](_0x42e6ff['eKvCC'](_0x28acc9,'('),_0x50f1e2[_0x378b6c(0x1af)](',\x20')),')');console[_0x378b6c(0x1aa)](_0x42e6ff[_0x378b6c(0x1eb)](_0x42e6ff[_0x378b6c(0x1eb)](_0x42e6ff[_0x378b6c(0x19f)](_0x42e6ff[_0x378b6c(0x1eb)]('\x0a',_0x545495),'\x0a'),_0x3f86bc),'\x0a')),_0x42e6ff[_0x378b6c(0x1d0)](_0xabd488,![])&&(_0x4eaeb6=0x1);}),_0x4eaeb6;}async function run(_0x301e27,_0x4f40be){const _0x10414d=a5_0x23a162,_0x4529ee={'lFVjZ':function(_0x5f451a,_0x304bd9){return _0x5f451a(_0x304bd9);},'aSCdL':function(_0x10ebb0,_0x3fbc44){return _0x10ebb0>_0x3fbc44;},'xDdGd':_0x10414d(0x1e3),'gjgEx':_0x10414d(0x1a0),'AdOdv':'cucumber','scltD':_0x10414d(0x1c1),'AQCel':'cucumber-js','ZAXje':_0x10414d(0x1c6),'TZjUQ':function(_0x5ad862,_0x398f8e){return _0x5ad862>_0x398f8e;},'lWqhr':function(_0x365e78,_0x3cad12){return _0x365e78-_0x3cad12;},'voovU':function(_0x33105f,_0x556e71){return _0x33105f>=_0x556e71;},'oSgEP':function(_0xb541a4,_0x3771c7){return _0xb541a4!=_0x3771c7;},'nbCFy':'true','ScfKy':function(_0x512505,_0xe30d5,_0x35223a,_0x1e45c7,_0x91f584,_0x236a3d){return _0x512505(_0xe30d5,_0x35223a,_0x1e45c7,_0x91f584,_0x236a3d);}},_0x507f76=new BrowserStackSetup(_0x301e27,_0x4529ee[_0x10414d(0x1a9)]);await _0x507f76[_0x10414d(0x1a4)](),helper[_0x10414d(0x186)](_0x507f76[_0x10414d(0x1b0)],_0x301e27);!helper[_0x10414d(0x1ef)]()&&await _0x507f76[_0x10414d(0x180)]();await helper['handleApp'](_0x507f76[_0x10414d(0x17c)]);const _0x471c04=helper[_0x10414d(0x1cc)](_0x507f76[_0x10414d(0x17c)]),_0x5d413c=helper[_0x10414d(0x197)](_0x507f76['config'],_0x471c04,constants[_0x10414d(0x1cd)][_0x10414d(0x183)]);if(!_0x507f76[_0x10414d(0x17c)])return;const _0x196bc6=_0x507f76[_0x10414d(0x17c)][_0x10414d(0x1ea)]||helper[_0x10414d(0x1f1)](_0x301e27,_0x4f40be,_0x507f76[_0x10414d(0x17c)],constants['FRAMEWORKS'][_0x10414d(0x183)])||0x1,_0x39d3ec={'server':helper[_0x10414d(0x18b)](_0x507f76[_0x10414d(0x17c)]),'proxySettings':_0x507f76[_0x10414d(0x17c)][_0x10414d(0x177)],'maxWorkers':_0x196bc6,'browserStackLogLevel':_0x507f76[_0x10414d(0x17c)][_0x10414d(0x1ab)],'skipSessionName':_0x507f76[_0x10414d(0x17c)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x507f76[_0x10414d(0x17c)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x507f76[_0x10414d(0x17c)]['turboScaleUrl']},_0x15a609=process[_0x10414d(0x17f)],[_0x527b37,_0x243aa5]=helper[_0x10414d(0x18c)](_0x15a609),_0x316774=path['join'](process['cwd'](),_0x4529ee[_0x10414d(0x188)]);if(_0x4529ee[_0x10414d(0x1bd)](_0x243aa5['length'],0x0)){helper[_0x10414d(0x1ba)](_0x316774);for(let _0x1f6145=_0x4529ee[_0x10414d(0x1dd)](_0x527b37['length'],0x1);_0x4529ee[_0x10414d(0x17b)](_0x1f6145,0x0);_0x1f6145--){_0x15a609[_0x10414d(0x1d7)](_0x527b37[_0x1f6145],0x2);}}!helper[_0x10414d(0x1dc)](_0x507f76[_0x10414d(0x17c)][_0x10414d(0x19b)])&&(process[_0x10414d(0x1f0)][_0x10414d(0x198)]=JSON[_0x10414d(0x1c0)](_0x507f76[_0x10414d(0x17c)][_0x10414d(0x19b)]));_0x4529ee[_0x10414d(0x1b4)](_0x507f76[_0x10414d(0x17c)]['testObservability'],null)?process['env'][_0x10414d(0x1bf)]=_0x507f76[_0x10414d(0x17c)][_0x10414d(0x18e)]:process[_0x10414d(0x1f0)][_0x10414d(0x1bf)]=_0x4529ee[_0x10414d(0x194)];const _0x318096=await TestHubHandler[_0x10414d(0x18a)](constants[_0x10414d(0x1cd)]['CUCUMBER'],_0x507f76);PerformanceTester[_0x10414d(0x193)](PerformanceEvents[_0x10414d(0x1c7)]);let _0x13caac;_0x4529ee[_0x10414d(0x182)](parallelCucumberRun,_0x5d413c,_0x39d3ec,_0x507f76[_0x10414d(0x17c)],_0x15a609,_0x243aa5)[_0x10414d(0x1be)](async _0x5bf34f=>{const _0x496f1d=_0x10414d;PerformanceTester['start'](PerformanceEvents[_0x496f1d(0x1ee)]),_0x13caac=_0x5bf34f;const _0x1a0b57=_0x4529ee[_0x496f1d(0x1db)](printCucumberStats,_0x5bf34f);process[_0x496f1d(0x1a3)]=_0x1a0b57,_0x4529ee['aSCdL'](_0x243aa5[_0x496f1d(0x1b5)],0x0)&&(logger['debug'](_0x4529ee[_0x496f1d(0x1a2)]),helper['mergeOutputFiles'](_0x316774,_0x243aa5),logger[_0x496f1d(0x1ed)](_0x4529ee[_0x496f1d(0x1b1)]),helper[_0x496f1d(0x1d9)](_0x316774));})['finally'](async()=>{const _0x23b84c=_0x10414d;PerformanceTester[_0x23b84c(0x19d)](PerformanceEvents[_0x23b84c(0x1ee)]),_0x507f76[_0x23b84c(0x17a)]=helper[_0x23b84c(0x1b8)](_0x13caac,_0x4529ee[_0x23b84c(0x1d4)]),testOpsHelper[_0x23b84c(0x179)]();try{await TestHubHandler[_0x23b84c(0x1a7)]();}catch(_0x5358ae){logger[_0x23b84c(0x1ed)](_0x23b84c(0x1b2)+util[_0x23b84c(0x1c4)](_0x5358ae));}try{const {browserstackFolderPath:_0x75cfb2,tcgConfigPath:_0xaaa4b3}=helper[_0x23b84c(0x1d6)]();fs[_0x23b84c(0x1e9)](_0xaaa4b3),fs[_0x23b84c(0x19e)](_0x75cfb2);}catch(_0xe77dcc){logger[_0x23b84c(0x1ed)](_0x4529ee['scltD'],_0xe77dcc);}await utilities[_0x23b84c(0x1b6)](_0x507f76);});}module[a5_0x23a162(0x1e8)]=run;
|