browserstack-node-sdk 1.34.47 → 1.34.49
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 -0
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -0
- 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/permissions/AWS.json +85 -0
- package/ats/src/permissions/AZURE.json +33 -0
- package/ats/src/permissions/GCP.json +19 -0
- package/ats/src/templates/nginx/pods-and-services.yaml +1 -1
- package/ats/src/templates/nginx/private-pods-and-services.yaml +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x581dcb=a1_0x4fa3;(function(_0x630ba4,_0x3bcf62){const _0x35b358=a1_0x4fa3,_0x29cf61=_0x630ba4();while(!![]){try{const _0x2469dc=-parseInt(_0x35b358(0x111))/0x1*(-parseInt(_0x35b358(0x187))/0x2)+-parseInt(_0x35b358(0x152))/0x3+-parseInt(_0x35b358(0xfb))/0x4+-parseInt(_0x35b358(0x118))/0x5+parseInt(_0x35b358(0x131))/0x6+-parseInt(_0x35b358(0x188))/0x7*(-parseInt(_0x35b358(0xfd))/0x8)+-parseInt(_0x35b358(0x17e))/0x9*(-parseInt(_0x35b358(0x156))/0xa);if(_0x2469dc===_0x3bcf62)break;else _0x29cf61['push'](_0x29cf61['shift']());}catch(_0x500146){_0x29cf61['push'](_0x29cf61['shift']());}}}(a1_0x57c5,0x50874));function a1_0x4fa3(_0x36edfa,_0x1b3991){const _0x57c50f=a1_0x57c5();return a1_0x4fa3=function(_0x4fa3c8,_0x33a59d){_0x4fa3c8=_0x4fa3c8-0xc4;let _0x13c22c=_0x57c50f[_0x4fa3c8];return _0x13c22c;},a1_0x4fa3(_0x36edfa,_0x1b3991);}function a1_0x57c5(){const _0x1346d8=['saveTestResults','OTKIP','fireEvent','PFRal','getResults','nuOWK','codeceptjs/lib/index.js','comment','WebDriver','browser','TEST_RUN_FINISHED','pJKUV','jQgEl','LYgsP','wmgzm','catch','uBObg','overwriteCommand','OglZU','container','codeceptjs','__skipSessionStatus','status','fpkgu','Playwright','bddStep-after','hook-started','executeScript','gSpuy','yTArD','measureWrapper','getAccessibilityResultsSummary','1690392FDilyE','enabled','80UgysFv','GET_RESULTS','MYDxO','Zfxgo','PERFORM_SCAN','stop','toString','../../helpers/performance/performance-tester','skipSessionName','HOOK_RUN_FINISHED','TEST_LOG','yjdku','Element','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','BqTMK','SDK_TEST','getSyncScript','RXNfS','toISOString','../../helpers/logger','28fAxiAs','titlePath','step','dispatcher','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','util','TestCafe','2799155BBXjQv','started','failed','_before','arguments','cTsUo','bddStep-before','TSnaB','codeceptjs/lib/helper/Playwright.js','start','SDK_PRE_INITIALIZE','BvSQW','class','dabBi','test-after','forEach','nQise','env','TEST_RUN_SKIPPED','call','INFO','test-before','find','startMonitoring','filter','122370UWYhET','passed','winstonLogger','xYemk','TEST_SCREENSHOT','end','contexts','saveScreenshot','emit','patch','../../helpers/accessibility-automation/helper','bs:addLog:','gcSRZ','readFileSync','bddStep','AlWbs','QpAKF','ENV_VAR','JftxV','__driver','../../bin/playwright/accessibility-helper','kdHFw','vMtuP','title','HOOK_RUN_STARTED','test-passed','format','after','qtiKo','constructor','base64','browserStackExecuteDriver','HMjIV','143613wxTTNu','browserstackTestName','apply','event','3490kGvcad','HtvMt','skipSessionStatus','pGIqU','hook','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','FTKFE','test-failed','BROWSERSTACK_TESTHUB_UUID','../../helpers/testhub/constants.js','prototype','codeceptjs/lib/helper/WebDriver.js','HFKfD','stringify','thJwtToken','browserContext','browserstack_executor:\x20','Performing\x20scan\x20for\x20','screenshotOutputFolder','performScan','slice','BROWSERSTACK_TESTHUB_JWT','EdXwC','tnlpi','Fipko','Failed\x20to\x20execute\x20_before:\x20','SDK_PRE_TEST','./helper.js','getAccessibilityResults','captureEvent','debug','hookType','command','./o11yHelper','TEST_RUN_STARTED','reason','step-comment','../../helpers/globals.js','HSFbV','__workerDetails','27585GHyKOC','ltxuR','currentTest','SDK_POST_TEST','test','bstackAllyScanning','warn','eLcpe','hook-passed','1106fzPYFm','178206sftOMx','KKdia','VDIbt','hook-failed','HnEgY','patchSaveScreenshot','SDK_HOOK','pid','RTMri','dlxxw','SAVE_RESULTS','before','name','add','qPkVy','Suite','thTestRunUuid','all','captureError','gemqH','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','GywDP','afterTest','ctx','iKStf','accessibilityPlatform'];a1_0x57c5=function(){return _0x1346d8;};return a1_0x57c5();}const fs=require('fs'),util=require(a1_0x581dcb(0x116)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x581dcb(0x110))[a1_0x581dcb(0x133)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x581dcb(0x177)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x581dcb(0x13b)),AccessibilityHelper=require(a1_0x581dcb(0x145)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x581dcb(0x104)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x581dcb(0x171)),testHubConstants=require(a1_0x581dcb(0x15f)),globals=require(a1_0x581dcb(0x17b)),CodeceptJS=requireModule(a1_0x581dcb(0xe1),a1_0x581dcb(0xef)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule(a1_0x581dcb(0x161),a1_0x581dcb(0xef)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x581dcb(0xef)),CodeceptPlaywright=requireModule(a1_0x581dcb(0x120),'codeceptjs'),playwrightMarkSessionStatus=(_0x34f12d,_0x3c84e8,_0xde1b0d)=>{const _0x217975=a1_0x581dcb,_0x169bcf={'wmgzm':'setSessionStatus','yjdku':function(_0xfc8a9e,_0x48e72d){return _0xfc8a9e(_0x48e72d);}},_0x1bda17={};_0x1bda17[_0x217975(0xf1)]=_0x3c84e8;const _0x13979f={};_0x13979f['action']=_0x169bcf[_0x217975(0xe9)],_0x13979f[_0x217975(0x11c)]=_0x1bda17;const _0x5e9759=_0x13979f;return!_0x169bcf[_0x217975(0x108)](isUndefined,_0xde1b0d)&&(_0x5e9759[_0x217975(0x11c)][_0x217975(0x179)]=JSON[_0x217975(0x163)](_0xde1b0d)),_0x34f12d[_0x217975(0xf6)](()=>{},_0x217975(0x166)+JSON[_0x217975(0x163)](_0x5e9759));},o11ySync=PerformanceTester[a1_0x581dcb(0xf9)](PerformanceO11yEvents['SYNC'],async _0x298062=>{const _0x5ced75=a1_0x581dcb,_0x4e0c9f={};_0x4e0c9f[_0x5ced75(0x13d)]=function(_0x3df47d,_0x268fe2){return _0x3df47d===_0x268fe2;},_0x4e0c9f['AlWbs']=_0x5ced75(0xf3);const _0x239f3c=_0x4e0c9f;_0x239f3c[_0x5ced75(0x13d)](_0x298062[_0x5ced75(0x14e)]['name'],_0x239f3c[_0x5ced75(0x140)])?await _0x298062['executeScript'](_0x1a5687=>{},testOpsHelper[_0x5ced75(0x10d)]()):await _0x298062[_0x5ced75(0xf6)](testOpsHelper[_0x5ced75(0x10d)]());}),markSessionName=PerformanceTester[a1_0x581dcb(0xf9)](PerformanceAutEvents['SESSION_NAME'],async(_0x2a7165,_0x3d3fc8)=>{const _0x1c9e11=a1_0x581dcb,_0x5d06b6={};_0x5d06b6[_0x1c9e11(0x141)]='setSessionName',_0x5d06b6['qYPST']=function(_0x2f0e6e,_0x2853b4){return _0x2f0e6e===_0x2853b4;},_0x5d06b6[_0x1c9e11(0xf2)]='Playwright';const _0x2d79be=_0x5d06b6,_0x2b128d={};_0x2b128d[_0x1c9e11(0xcd)]=_0x3d3fc8;const _0x5847b9={};_0x5847b9['action']=_0x2d79be[_0x1c9e11(0x141)],_0x5847b9['arguments']=_0x2b128d;const _0x4b1e6b=_0x5847b9;_0x2d79be['qYPST'](_0x2a7165[_0x1c9e11(0x14e)]['name'],_0x2d79be[_0x1c9e11(0xf2)])?await _0x2a7165['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x1c9e11(0x163)](_0x4b1e6b)):await _0x2a7165[_0x1c9e11(0xf6)](_0x1c9e11(0x166)+JSON[_0x1c9e11(0x163)](_0x4b1e6b));}),patchSaveScreenshot=_0x318506=>{const _0x230889=a1_0x581dcb,_0xf48b62={'qtiKo':_0x230889(0x14f),'RTMri':_0x230889(0x135),'yTArD':function(_0x396fef){return _0x396fef();},'FTKFE':function(_0x36ef3f,_0x2764b6){return _0x36ef3f(_0x2764b6);}};_0xf48b62[_0x230889(0x15c)](isTrue,process[_0x230889(0x129)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x318506[_0x230889(0xc6)]&&(_0x318506[_0x230889(0xc6)]=!![],_0x318506['initSaveScreenshot']=_0x318506['saveScreenshot'],_0x318506[_0x230889(0x138)]=(_0x1e999a,_0x4cdc36=![])=>{const _0x2e856e=_0x230889,_0x26e78b={'fuAGE':_0xf48b62[_0x2e856e(0x14d)],'Zfxgo':_0xf48b62[_0x2e856e(0xc9)],'PFRal':function(_0xdfaffd){const _0xdbe591=_0x2e856e;return _0xf48b62[_0xdbe591(0xf8)](_0xdfaffd);}};return new Promise(function(_0xa4e7cd,_0x3d1d31){const _0x3598db=_0x2e856e;_0x318506['initSaveScreenshot'](_0x1e999a,_0x4cdc36)['then'](()=>{const _0x2f1132=a1_0x4fa3,_0x3747ad=CodeceptUtils[_0x2f1132(0x168)](_0x1e999a),_0x11ca86=fs[_0x2f1132(0x13e)](_0x3747ad);process[_0x2f1132(0x139)](_0x2f1132(0x13c)+process[_0x2f1132(0xc8)],{'timestamp':new Date()[_0x2f1132(0x10f)](),'message':_0x11ca86[_0x2f1132(0x103)](_0x26e78b['fuAGE']),'kind':_0x26e78b[_0x2f1132(0x100)]}),_0x26e78b[_0x2f1132(0xde)](_0xa4e7cd);})[_0x3598db(0xea)](()=>null);});});},patchWebDriverBefore=_0x44540b=>{const _0x32bd1a=a1_0x581dcb,_0x56813a={'iJxnT':function(_0x49ef58){return _0x49ef58();},'XjDKv':function(_0x4acf57,_0x65a487){return _0x4acf57(_0x65a487);},'dabBi':function(_0x5763fd,_0x2e62f0){return _0x5763fd===_0x2e62f0;},'pJKUV':_0x32bd1a(0x109),'eLcpe':function(_0x4ee848,_0x203f97){return _0x4ee848(_0x203f97);}},_0x335cbe=async function(_0x4c192b,_0x547ee7){const _0xe3ef66=_0x32bd1a;return _0x56813a['iJxnT'](isAccessibilityAutomationSession)&&!global[_0xe3ef66(0x183)]&&global[_0xe3ef66(0xda)]&&scripts['shouldWrapCommand'](_0x4c192b['name'])&&_0x56813a['XjDKv'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xe3ef66(0x183)]=!![],await PerformanceTester[_0xe3ef66(0xf9)](PerformanceA11yEvents[_0xe3ef66(0x101)],async()=>{const _0x3ec054=_0xe3ef66;logger[_0x3ec054(0x174)](_0x3ec054(0x167)+_0x4c192b['class']+'\x20'+_0x4c192b[_0x3ec054(0xcd)]),await AccessibilityHelper[_0x3ec054(0x150)](_0x44540b,scripts[_0x3ec054(0x169)]);},{'command':_0x4c192b['name']})()),global[_0xe3ef66(0x183)]=![],_0x547ee7[_0xe3ef66(0x154)](this,Array[_0xe3ef66(0x160)][_0xe3ef66(0x16a)][_0xe3ef66(0x12b)](arguments,0x2));},_0x52d3d6=CodeceptWebDriver['prototype']['_before'];CodeceptWebDriver['prototype'][_0x32bd1a(0x11b)]=async function(){const _0x1a78ad=_0x32bd1a;try{await _0x52d3d6[_0x1a78ad(0x154)](this,arguments);}catch(_0x2d2d66){logger[_0x1a78ad(0x174)](_0x1a78ad(0x16f)+util['format'](_0x2d2d66));}scripts['commandsToWrap'][_0x1a78ad(0x130)](_0xc05e4c=>_0xc05e4c['name']&&_0xc05e4c[_0x1a78ad(0x124)])[_0x1a78ad(0x127)](_0x46e138=>{const _0x33975a=_0x1a78ad;this[_0x33975a(0xe4)][_0x33975a(0xec)](_0x46e138[_0x33975a(0xcd)],_0x335cbe['bind'](this,_0x46e138),_0x56813a[_0x33975a(0x125)](_0x46e138[_0x33975a(0x124)],_0x56813a[_0x33975a(0xe6)]));}),_0x56813a[_0x1a78ad(0x185)](processWebDriverConfig,_0x44540b);};},patchPlaywrightBefore=()=>{const _0x5284e8=a1_0x581dcb;PlaywrightSessionDetails[_0x5284e8(0x13a)]();const _0x1cb73a=CodeceptPlaywright['prototype'][_0x5284e8(0x11b)];CodeceptPlaywright[_0x5284e8(0x160)]['_before']=async function(){const _0x2d3d80=_0x5284e8;this[_0x2d3d80(0x165)]=await this[_0x2d3d80(0xe4)][_0x2d3d80(0x137)]()[0x0],await _0x1cb73a[_0x2d3d80(0x154)](this,arguments);};},getCodeceptDriver=()=>{const _0x2fd32a=a1_0x581dcb,_0x2ad9d1={};_0x2ad9d1['KiQIc']=_0x2fd32a(0xe3),_0x2ad9d1[_0x2fd32a(0xd6)]=_0x2fd32a(0xf3),_0x2ad9d1[_0x2fd32a(0xcf)]='Puppeteer',_0x2ad9d1['rexVK']=_0x2fd32a(0x117);const _0x1e8be3=_0x2ad9d1,_0x3649a7=[_0x1e8be3['KiQIc'],_0x1e8be3[_0x2fd32a(0xd6)],_0x1e8be3[_0x2fd32a(0xcf)],_0x1e8be3['rexVK']],_0x88f380=_0x3649a7[_0x2fd32a(0x12e)](_0x1c0aac=>!!CodeceptJS[_0x2fd32a(0xee)]['helpers'](_0x1c0aac));if(!_0x88f380)return null;return CodeceptJS[_0x2fd32a(0xee)]['helpers'](_0x88f380);};module['exports']=function(_0x4ab750){const _0x365c96=a1_0x581dcb,_0x491751={'JftxV':function(_0x347722){return _0x347722();},'LYgsP':function(_0x331b54,_0x55cd67){return _0x331b54(_0x55cd67);},'GyKTo':_0x365c96(0xfa),'HMjIV':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','HSFbV':'getAccessibilityResults','EdXwC':_0x365c96(0x15b),'kdHFw':_0x365c96(0xf5),'VDIbt':_0x365c96(0x186),'HnEgY':_0x365c96(0xc4),'KKdia':_0x365c96(0x153),'BqTMK':function(_0x11f11f){return _0x11f11f();},'Fipko':_0x365c96(0x12d),'gemqH':function(_0x2d9784,_0x34519a,_0x2140df){return _0x2d9784(_0x34519a,_0x2140df);},'cTsUo':'test-started','OglZU':_0x365c96(0x14a),'TSnaB':function(_0x4d25b4,_0x448079,_0x140c7,_0x6608f7){return _0x4d25b4(_0x448079,_0x140c7,_0x6608f7);},'qhXnO':function(_0x4f89df,_0x8b0f10){return _0x4f89df===_0x8b0f10;},'ltxuR':_0x365c96(0xd0),'RXNfS':_0x365c96(0x15d),'tnlpi':'test-skipped','nuOWK':_0x365c96(0xd7),'iKStf':function(_0x20e80c){return _0x20e80c();},'BvSQW':function(_0x2c2b1d,_0x3dddd3,_0x1391d0){return _0x2c2b1d(_0x3dddd3,_0x1391d0);},'MYDxO':_0x365c96(0x115),'HtvMt':_0x365c96(0x126),'TuXZp':_0x365c96(0x12c),'pGIqU':_0x365c96(0x107),'nQise':_0x365c96(0x17a),'vMtuP':_0x365c96(0x11e),'OTKIP':_0x365c96(0xf4),'gSpuy':_0x365c96(0xf3)};_0x4ab750['skipSessionStatus']&&(global[_0x365c96(0xf0)]=_0x4ab750[_0x365c96(0x158)]);PerformanceTester[_0x365c96(0x12f)]();const _0x3336c0=_0x491751[_0x365c96(0xd9)](getCodeceptDriver),_0xa8d38a=new O11yHelper(_0x3336c0,_0x4ab750),_0x5a2dfa=!!CodeceptJS[_0x365c96(0xee)]['helpers'](_0x491751[_0x365c96(0xf7)]);global[_0x365c96(0x144)]=_0x3336c0,_0x3336c0&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x365c96(0x122)],()=>{const _0xc43793=_0x365c96;_0x5a2dfa?_0x491751[_0xc43793(0x143)](patchPlaywrightBefore):_0x491751[_0xc43793(0xe8)](patchWebDriverBefore,_0x3336c0);})(),PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x5a4d88=_0x365c96,_0x416fd7={};_0x416fd7['qGuhL']=_0x491751[_0x5a4d88(0x17c)],_0x416fd7['dlxxw']=_0x491751[_0x5a4d88(0x16c)];const _0x378678=_0x416fd7;_0x3336c0[_0x5a4d88(0xfa)]=async()=>{const _0x354b85=_0x5a4d88;if(global[_0x354b85(0xda)]){const _0x1e68ce={};_0x1e68ce['command']=_0x491751['GyKTo'],await PerformanceTester[_0x354b85(0xf9)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x152088=_0x354b85;await AccessibilityHelper[_0x152088(0x150)](_0x3336c0,scripts['performScan']);},_0x1e68ce)(),await PerformanceTester[_0x354b85(0xf9)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x4ebb51=_0x354b85;await AccessibilityHelper[_0x4ebb51(0x150)](_0x3336c0,scripts['getResultsSummary']);})();}else return logger['warn'](_0x491751[_0x354b85(0x151)]),{};},_0x3336c0[_0x5a4d88(0x172)]=async()=>{const _0x470749=_0x5a4d88;if(global[_0x470749(0xda)]){const _0xe3e972={};_0xe3e972['command']=_0x378678['qGuhL'],await PerformanceTester[_0x470749(0xf9)](PerformanceA11yEvents[_0x470749(0x101)],async()=>{const _0x86a7f7=_0x470749;await AccessibilityHelper['browserStackExecuteDriver'](_0x3336c0,scripts[_0x86a7f7(0x169)]);},_0xe3e972)(),await PerformanceTester[_0x470749(0xf9)](PerformanceA11yEvents[_0x470749(0xfe)],async()=>{const _0x3f7caa=_0x470749;await AccessibilityHelper[_0x3f7caa(0x150)](_0x3336c0,scripts[_0x3f7caa(0xdf)]);})();}else return logger[_0x470749(0x184)](_0x378678[_0x470749(0xca)]),{};},_0x491751[_0x5a4d88(0xe8)](patchSaveScreenshot,_0x3336c0);})()),CodeceptJS[_0x365c96(0x155)]['dispatcher']['on'](CodeceptJS[_0x365c96(0x155)][_0x365c96(0xd2)][_0x365c96(0xcc)],()=>{const _0x2682d0=_0x365c96;PerformanceTester[_0x2682d0(0x121)](PerformanceEvents[_0x2682d0(0x170)]);try{_0xa8d38a[_0x2682d0(0x121)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x2682d0(0x136)](PerformanceEvents[_0x2682d0(0x170)]);}catch(_0x5ee6b9){PerformanceTester[_0x2682d0(0xd3)](_0x5ee6b9),PerformanceTester['end'](PerformanceEvents[_0x2682d0(0x170)],![],_0x5ee6b9);}}),CodeceptJS['event'][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)][_0x365c96(0xd2)]['after'],async()=>{const _0x472f0e=_0x365c96;PerformanceTester[_0x472f0e(0x121)](PerformanceEvents[_0x472f0e(0x181)]);try{requestSpy['restore'](),await _0xa8d38a[_0x472f0e(0x102)](),PerformanceTester[_0x472f0e(0x136)](PerformanceEvents[_0x472f0e(0x181)]);}catch(_0x3aac1c){PerformanceTester['captureError'](_0x3aac1c),PerformanceTester['end'](PerformanceEvents[_0x472f0e(0x181)],![],_0x3aac1c);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x365c96(0x155)]['hook'][_0x365c96(0x119)],_0x3e297b=>{const _0x553bc9=_0x365c96;PerformanceTester[_0x553bc9(0x121)](PerformanceEvents['SDK_HOOK']);try{const _0x3d4d42=_0x3e297b['ctx'][_0x553bc9(0x182)],_0x215b67=_0xa8d38a['captureEvent'](TEST_EVENTS[_0x553bc9(0x149)],_0x3d4d42);CodeceptRecorder[_0x553bc9(0xce)](()=>_0xa8d38a[_0x553bc9(0xdd)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x215b67));const _0x40ed23={};_0x40ed23['hookType']=_0x491751[_0x553bc9(0x146)],PerformanceTester['end'](PerformanceEvents[_0x553bc9(0xc7)],!![],null,_0x40ed23);}catch(_0x1ff1f7){const _0x5d2f65={};_0x5d2f65['hookType']=_0x491751[_0x553bc9(0x146)],PerformanceTester[_0x553bc9(0x136)](PerformanceEvents[_0x553bc9(0xc7)],![],_0x1ff1f7,_0x5d2f65),PerformanceTester[_0x553bc9(0xd3)](_0x1ff1f7);}}),CodeceptJS['event'][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)][_0x365c96(0x15a)][_0x365c96(0x132)],_0x5bdd9b=>{const _0x38d994=_0x365c96,_0x2de352={};_0x2de352[_0x38d994(0x175)]=_0x491751['VDIbt'],PerformanceTester[_0x38d994(0x121)](PerformanceHookEvents[_0x38d994(0xc7)],!![],null,_0x2de352);try{const _0x5becf3=_0x5bdd9b['ctx'][_0x38d994(0x182)],_0x4657a4=_0xa8d38a['captureEvent'](TEST_EVENTS[_0x38d994(0x106)],_0x5becf3);CodeceptRecorder[_0x38d994(0xce)](()=>_0xa8d38a['fireEvent'](TEST_EVENTS[_0x38d994(0x106)],_0x4657a4));const _0x2d6d48={};_0x2d6d48[_0x38d994(0x175)]=_0x491751[_0x38d994(0x18a)],PerformanceTester[_0x38d994(0x136)](PerformanceHookEvents[_0x38d994(0xc7)],!![],null,_0x2d6d48);}catch(_0x40d544){PerformanceTester[_0x38d994(0xd3)](_0x40d544);const _0x5da1dc={};_0x5da1dc[_0x38d994(0x175)]=_0x491751[_0x38d994(0x18a)],PerformanceTester[_0x38d994(0x136)](PerformanceHookEvents[_0x38d994(0xc7)],![],_0x40d544,_0x5da1dc);}}),CodeceptJS['event'][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)]['hook'][_0x365c96(0x11a)],async(_0x25cdfe,_0x5f1c9)=>{const _0x2c1a60=_0x365c96;PerformanceTester['start'](PerformanceHookEvents[_0x2c1a60(0xc7)]);try{const _0x1b3106=_0x25cdfe[_0x2c1a60(0xd8)][_0x2c1a60(0x182)],_0x5a9a38=_0xa8d38a[_0x2c1a60(0x173)](TEST_EVENTS[_0x2c1a60(0x106)],_0x1b3106,_0x5f1c9);CodeceptRecorder[_0x2c1a60(0xce)](()=>_0xa8d38a[_0x2c1a60(0xdd)](TEST_EVENTS[_0x2c1a60(0x106)],_0x5a9a38));const _0x629f86={};_0x629f86[_0x2c1a60(0x175)]=_0x491751[_0x2c1a60(0xc5)],PerformanceTester[_0x2c1a60(0x121)](PerformanceHookEvents[_0x2c1a60(0xc7)],!![],null,_0x629f86);}catch(_0x353ece){PerformanceTester[_0x2c1a60(0xd3)](_0x353ece);const _0x1698e0={};_0x1698e0[_0x2c1a60(0x175)]=_0x491751[_0x2c1a60(0xc5)],PerformanceTester[_0x2c1a60(0x136)](PerformanceHookEvents['SDK_HOOK'],![],_0x353ece,_0x1698e0);}const _0x50ba18={};_0x50ba18[_0x2c1a60(0x175)]=_0x491751['HnEgY'],PerformanceTester[_0x2c1a60(0x136)](PerformanceHookEvents[_0x2c1a60(0xc7)],!![],null,_0x50ba18);}),CodeceptJS[_0x365c96(0x155)][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)]['test'][_0x365c96(0xcc)],_0xaa3567=>{const _0x4a8097=_0x365c96;PerformanceTester['start'](PerformanceHookEvents[_0x4a8097(0xc7)]);try{globals['setGlobal'](_0x491751[_0x4a8097(0x189)],_0xaa3567[_0x4a8097(0x148)]);_0x491751[_0x4a8097(0x10b)](isBrowserstackInfra)&&(_0x5a2dfa&&(global[_0x4a8097(0x17d)]={'currentTest':{'name':_0xaa3567['title'],'testInfo':{'titlePath':_0xaa3567[_0x4a8097(0x112)]()}}}));const _0x36bd9e={};_0x36bd9e[_0x4a8097(0x175)]=_0x491751['Fipko'],PerformanceTester[_0x4a8097(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x36bd9e);}catch(_0x5babed){PerformanceTester[_0x4a8097(0xd3)](_0x5babed);const _0x2a6ba6={};_0x2a6ba6[_0x4a8097(0x175)]=_0x491751[_0x4a8097(0x16e)],PerformanceTester[_0x4a8097(0x136)](PerformanceHookEvents[_0x4a8097(0xc7)],![],_0x5babed,_0x2a6ba6);}}),CodeceptJS[_0x365c96(0x155)][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)]['test']['started'],_0x471657=>{const _0x58a857=_0x365c96;PerformanceTester[_0x58a857(0x121)](PerformanceHookEvents[_0x58a857(0xc7)]);try{globals['setGlobal'](_0x491751[_0x58a857(0x189)],_0x471657[_0x58a857(0x148)]);const _0x31cfec=_0xa8d38a['captureEvent'](TEST_EVENTS[_0x58a857(0x178)],_0x471657);CodeceptRecorder['add'](()=>_0xa8d38a['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x31cfec)),CodeceptRecorder[_0x58a857(0xce)](async()=>{const _0x30b8f0=_0x58a857;_0x491751[_0x30b8f0(0x10b)](isBrowserstackInfra)&&(!_0x491751[_0x30b8f0(0xe8)](isTrue,_0x4ab750[_0x30b8f0(0x105)])&&await _0x491751[_0x30b8f0(0xd4)](markSessionName,_0x3336c0,_0x471657[_0x30b8f0(0x148)]),_0xa8d38a[_0x30b8f0(0xfc)]&&await _0x491751['LYgsP'](o11ySync,_0x3336c0));});}catch(_0x15713f){const _0x3c38bd={};_0x3c38bd[_0x58a857(0x175)]=_0x491751[_0x58a857(0x11d)],PerformanceTester[_0x58a857(0x136)](PerformanceHookEvents['SDK_HOOK'],![],_0x15713f,_0x3c38bd),PerformanceTester[_0x58a857(0xd3)](_0x15713f);}const _0x451c14={};_0x451c14[_0x58a857(0x175)]=_0x491751['cTsUo'],PerformanceTester[_0x58a857(0x136)](PerformanceHookEvents[_0x58a857(0xc7)],!![],null,_0x451c14);}),CodeceptJS[_0x365c96(0x155)]['dispatcher']['on'](CodeceptJS[_0x365c96(0x155)][_0x365c96(0x182)][_0x365c96(0x132)],_0x5d090d=>{const _0x476a78=_0x365c96,_0x1fb5b5={'HFKfD':function(_0xa9463b,_0x2f33a2,_0x129a62){return _0x491751['gemqH'](_0xa9463b,_0x2f33a2,_0x129a62);},'uBObg':function(_0x2e4a07,_0x4b3083,_0x2d7eaf){const _0x380a60=a1_0x4fa3;return _0x491751[_0x380a60(0xd4)](_0x2e4a07,_0x4b3083,_0x2d7eaf);},'yvLOo':function(_0x257f2b){return _0x491751['JftxV'](_0x257f2b);}};PerformanceTester[_0x476a78(0x121)](PerformanceHookEvents[_0x476a78(0xc7)]);try{const _0xc24403=_0xa8d38a[_0x476a78(0x173)](TEST_EVENTS[_0x476a78(0xe5)],_0x5d090d);CodeceptRecorder[_0x476a78(0xce)](()=>_0xa8d38a['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0xc24403)),CodeceptRecorder[_0x476a78(0xce)](async()=>{const _0x9d2caf=_0x476a78;_0x1fb5b5['yvLOo'](isBrowserstackInfra)&&await PerformanceTester[_0x9d2caf(0xf9)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x4e58a9=_0x9d2caf;_0x5a2dfa?await _0x1fb5b5[_0x4e58a9(0x162)](playwrightMarkSessionStatus,_0x3336c0,STATE_PASSED):await _0x1fb5b5[_0x4e58a9(0xeb)](markSessionStatus,_0x3336c0,STATE_PASSED);})();}),PerformanceTester[_0x476a78(0x136)](PerformanceEvents[_0x476a78(0x10c)]);}catch(_0x147d83){PerformanceTester[_0x476a78(0xd3)](_0x147d83);const _0x397b37={};_0x397b37[_0x476a78(0x175)]=_0x491751[_0x476a78(0xed)],PerformanceTester[_0x476a78(0x136)](PerformanceHookEvents['SDK_HOOK'],![],_0x147d83,_0x397b37),PerformanceTester[_0x476a78(0x136)](PerformanceEvents[_0x476a78(0x10c)],![],_0x147d83);}const _0x3a0291={};_0x3a0291[_0x476a78(0x175)]=_0x491751['OglZU'],PerformanceTester[_0x476a78(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3a0291);}),CodeceptJS[_0x365c96(0x155)][_0x365c96(0x114)]['on'](CodeceptJS['event'][_0x365c96(0x182)][_0x365c96(0x11a)],(_0x83e2dc,_0x171d40)=>{const _0x317240=_0x365c96,_0x131b59={'jQgEl':function(_0x2da9a2){const _0x536aba=a1_0x4fa3;return _0x491751[_0x536aba(0x10b)](_0x2da9a2);},'xYemk':function(_0x461572,_0x48fa73,_0x4043aa,_0x2336f2){const _0x2b91b9=a1_0x4fa3;return _0x491751[_0x2b91b9(0x11f)](_0x461572,_0x48fa73,_0x4043aa,_0x2336f2);}};PerformanceTester[_0x317240(0x121)](PerformanceHookEvents[_0x317240(0xc7)]);try{if(_0x491751['qhXnO'](_0x83e2dc[_0x317240(0x14e)][_0x317240(0xcd)],_0x491751[_0x317240(0x17f)])){const _0x30b444=_0xa8d38a[_0x317240(0x173)](TEST_EVENTS[_0x317240(0x12a)],_0x83e2dc[_0x317240(0xd8)][_0x317240(0x180)]);CodeceptRecorder[_0x317240(0xce)](()=>_0xa8d38a['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x30b444));}else{const _0x10922a=_0xa8d38a[_0x317240(0x173)](TEST_EVENTS[_0x317240(0xe5)],_0x83e2dc,_0x171d40);CodeceptRecorder[_0x317240(0xce)](()=>{const _0x813850=_0x317240;try{_0xa8d38a[_0x813850(0xdd)](TEST_EVENTS[_0x813850(0xe5)],_0x10922a);}catch(_0x1a8a55){logger[_0x813850(0x174)](_0x813850(0xd5)+util[_0x813850(0x14b)](_0x1a8a55)),PerformanceTester[_0x813850(0x136)](PerformanceEvents[_0x813850(0x10c)],![],_0x1a8a55);}}),CodeceptRecorder[_0x317240(0xce)](async()=>{const _0x24ee04=_0x317240;try{_0x131b59[_0x24ee04(0xe7)](isBrowserstackInfra)&&(_0x5a2dfa?await _0x131b59[_0x24ee04(0x134)](playwrightMarkSessionStatus,_0x3336c0,STATE_FAILED,_0x171d40):await _0x131b59[_0x24ee04(0x134)](markSessionStatus,_0x3336c0,STATE_FAILED,_0x171d40));}catch(_0x2a9f59){logger['debug'](_0x24ee04(0x10a)+util[_0x24ee04(0x14b)](_0x2a9f59)),PerformanceTester[_0x24ee04(0x136)](PerformanceEvents[_0x24ee04(0x10c)],![],_0x2a9f59);}});}PerformanceTester[_0x317240(0x136)](PerformanceEvents[_0x317240(0x10c)]);}catch(_0x3198cd){PerformanceTester[_0x317240(0xd3)](_0x3198cd);const _0xa08210={};_0xa08210['hookType']=_0x491751[_0x317240(0x10e)],PerformanceTester[_0x317240(0x136)](PerformanceHookEvents[_0x317240(0xc7)],![],_0x3198cd,_0xa08210),PerformanceTester['end'](PerformanceEvents[_0x317240(0x10c)],![],_0x3198cd);}const _0xd5860d={};_0xd5860d[_0x317240(0x175)]=_0x491751[_0x317240(0x10e)],PerformanceTester[_0x317240(0x136)](PerformanceHookEvents[_0x317240(0xc7)],!![],null,_0xd5860d);}),CodeceptJS[_0x365c96(0x155)][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)]['test']['skipped'],_0x1adf31=>{const _0x38f60f=_0x365c96;PerformanceTester[_0x38f60f(0x121)](PerformanceHookEvents['SDK_HOOK']);try{const _0x33c05e=_0xa8d38a[_0x38f60f(0x173)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1adf31);CodeceptRecorder[_0x38f60f(0xce)](()=>_0xa8d38a[_0x38f60f(0xdd)](TEST_EVENTS[_0x38f60f(0x12a)],_0x33c05e)),PerformanceTester[_0x38f60f(0x136)](PerformanceEvents[_0x38f60f(0x10c)]);}catch(_0x4ace96){PerformanceTester['captureError'](_0x4ace96),PerformanceTester[_0x38f60f(0x136)](PerformanceEvents[_0x38f60f(0x10c)],![],_0x4ace96);const _0x20af17={};_0x20af17[_0x38f60f(0x175)]=_0x491751['tnlpi'],PerformanceTester[_0x38f60f(0x136)](PerformanceHookEvents[_0x38f60f(0xc7)],![],_0x4ace96,_0x20af17);}const _0x24a630={};_0x24a630[_0x38f60f(0x175)]=_0x491751[_0x38f60f(0x16d)],PerformanceTester[_0x38f60f(0x136)](PerformanceHookEvents[_0x38f60f(0xc7)],!![],null,_0x24a630);}),CodeceptJS[_0x365c96(0x155)]['dispatcher']['on'](CodeceptJS['event'][_0x365c96(0x182)]['after'],async(_0x16b4a1,_0x15df8a)=>{const _0x119c8c=_0x365c96;try{PerformanceTester['start'](PerformanceHookEvents[_0x119c8c(0xc7)]);if(_0x491751[_0x119c8c(0xd9)](isBrowserstackInfra)){const _0x16653c=_0x491751[_0x119c8c(0x123)](shouldScanTestForAccessibility,_0x16b4a1['titlePath'](),!![]);if(_0x491751[_0x119c8c(0x143)](isAccessibilityAutomationSession)&&global[_0x119c8c(0xda)]&&_0x16653c){const _0x1034e9={};_0x1034e9[_0x119c8c(0xd1)]=_0x16b4a1['testAnalyticsId'],_0x1034e9['thBuildUuid']=process['env'][testHubConstants[_0x119c8c(0x142)][_0x119c8c(0x15e)]],_0x1034e9[_0x119c8c(0x164)]=process[_0x119c8c(0x129)][testHubConstants['ENV_VAR'][_0x119c8c(0x16b)]];const _0x5ee00b=_0x1034e9;logger[_0x119c8c(0x174)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x119c8c(0x163)](_0x5ee00b)),CodeceptRecorder[_0x119c8c(0xce)](async()=>{const _0x39f4ea=_0x119c8c,_0x422c31={};_0x422c31[_0x39f4ea(0x176)]=_0x491751[_0x39f4ea(0xe0)],await PerformanceTester[_0x39f4ea(0xf9)](PerformanceA11yEvents[_0x39f4ea(0x101)],async()=>{const _0x54822d=_0x39f4ea;await AccessibilityHelper[_0x54822d(0x150)](_0x3336c0,scripts[_0x54822d(0x169)]);},_0x422c31)(),await PerformanceTester[_0x39f4ea(0xf9)](PerformanceA11yEvents[_0x39f4ea(0xcb)],async()=>{const _0x5d2df0=_0x39f4ea;await AccessibilityHelper[_0x5d2df0(0x150)](_0x3336c0,scripts[_0x5d2df0(0xdb)],_0x5ee00b);})();}),logger['info'](_0x491751[_0x119c8c(0xff)]);}}const _0xc355ba={};_0xc355ba['hookType']=_0x491751[_0x119c8c(0x157)],PerformanceTester['end'](PerformanceHookEvents[_0x119c8c(0xc7)],!![],null,_0xc355ba);}catch(_0x2b57cd){PerformanceTester[_0x119c8c(0xd3)](_0x2b57cd);const _0xdb6dac={};_0xdb6dac[_0x119c8c(0x175)]=_0x491751[_0x119c8c(0x157)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x2b57cd,_0xdb6dac);}}),CodeceptJS[_0x365c96(0x155)][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)][_0x365c96(0x113)][_0x365c96(0xe2)],_0x55602e=>{const _0x3efbf5=_0x365c96;PerformanceTester['start'](PerformanceHookEvents[_0x3efbf5(0xc7)]);try{process[_0x3efbf5(0x139)](_0x3efbf5(0x13c)+process[_0x3efbf5(0xc8)],{'timestamp':new Date()[_0x3efbf5(0x10f)](),'level':_0x491751['TuXZp'],'message':_0x55602e,'kind':_0x491751[_0x3efbf5(0x159)],'http_response':{}});}catch(_0x13f401){PerformanceTester[_0x3efbf5(0xd3)](_0x13f401);const _0x170824={};_0x170824['hookType']=_0x491751[_0x3efbf5(0x128)],PerformanceTester['end'](PerformanceHookEvents[_0x3efbf5(0xc7)],![],_0x13f401,_0x170824);}const _0x71f033={};_0x71f033[_0x3efbf5(0x175)]=_0x491751[_0x3efbf5(0x128)],PerformanceTester[_0x3efbf5(0x136)](PerformanceHookEvents[_0x3efbf5(0xc7)],!![],null,_0x71f033);}),CodeceptJS[_0x365c96(0x155)][_0x365c96(0x114)]['on'](CodeceptJS[_0x365c96(0x155)][_0x365c96(0x13f)]['before'],_0x4cf7bd=>{const _0x3b5229=_0x365c96,_0x2bb8c6={};_0x2bb8c6[_0x3b5229(0x175)]=_0x491751[_0x3b5229(0x147)],PerformanceTester[_0x3b5229(0xf9)](PerformanceHookEvents[_0x3b5229(0xc7)],()=>{_0xa8d38a['bddStepStart'](_0x4cf7bd);},_0x2bb8c6)();}),CodeceptJS[_0x365c96(0x155)]['dispatcher']['on'](CodeceptJS['event'][_0x365c96(0x13f)][_0x365c96(0x14c)],_0x4e3a63=>{const _0x50a999=_0x365c96,_0x59b6c7={};_0x59b6c7[_0x50a999(0x175)]=_0x491751[_0x50a999(0xdc)],PerformanceTester[_0x50a999(0xf9)](PerformanceHookEvents[_0x50a999(0xc7)],()=>{_0xa8d38a['bddStepFinish'](_0x4e3a63);},_0x59b6c7)();});};
|
|
1
|
+
const a1_0x2f6dfd=a1_0x136c;(function(_0x34fc7f,_0x4b4515){const _0x155410=a1_0x136c,_0x1244d9=_0x34fc7f();while(!![]){try{const _0x44707d=parseInt(_0x155410(0x133))/0x1+parseInt(_0x155410(0x148))/0x2*(-parseInt(_0x155410(0x11b))/0x3)+parseInt(_0x155410(0xd4))/0x4+-parseInt(_0x155410(0x12f))/0x5*(parseInt(_0x155410(0x178))/0x6)+-parseInt(_0x155410(0xc0))/0x7*(-parseInt(_0x155410(0x15a))/0x8)+parseInt(_0x155410(0x14b))/0x9*(parseInt(_0x155410(0xd1))/0xa)+-parseInt(_0x155410(0xb9))/0xb;if(_0x44707d===_0x4b4515)break;else _0x1244d9['push'](_0x1244d9['shift']());}catch(_0x3b6914){_0x1244d9['push'](_0x1244d9['shift']());}}}(a1_0xfdbd,0xde105));function a1_0xfdbd(){const _0x3b959a=['ZZZsb','lXNZt','124716kJaZnp','testAnalyticsId','bddStep-before','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hook-failed','mnmjF','Suite','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SESSION_STATUS','JQPvc','stopMonitoring','../../helpers/testhub/constants.js','PJxeB','thJwtToken','pAjFE','gTUUi','screenshotOutputFolder','info','maBws','skipSessionName','210820LwlRvF','TYkVA','exports','saveTestResults','1793340ZoVfeb','thBuildUuid','class','name','codeceptjs/lib/helper/WebDriver.js','arguments','SDK_TEST','browserStackExecuteDriver','OMqzd','JrgYu','step','debug','test-passed','TEST_RUN_FINISHED','../../helpers/globals.js','initSaveScreenshot','format','afterTest','EmaFM','bBmts','BS_TESTOPS_ALLOW_SCREENSHOTS','26GdopLB','./helper.js','winstonLogger','18zRsASc','bddStep','command','HOOK_RUN_STARTED','_before','codeceptjs/lib/index.js','before','PERFORM_SCAN','SeqGC','status','enabled','event','Element','test-skipped','mXhDL','40rHdMZv','codeceptjs/lib/utils.js','browser','SDK_PRE_INITIALIZE','UAVnW','env','ctx','SESSION_NAME','captureError','Eqctt','Failed\x20to\x20execute\x20_before:\x20','ZRoSv','OTjet','dispatcher','captureEvent','catch','Erxcf','BROWSERSTACK_TESTHUB_JWT','saveScreenshot','hookType','browserContext','../../helpers/test-observability/utils','bddStepFinish','hook','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','start','titlePath','BROWSERSTACK_TESTHUB_UUID','toString','reason','120nKnSep','AlwIq','Performing\x20scan\x20for\x20','startMonitoring','prototype','SDK_POST_INITIALIZE','lbGji','SDK_POST_TEST','setSessionName','test','hKqJw','toISOString','getAccessibilityResultsSummary','apply','helpers','QEkti','restore','constructor','RJbSp','commandsToWrap','28668442YnNzYz','end','measureWrapper','filter','accessibilityPlatform','codeceptjs/lib/helper/Playwright.js','TestCafe','967617Wuhyti','forEach','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','HckBA','bind','ShcXi','emit','Iqqba','pid','gcHug','FGwwN','patchSaveScreenshot','../../bin/playwright/accessibility-helper','INFO','passed','SDK_PRE_TEST','dESAY','6126940TsIVxL','TEST_RUN_SKIPPED','NPlnc','4758512KRphoN','GET_RESULTS_SUMMARY','test-failed','bstackAllyScanning','getSyncScript','TEST_RUN_STARTED','overwriteCommand','comment','NJlmA','failed','bddStep-after','__driver','gDLLM','container','EhusP','Puppeteer','after','Playwright','bs:addLog:','executeScript','ENV_VAR','skipSessionStatus','stop','RGPTK','../../helpers/accessibility-automation/scripts','../../helpers/helper','SYNC','action','test-after','title','getAccessibilityResults','LvSei','warn','setGlobal','browserstack_executor:\x20','HOOK_RUN_FINISHED','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bDxfn','SAVE_RESULTS','tLfVS','WebDriver','slDMB','performScan','SDK_HOOK','codeceptjs','../../helpers/request-spy','ULdGw','eMlDR','all','__workerDetails','pKRhP','contexts','started','stringify','../../helpers/performance/constants','DkVus','uifmF','UTJhz','base64','util','addRequestSpy','fireEvent','currentTest','add','test-before','__skipSessionStatus','LbgLj','call','codeceptjs/lib/recorder.js'];a1_0xfdbd=function(){return _0x3b959a;};return a1_0xfdbd();}const fs=require('fs'),util=require(a1_0x2f6dfd(0x10f)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2f6dfd(0xed)),logger=require('../../helpers/logger')[a1_0x2f6dfd(0x14a)],testOpsHelper=require(a1_0x2f6dfd(0x16f)),requestSpy=require(a1_0x2f6dfd(0x101)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x2f6dfd(0xcc)),scripts=require(a1_0x2f6dfd(0xec)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2f6dfd(0x10a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2f6dfd(0x149)),testHubConstants=require(a1_0x2f6dfd(0x126)),globals=require(a1_0x2f6dfd(0x141)),CodeceptJS=requireModule(a1_0x2f6dfd(0x150),a1_0x2f6dfd(0x100)),CodeceptUtils=requireModule(a1_0x2f6dfd(0x15b),a1_0x2f6dfd(0x100)),CodeceptWebDriver=requireModule(a1_0x2f6dfd(0x137),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x2f6dfd(0x118),a1_0x2f6dfd(0x100)),CodeceptPlaywright=requireModule(a1_0x2f6dfd(0xbe),'codeceptjs'),playwrightMarkSessionStatus=(_0x4b47d6,_0x35ee43,_0x46d51d)=>{const _0x127bf5=a1_0x2f6dfd,_0x581827={'HckBA':'setSessionStatus','clpmU':function(_0x59efe4,_0x41d465){return _0x59efe4(_0x41d465);}},_0x124d01={};_0x124d01[_0x127bf5(0x154)]=_0x35ee43;const _0x5461a4={};_0x5461a4[_0x127bf5(0xef)]=_0x581827[_0x127bf5(0xc3)],_0x5461a4[_0x127bf5(0x138)]=_0x124d01;const _0x1518fd=_0x5461a4;return!_0x581827['clpmU'](isUndefined,_0x46d51d)&&(_0x1518fd['arguments'][_0x127bf5(0x177)]=JSON[_0x127bf5(0x109)](_0x46d51d)),_0x4b47d6[_0x127bf5(0xe7)](()=>{},_0x127bf5(0xf6)+JSON['stringify'](_0x1518fd));},o11ySync=PerformanceTester[a1_0x2f6dfd(0xbb)](PerformanceO11yEvents[a1_0x2f6dfd(0xee)],async _0x4cb9de=>{const _0x35777d=a1_0x2f6dfd,_0x185366={};_0x185366[_0x35777d(0x127)]=function(_0x3341e1,_0x2c1afb){return _0x3341e1===_0x2c1afb;},_0x185366[_0x35777d(0xd3)]=_0x35777d(0xe5);const _0x354abc=_0x185366;_0x354abc[_0x35777d(0x127)](_0x4cb9de[_0x35777d(0xb6)][_0x35777d(0x136)],_0x354abc[_0x35777d(0xd3)])?await _0x4cb9de[_0x35777d(0xe7)](_0x586220=>{},testOpsHelper[_0x35777d(0xd8)]()):await _0x4cb9de[_0x35777d(0xe7)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x2f6dfd(0xbb)](PerformanceAutEvents[a1_0x2f6dfd(0x161)],async(_0x1803be,_0x43836f)=>{const _0x6a0db4=a1_0x2f6dfd,_0x46fddb={};_0x46fddb[_0x6a0db4(0x16a)]=_0x6a0db4(0x180),_0x46fddb['hzKLO']=function(_0x460d6c,_0x368e59){return _0x460d6c===_0x368e59;},_0x46fddb[_0x6a0db4(0xf9)]=_0x6a0db4(0xe5);const _0x29adfe=_0x46fddb,_0x587eb8={};_0x587eb8['name']=_0x43836f;const _0x32a81a={};_0x32a81a[_0x6a0db4(0xef)]=_0x29adfe[_0x6a0db4(0x16a)],_0x32a81a[_0x6a0db4(0x138)]=_0x587eb8;const _0x223fa5=_0x32a81a;_0x29adfe['hzKLO'](_0x1803be['constructor'][_0x6a0db4(0x136)],_0x29adfe[_0x6a0db4(0xf9)])?await _0x1803be['executeScript'](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x223fa5)):await _0x1803be[_0x6a0db4(0xe7)](_0x6a0db4(0xf6)+JSON[_0x6a0db4(0x109)](_0x223fa5));}),patchSaveScreenshot=_0x56996c=>{const _0x243847=a1_0x2f6dfd,_0x1f1b57={'Iqqba':_0x243847(0x10e),'OrWgP':'TEST_SCREENSHOT','pAjFE':function(_0x549c37){return _0x549c37();},'geUkN':function(_0x385c69,_0x5b257b){return _0x385c69(_0x5b257b);}};_0x1f1b57['geUkN'](isTrue,process[_0x243847(0x15f)][_0x243847(0x147)])&&!_0x56996c[_0x243847(0xcb)]&&(_0x56996c[_0x243847(0xcb)]=!![],_0x56996c['initSaveScreenshot']=_0x56996c[_0x243847(0x16c)],_0x56996c[_0x243847(0x16c)]=(_0x264d9b,_0x310199=![])=>{const _0x619259=_0x243847,_0x598864={'gDLLM':_0x1f1b57[_0x619259(0xc7)],'BsIMr':_0x1f1b57['OrWgP'],'JrgYu':function(_0x447c87){const _0x9c53ab=_0x619259;return _0x1f1b57[_0x9c53ab(0x129)](_0x447c87);}};return new Promise(function(_0x5ad69b,_0x3c4180){const _0x5c8bee=_0x619259,_0x44fcbb={'jyMxS':_0x598864[_0x5c8bee(0xe0)],'iTunq':_0x598864['BsIMr'],'IsVUt':function(_0x34a854){const _0x44f3ef=_0x5c8bee;return _0x598864[_0x44f3ef(0x13c)](_0x34a854);}};_0x56996c[_0x5c8bee(0x142)](_0x264d9b,_0x310199)['then'](()=>{const _0x5d37df=_0x5c8bee,_0x59c00b=CodeceptUtils[_0x5d37df(0x12b)](_0x264d9b),_0x55cf62=fs['readFileSync'](_0x59c00b);process[_0x5d37df(0xc6)](_0x5d37df(0xe6)+process[_0x5d37df(0xc8)],{'timestamp':new Date()[_0x5d37df(0xb0)](),'message':_0x55cf62[_0x5d37df(0x176)](_0x44fcbb['jyMxS']),'kind':_0x44fcbb['iTunq']}),_0x44fcbb['IsVUt'](_0x5ad69b);})[_0x5c8bee(0x169)](()=>null);});});},patchWebDriverBefore=_0x36c2a5=>{const _0x1674de=a1_0x2f6dfd,_0x567433={'PVZvg':function(_0x37d744){return _0x37d744();},'lbGji':function(_0x54f65c,_0x36a76e){return _0x54f65c(_0x36a76e);},'nRbig':function(_0x2b5908,_0x46a5d5){return _0x2b5908===_0x46a5d5;},'AnZqE':_0x1674de(0x157)},_0x4c5138=async function(_0x53cb3c,_0x1aa4de){const _0x17d0b2=_0x1674de;return _0x567433['PVZvg'](isAccessibilityAutomationSession)&&!global[_0x17d0b2(0xd7)]&&global[_0x17d0b2(0xbd)]&&scripts['shouldWrapCommand'](_0x53cb3c['name'])&&_0x567433['lbGji'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x17d0b2(0xd7)]=!![],await PerformanceTester[_0x17d0b2(0xbb)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1ff1b3=_0x17d0b2;logger[_0x1ff1b3(0x13e)](_0x1ff1b3(0x17a)+_0x53cb3c[_0x1ff1b3(0x135)]+'\x20'+_0x53cb3c[_0x1ff1b3(0x136)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x36c2a5,scripts[_0x1ff1b3(0xfe)]);},{'command':_0x53cb3c[_0x17d0b2(0x136)]})()),global['bstackAllyScanning']=![],_0x1aa4de[_0x17d0b2(0xb2)](this,Array[_0x17d0b2(0x17c)]['slice'][_0x17d0b2(0x117)](arguments,0x2));},_0x1c57ae=CodeceptWebDriver['prototype'][_0x1674de(0x14f)];CodeceptWebDriver[_0x1674de(0x17c)][_0x1674de(0x14f)]=async function(){const _0x3e4941=_0x1674de;try{await _0x1c57ae[_0x3e4941(0xb2)](this,arguments);}catch(_0x41d7c3){logger['debug'](_0x3e4941(0x164)+util['format'](_0x41d7c3));}scripts[_0x3e4941(0xb8)][_0x3e4941(0xbc)](_0x4fd33b=>_0x4fd33b['name']&&_0x4fd33b[_0x3e4941(0x135)])[_0x3e4941(0xc1)](_0x3db8d8=>{const _0x51b21c=_0x3e4941;this[_0x51b21c(0x15c)][_0x51b21c(0xda)](_0x3db8d8[_0x51b21c(0x136)],_0x4c5138[_0x51b21c(0xc4)](this,_0x3db8d8),_0x567433['nRbig'](_0x3db8d8['class'],_0x567433['AnZqE']));}),_0x567433[_0x3e4941(0x17e)](processWebDriverConfig,_0x36c2a5);};},patchPlaywrightBefore=()=>{const _0x43040d=a1_0x2f6dfd;PlaywrightSessionDetails['patch']();const _0xa887f9=CodeceptPlaywright[_0x43040d(0x17c)]['_before'];CodeceptPlaywright[_0x43040d(0x17c)]['_before']=async function(){const _0x2bbd8c=_0x43040d;this[_0x2bbd8c(0x16e)]=await this[_0x2bbd8c(0x15c)][_0x2bbd8c(0x107)]()[0x0],await _0xa887f9[_0x2bbd8c(0xb2)](this,arguments);};},getCodeceptDriver=()=>{const _0x2fde54=a1_0x2f6dfd,_0x260c3b={};_0x260c3b[_0x2fde54(0x10d)]=_0x2fde54(0xfc),_0x260c3b[_0x2fde54(0x146)]=_0x2fde54(0xe5),_0x260c3b[_0x2fde54(0x124)]=_0x2fde54(0xe3),_0x260c3b[_0x2fde54(0x163)]=_0x2fde54(0xbf);const _0x119293=_0x260c3b,_0x2fc544=[_0x119293[_0x2fde54(0x10d)],_0x119293['bBmts'],_0x119293[_0x2fde54(0x124)],_0x119293[_0x2fde54(0x163)]],_0x54e718=_0x2fc544['find'](_0x53b318=>!!CodeceptJS[_0x2fde54(0xe1)][_0x2fde54(0xb3)](_0x53b318));if(!_0x54e718)return null;return CodeceptJS[_0x2fde54(0xe1)]['helpers'](_0x54e718);};function a1_0x136c(_0x2aa0fd,_0x4ea36a){const _0xfdbda1=a1_0xfdbd();return a1_0x136c=function(_0x136cc7,_0x3bf65e){_0x136cc7=_0x136cc7-0xaf;let _0xd46457=_0xfdbda1[_0x136cc7];return _0xd46457;},a1_0x136c(_0x2aa0fd,_0x4ea36a);}module[a1_0x2f6dfd(0x131)]=function(_0x401722){const _0x5ba23f=a1_0x2f6dfd,_0x312e6d={'TYkVA':function(_0x379ea5){return _0x379ea5();},'ZZZsb':function(_0x163679,_0x3e6b58){return _0x163679(_0x3e6b58);},'EhusP':_0x5ba23f(0xb1),'dlVtJ':_0x5ba23f(0x122),'QEkti':_0x5ba23f(0xf2),'cOMXk':_0x5ba23f(0x11e),'SeqGC':'hook-started','gTUUi':'hook-passed','eMlDR':_0x5ba23f(0x11f),'AGGit':'browserstackTestName','hKqJw':function(_0x14d9a0){return _0x14d9a0();},'slDMB':_0x5ba23f(0x114),'tLfVS':function(_0x38bdf4){return _0x38bdf4();},'RJbSp':function(_0x59b243,_0x432a95,_0xfba0e8){return _0x59b243(_0x432a95,_0xfba0e8);},'LbgLj':function(_0x4d835c,_0x3dd2e1){return _0x4d835c(_0x3dd2e1);},'dESAY':'test-started','OMqzd':_0x5ba23f(0x13f),'LvSei':function(_0xa0c47d,_0x253033,_0x26f992,_0x3d05f9){return _0xa0c47d(_0x253033,_0x26f992,_0x3d05f9);},'WEkrI':function(_0x5344cc,_0x287d58,_0x2ff721,_0x466d11){return _0x5344cc(_0x287d58,_0x2ff721,_0x466d11);},'EmaFM':function(_0x13f86f,_0x25f642){return _0x13f86f===_0x25f642;},'eIuWM':_0x5ba23f(0x121),'OTjet':_0x5ba23f(0xd6),'gcHug':_0x5ba23f(0x158),'lQwHv':_0x5ba23f(0x144),'ZRoSv':function(_0x4fa1cc,_0x185a96,_0x18e2da){return _0x4fa1cc(_0x185a96,_0x18e2da);},'lXNZt':function(_0x21ac6e){return _0x21ac6e();},'pKRhP':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','uifmF':_0x5ba23f(0xf0),'FGwwN':_0x5ba23f(0xcd),'mnmjF':'TEST_LOG','maBws':'step-comment','KtxLF':_0x5ba23f(0x11d),'ULdGw':_0x5ba23f(0xde),'mXhDL':_0x5ba23f(0xe5)};_0x401722[_0x5ba23f(0xe9)]&&(global[_0x5ba23f(0x115)]=_0x401722[_0x5ba23f(0xe9)]);PerformanceTester[_0x5ba23f(0x17b)]();const _0x26232d=_0x312e6d[_0x5ba23f(0xfb)](getCodeceptDriver),_0x4d8cd9=new O11yHelper(_0x26232d,_0x401722),_0x441cc0=!!CodeceptJS[_0x5ba23f(0xe1)]['helpers'](_0x312e6d[_0x5ba23f(0x159)]);global[_0x5ba23f(0xdf)]=_0x26232d,_0x26232d&&(PerformanceTester[_0x5ba23f(0xbb)](PerformanceEvents[_0x5ba23f(0x15d)],()=>{const _0x33e4a2=_0x5ba23f;_0x441cc0?_0x312e6d[_0x33e4a2(0x130)](patchPlaywrightBefore):_0x312e6d[_0x33e4a2(0x119)](patchWebDriverBefore,_0x26232d);})(),PerformanceTester[_0x5ba23f(0xbb)](PerformanceEvents[_0x5ba23f(0x17d)],()=>{const _0x29b944=_0x5ba23f,_0x328d5e={};_0x328d5e['DkVus']=_0x312e6d[_0x29b944(0xe2)],_0x328d5e[_0x29b944(0xeb)]=_0x312e6d['dlVtJ'],_0x328d5e[_0x29b944(0x179)]=_0x312e6d[_0x29b944(0xb4)],_0x328d5e[_0x29b944(0xdc)]=_0x312e6d['cOMXk'];const _0x1bbd3c=_0x328d5e;_0x26232d[_0x29b944(0xb1)]=async()=>{const _0x102c0a=_0x29b944;if(global[_0x102c0a(0xbd)]){const _0x192398={};_0x192398[_0x102c0a(0x14d)]=_0x1bbd3c[_0x102c0a(0x10b)],await PerformanceTester[_0x102c0a(0xbb)](PerformanceA11yEvents[_0x102c0a(0x152)],async()=>{const _0x5bd839=_0x102c0a;await AccessibilityHelper[_0x5bd839(0x13a)](_0x26232d,scripts[_0x5bd839(0xfe)]);},_0x192398)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x102c0a(0xd5)],async()=>{const _0x5ac44b=_0x102c0a;await AccessibilityHelper[_0x5ac44b(0x13a)](_0x26232d,scripts['getResultsSummary']);})();}else return logger[_0x102c0a(0xf4)](_0x1bbd3c[_0x102c0a(0xeb)]),{};},_0x26232d[_0x29b944(0xf2)]=async()=>{const _0x2568c8=_0x29b944;if(global[_0x2568c8(0xbd)]){const _0x2278b7={};_0x2278b7[_0x2568c8(0x14d)]=_0x1bbd3c[_0x2568c8(0x179)],await PerformanceTester[_0x2568c8(0xbb)](PerformanceA11yEvents[_0x2568c8(0x152)],async()=>{const _0x48467f=_0x2568c8;await AccessibilityHelper[_0x48467f(0x13a)](_0x26232d,scripts[_0x48467f(0xfe)]);},_0x2278b7)(),await PerformanceTester[_0x2568c8(0xbb)](PerformanceA11yEvents['GET_RESULTS'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts['getResults']);})();}else return logger[_0x2568c8(0xf4)](_0x1bbd3c[_0x2568c8(0xdc)]),{};},_0x312e6d['ZZZsb'](patchSaveScreenshot,_0x26232d);})()),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS['event'][_0x5ba23f(0x104)]['before'],()=>{const _0x15ea05=_0x5ba23f;PerformanceTester[_0x15ea05(0x173)](PerformanceEvents[_0x15ea05(0xcf)]);try{_0x4d8cd9[_0x15ea05(0x173)](),testOpsHelper[_0x15ea05(0x110)](),PerformanceTester[_0x15ea05(0xba)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4ea669){PerformanceTester['captureError'](_0x4ea669),PerformanceTester[_0x15ea05(0xba)](PerformanceEvents[_0x15ea05(0xcf)],![],_0x4ea669);}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x104)][_0x5ba23f(0xe4)],async()=>{const _0xe0f320=_0x5ba23f;PerformanceTester[_0xe0f320(0x173)](PerformanceEvents[_0xe0f320(0x17f)]);try{requestSpy[_0xe0f320(0xb5)](),await _0x4d8cd9[_0xe0f320(0xea)](),PerformanceTester[_0xe0f320(0xba)](PerformanceEvents[_0xe0f320(0x17f)]);}catch(_0x54b662){PerformanceTester[_0xe0f320(0x162)](_0x54b662),PerformanceTester[_0xe0f320(0xba)](PerformanceEvents[_0xe0f320(0x17f)],![],_0x54b662);}finally{PerformanceTester[_0xe0f320(0x125)]();}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event'][_0x5ba23f(0x171)][_0x5ba23f(0x108)],_0x289df2=>{const _0x585bfc=_0x5ba23f;PerformanceTester[_0x585bfc(0x173)](PerformanceEvents[_0x585bfc(0xff)]);try{const _0xc594f=_0x289df2['ctx'][_0x585bfc(0x181)],_0x175055=_0x4d8cd9[_0x585bfc(0x168)](TEST_EVENTS[_0x585bfc(0x14e)],_0xc594f);CodeceptRecorder[_0x585bfc(0x113)](()=>_0x4d8cd9['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x175055));const _0x34dbf1={};_0x34dbf1[_0x585bfc(0x16d)]=_0x312e6d['SeqGC'],PerformanceTester[_0x585bfc(0xba)](PerformanceEvents[_0x585bfc(0xff)],!![],null,_0x34dbf1);}catch(_0x561158){const _0x5e78ca={};_0x5e78ca[_0x585bfc(0x16d)]=_0x312e6d[_0x585bfc(0x153)],PerformanceTester[_0x585bfc(0xba)](PerformanceEvents[_0x585bfc(0xff)],![],_0x561158,_0x5e78ca),PerformanceTester[_0x585bfc(0x162)](_0x561158);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x171)][_0x5ba23f(0xce)],_0x2ab145=>{const _0xf47941=_0x5ba23f,_0x615e3a={};_0x615e3a[_0xf47941(0x16d)]=_0x312e6d[_0xf47941(0x12a)],PerformanceTester['start'](PerformanceHookEvents[_0xf47941(0xff)],!![],null,_0x615e3a);try{const _0x142026=_0x2ab145[_0xf47941(0x160)][_0xf47941(0x181)],_0x517600=_0x4d8cd9[_0xf47941(0x168)](TEST_EVENTS[_0xf47941(0xf7)],_0x142026);CodeceptRecorder['add'](()=>_0x4d8cd9['fireEvent'](TEST_EVENTS[_0xf47941(0xf7)],_0x517600));const _0x28d9c8={};_0x28d9c8[_0xf47941(0x16d)]=_0x312e6d['gTUUi'],PerformanceTester[_0xf47941(0xba)](PerformanceHookEvents[_0xf47941(0xff)],!![],null,_0x28d9c8);}catch(_0xc89c1){PerformanceTester[_0xf47941(0x162)](_0xc89c1);const _0x2419da={};_0x2419da[_0xf47941(0x16d)]=_0x312e6d['gTUUi'],PerformanceTester[_0xf47941(0xba)](PerformanceHookEvents[_0xf47941(0xff)],![],_0xc89c1,_0x2419da);}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event']['hook'][_0x5ba23f(0xdd)],async(_0x3f84e8,_0x5064b5)=>{const _0x45e6da=_0x5ba23f;PerformanceTester[_0x45e6da(0x173)](PerformanceHookEvents[_0x45e6da(0xff)]);try{const _0x361ff3=_0x3f84e8[_0x45e6da(0x160)][_0x45e6da(0x181)],_0x4f1219=_0x4d8cd9[_0x45e6da(0x168)](TEST_EVENTS[_0x45e6da(0xf7)],_0x361ff3,_0x5064b5);CodeceptRecorder['add'](()=>_0x4d8cd9[_0x45e6da(0x111)](TEST_EVENTS[_0x45e6da(0xf7)],_0x4f1219));const _0x3f8efc={};_0x3f8efc[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester[_0x45e6da(0x173)](PerformanceHookEvents[_0x45e6da(0xff)],!![],null,_0x3f8efc);}catch(_0x3a90fc){PerformanceTester[_0x45e6da(0x162)](_0x3a90fc);const _0x121833={};_0x121833[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester[_0x45e6da(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x3a90fc,_0x121833);}const _0x3ef36b={};_0x3ef36b[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester['end'](PerformanceHookEvents[_0x45e6da(0xff)],!![],null,_0x3ef36b);}),CodeceptJS['event'][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)]['test'][_0x5ba23f(0x151)],_0x567f74=>{const _0x293f61=_0x5ba23f;PerformanceTester['start'](PerformanceHookEvents[_0x293f61(0xff)]);try{globals[_0x293f61(0xf5)](_0x312e6d['AGGit'],_0x567f74[_0x293f61(0xf1)]);_0x312e6d[_0x293f61(0xaf)](isBrowserstackInfra)&&(_0x441cc0&&(global[_0x293f61(0x105)]={'currentTest':{'name':_0x567f74['title'],'testInfo':{'titlePath':_0x567f74[_0x293f61(0x174)]()}}}));const _0x597e63={};_0x597e63['hookType']=_0x312e6d[_0x293f61(0xfd)],PerformanceTester['end'](PerformanceHookEvents[_0x293f61(0xff)],!![],null,_0x597e63);}catch(_0x24986a){PerformanceTester[_0x293f61(0x162)](_0x24986a);const _0x188af6={};_0x188af6[_0x293f61(0x16d)]=_0x312e6d[_0x293f61(0xfd)],PerformanceTester['end'](PerformanceHookEvents[_0x293f61(0xff)],![],_0x24986a,_0x188af6);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)]['started'],_0x12d0e9=>{const _0x4700fe=_0x5ba23f;PerformanceTester[_0x4700fe(0x173)](PerformanceHookEvents[_0x4700fe(0xff)]);try{globals['setGlobal'](_0x312e6d['AGGit'],_0x12d0e9[_0x4700fe(0xf1)]);const _0x1c8189=_0x4d8cd9[_0x4700fe(0x168)](TEST_EVENTS[_0x4700fe(0xd9)],_0x12d0e9);CodeceptRecorder[_0x4700fe(0x113)](()=>_0x4d8cd9[_0x4700fe(0x111)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1c8189)),CodeceptRecorder['add'](async()=>{const _0x2cef0d=_0x4700fe;_0x312e6d[_0x2cef0d(0xfb)](isBrowserstackInfra)&&(!_0x312e6d[_0x2cef0d(0x119)](isTrue,_0x401722[_0x2cef0d(0x12e)])&&await _0x312e6d['RJbSp'](markSessionName,_0x26232d,_0x12d0e9[_0x2cef0d(0xf1)]),_0x4d8cd9[_0x2cef0d(0x155)]&&await _0x312e6d[_0x2cef0d(0x116)](o11ySync,_0x26232d));});}catch(_0x17e39e){const _0x34de39={};_0x34de39['hookType']=_0x312e6d[_0x4700fe(0xd0)],PerformanceTester[_0x4700fe(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x17e39e,_0x34de39),PerformanceTester['captureError'](_0x17e39e);}const _0x5be137={};_0x5be137[_0x4700fe(0x16d)]=_0x312e6d[_0x4700fe(0xd0)],PerformanceTester[_0x4700fe(0xba)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5be137);}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)][_0x5ba23f(0xce)],_0x57ade1=>{const _0x575040=_0x5ba23f;PerformanceTester[_0x575040(0x173)](PerformanceHookEvents['SDK_HOOK']);try{const _0x43fa9f=_0x4d8cd9['captureEvent'](TEST_EVENTS[_0x575040(0x140)],_0x57ade1);CodeceptRecorder[_0x575040(0x113)](()=>_0x4d8cd9[_0x575040(0x111)](TEST_EVENTS[_0x575040(0x140)],_0x43fa9f)),CodeceptRecorder['add'](async()=>{const _0x182fe2=_0x575040,_0x3e3e49={'ShcXi':function(_0x57293f,_0x418f7d,_0x3e07f0){const _0x3f64c6=a1_0x136c;return _0x312e6d[_0x3f64c6(0xb7)](_0x57293f,_0x418f7d,_0x3e07f0);}};_0x312e6d[_0x182fe2(0xfb)](isBrowserstackInfra)&&await PerformanceTester[_0x182fe2(0xbb)](PerformanceAutEvents[_0x182fe2(0x123)],async()=>{const _0x2a3f24=_0x182fe2;_0x441cc0?await _0x3e3e49['ShcXi'](playwrightMarkSessionStatus,_0x26232d,STATE_PASSED):await _0x3e3e49[_0x2a3f24(0xc5)](markSessionStatus,_0x26232d,STATE_PASSED);})();}),PerformanceTester[_0x575040(0xba)](PerformanceEvents[_0x575040(0x139)]);}catch(_0x5d10ff){PerformanceTester['captureError'](_0x5d10ff);const _0x156f7d={};_0x156f7d[_0x575040(0x16d)]=_0x312e6d[_0x575040(0x13b)],PerformanceTester[_0x575040(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x5d10ff,_0x156f7d),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x5d10ff);}const _0x4cae81={};_0x4cae81[_0x575040(0x16d)]=_0x312e6d[_0x575040(0x13b)],PerformanceTester['end'](PerformanceHookEvents[_0x575040(0xff)],!![],null,_0x4cae81);}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)][_0x5ba23f(0xdd)],(_0x59f3f8,_0x2d4a80)=>{const _0x1516b6=_0x5ba23f;PerformanceTester[_0x1516b6(0x173)](PerformanceHookEvents[_0x1516b6(0xff)]);try{if(_0x312e6d[_0x1516b6(0x145)](_0x59f3f8[_0x1516b6(0xb6)][_0x1516b6(0x136)],_0x312e6d['eIuWM'])){const _0x17c907=_0x4d8cd9[_0x1516b6(0x168)](TEST_EVENTS[_0x1516b6(0xd2)],_0x59f3f8[_0x1516b6(0x160)][_0x1516b6(0x112)]);CodeceptRecorder[_0x1516b6(0x113)](()=>_0x4d8cd9[_0x1516b6(0x111)](TEST_EVENTS[_0x1516b6(0xd2)],_0x17c907));}else{const _0x38122c=_0x4d8cd9[_0x1516b6(0x168)](TEST_EVENTS[_0x1516b6(0x140)],_0x59f3f8,_0x2d4a80);CodeceptRecorder[_0x1516b6(0x113)](()=>{const _0xa6a506=_0x1516b6;try{_0x4d8cd9[_0xa6a506(0x111)](TEST_EVENTS[_0xa6a506(0x140)],_0x38122c);}catch(_0x293eb5){logger[_0xa6a506(0x13e)](_0xa6a506(0xc2)+util[_0xa6a506(0x143)](_0x293eb5)),PerformanceTester[_0xa6a506(0xba)](PerformanceEvents['SDK_TEST'],![],_0x293eb5);}}),CodeceptRecorder[_0x1516b6(0x113)](async()=>{const _0x1d2274=_0x1516b6;try{_0x312e6d[_0x1d2274(0xfb)](isBrowserstackInfra)&&(_0x441cc0?await _0x312e6d[_0x1d2274(0xf3)](playwrightMarkSessionStatus,_0x26232d,STATE_FAILED,_0x2d4a80):await _0x312e6d['WEkrI'](markSessionStatus,_0x26232d,STATE_FAILED,_0x2d4a80));}catch(_0x4b4f5a){logger['debug'](_0x1d2274(0xf8)+util[_0x1d2274(0x143)](_0x4b4f5a)),PerformanceTester[_0x1d2274(0xba)](PerformanceEvents[_0x1d2274(0x139)],![],_0x4b4f5a);}});}PerformanceTester[_0x1516b6(0xba)](PerformanceEvents[_0x1516b6(0x139)]);}catch(_0x4c9a17){PerformanceTester[_0x1516b6(0x162)](_0x4c9a17);const _0x42dd25={};_0x42dd25[_0x1516b6(0x16d)]=_0x312e6d[_0x1516b6(0x166)],PerformanceTester[_0x1516b6(0xba)](PerformanceHookEvents[_0x1516b6(0xff)],![],_0x4c9a17,_0x42dd25),PerformanceTester[_0x1516b6(0xba)](PerformanceEvents[_0x1516b6(0x139)],![],_0x4c9a17);}const _0x1f81f2={};_0x1f81f2[_0x1516b6(0x16d)]=_0x312e6d[_0x1516b6(0x166)],PerformanceTester[_0x1516b6(0xba)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1f81f2);}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)]['skipped'],_0x4d41b7=>{const _0x4a0c20=_0x5ba23f;PerformanceTester[_0x4a0c20(0x173)](PerformanceHookEvents[_0x4a0c20(0xff)]);try{const _0x422ea1=_0x4d8cd9[_0x4a0c20(0x168)](TEST_EVENTS[_0x4a0c20(0xd2)],_0x4d41b7);CodeceptRecorder['add'](()=>_0x4d8cd9[_0x4a0c20(0x111)](TEST_EVENTS[_0x4a0c20(0xd2)],_0x422ea1)),PerformanceTester['end'](PerformanceEvents[_0x4a0c20(0x139)]);}catch(_0x5d2fb5){PerformanceTester[_0x4a0c20(0x162)](_0x5d2fb5),PerformanceTester['end'](PerformanceEvents[_0x4a0c20(0x139)],![],_0x5d2fb5);const _0x90249={};_0x90249[_0x4a0c20(0x16d)]=_0x312e6d[_0x4a0c20(0xc9)],PerformanceTester[_0x4a0c20(0xba)](PerformanceHookEvents[_0x4a0c20(0xff)],![],_0x5d2fb5,_0x90249);}const _0x4bcba5={};_0x4bcba5[_0x4a0c20(0x16d)]=_0x312e6d[_0x4a0c20(0xc9)],PerformanceTester[_0x4a0c20(0xba)](PerformanceHookEvents[_0x4a0c20(0xff)],!![],null,_0x4bcba5);}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event'][_0x5ba23f(0x181)][_0x5ba23f(0xe4)],async(_0x2fa30a,_0x564e2a)=>{const _0x29e058=_0x5ba23f,_0x413989={};_0x413989['UAVnW']=_0x312e6d['lQwHv'];const _0x633ed1=_0x413989;try{PerformanceTester[_0x29e058(0x173)](PerformanceHookEvents[_0x29e058(0xff)]);if(_0x312e6d[_0x29e058(0xfb)](isBrowserstackInfra)){const _0x4aa7d6=_0x312e6d[_0x29e058(0x165)](shouldScanTestForAccessibility,_0x2fa30a['titlePath'](),!![]);if(_0x312e6d[_0x29e058(0x11a)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4aa7d6){const _0x1dbe9d={};_0x1dbe9d['thTestRunUuid']=_0x2fa30a[_0x29e058(0x11c)],_0x1dbe9d[_0x29e058(0x134)]=process[_0x29e058(0x15f)][testHubConstants[_0x29e058(0xe8)][_0x29e058(0x175)]],_0x1dbe9d[_0x29e058(0x128)]=process[_0x29e058(0x15f)][testHubConstants[_0x29e058(0xe8)][_0x29e058(0x16b)]];const _0x9ff8af=_0x1dbe9d;logger[_0x29e058(0x13e)](_0x29e058(0x172)+JSON[_0x29e058(0x109)](_0x9ff8af)),CodeceptRecorder[_0x29e058(0x113)](async()=>{const _0x36439a=_0x29e058,_0x664f34={};_0x664f34[_0x36439a(0x14d)]=_0x633ed1[_0x36439a(0x15e)],await PerformanceTester[_0x36439a(0xbb)](PerformanceA11yEvents[_0x36439a(0x152)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts['performScan']);},_0x664f34)(),await PerformanceTester[_0x36439a(0xbb)](PerformanceA11yEvents[_0x36439a(0xfa)],async()=>{const _0x1ba390=_0x36439a;await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts[_0x1ba390(0x132)],_0x9ff8af);})();}),logger[_0x29e058(0x12c)](_0x312e6d[_0x29e058(0x106)]);}}const _0x3eb01={};_0x3eb01[_0x29e058(0x16d)]=_0x312e6d[_0x29e058(0x10c)],PerformanceTester[_0x29e058(0xba)](PerformanceHookEvents[_0x29e058(0xff)],!![],null,_0x3eb01);}catch(_0x50d75c){PerformanceTester[_0x29e058(0x162)](_0x50d75c);const _0x2a4d56={};_0x2a4d56[_0x29e058(0x16d)]=_0x312e6d['uifmF'],PerformanceTester[_0x29e058(0xba)](PerformanceHookEvents[_0x29e058(0xff)],![],_0x50d75c,_0x2a4d56);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x13d)][_0x5ba23f(0xdb)],_0x56537d=>{const _0x3fbf5e=_0x5ba23f;PerformanceTester[_0x3fbf5e(0x173)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0x3fbf5e(0xe6)+process[_0x3fbf5e(0xc8)],{'timestamp':new Date()[_0x3fbf5e(0xb0)](),'level':_0x312e6d[_0x3fbf5e(0xca)],'message':_0x56537d,'kind':_0x312e6d[_0x3fbf5e(0x120)],'http_response':{}});}catch(_0x23b15b){PerformanceTester[_0x3fbf5e(0x162)](_0x23b15b);const _0x18b98f={};_0x18b98f[_0x3fbf5e(0x16d)]=_0x312e6d[_0x3fbf5e(0x12d)],PerformanceTester[_0x3fbf5e(0xba)](PerformanceHookEvents[_0x3fbf5e(0xff)],![],_0x23b15b,_0x18b98f);}const _0x1a51e0={};_0x1a51e0[_0x3fbf5e(0x16d)]=_0x312e6d['maBws'],PerformanceTester[_0x3fbf5e(0xba)](PerformanceHookEvents[_0x3fbf5e(0xff)],!![],null,_0x1a51e0);}),CodeceptJS['event'][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x14c)][_0x5ba23f(0x151)],_0x13fb12=>{const _0x4d8ff5=_0x5ba23f,_0x5a6e3f={};_0x5a6e3f[_0x4d8ff5(0x16d)]=_0x312e6d['KtxLF'],PerformanceTester[_0x4d8ff5(0xbb)](PerformanceHookEvents[_0x4d8ff5(0xff)],()=>{_0x4d8cd9['bddStepStart'](_0x13fb12);},_0x5a6e3f)();}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x14c)]['after'],_0xebd88=>{const _0x37318a=_0x5ba23f,_0x450896={};_0x450896['hookType']=_0x312e6d[_0x37318a(0x102)],PerformanceTester[_0x37318a(0xbb)](PerformanceHookEvents[_0x37318a(0xff)],()=>{const _0x9e3d9a=_0x37318a;_0x4d8cd9[_0x9e3d9a(0x170)](_0xebd88);},_0x450896)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x40c662=a2_0x36a7;(function(_0x3aaf6b,_0x356420){const _0x5e820b=a2_0x36a7,_0x130af4=_0x3aaf6b();while(!![]){try{const _0x403960=parseInt(_0x5e820b(0x161))/0x1*(parseInt(_0x5e820b(0xfb))/0x2)+parseInt(_0x5e820b(0x169))/0x3+parseInt(_0x5e820b(0x159))/0x4+parseInt(_0x5e820b(0x109))/0x5+-parseInt(_0x5e820b(0x127))/0x6+-parseInt(_0x5e820b(0x16e))/0x7*(-parseInt(_0x5e820b(0x131))/0x8)+-parseInt(_0x5e820b(0x13e))/0x9;if(_0x403960===_0x356420)break;else _0x130af4['push'](_0x130af4['shift']());}catch(_0x3628d4){_0x130af4['push'](_0x130af4['shift']());}}}(a2_0x4bf1,0xe00db));const fs=require('fs'),path=require(a2_0x40c662(0x17a)),util=require('util'),process=require(a2_0x40c662(0x173)),logger=require(a2_0x40c662(0x17b))[a2_0x40c662(0x125)],{default:BrowserStackSetup}=require(a2_0x40c662(0x12d)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x40c662(0x18b)),{setAccessibilityCapabilities}=require(a2_0x40c662(0x15e)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x40c662(0x174),a2_0x40c662(0x104)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x40c662(0x106)),constants=require(a2_0x40c662(0x17e)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a2_0x40c662(0x12c))[a2_0x40c662(0x147)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x5868a2,_0x2971cd)=>{const _0x5a9a63=a2_0x40c662,_0xe2d415={};_0xe2d415[_0x5a9a63(0x10b)]=function(_0x48f1d9,_0x541553){return _0x48f1d9===_0x541553;},_0xe2d415[_0x5a9a63(0x143)]=_0x5a9a63(0x16d),_0xe2d415[_0x5a9a63(0x13a)]='codecept.json';const _0x39799c=_0xe2d415;let _0x309363=null;const _0x216418={};let _0x1bd6b6=_0x2971cd[_0x5a9a63(0x191)](_0x3de12c=>_0x3de12c===_0x5a9a63(0x14e));_0x39799c[_0x5a9a63(0x10b)](_0x1bd6b6,-0x1)&&(_0x1bd6b6=_0x2971cd['findIndex'](_0x475ab0=>_0x475ab0==='-c'));if(!helper[_0x5a9a63(0x142)](_0x5868a2[_0x5a9a63(0x100)])&&fs[_0x5a9a63(0x16a)](path['join'](process[_0x5a9a63(0x10d)](),_0x5868a2[_0x5a9a63(0x100)])))_0x309363=path['join'](process[_0x5a9a63(0x10d)](),_0x5868a2['config']),_0x2971cd[_0x5a9a63(0xff)](_0x1bd6b6,0x2);else{if(!helper[_0x5a9a63(0x142)](_0x5868a2['c'])&&fs[_0x5a9a63(0x16a)](path['join'](process['cwd'](),_0x5868a2['c'])))_0x309363=path[_0x5a9a63(0x132)](process[_0x5a9a63(0x10d)](),_0x5868a2['c']),_0x2971cd[_0x5a9a63(0xff)](_0x1bd6b6,0x2);else{if(fs['existsSync'](path[_0x5a9a63(0x132)](process[_0x5a9a63(0x10d)](),_0x39799c[_0x5a9a63(0x143)])))_0x309363=path[_0x5a9a63(0x132)](process[_0x5a9a63(0x10d)](),_0x39799c[_0x5a9a63(0x143)]);else fs['existsSync'](path[_0x5a9a63(0x132)](process[_0x5a9a63(0x10d)](),_0x39799c[_0x5a9a63(0x13a)]))&&(_0x309363=path['join'](process[_0x5a9a63(0x10d)](),_0x39799c[_0x5a9a63(0x13a)]));}}return process['env']['USER_CONFIG_DETAILS_PATH']=_0x309363,_0x309363;},getO11yRerunPattern=()=>{const _0x2d9ffc=a2_0x40c662,_0x35af0d=helper['isTrue'](process[_0x2d9ffc(0x10c)][_0x2d9ffc(0x15d)]);if(_0x35af0d){const _0x2c0972=process['env'][_0x2d9ffc(0x154)],_0x51a328=[];if(helper[_0x2d9ffc(0x189)](_0x2c0972)&&!helper[_0x2d9ffc(0x142)](_0x2c0972)){_0x2c0972[_0x2d9ffc(0x148)](',')[_0x2d9ffc(0x115)](_0x243f3e=>{const _0x1f36a2=_0x2d9ffc;_0x51a328[_0x1f36a2(0x110)]('('+_0x243f3e['trim']()+')');});const _0x29b917='^'+_0x51a328[_0x2d9ffc(0x132)]('|')+'$';return _0x29b917;}}return null;},a2_0x212a5a={};a2_0x212a5a[a2_0x40c662(0x11e)]='chromium',a2_0x212a5a[a2_0x40c662(0x126)]=a2_0x40c662(0x114),a2_0x212a5a[a2_0x40c662(0x14a)]=a2_0x40c662(0x12a),a2_0x212a5a[a2_0x40c662(0x185)]=a2_0x40c662(0x14f);const pwToCodeceptBrowser=a2_0x212a5a;function a2_0x36a7(_0x398eee,_0x3d9157){const _0x4bf11a=a2_0x4bf1();return a2_0x36a7=function(_0x36a79c,_0x3bce37){_0x36a79c=_0x36a79c-0xf9;let _0x279e93=_0x4bf11a[_0x36a79c];return _0x279e93;},a2_0x36a7(_0x398eee,_0x3d9157);}async function run(_0x5dcb51,_0x5ea9f6){const _0x567315=a2_0x40c662,_0x345547={'zFfKo':function(_0x29d6ec,_0x80157d){return _0x29d6ec+_0x80157d;},'bRgop':function(_0x4658df,_0xdf7742){return _0x4658df(_0xdf7742);},'IDQdX':function(_0x16dd3e,_0x1480b3,_0x2bfd52){return _0x16dd3e(_0x1480b3,_0x2bfd52);},'ICPOI':_0x567315(0x170),'ljgQJ':function(_0x5ea689){return _0x5ea689();},'zvZwQ':_0x567315(0x108),'nJsOo':_0x567315(0x15f),'GpPCZ':'Started\x20:\x20','vXmzL':'3|4|0|1|5|2','QdkJO':_0x567315(0x104),'RFfAC':_0x567315(0x192),'YpCQG':_0x567315(0x166),'SuLQi':_0x567315(0x137),'dmtix':function(_0x1e7503,_0x3a4eb9){return _0x1e7503(_0x3a4eb9);},'AitjZ':function(_0xfbaa7f,_0xfbffc9){return _0xfbaa7f!=_0xfbffc9;},'wMUBX':function(_0x3bfdc3,_0x43d8fe){return _0x3bfdc3===_0x43d8fe;},'Mhmof':_0x567315(0x182),'TfERI':function(_0x57d129,_0x36f5d5){return _0x57d129+_0x36f5d5;},'gvNhJ':'-cucumber','tVCwm':function(_0x3d0f96,_0x5ef10a){return _0x3d0f96(_0x5ef10a);},'DEhIx':function(_0x1085a8){return _0x1085a8();},'RJaft':function(_0x5e6bb4,_0x13d355){return _0x5e6bb4*_0x13d355;},'PdGxY':_0x567315(0x190),'TmWht':function(_0x483f42,_0x2635cc,_0x31af8f){return _0x483f42(_0x2635cc,_0x31af8f);},'iVpeC':_0x567315(0x121),'SkVjV':_0x567315(0x177),'wITlX':_0x567315(0x138),'bJlwT':'browserStackCwd','YAXRy':function(_0x366b1a){return _0x366b1a();}},_0x4d637a=new BrowserStackSetup(_0x5dcb51,_0x345547['QdkJO']);await _0x4d637a[_0x567315(0x14d)](),await helper[_0x567315(0x15b)](_0x4d637a[_0x567315(0x100)]);if(!_0x4d637a[_0x567315(0x100)])return;process['profile']=_0x5dcb51[_0x567315(0x156)];_0x5dcb51[_0x567315(0x156)]&&(process[_0x567315(0x10c)][_0x567315(0x156)]=_0x5dcb51[_0x567315(0x156)]);const _0x1beabe=_0x345547['IDQdX'](getUserCodeceptJSConfigs,_0x5dcb51,_0x5ea9f6);let _0x4767a0={};_0x1beabe?(logger['info'](_0x567315(0x12b)+_0x1beabe),_0x4767a0=CodeceptJS[_0x567315(0x100)][_0x567315(0x120)](_0x1beabe)):logger[_0x567315(0x188)](_0x345547[_0x567315(0xfd)]);let _0x120d5a=![];_0x345547[_0x567315(0x122)](nestedKeyValue,_0x4767a0,[_0x345547[_0x567315(0x162)],_0x345547[_0x567315(0x136)]])&&(_0x120d5a=!![]);const _0x410365=_0x120d5a?_0x345547[_0x567315(0x136)]:_0x345547[_0x567315(0x17d)];let _0x22b13c=!_0x120d5a?helper[_0x567315(0x18a)](_0x4d637a['config']):![];!helper[_0x567315(0x142)](_0x4d637a['config'][_0x567315(0x118)])&&(process[_0x567315(0x10c)][_0x567315(0x18e)]=JSON[_0x567315(0x11c)](_0x4d637a[_0x567315(0x100)][_0x567315(0x118)]));let _0x1504a1=_0x4d637a['config'][_0x567315(0x113)];_0x1504a1=_0x1504a1||_0x345547[_0x567315(0x15c)](checkAccessibilityPlatformConfig,_0x4d637a[_0x567315(0x100)]),process[_0x567315(0x10c)][_0x567315(0x119)]=_0x1504a1;_0x1504a1&&(_0x22b13c=!_0x1504a1);_0x345547[_0x567315(0x117)](_0x4d637a[_0x567315(0x100)]['testObservability'],null)?process[_0x567315(0x10c)][_0x567315(0x18f)]=_0x4d637a[_0x567315(0x100)][_0x567315(0x111)]:process[_0x567315(0x10c)][_0x567315(0x18f)]=_0x345547[_0x567315(0x184)](_0x410365,_0x345547[_0x567315(0x136)]);const _0x26c274=_0x345547[_0x567315(0x122)](nestedKeyValue,_0x4767a0,[_0x345547[_0x567315(0x140)]]),_0x184e5d=_0x345547['TfERI'](_0x345547[_0x567315(0xfe)],_0x26c274&&!helper[_0x567315(0x186)](_0x26c274)?_0x345547[_0x567315(0x10a)]:''),_0x30f0f8=await TestHubHandler[_0x567315(0x163)](_0x184e5d,_0x4d637a);_0x1504a1&&_0x345547[_0x567315(0x13b)](setAccessibilityCapabilities,_0x4d637a[_0x567315(0x100)]);const _0x2e4ccb={},_0x26bffd=[],_0x58349f=_0x4d637a[_0x567315(0x100)][_0x567315(0x16f)]||helper[_0x567315(0x16b)](_0x5dcb51,_0x5ea9f6,_0x4d637a[_0x567315(0x100)],constants[_0x567315(0x18d)][_0x567315(0x130)])||0x1;let _0x4f3e0a=0x1;if(_0x345547['DEhIx'](isBrowserstackInfra)){const _0x1bf3ba=helper[_0x567315(0x18c)](_0x4d637a[_0x567315(0x100)],_0x22b13c,constants[_0x567315(0x18d)][_0x567315(0x130)]);_0x1bf3ba[_0x567315(0x144)](_0x4a3aca=>{const _0x229ed6=_0x567315;helper[_0x229ed6(0x128)](_0x4a3aca);}),helper[_0x567315(0x176)](_0x4d637a[_0x567315(0x100)])?_0x4f3e0a=_0x345547[_0x567315(0x141)](_0x58349f,_0x4d637a[_0x567315(0x100)]['platforms'][_0x567315(0x112)]):_0x4f3e0a=_0x58349f,_0x1bf3ba[_0x567315(0x144)](_0x5ea287=>{const _0x37c6be=_0x567315,_0x5021e7={'yJUlj':function(_0x5b9262,_0xf35e13){const _0x229ab2=a2_0x36a7;return _0x345547[_0x229ab2(0x12e)](_0x5b9262,_0xf35e13);},'tuHvO':function(_0x2c53be,_0x1167c8){const _0x1af2b5=a2_0x36a7;return _0x345547[_0x1af2b5(0x183)](_0x2c53be,_0x1167c8);}},_0x79422a=_0x345547[_0x37c6be(0x12e)](helper[_0x37c6be(0x13c)](_0x5ea287,'_'),'_'+Date['now']()),_0x4cec26=((()=>{const _0x13dc4b=_0x37c6be;if(_0x120d5a){const _0x2f8629=pwToCodeceptBrowser[_0x5ea287['browserName']]||_0x5ea287[_0x13dc4b(0x171)];return{'browser':_0x2f8629,[_0x2f8629]:{'browserWSEndpoint':_0x5021e7['yJUlj'](helper[_0x13dc4b(0x11d)](_0x4d637a[_0x13dc4b(0x100)]),_0x5021e7[_0x13dc4b(0x15a)](encodeURIComponent,JSON[_0x13dc4b(0x11c)](_0x5ea287)))}};}const _0x11c22e={};return _0x11c22e[_0x13dc4b(0x121)]=_0x5ea287,_0x11c22e;})()),_0x3ae579=_0x345547[_0x37c6be(0x122)](nestedKeyValue,_0x4767a0,[_0x345547[_0x37c6be(0x162)],_0x410365]);_0x2e4ccb[_0x79422a]=_0x3ae579?helper[_0x37c6be(0x16c)](_0x4cec26,_0x3ae579):_0x4cec26,!_0x120d5a&&(_0x2e4ccb[_0x79422a][_0x37c6be(0x190)]=_0x5ea287['browserName']||_0x4cec26[_0x37c6be(0x190)]),_0x26bffd['push'](_0x79422a);});}else{_0x4f3e0a=0x1;if(_0x120d5a){const _0x300277=_0x345547['IDQdX'](nestedKeyValue,_0x4767a0,[_0x345547[_0x567315(0x162)],_0x410365,_0x345547[_0x567315(0x103)]]),_0x19e529=_0x345547[_0x567315(0x129)](nestedKeyValue,_0x4767a0,[_0x345547[_0x567315(0x162)],_0x410365,_0x300277]);_0x19e529&&_0x19e529[_0x567315(0x157)]&&(_0x19e529[_0x567315(0x157)]=helper[_0x567315(0x18c)](null,null,_0x184e5d[_0x567315(0x133)](),null,null,_0x19e529[_0x567315(0x157)]));}else _0x4767a0[_0x345547[_0x567315(0x162)]][_0x410365][_0x345547[_0x567315(0x194)]]=helper[_0x567315(0x18c)](null,null,_0x184e5d[_0x567315(0x133)](),_0x345547['IDQdX'](nestedKeyValue,_0x4767a0,[_0x345547[_0x567315(0x162)],_0x410365,_0x345547[_0x567315(0x194)]]),null,null);_0x2e4ccb[_0x345547[_0x567315(0x116)]]=_0x4767a0,_0x26bffd[_0x567315(0x110)](_0x345547[_0x567315(0x116)]);}const _0x222b70={};_0x222b70['testConfig']=_0x1beabe;const _0x18f091=_0x222b70,_0x5dfc41=path[_0x567315(0x132)](__dirname,_0x345547[_0x567315(0x165)]),_0x1bfc7f=process[_0x567315(0x10d)]();process[_0x567315(0x10c)][_0x345547['bJlwT']]=_0x1bfc7f,process[_0x567315(0x124)](path[_0x567315(0x135)](_0x1beabe));const _0x408d78=new CodeceptJS[(_0x567315(0x164))](null,_0x18f091),_0x4b64f3=_0x408d78['createGroupsOfSuites'](_0x4f3e0a),_0x34583c=testOpsHelper[_0x567315(0x193)](),_0x4c8003=_0x26bffd['map'](_0x375848=>{const _0xfb0a00=_0x567315,_0x571edf={};_0x571edf[_0xfb0a00(0x166)]=_0x2e4ccb[_0x375848];const _0x139fce={};_0x139fce[_0xfb0a00(0x137)]=_0x2e4ccb[_0x375848];const _0x5e45cd=_0x120d5a?_0x571edf:_0x139fce,_0x3c4a1d=_0x345547[_0xfb0a00(0x139)](getO11yRerunPattern),_0x4cb8fc={};_0x4cb8fc[_0xfb0a00(0x170)]=_0x5e45cd;const _0x585164={};_0x585164[_0xfb0a00(0x10e)]=_0x5dfc41,_0x585164[_0xfb0a00(0x17c)]=!![],_0x585164[_0xfb0a00(0x101)]=_0x4d637a[_0xfb0a00(0x100)]['testContextOptions']['skipSessionName'],_0x585164[_0xfb0a00(0x105)]=_0x4d637a[_0xfb0a00(0x100)][_0xfb0a00(0x146)][_0xfb0a00(0x105)],_0x585164['testObservability']=_0x34583c,_0x585164[_0xfb0a00(0x13f)]=_0x184e5d;const _0xf4f628={};_0xf4f628[_0xfb0a00(0x17f)]=_0x585164;const _0x4ac7ae={};return _0x4ac7ae[_0xfb0a00(0x180)]=_0xf4f628,helper[_0xfb0a00(0x16c)]({},_0x4767a0,_0x345547[_0xfb0a00(0x139)](isBrowserstackInfra)?_0x4cb8fc:{},_0x3c4a1d?{'grep':_0x3c4a1d}:{},_0x4ac7ae);});for(const _0x5e99a5 of _0x4c8003){for(const _0x5cf462 of _0x4b64f3){const _0x1b0169=_0x408d78[_0x567315(0x14c)]();_0x1b0169[_0x567315(0x149)](_0x5cf462),_0x1b0169[_0x567315(0x155)](_0x5e99a5);const _0x49e918={};_0x49e918[_0x567315(0x100)]=_0x1beabe,_0x1b0169[_0x567315(0x160)](_0x49e918);}}_0x408d78['on'](CodeceptJS[_0x567315(0x10f)][_0x567315(0x107)]['failed'],(_0x5838c8,_0x161e81)=>{const _0x4012c1=_0x567315;console['log'](_0x345547[_0x4012c1(0x134)],_0x5838c8[_0x4012c1(0x152)]);const _0x5a5f1d={[_0x5838c8[_0x4012c1(0x152)]]:_0x5838c8[_0x4012c1(0x14b)][_0x4012c1(0x12f)]};_testErrorData[_0x4012c1(0x110)](_0x5a5f1d);}),_0x408d78['on'](CodeceptJS[_0x567315(0x10f)][_0x567315(0x107)][_0x567315(0x13d)],async _0x5ae4ae=>{const _0x3ad59f=_0x567315;console[_0x3ad59f(0x151)](_0x345547['nJsOo'],_0x5ae4ae[_0x3ad59f(0x152)]);}),_0x408d78['on'](CodeceptJS[_0x567315(0x10f)]['test'][_0x567315(0x167)],async _0xa07732=>{const _0x50609d=_0x567315;console['log'](_0x345547[_0x50609d(0x11f)],_0xa07732[_0x50609d(0x152)]);}),_0x408d78['on'](CodeceptJS[_0x567315(0x10f)][_0x567315(0x175)]['result'],async()=>{const _0x449b92=_0x567315,_0x5c1130=_0x345547[_0x449b92(0x102)][_0x449b92(0x148)]('|');let _0x475411=0x0;while(!![]){switch(_0x5c1130[_0x475411++]){case'0':testOpsHelper[_0x449b92(0x150)]();continue;case'1':utilities[_0x449b92(0xfa)](_0x4d637a);continue;case'2':_0x408d78[_0x449b92(0x153)]();continue;case'3':PerformanceTester[_0x449b92(0x123)](PerformanceEvents[_0x449b92(0x187)]);continue;case'4':_0x4d637a[_0x449b92(0x178)]=_testErrorData;continue;case'5':try{await TestHubHandler[_0x449b92(0xfc)]();}catch(_0x2f3259){logger[_0x449b92(0x11b)](_0x449b92(0x158)+util[_0x449b92(0xf9)](_0x2f3259));}continue;}break;}});async function _0x3443d5(){const _0x1c0a26=_0x567315;try{await _0x408d78[_0x1c0a26(0x11a)](),await _0x408d78[_0x1c0a26(0x145)]();}finally{process[_0x1c0a26(0x124)](_0x1bfc7f),await _0x408d78['teardownAll']();}}PerformanceTester[_0x567315(0x179)](PerformanceEvents[_0x567315(0x181)]),_0x345547[_0x567315(0x172)](_0x3443d5);}module[a2_0x40c662(0x168)]=run;function a2_0x4bf1(){const _0x1a62d0=['BROWSERSTACK_TEST_ACCESSIBILITY_YML','bootstrapAll','debug','stringify','getPlaywrightUrl','chrome','GpPCZ','load','desiredCapabilities','IDQdX','start','chdir','winstonLogger','playwright-chromium','1654278HgSIZL','setAdditionalCapabilities','TmWht','firefox','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','../../helpers/performance/constants','../../helpers/BrowserStackSetup','zFfKo','stack','CODECEPT','1480fBsuyG','join','toLowerCase','zvZwQ','dirname','YpCQG','WebDriver','BrowserStackPlugin.js','ljgQJ','AWpUc','tVCwm','getPlatformName','passed','20293677qSKhMy','frameworkName','Mhmof','RJaft','isUndefined','iJkzP','forEach','run','testContextOptions','EVENTS','split','addTests','playwright-firefox','err','spawn','initialize','--config','webkit','printBuildLink','log','title','printResults','BROWSERSTACK_RERUN_TESTS','addConfig','profile','browserWSEndpoint','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','1260364oJLPqn','tuHvO','handleApp','dmtix','BROWSERSTACK_RERUN','../../bin/playwright/accessibility-helper','Passed\x20:\x20','addOptions','6oUgyIv','ICPOI','launchBuild','Workers','wITlX','Playwright','before','exports','1173837qPZoLB','existsSync','getUserWorkerCount','mergeDeep','codecept.conf.js','41069NilSjI','parallelsPerPlatform','helpers','browserName','YAXRy','process','codeceptjs/lib/index.js','all','validPlatformsPresent','root','errorMessage','end','path','../../helpers/logger','enabled','SuLQi','../utils/constants','BrowserStackPlugin','plugins','SDK_SETUP','gherkin','bRgop','wMUBX','playwright-webkit','isEmpty','SDK_CLEANUP','info','validateRerunTestList','useW3C','../../helpers/accessibility-automation/helper','prepareCapabilities','FRAMEWORKS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TEST_OBSERVABILITY_YML','browser','findIndex','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isTestObservabilitySession','iVpeC','format','finalExecution','159512ciFhml','stop','RFfAC','QdkJO','slice','config','skipSessionName','vXmzL','PdGxY','codeceptjs','skipSessionStatus','../../helpers/testhub/testhubHandler','test','Failed\x20:\x20','5889940mKbdbY','gvNhJ','RAqCK','env','cwd','require','event','push','testObservability','length','accessibility','chromium','map','SkVjV','AitjZ','accessibilityOptions'];a2_0x4bf1=function(){return _0x1a62d0;};return a2_0x4bf1();}
|
|
2
|
+
'use strict';const a2_0xb43cde=a2_0x47e4;(function(_0x4c4328,_0x30fb06){const _0x58cb94=a2_0x47e4,_0x3517fb=_0x4c4328();while(!![]){try{const _0x2872a7=-parseInt(_0x58cb94(0x1cd))/0x1*(-parseInt(_0x58cb94(0x1bd))/0x2)+-parseInt(_0x58cb94(0x1d8))/0x3*(parseInt(_0x58cb94(0x157))/0x4)+parseInt(_0x58cb94(0x1d6))/0x5*(-parseInt(_0x58cb94(0x15c))/0x6)+-parseInt(_0x58cb94(0x15b))/0x7+-parseInt(_0x58cb94(0x164))/0x8*(-parseInt(_0x58cb94(0x187))/0x9)+parseInt(_0x58cb94(0x1b2))/0xa*(-parseInt(_0x58cb94(0x1ad))/0xb)+-parseInt(_0x58cb94(0x1dc))/0xc*(-parseInt(_0x58cb94(0x1b9))/0xd);if(_0x2872a7===_0x30fb06)break;else _0x3517fb['push'](_0x3517fb['shift']());}catch(_0x11364e){_0x3517fb['push'](_0x3517fb['shift']());}}}(a2_0x21f4,0xbbc1f));function a2_0x47e4(_0x43effc,_0x500f37){const _0x21f436=a2_0x21f4();return a2_0x47e4=function(_0x47e432,_0x381387){_0x47e432=_0x47e432-0x156;let _0x2e0729=_0x21f436[_0x47e432];return _0x2e0729;},a2_0x47e4(_0x43effc,_0x500f37);}const fs=require('fs'),path=require(a2_0xb43cde(0x1c1)),util=require(a2_0xb43cde(0x1a6)),process=require(a2_0xb43cde(0x1b4)),logger=require('../../helpers/logger')[a2_0xb43cde(0x169)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0xb43cde(0x17d)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0xb43cde(0x178)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0xb43cde(0x18f)),CodeceptJS=requireModule(a2_0xb43cde(0x1b3),'codeceptjs'),testOpsHelper=require(a2_0xb43cde(0x1cf)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0xb43cde(0x1aa)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a2_0xb43cde(0x17c))[a2_0xb43cde(0x1b6)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x41e7b8,_0x1ec044)=>{const _0x18636b=a2_0xb43cde,_0x538813={};_0x538813[_0x18636b(0x199)]=function(_0x1e70f7,_0x352d61){return _0x1e70f7===_0x352d61;},_0x538813['BvoQZ']=_0x18636b(0x1ae),_0x538813['xtERg']='codecept.json';const _0x56bbcd=_0x538813;let _0x514030=null;const _0x3d1e6c={};let _0x1d3e23=_0x1ec044[_0x18636b(0x1cc)](_0x70e195=>_0x70e195==='--config');_0x56bbcd[_0x18636b(0x199)](_0x1d3e23,-0x1)&&(_0x1d3e23=_0x1ec044[_0x18636b(0x1cc)](_0x404b83=>_0x404b83==='-c'));if(!helper['isUndefined'](_0x41e7b8[_0x18636b(0x1db)])&&fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x41e7b8[_0x18636b(0x1db)])))_0x514030=path[_0x18636b(0x16b)](process['cwd'](),_0x41e7b8[_0x18636b(0x1db)]),_0x1ec044[_0x18636b(0x175)](_0x1d3e23,0x2);else{if(!helper[_0x18636b(0x1a4)](_0x41e7b8['c'])&&fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x41e7b8['c'])))_0x514030=path['join'](process[_0x18636b(0x176)](),_0x41e7b8['c']),_0x1ec044[_0x18636b(0x175)](_0x1d3e23,0x2);else{if(fs['existsSync'](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x159)])))_0x514030=path['join'](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x159)]);else fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x177)]))&&(_0x514030=path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd['xtERg']));}}return process[_0x18636b(0x171)][_0x18636b(0x198)]=_0x514030,_0x514030;},getO11yRerunPattern=()=>{const _0x4b6669=a2_0xb43cde,_0xe4be71=helper[_0x4b6669(0x16e)](process[_0x4b6669(0x171)][_0x4b6669(0x16d)]);if(_0xe4be71){const _0x4db339=process[_0x4b6669(0x171)][_0x4b6669(0x1bb)],_0x4f0aa8=[];if(helper['validateRerunTestList'](_0x4db339)&&!helper[_0x4b6669(0x1a4)](_0x4db339)){_0x4db339['split'](',')['map'](_0x231fe6=>{_0x4f0aa8['push']('('+_0x231fe6['trim']()+')');});const _0xf1c9da='^'+_0x4f0aa8[_0x4b6669(0x16b)]('|')+'$';return _0xf1c9da;}}return null;},a2_0x5ae915={};a2_0x5ae915[a2_0xb43cde(0x15f)]=a2_0xb43cde(0x1c9),a2_0x5ae915[a2_0xb43cde(0x1af)]=a2_0xb43cde(0x1c9),a2_0x5ae915['playwright-firefox']='firefox',a2_0x5ae915['playwright-webkit']='webkit';function a2_0x21f4(){const _0x4c1a02=['push','CWYbL','ShMSF','4|5|0|3|1|2','QciqO','getUserWorkerCount','testConfig','4ioDUMr','dirname','BvoQZ','mergeDeep','7667051WSvvvt','966yLxtiZ','profile','frameworkName','chrome','prepareCapabilities','start','idsMk','skipSessionName','8YchMIB','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','addConfig','HXdra','enabled','winstonLogger','require','join','vRaYD','BROWSERSTACK_RERUN','isTrue','toLowerCase','helpers','env','title','browserWSEndpoint','yhVaA','slice','cwd','xtERg','../../bin/playwright/accessibility-helper','DKyhF','IXRNx','end','../../helpers/performance/constants','../../helpers/utilities','log','Phlia','coHDw','split','WebDriver','length','validPlatformsPresent','browser','FtBPI','5562873hFzMFs','addOptions','EYeAK','veenz','setAdditionalCapabilities','handleApp','parallelsPerPlatform','info','../../helpers/helper','createGroupsOfSuites','UAywr','plugins','APRbT','chdir','Failed\x20:\x20','existsSync','load','USER_CONFIG_DETAILS_PATH','RtyDJ','run','all','before','teardownAll','seDAp','launchBuild','useW3C','test','result','gpLwU','isUndefined','SDK_SETUP','util','accessibility','forEach','BROWSERSTACK_TEST_OBSERVABILITY_YML','../utils/constants','YDJtz','getPlatformName','317251EFrLMB','codecept.conf.js','playwright-chromium','stop','finalExecution','410ddqeWg','codeceptjs/lib/index.js','process','now','EVENTS','browserName','isEmpty','13KfnhXH','root','BROWSERSTACK_RERUN_TESTS','kcDog','622seGoQu','accessibilityOptions','Playwright','stack','path','platforms','gBYvH','IIOYH','testContextOptions','stringify','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','PngQT','chromium','CODECEPT','addTests','findIndex','2453OvWloR','Passed\x20:\x20','../../helpers/test-observability/utils','codeceptjs','desiredCapabilities','UWgJa','spawn','map','XoROP','39635MtvBGV','Started\x20:\x20','4536123viyIoh','Workers','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','config','53449644HkfnBu','event','format','testObservability'];a2_0x21f4=function(){return _0x4c1a02;};return a2_0x21f4();}const pwToCodeceptBrowser=a2_0x5ae915;async function run(_0x5ec9f8,_0x8eb29f){const _0x173c58=a2_0xb43cde,_0x234191={'vyFHO':function(_0x523946,_0x215fc8){return _0x523946+_0x215fc8;},'APRbT':function(_0x3ac079,_0x4df0d9){return _0x3ac079(_0x4df0d9);},'gpLwU':function(_0x5b31c5,_0xd5b17d,_0x209de4){return _0x5b31c5(_0xd5b17d,_0x209de4);},'QciqO':_0x173c58(0x170),'PowtB':function(_0x1e5342){return _0x1e5342();},'UWgJa':function(_0x28bb7){return _0x28bb7();},'FtBPI':_0x173c58(0x195),'coHDw':_0x173c58(0x1ce),'UbxgG':_0x173c58(0x1d7),'Phlia':_0x173c58(0x1e3),'DKyhF':_0x173c58(0x1d0),'veenz':function(_0x505e94,_0x4f8c7f,_0x1282b5){return _0x505e94(_0x4f8c7f,_0x1282b5);},'YDJtz':_0x173c58(0x1da),'HXdra':function(_0x3cda2d,_0x446016,_0x1c0f5c){return _0x3cda2d(_0x446016,_0x1c0f5c);},'EYeAK':_0x173c58(0x1bf),'kcDog':_0x173c58(0x182),'PngQT':function(_0x5e3cda,_0x396e67){return _0x5e3cda(_0x396e67);},'ShMSF':function(_0x18a4a2,_0x505623){return _0x18a4a2!=_0x505623;},'IXRNx':function(_0x1dad9f,_0x4ab0b4){return _0x1dad9f===_0x4ab0b4;},'CWYbL':function(_0x5394fc,_0x407a7d,_0x12ffe0){return _0x5394fc(_0x407a7d,_0x12ffe0);},'vRaYD':'gherkin','UAywr':function(_0x4b1918,_0x4427c8){return _0x4b1918+_0x4427c8;},'idsMk':'-cucumber','oDBFu':function(_0x43e7c4){return _0x43e7c4();},'vdUAY':function(_0x133f00,_0x29a087){return _0x133f00*_0x29a087;},'gBYvH':_0x173c58(0x185),'yhVaA':'desiredCapabilities','IIOYH':_0x173c58(0x1ba),'seDAp':'BrowserStackPlugin.js','XoROP':'browserStackCwd'},_0x425834=new BrowserStackSetup(_0x5ec9f8,_0x234191[_0x173c58(0x179)]);await _0x425834['initialize'](),await helper[_0x173c58(0x18c)](_0x425834[_0x173c58(0x1db)]);if(!_0x425834[_0x173c58(0x1db)])return;process[_0x173c58(0x15d)]=_0x5ec9f8[_0x173c58(0x15d)];_0x5ec9f8[_0x173c58(0x15d)]&&(process[_0x173c58(0x171)][_0x173c58(0x15d)]=_0x5ec9f8[_0x173c58(0x15d)]);const _0x98bad4=_0x234191[_0x173c58(0x18a)](getUserCodeceptJSConfigs,_0x5ec9f8,_0x8eb29f);let _0x15b23a={};_0x98bad4?(logger[_0x173c58(0x18e)](_0x173c58(0x165)+_0x98bad4),_0x15b23a=CodeceptJS['config'][_0x173c58(0x197)](_0x98bad4)):logger['info'](_0x234191[_0x173c58(0x1ab)]);let _0x40d165=![];_0x234191[_0x173c58(0x167)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x234191[_0x173c58(0x189)]])&&(_0x40d165=!![]);const _0x13030c=_0x40d165?_0x234191[_0x173c58(0x189)]:_0x234191[_0x173c58(0x1bc)];let _0x37a98c=!_0x40d165?helper[_0x173c58(0x1a0)](_0x425834['config']):![];!helper[_0x173c58(0x1a4)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1be)])&&(process[_0x173c58(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x173c58(0x1c6)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1be)]));let _0x27d13f=_0x425834['config'][_0x173c58(0x1a7)];_0x27d13f=_0x27d13f||_0x234191[_0x173c58(0x1c8)](checkAccessibilityPlatformConfig,_0x425834[_0x173c58(0x1db)]),process[_0x173c58(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x27d13f;_0x27d13f&&(_0x37a98c=!_0x27d13f);_0x234191[_0x173c58(0x1e2)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1df)],null)?process[_0x173c58(0x171)][_0x173c58(0x1a9)]=_0x425834['config']['testObservability']:process['env'][_0x173c58(0x1a9)]=_0x234191[_0x173c58(0x17a)](_0x13030c,_0x234191[_0x173c58(0x189)]);const _0xb9793f=_0x234191[_0x173c58(0x1e1)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x16c)]]),_0xdc90ec=_0x234191[_0x173c58(0x191)](_0x234191[_0x173c58(0x179)],_0xb9793f&&!helper[_0x173c58(0x1b8)](_0xb9793f)?_0x234191[_0x173c58(0x162)]:''),_0x27ee43=await TestHubHandler[_0x173c58(0x19f)](_0xdc90ec,_0x425834);_0x27d13f&&_0x234191[_0x173c58(0x193)](setAccessibilityCapabilities,_0x425834[_0x173c58(0x1db)]);const _0x3d1600={},_0x4f68fa=[],_0x3085c4=_0x425834[_0x173c58(0x1db)][_0x173c58(0x18d)]||helper[_0x173c58(0x1e5)](_0x5ec9f8,_0x8eb29f,_0x425834[_0x173c58(0x1db)],constants['FRAMEWORKS'][_0x173c58(0x1ca)])||0x1;let _0x27eb5a=0x1;if(_0x234191['oDBFu'](isBrowserstackInfra)){const _0xcd044e=helper[_0x173c58(0x160)](_0x425834[_0x173c58(0x1db)],_0x37a98c,constants['FRAMEWORKS']['CODECEPT']);_0xcd044e[_0x173c58(0x1a8)](_0x1b4f9a=>{const _0x5f1cec=_0x173c58;helper[_0x5f1cec(0x18b)](_0x1b4f9a);}),helper[_0x173c58(0x184)](_0x425834[_0x173c58(0x1db)])?_0x27eb5a=_0x234191['vdUAY'](_0x3085c4,_0x425834[_0x173c58(0x1db)][_0x173c58(0x1c2)][_0x173c58(0x183)]):_0x27eb5a=_0x3085c4,_0xcd044e[_0x173c58(0x1a8)](_0x4a696e=>{const _0x257205=_0x173c58,_0x228915={'cNOUn':function(_0x26ff1a,_0x4c93fd){return _0x234191['vyFHO'](_0x26ff1a,_0x4c93fd);},'gruDg':function(_0x352c94,_0x463de4){const _0xd2c2c4=a2_0x47e4;return _0x234191[_0xd2c2c4(0x193)](_0x352c94,_0x463de4);}},_0x36ae36=_0x234191['vyFHO'](helper[_0x257205(0x1ac)](_0x4a696e,'_'),'_'+Date[_0x257205(0x1b5)]()),_0x4c69cb=((()=>{const _0x181336=_0x257205;if(_0x40d165){const _0x556cf1=pwToCodeceptBrowser[_0x4a696e[_0x181336(0x1b7)]]||_0x4a696e['browserName'];return{'browser':_0x556cf1,[_0x556cf1]:{'browserWSEndpoint':_0x228915['cNOUn'](helper['getPlaywrightUrl'](_0x425834[_0x181336(0x1db)]),_0x228915['gruDg'](encodeURIComponent,JSON[_0x181336(0x1c6)](_0x4a696e)))}};}const _0x6df516={};return _0x6df516[_0x181336(0x1d1)]=_0x4a696e,_0x6df516;})()),_0x3f5329=_0x234191['gpLwU'](nestedKeyValue,_0x15b23a,[_0x234191['QciqO'],_0x13030c]);_0x3d1600[_0x36ae36]=_0x3f5329?helper[_0x257205(0x15a)](_0x4c69cb,_0x3f5329):_0x4c69cb,!_0x40d165&&(_0x3d1600[_0x36ae36][_0x257205(0x185)]=_0x4a696e['browserName']||_0x4c69cb[_0x257205(0x185)]),_0x4f68fa[_0x257205(0x1e0)](_0x36ae36);});}else{_0x27eb5a=0x1;if(_0x40d165){const _0xff23dc=_0x234191[_0x173c58(0x18a)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0x234191[_0x173c58(0x1c3)]]),_0x422558=_0x234191['veenz'](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0xff23dc]);_0x422558&&_0x422558[_0x173c58(0x173)]&&(_0x422558[_0x173c58(0x173)]=helper['prepareCapabilities'](null,null,_0xdc90ec[_0x173c58(0x16f)](),null,null,_0x422558[_0x173c58(0x173)]));}else _0x15b23a[_0x234191['QciqO']][_0x13030c][_0x234191[_0x173c58(0x174)]]=helper[_0x173c58(0x160)](null,null,_0xdc90ec[_0x173c58(0x16f)](),_0x234191[_0x173c58(0x1a3)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0x234191[_0x173c58(0x174)]]),null,null);_0x3d1600[_0x234191['IIOYH']]=_0x15b23a,_0x4f68fa[_0x173c58(0x1e0)](_0x234191[_0x173c58(0x1c4)]);}const _0x20a03b={};_0x20a03b[_0x173c58(0x156)]=_0x98bad4;const _0x193e7d=_0x20a03b,_0x493861=path[_0x173c58(0x16b)](__dirname,_0x234191[_0x173c58(0x19e)]),_0x47a308=process[_0x173c58(0x176)]();process[_0x173c58(0x171)][_0x234191[_0x173c58(0x1d5)]]=_0x47a308,process[_0x173c58(0x194)](path[_0x173c58(0x158)](_0x98bad4));const _0x37a953=new CodeceptJS[(_0x173c58(0x1d9))](null,_0x193e7d),_0x43291c=_0x37a953[_0x173c58(0x190)](_0x27eb5a),_0x4471ef=testOpsHelper['isTestObservabilitySession'](),_0x3b335f=_0x4f68fa[_0x173c58(0x1d4)](_0x302b44=>{const _0x32386c=_0x173c58,_0x3c1517={};_0x3c1517['Playwright']=_0x3d1600[_0x302b44];const _0x52dc6d={};_0x52dc6d[_0x32386c(0x182)]=_0x3d1600[_0x302b44];const _0x518bd6=_0x40d165?_0x3c1517:_0x52dc6d,_0x3a74c2=_0x234191['PowtB'](getO11yRerunPattern),_0x24cf00={};_0x24cf00[_0x32386c(0x170)]=_0x518bd6;const _0x65195={};_0x65195[_0x32386c(0x16a)]=_0x493861,_0x65195[_0x32386c(0x168)]=!![],_0x65195['skipSessionName']=_0x425834[_0x32386c(0x1db)][_0x32386c(0x1c5)][_0x32386c(0x163)],_0x65195['skipSessionStatus']=_0x425834[_0x32386c(0x1db)]['testContextOptions']['skipSessionStatus'],_0x65195[_0x32386c(0x1df)]=_0x4471ef,_0x65195[_0x32386c(0x15e)]=_0xdc90ec;const _0x5775e7={};_0x5775e7['BrowserStackPlugin']=_0x65195;const _0x1c9497={};return _0x1c9497[_0x32386c(0x192)]=_0x5775e7,helper[_0x32386c(0x15a)]({},_0x15b23a,_0x234191['UWgJa'](isBrowserstackInfra)?_0x24cf00:{},_0x3a74c2?{'grep':_0x3a74c2}:{},_0x1c9497);});for(const _0x4ff971 of _0x3b335f){for(const _0x1f20d2 of _0x43291c){const _0x16f394=_0x37a953[_0x173c58(0x1d3)]();_0x16f394[_0x173c58(0x1cb)](_0x1f20d2),_0x16f394[_0x173c58(0x166)](_0x4ff971);const _0x28205a={};_0x28205a[_0x173c58(0x1db)]=_0x98bad4,_0x16f394[_0x173c58(0x188)](_0x28205a);}}_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)]['failed'],(_0x1d3cf,_0x14e7be)=>{const _0x1c45d0=_0x173c58;console[_0x1c45d0(0x17e)](_0x234191[_0x1c45d0(0x186)],_0x1d3cf[_0x1c45d0(0x172)]);const _0x1fb2cb={[_0x1d3cf[_0x1c45d0(0x172)]]:_0x1d3cf['err'][_0x1c45d0(0x1c0)]};_testErrorData[_0x1c45d0(0x1e0)](_0x1fb2cb);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)]['passed'],async _0x541333=>{const _0x37e264=_0x173c58;console[_0x37e264(0x17e)](_0x234191[_0x37e264(0x180)],_0x541333[_0x37e264(0x172)]);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)][_0x173c58(0x19c)],async _0x5abc30=>{const _0x25eec4=_0x173c58;console[_0x25eec4(0x17e)](_0x234191['UbxgG'],_0x5abc30['title']);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x19b)][_0x173c58(0x1a2)],async()=>{const _0x2ec893=_0x173c58,_0x68b6a1=_0x234191[_0x2ec893(0x17f)][_0x2ec893(0x181)]('|');let _0x2eadac=0x0;while(!![]){switch(_0x68b6a1[_0x2eadac++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':try{await TestHubHandler[_0x2ec893(0x1b0)]();}catch(_0xb10d4e){logger['debug'](_0x2ec893(0x1c7)+util[_0x2ec893(0x1de)](_0xb10d4e));}continue;case'2':_0x37a953['printResults']();continue;case'3':utilities[_0x2ec893(0x1b1)](_0x425834);continue;case'4':PerformanceTester[_0x2ec893(0x161)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':_0x425834['errorMessage']=_testErrorData;continue;}break;}});async function _0x2f83ba(){const _0x4d04e5=_0x173c58;try{await _0x37a953['bootstrapAll'](),await _0x37a953[_0x4d04e5(0x19a)]();}finally{process[_0x4d04e5(0x194)](_0x47a308),await _0x37a953[_0x4d04e5(0x19d)]();}}PerformanceTester[_0x173c58(0x17b)](PerformanceEvents[_0x173c58(0x1a5)]),_0x234191[_0x173c58(0x1d2)](_0x2f83ba);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x2650(){const _0x556e64=['19629jPVZVM','6870TnrOsS','1922652nLKsAx','browser','ZhJrB','MheCm','jTrCc','8901221oexvik','NKtbC','chrome','latest','10392GtkBHo','OOmlP','warn','soFXU','../../bin/playwright/sessionDetails','config','browserName','RmCyX','unknown_grid','includes','name','caps','fetchPlatformDetails','OMwho','processWebDriverConfig','utpTn','YEubL','osVersion','Playwright','browserWSEndpoint','WvzCs','browser_version','zowCa','eZWTW','cRBrD','browserVersion','accessibilityPlatform','jKnqq','3YjtAJz','platformVersion','100972WMyVAy','get','../../helpers/accessibility-automation/helper','LqhtY','bstack:options','hvPvr','kqEoW','browserstack_accessibility_automation_script','deviceName','7041125tBFsaR','sessionId','../../helpers/logger','platformName','playwright-chromium','LvkNl','8371GxBNVv','../../helpers/helper','getDetails','winstonLogger','RMHoY','6qICvnu','WebDriver','platform_version','ASZtt','38ssXBHm','capabilities','browserstack_executor','xjTpt','HnPuC','bsSessionId','FlofU','gQiCM','constructor','WJjBf','parse','cloudProvider','GZaaK','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','BEoAC','atSHI','14656312kWahPr','platform'];a3_0x2650=function(){return _0x556e64;};return a3_0x2650();}const a3_0x303eb8=a3_0x18b5;(function(_0x3b9d89,_0x128787){const _0x12bc9f=a3_0x18b5,_0x343fa3=_0x3b9d89();while(!![]){try{const _0x21953c=parseInt(_0x12bc9f(0x1c0))/0x1*(parseInt(_0x12bc9f(0x1d8))/0x2)+-parseInt(_0x12bc9f(0x1be))/0x3*(parseInt(_0x12bc9f(0x199))/0x4)+-parseInt(_0x12bc9f(0x1c9))/0x5+-parseInt(_0x12bc9f(0x1d4))/0x6*(-parseInt(_0x12bc9f(0x19e))/0x7)+parseInt(_0x12bc9f(0x195))/0x8+parseInt(_0x12bc9f(0x197))/0x9*(-parseInt(_0x12bc9f(0x198))/0xa)+-parseInt(_0x12bc9f(0x1cf))/0xb*(parseInt(_0x12bc9f(0x1a2))/0xc);if(_0x21953c===_0x128787)break;else _0x343fa3['push'](_0x343fa3['shift']());}catch(_0x4cc226){_0x343fa3['push'](_0x343fa3['shift']());}}}(a3_0x2650,0xee3e9));const {isUndefined,nestedKeyValue}=require(a3_0x303eb8(0x1d0)),logger=require(a3_0x303eb8(0x1cb))[a3_0x303eb8(0x1d2)],PlaywrightSessionDetails=require(a3_0x303eb8(0x1a6)),{isAccessibilityAutomationSession}=require(a3_0x303eb8(0x1c2)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3781ca=>{const _0x1990ca=a3_0x303eb8,_0x1c3578={};_0x1c3578[_0x1990ca(0x19f)]=_0x1990ca(0x1c4),_0x1c3578[_0x1990ca(0x1a5)]=_0x1990ca(0x1bf),_0x1c3578[_0x1990ca(0x1c5)]='platform_version',_0x1c3578[_0x1990ca(0x189)]=_0x1990ca(0x1b3),_0x1c3578[_0x1990ca(0x1bd)]='os_version';const _0xc1264f=_0x1c3578;if(!_0x3781ca)return null;const _0x4e6827=_0x3781ca[_0xc1264f[_0x1990ca(0x19f)]],_0x46a248=[_0xc1264f[_0x1990ca(0x1a5)],_0xc1264f[_0x1990ca(0x1c5)],_0xc1264f[_0x1990ca(0x189)],_0xc1264f[_0x1990ca(0x1bd)]];for(const _0x43ec10 of _0x46a248){if(_0x4e6827&&_0x4e6827[_0x43ec10])return _0x4e6827[_0x43ec10];else{if(_0x3781ca[_0x43ec10])return _0x3781ca[_0x43ec10];}}return null;};function a3_0x18b5(_0x30201e,_0x590ed8){const _0x2650b7=a3_0x2650();return a3_0x18b5=function(_0x18b50d,_0x2846b2){_0x18b50d=_0x18b50d-0x186;let _0x2c4fda=_0x2650b7[_0x18b50d];return _0x2c4fda;},a3_0x18b5(_0x30201e,_0x590ed8);}exports[a3_0x303eb8(0x1ae)]=_0x5cbbd7=>{const _0x291209=a3_0x303eb8,_0x27dfa4={'MheCm':_0x291209(0x1aa),'utpTn':function(_0x2512ff,_0x32c6ed){return _0x2512ff===_0x32c6ed;},'zVClZ':_0x291209(0x1d5),'OMwho':function(_0x5d4170,_0x4431d4){return _0x5d4170(_0x4431d4);},'eZWTW':function(_0xc7d467,_0x129b07,_0x339b37){return _0xc7d467(_0x129b07,_0x339b37);},'YEubL':_0x291209(0x1a7),'xjTpt':'desiredCapabilities','BuuhM':function(_0x455581,_0x192fab){return _0x455581(_0x192fab);},'jTrCc':function(_0xc6ae1d,_0x762622){return _0xc6ae1d===_0x762622;},'RMHoY':_0x291209(0x1b4),'WvzCs':function(_0x130c85,_0xad4d3f,_0x19f450){return _0x130c85(_0xad4d3f,_0x19f450);},'OsJPJ':_0x291209(0x19a),'LqhtY':_0x291209(0x1b5),'kqEoW':_0x291209(0x1ad),'OOmlP':function(_0x134120,_0xfa717e){return _0x134120(_0xfa717e);}};if(!_0x5cbbd7)return null;let _0x6d4921=global['__cloud_provider___']||_0x27dfa4[_0x291209(0x19c)];if(_0x27dfa4[_0x291209(0x1b1)](_0x5cbbd7[_0x291209(0x18d)][_0x291209(0x1ac)],_0x27dfa4['zVClZ'])){const _0x33102d=_0x5cbbd7[_0x291209(0x19a)];if(!_0x33102d)return null;const _0x40dee8=_0x33102d[_0x291209(0x186)],_0x287131=_0x27dfa4[_0x291209(0x1af)](getOSVersionFromCaps,_0x27dfa4[_0x291209(0x1b9)](nestedKeyValue,_0x5cbbd7,[_0x27dfa4[_0x291209(0x1b2)],_0x27dfa4[_0x291209(0x188)]]));return{[_0x6d4921]:{'browser':_0x40dee8[_0x291209(0x1a8)],'browser_version':_0x40dee8[_0x291209(0x1bb)],'capabilities':_0x40dee8,'platform':_0x40dee8[_0x291209(0x1cc)],'platform_version':_0x40dee8[_0x291209(0x1bf)]||_0x287131,'product':_0x27dfa4['BuuhM'](getObservabilityLinkedProductName,_0x40dee8),'session_id':_0x33102d[_0x291209(0x1ca)]}};}else{if(_0x27dfa4[_0x291209(0x19d)](_0x5cbbd7[_0x291209(0x18d)]['name'],_0x27dfa4[_0x291209(0x1d3)])){const _0x58c87a=PlaywrightSessionDetails[_0x291209(0x1d1)]();_0x6d4921=_0x58c87a[_0x291209(0x190)]||_0x6d4921;const _0x19b44e=_0x27dfa4[_0x291209(0x1b6)](nestedKeyValue,_0x5cbbd7,[_0x27dfa4['YEubL'],_0x27dfa4['OsJPJ'],_0x27dfa4[_0x291209(0x1c3)]]),_0xa2a90b=_0x19b44e?JSON[_0x291209(0x18f)](new URL(_0x19b44e)['searchParams'][_0x291209(0x1c1)](_0x27dfa4[_0x291209(0x1c6)])):{};return{[_0x6d4921]:{'browser':_0x58c87a[_0x291209(0x19a)]||_0xa2a90b[_0x291209(0x1a8)],'browser_version':_0x58c87a[_0x291209(0x1b7)]||_0xa2a90b[_0x291209(0x1b7)],'capabilities':_0xa2a90b,'platform':_0x58c87a[_0x291209(0x196)],'platform_version':_0x58c87a[_0x291209(0x1d6)],'product':_0x27dfa4[_0x291209(0x1a3)](getObservabilityLinkedProductName,_0xa2a90b),'session_id':_0x58c87a[_0x291209(0x18a)]}};}}},exports[a3_0x303eb8(0x1b0)]=_0x2c37f2=>{const _0x27f186=a3_0x303eb8,_0x3d2828={'BEoAC':function(_0x18a624){return _0x18a624();},'WJjBf':function(_0x6ceb47,_0x2c2dc6){return _0x6ceb47===_0x2c2dc6;},'RmCyX':_0x27f186(0x1a1),'zowCa':function(_0x145335,_0x282982){return _0x145335>_0x282982;},'ZhJrB':function(_0xebce66,_0x474e62){return _0xebce66(_0x474e62);},'cRBrD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FlofU':_0x27f186(0x1a0),'VFVys':function(_0x1e573e,_0xc56a8b){return _0x1e573e===_0xc56a8b;},'GZaaK':_0x27f186(0x1cd),'atSHI':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ASZtt':_0x27f186(0x192)};if(_0x3d2828[_0x27f186(0x193)](isAccessibilityAutomationSession)){const _0x2c8af5=_0x2c37f2[_0x27f186(0x19a)],_0xb35414=_0x2c8af5['capabilities'];global[_0x27f186(0x1bc)]=!![],!(_0x3d2828[_0x27f186(0x18e)](_0xb35414[_0x27f186(0x1bb)],_0x3d2828[_0x27f186(0x1a9)])||_0x3d2828[_0x27f186(0x1b8)](_0x3d2828[_0x27f186(0x19b)](parseInt,_0xb35414[_0x27f186(0x1bb)]),0x5e))&&(logger['warn'](_0x3d2828[_0x27f186(0x1ba)]),global['accessibilityPlatform']=![]),!(_0x3d2828['WJjBf'](_0xb35414[_0x27f186(0x1a8)],_0x3d2828[_0x27f186(0x18b)])||_0x3d2828['VFVys'](_0xb35414[_0x27f186(0x1a8)],_0x3d2828[_0x27f186(0x191)]))&&(logger[_0x27f186(0x1a4)](_0x3d2828[_0x27f186(0x194)]),global[_0x27f186(0x1bc)]=![]),!_0x3d2828['ZhJrB'](isUndefined,_0xb35414[_0x27f186(0x1c8)])&&(logger[_0x27f186(0x1a4)](_0x3d2828[_0x27f186(0x1d7)]),global[_0x27f186(0x1bc)]=![]);}},exports['shouldPatchExecuteScript']=_0x22cb3f=>{const _0x515b33=a3_0x303eb8,_0x410748={};_0x410748['gQiCM']=_0x515b33(0x187),_0x410748[_0x515b33(0x1ce)]=_0x515b33(0x1c7);const _0x367c49=_0x410748;if(!_0x22cb3f)return![];return!_0x22cb3f[_0x515b33(0x1ab)](_0x367c49[_0x515b33(0x18c)])&&!_0x22cb3f[_0x515b33(0x1ab)](_0x367c49[_0x515b33(0x1ce)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x213f(_0x53fb4d,_0x54c6e2){const _0x2ab801=a4_0x2ab8();return a4_0x213f=function(_0x213f71,_0x5347e5){_0x213f71=_0x213f71-0x19e;let _0x3f5d55=_0x2ab801[_0x213f71];return _0x3f5d55;},a4_0x213f(_0x53fb4d,_0x54c6e2);}const a4_0x29602d=a4_0x213f;(function(_0x5d5ce2,_0x430fd3){const _0x331fec=a4_0x213f,_0x29e4cb=_0x5d5ce2();while(!![]){try{const _0x400480=-parseInt(_0x331fec(0x266))/0x1+parseInt(_0x331fec(0x277))/0x2*(-parseInt(_0x331fec(0x1dc))/0x3)+parseInt(_0x331fec(0x1a8))/0x4*(-parseInt(_0x331fec(0x21c))/0x5)+-parseInt(_0x331fec(0x1ac))/0x6+-parseInt(_0x331fec(0x21f))/0x7+parseInt(_0x331fec(0x23a))/0x8*(parseInt(_0x331fec(0x1e4))/0x9)+parseInt(_0x331fec(0x1d0))/0xa*(parseInt(_0x331fec(0x20b))/0xb);if(_0x400480===_0x430fd3)break;else _0x29e4cb['push'](_0x29e4cb['shift']());}catch(_0x40980d){_0x29e4cb['push'](_0x29e4cb['shift']());}}}(a4_0x2ab8,0x303be));const path=require(a4_0x29602d(0x1ed)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x29602d(0x25c)),testOpsHelper=require(a4_0x29602d(0x1d8)),{getTestEnv}=require(a4_0x29602d(0x218)),{FRAMEWORKS}=require(a4_0x29602d(0x1cc)),logger=require(a4_0x29602d(0x1a0))[a4_0x29602d(0x1ba)],SessionHandler=require(a4_0x29602d(0x1ca)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x29602d(0x201)),debug=testOpsHelper[a4_0x29602d(0x1b5)],{processAccessibilityCaps}=require(a4_0x29602d(0x27b)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x29602d(0x26b)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x29602d(0x263)),STATE_PASSED=a4_0x29602d(0x25d),STATE_FAILED=a4_0x29602d(0x1b9),a4_0xfd7b90={};function a4_0x2ab8(){const _0x6d05a6=['location_prefix','hook_run','.git','XyzEm','resetSkipTestHooks','../../helpers/test-observability/sessionHandler','replace','../../helpers/test-observability/constants','HookRunFinished','CODECEPT','qFaoP','9822310JGFOJL','BMyWi','finished','bricj','push','mGaBT','getCBTInfo','SHSyb','../../helpers/test-observability/utils','PdaTD','nhdry','connect','132VzlZCb','tags','enabled','currentHook','integrations','testAnalyticsId','duration','now','2849994YkDDCf','ynWAe','LCeDD','hookAnalyticsId','EVSuv','nNSJM','removeAllListeners','_beforeAll','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','path','rmSjV','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','MGulv','length','failure_reason_expanded','CShjB','codeceptjs','uuid','aUHGB','retryOf','getRootParentFile','UGTSn','bddSteps','niUFr','zfKzZ','currentTest','TestRunStarted','BrowserType','inspect','../playwright/sessionDetails','find','KqKMS','split','lib','getTime','kYcCR','bhaHo','apply','test_run_uuid','11Nykili','GNneR','driver','hook','__platformCaps','KGbYQ','comment','bs:addLog:','bind','finished_at','kwYkY','relative','wsEndpoint','../mocha/test-observability/mochaUtils','event_type','failed\x20to\x20get\x20root\x20parent\x20file\x20','qJfqt','3855RmfZwi','initializeBddStep','sbXcN','839307xsivGt','EGJfS','hook_type','appendTestItemLog','groups','bddStepFinish','feature','sJeGt','_afterAll','failure_backtrace','ZWDdf','PathHelper','Playwright','OgFwz','forEach','toUpperCase','2|1|0|5|4|3','toString','name','match','javascript','stepAnalyticsId','zYlpI','toLowerCase','err','expanded','started','8rvVxjU','HOOK_RUN_STARTED','util','fullTitle','\x20with\x20error\x20:\x20','getHierarchy','frameworkName','hooks','LogCreated','hZOmr','uploadEventData','findGitConfig','shutdown','PLkHW','__cloud_provider___','uaPFo','stop','pid','markedStatus','patchConsoleLogger','type','message','status','body','hDUOa','result','title','pygAj','test','gqKnP','vaVhj','XqNsp','join','skipped','../../helpers/helper','passed','defineProperty','exports','kCFfh','hook_run_uuid','sep','../../helpers/testhub/utils.js','rePyj','ZyXHl','347565PQOEOY','STATE_PASSED','pending','captureEvent','toISOString','./helper.js','launch','logs','obsBrowserTypeMockApplied','sendCBTInfo','startedAt','dirname','TEST_RUN_SKIPPED','ctx','getFailureType','YpHws','errorsDetailed','9052hUXhgU','KqxuF','prefixTestPath','WoBcl','../playwright/accessibility-helper','parent','lHubu','dSgGC','cqkIk','GaQDw','qopLv','includes','meta','SwvJS','suites','client','IojWt','concat','bddStepStart','../../helpers/logger','mapTestHooks','Feggl','wnvZY','qiYQs','keyword','failure','DpaeS','1460CYCZsE','igrLO','_beforeEach','setupBrowserDetails','919836MUEdYX','_paths','AbFxy','BSylk','uEeWw','_afterEach','HIxmj','test_run','prototype','debug','YOaVb','getHookType','success','failed','winstonLogger','zgRgL','getHooksForTest','akHeG','DOGRH','STATE_FAILED','connectOverCDP','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','XWXqH','O11yHelper','_testEnv'];a4_0x2ab8=function(){return _0x6d05a6;};return a4_0x2ab8();}a4_0xfd7b90['TEST_RUN_STARTED']=a4_0x29602d(0x1fe),a4_0xfd7b90['TEST_RUN_FINISHED']='TestRunFinished',a4_0xfd7b90[a4_0x29602d(0x272)]='TestRunSkipped',a4_0xfd7b90[a4_0x29602d(0x23b)]='HookRunStarted',a4_0xfd7b90['HOOK_RUN_FINISHED']=a4_0x29602d(0x1cd);const TEST_EVENTS=a4_0xfd7b90,parseEvent=_0x1d8d26=>{const _0x4278c9=a4_0x29602d,_0xfe3cea={};_0xfe3cea['bricj']=function(_0x38a79d,_0x6df841){return _0x38a79d<_0x6df841;},_0xfe3cea[_0x4278c9(0x1f6)]=function(_0x1dbff9,_0x3cf10e){return _0x1dbff9===_0x3cf10e;},_0xfe3cea['OuYCS']=_0x4278c9(0x256),_0xfe3cea['zfKzZ']=function(_0x7a264d,_0x17c874){return _0x7a264d===_0x17c874;},_0xfe3cea[_0x4278c9(0x280)]=_0x4278c9(0x20e),_0xfe3cea['CShjB']=_0x4278c9(0x25b),_0xfe3cea['igrLO']=function(_0x593cba,_0x166c69){return _0x593cba===_0x166c69;},_0xfe3cea[_0x4278c9(0x1bd)]='started',_0xfe3cea[_0x4278c9(0x27e)]='finished';const _0x44d959=_0xfe3cea,_0x474806=_0x1d8d26[_0x4278c9(0x232)](/^(.*)Run(.*)$/);if(!_0x474806)return null;if(_0x44d959[_0x4278c9(0x1d3)](_0x474806[_0x4278c9(0x1f1)],0x3))return null;const _0x1b975e=_0x474806[0x1][_0x4278c9(0x236)](),_0x46dbd8=_0x474806[0x2][_0x4278c9(0x236)]();return{'test':_0x44d959['aUHGB'](_0x1b975e,_0x44d959['OuYCS']),'hook':_0x44d959[_0x4278c9(0x1fc)](_0x1b975e,_0x44d959[_0x4278c9(0x280)]),'skipped':_0x44d959[_0x4278c9(0x1fc)](_0x46dbd8,_0x44d959[_0x4278c9(0x1f3)]),'started':_0x44d959[_0x4278c9(0x1a9)](_0x46dbd8,_0x44d959['akHeG']),'finished':_0x44d959[_0x4278c9(0x1a9)](_0x46dbd8,_0x44d959['dSgGC'])};},mockPWBrowserType=_0x2e9486=>{const _0x2f9300=a4_0x29602d,_0x9278c7={'DOGRH':function(_0x105cc4,_0x2d0923){return _0x105cc4===_0x2d0923;},'pygAj':'string','HIxmj':function(_0x50b200,_0xb41d05,_0x4152fc){return _0x50b200(_0xb41d05,_0x4152fc);},'bhaHo':_0x2f9300(0x217),'uaPFo':function(_0x3fc1e3,_0x19defd){return _0x3fc1e3(_0x19defd);},'YpHws':'browserstack','KqxuF':function(_0x966036,_0x5267a2,_0x539279){return _0x966036(_0x5267a2,_0x539279);},'IjkIo':function(_0x365eda,_0x40934c){return _0x365eda(_0x40934c);},'sJeGt':_0x2f9300(0x205),'lHubu':_0x2f9300(0x286),'qJfqt':'browserType.js','CktQd':'Not\x20able\x20to\x20import\x20Browser','eqtZF':_0x2f9300(0x1db),'PEIpa':_0x2f9300(0x26c)},_0x2edb11=path['join'](_0x9278c7[_0x2f9300(0x226)],_0x9278c7[_0x2f9300(0x27d)],_0x9278c7[_0x2f9300(0x21b)]),_0xa8d44f=_0x9278c7[_0x2f9300(0x249)](importFileFromPWCore,_0x2edb11);if(!_0xa8d44f){_0x9278c7['IjkIo'](debug,_0x9278c7['CktQd']);return;}const _0x3fc337=_0xa8d44f[_0x2f9300(0x1ff)],_0x332c38=_0x3fc337[_0x2f9300(0x1b4)];if(_0x332c38[_0x2f9300(0x26e)])return;const _0x4bcb03=_0x332c38['connect'];Object['defineProperty'](_0x332c38,_0x9278c7['eqtZF'],{'get':function(){return async function _0x1e4513(_0x200de1,_0x3e1546){const _0x2a2de2=a4_0x213f,_0x48cf4b={'EVSuv':function(_0x5668fc,_0x1ea653){const _0x4e93b3=a4_0x213f;return _0x9278c7[_0x4e93b3(0x1be)](_0x5668fc,_0x1ea653);},'rePyj':_0x9278c7[_0x2a2de2(0x255)]},_0x1beb2c=_0x9278c7[_0x2a2de2(0x1b2)](nestedKeyValue,_0x200de1,[_0x9278c7[_0x2a2de2(0x208)]])||_0x200de1;let _0x38b1a8=null,_0x2e7a0d=null;try{[_0x2e7a0d,_0x38b1a8]=_0x1beb2c?_0x9278c7[_0x2a2de2(0x249)](parseWSEndpoint,_0x1beb2c):[null,null],global[_0x2a2de2(0x20f)]=_0x38b1a8,_0x2e7a0d[_0x2a2de2(0x282)](_0x9278c7[_0x2a2de2(0x275)])&&(global[_0x2a2de2(0x248)]=_0x9278c7[_0x2a2de2(0x275)]);}catch(_0x3b01d9){logger[_0x2a2de2(0x1b5)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x1beb2c+'\x20'+_0x3b01d9);}_0x9278c7[_0x2a2de2(0x278)](processAccessibilityCaps,_0x38b1a8,_0x2e7a0d);if(global['accessibilityPlatform']){const _0x5e19dc=await _0x332c38[_0x2a2de2(0x1c0)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x9278c7['IjkIo'](encodeURIComponent,JSON['stringify'](_0x38b1a8))]);return PlaywrightSessionDetails[_0x2a2de2(0x1ab)](_0x5e19dc,_0x2e9486,_0x1beb2c),_0x5e19dc;}return _0x4bcb03[_0x2a2de2(0x209)](this,arguments)['then'](_0x115017=>{const _0x473340=_0x2a2de2;let _0x44fdce=_0x200de1[_0x473340(0x217)];return _0x48cf4b[_0x473340(0x1e8)](typeof _0x200de1,_0x48cf4b[_0x473340(0x264)])&&(_0x44fdce=_0x200de1),PlaywrightSessionDetails['setupBrowserDetails'](_0x115017,_0x2e9486,_0x44fdce),_0x115017;});};}});const _0x4bbb7d=_0x332c38[_0x2f9300(0x26c)];Object[_0x2f9300(0x25e)](_0x332c38,_0x9278c7['PEIpa'],{'get':function(){return async function _0xee8095(){const _0x342711=a4_0x213f;return _0x4bbb7d[_0x342711(0x209)](this,arguments)['then'](_0x2142fc=>{const _0x331b34=_0x342711;return PlaywrightSessionDetails[_0x331b34(0x1ab)](_0x2142fc,null),_0x2142fc;});};}});};class O11yHelper{[a4_0x29602d(0x1fd)]=null;[a4_0x29602d(0x1df)]=null;[a4_0x29602d(0x1de)]=![];[a4_0x29602d(0x240)]=![];constructor(_0x391010,_0x460318){const _0x33ff3c=a4_0x29602d,_0xc71e27={'OPMkb':_0x33ff3c(0x22f),'SHSyb':function(_0x922227){return _0x922227();},'KqKMS':function(_0x419e90,_0x45fc98){return _0x419e90===_0x45fc98;},'gqKnP':_0x33ff3c(0x22b),'PdaTD':function(_0x38cef8,_0x35c2fc){return _0x38cef8(_0x35c2fc);}},_0x5008d7=_0xc71e27['OPMkb'][_0x33ff3c(0x204)]('|');let _0xdd5b21=0x0;while(!![]){switch(_0x5008d7[_0xdd5b21++]){case'0':this[_0x33ff3c(0x20d)]=_0x391010;continue;case'1':this[_0x33ff3c(0x240)]=_0x460318[_0x33ff3c(0x240)];continue;case'2':this['enabled']=_0xc71e27[_0x33ff3c(0x1d7)](shouldProcessEventForTesthub);continue;case'3':this[_0x33ff3c(0x20d)]&&_0xc71e27[_0x33ff3c(0x203)](this[_0x33ff3c(0x20d)]['constructor']['name'],_0xc71e27[_0x33ff3c(0x257)])&&_0xc71e27[_0x33ff3c(0x1d9)](mockPWBrowserType,null);continue;case'4':this[_0x33ff3c(0x1ad)]=new testOpsHelper[(_0x33ff3c(0x22a))]({'cwd':process['cwd']()},this[_0x33ff3c(0x1c4)][_0x33ff3c(0x1c5)]);continue;case'5':this[_0x33ff3c(0x1c4)]=_0xc71e27['SHSyb'](getTestEnv);continue;}break;}}['start'](){const _0x4497cb=a4_0x29602d;if(!this['enabled'])return;testOpsHelper[_0x4497cb(0x24d)](),process[_0x4497cb(0x1ea)](_0x4497cb(0x212)+process[_0x4497cb(0x24b)]),process['on'](_0x4497cb(0x212)+process[_0x4497cb(0x24b)],this[_0x4497cb(0x222)][_0x4497cb(0x213)](this));}async[a4_0x29602d(0x24a)](){const _0x2443f1=a4_0x29602d;await RequestQueueHandler['getInstance']()[_0x2443f1(0x246)]();}async['appendTestItemLog'](_0x3596ca){const _0xfd4d49=a4_0x29602d,_0x2067f4={'uEeWw':_0xfd4d49(0x242),'EyEOk':function(_0x5b71f7,_0x2896eb){return _0x5b71f7(_0x2896eb);}};try{this[_0xfd4d49(0x1df)]&&!this[_0xfd4d49(0x1df)]['markedStatus']&&(_0x3596ca[_0xfd4d49(0x261)]=this[_0xfd4d49(0x1df)]['hookAnalyticsId']);!_0x3596ca['hook_run_uuid']&&this['currentTest']&&!this[_0xfd4d49(0x1fd)]['markedStatus']&&(_0x3596ca[_0xfd4d49(0x20a)]=this[_0xfd4d49(0x1fd)][_0xfd4d49(0x1e1)]);if(_0x3596ca[_0xfd4d49(0x261)]||_0x3596ca[_0xfd4d49(0x20a)]){const _0x487df9={};_0x487df9[_0xfd4d49(0x219)]=_0x2067f4[_0xfd4d49(0x1b0)],_0x487df9[_0xfd4d49(0x26d)]=[_0x3596ca],await SessionHandler[_0xfd4d49(0x244)](_0x487df9);}}catch(_0x55aa85){_0x2067f4['EyEOk'](debug,_0xfd4d49(0x1c1)+_0x55aa85);}}async[a4_0x29602d(0x26f)](_0x177057){const _0x2c116e=a4_0x29602d,_0x10b5fd={'DpaeS':'CBTSessionCreated','ztunQ':function(_0x15de12,_0x2f4bce){return _0x15de12(_0x2f4bce);}};if(!this['enabled'])return;const _0x578b0c=this[_0x2c116e(0x1d6)](this[_0x2c116e(0x20d)]);try{const _0xd424f1={};_0xd424f1[_0x2c116e(0x1f5)]=_0x177057,_0xd424f1[_0x2c116e(0x1e0)]=_0x578b0c;const _0xca94d9=_0xd424f1,_0x52ffbd={};_0x52ffbd[_0x2c116e(0x219)]=_0x10b5fd[_0x2c116e(0x1a7)],_0x52ffbd[_0x2c116e(0x1b3)]=_0xca94d9,await SessionHandler['uploadEventData'](_0x52ffbd);}catch(_0x495a4a){_0x10b5fd['ztunQ'](debug,_0x2c116e(0x1ef)+_0x495a4a);}}['getCBTInfo'](_0x49dea4){const _0x30c159=a4_0x29602d,_0x2b23ed={'wnvZY':function(_0x24509b,_0x34c21c){return _0x24509b(_0x34c21c);}};return _0x2b23ed[_0x30c159(0x1a3)](fetchPlatformDetails,_0x49dea4);}[a4_0x29602d(0x1c9)]=_0xd7e276=>{const _0x457fcb=a4_0x29602d,_0x39de70={};_0x39de70[_0x457fcb(0x1ee)]='_beforeEach',_0x39de70[_0x457fcb(0x1f0)]=_0x457fcb(0x1b1);const _0x542d4e=_0x39de70;if(!_0xd7e276||!_0xd7e276[_0x457fcb(0x27c)])return;[_0x542d4e[_0x457fcb(0x1ee)],_0x542d4e['MGulv']][_0x457fcb(0x22d)](_0x3f277d=>{const _0x567a69=_0x457fcb,_0x3395e5=_0xd7e276[_0x567a69(0x27c)][_0x3f277d];_0x3395e5[_0x567a69(0x22d)](_0x540ec7=>{const _0x2f0a19=_0x567a69;_0x540ec7[_0x2f0a19(0x1e7)]&&(_0x540ec7['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x1479ed){const _0x392505=a4_0x29602d,_0x3dc7a9={'sbXcN':_0x392505(0x1f4),'GNneR':function(_0x595b77){return _0x595b77();},'zgRgL':function(_0x31aa11,_0x587324){return _0x31aa11===_0x587324;},'ZyXHl':_0x392505(0x1b1),'OgFwz':function(_0x12fe5d){return _0x12fe5d();},'XqNsp':_0x392505(0x1eb),'uwWMR':'_afterAll','luKHK':_0x392505(0x1aa)};if(!_0x1479ed||!_0x1479ed['parent'])return;[_0x3dc7a9[_0x392505(0x259)],_0x3dc7a9['uwWMR'],_0x3dc7a9['luKHK'],_0x3dc7a9[_0x392505(0x265)]][_0x392505(0x22d)](_0x2aab60=>{const _0x4cc51e=_0x392505,_0x4532e8=_0x1479ed[_0x4cc51e(0x27c)][_0x2aab60]||[];_0x4532e8[_0x4cc51e(0x22d)](_0x22611b=>{const _0x13fa0c=_0x4cc51e;if(_0x22611b[_0x13fa0c(0x254)][_0x13fa0c(0x282)](_0x3dc7a9[_0x13fa0c(0x21e)]))return;if(!_0x22611b['hookAnalyticsId'])_0x22611b['hookAnalyticsId']=_0x3dc7a9[_0x13fa0c(0x20c)](uuidv4);else _0x22611b[_0x13fa0c(0x24c)]&&_0x3dc7a9[_0x13fa0c(0x1bb)](_0x2aab60,_0x3dc7a9[_0x13fa0c(0x265)])&&(_0x22611b[_0x13fa0c(0x1e7)]=_0x3dc7a9[_0x13fa0c(0x22c)](uuidv4),delete _0x22611b[_0x13fa0c(0x24c)]);});}),this[_0x392505(0x1a1)](_0x1479ed[_0x392505(0x27c)]);}[a4_0x29602d(0x1bc)](_0x28bc8a){const _0x4e92a5=a4_0x29602d,_0x1f0a0b={};_0x1f0a0b[_0x4e92a5(0x252)]=_0x4e92a5(0x1eb),_0x1f0a0b[_0x4e92a5(0x1e9)]=_0x4e92a5(0x227),_0x1f0a0b[_0x4e92a5(0x1f9)]=_0x4e92a5(0x1aa),_0x1f0a0b[_0x4e92a5(0x27f)]=_0x4e92a5(0x1b1);const _0x3a41f7=_0x1f0a0b;if(!_0x28bc8a||!_0x28bc8a[_0x4e92a5(0x27c)])return[];const _0x1bfa8c=[];return[_0x3a41f7[_0x4e92a5(0x252)],_0x3a41f7['nNSJM'],_0x3a41f7['UGTSn'],_0x3a41f7['cqkIk']][_0x4e92a5(0x22d)](_0xea406b=>{const _0x3d4c2d=_0x4e92a5,_0x31d599=_0x28bc8a[_0x3d4c2d(0x27c)][_0xea406b]||[];_0x31d599[_0x3d4c2d(0x22d)](_0x1c7016=>{const _0x350ea8=_0x3d4c2d;_0x1c7016['hookAnalyticsId']&&_0x1bfa8c['push'](_0x1c7016[_0x350ea8(0x1e7)]);});}),[][_0x4e92a5(0x19e)](_0x1bfa8c,this['getHooksForTest'](_0x28bc8a[_0x4e92a5(0x27c)]));}[a4_0x29602d(0x1b7)](_0x2f4087){const _0x49db22=a4_0x29602d,_0x1ccf67=/^"(?<hook>.*)" hook:.*$/,_0x396d8f=_0x2f4087[_0x49db22(0x254)],_0x17dcc1=_0x396d8f['match'](_0x1ccf67);if(_0x17dcc1&&_0x17dcc1[_0x49db22(0x223)])return _0x17dcc1[_0x49db22(0x223)][_0x49db22(0x20e)][_0x49db22(0x22e)]()[_0x49db22(0x1cb)]('\x20','_');return null;}[a4_0x29602d(0x245)](_0x201f66){const _0x3515ee=a4_0x29602d,_0x1156c8={};_0x1156c8[_0x3515ee(0x1ae)]=function(_0x798699,_0xb3edd2){return _0x798699===_0xb3edd2;},_0x1156c8['qopLv']=_0x3515ee(0x1c7),_0x1156c8['XyzEm']='config';const _0x5ecddb=_0x1156c8,_0x59d70c=path[_0x3515ee(0x262)];if(_0x5ecddb[_0x3515ee(0x1ae)](_0x201f66,null)||_0x5ecddb[_0x3515ee(0x1ae)](_0x201f66,'')||_0x5ecddb[_0x3515ee(0x1ae)](_0x201f66,_0x59d70c)||_0x5ecddb[_0x3515ee(0x1ae)](_0x201f66,path['dirname'](_0x201f66)))return null;try{return fs['statSync'](path[_0x3515ee(0x25a)](_0x201f66,_0x5ecddb[_0x3515ee(0x281)],_0x5ecddb[_0x3515ee(0x1c8)])),_0x201f66;}catch(_0x1f8055){const _0x34490c=path[_0x3515ee(0x271)](_0x201f66);return this[_0x3515ee(0x245)](_0x34490c);}}['getRootParentFile'](_0xdf81a6){const _0x32c314=a4_0x29602d,_0xd2468a={};_0xd2468a[_0x32c314(0x1e6)]=function(_0x1449a3,_0x5112e5){return _0x1449a3>_0x5112e5;};const _0x3f00cf=_0xd2468a;if(_0xdf81a6['file'])return _0xdf81a6['file'];if(_0xdf81a6[_0x32c314(0x273)]){const _0x52b7fa=_0xdf81a6[_0x32c314(0x273)][_0x32c314(0x1fd)]?this[_0x32c314(0x1f8)](_0xdf81a6['ctx'][_0x32c314(0x1fd)]):null;if(_0x52b7fa)return _0x52b7fa;}if(_0xdf81a6[_0x32c314(0x27c)]){const _0x1f8d22=this[_0x32c314(0x1f8)](_0xdf81a6[_0x32c314(0x27c)])||(_0xdf81a6[_0x32c314(0x27c)][_0x32c314(0x273)]&&_0xdf81a6['parent']['ctx'][_0x32c314(0x1fd)]?this[_0x32c314(0x1f8)](_0xdf81a6[_0x32c314(0x27c)][_0x32c314(0x273)]['currentTest']):null);if(_0x1f8d22)return _0x1f8d22;_0xdf81a6['parent'][_0x32c314(0x285)]&&_0x3f00cf[_0x32c314(0x1e6)](_0xdf81a6['parent'][_0x32c314(0x285)][_0x32c314(0x1f1)],0x0)&&_0xdf81a6['parent'][_0x32c314(0x285)][_0x32c314(0x22d)](_0x506331=>{const _0x99e516=_0x32c314,_0x1034bc=_0x506331[_0x99e516(0x273)]?this[_0x99e516(0x1f8)](_0x506331['ctx']):null;if(_0x1034bc)return _0x1034bc;});}return null;}[a4_0x29602d(0x23f)](_0x172c82){const _0x51036e=a4_0x29602d,_0x377e01={};_0x377e01[_0x51036e(0x235)]=function(_0x95337c,_0x27075e){return _0x95337c!==_0x27075e;};const _0x3022db=_0x377e01,_0x33d542=[];if(_0x172c82&&_0x172c82[_0x51036e(0x27c)]){let _0x31d361=_0x172c82[_0x51036e(0x27c)];while(_0x31d361&&_0x3022db[_0x51036e(0x235)](_0x31d361[_0x51036e(0x254)],'')){_0x33d542['push'](_0x31d361[_0x51036e(0x254)]),_0x31d361=_0x31d361[_0x51036e(0x27c)];}}return _0x33d542;}[a4_0x29602d(0x269)](_0x7dd391,_0x558149,_0x2f6e49=undefined){const _0x1946cc=a4_0x29602d,_0xbb1d6f={'vaVhj':function(_0x3f2159,_0x1fda9f){return _0x3f2159(_0x1fda9f);},'kYcCR':function(_0x5a2b9d){return _0x5a2b9d();},'hZOmr':_0x1946cc(0x23c),'Feggl':_0x1946cc(0x237),'qiYQs':function(_0x38f5c4,_0x5431a4){return _0x38f5c4!==_0x5431a4;},'BQonz':'File\x20path\x20could\x20not\x20be\x20found','IojWt':'pending','kCFfh':'failed','KGbYQ':_0x1946cc(0x25d),'BjOqE':'skipped','RGFwX':_0x1946cc(0x233),'BruMV':function(_0x55ade2,_0x2f39c6){return _0x55ade2-_0x2f39c6;},'YOaVb':function(_0x23b2bc,_0x571ad5,_0x377362,_0x5f1713,_0xc75910){return _0x23b2bc(_0x571ad5,_0x377362,_0x5f1713,_0xc75910);},'ynWAe':function(_0x2185fa,_0x25cf4f){return _0x2185fa!==_0x25cf4f;},'WoBcl':_0x1946cc(0x1e0),'BSylk':_0x1946cc(0x283),'TMARv':'failure','BMyWi':_0x1946cc(0x228),'kwYkY':'backtrace','qFaoP':_0x1946cc(0x1f2),'PLkHW':_0x1946cc(0x238),'EGJfS':function(_0x1a237d,_0x4d8a7e){return _0x1a237d===_0x4d8a7e;},'BOwGv':_0x1946cc(0x1c6),'XWXqH':_0x1946cc(0x1b3)};if(!this[_0x1946cc(0x1de)])return;try{if(_0x558149['fn']&&_0x558149['fn'][_0x1946cc(0x230)]()['match'](/browserstack internal helper hook/))return;const _0x81a47=_0xbb1d6f[_0x1946cc(0x258)](parseEvent,_0x7dd391);if(!_0x81a47)return;if(_0x81a47['test']){this[_0x1946cc(0x1fd)]=_0x558149,this[_0x1946cc(0x1df)]=null;if(_0x81a47[_0x1946cc(0x239)]||_0x81a47[_0x1946cc(0x25b)]){_0x558149[_0x1946cc(0x270)]=new Date(),_0x558149['markedStatus']=![];if(!_0x558149[_0x1946cc(0x1e1)])_0x558149[_0x1946cc(0x1e1)]=_0xbb1d6f['kYcCR'](uuidv4);else _0x558149[_0x1946cc(0x24c)]&&(!_0x558149[_0x1946cc(0x1f7)]&&(_0x558149[_0x1946cc(0x1f7)]=_0x558149[_0x1946cc(0x1e1)]),_0x558149[_0x1946cc(0x1e1)]=_0xbb1d6f[_0x1946cc(0x207)](uuidv4));}}else{if(_0x81a47[_0x1946cc(0x20e)]){this[_0x1946cc(0x1df)]=_0x558149;if(_0x81a47[_0x1946cc(0x239)]){_0x558149[_0x1946cc(0x270)]=new Date(),_0x558149[_0x1946cc(0x24c)]=![];if(!_0x558149[_0x1946cc(0x1e7)])_0x558149[_0x1946cc(0x1e7)]=_0xbb1d6f[_0x1946cc(0x207)](uuidv4);else _0x558149['hookAnalyticsId']&&_0x558149[_0x1946cc(0x24c)]&&(_0x558149[_0x1946cc(0x1e7)]=_0xbb1d6f[_0x1946cc(0x207)](uuidv4));}}}if(_0x81a47[_0x1946cc(0x1d2)]&&_0x558149[_0x1946cc(0x24c)])return;let _0x5bdbb6;try{_0x5bdbb6=this[_0x1946cc(0x1f8)](_0x558149);}catch(_0x49bc65){logger[_0x1946cc(0x1b5)](_0x1946cc(0x21a)+_0x49bc65),_0x5bdbb6=null;}const _0x35754a=_0xbb1d6f['vaVhj'](require,_0xbb1d6f[_0x1946cc(0x243)]);let _0x4c01e0=[];_0x2f6e49&&(_0x4c01e0=[_0x2f6e49,_0xbb1d6f[_0x1946cc(0x1a2)]]);const _0x4534f5=_0xbb1d6f[_0x1946cc(0x1a4)](_0x558149['errorsDetailed'],undefined)?_0x35754a[_0x1946cc(0x200)](_0x558149[_0x1946cc(0x276)][0x0]):_0xbb1d6f[_0x1946cc(0x1a4)](_0x2f6e49,undefined)?_0x2f6e49[_0x1946cc(0x230)]():undefined,_0x4f6fbb=_0x5bdbb6?this[_0x1946cc(0x245)](_0x5bdbb6):null,_0x208177=_0x5bdbb6?this[_0x1946cc(0x1ad)][_0x1946cc(0x279)](this['getRootParentFile'](_0x558149)):_0xbb1d6f['BQonz'];let _0x24b31a=_0xbb1d6f[_0x1946cc(0x287)];const _0x369926=!_0x81a47[_0x1946cc(0x239)]?new Date()[_0x1946cc(0x26a)]():null;if(_0x81a47[_0x1946cc(0x1d2)])_0x24b31a=_0x2f6e49?_0xbb1d6f[_0x1946cc(0x260)]:_0xbb1d6f[_0x1946cc(0x210)],_0x558149[_0x1946cc(0x24c)]=!![];else _0x81a47[_0x1946cc(0x25b)]&&(_0x24b31a=_0xbb1d6f['BjOqE'],_0x558149['markedStatus']=!![]);const _0x9fb0ef={'framework':this[_0x1946cc(0x240)],'uuid':_0x558149[_0x1946cc(0x1e1)]||_0x558149[_0x1946cc(0x1e7)],'name':_0x558149['title'],'body':{'lang':_0xbb1d6f['RGFwX'],'code':_0x558149[_0x1946cc(0x251)][_0x1946cc(0x230)]()},'type':_0x558149[_0x1946cc(0x24e)],'scope':_0x558149[_0x1946cc(0x23d)](),'scopes':this[_0x1946cc(0x23f)](_0x558149),'file_name':_0x208177,'vc_filepath':_0x4f6fbb?path[_0x1946cc(0x216)](_0x4f6fbb,_0x5bdbb6):null,'location':_0x208177,'result':_0x24b31a,'failure_reason':_0x4534f5,'duration_in_ms':_0x558149[_0x1946cc(0x1e2)]||(_0x81a47['finished']||_0x81a47[_0x1946cc(0x25b)])?_0xbb1d6f['BruMV'](Date[_0x1946cc(0x1e3)](),new Date(_0x558149[_0x1946cc(0x270)])['getTime']()):null,'started_at':new Date(_0x558149['startedAt'])['toISOString'](),'finished_at':_0x369926,'failure':testOpsHelper['failureData'][_0x1946cc(0x209)](null,_0x4c01e0),'failure_type':!_0x4534f5?null:testOpsHelper[_0x1946cc(0x274)](_0x4534f5),'retry_of':_0x558149['retryOf']||null,'tags':_0x558149[_0x1946cc(0x1dd)]||[],'customRerunParam':{'rerun_name':_0x558149[_0x1946cc(0x23d)]()}};_0xbb1d6f[_0x1946cc(0x1b6)](appendTesthubParams,_0x9fb0ef,_0x7dd391,_0x558149,FRAMEWORKS[_0x1946cc(0x1ce)]);if(_0x81a47[_0x1946cc(0x20e)])[_0x9fb0ef[_0x1946cc(0x221)],_0x9fb0ef[_0x1946cc(0x231)]]=[this[_0x1946cc(0x1b7)](_0x558149),_0x558149['ctx'][_0x1946cc(0x256)][_0x1946cc(0x254)]],_0x81a47[_0x1946cc(0x1d2)]?_0xbb1d6f[_0x1946cc(0x1e5)](_0x9fb0ef[_0x1946cc(0x253)],_0xbb1d6f['kCFfh'])&&(_0x9fb0ef[_0x1946cc(0x253)]=_0xbb1d6f['KGbYQ']):_0x9fb0ef[_0x1946cc(0x251)]={};else _0x81a47[_0x1946cc(0x256)]&&(this[_0x1946cc(0x1a1)](_0x558149),_0x81a47[_0x1946cc(0x25b)]&&this['resetSkipTestHooks'](_0x558149),(_0x81a47[_0x1946cc(0x1d2)]||_0x81a47['skipped'])&&(_0x9fb0ef[_0x1946cc(0x241)]=this['getHooksForTest'](_0x558149)));this[_0x1946cc(0x20d)]&&(_0x81a47[_0x1946cc(0x239)]||_0x81a47[_0x1946cc(0x25b)])&&(_0x9fb0ef[_0xbb1d6f[_0x1946cc(0x27a)]]=this['getCBTInfo'](this[_0x1946cc(0x20d)]));_0x81a47[_0x1946cc(0x256)]&&_0x81a47['finished']&&_0x558149['bddSteps']&&(_0x9fb0ef[_0xbb1d6f[_0x1946cc(0x1af)]]={'feature':{'name':_0x558149[_0x1946cc(0x27c)][_0x1946cc(0x225)][_0x1946cc(0x231)],'path':_0x9fb0ef['file_name'],'description':_0x558149[_0x1946cc(0x27c)][_0x1946cc(0x211)]},'scenario':{'name':_0x558149[_0x1946cc(0x254)]},'steps':_0x558149['bddSteps']});const _0x724ff=_0x9fb0ef[_0xbb1d6f['TMARv']][0x0];_0x724ff&&(_0x9fb0ef[_0xbb1d6f[_0x1946cc(0x1d1)]]=_0x724ff[_0xbb1d6f[_0x1946cc(0x215)]],_0x9fb0ef[_0xbb1d6f[_0x1946cc(0x1cf)]]=_0x724ff[_0xbb1d6f[_0x1946cc(0x247)]]);if(_0x558149[_0x1946cc(0x1fa)])for(const _0x4a6c50 of _0x558149[_0x1946cc(0x1fa)]){!_0x4a6c50['finished_at']&&(_0x4a6c50[_0x1946cc(0x214)]=new Date()['toISOString'](),_0xbb1d6f[_0x1946cc(0x220)](_0x4a6c50[_0x1946cc(0x253)],_0xbb1d6f[_0x1946cc(0x287)])&&(_0x724ff?(_0x4a6c50[_0x1946cc(0x253)]=_0xbb1d6f['kCFfh'],_0x4a6c50[_0x1946cc(0x1a6)]=_0x724ff[_0xbb1d6f['kwYkY']][0x0]):_0x4a6c50[_0x1946cc(0x253)]=_0xbb1d6f[_0x1946cc(0x210)]));}const _0xaf4152={};_0xaf4152[_0x1946cc(0x219)]=_0x81a47[_0x1946cc(0x25b)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x7dd391;const _0x18bfec=_0xaf4152;return _0x81a47[_0x1946cc(0x20e)]?_0x18bfec[_0xbb1d6f['BOwGv']]=_0x9fb0ef:_0x18bfec[_0xbb1d6f[_0x1946cc(0x1c2)]]=_0x9fb0ef,_0x18bfec;}catch(_0x2cb9f8){logger['debug'](_0x1946cc(0x1ec)+_0x7dd391+_0x1946cc(0x23e)+_0x2cb9f8);}}async['fireEvent'](_0x369516,_0xd5124d){const _0x3ca76a=a4_0x29602d;if(!this[_0x3ca76a(0x1de)]||!_0xd5124d||!_0x369516)return![];try{return await SessionHandler['uploadEventData'](_0xd5124d);}catch(_0x516e3b){logger[_0x3ca76a(0x1b5)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x369516+'\x20with\x20error\x20:\x20'+_0x516e3b);}}['initializeBddStep'](_0x355330){const _0x294650=a4_0x29602d,_0x54f1be={};_0x54f1be[_0x294650(0x229)]=_0x294650(0x268);const _0x1db9ea=_0x54f1be;return{'id':_0x355330[_0x294650(0x234)],'text':_0x355330['text'],'keyword':_0x355330[_0x294650(0x1a5)],'started_at':_0x355330['startedAt'][_0x294650(0x26a)](),'result':_0x1db9ea[_0x294650(0x229)]};}[a4_0x29602d(0x19f)](_0x4a06d2){const _0x38a945=a4_0x29602d,_0x2260a1={'niUFr':function(_0x13e2cc){return _0x13e2cc();}};!this[_0x38a945(0x1fd)][_0x38a945(0x1fa)]&&(this['currentTest'][_0x38a945(0x1fa)]=[]),!_0x4a06d2[_0x38a945(0x234)]&&(_0x4a06d2[_0x38a945(0x234)]=_0x2260a1[_0x38a945(0x1fb)](uuidv4),_0x4a06d2[_0x38a945(0x270)]=new Date(),this['currentTest'][_0x38a945(0x1fa)][_0x38a945(0x1d4)](this[_0x38a945(0x21d)](_0x4a06d2)));}[a4_0x29602d(0x224)](_0x2afaf2){const _0x3b437e=a4_0x29602d,_0x46a4e5={'qIQFz':function(_0x21596d,_0x1eb27e){return _0x21596d(_0x1eb27e);},'XPfFp':_0x3b437e(0x1b8),'nhdry':_0x3b437e(0x268),'mGaBT':'passed','SwvJS':function(_0x2f87ca,_0x55489c){return _0x2f87ca-_0x55489c;}};let _0x33cf24=this[_0x3b437e(0x1fd)][_0x3b437e(0x1fa)][_0x3b437e(0x202)](_0x58ed14=>_0x58ed14['id']===_0x2afaf2['stepAnalyticsId']);_0x46a4e5['qIQFz'](isUndefined,_0x33cf24)&&(_0x33cf24=this[_0x3b437e(0x21d)](_0x2afaf2)),_0x33cf24[_0x3b437e(0x253)]=[_0x46a4e5['XPfFp'],_0x46a4e5[_0x3b437e(0x1da)]][_0x3b437e(0x282)](_0x2afaf2[_0x3b437e(0x250)])?_0x46a4e5[_0x3b437e(0x1d5)]:_0x2afaf2['status'],_0x33cf24[_0x3b437e(0x214)]=new Date()[_0x3b437e(0x26a)](),_0x33cf24[_0x3b437e(0x1e2)]=_0x46a4e5[_0x3b437e(0x284)](Date[_0x3b437e(0x1e3)](),_0x2afaf2[_0x3b437e(0x270)][_0x3b437e(0x206)]()),_0x33cf24[_0x3b437e(0x1a6)]=_0x2afaf2[_0x3b437e(0x237)]?_0x2afaf2[_0x3b437e(0x237)][_0x3b437e(0x24f)]:null;}}const a4_0x384531={};a4_0x384531[a4_0x29602d(0x1c3)]=O11yHelper,a4_0x384531[a4_0x29602d(0x267)]=STATE_PASSED,a4_0x384531[a4_0x29602d(0x1bf)]=STATE_FAILED,a4_0x384531['TEST_EVENTS']=TEST_EVENTS,module[a4_0x29602d(0x25f)]=a4_0x384531;
|
|
1
|
+
const a4_0x5de188=a4_0x4cd2;function a4_0x4cd2(_0x4abdbc,_0x1e2a46){const _0x39a4a8=a4_0x39a4();return a4_0x4cd2=function(_0x4cd2e0,_0x9e44bf){_0x4cd2e0=_0x4cd2e0-0x99;let _0x8113fa=_0x39a4a8[_0x4cd2e0];return _0x8113fa;},a4_0x4cd2(_0x4abdbc,_0x1e2a46);}(function(_0x1f1894,_0x24ddcb){const _0x1de073=a4_0x4cd2,_0x1deba5=_0x1f1894();while(!![]){try{const _0x36847b=parseInt(_0x1de073(0xdd))/0x1*(parseInt(_0x1de073(0xbf))/0x2)+-parseInt(_0x1de073(0x132))/0x3*(parseInt(_0x1de073(0x172))/0x4)+-parseInt(_0x1de073(0xca))/0x5*(-parseInt(_0x1de073(0xea))/0x6)+-parseInt(_0x1de073(0x146))/0x7*(-parseInt(_0x1de073(0xb7))/0x8)+parseInt(_0x1de073(0xd1))/0x9+-parseInt(_0x1de073(0x156))/0xa*(-parseInt(_0x1de073(0xc8))/0xb)+parseInt(_0x1de073(0x11e))/0xc*(-parseInt(_0x1de073(0x10e))/0xd);if(_0x36847b===_0x24ddcb)break;else _0x1deba5['push'](_0x1deba5['shift']());}catch(_0x221e19){_0x1deba5['push'](_0x1deba5['shift']());}}}(a4_0x39a4,0xccf98));function a4_0x39a4(){const _0x5d7f26=['integrations','failure_reason_expanded','ctx','cuqVp','hookAnalyticsId','then','rFBJh','../../helpers/test-observability/requestQueueHandler','pXund','BaFwy','now','bddStepStart','comment','file','qXFqW','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','start','IJRFm','87581AbKPgq','pid','toUpperCase','getFailureType','hook','defineProperty','ArziL','xORdX','match','connectOverCDP','retryOf','GdRaM','BnDss','eddhl','launch','HookRunStarted','5796kJFxjC','rHoff','_beforeEach','appendTestItemLog','path','groups','bs:addLog:','mXATZ','relative','afSgW','cPtOj','./helper.js','TEST_RUN_STARTED','prototype','Kvmvx','split','SVwhF','frameworkName','getHooksForTest','push','3ZAElTs','startedAt','IbMcQ','codeceptjs','TestRunSkipped','getTime','failure_backtrace','obsBrowserTypeMockApplied','CODECEPT','xxUvs','hook_run_uuid','WCjEZ','scCEW','klpZx','finished','LogCreated','EmZyS','hooks','test_run','config','186515DpLSJy','location_prefix','CBTSessionCreated','gvkab','pending','resetSkipTestHooks','jlZpR','prefixTestPath','HioEU','logs','_afterEach','__cloud_provider___','fullTitle','ddYGA','title','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','20gzoMgf','body','Pzwzw','findGitConfig','fwcmB','TEST_RUN_SKIPPED','getInstance','WeLrR','Wruhw','testAnalyticsId','jsqsf','_beforeAll','parent','__platformCaps','toISOString','feature','../../helpers/logger','PathHelper','javascript','test','OuPNx','O11yHelper','EtfoL','browserstack','accessibilityPlatform','sep','uuid','../mocha/test-observability/mochaUtils','3758816EVERJm','mapTestHooks','markedStatus','exports','BPgXL','4|5|1|3|0|2','IqlCd','test_run_uuid','status','currentHook','setupBrowserDetails','../../helpers/testhub/utils.js','driver','length','elTOf','ZJqgg','../playwright/accessibility-helper','apply','bddStepFinish','enabled','hook_run','rnlPI','includes','captureEvent','\x20with\x20error\x20:\x20','getRootParentFile','sendCBTInfo','forEach','getHookType','uploadEventData','getHierarchy','statSync','FqTZi','bVXOy','passed','ulGbM','constructor','currentTest','finished_at','expanded','HOOK_RUN_FINISHED','patchConsoleLogger','event_type','CNnrW','unilS','IYXSz','WLNmU','shutdown','../../helpers/test-observability/sessionHandler','../playwright/sessionDetails','XAtKC','vPHbh','File\x20path\x20could\x20not\x20be\x20found','_paths','16JorXet','PLAYWRIGHT_HUB_URL','gzZPS','hook_type','failed\x20to\x20get\x20root\x20parent\x20file\x20','dirname','../utils/constants','failed','80474LTAggz','fsTnJ','stop','TEST_RUN_FINISHED','bddSteps','IIZCC','toLowerCase','RYQaU','STATE_FAILED','4465714mcYMGJ','winstonLogger','1435FfnHFk','skipped','suites','client','connect','err','getCBTInfo','13564755EdstKc','../../helpers/test-observability/utils','mtBna','hLaNm','nOXdD','name','duration','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','wsEndpoint','TestRunFinished','nNTCP','IvDPw','41vNZadR','join','message','_testEnv','HPfBO','IYojf','debug','stepAnalyticsId','toString','Playwright','.git','fScsS','browserType.js','21138qAtJae','kISAW','initializeBddStep','failure','result','HOOK_RUN_STARTED','LnmDB','aximA','HookRunFinished','vHLIQ','string','_afterAll','Not\x20able\x20to\x20import\x20Browser','bQTZe','started','VjCck','meta','YCktX'];a4_0x39a4=function(){return _0x5d7f26;};return a4_0x39a4();}const path=require(a4_0x5de188(0x122)),fs=require('fs'),{v4:uuidv4}=require(a4_0x5de188(0x170)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x5de188(0xd2)),{getTestEnv}=require(a4_0x5de188(0x171)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x5de188(0x166))[a4_0x5de188(0xc9)],SessionHandler=require(a4_0x5de188(0xb1)),RequestQueueHandler=require(a4_0x5de188(0x103)),PlaywrightSessionDetails=require(a4_0x5de188(0xb2)),debug=testOpsHelper[a4_0x5de188(0xe3)],{processAccessibilityCaps}=require(a4_0x5de188(0x182)),Constants=require(a4_0x5de188(0xbd)),{fetchPlatformDetails}=require(a4_0x5de188(0x129)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x5de188(0x17d)),STATE_PASSED=a4_0x5de188(0xa3),STATE_FAILED=a4_0x5de188(0xbe),a4_0x4d6ded={};a4_0x4d6ded[a4_0x5de188(0x12a)]='TestRunStarted',a4_0x4d6ded[a4_0x5de188(0xc2)]=a4_0x5de188(0xda),a4_0x4d6ded[a4_0x5de188(0x15b)]=a4_0x5de188(0x136),a4_0x4d6ded[a4_0x5de188(0xef)]=a4_0x5de188(0x11d),a4_0x4d6ded[a4_0x5de188(0xa9)]=a4_0x5de188(0xf2);const TEST_EVENTS=a4_0x4d6ded,parseEvent=_0x4b8e79=>{const _0x50f070=a4_0x5de188,_0x4ddc91={};_0x4ddc91[_0x50f070(0x15a)]=function(_0x513e6a,_0x5893a8){return _0x513e6a<_0x5893a8;},_0x4ddc91[_0x50f070(0x13e)]=function(_0x9ebb84,_0x13165b){return _0x9ebb84===_0x13165b;},_0x4ddc91[_0x50f070(0x104)]=_0x50f070(0x169),_0x4ddc91[_0x50f070(0x114)]='hook',_0x4ddc91[_0x50f070(0xfb)]=_0x50f070(0xcb),_0x4ddc91[_0x50f070(0x105)]=function(_0x3f96ff,_0x441563){return _0x3f96ff===_0x441563;},_0x4ddc91[_0x50f070(0xdb)]=_0x50f070(0xf8),_0x4ddc91['FbDRW']=function(_0x5831e9,_0x534aa9){return _0x5831e9===_0x534aa9;},_0x4ddc91[_0x50f070(0x15e)]='finished';const _0x3cb755=_0x4ddc91,_0x3a025d=_0x4b8e79[_0x50f070(0x116)](/^(.*)Run(.*)$/);if(!_0x3a025d)return null;if(_0x3cb755[_0x50f070(0x15a)](_0x3a025d[_0x50f070(0x17f)],0x3))return null;const _0xc7be3a=_0x3a025d[0x1][_0x50f070(0xc5)](),_0x2d4d76=_0x3a025d[0x2][_0x50f070(0xc5)]();return{'test':_0x3cb755[_0x50f070(0x13e)](_0xc7be3a,_0x3cb755[_0x50f070(0x104)]),'hook':_0x3cb755[_0x50f070(0x13e)](_0xc7be3a,_0x3cb755[_0x50f070(0x114)]),'skipped':_0x3cb755[_0x50f070(0x13e)](_0x2d4d76,_0x3cb755[_0x50f070(0xfb)]),'started':_0x3cb755['BaFwy'](_0x2d4d76,_0x3cb755[_0x50f070(0xdb)]),'finished':_0x3cb755['FbDRW'](_0x2d4d76,_0x3cb755[_0x50f070(0x15e)])};},mockPWBrowserType=_0x9637d4=>{const _0x486faf=a4_0x5de188,_0x206bcb={'gzZPS':function(_0x2c1fc1,_0x46bb46){return _0x2c1fc1===_0x46bb46;},'VVXhP':_0x486faf(0xf4),'ZyvsC':function(_0x3cfc15,_0x440194,_0x2c2e87){return _0x3cfc15(_0x440194,_0x2c2e87);},'XjMTY':_0x486faf(0xd9),'XAtKC':function(_0x2f6f3c,_0x5ee948){return _0x2f6f3c(_0x5ee948);},'SVwhF':_0x486faf(0x16d),'DVBmK':function(_0x31b0a7,_0xe7af71,_0x3d98f){return _0x31b0a7(_0xe7af71,_0x3d98f);},'HioEU':'lib','cuqVp':_0x486faf(0xcd),'xxUvs':_0x486faf(0xe9),'bQTZe':function(_0x466ff9,_0x5abd84){return _0x466ff9(_0x5abd84);},'ddYGA':_0x486faf(0xf6),'BPgXL':_0x486faf(0xce),'mtBna':_0x486faf(0x11c)},_0x39f978=path[_0x486faf(0xde)](_0x206bcb[_0x486faf(0x14e)],_0x206bcb[_0x486faf(0xff)],_0x206bcb[_0x486faf(0x13b)]),_0x5f63c1=_0x206bcb['XAtKC'](importFileFromPWCore,_0x39f978);if(!_0x5f63c1){_0x206bcb[_0x486faf(0xf7)](debug,_0x206bcb[_0x486faf(0x153)]);return;}const _0x150c93=_0x5f63c1['BrowserType'],_0x59a94e=_0x150c93[_0x486faf(0x12b)];if(_0x59a94e[_0x486faf(0x139)])return;const _0x3c85cf=_0x59a94e[_0x486faf(0xce)];Object[_0x486faf(0x113)](_0x59a94e,_0x206bcb[_0x486faf(0x176)],{'get':function(){const _0x42a10f=_0x486faf,_0x323e74={'EtfoL':function(_0x405f6e,_0x523518){const _0x31436c=a4_0x4cd2;return _0x206bcb[_0x31436c(0xb9)](_0x405f6e,_0x523518);},'aximA':_0x206bcb['VVXhP'],'JDnzf':function(_0x232826,_0x1ee5dc,_0xe23c48){return _0x206bcb['ZyvsC'](_0x232826,_0x1ee5dc,_0xe23c48);},'vPHbh':_0x206bcb['XjMTY'],'RYQaU':function(_0x1726d1,_0x4e0f09){const _0x5c7c59=a4_0x4cd2;return _0x206bcb[_0x5c7c59(0xb3)](_0x1726d1,_0x4e0f09);},'IbMcQ':_0x206bcb[_0x42a10f(0x12e)],'pidYF':function(_0x2b7eda,_0x28844a,_0x421866){return _0x206bcb['DVBmK'](_0x2b7eda,_0x28844a,_0x421866);}};return async function _0x5435e5(_0x18b8d2,_0x2a61ca){const _0x35f08e=_0x42a10f,_0x9b2d88=_0x323e74['JDnzf'](nestedKeyValue,_0x18b8d2,[_0x323e74[_0x35f08e(0xb4)]])||_0x18b8d2;let _0x3de3da=null,_0x5ed3f2=null;try{[_0x5ed3f2,_0x3de3da]=_0x9b2d88?_0x323e74[_0x35f08e(0xc6)](parseWSEndpoint,_0x9b2d88):[null,null],global[_0x35f08e(0x163)]=_0x3de3da,_0x5ed3f2[_0x35f08e(0x188)](_0x323e74[_0x35f08e(0x134)])&&(global[_0x35f08e(0x151)]=_0x323e74[_0x35f08e(0x134)]);}catch(_0x43556e){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x9b2d88+'\x20'+_0x43556e);}_0x323e74['pidYF'](processAccessibilityCaps,_0x3de3da,_0x5ed3f2);if(global[_0x35f08e(0x16e)]){const _0x3102e4=await _0x59a94e[_0x35f08e(0x117)]['apply'](this,[''+Constants[_0x35f08e(0xb8)]+_0x323e74[_0x35f08e(0xc6)](encodeURIComponent,JSON['stringify'](_0x3de3da))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x3102e4,_0x9637d4,_0x9b2d88),_0x3102e4;}return _0x3c85cf[_0x35f08e(0x183)](this,arguments)[_0x35f08e(0x101)](_0x46d644=>{const _0x44a91d=_0x35f08e;let _0x483f5b=_0x18b8d2[_0x44a91d(0xd9)];return _0x323e74[_0x44a91d(0x16c)](typeof _0x18b8d2,_0x323e74[_0x44a91d(0xf1)])&&(_0x483f5b=_0x18b8d2),PlaywrightSessionDetails[_0x44a91d(0x17c)](_0x46d644,_0x9637d4,_0x483f5b),_0x46d644;});};}});const _0x1496cd=_0x59a94e[_0x486faf(0x11c)];Object[_0x486faf(0x113)](_0x59a94e,_0x206bcb[_0x486faf(0xd3)],{'get':function(){return async function _0x1b359b(){const _0x1947de=a4_0x4cd2;return _0x1496cd[_0x1947de(0x183)](this,arguments)[_0x1947de(0x101)](_0x20d69d=>{const _0x2567dd=_0x1947de;return PlaywrightSessionDetails[_0x2567dd(0x17c)](_0x20d69d,null),_0x20d69d;});};}});};class O11yHelper{[a4_0x5de188(0xa6)]=null;['currentHook']=null;['enabled']=![];[a4_0x5de188(0x12f)]=![];constructor(_0x4fea5e,_0x23f745){const _0x5b78a1=a4_0x5de188,_0x4e57c1={'WCjEZ':_0x5b78a1(0x177),'klpZx':function(_0x1246e9,_0x52145c){return _0x1246e9===_0x52145c;},'Pzwzw':_0x5b78a1(0xe6),'AOgxe':function(_0x2c9170,_0x12ae1b){return _0x2c9170(_0x12ae1b);},'wACEl':function(_0x1394d7){return _0x1394d7();}},_0x57b4ef=_0x4e57c1[_0x5b78a1(0x13d)][_0x5b78a1(0x12d)]('|');let _0x4cb0c0=0x0;while(!![]){switch(_0x57b4ef[_0x4cb0c0++]){case'0':this['_paths']=new testOpsHelper[(_0x5b78a1(0x167))]({'cwd':process['cwd']()},this[_0x5b78a1(0xe0)][_0x5b78a1(0x147)]);continue;case'1':this[_0x5b78a1(0x17e)]=_0x4fea5e;continue;case'2':this[_0x5b78a1(0x17e)]&&_0x4e57c1[_0x5b78a1(0x13f)](this[_0x5b78a1(0x17e)][_0x5b78a1(0xa5)]['name'],_0x4e57c1[_0x5b78a1(0x158)])&&_0x4e57c1['AOgxe'](mockPWBrowserType,null);continue;case'3':this['_testEnv']=_0x4e57c1['wACEl'](getTestEnv);continue;case'4':this[_0x5b78a1(0x185)]=_0x4e57c1['wACEl'](shouldProcessEventForTesthub);continue;case'5':this[_0x5b78a1(0x12f)]=_0x23f745[_0x5b78a1(0x12f)];continue;}break;}}[a4_0x5de188(0x10c)](){const _0x117026=a4_0x5de188;if(!this['enabled'])return;testOpsHelper[_0x117026(0xaa)](),process['removeAllListeners'](_0x117026(0x124)+process[_0x117026(0x10f)]),process['on'](_0x117026(0x124)+process[_0x117026(0x10f)],this[_0x117026(0x121)]['bind'](this));}async[a4_0x5de188(0xc1)](){const _0x5a197b=a4_0x5de188;await RequestQueueHandler[_0x5a197b(0x15c)]()[_0x5a197b(0xb0)]();}async['appendTestItemLog'](_0x2848ff){const _0x64d58e=a4_0x5de188,_0xd63586={'hgVXr':_0x64d58e(0x141),'GeVdV':function(_0x380aa1,_0x46733f){return _0x380aa1(_0x46733f);}};try{this[_0x64d58e(0x17b)]&&!this['currentHook'][_0x64d58e(0x174)]&&(_0x2848ff[_0x64d58e(0x13c)]=this[_0x64d58e(0x17b)]['hookAnalyticsId']);!_0x2848ff[_0x64d58e(0x13c)]&&this['currentTest']&&!this[_0x64d58e(0xa6)][_0x64d58e(0x174)]&&(_0x2848ff[_0x64d58e(0x179)]=this[_0x64d58e(0xa6)]['testAnalyticsId']);if(_0x2848ff[_0x64d58e(0x13c)]||_0x2848ff['test_run_uuid']){const _0x402390={};_0x402390[_0x64d58e(0xab)]=_0xd63586['hgVXr'],_0x402390[_0x64d58e(0x14f)]=[_0x2848ff],await SessionHandler['uploadEventData'](_0x402390);}}catch(_0x5810bc){_0xd63586['GeVdV'](debug,_0x64d58e(0x155)+_0x5810bc);}}async[a4_0x5de188(0x9b)](_0x54f6b1){const _0x31b1ca=a4_0x5de188,_0x326b49={'ZJqgg':_0x31b1ca(0x148),'IYXSz':function(_0xdbaafe,_0x4f896a){return _0xdbaafe(_0x4f896a);}};if(!this[_0x31b1ca(0x185)])return;const _0x412006=this[_0x31b1ca(0xd0)](this['driver']);try{const _0x426b03={};_0x426b03[_0x31b1ca(0x170)]=_0x54f6b1,_0x426b03[_0x31b1ca(0xfc)]=_0x412006;const _0x2b4f53=_0x426b03,_0x197edd={};_0x197edd[_0x31b1ca(0xab)]=_0x326b49[_0x31b1ca(0x181)],_0x197edd[_0x31b1ca(0x144)]=_0x2b4f53,await SessionHandler[_0x31b1ca(0x9e)](_0x197edd);}catch(_0x246ab9){_0x326b49[_0x31b1ca(0xae)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x246ab9);}}[a4_0x5de188(0xd0)](_0x4f14c3){const _0x2da414={'rgHCc':function(_0x1d008b,_0x4610f9){return _0x1d008b(_0x4610f9);}};return _0x2da414['rgHCc'](fetchPlatformDetails,_0x4f14c3);}[a4_0x5de188(0x14b)]=_0x3ee2c9=>{const _0x219d13=a4_0x5de188,_0x59ae6b={};_0x59ae6b['EmjFe']=_0x219d13(0x120),_0x59ae6b[_0x219d13(0xf0)]=_0x219d13(0x150);const _0x115334=_0x59ae6b;if(!_0x3ee2c9||!_0x3ee2c9[_0x219d13(0x162)])return;[_0x115334['EmjFe'],_0x115334['LnmDB']]['forEach'](_0x2616d8=>{const _0x30c0a2=_0x3ee2c9['parent'][_0x2616d8];_0x30c0a2['forEach'](_0x2e2745=>{const _0x10463f=a4_0x4cd2;_0x2e2745['hookAnalyticsId']&&(_0x2e2745[_0x10463f(0x100)]=null);});});};['mapTestHooks'](_0x189a1b){const _0x2155a5=a4_0x5de188,_0x3d5221={'Jckiy':_0x2155a5(0x135),'unilS':function(_0x34bb73){return _0x34bb73();},'xUBLQ':function(_0xeb3184,_0x38be39){return _0xeb3184===_0x38be39;},'WLNmU':_0x2155a5(0x150),'IJRFm':function(_0xf909cb){return _0xf909cb();},'xORdX':_0x2155a5(0x161),'Cqlfp':_0x2155a5(0xf5),'eSGSs':_0x2155a5(0x120)};if(!_0x189a1b||!_0x189a1b[_0x2155a5(0x162)])return;[_0x3d5221[_0x2155a5(0x115)],_0x3d5221['Cqlfp'],_0x3d5221['eSGSs'],_0x3d5221[_0x2155a5(0xaf)]][_0x2155a5(0x9c)](_0x45fdc6=>{const _0x360609=_0x2155a5,_0x3efaac=_0x189a1b[_0x360609(0x162)][_0x45fdc6]||[];_0x3efaac[_0x360609(0x9c)](_0x40f6f0=>{const _0x55318b=_0x360609;if(_0x40f6f0[_0x55318b(0x154)]['includes'](_0x3d5221['Jckiy']))return;if(!_0x40f6f0['hookAnalyticsId'])_0x40f6f0[_0x55318b(0x100)]=_0x3d5221[_0x55318b(0xad)](uuidv4);else _0x40f6f0['markedStatus']&&_0x3d5221['xUBLQ'](_0x45fdc6,_0x3d5221[_0x55318b(0xaf)])&&(_0x40f6f0[_0x55318b(0x100)]=_0x3d5221[_0x55318b(0x10d)](uuidv4),delete _0x40f6f0[_0x55318b(0x174)]);});}),this[_0x2155a5(0x173)](_0x189a1b[_0x2155a5(0x162)]);}[a4_0x5de188(0x130)](_0x148183){const _0x9d0145=a4_0x5de188,_0x113acc={};_0x113acc[_0x9d0145(0x10a)]=_0x9d0145(0x161),_0x113acc['gvkab']=_0x9d0145(0xf5),_0x113acc['rHoff']=_0x9d0145(0x120),_0x113acc[_0x9d0145(0xe8)]=_0x9d0145(0x150);const _0xded0e=_0x113acc;if(!_0x148183||!_0x148183[_0x9d0145(0x162)])return[];const _0x3f746c=[];return[_0xded0e['qXFqW'],_0xded0e[_0x9d0145(0x149)],_0xded0e[_0x9d0145(0x11f)],_0xded0e['fScsS']]['forEach'](_0x3bcb8e=>{const _0x1a6869=_0x9d0145,_0x584745=_0x148183[_0x1a6869(0x162)][_0x3bcb8e]||[];_0x584745[_0x1a6869(0x9c)](_0x5f5044=>{const _0x3067bf=_0x1a6869;_0x5f5044[_0x3067bf(0x100)]&&_0x3f746c['push'](_0x5f5044['hookAnalyticsId']);});}),[]['concat'](_0x3f746c,this['getHooksForTest'](_0x148183[_0x9d0145(0x162)]));}[a4_0x5de188(0x9d)](_0x3f842e){const _0x31a781=a4_0x5de188,_0x50b24e=/^"(?<hook>.*)" hook:.*$/,_0x313785=_0x3f842e[_0x31a781(0x154)],_0x242ecd=_0x313785[_0x31a781(0x116)](_0x50b24e);if(_0x242ecd&&_0x242ecd[_0x31a781(0x123)])return _0x242ecd['groups'][_0x31a781(0x112)][_0x31a781(0x110)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x1cf6d9){const _0x3385c7=a4_0x5de188,_0xf144ff={};_0xf144ff[_0x3385c7(0xc0)]=function(_0x4068eb,_0x4f0e9c){return _0x4068eb===_0x4f0e9c;},_0xf144ff[_0x3385c7(0xc4)]=function(_0x6caeff,_0x4c8540){return _0x6caeff===_0x4c8540;},_0xf144ff[_0x3385c7(0xdc)]=_0x3385c7(0xe7),_0xf144ff[_0x3385c7(0xd4)]=_0x3385c7(0x145);const _0xe6fb1=_0xf144ff,_0x40a5d3=path[_0x3385c7(0x16f)];if(_0xe6fb1[_0x3385c7(0xc0)](_0x1cf6d9,null)||_0xe6fb1['fsTnJ'](_0x1cf6d9,'')||_0xe6fb1[_0x3385c7(0xc4)](_0x1cf6d9,_0x40a5d3)||_0xe6fb1[_0x3385c7(0xc4)](_0x1cf6d9,path['dirname'](_0x1cf6d9)))return null;try{return fs[_0x3385c7(0xa0)](path[_0x3385c7(0xde)](_0x1cf6d9,_0xe6fb1['IvDPw'],_0xe6fb1[_0x3385c7(0xd4)])),_0x1cf6d9;}catch(_0x8ef5d7){const _0x1afab0=path[_0x3385c7(0xbc)](_0x1cf6d9);return this[_0x3385c7(0x159)](_0x1afab0);}}[a4_0x5de188(0x9a)](_0xbd5ded){const _0x42e019=a4_0x5de188,_0x24b60f={};_0x24b60f[_0x42e019(0x127)]=function(_0x470433,_0x42bcc6){return _0x470433>_0x42bcc6;};const _0x523120=_0x24b60f;if(_0xbd5ded[_0x42e019(0x109)])return _0xbd5ded[_0x42e019(0x109)];if(_0xbd5ded[_0x42e019(0xfe)]){const _0x5f3e3f=_0xbd5ded[_0x42e019(0xfe)]['currentTest']?this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0xfe)][_0x42e019(0xa6)]):null;if(_0x5f3e3f)return _0x5f3e3f;}if(_0xbd5ded['parent']){const _0x2fd8cc=this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0x162)])||(_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)]&&_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)][_0x42e019(0xa6)]?this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)][_0x42e019(0xa6)]):null);if(_0x2fd8cc)return _0x2fd8cc;_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xcc)]&&_0x523120[_0x42e019(0x127)](_0xbd5ded[_0x42e019(0x162)]['suites'][_0x42e019(0x17f)],0x0)&&_0xbd5ded['parent'][_0x42e019(0xcc)][_0x42e019(0x9c)](_0x16ab6d=>{const _0x1a4e3d=_0x42e019,_0x54216c=_0x16ab6d[_0x1a4e3d(0xfe)]?this[_0x1a4e3d(0x9a)](_0x16ab6d['ctx']):null;if(_0x54216c)return _0x54216c;});}return null;}[a4_0x5de188(0x9f)](_0x25062f){const _0xd539e1=a4_0x5de188,_0x208230={};_0x208230[_0xd539e1(0x16a)]=function(_0x23f309,_0x739d0a){return _0x23f309!==_0x739d0a;};const _0x2bbbcd=_0x208230,_0x21d05b=[];if(_0x25062f&&_0x25062f[_0xd539e1(0x162)]){let _0x23a509=_0x25062f[_0xd539e1(0x162)];while(_0x23a509&&_0x2bbbcd['OuPNx'](_0x23a509['title'],'')){_0x21d05b[_0xd539e1(0x131)](_0x23a509[_0xd539e1(0x154)]),_0x23a509=_0x23a509[_0xd539e1(0x162)];}}return _0x21d05b;}[a4_0x5de188(0x189)](_0x14f440,_0x2b79a0,_0x3645ae=undefined){const _0x5bc8c1=a4_0x5de188,_0xa457f9={'WeLrR':function(_0xa75b52,_0x25c43c){return _0xa75b52(_0x25c43c);},'nOXdD':function(_0x408349){return _0x408349();},'Kvmvx':function(_0x170fe1){return _0x170fe1();},'jlZpR':function(_0x4652ff,_0xf33494){return _0x4652ff(_0xf33494);},'JhbjY':'util','CNnrW':_0x5bc8c1(0xcf),'pIEWC':function(_0x5b8e3d,_0x47b3dc){return _0x5b8e3d!==_0x47b3dc;},'eddhl':function(_0x20871d,_0x294fd2){return _0x20871d!==_0x294fd2;},'vHLIQ':_0x5bc8c1(0xb5),'AoIXS':_0x5bc8c1(0x14a),'IqlCd':_0x5bc8c1(0xbe),'kISAW':'passed','bXUBk':_0x5bc8c1(0xcb),'bVXOy':_0x5bc8c1(0x168),'FqTZi':function(_0x1fe082,_0xd95a3f){return _0x1fe082-_0xd95a3f;},'yTSpX':function(_0x226b2f,_0xed3c0a,_0x2472c3,_0x4b3a3d,_0x2da71b){return _0x226b2f(_0xed3c0a,_0x2472c3,_0x4b3a3d,_0x2da71b);},'heXpo':function(_0xc160e7,_0x11720f){return _0xc160e7!==_0x11720f;},'mXATZ':_0x5bc8c1(0xfc),'VjCck':_0x5bc8c1(0xfa),'IYojf':_0x5bc8c1(0xed),'ulGbM':_0x5bc8c1(0x138),'BnDss':'backtrace','cpnaK':_0x5bc8c1(0xfd),'rFBJh':_0x5bc8c1(0xa8),'xrDJt':function(_0xc6d8f1,_0x4a181f){return _0xc6d8f1===_0x4a181f;},'elTOf':_0x5bc8c1(0x186),'ABylT':_0x5bc8c1(0x144)};if(!this['enabled'])return;try{if(_0x2b79a0['fn']&&_0x2b79a0['fn'][_0x5bc8c1(0xe5)]()['match'](/browserstack internal helper hook/))return;const _0x1ff207=_0xa457f9[_0x5bc8c1(0x15d)](parseEvent,_0x14f440);if(!_0x1ff207)return;if(_0x1ff207[_0x5bc8c1(0x169)]){this[_0x5bc8c1(0xa6)]=_0x2b79a0,this[_0x5bc8c1(0x17b)]=null;if(_0x1ff207[_0x5bc8c1(0xf8)]||_0x1ff207[_0x5bc8c1(0xcb)]){_0x2b79a0[_0x5bc8c1(0x133)]=new Date(),_0x2b79a0[_0x5bc8c1(0x174)]=![];if(!_0x2b79a0[_0x5bc8c1(0x15f)])_0x2b79a0['testAnalyticsId']=_0xa457f9[_0x5bc8c1(0xd5)](uuidv4);else _0x2b79a0['markedStatus']&&(!_0x2b79a0[_0x5bc8c1(0x118)]&&(_0x2b79a0[_0x5bc8c1(0x118)]=_0x2b79a0['testAnalyticsId']),_0x2b79a0[_0x5bc8c1(0x15f)]=_0xa457f9[_0x5bc8c1(0xd5)](uuidv4));}}else{if(_0x1ff207[_0x5bc8c1(0x112)]){this[_0x5bc8c1(0x17b)]=_0x2b79a0;if(_0x1ff207[_0x5bc8c1(0xf8)]){_0x2b79a0['startedAt']=new Date(),_0x2b79a0[_0x5bc8c1(0x174)]=![];if(!_0x2b79a0[_0x5bc8c1(0x100)])_0x2b79a0['hookAnalyticsId']=_0xa457f9[_0x5bc8c1(0x12c)](uuidv4);else _0x2b79a0[_0x5bc8c1(0x100)]&&_0x2b79a0[_0x5bc8c1(0x174)]&&(_0x2b79a0[_0x5bc8c1(0x100)]=_0xa457f9[_0x5bc8c1(0x12c)](uuidv4));}}}if(_0x1ff207[_0x5bc8c1(0x140)]&&_0x2b79a0[_0x5bc8c1(0x174)])return;let _0x4b3220;try{_0x4b3220=this[_0x5bc8c1(0x9a)](_0x2b79a0);}catch(_0x3db474){logger[_0x5bc8c1(0xe3)](_0x5bc8c1(0xbb)+_0x3db474),_0x4b3220=null;}const _0x1244e7=_0xa457f9[_0x5bc8c1(0x14c)](require,_0xa457f9['JhbjY']);let _0x3bfedc=[];_0x3645ae&&(_0x3bfedc=[_0x3645ae,_0xa457f9[_0x5bc8c1(0xac)]]);const _0x24184c=_0xa457f9['pIEWC'](_0x2b79a0['errorsDetailed'],undefined)?_0x1244e7['inspect'](_0x2b79a0['errorsDetailed'][0x0]):_0xa457f9[_0x5bc8c1(0x11b)](_0x3645ae,undefined)?_0x3645ae[_0x5bc8c1(0xe5)]():undefined,_0x4fd4d5=_0x4b3220?this[_0x5bc8c1(0x159)](_0x4b3220):null,_0x2e7dd9=_0x4b3220?this[_0x5bc8c1(0xb6)][_0x5bc8c1(0x14d)](this[_0x5bc8c1(0x9a)](_0x2b79a0)):_0xa457f9[_0x5bc8c1(0xf3)];let _0x616d88=_0xa457f9['AoIXS'];const _0x2d7c56=!_0x1ff207[_0x5bc8c1(0xf8)]?new Date()[_0x5bc8c1(0x164)]():null;if(_0x1ff207['finished'])_0x616d88=_0x3645ae?_0xa457f9[_0x5bc8c1(0x178)]:_0xa457f9['kISAW'],_0x2b79a0[_0x5bc8c1(0x174)]=!![];else _0x1ff207[_0x5bc8c1(0xcb)]&&(_0x616d88=_0xa457f9['bXUBk'],_0x2b79a0[_0x5bc8c1(0x174)]=!![]);const _0x38068={'framework':this[_0x5bc8c1(0x12f)],'uuid':_0x2b79a0['testAnalyticsId']||_0x2b79a0['hookAnalyticsId'],'name':_0x2b79a0[_0x5bc8c1(0x154)],'body':{'lang':_0xa457f9[_0x5bc8c1(0xa2)],'code':_0x2b79a0['body']['toString']()},'type':_0x2b79a0['type'],'scope':_0x2b79a0['fullTitle'](),'scopes':this['getHierarchy'](_0x2b79a0),'file_name':_0x2e7dd9,'vc_filepath':_0x4fd4d5?path[_0x5bc8c1(0x126)](_0x4fd4d5,_0x4b3220):null,'location':_0x2e7dd9,'result':_0x616d88,'failure_reason':_0x24184c,'duration_in_ms':_0x2b79a0[_0x5bc8c1(0xd7)]||(_0x1ff207['finished']||_0x1ff207['skipped'])?_0xa457f9[_0x5bc8c1(0xa1)](Date['now'](),new Date(_0x2b79a0[_0x5bc8c1(0x133)])['getTime']()):null,'started_at':new Date(_0x2b79a0[_0x5bc8c1(0x133)])[_0x5bc8c1(0x164)](),'finished_at':_0x2d7c56,'failure':testOpsHelper['failureData']['apply'](null,_0x3bfedc),'failure_type':!_0x24184c?null:testOpsHelper[_0x5bc8c1(0x111)](_0x24184c),'retry_of':_0x2b79a0[_0x5bc8c1(0x118)]||null,'tags':_0x2b79a0['tags']||[],'customRerunParam':{'rerun_name':_0x2b79a0[_0x5bc8c1(0x152)]()}};_0xa457f9['yTSpX'](appendTesthubParams,_0x38068,_0x14f440,_0x2b79a0,FRAMEWORKS[_0x5bc8c1(0x13a)]);if(_0x1ff207[_0x5bc8c1(0x112)])[_0x38068[_0x5bc8c1(0xba)],_0x38068[_0x5bc8c1(0xd6)]]=[this['getHookType'](_0x2b79a0),_0x2b79a0[_0x5bc8c1(0xfe)][_0x5bc8c1(0x169)][_0x5bc8c1(0x154)]],_0x1ff207[_0x5bc8c1(0x140)]?_0xa457f9['heXpo'](_0x38068[_0x5bc8c1(0xee)],_0xa457f9['IqlCd'])&&(_0x38068['result']=_0xa457f9[_0x5bc8c1(0xeb)]):_0x38068[_0x5bc8c1(0x157)]={};else _0x1ff207[_0x5bc8c1(0x169)]&&(this[_0x5bc8c1(0x173)](_0x2b79a0),_0x1ff207['skipped']&&this[_0x5bc8c1(0x14b)](_0x2b79a0),(_0x1ff207[_0x5bc8c1(0x140)]||_0x1ff207[_0x5bc8c1(0xcb)])&&(_0x38068[_0x5bc8c1(0x143)]=this[_0x5bc8c1(0x130)](_0x2b79a0)));this[_0x5bc8c1(0x17e)]&&(_0x1ff207[_0x5bc8c1(0xf8)]||_0x1ff207[_0x5bc8c1(0xcb)])&&(_0x38068[_0xa457f9[_0x5bc8c1(0x125)]]=this['getCBTInfo'](this[_0x5bc8c1(0x17e)]));_0x1ff207['test']&&_0x1ff207[_0x5bc8c1(0x140)]&&_0x2b79a0[_0x5bc8c1(0xc3)]&&(_0x38068[_0xa457f9[_0x5bc8c1(0xf9)]]={'feature':{'name':_0x2b79a0[_0x5bc8c1(0x162)][_0x5bc8c1(0x165)][_0x5bc8c1(0xd6)],'path':_0x38068['file_name'],'description':_0x2b79a0['parent'][_0x5bc8c1(0x108)]},'scenario':{'name':_0x2b79a0[_0x5bc8c1(0x154)]},'steps':_0x2b79a0[_0x5bc8c1(0xc3)]});const _0x41c4df=_0x38068[_0xa457f9[_0x5bc8c1(0xe2)]][0x0];_0x41c4df&&(_0x38068[_0xa457f9[_0x5bc8c1(0xa4)]]=_0x41c4df[_0xa457f9[_0x5bc8c1(0x11a)]],_0x38068[_0xa457f9['cpnaK']]=_0x41c4df[_0xa457f9[_0x5bc8c1(0x102)]]);if(_0x2b79a0['bddSteps'])for(const _0x277a5d of _0x2b79a0[_0x5bc8c1(0xc3)]){!_0x277a5d[_0x5bc8c1(0xa7)]&&(_0x277a5d[_0x5bc8c1(0xa7)]=new Date()[_0x5bc8c1(0x164)](),_0xa457f9['xrDJt'](_0x277a5d[_0x5bc8c1(0xee)],_0xa457f9['AoIXS'])&&(_0x41c4df?(_0x277a5d[_0x5bc8c1(0xee)]=_0xa457f9[_0x5bc8c1(0x178)],_0x277a5d['failure']=_0x41c4df[_0xa457f9[_0x5bc8c1(0x11a)]][0x0]):_0x277a5d['result']=_0xa457f9[_0x5bc8c1(0xeb)]));}const _0x365530={};_0x365530['event_type']=_0x1ff207[_0x5bc8c1(0xcb)]?TEST_EVENTS[_0x5bc8c1(0xc2)]:_0x14f440;const _0x4ccfea=_0x365530;return _0x1ff207[_0x5bc8c1(0x112)]?_0x4ccfea[_0xa457f9[_0x5bc8c1(0x180)]]=_0x38068:_0x4ccfea[_0xa457f9['ABylT']]=_0x38068,_0x4ccfea;}catch(_0x3a4260){logger['debug'](_0x5bc8c1(0xd8)+_0x14f440+_0x5bc8c1(0x99)+_0x3a4260);}}async['fireEvent'](_0x362a60,_0x5536bd){const _0x4de71f=a4_0x5de188;if(!this[_0x4de71f(0x185)]||!_0x5536bd||!_0x362a60)return![];try{return await SessionHandler[_0x4de71f(0x9e)](_0x5536bd);}catch(_0x5eddf1){logger[_0x4de71f(0xe3)](_0x4de71f(0x10b)+_0x362a60+_0x4de71f(0x99)+_0x5eddf1);}}[a4_0x5de188(0xec)](_0x2fc106){const _0x245fa5=a4_0x5de188,_0x49d61c={};_0x49d61c[_0x245fa5(0x119)]=_0x245fa5(0x14a);const _0x2efb58=_0x49d61c;return{'id':_0x2fc106[_0x245fa5(0xe4)],'text':_0x2fc106['text'],'keyword':_0x2fc106['keyword'],'started_at':_0x2fc106['startedAt'][_0x245fa5(0x164)](),'result':_0x2efb58[_0x245fa5(0x119)]};}[a4_0x5de188(0x107)](_0x315250){const _0x4c8b14=a4_0x5de188,_0x5dd203={'jsqsf':function(_0x215071){return _0x215071();}};!this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)]&&(this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)]=[]),!_0x315250['stepAnalyticsId']&&(_0x315250['stepAnalyticsId']=_0x5dd203[_0x4c8b14(0x160)](uuidv4),_0x315250[_0x4c8b14(0x133)]=new Date(),this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)][_0x4c8b14(0x131)](this['initializeBddStep'](_0x315250)));}[a4_0x5de188(0x184)](_0x4223a1){const _0x1f4dbe=a4_0x5de188,_0x3e5972={'HPfBO':function(_0x52e7ab,_0x9a1d10){return _0x52e7ab(_0x9a1d10);},'EmZyS':'success','rnlPI':_0x1f4dbe(0x14a),'NxkIg':_0x1f4dbe(0xa3),'cPtOj':function(_0x5abe62,_0x16bbbb){return _0x5abe62-_0x16bbbb;}};let _0xd4eca8=this[_0x1f4dbe(0xa6)]['bddSteps']['find'](_0x587e25=>_0x587e25['id']===_0x4223a1[_0x1f4dbe(0xe4)]);_0x3e5972[_0x1f4dbe(0xe1)](isUndefined,_0xd4eca8)&&(_0xd4eca8=this[_0x1f4dbe(0xec)](_0x4223a1)),_0xd4eca8['result']=[_0x3e5972[_0x1f4dbe(0x142)],_0x3e5972[_0x1f4dbe(0x187)]][_0x1f4dbe(0x188)](_0x4223a1['status'])?_0x3e5972['NxkIg']:_0x4223a1[_0x1f4dbe(0x17a)],_0xd4eca8['finished_at']=new Date()['toISOString'](),_0xd4eca8[_0x1f4dbe(0xd7)]=_0x3e5972[_0x1f4dbe(0x128)](Date[_0x1f4dbe(0x106)](),_0x4223a1[_0x1f4dbe(0x133)][_0x1f4dbe(0x137)]()),_0xd4eca8[_0x1f4dbe(0xed)]=_0x4223a1[_0x1f4dbe(0xcf)]?_0x4223a1[_0x1f4dbe(0xcf)][_0x1f4dbe(0xdf)]:null;}}const a4_0x36ad29={};a4_0x36ad29[a4_0x5de188(0x16b)]=O11yHelper,a4_0x36ad29['STATE_PASSED']=STATE_PASSED,a4_0x36ad29[a4_0x5de188(0xc7)]=STATE_FAILED,a4_0x36ad29['TEST_EVENTS']=TEST_EVENTS,module[a4_0x5de188(0x175)]=a4_0x36ad29;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x21e991=a5_0x5aa7;(function(_0x3c07af,_0x3285bb){const _0x38f337=a5_0x5aa7,_0x4a9f7b=_0x3c07af();while(!![]){try{const _0x2b1d36=parseInt(_0x38f337(0x1c3))/0x1*(parseInt(_0x38f337(0x1ea))/0x2)+-parseInt(_0x38f337(0x20b))/0x3*(-parseInt(_0x38f337(0x1f9))/0x4)+parseInt(_0x38f337(0x20a))/0x5+-parseInt(_0x38f337(0x1f4))/0x6+parseInt(_0x38f337(0x1bb))/0x7+parseInt(_0x38f337(0x1b2))/0x8*(-parseInt(_0x38f337(0x212))/0x9)+parseInt(_0x38f337(0x1fd))/0xa*(-parseInt(_0x38f337(0x1eb))/0xb);if(_0x2b1d36===_0x3285bb)break;else _0x4a9f7b['push'](_0x4a9f7b['shift']());}catch(_0x4db1d3){_0x4a9f7b['push'](_0x4a9f7b['shift']());}}}(a5_0x4bed,0xda733));const fs=require('fs'),path=require(a5_0x21e991(0x1d6)),util=require('util'),logger=require(a5_0x21e991(0x211))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x21e991(0x1c5)),helper=require(a5_0x21e991(0x1a9)),utilities=require(a5_0x21e991(0x1e9)),constants=require('../utils/constants'),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x21e991(0x1c1)),testOpsHelper=require(a5_0x21e991(0x1e7)),chalk=require('chalk'),PerformanceTester=require(a5_0x21e991(0x21a)),PerformanceEvents=require(a5_0x21e991(0x20c))[a5_0x21e991(0x1ef)];function printCucumberStats(_0x2dc375){const _0x332e0e=a5_0x21e991,_0x5c87f1={};_0x5c87f1['qYdKH']=function(_0x39abee,_0x1556df){return _0x39abee>_0x1556df;},_0x5c87f1['wNIPC']=function(_0x584e2d,_0x155c00){return _0x584e2d-_0x155c00;},_0x5c87f1['hwzzM']=function(_0x4c3605,_0x2e0b29){return _0x4c3605>_0x2e0b29;},_0x5c87f1[_0x332e0e(0x1d4)]=function(_0x79883b,_0x2f9608){return _0x79883b>_0x2f9608;},_0x5c87f1[_0x332e0e(0x1c2)]=function(_0xfaf4b0,_0xb5c701){return _0xfaf4b0>_0xb5c701;},_0x5c87f1['qKujj']=function(_0x379399,_0x3dfdc4){return _0x379399>_0x3dfdc4;},_0x5c87f1[_0x332e0e(0x1d8)]=function(_0x1db1d2,_0x5a7e3e){return _0x1db1d2>_0x5a7e3e;},_0x5c87f1[_0x332e0e(0x1c9)]=function(_0xb61ea,_0x3cb958){return _0xb61ea+_0x3cb958;},_0x5c87f1[_0x332e0e(0x1be)]=function(_0x11391e,_0xd74e1d){return _0x11391e+_0xd74e1d;},_0x5c87f1[_0x332e0e(0x1d5)]=function(_0x595440,_0x334cf1){return _0x595440+_0x334cf1;},_0x5c87f1[_0x332e0e(0x1b3)]=function(_0x54ab53,_0x51dac7){return _0x54ab53+_0x51dac7;},_0x5c87f1[_0x332e0e(0x21f)]=function(_0x4cc939,_0x416d2f){return _0x4cc939===_0x416d2f;},_0x5c87f1[_0x332e0e(0x1fa)]=function(_0x3a5d98,_0xc959ea){return _0x3a5d98===_0xc959ea;},_0x5c87f1[_0x332e0e(0x1f1)]=_0x332e0e(0x20e);const _0x3aa3e8=_0x5c87f1;let _0x123bec=0x0;if(_0x3aa3e8[_0x332e0e(0x1fa)](_0x2dc375[_0x332e0e(0x21c)],0x0))return _0x123bec;return console['log'](chalk[_0x332e0e(0x1b5)][_0x332e0e(0x1f3)](_0x3aa3e8[_0x332e0e(0x1f1)])),_0x2dc375[_0x332e0e(0x1cf)](_0x1e35d3=>{const _0x2b146c=_0x332e0e,_0x5d790e=_0x1e35d3[0x0],_0x2a9381=_0x1e35d3[0x1];console[_0x2b146c(0x1c8)]('\x0a'+chalk[_0x2b146c(0x1b5)][_0x2b146c(0x1b1)](''+helper[_0x2b146c(0x209)](_0x5d790e)));const _0x4dc6f0=_0x2a9381[_0x2b146c(0x1c6)],_0x51ec69=_0x2a9381[_0x2b146c(0x1b7)],_0x318223=_0x2a9381[_0x2b146c(0x1ee)],_0x1cfd23=_0x2a9381[_0x2b146c(0x1c4)],_0x2ff243=_0x2a9381['stepsPassed'],_0x16f5bb=_0x2a9381[_0x2b146c(0x21d)],_0xbcaac6=_0x2a9381['stepsPending'],_0x5b0608=_0x2a9381[_0x2b146c(0x219)],_0x3c7e89=_0x2a9381[_0x2b146c(0x213)],_0x5e0688=_0x2a9381[_0x2b146c(0x1f5)],_0x1cea23=_0x2a9381[_0x2b146c(0x1de)];let _0x17099d=_0x4dc6f0+'\x20scenarios';const _0x259306=_0x3aa3e8[_0x2b146c(0x1d9)](_0x3aa3e8[_0x2b146c(0x1ac)](_0x4dc6f0,_0x318223),0x0)?_0x3aa3e8[_0x2b146c(0x1ac)](_0x4dc6f0,_0x318223):0x0;if(_0x3aa3e8['qYdKH'](_0x318223,0x0)&&_0x3aa3e8[_0x2b146c(0x1d9)](_0x259306,0x0))_0x17099d+='\x20('+chalk[_0x2b146c(0x1b5)]['red'](_0x318223+'\x20failed')+',\x20'+chalk[_0x2b146c(0x1b5)][_0x2b146c(0x20f)](_0x259306+_0x2b146c(0x1db))+')';else(_0x3aa3e8[_0x2b146c(0x1e1)](_0x318223,0x0)||_0x3aa3e8[_0x2b146c(0x1d4)](_0x259306,0x0))&&(_0x17099d+=_0x3aa3e8['Tlquk'](_0x318223,0x0)?'\x20('+chalk[_0x2b146c(0x1b5)][_0x2b146c(0x1ca)](_0x318223+_0x2b146c(0x218))+')':'\x20('+chalk[_0x2b146c(0x1b5)]['green'](_0x259306+_0x2b146c(0x1db))+')');const _0x456c7a=_0x51ec69+_0x2b146c(0x1d2),_0x255d2f=[];_0x3aa3e8[_0x2b146c(0x1d9)](_0x5e0688,0x0)&&_0x255d2f['push'](''+chalk[_0x2b146c(0x1b5)][_0x2b146c(0x1ca)](_0x5e0688+_0x2b146c(0x1ce)));_0x3aa3e8['wAfRq'](_0x1cfd23,0x0)&&_0x255d2f[_0x2b146c(0x216)](''+chalk['bold'][_0x2b146c(0x1ca)](_0x1cfd23+_0x2b146c(0x218)));_0x3aa3e8['qKujj'](_0x2ff243,0x0)&&_0x255d2f[_0x2b146c(0x216)](''+chalk['bold'][_0x2b146c(0x20f)](_0x2ff243+'\x20passed'));_0x3aa3e8[_0x2b146c(0x1c2)](_0xbcaac6,0x0)&&_0x255d2f['push'](''+chalk[_0x2b146c(0x1b5)][_0x2b146c(0x1b1)](_0xbcaac6+_0x2b146c(0x206)));_0x3aa3e8[_0x2b146c(0x1d8)](_0x16f5bb,0x0)&&_0x255d2f[_0x2b146c(0x216)](''+chalk[_0x2b146c(0x1b5)]['cyan'](_0x16f5bb+_0x2b146c(0x214)));_0x3aa3e8[_0x2b146c(0x1d9)](_0x5b0608,0x0)&&_0x255d2f[_0x2b146c(0x216)](''+chalk[_0x2b146c(0x1b5)][_0x2b146c(0x1b1)](_0x5b0608+_0x2b146c(0x1ad)));_0x3aa3e8[_0x2b146c(0x1e1)](_0x3c7e89,0x0)&&_0x255d2f[_0x2b146c(0x216)](''+chalk[_0x2b146c(0x1b5)][_0x2b146c(0x1b1)](_0x3c7e89+_0x2b146c(0x214)));const _0x6a2faa=_0x3aa3e8[_0x2b146c(0x1c9)](_0x3aa3e8[_0x2b146c(0x1c9)](_0x3aa3e8['sYISX'](_0x456c7a,'('),_0x255d2f[_0x2b146c(0x1a8)](',\x20')),')');console['log'](_0x3aa3e8[_0x2b146c(0x1be)](_0x3aa3e8[_0x2b146c(0x1d5)](_0x3aa3e8[_0x2b146c(0x1be)](_0x3aa3e8[_0x2b146c(0x1b3)]('\x0a',_0x17099d),'\x0a'),_0x6a2faa),'\x0a')),_0x3aa3e8[_0x2b146c(0x21f)](_0x1cea23,![])&&(_0x123bec=0x1);}),_0x123bec;}function a5_0x5aa7(_0x2d20e9,_0x286892){const _0x4bedb7=a5_0x4bed();return a5_0x5aa7=function(_0x5aa7f4,_0x178d0f){_0x5aa7f4=_0x5aa7f4-0x1a8;let _0xd5d1f9=_0x4bedb7[_0x5aa7f4];return _0xd5d1f9;},a5_0x5aa7(_0x2d20e9,_0x286892);}async function run(_0x4b8d1a,_0x15feac){const _0x327e71=a5_0x21e991,_0x29f8ce={'nOhdd':function(_0x5d062b,_0x5ba4cd){return _0x5d062b(_0x5ba4cd);},'xWhNW':function(_0x154173,_0x1f04a7){return _0x154173>_0x1f04a7;},'MNKBA':_0x327e71(0x1b8),'qQrIX':_0x327e71(0x1e0),'sXiQa':_0x327e71(0x208),'wuQXR':_0x327e71(0x1aa),'szBli':_0x327e71(0x1e5),'KkaCO':'tmp','slinM':function(_0xb6b7e0,_0x2a98fe){return _0xb6b7e0-_0x2a98fe;},'huPgu':function(_0x5c7013,_0x2dc864){return _0x5c7013>=_0x2dc864;},'ppKVz':function(_0x5a7d84,_0x22c8fe){return _0x5a7d84!=_0x22c8fe;},'cYYic':_0x327e71(0x1f2),'uAKdY':function(_0x23ed7b,_0x3e2426,_0x5bd1b5,_0x5b3f54,_0x56f345,_0x135a60){return _0x23ed7b(_0x3e2426,_0x5bd1b5,_0x5b3f54,_0x56f345,_0x135a60);}},_0x5a2386=new BrowserStackSetup(_0x4b8d1a,_0x29f8ce[_0x327e71(0x1e6)]);await _0x5a2386[_0x327e71(0x1f0)](),helper[_0x327e71(0x1fb)](_0x5a2386[_0x327e71(0x1af)],_0x4b8d1a);!helper[_0x327e71(0x1ec)]()&&await _0x5a2386['setupTCGAuth']();await helper[_0x327e71(0x1d3)](_0x5a2386[_0x327e71(0x1e2)]);const _0x1c0130=helper[_0x327e71(0x1d1)](_0x5a2386[_0x327e71(0x1e2)]),_0x427558=helper[_0x327e71(0x1e3)](_0x5a2386[_0x327e71(0x1e2)],_0x1c0130,constants[_0x327e71(0x1dc)][_0x327e71(0x210)]);if(!_0x5a2386['config'])return;const _0x133e3f=_0x5a2386[_0x327e71(0x1e2)]['parallelsPerPlatform']||helper[_0x327e71(0x20d)](_0x4b8d1a,_0x15feac,_0x5a2386[_0x327e71(0x1e2)],constants[_0x327e71(0x1dc)][_0x327e71(0x210)])||0x1,_0x12517f={'server':helper[_0x327e71(0x1bc)](_0x5a2386['config']),'proxySettings':_0x5a2386[_0x327e71(0x1e2)][_0x327e71(0x1da)],'maxWorkers':_0x133e3f,'browserStackLogLevel':_0x5a2386[_0x327e71(0x1e2)][_0x327e71(0x1c7)],'skipSessionName':_0x5a2386[_0x327e71(0x1e2)][_0x327e71(0x201)][_0x327e71(0x207)],'skipSessionStatus':_0x5a2386['config'][_0x327e71(0x201)][_0x327e71(0x21e)],'turboScaleUrl':_0x5a2386[_0x327e71(0x1e2)]['turboScaleUrl']},_0x45741f=process[_0x327e71(0x1b9)],[_0x50e9ee,_0x258c6e]=helper[_0x327e71(0x204)](_0x45741f),_0x3029f3=path[_0x327e71(0x1a8)](process[_0x327e71(0x1dd)](),_0x29f8ce['KkaCO']);if(_0x29f8ce['xWhNW'](_0x258c6e[_0x327e71(0x21c)],0x0)){helper['createDir'](_0x3029f3);for(let _0xbe2138=_0x29f8ce[_0x327e71(0x1fe)](_0x50e9ee[_0x327e71(0x21c)],0x1);_0x29f8ce[_0x327e71(0x217)](_0xbe2138,0x0);_0xbe2138--){_0x45741f[_0x327e71(0x1b0)](_0x50e9ee[_0xbe2138],0x2);}}!helper[_0x327e71(0x1c0)](_0x5a2386['config']['accessibilityOptions'])&&(process[_0x327e71(0x200)][_0x327e71(0x1b6)]=JSON['stringify'](_0x5a2386[_0x327e71(0x1e2)][_0x327e71(0x1bf)]));_0x29f8ce['ppKVz'](_0x5a2386[_0x327e71(0x1e2)][_0x327e71(0x1cb)],null)?process[_0x327e71(0x200)][_0x327e71(0x1bd)]=_0x5a2386[_0x327e71(0x1e2)][_0x327e71(0x1cb)]:process[_0x327e71(0x200)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x29f8ce[_0x327e71(0x21b)];const _0xd53e6f=await TestHubHandler[_0x327e71(0x1f8)](constants[_0x327e71(0x1dc)]['CUCUMBER'],_0x5a2386);PerformanceTester['end'](PerformanceEvents[_0x327e71(0x205)]);let _0x20294a;_0x29f8ce[_0x327e71(0x1f6)](parallelCucumberRun,_0x427558,_0x12517f,_0x5a2386[_0x327e71(0x1e2)],_0x45741f,_0x258c6e)[_0x327e71(0x1e8)](async _0x3f64f8=>{const _0xbc1514=_0x327e71;PerformanceTester['start'](PerformanceEvents[_0xbc1514(0x1df)]),_0x20294a=_0x3f64f8;const _0x4ecb7a=_0x29f8ce['nOhdd'](printCucumberStats,_0x3f64f8);process['exitCode']=_0x4ecb7a,_0x29f8ce[_0xbc1514(0x203)](_0x258c6e[_0xbc1514(0x21c)],0x0)&&(logger[_0xbc1514(0x1cd)](_0x29f8ce['MNKBA']),helper[_0xbc1514(0x1ab)](_0x3029f3,_0x258c6e),logger['debug'](_0x29f8ce['qQrIX']),helper[_0xbc1514(0x1ba)](_0x3029f3));})[_0x327e71(0x1d7)](async()=>{const _0x2a0c68=_0x327e71;PerformanceTester[_0x2a0c68(0x202)](PerformanceEvents[_0x2a0c68(0x1df)]),_0x5a2386['errorMessage']=helper[_0x2a0c68(0x215)](_0x20294a,_0x29f8ce[_0x2a0c68(0x1ae)]),testOpsHelper[_0x2a0c68(0x1cc)]();try{await TestHubHandler[_0x2a0c68(0x1f7)]();}catch(_0x4f6a04){logger[_0x2a0c68(0x1cd)](_0x2a0c68(0x1e4)+util['format'](_0x4f6a04));}try{const {browserstackFolderPath:_0x4623bf,tcgConfigPath:_0x1ade8a}=helper['getTCGConfigFilePaths']();fs[_0x2a0c68(0x1fc)](_0x1ade8a),fs[_0x2a0c68(0x1d0)](_0x4623bf);}catch(_0x3ec69a){logger[_0x2a0c68(0x1cd)](_0x29f8ce[_0x2a0c68(0x1b4)],_0x3ec69a);}await utilities[_0x2a0c68(0x1ed)](_0x5a2386);});}module[a5_0x21e991(0x1ff)]=run;function a5_0x4bed(){const _0x29e361=['SDK_CLEANUP','Removing\x20tmp\x20directory\x20created\x20for\x20reports','hwzzM','config','prepareCapabilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','cucumber-js','szBli','../../helpers/test-observability/utils','then','../../helpers/utilities','569866BbqoZX','374tRexjm','isBrowserstackInfra','finalExecution','scenariosFailed','EVENTS','initialize','qsxQE','true','bgWhite','8584362UEVVZI','stepsAmbiguous','uAKdY','stop','launchBuild','5795580YPXlqQ','mSLJq','setUserConfigPath','unlinkSync','213980erNxdl','slinM','exports','env','testContextOptions','start','xWhNW','parseFormatters','SDK_SETUP','\x20pending','skipSessionName','cucumber','getPlatformName','4091260cSGTFG','3tzTyHd','../../helpers/performance/constants','getUserWorkerCount','****\x20RESULTS\x20****','green','CUCUMBER','../../helpers/logger','9hAyhlX','stepsUnknown','\x20skipped','getErrorMessageFromResults','push','huPgu','\x20failed','stepsUndefined','../../helpers/performance/performance-tester','cYYic','length','stepsSkipped','skipSessionStatus','gCAco','join','../../helpers/helper','error\x20removing\x20tcg\x20config\x20file','mergeOutputFiles','wNIPC','\x20undefined','sXiQa','framework','splice','yellow','11679240KpdCnw','pmwwd','wuQXR','bold','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','steps','Generating\x20consolidated\x20report...','argv','removeDir','5747861MFIlKA','getHubUrl','BROWSERSTACK_TEST_OBSERVABILITY_YML','sYISX','accessibilityOptions','isUndefined','../../helpers/testhub/testhubHandler','wAfRq','5iIREdN','stepsFailed','../../helpers/BrowserStackSetup','scenarios','logLevel','log','oydMl','red','testObservability','printBuildLink','debug','\x20ambiguous','forEach','rmdirSync','useW3C','\x20steps','handleApp','Tlquk','XHUZp','path','finally','jhVvm','qYdKH','proxySettings','\x20passed','FRAMEWORKS','cwd','processSuccess'];a5_0x4bed=function(){return _0x29e361;};return a5_0x4bed();}
|
|
2
|
+
'use strict';const a5_0x42646e=a5_0x18a1;(function(_0x479eb3,_0x1f10be){const _0x7f80b7=a5_0x18a1,_0x1bbbf9=_0x479eb3();while(!![]){try{const _0xad891e=parseInt(_0x7f80b7(0x178))/0x1+-parseInt(_0x7f80b7(0x168))/0x2+parseInt(_0x7f80b7(0x141))/0x3+-parseInt(_0x7f80b7(0x157))/0x4*(-parseInt(_0x7f80b7(0x147))/0x5)+-parseInt(_0x7f80b7(0x14b))/0x6*(-parseInt(_0x7f80b7(0x14a))/0x7)+parseInt(_0x7f80b7(0x150))/0x8+-parseInt(_0x7f80b7(0x13f))/0x9;if(_0xad891e===_0x1f10be)break;else _0x1bbbf9['push'](_0x1bbbf9['shift']());}catch(_0x1be3e6){_0x1bbbf9['push'](_0x1bbbf9['shift']());}}}(a5_0x30e8,0x3cf4e));const fs=require('fs'),path=require(a5_0x42646e(0x155)),util=require(a5_0x42646e(0x197)),logger=require(a5_0x42646e(0x13d))[a5_0x42646e(0x165)],{default:BrowserStackSetup}=require(a5_0x42646e(0x131)),helper=require(a5_0x42646e(0x170)),utilities=require('../../helpers/utilities'),constants=require(a5_0x42646e(0x148)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x42646e(0x129)),testOpsHelper=require(a5_0x42646e(0x152)),chalk=require(a5_0x42646e(0x146)),PerformanceTester=require(a5_0x42646e(0x11d)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x42646e(0x13c)];function a5_0x18a1(_0xc4424b,_0x1568a9){const _0x30e8ff=a5_0x30e8();return a5_0x18a1=function(_0x18a11f,_0x45f474){_0x18a11f=_0x18a11f-0x11b;let _0x9b8c3=_0x30e8ff[_0x18a11f];return _0x9b8c3;},a5_0x18a1(_0xc4424b,_0x1568a9);}function printCucumberStats(_0x4fbda6){const _0x2640e9=a5_0x42646e,_0x5caac1={};_0x5caac1[_0x2640e9(0x184)]=function(_0x4b04ff,_0x376ad8){return _0x4b04ff>_0x376ad8;},_0x5caac1['kWNOo']=function(_0x8c3804,_0x2d7adb){return _0x8c3804-_0x2d7adb;},_0x5caac1['iScFC']=function(_0x3ff432,_0x173d17){return _0x3ff432-_0x173d17;},_0x5caac1[_0x2640e9(0x194)]=function(_0x311454,_0x234b89){return _0x311454>_0x234b89;},_0x5caac1[_0x2640e9(0x134)]=function(_0x488e8a,_0x403077){return _0x488e8a>_0x403077;},_0x5caac1[_0x2640e9(0x188)]=function(_0x2d630f,_0x38dee1){return _0x2d630f>_0x38dee1;},_0x5caac1[_0x2640e9(0x138)]=function(_0xd886ac,_0xaf0013){return _0xd886ac>_0xaf0013;},_0x5caac1[_0x2640e9(0x142)]=function(_0x4a284c,_0x22f88c){return _0x4a284c>_0x22f88c;},_0x5caac1[_0x2640e9(0x16c)]=function(_0x129f86,_0x4dcf3c){return _0x129f86>_0x4dcf3c;},_0x5caac1[_0x2640e9(0x17f)]=function(_0x5b6c40,_0x155e7a){return _0x5b6c40>_0x155e7a;},_0x5caac1[_0x2640e9(0x122)]=function(_0x2b69b1,_0x1e11c3){return _0x2b69b1>_0x1e11c3;},_0x5caac1['ijMJM']=function(_0x1f2d6f,_0x795b9a){return _0x1f2d6f+_0x795b9a;},_0x5caac1[_0x2640e9(0x16a)]=function(_0x18bc9f,_0x250e8a){return _0x18bc9f+_0x250e8a;},_0x5caac1['MEdoQ']=function(_0x154642,_0x33decb){return _0x154642+_0x33decb;},_0x5caac1[_0x2640e9(0x143)]=function(_0x336294,_0x1aecae){return _0x336294===_0x1aecae;},_0x5caac1[_0x2640e9(0x16d)]=function(_0x2cc8a6,_0x9c4c44){return _0x2cc8a6===_0x9c4c44;},_0x5caac1[_0x2640e9(0x195)]=_0x2640e9(0x144);const _0x4a5de8=_0x5caac1;let _0x50a4b4=0x0;if(_0x4a5de8['ASQGA'](_0x4fbda6[_0x2640e9(0x133)],0x0))return _0x50a4b4;return console[_0x2640e9(0x180)](chalk['bold'][_0x2640e9(0x18c)](_0x4a5de8[_0x2640e9(0x195)])),_0x4fbda6[_0x2640e9(0x139)](_0x2f46b4=>{const _0x57178d=_0x2640e9,_0x55a43c=_0x2f46b4[0x0],_0x98d560=_0x2f46b4[0x1];console[_0x57178d(0x180)]('\x0a'+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](''+helper['getPlatformName'](_0x55a43c)));const _0x1a1b25=_0x98d560['scenarios'],_0x21a945=_0x98d560[_0x57178d(0x186)],_0x51cc36=_0x98d560[_0x57178d(0x187)],_0x5b89d7=_0x98d560[_0x57178d(0x15e)],_0x20dc30=_0x98d560[_0x57178d(0x17b)],_0x3f3941=_0x98d560[_0x57178d(0x172)],_0xbac289=_0x98d560['stepsPending'],_0x1e7ed1=_0x98d560[_0x57178d(0x145)],_0x54808e=_0x98d560[_0x57178d(0x12d)],_0x148d4f=_0x98d560[_0x57178d(0x15c)],_0x352fe0=_0x98d560['processSuccess'];let _0x307b22=_0x1a1b25+_0x57178d(0x128);const _0x211e9f=_0x4a5de8[_0x57178d(0x184)](_0x4a5de8[_0x57178d(0x135)](_0x1a1b25,_0x51cc36),0x0)?_0x4a5de8[_0x57178d(0x17e)](_0x1a1b25,_0x51cc36):0x0;if(_0x4a5de8[_0x57178d(0x194)](_0x51cc36,0x0)&&_0x4a5de8[_0x57178d(0x134)](_0x211e9f,0x0))_0x307b22+='\x20('+chalk[_0x57178d(0x166)][_0x57178d(0x153)](_0x51cc36+_0x57178d(0x154))+',\x20'+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x211e9f+_0x57178d(0x11b))+')';else(_0x4a5de8['otsKS'](_0x51cc36,0x0)||_0x4a5de8[_0x57178d(0x138)](_0x211e9f,0x0))&&(_0x307b22+=_0x4a5de8[_0x57178d(0x138)](_0x51cc36,0x0)?'\x20('+chalk[_0x57178d(0x166)]['red'](_0x51cc36+_0x57178d(0x154))+')':'\x20('+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x211e9f+'\x20passed')+')');const _0x43a99d=_0x21a945+_0x57178d(0x11e),_0x41b19d=[];_0x4a5de8[_0x57178d(0x188)](_0x148d4f,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk['bold'][_0x57178d(0x153)](_0x148d4f+_0x57178d(0x171)));_0x4a5de8['otsKS'](_0x5b89d7,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)]['red'](_0x5b89d7+'\x20failed'));_0x4a5de8['PHNTI'](_0x20dc30,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x20dc30+_0x57178d(0x11b)));_0x4a5de8['NHalv'](_0xbac289,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk['bold'][_0x57178d(0x11c)](_0xbac289+_0x57178d(0x11f)));_0x4a5de8['XFxTJ'](_0x3f3941,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x182)](_0x3f3941+_0x57178d(0x123)));_0x4a5de8[_0x57178d(0x142)](_0x1e7ed1,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](_0x1e7ed1+_0x57178d(0x158)));_0x4a5de8[_0x57178d(0x122)](_0x54808e,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](_0x54808e+_0x57178d(0x123)));const _0x39b91e=_0x4a5de8['ijMJM'](_0x4a5de8[_0x57178d(0x18e)](_0x4a5de8[_0x57178d(0x16a)](_0x43a99d,'('),_0x41b19d['join'](',\x20')),')');console[_0x57178d(0x180)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x16a)]('\x0a',_0x307b22),'\x0a'),_0x39b91e),'\x0a')),_0x4a5de8[_0x57178d(0x143)](_0x352fe0,![])&&(_0x50a4b4=0x1);}),_0x50a4b4;}function a5_0x30e8(){const _0x53122e=['debug','SDK_CLEANUP','kFtqm','bgWhite','getUserWorkerCount','ijMJM','testObservability','true','argv','UNYHX','getHubUrl','oXMOQ','xnwdT','config','util','\x20passed','yellow','../../helpers/performance/performance-tester','\x20steps','\x20pending','errorMessage','cwd','Guxxl','\x20skipped','parallelsPerPlatform','getTCGConfigFilePaths','start','green','\x20scenarios','../../helpers/testhub/testhubHandler','setUserConfigPath','join','dtoyB','stepsUnknown','xGpoe','isBrowserstackInfra','FRAMEWORKS','../../helpers/BrowserStackSetup','dLHKK','length','NoMEQ','kWNOo','WemGW','push','PhYCu','forEach','fTVEe','tmp','EVENTS','../../helpers/logger','removeDir','7238394QrvlFq','mergeOutputFiles','1098816OPNDQD','PHNTI','XAiWw','****\x20RESULTS\x20****','stepsUndefined','chalk','1629280eiRlvE','../utils/constants','cihsu','1829681gaWBVk','6GFQBrE','finalExecution','format','Removing\x20tmp\x20directory\x20created\x20for\x20reports','QFGPx','1837264oBBMmm','prepareCapabilities','../../helpers/test-observability/utils','red','\x20failed','path','createDir','4xCqWFa','\x20undefined','turboScaleUrl','logLevel','launchBuild','stepsAmbiguous','printBuildLink','stepsFailed','unlinkSync','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','skipSessionStatus','accessibilityOptions','MEdoQ','winstonLogger','bold','RlAuw','820006UqTRcn','env','WRCnz','XVZwz','NHalv','ASQGA','getErrorMessageFromResults','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/helper','\x20ambiguous','stepsSkipped','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','yLYNS','setupTCGAuth','proxySettings','handleApp','280778ctCvjt','initialize','exports','stepsPassed','CUCUMBER','RSmpX','iScFC','XFxTJ','log','stop','cyan','splice','yMlPK','testContextOptions','steps','scenariosFailed','otsKS'];a5_0x30e8=function(){return _0x53122e;};return a5_0x30e8();}async function run(_0x371ff3,_0xb327cc){const _0xbaed6b=a5_0x42646e,_0x128f07={'cihsu':function(_0x5b49c0,_0x3f6bc6){return _0x5b49c0(_0x3f6bc6);},'WemGW':function(_0x50fbba,_0x3089e7){return _0x50fbba>_0x3089e7;},'xGpoe':'Generating\x20consolidated\x20report...','QFGPx':_0xbaed6b(0x14e),'UNYHX':'cucumber','fTVEe':_0xbaed6b(0x160),'RSmpX':'cucumber-js','RlAuw':_0xbaed6b(0x13b),'XVZwz':function(_0x262e39,_0x366af6){return _0x262e39-_0x366af6;},'dtoyB':function(_0x8dbf5b,_0x2163a6){return _0x8dbf5b>=_0x2163a6;},'dLHKK':function(_0x539e84,_0x488f5c){return _0x539e84!=_0x488f5c;},'yLYNS':_0xbaed6b(0x190),'kFtqm':function(_0x26f43b,_0x47e896,_0x25ac18,_0x151f56,_0x5c3cb5,_0x215c3d){return _0x26f43b(_0x47e896,_0x25ac18,_0x151f56,_0x5c3cb5,_0x215c3d);}},_0x744367=new BrowserStackSetup(_0x371ff3,_0x128f07[_0xbaed6b(0x17d)]);await _0x744367[_0xbaed6b(0x179)](),helper[_0xbaed6b(0x12a)](_0x744367['framework'],_0x371ff3);!helper[_0xbaed6b(0x12f)]()&&await _0x744367[_0xbaed6b(0x175)]();await helper[_0xbaed6b(0x177)](_0x744367[_0xbaed6b(0x196)]);const _0x16fd84=helper['useW3C'](_0x744367['config']),_0x55f5c6=helper[_0xbaed6b(0x151)](_0x744367[_0xbaed6b(0x196)],_0x16fd84,constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)]);if(!_0x744367['config'])return;const _0x513bdc=_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x124)]||helper[_0xbaed6b(0x18d)](_0x371ff3,_0xb327cc,_0x744367[_0xbaed6b(0x196)],constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)])||0x1,_0x184d70={'server':helper[_0xbaed6b(0x193)](_0x744367[_0xbaed6b(0x196)]),'proxySettings':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x176)],'maxWorkers':_0x513bdc,'browserStackLogLevel':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x15a)],'skipSessionName':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x185)]['skipSessionName'],'skipSessionStatus':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x185)][_0xbaed6b(0x162)],'turboScaleUrl':_0x744367['config'][_0xbaed6b(0x159)]},_0x53c8f5=process[_0xbaed6b(0x191)],[_0x19d72c,_0x446d5c]=helper['parseFormatters'](_0x53c8f5),_0x10966c=path[_0xbaed6b(0x12b)](process[_0xbaed6b(0x121)](),_0x128f07[_0xbaed6b(0x167)]);if(_0x128f07[_0xbaed6b(0x136)](_0x446d5c['length'],0x0)){helper[_0xbaed6b(0x156)](_0x10966c);for(let _0x1b951e=_0x128f07[_0xbaed6b(0x16b)](_0x19d72c[_0xbaed6b(0x133)],0x1);_0x128f07[_0xbaed6b(0x12c)](_0x1b951e,0x0);_0x1b951e--){_0x53c8f5[_0xbaed6b(0x183)](_0x19d72c[_0x1b951e],0x2);}}!helper['isUndefined'](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x163)])&&(process['env'][_0xbaed6b(0x161)]=JSON['stringify'](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x163)]));_0x128f07[_0xbaed6b(0x132)](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x18f)],null)?process[_0xbaed6b(0x169)][_0xbaed6b(0x16f)]=_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x18f)]:process['env'][_0xbaed6b(0x16f)]=_0x128f07[_0xbaed6b(0x174)];const _0x258cae=await TestHubHandler[_0xbaed6b(0x15b)](constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)],_0x744367);PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x3b7e8c;_0x128f07[_0xbaed6b(0x18b)](parallelCucumberRun,_0x55f5c6,_0x184d70,_0x744367[_0xbaed6b(0x196)],_0x53c8f5,_0x446d5c)['then'](async _0x14d6a7=>{const _0x2f3703=_0xbaed6b;PerformanceTester[_0x2f3703(0x126)](PerformanceEvents[_0x2f3703(0x18a)]),_0x3b7e8c=_0x14d6a7;const _0x363c9d=_0x128f07[_0x2f3703(0x149)](printCucumberStats,_0x14d6a7);process['exitCode']=_0x363c9d,_0x128f07[_0x2f3703(0x136)](_0x446d5c[_0x2f3703(0x133)],0x0)&&(logger[_0x2f3703(0x189)](_0x128f07[_0x2f3703(0x12e)]),helper[_0x2f3703(0x140)](_0x10966c,_0x446d5c),logger['debug'](_0x128f07[_0x2f3703(0x14f)]),helper[_0x2f3703(0x13e)](_0x10966c));})['finally'](async()=>{const _0x114ad5=_0xbaed6b;PerformanceTester[_0x114ad5(0x126)](PerformanceEvents['SDK_CLEANUP']),_0x744367[_0x114ad5(0x120)]=helper[_0x114ad5(0x16e)](_0x3b7e8c,_0x128f07[_0x114ad5(0x192)]),testOpsHelper[_0x114ad5(0x15d)]();try{await TestHubHandler[_0x114ad5(0x181)]();}catch(_0x4a58a5){logger[_0x114ad5(0x189)](_0x114ad5(0x173)+util[_0x114ad5(0x14d)](_0x4a58a5));}try{const {browserstackFolderPath:_0x59fa78,tcgConfigPath:_0x1f1e73}=helper[_0x114ad5(0x125)]();fs[_0x114ad5(0x15f)](_0x1f1e73),fs['rmdirSync'](_0x59fa78);}catch(_0x18ba06){logger['debug'](_0x128f07[_0x114ad5(0x13a)],_0x18ba06);}await utilities[_0x114ad5(0x14c)](_0x744367);});}module[a5_0x42646e(0x17a)]=run;
|