browserstack-node-sdk 1.36.4 → 1.36.5
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 +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x254d(){const _0x3134c0=['after','IHQRY','SDK_PRE_TEST','HVimO','dispatcher','bddStepFinish','test-before','CmVFS','SDK_TEST','add','14miGMmN','../../helpers/accessibility-automation/helper','DMdTR','kJIVS','../../helpers/globals.js','setGlobal','WOydo','performScan','start','helpers','browserStackExecuteDriver','fireEvent','skipSessionStatus','LFIAi','RlJCd','class','ejOFk','Wcsay','titlePath','KIVzC','1713795CUQGqo','skipped','ctx','mYDZY','hookType','sGnZR','SDK_POST_INITIALIZE','exports','./helper.js','__skipSessionStatus','fcjvQ','918862OushWn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','event','executeScript','bddStepStart','readFileSync','stopMonitoring','bs:addLog:','forEach','6788320VGpRpM','xWLpw','browserstack_executor:\x20','Puppeteer','../../helpers/helper','../../helpers/testhub/constants.js','currentTest','title','SDK_POST_TEST','step-comment','../../helpers/performance/constants','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Screenshot\x20path\x20not\x20found','DrzgU','HOOK_RUN_FINISHED','../../helpers/test-observability/utils','LnUtg','Element','emit','VkCty','BROWSERSTACK_TESTHUB_JWT','setSessionName','pid','TEST_SCREENSHOT','SAVE_RESULTS','TEST_RUN_SKIPPED','thBuildUuid','uMDON','initSaveScreenshot','../../bin/playwright/sessionDetails','../../helpers/performance/performance-tester','hook-passed','setSessionStatus','then','EgqZZ','catch','patchSaveScreenshot','SFSGu','arguments','captureError','bstackAllyScanning','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','JCoWj','name','restore','passed','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','hook-started','test-started','browserstackTestName','GET_RESULTS','SESSION_STATUS','OacKD','mEtAY','before','XPYPD','info','./o11yHelper','accessibilityPlatform','bJVer','measureWrapper','nrwPS','codeceptjs/lib/helper/Playwright.js','screenshotOutputFolder','39961ziPEHn','getResults','constructor','shouldWrapCommand','RgcQU','UxmKW','getResultsSummary','boEKQ','getAccessibilityResults','captureEvent','kTYTR','RfPfB','overwriteCommand','ekgce','bVchJ','hook-failed','getSyncScript','iuCII','UBTUN','format','JXJVb','testAnalyticsId','MbqSR','SDK_HOOK','container','thJwtToken','PERFORM_SCAN','test','WebDriver','8452071gusVuf','hook','test-passed','stop','skipSessionName','bddStep-before','KSZOs','status','WSvpo','__workerDetails','1335VZKFjY','../../helpers/logger','ijojy','failed','all','end','TEST_RUN_STARTED','INFO','debug','getAccessibilityResultsSummary','enabled','codeceptjs/lib/index.js','TEST_RUN_FINISHED','saveScreenshot','test-failed','KiLXG','step','stringify','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','tGNRT','dewNj','apply','HOOK_RUN_STARTED','ZrOBQ','saveTestResults','startMonitoring','Playwright','command','SnSgO','toISOString','BROWSERSTACK_TESTHUB_UUID','VHvxK','dVCGB','base64','fKyyu','contexts','dmddN','TestCafe','HuIMa','env','browser','codeceptjs','test-after','ZjyoL','_before','prototype','SDK_PRE_INITIALIZE','nZKKe','find','commandsToWrap','TEST_LOG','call','ENV_VAR','XGRqO','started','3272HZhpCz','action','3534150MvUaEi','BS_TESTOPS_ALLOW_SCREENSHOTS'];a1_0x254d=function(){return _0x3134c0;};return a1_0x254d();}function a1_0x4120(_0x1ef2ac,_0x41c3bc){const _0x254d4d=a1_0x254d();return a1_0x4120=function(_0x412038,_0x23be4f){_0x412038=_0x412038-0x1bb;let _0x5897de=_0x254d4d[_0x412038];return _0x5897de;},a1_0x4120(_0x1ef2ac,_0x41c3bc);}const a1_0x2d1b82=a1_0x4120;(function(_0x3d552b,_0x54337b){const _0x5daaac=a1_0x4120,_0x3aa588=_0x3d552b();while(!![]){try{const _0x350b36=-parseInt(_0x5daaac(0x208))/0x1*(-parseInt(_0x5daaac(0x274))/0x2)+parseInt(_0x5daaac(0x288))/0x3+parseInt(_0x5daaac(0x266))/0x4*(parseInt(_0x5daaac(0x22f))/0x5)+-parseInt(_0x5daaac(0x268))/0x6+-parseInt(_0x5daaac(0x1bf))/0x7+-parseInt(_0x5daaac(0x1c8))/0x8+parseInt(_0x5daaac(0x225))/0x9;if(_0x350b36===_0x54337b)break;else _0x3aa588['push'](_0x3aa588['shift']());}catch(_0x40cb10){_0x3aa588['push'](_0x3aa588['shift']());}}}(a1_0x254d,0x6b586));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2d1b82(0x1cc)),logger=require(a1_0x2d1b82(0x230))['winstonLogger'],testOpsHelper=require(a1_0x2d1b82(0x1d7)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x2d1b82(0x1e5)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2d1b82(0x201)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2d1b82(0x275)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x2d1b82(0x1e6)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2d1b82(0x1d2)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2d1b82(0x1bc)),testHubConstants=require(a1_0x2d1b82(0x1cd)),globals=require(a1_0x2d1b82(0x278)),CodeceptJS=requireModule(a1_0x2d1b82(0x23a),a1_0x2d1b82(0x258)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x2d1b82(0x258)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x2d1b82(0x258)),CodeceptPlaywright=requireModule(a1_0x2d1b82(0x206),'codeceptjs'),playwrightMarkSessionStatus=(_0x891aa7,_0x1156cd,_0x1a383e)=>{const _0x28103b=a1_0x2d1b82,_0x27cb17={'nrwPS':_0x28103b(0x1e8),'MDxaN':function(_0x3ceb0d,_0x1df834){return _0x3ceb0d(_0x1df834);}},_0xa61408={};_0xa61408[_0x28103b(0x22c)]=_0x1156cd;const _0x3aa980={};_0x3aa980[_0x28103b(0x267)]=_0x27cb17[_0x28103b(0x205)],_0x3aa980[_0x28103b(0x1ee)]=_0xa61408;const _0x385f0e=_0x3aa980;return!_0x27cb17['MDxaN'](isUndefined,_0x1a383e)&&(_0x385f0e[_0x28103b(0x1ee)]['reason']=JSON['stringify'](_0x1a383e)),_0x891aa7[_0x28103b(0x1c2)](()=>{},_0x28103b(0x1ca)+JSON[_0x28103b(0x240)](_0x385f0e));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],async _0x4977af=>{const _0x47b5a4=a1_0x2d1b82,_0x10ba8e={};_0x10ba8e['dmddN']=function(_0x4c05b0,_0x4cbf2d){return _0x4c05b0===_0x4cbf2d;},_0x10ba8e['SnSgO']=_0x47b5a4(0x249);const _0x29b766=_0x10ba8e;_0x29b766[_0x47b5a4(0x253)](_0x4977af['constructor'][_0x47b5a4(0x1f3)],_0x29b766[_0x47b5a4(0x24b)])?await _0x4977af[_0x47b5a4(0x1c2)](_0x54766a=>{},testOpsHelper[_0x47b5a4(0x218)]()):await _0x4977af[_0x47b5a4(0x1c2)](testOpsHelper[_0x47b5a4(0x218)]());}),markSessionName=PerformanceTester[a1_0x2d1b82(0x204)](PerformanceAutEvents['SESSION_NAME'],async(_0x125ceb,_0x51e0cf)=>{const _0x1d2fea=a1_0x2d1b82,_0x4b82de={};_0x4b82de[_0x1d2fea(0x1fc)]=_0x1d2fea(0x1dd),_0x4b82de[_0x1d2fea(0x1be)]=function(_0x2d8c6d,_0x1b3585){return _0x2d8c6d===_0x1b3585;},_0x4b82de[_0x1d2fea(0x212)]='Playwright';const _0xd07c7b=_0x4b82de,_0x464165={};_0x464165[_0x1d2fea(0x1f3)]=_0x51e0cf;const _0x16acf1={};_0x16acf1[_0x1d2fea(0x267)]=_0xd07c7b[_0x1d2fea(0x1fc)],_0x16acf1[_0x1d2fea(0x1ee)]=_0x464165;const _0x34ba5b=_0x16acf1;_0xd07c7b[_0x1d2fea(0x1be)](_0x125ceb['constructor'][_0x1d2fea(0x1f3)],_0xd07c7b['kTYTR'])?await _0x125ceb['executeScript'](()=>{},_0x1d2fea(0x1ca)+JSON[_0x1d2fea(0x240)](_0x34ba5b)):await _0x125ceb[_0x1d2fea(0x1c2)](_0x1d2fea(0x1ca)+JSON[_0x1d2fea(0x240)](_0x34ba5b));}),patchSaveScreenshot=_0x4b0014=>{const _0x4fe8a4=a1_0x2d1b82,_0x256306={'gCPWU':_0x4fe8a4(0x250),'xWLpw':_0x4fe8a4(0x1df),'uMDON':function(_0x48c1a5){return _0x48c1a5();},'XPYPD':function(_0x1099f4,_0x2ac796){return _0x1099f4(_0x2ac796);},'HuIMa':_0x4fe8a4(0x1d4),'Wcsay':function(_0xb733e3,_0x684ec8){return _0xb733e3(_0x684ec8);}};_0x256306[_0x4fe8a4(0x285)](isTrue,process[_0x4fe8a4(0x256)][_0x4fe8a4(0x269)])&&!_0x4b0014[_0x4fe8a4(0x1ec)]&&(_0x4b0014[_0x4fe8a4(0x1ec)]=!![],_0x4b0014[_0x4fe8a4(0x1e4)]=_0x4b0014[_0x4fe8a4(0x23c)],_0x4b0014[_0x4fe8a4(0x23c)]=(_0x4d2265,_0x3a6786=![])=>{const _0x24f221=_0x4fe8a4,_0x12cbdc={'DMdTR':_0x256306['gCPWU'],'bVchJ':_0x256306[_0x24f221(0x1c9)],'JXJVb':function(_0x8c8780){const _0x15a4aa=_0x24f221;return _0x256306[_0x15a4aa(0x1e3)](_0x8c8780);},'wUafn':function(_0x51e5f9,_0x1c43d5){const _0x5cdd81=_0x24f221;return _0x256306[_0x5cdd81(0x1ff)](_0x51e5f9,_0x1c43d5);},'dVCGB':_0x256306[_0x24f221(0x255)]};return new Promise(function(_0x45e440,_0x2462f3){const _0x3f5858=_0x24f221;_0x4b0014['initSaveScreenshot'](_0x4d2265,_0x3a6786)[_0x3f5858(0x1e9)](()=>{const _0x5c9b7f=_0x3f5858,_0x1ddc7b=CodeceptUtils[_0x5c9b7f(0x207)](_0x4d2265);if(_0x1ddc7b){const _0x3250a6=fs[_0x5c9b7f(0x1c4)](_0x1ddc7b);process[_0x5c9b7f(0x1da)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x5c9b7f(0x24c)](),'message':_0x3250a6['toString'](_0x12cbdc[_0x5c9b7f(0x276)]),'kind':_0x12cbdc[_0x5c9b7f(0x216)]}),_0x12cbdc[_0x5c9b7f(0x21c)](_0x45e440);}_0x12cbdc['wUafn'](_0x2462f3,new Error(_0x12cbdc[_0x5c9b7f(0x24f)]));})[_0x3f5858(0x1eb)](()=>null);});});},patchWebDriverBefore=_0x1dcc33=>{const _0x101be2=a1_0x2d1b82,_0x214a35={'QmNhF':function(_0x2bda81){return _0x2bda81();},'nZKKe':function(_0x789971,_0x3238e9){return _0x789971(_0x3238e9);},'UxmKW':function(_0x574b63,_0x47b767){return _0x574b63===_0x47b767;},'ZjyoL':_0x101be2(0x1d9)},_0x58df67=async function(_0x104a2a,_0x4c8751){const _0x1cba81=_0x101be2;return _0x214a35['QmNhF'](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x1cba81(0x202)]&&scripts[_0x1cba81(0x20b)](_0x104a2a[_0x1cba81(0x1f3)])&&_0x214a35[_0x1cba81(0x25e)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x8c8e1=_0x1cba81;logger[_0x8c8e1(0x237)]('Performing\x20scan\x20for\x20'+_0x104a2a[_0x8c8e1(0x283)]+'\x20'+_0x104a2a[_0x8c8e1(0x1f3)]),await AccessibilityHelper[_0x8c8e1(0x27e)](_0x1dcc33,scripts['performScan']);},{'command':_0x104a2a['name']})()),global[_0x1cba81(0x1f0)]=![],_0x4c8751[_0x1cba81(0x244)](this,Array[_0x1cba81(0x25c)]['slice'][_0x1cba81(0x262)](arguments,0x2));},_0x2ac7d9=CodeceptWebDriver[_0x101be2(0x25c)][_0x101be2(0x25b)];CodeceptWebDriver[_0x101be2(0x25c)][_0x101be2(0x25b)]=async function(){const _0x33c832=_0x101be2;try{await _0x2ac7d9[_0x33c832(0x244)](this,arguments);}catch(_0x3e5d07){logger[_0x33c832(0x237)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x33c832(0x21b)](_0x3e5d07));}scripts[_0x33c832(0x260)]['filter'](_0x23b4ba=>_0x23b4ba['name']&&_0x23b4ba['class'])[_0x33c832(0x1c7)](_0x3bef35=>{const _0x5baadd=_0x33c832;this[_0x5baadd(0x257)][_0x5baadd(0x214)](_0x3bef35[_0x5baadd(0x1f3)],_0x58df67['bind'](this,_0x3bef35),_0x214a35[_0x5baadd(0x20d)](_0x3bef35[_0x5baadd(0x283)],_0x214a35[_0x5baadd(0x25a)]));}),_0x214a35[_0x33c832(0x25e)](processWebDriverConfig,_0x1dcc33);};},patchPlaywrightBefore=()=>{const _0x3db36b=a1_0x2d1b82;PlaywrightSessionDetails['patch']();const _0x40826a=CodeceptPlaywright[_0x3db36b(0x25c)][_0x3db36b(0x25b)];CodeceptPlaywright['prototype']['_before']=async function(){const _0x55a054=_0x3db36b;this['browserContext']=await this[_0x55a054(0x257)][_0x55a054(0x252)]()[0x0],await _0x40826a['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x418582=a1_0x2d1b82,_0x8ddc4e={};_0x8ddc4e[_0x418582(0x20f)]=_0x418582(0x224),_0x8ddc4e[_0x418582(0x1d8)]='Playwright',_0x8ddc4e[_0x418582(0x246)]=_0x418582(0x1cb),_0x8ddc4e[_0x418582(0x26d)]=_0x418582(0x254);const _0x4572f9=_0x8ddc4e,_0x330afb=[_0x4572f9[_0x418582(0x20f)],_0x4572f9[_0x418582(0x1d8)],_0x4572f9[_0x418582(0x246)],_0x4572f9[_0x418582(0x26d)]],_0x5bcb1a=_0x330afb[_0x418582(0x25f)](_0x404ccf=>!!CodeceptJS['container'][_0x418582(0x27d)](_0x404ccf));if(!_0x5bcb1a)return null;return CodeceptJS[_0x418582(0x220)]['helpers'](_0x5bcb1a);};module[a1_0x2d1b82(0x1bb)]=function(_0xe22885){const _0x4b3257=a1_0x2d1b82,_0x270b9f={'sGnZR':function(_0x5ce1cd){return _0x5ce1cd();},'UBTUN':function(_0x45ec6c,_0x25d73b){return _0x45ec6c(_0x25d73b);},'tNwUk':_0x4b3257(0x238),'ijojy':_0x4b3257(0x1c0),'WSvpo':'getAccessibilityResults','LFIAi':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','VHvxK':function(_0x44ba2f,_0x2145ee){return _0x44ba2f(_0x2145ee);},'XGRqO':_0x4b3257(0x1f7),'DrzgU':_0x4b3257(0x1e7),'CmVFS':_0x4b3257(0x217),'MbqSR':_0x4b3257(0x1f9),'tGNRT':_0x4b3257(0x270),'ZPMSm':function(_0x4d8e8c){return _0x4d8e8c();},'RlJCd':function(_0x1f5014,_0x222270,_0x4699e1){return _0x1f5014(_0x222270,_0x4699e1);},'iuCII':_0x4b3257(0x1f8),'KSZOs':_0x4b3257(0x227),'KiLXG':function(_0x5d8937){return _0x5d8937();},'JCoWj':function(_0x47f0bc,_0x87e1dc,_0x35317b,_0x38572d){return _0x47f0bc(_0x87e1dc,_0x35317b,_0x38572d);},'mYDZY':function(_0x5061eb,_0x37be33){return _0x5061eb===_0x37be33;},'RgcQU':'Suite','bJVer':_0x4b3257(0x23d),'SFSGu':'test-skipped','IHQRY':'afterTest','fKyyu':function(_0x13030d){return _0x13030d();},'ekgce':function(_0x396536,_0x26deee,_0x4de796){return _0x396536(_0x26deee,_0x4de796);},'VkCty':function(_0x17e3bf){return _0x17e3bf();},'EgqZZ':_0x4b3257(0x1d3),'dHCAz':_0x4b3257(0x259),'ejOFk':_0x4b3257(0x236),'mEtAY':_0x4b3257(0x261),'dewNj':_0x4b3257(0x1d1),'WOydo':_0x4b3257(0x22a),'wIbNI':'bddStep-after','GTHor':function(_0x75d377){return _0x75d377();},'KIVzC':'Playwright'};_0xe22885[_0x4b3257(0x280)]&&(global[_0x4b3257(0x1bd)]=_0xe22885[_0x4b3257(0x280)]);PerformanceTester[_0x4b3257(0x248)]();const _0x3304eb=_0x270b9f['GTHor'](getCodeceptDriver),_0x298341=new O11yHelper(_0x3304eb,_0xe22885),_0x371617=!!CodeceptJS[_0x4b3257(0x220)][_0x4b3257(0x27d)](_0x270b9f[_0x4b3257(0x287)]);global['__driver']=_0x3304eb,_0x3304eb&&(PerformanceTester[_0x4b3257(0x204)](PerformanceEvents[_0x4b3257(0x25d)],()=>{const _0x95355f=_0x4b3257;_0x371617?_0x270b9f[_0x95355f(0x28d)](patchPlaywrightBefore):_0x270b9f['UBTUN'](patchWebDriverBefore,_0x3304eb);})(),PerformanceTester[_0x4b3257(0x204)](PerformanceEvents[_0x4b3257(0x28e)],()=>{const _0xc9e6d6=_0x4b3257;_0x3304eb['getAccessibilityResultsSummary']=async()=>{const _0x508a72=a1_0x4120;if(global['accessibilityPlatform']){const _0x4b3ed0={};_0x4b3ed0[_0x508a72(0x24a)]=_0x270b9f['tNwUk'],await PerformanceTester[_0x508a72(0x204)](PerformanceA11yEvents[_0x508a72(0x222)],async()=>{const _0x2aa6f9=_0x508a72;await AccessibilityHelper['browserStackExecuteDriver'](_0x3304eb,scripts[_0x2aa6f9(0x27b)]);},_0x4b3ed0)(),await PerformanceTester[_0x508a72(0x204)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x43aaae=_0x508a72;await AccessibilityHelper[_0x43aaae(0x27e)](_0x3304eb,scripts[_0x43aaae(0x20e)]);})();}else return logger['warn'](_0x270b9f[_0x508a72(0x231)]),{};},_0x3304eb[_0xc9e6d6(0x210)]=async()=>{const _0x403123=_0xc9e6d6;if(global['accessibilityPlatform']){const _0x3c83fa={};_0x3c83fa[_0x403123(0x24a)]=_0x270b9f[_0x403123(0x22d)],await PerformanceTester[_0x403123(0x204)](PerformanceA11yEvents[_0x403123(0x222)],async()=>{const _0x3621bb=_0x403123;await AccessibilityHelper[_0x3621bb(0x27e)](_0x3304eb,scripts[_0x3621bb(0x27b)]);},_0x3c83fa)(),await PerformanceTester[_0x403123(0x204)](PerformanceA11yEvents[_0x403123(0x1fa)],async()=>{const _0x5524d9=_0x403123;await AccessibilityHelper[_0x5524d9(0x27e)](_0x3304eb,scripts[_0x5524d9(0x209)]);})();}else return logger['warn'](_0x270b9f[_0x403123(0x281)]),{};},_0x270b9f[_0xc9e6d6(0x24e)](patchSaveScreenshot,_0x3304eb);})()),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)]['all'][_0x4b3257(0x1fe)],()=>{const _0x496f2c=_0x4b3257;PerformanceTester[_0x496f2c(0x27c)](PerformanceEvents[_0x496f2c(0x26c)]);try{_0x298341['start'](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x496f2c(0x234)](PerformanceEvents[_0x496f2c(0x26c)]);}catch(_0x3fba45){PerformanceTester[_0x496f2c(0x1ef)](_0x3fba45),PerformanceTester[_0x496f2c(0x234)](PerformanceEvents[_0x496f2c(0x26c)],![],_0x3fba45);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x233)][_0x4b3257(0x26a)],async()=>{const _0x3bf7dd=_0x4b3257;PerformanceTester[_0x3bf7dd(0x27c)](PerformanceEvents[_0x3bf7dd(0x1d0)]);try{requestSpy[_0x3bf7dd(0x1f4)](),await _0x298341[_0x3bf7dd(0x228)](),PerformanceTester[_0x3bf7dd(0x234)](PerformanceEvents[_0x3bf7dd(0x1d0)]);}catch(_0x16bc79){PerformanceTester[_0x3bf7dd(0x1ef)](_0x16bc79),PerformanceTester[_0x3bf7dd(0x234)](PerformanceEvents[_0x3bf7dd(0x1d0)],![],_0x16bc79);}finally{PerformanceTester[_0x3bf7dd(0x1c5)]();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x226)][_0x4b3257(0x265)],_0x1a2248=>{const _0x324b52=_0x4b3257;PerformanceTester['start'](PerformanceEvents['SDK_HOOK']);try{const _0x1f1f93=_0x1a2248['ctx'][_0x324b52(0x223)],_0x15e781=_0x298341[_0x324b52(0x211)](TEST_EVENTS[_0x324b52(0x245)],_0x1f1f93);CodeceptRecorder[_0x324b52(0x273)](()=>_0x298341[_0x324b52(0x27f)](TEST_EVENTS[_0x324b52(0x245)],_0x15e781));const _0x57313a={};_0x57313a['hookType']=_0x270b9f[_0x324b52(0x264)],PerformanceTester[_0x324b52(0x234)](PerformanceEvents[_0x324b52(0x21f)],!![],null,_0x57313a);}catch(_0x1e7989){const _0x5d92bc={};_0x5d92bc[_0x324b52(0x28c)]=_0x270b9f['XGRqO'],PerformanceTester[_0x324b52(0x234)](PerformanceEvents[_0x324b52(0x21f)],![],_0x1e7989,_0x5d92bc),PerformanceTester[_0x324b52(0x1ef)](_0x1e7989);}}),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x226)][_0x4b3257(0x1f5)],_0x5d0e33=>{const _0x4074f6=_0x4b3257,_0x54e2f7={};_0x54e2f7[_0x4074f6(0x28c)]=_0x270b9f[_0x4074f6(0x1d5)],PerformanceTester[_0x4074f6(0x27c)](PerformanceHookEvents[_0x4074f6(0x21f)],!![],null,_0x54e2f7);try{const _0x45a545=_0x5d0e33[_0x4074f6(0x28a)][_0x4074f6(0x223)],_0x208393=_0x298341[_0x4074f6(0x211)](TEST_EVENTS[_0x4074f6(0x1d6)],_0x45a545);CodeceptRecorder['add'](()=>_0x298341[_0x4074f6(0x27f)](TEST_EVENTS[_0x4074f6(0x1d6)],_0x208393));const _0x480fde={};_0x480fde[_0x4074f6(0x28c)]=_0x270b9f[_0x4074f6(0x1d5)],PerformanceTester[_0x4074f6(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x480fde);}catch(_0x3504c8){PerformanceTester[_0x4074f6(0x1ef)](_0x3504c8);const _0x5d7e82={};_0x5d7e82[_0x4074f6(0x28c)]=_0x270b9f[_0x4074f6(0x1d5)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3504c8,_0x5d7e82);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['hook']['failed'],async(_0x10f57d,_0x2e5426)=>{const _0x106951=_0x4b3257;PerformanceTester[_0x106951(0x27c)](PerformanceHookEvents[_0x106951(0x21f)]);try{const _0x35232b=_0x10f57d[_0x106951(0x28a)]['test'],_0xa3b41=_0x298341[_0x106951(0x211)](TEST_EVENTS[_0x106951(0x1d6)],_0x35232b,_0x2e5426);CodeceptRecorder[_0x106951(0x273)](()=>_0x298341[_0x106951(0x27f)](TEST_EVENTS[_0x106951(0x1d6)],_0xa3b41));const _0x29abad={};_0x29abad[_0x106951(0x28c)]=_0x270b9f['CmVFS'],PerformanceTester[_0x106951(0x27c)](PerformanceHookEvents[_0x106951(0x21f)],!![],null,_0x29abad);}catch(_0x15a8cf){PerformanceTester[_0x106951(0x1ef)](_0x15a8cf);const _0x200ab2={};_0x200ab2[_0x106951(0x28c)]=_0x270b9f[_0x106951(0x271)],PerformanceTester[_0x106951(0x234)](PerformanceHookEvents[_0x106951(0x21f)],![],_0x15a8cf,_0x200ab2);}const _0x5aac38={};_0x5aac38[_0x106951(0x28c)]=_0x270b9f[_0x106951(0x271)],PerformanceTester[_0x106951(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5aac38);}),CodeceptJS['event'][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x223)][_0x4b3257(0x1fe)],_0x17f883=>{const _0x12d445=_0x4b3257;PerformanceTester[_0x12d445(0x27c)](PerformanceHookEvents[_0x12d445(0x21f)]);try{globals[_0x12d445(0x279)](_0x270b9f[_0x12d445(0x21e)],_0x17f883[_0x12d445(0x1cf)]);_0x270b9f[_0x12d445(0x28d)](isBrowserstackInfra)&&(_0x371617&&(global[_0x12d445(0x22e)]={'currentTest':{'name':_0x17f883[_0x12d445(0x1cf)],'testInfo':{'titlePath':_0x17f883[_0x12d445(0x286)]()}}}));const _0x1f8469={};_0x1f8469[_0x12d445(0x28c)]=_0x270b9f[_0x12d445(0x242)],PerformanceTester[_0x12d445(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1f8469);}catch(_0x253afd){PerformanceTester['captureError'](_0x253afd);const _0x149b30={};_0x149b30[_0x12d445(0x28c)]=_0x270b9f['tGNRT'],PerformanceTester['end'](PerformanceHookEvents[_0x12d445(0x21f)],![],_0x253afd,_0x149b30);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['test'][_0x4b3257(0x265)],_0x2473c5=>{const _0x2ed8a4=_0x4b3257;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x270b9f['MbqSR'],_0x2473c5[_0x2ed8a4(0x1cf)]);const _0xfc1d90=_0x298341[_0x2ed8a4(0x211)](TEST_EVENTS[_0x2ed8a4(0x235)],_0x2473c5);CodeceptRecorder[_0x2ed8a4(0x273)](()=>_0x298341[_0x2ed8a4(0x27f)](TEST_EVENTS[_0x2ed8a4(0x235)],_0xfc1d90)),CodeceptRecorder[_0x2ed8a4(0x273)](async()=>{const _0x41429c=_0x2ed8a4;_0x270b9f['ZPMSm'](isBrowserstackInfra)&&(!_0x270b9f[_0x41429c(0x21a)](isTrue,_0xe22885[_0x41429c(0x229)])&&await _0x270b9f['RlJCd'](markSessionName,_0x3304eb,_0x2473c5[_0x41429c(0x1cf)]),_0x298341[_0x41429c(0x239)]&&await _0x270b9f[_0x41429c(0x21a)](o11ySync,_0x3304eb));});}catch(_0xada882){const _0x405480={};_0x405480[_0x2ed8a4(0x28c)]=_0x270b9f['iuCII'],PerformanceTester[_0x2ed8a4(0x234)](PerformanceHookEvents['SDK_HOOK'],![],_0xada882,_0x405480),PerformanceTester[_0x2ed8a4(0x1ef)](_0xada882);}const _0x56e922={};_0x56e922[_0x2ed8a4(0x28c)]=_0x270b9f[_0x2ed8a4(0x219)],PerformanceTester[_0x2ed8a4(0x234)](PerformanceHookEvents[_0x2ed8a4(0x21f)],!![],null,_0x56e922);}),CodeceptJS['event'][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x223)]['passed'],_0x578471=>{const _0xe6833f=_0x4b3257;PerformanceTester[_0xe6833f(0x27c)](PerformanceHookEvents['SDK_HOOK']);try{const _0x404120=_0x298341['captureEvent'](TEST_EVENTS[_0xe6833f(0x23b)],_0x578471);CodeceptRecorder[_0xe6833f(0x273)](()=>_0x298341[_0xe6833f(0x27f)](TEST_EVENTS[_0xe6833f(0x23b)],_0x404120)),CodeceptRecorder[_0xe6833f(0x273)](async()=>{const _0x176cce=_0xe6833f,_0x5244d2={'HZdJv':function(_0x14b4b1,_0x51c36e,_0x3f6c63){const _0x295dcd=a1_0x4120;return _0x270b9f[_0x295dcd(0x282)](_0x14b4b1,_0x51c36e,_0x3f6c63);},'kJIVS':function(_0x24d9b0,_0x11deed,_0xf65d34){const _0x13dd80=a1_0x4120;return _0x270b9f[_0x13dd80(0x282)](_0x24d9b0,_0x11deed,_0xf65d34);}};_0x270b9f[_0x176cce(0x28d)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x176cce(0x1fb)],async()=>{const _0x24deb9=_0x176cce;_0x371617?await _0x5244d2['HZdJv'](playwrightMarkSessionStatus,_0x3304eb,STATE_PASSED):await _0x5244d2[_0x24deb9(0x277)](markSessionStatus,_0x3304eb,STATE_PASSED);})();}),PerformanceTester[_0xe6833f(0x234)](PerformanceEvents[_0xe6833f(0x272)]);}catch(_0x53a40){PerformanceTester['captureError'](_0x53a40);const _0x276725={};_0x276725['hookType']=_0x270b9f[_0xe6833f(0x22b)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x53a40,_0x276725),PerformanceTester[_0xe6833f(0x234)](PerformanceEvents[_0xe6833f(0x272)],![],_0x53a40);}const _0x1ae7c4={};_0x1ae7c4['hookType']=_0x270b9f[_0xe6833f(0x22b)],PerformanceTester[_0xe6833f(0x234)](PerformanceHookEvents[_0xe6833f(0x21f)],!![],null,_0x1ae7c4);}),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)]['test'][_0x4b3257(0x232)],(_0xeb626e,_0x317f18)=>{const _0x12dea6=_0x4b3257;PerformanceTester['start'](PerformanceHookEvents[_0x12dea6(0x21f)]);try{if(_0x270b9f[_0x12dea6(0x28b)](_0xeb626e[_0x12dea6(0x20a)][_0x12dea6(0x1f3)],_0x270b9f[_0x12dea6(0x20c)])){const _0x18d9c1=_0x298341[_0x12dea6(0x211)](TEST_EVENTS[_0x12dea6(0x1e1)],_0xeb626e[_0x12dea6(0x28a)][_0x12dea6(0x1ce)]);CodeceptRecorder[_0x12dea6(0x273)](()=>_0x298341[_0x12dea6(0x27f)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x18d9c1));}else{const _0x2cee34=_0x298341[_0x12dea6(0x211)](TEST_EVENTS['TEST_RUN_FINISHED'],_0xeb626e,_0x317f18);CodeceptRecorder['add'](()=>{const _0x1ec3b7=_0x12dea6;try{_0x298341[_0x1ec3b7(0x27f)](TEST_EVENTS[_0x1ec3b7(0x23b)],_0x2cee34);}catch(_0x32f2fe){logger['debug'](_0x1ec3b7(0x1f6)+util[_0x1ec3b7(0x21b)](_0x32f2fe)),PerformanceTester[_0x1ec3b7(0x234)](PerformanceEvents[_0x1ec3b7(0x272)],![],_0x32f2fe);}}),CodeceptRecorder[_0x12dea6(0x273)](async()=>{const _0x3f54fb=_0x12dea6;try{_0x270b9f[_0x3f54fb(0x23e)](isBrowserstackInfra)&&(_0x371617?await _0x270b9f[_0x3f54fb(0x1f2)](playwrightMarkSessionStatus,_0x3304eb,STATE_FAILED,_0x317f18):await _0x270b9f[_0x3f54fb(0x1f2)](markSessionStatus,_0x3304eb,STATE_FAILED,_0x317f18));}catch(_0x3a7e3f){logger[_0x3f54fb(0x237)](_0x3f54fb(0x1f1)+util[_0x3f54fb(0x21b)](_0x3a7e3f)),PerformanceTester[_0x3f54fb(0x234)](PerformanceEvents['SDK_TEST'],![],_0x3a7e3f);}});}PerformanceTester[_0x12dea6(0x234)](PerformanceEvents[_0x12dea6(0x272)]);}catch(_0x3f7262){PerformanceTester[_0x12dea6(0x1ef)](_0x3f7262);const _0x5433dd={};_0x5433dd['hookType']=_0x270b9f[_0x12dea6(0x203)],PerformanceTester[_0x12dea6(0x234)](PerformanceHookEvents[_0x12dea6(0x21f)],![],_0x3f7262,_0x5433dd),PerformanceTester['end'](PerformanceEvents[_0x12dea6(0x272)],![],_0x3f7262);}const _0x506443={};_0x506443[_0x12dea6(0x28c)]=_0x270b9f[_0x12dea6(0x203)],PerformanceTester[_0x12dea6(0x234)](PerformanceHookEvents[_0x12dea6(0x21f)],!![],null,_0x506443);}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['test'][_0x4b3257(0x289)],_0x3021e8=>{const _0x3bc107=_0x4b3257;PerformanceTester[_0x3bc107(0x27c)](PerformanceHookEvents[_0x3bc107(0x21f)]);try{const _0x3bacb4=_0x298341[_0x3bc107(0x211)](TEST_EVENTS[_0x3bc107(0x1e1)],_0x3021e8);CodeceptRecorder[_0x3bc107(0x273)](()=>_0x298341[_0x3bc107(0x27f)](TEST_EVENTS[_0x3bc107(0x1e1)],_0x3bacb4)),PerformanceTester[_0x3bc107(0x234)](PerformanceEvents[_0x3bc107(0x272)]);}catch(_0x401214){PerformanceTester[_0x3bc107(0x1ef)](_0x401214),PerformanceTester[_0x3bc107(0x234)](PerformanceEvents['SDK_TEST'],![],_0x401214);const _0x54fa9c={};_0x54fa9c['hookType']=_0x270b9f['SFSGu'],PerformanceTester['end'](PerformanceHookEvents[_0x3bc107(0x21f)],![],_0x401214,_0x54fa9c);}const _0x14fb1b={};_0x14fb1b['hookType']=_0x270b9f[_0x3bc107(0x1ed)],PerformanceTester[_0x3bc107(0x234)](PerformanceHookEvents[_0x3bc107(0x21f)],!![],null,_0x14fb1b);}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x223)][_0x4b3257(0x26a)],async(_0x3539bd,_0xc21828)=>{const _0x46df64=_0x4b3257,_0x9faabd={};_0x9faabd['RfPfB']=_0x270b9f[_0x46df64(0x26b)];const _0x227825=_0x9faabd;try{PerformanceTester['start'](PerformanceHookEvents[_0x46df64(0x21f)]);if(_0x270b9f[_0x46df64(0x251)](isBrowserstackInfra)){const _0x4f06d6=_0x270b9f[_0x46df64(0x215)](shouldScanTestForAccessibility,_0x3539bd[_0x46df64(0x286)](),!![]);if(_0x270b9f[_0x46df64(0x1db)](isAccessibilityAutomationSession)&&global[_0x46df64(0x202)]&&_0x4f06d6){const _0x4bcf68={};_0x4bcf68['thTestRunUuid']=_0x3539bd[_0x46df64(0x21d)],_0x4bcf68[_0x46df64(0x1e2)]=process[_0x46df64(0x256)][testHubConstants[_0x46df64(0x263)][_0x46df64(0x24d)]],_0x4bcf68[_0x46df64(0x221)]=process[_0x46df64(0x256)][testHubConstants['ENV_VAR'][_0x46df64(0x1dc)]];const _0x1dc559=_0x4bcf68;logger[_0x46df64(0x237)](_0x46df64(0x241)+JSON[_0x46df64(0x240)](_0x1dc559)),CodeceptRecorder[_0x46df64(0x273)](async()=>{const _0x140aa5=_0x46df64,_0x21b172={};_0x21b172[_0x140aa5(0x24a)]=_0x227825[_0x140aa5(0x213)],await PerformanceTester[_0x140aa5(0x204)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4f7d19=_0x140aa5;await AccessibilityHelper[_0x4f7d19(0x27e)](_0x3304eb,scripts[_0x4f7d19(0x27b)]);},_0x21b172)(),await PerformanceTester[_0x140aa5(0x204)](PerformanceA11yEvents[_0x140aa5(0x1e0)],async()=>{const _0x542c15=_0x140aa5;await AccessibilityHelper[_0x542c15(0x27e)](_0x3304eb,scripts[_0x542c15(0x247)],_0x1dc559);})();}),logger[_0x46df64(0x200)](_0x270b9f[_0x46df64(0x1ea)]);}}const _0x33de83={};_0x33de83[_0x46df64(0x28c)]=_0x270b9f['dHCAz'],PerformanceTester[_0x46df64(0x234)](PerformanceHookEvents[_0x46df64(0x21f)],!![],null,_0x33de83);}catch(_0x3a631f){PerformanceTester[_0x46df64(0x1ef)](_0x3a631f);const _0x52cc39={};_0x52cc39[_0x46df64(0x28c)]=_0x270b9f['dHCAz'],PerformanceTester['end'](PerformanceHookEvents[_0x46df64(0x21f)],![],_0x3a631f,_0x52cc39);}}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x23f)]['comment'],_0x4e8bc5=>{const _0x34641f=_0x4b3257;PerformanceTester['start'](PerformanceHookEvents[_0x34641f(0x21f)]);try{process[_0x34641f(0x1da)](_0x34641f(0x1c6)+process[_0x34641f(0x1de)],{'timestamp':new Date()[_0x34641f(0x24c)](),'level':_0x270b9f[_0x34641f(0x284)],'message':_0x4e8bc5,'kind':_0x270b9f[_0x34641f(0x1fd)],'http_response':{}});}catch(_0x15d4df){PerformanceTester['captureError'](_0x15d4df);const _0x54ff7b={};_0x54ff7b[_0x34641f(0x28c)]=_0x270b9f[_0x34641f(0x243)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x15d4df,_0x54ff7b);}const _0x3b1708={};_0x3b1708[_0x34641f(0x28c)]=_0x270b9f['dewNj'],PerformanceTester[_0x34641f(0x234)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3b1708);}),CodeceptJS[_0x4b3257(0x1c1)][_0x4b3257(0x26e)]['on'](CodeceptJS[_0x4b3257(0x1c1)]['bddStep'][_0x4b3257(0x1fe)],_0x397a51=>{const _0x9e14fd=_0x4b3257,_0x5366c0={};_0x5366c0[_0x9e14fd(0x28c)]=_0x270b9f[_0x9e14fd(0x27a)],PerformanceTester[_0x9e14fd(0x204)](PerformanceHookEvents[_0x9e14fd(0x21f)],()=>{const _0x3001ac=_0x9e14fd;_0x298341[_0x3001ac(0x1c3)](_0x397a51);},_0x5366c0)();}),CodeceptJS[_0x4b3257(0x1c1)]['dispatcher']['on'](CodeceptJS[_0x4b3257(0x1c1)]['bddStep'][_0x4b3257(0x26a)],_0x73b014=>{const _0x52eec=_0x4b3257,_0x4286d4={};_0x4286d4[_0x52eec(0x28c)]=_0x270b9f['wIbNI'],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x17a3b7=_0x52eec;_0x298341[_0x17a3b7(0x26f)](_0x73b014);},_0x4286d4)();});};
|
|
1
|
+
function a1_0x2027(_0x379650,_0x15ffa8){const _0x333091=a1_0x3330();return a1_0x2027=function(_0x202748,_0x40943d){_0x202748=_0x202748-0xab;let _0xbf4d1a=_0x333091[_0x202748];return _0xbf4d1a;},a1_0x2027(_0x379650,_0x15ffa8);}function a1_0x3330(){const _0x1e0746=['AhKls','filter','Puppeteer','HOOK_RUN_FINISHED','2207403HvhEqX','stringify','../../helpers/globals.js','SQFYt','test-passed','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','shouldWrapCommand','XgVaM','addRequestSpy','hook-started','codeceptjs/lib/helper/WebDriver.js','bddStep-after','ouzdZ','bddStepFinish','./helper.js','stopMonitoring','ccdiw','LmKqJ','saveTestResults','startMonitoring','browserContext','../../helpers/accessibility-automation/scripts','gFryM','setSessionName','thTestRunUuid','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','INFO','browserstackTestName','apply','YIveo','BRTZp','readFileSync','1932540ZLuoFe','saveScreenshot','SDK_PRE_TEST','add','Screenshot\x20path\x20not\x20found','rtuKB','hookType','then','kdcBA','debug','vBxqW','auTqf','XwGKu','SDK_PRE_INITIALIZE','test-failed','codeceptjs/lib/index.js','test-before','exsWQ','Suite','slice','fireEvent','warn','browserStackExecuteDriver','ZrgzR','TEST_RUN_FINISHED','setGlobal','getAccessibilityResultsSummary','SESSION_STATUS','Failed\x20to\x20execute\x20_before:\x20','getAccessibilityResults','../../helpers/logger','exports','eKGvd','SAVE_RESULTS','start','PERFORM_SCAN','event','test','SDK_POST_INITIALIZE','2577862loRzCv','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','toISOString','container','browser','jJCxE','Performing\x20scan\x20for\x20','WQSeZ','lhLWB','CtepL','test-skipped','eCfhk','OMjpM','passed','vfbXI','_before','../../helpers/accessibility-automation/helper','../../bin/playwright/sessionDetails','HOOK_RUN_STARTED','BROWSERSTACK_TESTHUB_UUID','hook-failed','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','1UBilpJ','GET_RESULTS','hook-passed','XDxkS','after','captureEvent','constructor','DvPZo','kIjNc','kHaYF','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','lqAeA','reason','Element','skipped','593146HUMMSv','restore','dBEQJ','info','end','skipSessionStatus','RYwMz','title','contexts','commandsToWrap','__skipSessionStatus','browserstack_executor:\x20','SDK_POST_TEST','nroOP','wQtZw','performScan','KKMTB','oeaQz','codeceptjs/lib/recorder.js','name','captureError','hook','kfbuO','codeceptjs','failed','ctYDo','helpers','started','find','SESSION_NAME','wlgnB','prototype','bddStep','codeceptjs/lib/helper/Playwright.js','../../helpers/performance/constants','command','SDK_TEST','EZjQh','qiNhW','class','ctx','SYNC','catch','SDK_HOOK','TEST_RUN_SKIPPED','bs:addLog:','../../bin/playwright/accessibility-helper','FVlES','screenshotOutputFolder','test-after','patchSaveScreenshot','test-started','action','ajNhq','CNDfl','CcrWy','before','jIjeA','titlePath','env','all','bind','319365ZuuLlf','accessibilityPlatform','xered','overwriteCommand','rxjLd','ijsqI','setSessionStatus','step','YdJQt','emit','sYhUR','../../helpers/testhub/constants.js','__driver','bstackAllyScanning','ZyixC','LgKaA','XOYTz','format','jZBic','TEST_RUN_STARTED','measureWrapper','TEST_SCREENSHOT','skipSessionName','initSaveScreenshot','rgvQH','TEST_LOG','dispatcher','Playwright','EshhR','4xpHAAZ','afterTest','winstonLogger','WebDriver','executeScript','enabled','patch','2016224CJxzOg','421707PStvdG','pid','mTcmV','oEAtK'];a1_0x3330=function(){return _0x1e0746;};return a1_0x3330();}const a1_0x4bb767=a1_0x2027;(function(_0x1bb368,_0x5f51b1){const _0x48d89f=a1_0x2027,_0x46dd36=_0x1bb368();while(!![]){try{const _0x2b4f3c=parseInt(_0x48d89f(0x142))/0x1*(-parseInt(_0x48d89f(0x151))/0x2)+parseInt(_0x48d89f(0xdd))/0x3*(parseInt(_0x48d89f(0xd5))/0x4)+-parseInt(_0x48d89f(0xb8))/0x5+parseInt(_0x48d89f(0x105))/0x6+-parseInt(_0x48d89f(0x12c))/0x7+parseInt(_0x48d89f(0xdc))/0x8+parseInt(_0x48d89f(0xe5))/0x9;if(_0x2b4f3c===_0x5f51b1)break;else _0x46dd36['push'](_0x46dd36['shift']());}catch(_0x381db){_0x46dd36['push'](_0x46dd36['shift']());}}}(a1_0x3330,0x3874a));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4bb767(0x123))[a1_0x4bb767(0xd7)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x4bb767(0x13d)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4bb767(0x13c)),AccessibilityHelper=require(a1_0x4bb767(0x17f)),scripts=require(a1_0x4bb767(0xfa)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4bb767(0x173)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4bb767(0xf3)),testHubConstants=require(a1_0x4bb767(0xc3)),globals=require(a1_0x4bb767(0xe7)),CodeceptJS=requireModule(a1_0x4bb767(0x114),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x4bb767(0x168)),CodeceptWebDriver=requireModule(a1_0x4bb767(0xef),a1_0x4bb767(0x168)),CodeceptRecorder=requireModule(a1_0x4bb767(0x163),a1_0x4bb767(0x168)),CodeceptPlaywright=requireModule(a1_0x4bb767(0x172),'codeceptjs'),playwrightMarkSessionStatus=(_0x52239e,_0x1e80a5,_0x2f3547)=>{const _0x30699c=a1_0x4bb767,_0x34da62={'rtuKB':_0x30699c(0xbe),'cklit':function(_0x4789f5,_0x4289cb){return _0x4789f5(_0x4289cb);}},_0xca47f2={};_0xca47f2['status']=_0x1e80a5;const _0x83d808={};_0x83d808[_0x30699c(0xae)]=_0x34da62[_0x30699c(0x10a)],_0x83d808['arguments']=_0xca47f2;const _0x121570=_0x83d808;return!_0x34da62['cklit'](isUndefined,_0x2f3547)&&(_0x121570['arguments'][_0x30699c(0x14e)]=JSON[_0x30699c(0xe6)](_0x2f3547)),_0x52239e[_0x30699c(0xd9)](()=>{},'browserstack_executor:\x20'+JSON[_0x30699c(0xe6)](_0x121570));},o11ySync=PerformanceTester[a1_0x4bb767(0xcc)](PerformanceO11yEvents[a1_0x4bb767(0x17a)],async _0x22fc32=>{const _0x27d92f=a1_0x4bb767,_0x618fe8={};_0x618fe8[_0x27d92f(0xbc)]=function(_0x19de51,_0x130511){return _0x19de51===_0x130511;},_0x618fe8[_0x27d92f(0xc0)]='Playwright';const _0x4c7e94=_0x618fe8;_0x4c7e94['rxjLd'](_0x22fc32[_0x27d92f(0x148)][_0x27d92f(0x164)],_0x4c7e94[_0x27d92f(0xc0)])?await _0x22fc32[_0x27d92f(0xd9)](_0x17b0df=>{},testOpsHelper['getSyncScript']()):await _0x22fc32['executeScript'](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x4bb767(0xcc)](PerformanceAutEvents[a1_0x4bb767(0x16e)],async(_0x5c6266,_0x524b6c)=>{const _0x3a3794=a1_0x4bb767,_0x2a35e5={};_0x2a35e5['jZBic']=_0x3a3794(0xfc),_0x2a35e5[_0x3a3794(0x149)]=function(_0x2e1fe1,_0x21b09a){return _0x2e1fe1===_0x21b09a;},_0x2a35e5[_0x3a3794(0xdf)]='Playwright';const _0x78e7b0=_0x2a35e5,_0x2aea60={};_0x2aea60[_0x3a3794(0x164)]=_0x524b6c;const _0x2ffe9f={};_0x2ffe9f['action']=_0x78e7b0[_0x3a3794(0xca)],_0x2ffe9f['arguments']=_0x2aea60;const _0x42151e=_0x2ffe9f;_0x78e7b0['DvPZo'](_0x5c6266[_0x3a3794(0x148)][_0x3a3794(0x164)],_0x78e7b0[_0x3a3794(0xdf)])?await _0x5c6266[_0x3a3794(0xd9)](()=>{},_0x3a3794(0x15c)+JSON['stringify'](_0x42151e)):await _0x5c6266['executeScript'](_0x3a3794(0x15c)+JSON[_0x3a3794(0xe6)](_0x42151e));}),patchSaveScreenshot=_0xd38207=>{const _0x225fa9=a1_0x4bb767,_0x2e8d4f={'FVlES':'base64','SQFYt':_0x225fa9(0xcd),'lhLWB':function(_0x305631){return _0x305631();},'vBxqW':function(_0xf4048,_0x467a29){return _0xf4048(_0x467a29);},'uHUsW':_0x225fa9(0x109)};_0x2e8d4f[_0x225fa9(0x10f)](isTrue,process[_0x225fa9(0xb5)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0xd38207[_0x225fa9(0xac)]&&(_0xd38207[_0x225fa9(0xac)]=!![],_0xd38207[_0x225fa9(0xcf)]=_0xd38207[_0x225fa9(0x106)],_0xd38207[_0x225fa9(0x106)]=(_0x230a83,_0x3a2c01=![])=>{const _0x4e504e=_0x225fa9,_0x4dc59d={'tbZih':_0x2e8d4f[_0x4e504e(0x180)],'nTbEZ':_0x2e8d4f[_0x4e504e(0xe8)],'kIjNc':function(_0x31d8a8){const _0x370e8b=_0x4e504e;return _0x2e8d4f[_0x370e8b(0x134)](_0x31d8a8);},'saEfm':function(_0xf1ef70,_0x2a2451){const _0x1fc952=_0x4e504e;return _0x2e8d4f[_0x1fc952(0x10f)](_0xf1ef70,_0x2a2451);},'WQSeZ':_0x2e8d4f['uHUsW']};return new Promise(function(_0x2c285b,_0x1e1ea3){const _0x5ebebf=_0x4e504e,_0x2d50e2={'kdcBA':_0x4dc59d['tbZih'],'kfbuO':_0x4dc59d['nTbEZ'],'hisFg':function(_0x46476f){const _0x3a5797=a1_0x2027;return _0x4dc59d[_0x3a5797(0x14a)](_0x46476f);},'OMjpM':function(_0x170026,_0x457516){return _0x4dc59d['saEfm'](_0x170026,_0x457516);},'ouzdZ':_0x4dc59d[_0x5ebebf(0x133)]};_0xd38207[_0x5ebebf(0xcf)](_0x230a83,_0x3a2c01)[_0x5ebebf(0x10c)](()=>{const _0xd33940=_0x5ebebf,_0x30ef0c=CodeceptUtils[_0xd33940(0x181)](_0x230a83);if(_0x30ef0c){const _0x57350f=fs[_0xd33940(0x104)](_0x30ef0c);process['emit'](_0xd33940(0x17e)+process[_0xd33940(0xde)],{'timestamp':new Date()[_0xd33940(0x12e)](),'message':_0x57350f['toString'](_0x2d50e2[_0xd33940(0x10d)]),'kind':_0x2d50e2[_0xd33940(0x167)]}),_0x2d50e2['hisFg'](_0x2c285b);}_0x2d50e2[_0xd33940(0x138)](_0x1e1ea3,new Error(_0x2d50e2[_0xd33940(0xf1)]));})[_0x5ebebf(0x17b)](()=>null);});});},patchWebDriverBefore=_0x58ca68=>{const _0x3d2a22=a1_0x4bb767,_0x3a9daf={'oeaQz':function(_0x13ff4a){return _0x13ff4a();},'qiNhW':function(_0x2f4fd6,_0x237e57){return _0x2f4fd6(_0x237e57);},'vxpxi':function(_0x2ba455,_0x47d9e9){return _0x2ba455===_0x47d9e9;},'LxSNI':_0x3d2a22(0x14f)},_0x1ccfcf=async function(_0x578b29,_0x1dfff7){const _0x48eb4b=_0x3d2a22;return _0x3a9daf[_0x48eb4b(0x162)](isAccessibilityAutomationSession)&&!global[_0x48eb4b(0xc5)]&&global['accessibilityPlatform']&&scripts[_0x48eb4b(0xeb)](_0x578b29['name'])&&_0x3a9daf[_0x48eb4b(0x177)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x48eb4b(0xcc)](PerformanceA11yEvents[_0x48eb4b(0x128)],async()=>{const _0x2f8343=_0x48eb4b;logger[_0x2f8343(0x10e)](_0x2f8343(0x132)+_0x578b29[_0x2f8343(0x178)]+'\x20'+_0x578b29[_0x2f8343(0x164)]),await AccessibilityHelper[_0x2f8343(0x11b)](_0x58ca68,scripts['performScan']);},{'command':_0x578b29[_0x48eb4b(0x164)]})()),global[_0x48eb4b(0xc5)]=![],_0x1dfff7[_0x48eb4b(0x101)](this,Array[_0x48eb4b(0x170)][_0x48eb4b(0x118)]['call'](arguments,0x2));},_0x1dd0f3=CodeceptWebDriver[_0x3d2a22(0x170)][_0x3d2a22(0x13b)];CodeceptWebDriver[_0x3d2a22(0x170)][_0x3d2a22(0x13b)]=async function(){const _0x27c011=_0x3d2a22;try{await _0x1dd0f3[_0x27c011(0x101)](this,arguments);}catch(_0x2b911b){logger[_0x27c011(0x10e)](_0x27c011(0x121)+util[_0x27c011(0xc9)](_0x2b911b));}scripts[_0x27c011(0x15a)][_0x27c011(0xe2)](_0x30e596=>_0x30e596[_0x27c011(0x164)]&&_0x30e596[_0x27c011(0x178)])['forEach'](_0x49158b=>{const _0x5e0642=_0x27c011;this[_0x5e0642(0x130)][_0x5e0642(0xbb)](_0x49158b['name'],_0x1ccfcf[_0x5e0642(0xb7)](this,_0x49158b),_0x3a9daf['vxpxi'](_0x49158b['class'],_0x3a9daf['LxSNI']));}),_0x3a9daf['qiNhW'](processWebDriverConfig,_0x58ca68);};},patchPlaywrightBefore=()=>{const _0xf4e46d=a1_0x4bb767;PlaywrightSessionDetails[_0xf4e46d(0xdb)]();const _0x2079e5=CodeceptPlaywright[_0xf4e46d(0x170)][_0xf4e46d(0x13b)];CodeceptPlaywright['prototype']['_before']=async function(){const _0x25e6ef=_0xf4e46d;this[_0x25e6ef(0xf9)]=await this['browser'][_0x25e6ef(0x159)]()[0x0],await _0x2079e5[_0x25e6ef(0x101)](this,arguments);};},getCodeceptDriver=()=>{const _0x2088c3=a1_0x4bb767,_0x2f8026={};_0x2f8026[_0x2088c3(0xb1)]=_0x2088c3(0xd8),_0x2f8026[_0x2088c3(0xc8)]=_0x2088c3(0xd3),_0x2f8026[_0x2088c3(0xc2)]=_0x2088c3(0xe3),_0x2f8026[_0x2088c3(0x125)]='TestCafe';const _0x2569cb=_0x2f8026,_0x113308=[_0x2569cb[_0x2088c3(0xb1)],_0x2569cb[_0x2088c3(0xc8)],_0x2569cb[_0x2088c3(0xc2)],_0x2569cb[_0x2088c3(0x125)]],_0x34f006=_0x113308[_0x2088c3(0x16d)](_0x49f73=>!!CodeceptJS['container'][_0x2088c3(0x16b)](_0x49f73));if(!_0x34f006)return null;return CodeceptJS[_0x2088c3(0x12f)][_0x2088c3(0x16b)](_0x34f006);};module[a1_0x4bb767(0x124)]=function(_0x1fc05c){const _0x73f717=a1_0x4bb767,_0x23f75d={'ZyixC':function(_0x5c8ebd){return _0x5c8ebd();},'HBEbb':function(_0x5cd93e,_0x16e788){return _0x5cd93e(_0x16e788);},'exsWQ':'getAccessibilityResultsSummary','BRTZp':_0x73f717(0x12d),'KUvpD':'getAccessibilityResults','gFryM':_0x73f717(0x141),'jIjeA':function(_0x522330,_0x406636){return _0x522330(_0x406636);},'AhKls':_0x73f717(0xee),'wQtZw':_0x73f717(0x144),'kHaYF':_0x73f717(0x140),'xered':_0x73f717(0x100),'eCfhk':_0x73f717(0x115),'XgVaM':function(_0x2875f4,_0x3de3a6){return _0x2875f4(_0x3de3a6);},'XDxkS':function(_0x2651db,_0x517fcd,_0x146bf8){return _0x2651db(_0x517fcd,_0x146bf8);},'LmKqJ':_0x73f717(0xad),'xigky':function(_0x186139){return _0x186139();},'CtepL':function(_0x54368f,_0x4cced2,_0x4eb17f){return _0x54368f(_0x4cced2,_0x4eb17f);},'KKMTB':_0x73f717(0xe9),'RYwMz':function(_0x2b0bb2){return _0x2b0bb2();},'EZjQh':function(_0x340913,_0x45df01,_0x212b06,_0x247635){return _0x340913(_0x45df01,_0x212b06,_0x247635);},'YIveo':function(_0x438cc1,_0x137017,_0x548d6c,_0x5680dd){return _0x438cc1(_0x137017,_0x548d6c,_0x5680dd);},'XwGKu':function(_0x22dbe9,_0x19cd37){return _0x22dbe9===_0x19cd37;},'VunhU':_0x73f717(0x117),'ijsqI':_0x73f717(0x113),'LgKaA':_0x73f717(0x136),'SWAjb':_0x73f717(0xd6),'dBEQJ':function(_0x14e50f){return _0x14e50f();},'CAour':_0x73f717(0x14c),'nroOP':_0x73f717(0xab),'jJCxE':_0x73f717(0xff),'vfbXI':_0x73f717(0xd1),'CNDfl':'step-comment','ccdiw':'bddStep-before','zdzMu':_0x73f717(0xf0),'wlgnB':'Playwright'};_0x1fc05c[_0x73f717(0x156)]&&(global[_0x73f717(0x15b)]=_0x1fc05c[_0x73f717(0x156)]);PerformanceTester[_0x73f717(0xf8)]();const _0x2cd71f=_0x23f75d['ZyixC'](getCodeceptDriver),_0x264751=new O11yHelper(_0x2cd71f,_0x1fc05c),_0x2f6b0c=!!CodeceptJS[_0x73f717(0x12f)][_0x73f717(0x16b)](_0x23f75d[_0x73f717(0x16f)]);global[_0x73f717(0xc4)]=_0x2cd71f,_0x2cd71f&&(PerformanceTester[_0x73f717(0xcc)](PerformanceEvents[_0x73f717(0x112)],()=>{const _0xd707f0=_0x73f717;_0x2f6b0c?_0x23f75d[_0xd707f0(0xc6)](patchPlaywrightBefore):_0x23f75d['HBEbb'](patchWebDriverBefore,_0x2cd71f);})(),PerformanceTester[_0x73f717(0xcc)](PerformanceEvents[_0x73f717(0x12b)],()=>{const _0x79b857=_0x73f717,_0x37cd50={};_0x37cd50['ajNhq']=_0x23f75d[_0x79b857(0x116)],_0x37cd50[_0x79b857(0xd0)]=_0x23f75d[_0x79b857(0x103)],_0x37cd50[_0x79b857(0xe0)]=_0x23f75d['KUvpD'],_0x37cd50[_0x79b857(0x11c)]=_0x23f75d[_0x79b857(0xfb)];const _0x4494b6=_0x37cd50;_0x2cd71f[_0x79b857(0x11f)]=async()=>{const _0x3804bd=_0x79b857;if(global['accessibilityPlatform']){const _0x3d57a6={};_0x3d57a6[_0x3804bd(0x174)]=_0x4494b6[_0x3804bd(0xaf)],await PerformanceTester[_0x3804bd(0xcc)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1dd45c=_0x3804bd;await AccessibilityHelper[_0x1dd45c(0x11b)](_0x2cd71f,scripts[_0x1dd45c(0x160)]);},_0x3d57a6)(),await PerformanceTester[_0x3804bd(0xcc)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x2cd71f,scripts['getResultsSummary']);})();}else return logger['warn'](_0x4494b6[_0x3804bd(0xd0)]),{};},_0x2cd71f[_0x79b857(0x122)]=async()=>{const _0x316953=_0x79b857;if(global[_0x316953(0xb9)]){const _0x4830ff={};_0x4830ff[_0x316953(0x174)]=_0x4494b6[_0x316953(0xe0)],await PerformanceTester[_0x316953(0xcc)](PerformanceA11yEvents[_0x316953(0x128)],async()=>{const _0x1ecd08=_0x316953;await AccessibilityHelper[_0x1ecd08(0x11b)](_0x2cd71f,scripts[_0x1ecd08(0x160)]);},_0x4830ff)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x316953(0x143)],async()=>{const _0x429752=_0x316953;await AccessibilityHelper[_0x429752(0x11b)](_0x2cd71f,scripts['getResults']);})();}else return logger[_0x316953(0x11a)](_0x4494b6['ZrgzR']),{};},_0x23f75d[_0x79b857(0xb3)](patchSaveScreenshot,_0x2cd71f);})()),CodeceptJS[_0x73f717(0x129)]['dispatcher']['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0xb6)][_0x73f717(0xb2)],()=>{const _0x341ec5=_0x73f717;PerformanceTester[_0x341ec5(0x127)](PerformanceEvents[_0x341ec5(0x107)]);try{_0x264751[_0x341ec5(0x127)](),testOpsHelper[_0x341ec5(0xed)](),PerformanceTester[_0x341ec5(0x155)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x3c93a5){PerformanceTester['captureError'](_0x3c93a5),PerformanceTester['end'](PerformanceEvents[_0x341ec5(0x107)],![],_0x3c93a5);}}),CodeceptJS[_0x73f717(0x129)]['dispatcher']['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0xb6)][_0x73f717(0x146)],async()=>{const _0x23bbae=_0x73f717;PerformanceTester[_0x23bbae(0x127)](PerformanceEvents[_0x23bbae(0x15d)]);try{requestSpy[_0x23bbae(0x152)](),await _0x264751['stop'](),PerformanceTester[_0x23bbae(0x155)](PerformanceEvents[_0x23bbae(0x15d)]);}catch(_0x1a79ef){PerformanceTester[_0x23bbae(0x165)](_0x1a79ef),PerformanceTester[_0x23bbae(0x155)](PerformanceEvents[_0x23bbae(0x15d)],![],_0x1a79ef);}finally{PerformanceTester[_0x23bbae(0xf4)]();}}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0x166)][_0x73f717(0x16c)],_0x4bc4df=>{const _0x52a22a=_0x73f717;PerformanceTester[_0x52a22a(0x127)](PerformanceEvents[_0x52a22a(0x17c)]);try{const _0x5bdfc7=_0x4bc4df['ctx'][_0x52a22a(0x12a)],_0x4b3e00=_0x264751['captureEvent'](TEST_EVENTS[_0x52a22a(0x13e)],_0x5bdfc7);CodeceptRecorder[_0x52a22a(0x108)](()=>_0x264751[_0x52a22a(0x119)](TEST_EVENTS[_0x52a22a(0x13e)],_0x4b3e00));const _0x15ed08={};_0x15ed08[_0x52a22a(0x10b)]=_0x23f75d[_0x52a22a(0xe1)],PerformanceTester[_0x52a22a(0x155)](PerformanceEvents[_0x52a22a(0x17c)],!![],null,_0x15ed08);}catch(_0x5a02ec){const _0x49b371={};_0x49b371[_0x52a22a(0x10b)]=_0x23f75d[_0x52a22a(0xe1)],PerformanceTester[_0x52a22a(0x155)](PerformanceEvents['SDK_HOOK'],![],_0x5a02ec,_0x49b371),PerformanceTester[_0x52a22a(0x165)](_0x5a02ec);}}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0x166)][_0x73f717(0x139)],_0x163d3e=>{const _0x4815fd=_0x73f717,_0x5378c1={};_0x5378c1[_0x4815fd(0x10b)]=_0x23f75d[_0x4815fd(0x15f)],PerformanceTester[_0x4815fd(0x127)](PerformanceHookEvents[_0x4815fd(0x17c)],!![],null,_0x5378c1);try{const _0x56310f=_0x163d3e[_0x4815fd(0x179)][_0x4815fd(0x12a)],_0x2d805f=_0x264751[_0x4815fd(0x147)](TEST_EVENTS[_0x4815fd(0xe4)],_0x56310f);CodeceptRecorder[_0x4815fd(0x108)](()=>_0x264751[_0x4815fd(0x119)](TEST_EVENTS[_0x4815fd(0xe4)],_0x2d805f));const _0x334c96={};_0x334c96[_0x4815fd(0x10b)]=_0x23f75d[_0x4815fd(0x15f)],PerformanceTester['end'](PerformanceHookEvents[_0x4815fd(0x17c)],!![],null,_0x334c96);}catch(_0x5125d8){PerformanceTester[_0x4815fd(0x165)](_0x5125d8);const _0x2a828a={};_0x2a828a[_0x4815fd(0x10b)]=_0x23f75d[_0x4815fd(0x15f)],PerformanceTester[_0x4815fd(0x155)](PerformanceHookEvents['SDK_HOOK'],![],_0x5125d8,_0x2a828a);}}),CodeceptJS[_0x73f717(0x129)]['dispatcher']['on'](CodeceptJS['event'][_0x73f717(0x166)][_0x73f717(0x169)],async(_0x4f951f,_0x5dc5fd)=>{const _0x49baa8=_0x73f717;PerformanceTester[_0x49baa8(0x127)](PerformanceHookEvents[_0x49baa8(0x17c)]);try{const _0x1515b0=_0x4f951f[_0x49baa8(0x179)][_0x49baa8(0x12a)],_0x5444db=_0x264751[_0x49baa8(0x147)](TEST_EVENTS[_0x49baa8(0xe4)],_0x1515b0,_0x5dc5fd);CodeceptRecorder[_0x49baa8(0x108)](()=>_0x264751[_0x49baa8(0x119)](TEST_EVENTS[_0x49baa8(0xe4)],_0x5444db));const _0x159d8e={};_0x159d8e[_0x49baa8(0x10b)]=_0x23f75d['kHaYF'],PerformanceTester['start'](PerformanceHookEvents[_0x49baa8(0x17c)],!![],null,_0x159d8e);}catch(_0x555c7f){PerformanceTester[_0x49baa8(0x165)](_0x555c7f);const _0x434c39={};_0x434c39[_0x49baa8(0x10b)]=_0x23f75d['kHaYF'],PerformanceTester[_0x49baa8(0x155)](PerformanceHookEvents['SDK_HOOK'],![],_0x555c7f,_0x434c39);}const _0x50b2c6={};_0x50b2c6[_0x49baa8(0x10b)]=_0x23f75d[_0x49baa8(0x14b)],PerformanceTester[_0x49baa8(0x155)](PerformanceHookEvents[_0x49baa8(0x17c)],!![],null,_0x50b2c6);}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0x12a)][_0x73f717(0xb2)],_0x4752f7=>{const _0xcea9a5=_0x73f717;PerformanceTester[_0xcea9a5(0x127)](PerformanceHookEvents[_0xcea9a5(0x17c)]);try{globals[_0xcea9a5(0x11e)](_0x23f75d[_0xcea9a5(0xba)],_0x4752f7[_0xcea9a5(0x158)]);_0x23f75d['ZyixC'](isBrowserstackInfra)&&(_0x2f6b0c&&(global['__workerDetails']={'currentTest':{'name':_0x4752f7[_0xcea9a5(0x158)],'testInfo':{'titlePath':_0x4752f7[_0xcea9a5(0xb4)]()}}}));const _0x2433c4={};_0x2433c4['hookType']=_0x23f75d['eCfhk'],PerformanceTester[_0xcea9a5(0x155)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2433c4);}catch(_0x4d1232){PerformanceTester[_0xcea9a5(0x165)](_0x4d1232);const _0x56d102={};_0x56d102[_0xcea9a5(0x10b)]=_0x23f75d[_0xcea9a5(0x137)],PerformanceTester[_0xcea9a5(0x155)](PerformanceHookEvents[_0xcea9a5(0x17c)],![],_0x4d1232,_0x56d102);}}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0x12a)][_0x73f717(0x16c)],_0x18c5b6=>{const _0x469c29=_0x73f717,_0x1588e8={'ctYDo':function(_0x597c7b){const _0x4f6cce=a1_0x2027;return _0x23f75d[_0x4f6cce(0xc6)](_0x597c7b);},'auTqf':function(_0x4d79f6,_0x4cc886){const _0x4de7b5=a1_0x2027;return _0x23f75d[_0x4de7b5(0xec)](_0x4d79f6,_0x4cc886);},'EshhR':function(_0x419740,_0x396d9a,_0x27643f){const _0x250eec=a1_0x2027;return _0x23f75d[_0x250eec(0x145)](_0x419740,_0x396d9a,_0x27643f);}};PerformanceTester['start'](PerformanceHookEvents[_0x469c29(0x17c)]);try{globals[_0x469c29(0x11e)](_0x23f75d[_0x469c29(0xba)],_0x18c5b6['title']);const _0x3dc4f3=_0x264751[_0x469c29(0x147)](TEST_EVENTS[_0x469c29(0xcb)],_0x18c5b6);CodeceptRecorder['add'](()=>_0x264751[_0x469c29(0x119)](TEST_EVENTS['TEST_RUN_STARTED'],_0x3dc4f3)),CodeceptRecorder['add'](async()=>{const _0x3e2b9c=_0x469c29;_0x1588e8[_0x3e2b9c(0x16a)](isBrowserstackInfra)&&(!_0x1588e8[_0x3e2b9c(0x110)](isTrue,_0x1fc05c[_0x3e2b9c(0xce)])&&await _0x1588e8[_0x3e2b9c(0xd4)](markSessionName,_0x2cd71f,_0x18c5b6[_0x3e2b9c(0x158)]),_0x264751[_0x3e2b9c(0xda)]&&await _0x1588e8['auTqf'](o11ySync,_0x2cd71f));});}catch(_0x4c9f3c){const _0x59afc8={};_0x59afc8[_0x469c29(0x10b)]=_0x23f75d[_0x469c29(0xf6)],PerformanceTester['end'](PerformanceHookEvents[_0x469c29(0x17c)],![],_0x4c9f3c,_0x59afc8),PerformanceTester[_0x469c29(0x165)](_0x4c9f3c);}const _0x5d43b0={};_0x5d43b0['hookType']=_0x23f75d[_0x469c29(0xf6)],PerformanceTester[_0x469c29(0x155)](PerformanceHookEvents[_0x469c29(0x17c)],!![],null,_0x5d43b0);}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0x12a)][_0x73f717(0x139)],_0x153a7f=>{const _0xef12d3=_0x73f717,_0x235e8c={'lqAeA':function(_0x26db57,_0x470849,_0x242a7c){const _0x326a81=a1_0x2027;return _0x23f75d[_0x326a81(0x135)](_0x26db57,_0x470849,_0x242a7c);},'pgxfO':function(_0x2928fd,_0x498ddf,_0x4a2b57){const _0x4820cc=a1_0x2027;return _0x23f75d[_0x4820cc(0x145)](_0x2928fd,_0x498ddf,_0x4a2b57);}};PerformanceTester['start'](PerformanceHookEvents[_0xef12d3(0x17c)]);try{const _0x3b7885=_0x264751[_0xef12d3(0x147)](TEST_EVENTS[_0xef12d3(0x11d)],_0x153a7f);CodeceptRecorder[_0xef12d3(0x108)](()=>_0x264751[_0xef12d3(0x119)](TEST_EVENTS[_0xef12d3(0x11d)],_0x3b7885)),CodeceptRecorder['add'](async()=>{const _0x592958=_0xef12d3;_0x23f75d['xigky'](isBrowserstackInfra)&&await PerformanceTester[_0x592958(0xcc)](PerformanceAutEvents[_0x592958(0x120)],async()=>{const _0x318bec=_0x592958;_0x2f6b0c?await _0x235e8c[_0x318bec(0x14d)](playwrightMarkSessionStatus,_0x2cd71f,STATE_PASSED):await _0x235e8c['pgxfO'](markSessionStatus,_0x2cd71f,STATE_PASSED);})();}),PerformanceTester[_0xef12d3(0x155)](PerformanceEvents[_0xef12d3(0x175)]);}catch(_0xbcb94c){PerformanceTester[_0xef12d3(0x165)](_0xbcb94c);const _0x41dc09={};_0x41dc09[_0xef12d3(0x10b)]=_0x23f75d[_0xef12d3(0x161)],PerformanceTester[_0xef12d3(0x155)](PerformanceHookEvents[_0xef12d3(0x17c)],![],_0xbcb94c,_0x41dc09),PerformanceTester['end'](PerformanceEvents[_0xef12d3(0x175)],![],_0xbcb94c);}const _0x45cd42={};_0x45cd42[_0xef12d3(0x10b)]=_0x23f75d[_0xef12d3(0x161)],PerformanceTester[_0xef12d3(0x155)](PerformanceHookEvents[_0xef12d3(0x17c)],!![],null,_0x45cd42);}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS['event'][_0x73f717(0x12a)][_0x73f717(0x169)],(_0x38389a,_0x512996)=>{const _0xdf0efd=_0x73f717;PerformanceTester['start'](PerformanceHookEvents[_0xdf0efd(0x17c)]);try{if(_0x23f75d[_0xdf0efd(0x111)](_0x38389a[_0xdf0efd(0x148)]['name'],_0x23f75d['VunhU'])){const _0x2e27ce=_0x264751['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x38389a[_0xdf0efd(0x179)]['currentTest']);CodeceptRecorder['add'](()=>_0x264751['fireEvent'](TEST_EVENTS[_0xdf0efd(0x17d)],_0x2e27ce));}else{const _0x633613=_0x264751[_0xdf0efd(0x147)](TEST_EVENTS[_0xdf0efd(0x11d)],_0x38389a,_0x512996);CodeceptRecorder['add'](()=>{const _0x36fb37=_0xdf0efd;try{_0x264751[_0x36fb37(0x119)](TEST_EVENTS[_0x36fb37(0x11d)],_0x633613);}catch(_0xe31431){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x36fb37(0xc9)](_0xe31431)),PerformanceTester[_0x36fb37(0x155)](PerformanceEvents[_0x36fb37(0x175)],![],_0xe31431);}}),CodeceptRecorder[_0xdf0efd(0x108)](async()=>{const _0x130779=_0xdf0efd;try{_0x23f75d[_0x130779(0x157)](isBrowserstackInfra)&&(_0x2f6b0c?await _0x23f75d[_0x130779(0x176)](playwrightMarkSessionStatus,_0x2cd71f,STATE_FAILED,_0x512996):await _0x23f75d[_0x130779(0x102)](markSessionStatus,_0x2cd71f,STATE_FAILED,_0x512996));}catch(_0x12ea7b){logger[_0x130779(0x10e)](_0x130779(0xea)+util[_0x130779(0xc9)](_0x12ea7b)),PerformanceTester[_0x130779(0x155)](PerformanceEvents['SDK_TEST'],![],_0x12ea7b);}});}PerformanceTester[_0xdf0efd(0x155)](PerformanceEvents['SDK_TEST']);}catch(_0x14bffb){PerformanceTester[_0xdf0efd(0x165)](_0x14bffb);const _0x4dc2e2={};_0x4dc2e2[_0xdf0efd(0x10b)]=_0x23f75d[_0xdf0efd(0xbd)],PerformanceTester[_0xdf0efd(0x155)](PerformanceHookEvents[_0xdf0efd(0x17c)],![],_0x14bffb,_0x4dc2e2),PerformanceTester[_0xdf0efd(0x155)](PerformanceEvents[_0xdf0efd(0x175)],![],_0x14bffb);}const _0x450225={};_0x450225['hookType']=_0x23f75d['ijsqI'],PerformanceTester['end'](PerformanceHookEvents[_0xdf0efd(0x17c)],!![],null,_0x450225);}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0x12a)][_0x73f717(0x150)],_0xf85ac3=>{const _0x45c88a=_0x73f717;PerformanceTester[_0x45c88a(0x127)](PerformanceHookEvents['SDK_HOOK']);try{const _0x22bdd8=_0x264751[_0x45c88a(0x147)](TEST_EVENTS[_0x45c88a(0x17d)],_0xf85ac3);CodeceptRecorder[_0x45c88a(0x108)](()=>_0x264751[_0x45c88a(0x119)](TEST_EVENTS[_0x45c88a(0x17d)],_0x22bdd8)),PerformanceTester[_0x45c88a(0x155)](PerformanceEvents[_0x45c88a(0x175)]);}catch(_0x1cf12d){PerformanceTester[_0x45c88a(0x165)](_0x1cf12d),PerformanceTester[_0x45c88a(0x155)](PerformanceEvents[_0x45c88a(0x175)],![],_0x1cf12d);const _0x5e3e15={};_0x5e3e15[_0x45c88a(0x10b)]=_0x23f75d[_0x45c88a(0xc7)],PerformanceTester[_0x45c88a(0x155)](PerformanceHookEvents[_0x45c88a(0x17c)],![],_0x1cf12d,_0x5e3e15);}const _0x420bb0={};_0x420bb0['hookType']=_0x23f75d[_0x45c88a(0xc7)],PerformanceTester[_0x45c88a(0x155)](PerformanceHookEvents[_0x45c88a(0x17c)],!![],null,_0x420bb0);}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS['event'][_0x73f717(0x12a)][_0x73f717(0x146)],async(_0x35ed5b,_0xfd920c)=>{const _0x409d52=_0x73f717;try{PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);if(_0x23f75d[_0x409d52(0xc6)](isBrowserstackInfra)){const _0x1b7fd9=_0x23f75d['CtepL'](shouldScanTestForAccessibility,_0x35ed5b[_0x409d52(0xb4)](),!![]);if(_0x23f75d[_0x409d52(0x153)](isAccessibilityAutomationSession)&&global[_0x409d52(0xb9)]&&_0x1b7fd9){const _0xee21b5={};_0xee21b5[_0x409d52(0xfd)]=_0x35ed5b['testAnalyticsId'],_0xee21b5['thBuildUuid']=process[_0x409d52(0xb5)][testHubConstants['ENV_VAR'][_0x409d52(0x13f)]],_0xee21b5['thJwtToken']=process[_0x409d52(0xb5)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2bec91=_0xee21b5;logger[_0x409d52(0x10e)](_0x409d52(0xfe)+JSON['stringify'](_0x2bec91)),CodeceptRecorder[_0x409d52(0x108)](async()=>{const _0x566211=_0x409d52,_0x5d51b6={};_0x5d51b6[_0x566211(0x174)]=_0x23f75d['SWAjb'],await PerformanceTester[_0x566211(0xcc)](PerformanceA11yEvents[_0x566211(0x128)],async()=>{const _0x5054b2=_0x566211;await AccessibilityHelper['browserStackExecuteDriver'](_0x2cd71f,scripts[_0x5054b2(0x160)]);},_0x5d51b6)(),await PerformanceTester[_0x566211(0xcc)](PerformanceA11yEvents[_0x566211(0x126)],async()=>{const _0xf9cbea=_0x566211;await AccessibilityHelper['browserStackExecuteDriver'](_0x2cd71f,scripts[_0xf9cbea(0xf7)],_0x2bec91);})();}),logger[_0x409d52(0x154)](_0x23f75d['CAour']);}}const _0x174cb9={};_0x174cb9['hookType']=_0x23f75d['nroOP'],PerformanceTester[_0x409d52(0x155)](PerformanceHookEvents[_0x409d52(0x17c)],!![],null,_0x174cb9);}catch(_0x1df9ad){PerformanceTester[_0x409d52(0x165)](_0x1df9ad);const _0x424c12={};_0x424c12[_0x409d52(0x10b)]=_0x23f75d[_0x409d52(0x15e)],PerformanceTester[_0x409d52(0x155)](PerformanceHookEvents[_0x409d52(0x17c)],![],_0x1df9ad,_0x424c12);}}),CodeceptJS[_0x73f717(0x129)][_0x73f717(0xd2)]['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0xbf)]['comment'],_0x513037=>{const _0x3b0f3d=_0x73f717;PerformanceTester[_0x3b0f3d(0x127)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x3b0f3d(0xc1)](_0x3b0f3d(0x17e)+process[_0x3b0f3d(0xde)],{'timestamp':new Date()[_0x3b0f3d(0x12e)](),'level':_0x23f75d[_0x3b0f3d(0x131)],'message':_0x513037,'kind':_0x23f75d[_0x3b0f3d(0x13a)],'http_response':{}});}catch(_0x11f80e){PerformanceTester[_0x3b0f3d(0x165)](_0x11f80e);const _0x35acb8={};_0x35acb8['hookType']=_0x23f75d[_0x3b0f3d(0xb0)],PerformanceTester[_0x3b0f3d(0x155)](PerformanceHookEvents[_0x3b0f3d(0x17c)],![],_0x11f80e,_0x35acb8);}const _0x31d4c5={};_0x31d4c5[_0x3b0f3d(0x10b)]=_0x23f75d[_0x3b0f3d(0xb0)],PerformanceTester[_0x3b0f3d(0x155)](PerformanceHookEvents[_0x3b0f3d(0x17c)],!![],null,_0x31d4c5);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x73f717(0x129)]['bddStep'][_0x73f717(0xb2)],_0x55af11=>{const _0x51ee66=_0x73f717,_0x3a170f={};_0x3a170f['hookType']=_0x23f75d[_0x51ee66(0xf5)],PerformanceTester[_0x51ee66(0xcc)](PerformanceHookEvents[_0x51ee66(0x17c)],()=>{_0x264751['bddStepStart'](_0x55af11);},_0x3a170f)();}),CodeceptJS[_0x73f717(0x129)]['dispatcher']['on'](CodeceptJS[_0x73f717(0x129)][_0x73f717(0x171)][_0x73f717(0x146)],_0x584421=>{const _0x3a21aa=_0x73f717,_0x16d43e={};_0x16d43e['hookType']=_0x23f75d['zdzMu'],PerformanceTester[_0x3a21aa(0xcc)](PerformanceHookEvents[_0x3a21aa(0x17c)],()=>{const _0x364768=_0x3a21aa;_0x264751[_0x364768(0xf2)](_0x584421);},_0x16d43e)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x3c71a=a2_0x5540;function a2_0x242b(){const _0x58e739=['GRfkC','title','FbHsN','result','event','debug','format','../../helpers/testhub/testhubHandler','../../helpers/logger','playwright-chromium','findIndex','jMqNF','err','plugins','chdir','path','join','../../helpers/accessibility-automation/helper','forEach','TsFLE','printBuildLink','getPlatformName','elvZI','../../helpers/test-observability/constants','BROWSERSTACK_TEST_ACCESSIBILITY_YML','env','EVENTS','gherkin','foGps','USER_CONFIG_DETAILS_PATH','info','dirname','3382856KzTuVF','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/helper','testObservability','log','profile','../../helpers/test-observability/utils','jRHmL','isEmpty','FRAMEWORKS','SDK_SETUP','browserName','nFbAe','browserStackCwd','5|3|4|2|1|0','BrowserStackPlugin','frameworkName','launchBuild','iqGke','skipSessionName','Started\x20:\x20','config','BrowserStackPlugin.js','accessibilityOptions','useW3C','../../helpers/BrowserStackSetup','root','../../helpers/utilities','hVuwn','vsgoO','40SxkbYP','codeceptjs/lib/index.js','winstonLogger','desiredCapabilities','Passed\x20:\x20','MzUbQ','toLowerCase','7969423wKvLdA','CODECEPT','754752fZzobz','teardownAll','skipSessionStatus','createGroupsOfSuites','failed','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','end','yOihU','addTests','khmAc','printResults','spawn','isUndefined','run','1331oguSLV','EKSdh','testConfig','validateRerunTestList','chromium','3uqxniO','map','require','5582718SGyPab','browserWSEndpoint','test','76988oFjkie','enabled','parallelsPerPlatform','testContextOptions','getUserWorkerCount','helpers','stop','length','setAdditionalCapabilities','KGlFa','validPlatformsPresent','BROWSERSTACK_RERUN','WebDriver','CEhMv','Failed\x20:\x20','chrome','VMIvF','../../bin/playwright/accessibility-helper','Nwbpl','7HuMYSB','platforms','handleApp','start','fmfRu','qzafs','bootstrapAll','1759106czoKSR','codecept.json','zKknT','pNAWI','slice','155SuBApE','BROWSERSTACK_RERUN_TESTS','process','playwright-firefox','accessibility','exports','passed','existsSync','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Workers','before','UXZux','webkit','stringify','isTrue','util','zeWrF','browser','split','prepareCapabilities','RjDfh','push','errorMessage','addConfig','load','getPlaywrightUrl','SDK_CLEANUP','cwd','SWjAJ','CODECEPT_CUCUMBER'];a2_0x242b=function(){return _0x58e739;};return a2_0x242b();}(function(_0x1b1d67,_0xb86e44){const _0x59a9ce=a2_0x5540,_0x5538ba=_0x1b1d67();while(!![]){try{const _0x3004b9=-parseInt(_0x59a9ce(0x1bb))/0x1+parseInt(_0x59a9ce(0x1e0))/0x2*(-parseInt(_0x59a9ce(0x1c0))/0x3)+-parseInt(_0x59a9ce(0x1c6))/0x4*(parseInt(_0x59a9ce(0x1e5))/0x5)+parseInt(_0x59a9ce(0x1ad))/0x6+-parseInt(_0x59a9ce(0x1d9))/0x7*(parseInt(_0x59a9ce(0x186))/0x8)+-parseInt(_0x59a9ce(0x1c3))/0x9+parseInt(_0x59a9ce(0x1a4))/0xa*(parseInt(_0x59a9ce(0x1ab))/0xb);if(_0x3004b9===_0xb86e44)break;else _0x5538ba['push'](_0x5538ba['shift']());}catch(_0x29450a){_0x5538ba['push'](_0x5538ba['shift']());}}}(a2_0x242b,0x7ad18));function a2_0x5540(_0x3971eb,_0x5cc8b8){const _0x242b8f=a2_0x242b();return a2_0x5540=function(_0x5540df,_0x3a8980){_0x5540df=_0x5540df-0x160;let _0x3ab423=_0x242b8f[_0x5540df];return _0x3ab423;},a2_0x5540(_0x3971eb,_0x5cc8b8);}const fs=require('fs'),path=require(a2_0x3c71a(0x175)),util=require(a2_0x3c71a(0x1f4)),process=require(a2_0x3c71a(0x1e7)),logger=require(a2_0x3c71a(0x16e))[a2_0x3c71a(0x1a6)],{default:BrowserStackSetup}=require(a2_0x3c71a(0x19f)),helper=require(a2_0x3c71a(0x188)),utilities=require(a2_0x3c71a(0x1a1)),{checkAccessibilityPlatformConfig}=require(a2_0x3c71a(0x177)),{setAccessibilityCapabilities}=require(a2_0x3c71a(0x1d7)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3c71a(0x188)),CodeceptJS=requireModule(a2_0x3c71a(0x1a5),'codeceptjs'),testOpsHelper=require(a2_0x3c71a(0x18c)),TestHubHandler=require(a2_0x3c71a(0x16d)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x3c71a(0x17d)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x3c71a(0x180)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2cd32d,_0xe16949)=>{const _0x4d98cc=a2_0x3c71a,_0x19fa77={};_0x19fa77['iGlyW']=function(_0x59b638,_0x132d5b){return _0x59b638===_0x132d5b;},_0x19fa77[_0x4d98cc(0x1f0)]='codecept.conf.js',_0x19fa77[_0x4d98cc(0x166)]=_0x4d98cc(0x1e1);const _0x59ea08=_0x19fa77;let _0x23b90c=null;const _0x21faea={};let _0x10ebeb=_0xe16949[_0x4d98cc(0x170)](_0x381bfc=>_0x381bfc==='--config');_0x59ea08['iGlyW'](_0x10ebeb,-0x1)&&(_0x10ebeb=_0xe16949[_0x4d98cc(0x170)](_0x3ae28f=>_0x3ae28f==='-c'));if(!helper['isUndefined'](_0x2cd32d[_0x4d98cc(0x19b)])&&fs['existsSync'](path[_0x4d98cc(0x176)](process['cwd'](),_0x2cd32d['config'])))_0x23b90c=path[_0x4d98cc(0x176)](process['cwd'](),_0x2cd32d[_0x4d98cc(0x19b)]),_0xe16949[_0x4d98cc(0x1e4)](_0x10ebeb,0x2);else{if(!helper['isUndefined'](_0x2cd32d['c'])&&fs['existsSync'](path[_0x4d98cc(0x176)](process[_0x4d98cc(0x163)](),_0x2cd32d['c'])))_0x23b90c=path['join'](process[_0x4d98cc(0x163)](),_0x2cd32d['c']),_0xe16949[_0x4d98cc(0x1e4)](_0x10ebeb,0x2);else{if(fs[_0x4d98cc(0x1ec)](path[_0x4d98cc(0x176)](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x1f0)])))_0x23b90c=path[_0x4d98cc(0x176)](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x1f0)]);else fs[_0x4d98cc(0x1ec)](path['join'](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x166)]))&&(_0x23b90c=path['join'](process[_0x4d98cc(0x163)](),_0x59ea08[_0x4d98cc(0x166)]));}}return process[_0x4d98cc(0x17f)][_0x4d98cc(0x183)]=_0x23b90c,_0x23b90c;},getO11yRerunPattern=()=>{const _0x5c016d=a2_0x3c71a,_0xc1a649=helper[_0x5c016d(0x1f3)](process[_0x5c016d(0x17f)][_0x5c016d(0x1d1)]);if(_0xc1a649){const _0x4d5aa4=process[_0x5c016d(0x17f)][_0x5c016d(0x1e6)],_0x96b735=[];if(helper[_0x5c016d(0x1be)](_0x4d5aa4)&&!helper[_0x5c016d(0x1b9)](_0x4d5aa4)){_0x4d5aa4[_0x5c016d(0x1f7)](',')[_0x5c016d(0x1c1)](_0x3c4c60=>{_0x96b735['push']('('+_0x3c4c60['trim']()+')');});const _0x5f3379='^'+_0x96b735['join']('|')+'$';return _0x5f3379;}}return null;},a2_0x1f79da={};a2_0x1f79da[a2_0x3c71a(0x1d5)]=a2_0x3c71a(0x1bf),a2_0x1f79da[a2_0x3c71a(0x16f)]=a2_0x3c71a(0x1bf),a2_0x1f79da[a2_0x3c71a(0x1e8)]='firefox',a2_0x1f79da['playwright-webkit']=a2_0x3c71a(0x1f1);const pwToCodeceptBrowser=a2_0x1f79da;async function run(_0x18fda2,_0x22e2d9,_0x533452){const _0x492742=a2_0x3c71a,_0x11b073={'elvZI':function(_0x31b692,_0x4e31fa){return _0x31b692+_0x4e31fa;},'iqGke':function(_0x1c46f9,_0x6716c3){return _0x1c46f9(_0x6716c3);},'fmfRu':function(_0x5d6805,_0x4b6c2b,_0x29b942){return _0x5d6805(_0x4b6c2b,_0x29b942);},'KGlFa':'helpers','FbHsN':function(_0x285f5c){return _0x285f5c();},'XHQet':_0x492742(0x1d4),'BKgPW':_0x492742(0x1a8),'Nwbpl':_0x492742(0x19a),'qzafs':_0x492742(0x194),'zeWrF':function(_0x14fb70,_0x518c65,_0x335e31){return _0x14fb70(_0x518c65,_0x335e31);},'TsFLE':_0x492742(0x1b2),'nFbAe':'Playwright','sxlRV':_0x492742(0x1d2),'jRHmL':function(_0x48bb91,_0x2d3c08){return _0x48bb91(_0x2d3c08);},'vsgoO':function(_0x37a59f,_0x21c68f){return _0x37a59f!=_0x21c68f;},'hVuwn':function(_0x3a1f31,_0x2eea19){return _0x3a1f31===_0x2eea19;},'CEhMv':_0x492742(0x181),'foGps':function(_0x4d5add,_0x2358a7){return _0x4d5add(_0x2358a7);},'khmAc':function(_0x3941c5,_0x589824){return _0x3941c5*_0x589824;},'pkReB':function(_0x11d7ad,_0x266a1b,_0x5442cc){return _0x11d7ad(_0x266a1b,_0x5442cc);},'EKSdh':_0x492742(0x1f6),'SWjAJ':function(_0x13a43b,_0x2561f4,_0x38cba5){return _0x13a43b(_0x2561f4,_0x38cba5);},'RjDfh':_0x492742(0x1a7),'tFaRN':function(_0x36e779,_0x501f32,_0x284f3f){return _0x36e779(_0x501f32,_0x284f3f);},'pNAWI':_0x492742(0x1a0),'zKknT':_0x492742(0x19c),'jMqNF':_0x492742(0x193),'VMIvF':function(_0x14b998){return _0x14b998();}};await _0x533452['initialize'](_0x18fda2),await helper[_0x492742(0x1db)](_0x533452['config']);if(!_0x533452['config'])return;process['profile']=_0x18fda2['profile'];_0x18fda2[_0x492742(0x18b)]&&(process['env'][_0x492742(0x18b)]=_0x18fda2[_0x492742(0x18b)]);const _0x3e6464=_0x11b073[_0x492742(0x1f5)](getUserCodeceptJSConfigs,_0x18fda2,_0x22e2d9);let _0x537b27={};_0x3e6464?(logger[_0x492742(0x184)](_0x492742(0x1ed)+_0x3e6464),_0x537b27=CodeceptJS[_0x492742(0x19b)][_0x492742(0x160)](_0x3e6464)):logger[_0x492742(0x184)](_0x11b073[_0x492742(0x179)]);let _0x166cc5=![];_0x11b073[_0x492742(0x1dd)](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x11b073[_0x492742(0x192)]])&&(_0x166cc5=!![]);const _0x1f96a9=_0x166cc5?_0x11b073[_0x492742(0x192)]:_0x11b073['sxlRV'];let _0x2b2009=!_0x166cc5?helper[_0x492742(0x19e)](_0x533452['config']):![];!helper[_0x492742(0x1b9)](_0x533452[_0x492742(0x19b)]['accessibilityOptions'])&&(process[_0x492742(0x17f)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x492742(0x1f2)](_0x533452[_0x492742(0x19b)][_0x492742(0x19d)]));let _0x255ef3=_0x533452['config'][_0x492742(0x1e9)];_0x255ef3=_0x255ef3||_0x11b073[_0x492742(0x18d)](checkAccessibilityPlatformConfig,_0x533452[_0x492742(0x19b)]),process[_0x492742(0x17f)][_0x492742(0x17e)]=_0x255ef3;_0x255ef3&&(_0x2b2009=!_0x255ef3);_0x11b073[_0x492742(0x1a3)](_0x533452[_0x492742(0x19b)][_0x492742(0x189)],null)?process[_0x492742(0x17f)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x533452['config'][_0x492742(0x189)]:process[_0x492742(0x17f)][_0x492742(0x187)]=_0x11b073[_0x492742(0x1a2)](_0x1f96a9,_0x11b073[_0x492742(0x192)]);const _0x1f5409=_0x11b073['zeWrF'](nestedKeyValue,_0x537b27,[_0x11b073[_0x492742(0x1d3)]]),_0x1992f2=_0x1f5409&&!helper[_0x492742(0x18e)](_0x1f5409)?FRAMEWORKS[_0x492742(0x165)]:FRAMEWORKS[_0x492742(0x1ac)],_0x15755b=await TestHubHandler[_0x492742(0x197)](_0x1992f2,_0x533452);_0x255ef3&&_0x11b073[_0x492742(0x182)](setAccessibilityCapabilities,_0x533452['config']);const _0x466cb9={},_0x3b9f3b=[],_0x1e8a70=_0x533452[_0x492742(0x19b)][_0x492742(0x1c8)]||helper[_0x492742(0x1ca)](_0x18fda2,_0x22e2d9,_0x533452[_0x492742(0x19b)],constants[_0x492742(0x18f)][_0x492742(0x1ac)])||0x1;let _0xddbf6=0x1;if(_0x11b073[_0x492742(0x168)](isBrowserstackInfra)){const _0x544492=helper[_0x492742(0x1f8)](_0x533452[_0x492742(0x19b)],_0x2b2009,constants[_0x492742(0x18f)][_0x492742(0x1ac)]);_0x544492[_0x492742(0x178)](_0x38127a=>{const _0x1cc2eb=_0x492742;helper[_0x1cc2eb(0x1ce)](_0x38127a);}),helper[_0x492742(0x1d0)](_0x533452[_0x492742(0x19b)])?_0xddbf6=_0x11b073[_0x492742(0x1b6)](_0x1e8a70,_0x533452[_0x492742(0x19b)][_0x492742(0x1da)][_0x492742(0x1cd)]):_0xddbf6=_0x1e8a70,_0x544492[_0x492742(0x178)](_0x8a881e=>{const _0x15821f=_0x492742,_0x5b4514={'MzUbQ':function(_0x23a427,_0x3085a3){return _0x11b073['elvZI'](_0x23a427,_0x3085a3);},'yOihU':function(_0x4299c2,_0x3a081e){const _0x1b7515=a2_0x5540;return _0x11b073[_0x1b7515(0x198)](_0x4299c2,_0x3a081e);}},_0x2b65ac=_0x11b073[_0x15821f(0x17c)](helper[_0x15821f(0x17b)](_0x8a881e,'_'),'_'+Date['now']()),_0xd151f7=((()=>{const _0x5e249b=_0x15821f;if(_0x166cc5){const _0x5888fa=pwToCodeceptBrowser[_0x8a881e['browserName']]||_0x8a881e[_0x5e249b(0x191)];return{'browser':_0x5888fa,[_0x5888fa]:{'browserWSEndpoint':_0x5b4514[_0x5e249b(0x1a9)](helper[_0x5e249b(0x161)](_0x533452[_0x5e249b(0x19b)]),_0x5b4514[_0x5e249b(0x1b4)](encodeURIComponent,JSON['stringify'](_0x8a881e)))}};}const _0x17b31c={};return _0x17b31c[_0x5e249b(0x1a7)]=_0x8a881e,_0x17b31c;})()),_0x49ec3b=_0x11b073[_0x15821f(0x1dd)](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x1f96a9]);_0x466cb9[_0x2b65ac]=_0x49ec3b?helper['mergeDeep'](_0xd151f7,_0x49ec3b):_0xd151f7,!_0x166cc5&&(_0x466cb9[_0x2b65ac][_0x15821f(0x1f6)]=_0x8a881e[_0x15821f(0x191)]||_0xd151f7['browser']),_0x3b9f3b[_0x15821f(0x1fa)](_0x2b65ac);});}else{_0xddbf6=0x1;if(_0x166cc5){const _0x305f74=_0x11b073['pkReB'](nestedKeyValue,_0x537b27,[_0x11b073[_0x492742(0x1cf)],_0x1f96a9,_0x11b073[_0x492742(0x1bc)]]),_0x584ac7=_0x11b073[_0x492742(0x164)](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x1f96a9,_0x305f74]);_0x584ac7&&_0x584ac7[_0x492742(0x1c4)]&&(_0x584ac7[_0x492742(0x1c4)]=helper['prepareCapabilities'](null,null,_0x1992f2[_0x492742(0x1aa)](),null,null,_0x584ac7[_0x492742(0x1c4)]));}else _0x537b27[_0x11b073[_0x492742(0x1cf)]][_0x1f96a9][_0x11b073[_0x492742(0x1f9)]]=helper['prepareCapabilities'](null,null,_0x1992f2['toLowerCase'](),_0x11b073['tFaRN'](nestedKeyValue,_0x537b27,[_0x11b073['KGlFa'],_0x1f96a9,_0x11b073[_0x492742(0x1f9)]]),null,null);_0x466cb9[_0x11b073[_0x492742(0x1e3)]]=_0x537b27,_0x3b9f3b[_0x492742(0x1fa)](_0x11b073[_0x492742(0x1e3)]);}const _0x56775a={};_0x56775a[_0x492742(0x1bd)]=_0x3e6464;const _0xabdbcf=_0x56775a,_0xa1e961=path[_0x492742(0x176)](__dirname,_0x11b073[_0x492742(0x1e2)]),_0x42637d=process[_0x492742(0x163)]();process[_0x492742(0x17f)][_0x11b073[_0x492742(0x171)]]=_0x42637d,process[_0x492742(0x174)](path[_0x492742(0x185)](_0x3e6464));const _0x1ba76c=new CodeceptJS[(_0x492742(0x1ee))](null,_0xabdbcf),_0x49e788=_0x1ba76c[_0x492742(0x1b0)](_0xddbf6),_0x577b62=testOpsHelper['isTestObservabilitySession'](),_0x5639be=_0x3b9f3b[_0x492742(0x1c1)](_0x45b527=>{const _0x25db96=_0x492742,_0x280e05={};_0x280e05['Playwright']=_0x466cb9[_0x45b527];const _0x1419d9={};_0x1419d9[_0x25db96(0x1d2)]=_0x466cb9[_0x45b527];const _0x4e728c=_0x166cc5?_0x280e05:_0x1419d9,_0x28f2f7=_0x11b073['FbHsN'](getO11yRerunPattern),_0x49b8b3={};_0x49b8b3[_0x25db96(0x1cb)]=_0x4e728c;const _0xdb1717={};_0xdb1717[_0x25db96(0x1c2)]=_0xa1e961,_0xdb1717[_0x25db96(0x1c7)]=!![],_0xdb1717[_0x25db96(0x199)]=_0x533452[_0x25db96(0x19b)][_0x25db96(0x1c9)][_0x25db96(0x199)],_0xdb1717[_0x25db96(0x1af)]=_0x533452[_0x25db96(0x19b)][_0x25db96(0x1c9)]['skipSessionStatus'],_0xdb1717[_0x25db96(0x189)]=_0x577b62,_0xdb1717[_0x25db96(0x196)]=_0x1992f2;const _0x232b6e={};_0x232b6e[_0x25db96(0x195)]=_0xdb1717;const _0x50a9a9={};return _0x50a9a9[_0x25db96(0x173)]=_0x232b6e,helper['mergeDeep']({},_0x537b27,_0x11b073[_0x25db96(0x168)](isBrowserstackInfra)?_0x49b8b3:{},_0x28f2f7?{'grep':_0x28f2f7}:{},_0x50a9a9);});for(const _0x13341c of _0x5639be){for(const _0x5d020f of _0x49e788){const _0x2c4177=_0x1ba76c[_0x492742(0x1b8)]();_0x2c4177[_0x492742(0x1b5)](_0x5d020f),_0x2c4177[_0x492742(0x1fc)](_0x13341c);const _0x2d4b24={};_0x2d4b24[_0x492742(0x19b)]=_0x3e6464,_0x2c4177['addOptions'](_0x2d4b24);}}_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)][_0x492742(0x1c5)][_0x492742(0x1b1)],(_0x5e9ede,_0x1a2d77)=>{const _0x132b3e=_0x492742;console[_0x132b3e(0x18a)](_0x11b073['XHQet'],_0x5e9ede[_0x132b3e(0x167)]);const _0x28edff={[_0x5e9ede[_0x132b3e(0x167)]]:_0x5e9ede[_0x132b3e(0x172)]['stack']};_testErrorData['push'](_0x28edff);}),_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)][_0x492742(0x1c5)][_0x492742(0x1eb)],async _0x37493e=>{const _0x368974=_0x492742;console['log'](_0x11b073['BKgPW'],_0x37493e[_0x368974(0x167)]);}),_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)][_0x492742(0x1c5)][_0x492742(0x1ef)],async _0x47bf8b=>{const _0x3427e3=_0x492742;console['log'](_0x11b073[_0x3427e3(0x1d8)],_0x47bf8b[_0x3427e3(0x167)]);}),_0x1ba76c['on'](CodeceptJS[_0x492742(0x16a)]['all'][_0x492742(0x169)],async()=>{const _0x13e9a0=_0x492742,_0x2f34e7=_0x11b073[_0x13e9a0(0x1de)][_0x13e9a0(0x1f7)]('|');let _0x36b239=0x0;while(!![]){switch(_0x2f34e7[_0x36b239++]){case'0':_0x1ba76c[_0x13e9a0(0x1b7)]();continue;case'1':try{await TestHubHandler[_0x13e9a0(0x1cc)]();}catch(_0x44dfa1){logger[_0x13e9a0(0x16b)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x13e9a0(0x16c)](_0x44dfa1));}continue;case'2':utilities['finalExecution'](_0x533452);continue;case'3':_0x533452[_0x13e9a0(0x1fb)]=_testErrorData;continue;case'4':testOpsHelper[_0x13e9a0(0x17a)]();continue;case'5':PerformanceTester[_0x13e9a0(0x1dc)](PerformanceEvents[_0x13e9a0(0x162)]);continue;}break;}});async function _0x1112e4(){const _0xf56433=_0x492742;try{await _0x1ba76c[_0xf56433(0x1df)](),await _0x1ba76c[_0xf56433(0x1ba)]();}finally{process[_0xf56433(0x174)](_0x42637d),await _0x1ba76c[_0xf56433(0x1ae)]();}}PerformanceTester[_0x492742(0x1b3)](PerformanceEvents[_0x492742(0x190)]),_0x11b073[_0x492742(0x1d6)](_0x1112e4);}module[a2_0x3c71a(0x1ea)]=run;
|
|
2
|
+
'use strict';const a2_0x547c09=a2_0x12ae;(function(_0x1edfab,_0x55941b){const _0x10e2de=a2_0x12ae,_0x50c17d=_0x1edfab();while(!![]){try{const _0x37db82=parseInt(_0x10e2de(0xe2))/0x1+-parseInt(_0x10e2de(0xf8))/0x2*(parseInt(_0x10e2de(0xe9))/0x3)+parseInt(_0x10e2de(0xfc))/0x4+-parseInt(_0x10e2de(0x10a))/0x5+-parseInt(_0x10e2de(0x106))/0x6*(-parseInt(_0x10e2de(0xf6))/0x7)+-parseInt(_0x10e2de(0xf3))/0x8*(parseInt(_0x10e2de(0xbb))/0x9)+-parseInt(_0x10e2de(0xc9))/0xa*(-parseInt(_0x10e2de(0xb6))/0xb);if(_0x37db82===_0x55941b)break;else _0x50c17d['push'](_0x50c17d['shift']());}catch(_0x9a5b13){_0x50c17d['push'](_0x50c17d['shift']());}}}(a2_0xe33a,0xc4f63));function a2_0xe33a(){const _0x179677=['ScvVu','config','BROWSERSTACK_RERUN_TESTS','findIndex','codeceptjs/lib/index.js','before','browserStackCwd','chdir','getPlaywrightUrl','mergeDeep','../../helpers/utilities','eKJNT','cUVBi','CODECEPT','slice','existsSync','IPuDH','firefox','setAdditionalCapabilities','cwd','HJvde','forEach','PvEBe','env','UGinz','playwright-webkit','stop','all','../../helpers/helper','teardownAll','isTrue','rwVzg','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','testContextOptions','browser','now','aUAox','accessibilityOptions','accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','addOptions','util','desiredCapabilities','format','path','push','Passed\x20:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','split','hlsdy','profile','passed','fAkTm','rWYAL','browserWSEndpoint','2003507gElAOW','stringify','../../helpers/logger','JimHD','../../helpers/test-observability/constants','18xpLVBM','SDK_SETUP','nYQgz','../../helpers/test-observability/utils','CODECEPT_CUCUMBER','playwright-chromium','WebDriver','bFLMM','prepareCapabilities','Started\x20:\x20','test','codeceptjs','root','launchBuild','50LCWWSS','BrowserStackPlugin.js','getPlatformName','xpnbq','KUHSm','FRAMEWORKS','BrowserStackPlugin','XFbzQ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','helpers','info','cErIF','dirname','trim','addTests','gherkin','result','../../helpers/testhub/testhubHandler','codecept.conf.js','printResults','SDK_CLEANUP','frameworkName','start','title','addConfig','999065DjLLoj','platforms','../../helpers/performance/constants','errorMessage','Playwright','load','gjELP','3HXKbZz','RBvTq','AkoMf','toLowerCase','stack','join','spawn','skipSessionStatus','useW3C','Failed\x20:\x20','5510840fRsjRP','../../helpers/accessibility-automation/helper','isEmpty','1554yNIqAq','validateRerunTestList','451922UorOaN','isUndefined','RDCYd','2|3|5|0|1|4','2861100cTtJly','exports','EVENTS','log','require','event','initialize','plugins','testObservability','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','34728NkaBKv','length','codecept.json','handleApp','7497675rxbvnS','printBuildLink','map','VmkZi','createGroupsOfSuites','Workers','debug','bootstrapAll','process'];a2_0xe33a=function(){return _0x179677;};return a2_0xe33a();}const fs=require('fs'),path=require(a2_0x547c09(0xab)),util=require(a2_0x547c09(0xa8)),process=require(a2_0x547c09(0x112)),logger=require(a2_0x547c09(0xb8))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x547c09(0x11d)),{checkAccessibilityPlatformConfig}=require(a2_0x547c09(0xf4)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x547c09(0x12f)),CodeceptJS=requireModule(a2_0x547c09(0x117),a2_0x547c09(0xc6)),testOpsHelper=require(a2_0x547c09(0xbe)),TestHubHandler=require(a2_0x547c09(0xda)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x547c09(0xba)),PerformanceEvents=require(a2_0x547c09(0xe4))[a2_0x547c09(0xfe)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x1ec3e1,_0x1d8e22)=>{const _0x33c231=a2_0x547c09,_0x509832={};_0x509832['AkoMf']=function(_0xaf2feb,_0xbdf8ff){return _0xaf2feb===_0xbdf8ff;},_0x509832[_0x33c231(0xb3)]=_0x33c231(0xdb),_0x509832['KUHSm']=_0x33c231(0x108);const _0x570b52=_0x509832;let _0x3ca9d7=null;const _0x27ba04={};let _0x10fad7=_0x1d8e22[_0x33c231(0x116)](_0x1d3967=>_0x1d3967==='--config');_0x570b52[_0x33c231(0xeb)](_0x10fad7,-0x1)&&(_0x10fad7=_0x1d8e22[_0x33c231(0x116)](_0x27ee56=>_0x27ee56==='-c'));if(!helper[_0x33c231(0xf9)](_0x1ec3e1[_0x33c231(0x114)])&&fs['existsSync'](path[_0x33c231(0xee)](process[_0x33c231(0x126)](),_0x1ec3e1[_0x33c231(0x114)])))_0x3ca9d7=path[_0x33c231(0xee)](process[_0x33c231(0x126)](),_0x1ec3e1[_0x33c231(0x114)]),_0x1d8e22[_0x33c231(0x121)](_0x10fad7,0x2);else{if(!helper[_0x33c231(0xf9)](_0x1ec3e1['c'])&&fs['existsSync'](path[_0x33c231(0xee)](process[_0x33c231(0x126)](),_0x1ec3e1['c'])))_0x3ca9d7=path[_0x33c231(0xee)](process['cwd'](),_0x1ec3e1['c']),_0x1d8e22[_0x33c231(0x121)](_0x10fad7,0x2);else{if(fs[_0x33c231(0x122)](path['join'](process[_0x33c231(0x126)](),_0x570b52[_0x33c231(0xb3)])))_0x3ca9d7=path[_0x33c231(0xee)](process[_0x33c231(0x126)](),_0x570b52[_0x33c231(0xb3)]);else fs['existsSync'](path[_0x33c231(0xee)](process[_0x33c231(0x126)](),_0x570b52['KUHSm']))&&(_0x3ca9d7=path[_0x33c231(0xee)](process[_0x33c231(0x126)](),_0x570b52[_0x33c231(0xcd)]));}}return process[_0x33c231(0x12a)]['USER_CONFIG_DETAILS_PATH']=_0x3ca9d7,_0x3ca9d7;},getO11yRerunPattern=()=>{const _0x464f2a=a2_0x547c09,_0xd4be5e=helper[_0x464f2a(0x131)](process[_0x464f2a(0x12a)]['BROWSERSTACK_RERUN']);if(_0xd4be5e){const _0x26bb16=process['env'][_0x464f2a(0x115)],_0x3acb0e=[];if(helper[_0x464f2a(0xf7)](_0x26bb16)&&!helper[_0x464f2a(0xf9)](_0x26bb16)){_0x26bb16[_0x464f2a(0xaf)](',')['map'](_0x13cc8a=>{const _0x189e13=_0x464f2a;_0x3acb0e[_0x189e13(0xac)]('('+_0x13cc8a[_0x189e13(0xd6)]()+')');});const _0x4b146f='^'+_0x3acb0e['join']('|')+'$';return _0x4b146f;}}return null;},a2_0x414d2b={};function a2_0x12ae(_0x577cad,_0x1baab6){const _0xe33a62=a2_0xe33a();return a2_0x12ae=function(_0x12aef3,_0x2a30e6){_0x12aef3=_0x12aef3-0xa7;let _0x3f96f9=_0xe33a62[_0x12aef3];return _0x3f96f9;},a2_0x12ae(_0x577cad,_0x1baab6);}a2_0x414d2b['chrome']='chromium',a2_0x414d2b[a2_0x547c09(0xc0)]='chromium',a2_0x414d2b['playwright-firefox']=a2_0x547c09(0x124),a2_0x414d2b[a2_0x547c09(0x12c)]='webkit';const pwToCodeceptBrowser=a2_0x414d2b;async function run(_0x1ac34a,_0x4d01fe,_0x43c747){const _0x5c9160=a2_0x547c09,_0x4ca355={'XFbzQ':function(_0x3e1eb4,_0x29a6d0){return _0x3e1eb4+_0x29a6d0;},'eKJNT':function(_0x37f4ae,_0x4a09b0){return _0x37f4ae(_0x4a09b0);},'rwVzg':function(_0x5a00fe,_0x2690e3){return _0x5a00fe+_0x2690e3;},'cErIF':function(_0x188859,_0x4fb46b,_0x3c9235){return _0x188859(_0x4fb46b,_0x3c9235);},'PvEBe':_0x5c9160(0xd2),'xpnbq':function(_0x30b4ea){return _0x30b4ea();},'RDCYd':function(_0x799a9){return _0x799a9();},'rWYAL':_0x5c9160(0xf2),'RBvTq':_0x5c9160(0xad),'nYQgz':_0x5c9160(0xc4),'hlsdy':_0x5c9160(0xfb),'tUgMy':_0x5c9160(0x105),'ScvVu':_0x5c9160(0xe6),'gjELP':_0x5c9160(0xc1),'VmkZi':function(_0x4d84cd,_0x557e50){return _0x4d84cd(_0x557e50);},'bFLMM':function(_0x2d0a3f,_0x23ecb8){return _0x2d0a3f!=_0x23ecb8;},'UGinz':function(_0x2c0268,_0x51fd32){return _0x2c0268===_0x51fd32;},'aUAox':_0x5c9160(0xd8),'fiAPq':function(_0x313881,_0x3cb954){return _0x313881*_0x3cb954;},'hDVtD':_0x5c9160(0x135),'cUVBi':_0x5c9160(0xa9),'xZqzB':function(_0x11c4f4,_0x1235a7,_0x548fab){return _0x11c4f4(_0x1235a7,_0x548fab);},'HJvde':_0x5c9160(0xc7),'JimHD':_0x5c9160(0xca),'IPuDH':_0x5c9160(0x119)};await _0x43c747[_0x5c9160(0x102)](_0x1ac34a),await helper[_0x5c9160(0x109)](_0x43c747[_0x5c9160(0x114)]);if(!_0x43c747[_0x5c9160(0x114)])return;process[_0x5c9160(0xb1)]=_0x1ac34a[_0x5c9160(0xb1)];_0x1ac34a[_0x5c9160(0xb1)]&&(process[_0x5c9160(0x12a)][_0x5c9160(0xb1)]=_0x1ac34a[_0x5c9160(0xb1)]);const _0x6d862b=_0x4ca355['cErIF'](getUserCodeceptJSConfigs,_0x1ac34a,_0x4d01fe);let _0x1a7089={};_0x6d862b?(logger[_0x5c9160(0xd3)](_0x5c9160(0x133)+_0x6d862b),_0x1a7089=CodeceptJS[_0x5c9160(0x114)][_0x5c9160(0xe7)](_0x6d862b)):logger[_0x5c9160(0xd3)](_0x4ca355['tUgMy']);let _0x802284=![];_0x4ca355[_0x5c9160(0xd4)](nestedKeyValue,_0x1a7089,[_0x4ca355['PvEBe'],_0x4ca355[_0x5c9160(0x113)]])&&(_0x802284=!![]);const _0x2469b0=_0x802284?_0x4ca355['ScvVu']:_0x4ca355[_0x5c9160(0xe8)];let _0x294c34=!_0x802284?helper[_0x5c9160(0xf1)](_0x43c747[_0x5c9160(0x114)]):![];!helper['isUndefined'](_0x43c747[_0x5c9160(0x114)][_0x5c9160(0x138)])&&(process[_0x5c9160(0x12a)][_0x5c9160(0x13a)]=JSON[_0x5c9160(0xb7)](_0x43c747['config'][_0x5c9160(0x138)]));let _0x3a3e5f=_0x43c747[_0x5c9160(0x114)][_0x5c9160(0x139)];_0x3a3e5f=_0x3a3e5f||_0x4ca355[_0x5c9160(0x10d)](checkAccessibilityPlatformConfig,_0x43c747[_0x5c9160(0x114)]),process[_0x5c9160(0x12a)][_0x5c9160(0xd1)]=_0x3a3e5f;_0x3a3e5f&&(_0x294c34=!_0x3a3e5f);_0x4ca355[_0x5c9160(0xc2)](_0x43c747[_0x5c9160(0x114)][_0x5c9160(0x104)],null)?process[_0x5c9160(0x12a)][_0x5c9160(0xae)]=_0x43c747[_0x5c9160(0x114)]['testObservability']:process['env'][_0x5c9160(0xae)]=_0x4ca355[_0x5c9160(0x12b)](_0x2469b0,_0x4ca355['ScvVu']);const _0x1704dc=_0x4ca355[_0x5c9160(0xd4)](nestedKeyValue,_0x1a7089,[_0x4ca355[_0x5c9160(0x137)]]),_0x30cf56=_0x1704dc&&!helper[_0x5c9160(0xf5)](_0x1704dc)?FRAMEWORKS[_0x5c9160(0xbf)]:FRAMEWORKS[_0x5c9160(0x120)],_0x54ed9c=await TestHubHandler[_0x5c9160(0xc8)](_0x30cf56,_0x43c747);_0x3a3e5f&&_0x4ca355['VmkZi'](setAccessibilityCapabilities,_0x43c747[_0x5c9160(0x114)]);const _0x3d66ab={},_0x592694=[],_0x189f0f=_0x43c747[_0x5c9160(0x114)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x1ac34a,_0x4d01fe,_0x43c747['config'],constants[_0x5c9160(0xce)][_0x5c9160(0x120)])||0x1;let _0x231aad=0x1;if(_0x4ca355[_0x5c9160(0xfa)](isBrowserstackInfra)){const _0x3d0169=helper['prepareCapabilities'](_0x43c747['config'],_0x294c34,constants[_0x5c9160(0xce)][_0x5c9160(0x120)]);_0x3d0169[_0x5c9160(0x128)](_0x1436d0=>{const _0x2ba245=_0x5c9160;helper[_0x2ba245(0x125)](_0x1436d0);}),helper['validPlatformsPresent'](_0x43c747[_0x5c9160(0x114)])?_0x231aad=_0x4ca355['fiAPq'](_0x189f0f,_0x43c747[_0x5c9160(0x114)][_0x5c9160(0xe3)][_0x5c9160(0x107)]):_0x231aad=_0x189f0f,_0x3d0169['forEach'](_0x5687bf=>{const _0x38084b=_0x5c9160,_0x1778b9=_0x4ca355[_0x38084b(0x132)](helper[_0x38084b(0xcb)](_0x5687bf,'_'),'_'+Date[_0x38084b(0x136)]()),_0x233a23=((()=>{const _0x13a36e=_0x38084b;if(_0x802284){const _0x21018f=pwToCodeceptBrowser[_0x5687bf['browserName']]||_0x5687bf['browserName'];return{'browser':_0x21018f,[_0x21018f]:{'browserWSEndpoint':_0x4ca355[_0x13a36e(0xd0)](helper[_0x13a36e(0x11b)](_0x43c747['config']),_0x4ca355[_0x13a36e(0x11e)](encodeURIComponent,JSON[_0x13a36e(0xb7)](_0x5687bf)))}};}const _0x3e6e52={};return _0x3e6e52[_0x13a36e(0xa9)]=_0x5687bf,_0x3e6e52;})()),_0x3cc580=_0x4ca355[_0x38084b(0xd4)](nestedKeyValue,_0x1a7089,[_0x4ca355[_0x38084b(0x129)],_0x2469b0]);_0x3d66ab[_0x1778b9]=_0x3cc580?helper[_0x38084b(0x11c)](_0x233a23,_0x3cc580):_0x233a23,!_0x802284&&(_0x3d66ab[_0x1778b9][_0x38084b(0x135)]=_0x5687bf['browserName']||_0x233a23[_0x38084b(0x135)]),_0x592694[_0x38084b(0xac)](_0x1778b9);});}else{_0x231aad=0x1;if(_0x802284){const _0x2c5933=_0x4ca355[_0x5c9160(0xd4)](nestedKeyValue,_0x1a7089,[_0x4ca355['PvEBe'],_0x2469b0,_0x4ca355['hDVtD']]),_0x5b5e0f=_0x4ca355[_0x5c9160(0xd4)](nestedKeyValue,_0x1a7089,[_0x4ca355[_0x5c9160(0x129)],_0x2469b0,_0x2c5933]);_0x5b5e0f&&_0x5b5e0f['browserWSEndpoint']&&(_0x5b5e0f['browserWSEndpoint']=helper[_0x5c9160(0xc3)](null,null,_0x30cf56['toLowerCase'](),null,null,_0x5b5e0f[_0x5c9160(0xb5)]));}else _0x1a7089[_0x4ca355[_0x5c9160(0x129)]][_0x2469b0][_0x4ca355[_0x5c9160(0x11f)]]=helper[_0x5c9160(0xc3)](null,null,_0x30cf56[_0x5c9160(0xec)](),_0x4ca355['xZqzB'](nestedKeyValue,_0x1a7089,[_0x4ca355['PvEBe'],_0x2469b0,_0x4ca355['cUVBi']]),null,null);_0x3d66ab[_0x4ca355[_0x5c9160(0x127)]]=_0x1a7089,_0x592694[_0x5c9160(0xac)](_0x4ca355[_0x5c9160(0x127)]);}const _0x55fd28={};_0x55fd28['testConfig']=_0x6d862b;const _0x20cdcd=_0x55fd28,_0x81ce02=path[_0x5c9160(0xee)](__dirname,_0x4ca355[_0x5c9160(0xb9)]),_0x143550=process[_0x5c9160(0x126)]();process[_0x5c9160(0x12a)][_0x4ca355[_0x5c9160(0x123)]]=_0x143550,process[_0x5c9160(0x11a)](path[_0x5c9160(0xd5)](_0x6d862b));const _0x3d137b=new CodeceptJS[(_0x5c9160(0x10f))](null,_0x20cdcd),_0x411ed2=_0x3d137b[_0x5c9160(0x10e)](_0x231aad),_0x25e1b6=testOpsHelper['isTestObservabilitySession'](),_0x6992f5=_0x592694[_0x5c9160(0x10c)](_0x371653=>{const _0x2810e7=_0x5c9160,_0x4d716f={};_0x4d716f[_0x2810e7(0xe6)]=_0x3d66ab[_0x371653];const _0x728001={};_0x728001['WebDriver']=_0x3d66ab[_0x371653];const _0x257b81=_0x802284?_0x4d716f:_0x728001,_0x2f9738=_0x4ca355[_0x2810e7(0xcc)](getO11yRerunPattern),_0x14579c={};_0x14579c['helpers']=_0x257b81;const _0xc13218={};_0xc13218[_0x2810e7(0x100)]=_0x81ce02,_0xc13218['enabled']=!![],_0xc13218['skipSessionName']=_0x43c747[_0x2810e7(0x114)][_0x2810e7(0x134)]['skipSessionName'],_0xc13218[_0x2810e7(0xf0)]=_0x43c747[_0x2810e7(0x114)]['testContextOptions']['skipSessionStatus'],_0xc13218[_0x2810e7(0x104)]=_0x25e1b6,_0xc13218[_0x2810e7(0xde)]=_0x30cf56;const _0xc4cab={};_0xc4cab[_0x2810e7(0xcf)]=_0xc13218;const _0x3059f3={};return _0x3059f3[_0x2810e7(0x103)]=_0xc4cab,helper[_0x2810e7(0x11c)]({},_0x1a7089,_0x4ca355[_0x2810e7(0xfa)](isBrowserstackInfra)?_0x14579c:{},_0x2f9738?{'grep':_0x2f9738}:{},_0x3059f3);});for(const _0xb73890 of _0x6992f5){for(const _0x15decb of _0x411ed2){const _0x3ba992=_0x3d137b[_0x5c9160(0xef)]();_0x3ba992[_0x5c9160(0xd7)](_0x15decb),_0x3ba992[_0x5c9160(0xe1)](_0xb73890);const _0x313736={};_0x313736[_0x5c9160(0x114)]=_0x6d862b,_0x3ba992[_0x5c9160(0xa7)](_0x313736);}}_0x3d137b['on'](CodeceptJS[_0x5c9160(0x101)][_0x5c9160(0xc5)]['failed'],(_0x1fac97,_0x31721d)=>{const _0x48524b=_0x5c9160;console[_0x48524b(0xff)](_0x4ca355[_0x48524b(0xb4)],_0x1fac97[_0x48524b(0xe0)]);const _0x424448={[_0x1fac97[_0x48524b(0xe0)]]:_0x1fac97['err'][_0x48524b(0xed)]};_testErrorData[_0x48524b(0xac)](_0x424448);}),_0x3d137b['on'](CodeceptJS['event'][_0x5c9160(0xc5)][_0x5c9160(0xb2)],async _0x347a3d=>{const _0x912e8a=_0x5c9160;console['log'](_0x4ca355[_0x912e8a(0xea)],_0x347a3d[_0x912e8a(0xe0)]);}),_0x3d137b['on'](CodeceptJS[_0x5c9160(0x101)][_0x5c9160(0xc5)][_0x5c9160(0x118)],async _0x2955d1=>{const _0x24fe0f=_0x5c9160;console['log'](_0x4ca355[_0x24fe0f(0xbd)],_0x2955d1[_0x24fe0f(0xe0)]);}),_0x3d137b['on'](CodeceptJS[_0x5c9160(0x101)][_0x5c9160(0x12e)][_0x5c9160(0xd9)],async()=>{const _0xecbdfe=_0x5c9160,_0x2606bc=_0x4ca355[_0xecbdfe(0xb0)][_0xecbdfe(0xaf)]('|');let _0x41bfeb=0x0;while(!![]){switch(_0x2606bc[_0x41bfeb++]){case'0':utilities['finalExecution'](_0x43c747);continue;case'1':try{await TestHubHandler[_0xecbdfe(0x12d)]();}catch(_0x3beda5){logger[_0xecbdfe(0x110)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0xecbdfe(0xaa)](_0x3beda5));}continue;case'2':PerformanceTester[_0xecbdfe(0xdf)](PerformanceEvents[_0xecbdfe(0xdd)]);continue;case'3':_0x43c747[_0xecbdfe(0xe5)]=_testErrorData;continue;case'4':_0x3d137b[_0xecbdfe(0xdc)]();continue;case'5':testOpsHelper[_0xecbdfe(0x10b)]();continue;}break;}});async function _0x8830df(){const _0x4d4ff9=_0x5c9160;try{await _0x3d137b[_0x4d4ff9(0x111)](),await _0x3d137b['run']();}finally{process[_0x4d4ff9(0x11a)](_0x143550),await _0x3d137b[_0x4d4ff9(0x130)]();}}PerformanceTester['end'](PerformanceEvents[_0x5c9160(0xbc)]),_0x4ca355[_0x5c9160(0xcc)](_0x8830df);}module[a2_0x547c09(0xfd)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x4df9e7=a3_0x4cb6;(function(_0x553caf,_0xd90e0a){const _0x21dc4b=a3_0x4cb6,_0x4853ff=_0x553caf();while(!![]){try{const _0x17b5cc=parseInt(_0x21dc4b(0xb7))/0x1+-parseInt(_0x21dc4b(0xcb))/0x2*(parseInt(_0x21dc4b(0xce))/0x3)+parseInt(_0x21dc4b(0xc5))/0x4+parseInt(_0x21dc4b(0xb8))/0x5*(-parseInt(_0x21dc4b(0x94))/0x6)+parseInt(_0x21dc4b(0xd4))/0x7*(parseInt(_0x21dc4b(0x92))/0x8)+parseInt(_0x21dc4b(0x8d))/0x9+parseInt(_0x21dc4b(0x99))/0xa;if(_0x17b5cc===_0xd90e0a)break;else _0x4853ff['push'](_0x4853ff['shift']());}catch(_0x47ffb0){_0x4853ff['push'](_0x4853ff['shift']());}}}(a3_0x2fc6,0x6b625));function a3_0x2fc6(){const _0x3ae507=['caps','searchParams','platform','xFLQf','IDoPh','capabilities','platform_version','xMerH','KoOXX','accessibilityPlatform','udJng','rLqgW','fCLeP','winstonLogger','SBFJK','config','FwDIe','66630MntOWp','64560ExVbFb','playwright-chromium','browserstack_executor','browserName','browserstack_accessibility_automation_script','jRXht','WebDriver','__cloud_provider___','desiredCapabilities','warn','SxJwi','parse','platformName','3090940MKmtLv','YnefD','xWXTs','browserVersion','fetchPlatformDetails','unknown_grid','2FgaCuz','VeQFP','cloudProvider','2015139zsYuNE','getDetails','browserWSEndpoint','browser','platformVersion','uHbZx','2506tWKeHw','nxocf','3790431RgRCAV','chrome','qWumE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','bstack:options','1712UambKD','sjhmH','162kWNfXo','WVBfE','browser_version','zRfSQ','../../bin/playwright/sessionDetails','1230460UyQLMx','includes','jgGXV','zlqwp','os_version','UFtJQ','yRvHh','../../helpers/helper','name','processWebDriverConfig','FnEzV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','deviceName'];a3_0x2fc6=function(){return _0x3ae507;};return a3_0x2fc6();}const {isUndefined,nestedKeyValue}=require(a3_0x4df9e7(0xa0)),logger=require('../../helpers/logger')[a3_0x4df9e7(0xb3)],PlaywrightSessionDetails=require(a3_0x4df9e7(0x98)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x365903=>{const _0x539e8b=a3_0x4df9e7,_0x76a405={};_0x76a405[_0x539e8b(0xb0)]=_0x539e8b(0x91),_0x76a405['xFLQf']=_0x539e8b(0xd2),_0x76a405[_0x539e8b(0xa3)]=_0x539e8b(0xac),_0x76a405[_0x539e8b(0x97)]='osVersion',_0x76a405[_0x539e8b(0x9e)]=_0x539e8b(0x9d);const _0x1a6316=_0x76a405;if(!_0x365903)return null;const _0x994e5f=_0x365903[_0x1a6316['udJng']],_0x829eb1=[_0x1a6316[_0x539e8b(0xa9)],_0x1a6316[_0x539e8b(0xa3)],_0x1a6316[_0x539e8b(0x97)],_0x1a6316[_0x539e8b(0x9e)]];for(const _0x40d3f8 of _0x829eb1){if(_0x994e5f&&_0x994e5f[_0x40d3f8])return _0x994e5f[_0x40d3f8];else{if(_0x365903[_0x40d3f8])return _0x365903[_0x40d3f8];}}return null;};function a3_0x4cb6(_0x5e81ec,_0x26041c){const _0x2fc6c2=a3_0x2fc6();return a3_0x4cb6=function(_0x4cb69e,_0x3a4359){_0x4cb69e=_0x4cb69e-0x8c;let _0x5d3165=_0x2fc6c2[_0x4cb69e];return _0x5d3165;},a3_0x4cb6(_0x5e81ec,_0x26041c);}exports[a3_0x4df9e7(0xc9)]=_0x2ff9c6=>{const _0x552268=a3_0x4df9e7,_0x4bec98={'FyRht':_0x552268(0xca),'xMerH':function(_0x1c7e63,_0x1c1870){return _0x1c7e63===_0x1c1870;},'nxocf':_0x552268(0xbe),'SxJwi':function(_0x59b6ba,_0x2f5165){return _0x59b6ba(_0x2f5165);},'IDoPh':function(_0x50cc2d,_0x19c48e,_0x1954c5){return _0x50cc2d(_0x19c48e,_0x1954c5);},'sjhmH':_0x552268(0xb5),'PQHkV':_0x552268(0xc0),'zlqwp':function(_0x595bd7,_0x58c108){return _0x595bd7(_0x58c108);},'qWumE':'Playwright','sqmZC':function(_0x2a31be,_0x12015b,_0x14a8df){return _0x2a31be(_0x12015b,_0x14a8df);},'PwJIC':'browser','FwDIe':_0x552268(0xd0),'WVBfE':_0x552268(0xa6),'jRXht':function(_0xb3d0ca,_0x5f015a){return _0xb3d0ca(_0x5f015a);}};if(!_0x2ff9c6)return null;let _0x4deb5c=global[_0x552268(0xbf)]||_0x4bec98['FyRht'];if(_0x4bec98[_0x552268(0xad)](_0x2ff9c6['constructor'][_0x552268(0xa1)],_0x4bec98[_0x552268(0x8c)])){const _0x31a3a5=_0x2ff9c6[_0x552268(0xd1)];if(!_0x31a3a5)return null;const _0x328893=_0x31a3a5['capabilities'],_0x5348a4=_0x4bec98[_0x552268(0xc2)](getOSVersionFromCaps,_0x4bec98[_0x552268(0xaa)](nestedKeyValue,_0x2ff9c6,[_0x4bec98[_0x552268(0x93)],_0x4bec98['PQHkV']]));return{[_0x4deb5c]:{'browser':_0x328893['browserName'],'browser_version':_0x328893[_0x552268(0xc8)],'capabilities':_0x328893,'platform':_0x328893[_0x552268(0xc4)],'platform_version':_0x328893[_0x552268(0xd2)]||_0x5348a4,'product':_0x4bec98[_0x552268(0x9c)](getObservabilityLinkedProductName,_0x328893),'session_id':_0x31a3a5['sessionId']}};}else{if(_0x4bec98['xMerH'](_0x2ff9c6['constructor'][_0x552268(0xa1)],_0x4bec98[_0x552268(0x8f)])){const _0x15aeee=PlaywrightSessionDetails[_0x552268(0xcf)]();_0x4deb5c=_0x15aeee[_0x552268(0xcd)]||_0x4deb5c;const _0xea5941=_0x4bec98['sqmZC'](nestedKeyValue,_0x2ff9c6,[_0x4bec98['sjhmH'],_0x4bec98['PwJIC'],_0x4bec98[_0x552268(0xb6)]]),_0x5c04a0=_0xea5941?JSON[_0x552268(0xc3)](new URL(_0xea5941)[_0x552268(0xa7)]['get'](_0x4bec98[_0x552268(0x95)])):{};return{[_0x4deb5c]:{'browser':_0x15aeee[_0x552268(0xd1)]||_0x5c04a0['browserName'],'browser_version':_0x15aeee[_0x552268(0x96)]||_0x5c04a0['browser_version'],'capabilities':_0x5c04a0,'platform':_0x15aeee[_0x552268(0xa8)],'platform_version':_0x15aeee['platform_version'],'product':_0x4bec98[_0x552268(0xbd)](getObservabilityLinkedProductName,_0x5c04a0),'session_id':_0x15aeee['bsSessionId']}};}}},exports[a3_0x4df9e7(0xa2)]=_0x59c12=>{const _0x3a5a54=a3_0x4df9e7,_0x508cb4={'uHbZx':function(_0x4283f2){return _0x4283f2();},'yRvHh':function(_0x32d597,_0x115649){return _0x32d597===_0x115649;},'jgGXV':'latest','ZHFNn':function(_0x245a59,_0x460cfa){return _0x245a59>_0x460cfa;},'rLqgW':function(_0x548060,_0x335c77){return _0x548060(_0x335c77);},'SBFJK':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','xWXTs':_0x3a5a54(0x8e),'YnefD':function(_0x5840e7,_0x48b405){return _0x5840e7===_0x48b405;},'xkPdN':_0x3a5a54(0xb9),'EDZnO':_0x3a5a54(0x90),'VeQFP':_0x3a5a54(0xa4)};if(_0x508cb4[_0x3a5a54(0xd3)](isAccessibilityAutomationSession)){const _0x25a415=_0x59c12[_0x3a5a54(0xd1)],_0x29a783=_0x25a415[_0x3a5a54(0xab)];global[_0x3a5a54(0xaf)]=!![],!(_0x508cb4[_0x3a5a54(0x9f)](_0x29a783[_0x3a5a54(0xc8)],_0x508cb4[_0x3a5a54(0x9b)])||_0x508cb4['ZHFNn'](_0x508cb4[_0x3a5a54(0xb1)](parseInt,_0x29a783[_0x3a5a54(0xc8)]),0x5e))&&(logger[_0x3a5a54(0xc1)](_0x508cb4[_0x3a5a54(0xb4)]),global[_0x3a5a54(0xaf)]=![]),!(_0x508cb4[_0x3a5a54(0x9f)](_0x29a783[_0x3a5a54(0xbb)],_0x508cb4[_0x3a5a54(0xc7)])||_0x508cb4[_0x3a5a54(0xc6)](_0x29a783[_0x3a5a54(0xbb)],_0x508cb4['xkPdN']))&&(logger[_0x3a5a54(0xc1)](_0x508cb4['EDZnO']),global[_0x3a5a54(0xaf)]=![]),!_0x508cb4[_0x3a5a54(0xb1)](isUndefined,_0x29a783[_0x3a5a54(0xa5)])&&(logger[_0x3a5a54(0xc1)](_0x508cb4[_0x3a5a54(0xcc)]),global[_0x3a5a54(0xaf)]=![]);}},exports['shouldPatchExecuteScript']=_0xc740d3=>{const _0x4e9e17=a3_0x4df9e7,_0x307a11={};_0x307a11[_0x4e9e17(0xb2)]=_0x4e9e17(0xba),_0x307a11['KoOXX']=_0x4e9e17(0xbc);const _0x84662e=_0x307a11;if(!_0xc740d3)return![];return!_0xc740d3[_0x4e9e17(0x9a)](_0x84662e[_0x4e9e17(0xb2)])&&!_0xc740d3[_0x4e9e17(0x9a)](_0x84662e[_0x4e9e17(0xae)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x337a(){const _0x2a83b6=['brHWk','sVXWt','../../helpers/test-observability/requestQueueHandler','50987GyjweM','defineProperty','location_prefix','then','iNmgw','__cloud_provider___','Playwright','TSNgS','KCzmC','OaADT','Cxkqo','uploadEventData','bddStepStart','WImTD','TestRunSkipped','CBTSessionCreated','result','../../helpers/logger','mapTestHooks','\x20with\x20error\x20:\x20','hook_type','HookRunFinished','errorsDetailed','getHookType','../playwright/sessionDetails','integrations','zgxQn','backtrace','sep','test_run','hooks','finished','client','match','started','SEqmH','ovYYe','lVvvi','fullTitle','frameworkName','launch','IJVkt','ZclhT','getRootParentFile','bind','../../helpers/testhub/utils.js','accessibilityPlatform','browserstack','13522960gLHTIz','_beforeAll','tLRSL','TGalK','jJWCV','failureData','ytbjE','debug','350pmtZJF','comment','18eKllip','spQnD','toLowerCase','pid','toUpperCase','STATE_FAILED','BQEZk','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','uzZsF','BrowserType','mNPqq','bddSteps','path','hookAnalyticsId','HOOK_RUN_STARTED','stringify','wsEndpoint','retryOf','zdyrd','resetSkipTestHooks','aKjtZ','findGitConfig','zmfSB','hook_run','feature','rpMUx','ZsqqJ','groups','_beforeEach','ZeTMf','markedStatus','err','yJbcZ','test_run_uuid','lib','connect','HookRunStarted','sGZtt','sendCBTInfo','passed','ewKFt','rRhnI','inspect','TEST_EVENTS','file','WkStS','initializeBddStep','enabled','join','util','getTime','getHierarchy','pending','JFhtS','bddStepFinish','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','MRJSg','Adsfd','isvvg','GJGgM','now','KpzPA','jBtgn','_afterEach','getFailureType','includes','connectOverCDP','relative','NLXDF','4726710JyfCkl','../mocha/test-observability/mochaUtils','parent','../utils/constants','start','STATE_PASSED','currentTest','../../helpers/test-observability/sessionHandler','lxpFK','duration','shutdown','DtDeK','Not\x20able\x20to\x20import\x20Browser','zUUFC','sIRff','hVAxt','hook','../../helpers/helper','ctx','text','getHooksForTest','TestRunStarted','ThlqQ','O11yHelper','zmyBX','rkUsf','startedAt','tags','fireEvent','QiXvx','KjJMZ','Lbusf','dhlVC','LogCreated','xeAhV','YGKaQ','XAPaa','meta','test','apply','title','skipped','failure','341096DTBWjL','appendTestItemLog','6261300BLzIRv','../playwright/accessibility-helper','bpwNT','HxHCR','message','hIiPZ','__platformCaps','setupBrowserDetails','TestRunFinished','prototype','axBmD','bs:addLog:','string','lSuLc','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','forEach','MNlft','event_type','CODECEPT','tydpz','POIMp','codeceptjs','toString','toISOString','currentHook','hook_run_uuid','keyword','uuid','getInstance','41791840GOVxYS','success','driver','../../helpers/test-observability/utils','_testEnv','18597MddarD','patchConsoleLogger','IIygw','winstonLogger','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','dirname','push','JfWle','length','_paths','../../helpers/test-observability/constants','status','TEST_RUN_SKIPPED','failure_reason_expanded','ZxKjN','RUXlq','9PExsmB','GBKLo','PathHelper','suites','CFXVz','testAnalyticsId','stop','Pdvvw','type','Failed\x20to\x20parse\x20wsendpoint\x20','removeAllListeners','config','lZZfL','failed','PrQzF','WGyUQ','name','lczth','HAucO','failed\x20to\x20get\x20root\x20parent\x20file\x20','body','failure_backtrace','finished_at','stepAnalyticsId'];a4_0x337a=function(){return _0x2a83b6;};return a4_0x337a();}const a4_0x405e5e=a4_0x2985;(function(_0x57dae1,_0x2a0087){const _0x174073=a4_0x2985,_0x498fcd=_0x57dae1();while(!![]){try{const _0x57ae8=parseInt(_0x174073(0x1be))/0x1+-parseInt(_0x174073(0x1f6))/0x2*(-parseInt(_0x174073(0x28c))/0x3)+-parseInt(_0x174073(0x26a))/0x4+-parseInt(_0x174073(0x23d))/0x5+parseInt(_0x174073(0x1f8))/0x6*(-parseInt(_0x174073(0x268))/0x7)+parseInt(_0x174073(0x1ee))/0x8*(-parseInt(_0x174073(0x29c))/0x9)+parseInt(_0x174073(0x287))/0xa;if(_0x57ae8===_0x2a0087)break;else _0x498fcd['push'](_0x498fcd['shift']());}catch(_0x1e5873){_0x498fcd['push'](_0x498fcd['shift']());}}}(a4_0x337a,0xec45f));const path=require(a4_0x405e5e(0x204)),fs=require('fs'),{v4:uuidv4}=require(a4_0x405e5e(0x285)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x405e5e(0x24e)),testOpsHelper=require(a4_0x405e5e(0x28a)),{getTestEnv}=require(a4_0x405e5e(0x23e)),{FRAMEWORKS}=require(a4_0x405e5e(0x296)),logger=require(a4_0x405e5e(0x1cf))[a4_0x405e5e(0x28f)],SessionHandler=require(a4_0x405e5e(0x244)),RequestQueueHandler=require(a4_0x405e5e(0x1bd)),PlaywrightSessionDetails=require(a4_0x405e5e(0x1d6)),debug=testOpsHelper[a4_0x405e5e(0x1f5)],{processAccessibilityCaps}=require(a4_0x405e5e(0x26b)),Constants=require(a4_0x405e5e(0x240)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x405e5e(0x1eb)),STATE_PASSED=a4_0x405e5e(0x21f),STATE_FAILED=a4_0x405e5e(0x2a9),a4_0x4fabe0={};a4_0x4fabe0['TEST_RUN_STARTED']=a4_0x405e5e(0x252),a4_0x4fabe0['TEST_RUN_FINISHED']=a4_0x405e5e(0x272),a4_0x4fabe0[a4_0x405e5e(0x298)]=a4_0x405e5e(0x1cc),a4_0x4fabe0[a4_0x405e5e(0x206)]=a4_0x405e5e(0x21c),a4_0x4fabe0['HOOK_RUN_FINISHED']=a4_0x405e5e(0x1d3);const TEST_EVENTS=a4_0x4fabe0,parseEvent=_0x4ce331=>{const _0x5410b3=a4_0x405e5e,_0x415d6f={};_0x415d6f[_0x5410b3(0x1f9)]=function(_0x4ea632,_0xde231d){return _0x4ea632<_0xde231d;},_0x415d6f[_0x5410b3(0x1c2)]=function(_0x3bd8fc,_0x1e635e){return _0x3bd8fc===_0x1e635e;},_0x415d6f[_0x5410b3(0x232)]=_0x5410b3(0x263),_0x415d6f[_0x5410b3(0x256)]=_0x5410b3(0x24d),_0x415d6f[_0x5410b3(0x1f2)]=_0x5410b3(0x266),_0x415d6f[_0x5410b3(0x25d)]='started',_0x415d6f[_0x5410b3(0x26c)]=function(_0x68427a,_0x368781){return _0x68427a===_0x368781;},_0x415d6f['KpzPA']=_0x5410b3(0x1dd);const _0x9a91ef=_0x415d6f,_0xb5cf58=_0x4ce331[_0x5410b3(0x1df)](/^(.*)Run(.*)$/);if(!_0xb5cf58)return null;if(_0x9a91ef[_0x5410b3(0x1f9)](_0xb5cf58[_0x5410b3(0x294)],0x3))return null;const _0x2787ca=_0xb5cf58[0x1][_0x5410b3(0x1fa)](),_0x139d33=_0xb5cf58[0x2][_0x5410b3(0x1fa)]();return{'test':_0x9a91ef[_0x5410b3(0x1c2)](_0x2787ca,_0x9a91ef[_0x5410b3(0x232)]),'hook':_0x9a91ef[_0x5410b3(0x1c2)](_0x2787ca,_0x9a91ef[_0x5410b3(0x256)]),'skipped':_0x9a91ef['iNmgw'](_0x139d33,_0x9a91ef[_0x5410b3(0x1f2)]),'started':_0x9a91ef[_0x5410b3(0x1c2)](_0x139d33,_0x9a91ef[_0x5410b3(0x25d)]),'finished':_0x9a91ef[_0x5410b3(0x26c)](_0x139d33,_0x9a91ef[_0x5410b3(0x235)])};},mockPWBrowserType=_0x4daeec=>{const _0x2fd8ea=a4_0x405e5e,_0x508708={'KCzmC':function(_0x18fef3,_0x4e84ab){return _0x18fef3===_0x4e84ab;},'ImpsF':_0x2fd8ea(0x276),'ZeTMf':function(_0x5bf855,_0x37d200,_0x3bf544){return _0x5bf855(_0x37d200,_0x3bf544);},'OaADT':_0x2fd8ea(0x208),'gNMtc':function(_0x143cc5,_0x211c93){return _0x143cc5(_0x211c93);},'NLXDF':_0x2fd8ea(0x1ed),'OKQbQ':function(_0x48a3b3,_0x1488fc){return _0x48a3b3(_0x1488fc);},'RUXlq':_0x2fd8ea(0x21a),'ZclhT':_0x2fd8ea(0x1de),'tydpz':'browserType.js','mNPqq':function(_0x45d552,_0x3f2932){return _0x45d552(_0x3f2932);},'ZxKjN':_0x2fd8ea(0x249),'jBtgn':_0x2fd8ea(0x21b),'TSNgS':_0x2fd8ea(0x1e6)},_0x11b36f=path[_0x2fd8ea(0x228)](_0x508708[_0x2fd8ea(0x29b)],_0x508708[_0x2fd8ea(0x1e8)],_0x508708[_0x2fd8ea(0x27d)]),_0xe21de7=_0x508708[_0x2fd8ea(0x202)](importFileFromPWCore,_0x11b36f);if(!_0xe21de7){_0x508708[_0x2fd8ea(0x202)](debug,_0x508708[_0x2fd8ea(0x29a)]);return;}const _0x533d7b=_0xe21de7[_0x2fd8ea(0x201)],_0x5adceb=_0x533d7b[_0x2fd8ea(0x273)];if(_0x5adceb['obsBrowserTypeMockApplied'])return;const _0x3f6506=_0x5adceb[_0x2fd8ea(0x21b)];Object[_0x2fd8ea(0x1bf)](_0x5adceb,_0x508708[_0x2fd8ea(0x236)],{'get':function(){return async function _0x510b07(_0x30996e,_0x465f94){const _0x2c9cb4=a4_0x2985,_0x576890={'lxpFK':function(_0x369518,_0x3d7bce){const _0x26ca5d=a4_0x2985;return _0x508708[_0x26ca5d(0x1c6)](_0x369518,_0x3d7bce);},'Pdvvw':_0x508708['ImpsF']},_0x15ec1d=_0x508708[_0x2c9cb4(0x215)](nestedKeyValue,_0x30996e,[_0x508708[_0x2c9cb4(0x1c7)]])||_0x30996e;let _0x405399=null,_0x787bcc=null;try{[_0x787bcc,_0x405399]=_0x15ec1d?_0x508708['gNMtc'](parseWSEndpoint,_0x15ec1d):[null,null],global[_0x2c9cb4(0x270)]=_0x405399,_0x787bcc['includes'](_0x508708[_0x2c9cb4(0x23c)])&&(global[_0x2c9cb4(0x1c3)]=_0x508708[_0x2c9cb4(0x23c)]);}catch(_0x4c4d26){logger[_0x2c9cb4(0x1f5)](_0x2c9cb4(0x2a5)+_0x15ec1d+'\x20'+_0x4c4d26);}_0x508708[_0x2c9cb4(0x215)](processAccessibilityCaps,_0x405399,_0x787bcc);if(global[_0x2c9cb4(0x1ec)]){const _0x5ca460=await _0x5adceb[_0x2c9cb4(0x23a)][_0x2c9cb4(0x264)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x508708['OKQbQ'](encodeURIComponent,JSON[_0x2c9cb4(0x207)](_0x405399))]);return PlaywrightSessionDetails[_0x2c9cb4(0x271)](_0x5ca460,_0x4daeec,_0x15ec1d),_0x5ca460;}return _0x3f6506[_0x2c9cb4(0x264)](this,arguments)[_0x2c9cb4(0x1c1)](_0x5847a3=>{const _0x5f2c59=_0x2c9cb4;let _0x342a83=_0x30996e[_0x5f2c59(0x208)];return _0x576890[_0x5f2c59(0x245)](typeof _0x30996e,_0x576890[_0x5f2c59(0x2a3)])&&(_0x342a83=_0x30996e),PlaywrightSessionDetails[_0x5f2c59(0x271)](_0x5847a3,_0x4daeec,_0x342a83),_0x5847a3;});};}});const _0x2d6501=_0x5adceb['launch'];Object[_0x2fd8ea(0x1bf)](_0x5adceb,_0x508708[_0x2fd8ea(0x1c5)],{'get':function(){return async function _0x1b46a7(){const _0x20413a=a4_0x2985;return _0x2d6501['apply'](this,arguments)[_0x20413a(0x1c1)](_0xd0038d=>{const _0x5237bc=_0x20413a;return PlaywrightSessionDetails[_0x5237bc(0x271)](_0xd0038d,null),_0xd0038d;});};}});};function a4_0x2985(_0x2ac2c4,_0x393e8c){const _0x337aef=a4_0x337a();return a4_0x2985=function(_0x298539,_0x17a1b9){_0x298539=_0x298539-0x1b7;let _0x16c34a=_0x337aef[_0x298539];return _0x16c34a;},a4_0x2985(_0x2ac2c4,_0x393e8c);}class O11yHelper{['currentTest']=null;[a4_0x405e5e(0x282)]=null;[a4_0x405e5e(0x227)]=![];[a4_0x405e5e(0x1e5)]=![];constructor(_0x46fae8,_0x319fac){const _0x5a99a6=a4_0x405e5e,_0x5c6aa6={'ThlqQ':'1|2|5|0|4|3','Adsfd':function(_0x13e5c1){return _0x13e5c1();},'MNlft':function(_0x77b0b8,_0x441316){return _0x77b0b8===_0x441316;},'sGZtt':_0x5a99a6(0x1c4),'hIiPZ':function(_0xd27a8f,_0x4fa9bb){return _0xd27a8f(_0x4fa9bb);}},_0x4a4ab2=_0x5c6aa6[_0x5a99a6(0x253)]['split']('|');let _0x260d90=0x0;while(!![]){switch(_0x4a4ab2[_0x260d90++]){case'0':this[_0x5a99a6(0x28b)]=_0x5c6aa6['Adsfd'](getTestEnv);continue;case'1':this[_0x5a99a6(0x227)]=_0x5c6aa6[_0x5a99a6(0x231)](shouldProcessEventForTesthub);continue;case'2':this[_0x5a99a6(0x1e5)]=_0x319fac[_0x5a99a6(0x1e5)];continue;case'3':this['driver']&&_0x5c6aa6[_0x5a99a6(0x27a)](this[_0x5a99a6(0x289)]['constructor']['name'],_0x5c6aa6[_0x5a99a6(0x21d)])&&_0x5c6aa6[_0x5a99a6(0x26f)](mockPWBrowserType,null);continue;case'4':this['_paths']=new testOpsHelper[(_0x5a99a6(0x29e))]({'cwd':process['cwd']()},this['_testEnv'][_0x5a99a6(0x1c0)]);continue;case'5':this[_0x5a99a6(0x289)]=_0x46fae8;continue;}break;}}[a4_0x405e5e(0x241)](){const _0x4a5889=a4_0x405e5e;if(!this[_0x4a5889(0x227)])return;testOpsHelper[_0x4a5889(0x28d)](),process[_0x4a5889(0x2a6)](_0x4a5889(0x275)+process[_0x4a5889(0x1fb)]),process['on'](_0x4a5889(0x275)+process[_0x4a5889(0x1fb)],this['appendTestItemLog'][_0x4a5889(0x1ea)](this));}async[a4_0x405e5e(0x2a2)](){const _0x335536=a4_0x405e5e;await RequestQueueHandler[_0x335536(0x286)]()[_0x335536(0x247)]();}async[a4_0x405e5e(0x269)](_0x3068a4){const _0x3741ec=a4_0x405e5e,_0x8d715f={'WImTD':_0x3741ec(0x25e),'zUUFC':function(_0x1635f8,_0x42463d){return _0x1635f8(_0x42463d);}};try{this[_0x3741ec(0x282)]&&!this['currentHook'][_0x3741ec(0x216)]&&(_0x3068a4[_0x3741ec(0x283)]=this[_0x3741ec(0x282)][_0x3741ec(0x205)]);!_0x3068a4[_0x3741ec(0x283)]&&this[_0x3741ec(0x243)]&&!this[_0x3741ec(0x243)]['markedStatus']&&(_0x3068a4['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x3068a4['hook_run_uuid']||_0x3068a4[_0x3741ec(0x219)]){const _0x4e399f={};_0x4e399f[_0x3741ec(0x27b)]=_0x8d715f[_0x3741ec(0x1cb)],_0x4e399f['logs']=[_0x3068a4],await SessionHandler[_0x3741ec(0x1c9)](_0x4e399f);}}catch(_0x43be32){_0x8d715f[_0x3741ec(0x24a)](debug,_0x3741ec(0x290)+_0x43be32);}}async[a4_0x405e5e(0x21e)](_0x56bdd6){const _0x3a6e28=a4_0x405e5e,_0x42888a={'ZsqqJ':_0x3a6e28(0x1cd),'Lbusf':function(_0x4af700,_0x21b1f7){return _0x4af700(_0x21b1f7);}};if(!this[_0x3a6e28(0x227)])return;const _0x2136ce=this['getCBTInfo'](this[_0x3a6e28(0x289)]);try{const _0x5de086={};_0x5de086['uuid']=_0x56bdd6,_0x5de086[_0x3a6e28(0x1d7)]=_0x2136ce;const _0x4e9fb6=_0x5de086,_0x3a1af9={};_0x3a1af9[_0x3a6e28(0x27b)]=_0x42888a[_0x3a6e28(0x212)],_0x3a1af9[_0x3a6e28(0x1db)]=_0x4e9fb6,await SessionHandler[_0x3a6e28(0x1c9)](_0x3a1af9);}catch(_0x3178fd){_0x42888a[_0x3a6e28(0x25c)](debug,_0x3a6e28(0x1ff)+_0x3178fd);}}['getCBTInfo'](_0xdd6b0a){const _0x30d7b2=a4_0x405e5e,_0x4ae677={'PrQzF':function(_0x3e8279,_0x5a1c87){return _0x3e8279(_0x5a1c87);}};return _0x4ae677[_0x30d7b2(0x2aa)](fetchPlatformDetails,_0xdd6b0a);}[a4_0x405e5e(0x20b)]=_0x5dbc98=>{const _0x1d2d4b=a4_0x405e5e,_0x2ec996={};_0x2ec996[_0x1d2d4b(0x24b)]='_beforeEach',_0x2ec996['zmfSB']=_0x1d2d4b(0x237);const _0x595035=_0x2ec996;if(!_0x5dbc98||!_0x5dbc98['parent'])return;[_0x595035[_0x1d2d4b(0x24b)],_0x595035[_0x1d2d4b(0x20e)]][_0x1d2d4b(0x279)](_0x1425ea=>{const _0x3c04b4=_0x1d2d4b,_0x19b3d5=_0x5dbc98[_0x3c04b4(0x23f)][_0x1425ea];_0x19b3d5[_0x3c04b4(0x279)](_0x248ba2=>{const _0x462bc0=_0x3c04b4;_0x248ba2['hookAnalyticsId']&&(_0x248ba2[_0x462bc0(0x205)]=null);});});};[a4_0x405e5e(0x1d0)](_0x3d0b97){const _0xb66a8b=a4_0x405e5e,_0x2b17dd={'yJbcZ':_0xb66a8b(0x27f),'IJVkt':function(_0x427a15){return _0x427a15();},'JfWle':function(_0x2c9ad0,_0x4b49a2){return _0x2c9ad0===_0x4b49a2;},'uzZsF':'_afterEach','rRhnI':_0xb66a8b(0x1ef),'aHYzD':'_afterAll','JFhtS':_0xb66a8b(0x214)};if(!_0x3d0b97||!_0x3d0b97[_0xb66a8b(0x23f)])return;[_0x2b17dd[_0xb66a8b(0x221)],_0x2b17dd['aHYzD'],_0x2b17dd[_0xb66a8b(0x22d)],_0x2b17dd[_0xb66a8b(0x200)]][_0xb66a8b(0x279)](_0x93c74f=>{const _0x52d8c5=_0xb66a8b,_0x1f63f5=_0x3d0b97[_0x52d8c5(0x23f)][_0x93c74f]||[];_0x1f63f5[_0x52d8c5(0x279)](_0xfb6148=>{const _0xc09a15=_0x52d8c5;if(_0xfb6148[_0xc09a15(0x265)][_0xc09a15(0x239)](_0x2b17dd[_0xc09a15(0x218)]))return;if(!_0xfb6148[_0xc09a15(0x205)])_0xfb6148[_0xc09a15(0x205)]=_0x2b17dd[_0xc09a15(0x1e7)](uuidv4);else _0xfb6148[_0xc09a15(0x216)]&&_0x2b17dd[_0xc09a15(0x293)](_0x93c74f,_0x2b17dd[_0xc09a15(0x200)])&&(_0xfb6148[_0xc09a15(0x205)]=_0x2b17dd[_0xc09a15(0x1e7)](uuidv4),delete _0xfb6148[_0xc09a15(0x216)]);});}),this[_0xb66a8b(0x1d0)](_0x3d0b97[_0xb66a8b(0x23f)]);}[a4_0x405e5e(0x251)](_0x474766){const _0x156f8b=a4_0x405e5e,_0x6af39f={};_0x6af39f[_0x156f8b(0x261)]=_0x156f8b(0x1ef),_0x6af39f[_0x156f8b(0x25b)]='_afterAll',_0x6af39f[_0x156f8b(0x274)]=_0x156f8b(0x214),_0x6af39f[_0x156f8b(0x29d)]=_0x156f8b(0x237);const _0x38990f=_0x6af39f;if(!_0x474766||!_0x474766[_0x156f8b(0x23f)])return[];const _0x3052bb=[];return[_0x38990f['XAPaa'],_0x38990f['KjJMZ'],_0x38990f[_0x156f8b(0x274)],_0x38990f[_0x156f8b(0x29d)]]['forEach'](_0x385681=>{const _0x208510=_0x156f8b,_0x2a209e=_0x474766[_0x208510(0x23f)][_0x385681]||[];_0x2a209e[_0x208510(0x279)](_0x4c1bc4=>{const _0x58cdfd=_0x208510;_0x4c1bc4[_0x58cdfd(0x205)]&&_0x3052bb[_0x58cdfd(0x292)](_0x4c1bc4['hookAnalyticsId']);});}),[]['concat'](_0x3052bb,this[_0x156f8b(0x251)](_0x474766['parent']));}['getHookType'](_0x1c9101){const _0x112acf=a4_0x405e5e,_0x59a4cd=/^"(?<hook>.*)" hook:.*$/,_0x3f8414=_0x1c9101[_0x112acf(0x265)],_0x308e61=_0x3f8414[_0x112acf(0x1df)](_0x59a4cd);if(_0x308e61&&_0x308e61[_0x112acf(0x213)])return _0x308e61[_0x112acf(0x213)][_0x112acf(0x24d)][_0x112acf(0x1fc)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x56f307){const _0x1c8a76=a4_0x405e5e,_0x3ee5fe={};_0x3ee5fe[_0x1c8a76(0x20a)]=function(_0x1b114a,_0x1e621a){return _0x1b114a===_0x1e621a;},_0x3ee5fe[_0x1c8a76(0x277)]=function(_0x12ff68,_0x525b38){return _0x12ff68===_0x525b38;},_0x3ee5fe[_0x1c8a76(0x1e2)]=function(_0x4391bc,_0xf76194){return _0x4391bc===_0xf76194;},_0x3ee5fe[_0x1c8a76(0x25f)]='.git',_0x3ee5fe[_0x1c8a76(0x1e3)]=_0x1c8a76(0x2a7);const _0x864a27=_0x3ee5fe,_0xd6f352=path[_0x1c8a76(0x1da)];if(_0x864a27[_0x1c8a76(0x20a)](_0x56f307,null)||_0x864a27[_0x1c8a76(0x20a)](_0x56f307,'')||_0x864a27[_0x1c8a76(0x277)](_0x56f307,_0xd6f352)||_0x864a27[_0x1c8a76(0x1e2)](_0x56f307,path[_0x1c8a76(0x291)](_0x56f307)))return null;try{return fs['statSync'](path[_0x1c8a76(0x228)](_0x56f307,_0x864a27[_0x1c8a76(0x25f)],_0x864a27['lVvvi'])),_0x56f307;}catch(_0x3bac5f){const _0x66f57f=path['dirname'](_0x56f307);return this[_0x1c8a76(0x20d)](_0x66f57f);}}[a4_0x405e5e(0x1e9)](_0x45a81a){const _0x1ae8bc=a4_0x405e5e,_0x5d7f04={};_0x5d7f04[_0x1ae8bc(0x230)]=function(_0x577d8e,_0x2cbae7){return _0x577d8e>_0x2cbae7;};const _0x4f0176=_0x5d7f04;if(_0x45a81a[_0x1ae8bc(0x224)])return _0x45a81a['file'];if(_0x45a81a[_0x1ae8bc(0x24f)]){const _0x1238e1=_0x45a81a[_0x1ae8bc(0x24f)][_0x1ae8bc(0x243)]?this[_0x1ae8bc(0x1e9)](_0x45a81a['ctx']['currentTest']):null;if(_0x1238e1)return _0x1238e1;}if(_0x45a81a[_0x1ae8bc(0x23f)]){const _0x7b05c7=this[_0x1ae8bc(0x1e9)](_0x45a81a['parent'])||(_0x45a81a[_0x1ae8bc(0x23f)][_0x1ae8bc(0x24f)]&&_0x45a81a['parent'][_0x1ae8bc(0x24f)]['currentTest']?this['getRootParentFile'](_0x45a81a[_0x1ae8bc(0x23f)]['ctx'][_0x1ae8bc(0x243)]):null);if(_0x7b05c7)return _0x7b05c7;_0x45a81a['parent'][_0x1ae8bc(0x29f)]&&_0x4f0176['MRJSg'](_0x45a81a[_0x1ae8bc(0x23f)][_0x1ae8bc(0x29f)][_0x1ae8bc(0x294)],0x0)&&_0x45a81a[_0x1ae8bc(0x23f)]['suites'][_0x1ae8bc(0x279)](_0x27c5e4=>{const _0x3fa38a=_0x1ae8bc,_0x2d7d3d=_0x27c5e4['ctx']?this[_0x3fa38a(0x1e9)](_0x27c5e4[_0x3fa38a(0x24f)]):null;if(_0x2d7d3d)return _0x2d7d3d;});}return null;}['getHierarchy'](_0x2b4ebd){const _0x17c638=a4_0x405e5e,_0x3789d3={};_0x3789d3[_0x17c638(0x1e1)]=function(_0x5367be,_0x4e23cf){return _0x5367be!==_0x4e23cf;};const _0x4cd11f=_0x3789d3,_0x4efc63=[];if(_0x2b4ebd&&_0x2b4ebd[_0x17c638(0x23f)]){let _0x3d9d4c=_0x2b4ebd['parent'];while(_0x3d9d4c&&_0x4cd11f[_0x17c638(0x1e1)](_0x3d9d4c[_0x17c638(0x265)],'')){_0x4efc63[_0x17c638(0x292)](_0x3d9d4c[_0x17c638(0x265)]),_0x3d9d4c=_0x3d9d4c[_0x17c638(0x23f)];}}return _0x4efc63;}['captureEvent'](_0x2aaaf5,_0x38728a,_0x965b9a=undefined){const _0xc2edbc=a4_0x405e5e,_0xe7c107={'HAucO':function(_0x381d9a,_0x5578a8){return _0x381d9a(_0x5578a8);},'YGKaQ':function(_0x4bf6db){return _0x4bf6db();},'ytbjE':function(_0x34e979){return _0x34e979();},'jbVEa':function(_0x5f0ef2,_0x32f357){return _0x5f0ef2(_0x32f357);},'PbfDF':_0xc2edbc(0x229),'WGyUQ':_0xc2edbc(0x217),'zgxQn':function(_0x4d67b1,_0x224a2b){return _0x4d67b1!==_0x224a2b;},'aKjtZ':function(_0x5ea460,_0x4c5cc6){return _0x5ea460!==_0x4c5cc6;},'hVAxt':'File\x20path\x20could\x20not\x20be\x20found','IIygw':_0xc2edbc(0x22c),'BQEZk':_0xc2edbc(0x2a9),'lZZfL':_0xc2edbc(0x21f),'JJhJY':_0xc2edbc(0x266),'CmRJV':'javascript','Oepri':function(_0x4f0cfa,_0x45003a){return _0x4f0cfa-_0x45003a;},'sVXWt':function(_0x30bf6e,_0x3148ae,_0xf42d8b,_0x59ad3b,_0x6843d4){return _0x30bf6e(_0x3148ae,_0xf42d8b,_0x59ad3b,_0x6843d4);},'CFXVz':_0xc2edbc(0x1d7),'ivoNi':_0xc2edbc(0x262),'Cxkqo':_0xc2edbc(0x267),'tLRSL':_0xc2edbc(0x1b8),'brHWk':_0xc2edbc(0x1d9),'zmyBX':_0xc2edbc(0x299),'WkStS':'expanded','QiXvx':function(_0x43d631,_0xeaee46){return _0x43d631===_0xeaee46;},'POIMp':_0xc2edbc(0x20f),'lczth':'test_run'};if(!this[_0xc2edbc(0x227)])return;try{if(_0x38728a['fn']&&_0x38728a['fn']['toString']()[_0xc2edbc(0x1df)](/browserstack internal helper hook/))return;const _0x9d8c4f=_0xe7c107[_0xc2edbc(0x2ae)](parseEvent,_0x2aaaf5);if(!_0x9d8c4f)return;if(_0x9d8c4f['test']){this['currentTest']=_0x38728a,this[_0xc2edbc(0x282)]=null;if(_0x9d8c4f[_0xc2edbc(0x1e0)]||_0x9d8c4f[_0xc2edbc(0x266)]){_0x38728a[_0xc2edbc(0x257)]=new Date(),_0x38728a[_0xc2edbc(0x216)]=![];if(!_0x38728a[_0xc2edbc(0x2a1)])_0x38728a[_0xc2edbc(0x2a1)]=_0xe7c107[_0xc2edbc(0x260)](uuidv4);else _0x38728a[_0xc2edbc(0x216)]&&(!_0x38728a[_0xc2edbc(0x209)]&&(_0x38728a[_0xc2edbc(0x209)]=_0x38728a['testAnalyticsId']),_0x38728a[_0xc2edbc(0x2a1)]=_0xe7c107[_0xc2edbc(0x1f4)](uuidv4));}}else{if(_0x9d8c4f[_0xc2edbc(0x24d)]){this[_0xc2edbc(0x282)]=_0x38728a;if(_0x9d8c4f['started']){_0x38728a['startedAt']=new Date(),_0x38728a['markedStatus']=![];if(!_0x38728a['hookAnalyticsId'])_0x38728a[_0xc2edbc(0x205)]=_0xe7c107['ytbjE'](uuidv4);else _0x38728a['hookAnalyticsId']&&_0x38728a[_0xc2edbc(0x216)]&&(_0x38728a['hookAnalyticsId']=_0xe7c107[_0xc2edbc(0x1f4)](uuidv4));}}}if(_0x9d8c4f[_0xc2edbc(0x1dd)]&&_0x38728a[_0xc2edbc(0x216)])return;let _0x3400e3;try{_0x3400e3=this[_0xc2edbc(0x1e9)](_0x38728a);}catch(_0x47f5e9){logger[_0xc2edbc(0x1f5)](_0xc2edbc(0x2af)+_0x47f5e9),_0x3400e3=null;}const _0x1b7507=_0xe7c107['jbVEa'](require,_0xe7c107['PbfDF']);let _0x6e2e8a=[];_0x965b9a&&(_0x6e2e8a=[_0x965b9a,_0xe7c107[_0xc2edbc(0x2ab)]]);const _0x32e110=_0xe7c107[_0xc2edbc(0x1d8)](_0x38728a[_0xc2edbc(0x1d4)],undefined)?_0x1b7507[_0xc2edbc(0x222)](_0x38728a['errorsDetailed'][0x0]):_0xe7c107[_0xc2edbc(0x20c)](_0x965b9a,undefined)?_0x965b9a[_0xc2edbc(0x280)]():undefined,_0x8a174f=_0x3400e3?this['findGitConfig'](_0x3400e3):null,_0x59f556=_0x3400e3?this[_0xc2edbc(0x295)]['prefixTestPath'](this['getRootParentFile'](_0x38728a)):_0xe7c107[_0xc2edbc(0x24c)];let _0x566c1f=_0xe7c107[_0xc2edbc(0x28e)];const _0x421e97=!_0x9d8c4f['started']?new Date()[_0xc2edbc(0x281)]():null;if(_0x9d8c4f[_0xc2edbc(0x1dd)])_0x566c1f=_0x965b9a?_0xe7c107[_0xc2edbc(0x1fe)]:_0xe7c107[_0xc2edbc(0x2a8)],_0x38728a[_0xc2edbc(0x216)]=!![];else _0x9d8c4f[_0xc2edbc(0x266)]&&(_0x566c1f=_0xe7c107['JJhJY'],_0x38728a[_0xc2edbc(0x216)]=!![]);const _0x268625={'framework':this[_0xc2edbc(0x1e5)],'uuid':_0x38728a['testAnalyticsId']||_0x38728a[_0xc2edbc(0x205)],'name':_0x38728a[_0xc2edbc(0x265)],'body':{'lang':_0xe7c107['CmRJV'],'code':_0x38728a['body'][_0xc2edbc(0x280)]()},'type':_0x38728a[_0xc2edbc(0x2a4)],'scope':_0x38728a[_0xc2edbc(0x1e4)](),'scopes':this[_0xc2edbc(0x22b)](_0x38728a),'file_name':_0x59f556,'vc_filepath':_0x8a174f?path[_0xc2edbc(0x23b)](_0x8a174f,_0x3400e3):null,'location':_0x59f556,'result':_0x566c1f,'failure_reason':_0x32e110,'duration_in_ms':_0x38728a['duration']||(_0x9d8c4f['finished']||_0x9d8c4f[_0xc2edbc(0x266)])?_0xe7c107['Oepri'](Date['now'](),new Date(_0x38728a[_0xc2edbc(0x257)])[_0xc2edbc(0x22a)]()):null,'started_at':new Date(_0x38728a['startedAt'])['toISOString'](),'finished_at':_0x421e97,'failure':testOpsHelper[_0xc2edbc(0x1f3)][_0xc2edbc(0x264)](null,_0x6e2e8a),'failure_type':!_0x32e110?null:testOpsHelper[_0xc2edbc(0x238)](_0x32e110),'retry_of':_0x38728a[_0xc2edbc(0x209)]||null,'tags':_0x38728a[_0xc2edbc(0x258)]||[],'customRerunParam':{'rerun_name':_0x38728a[_0xc2edbc(0x1e4)]()}};_0xe7c107[_0xc2edbc(0x1bc)](appendTesthubParams,_0x268625,_0x2aaaf5,_0x38728a,FRAMEWORKS[_0xc2edbc(0x27c)]);if(_0x9d8c4f[_0xc2edbc(0x24d)])[_0x268625[_0xc2edbc(0x1d2)],_0x268625[_0xc2edbc(0x2ac)]]=[this[_0xc2edbc(0x1d5)](_0x38728a),_0x38728a[_0xc2edbc(0x24f)][_0xc2edbc(0x263)]['title']],_0x9d8c4f['finished']?_0xe7c107[_0xc2edbc(0x1d8)](_0x268625[_0xc2edbc(0x1ce)],_0xe7c107[_0xc2edbc(0x1fe)])&&(_0x268625[_0xc2edbc(0x1ce)]=_0xe7c107[_0xc2edbc(0x2a8)]):_0x268625[_0xc2edbc(0x1b7)]={};else _0x9d8c4f[_0xc2edbc(0x263)]&&(this[_0xc2edbc(0x1d0)](_0x38728a),_0x9d8c4f['skipped']&&this[_0xc2edbc(0x20b)](_0x38728a),(_0x9d8c4f[_0xc2edbc(0x1dd)]||_0x9d8c4f[_0xc2edbc(0x266)])&&(_0x268625[_0xc2edbc(0x1dc)]=this[_0xc2edbc(0x251)](_0x38728a)));this[_0xc2edbc(0x289)]&&(_0x9d8c4f[_0xc2edbc(0x1e0)]||_0x9d8c4f[_0xc2edbc(0x266)])&&(_0x268625[_0xe7c107[_0xc2edbc(0x2a0)]]=this['getCBTInfo'](this['driver']));_0x9d8c4f[_0xc2edbc(0x263)]&&_0x9d8c4f['finished']&&_0x38728a[_0xc2edbc(0x203)]&&(_0x268625[_0xe7c107['ivoNi']]={'feature':{'name':_0x38728a[_0xc2edbc(0x23f)][_0xc2edbc(0x210)][_0xc2edbc(0x2ac)],'path':_0x268625['file_name'],'description':_0x38728a[_0xc2edbc(0x23f)][_0xc2edbc(0x1f7)]},'scenario':{'name':_0x38728a['title']},'steps':_0x38728a[_0xc2edbc(0x203)]});const _0x35d6b7=_0x268625[_0xe7c107[_0xc2edbc(0x1c8)]][0x0];_0x35d6b7&&(_0x268625[_0xe7c107[_0xc2edbc(0x1f0)]]=_0x35d6b7[_0xe7c107['brHWk']],_0x268625[_0xe7c107[_0xc2edbc(0x255)]]=_0x35d6b7[_0xe7c107[_0xc2edbc(0x225)]]);if(_0x38728a[_0xc2edbc(0x203)])for(const _0x5df68b of _0x38728a[_0xc2edbc(0x203)]){!_0x5df68b[_0xc2edbc(0x1b9)]&&(_0x5df68b[_0xc2edbc(0x1b9)]=new Date()[_0xc2edbc(0x281)](),_0xe7c107[_0xc2edbc(0x25a)](_0x5df68b[_0xc2edbc(0x1ce)],_0xe7c107[_0xc2edbc(0x28e)])&&(_0x35d6b7?(_0x5df68b['result']=_0xe7c107[_0xc2edbc(0x1fe)],_0x5df68b[_0xc2edbc(0x267)]=_0x35d6b7[_0xe7c107[_0xc2edbc(0x1bb)]][0x0]):_0x5df68b[_0xc2edbc(0x1ce)]=_0xe7c107['lZZfL']));}const _0x4481ab={};_0x4481ab['event_type']=_0x9d8c4f[_0xc2edbc(0x266)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x2aaaf5;const _0x33d8fa=_0x4481ab;return _0x9d8c4f['hook']?_0x33d8fa[_0xe7c107[_0xc2edbc(0x27e)]]=_0x268625:_0x33d8fa[_0xe7c107[_0xc2edbc(0x2ad)]]=_0x268625,_0x33d8fa;}catch(_0xc0fbee){logger[_0xc2edbc(0x1f5)](_0xc2edbc(0x278)+_0x2aaaf5+_0xc2edbc(0x1d1)+_0xc0fbee);}}async[a4_0x405e5e(0x259)](_0x3bd806,_0x101404){const _0x2299a=a4_0x405e5e;if(!this[_0x2299a(0x227)]||!_0x101404||!_0x3bd806)return![];try{return await SessionHandler[_0x2299a(0x1c9)](_0x101404);}catch(_0x1bb9e8){logger[_0x2299a(0x1f5)](_0x2299a(0x22f)+_0x3bd806+_0x2299a(0x1d1)+_0x1bb9e8);}}['initializeBddStep'](_0x368fd6){const _0x30af37=a4_0x405e5e,_0x51096c={};_0x51096c[_0x30af37(0x233)]='pending';const _0x4682f0=_0x51096c;return{'id':_0x368fd6[_0x30af37(0x1ba)],'text':_0x368fd6[_0x30af37(0x250)],'keyword':_0x368fd6[_0x30af37(0x284)],'started_at':_0x368fd6[_0x30af37(0x257)][_0x30af37(0x281)](),'result':_0x4682f0[_0x30af37(0x233)]};}[a4_0x405e5e(0x1ca)](_0x4216be){const _0xfed90c=a4_0x405e5e,_0xd7d5cc={'rpMUx':function(_0x417931){return _0x417931();}};!this[_0xfed90c(0x243)]['bddSteps']&&(this[_0xfed90c(0x243)][_0xfed90c(0x203)]=[]),!_0x4216be[_0xfed90c(0x1ba)]&&(_0x4216be[_0xfed90c(0x1ba)]=_0xd7d5cc[_0xfed90c(0x211)](uuidv4),_0x4216be[_0xfed90c(0x257)]=new Date(),this[_0xfed90c(0x243)][_0xfed90c(0x203)][_0xfed90c(0x292)](this[_0xfed90c(0x226)](_0x4216be)));}[a4_0x405e5e(0x22e)](_0x49fe94){const _0xbeb654=a4_0x405e5e,_0x22b00e={'ewKFt':function(_0x1d3d39,_0x3198fd){return _0x1d3d39(_0x3198fd);},'rvpLI':_0xbeb654(0x288),'TGalK':_0xbeb654(0x22c),'DtDeK':_0xbeb654(0x21f),'HxHCR':function(_0x3d1e27,_0x5b4510){return _0x3d1e27-_0x5b4510;}};let _0x33e133=this[_0xbeb654(0x243)][_0xbeb654(0x203)]['find'](_0x234d92=>_0x234d92['id']===_0x49fe94[_0xbeb654(0x1ba)]);_0x22b00e[_0xbeb654(0x220)](isUndefined,_0x33e133)&&(_0x33e133=this[_0xbeb654(0x226)](_0x49fe94)),_0x33e133[_0xbeb654(0x1ce)]=[_0x22b00e['rvpLI'],_0x22b00e[_0xbeb654(0x1f1)]][_0xbeb654(0x239)](_0x49fe94[_0xbeb654(0x297)])?_0x22b00e[_0xbeb654(0x248)]:_0x49fe94[_0xbeb654(0x297)],_0x33e133[_0xbeb654(0x1b9)]=new Date()['toISOString'](),_0x33e133[_0xbeb654(0x246)]=_0x22b00e[_0xbeb654(0x26d)](Date[_0xbeb654(0x234)](),_0x49fe94['startedAt']['getTime']()),_0x33e133['failure']=_0x49fe94[_0xbeb654(0x217)]?_0x49fe94[_0xbeb654(0x217)][_0xbeb654(0x26e)]:null;}}const a4_0x46a308={};a4_0x46a308[a4_0x405e5e(0x254)]=O11yHelper,a4_0x46a308[a4_0x405e5e(0x242)]=STATE_PASSED,a4_0x46a308[a4_0x405e5e(0x1fd)]=STATE_FAILED,a4_0x46a308[a4_0x405e5e(0x223)]=TEST_EVENTS,module['exports']=a4_0x46a308;
|
|
1
|
+
function a4_0x3356(){const _0x4bf95a=['split','_paths','currentTest','statSync','lib','KmTHV','forEach','test_run','../../helpers/test-observability/requestQueueHandler','TEST_RUN_FINISHED','../playwright/sessionDetails','fullTitle','comment','eyeer','stepAnalyticsId','obsBrowserTypeMockApplied','hook_run','_beforeAll','connectOverCDP','getTime','PLAYWRIGHT_HUB_URL','mdpUD','now','_testEnv','O11yHelper','_beforeEach','bddStepFinish','TEST_EVENTS','client','PrIam','1637552NQAZZu','logs','debug','./helper.js','message','oakAO','getCBTInfo','ctx','join','aEgAy','bEQTj','hook_type','mapTestHooks','3|2|5|0|4|1','toUpperCase','backtrace','finished','1277150yVoFAS','connect','RBCYy','BrowserType','../../helpers/testhub/utils.js','path','parent','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','enabled','CBTSessionCreated','ZHjat','yaLRM','location_prefix','STATE_FAILED','STATE_PASSED','fmJtz','name','TXpLk','fjWkl','ZHTOn','relative','2091543febyYR','Not\x20able\x20to\x20import\x20Browser','sep','cgQOP','qHfUD','hvZaH','399379sABnnl','match','hookAnalyticsId','errorsDetailed','IXaiA','constructor','File\x20path\x20could\x20not\x20be\x20found','failureData','event_type','mDiCQ','util','keyword','RWKwZ','hook','RCzUa','driver','\x20with\x20error\x20:\x20','browserType.js','markedStatus','dirname','then','prototype','PWOyY','bddSteps','toISOString','2FFQiku','CODECEPT','bs:addLog:','startedAt','uploadEventData','accessibilityPlatform','yQlIw','setupBrowserDetails','oMFgG','xpXMl','../../helpers/test-observability/constants','NZQll','102TkEHPp','_afterAll','toLowerCase','defineProperty','gmcok','DsRbj','getHookType','failure_backtrace','oxHsr','groups','config','../utils/constants','apply','launch','siwpL','TXbiH','err','testAnalyticsId','codeceptjs','Playwright','resetSkipTestHooks','.git','../../helpers/helper','ZNsJx','8anVzIT','bEWgs','captureEvent','HookRunFinished','exports','concat','failure','fireEvent','length','toString','HJkZG','fSLGg','ajyXy','BjOue','skipped','qgVCr','wsEndpoint','GXsTq','body','result','find','../../helpers/logger','5508603EldyBX','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','currentHook','cwd','ttjpj','GPwHH','tMtJL','inspect','kRFQe','NSZti','HjZwb','mdYuP','frameworkName','TEtNW','patchConsoleLogger','HTYXZ','title','QsvlK','../playwright/accessibility-helper','finished_at','started','YUvGN','41765mnmTsT','Failed\x20to\x20parse\x20wsendpoint\x20','ixSla','TEST_RUN_SKIPPED','findGitConfig','BRAiN','jJHxx','javascript','DlLXr','mibDI','getRootParentFile','XWxfh','hook_run_uuid','shutdown','_afterEach','failed','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','stop','zkjUw','aAkKT','uZRtl','browserstack','winstonLogger','../../helpers/test-observability/utils','xBByV','PathHelper','expanded','retryOf','TestRunSkipped','failure_reason_expanded','initializeBddStep','HookRunStarted','FljkH','__cloud_provider___','nESmG','TestRunStarted','qbVkV','includes','LyLWE','duration','tGmPs','test','656392pNprHy','getHierarchy','suites','passed','appendTestItemLog','hyvcI','integrations','TEST_RUN_STARTED','TestRunFinished','type','Zkogq','uPGAy','getInstance','gbWEI','sendCBTInfo','pending','start','test_run_uuid','HOOK_RUN_STARTED','file','getHooksForTest','QjlXo','HOOK_RUN_FINISHED','text','getFailureType','cPBNj','pid','NUuNN','uuid','TOXaE','../../helpers/test-observability/sessionHandler'];a4_0x3356=function(){return _0x4bf95a;};return a4_0x3356();}const a4_0x10866e=a4_0x4ac7;(function(_0x8076b6,_0xeff44){const _0x1ca48f=a4_0x4ac7,_0x2cbbf1=_0x8076b6();while(!![]){try{const _0x4d619f=parseInt(_0x1ca48f(0x1a3))/0x1*(parseInt(_0x1ca48f(0x1bc))/0x2)+-parseInt(_0x1ca48f(0x19d))/0x3+parseInt(_0x1ca48f(0x13a))/0x4+-parseInt(_0x1ca48f(0x20c))/0x5*(parseInt(_0x1ca48f(0x1c8))/0x6)+parseInt(_0x1ca48f(0x177))/0x7+-parseInt(_0x1ca48f(0x1e0))/0x8*(-parseInt(_0x1ca48f(0x1f6))/0x9)+-parseInt(_0x1ca48f(0x188))/0xa;if(_0x4d619f===_0xeff44)break;else _0x2cbbf1['push'](_0x2cbbf1['shift']());}catch(_0x3adf23){_0x2cbbf1['push'](_0x2cbbf1['shift']());}}}(a4_0x3356,0x6c0d7));function a4_0x4ac7(_0x5d4c05,_0x5a32ae){const _0x33566d=a4_0x3356();return a4_0x4ac7=function(_0x4ac7a5,_0x18b1b7){_0x4ac7a5=_0x4ac7a5-0x133;let _0x3a0c8a=_0x33566d[_0x4ac7a5];return _0x3a0c8a;},a4_0x4ac7(_0x5d4c05,_0x5a32ae);}const path=require(a4_0x10866e(0x18d)),fs=require('fs'),{v4:uuidv4}=require(a4_0x10866e(0x156)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x10866e(0x1de)),testOpsHelper=require(a4_0x10866e(0x223)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x10866e(0x1c6)),logger=require(a4_0x10866e(0x1f5))[a4_0x10866e(0x222)],SessionHandler=require(a4_0x10866e(0x158)),RequestQueueHandler=require(a4_0x10866e(0x161)),PlaywrightSessionDetails=require(a4_0x10866e(0x163)),debug=testOpsHelper[a4_0x10866e(0x179)],{processAccessibilityCaps}=require(a4_0x10866e(0x208)),Constants=require(a4_0x10866e(0x1d3)),{fetchPlatformDetails}=require(a4_0x10866e(0x17a)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x10866e(0x18c)),STATE_PASSED=a4_0x10866e(0x13d),STATE_FAILED=a4_0x10866e(0x21b),a4_0x248caf={};a4_0x248caf[a4_0x10866e(0x141)]=a4_0x10866e(0x133),a4_0x248caf['TEST_RUN_FINISHED']=a4_0x10866e(0x142),a4_0x248caf[a4_0x10866e(0x20f)]=a4_0x10866e(0x228),a4_0x248caf[a4_0x10866e(0x14c)]=a4_0x10866e(0x22b),a4_0x248caf[a4_0x10866e(0x150)]=a4_0x10866e(0x1e3);const TEST_EVENTS=a4_0x248caf,parseEvent=_0x508b5b=>{const _0x183a97=a4_0x10866e,_0x37ee17={};_0x37ee17[_0x183a97(0x21e)]=function(_0x578b5d,_0x19da67){return _0x578b5d<_0x19da67;},_0x37ee17[_0x183a97(0x211)]=function(_0x566b2f,_0xf220c3){return _0x566b2f===_0xf220c3;},_0x37ee17['NUuNN']=_0x183a97(0x139),_0x37ee17['qbVkV']=_0x183a97(0x1b0),_0x37ee17[_0x183a97(0x147)]=function(_0xb0c121,_0x22ac32){return _0xb0c121===_0x22ac32;},_0x37ee17[_0x183a97(0x1c7)]='skipped',_0x37ee17[_0x183a97(0x17c)]=_0x183a97(0x20a),_0x37ee17['fSLGg']=_0x183a97(0x187);const _0x346fca=_0x37ee17,_0x2cfd31=_0x508b5b[_0x183a97(0x1a4)](/^(.*)Run(.*)$/);if(!_0x2cfd31)return null;if(_0x346fca[_0x183a97(0x21e)](_0x2cfd31[_0x183a97(0x1e8)],0x3))return null;const _0x20b3bc=_0x2cfd31[0x1][_0x183a97(0x1ca)](),_0x56131b=_0x2cfd31[0x2]['toLowerCase']();return{'test':_0x346fca[_0x183a97(0x211)](_0x20b3bc,_0x346fca[_0x183a97(0x155)]),'hook':_0x346fca[_0x183a97(0x211)](_0x20b3bc,_0x346fca[_0x183a97(0x134)]),'skipped':_0x346fca[_0x183a97(0x147)](_0x56131b,_0x346fca[_0x183a97(0x1c7)]),'started':_0x346fca[_0x183a97(0x211)](_0x56131b,_0x346fca[_0x183a97(0x17c)]),'finished':_0x346fca[_0x183a97(0x147)](_0x56131b,_0x346fca[_0x183a97(0x1eb)])};},mockPWBrowserType=_0x5ac2a8=>{const _0xa14752=a4_0x10866e,_0x62e969={'VXToR':function(_0x4a9514,_0x115844,_0x15490c){return _0x4a9514(_0x115844,_0x15490c);},'XWxfh':'wsEndpoint','HTYXZ':function(_0x30d9cb,_0x6e5e52){return _0x30d9cb(_0x6e5e52);},'PrIam':_0xa14752(0x221),'TEtNW':function(_0x19644e,_0x2226de,_0x285c1b){return _0x19644e(_0x2226de,_0x285c1b);},'bEWgs':function(_0x8d95fd,_0x16622d){return _0x8d95fd===_0x16622d;},'QsvlK':'string','gmcok':_0xa14752(0x15d),'cgQOP':_0xa14752(0x175),'cPBNj':_0xa14752(0x1b4),'RBCYy':function(_0xaf021d,_0x26afec){return _0xaf021d(_0x26afec);},'TEfEj':function(_0x6e8cdd,_0x3bde86){return _0x6e8cdd(_0x3bde86);},'fHTaL':_0xa14752(0x19e),'qHfUD':_0xa14752(0x189),'HevDv':'launch'},_0x3531df=path['join'](_0x62e969[_0xa14752(0x1cc)],_0x62e969[_0xa14752(0x1a0)],_0x62e969[_0xa14752(0x153)]),_0x63714d=_0x62e969[_0xa14752(0x18a)](importFileFromPWCore,_0x3531df);if(!_0x63714d){_0x62e969['TEfEj'](debug,_0x62e969['fHTaL']);return;}const _0x29ad8a=_0x63714d[_0xa14752(0x18b)],_0x2de695=_0x29ad8a[_0xa14752(0x1b8)];if(_0x2de695[_0xa14752(0x168)])return;const _0x29f946=_0x2de695[_0xa14752(0x189)];Object[_0xa14752(0x1cb)](_0x2de695,_0x62e969[_0xa14752(0x1a1)],{'get':function(){const _0x49601b=_0xa14752,_0x5462a4={'GPwHH':function(_0x123fa8,_0x18d704){const _0x115f2f=a4_0x4ac7;return _0x62e969[_0x115f2f(0x1e1)](_0x123fa8,_0x18d704);},'aAkKT':_0x62e969[_0x49601b(0x207)]};return async function _0x5cd6e8(_0x10e938,_0x3e0b51){const _0x4e8514=_0x49601b,_0x3213a4=_0x62e969['VXToR'](nestedKeyValue,_0x10e938,[_0x62e969[_0x4e8514(0x217)]])||_0x10e938;let _0x354a95=null,_0x132fbd=null;try{[_0x132fbd,_0x354a95]=_0x3213a4?_0x62e969[_0x4e8514(0x205)](parseWSEndpoint,_0x3213a4):[null,null],global['__platformCaps']=_0x354a95,_0x132fbd[_0x4e8514(0x135)](_0x62e969['PrIam'])&&(global[_0x4e8514(0x22d)]=_0x62e969[_0x4e8514(0x176)]);}catch(_0x4690a7){logger[_0x4e8514(0x179)](_0x4e8514(0x20d)+_0x3213a4+'\x20'+_0x4690a7);}_0x62e969[_0x4e8514(0x203)](processAccessibilityCaps,_0x354a95,_0x132fbd);if(global[_0x4e8514(0x1c1)]){const _0x29c8d5=await _0x2de695[_0x4e8514(0x16b)][_0x4e8514(0x1d4)](this,[''+Constants[_0x4e8514(0x16d)]+_0x62e969[_0x4e8514(0x205)](encodeURIComponent,JSON['stringify'](_0x354a95))]);return PlaywrightSessionDetails[_0x4e8514(0x1c3)](_0x29c8d5,_0x5ac2a8,_0x3213a4),_0x29c8d5;}return _0x29f946[_0x4e8514(0x1d4)](this,arguments)[_0x4e8514(0x1b7)](_0x4da095=>{const _0x3ca066=_0x4e8514;let _0x539a56=_0x10e938[_0x3ca066(0x1f0)];return _0x5462a4[_0x3ca066(0x1fb)](typeof _0x10e938,_0x5462a4[_0x3ca066(0x21f)])&&(_0x539a56=_0x10e938),PlaywrightSessionDetails[_0x3ca066(0x1c3)](_0x4da095,_0x5ac2a8,_0x539a56),_0x4da095;});};}});const _0x4faa38=_0x2de695[_0xa14752(0x1d5)];Object['defineProperty'](_0x2de695,_0x62e969['HevDv'],{'get':function(){return async function _0x343dd1(){const _0x1cf4a7=a4_0x4ac7;return _0x4faa38['apply'](this,arguments)[_0x1cf4a7(0x1b7)](_0x5b2cb2=>{const _0x38481b=_0x1cf4a7;return PlaywrightSessionDetails[_0x38481b(0x1c3)](_0x5b2cb2,null),_0x5b2cb2;});};}});};class O11yHelper{[a4_0x10866e(0x15b)]=null;['currentHook']=null;[a4_0x10866e(0x190)]=![];[a4_0x10866e(0x202)]=![];constructor(_0x934695,_0x58711a){const _0x19b4f4=a4_0x10866e,_0x251185={'CmACY':_0x19b4f4(0x184),'fjWkl':function(_0x511548){return _0x511548();},'TOXaE':function(_0x59f5e5,_0x4084b6){return _0x59f5e5===_0x4084b6;},'Zkogq':_0x19b4f4(0x1db),'mdYuP':function(_0x39a32a,_0x32b51d){return _0x39a32a(_0x32b51d);}},_0x42638b=_0x251185['CmACY'][_0x19b4f4(0x159)]('|');let _0x297391=0x0;while(!![]){switch(_0x42638b[_0x297391++]){case'0':this[_0x19b4f4(0x170)]=_0x251185[_0x19b4f4(0x19a)](getTestEnv);continue;case'1':this[_0x19b4f4(0x1b2)]&&_0x251185[_0x19b4f4(0x157)](this[_0x19b4f4(0x1b2)][_0x19b4f4(0x1a8)][_0x19b4f4(0x198)],_0x251185[_0x19b4f4(0x144)])&&_0x251185[_0x19b4f4(0x201)](mockPWBrowserType,null);continue;case'2':this[_0x19b4f4(0x202)]=_0x58711a[_0x19b4f4(0x202)];continue;case'3':this['enabled']=_0x251185[_0x19b4f4(0x19a)](shouldProcessEventForTesthub);continue;case'4':this[_0x19b4f4(0x15a)]=new testOpsHelper[(_0x19b4f4(0x225))]({'cwd':process[_0x19b4f4(0x1f9)]()},this[_0x19b4f4(0x170)][_0x19b4f4(0x194)]);continue;case'5':this['driver']=_0x934695;continue;}break;}}[a4_0x10866e(0x14a)](){const _0x5d9973=a4_0x10866e;if(!this[_0x5d9973(0x190)])return;testOpsHelper[_0x5d9973(0x204)](),process['removeAllListeners'](_0x5d9973(0x1be)+process['pid']),process['on'](_0x5d9973(0x1be)+process[_0x5d9973(0x154)],this[_0x5d9973(0x13e)]['bind'](this));}async[a4_0x10866e(0x21d)](){const _0x123ac2=a4_0x10866e;await RequestQueueHandler[_0x123ac2(0x146)]()[_0x123ac2(0x219)]();}async[a4_0x10866e(0x13e)](_0x55a073){const _0x15abea=a4_0x10866e,_0x170ea3={'DlLXr':'LogCreated','VfdOz':function(_0x2267be,_0x5ccabe){return _0x2267be(_0x5ccabe);}};try{this[_0x15abea(0x1f8)]&&!this[_0x15abea(0x1f8)][_0x15abea(0x1b5)]&&(_0x55a073[_0x15abea(0x218)]=this[_0x15abea(0x1f8)][_0x15abea(0x1a5)]);!_0x55a073['hook_run_uuid']&&this[_0x15abea(0x15b)]&&!this[_0x15abea(0x15b)][_0x15abea(0x1b5)]&&(_0x55a073[_0x15abea(0x14b)]=this['currentTest'][_0x15abea(0x1d9)]);if(_0x55a073['hook_run_uuid']||_0x55a073[_0x15abea(0x14b)]){const _0x53ff80={};_0x53ff80['event_type']=_0x170ea3[_0x15abea(0x214)],_0x53ff80[_0x15abea(0x178)]=[_0x55a073],await SessionHandler[_0x15abea(0x1c0)](_0x53ff80);}}catch(_0x4960e2){_0x170ea3['VfdOz'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x4960e2);}}async[a4_0x10866e(0x148)](_0x56d313){const _0x17c2ba=a4_0x10866e,_0x370099={'EgCmw':_0x17c2ba(0x191),'mbUIQ':function(_0x41d86e,_0x53471d){return _0x41d86e(_0x53471d);}};if(!this['enabled'])return;const _0x44b5af=this[_0x17c2ba(0x17d)](this[_0x17c2ba(0x1b2)]);try{const _0x25d469={};_0x25d469[_0x17c2ba(0x156)]=_0x56d313,_0x25d469[_0x17c2ba(0x140)]=_0x44b5af;const _0x24d8b2=_0x25d469,_0x3e2c8b={};_0x3e2c8b[_0x17c2ba(0x1ab)]=_0x370099['EgCmw'],_0x3e2c8b[_0x17c2ba(0x160)]=_0x24d8b2,await SessionHandler[_0x17c2ba(0x1c0)](_0x3e2c8b);}catch(_0x195c0e){_0x370099['mbUIQ'](debug,_0x17c2ba(0x1f7)+_0x195c0e);}}[a4_0x10866e(0x17d)](_0x3d6cac){const _0x4fb4a7={'HFrcS':function(_0x599a5a,_0x469dd5){return _0x599a5a(_0x469dd5);}};return _0x4fb4a7['HFrcS'](fetchPlatformDetails,_0x3d6cac);}[a4_0x10866e(0x1dc)]=_0x132039=>{const _0x1dffd0=a4_0x10866e,_0x3d14e4={};_0x3d14e4[_0x1dffd0(0x224)]=_0x1dffd0(0x172),_0x3d14e4['ttjpj']=_0x1dffd0(0x21a);const _0x391cc3=_0x3d14e4;if(!_0x132039||!_0x132039[_0x1dffd0(0x18e)])return;[_0x391cc3['xBByV'],_0x391cc3[_0x1dffd0(0x1fa)]][_0x1dffd0(0x15f)](_0x96713c=>{const _0x859e76=_0x1dffd0,_0x59d46a=_0x132039[_0x859e76(0x18e)][_0x96713c];_0x59d46a['forEach'](_0x48f437=>{const _0x54f331=_0x859e76;_0x48f437[_0x54f331(0x1a5)]&&(_0x48f437[_0x54f331(0x1a5)]=null);});});};[a4_0x10866e(0x183)](_0x866613){const _0x21b16a=a4_0x10866e,_0x17a900={'nNequ':_0x21b16a(0x1da),'qgVCr':function(_0x1a0c41){return _0x1a0c41();},'RWKwZ':function(_0x4748ee,_0xcb1c71){return _0x4748ee===_0xcb1c71;},'PWOyY':'_afterEach','NSZti':'_beforeAll','tMtJL':_0x21b16a(0x1c9),'yaLRM':_0x21b16a(0x172)};if(!_0x866613||!_0x866613[_0x21b16a(0x18e)])return;[_0x17a900[_0x21b16a(0x1ff)],_0x17a900[_0x21b16a(0x1fc)],_0x17a900[_0x21b16a(0x193)],_0x17a900[_0x21b16a(0x1b9)]][_0x21b16a(0x15f)](_0x2ad0c2=>{const _0x3e0332=_0x21b16a,_0x5459bf={'xuiia':_0x17a900['nNequ'],'HjZwb':function(_0x24a680){const _0x17b83c=a4_0x4ac7;return _0x17a900[_0x17b83c(0x1ef)](_0x24a680);},'rDPHt':function(_0x4c453d,_0x130d92){const _0x3aab79=a4_0x4ac7;return _0x17a900[_0x3aab79(0x1af)](_0x4c453d,_0x130d92);},'kRFQe':_0x17a900[_0x3e0332(0x1b9)]},_0x3cf07d=_0x866613[_0x3e0332(0x18e)][_0x2ad0c2]||[];_0x3cf07d[_0x3e0332(0x15f)](_0x120860=>{const _0x45e1c4=_0x3e0332;if(_0x120860[_0x45e1c4(0x206)][_0x45e1c4(0x135)](_0x5459bf['xuiia']))return;if(!_0x120860[_0x45e1c4(0x1a5)])_0x120860[_0x45e1c4(0x1a5)]=_0x5459bf[_0x45e1c4(0x200)](uuidv4);else _0x120860[_0x45e1c4(0x1b5)]&&_0x5459bf['rDPHt'](_0x2ad0c2,_0x5459bf[_0x45e1c4(0x1fe)])&&(_0x120860[_0x45e1c4(0x1a5)]=_0x5459bf[_0x45e1c4(0x200)](uuidv4),delete _0x120860[_0x45e1c4(0x1b5)]);});}),this[_0x21b16a(0x183)](_0x866613['parent']);}[a4_0x10866e(0x14e)](_0xa50577){const _0x4f26d4=a4_0x10866e,_0x56cb75={};_0x56cb75[_0x4f26d4(0x20e)]=_0x4f26d4(0x16a),_0x56cb75['GXsTq']=_0x4f26d4(0x1c9),_0x56cb75['KmTHV']=_0x4f26d4(0x172),_0x56cb75[_0x4f26d4(0x22c)]=_0x4f26d4(0x21a);const _0x11d06a=_0x56cb75;if(!_0xa50577||!_0xa50577[_0x4f26d4(0x18e)])return[];const _0x480c8e=[];return[_0x11d06a[_0x4f26d4(0x20e)],_0x11d06a[_0x4f26d4(0x1f1)],_0x11d06a[_0x4f26d4(0x15e)],_0x11d06a['FljkH']][_0x4f26d4(0x15f)](_0x25b070=>{const _0x424bc8=_0x4f26d4,_0x3c1cc6=_0xa50577[_0x424bc8(0x18e)][_0x25b070]||[];_0x3c1cc6[_0x424bc8(0x15f)](_0x4fd235=>{const _0x3fa600=_0x424bc8;_0x4fd235[_0x3fa600(0x1a5)]&&_0x480c8e['push'](_0x4fd235[_0x3fa600(0x1a5)]);});}),[][_0x4f26d4(0x1e5)](_0x480c8e,this[_0x4f26d4(0x14e)](_0xa50577['parent']));}[a4_0x10866e(0x1ce)](_0x506737){const _0x2f2128=a4_0x10866e,_0x4573d2=/^"(?<hook>.*)" hook:.*$/,_0x953270=_0x506737['title'],_0x484ddc=_0x953270['match'](_0x4573d2);if(_0x484ddc&&_0x484ddc['groups'])return _0x484ddc[_0x2f2128(0x1d1)]['hook'][_0x2f2128(0x185)]()['replace']('\x20','_');return null;}[a4_0x10866e(0x210)](_0x2cb2d3){const _0x3caa2b=a4_0x10866e,_0x4cd96a={};_0x4cd96a['HJkZG']=function(_0x178470,_0x122abc){return _0x178470===_0x122abc;},_0x4cd96a[_0x3caa2b(0x212)]=function(_0x72b9f1,_0x45e3e2){return _0x72b9f1===_0x45e3e2;},_0x4cd96a[_0x3caa2b(0x220)]=function(_0x2cf905,_0x14a5de){return _0x2cf905===_0x14a5de;},_0x4cd96a[_0x3caa2b(0x22e)]=function(_0x3c2bc5,_0x126a89){return _0x3c2bc5===_0x126a89;},_0x4cd96a[_0x3caa2b(0x1df)]=_0x3caa2b(0x1dd),_0x4cd96a[_0x3caa2b(0x192)]=_0x3caa2b(0x1d2);const _0x15d88c=_0x4cd96a,_0x5250ba=path[_0x3caa2b(0x19f)];if(_0x15d88c[_0x3caa2b(0x1ea)](_0x2cb2d3,null)||_0x15d88c[_0x3caa2b(0x212)](_0x2cb2d3,'')||_0x15d88c['uZRtl'](_0x2cb2d3,_0x5250ba)||_0x15d88c[_0x3caa2b(0x22e)](_0x2cb2d3,path[_0x3caa2b(0x1b6)](_0x2cb2d3)))return null;try{return fs[_0x3caa2b(0x15c)](path[_0x3caa2b(0x17f)](_0x2cb2d3,_0x15d88c[_0x3caa2b(0x1df)],_0x15d88c[_0x3caa2b(0x192)])),_0x2cb2d3;}catch(_0xd9ba08){const _0x4b5157=path['dirname'](_0x2cb2d3);return this[_0x3caa2b(0x210)](_0x4b5157);}}[a4_0x10866e(0x216)](_0x4e64b7){const _0x27210b=a4_0x10866e,_0x254ea4={};_0x254ea4[_0x27210b(0x166)]=function(_0x135082,_0x5dfea5){return _0x135082>_0x5dfea5;};const _0x3d9f95=_0x254ea4;if(_0x4e64b7[_0x27210b(0x14d)])return _0x4e64b7[_0x27210b(0x14d)];if(_0x4e64b7['ctx']){const _0x54226b=_0x4e64b7[_0x27210b(0x17e)][_0x27210b(0x15b)]?this[_0x27210b(0x216)](_0x4e64b7[_0x27210b(0x17e)][_0x27210b(0x15b)]):null;if(_0x54226b)return _0x54226b;}if(_0x4e64b7['parent']){const _0x40d906=this['getRootParentFile'](_0x4e64b7[_0x27210b(0x18e)])||(_0x4e64b7[_0x27210b(0x18e)][_0x27210b(0x17e)]&&_0x4e64b7[_0x27210b(0x18e)][_0x27210b(0x17e)][_0x27210b(0x15b)]?this['getRootParentFile'](_0x4e64b7[_0x27210b(0x18e)][_0x27210b(0x17e)][_0x27210b(0x15b)]):null);if(_0x40d906)return _0x40d906;_0x4e64b7['parent'][_0x27210b(0x13c)]&&_0x3d9f95[_0x27210b(0x166)](_0x4e64b7['parent'][_0x27210b(0x13c)][_0x27210b(0x1e8)],0x0)&&_0x4e64b7[_0x27210b(0x18e)][_0x27210b(0x13c)]['forEach'](_0x55a552=>{const _0x239db9=_0x27210b,_0x1c9a55=_0x55a552[_0x239db9(0x17e)]?this['getRootParentFile'](_0x55a552[_0x239db9(0x17e)]):null;if(_0x1c9a55)return _0x1c9a55;});}return null;}[a4_0x10866e(0x13b)](_0x1060e8){const _0x15050d=a4_0x10866e,_0x30ba07={};_0x30ba07[_0x15050d(0x19b)]=function(_0x2f0797,_0xf46635){return _0x2f0797!==_0xf46635;};const _0x49f41e=_0x30ba07,_0x33e0b7=[];if(_0x1060e8&&_0x1060e8['parent']){let _0x1fbdd0=_0x1060e8['parent'];while(_0x1fbdd0&&_0x49f41e[_0x15050d(0x19b)](_0x1fbdd0[_0x15050d(0x206)],'')){_0x33e0b7['push'](_0x1fbdd0['title']),_0x1fbdd0=_0x1fbdd0[_0x15050d(0x18e)];}}return _0x33e0b7;}[a4_0x10866e(0x1e2)](_0x20c5a6,_0x4774f1,_0x5f0bf9=undefined){const _0x181c36=a4_0x10866e,_0x59dc82={'CIqJN':function(_0x3861f6,_0x17429c){return _0x3861f6(_0x17429c);},'oxHsr':function(_0x9e2510){return _0x9e2510();},'tGmPs':function(_0x3901fe){return _0x3901fe();},'ialLQ':function(_0x16e41d,_0x4b893c){return _0x16e41d(_0x4b893c);},'fmJtz':_0x181c36(0x1ad),'xpXMl':_0x181c36(0x1d8),'tXoSX':function(_0x112853,_0xc78483){return _0x112853!==_0xc78483;},'mibDI':function(_0x1d849c,_0x442dbb){return _0x1d849c!==_0x442dbb;},'uBELV':_0x181c36(0x1a9),'oMFgG':_0x181c36(0x149),'TXbiH':_0x181c36(0x21b),'mdpUD':_0x181c36(0x13d),'YUvGN':_0x181c36(0x1ee),'DsRbj':_0x181c36(0x213),'TXpLk':function(_0x405e2c,_0x10c94c){return _0x405e2c-_0x10c94c;},'BjOue':function(_0x3896f7,_0xd5d043,_0xecff38,_0x3a26f3,_0x4080d4){return _0x3896f7(_0xd5d043,_0xecff38,_0x3a26f3,_0x4080d4);},'GXQlD':'integrations','hyvcI':'meta','LyLWE':'failure','bEQTj':_0x181c36(0x1cf),'ajyXy':_0x181c36(0x186),'uPGAy':_0x181c36(0x229),'yQlIw':_0x181c36(0x226),'hvZaH':function(_0x2202d9,_0x3abc8a){return _0x2202d9===_0x3abc8a;},'aEgAy':_0x181c36(0x169),'uYXhp':_0x181c36(0x160)};if(!this[_0x181c36(0x190)])return;try{if(_0x4774f1['fn']&&_0x4774f1['fn']['toString']()[_0x181c36(0x1a4)](/browserstack internal helper hook/))return;const _0x5a7c62=_0x59dc82['CIqJN'](parseEvent,_0x20c5a6);if(!_0x5a7c62)return;if(_0x5a7c62['test']){this[_0x181c36(0x15b)]=_0x4774f1,this['currentHook']=null;if(_0x5a7c62[_0x181c36(0x20a)]||_0x5a7c62[_0x181c36(0x1ee)]){_0x4774f1[_0x181c36(0x1bf)]=new Date(),_0x4774f1[_0x181c36(0x1b5)]=![];if(!_0x4774f1[_0x181c36(0x1d9)])_0x4774f1[_0x181c36(0x1d9)]=_0x59dc82[_0x181c36(0x1d0)](uuidv4);else _0x4774f1[_0x181c36(0x1b5)]&&(!_0x4774f1['retryOf']&&(_0x4774f1[_0x181c36(0x227)]=_0x4774f1['testAnalyticsId']),_0x4774f1['testAnalyticsId']=_0x59dc82[_0x181c36(0x138)](uuidv4));}}else{if(_0x5a7c62[_0x181c36(0x1b0)]){this[_0x181c36(0x1f8)]=_0x4774f1;if(_0x5a7c62[_0x181c36(0x20a)]){_0x4774f1[_0x181c36(0x1bf)]=new Date(),_0x4774f1[_0x181c36(0x1b5)]=![];if(!_0x4774f1['hookAnalyticsId'])_0x4774f1['hookAnalyticsId']=_0x59dc82[_0x181c36(0x1d0)](uuidv4);else _0x4774f1[_0x181c36(0x1a5)]&&_0x4774f1[_0x181c36(0x1b5)]&&(_0x4774f1[_0x181c36(0x1a5)]=_0x59dc82[_0x181c36(0x138)](uuidv4));}}}if(_0x5a7c62['finished']&&_0x4774f1['markedStatus'])return;let _0x23493a;try{_0x23493a=this[_0x181c36(0x216)](_0x4774f1);}catch(_0x148608){logger[_0x181c36(0x179)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x148608),_0x23493a=null;}const _0x1cf1b9=_0x59dc82['ialLQ'](require,_0x59dc82[_0x181c36(0x197)]);let _0x9bb02c=[];_0x5f0bf9&&(_0x9bb02c=[_0x5f0bf9,_0x59dc82[_0x181c36(0x1c5)]]);const _0x3017da=_0x59dc82['tXoSX'](_0x4774f1[_0x181c36(0x1a6)],undefined)?_0x1cf1b9[_0x181c36(0x1fd)](_0x4774f1[_0x181c36(0x1a6)][0x0]):_0x59dc82[_0x181c36(0x215)](_0x5f0bf9,undefined)?_0x5f0bf9[_0x181c36(0x1e9)]():undefined,_0x102f8e=_0x23493a?this[_0x181c36(0x210)](_0x23493a):null,_0x4cd37c=_0x23493a?this[_0x181c36(0x15a)]['prefixTestPath'](this[_0x181c36(0x216)](_0x4774f1)):_0x59dc82['uBELV'];let _0x584ff5=_0x59dc82[_0x181c36(0x1c4)];const _0x644bb4=!_0x5a7c62[_0x181c36(0x20a)]?new Date()['toISOString']():null;if(_0x5a7c62[_0x181c36(0x187)])_0x584ff5=_0x5f0bf9?_0x59dc82['TXbiH']:_0x59dc82['mdpUD'],_0x4774f1[_0x181c36(0x1b5)]=!![];else _0x5a7c62['skipped']&&(_0x584ff5=_0x59dc82[_0x181c36(0x20b)],_0x4774f1[_0x181c36(0x1b5)]=!![]);const _0x37e87f={'framework':this[_0x181c36(0x202)],'uuid':_0x4774f1[_0x181c36(0x1d9)]||_0x4774f1['hookAnalyticsId'],'name':_0x4774f1[_0x181c36(0x206)],'body':{'lang':_0x59dc82[_0x181c36(0x1cd)],'code':_0x4774f1[_0x181c36(0x1f2)][_0x181c36(0x1e9)]()},'type':_0x4774f1[_0x181c36(0x143)],'scope':_0x4774f1[_0x181c36(0x164)](),'scopes':this[_0x181c36(0x13b)](_0x4774f1),'file_name':_0x4cd37c,'vc_filepath':_0x102f8e?path[_0x181c36(0x19c)](_0x102f8e,_0x23493a):null,'location':_0x4cd37c,'result':_0x584ff5,'failure_reason':_0x3017da,'duration_in_ms':_0x4774f1[_0x181c36(0x137)]||(_0x5a7c62[_0x181c36(0x187)]||_0x5a7c62[_0x181c36(0x1ee)])?_0x59dc82[_0x181c36(0x199)](Date['now'](),new Date(_0x4774f1['startedAt'])[_0x181c36(0x16c)]()):null,'started_at':new Date(_0x4774f1[_0x181c36(0x1bf)])['toISOString'](),'finished_at':_0x644bb4,'failure':testOpsHelper[_0x181c36(0x1aa)]['apply'](null,_0x9bb02c),'failure_type':!_0x3017da?null:testOpsHelper[_0x181c36(0x152)](_0x3017da),'retry_of':_0x4774f1[_0x181c36(0x227)]||null,'tags':_0x4774f1['tags']||[],'customRerunParam':{'rerun_name':_0x4774f1[_0x181c36(0x164)]()}};_0x59dc82[_0x181c36(0x1ed)](appendTesthubParams,_0x37e87f,_0x20c5a6,_0x4774f1,FRAMEWORKS[_0x181c36(0x1bd)]);if(_0x5a7c62['hook'])[_0x37e87f[_0x181c36(0x182)],_0x37e87f[_0x181c36(0x198)]]=[this['getHookType'](_0x4774f1),_0x4774f1[_0x181c36(0x17e)][_0x181c36(0x139)][_0x181c36(0x206)]],_0x5a7c62[_0x181c36(0x187)]?_0x59dc82[_0x181c36(0x215)](_0x37e87f[_0x181c36(0x1f3)],_0x59dc82['TXbiH'])&&(_0x37e87f[_0x181c36(0x1f3)]=_0x59dc82[_0x181c36(0x16e)]):_0x37e87f[_0x181c36(0x1f2)]={};else _0x5a7c62[_0x181c36(0x139)]&&(this[_0x181c36(0x183)](_0x4774f1),_0x5a7c62['skipped']&&this[_0x181c36(0x1dc)](_0x4774f1),(_0x5a7c62['finished']||_0x5a7c62['skipped'])&&(_0x37e87f['hooks']=this[_0x181c36(0x14e)](_0x4774f1)));this[_0x181c36(0x1b2)]&&(_0x5a7c62[_0x181c36(0x20a)]||_0x5a7c62[_0x181c36(0x1ee)])&&(_0x37e87f[_0x59dc82['GXQlD']]=this['getCBTInfo'](this[_0x181c36(0x1b2)]));_0x5a7c62[_0x181c36(0x139)]&&_0x5a7c62[_0x181c36(0x187)]&&_0x4774f1[_0x181c36(0x1ba)]&&(_0x37e87f[_0x59dc82[_0x181c36(0x13f)]]={'feature':{'name':_0x4774f1[_0x181c36(0x18e)]['feature']['name'],'path':_0x37e87f['file_name'],'description':_0x4774f1[_0x181c36(0x18e)][_0x181c36(0x165)]},'scenario':{'name':_0x4774f1['title']},'steps':_0x4774f1[_0x181c36(0x1ba)]});const _0x4644ec=_0x37e87f[_0x59dc82[_0x181c36(0x136)]][0x0];_0x4644ec&&(_0x37e87f[_0x59dc82[_0x181c36(0x181)]]=_0x4644ec[_0x59dc82[_0x181c36(0x1ec)]],_0x37e87f[_0x59dc82[_0x181c36(0x145)]]=_0x4644ec[_0x59dc82[_0x181c36(0x1c2)]]);if(_0x4774f1[_0x181c36(0x1ba)])for(const _0x509548 of _0x4774f1[_0x181c36(0x1ba)]){!_0x509548[_0x181c36(0x209)]&&(_0x509548[_0x181c36(0x209)]=new Date()[_0x181c36(0x1bb)](),_0x59dc82[_0x181c36(0x1a2)](_0x509548[_0x181c36(0x1f3)],_0x59dc82[_0x181c36(0x1c4)])&&(_0x4644ec?(_0x509548['result']=_0x59dc82[_0x181c36(0x1d7)],_0x509548[_0x181c36(0x1e6)]=_0x4644ec[_0x59dc82[_0x181c36(0x1ec)]][0x0]):_0x509548[_0x181c36(0x1f3)]=_0x59dc82[_0x181c36(0x16e)]));}const _0x36cd33={};_0x36cd33['event_type']=_0x5a7c62[_0x181c36(0x1ee)]?TEST_EVENTS[_0x181c36(0x162)]:_0x20c5a6;const _0x2b1ce9=_0x36cd33;return _0x5a7c62['hook']?_0x2b1ce9[_0x59dc82[_0x181c36(0x180)]]=_0x37e87f:_0x2b1ce9[_0x59dc82['uYXhp']]=_0x37e87f,_0x2b1ce9;}catch(_0x3d1f2e){logger[_0x181c36(0x179)](_0x181c36(0x21c)+_0x20c5a6+_0x181c36(0x1b3)+_0x3d1f2e);}}async[a4_0x10866e(0x1e7)](_0x304073,_0x135335){const _0x3fb8d2=a4_0x10866e;if(!this[_0x3fb8d2(0x190)]||!_0x135335||!_0x304073)return![];try{return await SessionHandler[_0x3fb8d2(0x1c0)](_0x135335);}catch(_0x4f12e0){logger['debug'](_0x3fb8d2(0x18f)+_0x304073+_0x3fb8d2(0x1b3)+_0x4f12e0);}}[a4_0x10866e(0x22a)](_0x131c2c){const _0x4cf239=a4_0x10866e,_0x5e905c={};_0x5e905c['IXaiA']='pending';const _0x493af4=_0x5e905c;return{'id':_0x131c2c['stepAnalyticsId'],'text':_0x131c2c[_0x4cf239(0x151)],'keyword':_0x131c2c[_0x4cf239(0x1ae)],'started_at':_0x131c2c[_0x4cf239(0x1bf)][_0x4cf239(0x1bb)](),'result':_0x493af4[_0x4cf239(0x1a7)]};}['bddStepStart'](_0x396375){const _0x3814a1=a4_0x10866e,_0x3451c4={'QjlXo':function(_0x46606c){return _0x46606c();}};!this[_0x3814a1(0x15b)]['bddSteps']&&(this[_0x3814a1(0x15b)][_0x3814a1(0x1ba)]=[]),!_0x396375[_0x3814a1(0x167)]&&(_0x396375[_0x3814a1(0x167)]=_0x3451c4[_0x3814a1(0x14f)](uuidv4),_0x396375[_0x3814a1(0x1bf)]=new Date(),this[_0x3814a1(0x15b)][_0x3814a1(0x1ba)]['push'](this[_0x3814a1(0x22a)](_0x396375)));}[a4_0x10866e(0x173)](_0x4d6821){const _0x560ff2=a4_0x10866e,_0x33b24a={'siwpL':function(_0x47b3ac,_0x554f45){return _0x47b3ac(_0x554f45);},'RCzUa':'success','xzgVI':_0x560ff2(0x149),'ShTEt':'passed','mDiCQ':function(_0x508edc,_0x3f0ed3){return _0x508edc-_0x3f0ed3;}};let _0x1ab9c2=this[_0x560ff2(0x15b)]['bddSteps'][_0x560ff2(0x1f4)](_0x1688e3=>_0x1688e3['id']===_0x4d6821[_0x560ff2(0x167)]);_0x33b24a[_0x560ff2(0x1d6)](isUndefined,_0x1ab9c2)&&(_0x1ab9c2=this['initializeBddStep'](_0x4d6821)),_0x1ab9c2[_0x560ff2(0x1f3)]=[_0x33b24a[_0x560ff2(0x1b1)],_0x33b24a['xzgVI']]['includes'](_0x4d6821['status'])?_0x33b24a['ShTEt']:_0x4d6821['status'],_0x1ab9c2[_0x560ff2(0x209)]=new Date()[_0x560ff2(0x1bb)](),_0x1ab9c2['duration']=_0x33b24a[_0x560ff2(0x1ac)](Date[_0x560ff2(0x16f)](),_0x4d6821[_0x560ff2(0x1bf)][_0x560ff2(0x16c)]()),_0x1ab9c2['failure']=_0x4d6821['err']?_0x4d6821['err'][_0x560ff2(0x17b)]:null;}}const a4_0x80123b={};a4_0x80123b[a4_0x10866e(0x171)]=O11yHelper,a4_0x80123b[a4_0x10866e(0x196)]=STATE_PASSED,a4_0x80123b[a4_0x10866e(0x195)]=STATE_FAILED,a4_0x80123b[a4_0x10866e(0x174)]=TEST_EVENTS,module[a4_0x10866e(0x1e4)]=a4_0x80123b;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x3b0af2=a5_0x2c81;(function(_0x2ce6e0,_0x94a01e){const _0x5bc827=a5_0x2c81,_0x1aad0c=_0x2ce6e0();while(!![]){try{const _0x2d3dd6=parseInt(_0x5bc827(0x1d9))/0x1+-parseInt(_0x5bc827(0x1b4))/0x2+-parseInt(_0x5bc827(0x1db))/0x3+-parseInt(_0x5bc827(0x19b))/0x4+parseInt(_0x5bc827(0x200))/0x5*(-parseInt(_0x5bc827(0x1cc))/0x6)+-parseInt(_0x5bc827(0x1f6))/0x7*(parseInt(_0x5bc827(0x1a9))/0x8)+parseInt(_0x5bc827(0x1c5))/0x9;if(_0x2d3dd6===_0x94a01e)break;else _0x1aad0c['push'](_0x1aad0c['shift']());}catch(_0x1f4b0a){_0x1aad0c['push'](_0x1aad0c['shift']());}}}(a5_0x2d8c,0xb43d3));const fs=require('fs'),path=require(a5_0x3b0af2(0x1ed)),util=require(a5_0x3b0af2(0x193)),logger=require(a5_0x3b0af2(0x1bd))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x3b0af2(0x1f7)),utilities=require(a5_0x3b0af2(0x194)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x3b0af2(0x1a5)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x3b0af2(0x1f0)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x3b0af2(0x1de))[a5_0x3b0af2(0x196)];function a5_0x2c81(_0x5f5a1b,_0x20d135){const _0x2d8cb2=a5_0x2d8c();return a5_0x2c81=function(_0x2c81a9,_0x17cc5b){_0x2c81a9=_0x2c81a9-0x191;let _0x2a87ea=_0x2d8cb2[_0x2c81a9];return _0x2a87ea;},a5_0x2c81(_0x5f5a1b,_0x20d135);}function printCucumberStats(_0x5db2d0){const _0x2a105d=a5_0x3b0af2,_0x4e1d01={};_0x4e1d01['Jluim']=function(_0xa48ca8,_0x45ce8c){return _0xa48ca8>_0x45ce8c;},_0x4e1d01[_0x2a105d(0x1cb)]=function(_0x191de1,_0x5b46f4){return _0x191de1-_0x5b46f4;},_0x4e1d01[_0x2a105d(0x1ba)]=function(_0x2cfa35,_0x4cce7e){return _0x2cfa35-_0x4cce7e;},_0x4e1d01[_0x2a105d(0x1b9)]=function(_0x4df2ef,_0x2a402b){return _0x4df2ef>_0x2a402b;},_0x4e1d01['rHoQy']=function(_0x15fc81,_0x3d5500){return _0x15fc81>_0x3d5500;},_0x4e1d01[_0x2a105d(0x1aa)]=function(_0x33a675,_0x4fb531){return _0x33a675>_0x4fb531;},_0x4e1d01['fXtcl']=function(_0x3953f2,_0x264609){return _0x3953f2>_0x264609;},_0x4e1d01[_0x2a105d(0x1dc)]=function(_0xc783c,_0x26f878){return _0xc783c>_0x26f878;},_0x4e1d01[_0x2a105d(0x195)]=function(_0xbffe05,_0x194515){return _0xbffe05>_0x194515;},_0x4e1d01[_0x2a105d(0x1c7)]=function(_0x4efe21,_0x9f2f9e){return _0x4efe21+_0x9f2f9e;},_0x4e1d01[_0x2a105d(0x19a)]=function(_0x4efb9e,_0x5bcaa3){return _0x4efb9e+_0x5bcaa3;},_0x4e1d01[_0x2a105d(0x1f5)]=function(_0x12dc8a,_0xc22e82){return _0x12dc8a+_0xc22e82;},_0x4e1d01['nXOVx']=function(_0x1d57eb,_0x11e58c){return _0x1d57eb+_0x11e58c;},_0x4e1d01[_0x2a105d(0x1a7)]=function(_0x22f2bd,_0x1e64f2){return _0x22f2bd===_0x1e64f2;},_0x4e1d01['pwYAi']=function(_0x266577,_0x455969){return _0x266577===_0x455969;},_0x4e1d01[_0x2a105d(0x1fe)]=_0x2a105d(0x1ab);const _0x50cea3=_0x4e1d01;let _0x4c35ae=0x0;if(_0x50cea3[_0x2a105d(0x1cf)](_0x5db2d0[_0x2a105d(0x1f3)],0x0))return _0x4c35ae;return console[_0x2a105d(0x198)](chalk[_0x2a105d(0x1b8)]['bgWhite'](_0x50cea3[_0x2a105d(0x1fe)])),_0x5db2d0[_0x2a105d(0x1da)](_0x4f96a3=>{const _0x3955da=_0x2a105d,_0x373b23=_0x4f96a3[0x0],_0x1298b0=_0x4f96a3[0x1];console[_0x3955da(0x198)]('\x0a'+chalk[_0x3955da(0x1b8)][_0x3955da(0x1ac)](''+helper['getPlatformName'](_0x373b23)));const _0x43a5e4=_0x1298b0[_0x3955da(0x1c3)],_0x332fff=_0x1298b0['steps'],_0x524203=_0x1298b0[_0x3955da(0x1c2)],_0x3ddde7=_0x1298b0[_0x3955da(0x1e9)],_0x2440b7=_0x1298b0[_0x3955da(0x1e2)],_0x4de657=_0x1298b0[_0x3955da(0x1a4)],_0x3a650a=_0x1298b0['stepsPending'],_0x2044c0=_0x1298b0[_0x3955da(0x1b1)],_0x1b15d6=_0x1298b0[_0x3955da(0x191)],_0x5de381=_0x1298b0[_0x3955da(0x19d)],_0x5ece0a=_0x1298b0['processSuccess'];let _0x2aff89=_0x43a5e4+_0x3955da(0x1d2);const _0x19cf25=_0x50cea3['Jluim'](_0x50cea3[_0x3955da(0x1cb)](_0x43a5e4,_0x524203),0x0)?_0x50cea3[_0x3955da(0x1ba)](_0x43a5e4,_0x524203):0x0;if(_0x50cea3['DyTdJ'](_0x524203,0x0)&&_0x50cea3['rHoQy'](_0x19cf25,0x0))_0x2aff89+='\x20('+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b3)](_0x524203+_0x3955da(0x1a8))+',\x20'+chalk[_0x3955da(0x1b8)]['green'](_0x19cf25+_0x3955da(0x1fa))+')';else(_0x50cea3[_0x3955da(0x1c8)](_0x524203,0x0)||_0x50cea3['rXIUn'](_0x19cf25,0x0))&&(_0x2aff89+=_0x50cea3[_0x3955da(0x1e3)](_0x524203,0x0)?'\x20('+chalk['bold']['red'](_0x524203+'\x20failed')+')':'\x20('+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b5)](_0x19cf25+'\x20passed')+')');const _0x13d546=_0x332fff+_0x3955da(0x1ee),_0x5d94b4=[];_0x50cea3[_0x3955da(0x1c8)](_0x5de381,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk['bold'][_0x3955da(0x1b3)](_0x5de381+_0x3955da(0x1ce)));_0x50cea3[_0x3955da(0x1b9)](_0x3ddde7,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b3)](_0x3ddde7+_0x3955da(0x1a8)));_0x50cea3['rXIUn'](_0x2440b7,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1b5)](_0x2440b7+_0x3955da(0x1fa)));_0x50cea3[_0x3955da(0x1e3)](_0x3a650a,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1ac)](_0x3a650a+_0x3955da(0x1ca)));_0x50cea3[_0x3955da(0x1c8)](_0x4de657,0x0)&&_0x5d94b4[_0x3955da(0x1a1)](''+chalk[_0x3955da(0x1b8)][_0x3955da(0x1fc)](_0x4de657+_0x3955da(0x197)));_0x50cea3[_0x3955da(0x1dc)](_0x2044c0,0x0)&&_0x5d94b4['push'](''+chalk['bold'][_0x3955da(0x1ac)](_0x2044c0+_0x3955da(0x19f)));_0x50cea3['YisvC'](_0x1b15d6,0x0)&&_0x5d94b4['push'](''+chalk['bold'][_0x3955da(0x1ac)](_0x1b15d6+'\x20skipped'));const _0x21a4ed=_0x50cea3['ijpAa'](_0x50cea3[_0x3955da(0x19a)](_0x50cea3[_0x3955da(0x1c7)](_0x13d546,'('),_0x5d94b4[_0x3955da(0x1a6)](',\x20')),')');console[_0x3955da(0x198)](_0x50cea3['eSajx'](_0x50cea3[_0x3955da(0x1ef)](_0x50cea3[_0x3955da(0x1f5)](_0x50cea3[_0x3955da(0x1f5)]('\x0a',_0x2aff89),'\x0a'),_0x21a4ed),'\x0a')),_0x50cea3[_0x3955da(0x1a7)](_0x5ece0a,![])&&(_0x4c35ae=0x1);}),_0x4c35ae;}async function run(_0x21b434,_0x49154b,_0x4c5ba6){const _0x2fc016=a5_0x3b0af2,_0x1fe23e={'baIey':function(_0x4e96f3,_0x5f588b){return _0x4e96f3(_0x5f588b);},'fACSs':function(_0x20bf6a,_0x5a48ed){return _0x20bf6a>_0x5a48ed;},'HJfAi':_0x2fc016(0x1ea),'APXHs':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','xMSyq':_0x2fc016(0x1d6),'wpiCX':_0x2fc016(0x1d4),'IwgXL':_0x2fc016(0x1d0),'FezkD':function(_0x5c1a89,_0x8a781b){return _0x5c1a89-_0x8a781b;},'VCbWG':function(_0x10d829,_0xbb0fd9){return _0x10d829>=_0xbb0fd9;},'mnecJ':function(_0x5387ed,_0x35410b){return _0x5387ed!=_0x35410b;},'yeRQv':_0x2fc016(0x1bc),'XDVSh':function(_0x544e89,_0xb537ce,_0x4a5992,_0x270af1,_0x20d6da,_0x5435ff){return _0x544e89(_0xb537ce,_0x4a5992,_0x270af1,_0x20d6da,_0x5435ff);}};await _0x4c5ba6['initialize'](_0x21b434),helper['setUserConfigPath'](_0x4c5ba6[_0x2fc016(0x1be)],_0x21b434);!helper[_0x2fc016(0x1c4)]()&&await _0x4c5ba6['setupTCGAuth']();await helper[_0x2fc016(0x1a3)](_0x4c5ba6[_0x2fc016(0x1af)]);const _0x4e2285=helper['useW3C'](_0x4c5ba6[_0x2fc016(0x1af)]);!helper['isUndefined'](_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x1b0)])&&(process['env'][_0x2fc016(0x1d5)]=JSON['stringify'](_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x1b0)]));const _0x51ed2f=await TestHubHandler[_0x2fc016(0x1f1)](constants[_0x2fc016(0x1c6)]['CUCUMBER'],_0x4c5ba6),_0x4c71b0=helper[_0x2fc016(0x1fd)](_0x4c5ba6[_0x2fc016(0x1af)],_0x4e2285,constants[_0x2fc016(0x1c6)][_0x2fc016(0x1e6)]);if(!_0x4c5ba6[_0x2fc016(0x1af)])return;const _0x5b2b48=_0x4c5ba6['config']['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x21b434,_0x49154b,_0x4c5ba6['config'],constants[_0x2fc016(0x1c6)]['CUCUMBER'])||0x1,_0x3816ac={'server':helper[_0x2fc016(0x1d7)](_0x4c5ba6[_0x2fc016(0x1af)]),'proxySettings':_0x4c5ba6['config'][_0x2fc016(0x1d3)],'maxWorkers':_0x5b2b48,'browserStackLogLevel':_0x4c5ba6[_0x2fc016(0x1af)]['logLevel'],'skipSessionName':_0x4c5ba6[_0x2fc016(0x1af)]['testContextOptions'][_0x2fc016(0x1d8)],'skipSessionStatus':_0x4c5ba6['config'][_0x2fc016(0x1a2)]['skipSessionStatus'],'turboScaleUrl':_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x1f8)]},_0x2b8fbb=process[_0x2fc016(0x1ec)],[_0x4feed1,_0x2dfdda]=helper['parseFormatters'](_0x2b8fbb),_0x4b434b=path[_0x2fc016(0x1a6)](process[_0x2fc016(0x1b7)](),_0x1fe23e[_0x2fc016(0x1e5)]);if(_0x1fe23e['fACSs'](_0x2dfdda[_0x2fc016(0x1f3)],0x0)){helper['createDir'](_0x4b434b);for(let _0x51e6dc=_0x1fe23e[_0x2fc016(0x1f4)](_0x4feed1[_0x2fc016(0x1f3)],0x1);_0x1fe23e['VCbWG'](_0x51e6dc,0x0);_0x51e6dc--){_0x2b8fbb[_0x2fc016(0x1b2)](_0x4feed1[_0x51e6dc],0x2);}}_0x1fe23e[_0x2fc016(0x1a0)](_0x4c5ba6['config']['testObservability'],null)?process[_0x2fc016(0x1c1)][_0x2fc016(0x1d1)]=_0x4c5ba6[_0x2fc016(0x1af)][_0x2fc016(0x201)]:process[_0x2fc016(0x1c1)][_0x2fc016(0x1d1)]=_0x1fe23e[_0x2fc016(0x1fb)];PerformanceTester[_0x2fc016(0x1b6)](PerformanceEvents[_0x2fc016(0x1e0)]);let _0x5e5bfa;_0x1fe23e[_0x2fc016(0x1ad)](parallelCucumberRun,_0x4c71b0,_0x3816ac,_0x4c5ba6[_0x2fc016(0x1af)],_0x2b8fbb,_0x2dfdda)['then'](async _0x28381c=>{const _0x316017=_0x2fc016;PerformanceTester[_0x316017(0x1cd)](PerformanceEvents[_0x316017(0x1e4)]),_0x5e5bfa=_0x28381c;const _0x11aeea=_0x1fe23e[_0x316017(0x1bb)](printCucumberStats,_0x28381c);process[_0x316017(0x1eb)]=_0x11aeea,_0x1fe23e['fACSs'](_0x2dfdda[_0x316017(0x1f3)],0x0)&&(logger[_0x316017(0x19e)](_0x1fe23e[_0x316017(0x1ae)]),helper[_0x316017(0x1bf)](_0x4b434b,_0x2dfdda),logger[_0x316017(0x19e)](_0x1fe23e[_0x316017(0x199)]),helper[_0x316017(0x1dd)](_0x4b434b));})['finally'](async()=>{const _0x53544d=_0x2fc016;PerformanceTester[_0x53544d(0x1cd)](PerformanceEvents['SDK_CLEANUP']),_0x4c5ba6[_0x53544d(0x1df)]=helper[_0x53544d(0x192)](_0x5e5bfa,_0x1fe23e[_0x53544d(0x1e7)]),testOpsHelper[_0x53544d(0x1e1)]();try{await TestHubHandler[_0x53544d(0x1c9)]();}catch(_0x325837){logger[_0x53544d(0x19e)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x53544d(0x1ff)](_0x325837));}try{const {browserstackFolderPath:_0x17c596,tcgConfigPath:_0x30e5f4}=helper[_0x53544d(0x19c)]();fs['unlinkSync'](_0x30e5f4),fs[_0x53544d(0x1f2)](_0x17c596);}catch(_0x51a6a0){logger[_0x53544d(0x19e)](_0x1fe23e[_0x53544d(0x1e8)],_0x51a6a0);}await utilities[_0x53544d(0x1c0)](_0x4c5ba6);});}function a5_0x2d8c(){const _0xbbaff3=['5621244iSpCrx','getTCGConfigFilePaths','stepsAmbiguous','debug','\x20undefined','mnecJ','push','testContextOptions','handleApp','stepsSkipped','../test-runner','join','VdKNG','\x20failed','16ZyIARK','rXIUn','****\x20RESULTS\x20****','yellow','XDVSh','HJfAi','config','accessibilityOptions','stepsUndefined','splice','red','129758vLlWDv','green','end','cwd','bold','DyTdJ','jOXAp','baIey','true','../../helpers/logger','framework','mergeOutputFiles','finalExecution','env','scenariosFailed','scenarios','isBrowserstackInfra','25055856FKDtEF','FRAMEWORKS','ijpAa','Jluim','stop','\x20pending','zGiEW','3222sXZLGr','start','\x20ambiguous','pwYAi','tmp','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20scenarios','proxySettings','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','cucumber','getHubUrl','skipSessionName','827254rLZCoe','forEach','45936cvFgud','XrvKE','removeDir','../../helpers/performance/constants','errorMessage','SDK_SETUP','printBuildLink','stepsPassed','fXtcl','SDK_CLEANUP','IwgXL','CUCUMBER','xMSyq','wpiCX','stepsFailed','Generating\x20consolidated\x20report...','exitCode','argv','path','\x20steps','nXOVx','chalk','launchBuild','rmdirSync','length','FezkD','eSajx','1350902OuZYPG','../../helpers/helper','turboScaleUrl','exports','\x20passed','yeRQv','cyan','prepareCapabilities','AVIMt','format','9325WWfwKL','testObservability','stepsUnknown','getErrorMessageFromResults','util','../../helpers/utilities','YisvC','EVENTS','\x20skipped','log','APXHs','HmqDo'];a5_0x2d8c=function(){return _0xbbaff3;};return a5_0x2d8c();}module[a5_0x3b0af2(0x1f9)]=run;
|
|
2
|
+
'use strict';const a5_0x22c724=a5_0x52e6;(function(_0xfffac4,_0x6bab0e){const _0x1af516=a5_0x52e6,_0x8a6481=_0xfffac4();while(!![]){try{const _0x436d3a=-parseInt(_0x1af516(0x142))/0x1+-parseInt(_0x1af516(0x156))/0x2+parseInt(_0x1af516(0x131))/0x3*(-parseInt(_0x1af516(0xf9))/0x4)+parseInt(_0x1af516(0x129))/0x5*(parseInt(_0x1af516(0x105))/0x6)+parseInt(_0x1af516(0x14f))/0x7*(parseInt(_0x1af516(0x146))/0x8)+parseInt(_0x1af516(0x14d))/0x9+-parseInt(_0x1af516(0x124))/0xa*(parseInt(_0x1af516(0x10c))/0xb);if(_0x436d3a===_0x6bab0e)break;else _0x8a6481['push'](_0x8a6481['shift']());}catch(_0x467a9b){_0x8a6481['push'](_0x8a6481['shift']());}}}(a5_0xe09b,0xef6a9));const fs=require('fs'),path=require('path'),util=require(a5_0x22c724(0x150)),logger=require(a5_0x22c724(0x10a))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x22c724(0x120)),helper=require(a5_0x22c724(0x119)),utilities=require(a5_0x22c724(0x10d)),constants=require(a5_0x22c724(0x14e)),{parallelCucumberRun}=require(a5_0x22c724(0x12f)),TestHubHandler=require(a5_0x22c724(0x123)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x22c724(0x147)];function printCucumberStats(_0x1f9e48){const _0x2b2893=a5_0x22c724,_0x237ede={};_0x237ede['MzGqh']=function(_0x5cef79,_0x339253){return _0x5cef79>_0x339253;},_0x237ede['tzvxf']=function(_0x4fb5d4,_0x5430b2){return _0x4fb5d4-_0x5430b2;},_0x237ede[_0x2b2893(0x115)]=function(_0x3fc9e3,_0x181a77){return _0x3fc9e3>_0x181a77;},_0x237ede[_0x2b2893(0x145)]=function(_0x2a1488,_0x3018da){return _0x2a1488>_0x3018da;},_0x237ede[_0x2b2893(0x107)]=function(_0x5472ba,_0x234721){return _0x5472ba>_0x234721;},_0x237ede[_0x2b2893(0x155)]=function(_0x400e5e,_0xe884cc){return _0x400e5e>_0xe884cc;},_0x237ede['iQQoM']=function(_0x34f8f8,_0xf9b7b3){return _0x34f8f8>_0xf9b7b3;},_0x237ede['eCXyC']=function(_0x133f4c,_0x5722fa){return _0x133f4c>_0x5722fa;},_0x237ede[_0x2b2893(0x143)]=function(_0x2d552a,_0xae8830){return _0x2d552a+_0xae8830;},_0x237ede['Ikbxt']=function(_0x215623,_0x76406d){return _0x215623+_0x76406d;},_0x237ede[_0x2b2893(0x15e)]=function(_0x40ee39,_0x346bfe){return _0x40ee39+_0x346bfe;},_0x237ede[_0x2b2893(0x127)]=function(_0x2fc34d,_0x12f761){return _0x2fc34d+_0x12f761;},_0x237ede[_0x2b2893(0x13c)]=function(_0x501924,_0x1a46db){return _0x501924===_0x1a46db;},_0x237ede['rmAYb']=function(_0x1a2083,_0x2c932f){return _0x1a2083===_0x2c932f;},_0x237ede[_0x2b2893(0x13e)]=_0x2b2893(0x153);const _0x1cd4c7=_0x237ede;let _0x5e3bc3=0x0;if(_0x1cd4c7['rmAYb'](_0x1f9e48[_0x2b2893(0x15b)],0x0))return _0x5e3bc3;return console[_0x2b2893(0x158)](chalk['bold']['bgWhite'](_0x1cd4c7['aGQlu'])),_0x1f9e48[_0x2b2893(0x102)](_0x3d2265=>{const _0x3d7850=_0x2b2893,_0x2fbeca=_0x3d2265[0x0],_0x73207a=_0x3d2265[0x1];console[_0x3d7850(0x158)]('\x0a'+chalk[_0x3d7850(0x12b)][_0x3d7850(0x11c)](''+helper[_0x3d7850(0x110)](_0x2fbeca)));const _0x5e59da=_0x73207a[_0x3d7850(0xf8)],_0x16999d=_0x73207a['steps'],_0x32a6f7=_0x73207a[_0x3d7850(0x12c)],_0x17afed=_0x73207a[_0x3d7850(0x12e)],_0x3bf147=_0x73207a['stepsPassed'],_0x1f2ece=_0x73207a[_0x3d7850(0x101)],_0x5112e4=_0x73207a[_0x3d7850(0x149)],_0x1d4a14=_0x73207a[_0x3d7850(0x13b)],_0x138d92=_0x73207a[_0x3d7850(0x117)],_0x1a59bd=_0x73207a[_0x3d7850(0x104)],_0xb0dcab=_0x73207a[_0x3d7850(0x137)];let _0x4a026d=_0x5e59da+_0x3d7850(0x118);const _0x316d56=_0x1cd4c7[_0x3d7850(0x135)](_0x1cd4c7[_0x3d7850(0x15c)](_0x5e59da,_0x32a6f7),0x0)?_0x1cd4c7['tzvxf'](_0x5e59da,_0x32a6f7):0x0;if(_0x1cd4c7['ystSR'](_0x32a6f7,0x0)&&_0x1cd4c7[_0x3d7850(0x145)](_0x316d56,0x0))_0x4a026d+='\x20('+chalk[_0x3d7850(0x12b)][_0x3d7850(0x159)](_0x32a6f7+_0x3d7850(0x125))+',\x20'+chalk['bold']['green'](_0x316d56+_0x3d7850(0x10b))+')';else(_0x1cd4c7[_0x3d7850(0x115)](_0x32a6f7,0x0)||_0x1cd4c7[_0x3d7850(0x107)](_0x316d56,0x0))&&(_0x4a026d+=_0x1cd4c7['MzGqh'](_0x32a6f7,0x0)?'\x20('+chalk[_0x3d7850(0x12b)][_0x3d7850(0x159)](_0x32a6f7+'\x20failed')+')':'\x20('+chalk[_0x3d7850(0x12b)]['green'](_0x316d56+_0x3d7850(0x10b))+')');const _0xad4acf=_0x16999d+'\x20steps',_0x198292=[];_0x1cd4c7[_0x3d7850(0x155)](_0x1a59bd,0x0)&&_0x198292[_0x3d7850(0xf4)](''+chalk['bold'][_0x3d7850(0x159)](_0x1a59bd+_0x3d7850(0x151)));_0x1cd4c7[_0x3d7850(0x115)](_0x17afed,0x0)&&_0x198292[_0x3d7850(0xf4)](''+chalk[_0x3d7850(0x12b)][_0x3d7850(0x159)](_0x17afed+_0x3d7850(0x125)));_0x1cd4c7[_0x3d7850(0x155)](_0x3bf147,0x0)&&_0x198292[_0x3d7850(0xf4)](''+chalk[_0x3d7850(0x12b)]['green'](_0x3bf147+'\x20passed'));_0x1cd4c7[_0x3d7850(0x135)](_0x5112e4,0x0)&&_0x198292[_0x3d7850(0xf4)](''+chalk[_0x3d7850(0x12b)][_0x3d7850(0x11c)](_0x5112e4+_0x3d7850(0xfb)));_0x1cd4c7[_0x3d7850(0x141)](_0x1f2ece,0x0)&&_0x198292[_0x3d7850(0xf4)](''+chalk['bold']['cyan'](_0x1f2ece+'\x20skipped'));_0x1cd4c7[_0x3d7850(0x155)](_0x1d4a14,0x0)&&_0x198292['push'](''+chalk[_0x3d7850(0x12b)][_0x3d7850(0x11c)](_0x1d4a14+_0x3d7850(0x14a)));_0x1cd4c7['eCXyC'](_0x138d92,0x0)&&_0x198292[_0x3d7850(0xf4)](''+chalk[_0x3d7850(0x12b)][_0x3d7850(0x11c)](_0x138d92+_0x3d7850(0x122)));const _0x12ea8a=_0x1cd4c7[_0x3d7850(0x143)](_0x1cd4c7['Ikbxt'](_0x1cd4c7[_0x3d7850(0x15e)](_0xad4acf,'('),_0x198292[_0x3d7850(0x144)](',\x20')),')');console['log'](_0x1cd4c7[_0x3d7850(0x121)](_0x1cd4c7[_0x3d7850(0x121)](_0x1cd4c7['FrcST'](_0x1cd4c7['ASYPw']('\x0a',_0x4a026d),'\x0a'),_0x12ea8a),'\x0a')),_0x1cd4c7[_0x3d7850(0x13c)](_0xb0dcab,![])&&(_0x5e3bc3=0x1);}),_0x5e3bc3;}function a5_0x52e6(_0x1ea7f7,_0x1216e9){const _0xe09bce=a5_0xe09b();return a5_0x52e6=function(_0x52e67a,_0x45d7c4){_0x52e67a=_0x52e67a-0xef;let _0x100078=_0xe09bce[_0x52e67a];return _0x100078;},a5_0x52e6(_0x1ea7f7,_0x1216e9);}function a5_0xe09b(){const _0x287416=['\x20scenarios','../../helpers/helper','config','dZAqK','yellow','getHubUrl','skipSessionStatus','TSVQj','../../helpers/BrowserStackSetup','Ikbxt','\x20skipped','../../helpers/testhub/testhubHandler','105790ybgIQh','\x20failed','argv','ASYPw','removeDir','7186670fZgVHs','true','bold','scenariosFailed','MFtuF','stepsFailed','../test-runner','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','9gJlIIx','FRAMEWORKS','testContextOptions','VKwYE','MzGqh','stop','processSuccess','mergeOutputFiles','tmp','handleApp','stepsUndefined','GmzAU','setUserConfigPath','aGQlu','isBrowserstackInfra','SDK_CLEANUP','iQQoM','362297eBRMlC','bBqKM','join','LNQZR','15408pdyCwR','EVENTS','LAnoX','stepsPending','\x20undefined','start','stringify','16610886nVLZIs','../utils/constants','5516ByuZDR','util','\x20ambiguous','Removing\x20tmp\x20directory\x20created\x20for\x20reports','****\x20RESULTS\x20****','proxySettings','hLMDQ','3517660ZmZpuI','initialize','log','red','createDir','length','tzvxf','finally','FrcST','parallelsPerPlatform','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getTCGConfigFilePaths','turboScaleUrl','push','testObservability','BROWSERSTACK_TEST_OBSERVABILITY_YML','cucumber','scenarios','1884356vwSUXI','TgsJS','\x20pending','nHsgl','debug','env','prepareCapabilities','logLevel','stepsSkipped','forEach','then','stepsAmbiguous','6rLqRIM','Generating\x20consolidated\x20report...','qAiCE','cIpKT','cwd','../../helpers/logger','\x20passed','297UeXCsC','../../helpers/utilities','exports','launchBuild','getPlatformName','rmdirSync','error\x20removing\x20tcg\x20config\x20file','accessibilityOptions','setupTCGAuth','ystSR','isUndefined','stepsUnknown'];a5_0xe09b=function(){return _0x287416;};return a5_0xe09b();}async function run(_0x1b81d9,_0xc4505f,_0x403ce0){const _0x141171=a5_0x22c724,_0x3d6623={'TgsJS':function(_0x49766b,_0x3b1cc3){return _0x49766b(_0x3b1cc3);},'TSVQj':function(_0x1a25f6,_0x33e271){return _0x1a25f6>_0x33e271;},'dZAqK':_0x141171(0x106),'LAnoX':_0x141171(0x152),'VKwYE':_0x141171(0xf7),'MFtuF':_0x141171(0x112),'nHsgl':_0x141171(0x139),'cIpKT':function(_0x4c0a62,_0x25dc6f){return _0x4c0a62-_0x25dc6f;},'QNGjz':function(_0x5e703b,_0x351a45){return _0x5e703b>=_0x351a45;},'jQZlS':function(_0x1d3e9b,_0x3d14b5){return _0x1d3e9b!=_0x3d14b5;},'CLuQX':_0x141171(0x12a),'fagrR':function(_0x5f28f5,_0x1cb2bb,_0x50fb33,_0x2f4d9b,_0x5bc51b,_0x33a9b3){return _0x5f28f5(_0x1cb2bb,_0x50fb33,_0x2f4d9b,_0x5bc51b,_0x33a9b3);}};await _0x403ce0[_0x141171(0x157)](_0x1b81d9),helper[_0x141171(0x13d)](_0x403ce0['framework'],_0x1b81d9);!helper[_0x141171(0x13f)]()&&await _0x403ce0[_0x141171(0x114)]();await helper[_0x141171(0x13a)](_0x403ce0[_0x141171(0x11a)]);const _0x44a947=helper['useW3C'](_0x403ce0['config']);!helper[_0x141171(0x116)](_0x403ce0[_0x141171(0x11a)][_0x141171(0x113)])&&(process[_0x141171(0xfe)][_0x141171(0xf1)]=JSON[_0x141171(0x14c)](_0x403ce0[_0x141171(0x11a)][_0x141171(0x113)]));const _0x4cc6ce=await TestHubHandler[_0x141171(0x10f)](constants['FRAMEWORKS']['CUCUMBER'],_0x403ce0),_0x10e136=helper[_0x141171(0xff)](_0x403ce0[_0x141171(0x11a)],_0x44a947,constants[_0x141171(0x132)]['CUCUMBER']);if(!_0x403ce0['config'])return;const _0x49ec52=_0x403ce0[_0x141171(0x11a)][_0x141171(0xef)]||helper['getUserWorkerCount'](_0x1b81d9,_0xc4505f,_0x403ce0[_0x141171(0x11a)],constants[_0x141171(0x132)]['CUCUMBER'])||0x1,_0x5b5aba={'server':helper[_0x141171(0x11d)](_0x403ce0[_0x141171(0x11a)]),'proxySettings':_0x403ce0['config'][_0x141171(0x154)],'maxWorkers':_0x49ec52,'browserStackLogLevel':_0x403ce0['config'][_0x141171(0x100)],'skipSessionName':_0x403ce0[_0x141171(0x11a)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x403ce0[_0x141171(0x11a)][_0x141171(0x133)][_0x141171(0x11e)],'turboScaleUrl':_0x403ce0['config'][_0x141171(0xf3)]},_0x2d8123=process[_0x141171(0x126)],[_0x2fa4b0,_0x418ba6]=helper['parseFormatters'](_0x2d8123),_0x23a737=path[_0x141171(0x144)](process[_0x141171(0x109)](),_0x3d6623[_0x141171(0xfc)]);if(_0x3d6623[_0x141171(0x11f)](_0x418ba6[_0x141171(0x15b)],0x0)){helper[_0x141171(0x15a)](_0x23a737);for(let _0x495f41=_0x3d6623[_0x141171(0x108)](_0x2fa4b0[_0x141171(0x15b)],0x1);_0x3d6623['QNGjz'](_0x495f41,0x0);_0x495f41--){_0x2d8123['splice'](_0x2fa4b0[_0x495f41],0x2);}}_0x3d6623['jQZlS'](_0x403ce0[_0x141171(0x11a)]['testObservability'],null)?process['env'][_0x141171(0xf6)]=_0x403ce0['config'][_0x141171(0xf5)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3d6623['CLuQX'];PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x2f0b1b;_0x3d6623['fagrR'](parallelCucumberRun,_0x10e136,_0x5b5aba,_0x403ce0[_0x141171(0x11a)],_0x2d8123,_0x418ba6)[_0x141171(0x103)](async _0x39de52=>{const _0x423d39=_0x141171;PerformanceTester[_0x423d39(0x14b)](PerformanceEvents[_0x423d39(0x140)]),_0x2f0b1b=_0x39de52;const _0x3b2b40=_0x3d6623[_0x423d39(0xfa)](printCucumberStats,_0x39de52);process['exitCode']=_0x3b2b40,_0x3d6623[_0x423d39(0x11f)](_0x418ba6['length'],0x0)&&(logger[_0x423d39(0xfd)](_0x3d6623[_0x423d39(0x11b)]),helper[_0x423d39(0x138)](_0x23a737,_0x418ba6),logger[_0x423d39(0xfd)](_0x3d6623[_0x423d39(0x148)]),helper[_0x423d39(0x128)](_0x23a737));})[_0x141171(0x15d)](async()=>{const _0x17e96f=_0x141171;PerformanceTester[_0x17e96f(0x14b)](PerformanceEvents[_0x17e96f(0x140)]),_0x403ce0['errorMessage']=helper['getErrorMessageFromResults'](_0x2f0b1b,_0x3d6623[_0x17e96f(0x134)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x17e96f(0x136)]();}catch(_0x4056e4){logger[_0x17e96f(0xfd)](_0x17e96f(0x130)+util['format'](_0x4056e4));}try{const {browserstackFolderPath:_0x161ef9,tcgConfigPath:_0x1c8f3a}=helper[_0x17e96f(0xf2)]();fs[_0x17e96f(0xf0)](_0x1c8f3a),fs[_0x17e96f(0x111)](_0x161ef9);}catch(_0x56a8e7){logger[_0x17e96f(0xfd)](_0x3d6623[_0x17e96f(0x12d)],_0x56a8e7);}await utilities['finalExecution'](_0x403ce0);});}module[a5_0x22c724(0x10e)]=run;
|