browserstack-node-sdk 1.41.1 → 1.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -0
- 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/playwright-patcher.js +1 -0
- 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/customSequencer.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/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.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/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -0
- 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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.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_0x130fac=a1_0x39ff;function a1_0x39ff(_0x25a366,_0x336a34){const _0x3e6821=a1_0x3e68();return a1_0x39ff=function(_0x39ff73,_0x3eb540){_0x39ff73=_0x39ff73-0x1eb;let _0x24561b=_0x3e6821[_0x39ff73];return _0x24561b;},a1_0x39ff(_0x25a366,_0x336a34);}(function(_0x52d3c4,_0x44933b){const _0x5cb9a6=a1_0x39ff,_0x28e294=_0x52d3c4();while(!![]){try{const _0x2f36b0=parseInt(_0x5cb9a6(0x258))/0x1+-parseInt(_0x5cb9a6(0x200))/0x2+parseInt(_0x5cb9a6(0x1fe))/0x3*(-parseInt(_0x5cb9a6(0x2b8))/0x4)+-parseInt(_0x5cb9a6(0x246))/0x5+parseInt(_0x5cb9a6(0x25b))/0x6*(-parseInt(_0x5cb9a6(0x26e))/0x7)+parseInt(_0x5cb9a6(0x2a0))/0x8+parseInt(_0x5cb9a6(0x249))/0x9*(parseInt(_0x5cb9a6(0x229))/0xa);if(_0x2f36b0===_0x44933b)break;else _0x28e294['push'](_0x28e294['shift']());}catch(_0x5a2aac){_0x28e294['push'](_0x28e294['shift']());}}}(a1_0x3e68,0x4ce3e));function a1_0x3e68(){const _0x5e1e41=['test-passed','format','saveTestResults','./helper.js','reason','step-comment','name','SAkcd','YVrAa','executeScript','230rfFnEr','Suite','yCuoB','qDlFO','getAccessibilityResults','OaYzN','BS_TESTOPS_ALLOW_SCREENSHOTS','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','toString','aMpNw','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','oqgPI','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','zdFCt','SDK_PRE_INITIALIZE','getAccessibilityResultsSummary','NNcbW','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../helpers/performance/performance-tester','browserStackExecuteDriver','bddStep','EmtZj','enabled','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','../../helpers/helper','KfTbz','gimtZ','Playwright','test','2651465ERdypH','browserstack_executor:\x20','ggfNY','361044vkPTSU','thBuildUuid','lyCGC','__skipSessionStatus','class','codeceptjs/lib/helper/Playwright.js','browser','exports','captureEvent','accessibilityPlatform','CbkZx','apply','PPNxH','bddStepStart','TestCafe','559077FVMfjI','codeceptjs/lib/utils.js','started','60HFefmy','hook-passed','iQYpn','util','OxKEi','hook-failed','skipSessionName','mPQzL','warn','bind','forEach','codeceptjs/lib/helper/WebDriver.js','patch','info','ydtvz','INFO','urixU','yIOXr','failed','59115jDXIqB','../../helpers/globals.js','SDK_PRE_TEST','TEST_LOG','helpers','BXroK','ttKtE','patchSaveScreenshot','PttPr','UTRbQ','constructor','browserContext','../../bin/playwright/accessibility-helper','../../helpers/request-spy','MZvfk','ctx','test-after','exarZ','Element','LDSEd','qbDfX','getSyncScript','browserstackTestName','QeaTa','captureError','measureWrapper','contexts','test-started','startMonitoring','emit','hookType','FijBb','debug','toISOString','stopMonitoring','FCqQC','glISs','sonNO','passed','call','SDK_HOOK','status','_before','DIqqy','getResults','OyAcX','restore','dispatcher','__driver','../../helpers/logger','2172392smbgPY','icIyB','DNDDC','container','commandsToWrap','overwriteCommand','event','command','./o11yHelper','fkLWH','RpDYf','TMfdd','GET_RESULTS_SUMMARY','upQTk','before','then','all','bstackAllyScanning','hook','../../helpers/testhub/constants.js','testAnalyticsId','ZzRxm','getResultsSummary','TEST_RUN_SKIPPED','12AhgsBU','Yfgof','SESSION_NAME','stringify','bddStep-before','initSaveScreenshot','SDK_POST_TEST','setSessionName','wHgon','test-failed','lqFSi','arguments','after','setGlobal','pPBmQ','RpBMO','end','UhJni','PTvBd','stop','SDK_POST_INITIALIZE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','base64','bs:addLog:','filter','codeceptjs','../../helpers/performance/constants','mLHFs','performScan','mkPlD','bNdLv','../../helpers/test-observability/utils','action','currentTest','IJajb','241728HKPCoe','KNzEf','1163762vWLLiE','Screenshot\x20path\x20not\x20found','saveScreenshot','SDK_TEST','Puppeteer','title','TEST_RUN_FINISHED','SESSION_STATUS','start','../../bin/playwright/sessionDetails','AOfBr','readFileSync','DXvMB','afterTest','thJwtToken','PERFORM_SCAN','Failed\x20to\x20execute\x20_before:\x20','fireEvent','shouldWrapCommand','HOOK_RUN_STARTED','step','NHQry','TEST_RUN_STARTED','add','test-skipped','HOOK_RUN_FINISHED','bddStepFinish','screenshotOutputFolder','pid','WebDriver','prototype'];a1_0x3e68=function(){return _0x5e1e41;};return a1_0x3e68();}const fs=require('fs'),util=require(a1_0x130fac(0x25e)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x130fac(0x241)),logger=require(a1_0x130fac(0x29f))['winstonLogger'],testOpsHelper=require(a1_0x130fac(0x1fa)),requestSpy=require(a1_0x130fac(0x27b)),PlaywrightSessionDetails=require(a1_0x130fac(0x209)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x130fac(0x2a8)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x130fac(0x27a)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x130fac(0x23b)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x130fac(0x1f5)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x130fac(0x222)),testHubConstants=require(a1_0x130fac(0x2b3)),globals=require(a1_0x130fac(0x26f)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x130fac(0x1f4)),CodeceptUtils=requireModule(a1_0x130fac(0x259),a1_0x130fac(0x1f4)),CodeceptWebDriver=requireModule(a1_0x130fac(0x266),a1_0x130fac(0x1f4)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x130fac(0x1f4)),CodeceptPlaywright=requireModule(a1_0x130fac(0x24e),a1_0x130fac(0x1f4)),playwrightMarkSessionStatus=(_0x92bbc9,_0x12835f,_0x49d22a)=>{const _0x525a74=a1_0x130fac,_0x24de50={'PPNxH':'setSessionStatus','RpDYf':function(_0x43a5d7,_0x52dd79){return _0x43a5d7(_0x52dd79);}},_0x1517e0={};_0x1517e0[_0x525a74(0x297)]=_0x12835f;const _0x55bd44={};_0x55bd44[_0x525a74(0x1fb)]=_0x24de50[_0x525a74(0x255)],_0x55bd44[_0x525a74(0x2c3)]=_0x1517e0;const _0x1bb9b8=_0x55bd44;return!_0x24de50[_0x525a74(0x2aa)](isUndefined,_0x49d22a)&&(_0x1bb9b8['arguments'][_0x525a74(0x223)]=JSON['stringify'](_0x49d22a)),_0x92bbc9[_0x525a74(0x228)](()=>{},'browserstack_executor:\x20'+JSON[_0x525a74(0x2bb)](_0x1bb9b8));},o11ySync=PerformanceTester[a1_0x130fac(0x287)](PerformanceO11yEvents['SYNC'],async _0x51fbb1=>{const _0x3983bd=a1_0x130fac,_0x453999={};_0x453999[_0x3983bd(0x2b5)]=function(_0x26077b,_0x47f664){return _0x26077b===_0x47f664;},_0x453999[_0x3983bd(0x291)]=_0x3983bd(0x244);const _0x335df9=_0x453999;_0x335df9[_0x3983bd(0x2b5)](_0x51fbb1[_0x3983bd(0x278)]['name'],_0x335df9[_0x3983bd(0x291)])?await _0x51fbb1['executeScript'](_0x3416c6=>{},testOpsHelper[_0x3983bd(0x283)]()):await _0x51fbb1[_0x3983bd(0x228)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents[a1_0x130fac(0x2ba)],async(_0x30b08a,_0x198946)=>{const _0x3a86ad=a1_0x130fac,_0x1131fa={};_0x1131fa[_0x3a86ad(0x2c6)]=_0x3a86ad(0x2bf),_0x1131fa[_0x3a86ad(0x27f)]=function(_0x13cd7b,_0x46a376){return _0x13cd7b===_0x46a376;},_0x1131fa[_0x3a86ad(0x2c0)]='Playwright';const _0x2d2efc=_0x1131fa,_0x27e477={};_0x27e477['name']=_0x198946;const _0x254c2c={};_0x254c2c['action']=_0x2d2efc[_0x3a86ad(0x2c6)],_0x254c2c['arguments']=_0x27e477;const _0x37de03=_0x254c2c;_0x2d2efc[_0x3a86ad(0x27f)](_0x30b08a[_0x3a86ad(0x278)][_0x3a86ad(0x225)],_0x2d2efc[_0x3a86ad(0x2c0)])?await _0x30b08a[_0x3a86ad(0x228)](()=>{},_0x3a86ad(0x247)+JSON[_0x3a86ad(0x2bb)](_0x37de03)):await _0x30b08a[_0x3a86ad(0x228)](_0x3a86ad(0x247)+JSON[_0x3a86ad(0x2bb)](_0x37de03));}),patchSaveScreenshot=_0x6e84b2=>{const _0x2cc47f=a1_0x130fac,_0x35d76e={'PTvBd':_0x2cc47f(0x1f1),'icIyB':'TEST_SCREENSHOT','yIOXr':function(_0x39d334){return _0x39d334();},'upQTk':function(_0x5d3368,_0x40aaf7){return _0x5d3368(_0x40aaf7);},'OyAcX':_0x2cc47f(0x201),'glISs':function(_0x20dc6e,_0x873a13){return _0x20dc6e(_0x873a13);}};_0x35d76e[_0x2cc47f(0x292)](isTrue,process['env'][_0x2cc47f(0x22f)])&&!_0x6e84b2[_0x2cc47f(0x275)]&&(_0x6e84b2[_0x2cc47f(0x275)]=!![],_0x6e84b2['initSaveScreenshot']=_0x6e84b2[_0x2cc47f(0x202)],_0x6e84b2[_0x2cc47f(0x202)]=(_0x182cfd,_0x4a7cba=![])=>{const _0xee91f3=_0x2cc47f,_0x41925e={'yCuoB':_0x35d76e[_0xee91f3(0x1ed)],'gimtZ':_0x35d76e[_0xee91f3(0x2a1)],'aMpNw':function(_0x4f102c){const _0x3000ad=_0xee91f3;return _0x35d76e[_0x3000ad(0x26c)](_0x4f102c);},'qbDfX':function(_0x3cc09c,_0x67837){const _0x13d3ba=_0xee91f3;return _0x35d76e[_0x13d3ba(0x2ad)](_0x3cc09c,_0x67837);},'sonNO':_0x35d76e[_0xee91f3(0x29b)]};return new Promise(function(_0x3d8fa3,_0x24e166){const _0x205745=_0xee91f3;_0x6e84b2[_0x205745(0x2bd)](_0x182cfd,_0x4a7cba)[_0x205745(0x2af)](()=>{const _0x4b1a2a=_0x205745,_0x1cb10f=CodeceptUtils[_0x4b1a2a(0x21b)](_0x182cfd);if(_0x1cb10f){const _0x4e7a05=fs[_0x4b1a2a(0x20b)](_0x1cb10f);process[_0x4b1a2a(0x28b)](_0x4b1a2a(0x1f2)+process['pid'],{'timestamp':new Date()[_0x4b1a2a(0x28f)](),'message':_0x4e7a05[_0x4b1a2a(0x231)](_0x41925e[_0x4b1a2a(0x22b)]),'kind':_0x41925e[_0x4b1a2a(0x243)]}),_0x41925e[_0x4b1a2a(0x232)](_0x3d8fa3);}_0x41925e[_0x4b1a2a(0x282)](_0x24e166,new Error(_0x41925e[_0x4b1a2a(0x293)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x2e9df5=>{const _0x112a60=a1_0x130fac,_0x43adda={'gIeYK':function(_0x22c819){return _0x22c819();},'zdFCt':function(_0x74d744,_0x1379ec){return _0x74d744(_0x1379ec);},'fsCRS':function(_0xea7d4c,_0x59b084){return _0xea7d4c===_0x59b084;},'qDlFO':_0x112a60(0x280)},_0x2f33d0=async function(_0x326ee7,_0xe13ca7){const _0x3f9d19=_0x112a60;return _0x43adda['gIeYK'](isAccessibilityAutomationSession)&&!global[_0x3f9d19(0x2b1)]&&global[_0x3f9d19(0x252)]&&scripts[_0x3f9d19(0x212)](_0x326ee7['name'])&&_0x43adda[_0x3f9d19(0x236)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3f9d19(0x2b1)]=!![],await PerformanceTester[_0x3f9d19(0x287)](PerformanceA11yEvents[_0x3f9d19(0x20f)],async()=>{const _0x442549=_0x3f9d19;logger[_0x442549(0x28e)]('Performing\x20scan\x20for\x20'+_0x326ee7[_0x442549(0x24d)]+'\x20'+_0x326ee7[_0x442549(0x225)]),await AccessibilityHelper[_0x442549(0x23c)](_0x2e9df5,scripts[_0x442549(0x1f7)]);},{'command':_0x326ee7['name']})()),global[_0x3f9d19(0x2b1)]=![],_0xe13ca7[_0x3f9d19(0x254)](this,Array[_0x3f9d19(0x21e)]['slice'][_0x3f9d19(0x295)](arguments,0x2));},_0x45c781=CodeceptWebDriver[_0x112a60(0x21e)][_0x112a60(0x298)];CodeceptWebDriver['prototype']['_before']=async function(){const _0x4772c7=_0x112a60,_0x13ff29={'FijBb':function(_0x3951e4,_0x3780f0){return _0x43adda['fsCRS'](_0x3951e4,_0x3780f0);},'AOfBr':_0x43adda[_0x4772c7(0x22c)]};try{await _0x45c781['apply'](this,arguments);}catch(_0x268026){logger[_0x4772c7(0x28e)](_0x4772c7(0x210)+util[_0x4772c7(0x220)](_0x268026));}scripts[_0x4772c7(0x2a4)][_0x4772c7(0x1f3)](_0x2da868=>_0x2da868[_0x4772c7(0x225)]&&_0x2da868[_0x4772c7(0x24d)])[_0x4772c7(0x265)](_0x5181ab=>{const _0x204503=_0x4772c7;this[_0x204503(0x24f)][_0x204503(0x2a5)](_0x5181ab[_0x204503(0x225)],_0x2f33d0[_0x204503(0x264)](this,_0x5181ab),_0x13ff29[_0x204503(0x28d)](_0x5181ab[_0x204503(0x24d)],_0x13ff29[_0x204503(0x20a)]));}),_0x43adda[_0x4772c7(0x236)](processWebDriverConfig,_0x2e9df5);};},patchPlaywrightBefore=()=>{const _0x5ce58a=a1_0x130fac;PlaywrightSessionDetails[_0x5ce58a(0x267)]();const _0x7a29c5=CodeceptPlaywright[_0x5ce58a(0x21e)][_0x5ce58a(0x298)];CodeceptPlaywright[_0x5ce58a(0x21e)][_0x5ce58a(0x298)]=async function(){const _0x1816a1=_0x5ce58a;this[_0x1816a1(0x279)]=await this[_0x1816a1(0x24f)][_0x1816a1(0x288)]()[0x0],await _0x7a29c5[_0x1816a1(0x254)](this,arguments);};},getCodeceptDriver=()=>{const _0x4b02f9=a1_0x130fac,_0x1ad6a5={};_0x1ad6a5[_0x4b02f9(0x1fd)]=_0x4b02f9(0x21d),_0x1ad6a5[_0x4b02f9(0x26b)]=_0x4b02f9(0x244),_0x1ad6a5[_0x4b02f9(0x248)]=_0x4b02f9(0x204),_0x1ad6a5[_0x4b02f9(0x253)]=_0x4b02f9(0x257);const _0x19032c=_0x1ad6a5,_0x6edaae=[_0x19032c['IJajb'],_0x19032c['urixU'],_0x19032c[_0x4b02f9(0x248)],_0x19032c[_0x4b02f9(0x253)]],_0x27a859=_0x6edaae['find'](_0xaba801=>!!CodeceptJS[_0x4b02f9(0x2a3)]['helpers'](_0xaba801));if(!_0x27a859)return null;return CodeceptJS[_0x4b02f9(0x2a3)][_0x4b02f9(0x272)](_0x27a859);};module[a1_0x130fac(0x250)]=function(_0x52b141){const _0x1ebe65=a1_0x130fac,_0x273e50={'RpBMO':function(_0x4f88b0){return _0x4f88b0();},'TMfdd':function(_0x575a82,_0x5f00dc){return _0x575a82(_0x5f00dc);},'brcMQ':'getAccessibilityResultsSummary','OaYzN':_0x1ebe65(0x240),'mPQzL':_0x1ebe65(0x22d),'JqNxA':_0x1ebe65(0x1f0),'lqFSi':'hook-started','KNzEf':_0x1ebe65(0x25c),'SAkcd':_0x1ebe65(0x260),'KfTbz':_0x1ebe65(0x284),'mLHFs':'test-before','AHyFD':function(_0x12f7d0){return _0x12f7d0();},'oqgPI':function(_0x54493c,_0x30179b,_0x3bd3a8){return _0x54493c(_0x30179b,_0x3bd3a8);},'iQYpn':_0x1ebe65(0x289),'YVrAa':function(_0x21c691,_0x4d9f41,_0x57b811){return _0x21c691(_0x4d9f41,_0x57b811);},'UhJni':function(_0x5a0404){return _0x5a0404();},'bNdLv':_0x1ebe65(0x21f),'DIqqy':function(_0x10f45,_0x1f12e9,_0x49a4df,_0x328aa8){return _0x10f45(_0x1f12e9,_0x49a4df,_0x328aa8);},'NHQry':function(_0x3697c6,_0x1a4ad3){return _0x3697c6===_0x1a4ad3;},'DXvMB':_0x1ebe65(0x22a),'BXroK':_0x1ebe65(0x2c1),'NNcbW':_0x1ebe65(0x218),'QeaTa':_0x1ebe65(0x20d),'LDSEd':_0x1ebe65(0x235),'OxKEi':_0x1ebe65(0x27e),'Yfgof':_0x1ebe65(0x26a),'DNDDC':_0x1ebe65(0x271),'cVWxN':_0x1ebe65(0x224),'PttPr':_0x1ebe65(0x2bc),'EmtZj':'bddStep-after','slwbI':_0x1ebe65(0x244)};_0x52b141['skipSessionStatus']&&(global[_0x1ebe65(0x24c)]=_0x52b141['skipSessionStatus']);PerformanceTester[_0x1ebe65(0x28a)]();const _0x3515da=_0x273e50[_0x1ebe65(0x1ec)](getCodeceptDriver),_0x45507b=new O11yHelper(_0x3515da,_0x52b141),_0x42430d=!!CodeceptJS[_0x1ebe65(0x2a3)][_0x1ebe65(0x272)](_0x273e50['slwbI']);global[_0x1ebe65(0x29e)]=_0x3515da,_0x3515da&&(PerformanceTester[_0x1ebe65(0x287)](PerformanceEvents[_0x1ebe65(0x237)],()=>{const _0x29e77d=_0x1ebe65;_0x42430d?_0x273e50[_0x29e77d(0x2c7)](patchPlaywrightBefore):_0x273e50[_0x29e77d(0x2ab)](patchWebDriverBefore,_0x3515da);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x1ebe65(0x1ef)],()=>{const _0x2c2bab=_0x1ebe65,_0x2d2d70={};_0x2d2d70[_0x2c2bab(0x274)]=_0x273e50[_0x2c2bab(0x262)],_0x2d2d70[_0x2c2bab(0x277)]=_0x273e50['JqNxA'];const _0x47799c=_0x2d2d70;_0x3515da[_0x2c2bab(0x238)]=async()=>{const _0x1ccd1c=_0x2c2bab;if(global[_0x1ccd1c(0x252)]){const _0x263c1a={};return _0x263c1a[_0x1ccd1c(0x2a7)]=_0x273e50['brcMQ'],await PerformanceTester[_0x1ccd1c(0x287)](PerformanceA11yEvents[_0x1ccd1c(0x20f)],async()=>{const _0x42256d=_0x1ccd1c;return await AccessibilityHelper[_0x42256d(0x23c)](_0x3515da,scripts['performScan']);},_0x263c1a)(),await PerformanceTester[_0x1ccd1c(0x287)](PerformanceA11yEvents[_0x1ccd1c(0x2ac)],async()=>{const _0x113ae7=_0x1ccd1c;return await AccessibilityHelper['browserStackExecuteDriver'](_0x3515da,scripts[_0x113ae7(0x2b6)]);})();}return logger[_0x1ccd1c(0x263)](_0x273e50[_0x1ccd1c(0x22e)]),{};},_0x3515da[_0x2c2bab(0x22d)]=async()=>{const _0x3a0f6c=_0x2c2bab;if(global['accessibilityPlatform']){const _0x1d1486={};return _0x1d1486['command']=_0x47799c[_0x3a0f6c(0x274)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3a0f6c(0x20f)],async()=>{const _0x2566a4=_0x3a0f6c;return await AccessibilityHelper[_0x2566a4(0x23c)](_0x3515da,scripts[_0x2566a4(0x1f7)]);},_0x1d1486)(),await PerformanceTester[_0x3a0f6c(0x287)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x332633=_0x3a0f6c;return await AccessibilityHelper[_0x332633(0x23c)](_0x3515da,scripts[_0x332633(0x29a)]);})();}return logger['warn'](_0x47799c[_0x3a0f6c(0x277)]),{};},_0x273e50[_0x2c2bab(0x2ab)](patchSaveScreenshot,_0x3515da);})()),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS['event'][_0x1ebe65(0x2b0)][_0x1ebe65(0x2ae)],()=>{const _0x135da9=_0x1ebe65;PerformanceTester[_0x135da9(0x208)](PerformanceEvents[_0x135da9(0x270)]);try{_0x45507b[_0x135da9(0x208)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x135da9(0x1eb)](PerformanceEvents[_0x135da9(0x270)]);}catch(_0x5a66c7){PerformanceTester[_0x135da9(0x286)](_0x5a66c7),PerformanceTester[_0x135da9(0x1eb)](PerformanceEvents[_0x135da9(0x270)],![],_0x5a66c7);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x2b0)][_0x1ebe65(0x2c4)],async()=>{const _0x459ec2=_0x1ebe65;PerformanceTester[_0x459ec2(0x208)](PerformanceEvents[_0x459ec2(0x2be)]);try{requestSpy[_0x459ec2(0x29c)](),await _0x45507b[_0x459ec2(0x1ee)](),PerformanceTester['end'](PerformanceEvents[_0x459ec2(0x2be)]);}catch(_0x6165b7){PerformanceTester[_0x459ec2(0x286)](_0x6165b7),PerformanceTester['end'](PerformanceEvents[_0x459ec2(0x2be)],![],_0x6165b7);}finally{PerformanceTester[_0x459ec2(0x290)]();}}),CodeceptJS['event'][_0x1ebe65(0x29d)]['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x2b2)][_0x1ebe65(0x25a)],_0x3f7507=>{const _0xe07dbd=_0x1ebe65;PerformanceTester[_0xe07dbd(0x208)](PerformanceEvents['SDK_HOOK']);try{const _0x267afd=_0x3f7507[_0xe07dbd(0x27d)]['test'],_0x48458e=_0x45507b['captureEvent'](TEST_EVENTS[_0xe07dbd(0x213)],_0x267afd);CodeceptRecorder['add'](()=>_0x45507b[_0xe07dbd(0x211)](TEST_EVENTS[_0xe07dbd(0x213)],_0x48458e));const _0x1f1c3c={};_0x1f1c3c[_0xe07dbd(0x28c)]=_0x273e50[_0xe07dbd(0x2c2)],PerformanceTester[_0xe07dbd(0x1eb)](PerformanceEvents['SDK_HOOK'],!![],null,_0x1f1c3c);}catch(_0x32a636){const _0x2dbe78={};_0x2dbe78[_0xe07dbd(0x28c)]=_0x273e50[_0xe07dbd(0x2c2)],PerformanceTester[_0xe07dbd(0x1eb)](PerformanceEvents[_0xe07dbd(0x296)],![],_0x32a636,_0x2dbe78),PerformanceTester[_0xe07dbd(0x286)](_0x32a636);}}),CodeceptJS[_0x1ebe65(0x2a6)]['dispatcher']['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x2b2)][_0x1ebe65(0x294)],_0x477b97=>{const _0x58a724=_0x1ebe65,_0x12429f={};_0x12429f[_0x58a724(0x28c)]=_0x273e50[_0x58a724(0x1ff)],PerformanceTester['start'](PerformanceHookEvents[_0x58a724(0x296)],!![],null,_0x12429f);try{const _0x4d4f67=_0x477b97['ctx'][_0x58a724(0x245)],_0x203847=_0x45507b[_0x58a724(0x251)](TEST_EVENTS[_0x58a724(0x219)],_0x4d4f67);CodeceptRecorder[_0x58a724(0x217)](()=>_0x45507b[_0x58a724(0x211)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x203847));const _0x5c9f43={};_0x5c9f43[_0x58a724(0x28c)]=_0x273e50[_0x58a724(0x1ff)],PerformanceTester['end'](PerformanceHookEvents[_0x58a724(0x296)],!![],null,_0x5c9f43);}catch(_0x12bd76){PerformanceTester[_0x58a724(0x286)](_0x12bd76);const _0x5145f7={};_0x5145f7[_0x58a724(0x28c)]=_0x273e50[_0x58a724(0x1ff)],PerformanceTester[_0x58a724(0x1eb)](PerformanceHookEvents['SDK_HOOK'],![],_0x12bd76,_0x5145f7);}}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x2b2)]['failed'],async(_0x1063cd,_0x288480)=>{const _0x5c165f=_0x1ebe65;PerformanceTester[_0x5c165f(0x208)](PerformanceHookEvents[_0x5c165f(0x296)]);try{const _0xbeab1=_0x1063cd[_0x5c165f(0x27d)][_0x5c165f(0x245)],_0x268000=_0x45507b[_0x5c165f(0x251)](TEST_EVENTS[_0x5c165f(0x219)],_0xbeab1,_0x288480);CodeceptRecorder[_0x5c165f(0x217)](()=>_0x45507b[_0x5c165f(0x211)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x268000));const _0xad53eb={};_0xad53eb[_0x5c165f(0x28c)]=_0x273e50[_0x5c165f(0x226)],PerformanceTester['start'](PerformanceHookEvents[_0x5c165f(0x296)],!![],null,_0xad53eb);}catch(_0x3723ba){PerformanceTester[_0x5c165f(0x286)](_0x3723ba);const _0x5867e7={};_0x5867e7[_0x5c165f(0x28c)]=_0x273e50[_0x5c165f(0x226)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3723ba,_0x5867e7);}const _0x507a88={};_0x507a88['hookType']=_0x273e50['SAkcd'],PerformanceTester[_0x5c165f(0x1eb)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x507a88);}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS['event'][_0x1ebe65(0x245)]['before'],_0x3416a4=>{const _0xcca6d2=_0x1ebe65;PerformanceTester[_0xcca6d2(0x208)](PerformanceHookEvents[_0xcca6d2(0x296)]);try{globals[_0xcca6d2(0x2c5)](_0x273e50[_0xcca6d2(0x242)],_0x3416a4['title']);_0x273e50[_0xcca6d2(0x2c7)](isBrowserstackInfra)&&(_0x42430d&&(global['__workerDetails']={'currentTest':{'name':_0x3416a4[_0xcca6d2(0x205)],'testInfo':{'titlePath':_0x3416a4['titlePath']()}}}));const _0x3a2075={};_0x3a2075[_0xcca6d2(0x28c)]=_0x273e50[_0xcca6d2(0x1f6)],PerformanceTester[_0xcca6d2(0x1eb)](PerformanceHookEvents[_0xcca6d2(0x296)],!![],null,_0x3a2075);}catch(_0x4519f3){PerformanceTester[_0xcca6d2(0x286)](_0x4519f3);const _0x4ed065={};_0x4ed065[_0xcca6d2(0x28c)]=_0x273e50[_0xcca6d2(0x1f6)],PerformanceTester[_0xcca6d2(0x1eb)](PerformanceHookEvents['SDK_HOOK'],![],_0x4519f3,_0x4ed065);}}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS['event'][_0x1ebe65(0x245)][_0x1ebe65(0x25a)],_0x499b82=>{const _0xbf84c7=_0x1ebe65;PerformanceTester['start'](PerformanceHookEvents[_0xbf84c7(0x296)]);try{globals[_0xbf84c7(0x2c5)](_0x273e50[_0xbf84c7(0x242)],_0x499b82['title']);const _0x25c7dd=_0x45507b[_0xbf84c7(0x251)](TEST_EVENTS[_0xbf84c7(0x216)],_0x499b82);CodeceptRecorder['add'](()=>_0x45507b[_0xbf84c7(0x211)](TEST_EVENTS[_0xbf84c7(0x216)],_0x25c7dd)),CodeceptRecorder[_0xbf84c7(0x217)](async()=>{const _0x5cc6b5=_0xbf84c7;_0x273e50['AHyFD'](isBrowserstackInfra)&&(!_0x273e50['TMfdd'](isTrue,_0x52b141[_0x5cc6b5(0x261)])&&await _0x273e50[_0x5cc6b5(0x234)](markSessionName,_0x3515da,_0x499b82['title']),_0x45507b[_0x5cc6b5(0x23f)]&&await _0x273e50[_0x5cc6b5(0x2ab)](o11ySync,_0x3515da));});}catch(_0x1e6f58){const _0x6235b7={};_0x6235b7[_0xbf84c7(0x28c)]=_0x273e50[_0xbf84c7(0x25d)],PerformanceTester[_0xbf84c7(0x1eb)](PerformanceHookEvents[_0xbf84c7(0x296)],![],_0x1e6f58,_0x6235b7),PerformanceTester['captureError'](_0x1e6f58);}const _0x53a828={};_0x53a828[_0xbf84c7(0x28c)]=_0x273e50[_0xbf84c7(0x25d)],PerformanceTester[_0xbf84c7(0x1eb)](PerformanceHookEvents[_0xbf84c7(0x296)],!![],null,_0x53a828);}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS[_0x1ebe65(0x2a6)]['test'][_0x1ebe65(0x294)],_0x293626=>{const _0x4aaed0=_0x1ebe65,_0x53620a={'fkLWH':function(_0x48bf11,_0x197a8f,_0x1447a1){const _0x24bbf1=a1_0x39ff;return _0x273e50[_0x24bbf1(0x227)](_0x48bf11,_0x197a8f,_0x1447a1);},'ydtvz':function(_0x51df98){return _0x273e50['UhJni'](_0x51df98);}};PerformanceTester['start'](PerformanceHookEvents[_0x4aaed0(0x296)]);try{const _0xf5f062=_0x45507b[_0x4aaed0(0x251)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x293626);CodeceptRecorder[_0x4aaed0(0x217)](()=>_0x45507b[_0x4aaed0(0x211)](TEST_EVENTS[_0x4aaed0(0x206)],_0xf5f062)),CodeceptRecorder['add'](async()=>{const _0xb695d6=_0x4aaed0;_0x53620a[_0xb695d6(0x269)](isBrowserstackInfra)&&await PerformanceTester[_0xb695d6(0x287)](PerformanceAutEvents[_0xb695d6(0x207)],async()=>{const _0x1c1b5c=_0xb695d6;_0x42430d?await _0x53620a[_0x1c1b5c(0x2a9)](playwrightMarkSessionStatus,_0x3515da,STATE_PASSED):await _0x53620a[_0x1c1b5c(0x2a9)](markSessionStatus,_0x3515da,STATE_PASSED);})();}),PerformanceTester[_0x4aaed0(0x1eb)](PerformanceEvents[_0x4aaed0(0x203)]);}catch(_0x3562cf){PerformanceTester[_0x4aaed0(0x286)](_0x3562cf);const _0x304b6d={};_0x304b6d[_0x4aaed0(0x28c)]=_0x273e50['bNdLv'],PerformanceTester['end'](PerformanceHookEvents[_0x4aaed0(0x296)],![],_0x3562cf,_0x304b6d),PerformanceTester['end'](PerformanceEvents[_0x4aaed0(0x203)],![],_0x3562cf);}const _0x331810={};_0x331810[_0x4aaed0(0x28c)]=_0x273e50[_0x4aaed0(0x1f9)],PerformanceTester[_0x4aaed0(0x1eb)](PerformanceHookEvents[_0x4aaed0(0x296)],!![],null,_0x331810);}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x245)][_0x1ebe65(0x26d)],(_0x1d0c23,_0x439225)=>{const _0x6a6413=_0x1ebe65,_0x4ec32c={'MZvfk':function(_0x5b4d28){const _0x1300b1=a1_0x39ff;return _0x273e50[_0x1300b1(0x2c7)](_0x5b4d28);},'lyCGC':function(_0x242d18,_0x1f4c3f,_0x194ee5,_0x38e9b8){const _0x1998d9=a1_0x39ff;return _0x273e50[_0x1998d9(0x299)](_0x242d18,_0x1f4c3f,_0x194ee5,_0x38e9b8);}};PerformanceTester['start'](PerformanceHookEvents[_0x6a6413(0x296)]);try{if(_0x273e50[_0x6a6413(0x215)](_0x1d0c23[_0x6a6413(0x278)][_0x6a6413(0x225)],_0x273e50[_0x6a6413(0x20c)])){const _0x3249de=_0x45507b[_0x6a6413(0x251)](TEST_EVENTS[_0x6a6413(0x2b7)],_0x1d0c23[_0x6a6413(0x27d)][_0x6a6413(0x1fc)]);CodeceptRecorder[_0x6a6413(0x217)](()=>_0x45507b[_0x6a6413(0x211)](TEST_EVENTS[_0x6a6413(0x2b7)],_0x3249de));}else{const _0x4c2c8e=_0x45507b[_0x6a6413(0x251)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1d0c23,_0x439225);CodeceptRecorder[_0x6a6413(0x217)](()=>{const _0x446e8a=_0x6a6413;try{_0x45507b[_0x446e8a(0x211)](TEST_EVENTS[_0x446e8a(0x206)],_0x4c2c8e);}catch(_0x106097){logger['debug'](_0x446e8a(0x230)+util[_0x446e8a(0x220)](_0x106097)),PerformanceTester[_0x446e8a(0x1eb)](PerformanceEvents['SDK_TEST'],![],_0x106097);}}),CodeceptRecorder[_0x6a6413(0x217)](async()=>{const _0x5834bb=_0x6a6413;try{_0x4ec32c[_0x5834bb(0x27c)](isBrowserstackInfra)&&(_0x42430d?await _0x4ec32c['lyCGC'](playwrightMarkSessionStatus,_0x3515da,STATE_FAILED,_0x439225):await _0x4ec32c[_0x5834bb(0x24b)](markSessionStatus,_0x3515da,STATE_FAILED,_0x439225));}catch(_0x1018aa){logger['debug'](_0x5834bb(0x23a)+util[_0x5834bb(0x220)](_0x1018aa)),PerformanceTester[_0x5834bb(0x1eb)](PerformanceEvents[_0x5834bb(0x203)],![],_0x1018aa);}});}PerformanceTester[_0x6a6413(0x1eb)](PerformanceEvents[_0x6a6413(0x203)]);}catch(_0x2fc106){PerformanceTester['captureError'](_0x2fc106);const _0x18e8d1={};_0x18e8d1[_0x6a6413(0x28c)]=_0x273e50[_0x6a6413(0x273)],PerformanceTester[_0x6a6413(0x1eb)](PerformanceHookEvents[_0x6a6413(0x296)],![],_0x2fc106,_0x18e8d1),PerformanceTester[_0x6a6413(0x1eb)](PerformanceEvents['SDK_TEST'],![],_0x2fc106);}const _0x3456c8={};_0x3456c8[_0x6a6413(0x28c)]=_0x273e50[_0x6a6413(0x273)],PerformanceTester[_0x6a6413(0x1eb)](PerformanceHookEvents[_0x6a6413(0x296)],!![],null,_0x3456c8);}),CodeceptJS[_0x1ebe65(0x2a6)]['dispatcher']['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x245)]['skipped'],_0x1eed4d=>{const _0x4193b3=_0x1ebe65;PerformanceTester[_0x4193b3(0x208)](PerformanceHookEvents[_0x4193b3(0x296)]);try{const _0x476f77=_0x45507b[_0x4193b3(0x251)](TEST_EVENTS[_0x4193b3(0x2b7)],_0x1eed4d);CodeceptRecorder[_0x4193b3(0x217)](()=>_0x45507b[_0x4193b3(0x211)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x476f77)),PerformanceTester[_0x4193b3(0x1eb)](PerformanceEvents[_0x4193b3(0x203)]);}catch(_0x187567){PerformanceTester[_0x4193b3(0x286)](_0x187567),PerformanceTester[_0x4193b3(0x1eb)](PerformanceEvents['SDK_TEST'],![],_0x187567);const _0x2809fe={};_0x2809fe[_0x4193b3(0x28c)]=_0x273e50[_0x4193b3(0x239)],PerformanceTester[_0x4193b3(0x1eb)](PerformanceHookEvents[_0x4193b3(0x296)],![],_0x187567,_0x2809fe);}const _0x2768f4={};_0x2768f4[_0x4193b3(0x28c)]=_0x273e50[_0x4193b3(0x239)],PerformanceTester['end'](PerformanceHookEvents[_0x4193b3(0x296)],!![],null,_0x2768f4);}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS[_0x1ebe65(0x2a6)]['test']['after'],async(_0x221169,_0x1b3ee4)=>{const _0x677550=_0x1ebe65,_0x297111={};_0x297111[_0x677550(0x1f8)]=_0x273e50[_0x677550(0x285)];const _0x3c6450=_0x297111;try{PerformanceTester['start'](PerformanceHookEvents[_0x677550(0x296)]);const _0x2eea94=_0x273e50['oqgPI'](shouldScanTestForAccessibility,_0x221169['titlePath'](),!![]);if(_0x273e50[_0x677550(0x1ec)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x2eea94){const _0x42f840={};_0x42f840['thTestRunUuid']=_0x221169[_0x677550(0x2b4)],_0x42f840[_0x677550(0x24a)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x42f840[_0x677550(0x20e)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x58a76b=_0x42f840;logger['debug'](_0x677550(0x233)+JSON['stringify'](_0x58a76b)),CodeceptRecorder['add'](async()=>{const _0x27d4e0=_0x677550,_0x551ded={};_0x551ded['command']=_0x3c6450['mkPlD'],await PerformanceTester[_0x27d4e0(0x287)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24752c=_0x27d4e0;await AccessibilityHelper[_0x24752c(0x23c)](_0x3515da,scripts[_0x24752c(0x1f7)]);},_0x551ded)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1b0b55=_0x27d4e0;await AccessibilityHelper['browserStackExecuteDriver'](_0x3515da,scripts[_0x1b0b55(0x221)],_0x58a76b);})();}),logger[_0x677550(0x268)](_0x273e50[_0x677550(0x281)]);}const _0x40529a={};_0x40529a[_0x677550(0x28c)]=_0x273e50['OxKEi'],PerformanceTester[_0x677550(0x1eb)](PerformanceHookEvents[_0x677550(0x296)],!![],null,_0x40529a);}catch(_0x20daa4){PerformanceTester[_0x677550(0x286)](_0x20daa4);const _0x47f9f5={};_0x47f9f5['hookType']=_0x273e50[_0x677550(0x25f)],PerformanceTester[_0x677550(0x1eb)](PerformanceHookEvents[_0x677550(0x296)],![],_0x20daa4,_0x47f9f5);}}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x214)]['comment'],_0xce5aaa=>{const _0xdb4bb8=_0x1ebe65;PerformanceTester[_0xdb4bb8(0x208)](PerformanceHookEvents[_0xdb4bb8(0x296)]);try{process[_0xdb4bb8(0x28b)](_0xdb4bb8(0x1f2)+process[_0xdb4bb8(0x21c)],{'timestamp':new Date()[_0xdb4bb8(0x28f)](),'level':_0x273e50[_0xdb4bb8(0x2b9)],'message':_0xce5aaa,'kind':_0x273e50[_0xdb4bb8(0x2a2)],'http_response':{}});}catch(_0x45b73e){PerformanceTester[_0xdb4bb8(0x286)](_0x45b73e);const _0xba30ef={};_0xba30ef['hookType']=_0x273e50['cVWxN'],PerformanceTester['end'](PerformanceHookEvents[_0xdb4bb8(0x296)],![],_0x45b73e,_0xba30ef);}const _0x2fd5b9={};_0x2fd5b9[_0xdb4bb8(0x28c)]=_0x273e50['cVWxN'],PerformanceTester[_0xdb4bb8(0x1eb)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2fd5b9);}),CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x29d)]['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x23d)]['before'],_0x1f6535=>{const _0x21df17=_0x1ebe65,_0xaa8093={};_0xaa8093['hookType']=_0x273e50[_0x21df17(0x276)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x21df17(0x296)],()=>{const _0x2f2a18=_0x21df17;_0x45507b[_0x2f2a18(0x256)](_0x1f6535);},_0xaa8093)();}),CodeceptJS[_0x1ebe65(0x2a6)]['dispatcher']['on'](CodeceptJS[_0x1ebe65(0x2a6)][_0x1ebe65(0x23d)][_0x1ebe65(0x2c4)],_0x359a1e=>{const _0x1469ba=_0x1ebe65,_0x5008c2={};_0x5008c2[_0x1469ba(0x28c)]=_0x273e50[_0x1469ba(0x23e)],PerformanceTester[_0x1469ba(0x287)](PerformanceHookEvents[_0x1469ba(0x296)],()=>{const _0x584c54=_0x1469ba;_0x45507b[_0x584c54(0x21a)](_0x359a1e);},_0x5008c2)();});};
|
|
1
|
+
function a1_0x41e6(_0x1955e7,_0x54a40e){const _0x4dfbcd=a1_0x4dfb();return a1_0x41e6=function(_0x41e62f,_0x19ca97){_0x41e62f=_0x41e62f-0x19f;let _0x25d31d=_0x4dfbcd[_0x41e62f];return _0x25d31d;},a1_0x41e6(_0x1955e7,_0x54a40e);}const a1_0x215d88=a1_0x41e6;(function(_0x22d4ca,_0x2ad330){const _0x1b2c0c=a1_0x41e6,_0x367b86=_0x22d4ca();while(!![]){try{const _0x27eb6f=-parseInt(_0x1b2c0c(0x23c))/0x1*(parseInt(_0x1b2c0c(0x263))/0x2)+parseInt(_0x1b2c0c(0x200))/0x3*(-parseInt(_0x1b2c0c(0x1a6))/0x4)+-parseInt(_0x1b2c0c(0x240))/0x5*(parseInt(_0x1b2c0c(0x252))/0x6)+parseInt(_0x1b2c0c(0x1d6))/0x7*(parseInt(_0x1b2c0c(0x21d))/0x8)+-parseInt(_0x1b2c0c(0x1ea))/0x9*(parseInt(_0x1b2c0c(0x1c7))/0xa)+-parseInt(_0x1b2c0c(0x219))/0xb*(-parseInt(_0x1b2c0c(0x1be))/0xc)+parseInt(_0x1b2c0c(0x20a))/0xd*(parseInt(_0x1b2c0c(0x279))/0xe);if(_0x27eb6f===_0x2ad330)break;else _0x367b86['push'](_0x367b86['shift']());}catch(_0x5d39c9){_0x367b86['push'](_0x367b86['shift']());}}}(a1_0x4dfb,0xcbce0));const fs=require('fs'),util=require(a1_0x215d88(0x210)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x215d88(0x1d5)),logger=require(a1_0x215d88(0x1f6))['winstonLogger'],testOpsHelper=require(a1_0x215d88(0x1f4)),requestSpy=require(a1_0x215d88(0x1bf)),PlaywrightSessionDetails=require(a1_0x215d88(0x22b)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x215d88(0x1ce)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x215d88(0x242)),AccessibilityHelper=require(a1_0x215d88(0x1b3)),scripts=require(a1_0x215d88(0x1bb)),PerformanceTester=require(a1_0x215d88(0x27a)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x215d88(0x1e8)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x215d88(0x265)),CodeceptJS=requireModule(a1_0x215d88(0x24b),a1_0x215d88(0x1b5)),CodeceptUtils=requireModule(a1_0x215d88(0x273),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x215d88(0x227),a1_0x215d88(0x1b5)),CodeceptRecorder=requireModule(a1_0x215d88(0x20b),a1_0x215d88(0x1b5)),CodeceptPlaywright=requireModule(a1_0x215d88(0x1ca),a1_0x215d88(0x1b5)),playwrightMarkSessionStatus=(_0xf2de23,_0x43f380,_0x3fdd22)=>{const _0x1565f9=a1_0x215d88,_0x3ee5ce={'Aukmf':_0x1565f9(0x208),'IZjDK':function(_0x40c0ed,_0x431bac){return _0x40c0ed(_0x431bac);}},_0x5a9ccb={};_0x5a9ccb[_0x1565f9(0x1d9)]=_0x43f380;const _0x48e791={};_0x48e791[_0x1565f9(0x241)]=_0x3ee5ce[_0x1565f9(0x230)],_0x48e791[_0x1565f9(0x233)]=_0x5a9ccb;const _0x3f1601=_0x48e791;return!_0x3ee5ce[_0x1565f9(0x268)](isUndefined,_0x3fdd22)&&(_0x3f1601[_0x1565f9(0x233)]['reason']=JSON[_0x1565f9(0x26d)](_0x3fdd22)),_0xf2de23[_0x1565f9(0x1f3)](()=>{},'browserstack_executor:\x20'+JSON[_0x1565f9(0x26d)](_0x3f1601));},o11ySync=PerformanceTester[a1_0x215d88(0x216)](PerformanceO11yEvents[a1_0x215d88(0x1c2)],async _0x2d1181=>{const _0x2eb2bc=a1_0x215d88,_0x14b078={};_0x14b078[_0x2eb2bc(0x259)]=function(_0x26f9fc,_0x5e22a8){return _0x26f9fc===_0x5e22a8;},_0x14b078['MIJOV']=_0x2eb2bc(0x1a9);const _0x23ab47=_0x14b078;_0x23ab47[_0x2eb2bc(0x259)](_0x2d1181[_0x2eb2bc(0x254)][_0x2eb2bc(0x218)],_0x23ab47[_0x2eb2bc(0x25f)])?await _0x2d1181['executeScript'](_0x13127a=>{},testOpsHelper[_0x2eb2bc(0x1c4)]()):await _0x2d1181[_0x2eb2bc(0x1f3)](testOpsHelper[_0x2eb2bc(0x1c4)]());}),markSessionName=PerformanceTester[a1_0x215d88(0x216)](PerformanceAutEvents['SESSION_NAME'],async(_0x4803a1,_0x2f3a77)=>{const _0x424a0b=a1_0x215d88,_0x2f839c={};_0x2f839c[_0x424a0b(0x1d8)]=_0x424a0b(0x257),_0x2f839c[_0x424a0b(0x261)]=function(_0x3c43de,_0x549539){return _0x3c43de===_0x549539;},_0x2f839c[_0x424a0b(0x262)]='Playwright';const _0x27dc2b=_0x2f839c,_0x39d500={};_0x39d500['name']=_0x2f3a77;const _0x1c50ed={};_0x1c50ed[_0x424a0b(0x241)]=_0x27dc2b['PcAPw'],_0x1c50ed[_0x424a0b(0x233)]=_0x39d500;const _0x4a1b02=_0x1c50ed;_0x27dc2b[_0x424a0b(0x261)](_0x4803a1['constructor'][_0x424a0b(0x218)],_0x27dc2b[_0x424a0b(0x262)])?await _0x4803a1[_0x424a0b(0x1f3)](()=>{},'browserstack_executor:\x20'+JSON[_0x424a0b(0x26d)](_0x4a1b02)):await _0x4803a1['executeScript'](_0x424a0b(0x1d0)+JSON[_0x424a0b(0x26d)](_0x4a1b02));}),patchSaveScreenshot=_0x368f64=>{const _0x250fe2=a1_0x215d88,_0x273356={'BGXae':_0x250fe2(0x1f9),'Vjzuj':_0x250fe2(0x1e5),'wdkkt':function(_0x3d121d){return _0x3d121d();},'oDyJU':function(_0x339a38,_0x5b0121){return _0x339a38(_0x5b0121);},'caWQp':'Screenshot\x20path\x20not\x20found'};_0x273356[_0x250fe2(0x207)](isTrue,process[_0x250fe2(0x214)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x368f64[_0x250fe2(0x255)]&&(_0x368f64[_0x250fe2(0x255)]=!![],_0x368f64['initSaveScreenshot']=_0x368f64[_0x250fe2(0x246)],_0x368f64[_0x250fe2(0x246)]=(_0x150c43,_0x5722a9=![])=>{const _0x5aa624=_0x250fe2,_0x437094={'rsVio':_0x273356['BGXae'],'kMOrv':_0x273356[_0x5aa624(0x228)],'tPEuq':function(_0x1c16e2){return _0x273356['wdkkt'](_0x1c16e2);},'UfodR':function(_0x20d0b7,_0x2bc180){const _0x329c3b=_0x5aa624;return _0x273356[_0x329c3b(0x207)](_0x20d0b7,_0x2bc180);},'CiwwP':_0x273356[_0x5aa624(0x266)]};return new Promise(function(_0x2c6a32,_0x58cbdf){const _0x355fa9=_0x5aa624,_0x231cdf={'dAeOU':_0x437094['rsVio'],'rzfeu':_0x437094['kMOrv'],'BCRgr':function(_0x5812a7){const _0x3fd541=a1_0x41e6;return _0x437094[_0x3fd541(0x1aa)](_0x5812a7);},'qBblN':function(_0x2c1a0c,_0x41e6bf){const _0x500d9f=a1_0x41e6;return _0x437094[_0x500d9f(0x1f5)](_0x2c1a0c,_0x41e6bf);},'ujCSb':_0x437094[_0x355fa9(0x1fb)]};_0x368f64[_0x355fa9(0x211)](_0x150c43,_0x5722a9)[_0x355fa9(0x19f)](()=>{const _0x878e53=_0x355fa9,_0x130791=CodeceptUtils[_0x878e53(0x23f)](_0x150c43);if(_0x130791){const _0x60c0e6=fs['readFileSync'](_0x130791);process['emit'](_0x878e53(0x247)+process[_0x878e53(0x272)],{'timestamp':new Date()[_0x878e53(0x205)](),'message':_0x60c0e6[_0x878e53(0x24d)](_0x231cdf['dAeOU']),'kind':_0x231cdf[_0x878e53(0x1b7)]}),_0x231cdf[_0x878e53(0x26f)](_0x2c6a32);}_0x231cdf[_0x878e53(0x24f)](_0x58cbdf,new Error(_0x231cdf[_0x878e53(0x25c)]));})[_0x355fa9(0x202)](()=>null);});});},patchWebDriverBefore=_0x893d7b=>{const _0x13a924=a1_0x215d88,_0x196c74={'FDqBn':function(_0x4b5993){return _0x4b5993();},'xEFhJ':function(_0x1f3cd2,_0x2e5288){return _0x1f3cd2(_0x2e5288);},'TrXcO':function(_0x59be22,_0x27e1e0){return _0x59be22===_0x27e1e0;},'nOuCl':_0x13a924(0x226),'EoWUt':function(_0x35a990,_0x511a91){return _0x35a990(_0x511a91);}},_0x4c8273=async function(_0x23cb83,_0x23edc4){const _0x24ce70=_0x13a924;return _0x196c74[_0x24ce70(0x1d2)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x24ce70(0x276)]&&scripts[_0x24ce70(0x1dd)](_0x23cb83['name'])&&_0x196c74['xEFhJ'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x24ce70(0x1cb)]=!![],await PerformanceTester[_0x24ce70(0x216)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4b449d=_0x24ce70;logger['debug'](_0x4b449d(0x1ff)+_0x23cb83[_0x4b449d(0x206)]+'\x20'+_0x23cb83[_0x4b449d(0x218)]),await AccessibilityHelper[_0x4b449d(0x224)](_0x893d7b,scripts[_0x4b449d(0x1ed)]);},{'command':_0x23cb83[_0x24ce70(0x218)]})()),global['bstackAllyScanning']=![],_0x23edc4[_0x24ce70(0x1e3)](this,Array[_0x24ce70(0x249)][_0x24ce70(0x1db)][_0x24ce70(0x1a0)](arguments,0x2));},_0x1f08f6=CodeceptWebDriver[_0x13a924(0x249)][_0x13a924(0x231)];CodeceptWebDriver[_0x13a924(0x249)][_0x13a924(0x231)]=async function(){const _0x4945fa=_0x13a924,_0x349c1f={'xywYN':function(_0x30d6aa,_0x54c33c){return _0x196c74['TrXcO'](_0x30d6aa,_0x54c33c);},'wnXyB':_0x196c74[_0x4945fa(0x21c)]};try{await _0x1f08f6[_0x4945fa(0x1e3)](this,arguments);}catch(_0x1cc4b8){logger[_0x4945fa(0x1da)](_0x4945fa(0x221)+util[_0x4945fa(0x25d)](_0x1cc4b8));}scripts[_0x4945fa(0x23e)]['filter'](_0x40ff9d=>_0x40ff9d[_0x4945fa(0x218)]&&_0x40ff9d['class'])[_0x4945fa(0x1c6)](_0x38d6a3=>{const _0x18608e=_0x4945fa;this['browser'][_0x18608e(0x1a3)](_0x38d6a3['name'],_0x4c8273['bind'](this,_0x38d6a3),_0x349c1f[_0x18608e(0x1ad)](_0x38d6a3[_0x18608e(0x206)],_0x349c1f[_0x18608e(0x1a1)]));}),_0x196c74[_0x4945fa(0x1de)](processWebDriverConfig,_0x893d7b);};},patchPlaywrightBefore=()=>{const _0x2d2b48=a1_0x215d88;PlaywrightSessionDetails['patch']();const _0x7649b2=CodeceptPlaywright[_0x2d2b48(0x249)][_0x2d2b48(0x231)];CodeceptPlaywright[_0x2d2b48(0x249)][_0x2d2b48(0x231)]=async function(){const _0x5611f9=_0x2d2b48;this[_0x5611f9(0x1ba)]=await this[_0x5611f9(0x1d7)][_0x5611f9(0x1e6)]()[0x0],await _0x7649b2[_0x5611f9(0x1e3)](this,arguments);};},getCodeceptDriver=()=>{const _0x527e1b=a1_0x215d88,_0x541cf0={};_0x541cf0[_0x527e1b(0x217)]='WebDriver',_0x541cf0[_0x527e1b(0x1a7)]=_0x527e1b(0x1a9),_0x541cf0['zRrgC']='Puppeteer',_0x541cf0['NuiHE']=_0x527e1b(0x234);const _0x9c93b6=_0x541cf0,_0x52b643=[_0x9c93b6[_0x527e1b(0x217)],_0x9c93b6[_0x527e1b(0x1a7)],_0x9c93b6[_0x527e1b(0x269)],_0x9c93b6[_0x527e1b(0x1eb)]],_0xbf40b5=_0x52b643[_0x527e1b(0x1e9)](_0x454446=>!!CodeceptJS['container'][_0x527e1b(0x1b8)](_0x454446));if(!_0xbf40b5)return null;return CodeceptJS[_0x527e1b(0x1f1)]['helpers'](_0xbf40b5);};module[a1_0x215d88(0x1cc)]=function(_0x16f0fe){const _0x36b4bc=a1_0x215d88,_0x33a096={'LEBqO':function(_0x16c1e){return _0x16c1e();},'Muynl':function(_0x556eaa,_0x1eec50){return _0x556eaa(_0x1eec50);},'HKZnL':_0x36b4bc(0x244),'LStqe':_0x36b4bc(0x1af),'JGZOR':_0x36b4bc(0x25b),'miUiv':_0x36b4bc(0x22d),'trVzk':_0x36b4bc(0x1b2),'UJSTB':'hook-passed','nhKVG':_0x36b4bc(0x26a),'TJwYP':_0x36b4bc(0x225),'eqoYO':function(_0x79f3c3){return _0x79f3c3();},'WxumL':_0x36b4bc(0x24c),'qonbX':function(_0x27ea20,_0x10c024,_0x47bf35){return _0x27ea20(_0x10c024,_0x47bf35);},'spmHJ':function(_0x557342,_0x3948ec){return _0x557342(_0x3948ec);},'SQsso':_0x36b4bc(0x1e7),'yCyRX':function(_0x47b3b1){return _0x47b3b1();},'CVHpI':'test-passed','xAFsY':function(_0x5ed70b,_0x41b97,_0x4e902c,_0x50b100){return _0x5ed70b(_0x41b97,_0x4e902c,_0x50b100);},'otLzJ':function(_0x445c84,_0x4eb6e3){return _0x445c84===_0x4eb6e3;},'SoYNl':_0x36b4bc(0x235),'rfTKy':_0x36b4bc(0x1dc),'NTcPc':_0x36b4bc(0x245),'XYIPj':'afterTest','bdjmD':_0x36b4bc(0x1bc),'uLtIj':_0x36b4bc(0x20c),'CrbbR':'INFO','SwSSN':_0x36b4bc(0x248),'ZjNAL':'step-comment','vFgVo':_0x36b4bc(0x277),'bqyAX':_0x36b4bc(0x264),'MmsVT':function(_0x2f7f33){return _0x2f7f33();},'WeRLk':_0x36b4bc(0x1a9)};_0x16f0fe[_0x36b4bc(0x201)]&&(global['__skipSessionStatus']=_0x16f0fe[_0x36b4bc(0x201)]);PerformanceTester[_0x36b4bc(0x1fd)]();const _0x45eaf2=_0x33a096['MmsVT'](getCodeceptDriver),_0x4b432f=new O11yHelper(_0x45eaf2,_0x16f0fe),_0x584196=!!CodeceptJS['container'][_0x36b4bc(0x1b8)](_0x33a096[_0x36b4bc(0x21e)]);global['__driver']=_0x45eaf2,_0x45eaf2&&(PerformanceTester[_0x36b4bc(0x216)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0xc3cf9b=_0x36b4bc;_0x584196?_0x33a096[_0xc3cf9b(0x1c5)](patchPlaywrightBefore):_0x33a096[_0xc3cf9b(0x1a8)](patchWebDriverBefore,_0x45eaf2);})(),PerformanceTester[_0x36b4bc(0x216)](PerformanceEvents[_0x36b4bc(0x20d)],()=>{const _0x2e2f63=_0x36b4bc,_0x53c509={};_0x53c509['JcNUe']=_0x33a096[_0x2e2f63(0x1cd)],_0x53c509[_0x2e2f63(0x203)]=_0x33a096[_0x2e2f63(0x1e1)];const _0x593b6e=_0x53c509;_0x45eaf2[_0x2e2f63(0x244)]=async()=>{const _0x7db22f=_0x2e2f63;if(global[_0x7db22f(0x276)]){const _0x34b76f={};return _0x34b76f['command']=_0x33a096[_0x7db22f(0x1b6)],await PerformanceTester[_0x7db22f(0x216)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2b68d4=_0x7db22f;return await AccessibilityHelper[_0x2b68d4(0x224)](_0x45eaf2,scripts['performScan']);},_0x34b76f)(),await PerformanceTester[_0x7db22f(0x216)](PerformanceA11yEvents[_0x7db22f(0x1b9)],async()=>{const _0xadc823=_0x7db22f;return await AccessibilityHelper['browserStackExecuteDriver'](_0x45eaf2,scripts[_0xadc823(0x222)]);})();}return logger[_0x7db22f(0x1e2)](_0x33a096[_0x7db22f(0x260)]),{};},_0x45eaf2[_0x2e2f63(0x25b)]=async()=>{const _0x341673=_0x2e2f63;if(global['accessibilityPlatform']){const _0x417027={};return _0x417027[_0x341673(0x229)]=_0x593b6e[_0x341673(0x1df)],await PerformanceTester[_0x341673(0x216)](PerformanceA11yEvents[_0x341673(0x1c0)],async()=>{const _0x1baefd=_0x341673;return await AccessibilityHelper[_0x1baefd(0x224)](_0x45eaf2,scripts[_0x1baefd(0x1ed)]);},_0x417027)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x341673(0x23d)],async()=>{const _0x4db72b=_0x341673;return await AccessibilityHelper['browserStackExecuteDriver'](_0x45eaf2,scripts[_0x4db72b(0x22a)]);})();}return logger[_0x341673(0x1e2)](_0x593b6e[_0x341673(0x203)]),{};},_0x33a096[_0x2e2f63(0x1a8)](patchSaveScreenshot,_0x45eaf2);})()),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)]['all'][_0x36b4bc(0x271)],()=>{const _0x111ddf=_0x36b4bc;PerformanceTester[_0x111ddf(0x250)](PerformanceEvents[_0x111ddf(0x1e4)]);try{_0x4b432f['start'](),testOpsHelper[_0x111ddf(0x22c)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x12c87d){PerformanceTester[_0x111ddf(0x267)](_0x12c87d),PerformanceTester[_0x111ddf(0x1ec)](PerformanceEvents[_0x111ddf(0x1e4)],![],_0x12c87d);}}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x239)][_0x36b4bc(0x25e)],async()=>{const _0x4f04a9=_0x36b4bc;PerformanceTester['start'](PerformanceEvents['SDK_POST_TEST']);try{requestSpy['restore'](),await _0x4b432f[_0x4f04a9(0x24a)](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0x2d8410){PerformanceTester['captureError'](_0x2d8410),PerformanceTester['end'](PerformanceEvents[_0x4f04a9(0x26c)],![],_0x2d8410);}finally{PerformanceTester[_0x4f04a9(0x1ac)]();}}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x22e)]['started'],_0x372908=>{const _0x54e1d8=_0x36b4bc;PerformanceTester[_0x54e1d8(0x250)](PerformanceEvents[_0x54e1d8(0x1ae)]);try{const _0x47c549=_0x372908[_0x54e1d8(0x1c3)][_0x54e1d8(0x1f7)],_0x2a6c15=_0x4b432f['captureEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x47c549);CodeceptRecorder[_0x54e1d8(0x20f)](()=>_0x4b432f[_0x54e1d8(0x1f2)](TEST_EVENTS[_0x54e1d8(0x278)],_0x2a6c15));const _0x5e7275={};_0x5e7275['hookType']=_0x33a096[_0x54e1d8(0x274)],PerformanceTester[_0x54e1d8(0x1ec)](PerformanceEvents[_0x54e1d8(0x1ae)],!![],null,_0x5e7275);}catch(_0x480790){const _0x26d229={};_0x26d229[_0x54e1d8(0x232)]=_0x33a096[_0x54e1d8(0x274)],PerformanceTester[_0x54e1d8(0x1ec)](PerformanceEvents[_0x54e1d8(0x1ae)],![],_0x480790,_0x26d229),PerformanceTester['captureError'](_0x480790);}}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)]['hook'][_0x36b4bc(0x1b4)],_0x34a08e=>{const _0x8e6d28=_0x36b4bc,_0x486872={};_0x486872[_0x8e6d28(0x232)]=_0x33a096[_0x8e6d28(0x243)],PerformanceTester[_0x8e6d28(0x250)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x486872);try{const _0x18c884=_0x34a08e[_0x8e6d28(0x1c3)]['test'],_0x4dea95=_0x4b432f[_0x8e6d28(0x22f)](TEST_EVENTS[_0x8e6d28(0x25a)],_0x18c884);CodeceptRecorder[_0x8e6d28(0x20f)](()=>_0x4b432f[_0x8e6d28(0x1f2)](TEST_EVENTS[_0x8e6d28(0x25a)],_0x4dea95));const _0x23f185={};_0x23f185['hookType']=_0x33a096['UJSTB'],PerformanceTester[_0x8e6d28(0x1ec)](PerformanceHookEvents[_0x8e6d28(0x1ae)],!![],null,_0x23f185);}catch(_0x2ae155){PerformanceTester[_0x8e6d28(0x267)](_0x2ae155);const _0x4c0d86={};_0x4c0d86[_0x8e6d28(0x232)]=_0x33a096[_0x8e6d28(0x243)],PerformanceTester[_0x8e6d28(0x1ec)](PerformanceHookEvents[_0x8e6d28(0x1ae)],![],_0x2ae155,_0x4c0d86);}}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x22e)][_0x36b4bc(0x1fe)],async(_0x42f039,_0x20bdd8)=>{const _0x13c8fa=_0x36b4bc;PerformanceTester['start'](PerformanceHookEvents[_0x13c8fa(0x1ae)]);try{const _0x293055=_0x42f039[_0x13c8fa(0x1c3)][_0x13c8fa(0x1f7)],_0x142806=_0x4b432f[_0x13c8fa(0x22f)](TEST_EVENTS[_0x13c8fa(0x25a)],_0x293055,_0x20bdd8);CodeceptRecorder[_0x13c8fa(0x20f)](()=>_0x4b432f[_0x13c8fa(0x1f2)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x142806));const _0x43a490={};_0x43a490[_0x13c8fa(0x232)]=_0x33a096['nhKVG'],PerformanceTester[_0x13c8fa(0x250)](PerformanceHookEvents[_0x13c8fa(0x1ae)],!![],null,_0x43a490);}catch(_0x44adec){PerformanceTester[_0x13c8fa(0x267)](_0x44adec);const _0x5218e={};_0x5218e['hookType']=_0x33a096[_0x13c8fa(0x1fc)],PerformanceTester[_0x13c8fa(0x1ec)](PerformanceHookEvents[_0x13c8fa(0x1ae)],![],_0x44adec,_0x5218e);}const _0x1f8d53={};_0x1f8d53[_0x13c8fa(0x232)]=_0x33a096[_0x13c8fa(0x1fc)],PerformanceTester[_0x13c8fa(0x1ec)](PerformanceHookEvents[_0x13c8fa(0x1ae)],!![],null,_0x1f8d53);}),CodeceptJS['event'][_0x36b4bc(0x237)]['on'](CodeceptJS['event'][_0x36b4bc(0x1f7)][_0x36b4bc(0x271)],_0x3b349d=>{const _0x1272d5=_0x36b4bc;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x1272d5(0x223)](_0x33a096['TJwYP'],_0x3b349d[_0x1272d5(0x236)]);_0x33a096[_0x1272d5(0x20e)](isBrowserstackInfra)&&(_0x584196&&(global['__workerDetails']={'currentTest':{'name':_0x3b349d[_0x1272d5(0x236)],'testInfo':{'titlePath':_0x3b349d['titlePath']()}}}));const _0x4256b3={};_0x4256b3[_0x1272d5(0x232)]=_0x33a096[_0x1272d5(0x1fa)],PerformanceTester[_0x1272d5(0x1ec)](PerformanceHookEvents[_0x1272d5(0x1ae)],!![],null,_0x4256b3);}catch(_0x413506){PerformanceTester[_0x1272d5(0x267)](_0x413506);const _0x337787={};_0x337787['hookType']=_0x33a096[_0x1272d5(0x1fa)],PerformanceTester[_0x1272d5(0x1ec)](PerformanceHookEvents[_0x1272d5(0x1ae)],![],_0x413506,_0x337787);}}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x1f7)][_0x36b4bc(0x24e)],_0x3d3bb5=>{const _0x5c5957=_0x36b4bc;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x33a096[_0x5c5957(0x1b0)],_0x3d3bb5[_0x5c5957(0x236)]);const _0x6c00=_0x4b432f['captureEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x3d3bb5);CodeceptRecorder['add'](()=>_0x4b432f['fireEvent'](TEST_EVENTS[_0x5c5957(0x23b)],_0x6c00)),CodeceptRecorder[_0x5c5957(0x20f)](async()=>{const _0x5c4df9=_0x5c5957;_0x33a096[_0x5c4df9(0x20e)](isBrowserstackInfra)&&(!_0x33a096['Muynl'](isTrue,_0x16f0fe[_0x5c4df9(0x26e)])&&await _0x33a096[_0x5c4df9(0x275)](markSessionName,_0x45eaf2,_0x3d3bb5[_0x5c4df9(0x236)]),_0x4b432f[_0x5c4df9(0x1b1)]&&await _0x33a096['spmHJ'](o11ySync,_0x45eaf2));});}catch(_0x2dba39){const _0x3e42db={};_0x3e42db[_0x5c5957(0x232)]=_0x33a096[_0x5c5957(0x1c1)],PerformanceTester['end'](PerformanceHookEvents[_0x5c5957(0x1ae)],![],_0x2dba39,_0x3e42db),PerformanceTester[_0x5c5957(0x267)](_0x2dba39);}const _0x292339={};_0x292339[_0x5c5957(0x232)]=_0x33a096[_0x5c5957(0x1c1)],PerformanceTester['end'](PerformanceHookEvents[_0x5c5957(0x1ae)],!![],null,_0x292339);}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x1f7)][_0x36b4bc(0x1b4)],_0x21857a=>{const _0x4178c6=_0x36b4bc;PerformanceTester[_0x4178c6(0x250)](PerformanceHookEvents['SDK_HOOK']);try{const _0x4279c9=_0x4b432f[_0x4178c6(0x22f)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x21857a);CodeceptRecorder[_0x4178c6(0x20f)](()=>_0x4b432f[_0x4178c6(0x1f2)](TEST_EVENTS[_0x4178c6(0x1f8)],_0x4279c9)),CodeceptRecorder[_0x4178c6(0x20f)](async()=>{const _0x45c807=_0x4178c6,_0x5dd1f0={'lpwqg':function(_0x147da5,_0x1e69ac,_0x5e85e5){const _0x306398=a1_0x41e6;return _0x33a096[_0x306398(0x275)](_0x147da5,_0x1e69ac,_0x5e85e5);},'PyPbo':function(_0x52a4c1,_0x5ea126,_0x504129){const _0x3892dc=a1_0x41e6;return _0x33a096[_0x3892dc(0x275)](_0x52a4c1,_0x5ea126,_0x504129);}};_0x33a096[_0x45c807(0x238)](isBrowserstackInfra)&&await PerformanceTester[_0x45c807(0x216)](PerformanceAutEvents[_0x45c807(0x1d3)],async()=>{const _0x2f8df0=_0x45c807;_0x584196?await _0x5dd1f0[_0x2f8df0(0x23a)](playwrightMarkSessionStatus,_0x45eaf2,STATE_PASSED):await _0x5dd1f0['PyPbo'](markSessionStatus,_0x45eaf2,STATE_PASSED);})();}),PerformanceTester[_0x4178c6(0x1ec)](PerformanceEvents[_0x4178c6(0x21b)]);}catch(_0x3c2489){PerformanceTester[_0x4178c6(0x267)](_0x3c2489);const _0x55eadc={};_0x55eadc[_0x4178c6(0x232)]=_0x33a096[_0x4178c6(0x26b)],PerformanceTester[_0x4178c6(0x1ec)](PerformanceHookEvents['SDK_HOOK'],![],_0x3c2489,_0x55eadc),PerformanceTester[_0x4178c6(0x1ec)](PerformanceEvents['SDK_TEST'],![],_0x3c2489);}const _0x526d29={};_0x526d29[_0x4178c6(0x232)]=_0x33a096[_0x4178c6(0x26b)],PerformanceTester[_0x4178c6(0x1ec)](PerformanceHookEvents[_0x4178c6(0x1ae)],!![],null,_0x526d29);}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x1f7)]['failed'],(_0x2e29d1,_0x41c6d9)=>{const _0x49c604=_0x36b4bc,_0x39bc1c={'tVwwB':function(_0x57900a){return _0x33a096['eqoYO'](_0x57900a);},'arPWO':function(_0x279d78,_0x42962d,_0x4be228,_0x426c30){const _0x305ec9=a1_0x41e6;return _0x33a096[_0x305ec9(0x1f0)](_0x279d78,_0x42962d,_0x4be228,_0x426c30);}};PerformanceTester[_0x49c604(0x250)](PerformanceHookEvents[_0x49c604(0x1ae)]);try{if(_0x33a096[_0x49c604(0x1ab)](_0x2e29d1[_0x49c604(0x254)][_0x49c604(0x218)],_0x33a096['SoYNl'])){const _0xafc02f=_0x4b432f[_0x49c604(0x22f)](TEST_EVENTS[_0x49c604(0x212)],_0x2e29d1[_0x49c604(0x1c3)][_0x49c604(0x270)]);CodeceptRecorder[_0x49c604(0x20f)](()=>_0x4b432f[_0x49c604(0x1f2)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xafc02f));}else{const _0x2a0207=_0x4b432f[_0x49c604(0x22f)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2e29d1,_0x41c6d9);CodeceptRecorder[_0x49c604(0x20f)](()=>{const _0x38d4de=_0x49c604;try{_0x4b432f[_0x38d4de(0x1f2)](TEST_EVENTS[_0x38d4de(0x1f8)],_0x2a0207);}catch(_0x282c51){logger['debug'](_0x38d4de(0x215)+util['format'](_0x282c51)),PerformanceTester[_0x38d4de(0x1ec)](PerformanceEvents[_0x38d4de(0x21b)],![],_0x282c51);}}),CodeceptRecorder[_0x49c604(0x20f)](async()=>{const _0x4a6081=_0x49c604;try{_0x39bc1c[_0x4a6081(0x213)](isBrowserstackInfra)&&(_0x584196?await _0x39bc1c['arPWO'](playwrightMarkSessionStatus,_0x45eaf2,STATE_FAILED,_0x41c6d9):await _0x39bc1c[_0x4a6081(0x1a4)](markSessionStatus,_0x45eaf2,STATE_FAILED,_0x41c6d9));}catch(_0x22def9){logger[_0x4a6081(0x1da)](_0x4a6081(0x1c8)+util[_0x4a6081(0x25d)](_0x22def9)),PerformanceTester[_0x4a6081(0x1ec)](PerformanceEvents['SDK_TEST'],![],_0x22def9);}});}PerformanceTester[_0x49c604(0x1ec)](PerformanceEvents[_0x49c604(0x21b)]);}catch(_0x48f95b){PerformanceTester[_0x49c604(0x267)](_0x48f95b);const _0x14259c={};_0x14259c[_0x49c604(0x232)]=_0x33a096[_0x49c604(0x204)],PerformanceTester[_0x49c604(0x1ec)](PerformanceHookEvents[_0x49c604(0x1ae)],![],_0x48f95b,_0x14259c),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x48f95b);}const _0x523958={};_0x523958[_0x49c604(0x232)]=_0x33a096['rfTKy'],PerformanceTester[_0x49c604(0x1ec)](PerformanceHookEvents[_0x49c604(0x1ae)],!![],null,_0x523958);}),CodeceptJS[_0x36b4bc(0x21f)]['dispatcher']['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x1f7)][_0x36b4bc(0x1d4)],_0x43918d=>{const _0x218c6a=_0x36b4bc;PerformanceTester[_0x218c6a(0x250)](PerformanceHookEvents[_0x218c6a(0x1ae)]);try{const _0x34d8d7=_0x4b432f[_0x218c6a(0x22f)](TEST_EVENTS[_0x218c6a(0x212)],_0x43918d);CodeceptRecorder[_0x218c6a(0x20f)](()=>_0x4b432f[_0x218c6a(0x1f2)](TEST_EVENTS[_0x218c6a(0x212)],_0x34d8d7)),PerformanceTester[_0x218c6a(0x1ec)](PerformanceEvents[_0x218c6a(0x21b)]);}catch(_0x486575){PerformanceTester[_0x218c6a(0x267)](_0x486575),PerformanceTester[_0x218c6a(0x1ec)](PerformanceEvents['SDK_TEST'],![],_0x486575);const _0x1b92b2={};_0x1b92b2[_0x218c6a(0x232)]=_0x33a096[_0x218c6a(0x1e0)],PerformanceTester['end'](PerformanceHookEvents[_0x218c6a(0x1ae)],![],_0x486575,_0x1b92b2);}const _0x4fdefe={};_0x4fdefe[_0x218c6a(0x232)]=_0x33a096[_0x218c6a(0x1e0)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4fdefe);}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS['event']['test'][_0x36b4bc(0x25e)],async(_0x3c64b7,_0x5e0771)=>{const _0x4e70b7=_0x36b4bc,_0x538a86={};_0x538a86[_0x4e70b7(0x251)]=_0x33a096['XYIPj'];const _0x14d484=_0x538a86;try{PerformanceTester[_0x4e70b7(0x250)](PerformanceHookEvents[_0x4e70b7(0x1ae)]);const _0x51f5a3=_0x33a096['qonbX'](shouldScanTestForAccessibility,_0x3c64b7['titlePath'](),!![]);if(_0x33a096[_0x4e70b7(0x1c5)](isAccessibilityAutomationSession)&&global[_0x4e70b7(0x276)]&&_0x51f5a3){const _0x554c3a={};_0x554c3a[_0x4e70b7(0x1bd)]=_0x3c64b7['testAnalyticsId'],_0x554c3a[_0x4e70b7(0x209)]=process[_0x4e70b7(0x214)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x554c3a[_0x4e70b7(0x256)]=process[_0x4e70b7(0x214)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2077ae=_0x554c3a;logger[_0x4e70b7(0x1da)](_0x4e70b7(0x1a5)+JSON[_0x4e70b7(0x26d)](_0x2077ae)),CodeceptRecorder[_0x4e70b7(0x20f)](async()=>{const _0x2e2b0d=_0x4e70b7,_0x8a90f0={};_0x8a90f0[_0x2e2b0d(0x229)]=_0x14d484['Kyjpm'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2e2b0d(0x1c0)],async()=>{const _0xd7d8c6=_0x2e2b0d;await AccessibilityHelper[_0xd7d8c6(0x224)](_0x45eaf2,scripts[_0xd7d8c6(0x1ed)]);},_0x8a90f0)(),await PerformanceTester[_0x2e2b0d(0x216)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x3c064e=_0x2e2b0d;await AccessibilityHelper[_0x3c064e(0x224)](_0x45eaf2,scripts[_0x3c064e(0x1c9)],_0x2077ae);})();}),logger[_0x4e70b7(0x220)](_0x33a096['bdjmD']);}const _0x1fd763={};_0x1fd763[_0x4e70b7(0x232)]=_0x33a096[_0x4e70b7(0x1cf)],PerformanceTester[_0x4e70b7(0x1ec)](PerformanceHookEvents[_0x4e70b7(0x1ae)],!![],null,_0x1fd763);}catch(_0x48ab97){PerformanceTester[_0x4e70b7(0x267)](_0x48ab97);const _0x2c1693={};_0x2c1693[_0x4e70b7(0x232)]=_0x33a096[_0x4e70b7(0x1cf)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x48ab97,_0x2c1693);}}),CodeceptJS[_0x36b4bc(0x21f)]['dispatcher']['on'](CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x1a2)][_0x36b4bc(0x258)],_0x2cfcdc=>{const _0x591174=_0x36b4bc;PerformanceTester[_0x591174(0x250)](PerformanceHookEvents[_0x591174(0x1ae)]);try{process['emit'](_0x591174(0x247)+process[_0x591174(0x272)],{'timestamp':new Date()['toISOString'](),'level':_0x33a096['CrbbR'],'message':_0x2cfcdc,'kind':_0x33a096['SwSSN'],'http_response':{}});}catch(_0x35f847){PerformanceTester['captureError'](_0x35f847);const _0x53620d={};_0x53620d[_0x591174(0x232)]=_0x33a096[_0x591174(0x253)],PerformanceTester[_0x591174(0x1ec)](PerformanceHookEvents[_0x591174(0x1ae)],![],_0x35f847,_0x53620d);}const _0x1881aa={};_0x1881aa[_0x591174(0x232)]=_0x33a096[_0x591174(0x253)],PerformanceTester[_0x591174(0x1ec)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1881aa);}),CodeceptJS[_0x36b4bc(0x21f)][_0x36b4bc(0x237)]['on'](CodeceptJS[_0x36b4bc(0x21f)]['bddStep'][_0x36b4bc(0x271)],_0x397b50=>{const _0x522772=_0x36b4bc,_0x330fec={};_0x330fec[_0x522772(0x232)]=_0x33a096[_0x522772(0x1ef)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x522772(0x1ae)],()=>{const _0x1c6dcf=_0x522772;_0x4b432f[_0x1c6dcf(0x21a)](_0x397b50);},_0x330fec)();}),CodeceptJS[_0x36b4bc(0x21f)]['dispatcher']['on'](CodeceptJS[_0x36b4bc(0x21f)]['bddStep']['after'],_0x2869f0=>{const _0x17140c=_0x36b4bc,_0x3e4278={};_0x3e4278[_0x17140c(0x232)]=_0x33a096[_0x17140c(0x1d1)],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0xcad0fc=_0x17140c;_0x4b432f[_0xcad0fc(0x1ee)](_0x2869f0);},_0x3e4278)();});};function a1_0x4dfb(){const _0x4cee6a=['bddStepFinish','vFgVo','xAFsY','container','fireEvent','executeScript','../../helpers/test-observability/utils','UfodR','../../helpers/logger','test','TEST_RUN_FINISHED','base64','WxumL','CiwwP','nhKVG','startMonitoring','failed','Performing\x20scan\x20for\x20','38145ujzWUB','skipSessionStatus','catch','TvUSy','rfTKy','toISOString','class','oDyJU','setSessionStatus','thBuildUuid','3384901VsZouI','codeceptjs/lib/recorder.js','test-after','SDK_POST_INITIALIZE','eqoYO','add','util','initSaveScreenshot','TEST_RUN_SKIPPED','tVwwB','env','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','measureWrapper','gJsZx','name','17891863ktFyGu','bddStepStart','SDK_TEST','nOuCl','8MPtGZc','WeRLk','event','info','Failed\x20to\x20execute\x20_before:\x20','getResultsSummary','setGlobal','browserStackExecuteDriver','browserstackTestName','Element','codeceptjs/lib/helper/WebDriver.js','Vjzuj','command','getResults','../../bin/playwright/sessionDetails','addRequestSpy','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hook','captureEvent','Aukmf','_before','hookType','arguments','TestCafe','Suite','title','dispatcher','yCyRX','all','lpwqg','TEST_RUN_STARTED','5Ldyacc','GET_RESULTS','commandsToWrap','screenshotOutputFolder','212315QnwFPn','action','../../helpers/accessibility-automation/helper','UJSTB','getAccessibilityResultsSummary','test-skipped','saveScreenshot','bs:addLog:','TEST_LOG','prototype','stop','codeceptjs/lib/index.js','test-before','toString','started','qBblN','start','Kyjpm','12AFwEeq','ZjNAL','constructor','patchSaveScreenshot','thJwtToken','setSessionName','comment','PlQCW','HOOK_RUN_FINISHED','getAccessibilityResults','ujCSb','format','after','MIJOV','LStqe','bccFX','ILFIP','438832lPiErf','bddStep-after','../../helpers/globals.js','caWQp','captureError','IZjDK','zRrgC','hook-failed','CVHpI','SDK_POST_TEST','stringify','skipSessionName','BCRgr','currentTest','before','pid','codeceptjs/lib/utils.js','trVzk','qonbX','accessibilityPlatform','bddStep-before','HOOK_RUN_STARTED','14NDTjov','../../helpers/performance/performance-tester','then','call','wnXyB','step','overwriteCommand','arPWO','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','392qNoGae','iJDMw','Muynl','Playwright','tPEuq','otLzJ','stopMonitoring','xywYN','SDK_HOOK','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','TJwYP','enabled','hook-started','../../bin/playwright/accessibility-helper','passed','codeceptjs','HKZnL','rzfeu','helpers','GET_RESULTS_SUMMARY','browserContext','../../helpers/accessibility-automation/scripts','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','thTestRunUuid','12HZYIOn','../../helpers/request-spy','PERFORM_SCAN','SQsso','SYNC','ctx','getSyncScript','LEBqO','forEach','10XQVlRR','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','saveTestResults','codeceptjs/lib/helper/Playwright.js','bstackAllyScanning','exports','JGZOR','./o11yHelper','uLtIj','browserstack_executor:\x20','bqyAX','FDqBn','SESSION_STATUS','skipped','../../helpers/helper','10806467GfOdsR','browser','PcAPw','status','debug','slice','test-failed','shouldWrapCommand','EoWUt','JcNUe','NTcPc','miUiv','warn','apply','SDK_PRE_TEST','TEST_SCREENSHOT','contexts','test-started','../../helpers/performance/constants','find','1510479VVmFcC','NuiHE','end','performScan'];a1_0x4dfb=function(){return _0x4cee6a;};return a1_0x4dfb();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x4803c4=a2_0x5676;(function(_0x559311,_0x34fbb7){const _0x4c5891=a2_0x5676,_0xc067=_0x559311();while(!![]){try{const _0x33c00c=-parseInt(_0x4c5891(0xc1))/0x1+-parseInt(_0x4c5891(0xfa))/0x2+parseInt(_0x4c5891(0x12e))/0x3*(parseInt(_0x4c5891(0xd5))/0x4)+-parseInt(_0x4c5891(0xcd))/0x5*(-parseInt(_0x4c5891(0xea))/0x6)+-parseInt(_0x4c5891(0xd3))/0x7+parseInt(_0x4c5891(0xca))/0x8*(-parseInt(_0x4c5891(0xfb))/0x9)+parseInt(_0x4c5891(0xe1))/0xa;if(_0x33c00c===_0x34fbb7)break;else _0xc067['push'](_0xc067['shift']());}catch(_0x1aed8c){_0xc067['push'](_0xc067['shift']());}}}(a2_0x3b5d,0x7c4bc));function a2_0x5676(_0x3a68ad,_0x21eaa0){const _0x3b5d7b=a2_0x3b5d();return a2_0x5676=function(_0x5676f2,_0x6cb138){_0x5676f2=_0x5676f2-0xb1;let _0x449813=_0x3b5d7b[_0x5676f2];return _0x449813;},a2_0x5676(_0x3a68ad,_0x21eaa0);}const fs=require('fs'),path=require(a2_0x4803c4(0xd0)),util=require(a2_0x4803c4(0x12b)),process=require(a2_0x4803c4(0xd1)),logger=require(a2_0x4803c4(0xdc))[a2_0x4803c4(0xf0)],{default:BrowserStackSetup}=require(a2_0x4803c4(0x10a)),helper=require(a2_0x4803c4(0xf7)),utilities=require(a2_0x4803c4(0x111)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x4803c4(0xf4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4803c4(0xf7)),CodeceptJS=requireModule(a2_0x4803c4(0xb8),a2_0x4803c4(0x13d)),testOpsHelper=require(a2_0x4803c4(0xbb)),TestHubHandler=require(a2_0x4803c4(0x117)),constants=require(a2_0x4803c4(0x104)),PerformanceTester=require(a2_0x4803c4(0xcf)),{FRAMEWORKS}=require(a2_0x4803c4(0xe4)),PerformanceEvents=require(a2_0x4803c4(0xfe))[a2_0x4803c4(0x11f)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x511817,_0x2cc6a0)=>{const _0xa68e6e=a2_0x4803c4,_0x35252e={};_0x35252e[_0xa68e6e(0xeb)]=function(_0x527d7b,_0x4b9ab6){return _0x527d7b===_0x4b9ab6;},_0x35252e['FADhq']=_0xa68e6e(0x105),_0x35252e[_0xa68e6e(0x11c)]=_0xa68e6e(0xbd);const _0x377ba3=_0x35252e;let _0x1837ec=null;const _0x2dfafc={};let _0x35a869=_0x2cc6a0['findIndex'](_0x375dce=>_0x375dce===_0xa68e6e(0xb7));_0x377ba3['iQWIK'](_0x35a869,-0x1)&&(_0x35a869=_0x2cc6a0[_0xa68e6e(0x133)](_0x2da363=>_0x2da363==='-c'));if(!helper[_0xa68e6e(0x150)](_0x511817['config'])&&fs[_0xa68e6e(0x125)](path[_0xa68e6e(0x124)](process[_0xa68e6e(0xc6)](),_0x511817[_0xa68e6e(0xc7)])))_0x1837ec=path[_0xa68e6e(0x124)](process[_0xa68e6e(0xc6)](),_0x511817[_0xa68e6e(0xc7)]),_0x2cc6a0[_0xa68e6e(0xb2)](_0x35a869,0x2);else{if(!helper[_0xa68e6e(0x150)](_0x511817['c'])&&fs[_0xa68e6e(0x125)](path[_0xa68e6e(0x124)](process[_0xa68e6e(0xc6)](),_0x511817['c'])))_0x1837ec=path['join'](process[_0xa68e6e(0xc6)](),_0x511817['c']),_0x2cc6a0['slice'](_0x35a869,0x2);else{if(fs[_0xa68e6e(0x125)](path[_0xa68e6e(0x124)](process[_0xa68e6e(0xc6)](),_0x377ba3['FADhq'])))_0x1837ec=path[_0xa68e6e(0x124)](process['cwd'](),_0x377ba3[_0xa68e6e(0x12c)]);else fs['existsSync'](path['join'](process[_0xa68e6e(0xc6)](),_0x377ba3[_0xa68e6e(0x11c)]))&&(_0x1837ec=path['join'](process[_0xa68e6e(0xc6)](),_0x377ba3[_0xa68e6e(0x11c)]));}}return process['env'][_0xa68e6e(0xbf)]=_0x1837ec,_0x1837ec;},getO11yRerunPattern=()=>{const _0x1e5d0a=a2_0x4803c4,_0xf499b8=helper[_0x1e5d0a(0x129)](process['env'][_0x1e5d0a(0xb9)]);if(_0xf499b8){const _0x383000=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x4f586d=[];if(helper[_0x1e5d0a(0xbe)](_0x383000)&&!helper['isUndefined'](_0x383000)){_0x383000[_0x1e5d0a(0x143)](',')[_0x1e5d0a(0x140)](_0x378b9c=>{_0x4f586d['push']('('+_0x378b9c['trim']()+')');});const _0x4b9009='^'+_0x4f586d[_0x1e5d0a(0x124)]('|')+'$';return _0x4b9009;}}return null;},a2_0x292b8b={};a2_0x292b8b[a2_0x4803c4(0xe0)]=a2_0x4803c4(0xe5),a2_0x292b8b[a2_0x4803c4(0x115)]=a2_0x4803c4(0xe5),a2_0x292b8b[a2_0x4803c4(0x106)]='firefox',a2_0x292b8b[a2_0x4803c4(0x151)]='webkit';const pwToCodeceptBrowser=a2_0x292b8b;async function run(_0x458366,_0xb5f4d7,_0x1bced1){const _0x103a3c=a2_0x4803c4,_0x5c3bc6={'zONFo':function(_0x1531df,_0x48abb7){return _0x1531df+_0x48abb7;},'HkkUf':function(_0x38534a,_0x4276d6){return _0x38534a(_0x4276d6);},'PvCqn':function(_0x12ee52,_0x3a919a,_0x5761fa){return _0x12ee52(_0x3a919a,_0x5761fa);},'tfmDy':_0x103a3c(0x139),'GOqNY':function(_0x48fc73){return _0x48fc73();},'yVBqu':_0x103a3c(0xd2),'juXRF':_0x103a3c(0x147),'Zmecs':_0x103a3c(0x121),'ofhbW':_0x103a3c(0xdd),'ZOmha':_0x103a3c(0xed),'cqaCJ':function(_0x523b70,_0x511b6f,_0x56fd90){return _0x523b70(_0x511b6f,_0x56fd90);},'RqNwR':_0x103a3c(0xc5),'krIQQ':function(_0x47a7db,_0x377d30,_0x3a9539){return _0x47a7db(_0x377d30,_0x3a9539);},'tPVwC':_0x103a3c(0xd7),'VloVh':_0x103a3c(0xb5),'ARaya':function(_0x5ab6bb,_0x998c61){return _0x5ab6bb!=_0x998c61;},'AAobJ':function(_0x4b378c,_0x2667c1){return _0x4b378c===_0x2667c1;},'OOPgg':'gherkin','dRJnq':function(_0x562af3,_0x53db8e){return _0x562af3(_0x53db8e);},'PhbOC':function(_0x16986f){return _0x16986f();},'pUNxS':function(_0x29992d,_0x91544a){return _0x29992d*_0x91544a;},'PWpPH':_0x103a3c(0x144),'itWFw':function(_0x3925b7,_0x34fc97,_0x2d231a){return _0x3925b7(_0x34fc97,_0x2d231a);},'ERvvC':_0x103a3c(0xf9),'Puwlu':function(_0x1807a7,_0x2727cc,_0x497679){return _0x1807a7(_0x2727cc,_0x497679);},'bPluR':_0x103a3c(0x13b),'sglQC':_0x103a3c(0xb4),'tNotU':_0x103a3c(0x14d)};await _0x1bced1[_0x103a3c(0xb1)](_0x458366),await helper[_0x103a3c(0xff)](_0x1bced1[_0x103a3c(0xc7)]);if(!_0x1bced1['config'])return;process[_0x103a3c(0xf3)]=_0x458366['profile'];_0x458366['profile']&&(process['env'][_0x103a3c(0xf3)]=_0x458366['profile']);const _0x1b9170=_0x5c3bc6[_0x103a3c(0xde)](getUserCodeceptJSConfigs,_0x458366,_0xb5f4d7);let _0x4ed273={};_0x1b9170?(logger[_0x103a3c(0xe7)](_0x103a3c(0x13f)+_0x1b9170),_0x4ed273=CodeceptJS[_0x103a3c(0xc7)][_0x103a3c(0x13e)](_0x1b9170)):logger['info'](_0x5c3bc6['RqNwR']);let _0x485583=![];_0x5c3bc6[_0x103a3c(0xdb)](nestedKeyValue,_0x4ed273,[_0x5c3bc6[_0x103a3c(0x116)],_0x5c3bc6[_0x103a3c(0xf1)]])&&(_0x485583=!![]);const _0x10a15e=_0x485583?_0x5c3bc6[_0x103a3c(0xf1)]:_0x5c3bc6[_0x103a3c(0x14b)];let _0x11a09e=!_0x485583?helper['useW3C'](_0x1bced1['config']):![];!helper['isUndefined'](_0x1bced1[_0x103a3c(0xc7)]['accessibilityOptions'])&&(process[_0x103a3c(0x10d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1bced1[_0x103a3c(0xc7)]['accessibilityOptions']));let _0x21c5b6=_0x1bced1[_0x103a3c(0xc7)]['accessibility'];_0x21c5b6=_0x21c5b6||_0x5c3bc6[_0x103a3c(0x10b)](checkAccessibilityPlatformConfig,_0x1bced1[_0x103a3c(0xc7)]),process[_0x103a3c(0x10d)][_0x103a3c(0x132)]=_0x21c5b6;_0x21c5b6&&(_0x11a09e=!_0x21c5b6);_0x5c3bc6['ARaya'](_0x1bced1['config'][_0x103a3c(0xfd)],null)?process[_0x103a3c(0x10d)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1bced1[_0x103a3c(0xc7)][_0x103a3c(0xfd)]:process[_0x103a3c(0x10d)][_0x103a3c(0xba)]=_0x5c3bc6[_0x103a3c(0x119)](_0x10a15e,_0x5c3bc6[_0x103a3c(0xf1)]);const _0x35cc4d=_0x5c3bc6[_0x103a3c(0xf5)](nestedKeyValue,_0x4ed273,[_0x5c3bc6[_0x103a3c(0x112)]]),_0x430e95=_0x35cc4d&&!helper[_0x103a3c(0x14c)](_0x35cc4d)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x103a3c(0x103)],_0x4e9b73=await TestHubHandler[_0x103a3c(0x134)](_0x430e95,_0x1bced1);_0x21c5b6&&_0x5c3bc6[_0x103a3c(0x135)](setAccessibilityCapabilities,_0x1bced1[_0x103a3c(0xc7)]);const _0x559e45={},_0x4c8046=[],_0x266e31=_0x1bced1[_0x103a3c(0xc7)]['parallelsPerPlatform']||helper[_0x103a3c(0x141)](_0x458366,_0xb5f4d7,_0x1bced1[_0x103a3c(0xc7)],constants[_0x103a3c(0x149)]['CODECEPT'])||0x1;let _0xa194ae=0x1;if(_0x5c3bc6[_0x103a3c(0x101)](isBrowserstackInfra)){const _0x3f7d9e=helper[_0x103a3c(0xfc)](_0x1bced1[_0x103a3c(0xc7)],_0x11a09e,constants[_0x103a3c(0x149)][_0x103a3c(0x103)]);_0x3f7d9e[_0x103a3c(0x107)](_0x297c32=>{const _0x54ef20=_0x103a3c;helper[_0x54ef20(0x109)](_0x297c32);}),helper['validPlatformsPresent'](_0x1bced1[_0x103a3c(0xc7)])?_0xa194ae=_0x5c3bc6[_0x103a3c(0x148)](_0x266e31,_0x1bced1[_0x103a3c(0xc7)]['platforms']['length']):_0xa194ae=_0x266e31,_0x3f7d9e[_0x103a3c(0x107)](_0x305f01=>{const _0x4c65d1=_0x103a3c,_0x5c30d0=_0x5c3bc6[_0x4c65d1(0xda)](helper[_0x4c65d1(0x12a)](_0x305f01,'_'),'_'+Date[_0x4c65d1(0xdf)]()),_0x30b010=((()=>{const _0x3c1077=_0x4c65d1;if(_0x485583){const _0x465833=pwToCodeceptBrowser[_0x305f01[_0x3c1077(0x10c)]]||_0x305f01[_0x3c1077(0x10c)];return{'browser':_0x465833,[_0x465833]:{'browserWSEndpoint':_0x5c3bc6[_0x3c1077(0xda)](helper[_0x3c1077(0x128)](_0x1bced1[_0x3c1077(0xc7)]),_0x5c3bc6['HkkUf'](encodeURIComponent,JSON['stringify'](_0x305f01)))}};}const _0x29d4eb={};return _0x29d4eb['desiredCapabilities']=_0x305f01,_0x29d4eb[_0x3c1077(0x110)]=_0x1bced1[_0x3c1077(0xc7)][_0x3c1077(0x118)],_0x29d4eb[_0x3c1077(0xc0)]=_0x1bced1[_0x3c1077(0xc7)][_0x3c1077(0xc2)],_0x29d4eb;})()),_0x2a8294=_0x5c3bc6[_0x4c65d1(0xf5)](nestedKeyValue,_0x4ed273,[_0x5c3bc6[_0x4c65d1(0x116)],_0x10a15e]);_0x559e45[_0x5c30d0]=_0x2a8294?helper['mergeDeep'](_0x30b010,_0x2a8294):_0x30b010;if(!_0x485583){_0x559e45[_0x5c30d0][_0x4c65d1(0x144)]=_0x305f01[_0x4c65d1(0x10c)]||_0x30b010[_0x4c65d1(0x144)];if(_0x5c3bc6[_0x4c65d1(0xb6)](isBrowserstackInfra)){_0x559e45[_0x5c30d0][_0x4c65d1(0xe8)]=constants[_0x4c65d1(0x11e)][_0x4c65d1(0x123)](_0x5c3bc6[_0x4c65d1(0x13a)],'')[_0x4c65d1(0x123)](/https?:\/\//,'');;_0x559e45[_0x5c30d0]['path']=_0x5c3bc6[_0x4c65d1(0x13a)];}}_0x4c8046[_0x4c65d1(0x114)](_0x5c30d0);});}else{_0xa194ae=0x1;if(_0x485583){const _0x444812=_0x5c3bc6[_0x103a3c(0xde)](nestedKeyValue,_0x4ed273,[_0x5c3bc6[_0x103a3c(0x116)],_0x10a15e,_0x5c3bc6['PWpPH']]),_0x1b9fc3=_0x5c3bc6[_0x103a3c(0x108)](nestedKeyValue,_0x4ed273,[_0x5c3bc6[_0x103a3c(0x116)],_0x10a15e,_0x444812]);if(_0x1b9fc3&&_0x1b9fc3[_0x103a3c(0x113)]){const _0x2cf747={};_0x2cf747['platforms']=[],_0x1b9fc3[_0x103a3c(0x113)]=helper[_0x103a3c(0xfc)](Object[_0x103a3c(0x102)]({},_0x1bced1['config'],_0x2cf747),null,_0x430e95['toLowerCase'](),null,null,_0x1b9fc3[_0x103a3c(0x113)]);}}else{const _0x226850={};_0x226850[_0x103a3c(0x127)]=[],_0x4ed273[_0x5c3bc6['tfmDy']][_0x10a15e][_0x5c3bc6[_0x103a3c(0xe6)]]=helper[_0x103a3c(0xfc)](Object['assign']({},_0x1bced1[_0x103a3c(0xc7)],_0x226850),null,_0x430e95[_0x103a3c(0xd8)](),_0x5c3bc6[_0x103a3c(0x142)](nestedKeyValue,_0x4ed273,[_0x5c3bc6[_0x103a3c(0x116)],_0x10a15e,_0x5c3bc6[_0x103a3c(0xe6)]])||{},null,null);}_0x559e45[_0x5c3bc6[_0x103a3c(0x136)]]=_0x4ed273,_0x4c8046[_0x103a3c(0x114)](_0x5c3bc6[_0x103a3c(0x136)]);}const _0x4e382c={};_0x4e382c[_0x103a3c(0x131)]=_0x1b9170;const _0xb8b972=_0x4e382c,_0xcd0840=path[_0x103a3c(0x124)](__dirname,_0x5c3bc6['sglQC']),_0x5af85a=process[_0x103a3c(0xc6)]();process[_0x103a3c(0x10d)][_0x5c3bc6['tNotU']]=_0x5af85a,process['chdir'](path[_0x103a3c(0x120)](_0x1b9170));const _0x57ca15=new CodeceptJS[(_0x103a3c(0xd4))](null,_0xb8b972),_0x636d90=_0x57ca15['createGroupsOfSuites'](_0xa194ae),_0xfb3d04=testOpsHelper[_0x103a3c(0xce)](),_0x167ba1=_0x4c8046[_0x103a3c(0x140)](_0x18e09b=>{const _0x580139=_0x103a3c,_0x320e75={};_0x320e75[_0x580139(0xd7)]=_0x559e45[_0x18e09b];const _0x593a53={};_0x593a53[_0x580139(0xb5)]=_0x559e45[_0x18e09b];const _0x4efe14=_0x485583?_0x320e75:_0x593a53,_0x1b7fa8=_0x5c3bc6['GOqNY'](getO11yRerunPattern),_0x1cd7d2={};_0x1cd7d2[_0x580139(0x139)]=_0x4efe14;const _0x62611={};_0x62611[_0x580139(0x138)]=_0xcd0840,_0x62611[_0x580139(0xe9)]=!![],_0x62611[_0x580139(0x12f)]=_0x1bced1[_0x580139(0xc7)][_0x580139(0x130)][_0x580139(0x12f)],_0x62611[_0x580139(0xec)]=_0x1bced1[_0x580139(0xc7)][_0x580139(0x130)]['skipSessionStatus'],_0x62611[_0x580139(0xfd)]=_0xfb3d04,_0x62611[_0x580139(0x100)]=_0x430e95;const _0x460f5b={};_0x460f5b['BrowserStackPlugin']=_0x62611;const _0x37b27c={};return _0x37b27c['plugins']=_0x460f5b,helper[_0x580139(0x126)]({},_0x4ed273,_0x5c3bc6[_0x580139(0xb6)](isBrowserstackInfra)?_0x1cd7d2:{},_0x1b7fa8?{'grep':_0x1b7fa8}:{},_0x37b27c);});for(const _0x3b1af5 of _0x167ba1){for(const _0x2c7468 of _0x636d90){const _0x48f776=_0x57ca15['spawn']();_0x48f776[_0x103a3c(0x146)](_0x2c7468),_0x48f776[_0x103a3c(0x122)](_0x3b1af5);const _0x48fd2f={};_0x48fd2f['config']=_0x1b9170,_0x48f776[_0x103a3c(0x11b)](_0x48fd2f);}}_0x57ca15['on'](CodeceptJS[_0x103a3c(0x13c)]['test'][_0x103a3c(0xcc)],(_0x584d2a,_0x56b672)=>{const _0x4cad0c=_0x103a3c;console['log'](_0x5c3bc6[_0x4cad0c(0xd9)],_0x584d2a['title']);const _0x4a4ba1={[_0x584d2a[_0x4cad0c(0xef)]]:_0x584d2a[_0x4cad0c(0xf8)][_0x4cad0c(0xf2)]};_testErrorData[_0x4cad0c(0x114)](_0x4a4ba1);}),_0x57ca15['on'](CodeceptJS[_0x103a3c(0x13c)][_0x103a3c(0x10e)][_0x103a3c(0xd6)],async _0x1cac5f=>{const _0x2dcd78=_0x103a3c;console[_0x2dcd78(0x145)](_0x5c3bc6['Zmecs'],_0x1cac5f[_0x2dcd78(0xef)]);}),_0x57ca15['on'](CodeceptJS[_0x103a3c(0x13c)][_0x103a3c(0x10e)][_0x103a3c(0xbc)],async _0x387ffc=>{const _0xa87647=_0x103a3c;console[_0xa87647(0x145)](_0x5c3bc6[_0xa87647(0x10f)],_0x387ffc[_0xa87647(0xef)]);}),_0x57ca15['on'](CodeceptJS[_0x103a3c(0x13c)]['all'][_0x103a3c(0xc8)],async()=>{const _0x446889=_0x103a3c,_0x479867=_0x5c3bc6[_0x446889(0xe3)]['split']('|');let _0x1859f4=0x0;while(!![]){switch(_0x479867[_0x1859f4++]){case'0':_0x1bced1[_0x446889(0xc3)]=_testErrorData;continue;case'1':utilities['finalExecution'](_0x1bced1);continue;case'2':try{await TestHubHandler[_0x446889(0xe2)]();}catch(_0x415d54){logger[_0x446889(0x11d)](_0x446889(0x14f)+util[_0x446889(0x137)](_0x415d54));}continue;case'3':testOpsHelper[_0x446889(0x14a)]();continue;case'4':PerformanceTester[_0x446889(0xb3)](PerformanceEvents[_0x446889(0xc9)]);continue;case'5':_0x57ca15[_0x446889(0xc4)]();continue;}break;}});async function _0x5f0591(){const _0x2edb0a=_0x103a3c;try{await _0x57ca15[_0x2edb0a(0xcb)](),await _0x57ca15[_0x2edb0a(0x11a)]();}finally{process[_0x2edb0a(0xf6)](_0x5af85a),await _0x57ca15[_0x2edb0a(0xee)]();}}PerformanceTester['end'](PerformanceEvents[_0x103a3c(0x14e)]),_0x5c3bc6[_0x103a3c(0x101)](_0x5f0591);}function a2_0x3b5d(){const _0x32a12d=['5721954FyfIoV','Workers','916UktnPE','passed','Playwright','toLowerCase','juXRF','zONFo','krIQQ','../../helpers/logger','Started\x20:\x20','cqaCJ','now','chrome','12195610OTlUic','stop','ZOmha','../../helpers/test-observability/constants','chromium','ERvvC','info','host','enabled','6ExiKqy','iQWIK','skipSessionStatus','4|0|3|1|2|5','teardownAll','title','winstonLogger','tPVwC','stack','profile','../../bin/playwright/accessibility-helper','PvCqn','chdir','../../helpers/helper','err','desiredCapabilities','1029682AXYwvz','9XvBxAw','prepareCapabilities','testObservability','../../helpers/performance/constants','handleApp','frameworkName','PhbOC','assign','CODECEPT','../utils/constants','codecept.conf.js','playwright-firefox','forEach','itWFw','setAdditionalCapabilities','../../helpers/BrowserStackSetup','HkkUf','browserName','env','test','ofhbW','user','../../helpers/utilities','OOPgg','browserWSEndpoint','push','playwright-chromium','tfmDy','../../helpers/testhub/testhubHandler','userName','AAobJ','run','addOptions','riedo','debug','hubUrl','EVENTS','dirname','Passed\x20:\x20','addConfig','replace','join','existsSync','mergeDeep','platforms','getPlaywrightUrl','isTrue','getPlatformName','util','FADhq','exports','8760xTlDpt','skipSessionName','testContextOptions','testConfig','BROWSERSTACK_TEST_ACCESSIBILITY_YML','findIndex','launchBuild','dRJnq','bPluR','format','require','helpers','yVBqu','root','event','codeceptjs','load','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','map','getUserWorkerCount','Puwlu','split','browser','log','addTests','Failed\x20:\x20','pUNxS','FRAMEWORKS','printBuildLink','VloVh','isEmpty','browserStackCwd','SDK_SETUP','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','isUndefined','playwright-webkit','initialize','slice','start','BrowserStackPlugin.js','WebDriver','GOqNY','--config','codeceptjs/lib/index.js','BROWSERSTACK_RERUN','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/test-observability/utils','before','codecept.json','validateRerunTestList','USER_CONFIG_DETAILS_PATH','key','574857vkMoDr','accessKey','errorMessage','printResults','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cwd','config','result','SDK_CLEANUP','1114144cSZnBV','bootstrapAll','failed','3336315hkyEDV','isTestObservabilitySession','../../helpers/performance/performance-tester','path','process','/wd/hub'];a2_0x3b5d=function(){return _0x32a12d;};return a2_0x3b5d();}module[a2_0x4803c4(0x12d)]=run;
|
|
2
|
+
'use strict';function a2_0x5685(_0x1c657d,_0x3c42d8){const _0xef1e97=a2_0xef1e();return a2_0x5685=function(_0x568554,_0x2e8e7b){_0x568554=_0x568554-0xef;let _0x5e1f08=_0xef1e97[_0x568554];return _0x5e1f08;},a2_0x5685(_0x1c657d,_0x3c42d8);}const a2_0x756bf4=a2_0x5685;(function(_0x2f31bf,_0x42aa73){const _0xb8c70a=a2_0x5685,_0x2889c6=_0x2f31bf();while(!![]){try{const _0x483fd4=parseInt(_0xb8c70a(0x15b))/0x1+-parseInt(_0xb8c70a(0x108))/0x2+parseInt(_0xb8c70a(0x118))/0x3*(-parseInt(_0xb8c70a(0x111))/0x4)+parseInt(_0xb8c70a(0xfa))/0x5+-parseInt(_0xb8c70a(0x15f))/0x6+parseInt(_0xb8c70a(0x155))/0x7+-parseInt(_0xb8c70a(0x100))/0x8;if(_0x483fd4===_0x42aa73)break;else _0x2889c6['push'](_0x2889c6['shift']());}catch(_0x41a12e){_0x2889c6['push'](_0x2889c6['shift']());}}}(a2_0xef1e,0x57e14));function a2_0xef1e(){const _0x10eb50=['desiredCapabilities','useW3C','forEach','addOptions','printResults','TLfCr','1161542DFAtpR','getUserWorkerCount','dirname','chromium','process','event','log','gherkin','POJGT','44RDQufo','map','assign','BROWSERSTACK_RERUN','CAhMD','USER_CONFIG_DETAILS_PATH','passed','26577rSoDpB','Wdwwm','EVENTS','FRAMEWORKS','validPlatformsPresent','length','accessibilityOptions','codecept.json','VxHrF','--config','testObservability','accessibility','igWzJ','initialize','../../helpers/performance/performance-tester','nhtEU','TWcPt','findIndex','load','finalExecution','Failed\x20:\x20','Started\x20:\x20','start','addConfig','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','WebDriver','jphVt','Vlnjd','../../helpers/BrowserStackSetup','oXKqB','/wd/hub','isEmpty','all','browserStackCwd','info','format','webkit','parallelsPerPlatform','profile','../../helpers/test-observability/constants','env','jyarU','now','testContextOptions','replace','browserWSEndpoint','mergeDeep','../../helpers/utilities','existsSync','cwd','util','tWMau','stack','hubUrl','platforms','push','before','rHdZE','split','Workers','BROWSERSTACK_TEST_OBSERVABILITY_YML','4364129rqngRZ','title','userName','getPlaywrightUrl','key','isTrue','546969WOAbat','qgPZF','oWuWB','fNJhL','1910010Jzeqii','Playwright','codecept.conf.js','launchBuild','../../bin/playwright/accessibility-helper','chdir','validateRerunTestList','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','0|2|5|3|4|1','clSfM','prepareCapabilities','stringify','exports','browserName','accessKey','test','config','teardownAll','../utils/constants','toLowerCase','spawn','codeceptjs/lib/index.js','playwright-chromium','require','plugins','user','eFVcU','codeceptjs','result','BROWSERSTACK_TEST_ACCESSIBILITY_YML','winstonLogger','browser','skipSessionStatus','../../helpers/helper','join','failed','createGroupsOfSuites','skipSessionName','CODECEPT_CUCUMBER','OMJfU','host','../../helpers/testhub/testhubHandler','addTests','QiAXK','wCuKt','setAdditionalCapabilities','run','playwright-webkit','debug','CODECEPT','testConfig','errorMessage','isUndefined','helpers','1974305gltqIr','../../helpers/test-observability/utils','../../helpers/performance/constants','SDK_CLEANUP','err','xJeVy','1670128iYKOAr','BrowserStackPlugin.js'];a2_0xef1e=function(){return _0x10eb50;};return a2_0xef1e();}const fs=require('fs'),path=require('path'),util=require(a2_0x756bf4(0x14a)),process=require(a2_0x756bf4(0x10c)),logger=require('../../helpers/logger')[a2_0x756bf4(0x17d)],{default:BrowserStackSetup}=require(a2_0x756bf4(0x134)),helper=require(a2_0x756bf4(0x180)),utilities=require(a2_0x756bf4(0x147)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x756bf4(0x163)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x756bf4(0x174),a2_0x756bf4(0x17a)),testOpsHelper=require(a2_0x756bf4(0xfb)),TestHubHandler=require(a2_0x756bf4(0x188)),constants=require(a2_0x756bf4(0x171)),PerformanceTester=require(a2_0x756bf4(0x126)),{FRAMEWORKS}=require(a2_0x756bf4(0x13f)),PerformanceEvents=require(a2_0x756bf4(0xfc))[a2_0x756bf4(0x11a)],_testErrorData=[],getUserCodeceptJSConfigs=(_0xbaf570,_0x2b2b82)=>{const _0x4c4623=a2_0x756bf4,_0x3488cd={};_0x3488cd[_0x4c4623(0x14b)]=function(_0xea6b47,_0x19d0d0){return _0xea6b47===_0x19d0d0;},_0x3488cd['OMJfU']=_0x4c4623(0x161),_0x3488cd[_0x4c4623(0x168)]=_0x4c4623(0x11f);const _0x54112d=_0x3488cd;let _0x559cd2=null;const _0x458012={};let _0x453c82=_0x2b2b82['findIndex'](_0x8f273b=>_0x8f273b===_0x4c4623(0x121));_0x54112d[_0x4c4623(0x14b)](_0x453c82,-0x1)&&(_0x453c82=_0x2b2b82[_0x4c4623(0x129)](_0x1bb914=>_0x1bb914==='-c'));if(!helper[_0x4c4623(0xf8)](_0xbaf570[_0x4c4623(0x16f)])&&fs[_0x4c4623(0x148)](path[_0x4c4623(0x181)](process[_0x4c4623(0x149)](),_0xbaf570[_0x4c4623(0x16f)])))_0x559cd2=path[_0x4c4623(0x181)](process[_0x4c4623(0x149)](),_0xbaf570[_0x4c4623(0x16f)]),_0x2b2b82['slice'](_0x453c82,0x2);else{if(!helper[_0x4c4623(0xf8)](_0xbaf570['c'])&&fs[_0x4c4623(0x148)](path['join'](process[_0x4c4623(0x149)](),_0xbaf570['c'])))_0x559cd2=path['join'](process[_0x4c4623(0x149)](),_0xbaf570['c']),_0x2b2b82['slice'](_0x453c82,0x2);else{if(fs[_0x4c4623(0x148)](path[_0x4c4623(0x181)](process[_0x4c4623(0x149)](),_0x54112d[_0x4c4623(0x186)])))_0x559cd2=path['join'](process['cwd'](),_0x54112d[_0x4c4623(0x186)]);else fs[_0x4c4623(0x148)](path[_0x4c4623(0x181)](process[_0x4c4623(0x149)](),_0x54112d[_0x4c4623(0x168)]))&&(_0x559cd2=path[_0x4c4623(0x181)](process[_0x4c4623(0x149)](),_0x54112d[_0x4c4623(0x168)]));}}return process[_0x4c4623(0x140)][_0x4c4623(0x116)]=_0x559cd2,_0x559cd2;},getO11yRerunPattern=()=>{const _0x555660=a2_0x756bf4,_0x1bc8eb=helper[_0x555660(0x15a)](process['env'][_0x555660(0x114)]);if(_0x1bc8eb){const _0x56cccd=process[_0x555660(0x140)]['BROWSERSTACK_RERUN_TESTS'],_0x1d6df9=[];if(helper[_0x555660(0x165)](_0x56cccd)&&!helper[_0x555660(0xf8)](_0x56cccd)){_0x56cccd[_0x555660(0x152)](',')['map'](_0x459e58=>{const _0x4220d9=_0x555660;_0x1d6df9[_0x4220d9(0x14f)]('('+_0x459e58['trim']()+')');});const _0x4e5cf7='^'+_0x1d6df9['join']('|')+'$';return _0x4e5cf7;}}return null;},a2_0x5aa5ae={};a2_0x5aa5ae['chrome']='chromium',a2_0x5aa5ae[a2_0x756bf4(0x175)]=a2_0x756bf4(0x10b),a2_0x5aa5ae['playwright-firefox']='firefox',a2_0x5aa5ae[a2_0x756bf4(0xf3)]=a2_0x756bf4(0x13c);const pwToCodeceptBrowser=a2_0x5aa5ae;async function run(_0x1d87ea,_0x22bd70,_0x3f9c42){const _0x12c787=a2_0x756bf4,_0x325511={'GXlpk':function(_0x5e73fe,_0x1661c5){return _0x5e73fe+_0x1661c5;},'igWzJ':function(_0x356f49,_0x1b5c43){return _0x356f49(_0x1b5c43);},'oWuWB':function(_0x2fc1cd,_0x1c0af9,_0x4ef4c7){return _0x2fc1cd(_0x1c0af9,_0x4ef4c7);},'TLfCr':'helpers','CAhMD':function(_0x176c6){return _0x176c6();},'xJeVy':_0x12c787(0x136),'jyarU':function(_0x527db7){return _0x527db7();},'pvoFY':_0x12c787(0x12c),'cxTRM':'Passed\x20:\x20','HKgEe':_0x12c787(0x12d),'gutEO':_0x12c787(0x167),'QiAXK':function(_0x3e4174,_0x10950b,_0x5caa35){return _0x3e4174(_0x10950b,_0x5caa35);},'oXKqB':_0x12c787(0x130),'Vlnjd':function(_0x39cfcf,_0x261750,_0xe10b2d){return _0x39cfcf(_0x261750,_0xe10b2d);},'eFVcU':_0x12c787(0x160),'zfDCr':_0x12c787(0x131),'wCuKt':function(_0x3892c3,_0x182a63){return _0x3892c3!=_0x182a63;},'nKkfY':function(_0x4963f1,_0x411265){return _0x4963f1===_0x411265;},'uDLPF':function(_0x3a907d,_0x151096,_0xcd9f2c){return _0x3a907d(_0x151096,_0xcd9f2c);},'fNJhL':_0x12c787(0x10f),'rHdZE':function(_0x2703d9,_0x29f7e9){return _0x2703d9*_0x29f7e9;},'cYUqf':function(_0x429322,_0x5cbb32,_0x2778b0){return _0x429322(_0x5cbb32,_0x2778b0);},'POJGT':'browser','TWcPt':function(_0x522100,_0x3bf461,_0x59b258){return _0x522100(_0x3bf461,_0x59b258);},'qgPZF':_0x12c787(0x102),'Wdwwm':function(_0x395ae0,_0x2cc0ce,_0x274151){return _0x395ae0(_0x2cc0ce,_0x274151);},'jphVt':'root','nhtEU':_0x12c787(0x101),'VxHrF':_0x12c787(0x139)};await _0x3f9c42[_0x12c787(0x125)](_0x1d87ea),await helper['handleApp'](_0x3f9c42[_0x12c787(0x16f)]);if(!_0x3f9c42['config'])return;process[_0x12c787(0x13e)]=_0x1d87ea[_0x12c787(0x13e)];_0x1d87ea[_0x12c787(0x13e)]&&(process[_0x12c787(0x140)]['profile']=_0x1d87ea[_0x12c787(0x13e)]);const _0x491fce=_0x325511[_0x12c787(0xef)](getUserCodeceptJSConfigs,_0x1d87ea,_0x22bd70);let _0x30ec7f={};_0x491fce?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x491fce),_0x30ec7f=CodeceptJS[_0x12c787(0x16f)][_0x12c787(0x12a)](_0x491fce)):logger[_0x12c787(0x13a)](_0x325511[_0x12c787(0x135)]);let _0x309595=![];_0x325511[_0x12c787(0x133)](nestedKeyValue,_0x30ec7f,[_0x325511[_0x12c787(0x107)],_0x325511[_0x12c787(0x179)]])&&(_0x309595=!![]);const _0x4ec839=_0x309595?_0x325511['eFVcU']:_0x325511['zfDCr'];let _0x48619b=!_0x309595?helper[_0x12c787(0x103)](_0x3f9c42[_0x12c787(0x16f)]):![];!helper[_0x12c787(0xf8)](_0x3f9c42[_0x12c787(0x16f)][_0x12c787(0x11e)])&&(process[_0x12c787(0x140)][_0x12c787(0x166)]=JSON[_0x12c787(0x16a)](_0x3f9c42['config'][_0x12c787(0x11e)]));let _0x3eb4c9=_0x3f9c42['config'][_0x12c787(0x123)];_0x3eb4c9=_0x3eb4c9||_0x325511[_0x12c787(0x124)](checkAccessibilityPlatformConfig,_0x3f9c42[_0x12c787(0x16f)]),process[_0x12c787(0x140)][_0x12c787(0x17c)]=_0x3eb4c9;_0x3eb4c9&&(_0x48619b=!_0x3eb4c9);_0x325511[_0x12c787(0xf0)](_0x3f9c42[_0x12c787(0x16f)][_0x12c787(0x122)],null)?process[_0x12c787(0x140)][_0x12c787(0x154)]=_0x3f9c42['config'][_0x12c787(0x122)]:process[_0x12c787(0x140)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x325511['nKkfY'](_0x4ec839,_0x325511[_0x12c787(0x179)]);const _0x130570=_0x325511['uDLPF'](nestedKeyValue,_0x30ec7f,[_0x325511[_0x12c787(0x15e)]]),_0x321c43=_0x130570&&!helper[_0x12c787(0x137)](_0x130570)?FRAMEWORKS[_0x12c787(0x185)]:FRAMEWORKS[_0x12c787(0xf5)],_0x16d69f=await TestHubHandler[_0x12c787(0x162)](_0x321c43,_0x3f9c42);_0x3eb4c9&&_0x325511[_0x12c787(0x124)](setAccessibilityCapabilities,_0x3f9c42[_0x12c787(0x16f)]);const _0x3ea138={},_0x6f8aa2=[],_0x3f1229=_0x3f9c42[_0x12c787(0x16f)][_0x12c787(0x13d)]||helper[_0x12c787(0x109)](_0x1d87ea,_0x22bd70,_0x3f9c42['config'],constants[_0x12c787(0x11b)][_0x12c787(0xf5)])||0x1;let _0x3e56de=0x1;if(_0x325511[_0x12c787(0x141)](isBrowserstackInfra)){const _0x978e2d=helper['prepareCapabilities'](_0x3f9c42[_0x12c787(0x16f)],_0x48619b,constants[_0x12c787(0x11b)]['CODECEPT']);_0x978e2d[_0x12c787(0x104)](_0x35b5e4=>{const _0x1e1da9=_0x12c787;helper[_0x1e1da9(0xf1)](_0x35b5e4);}),helper[_0x12c787(0x11c)](_0x3f9c42[_0x12c787(0x16f)])?_0x3e56de=_0x325511[_0x12c787(0x151)](_0x3f1229,_0x3f9c42[_0x12c787(0x16f)][_0x12c787(0x14e)][_0x12c787(0x11d)]):_0x3e56de=_0x3f1229,_0x978e2d[_0x12c787(0x104)](_0x285561=>{const _0x49fc53=_0x12c787,_0x12f38f=_0x325511['GXlpk'](helper['getPlatformName'](_0x285561,'_'),'_'+Date[_0x49fc53(0x142)]()),_0xf00598=((()=>{const _0x5d4878=_0x49fc53;if(_0x309595){const _0xfbecdc=pwToCodeceptBrowser[_0x285561[_0x5d4878(0x16c)]]||_0x285561[_0x5d4878(0x16c)];return{'browser':_0xfbecdc,[_0xfbecdc]:{'browserWSEndpoint':_0x325511['GXlpk'](helper[_0x5d4878(0x158)](_0x3f9c42['config']),_0x325511[_0x5d4878(0x124)](encodeURIComponent,JSON[_0x5d4878(0x16a)](_0x285561)))}};}const _0x3356f9={};return _0x3356f9['desiredCapabilities']=_0x285561,_0x3356f9[_0x5d4878(0x178)]=_0x3f9c42[_0x5d4878(0x16f)][_0x5d4878(0x157)],_0x3356f9[_0x5d4878(0x159)]=_0x3f9c42[_0x5d4878(0x16f)][_0x5d4878(0x16d)],_0x3356f9;})()),_0x15d874=_0x325511[_0x49fc53(0x15d)](nestedKeyValue,_0x30ec7f,[_0x325511[_0x49fc53(0x107)],_0x4ec839]);_0x3ea138[_0x12f38f]=_0x15d874?helper['mergeDeep'](_0xf00598,_0x15d874):_0xf00598;if(!_0x309595){_0x3ea138[_0x12f38f][_0x49fc53(0x17e)]=_0x285561[_0x49fc53(0x16c)]||_0xf00598[_0x49fc53(0x17e)];if(_0x325511[_0x49fc53(0x115)](isBrowserstackInfra)){_0x3ea138[_0x12f38f][_0x49fc53(0x187)]=constants[_0x49fc53(0x14d)][_0x49fc53(0x144)](_0x325511[_0x49fc53(0xff)],'')[_0x49fc53(0x144)](/https?:\/\//,'');;_0x3ea138[_0x12f38f]['path']=_0x325511[_0x49fc53(0xff)];}}_0x6f8aa2['push'](_0x12f38f);});}else{_0x3e56de=0x1;if(_0x309595){const _0x2a2b69=_0x325511['cYUqf'](nestedKeyValue,_0x30ec7f,[_0x325511[_0x12c787(0x107)],_0x4ec839,_0x325511[_0x12c787(0x110)]]),_0x50623d=_0x325511[_0x12c787(0x128)](nestedKeyValue,_0x30ec7f,[_0x325511['TLfCr'],_0x4ec839,_0x2a2b69]);if(_0x50623d&&_0x50623d[_0x12c787(0x145)]){const _0x4e3425={};_0x4e3425[_0x12c787(0x14e)]=[],_0x50623d[_0x12c787(0x145)]=helper[_0x12c787(0x169)](Object[_0x12c787(0x113)]({},_0x3f9c42[_0x12c787(0x16f)],_0x4e3425),null,_0x321c43[_0x12c787(0x172)](),null,null,_0x50623d[_0x12c787(0x145)]);}}else{const _0x3210d4={};_0x3210d4[_0x12c787(0x14e)]=[],_0x30ec7f[_0x325511[_0x12c787(0x107)]][_0x4ec839][_0x325511[_0x12c787(0x15c)]]=helper['prepareCapabilities'](Object['assign']({},_0x3f9c42['config'],_0x3210d4),null,_0x321c43[_0x12c787(0x172)](),_0x325511[_0x12c787(0x119)](nestedKeyValue,_0x30ec7f,[_0x325511['TLfCr'],_0x4ec839,_0x325511[_0x12c787(0x15c)]])||{},null,null);}_0x3ea138[_0x325511['jphVt']]=_0x30ec7f,_0x6f8aa2[_0x12c787(0x14f)](_0x325511[_0x12c787(0x132)]);}const _0x17c7f3={};_0x17c7f3[_0x12c787(0xf6)]=_0x491fce;const _0x18a1d3=_0x17c7f3,_0x1e5b7a=path[_0x12c787(0x181)](__dirname,_0x325511[_0x12c787(0x127)]),_0x365b38=process[_0x12c787(0x149)]();process[_0x12c787(0x140)][_0x325511[_0x12c787(0x120)]]=_0x365b38,process['chdir'](path[_0x12c787(0x10a)](_0x491fce));const _0x1256aa=new CodeceptJS[(_0x12c787(0x153))](null,_0x18a1d3),_0x4a0f3f=_0x1256aa[_0x12c787(0x183)](_0x3e56de),_0x3b1bcf=testOpsHelper['isTestObservabilitySession'](),_0x5018dd=_0x6f8aa2[_0x12c787(0x112)](_0x37459e=>{const _0x1a0a58=_0x12c787,_0x23c56c={};_0x23c56c[_0x1a0a58(0x160)]=_0x3ea138[_0x37459e];const _0x3560b6={};_0x3560b6[_0x1a0a58(0x131)]=_0x3ea138[_0x37459e];const _0x2e9e5e=_0x309595?_0x23c56c:_0x3560b6,_0x1ef5fe=_0x325511['jyarU'](getO11yRerunPattern),_0xf5c26c={};_0xf5c26c[_0x1a0a58(0xf9)]=_0x2e9e5e;const _0xb9cba5={};_0xb9cba5[_0x1a0a58(0x176)]=_0x1e5b7a,_0xb9cba5['enabled']=!![],_0xb9cba5[_0x1a0a58(0x184)]=_0x3f9c42[_0x1a0a58(0x16f)][_0x1a0a58(0x143)]['skipSessionName'],_0xb9cba5[_0x1a0a58(0x17f)]=_0x3f9c42['config'][_0x1a0a58(0x143)]['skipSessionStatus'],_0xb9cba5[_0x1a0a58(0x122)]=_0x3b1bcf,_0xb9cba5['frameworkName']=_0x321c43;const _0xa5ffb6={};_0xa5ffb6['BrowserStackPlugin']=_0xb9cba5;const _0x21a914={};return _0x21a914[_0x1a0a58(0x177)]=_0xa5ffb6,helper[_0x1a0a58(0x146)]({},_0x30ec7f,_0x325511[_0x1a0a58(0x141)](isBrowserstackInfra)?_0xf5c26c:{},_0x1ef5fe?{'grep':_0x1ef5fe}:{},_0x21a914);});for(const _0x4ef895 of _0x5018dd){for(const _0x59e369 of _0x4a0f3f){const _0x40f28b=_0x1256aa[_0x12c787(0x173)]();_0x40f28b[_0x12c787(0x189)](_0x59e369),_0x40f28b[_0x12c787(0x12f)](_0x4ef895);const _0x248bbd={};_0x248bbd[_0x12c787(0x16f)]=_0x491fce,_0x40f28b[_0x12c787(0x105)](_0x248bbd);}}_0x1256aa['on'](CodeceptJS[_0x12c787(0x10d)][_0x12c787(0x16e)][_0x12c787(0x182)],(_0x82ebd3,_0xb02c0a)=>{const _0x36f2da=_0x12c787;console[_0x36f2da(0x10e)](_0x325511['pvoFY'],_0x82ebd3[_0x36f2da(0x156)]);const _0x5ad91e={[_0x82ebd3[_0x36f2da(0x156)]]:_0x82ebd3[_0x36f2da(0xfe)][_0x36f2da(0x14c)]};_testErrorData['push'](_0x5ad91e);}),_0x1256aa['on'](CodeceptJS['event'][_0x12c787(0x16e)][_0x12c787(0x117)],async _0x536509=>{const _0xb8a47b=_0x12c787;console[_0xb8a47b(0x10e)](_0x325511['cxTRM'],_0x536509[_0xb8a47b(0x156)]);}),_0x1256aa['on'](CodeceptJS[_0x12c787(0x10d)][_0x12c787(0x16e)][_0x12c787(0x150)],async _0x410b07=>{const _0x352bfc=_0x12c787;console[_0x352bfc(0x10e)](_0x325511['HKgEe'],_0x410b07[_0x352bfc(0x156)]);}),_0x1256aa['on'](CodeceptJS[_0x12c787(0x10d)][_0x12c787(0x138)][_0x12c787(0x17b)],async()=>{const _0x438095=_0x12c787,_0x28b58c=_0x325511['gutEO'][_0x438095(0x152)]('|');let _0x138e5c=0x0;while(!![]){switch(_0x28b58c[_0x138e5c++]){case'0':PerformanceTester[_0x438095(0x12e)](PerformanceEvents[_0x438095(0xfd)]);continue;case'1':_0x1256aa[_0x438095(0x106)]();continue;case'2':_0x3f9c42[_0x438095(0xf7)]=_testErrorData;continue;case'3':utilities[_0x438095(0x12b)](_0x3f9c42);continue;case'4':try{await TestHubHandler['stop']();}catch(_0x528414){logger[_0x438095(0xf4)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x438095(0x13b)](_0x528414));}continue;case'5':testOpsHelper['printBuildLink']();continue;}break;}});async function _0x436c88(){const _0x4e3431=_0x12c787;try{await _0x1256aa['bootstrapAll'](),await _0x1256aa[_0x4e3431(0xf2)]();}finally{process[_0x4e3431(0x164)](_0x365b38),await _0x1256aa[_0x4e3431(0x170)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0x325511[_0x12c787(0x115)](_0x436c88);}module[a2_0x756bf4(0x16b)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a3_0x5c64(_0x506787,_0x31ef48){const _0x6d3ce8=a3_0x6d3c();return a3_0x5c64=function(_0x5c6426,_0x4bb63a){_0x5c6426=_0x5c6426-0xd0;let _0x78742c=_0x6d3ce8[_0x5c6426];return _0x78742c;},a3_0x5c64(_0x506787,_0x31ef48);}const a3_0x529560=a3_0x5c64;(function(_0x533a72,_0x45214b){const _0x2cd659=a3_0x5c64,_0xbb8fc1=_0x533a72();while(!![]){try{const _0x4f31ec=-parseInt(_0x2cd659(0xfc))/0x1+-parseInt(_0x2cd659(0x105))/0x2+parseInt(_0x2cd659(0xf8))/0x3*(parseInt(_0x2cd659(0xde))/0x4)+parseInt(_0x2cd659(0x10f))/0x5+parseInt(_0x2cd659(0xdb))/0x6+parseInt(_0x2cd659(0x117))/0x7*(parseInt(_0x2cd659(0x102))/0x8)+parseInt(_0x2cd659(0xfd))/0x9;if(_0x4f31ec===_0x45214b)break;else _0xbb8fc1['push'](_0xbb8fc1['shift']());}catch(_0x243213){_0xbb8fc1['push'](_0xbb8fc1['shift']());}}}(a3_0x6d3c,0xe9ae4));function a3_0x6d3c(){const _0x603be9=['WebDriver','../../helpers/helper','browserstack_executor','Lsjqu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','get','cloudProvider','browserWSEndpoint','playwright-chromium','dLRSz','../../helpers/test-observability/utils','EzoJi','Playwright','../../helpers/accessibility-automation/helper','FTfsw','afPXi','winstonLogger','raKhC','browser_version','Wvsff','capabilities','4497hLzzps','name','bstack:options','processWebDriverConfig','1866635gbJgVf','1327365wtrzKC','hLmYJ','XLlcN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserVersion','8xOhDKx','unknown_grid','shouldPatchExecuteScript','1794860JQmGUq','../../bin/playwright/sessionDetails','platform_version','warn','SnBBR','whZWA','YAkBV','getDetails','wkLKq','desiredCapabilities','3824720HLYxkE','eelal','accessibilityPlatform','sessionId','bsSessionId','uRnIT','xhMVD','cGKoH','13097378WVotkG','tCBGf','platformVersion','parse','deviceName','config','HeIWn','platform','nXxKr','../../helpers/logger','includes','browser','TayJG','gBPdc','osVersion','searchParams','browserName','constructor','5545482YRPLlI','mTVNR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','36iEFWoS','kzndU','latest','browserstack_accessibility_automation_script','JFeSP'];a3_0x6d3c=function(){return _0x603be9;};return a3_0x6d3c();}const {isUndefined,nestedKeyValue}=require(a3_0x529560(0xe4)),logger=require(a3_0x529560(0xd2))[a3_0x529560(0xf3)],PlaywrightSessionDetails=require(a3_0x529560(0x106)),{isAccessibilityAutomationSession}=require(a3_0x529560(0xf0)),{getObservabilityLinkedProductName}=require(a3_0x529560(0xed)),getOSVersionFromCaps=_0x2dc592=>{const _0x33265a=a3_0x529560,_0x5bc035={};_0x5bc035[_0x33265a(0xf2)]=_0x33265a(0xfa),_0x5bc035[_0x33265a(0xf1)]=_0x33265a(0x119),_0x5bc035[_0x33265a(0x115)]=_0x33265a(0x107),_0x5bc035[_0x33265a(0x10d)]=_0x33265a(0xd7),_0x5bc035[_0x33265a(0xfe)]='os_version';const _0x17b3b6=_0x5bc035;if(!_0x2dc592)return null;const _0x353754=_0x2dc592[_0x17b3b6[_0x33265a(0xf2)]],_0xfcf2af=[_0x17b3b6[_0x33265a(0xf1)],_0x17b3b6[_0x33265a(0x115)],_0x17b3b6[_0x33265a(0x10d)],_0x17b3b6[_0x33265a(0xfe)]];for(const _0x171bc1 of _0xfcf2af){if(_0x353754&&_0x353754[_0x171bc1])return _0x353754[_0x171bc1];else{if(_0x2dc592[_0x171bc1])return _0x2dc592[_0x171bc1];}}return null;};exports['fetchPlatformDetails']=_0x235abd=>{const _0x5c146e=a3_0x529560,_0x4f7d16={'OzdPy':_0x5c146e(0x103),'Lsjqu':function(_0x15172f,_0x14cbb5){return _0x15172f===_0x14cbb5;},'vxBeZ':_0x5c146e(0xe3),'nXxKr':function(_0x9d9f7d,_0x425b77){return _0x9d9f7d(_0x425b77);},'kzndU':function(_0x9372df,_0x598278,_0x263568){return _0x9372df(_0x598278,_0x263568);},'uRnIT':_0x5c146e(0x11c),'HeIWn':_0x5c146e(0x10e),'whZWA':function(_0x43365e,_0x4d7acb){return _0x43365e(_0x4d7acb);},'cGKoH':function(_0x2bfe3e,_0x507f7f){return _0x2bfe3e===_0x507f7f;},'gowIh':_0x5c146e(0xef),'Wvsff':function(_0x2958a3,_0x67ebf3,_0x476bf9){return _0x2958a3(_0x67ebf3,_0x476bf9);},'JVfAi':_0x5c146e(0xd4),'TayJG':_0x5c146e(0xea),'YAkBV':'caps'};if(!_0x235abd)return null;let _0x198126=global['__cloud_provider___']||_0x4f7d16['OzdPy'];if(_0x4f7d16[_0x5c146e(0xe6)](_0x235abd[_0x5c146e(0xda)][_0x5c146e(0xf9)],_0x4f7d16['vxBeZ'])){const _0xbf45a=_0x235abd[_0x5c146e(0xd4)];if(!_0xbf45a)return null;const _0x12e04e=_0xbf45a[_0x5c146e(0xf7)],_0x36518c=_0x4f7d16[_0x5c146e(0xd1)](getOSVersionFromCaps,_0x4f7d16[_0x5c146e(0xdf)](nestedKeyValue,_0x235abd,[_0x4f7d16[_0x5c146e(0x114)],_0x4f7d16[_0x5c146e(0x11d)]]));return{[_0x198126]:{'browser':_0x12e04e[_0x5c146e(0xd9)],'browser_version':_0x12e04e['browserVersion'],'capabilities':_0x12e04e,'platform':_0x12e04e['platformName'],'platform_version':_0x12e04e['platformVersion']||_0x36518c,'product':_0x4f7d16[_0x5c146e(0x10a)](getObservabilityLinkedProductName,_0x12e04e),'session_id':_0xbf45a[_0x5c146e(0x112)]}};}else{if(_0x4f7d16[_0x5c146e(0x116)](_0x235abd['constructor'][_0x5c146e(0xf9)],_0x4f7d16['gowIh'])){const _0x462f31=PlaywrightSessionDetails[_0x5c146e(0x10c)]();_0x198126=_0x462f31[_0x5c146e(0xe9)]||_0x198126;const _0x384cbb=_0x4f7d16[_0x5c146e(0xf6)](nestedKeyValue,_0x235abd,[_0x4f7d16[_0x5c146e(0x114)],_0x4f7d16['JVfAi'],_0x4f7d16[_0x5c146e(0xd5)]]),_0x33b0f5=_0x384cbb?JSON[_0x5c146e(0x11a)](new URL(_0x384cbb)[_0x5c146e(0xd8)][_0x5c146e(0xe8)](_0x4f7d16[_0x5c146e(0x10b)])):{};return{[_0x198126]:{'browser':_0x462f31['browser']||_0x33b0f5[_0x5c146e(0xd9)],'browser_version':_0x462f31[_0x5c146e(0xf5)]||_0x33b0f5['browser_version'],'capabilities':_0x33b0f5,'platform':_0x462f31[_0x5c146e(0xd0)],'platform_version':_0x462f31[_0x5c146e(0x107)],'product':_0x4f7d16[_0x5c146e(0xd1)](getObservabilityLinkedProductName,_0x33b0f5),'session_id':_0x462f31[_0x5c146e(0x113)]}};}}},exports[a3_0x529560(0xfb)]=_0x3042dc=>{const _0x14862f=a3_0x529560,_0x39db0a={'iwVyv':function(_0x2fc939){return _0x2fc939();},'JFeSP':function(_0x24f027,_0x1fb61b){return _0x24f027===_0x1fb61b;},'SnBBR':_0x14862f(0xe0),'eelal':function(_0x9ced87,_0x5e3d90){return _0x9ced87>_0x5e3d90;},'raKhC':function(_0x4e579a,_0x3b4bc2){return _0x4e579a(_0x3b4bc2);},'MOPlA':_0x14862f(0xdd),'EzoJi':function(_0x53cb13,_0x4c84ec){return _0x53cb13===_0x4c84ec;},'tCBGf':'chrome','gBPdc':_0x14862f(0xeb),'pmmyD':_0x14862f(0xe7),'mTVNR':_0x14862f(0x100)};if(_0x39db0a['iwVyv'](isAccessibilityAutomationSession)){const _0x4c306e=_0x3042dc[_0x14862f(0xd4)],_0x460014=_0x4c306e[_0x14862f(0xf7)];global['accessibilityPlatform']=!![],!(_0x39db0a[_0x14862f(0xe2)](_0x460014[_0x14862f(0x101)],_0x39db0a[_0x14862f(0x109)])||_0x39db0a[_0x14862f(0x110)](_0x39db0a[_0x14862f(0xf4)](parseInt,_0x460014['browserVersion']),0x5e))&&(logger[_0x14862f(0x108)](_0x39db0a['MOPlA']),global['accessibilityPlatform']=![]),!(_0x39db0a['EzoJi'](_0x460014[_0x14862f(0xd9)],_0x39db0a[_0x14862f(0x118)])||_0x39db0a[_0x14862f(0xee)](_0x460014[_0x14862f(0xd9)],_0x39db0a[_0x14862f(0xd6)]))&&(logger[_0x14862f(0x108)](_0x39db0a['pmmyD']),global[_0x14862f(0x111)]=![]),!_0x39db0a[_0x14862f(0xf4)](isUndefined,_0x460014[_0x14862f(0x11b)])&&(logger[_0x14862f(0x108)](_0x39db0a[_0x14862f(0xdc)]),global[_0x14862f(0x111)]=![]);}},exports[a3_0x529560(0x104)]=_0x4f0b72=>{const _0x5e7472=a3_0x529560,_0x545e50={};_0x545e50[_0x5e7472(0xec)]=_0x5e7472(0xe5),_0x545e50[_0x5e7472(0xff)]=_0x5e7472(0xe1);const _0x210472=_0x545e50;if(!_0x4f0b72)return![];return!_0x4f0b72[_0x5e7472(0xd3)](_0x210472['dLRSz'])&&!_0x4f0b72[_0x5e7472(0xd3)](_0x210472['XLlcN']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x14c371=a4_0x101c;(function(_0x2ab309,_0x487892){const _0x1a1d56=a4_0x101c,_0x180ba8=_0x2ab309();while(!![]){try{const _0x3c5869=-parseInt(_0x1a1d56(0x1d3))/0x1*(-parseInt(_0x1a1d56(0x1c7))/0x2)+-parseInt(_0x1a1d56(0x1cc))/0x3*(parseInt(_0x1a1d56(0xf1))/0x4)+parseInt(_0x1a1d56(0xe4))/0x5*(parseInt(_0x1a1d56(0x193))/0x6)+-parseInt(_0x1a1d56(0x137))/0x7*(parseInt(_0x1a1d56(0xe5))/0x8)+-parseInt(_0x1a1d56(0xf9))/0x9+parseInt(_0x1a1d56(0x179))/0xa*(-parseInt(_0x1a1d56(0x1d7))/0xb)+parseInt(_0x1a1d56(0x12c))/0xc;if(_0x3c5869===_0x487892)break;else _0x180ba8['push'](_0x180ba8['shift']());}catch(_0x29f99e){_0x180ba8['push'](_0x180ba8['shift']());}}}(a4_0x378f,0xcbc1c));const path=require(a4_0x14c371(0x15e)),fs=require('fs'),{v4:uuidv4}=require(a4_0x14c371(0x194)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x14c371(0x1b3)),testOpsHelper=require(a4_0x14c371(0x1b4)),{getTestEnv}=require(a4_0x14c371(0x16d)),{FRAMEWORKS}=require(a4_0x14c371(0x1ae)),logger=require(a4_0x14c371(0xf0))[a4_0x14c371(0x18a)],SessionHandler=require(a4_0x14c371(0x128)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x14c371(0x133)),debug=testOpsHelper[a4_0x14c371(0x172)],{processAccessibilityCaps}=require(a4_0x14c371(0x19b)),Constants=require(a4_0x14c371(0x148)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x14c371(0x124)),constants=require(a4_0x14c371(0x148)),STATE_PASSED='passed',STATE_FAILED=a4_0x14c371(0x113),a4_0x2f28f4={};a4_0x2f28f4['TEST_RUN_STARTED']=a4_0x14c371(0x1a0),a4_0x2f28f4[a4_0x14c371(0x141)]=a4_0x14c371(0x19a),a4_0x2f28f4[a4_0x14c371(0x1b8)]=a4_0x14c371(0x1c1),a4_0x2f28f4[a4_0x14c371(0x16b)]=a4_0x14c371(0x17a),a4_0x2f28f4[a4_0x14c371(0x17c)]='HookRunFinished';const TEST_EVENTS=a4_0x2f28f4,parseEvent=_0x144c0d=>{const _0x268be4=a4_0x14c371,_0x50e5ce={};_0x50e5ce[_0x268be4(0x176)]=function(_0xd782c7,_0x1e6820){return _0xd782c7<_0x1e6820;},_0x50e5ce[_0x268be4(0xea)]=function(_0x3417ad,_0x5111f1){return _0x3417ad===_0x5111f1;},_0x50e5ce[_0x268be4(0x15c)]='test',_0x50e5ce['MJWzA']=function(_0x2be091,_0x528e80){return _0x2be091===_0x528e80;},_0x50e5ce['gcjTH']=_0x268be4(0x143),_0x50e5ce['HCNQq']=_0x268be4(0x14e),_0x50e5ce[_0x268be4(0xe9)]=function(_0x10a635,_0x150fb3){return _0x10a635===_0x150fb3;},_0x50e5ce[_0x268be4(0x177)]=_0x268be4(0x1d8),_0x50e5ce[_0x268be4(0x14d)]=function(_0x1f72e3,_0x5d03f3){return _0x1f72e3===_0x5d03f3;},_0x50e5ce[_0x268be4(0x11c)]=_0x268be4(0x1db);const _0x1e9843=_0x50e5ce,_0x5caa79=_0x144c0d[_0x268be4(0x1c4)](/^(.*)Run(.*)$/);if(!_0x5caa79)return null;if(_0x1e9843[_0x268be4(0x176)](_0x5caa79[_0x268be4(0xe2)],0x3))return null;const _0x133071=_0x5caa79[0x1][_0x268be4(0x1c3)](),_0x519151=_0x5caa79[0x2][_0x268be4(0x1c3)]();return{'test':_0x1e9843[_0x268be4(0xea)](_0x133071,_0x1e9843['qAKGm']),'hook':_0x1e9843[_0x268be4(0xf4)](_0x133071,_0x1e9843['gcjTH']),'skipped':_0x1e9843[_0x268be4(0xea)](_0x519151,_0x1e9843['HCNQq']),'started':_0x1e9843['YQZbE'](_0x519151,_0x1e9843[_0x268be4(0x177)]),'finished':_0x1e9843['PgRjd'](_0x519151,_0x1e9843['ewRDK'])};},mockPWBrowserType=_0x102707=>{const _0x6e49e9=a4_0x14c371,_0x577412={'ehzDw':function(_0x51a843,_0x373621,_0x4c3e3b){return _0x51a843(_0x373621,_0x4c3e3b);},'gjdqt':_0x6e49e9(0x1c6),'fXfAM':function(_0x303494,_0x15248c){return _0x303494(_0x15248c);},'HCPAy':_0x6e49e9(0x158),'RLQtm':function(_0x1394f0,_0x5a9278){return _0x1394f0===_0x5a9278;},'ZRmgU':_0x6e49e9(0x15f),'oazdR':_0x6e49e9(0x154),'oqFGY':_0x6e49e9(0x18f),'xCrqD':_0x6e49e9(0x13b),'FxXcC':function(_0x3107ab,_0xb86881){return _0x3107ab(_0xb86881);},'hwpKs':'Not\x20able\x20to\x20import\x20Browser','LgYVr':_0x6e49e9(0xe7),'SfGEU':_0x6e49e9(0xf8)},_0x2bc09f=path[_0x6e49e9(0x130)](_0x577412['oazdR'],_0x577412[_0x6e49e9(0x1ce)],_0x577412['xCrqD']),_0x26747d=_0x577412[_0x6e49e9(0x1a4)](importFileFromPWCore,_0x2bc09f);if(!_0x26747d){_0x577412[_0x6e49e9(0x1a4)](debug,_0x577412[_0x6e49e9(0x178)]);return;}const _0x3c47db=_0x26747d['BrowserType'],_0x1b5db4=_0x3c47db[_0x6e49e9(0x1b9)];if(_0x1b5db4['obsBrowserTypeMockApplied'])return;const _0x13f91c=_0x1b5db4[_0x6e49e9(0xe7)];Object['defineProperty'](_0x1b5db4,_0x577412['LgYVr'],{'get':function(){const _0xda312b={'FhICZ':function(_0x298b09,_0x392cde){return _0x577412['RLQtm'](_0x298b09,_0x392cde);},'ilPoB':_0x577412['ZRmgU']};return async function _0x538f7a(_0x445260,_0x268b20){const _0x4dee25=a4_0x101c,_0x2f0e58=_0x577412[_0x4dee25(0x108)](nestedKeyValue,_0x445260,[_0x577412[_0x4dee25(0x118)]])||_0x445260;let _0x32c181=null,_0x572728=null;try{[_0x572728,_0x32c181]=_0x2f0e58?_0x577412[_0x4dee25(0x12b)](parseWSEndpoint,_0x2f0e58):[null,null],global['__platformCaps']=_0x32c181,logger[_0x4dee25(0x172)](_0x4dee25(0x1d5)+_0x572728),_0x572728['includes'](Constants[_0x4dee25(0x18c)])&&(global[_0x4dee25(0x12a)]=_0x577412[_0x4dee25(0x195)]);}catch(_0x39c27a){logger[_0x4dee25(0x172)](_0x4dee25(0x186)+_0x2f0e58+'\x20'+_0x39c27a);}_0x577412[_0x4dee25(0x108)](processAccessibilityCaps,_0x32c181,_0x572728);if(global[_0x4dee25(0x1a1)]){const _0x4308b6=await _0x1b5db4[_0x4dee25(0x134)]['apply'](this,[''+Constants[_0x4dee25(0x171)]+_0x577412[_0x4dee25(0x12b)](encodeURIComponent,JSON[_0x4dee25(0x119)](_0x32c181))]);return PlaywrightSessionDetails[_0x4dee25(0x174)](_0x4308b6,_0x102707,_0x2f0e58),_0x4308b6;}return _0x13f91c[_0x4dee25(0x110)](this,arguments)['then'](_0xc9174b=>{const _0x7da705=_0x4dee25;let _0x1e560c=_0x445260[_0x7da705(0x1c6)];return _0xda312b[_0x7da705(0xeb)](typeof _0x445260,_0xda312b[_0x7da705(0x188)])&&(_0x1e560c=_0x445260),PlaywrightSessionDetails[_0x7da705(0x174)](_0xc9174b,_0x102707,_0x1e560c),_0xc9174b;});};}});const _0x1ec612=_0x1b5db4[_0x6e49e9(0xf8)];Object[_0x6e49e9(0x10d)](_0x1b5db4,_0x577412[_0x6e49e9(0x1ba)],{'get':function(){return async function _0x3c3e79(){const _0x27e1f2=a4_0x101c;return _0x1ec612[_0x27e1f2(0x110)](this,arguments)[_0x27e1f2(0x14b)](_0x51401f=>{const _0x22380a=_0x27e1f2;return PlaywrightSessionDetails[_0x22380a(0x174)](_0x51401f,null),_0x51401f;});};}});};class O11yHelper{['currentTest']=null;[a4_0x14c371(0x1bf)]=null;[a4_0x14c371(0xef)]=![];[a4_0x14c371(0x149)]=![];constructor(_0x411e5c,_0x44d308){const _0x1a4c6d=a4_0x14c371,_0x2ea22b={'RgaJY':_0x1a4c6d(0x129),'PqDVO':function(_0x2719c3){return _0x2719c3();},'XyrRG':function(_0x4fe0e6,_0x2eb1aa){return _0x4fe0e6===_0x2eb1aa;},'clKlj':_0x1a4c6d(0x199),'IrTjK':function(_0x20ef0b,_0xd69644){return _0x20ef0b(_0xd69644);},'ZjFny':function(_0x5b120c){return _0x5b120c();}},_0x5647b4=_0x2ea22b[_0x1a4c6d(0xe3)][_0x1a4c6d(0xf2)]('|');let _0x479d6b=0x0;while(!![]){switch(_0x5647b4[_0x479d6b++]){case'0':this[_0x1a4c6d(0x1cf)]=_0x411e5c;continue;case'1':this['enabled']=_0x2ea22b[_0x1a4c6d(0xf5)](shouldProcessEventForTesthub);continue;case'2':this[_0x1a4c6d(0x1cf)]&&_0x2ea22b[_0x1a4c6d(0x166)](this['driver'][_0x1a4c6d(0xfd)][_0x1a4c6d(0x13c)],_0x2ea22b[_0x1a4c6d(0x15a)])&&_0x2ea22b[_0x1a4c6d(0x17b)](mockPWBrowserType,null);continue;case'3':this[_0x1a4c6d(0xf6)]=new testOpsHelper[(_0x1a4c6d(0x1d1))]({'cwd':process[_0x1a4c6d(0x184)]()},this[_0x1a4c6d(0x1b2)][_0x1a4c6d(0x175)]);continue;case'4':this[_0x1a4c6d(0x149)]=_0x44d308[_0x1a4c6d(0x149)];continue;case'5':this[_0x1a4c6d(0x1b2)]=_0x2ea22b['ZjFny'](getTestEnv);continue;}break;}}['start'](){const _0x53d6a8=a4_0x14c371;if(!this[_0x53d6a8(0xef)])return;testOpsHelper[_0x53d6a8(0x1cd)](),process['removeAllListeners'](_0x53d6a8(0xe6)+process['pid']),process['on'](_0x53d6a8(0xe6)+process[_0x53d6a8(0xf7)],this[_0x53d6a8(0xfb)]['bind'](this));}async[a4_0x14c371(0x1bc)](){const _0x41bb51=a4_0x14c371;await RequestQueueHandler[_0x41bb51(0xf3)]()['shutdown']();}async[a4_0x14c371(0xfb)](_0x40337a){const _0x2d0053=a4_0x14c371,_0xf623d2={'RyEWG':_0x2d0053(0x197),'NfKkb':function(_0x318210,_0x29c710){return _0x318210(_0x29c710);}};try{this[_0x2d0053(0x1bf)]&&!this[_0x2d0053(0x1bf)][_0x2d0053(0x1dc)]&&(_0x40337a['hook_run_uuid']=this[_0x2d0053(0x1bf)][_0x2d0053(0x1a5)]);!_0x40337a[_0x2d0053(0x106)]&&this[_0x2d0053(0x151)]&&!this[_0x2d0053(0x151)][_0x2d0053(0x1dc)]&&(_0x40337a[_0x2d0053(0x102)]=this[_0x2d0053(0x151)][_0x2d0053(0x11f)]);if(_0x40337a[_0x2d0053(0x106)]||_0x40337a['test_run_uuid']){const _0xacfd0f={};_0xacfd0f[_0x2d0053(0x147)]=_0xf623d2[_0x2d0053(0x170)],_0xacfd0f[_0x2d0053(0x1ca)]=[_0x40337a],await SessionHandler[_0x2d0053(0x1b0)](_0xacfd0f);}}catch(_0x57ba4d){_0xf623d2[_0x2d0053(0x11e)](debug,_0x2d0053(0xee)+constants[_0x2d0053(0x146)]+_0x2d0053(0x152)+_0x57ba4d);}}async['sendCBTInfo'](_0x3d7ecd){const _0x265fcb=a4_0x14c371,_0x14ed0e={'fmMio':'CBTSessionCreated','dWaDF':function(_0x9c20c3,_0x2eb12a){return _0x9c20c3(_0x2eb12a);}};if(!this['enabled'])return;const _0x2de745=this[_0x265fcb(0x135)](this[_0x265fcb(0x1cf)]);try{const _0x367e5d={};_0x367e5d['uuid']=_0x3d7ecd,_0x367e5d['integrations']=_0x2de745;const _0x20ea15=_0x367e5d,_0x466985={};_0x466985['event_type']=_0x14ed0e[_0x265fcb(0x14f)],_0x466985['test_run']=_0x20ea15,await SessionHandler[_0x265fcb(0x1b0)](_0x466985);}catch(_0x32ada1){_0x14ed0e[_0x265fcb(0x191)](debug,_0x265fcb(0x125)+constants[_0x265fcb(0x146)]+'\x20with\x20error\x20:\x20'+_0x32ada1);}}[a4_0x14c371(0x135)](_0x59b00e){const _0x3459cd=a4_0x14c371,_0x589b28={'Qajny':function(_0x5e877f,_0x48f22e){return _0x5e877f(_0x48f22e);}};return _0x589b28[_0x3459cd(0xfc)](fetchPlatformDetails,_0x59b00e);}['resetSkipTestHooks']=_0x2ec4ca=>{const _0x3b7ea7=a4_0x14c371,_0x155f0e={};_0x155f0e['vAROs']=_0x3b7ea7(0x1b1),_0x155f0e['rFthZ']=_0x3b7ea7(0x17f);const _0x3b0e50=_0x155f0e;if(!_0x2ec4ca||!_0x2ec4ca[_0x3b7ea7(0x16a)])return;[_0x3b0e50[_0x3b7ea7(0x167)],_0x3b0e50['rFthZ']][_0x3b7ea7(0x1a3)](_0x5ad5b6=>{const _0x5f4478=_0x3b7ea7,_0x1e8a4f=_0x2ec4ca[_0x5f4478(0x16a)][_0x5ad5b6];_0x1e8a4f[_0x5f4478(0x1a3)](_0x59d8d3=>{const _0x1e91da=_0x5f4478;_0x59d8d3['hookAnalyticsId']&&(_0x59d8d3[_0x1e91da(0x1a5)]=null);});});};['mapTestHooks'](_0x3cc5d9){const _0x2ed0ce=a4_0x14c371,_0x264adc={'DsWEv':'codeceptjs','pPpin':function(_0x192692){return _0x192692();},'Ekrvm':function(_0x604e45,_0x2b1aa7){return _0x604e45===_0x2b1aa7;},'gCVYU':_0x2ed0ce(0x17f),'dFOyY':function(_0x29564e){return _0x29564e();},'cJMLq':'_beforeAll','tSRuM':_0x2ed0ce(0x12e),'tbbFS':'_beforeEach'};if(!_0x3cc5d9||!_0x3cc5d9[_0x2ed0ce(0x16a)])return;[_0x264adc[_0x2ed0ce(0x192)],_0x264adc[_0x2ed0ce(0xfa)],_0x264adc[_0x2ed0ce(0x1c0)],_0x264adc[_0x2ed0ce(0x19d)]][_0x2ed0ce(0x1a3)](_0x202351=>{const _0x3f4ab3=_0x2ed0ce,_0x872b1f=_0x3cc5d9[_0x3f4ab3(0x16a)][_0x202351]||[];_0x872b1f[_0x3f4ab3(0x1a3)](_0x5ebd46=>{const _0x10f0d3=_0x3f4ab3;if(_0x5ebd46[_0x10f0d3(0x13a)][_0x10f0d3(0x10c)](_0x264adc['DsWEv']))return;if(!_0x5ebd46[_0x10f0d3(0x1a5)])_0x5ebd46[_0x10f0d3(0x1a5)]=_0x264adc['pPpin'](uuidv4);else _0x5ebd46[_0x10f0d3(0x1dc)]&&_0x264adc[_0x10f0d3(0x190)](_0x202351,_0x264adc[_0x10f0d3(0x19d)])&&(_0x5ebd46[_0x10f0d3(0x1a5)]=_0x264adc[_0x10f0d3(0x111)](uuidv4),delete _0x5ebd46[_0x10f0d3(0x1dc)]);});}),this[_0x2ed0ce(0x180)](_0x3cc5d9[_0x2ed0ce(0x16a)]);}[a4_0x14c371(0x16c)](_0x2a5c29){const _0x2039bd=a4_0x14c371,_0x52ba1c={};_0x52ba1c['VVttf']=_0x2039bd(0x1cb),_0x52ba1c[_0x2039bd(0x1d9)]=_0x2039bd(0x12e),_0x52ba1c[_0x2039bd(0x1d0)]='_beforeEach',_0x52ba1c['Bzknt']=_0x2039bd(0x17f);const _0x28ea5e=_0x52ba1c;if(!_0x2a5c29||!_0x2a5c29[_0x2039bd(0x16a)])return[];const _0x86b87c=[];return[_0x28ea5e[_0x2039bd(0x101)],_0x28ea5e[_0x2039bd(0x1d9)],_0x28ea5e[_0x2039bd(0x1d0)],_0x28ea5e[_0x2039bd(0x10b)]][_0x2039bd(0x1a3)](_0x5c1862=>{const _0x12cf52=_0x2039bd,_0x4f48c7=_0x2a5c29[_0x12cf52(0x16a)][_0x5c1862]||[];_0x4f48c7[_0x12cf52(0x1a3)](_0x1e2918=>{const _0x4f5eff=_0x12cf52;_0x1e2918['hookAnalyticsId']&&_0x86b87c[_0x4f5eff(0x18d)](_0x1e2918['hookAnalyticsId']);});}),[][_0x2039bd(0x1d6)](_0x86b87c,this[_0x2039bd(0x16c)](_0x2a5c29['parent']));}[a4_0x14c371(0x1b7)](_0x509f6c){const _0x351354=a4_0x14c371,_0x45582b=/^"(?<hook>.*)" hook:.*$/,_0x45c6c4=_0x509f6c[_0x351354(0x13a)],_0x58cece=_0x45c6c4[_0x351354(0x1c4)](_0x45582b);if(_0x58cece&&_0x58cece[_0x351354(0x116)])return _0x58cece[_0x351354(0x116)][_0x351354(0x143)][_0x351354(0x17d)]()['replace']('\x20','_');return null;}[a4_0x14c371(0x157)](_0x5e5baa){const _0x16e756=a4_0x14c371,_0x31022e={};_0x31022e[_0x16e756(0x198)]=function(_0x3c8080,_0x245fb3){return _0x3c8080===_0x245fb3;},_0x31022e[_0x16e756(0x109)]=function(_0xf52807,_0x26d7f6){return _0xf52807===_0x26d7f6;},_0x31022e[_0x16e756(0x123)]=_0x16e756(0x19f),_0x31022e[_0x16e756(0x1ad)]=_0x16e756(0x1bb);const _0x2f1ba4=_0x31022e,_0x2b49a2=path[_0x16e756(0x1c8)];if(_0x2f1ba4[_0x16e756(0x198)](_0x5e5baa,null)||_0x2f1ba4[_0x16e756(0x109)](_0x5e5baa,'')||_0x2f1ba4['HKZvQ'](_0x5e5baa,_0x2b49a2)||_0x2f1ba4[_0x16e756(0x109)](_0x5e5baa,path['dirname'](_0x5e5baa)))return null;try{return fs[_0x16e756(0x169)](path['join'](_0x5e5baa,_0x2f1ba4[_0x16e756(0x123)],_0x2f1ba4[_0x16e756(0x1ad)])),_0x5e5baa;}catch(_0x19c2bb){const _0x126073=path[_0x16e756(0x16e)](_0x5e5baa);return this[_0x16e756(0x157)](_0x126073);}}['getRootParentFile'](_0xf78356){const _0x1e1fd5=a4_0x14c371,_0x2e0bf5={};_0x2e0bf5['MbLKX']=function(_0x355e41,_0x4b3431){return _0x355e41>_0x4b3431;};const _0xa1df6a=_0x2e0bf5;if(_0xf78356[_0x1e1fd5(0x1a6)])return _0xf78356[_0x1e1fd5(0x1a6)];if(_0xf78356[_0x1e1fd5(0xed)]){const _0x3c3383=_0xf78356['ctx'][_0x1e1fd5(0x151)]?this['getRootParentFile'](_0xf78356[_0x1e1fd5(0xed)]['currentTest']):null;if(_0x3c3383)return _0x3c3383;}if(_0xf78356[_0x1e1fd5(0x16a)]){const _0x2b268f=this[_0x1e1fd5(0x1a2)](_0xf78356[_0x1e1fd5(0x16a)])||(_0xf78356[_0x1e1fd5(0x16a)]['ctx']&&_0xf78356[_0x1e1fd5(0x16a)][_0x1e1fd5(0xed)][_0x1e1fd5(0x151)]?this[_0x1e1fd5(0x1a2)](_0xf78356[_0x1e1fd5(0x16a)][_0x1e1fd5(0xed)][_0x1e1fd5(0x151)]):null);if(_0x2b268f)return _0x2b268f;_0xf78356[_0x1e1fd5(0x16a)][_0x1e1fd5(0x144)]&&_0xa1df6a[_0x1e1fd5(0x117)](_0xf78356[_0x1e1fd5(0x16a)][_0x1e1fd5(0x144)][_0x1e1fd5(0xe2)],0x0)&&_0xf78356[_0x1e1fd5(0x16a)]['suites'][_0x1e1fd5(0x1a3)](_0x490807=>{const _0x5f2c86=_0x1e1fd5,_0x310369=_0x490807[_0x5f2c86(0xed)]?this[_0x5f2c86(0x1a2)](_0x490807['ctx']):null;if(_0x310369)return _0x310369;});}return null;}[a4_0x14c371(0x1ab)](_0x47fcf7){const _0x3aa95b=a4_0x14c371,_0x1395fa={};_0x1395fa[_0x3aa95b(0x1d4)]=function(_0x249e37,_0x338d59){return _0x249e37!==_0x338d59;};const _0x157964=_0x1395fa,_0x41a591=[];if(_0x47fcf7&&_0x47fcf7[_0x3aa95b(0x16a)]){let _0x3f74ca=_0x47fcf7[_0x3aa95b(0x16a)];while(_0x3f74ca&&_0x157964[_0x3aa95b(0x1d4)](_0x3f74ca[_0x3aa95b(0x13a)],'')){_0x41a591[_0x3aa95b(0x18d)](_0x3f74ca[_0x3aa95b(0x13a)]),_0x3f74ca=_0x3f74ca['parent'];}}return _0x41a591;}[a4_0x14c371(0xe8)](_0xb3cb23,_0x50bc3f,_0x4b6e80=undefined){const _0x50d7d0=a4_0x14c371,_0x35210b={'FlkTS':function(_0x424c3a,_0x881293){return _0x424c3a(_0x881293);},'ajmAS':function(_0x14c553){return _0x14c553();},'zFypi':function(_0x5737b7){return _0x5737b7();},'pXpLg':_0x50d7d0(0xff),'tJWqj':_0x50d7d0(0x11b),'ZhBBg':function(_0x2866cb,_0x4d286b){return _0x2866cb!==_0x4d286b;},'nxzKS':_0x50d7d0(0x11d),'tOBWJ':_0x50d7d0(0x1da),'EIsbu':_0x50d7d0(0x113),'GlOnL':_0x50d7d0(0x185),'wulMB':_0x50d7d0(0x14e),'swFzP':'javascript','QAVHt':function(_0x57ae5e,_0x529d34){return _0x57ae5e-_0x529d34;},'Sqjgs':function(_0x55c262,_0x7f0626,_0x5625f0,_0x35d85e,_0x3972cf){return _0x55c262(_0x7f0626,_0x5625f0,_0x35d85e,_0x3972cf);},'GlPEs':function(_0x455845,_0x513dbd){return _0x455845!==_0x513dbd;},'wnBNo':_0x50d7d0(0x153),'rkPFW':_0x50d7d0(0x127),'gLlJg':_0x50d7d0(0x1a8),'aNIss':'failure_backtrace','DrDPN':_0x50d7d0(0x100),'vdAWy':'failure_reason_expanded','jGgbA':_0x50d7d0(0x1c9),'FDfrE':function(_0x43b49f,_0x31e1cc){return _0x43b49f===_0x31e1cc;},'dajTz':_0x50d7d0(0x131),'VwaOj':_0x50d7d0(0x122)};if(!this[_0x50d7d0(0xef)])return;try{if(_0x50bc3f['fn']&&_0x50bc3f['fn']['toString']()[_0x50d7d0(0x1c4)](/browserstack internal helper hook/))return;const _0x4c329=_0x35210b['FlkTS'](parseEvent,_0xb3cb23);if(!_0x4c329)return;if(_0x4c329[_0x50d7d0(0x132)]){this[_0x50d7d0(0x151)]=_0x50bc3f,this['currentHook']=null;if(_0x4c329[_0x50d7d0(0x1d8)]||_0x4c329[_0x50d7d0(0x14e)]){_0x50bc3f[_0x50d7d0(0xec)]=new Date(),_0x50bc3f[_0x50d7d0(0x1dc)]=![];if(!_0x50bc3f[_0x50d7d0(0x11f)])_0x50bc3f[_0x50d7d0(0x11f)]=_0x35210b[_0x50d7d0(0x1c5)](uuidv4);else _0x50bc3f[_0x50d7d0(0x1dc)]&&(!_0x50bc3f[_0x50d7d0(0x13d)]&&(_0x50bc3f['retryOf']=_0x50bc3f['testAnalyticsId']),_0x50bc3f[_0x50d7d0(0x11f)]=_0x35210b[_0x50d7d0(0x1c5)](uuidv4));}}else{if(_0x4c329[_0x50d7d0(0x143)]){this[_0x50d7d0(0x1bf)]=_0x50bc3f;if(_0x4c329[_0x50d7d0(0x1d8)]){_0x50bc3f['startedAt']=new Date(),_0x50bc3f[_0x50d7d0(0x1dc)]=![];if(!_0x50bc3f['hookAnalyticsId'])_0x50bc3f[_0x50d7d0(0x1a5)]=_0x35210b[_0x50d7d0(0x138)](uuidv4);else _0x50bc3f[_0x50d7d0(0x1a5)]&&_0x50bc3f['markedStatus']&&(_0x50bc3f[_0x50d7d0(0x1a5)]=_0x35210b['zFypi'](uuidv4));}}}if(_0x4c329[_0x50d7d0(0x1db)]&&_0x50bc3f[_0x50d7d0(0x1dc)])return;let _0x3ff9a8;try{_0x3ff9a8=this['getRootParentFile'](_0x50bc3f);}catch(_0x3e08d5){logger[_0x50d7d0(0x172)](_0x50d7d0(0x182)+_0x3e08d5),_0x3ff9a8=null;}const _0x3d81bb=_0x35210b['FlkTS'](require,_0x35210b[_0x50d7d0(0x10e)]);let _0x3e1eb0=[];_0x4b6e80&&(_0x3e1eb0=[_0x4b6e80,_0x35210b[_0x50d7d0(0x142)]]);const _0x56c8f1=_0x35210b[_0x50d7d0(0x1bd)](_0x50bc3f['errorsDetailed'],undefined)?_0x3d81bb['inspect'](_0x50bc3f[_0x50d7d0(0x163)][0x0]):_0x35210b[_0x50d7d0(0x1bd)](_0x4b6e80,undefined)?_0x4b6e80[_0x50d7d0(0x14a)]():undefined,_0x523cbe=_0x3ff9a8?this[_0x50d7d0(0x157)](_0x3ff9a8):null,_0x257da3=_0x3ff9a8?this[_0x50d7d0(0xf6)][_0x50d7d0(0x13e)](this[_0x50d7d0(0x1a2)](_0x50bc3f)):_0x35210b[_0x50d7d0(0x1a7)];let _0x2a20f4=_0x35210b[_0x50d7d0(0x139)];const _0x52c896=!_0x4c329[_0x50d7d0(0x1d8)]?new Date()[_0x50d7d0(0x19e)]():null;if(_0x4c329['finished'])_0x2a20f4=_0x4b6e80?_0x35210b[_0x50d7d0(0x1ac)]:_0x35210b[_0x50d7d0(0x12d)],_0x50bc3f[_0x50d7d0(0x1dc)]=!![];else _0x4c329[_0x50d7d0(0x14e)]&&(_0x2a20f4=_0x35210b[_0x50d7d0(0x121)],_0x50bc3f['markedStatus']=!![]);const _0x3d921c={'framework':this[_0x50d7d0(0x149)],'uuid':_0x50bc3f[_0x50d7d0(0x11f)]||_0x50bc3f[_0x50d7d0(0x1a5)],'name':_0x50bc3f[_0x50d7d0(0x13a)],'body':{'lang':_0x35210b['swFzP'],'code':_0x50bc3f[_0x50d7d0(0x11a)][_0x50d7d0(0x14a)]()},'type':_0x50bc3f[_0x50d7d0(0x18e)],'scope':_0x50bc3f[_0x50d7d0(0x112)](),'scopes':this[_0x50d7d0(0x1ab)](_0x50bc3f),'file_name':_0x257da3,'vc_filepath':_0x523cbe?path[_0x50d7d0(0x13f)](_0x523cbe,_0x3ff9a8):null,'location':_0x257da3,'result':_0x2a20f4,'failure_reason':_0x56c8f1,'duration_in_ms':_0x50bc3f[_0x50d7d0(0x164)]||(_0x4c329[_0x50d7d0(0x1db)]||_0x4c329['skipped'])?_0x35210b[_0x50d7d0(0x19c)](Date[_0x50d7d0(0x1af)](),new Date(_0x50bc3f[_0x50d7d0(0xec)])[_0x50d7d0(0x183)]()):null,'started_at':new Date(_0x50bc3f[_0x50d7d0(0xec)])[_0x50d7d0(0x19e)](),'finished_at':_0x52c896,'failure':testOpsHelper[_0x50d7d0(0x173)][_0x50d7d0(0x110)](null,_0x3e1eb0),'failure_type':!_0x56c8f1?null:testOpsHelper['getFailureType'](_0x56c8f1),'retry_of':_0x50bc3f['retryOf']||null,'tags':_0x50bc3f[_0x50d7d0(0x10f)]||[],'customRerunParam':{'rerun_name':_0x50bc3f[_0x50d7d0(0x112)]()}};_0x35210b[_0x50d7d0(0x1aa)](appendTesthubParams,_0x3d921c,_0xb3cb23,_0x50bc3f,FRAMEWORKS[_0x50d7d0(0x155)]);if(_0x4c329[_0x50d7d0(0x143)])[_0x3d921c[_0x50d7d0(0x17e)],_0x3d921c[_0x50d7d0(0x13c)]]=[this[_0x50d7d0(0x1b7)](_0x50bc3f),_0x50bc3f[_0x50d7d0(0xed)][_0x50d7d0(0x132)][_0x50d7d0(0x13a)]],_0x4c329[_0x50d7d0(0x1db)]?_0x35210b[_0x50d7d0(0x165)](_0x3d921c[_0x50d7d0(0x136)],_0x35210b[_0x50d7d0(0x1ac)])&&(_0x3d921c[_0x50d7d0(0x136)]=_0x35210b['GlOnL']):_0x3d921c[_0x50d7d0(0x11a)]={};else _0x4c329[_0x50d7d0(0x132)]&&(this[_0x50d7d0(0x180)](_0x50bc3f),_0x4c329[_0x50d7d0(0x14e)]&&this[_0x50d7d0(0x1b6)](_0x50bc3f),(_0x4c329[_0x50d7d0(0x1db)]||_0x4c329[_0x50d7d0(0x14e)])&&(_0x3d921c[_0x50d7d0(0x187)]=this['getHooksForTest'](_0x50bc3f)));this['driver']&&(_0x4c329[_0x50d7d0(0x1d8)]||_0x4c329[_0x50d7d0(0x14e)])&&(_0x3d921c[_0x35210b[_0x50d7d0(0x140)]]=this[_0x50d7d0(0x135)](this[_0x50d7d0(0x1cf)]));_0x4c329[_0x50d7d0(0x132)]&&_0x4c329['finished']&&_0x50bc3f[_0x50d7d0(0x15d)]&&(_0x3d921c[_0x35210b[_0x50d7d0(0x196)]]={'feature':{'name':_0x50bc3f[_0x50d7d0(0x16a)][_0x50d7d0(0x105)][_0x50d7d0(0x13c)],'path':_0x3d921c[_0x50d7d0(0x150)],'description':_0x50bc3f['parent'][_0x50d7d0(0x18b)]},'scenario':{'name':_0x50bc3f[_0x50d7d0(0x13a)]},'steps':_0x50bc3f[_0x50d7d0(0x15d)]});const _0x11c6d5=_0x3d921c[_0x35210b[_0x50d7d0(0xfe)]][0x0];_0x11c6d5&&(_0x3d921c[_0x35210b['aNIss']]=_0x11c6d5[_0x35210b['DrDPN']],_0x3d921c[_0x35210b['vdAWy']]=_0x11c6d5[_0x35210b['jGgbA']]);if(_0x50bc3f[_0x50d7d0(0x15d)])for(const _0x4d3f1f of _0x50bc3f['bddSteps']){!_0x4d3f1f['finished_at']&&(_0x4d3f1f['finished_at']=new Date()[_0x50d7d0(0x19e)](),_0x35210b[_0x50d7d0(0x1a9)](_0x4d3f1f[_0x50d7d0(0x136)],_0x35210b['tOBWJ'])&&(_0x11c6d5?(_0x4d3f1f[_0x50d7d0(0x136)]=_0x35210b[_0x50d7d0(0x1ac)],_0x4d3f1f[_0x50d7d0(0x1a8)]=_0x11c6d5[_0x35210b[_0x50d7d0(0x159)]][0x0]):_0x4d3f1f[_0x50d7d0(0x136)]=_0x35210b[_0x50d7d0(0x12d)]));}const _0x3ee766={};_0x3ee766[_0x50d7d0(0x147)]=_0x4c329[_0x50d7d0(0x14e)]?TEST_EVENTS[_0x50d7d0(0x141)]:_0xb3cb23;const _0x11c559=_0x3ee766;return _0x4c329[_0x50d7d0(0x143)]?_0x11c559[_0x35210b[_0x50d7d0(0x114)]]=_0x3d921c:_0x11c559[_0x35210b[_0x50d7d0(0x107)]]=_0x3d921c,_0x11c559;}catch(_0x196438){logger[_0x50d7d0(0x172)](_0x50d7d0(0x145)+_0xb3cb23+'\x20with\x20error\x20:\x20'+_0x196438);}}async[a4_0x14c371(0x104)](_0x3eba44,_0x22180b){const _0x1f9536=a4_0x14c371;if(!this[_0x1f9536(0xef)]||!_0x22180b||!_0x3eba44)return![];try{return await SessionHandler[_0x1f9536(0x1b0)](_0x22180b);}catch(_0x1daaf1){logger[_0x1f9536(0x172)](_0x1f9536(0x161)+_0x3eba44+_0x1f9536(0x152)+_0x1daaf1);}}['initializeBddStep'](_0x257e2a){const _0x4f0a8c=a4_0x14c371,_0x4b8a44={};_0x4b8a44[_0x4f0a8c(0x160)]=_0x4f0a8c(0x1da);const _0x3d344d=_0x4b8a44;return{'id':_0x257e2a[_0x4f0a8c(0x115)],'text':_0x257e2a['text'],'keyword':_0x257e2a[_0x4f0a8c(0x12f)],'started_at':_0x257e2a[_0x4f0a8c(0xec)][_0x4f0a8c(0x19e)](),'result':_0x3d344d[_0x4f0a8c(0x160)]};}[a4_0x14c371(0x15b)](_0x5b21f7){const _0x15e399=a4_0x14c371,_0x3941cd={'FHxsd':function(_0x382b94){return _0x382b94();}};!this[_0x15e399(0x151)][_0x15e399(0x15d)]&&(this[_0x15e399(0x151)]['bddSteps']=[]),!_0x5b21f7[_0x15e399(0x115)]&&(_0x5b21f7['stepAnalyticsId']=_0x3941cd[_0x15e399(0x16f)](uuidv4),_0x5b21f7[_0x15e399(0xec)]=new Date(),this['currentTest'][_0x15e399(0x15d)]['push'](this[_0x15e399(0x1c2)](_0x5b21f7)));}[a4_0x14c371(0x189)](_0x16045d){const _0xedc96c=a4_0x14c371,_0x6bd1c={'cYzBM':function(_0x3fbd08,_0x11ae6b){return _0x3fbd08(_0x11ae6b);},'SOmMI':_0xedc96c(0x156),'PERPR':'pending','VADVZ':_0xedc96c(0x185),'VLSTI':function(_0x2a151d,_0x1853a5){return _0x2a151d-_0x1853a5;}};let _0x4d1134=this[_0xedc96c(0x151)][_0xedc96c(0x15d)][_0xedc96c(0x168)](_0x38a933=>_0x38a933['id']===_0x16045d['stepAnalyticsId']);_0x6bd1c[_0xedc96c(0x1be)](isUndefined,_0x4d1134)&&(_0x4d1134=this[_0xedc96c(0x1c2)](_0x16045d)),_0x4d1134[_0xedc96c(0x136)]=[_0x6bd1c['SOmMI'],_0x6bd1c[_0xedc96c(0x14c)]][_0xedc96c(0x10c)](_0x16045d['status'])?_0x6bd1c[_0xedc96c(0x162)]:_0x16045d['status'],_0x4d1134['finished_at']=new Date()[_0xedc96c(0x19e)](),_0x4d1134['duration']=_0x6bd1c[_0xedc96c(0x1d2)](Date[_0xedc96c(0x1af)](),_0x16045d[_0xedc96c(0xec)]['getTime']()),_0x4d1134[_0xedc96c(0x1a8)]=_0x16045d[_0xedc96c(0x11b)]?_0x16045d[_0xedc96c(0x11b)][_0xedc96c(0x120)]:null;}}const a4_0x42774a={};function a4_0x101c(_0xb5fd18,_0x51a514){const _0x378f19=a4_0x378f();return a4_0x101c=function(_0x101cff,_0x113d5e){_0x101cff=_0x101cff-0xe2;let _0x3554d0=_0x378f19[_0x101cff];return _0x3554d0;},a4_0x101c(_0xb5fd18,_0x51a514);}a4_0x42774a[a4_0x14c371(0x181)]=O11yHelper,a4_0x42774a[a4_0x14c371(0x103)]=STATE_PASSED,a4_0x42774a[a4_0x14c371(0x126)]=STATE_FAILED,a4_0x42774a[a4_0x14c371(0x1b5)]=TEST_EVENTS,module[a4_0x14c371(0x10a)]=a4_0x42774a;function a4_0x378f(){const _0x30d477=['_testEnv','../../helpers/helper','../../helpers/test-observability/utils','TEST_EVENTS','resetSkipTestHooks','getHookType','TEST_RUN_SKIPPED','prototype','SfGEU','config','stop','ZhBBg','cYzBM','currentHook','tbbFS','TestRunSkipped','initializeBddStep','toLowerCase','match','ajmAS','wsEndpoint','215178sWLzCn','sep','expanded','logs','_beforeAll','1402023ZZymiR','patchConsoleLogger','oqFGY','driver','vyiJR','PathHelper','VLSTI','1sofpmE','LDziF','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','concat','8696886BPiNSD','started','JWimy','pending','finished','markedStatus','length','RgaJY','3825BXuGjJ','3008etiTcR','bs:addLog:','connect','captureEvent','YQZbE','EORla','FhICZ','startedAt','ctx','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','enabled','../../helpers/logger','8rUXpgI','split','getInstance','MJWzA','PqDVO','_paths','pid','launch','3467430uieiez','tSRuM','appendTestItemLog','Qajny','constructor','gLlJg','util','backtrace','VVttf','test_run_uuid','STATE_PASSED','fireEvent','feature','hook_run_uuid','VwaOj','ehzDw','ZYvQk','exports','Bzknt','includes','defineProperty','pXpLg','tags','apply','dFOyY','fullTitle','failed','dajTz','stepAnalyticsId','groups','MbLKX','gjdqt','stringify','body','err','ewRDK','File\x20path\x20could\x20not\x20be\x20found','NfKkb','testAnalyticsId','message','wulMB','test_run','jauAu','../../helpers/testhub/utils.js','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','STATE_FAILED','meta','../../helpers/test-observability/sessionHandler','1|4|0|5|3|2','__cloud_provider___','fXfAM','49427352vXSHWS','GlOnL','_afterAll','keyword','join','hook_run','test','../playwright/sessionDetails','connectOverCDP','getCBTInfo','result','9891rhFcXG','zFypi','tOBWJ','title','browserType.js','name','retryOf','prefixTestPath','relative','wnBNo','TEST_RUN_FINISHED','tJWqj','hook','suites','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','TEST_REPORTING_ANALYTICS','event_type','../utils/constants','frameworkName','toString','then','PERPR','PgRjd','skipped','fmMio','file_name','currentTest','\x20with\x20error\x20:\x20','integrations','lib','CODECEPT','success','findGitConfig','browserstack','DrDPN','clKlj','bddStepStart','qAKGm','bddSteps','path','string','foHZB','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','VADVZ','errorsDetailed','duration','GlPEs','XyrRG','vAROs','find','statSync','parent','HOOK_RUN_STARTED','getHooksForTest','../mocha/test-observability/mochaUtils','dirname','FHxsd','RyEWG','PLAYWRIGHT_HUB_URL','debug','failureData','setupBrowserDetails','location_prefix','WpjQJ','QdPuJ','hwpKs','20EScZPs','HookRunStarted','IrTjK','HOOK_RUN_FINISHED','toUpperCase','hook_type','_afterEach','mapTestHooks','O11yHelper','failed\x20to\x20get\x20root\x20parent\x20file\x20','getTime','cwd','passed','Failed\x20to\x20parse\x20wsendpoint\x20','hooks','ilPoB','bddStepFinish','winstonLogger','comment','BROWSERSTACK','push','type','client','Ekrvm','dWaDF','cJMLq','318ikZTCa','uuid','HCPAy','rkPFW','LogCreated','HKZvQ','Playwright','TestRunFinished','../playwright/accessibility-helper','QAVHt','gCVYU','toISOString','.git','TestRunStarted','accessibilityPlatform','getRootParentFile','forEach','FxXcC','hookAnalyticsId','file','nxzKS','failure','FDfrE','Sqjgs','getHierarchy','EIsbu','GAiYG','../../helpers/test-observability/constants','now','uploadEventData','_beforeEach'];a4_0x378f=function(){return _0x30d477;};return a4_0x378f();}
|
|
1
|
+
const a4_0x53f7c2=a4_0x3552;(function(_0x3f5773,_0xbaa2ac){const _0x37783b=a4_0x3552,_0x5a1f25=_0x3f5773();while(!![]){try{const _0xd6e981=parseInt(_0x37783b(0x1fd))/0x1+-parseInt(_0x37783b(0x224))/0x2*(parseInt(_0x37783b(0x264))/0x3)+-parseInt(_0x37783b(0x217))/0x4+parseInt(_0x37783b(0x26c))/0x5*(-parseInt(_0x37783b(0x222))/0x6)+parseInt(_0x37783b(0x279))/0x7+-parseInt(_0x37783b(0x1be))/0x8+-parseInt(_0x37783b(0x21f))/0x9*(-parseInt(_0x37783b(0x23a))/0xa);if(_0xd6e981===_0xbaa2ac)break;else _0x5a1f25['push'](_0x5a1f25['shift']());}catch(_0x3b5c11){_0x5a1f25['push'](_0x5a1f25['shift']());}}}(a4_0x58ae,0x7e762));const path=require(a4_0x53f7c2(0x22c)),fs=require('fs'),{v4:uuidv4}=require(a4_0x53f7c2(0x27e)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x53f7c2(0x1c5)),{getTestEnv}=require(a4_0x53f7c2(0x1ba)),{FRAMEWORKS}=require(a4_0x53f7c2(0x27c)),logger=require(a4_0x53f7c2(0x242))[a4_0x53f7c2(0x221)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x53f7c2(0x24c)),PlaywrightSessionDetails=require(a4_0x53f7c2(0x24d)),debug=testOpsHelper[a4_0x53f7c2(0x23e)],{processAccessibilityCaps}=require(a4_0x53f7c2(0x203)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x53f7c2(0x1cd)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x53f7c2(0x1e7)),constants=require('../utils/constants'),STATE_PASSED='passed',STATE_FAILED=a4_0x53f7c2(0x1a3),a4_0x4d8ed1={};a4_0x4d8ed1[a4_0x53f7c2(0x1cb)]=a4_0x53f7c2(0x263),a4_0x4d8ed1['TEST_RUN_FINISHED']='TestRunFinished',a4_0x4d8ed1[a4_0x53f7c2(0x284)]=a4_0x53f7c2(0x220),a4_0x4d8ed1[a4_0x53f7c2(0x28f)]=a4_0x53f7c2(0x259),a4_0x4d8ed1[a4_0x53f7c2(0x1fb)]='HookRunFinished';const TEST_EVENTS=a4_0x4d8ed1,parseEvent=_0x3645a0=>{const _0x3b7227=a4_0x53f7c2,_0xbc5a19={};_0xbc5a19[_0x3b7227(0x207)]=function(_0x43cef8,_0x184e96){return _0x43cef8<_0x184e96;},_0xbc5a19[_0x3b7227(0x24e)]=function(_0x469da8,_0x5b7772){return _0x469da8===_0x5b7772;},_0xbc5a19[_0x3b7227(0x226)]=_0x3b7227(0x1f8),_0xbc5a19[_0x3b7227(0x1c1)]=_0x3b7227(0x1b3),_0xbc5a19[_0x3b7227(0x1f4)]='skipped',_0xbc5a19[_0x3b7227(0x240)]=_0x3b7227(0x1ff),_0xbc5a19['RGDLK']=_0x3b7227(0x268);const _0x4d1150=_0xbc5a19,_0x18253f=_0x3645a0['match'](/^(.*)Run(.*)$/);if(!_0x18253f)return null;if(_0x4d1150['gNKts'](_0x18253f['length'],0x3))return null;const _0x369758=_0x18253f[0x1][_0x3b7227(0x278)](),_0x963651=_0x18253f[0x2][_0x3b7227(0x278)]();return{'test':_0x4d1150[_0x3b7227(0x24e)](_0x369758,_0x4d1150[_0x3b7227(0x226)]),'hook':_0x4d1150[_0x3b7227(0x24e)](_0x369758,_0x4d1150[_0x3b7227(0x1c1)]),'skipped':_0x4d1150[_0x3b7227(0x24e)](_0x963651,_0x4d1150['DnsvX']),'started':_0x4d1150[_0x3b7227(0x24e)](_0x963651,_0x4d1150[_0x3b7227(0x240)]),'finished':_0x4d1150[_0x3b7227(0x24e)](_0x963651,_0x4d1150['RGDLK'])};},mockPWBrowserType=_0xfa6781=>{const _0x29cde5=a4_0x53f7c2,_0x28a82d={'ylDvV':function(_0x4cad6a,_0xd534c2){return _0x4cad6a===_0xd534c2;},'Lxfrk':'string','htjiY':function(_0x3960ef,_0x321003,_0x43a55f){return _0x3960ef(_0x321003,_0x43a55f);},'yveRN':_0x29cde5(0x24b),'xXiKj':function(_0x341785,_0x3002b9){return _0x341785(_0x3002b9);},'PnQgo':_0x29cde5(0x201),'IQTWc':function(_0x384215,_0x5e27f0,_0x5c30a0){return _0x384215(_0x5e27f0,_0x5c30a0);},'mISXm':_0x29cde5(0x1f0),'bMMnp':_0x29cde5(0x1ae),'joqbG':_0x29cde5(0x1c9),'SrlJJ':function(_0x1430d0,_0x3eee5d){return _0x1430d0(_0x3eee5d);},'HuBNJ':_0x29cde5(0x265),'ltUTP':_0x29cde5(0x1d4),'XDXYL':_0x29cde5(0x208)},_0x1ef9fd=path['join'](_0x28a82d[_0x29cde5(0x254)],_0x28a82d[_0x29cde5(0x211)],_0x28a82d[_0x29cde5(0x22b)]),_0x494dd0=_0x28a82d[_0x29cde5(0x200)](importFileFromPWCore,_0x1ef9fd);if(!_0x494dd0){_0x28a82d[_0x29cde5(0x1c0)](debug,_0x28a82d[_0x29cde5(0x27b)]);return;}const _0x54d16d=_0x494dd0['BrowserType'],_0x58b854=_0x54d16d[_0x29cde5(0x260)];if(_0x58b854['obsBrowserTypeMockApplied'])return;const _0x54c694=_0x58b854[_0x29cde5(0x1d4)];Object[_0x29cde5(0x20f)](_0x58b854,_0x28a82d[_0x29cde5(0x1b2)],{'get':function(){return async function _0x503a4b(_0x3421a9,_0x255308){const _0x392069=a4_0x3552,_0x5177e2={'nfWoT':function(_0x455e89,_0x2fc19c){const _0x197336=a4_0x3552;return _0x28a82d[_0x197336(0x292)](_0x455e89,_0x2fc19c);},'uAjhU':_0x28a82d[_0x392069(0x213)]},_0x48a4f8=_0x28a82d[_0x392069(0x1b0)](nestedKeyValue,_0x3421a9,[_0x28a82d[_0x392069(0x205)]])||_0x3421a9;let _0x401fbd=null,_0x188517=null;try{[_0x188517,_0x401fbd]=_0x48a4f8?_0x28a82d[_0x392069(0x200)](parseWSEndpoint,_0x48a4f8):[null,null],global[_0x392069(0x1cf)]=_0x401fbd,logger['debug'](_0x392069(0x26b)+_0x188517),_0x188517[_0x392069(0x216)](Constants['BROWSERSTACK'])&&(global[_0x392069(0x1bf)]=_0x28a82d[_0x392069(0x236)]);}catch(_0x5dd3a2){logger[_0x392069(0x23e)](_0x392069(0x1d0)+_0x48a4f8+'\x20'+_0x5dd3a2);}_0x28a82d[_0x392069(0x1ea)](processAccessibilityCaps,_0x401fbd,_0x188517);if(global[_0x392069(0x24a)]){const _0x4087e7=await _0x58b854[_0x392069(0x24f)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x28a82d[_0x392069(0x200)](encodeURIComponent,JSON[_0x392069(0x1a8)](_0x401fbd))]);return PlaywrightSessionDetails[_0x392069(0x1d9)](_0x4087e7,_0xfa6781,_0x48a4f8),_0x4087e7;}return _0x54c694[_0x392069(0x1f2)](this,arguments)['then'](_0xbf96ea=>{const _0x4af7b1=_0x392069;let _0x589c1f=_0x3421a9[_0x4af7b1(0x24b)];return _0x5177e2[_0x4af7b1(0x1e2)](typeof _0x3421a9,_0x5177e2[_0x4af7b1(0x1c2)])&&(_0x589c1f=_0x3421a9),PlaywrightSessionDetails[_0x4af7b1(0x1d9)](_0xbf96ea,_0xfa6781,_0x589c1f),_0xbf96ea;});};}});const _0x4cdcf5=_0x58b854[_0x29cde5(0x208)];Object[_0x29cde5(0x20f)](_0x58b854,_0x28a82d[_0x29cde5(0x250)],{'get':function(){return async function _0x5640eb(){const _0x197638=a4_0x3552;return _0x4cdcf5[_0x197638(0x1f2)](this,arguments)[_0x197638(0x202)](_0x2d2327=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x2d2327,null),_0x2d2327;});};}});};function a4_0x58ae(){const _0x11a30d=['TestRunSkipped','winstonLogger','4492494jyTtnB','start','288nWEItu','failed\x20to\x20get\x20root\x20parent\x20file\x20','GXVTH','fullTitle','NcBUu','UviMl','comment','joqbG','path','NqlnG','jYHvx','statSync','retryOf','iczOG','LfAAG','getCBTInfo','BMJNp','forEach','PnQgo','file','nhnMX','LLvfF','193610BUwXCm','markedStatus','initializeBddStep','removeAllListeners','debug','HqmNy','uFlUs','_beforeAll','../../helpers/logger','expanded','findGitConfig','cWIeg','YJsHM','O11yHelper','concat','pid','accessibilityPlatform','wsEndpoint','../../helpers/test-observability/requestQueueHandler','../playwright/sessionDetails','zyomR','connectOverCDP','XDXYL','mapTestHooks','body','VhYZw','mISXm','OyXyC','CODECEPT','test_run','FYjhX','HookRunStarted','finished_at','hook_type','enabled','inspect','SsAYW','appendTestItemLog','prototype','oCHUP','getHooksForTest','TestRunStarted','17406NPkHbG','Not\x20able\x20to\x20import\x20Browser','codeceptjs','join','finished','resetSkipTestHooks','bddStepStart','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','5QsWrzh','tLKAQ','bfTqj','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','hooks','HkOUF','tfxZq','backtrace','bddStepFinish','qtHUE','type','keyword','toLowerCase','1500268vgciJl','constructor','HuBNJ','../../helpers/test-observability/constants','ctx','uuid','sep','QeZVX','testAnalyticsId','duration','bind','TEST_RUN_SKIPPED','TEST_REPORTING_ANALYTICS','config','_afterEach','sendCBTInfo','STATE_PASSED','shutdown','Spskr','captureEvent','driver','Playwright','HOOK_RUN_STARTED','integrations','toISOString','ylDvV','status','_testEnv','DtBSA','QaIrp','hook_run','suites','XxtjP','hookAnalyticsId','getTime','failed','hook_run_uuid','cbKAc','passed','getFailureType','stringify','exports','NRUyr','uploadEventData','skipped','pKbLe','client','getRootParentFile','htjiY','parent','ltUTP','hook','IaTQQ','TTHkS','message','title','2|0|3|5|4|1','stepAnalyticsId','../mocha/test-observability/mochaUtils','stop','bddSteps','bs:addLog:','471688hGTmHu','__cloud_provider___','SrlJJ','ywWFl','uAjhU','toUpperCase','nZdBp','../../helpers/test-observability/utils','result','mDypO','prefixTestPath','browserType.js','find','TEST_RUN_STARTED','yNDRp','./helper.js','getInstance','__platformCaps','Failed\x20to\x20parse\x20wsendpoint\x20','_beforeEach','TEST_EVENTS','now','connect','_afterAll','BdUdi','test_run_uuid','getHookType','setupBrowserDetails','currentTest','zxskm','JCLjR','fireEvent','failure','patchConsoleLogger','mwtLj','currentHook','nfWoT','split','gJDJq','upvtv','KDmeh','../../helpers/testhub/utils.js','event_type','\x20with\x20error\x20:\x20','IQTWc','toString','ZZtRF','PoKVr','file_name','ngHrD','lib','XPEph','apply','qcSRw','DnsvX','groups','vesDa','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','test','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','tags','HOOK_RUN_FINISHED','File\x20path\x20could\x20not\x20be\x20found','329865fIRODa','puzBV','started','xXiKj','browserstack','then','../playwright/accessibility-helper','getHierarchy','yveRN','errorsDetailed','gNKts','launch','location_prefix','PathHelper','dirname','_paths','match','.git','defineProperty','XTIPT','bMMnp','err','Lxfrk','push','BChus','includes','4141848Yvsfcp','name','startedAt','frameworkName','length','pending','OLCws','NVZXT','1233UtNgAv'];a4_0x58ae=function(){return _0x11a30d;};return a4_0x58ae();}class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0x53f7c2(0x25c)]=![];[a4_0x53f7c2(0x21a)]=![];constructor(_0x4020c9,_0x40f5af){const _0x2de0ad=a4_0x53f7c2,_0x2cc13c={'Spskr':_0x2de0ad(0x1b8),'RchEC':function(_0x131e46,_0x58af08){return _0x131e46===_0x58af08;},'NqlnG':_0x2de0ad(0x28e),'oCHUP':function(_0xf3c109,_0x54d1ef){return _0xf3c109(_0x54d1ef);},'vesDa':function(_0x59c2b1){return _0x59c2b1();},'qcSRw':function(_0x304768){return _0x304768();}},_0x41c9f1=_0x2cc13c[_0x2de0ad(0x28b)][_0x2de0ad(0x1e3)]('|');let _0x4f422a=0x0;while(!![]){switch(_0x41c9f1[_0x4f422a++]){case'0':this['frameworkName']=_0x40f5af[_0x2de0ad(0x21a)];continue;case'1':this['driver']&&_0x2cc13c['RchEC'](this[_0x2de0ad(0x28d)][_0x2de0ad(0x27a)]['name'],_0x2cc13c[_0x2de0ad(0x22d)])&&_0x2cc13c[_0x2de0ad(0x261)](mockPWBrowserType,null);continue;case'2':this[_0x2de0ad(0x25c)]=_0x2cc13c[_0x2de0ad(0x1f6)](shouldProcessEventForTesthub);continue;case'3':this['driver']=_0x4020c9;continue;case'4':this['_paths']=new testOpsHelper[(_0x2de0ad(0x20a))]({'cwd':process['cwd']()},this[_0x2de0ad(0x294)][_0x2de0ad(0x209)]);continue;case'5':this[_0x2de0ad(0x294)]=_0x2cc13c[_0x2de0ad(0x1f3)](getTestEnv);continue;}break;}}[a4_0x53f7c2(0x223)](){const _0x2ce0ef=a4_0x53f7c2;if(!this[_0x2ce0ef(0x25c)])return;testOpsHelper[_0x2ce0ef(0x1df)](),process[_0x2ce0ef(0x23d)](_0x2ce0ef(0x1bd)+process['pid']),process['on'](_0x2ce0ef(0x1bd)+process[_0x2ce0ef(0x249)],this[_0x2ce0ef(0x25f)][_0x2ce0ef(0x283)](this));}async[a4_0x53f7c2(0x1bb)](){const _0x368188=a4_0x53f7c2;await RequestQueueHandler[_0x368188(0x1ce)]()[_0x368188(0x28a)]();}async[a4_0x53f7c2(0x25f)](_0x4347cb){const _0x329752=a4_0x53f7c2,_0x2fab91={'iczOG':'LogCreated','CIXYX':function(_0x33c320,_0xa97a5a){return _0x33c320(_0xa97a5a);}};try{this[_0x329752(0x1e1)]&&!this[_0x329752(0x1e1)][_0x329752(0x23b)]&&(_0x4347cb[_0x329752(0x1a4)]=this[_0x329752(0x1e1)][_0x329752(0x1a1)]);!_0x4347cb[_0x329752(0x1a4)]&&this[_0x329752(0x1da)]&&!this[_0x329752(0x1da)][_0x329752(0x23b)]&&(_0x4347cb[_0x329752(0x1d7)]=this[_0x329752(0x1da)][_0x329752(0x281)]);if(_0x4347cb[_0x329752(0x1a4)]||_0x4347cb[_0x329752(0x1d7)]){const _0x4868ed={};_0x4868ed[_0x329752(0x1e8)]=_0x2fab91[_0x329752(0x231)],_0x4868ed['logs']=[_0x4347cb],await SessionHandler[_0x329752(0x1ab)](_0x4868ed);}}catch(_0x4d6f6a){_0x2fab91['CIXYX'](debug,_0x329752(0x1f9)+constants[_0x329752(0x285)]+_0x329752(0x1e9)+_0x4d6f6a);}}async[a4_0x53f7c2(0x288)](_0x38feee){const _0x3591a4=a4_0x53f7c2,_0x37e89d={'icNKh':'CBTSessionCreated','XPEph':function(_0x4fcce2,_0x151b59){return _0x4fcce2(_0x151b59);}};if(!this[_0x3591a4(0x25c)])return;const _0x20981c=this[_0x3591a4(0x233)](this[_0x3591a4(0x28d)]);try{const _0x1dc741={};_0x1dc741[_0x3591a4(0x27e)]=_0x38feee,_0x1dc741[_0x3591a4(0x290)]=_0x20981c;const _0x44890a=_0x1dc741,_0x1ae840={};_0x1ae840[_0x3591a4(0x1e8)]=_0x37e89d['icNKh'],_0x1ae840[_0x3591a4(0x257)]=_0x44890a,await SessionHandler[_0x3591a4(0x1ab)](_0x1ae840);}catch(_0x145e5f){_0x37e89d[_0x3591a4(0x1f1)](debug,_0x3591a4(0x26f)+constants[_0x3591a4(0x285)]+_0x3591a4(0x1e9)+_0x145e5f);}}[a4_0x53f7c2(0x233)](_0x41ee79){const _0x4f6511=a4_0x53f7c2,_0x2bb3f4={'UviMl':function(_0x38930d,_0x2cafcf){return _0x38930d(_0x2cafcf);}};return _0x2bb3f4[_0x4f6511(0x229)](fetchPlatformDetails,_0x41ee79);}['resetSkipTestHooks']=_0x23a6b8=>{const _0xa34afa=a4_0x53f7c2,_0x5a853e={};_0x5a853e[_0xa34afa(0x228)]=_0xa34afa(0x1d1),_0x5a853e[_0xa34afa(0x1fe)]=_0xa34afa(0x287);const _0x246d3e=_0x5a853e;if(!_0x23a6b8||!_0x23a6b8[_0xa34afa(0x1b1)])return;[_0x246d3e[_0xa34afa(0x228)],_0x246d3e[_0xa34afa(0x1fe)]][_0xa34afa(0x235)](_0x559d58=>{const _0x2c4b8b=_0xa34afa,_0x13e9b4=_0x23a6b8[_0x2c4b8b(0x1b1)][_0x559d58];_0x13e9b4[_0x2c4b8b(0x235)](_0x230eab=>{const _0x52b5f2=_0x2c4b8b;_0x230eab[_0x52b5f2(0x1a1)]&&(_0x230eab[_0x52b5f2(0x1a1)]=null);});});};[a4_0x53f7c2(0x251)](_0x184665){const _0x47ef01=a4_0x53f7c2,_0x2bf8c0={'KDmeh':_0x47ef01(0x266),'ZZtRF':function(_0x422516){return _0x422516();},'upvtv':function(_0x26b727,_0x402965){return _0x26b727===_0x402965;},'LfAAG':_0x47ef01(0x287),'tfxZq':function(_0x3bc0a8){return _0x3bc0a8();},'nhnMX':'_beforeAll','OyXyC':_0x47ef01(0x1d5),'zxskm':'_beforeEach'};if(!_0x184665||!_0x184665[_0x47ef01(0x1b1)])return;[_0x2bf8c0[_0x47ef01(0x238)],_0x2bf8c0[_0x47ef01(0x255)],_0x2bf8c0[_0x47ef01(0x1db)],_0x2bf8c0[_0x47ef01(0x232)]][_0x47ef01(0x235)](_0x374bfd=>{const _0x42f970=_0x47ef01,_0xb0a0d5=_0x184665['parent'][_0x374bfd]||[];_0xb0a0d5[_0x42f970(0x235)](_0x301cd2=>{const _0x453142=_0x42f970;if(_0x301cd2['title'][_0x453142(0x216)](_0x2bf8c0[_0x453142(0x1e6)]))return;if(!_0x301cd2[_0x453142(0x1a1)])_0x301cd2[_0x453142(0x1a1)]=_0x2bf8c0[_0x453142(0x1ec)](uuidv4);else _0x301cd2[_0x453142(0x23b)]&&_0x2bf8c0[_0x453142(0x1e5)](_0x374bfd,_0x2bf8c0['LfAAG'])&&(_0x301cd2[_0x453142(0x1a1)]=_0x2bf8c0[_0x453142(0x272)](uuidv4),delete _0x301cd2[_0x453142(0x23b)]);});}),this['mapTestHooks'](_0x184665[_0x47ef01(0x1b1)]);}[a4_0x53f7c2(0x262)](_0x599057){const _0x34d74b=a4_0x53f7c2,_0x26761f={};_0x26761f[_0x34d74b(0x1aa)]=_0x34d74b(0x241),_0x26761f[_0x34d74b(0x21d)]=_0x34d74b(0x1d5),_0x26761f[_0x34d74b(0x246)]=_0x34d74b(0x1d1),_0x26761f[_0x34d74b(0x296)]=_0x34d74b(0x287);const _0x564a49=_0x26761f;if(!_0x599057||!_0x599057[_0x34d74b(0x1b1)])return[];const _0x2085b6=[];return[_0x564a49[_0x34d74b(0x1aa)],_0x564a49['OLCws'],_0x564a49['YJsHM'],_0x564a49[_0x34d74b(0x296)]][_0x34d74b(0x235)](_0x3b7e58=>{const _0x2a5554=_0x34d74b,_0x2ddacd=_0x599057[_0x2a5554(0x1b1)][_0x3b7e58]||[];_0x2ddacd[_0x2a5554(0x235)](_0x1ee9dd=>{const _0x4874d6=_0x2a5554;_0x1ee9dd[_0x4874d6(0x1a1)]&&_0x2085b6[_0x4874d6(0x214)](_0x1ee9dd[_0x4874d6(0x1a1)]);});}),[][_0x34d74b(0x248)](_0x2085b6,this['getHooksForTest'](_0x599057[_0x34d74b(0x1b1)]));}['getHookType'](_0x5149b4){const _0x4b99c2=a4_0x53f7c2,_0x5b53d3=/^"(?<hook>.*)" hook:.*$/,_0x147cbb=_0x5149b4[_0x4b99c2(0x1b7)],_0x37df16=_0x147cbb['match'](_0x5b53d3);if(_0x37df16&&_0x37df16['groups'])return _0x37df16[_0x4b99c2(0x1f5)][_0x4b99c2(0x1b3)][_0x4b99c2(0x1c3)]()['replace']('\x20','_');return null;}[a4_0x53f7c2(0x244)](_0x4ee720){const _0xf22b1a=a4_0x53f7c2,_0x54a324={};_0x54a324[_0xf22b1a(0x1ef)]=function(_0x1459d7,_0x3ec07){return _0x1459d7===_0x3ec07;},_0x54a324[_0xf22b1a(0x280)]=function(_0x12c355,_0x2f1c75){return _0x12c355===_0x2f1c75;},_0x54a324[_0xf22b1a(0x1b5)]=_0xf22b1a(0x20e),_0x54a324[_0xf22b1a(0x1d6)]=_0xf22b1a(0x286);const _0x2e063d=_0x54a324,_0x5f5ddc=path[_0xf22b1a(0x27f)];if(_0x2e063d[_0xf22b1a(0x1ef)](_0x4ee720,null)||_0x2e063d['QeZVX'](_0x4ee720,'')||_0x2e063d[_0xf22b1a(0x280)](_0x4ee720,_0x5f5ddc)||_0x2e063d[_0xf22b1a(0x1ef)](_0x4ee720,path[_0xf22b1a(0x20b)](_0x4ee720)))return null;try{return fs[_0xf22b1a(0x22f)](path[_0xf22b1a(0x267)](_0x4ee720,_0x2e063d[_0xf22b1a(0x1b5)],_0x2e063d[_0xf22b1a(0x1d6)])),_0x4ee720;}catch(_0x491cc4){const _0x1a1f14=path[_0xf22b1a(0x20b)](_0x4ee720);return this['findGitConfig'](_0x1a1f14);}}[a4_0x53f7c2(0x1af)](_0xaf927c){const _0x472310=a4_0x53f7c2,_0x3add72={};_0x3add72[_0x472310(0x1a5)]=function(_0x51b1d1,_0x27a491){return _0x51b1d1>_0x27a491;};const _0x4bdfb1=_0x3add72;if(_0xaf927c[_0x472310(0x237)])return _0xaf927c['file'];if(_0xaf927c[_0x472310(0x27d)]){const _0x2a88be=_0xaf927c[_0x472310(0x27d)][_0x472310(0x1da)]?this[_0x472310(0x1af)](_0xaf927c[_0x472310(0x27d)][_0x472310(0x1da)]):null;if(_0x2a88be)return _0x2a88be;}if(_0xaf927c[_0x472310(0x1b1)]){const _0xb6ab53=this[_0x472310(0x1af)](_0xaf927c['parent'])||(_0xaf927c[_0x472310(0x1b1)]['ctx']&&_0xaf927c[_0x472310(0x1b1)][_0x472310(0x27d)]['currentTest']?this[_0x472310(0x1af)](_0xaf927c[_0x472310(0x1b1)]['ctx'][_0x472310(0x1da)]):null);if(_0xb6ab53)return _0xb6ab53;_0xaf927c[_0x472310(0x1b1)][_0x472310(0x19f)]&&_0x4bdfb1[_0x472310(0x1a5)](_0xaf927c['parent'][_0x472310(0x19f)][_0x472310(0x21b)],0x0)&&_0xaf927c[_0x472310(0x1b1)][_0x472310(0x19f)][_0x472310(0x235)](_0x2d34c5=>{const _0x5ded25=_0x472310,_0xd2b178=_0x2d34c5[_0x5ded25(0x27d)]?this[_0x5ded25(0x1af)](_0x2d34c5[_0x5ded25(0x27d)]):null;if(_0xd2b178)return _0xd2b178;});}return null;}[a4_0x53f7c2(0x204)](_0xc8ceec){const _0x52cce8=a4_0x53f7c2,_0x489018={};_0x489018[_0x52cce8(0x1e0)]=function(_0x33cf62,_0x6d5251){return _0x33cf62!==_0x6d5251;};const _0xc5524f=_0x489018,_0x3ee72b=[];if(_0xc8ceec&&_0xc8ceec[_0x52cce8(0x1b1)]){let _0x23a9ce=_0xc8ceec[_0x52cce8(0x1b1)];while(_0x23a9ce&&_0xc5524f['mwtLj'](_0x23a9ce['title'],'')){_0x3ee72b['push'](_0x23a9ce[_0x52cce8(0x1b7)]),_0x23a9ce=_0x23a9ce[_0x52cce8(0x1b1)];}}return _0x3ee72b;}[a4_0x53f7c2(0x28c)](_0x5cca36,_0x47e125,_0x5126d0=undefined){const _0x376ffb=a4_0x53f7c2,_0x33ad2f={'bfTqj':function(_0x26b72d,_0xfb23dc){return _0x26b72d(_0xfb23dc);},'acfrJ':function(_0x1d0191){return _0x1d0191();},'tLKAQ':function(_0x4e1610){return _0x4e1610();},'eOwYh':function(_0x5c48d6){return _0x5c48d6();},'bKnmj':'util','nZdBp':_0x376ffb(0x212),'HqmNy':function(_0x2ea32f,_0x1c68e9){return _0x2ea32f!==_0x1c68e9;},'cEwBo':_0x376ffb(0x1fc),'IaTQQ':_0x376ffb(0x21c),'gJDJq':_0x376ffb(0x1a3),'qtHUE':_0x376ffb(0x1a6),'JCLjR':_0x376ffb(0x1ac),'jYHvx':'javascript','XxtjP':function(_0x4bdc39,_0x198c43){return _0x4bdc39-_0x198c43;},'JzZme':function(_0x163f02,_0x49d7dd,_0x40d96e,_0x24e2c2,_0x1b31cc){return _0x163f02(_0x49d7dd,_0x40d96e,_0x24e2c2,_0x1b31cc);},'NVZXT':function(_0x3d8d6e,_0x43bbb5){return _0x3d8d6e!==_0x43bbb5;},'BMJNp':'integrations','mDypO':'meta','OVWCw':'failure','yNDRp':'failure_backtrace','DtBSA':_0x376ffb(0x273),'pKbLe':'failure_reason_expanded','PoKVr':_0x376ffb(0x243),'LLvfF':function(_0x3f8ac9,_0x3c76fc){return _0x3f8ac9===_0x3c76fc;},'BChus':_0x376ffb(0x297),'cWIeg':_0x376ffb(0x257)};if(!this['enabled'])return;try{if(_0x47e125['fn']&&_0x47e125['fn'][_0x376ffb(0x1eb)]()[_0x376ffb(0x20d)](/browserstack internal helper hook/))return;const _0x150dd7=_0x33ad2f[_0x376ffb(0x26e)](parseEvent,_0x5cca36);if(!_0x150dd7)return;if(_0x150dd7[_0x376ffb(0x1f8)]){this[_0x376ffb(0x1da)]=_0x47e125,this[_0x376ffb(0x1e1)]=null;if(_0x150dd7[_0x376ffb(0x1ff)]||_0x150dd7[_0x376ffb(0x1ac)]){_0x47e125[_0x376ffb(0x219)]=new Date(),_0x47e125[_0x376ffb(0x23b)]=![];if(!_0x47e125['testAnalyticsId'])_0x47e125['testAnalyticsId']=_0x33ad2f['acfrJ'](uuidv4);else _0x47e125[_0x376ffb(0x23b)]&&(!_0x47e125[_0x376ffb(0x230)]&&(_0x47e125[_0x376ffb(0x230)]=_0x47e125[_0x376ffb(0x281)]),_0x47e125[_0x376ffb(0x281)]=_0x33ad2f[_0x376ffb(0x26d)](uuidv4));}}else{if(_0x150dd7[_0x376ffb(0x1b3)]){this[_0x376ffb(0x1e1)]=_0x47e125;if(_0x150dd7[_0x376ffb(0x1ff)]){_0x47e125[_0x376ffb(0x219)]=new Date(),_0x47e125[_0x376ffb(0x23b)]=![];if(!_0x47e125[_0x376ffb(0x1a1)])_0x47e125['hookAnalyticsId']=_0x33ad2f['acfrJ'](uuidv4);else _0x47e125[_0x376ffb(0x1a1)]&&_0x47e125[_0x376ffb(0x23b)]&&(_0x47e125[_0x376ffb(0x1a1)]=_0x33ad2f['eOwYh'](uuidv4));}}}if(_0x150dd7[_0x376ffb(0x268)]&&_0x47e125[_0x376ffb(0x23b)])return;let _0xf21469;try{_0xf21469=this['getRootParentFile'](_0x47e125);}catch(_0x1e564d){logger[_0x376ffb(0x23e)](_0x376ffb(0x225)+_0x1e564d),_0xf21469=null;}const _0x18fcbf=_0x33ad2f[_0x376ffb(0x26e)](require,_0x33ad2f['bKnmj']);let _0x49ec90=[];_0x5126d0&&(_0x49ec90=[_0x5126d0,_0x33ad2f[_0x376ffb(0x1c4)]]);const _0x19fd85=_0x33ad2f[_0x376ffb(0x23f)](_0x47e125[_0x376ffb(0x206)],undefined)?_0x18fcbf[_0x376ffb(0x25d)](_0x47e125[_0x376ffb(0x206)][0x0]):_0x33ad2f['HqmNy'](_0x5126d0,undefined)?_0x5126d0['toString']():undefined,_0x1aebb2=_0xf21469?this[_0x376ffb(0x244)](_0xf21469):null,_0xc0714c=_0xf21469?this[_0x376ffb(0x20c)][_0x376ffb(0x1c8)](this['getRootParentFile'](_0x47e125)):_0x33ad2f['cEwBo'];let _0x4cb8b6=_0x33ad2f[_0x376ffb(0x1b4)];const _0x43edb4=!_0x150dd7[_0x376ffb(0x1ff)]?new Date()[_0x376ffb(0x291)]():null;if(_0x150dd7[_0x376ffb(0x268)])_0x4cb8b6=_0x5126d0?_0x33ad2f[_0x376ffb(0x1e4)]:_0x33ad2f[_0x376ffb(0x275)],_0x47e125[_0x376ffb(0x23b)]=!![];else _0x150dd7[_0x376ffb(0x1ac)]&&(_0x4cb8b6=_0x33ad2f[_0x376ffb(0x1dc)],_0x47e125[_0x376ffb(0x23b)]=!![]);const _0x1582f8={'framework':this[_0x376ffb(0x21a)],'uuid':_0x47e125[_0x376ffb(0x281)]||_0x47e125['hookAnalyticsId'],'name':_0x47e125[_0x376ffb(0x1b7)],'body':{'lang':_0x33ad2f[_0x376ffb(0x22e)],'code':_0x47e125[_0x376ffb(0x252)][_0x376ffb(0x1eb)]()},'type':_0x47e125[_0x376ffb(0x276)],'scope':_0x47e125[_0x376ffb(0x227)](),'scopes':this['getHierarchy'](_0x47e125),'file_name':_0xc0714c,'vc_filepath':_0x1aebb2?path['relative'](_0x1aebb2,_0xf21469):null,'location':_0xc0714c,'result':_0x4cb8b6,'failure_reason':_0x19fd85,'duration_in_ms':_0x47e125[_0x376ffb(0x282)]||(_0x150dd7[_0x376ffb(0x268)]||_0x150dd7['skipped'])?_0x33ad2f[_0x376ffb(0x1a0)](Date[_0x376ffb(0x1d3)](),new Date(_0x47e125[_0x376ffb(0x219)])['getTime']()):null,'started_at':new Date(_0x47e125['startedAt'])[_0x376ffb(0x291)](),'finished_at':_0x43edb4,'failure':testOpsHelper['failureData'][_0x376ffb(0x1f2)](null,_0x49ec90),'failure_type':!_0x19fd85?null:testOpsHelper[_0x376ffb(0x1a7)](_0x19fd85),'retry_of':_0x47e125[_0x376ffb(0x230)]||null,'tags':_0x47e125[_0x376ffb(0x1fa)]||[],'customRerunParam':{'rerun_name':_0x47e125['fullTitle']()}};_0x33ad2f['JzZme'](appendTesthubParams,_0x1582f8,_0x5cca36,_0x47e125,FRAMEWORKS[_0x376ffb(0x256)]);if(_0x150dd7[_0x376ffb(0x1b3)])[_0x1582f8[_0x376ffb(0x25b)],_0x1582f8['name']]=[this[_0x376ffb(0x1d8)](_0x47e125),_0x47e125[_0x376ffb(0x27d)][_0x376ffb(0x1f8)][_0x376ffb(0x1b7)]],_0x150dd7[_0x376ffb(0x268)]?_0x33ad2f[_0x376ffb(0x21e)](_0x1582f8[_0x376ffb(0x1c6)],_0x33ad2f[_0x376ffb(0x1e4)])&&(_0x1582f8['result']=_0x33ad2f[_0x376ffb(0x275)]):_0x1582f8[_0x376ffb(0x252)]={};else _0x150dd7['test']&&(this['mapTestHooks'](_0x47e125),_0x150dd7['skipped']&&this[_0x376ffb(0x269)](_0x47e125),(_0x150dd7['finished']||_0x150dd7[_0x376ffb(0x1ac)])&&(_0x1582f8[_0x376ffb(0x270)]=this[_0x376ffb(0x262)](_0x47e125)));this[_0x376ffb(0x28d)]&&(_0x150dd7['started']||_0x150dd7[_0x376ffb(0x1ac)])&&(_0x1582f8[_0x33ad2f[_0x376ffb(0x234)]]=this[_0x376ffb(0x233)](this[_0x376ffb(0x28d)]));_0x150dd7[_0x376ffb(0x1f8)]&&_0x150dd7[_0x376ffb(0x268)]&&_0x47e125[_0x376ffb(0x1bc)]&&(_0x1582f8[_0x33ad2f[_0x376ffb(0x1c7)]]={'feature':{'name':_0x47e125[_0x376ffb(0x1b1)]['feature'][_0x376ffb(0x218)],'path':_0x1582f8[_0x376ffb(0x1ee)],'description':_0x47e125[_0x376ffb(0x1b1)][_0x376ffb(0x22a)]},'scenario':{'name':_0x47e125[_0x376ffb(0x1b7)]},'steps':_0x47e125['bddSteps']});const _0x587a16=_0x1582f8[_0x33ad2f['OVWCw']][0x0];_0x587a16&&(_0x1582f8[_0x33ad2f[_0x376ffb(0x1cc)]]=_0x587a16[_0x33ad2f[_0x376ffb(0x295)]],_0x1582f8[_0x33ad2f[_0x376ffb(0x1ad)]]=_0x587a16[_0x33ad2f[_0x376ffb(0x1ed)]]);if(_0x47e125[_0x376ffb(0x1bc)])for(const _0x573c85 of _0x47e125[_0x376ffb(0x1bc)]){!_0x573c85[_0x376ffb(0x25a)]&&(_0x573c85[_0x376ffb(0x25a)]=new Date()['toISOString'](),_0x33ad2f[_0x376ffb(0x239)](_0x573c85[_0x376ffb(0x1c6)],_0x33ad2f[_0x376ffb(0x1b4)])&&(_0x587a16?(_0x573c85['result']=_0x33ad2f[_0x376ffb(0x1e4)],_0x573c85[_0x376ffb(0x1de)]=_0x587a16[_0x33ad2f[_0x376ffb(0x295)]][0x0]):_0x573c85[_0x376ffb(0x1c6)]=_0x33ad2f[_0x376ffb(0x275)]));}const _0x22fb7c={};_0x22fb7c['event_type']=_0x150dd7[_0x376ffb(0x1ac)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x5cca36;const _0x4efaf1=_0x22fb7c;return _0x150dd7[_0x376ffb(0x1b3)]?_0x4efaf1[_0x33ad2f[_0x376ffb(0x215)]]=_0x1582f8:_0x4efaf1[_0x33ad2f[_0x376ffb(0x245)]]=_0x1582f8,_0x4efaf1;}catch(_0x402d4d){logger[_0x376ffb(0x23e)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5cca36+_0x376ffb(0x1e9)+_0x402d4d);}}async[a4_0x53f7c2(0x1dd)](_0xbc0e85,_0x595a72){const _0x1fc240=a4_0x53f7c2;if(!this[_0x1fc240(0x25c)]||!_0x595a72||!_0xbc0e85)return![];try{return await SessionHandler[_0x1fc240(0x1ab)](_0x595a72);}catch(_0x292915){logger['debug'](_0x1fc240(0x1f7)+_0xbc0e85+'\x20with\x20error\x20:\x20'+_0x292915);}}[a4_0x53f7c2(0x23c)](_0x3b50d9){const _0x2cec19=a4_0x53f7c2,_0x2f1ce7={};_0x2f1ce7['VhYZw']=_0x2cec19(0x21c);const _0x1fc309=_0x2f1ce7;return{'id':_0x3b50d9[_0x2cec19(0x1b9)],'text':_0x3b50d9['text'],'keyword':_0x3b50d9[_0x2cec19(0x277)],'started_at':_0x3b50d9[_0x2cec19(0x219)][_0x2cec19(0x291)](),'result':_0x1fc309[_0x2cec19(0x253)]};}[a4_0x53f7c2(0x26a)](_0x3d08f1){const _0x3f39cf=a4_0x53f7c2,_0xc03396={'HkOUF':function(_0x466ea1){return _0x466ea1();}};!this[_0x3f39cf(0x1da)][_0x3f39cf(0x1bc)]&&(this[_0x3f39cf(0x1da)]['bddSteps']=[]),!_0x3d08f1['stepAnalyticsId']&&(_0x3d08f1[_0x3f39cf(0x1b9)]=_0xc03396[_0x3f39cf(0x271)](uuidv4),_0x3d08f1[_0x3f39cf(0x219)]=new Date(),this[_0x3f39cf(0x1da)][_0x3f39cf(0x1bc)][_0x3f39cf(0x214)](this[_0x3f39cf(0x23c)](_0x3d08f1)));}[a4_0x53f7c2(0x274)](_0x62b115){const _0x3057c9=a4_0x53f7c2,_0x3ce30c={'SsAYW':function(_0x3c16c5,_0x77d37d){return _0x3c16c5(_0x77d37d);},'gzUml':'success','XTIPT':'pending','AmJOM':'passed','FYjhX':function(_0x16fee1,_0x187c97){return _0x16fee1-_0x187c97;}};let _0x314d23=this[_0x3057c9(0x1da)]['bddSteps'][_0x3057c9(0x1ca)](_0x2d9a4b=>_0x2d9a4b['id']===_0x62b115[_0x3057c9(0x1b9)]);_0x3ce30c[_0x3057c9(0x25e)](isUndefined,_0x314d23)&&(_0x314d23=this['initializeBddStep'](_0x62b115)),_0x314d23[_0x3057c9(0x1c6)]=[_0x3ce30c['gzUml'],_0x3ce30c[_0x3057c9(0x210)]][_0x3057c9(0x216)](_0x62b115[_0x3057c9(0x293)])?_0x3ce30c['AmJOM']:_0x62b115[_0x3057c9(0x293)],_0x314d23[_0x3057c9(0x25a)]=new Date()[_0x3057c9(0x291)](),_0x314d23[_0x3057c9(0x282)]=_0x3ce30c[_0x3057c9(0x258)](Date['now'](),_0x62b115[_0x3057c9(0x219)][_0x3057c9(0x1a2)]()),_0x314d23[_0x3057c9(0x1de)]=_0x62b115[_0x3057c9(0x212)]?_0x62b115[_0x3057c9(0x212)][_0x3057c9(0x1b6)]:null;}}function a4_0x3552(_0x4b22ae,_0x1e09f0){const _0x58ae63=a4_0x58ae();return a4_0x3552=function(_0x35527d,_0x2ee153){_0x35527d=_0x35527d-0x19f;let _0x28fb08=_0x58ae63[_0x35527d];return _0x28fb08;},a4_0x3552(_0x4b22ae,_0x1e09f0);}const a4_0x5057a7={};a4_0x5057a7[a4_0x53f7c2(0x247)]=O11yHelper,a4_0x5057a7[a4_0x53f7c2(0x289)]=STATE_PASSED,a4_0x5057a7['STATE_FAILED']=STATE_FAILED,a4_0x5057a7[a4_0x53f7c2(0x1d2)]=TEST_EVENTS,module[a4_0x53f7c2(0x1a9)]=a4_0x5057a7;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x59a010=a5_0x2e2a;(function(_0x5e58a7,_0x1deeeb){const _0x4044e9=a5_0x2e2a,_0x37262d=_0x5e58a7();while(!![]){try{const _0xc06016=-parseInt(_0x4044e9(0x213))/0x1+parseInt(_0x4044e9(0x243))/0x2+-parseInt(_0x4044e9(0x25e))/0x3+parseInt(_0x4044e9(0x225))/0x4+parseInt(_0x4044e9(0x23d))/0x5+parseInt(_0x4044e9(0x20f))/0x6*(parseInt(_0x4044e9(0x26b))/0x7)+parseInt(_0x4044e9(0x258))/0x8;if(_0xc06016===_0x1deeeb)break;else _0x37262d['push'](_0x37262d['shift']());}catch(_0x575f2a){_0x37262d['push'](_0x37262d['shift']());}}}(a5_0x5848,0x26b27));function a5_0x2e2a(_0x19d1ef,_0x2975a2){const _0x5848c6=a5_0x5848();return a5_0x2e2a=function(_0x2e2a83,_0x183f6b){_0x2e2a83=_0x2e2a83-0x1f2;let _0x1c52b0=_0x5848c6[_0x2e2a83];return _0x1c52b0;},a5_0x2e2a(_0x19d1ef,_0x2975a2);}const fs=require('fs'),path=require('path'),util=require(a5_0x59a010(0x26c)),logger=require(a5_0x59a010(0x269))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x59a010(0x23a)),utilities=require(a5_0x59a010(0x25c)),constants=require(a5_0x59a010(0x260)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x59a010(0x222)),testOpsHelper=require(a5_0x59a010(0x246)),chalk=require(a5_0x59a010(0x221)),PerformanceTester=require(a5_0x59a010(0x271)),PerformanceEvents=require(a5_0x59a010(0x1f4))[a5_0x59a010(0x1fd)];function a5_0x5848(){const _0x5682bf=['../../helpers/testhub/testhubHandler','\x20undefined','\x20skipped','204280qNYTxa','push','NZJgu','zNVPA','UUODI','length','stepsAmbiguous','yellow','parseFormatters','assign','parallelsPerPlatform','join','exitCode','\x20steps','PMGfY','isUndefined','QSMqB','getTCGConfigFilePaths','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hFuni','setUserConfigPath','../../helpers/helper','bold','bgWhite','103185VNZUef','whiPp','sZPoA','BROWSERSTACK_TEST_OBSERVABILITY_YML','log','Generating\x20consolidated\x20report...','247858HXEvsW','platforms','\x20passed','../../helpers/test-observability/utils','config','argv','\x20failed','tmp','launchBuild','steps','isBrowserstackInfra','exports','getErrorMessageFromResults','proxySettings','PeSYS','EcbWA','then','skipSessionName','RnWtR','ZHTRK','errorMessage','3387376rLNOPj','splice','Removing\x20tmp\x20directory\x20created\x20for\x20reports','printBuildLink','../../helpers/utilities','\x20scenarios','938949izDBHW','getHubUrl','../utils/constants','handleApp','env','testObservability','uqnat','start','scenariosFailed','\x20pending','unlinkSync','../../helpers/logger','stepsPassed','377356wiBeMI','util','MtjDu','stepsUndefined','scenarios','green','../../helpers/performance/performance-tester','getPlatformName','accessibilityOptions','../../helpers/performance/constants','initialize','oZWPV','error\x20removing\x20tcg\x20config\x20file','CUCUMBER','red','finalExecution','turboScaleUrl','setupTCGAuth','EVENTS','end','stop','****\x20RESULTS\x20****','format','mergeOutputFiles','sgJnW','processSuccess','cucumber','xnDUV','FRAMEWORKS','forEach','removeDir','\x20ambiguous','MoQeq','useW3C','stepsFailed','SDK_CLEANUP','12MKMRZq','stepsUnknown','SDK_SETUP','TEwSb','255388uTHlck','VBEVZ','tOnxV','FcKNy','prepareCapabilities','true','createDir','cyan','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','eHsgQ','nlGTA','getUserWorkerCount','debug','UAXIX','chalk'];a5_0x5848=function(){return _0x5682bf;};return a5_0x5848();}function printCucumberStats(_0x4ac2dd){const _0x5dbed2=a5_0x59a010,_0x2f6bfb={};_0x2f6bfb[_0x5dbed2(0x21d)]=function(_0x531b70,_0x5e66dc){return _0x531b70>_0x5e66dc;},_0x2f6bfb[_0x5dbed2(0x206)]=function(_0x362ef4,_0x469bbc){return _0x362ef4-_0x469bbc;},_0x2f6bfb[_0x5dbed2(0x238)]=function(_0x53a31d,_0x81bf09){return _0x53a31d-_0x81bf09;},_0x2f6bfb[_0x5dbed2(0x214)]=function(_0x3c4630,_0x59223d){return _0x3c4630>_0x59223d;},_0x2f6bfb['tOnxV']=function(_0x4ab0cc,_0x4ee8aa){return _0x4ab0cc>_0x4ee8aa;},_0x2f6bfb[_0x5dbed2(0x251)]=function(_0x3d6165,_0xd9cd9e){return _0x3d6165>_0xd9cd9e;},_0x2f6bfb[_0x5dbed2(0x256)]=function(_0x2d4035,_0x1b1e92){return _0x2d4035>_0x1b1e92;},_0x2f6bfb[_0x5dbed2(0x255)]=function(_0x4eb54e,_0x6b6cca){return _0x4eb54e>_0x6b6cca;},_0x2f6bfb[_0x5dbed2(0x220)]=function(_0x128695,_0x3f53cb){return _0x128695>_0x3f53cb;},_0x2f6bfb[_0x5dbed2(0x216)]=function(_0x53fa4a,_0x3fff52){return _0x53fa4a>_0x3fff52;},_0x2f6bfb[_0x5dbed2(0x203)]=function(_0x43412e,_0x5c538c){return _0x43412e>_0x5c538c;},_0x2f6bfb['UUODI']=function(_0x235a63,_0x1d3dec){return _0x235a63+_0x1d3dec;},_0x2f6bfb[_0x5dbed2(0x23e)]=function(_0x258b63,_0x44b3ae){return _0x258b63+_0x44b3ae;},_0x2f6bfb['QSMqB']=function(_0x328bab,_0x2bcf35){return _0x328bab+_0x2bcf35;},_0x2f6bfb['oZWPV']=function(_0x14ba9d,_0x2ebfb1){return _0x14ba9d===_0x2ebfb1;},_0x2f6bfb[_0x5dbed2(0x252)]=function(_0x4cf250,_0x18f8dc){return _0x4cf250===_0x18f8dc;},_0x2f6bfb[_0x5dbed2(0x233)]=_0x5dbed2(0x200);const _0x3ac62c=_0x2f6bfb;let _0xf98915=0x0;if(_0x3ac62c[_0x5dbed2(0x252)](_0x4ac2dd[_0x5dbed2(0x22a)],0x0))return _0xf98915;return console[_0x5dbed2(0x241)](chalk['bold'][_0x5dbed2(0x23c)](_0x3ac62c[_0x5dbed2(0x233)])),_0x4ac2dd[_0x5dbed2(0x208)](_0x1e3c6f=>{const _0x588603=_0x5dbed2,_0x3770c2=_0x1e3c6f[0x0],_0x500555=_0x1e3c6f[0x1];helper[_0x588603(0x24d)]()&&console[_0x588603(0x241)]('\x0a'+chalk['bold'][_0x588603(0x22c)](''+helper[_0x588603(0x1f2)](_0x3770c2)));const _0x276151=_0x500555[_0x588603(0x26f)],_0x532652=_0x500555[_0x588603(0x24c)],_0x52c6ae=_0x500555[_0x588603(0x266)],_0x2a2546=_0x500555[_0x588603(0x20d)],_0x10940a=_0x500555[_0x588603(0x26a)],_0x71dc87=_0x500555['stepsSkipped'],_0x5500ac=_0x500555['stepsPending'],_0x7f1083=_0x500555[_0x588603(0x26e)],_0x403365=_0x500555[_0x588603(0x210)],_0x52327c=_0x500555[_0x588603(0x22b)],_0x43e979=_0x500555[_0x588603(0x204)];let _0x3303a8=_0x276151+_0x588603(0x25d);const _0x5e7b3e=_0x3ac62c['nlGTA'](_0x3ac62c['xnDUV'](_0x276151,_0x52c6ae),0x0)?_0x3ac62c['hFuni'](_0x276151,_0x52c6ae):0x0;if(_0x3ac62c[_0x588603(0x214)](_0x52c6ae,0x0)&&_0x3ac62c[_0x588603(0x21d)](_0x5e7b3e,0x0))_0x3303a8+='\x20('+chalk[_0x588603(0x23b)][_0x588603(0x1f9)](_0x52c6ae+_0x588603(0x249))+',\x20'+chalk[_0x588603(0x23b)][_0x588603(0x270)](_0x5e7b3e+'\x20passed')+')';else(_0x3ac62c[_0x588603(0x214)](_0x52c6ae,0x0)||_0x3ac62c[_0x588603(0x215)](_0x5e7b3e,0x0))&&(_0x3303a8+=_0x3ac62c['PeSYS'](_0x52c6ae,0x0)?'\x20('+chalk[_0x588603(0x23b)][_0x588603(0x1f9)](_0x52c6ae+_0x588603(0x249))+')':'\x20('+chalk['bold'][_0x588603(0x270)](_0x5e7b3e+_0x588603(0x245))+')');const _0x91649b=_0x532652+_0x588603(0x232),_0x2daa8a=[];_0x3ac62c['ZHTRK'](_0x52327c,0x0)&&_0x2daa8a[_0x588603(0x226)](''+chalk[_0x588603(0x23b)][_0x588603(0x1f9)](_0x52327c+_0x588603(0x20a)));_0x3ac62c['RnWtR'](_0x2a2546,0x0)&&_0x2daa8a[_0x588603(0x226)](''+chalk[_0x588603(0x23b)]['red'](_0x2a2546+_0x588603(0x249)));_0x3ac62c[_0x588603(0x220)](_0x10940a,0x0)&&_0x2daa8a[_0x588603(0x226)](''+chalk[_0x588603(0x23b)][_0x588603(0x270)](_0x10940a+'\x20passed'));_0x3ac62c[_0x588603(0x215)](_0x5500ac,0x0)&&_0x2daa8a['push'](''+chalk[_0x588603(0x23b)]['yellow'](_0x5500ac+_0x588603(0x267)));_0x3ac62c[_0x588603(0x216)](_0x71dc87,0x0)&&_0x2daa8a[_0x588603(0x226)](''+chalk['bold'][_0x588603(0x21a)](_0x71dc87+_0x588603(0x224)));_0x3ac62c[_0x588603(0x255)](_0x7f1083,0x0)&&_0x2daa8a['push'](''+chalk['bold'][_0x588603(0x22c)](_0x7f1083+_0x588603(0x223)));_0x3ac62c['sgJnW'](_0x403365,0x0)&&_0x2daa8a[_0x588603(0x226)](''+chalk[_0x588603(0x23b)]['yellow'](_0x403365+_0x588603(0x224)));const _0x5831cc=_0x3ac62c[_0x588603(0x229)](_0x3ac62c[_0x588603(0x23e)](_0x3ac62c['UUODI'](_0x91649b,'('),_0x2daa8a[_0x588603(0x230)](',\x20')),')');console[_0x588603(0x241)](_0x3ac62c[_0x588603(0x23e)](_0x3ac62c['QSMqB'](_0x3ac62c[_0x588603(0x235)](_0x3ac62c[_0x588603(0x23e)]('\x0a',_0x3303a8),'\x0a'),_0x5831cc),'\x0a')),_0x3ac62c[_0x588603(0x1f6)](_0x43e979,![])&&(_0xf98915=0x1);}),_0xf98915;}async function run(_0x880005,_0x2419e5,_0x39a5e8){const _0x2b9971=a5_0x59a010,_0x46ce49={'VMfxO':function(_0x329f0c,_0x8c7865){return _0x329f0c(_0x8c7865);},'eHsgQ':function(_0x543f05,_0x2381cd){return _0x543f05>_0x2381cd;},'uqnat':_0x2b9971(0x242),'MtjDu':_0x2b9971(0x25a),'sZPoA':_0x2b9971(0x205),'MoQeq':_0x2b9971(0x1f7),'NZJgu':_0x2b9971(0x24a),'zNVPA':function(_0x364e62,_0x36f74e){return _0x364e62-_0x36f74e;},'BovQN':function(_0x305ae7,_0x26703d){return _0x305ae7>=_0x26703d;},'xdUsm':function(_0x94371a,_0xf057ff){return _0x94371a!=_0xf057ff;},'TEwSb':_0x2b9971(0x218),'avAdp':function(_0xba9577,_0x151c35,_0x4057da,_0x5c079c,_0x29b07c,_0x205968){return _0xba9577(_0x151c35,_0x4057da,_0x5c079c,_0x29b07c,_0x205968);}};await _0x39a5e8[_0x2b9971(0x1f5)](_0x880005),helper[_0x2b9971(0x239)](_0x39a5e8['framework'],_0x880005);!helper[_0x2b9971(0x24d)]()&&await _0x39a5e8[_0x2b9971(0x1fc)]();await helper[_0x2b9971(0x261)](_0x39a5e8[_0x2b9971(0x247)]);const _0x3399c4=helper[_0x2b9971(0x20c)](_0x39a5e8[_0x2b9971(0x247)]);!helper[_0x2b9971(0x234)](_0x39a5e8[_0x2b9971(0x247)][_0x2b9971(0x1f3)])&&(process[_0x2b9971(0x262)][_0x2b9971(0x237)]=JSON['stringify'](_0x39a5e8['config']['accessibilityOptions']));const _0x27bad3=await TestHubHandler[_0x2b9971(0x24b)](constants['FRAMEWORKS'][_0x2b9971(0x1f8)],_0x39a5e8);let _0x2fc226=[];if(!helper['isBrowserstackInfra']()){const _0x5a47f4={};_0x5a47f4[_0x2b9971(0x244)]=[],_0x2fc226=helper[_0x2b9971(0x217)](Object[_0x2b9971(0x22e)]({},_0x39a5e8[_0x2b9971(0x247)],_0x5a47f4),_0x3399c4,constants[_0x2b9971(0x207)][_0x2b9971(0x1f8)]);}else _0x2fc226=helper[_0x2b9971(0x217)](_0x39a5e8['config'],_0x3399c4,constants[_0x2b9971(0x207)]['CUCUMBER']);if(!_0x39a5e8[_0x2b9971(0x247)])return;const _0x149e5e=_0x39a5e8[_0x2b9971(0x247)][_0x2b9971(0x22f)]||helper[_0x2b9971(0x21e)](_0x880005,_0x2419e5,_0x39a5e8[_0x2b9971(0x247)],constants['FRAMEWORKS'][_0x2b9971(0x1f8)])||0x1,_0x48f48f={'server':helper[_0x2b9971(0x25f)](_0x39a5e8['config']),'proxySettings':_0x39a5e8['config'][_0x2b9971(0x250)],'maxWorkers':_0x149e5e,'browserStackLogLevel':_0x39a5e8[_0x2b9971(0x247)]['logLevel'],'skipSessionName':_0x39a5e8['config']['testContextOptions'][_0x2b9971(0x254)],'skipSessionStatus':_0x39a5e8['config']['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x39a5e8[_0x2b9971(0x247)][_0x2b9971(0x1fb)]},_0x248708=process[_0x2b9971(0x248)],[_0x16c843,_0x36928d]=helper[_0x2b9971(0x22d)](_0x248708),_0x4dedf5=path['join'](process['cwd'](),_0x46ce49[_0x2b9971(0x227)]);if(_0x46ce49[_0x2b9971(0x21c)](_0x36928d[_0x2b9971(0x22a)],0x0)){helper[_0x2b9971(0x219)](_0x4dedf5);for(let _0x27c6cb=_0x46ce49[_0x2b9971(0x228)](_0x16c843[_0x2b9971(0x22a)],0x1);_0x46ce49['BovQN'](_0x27c6cb,0x0);_0x27c6cb--){_0x248708[_0x2b9971(0x259)](_0x16c843[_0x27c6cb],0x2);}}_0x46ce49['xdUsm'](_0x39a5e8['config'][_0x2b9971(0x263)],null)?process[_0x2b9971(0x262)][_0x2b9971(0x240)]=_0x39a5e8['config'][_0x2b9971(0x263)]:process[_0x2b9971(0x262)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x46ce49[_0x2b9971(0x212)];PerformanceTester[_0x2b9971(0x1fe)](PerformanceEvents[_0x2b9971(0x211)]);let _0x57bc13;_0x46ce49['avAdp'](parallelCucumberRun,_0x2fc226,_0x48f48f,_0x39a5e8[_0x2b9971(0x247)],_0x248708,_0x36928d)[_0x2b9971(0x253)](async _0x5161cb=>{const _0x2f45ec=_0x2b9971;PerformanceTester['start'](PerformanceEvents[_0x2f45ec(0x20e)]),_0x57bc13=_0x5161cb;const _0x4992f1=_0x46ce49['VMfxO'](printCucumberStats,_0x5161cb);process[_0x2f45ec(0x231)]=_0x4992f1,_0x46ce49['eHsgQ'](_0x36928d[_0x2f45ec(0x22a)],0x0)&&(logger[_0x2f45ec(0x21f)](_0x46ce49[_0x2f45ec(0x264)]),helper[_0x2f45ec(0x202)](_0x4dedf5,_0x36928d),logger['debug'](_0x46ce49[_0x2f45ec(0x26d)]),helper[_0x2f45ec(0x209)](_0x4dedf5));})['finally'](async()=>{const _0xa48c30=_0x2b9971;PerformanceTester[_0xa48c30(0x265)](PerformanceEvents[_0xa48c30(0x20e)]),_0x39a5e8[_0xa48c30(0x257)]=helper[_0xa48c30(0x24f)](_0x57bc13,_0x46ce49[_0xa48c30(0x23f)]),testOpsHelper[_0xa48c30(0x25b)]();try{await TestHubHandler[_0xa48c30(0x1ff)]();}catch(_0x5be8a3){logger[_0xa48c30(0x21f)](_0xa48c30(0x21b)+util[_0xa48c30(0x201)](_0x5be8a3));}try{const {browserstackFolderPath:_0x13e783,tcgConfigPath:_0x123af6}=helper[_0xa48c30(0x236)]();fs[_0xa48c30(0x268)](_0x123af6),fs['rmdirSync'](_0x13e783);}catch(_0x41e56a){logger[_0xa48c30(0x21f)](_0x46ce49[_0xa48c30(0x20b)],_0x41e56a);}await utilities[_0xa48c30(0x1fa)](_0x39a5e8);});}module[a5_0x59a010(0x24e)]=run;
|
|
2
|
+
'use strict';const a5_0xac4392=a5_0x17ec;(function(_0x37f03d,_0x501efc){const _0x1952c0=a5_0x17ec,_0x3077ca=_0x37f03d();while(!![]){try{const _0x34a0cb=parseInt(_0x1952c0(0x15c))/0x1*(parseInt(_0x1952c0(0xf1))/0x2)+-parseInt(_0x1952c0(0x11c))/0x3+-parseInt(_0x1952c0(0x11a))/0x4+parseInt(_0x1952c0(0x148))/0x5+parseInt(_0x1952c0(0x131))/0x6+-parseInt(_0x1952c0(0x125))/0x7*(-parseInt(_0x1952c0(0x163))/0x8)+parseInt(_0x1952c0(0x164))/0x9*(-parseInt(_0x1952c0(0x110))/0xa);if(_0x34a0cb===_0x501efc)break;else _0x3077ca['push'](_0x3077ca['shift']());}catch(_0x1336f0){_0x3077ca['push'](_0x3077ca['shift']());}}}(a5_0x599c,0x77afd));function a5_0x599c(){const _0x1ad9c4=['rmdirSync','CMdxP','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20failed','nWLex','../../helpers/helper','createDir','useW3C','log','exports','accessibilityOptions','50zrUimV','LYzxW','stepsUndefined','finalExecution','bold','util','\x20scenarios','tOzyq','launchBuild','stop','1749408lmybuk','cwd','1275156HfQrhJ','removeDir','thLFX','bootstrap','zDTLC','\x20ambiguous','../utils/constants','handleApp','@playwright/test','42LBZtVB','setFrameworkDetail','kdNuf','error\x20removing\x20tcg\x20config\x20file','parallelsPerPlatform','assign','tmp','OsEjY','stringify','stepsPassed','initialize','argv','2352672MricAd','logLevel','viwRQ','Generating\x20consolidated\x20report...','TXowI','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../../helpers/test-observability/utils','path','binSessionId','Removing\x20tmp\x20directory\x20created\x20for\x20reports','stepsUnknown','getUserWorkerCount','testObservability','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stepsFailed','Detected\x20Playwright\x20version\x20','\x20pending','getPlatformName','../v2/TestInfo','getInstance','length','../../helpers/BrowserStackSetup','CwqwO','3652700vOnaqn','\x20passed','mergeOutputFiles','FRAMEWORKS','red','then','Luinl','\x20skipped','CUCUMBER','dFQVD','swmjK','isBrowserstackInfra','VyCvm','cliConfig','isUndefined','start','yellow','RZJuw','bWfAd','end','12458fxYGYI','getErrorMessageFromResults','../v2/cliUtils','skipSessionStatus','forEach','TdLLN','bgWhite','246184rImXeh','299583JxUJfa','IALYk','1|0|4|3|2','exitCode','SDK_SETUP','getTCGConfigFilePaths','EVENTS','setBrowserstackConfig','KPpTY','iDKKL','debug','green','parseFormatters','****\x20RESULTS\x20****','KLDuD','\x20undefined','PLAYWRIGHT','cyan','config','platforms','unlinkSync','testContextOptions','skipSessionName','34NqtkeU','../../helpers/performance/performance-tester','AKJlU','processSuccess','join','true','setUserConfigPath','prepareCapabilities','../../helpers/testhub/testhubHandler','SDK_CLEANUP','PtBKv','ozsWG','env','PbUNY','../v2/browserstackCLI','stepsSkipped','push','split','scenarios','proxySettings'];a5_0x599c=function(){return _0x1ad9c4;};return a5_0x599c();}function a5_0x17ec(_0x309064,_0x40185f){const _0x599cd6=a5_0x599c();return a5_0x17ec=function(_0x17ec73,_0x5a6403){_0x17ec73=_0x17ec73-0xe5;let _0x5695e0=_0x599cd6[_0x17ec73];return _0x5695e0;},a5_0x17ec(_0x309064,_0x40185f);}const fs=require('fs'),path=require(a5_0xac4392(0x138)),util=require(a5_0xac4392(0x115)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a5_0xac4392(0x146)),helper=require(a5_0xac4392(0x10a)),utilities=require('../../helpers/utilities'),constants=require(a5_0xac4392(0x122)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0xac4392(0xf9)),testOpsHelper=require(a5_0xac4392(0x137)),chalk=require('chalk'),PerformanceTester=require(a5_0xac4392(0xf2)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0xac4392(0x16a)],BrowserstackCLI=require(a5_0xac4392(0xff)),CLIUtils=require(a5_0xac4392(0x15e)),TestInfo=require(a5_0xac4392(0x143));function printCucumberStats(_0x516666){const _0x59372e=a5_0xac4392,_0x322aa8={};_0x322aa8[_0x59372e(0x14e)]=function(_0x3585a3,_0x11e496){return _0x3585a3>_0x11e496;},_0x322aa8['tOzyq']=function(_0x29469f,_0x4a8eda){return _0x29469f-_0x4a8eda;},_0x322aa8[_0x59372e(0x165)]=function(_0x2fe8f5,_0x276f0b){return _0x2fe8f5-_0x276f0b;},_0x322aa8[_0x59372e(0xe8)]=function(_0x26d556,_0x5a2e97){return _0x26d556>_0x5a2e97;},_0x322aa8[_0x59372e(0xfc)]=function(_0x538d80,_0x81896f){return _0x538d80>_0x81896f;},_0x322aa8[_0x59372e(0x16c)]=function(_0x13bc16,_0x517a70){return _0x13bc16>_0x517a70;},_0x322aa8['VyCvm']=function(_0x5759e7,_0x3fc336){return _0x5759e7>_0x3fc336;},_0x322aa8['CMdxP']=function(_0x4766f9,_0x5760cb){return _0x4766f9>_0x5760cb;},_0x322aa8[_0x59372e(0x11e)]=function(_0x46b01e,_0x13b35c){return _0x46b01e+_0x13b35c;},_0x322aa8['PbUNY']=function(_0x303c1d,_0x1f824c){return _0x303c1d+_0x1f824c;},_0x322aa8['PtBKv']=function(_0x49d5da,_0x523eed){return _0x49d5da+_0x523eed;},_0x322aa8[_0x59372e(0x109)]=function(_0x472eba,_0xfdb3d4){return _0x472eba+_0xfdb3d4;},_0x322aa8['LYzxW']=function(_0x580755,_0x56ac6a){return _0x580755+_0x56ac6a;},_0x322aa8[_0x59372e(0xf3)]=function(_0x3c8dd4,_0x51d4fe){return _0x3c8dd4===_0x51d4fe;},_0x322aa8[_0x59372e(0x12c)]=function(_0x55cfd3,_0xd5f953){return _0x55cfd3===_0xd5f953;},_0x322aa8['viwRQ']=_0x59372e(0xe7);const _0xbddbb4=_0x322aa8;let _0x51a0a2=0x0;if(_0xbddbb4[_0x59372e(0x12c)](_0x516666[_0x59372e(0x145)],0x0))return _0x51a0a2;return console[_0x59372e(0x10d)](chalk[_0x59372e(0x114)][_0x59372e(0x162)](_0xbddbb4[_0x59372e(0x133)])),_0x516666[_0x59372e(0x160)](_0x4cec8e=>{const _0x1ed2f0=_0x59372e,_0xe236f0=_0x4cec8e[0x0],_0x63278e=_0x4cec8e[0x1];helper['isBrowserstackInfra']()&&console[_0x1ed2f0(0x10d)]('\x0a'+chalk[_0x1ed2f0(0x114)][_0x1ed2f0(0x158)](''+helper[_0x1ed2f0(0x142)](_0xe236f0)));const _0x3cb1cc=_0x63278e[_0x1ed2f0(0x103)],_0x17d49e=_0x63278e['steps'],_0x3a8011=_0x63278e['scenariosFailed'],_0x5a242c=_0x63278e[_0x1ed2f0(0x13f)],_0x1f0e0b=_0x63278e[_0x1ed2f0(0x12e)],_0xcd876a=_0x63278e[_0x1ed2f0(0x100)],_0x46ac41=_0x63278e['stepsPending'],_0x52d75a=_0x63278e[_0x1ed2f0(0x112)],_0x4993aa=_0x63278e[_0x1ed2f0(0x13b)],_0x30c066=_0x63278e['stepsAmbiguous'],_0x121b05=_0x63278e[_0x1ed2f0(0xf4)];let _0x46a8e4=_0x3cb1cc+_0x1ed2f0(0x116);const _0xd10f66=_0xbddbb4['Luinl'](_0xbddbb4[_0x1ed2f0(0x117)](_0x3cb1cc,_0x3a8011),0x0)?_0xbddbb4[_0x1ed2f0(0x165)](_0x3cb1cc,_0x3a8011):0x0;if(_0xbddbb4[_0x1ed2f0(0x14e)](_0x3a8011,0x0)&&_0xbddbb4[_0x1ed2f0(0x14e)](_0xd10f66,0x0))_0x46a8e4+='\x20('+chalk[_0x1ed2f0(0x114)][_0x1ed2f0(0x14c)](_0x3a8011+'\x20failed')+',\x20'+chalk[_0x1ed2f0(0x114)]['green'](_0xd10f66+_0x1ed2f0(0x149))+')';else(_0xbddbb4[_0x1ed2f0(0x14e)](_0x3a8011,0x0)||_0xbddbb4['KLDuD'](_0xd10f66,0x0))&&(_0x46a8e4+=_0xbddbb4[_0x1ed2f0(0xfc)](_0x3a8011,0x0)?'\x20('+chalk[_0x1ed2f0(0x114)][_0x1ed2f0(0x14c)](_0x3a8011+_0x1ed2f0(0x108))+')':'\x20('+chalk['bold'][_0x1ed2f0(0xe5)](_0xd10f66+_0x1ed2f0(0x149))+')');const _0x347f2b=_0x17d49e+'\x20steps',_0x8f0642=[];_0xbddbb4[_0x1ed2f0(0xe8)](_0x30c066,0x0)&&_0x8f0642[_0x1ed2f0(0x101)](''+chalk[_0x1ed2f0(0x114)][_0x1ed2f0(0x14c)](_0x30c066+_0x1ed2f0(0x121)));_0xbddbb4[_0x1ed2f0(0x16c)](_0x5a242c,0x0)&&_0x8f0642[_0x1ed2f0(0x101)](''+chalk[_0x1ed2f0(0x114)][_0x1ed2f0(0x14c)](_0x5a242c+_0x1ed2f0(0x108)));_0xbddbb4['KLDuD'](_0x1f0e0b,0x0)&&_0x8f0642[_0x1ed2f0(0x101)](''+chalk[_0x1ed2f0(0x114)]['green'](_0x1f0e0b+_0x1ed2f0(0x149)));_0xbddbb4[_0x1ed2f0(0x14e)](_0x46ac41,0x0)&&_0x8f0642[_0x1ed2f0(0x101)](''+chalk['bold']['yellow'](_0x46ac41+_0x1ed2f0(0x141)));_0xbddbb4[_0x1ed2f0(0x154)](_0xcd876a,0x0)&&_0x8f0642[_0x1ed2f0(0x101)](''+chalk['bold'][_0x1ed2f0(0xeb)](_0xcd876a+_0x1ed2f0(0x14f)));_0xbddbb4[_0x1ed2f0(0x106)](_0x52d75a,0x0)&&_0x8f0642[_0x1ed2f0(0x101)](''+chalk['bold'][_0x1ed2f0(0x158)](_0x52d75a+_0x1ed2f0(0xe9)));_0xbddbb4[_0x1ed2f0(0x106)](_0x4993aa,0x0)&&_0x8f0642[_0x1ed2f0(0x101)](''+chalk[_0x1ed2f0(0x114)]['yellow'](_0x4993aa+_0x1ed2f0(0x14f)));const _0x4050f9=_0xbddbb4['thLFX'](_0xbddbb4[_0x1ed2f0(0x11e)](_0xbddbb4['PbUNY'](_0x347f2b,'('),_0x8f0642['join'](',\x20')),')');console['log'](_0xbddbb4[_0x1ed2f0(0xfe)](_0xbddbb4[_0x1ed2f0(0xfb)](_0xbddbb4[_0x1ed2f0(0x109)](_0xbddbb4[_0x1ed2f0(0x111)]('\x0a',_0x46a8e4),'\x0a'),_0x4050f9),'\x0a')),_0xbddbb4[_0x1ed2f0(0xf3)](_0x121b05,![])&&(_0x51a0a2=0x1);}),_0x51a0a2;}async function run(_0xa18d33,_0x2018b6,_0x3107d6){const _0x19f584=a5_0xac4392,_0x5adb9d={'iDKKL':function(_0x46b230,_0x47ce70){return _0x46b230(_0x47ce70);},'bWfAd':function(_0x3c99d8,_0x30425d){return _0x3c99d8>_0x30425d;},'TXowI':_0x19f584(0x134),'xrbAE':_0x19f584(0x13a),'CwqwO':'cucumber','kdNuf':_0x19f584(0x128),'swmjK':_0x19f584(0x124),'lxfrB':_0x19f584(0x166),'QLyuM':_0x19f584(0x12b),'viRaz':function(_0x3bf184,_0x211ac0){return _0x3bf184>_0x211ac0;},'vctnR':function(_0x3de738,_0x485d85){return _0x3de738-_0x485d85;},'RZJuw':function(_0x4dee6e,_0x4b9079){return _0x4dee6e>=_0x4b9079;},'TdLLN':function(_0x212f58,_0x426a89){return _0x212f58!=_0x426a89;},'zDTLC':_0x19f584(0xf6),'dFQVD':function(_0x3e6554,_0xada203,_0x5e3b20,_0x104d11,_0x8106df,_0x349636){return _0x3e6554(_0xada203,_0x5e3b20,_0x104d11,_0x8106df,_0x349636);}},_0x53e3cf=helper['getPackageVersion'](_0x5adb9d[_0x19f584(0x152)]);let _0x42ae5b=constants[_0x19f584(0x14b)][_0x19f584(0x150)];global['__isPlaywrightInstalled']=!!_0x53e3cf,await _0x3107d6[_0x19f584(0x12f)](_0xa18d33);if(_0x53e3cf){const _0xaf21f6=_0x5adb9d['lxfrB'][_0x19f584(0x102)]('|');let _0x423f65=0x0;while(!![]){switch(_0xaf21f6[_0x423f65++]){case'0':logger[_0x19f584(0x16e)](_0x19f584(0x140)+_0x53e3cf+'\x20for\x20cucumber-js\x20flow');continue;case'1':_0x42ae5b=constants[_0x19f584(0x14b)][_0x19f584(0xea)];continue;case'2':await BrowserstackCLI[_0x19f584(0x144)]()[_0x19f584(0x11f)]();continue;case'3':BrowserstackCLI[_0x19f584(0x144)]()[_0x19f584(0x16b)](_0x3107d6['config'],_0x3107d6[_0x19f584(0x155)]);continue;case'4':CLIUtils[_0x19f584(0x126)](constants['FRAMEWORKS'][_0x19f584(0x150)],_0x42ae5b);continue;}break;}}BrowserstackCLI['getInstance']()[_0x19f584(0x139)]&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()[_0x19f584(0x139)]);helper[_0x19f584(0xf7)](_0x3107d6['framework'],_0xa18d33);!helper[_0x19f584(0x153)]()&&await _0x3107d6['setupTCGAuth']();await helper[_0x19f584(0x123)](_0x3107d6[_0x19f584(0xec)]);const _0x4120c8=helper[_0x19f584(0x10c)](_0x3107d6[_0x19f584(0xec)]);!helper[_0x19f584(0x156)](_0x3107d6[_0x19f584(0xec)][_0x19f584(0x10f)])&&(process[_0x19f584(0xfd)][_0x19f584(0x13e)]=JSON[_0x19f584(0x12d)](_0x3107d6[_0x19f584(0xec)][_0x19f584(0x10f)]));if(!BrowserstackCLI['getInstance']()['isRunning']()){const _0x1d1244=await TestHubHandler[_0x19f584(0x118)](constants[_0x19f584(0x14b)][_0x19f584(0x150)],_0x3107d6);}let _0x5112c5=[];if(!helper[_0x19f584(0x153)]()){const _0x5e0a7b={};_0x5e0a7b[_0x19f584(0xed)]=[],_0x5112c5=helper[_0x19f584(0xf8)](Object[_0x19f584(0x12a)]({},_0x3107d6[_0x19f584(0xec)],_0x5e0a7b),_0x4120c8,constants[_0x19f584(0x14b)][_0x19f584(0x150)]);}else _0x5112c5=helper[_0x19f584(0xf8)](_0x3107d6[_0x19f584(0xec)],_0x4120c8,constants[_0x19f584(0x14b)][_0x19f584(0x150)]);if(!_0x3107d6['config'])return;const _0x3b6949=_0x3107d6[_0x19f584(0xec)][_0x19f584(0x129)]||helper[_0x19f584(0x13c)](_0xa18d33,_0x2018b6,_0x3107d6['config'],constants[_0x19f584(0x14b)][_0x19f584(0x150)])||0x1,_0x5f4ecf={'server':helper['getHubUrl'](_0x3107d6[_0x19f584(0xec)]),'proxySettings':_0x3107d6[_0x19f584(0xec)][_0x19f584(0x104)],'maxWorkers':_0x3b6949,'browserStackLogLevel':_0x3107d6[_0x19f584(0xec)][_0x19f584(0x132)],'skipSessionName':_0x3107d6['config'][_0x19f584(0xef)][_0x19f584(0xf0)],'skipSessionStatus':_0x3107d6[_0x19f584(0xec)]['testContextOptions'][_0x19f584(0x15f)],'turboScaleUrl':_0x3107d6[_0x19f584(0xec)]['turboScaleUrl']},_0x45ef18=process[_0x19f584(0x130)],[_0x5de545,_0x2632b8]=helper[_0x19f584(0xe6)](_0x45ef18),_0x5aa248=path[_0x19f584(0xf5)](process[_0x19f584(0x11b)](),_0x5adb9d['QLyuM']);if(_0x5adb9d['viRaz'](_0x2632b8[_0x19f584(0x145)],0x0)){helper[_0x19f584(0x10b)](_0x5aa248);for(let _0x257d32=_0x5adb9d['vctnR'](_0x5de545[_0x19f584(0x145)],0x1);_0x5adb9d[_0x19f584(0x159)](_0x257d32,0x0);_0x257d32--){_0x45ef18['splice'](_0x5de545[_0x257d32],0x2);}}_0x5adb9d[_0x19f584(0x161)](_0x3107d6[_0x19f584(0xec)][_0x19f584(0x13d)],null)?process[_0x19f584(0xfd)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3107d6[_0x19f584(0xec)][_0x19f584(0x13d)]:process[_0x19f584(0xfd)][_0x19f584(0x107)]=_0x5adb9d[_0x19f584(0x120)];PerformanceTester[_0x19f584(0x15b)](PerformanceEvents[_0x19f584(0x168)]);let _0xa7e365;_0x5adb9d[_0x19f584(0x151)](parallelCucumberRun,_0x5112c5,_0x5f4ecf,_0x3107d6[_0x19f584(0xec)],_0x45ef18,_0x2632b8)[_0x19f584(0x14d)](async _0x3a9024=>{const _0x120910=_0x19f584;PerformanceTester[_0x120910(0x157)](PerformanceEvents[_0x120910(0xfa)]),_0xa7e365=_0x3a9024;const _0x5c1041=_0x5adb9d[_0x120910(0x16d)](printCucumberStats,_0x3a9024);process[_0x120910(0x167)]=_0x5c1041,_0x5adb9d[_0x120910(0x15a)](_0x2632b8[_0x120910(0x145)],0x0)&&(logger['debug'](_0x5adb9d[_0x120910(0x135)]),helper[_0x120910(0x14a)](_0x5aa248,_0x2632b8),logger[_0x120910(0x16e)](_0x5adb9d['xrbAE']),helper[_0x120910(0x11d)](_0x5aa248));})['finally'](async()=>{const _0x219ad6=_0x19f584;PerformanceTester['start'](PerformanceEvents[_0x219ad6(0xfa)]),_0x3107d6['errorMessage']=helper[_0x219ad6(0x15d)](_0xa7e365,_0x5adb9d[_0x219ad6(0x147)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x219ad6(0x119)](),await BrowserstackCLI[_0x219ad6(0x144)]()[_0x219ad6(0x119)]();}catch(_0x39dca){logger['debug'](_0x219ad6(0x136)+util['format'](_0x39dca));}try{const {browserstackFolderPath:_0x5c4d81,tcgConfigPath:_0x5c594e}=helper[_0x219ad6(0x169)]();fs[_0x219ad6(0xee)](_0x5c594e),fs[_0x219ad6(0x105)](_0x5c4d81);}catch(_0x5820f3){logger[_0x219ad6(0x16e)](_0x5adb9d[_0x219ad6(0x127)],_0x5820f3);}await utilities[_0x219ad6(0x113)](_0x3107d6);});}module[a5_0xac4392(0x10e)]=run;
|