browserstack-node-sdk 1.34.48 → 1.34.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -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/permissions/AWS.json +85 -0
- package/ats/src/permissions/AZURE.json +33 -0
- package/ats/src/permissions/GCP.json +19 -0
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1_0x41f5cb=a1_0x3d84;function a1_0x3d84(_0x3f96fb,_0x588aa9){const _0x2bd989=a1_0x2bd9();return a1_0x3d84=function(_0x3d8448,_0x48bab7){_0x3d8448=_0x3d8448-0x184;let _0x4be125=_0x2bd989[_0x3d8448];return _0x4be125;},a1_0x3d84(_0x3f96fb,_0x588aa9);}(function(_0x53823e,_0x31a671){const _0x2327ae=a1_0x3d84,_0x42f52d=_0x53823e();while(!![]){try{const _0x158652=parseInt(_0x2327ae(0x1f8))/0x1+parseInt(_0x2327ae(0x228))/0x2*(-parseInt(_0x2327ae(0x1f4))/0x3)+-parseInt(_0x2327ae(0x246))/0x4*(parseInt(_0x2327ae(0x24e))/0x5)+parseInt(_0x2327ae(0x1fc))/0x6+parseInt(_0x2327ae(0x22a))/0x7+-parseInt(_0x2327ae(0x215))/0x8*(-parseInt(_0x2327ae(0x225))/0x9)+-parseInt(_0x2327ae(0x1d1))/0xa*(parseInt(_0x2327ae(0x203))/0xb);if(_0x158652===_0x31a671)break;else _0x42f52d['push'](_0x42f52d['shift']());}catch(_0x28a55c){_0x42f52d['push'](_0x42f52d['shift']());}}}(a1_0x2bd9,0x55450));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x41f5cb(0x25c)),logger=require(a1_0x41f5cb(0x19f))[a1_0x41f5cb(0x1fa)],testOpsHelper=require(a1_0x41f5cb(0x21b)),requestSpy=require(a1_0x41f5cb(0x20b)),PlaywrightSessionDetails=require(a1_0x41f5cb(0x236)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x41f5cb(0x237)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x41f5cb(0x1ec)),AccessibilityHelper=require(a1_0x41f5cb(0x187)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x41f5cb(0x1ca)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x41f5cb(0x1e4)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x41f5cb(0x1ed)),globals=require(a1_0x41f5cb(0x242)),CodeceptJS=requireModule(a1_0x41f5cb(0x1d0),a1_0x41f5cb(0x23e)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x41f5cb(0x23e)),CodeceptWebDriver=requireModule(a1_0x41f5cb(0x1db),'codeceptjs'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x41f5cb(0x23e)),CodeceptPlaywright=requireModule(a1_0x41f5cb(0x209),a1_0x41f5cb(0x23e)),playwrightMarkSessionStatus=(_0x427d3a,_0x3e9002,_0x1dc7c3)=>{const _0x5f58fc=a1_0x41f5cb,_0x578e00={'avZqa':_0x5f58fc(0x1c2),'gagNQ':function(_0x5ba664,_0x43735c){return _0x5ba664(_0x43735c);}},_0x4ce8ca={};_0x4ce8ca[_0x5f58fc(0x24b)]=_0x3e9002;const _0xcadfa1={};_0xcadfa1['action']=_0x578e00[_0x5f58fc(0x1fd)],_0xcadfa1[_0x5f58fc(0x241)]=_0x4ce8ca;const _0x2d5768=_0xcadfa1;return!_0x578e00[_0x5f58fc(0x1ea)](isUndefined,_0x1dc7c3)&&(_0x2d5768[_0x5f58fc(0x241)]['reason']=JSON[_0x5f58fc(0x198)](_0x1dc7c3)),_0x427d3a[_0x5f58fc(0x247)](()=>{},_0x5f58fc(0x1b9)+JSON['stringify'](_0x2d5768));},o11ySync=PerformanceTester[a1_0x41f5cb(0x20d)](PerformanceO11yEvents[a1_0x41f5cb(0x1ee)],async _0x3f71f6=>{const _0x2100a6=a1_0x41f5cb,_0x799a0f={};_0x799a0f['baWFb']=function(_0x2090fc,_0x1ec02f){return _0x2090fc===_0x1ec02f;},_0x799a0f[_0x2100a6(0x1da)]='Playwright';const _0x468c04=_0x799a0f;_0x468c04[_0x2100a6(0x1d5)](_0x3f71f6[_0x2100a6(0x24f)]['name'],_0x468c04[_0x2100a6(0x1da)])?await _0x3f71f6['executeScript'](_0x4e3ed8=>{},testOpsHelper[_0x2100a6(0x1c4)]()):await _0x3f71f6[_0x2100a6(0x247)](testOpsHelper[_0x2100a6(0x1c4)]());}),markSessionName=PerformanceTester[a1_0x41f5cb(0x20d)](PerformanceAutEvents[a1_0x41f5cb(0x213)],async(_0x3dd4b4,_0x49dc68)=>{const _0x330e23=a1_0x41f5cb,_0x4d379b={};_0x4d379b[_0x330e23(0x1d4)]='setSessionName',_0x4d379b[_0x330e23(0x210)]=function(_0x22ff1d,_0x195a12){return _0x22ff1d===_0x195a12;},_0x4d379b['tQWTo']=_0x330e23(0x1b1);const _0x5c9221=_0x4d379b,_0x4e79f7={};_0x4e79f7['name']=_0x49dc68;const _0x2049d8={};_0x2049d8[_0x330e23(0x21e)]=_0x5c9221[_0x330e23(0x1d4)],_0x2049d8[_0x330e23(0x241)]=_0x4e79f7;const _0x2805c0=_0x2049d8;_0x5c9221['wpzTq'](_0x3dd4b4[_0x330e23(0x24f)][_0x330e23(0x222)],_0x5c9221[_0x330e23(0x255)])?await _0x3dd4b4['executeScript'](()=>{},_0x330e23(0x1b9)+JSON[_0x330e23(0x198)](_0x2805c0)):await _0x3dd4b4[_0x330e23(0x247)](_0x330e23(0x1b9)+JSON[_0x330e23(0x198)](_0x2805c0));}),patchSaveScreenshot=_0x19485f=>{const _0x3c29b8=a1_0x41f5cb,_0x5866f5={'CUlyM':_0x3c29b8(0x1b2),'wDlCw':_0x3c29b8(0x1a6),'oDclA':function(_0x4437b2){return _0x4437b2();},'frXmE':function(_0x4c5bdd,_0x551b8e){return _0x4c5bdd(_0x551b8e);}};_0x5866f5[_0x3c29b8(0x20a)](isTrue,process[_0x3c29b8(0x1dc)][_0x3c29b8(0x1f9)])&&!_0x19485f[_0x3c29b8(0x218)]&&(_0x19485f[_0x3c29b8(0x218)]=!![],_0x19485f[_0x3c29b8(0x21c)]=_0x19485f[_0x3c29b8(0x232)],_0x19485f[_0x3c29b8(0x232)]=(_0x33c30b,_0x14fed7=![])=>{const _0x9ef8a6=_0x3c29b8,_0x5116c4={'ZTLiC':_0x5866f5[_0x9ef8a6(0x1c7)],'KlqsI':_0x5866f5[_0x9ef8a6(0x1d3)],'yOvIZ':function(_0x521f3e){const _0x51adf0=_0x9ef8a6;return _0x5866f5[_0x51adf0(0x1af)](_0x521f3e);}};return new Promise(function(_0x3d5a99,_0x22a8c5){const _0x430cb4=_0x9ef8a6;_0x19485f[_0x430cb4(0x21c)](_0x33c30b,_0x14fed7)[_0x430cb4(0x211)](()=>{const _0x459ddd=_0x430cb4,_0x2f26f=CodeceptUtils[_0x459ddd(0x205)](_0x33c30b),_0x8cafa7=fs['readFileSync'](_0x2f26f);process[_0x459ddd(0x1d9)](_0x459ddd(0x1c6)+process[_0x459ddd(0x245)],{'timestamp':new Date()[_0x459ddd(0x18f)](),'message':_0x8cafa7[_0x459ddd(0x207)](_0x5116c4[_0x459ddd(0x20e)]),'kind':_0x5116c4[_0x459ddd(0x224)]}),_0x5116c4['yOvIZ'](_0x3d5a99);})[_0x430cb4(0x19a)](()=>null);});});},patchWebDriverBefore=_0x5bde5e=>{const _0x237eb4=a1_0x41f5cb,_0x4409c4={'rRkHC':function(_0x2a0620){return _0x2a0620();},'eBUmB':function(_0x238b2f,_0x403103){return _0x238b2f(_0x403103);},'UKKkI':function(_0x10f9fa,_0x50eab1){return _0x10f9fa===_0x50eab1;},'jQEjr':_0x237eb4(0x227),'CikMr':function(_0x220e68,_0x59ac75){return _0x220e68(_0x59ac75);}},_0x57a564=async function(_0x402d04,_0x28e5e5){const _0x4abb41=_0x237eb4;return _0x4409c4[_0x4abb41(0x1e1)](isAccessibilityAutomationSession)&&!global[_0x4abb41(0x1a8)]&&global[_0x4abb41(0x21f)]&&scripts[_0x4abb41(0x18d)](_0x402d04[_0x4abb41(0x222)])&&_0x4409c4['eBUmB'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x4abb41(0x1a8)]=!![],await PerformanceTester[_0x4abb41(0x20d)](PerformanceA11yEvents[_0x4abb41(0x190)],async()=>{const _0x2058c3=_0x4abb41;logger[_0x2058c3(0x1a4)](_0x2058c3(0x1ac)+_0x402d04[_0x2058c3(0x202)]+'\x20'+_0x402d04[_0x2058c3(0x222)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5bde5e,scripts[_0x2058c3(0x22d)]);},{'command':_0x402d04[_0x4abb41(0x222)]})()),global['bstackAllyScanning']=![],_0x28e5e5[_0x4abb41(0x19c)](this,Array['prototype'][_0x4abb41(0x21a)][_0x4abb41(0x22b)](arguments,0x2));},_0x59a8ab=CodeceptWebDriver['prototype'][_0x237eb4(0x1a2)];CodeceptWebDriver[_0x237eb4(0x1e2)][_0x237eb4(0x1a2)]=async function(){const _0x2dcca3=_0x237eb4,_0x2760ac={'tRtRN':function(_0x2b1d95,_0x326bd5){const _0x33256d=a1_0x3d84;return _0x4409c4[_0x33256d(0x1e5)](_0x2b1d95,_0x326bd5);},'aQrcY':_0x4409c4[_0x2dcca3(0x220)]};try{await _0x59a8ab['apply'](this,arguments);}catch(_0xb0f49d){logger['debug']('Failed\x20to\x20execute\x20_before:\x20'+util[_0x2dcca3(0x20c)](_0xb0f49d));}scripts['commandsToWrap']['filter'](_0x4782ab=>_0x4782ab[_0x2dcca3(0x222)]&&_0x4782ab[_0x2dcca3(0x202)])[_0x2dcca3(0x234)](_0x3f2407=>{const _0x45549b=_0x2dcca3;this[_0x45549b(0x196)][_0x45549b(0x22c)](_0x3f2407[_0x45549b(0x222)],_0x57a564[_0x45549b(0x193)](this,_0x3f2407),_0x2760ac[_0x45549b(0x253)](_0x3f2407[_0x45549b(0x202)],_0x2760ac['aQrcY']));}),_0x4409c4[_0x2dcca3(0x1f1)](processWebDriverConfig,_0x5bde5e);};},patchPlaywrightBefore=()=>{const _0x5426aa=a1_0x41f5cb;PlaywrightSessionDetails[_0x5426aa(0x201)]();const _0x4fba3a=CodeceptPlaywright[_0x5426aa(0x1e2)][_0x5426aa(0x1a2)];CodeceptPlaywright['prototype'][_0x5426aa(0x1a2)]=async function(){const _0x25b92f=_0x5426aa;this[_0x25b92f(0x208)]=await this[_0x25b92f(0x196)][_0x25b92f(0x204)]()[0x0],await _0x4fba3a[_0x25b92f(0x19c)](this,arguments);};},getCodeceptDriver=()=>{const _0x37ae9f=a1_0x41f5cb,_0x324272={};_0x324272[_0x37ae9f(0x24c)]='WebDriver',_0x324272[_0x37ae9f(0x1a9)]='Playwright',_0x324272[_0x37ae9f(0x189)]='Puppeteer',_0x324272[_0x37ae9f(0x199)]=_0x37ae9f(0x1bb);const _0xbd3596=_0x324272,_0x40a575=[_0xbd3596['PEMVE'],_0xbd3596[_0x37ae9f(0x1a9)],_0xbd3596[_0x37ae9f(0x189)],_0xbd3596[_0x37ae9f(0x199)]],_0xfda84c=_0x40a575[_0x37ae9f(0x212)](_0x44fd40=>!!CodeceptJS[_0x37ae9f(0x1f3)]['helpers'](_0x44fd40));if(!_0xfda84c)return null;return CodeceptJS[_0x37ae9f(0x1f3)][_0x37ae9f(0x194)](_0xfda84c);};function a1_0x2bd9(){const _0x2dbb2c=['nQDbL','../../helpers/performance/constants','UKKkI','SDK_PRE_INITIALIZE','getResultsSummary','bddStep-after','fireEvent','gagNQ','VlQrB','../../helpers/accessibility-automation/helper','../../helpers/testhub/constants.js','SYNC','after','BROWSERSTACK_TESTHUB_JWT','CikMr','ctx','container','9tbRllK','addRequestSpy','UBNew','tZepk','186981MOjMhT','BS_TESTOPS_ALLOW_SCREENSHOTS','winstonLogger','warn','1392162AlGYfX','avZqa','bddStep','dispatcher','step','patch','class','2377551bPlTaH','contexts','screenshotOutputFolder','titlePath','toString','browserContext','codeceptjs/lib/helper/Playwright.js','frXmE','../../helpers/request-spy','format','measureWrapper','ZTLiC','currentTest','wpzTq','then','find','SESSION_NAME','event','304HXOsYk','SDK_HOOK','restore','patchSaveScreenshot','failed','slice','../../helpers/test-observability/utils','initSaveScreenshot','test-passed','action','accessibilityPlatform','jQEjr','BROWSERSTACK_TESTHUB_UUID','name','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','KlqsI','151137mZioNl','step-comment','Element','392722ImixjD','browserstackTestName','4322045Pzinij','call','overwriteCommand','performScan','NwsiY','zwnIJ','title','zbMHp','saveScreenshot','ghlXL','forEach','lqzXL','../../bin/playwright/sessionDetails','./o11yHelper','before','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','gucMX','lxklr','nqkOH','Hqdip','codeceptjs','all','dqnlk','arguments','../../helpers/globals.js','SESSION_STATUS','comment','pid','12PfAFAw','executeScript','TEST_RUN_STARTED','yzsqi','test-after','status','PEMVE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','146345DBfJpZ','constructor','zgYIn','hook','ikBft','tRtRN','saveTestResults','tQWTo','enabled','Suite','__workerDetails','bddStep-before','test-before','TEST_RUN_SKIPPED','../../helpers/helper','setGlobal','nzaso','TEST_RUN_FINISHED','../../bin/playwright/accessibility-helper','end','pkKQc','getAccessibilityResultsSummary','start','qpEjz','shouldWrapCommand','captureError','toISOString','PERFORM_SCAN','pHWpZ','browserStackExecuteDriver','bind','helpers','kOJtV','browser','mAGBR','stringify','jfKFC','catch','passed','apply','rAZQi','captureEvent','../../helpers/logger','jYOJn','ijtpY','_before','YuMLI','debug','hook-failed','TEST_SCREENSHOT','ENV_VAR','bstackAllyScanning','yWYAp','suCKp','SDK_POST_TEST','Performing\x20scan\x20for\x20','getResults','wSKkO','oDclA','LlxJW','Playwright','base64','Klqna','snBUw','hook-passed','SDK_TEST','hookType','bddStepStart','browserstack_executor:\x20','Yppsp','TestCafe','lMJSo','skipSessionStatus','__driver','HdCtK','test-failed','HOOK_RUN_STARTED','setSessionStatus','add','getSyncScript','afterTest','bs:addLog:','CUlyM','elksR','SDK_POST_INITIALIZE','../../helpers/performance/performance-tester','info','HOOK_RUN_FINISHED','SDK_PRE_TEST','stopMonitoring','command','codeceptjs/lib/index.js','30wySbDW','mDelD','wDlCw','oSgSj','baWFb','stop','test','FFXmS','emit','zzkJz','codeceptjs/lib/helper/WebDriver.js','env','thBuildUuid','SAVE_RESULTS','JiTyW','JVvon','rRkHC','prototype'];a1_0x2bd9=function(){return _0x2dbb2c;};return a1_0x2bd9();}module['exports']=function(_0x4f9d46){const _0x120834=a1_0x41f5cb,_0x729aa5={'nzaso':function(_0x554ef5){return _0x554ef5();},'lMJSo':function(_0x2e6857,_0x46a858){return _0x2e6857(_0x46a858);},'pHWpZ':_0x120834(0x18a),'YuMLI':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','snBUw':'getAccessibilityResults','yzsqi':_0x120834(0x24d),'Hqdip':'hook-started','Jzlpr':_0x120834(0x1b5),'JVvon':_0x120834(0x1a5),'NwsiY':_0x120834(0x229),'Yppsp':_0x120834(0x25a),'suCKp':function(_0x467634){return _0x467634();},'VlQrB':function(_0x1b4a95,_0x598a8e){return _0x1b4a95(_0x598a8e);},'lxklr':function(_0x328b99,_0x5e4efb,_0x16795c){return _0x328b99(_0x5e4efb,_0x16795c);},'UBNew':'test-started','HdCtK':function(_0x1ce1f1,_0x50291c,_0x2c51a7){return _0x1ce1f1(_0x50291c,_0x2c51a7);},'elksR':_0x120834(0x21d),'ijtpY':function(_0x3d2110){return _0x3d2110();},'qpEjz':function(_0x43e515,_0x1cccb4,_0x4251ed,_0x432a03){return _0x43e515(_0x1cccb4,_0x4251ed,_0x432a03);},'dqnlk':function(_0x79694e,_0x438398){return _0x79694e===_0x438398;},'YRDYK':_0x120834(0x257),'zgYIn':_0x120834(0x1c0),'JiTyW':'test-skipped','FFXmS':_0x120834(0x1c5),'ikBft':function(_0x4eca58){return _0x4eca58();},'lqzXL':function(_0x1c9e3e,_0x2d8328,_0x8ea988){return _0x1c9e3e(_0x2d8328,_0x8ea988);},'ghlXL':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','rAZQi':_0x120834(0x24a),'jYOJn':'INFO','LjkXd':'TEST_LOG','Klqna':_0x120834(0x226),'mAGBR':_0x120834(0x259),'rOPYP':_0x120834(0x1e8),'zbMHp':_0x120834(0x1b1)};_0x4f9d46['skipSessionStatus']&&(global['__skipSessionStatus']=_0x4f9d46[_0x120834(0x1bd)]);PerformanceTester['startMonitoring']();const _0x4557a1=_0x729aa5[_0x120834(0x1a1)](getCodeceptDriver),_0x5ef138=new O11yHelper(_0x4557a1,_0x4f9d46),_0xe58727=!!CodeceptJS[_0x120834(0x1f3)][_0x120834(0x194)](_0x729aa5[_0x120834(0x231)]);global[_0x120834(0x1be)]=_0x4557a1,_0x4557a1&&(PerformanceTester[_0x120834(0x20d)](PerformanceEvents[_0x120834(0x1e6)],()=>{const _0x5c9e82=_0x120834;_0xe58727?_0x729aa5[_0x5c9e82(0x185)](patchPlaywrightBefore):_0x729aa5[_0x5c9e82(0x1bc)](patchWebDriverBefore,_0x4557a1);})(),PerformanceTester[_0x120834(0x20d)](PerformanceEvents[_0x120834(0x1c9)],()=>{const _0x105a03=_0x120834,_0x2dc70d={};_0x2dc70d['wSKkO']=_0x729aa5[_0x105a03(0x1b4)],_0x2dc70d[_0x105a03(0x195)]=_0x729aa5[_0x105a03(0x249)];const _0x5826dd=_0x2dc70d;_0x4557a1['getAccessibilityResultsSummary']=async()=>{const _0x19551e=_0x105a03;if(global[_0x19551e(0x21f)]){const _0x1963a0={};_0x1963a0[_0x19551e(0x1cf)]=_0x729aa5[_0x19551e(0x191)],await PerformanceTester[_0x19551e(0x20d)](PerformanceA11yEvents[_0x19551e(0x190)],async()=>{const _0x38f3bb=_0x19551e;await AccessibilityHelper['browserStackExecuteDriver'](_0x4557a1,scripts[_0x38f3bb(0x22d)]);},_0x1963a0)(),await PerformanceTester[_0x19551e(0x20d)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x3ac830=_0x19551e;await AccessibilityHelper[_0x3ac830(0x192)](_0x4557a1,scripts[_0x3ac830(0x1e7)]);})();}else return logger[_0x19551e(0x1fb)](_0x729aa5[_0x19551e(0x1a3)]),{};},_0x4557a1['getAccessibilityResults']=async()=>{const _0x3993e9=_0x105a03;if(global['accessibilityPlatform']){const _0x21c87b={};_0x21c87b[_0x3993e9(0x1cf)]=_0x5826dd[_0x3993e9(0x1ae)],await PerformanceTester[_0x3993e9(0x20d)](PerformanceA11yEvents[_0x3993e9(0x190)],async()=>{const _0x4eb26d=_0x3993e9;await AccessibilityHelper[_0x4eb26d(0x192)](_0x4557a1,scripts[_0x4eb26d(0x22d)]);},_0x21c87b)(),await PerformanceTester[_0x3993e9(0x20d)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x21e644=_0x3993e9;await AccessibilityHelper['browserStackExecuteDriver'](_0x4557a1,scripts[_0x21e644(0x1ad)]);})();}else return logger['warn'](_0x5826dd[_0x3993e9(0x195)]),{};},_0x729aa5[_0x105a03(0x1bc)](patchSaveScreenshot,_0x4557a1);})()),CodeceptJS['event'][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)]['all'][_0x120834(0x238)],()=>{const _0x576d86=_0x120834;PerformanceTester[_0x576d86(0x18b)](PerformanceEvents[_0x576d86(0x1cd)]);try{_0x5ef138[_0x576d86(0x18b)](),testOpsHelper[_0x576d86(0x1f5)](),PerformanceTester[_0x576d86(0x188)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x273f26){PerformanceTester[_0x576d86(0x18e)](_0x273f26),PerformanceTester['end'](PerformanceEvents[_0x576d86(0x1cd)],![],_0x273f26);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x23f)]['after'],async()=>{const _0x100617=_0x120834;PerformanceTester[_0x100617(0x18b)](PerformanceEvents[_0x100617(0x1ab)]);try{requestSpy[_0x100617(0x217)](),await _0x5ef138[_0x100617(0x1d6)](),PerformanceTester['end'](PerformanceEvents[_0x100617(0x1ab)]);}catch(_0x319cda){PerformanceTester[_0x100617(0x18e)](_0x319cda),PerformanceTester[_0x100617(0x188)](PerformanceEvents[_0x100617(0x1ab)],![],_0x319cda);}finally{PerformanceTester[_0x100617(0x1ce)]();}}),CodeceptJS[_0x120834(0x214)]['dispatcher']['on'](CodeceptJS[_0x120834(0x214)]['hook']['started'],_0x3b715a=>{const _0x83ee47=_0x120834;PerformanceTester[_0x83ee47(0x18b)](PerformanceEvents['SDK_HOOK']);try{const _0x557343=_0x3b715a[_0x83ee47(0x1f2)][_0x83ee47(0x1d7)],_0x332b3a=_0x5ef138[_0x83ee47(0x19e)](TEST_EVENTS[_0x83ee47(0x1c1)],_0x557343);CodeceptRecorder[_0x83ee47(0x1c3)](()=>_0x5ef138[_0x83ee47(0x1e9)](TEST_EVENTS[_0x83ee47(0x1c1)],_0x332b3a));const _0x2424b4={};_0x2424b4[_0x83ee47(0x1b7)]=_0x729aa5[_0x83ee47(0x23d)],PerformanceTester[_0x83ee47(0x188)](PerformanceEvents['SDK_HOOK'],!![],null,_0x2424b4);}catch(_0x70c3f4){const _0x42fb79={};_0x42fb79[_0x83ee47(0x1b7)]=_0x729aa5[_0x83ee47(0x23d)],PerformanceTester[_0x83ee47(0x188)](PerformanceEvents[_0x83ee47(0x216)],![],_0x70c3f4,_0x42fb79),PerformanceTester[_0x83ee47(0x18e)](_0x70c3f4);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x251)]['passed'],_0x5cc9fc=>{const _0x134a0d=_0x120834,_0x45157c={};_0x45157c[_0x134a0d(0x1b7)]=_0x729aa5['Jzlpr'],PerformanceTester[_0x134a0d(0x18b)](PerformanceHookEvents[_0x134a0d(0x216)],!![],null,_0x45157c);try{const _0x4a7cc0=_0x5cc9fc[_0x134a0d(0x1f2)]['test'],_0x1edd3e=_0x5ef138[_0x134a0d(0x19e)](TEST_EVENTS[_0x134a0d(0x1cc)],_0x4a7cc0);CodeceptRecorder[_0x134a0d(0x1c3)](()=>_0x5ef138[_0x134a0d(0x1e9)](TEST_EVENTS[_0x134a0d(0x1cc)],_0x1edd3e));const _0x3aede2={};_0x3aede2[_0x134a0d(0x1b7)]=_0x729aa5['Jzlpr'],PerformanceTester[_0x134a0d(0x188)](PerformanceHookEvents[_0x134a0d(0x216)],!![],null,_0x3aede2);}catch(_0x4fa555){PerformanceTester[_0x134a0d(0x18e)](_0x4fa555);const _0x1447ca={};_0x1447ca[_0x134a0d(0x1b7)]=_0x729aa5['Jzlpr'],PerformanceTester[_0x134a0d(0x188)](PerformanceHookEvents[_0x134a0d(0x216)],![],_0x4fa555,_0x1447ca);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x251)][_0x120834(0x219)],async(_0x1f2728,_0xf0cf53)=>{const _0x4f8c22=_0x120834;PerformanceTester[_0x4f8c22(0x18b)](PerformanceHookEvents['SDK_HOOK']);try{const _0xe37cd6=_0x1f2728[_0x4f8c22(0x1f2)][_0x4f8c22(0x1d7)],_0x1b1f5e=_0x5ef138[_0x4f8c22(0x19e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0xe37cd6,_0xf0cf53);CodeceptRecorder['add'](()=>_0x5ef138['fireEvent'](TEST_EVENTS[_0x4f8c22(0x1cc)],_0x1b1f5e));const _0x525bd3={};_0x525bd3[_0x4f8c22(0x1b7)]=_0x729aa5[_0x4f8c22(0x1e0)],PerformanceTester[_0x4f8c22(0x18b)](PerformanceHookEvents[_0x4f8c22(0x216)],!![],null,_0x525bd3);}catch(_0x398d3b){PerformanceTester[_0x4f8c22(0x18e)](_0x398d3b);const _0x2a48e1={};_0x2a48e1[_0x4f8c22(0x1b7)]=_0x729aa5['JVvon'],PerformanceTester[_0x4f8c22(0x188)](PerformanceHookEvents[_0x4f8c22(0x216)],![],_0x398d3b,_0x2a48e1);}const _0x5145a9={};_0x5145a9['hookType']=_0x729aa5['JVvon'],PerformanceTester[_0x4f8c22(0x188)](PerformanceHookEvents[_0x4f8c22(0x216)],!![],null,_0x5145a9);}),CodeceptJS['event'][_0x120834(0x1ff)]['on'](CodeceptJS['event']['test'][_0x120834(0x238)],_0x518c25=>{const _0xf839b4=_0x120834;PerformanceTester[_0xf839b4(0x18b)](PerformanceHookEvents[_0xf839b4(0x216)]);try{globals[_0xf839b4(0x184)](_0x729aa5['NwsiY'],_0x518c25['title']);_0x729aa5['nzaso'](isBrowserstackInfra)&&(_0xe58727&&(global[_0xf839b4(0x258)]={'currentTest':{'name':_0x518c25['title'],'testInfo':{'titlePath':_0x518c25[_0xf839b4(0x206)]()}}}));const _0x4c1ec3={};_0x4c1ec3[_0xf839b4(0x1b7)]=_0x729aa5[_0xf839b4(0x1ba)],PerformanceTester[_0xf839b4(0x188)](PerformanceHookEvents[_0xf839b4(0x216)],!![],null,_0x4c1ec3);}catch(_0x498fde){PerformanceTester['captureError'](_0x498fde);const _0x594b98={};_0x594b98[_0xf839b4(0x1b7)]=_0x729aa5[_0xf839b4(0x1ba)],PerformanceTester[_0xf839b4(0x188)](PerformanceHookEvents['SDK_HOOK'],![],_0x498fde,_0x594b98);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x1d7)]['started'],_0x222ce4=>{const _0x23d184=_0x120834,_0xf5e350={'VyTnr':function(_0xab0acd){const _0x4ae9e6=a1_0x3d84;return _0x729aa5[_0x4ae9e6(0x1aa)](_0xab0acd);},'LlxJW':function(_0x20cced,_0x2bc36b){const _0x2eaab3=a1_0x3d84;return _0x729aa5[_0x2eaab3(0x1eb)](_0x20cced,_0x2bc36b);},'tZepk':function(_0x42e50a,_0x204ac5,_0xf6c268){const _0x3e1497=a1_0x3d84;return _0x729aa5[_0x3e1497(0x23b)](_0x42e50a,_0x204ac5,_0xf6c268);}};PerformanceTester[_0x23d184(0x18b)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x23d184(0x184)](_0x729aa5[_0x23d184(0x22e)],_0x222ce4[_0x23d184(0x230)]);const _0x87f256=_0x5ef138['captureEvent'](TEST_EVENTS[_0x23d184(0x248)],_0x222ce4);CodeceptRecorder[_0x23d184(0x1c3)](()=>_0x5ef138[_0x23d184(0x1e9)](TEST_EVENTS[_0x23d184(0x248)],_0x87f256)),CodeceptRecorder[_0x23d184(0x1c3)](async()=>{const _0x48a5f6=_0x23d184;_0xf5e350['VyTnr'](isBrowserstackInfra)&&(!_0xf5e350['LlxJW'](isTrue,_0x4f9d46['skipSessionName'])&&await _0xf5e350[_0x48a5f6(0x1f7)](markSessionName,_0x4557a1,_0x222ce4[_0x48a5f6(0x230)]),_0x5ef138[_0x48a5f6(0x256)]&&await _0xf5e350[_0x48a5f6(0x1b0)](o11ySync,_0x4557a1));});}catch(_0xde0612){const _0x5b18b1={};_0x5b18b1[_0x23d184(0x1b7)]=_0x729aa5['UBNew'],PerformanceTester[_0x23d184(0x188)](PerformanceHookEvents[_0x23d184(0x216)],![],_0xde0612,_0x5b18b1),PerformanceTester[_0x23d184(0x18e)](_0xde0612);}const _0x19cf74={};_0x19cf74[_0x23d184(0x1b7)]=_0x729aa5[_0x23d184(0x1f6)],PerformanceTester[_0x23d184(0x188)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x19cf74);}),CodeceptJS[_0x120834(0x214)]['dispatcher']['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x1d7)][_0x120834(0x19b)],_0x4caedd=>{const _0x44c5b6=_0x120834,_0x2bb0ce={'mDelD':function(_0x114a60,_0x256839,_0x13de83){const _0x45762c=a1_0x3d84;return _0x729aa5[_0x45762c(0x1bf)](_0x114a60,_0x256839,_0x13de83);},'zwnIJ':function(_0x25d083){const _0x148d7d=a1_0x3d84;return _0x729aa5[_0x148d7d(0x1aa)](_0x25d083);}};PerformanceTester[_0x44c5b6(0x18b)](PerformanceHookEvents[_0x44c5b6(0x216)]);try{const _0x377a94=_0x5ef138[_0x44c5b6(0x19e)](TEST_EVENTS[_0x44c5b6(0x186)],_0x4caedd);CodeceptRecorder[_0x44c5b6(0x1c3)](()=>_0x5ef138[_0x44c5b6(0x1e9)](TEST_EVENTS[_0x44c5b6(0x186)],_0x377a94)),CodeceptRecorder[_0x44c5b6(0x1c3)](async()=>{const _0xaede2a=_0x44c5b6,_0xb82306={'gucMX':function(_0x37d50a,_0x5f1c76,_0x50de22){const _0x3bdde9=a1_0x3d84;return _0x2bb0ce[_0x3bdde9(0x1d2)](_0x37d50a,_0x5f1c76,_0x50de22);},'nQDbL':function(_0x49f257,_0x3d8d7c,_0xcc4c50){const _0x1c3b88=a1_0x3d84;return _0x2bb0ce[_0x1c3b88(0x1d2)](_0x49f257,_0x3d8d7c,_0xcc4c50);}};_0x2bb0ce[_0xaede2a(0x22f)](isBrowserstackInfra)&&await PerformanceTester[_0xaede2a(0x20d)](PerformanceAutEvents[_0xaede2a(0x243)],async()=>{const _0x550dc5=_0xaede2a;_0xe58727?await _0xb82306[_0x550dc5(0x23a)](playwrightMarkSessionStatus,_0x4557a1,STATE_PASSED):await _0xb82306[_0x550dc5(0x1e3)](markSessionStatus,_0x4557a1,STATE_PASSED);})();}),PerformanceTester[_0x44c5b6(0x188)](PerformanceEvents[_0x44c5b6(0x1b6)]);}catch(_0x378e99){PerformanceTester[_0x44c5b6(0x18e)](_0x378e99);const _0x332622={};_0x332622[_0x44c5b6(0x1b7)]=_0x729aa5[_0x44c5b6(0x1c8)],PerformanceTester[_0x44c5b6(0x188)](PerformanceHookEvents[_0x44c5b6(0x216)],![],_0x378e99,_0x332622),PerformanceTester[_0x44c5b6(0x188)](PerformanceEvents[_0x44c5b6(0x1b6)],![],_0x378e99);}const _0xeda7e={};_0xeda7e['hookType']=_0x729aa5[_0x44c5b6(0x1c8)],PerformanceTester[_0x44c5b6(0x188)](PerformanceHookEvents[_0x44c5b6(0x216)],!![],null,_0xeda7e);}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)]['test'][_0x120834(0x219)],(_0x2658bd,_0x288a85)=>{const _0x13c6cf=_0x120834;PerformanceTester[_0x13c6cf(0x18b)](PerformanceHookEvents[_0x13c6cf(0x216)]);try{if(_0x729aa5[_0x13c6cf(0x240)](_0x2658bd[_0x13c6cf(0x24f)]['name'],_0x729aa5['YRDYK'])){const _0x52aeaf=_0x5ef138[_0x13c6cf(0x19e)](TEST_EVENTS[_0x13c6cf(0x25b)],_0x2658bd[_0x13c6cf(0x1f2)][_0x13c6cf(0x20f)]);CodeceptRecorder[_0x13c6cf(0x1c3)](()=>_0x5ef138['fireEvent'](TEST_EVENTS[_0x13c6cf(0x25b)],_0x52aeaf));}else{const _0x1cef8c=_0x5ef138[_0x13c6cf(0x19e)](TEST_EVENTS[_0x13c6cf(0x186)],_0x2658bd,_0x288a85);CodeceptRecorder[_0x13c6cf(0x1c3)](()=>{const _0x1db301=_0x13c6cf;try{_0x5ef138[_0x1db301(0x1e9)](TEST_EVENTS[_0x1db301(0x186)],_0x1cef8c);}catch(_0x16efbe){logger[_0x1db301(0x1a4)](_0x1db301(0x239)+util[_0x1db301(0x20c)](_0x16efbe)),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x16efbe);}}),CodeceptRecorder['add'](async()=>{const _0x593f9f=_0x13c6cf;try{_0x729aa5[_0x593f9f(0x1a1)](isBrowserstackInfra)&&(_0xe58727?await _0x729aa5['qpEjz'](playwrightMarkSessionStatus,_0x4557a1,STATE_FAILED,_0x288a85):await _0x729aa5[_0x593f9f(0x18c)](markSessionStatus,_0x4557a1,STATE_FAILED,_0x288a85));}catch(_0x9d53ec){logger[_0x593f9f(0x1a4)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util['format'](_0x9d53ec)),PerformanceTester[_0x593f9f(0x188)](PerformanceEvents['SDK_TEST'],![],_0x9d53ec);}});}PerformanceTester['end'](PerformanceEvents[_0x13c6cf(0x1b6)]);}catch(_0xa4895d){PerformanceTester['captureError'](_0xa4895d);const _0x1860e0={};_0x1860e0[_0x13c6cf(0x1b7)]=_0x729aa5[_0x13c6cf(0x250)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0xa4895d,_0x1860e0),PerformanceTester[_0x13c6cf(0x188)](PerformanceEvents[_0x13c6cf(0x1b6)],![],_0xa4895d);}const _0x243b12={};_0x243b12['hookType']=_0x729aa5[_0x13c6cf(0x250)],PerformanceTester['end'](PerformanceHookEvents[_0x13c6cf(0x216)],!![],null,_0x243b12);}),CodeceptJS['event'][_0x120834(0x1ff)]['on'](CodeceptJS['event'][_0x120834(0x1d7)]['skipped'],_0x38bc03=>{const _0xf7f238=_0x120834;PerformanceTester[_0xf7f238(0x18b)](PerformanceHookEvents[_0xf7f238(0x216)]);try{const _0x3245dd=_0x5ef138[_0xf7f238(0x19e)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x38bc03);CodeceptRecorder[_0xf7f238(0x1c3)](()=>_0x5ef138[_0xf7f238(0x1e9)](TEST_EVENTS[_0xf7f238(0x25b)],_0x3245dd)),PerformanceTester[_0xf7f238(0x188)](PerformanceEvents['SDK_TEST']);}catch(_0x4b0c70){PerformanceTester[_0xf7f238(0x18e)](_0x4b0c70),PerformanceTester[_0xf7f238(0x188)](PerformanceEvents[_0xf7f238(0x1b6)],![],_0x4b0c70);const _0x17f36f={};_0x17f36f[_0xf7f238(0x1b7)]=_0x729aa5[_0xf7f238(0x1df)],PerformanceTester[_0xf7f238(0x188)](PerformanceHookEvents['SDK_HOOK'],![],_0x4b0c70,_0x17f36f);}const _0x324f34={};_0x324f34[_0xf7f238(0x1b7)]=_0x729aa5[_0xf7f238(0x1df)],PerformanceTester[_0xf7f238(0x188)](PerformanceHookEvents[_0xf7f238(0x216)],!![],null,_0x324f34);}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x1d7)]['after'],async(_0x5bfadb,_0x1add2f)=>{const _0x75c93c=_0x120834,_0x57862c={};_0x57862c[_0x75c93c(0x23c)]=_0x729aa5[_0x75c93c(0x1d8)];const _0x59d567=_0x57862c;try{PerformanceTester[_0x75c93c(0x18b)](PerformanceHookEvents[_0x75c93c(0x216)]);if(_0x729aa5[_0x75c93c(0x252)](isBrowserstackInfra)){const _0x58b419=_0x729aa5[_0x75c93c(0x235)](shouldScanTestForAccessibility,_0x5bfadb[_0x75c93c(0x206)](),!![]);if(_0x729aa5['nzaso'](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x58b419){const _0x29e1b7={};_0x29e1b7['thTestRunUuid']=_0x5bfadb['testAnalyticsId'],_0x29e1b7[_0x75c93c(0x1dd)]=process[_0x75c93c(0x1dc)][testHubConstants[_0x75c93c(0x1a7)][_0x75c93c(0x221)]],_0x29e1b7['thJwtToken']=process['env'][testHubConstants[_0x75c93c(0x1a7)][_0x75c93c(0x1f0)]];const _0x57a4c2=_0x29e1b7;logger[_0x75c93c(0x1a4)](_0x75c93c(0x223)+JSON[_0x75c93c(0x198)](_0x57a4c2)),CodeceptRecorder['add'](async()=>{const _0xe77aa5=_0x75c93c,_0x120e2c={};_0x120e2c[_0xe77aa5(0x1cf)]=_0x59d567[_0xe77aa5(0x23c)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xe77aa5(0x190)],async()=>{const _0x37d502=_0xe77aa5;await AccessibilityHelper['browserStackExecuteDriver'](_0x4557a1,scripts[_0x37d502(0x22d)]);},_0x120e2c)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xe77aa5(0x1de)],async()=>{const _0x407d43=_0xe77aa5;await AccessibilityHelper[_0x407d43(0x192)](_0x4557a1,scripts[_0x407d43(0x254)],_0x57a4c2);})();}),logger[_0x75c93c(0x1cb)](_0x729aa5[_0x75c93c(0x233)]);}}const _0x39c5dd={};_0x39c5dd[_0x75c93c(0x1b7)]=_0x729aa5[_0x75c93c(0x19d)],PerformanceTester[_0x75c93c(0x188)](PerformanceHookEvents[_0x75c93c(0x216)],!![],null,_0x39c5dd);}catch(_0x23e3f7){PerformanceTester[_0x75c93c(0x18e)](_0x23e3f7);const _0x4a92bd={};_0x4a92bd[_0x75c93c(0x1b7)]=_0x729aa5[_0x75c93c(0x19d)],PerformanceTester[_0x75c93c(0x188)](PerformanceHookEvents['SDK_HOOK'],![],_0x23e3f7,_0x4a92bd);}}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)][_0x120834(0x200)][_0x120834(0x244)],_0x5b987f=>{const _0xb3e559=_0x120834;PerformanceTester[_0xb3e559(0x18b)](PerformanceHookEvents[_0xb3e559(0x216)]);try{process[_0xb3e559(0x1d9)]('bs:addLog:'+process[_0xb3e559(0x245)],{'timestamp':new Date()[_0xb3e559(0x18f)](),'level':_0x729aa5[_0xb3e559(0x1a0)],'message':_0x5b987f,'kind':_0x729aa5['LjkXd'],'http_response':{}});}catch(_0x3445d9){PerformanceTester[_0xb3e559(0x18e)](_0x3445d9);const _0x18bfab={};_0x18bfab[_0xb3e559(0x1b7)]=_0x729aa5[_0xb3e559(0x1b3)],PerformanceTester[_0xb3e559(0x188)](PerformanceHookEvents[_0xb3e559(0x216)],![],_0x3445d9,_0x18bfab);}const _0x241e01={};_0x241e01['hookType']=_0x729aa5[_0xb3e559(0x1b3)],PerformanceTester['end'](PerformanceHookEvents[_0xb3e559(0x216)],!![],null,_0x241e01);}),CodeceptJS[_0x120834(0x214)][_0x120834(0x1ff)]['on'](CodeceptJS[_0x120834(0x214)]['bddStep'][_0x120834(0x238)],_0x5eeddf=>{const _0x4d0ff9=_0x120834,_0x4141bd={};_0x4141bd[_0x4d0ff9(0x1b7)]=_0x729aa5[_0x4d0ff9(0x197)],PerformanceTester[_0x4d0ff9(0x20d)](PerformanceHookEvents[_0x4d0ff9(0x216)],()=>{const _0x1fd61a=_0x4d0ff9;_0x5ef138[_0x1fd61a(0x1b8)](_0x5eeddf);},_0x4141bd)();}),CodeceptJS[_0x120834(0x214)]['dispatcher']['on'](CodeceptJS['event'][_0x120834(0x1fe)][_0x120834(0x1ef)],_0x631faf=>{const _0x2e72d1=_0x120834,_0x1e2143={};_0x1e2143['hookType']=_0x729aa5['rOPYP'],PerformanceTester[_0x2e72d1(0x20d)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x5ef138['bddStepFinish'](_0x631faf);},_0x1e2143)();});};
|
|
1
|
+
const a1_0x2f6dfd=a1_0x136c;(function(_0x34fc7f,_0x4b4515){const _0x155410=a1_0x136c,_0x1244d9=_0x34fc7f();while(!![]){try{const _0x44707d=parseInt(_0x155410(0x133))/0x1+parseInt(_0x155410(0x148))/0x2*(-parseInt(_0x155410(0x11b))/0x3)+parseInt(_0x155410(0xd4))/0x4+-parseInt(_0x155410(0x12f))/0x5*(parseInt(_0x155410(0x178))/0x6)+-parseInt(_0x155410(0xc0))/0x7*(-parseInt(_0x155410(0x15a))/0x8)+parseInt(_0x155410(0x14b))/0x9*(parseInt(_0x155410(0xd1))/0xa)+-parseInt(_0x155410(0xb9))/0xb;if(_0x44707d===_0x4b4515)break;else _0x1244d9['push'](_0x1244d9['shift']());}catch(_0x3b6914){_0x1244d9['push'](_0x1244d9['shift']());}}}(a1_0xfdbd,0xde105));function a1_0xfdbd(){const _0x3b959a=['ZZZsb','lXNZt','124716kJaZnp','testAnalyticsId','bddStep-before','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hook-failed','mnmjF','Suite','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SESSION_STATUS','JQPvc','stopMonitoring','../../helpers/testhub/constants.js','PJxeB','thJwtToken','pAjFE','gTUUi','screenshotOutputFolder','info','maBws','skipSessionName','210820LwlRvF','TYkVA','exports','saveTestResults','1793340ZoVfeb','thBuildUuid','class','name','codeceptjs/lib/helper/WebDriver.js','arguments','SDK_TEST','browserStackExecuteDriver','OMqzd','JrgYu','step','debug','test-passed','TEST_RUN_FINISHED','../../helpers/globals.js','initSaveScreenshot','format','afterTest','EmaFM','bBmts','BS_TESTOPS_ALLOW_SCREENSHOTS','26GdopLB','./helper.js','winstonLogger','18zRsASc','bddStep','command','HOOK_RUN_STARTED','_before','codeceptjs/lib/index.js','before','PERFORM_SCAN','SeqGC','status','enabled','event','Element','test-skipped','mXhDL','40rHdMZv','codeceptjs/lib/utils.js','browser','SDK_PRE_INITIALIZE','UAVnW','env','ctx','SESSION_NAME','captureError','Eqctt','Failed\x20to\x20execute\x20_before:\x20','ZRoSv','OTjet','dispatcher','captureEvent','catch','Erxcf','BROWSERSTACK_TESTHUB_JWT','saveScreenshot','hookType','browserContext','../../helpers/test-observability/utils','bddStepFinish','hook','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','start','titlePath','BROWSERSTACK_TESTHUB_UUID','toString','reason','120nKnSep','AlwIq','Performing\x20scan\x20for\x20','startMonitoring','prototype','SDK_POST_INITIALIZE','lbGji','SDK_POST_TEST','setSessionName','test','hKqJw','toISOString','getAccessibilityResultsSummary','apply','helpers','QEkti','restore','constructor','RJbSp','commandsToWrap','28668442YnNzYz','end','measureWrapper','filter','accessibilityPlatform','codeceptjs/lib/helper/Playwright.js','TestCafe','967617Wuhyti','forEach','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','HckBA','bind','ShcXi','emit','Iqqba','pid','gcHug','FGwwN','patchSaveScreenshot','../../bin/playwright/accessibility-helper','INFO','passed','SDK_PRE_TEST','dESAY','6126940TsIVxL','TEST_RUN_SKIPPED','NPlnc','4758512KRphoN','GET_RESULTS_SUMMARY','test-failed','bstackAllyScanning','getSyncScript','TEST_RUN_STARTED','overwriteCommand','comment','NJlmA','failed','bddStep-after','__driver','gDLLM','container','EhusP','Puppeteer','after','Playwright','bs:addLog:','executeScript','ENV_VAR','skipSessionStatus','stop','RGPTK','../../helpers/accessibility-automation/scripts','../../helpers/helper','SYNC','action','test-after','title','getAccessibilityResults','LvSei','warn','setGlobal','browserstack_executor:\x20','HOOK_RUN_FINISHED','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bDxfn','SAVE_RESULTS','tLfVS','WebDriver','slDMB','performScan','SDK_HOOK','codeceptjs','../../helpers/request-spy','ULdGw','eMlDR','all','__workerDetails','pKRhP','contexts','started','stringify','../../helpers/performance/constants','DkVus','uifmF','UTJhz','base64','util','addRequestSpy','fireEvent','currentTest','add','test-before','__skipSessionStatus','LbgLj','call','codeceptjs/lib/recorder.js'];a1_0xfdbd=function(){return _0x3b959a;};return a1_0xfdbd();}const fs=require('fs'),util=require(a1_0x2f6dfd(0x10f)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2f6dfd(0xed)),logger=require('../../helpers/logger')[a1_0x2f6dfd(0x14a)],testOpsHelper=require(a1_0x2f6dfd(0x16f)),requestSpy=require(a1_0x2f6dfd(0x101)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x2f6dfd(0xcc)),scripts=require(a1_0x2f6dfd(0xec)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2f6dfd(0x10a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2f6dfd(0x149)),testHubConstants=require(a1_0x2f6dfd(0x126)),globals=require(a1_0x2f6dfd(0x141)),CodeceptJS=requireModule(a1_0x2f6dfd(0x150),a1_0x2f6dfd(0x100)),CodeceptUtils=requireModule(a1_0x2f6dfd(0x15b),a1_0x2f6dfd(0x100)),CodeceptWebDriver=requireModule(a1_0x2f6dfd(0x137),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x2f6dfd(0x118),a1_0x2f6dfd(0x100)),CodeceptPlaywright=requireModule(a1_0x2f6dfd(0xbe),'codeceptjs'),playwrightMarkSessionStatus=(_0x4b47d6,_0x35ee43,_0x46d51d)=>{const _0x127bf5=a1_0x2f6dfd,_0x581827={'HckBA':'setSessionStatus','clpmU':function(_0x59efe4,_0x41d465){return _0x59efe4(_0x41d465);}},_0x124d01={};_0x124d01[_0x127bf5(0x154)]=_0x35ee43;const _0x5461a4={};_0x5461a4[_0x127bf5(0xef)]=_0x581827[_0x127bf5(0xc3)],_0x5461a4[_0x127bf5(0x138)]=_0x124d01;const _0x1518fd=_0x5461a4;return!_0x581827['clpmU'](isUndefined,_0x46d51d)&&(_0x1518fd['arguments'][_0x127bf5(0x177)]=JSON[_0x127bf5(0x109)](_0x46d51d)),_0x4b47d6[_0x127bf5(0xe7)](()=>{},_0x127bf5(0xf6)+JSON['stringify'](_0x1518fd));},o11ySync=PerformanceTester[a1_0x2f6dfd(0xbb)](PerformanceO11yEvents[a1_0x2f6dfd(0xee)],async _0x4cb9de=>{const _0x35777d=a1_0x2f6dfd,_0x185366={};_0x185366[_0x35777d(0x127)]=function(_0x3341e1,_0x2c1afb){return _0x3341e1===_0x2c1afb;},_0x185366[_0x35777d(0xd3)]=_0x35777d(0xe5);const _0x354abc=_0x185366;_0x354abc[_0x35777d(0x127)](_0x4cb9de[_0x35777d(0xb6)][_0x35777d(0x136)],_0x354abc[_0x35777d(0xd3)])?await _0x4cb9de[_0x35777d(0xe7)](_0x586220=>{},testOpsHelper[_0x35777d(0xd8)]()):await _0x4cb9de[_0x35777d(0xe7)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x2f6dfd(0xbb)](PerformanceAutEvents[a1_0x2f6dfd(0x161)],async(_0x1803be,_0x43836f)=>{const _0x6a0db4=a1_0x2f6dfd,_0x46fddb={};_0x46fddb[_0x6a0db4(0x16a)]=_0x6a0db4(0x180),_0x46fddb['hzKLO']=function(_0x460d6c,_0x368e59){return _0x460d6c===_0x368e59;},_0x46fddb[_0x6a0db4(0xf9)]=_0x6a0db4(0xe5);const _0x29adfe=_0x46fddb,_0x587eb8={};_0x587eb8['name']=_0x43836f;const _0x32a81a={};_0x32a81a[_0x6a0db4(0xef)]=_0x29adfe[_0x6a0db4(0x16a)],_0x32a81a[_0x6a0db4(0x138)]=_0x587eb8;const _0x223fa5=_0x32a81a;_0x29adfe['hzKLO'](_0x1803be['constructor'][_0x6a0db4(0x136)],_0x29adfe[_0x6a0db4(0xf9)])?await _0x1803be['executeScript'](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x223fa5)):await _0x1803be[_0x6a0db4(0xe7)](_0x6a0db4(0xf6)+JSON[_0x6a0db4(0x109)](_0x223fa5));}),patchSaveScreenshot=_0x56996c=>{const _0x243847=a1_0x2f6dfd,_0x1f1b57={'Iqqba':_0x243847(0x10e),'OrWgP':'TEST_SCREENSHOT','pAjFE':function(_0x549c37){return _0x549c37();},'geUkN':function(_0x385c69,_0x5b257b){return _0x385c69(_0x5b257b);}};_0x1f1b57['geUkN'](isTrue,process[_0x243847(0x15f)][_0x243847(0x147)])&&!_0x56996c[_0x243847(0xcb)]&&(_0x56996c[_0x243847(0xcb)]=!![],_0x56996c['initSaveScreenshot']=_0x56996c[_0x243847(0x16c)],_0x56996c[_0x243847(0x16c)]=(_0x264d9b,_0x310199=![])=>{const _0x619259=_0x243847,_0x598864={'gDLLM':_0x1f1b57[_0x619259(0xc7)],'BsIMr':_0x1f1b57['OrWgP'],'JrgYu':function(_0x447c87){const _0x9c53ab=_0x619259;return _0x1f1b57[_0x9c53ab(0x129)](_0x447c87);}};return new Promise(function(_0x5ad69b,_0x3c4180){const _0x5c8bee=_0x619259,_0x44fcbb={'jyMxS':_0x598864[_0x5c8bee(0xe0)],'iTunq':_0x598864['BsIMr'],'IsVUt':function(_0x34a854){const _0x44f3ef=_0x5c8bee;return _0x598864[_0x44f3ef(0x13c)](_0x34a854);}};_0x56996c[_0x5c8bee(0x142)](_0x264d9b,_0x310199)['then'](()=>{const _0x5d37df=_0x5c8bee,_0x59c00b=CodeceptUtils[_0x5d37df(0x12b)](_0x264d9b),_0x55cf62=fs['readFileSync'](_0x59c00b);process[_0x5d37df(0xc6)](_0x5d37df(0xe6)+process[_0x5d37df(0xc8)],{'timestamp':new Date()[_0x5d37df(0xb0)](),'message':_0x55cf62[_0x5d37df(0x176)](_0x44fcbb['jyMxS']),'kind':_0x44fcbb['iTunq']}),_0x44fcbb['IsVUt'](_0x5ad69b);})[_0x5c8bee(0x169)](()=>null);});});},patchWebDriverBefore=_0x36c2a5=>{const _0x1674de=a1_0x2f6dfd,_0x567433={'PVZvg':function(_0x37d744){return _0x37d744();},'lbGji':function(_0x54f65c,_0x36a76e){return _0x54f65c(_0x36a76e);},'nRbig':function(_0x2b5908,_0x46a5d5){return _0x2b5908===_0x46a5d5;},'AnZqE':_0x1674de(0x157)},_0x4c5138=async function(_0x53cb3c,_0x1aa4de){const _0x17d0b2=_0x1674de;return _0x567433['PVZvg'](isAccessibilityAutomationSession)&&!global[_0x17d0b2(0xd7)]&&global[_0x17d0b2(0xbd)]&&scripts['shouldWrapCommand'](_0x53cb3c['name'])&&_0x567433['lbGji'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x17d0b2(0xd7)]=!![],await PerformanceTester[_0x17d0b2(0xbb)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1ff1b3=_0x17d0b2;logger[_0x1ff1b3(0x13e)](_0x1ff1b3(0x17a)+_0x53cb3c[_0x1ff1b3(0x135)]+'\x20'+_0x53cb3c[_0x1ff1b3(0x136)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x36c2a5,scripts[_0x1ff1b3(0xfe)]);},{'command':_0x53cb3c[_0x17d0b2(0x136)]})()),global['bstackAllyScanning']=![],_0x1aa4de[_0x17d0b2(0xb2)](this,Array[_0x17d0b2(0x17c)]['slice'][_0x17d0b2(0x117)](arguments,0x2));},_0x1c57ae=CodeceptWebDriver['prototype'][_0x1674de(0x14f)];CodeceptWebDriver[_0x1674de(0x17c)][_0x1674de(0x14f)]=async function(){const _0x3e4941=_0x1674de;try{await _0x1c57ae[_0x3e4941(0xb2)](this,arguments);}catch(_0x41d7c3){logger['debug'](_0x3e4941(0x164)+util['format'](_0x41d7c3));}scripts[_0x3e4941(0xb8)][_0x3e4941(0xbc)](_0x4fd33b=>_0x4fd33b['name']&&_0x4fd33b[_0x3e4941(0x135)])[_0x3e4941(0xc1)](_0x3db8d8=>{const _0x51b21c=_0x3e4941;this[_0x51b21c(0x15c)][_0x51b21c(0xda)](_0x3db8d8[_0x51b21c(0x136)],_0x4c5138[_0x51b21c(0xc4)](this,_0x3db8d8),_0x567433['nRbig'](_0x3db8d8['class'],_0x567433['AnZqE']));}),_0x567433[_0x3e4941(0x17e)](processWebDriverConfig,_0x36c2a5);};},patchPlaywrightBefore=()=>{const _0x43040d=a1_0x2f6dfd;PlaywrightSessionDetails['patch']();const _0xa887f9=CodeceptPlaywright[_0x43040d(0x17c)]['_before'];CodeceptPlaywright[_0x43040d(0x17c)]['_before']=async function(){const _0x2bbd8c=_0x43040d;this[_0x2bbd8c(0x16e)]=await this[_0x2bbd8c(0x15c)][_0x2bbd8c(0x107)]()[0x0],await _0xa887f9[_0x2bbd8c(0xb2)](this,arguments);};},getCodeceptDriver=()=>{const _0x2fde54=a1_0x2f6dfd,_0x260c3b={};_0x260c3b[_0x2fde54(0x10d)]=_0x2fde54(0xfc),_0x260c3b[_0x2fde54(0x146)]=_0x2fde54(0xe5),_0x260c3b[_0x2fde54(0x124)]=_0x2fde54(0xe3),_0x260c3b[_0x2fde54(0x163)]=_0x2fde54(0xbf);const _0x119293=_0x260c3b,_0x2fc544=[_0x119293[_0x2fde54(0x10d)],_0x119293['bBmts'],_0x119293[_0x2fde54(0x124)],_0x119293[_0x2fde54(0x163)]],_0x54e718=_0x2fc544['find'](_0x53b318=>!!CodeceptJS[_0x2fde54(0xe1)][_0x2fde54(0xb3)](_0x53b318));if(!_0x54e718)return null;return CodeceptJS[_0x2fde54(0xe1)]['helpers'](_0x54e718);};function a1_0x136c(_0x2aa0fd,_0x4ea36a){const _0xfdbda1=a1_0xfdbd();return a1_0x136c=function(_0x136cc7,_0x3bf65e){_0x136cc7=_0x136cc7-0xaf;let _0xd46457=_0xfdbda1[_0x136cc7];return _0xd46457;},a1_0x136c(_0x2aa0fd,_0x4ea36a);}module[a1_0x2f6dfd(0x131)]=function(_0x401722){const _0x5ba23f=a1_0x2f6dfd,_0x312e6d={'TYkVA':function(_0x379ea5){return _0x379ea5();},'ZZZsb':function(_0x163679,_0x3e6b58){return _0x163679(_0x3e6b58);},'EhusP':_0x5ba23f(0xb1),'dlVtJ':_0x5ba23f(0x122),'QEkti':_0x5ba23f(0xf2),'cOMXk':_0x5ba23f(0x11e),'SeqGC':'hook-started','gTUUi':'hook-passed','eMlDR':_0x5ba23f(0x11f),'AGGit':'browserstackTestName','hKqJw':function(_0x14d9a0){return _0x14d9a0();},'slDMB':_0x5ba23f(0x114),'tLfVS':function(_0x38bdf4){return _0x38bdf4();},'RJbSp':function(_0x59b243,_0x432a95,_0xfba0e8){return _0x59b243(_0x432a95,_0xfba0e8);},'LbgLj':function(_0x4d835c,_0x3dd2e1){return _0x4d835c(_0x3dd2e1);},'dESAY':'test-started','OMqzd':_0x5ba23f(0x13f),'LvSei':function(_0xa0c47d,_0x253033,_0x26f992,_0x3d05f9){return _0xa0c47d(_0x253033,_0x26f992,_0x3d05f9);},'WEkrI':function(_0x5344cc,_0x287d58,_0x2ff721,_0x466d11){return _0x5344cc(_0x287d58,_0x2ff721,_0x466d11);},'EmaFM':function(_0x13f86f,_0x25f642){return _0x13f86f===_0x25f642;},'eIuWM':_0x5ba23f(0x121),'OTjet':_0x5ba23f(0xd6),'gcHug':_0x5ba23f(0x158),'lQwHv':_0x5ba23f(0x144),'ZRoSv':function(_0x4fa1cc,_0x185a96,_0x18e2da){return _0x4fa1cc(_0x185a96,_0x18e2da);},'lXNZt':function(_0x21ac6e){return _0x21ac6e();},'pKRhP':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','uifmF':_0x5ba23f(0xf0),'FGwwN':_0x5ba23f(0xcd),'mnmjF':'TEST_LOG','maBws':'step-comment','KtxLF':_0x5ba23f(0x11d),'ULdGw':_0x5ba23f(0xde),'mXhDL':_0x5ba23f(0xe5)};_0x401722[_0x5ba23f(0xe9)]&&(global[_0x5ba23f(0x115)]=_0x401722[_0x5ba23f(0xe9)]);PerformanceTester[_0x5ba23f(0x17b)]();const _0x26232d=_0x312e6d[_0x5ba23f(0xfb)](getCodeceptDriver),_0x4d8cd9=new O11yHelper(_0x26232d,_0x401722),_0x441cc0=!!CodeceptJS[_0x5ba23f(0xe1)]['helpers'](_0x312e6d[_0x5ba23f(0x159)]);global[_0x5ba23f(0xdf)]=_0x26232d,_0x26232d&&(PerformanceTester[_0x5ba23f(0xbb)](PerformanceEvents[_0x5ba23f(0x15d)],()=>{const _0x33e4a2=_0x5ba23f;_0x441cc0?_0x312e6d[_0x33e4a2(0x130)](patchPlaywrightBefore):_0x312e6d[_0x33e4a2(0x119)](patchWebDriverBefore,_0x26232d);})(),PerformanceTester[_0x5ba23f(0xbb)](PerformanceEvents[_0x5ba23f(0x17d)],()=>{const _0x29b944=_0x5ba23f,_0x328d5e={};_0x328d5e['DkVus']=_0x312e6d[_0x29b944(0xe2)],_0x328d5e[_0x29b944(0xeb)]=_0x312e6d['dlVtJ'],_0x328d5e[_0x29b944(0x179)]=_0x312e6d[_0x29b944(0xb4)],_0x328d5e[_0x29b944(0xdc)]=_0x312e6d['cOMXk'];const _0x1bbd3c=_0x328d5e;_0x26232d[_0x29b944(0xb1)]=async()=>{const _0x102c0a=_0x29b944;if(global[_0x102c0a(0xbd)]){const _0x192398={};_0x192398[_0x102c0a(0x14d)]=_0x1bbd3c[_0x102c0a(0x10b)],await PerformanceTester[_0x102c0a(0xbb)](PerformanceA11yEvents[_0x102c0a(0x152)],async()=>{const _0x5bd839=_0x102c0a;await AccessibilityHelper[_0x5bd839(0x13a)](_0x26232d,scripts[_0x5bd839(0xfe)]);},_0x192398)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x102c0a(0xd5)],async()=>{const _0x5ac44b=_0x102c0a;await AccessibilityHelper[_0x5ac44b(0x13a)](_0x26232d,scripts['getResultsSummary']);})();}else return logger[_0x102c0a(0xf4)](_0x1bbd3c[_0x102c0a(0xeb)]),{};},_0x26232d[_0x29b944(0xf2)]=async()=>{const _0x2568c8=_0x29b944;if(global[_0x2568c8(0xbd)]){const _0x2278b7={};_0x2278b7[_0x2568c8(0x14d)]=_0x1bbd3c[_0x2568c8(0x179)],await PerformanceTester[_0x2568c8(0xbb)](PerformanceA11yEvents[_0x2568c8(0x152)],async()=>{const _0x48467f=_0x2568c8;await AccessibilityHelper[_0x48467f(0x13a)](_0x26232d,scripts[_0x48467f(0xfe)]);},_0x2278b7)(),await PerformanceTester[_0x2568c8(0xbb)](PerformanceA11yEvents['GET_RESULTS'],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts['getResults']);})();}else return logger[_0x2568c8(0xf4)](_0x1bbd3c[_0x2568c8(0xdc)]),{};},_0x312e6d['ZZZsb'](patchSaveScreenshot,_0x26232d);})()),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS['event'][_0x5ba23f(0x104)]['before'],()=>{const _0x15ea05=_0x5ba23f;PerformanceTester[_0x15ea05(0x173)](PerformanceEvents[_0x15ea05(0xcf)]);try{_0x4d8cd9[_0x15ea05(0x173)](),testOpsHelper[_0x15ea05(0x110)](),PerformanceTester[_0x15ea05(0xba)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4ea669){PerformanceTester['captureError'](_0x4ea669),PerformanceTester[_0x15ea05(0xba)](PerformanceEvents[_0x15ea05(0xcf)],![],_0x4ea669);}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x104)][_0x5ba23f(0xe4)],async()=>{const _0xe0f320=_0x5ba23f;PerformanceTester[_0xe0f320(0x173)](PerformanceEvents[_0xe0f320(0x17f)]);try{requestSpy[_0xe0f320(0xb5)](),await _0x4d8cd9[_0xe0f320(0xea)](),PerformanceTester[_0xe0f320(0xba)](PerformanceEvents[_0xe0f320(0x17f)]);}catch(_0x54b662){PerformanceTester[_0xe0f320(0x162)](_0x54b662),PerformanceTester[_0xe0f320(0xba)](PerformanceEvents[_0xe0f320(0x17f)],![],_0x54b662);}finally{PerformanceTester[_0xe0f320(0x125)]();}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event'][_0x5ba23f(0x171)][_0x5ba23f(0x108)],_0x289df2=>{const _0x585bfc=_0x5ba23f;PerformanceTester[_0x585bfc(0x173)](PerformanceEvents[_0x585bfc(0xff)]);try{const _0xc594f=_0x289df2['ctx'][_0x585bfc(0x181)],_0x175055=_0x4d8cd9[_0x585bfc(0x168)](TEST_EVENTS[_0x585bfc(0x14e)],_0xc594f);CodeceptRecorder[_0x585bfc(0x113)](()=>_0x4d8cd9['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x175055));const _0x34dbf1={};_0x34dbf1[_0x585bfc(0x16d)]=_0x312e6d['SeqGC'],PerformanceTester[_0x585bfc(0xba)](PerformanceEvents[_0x585bfc(0xff)],!![],null,_0x34dbf1);}catch(_0x561158){const _0x5e78ca={};_0x5e78ca[_0x585bfc(0x16d)]=_0x312e6d[_0x585bfc(0x153)],PerformanceTester[_0x585bfc(0xba)](PerformanceEvents[_0x585bfc(0xff)],![],_0x561158,_0x5e78ca),PerformanceTester[_0x585bfc(0x162)](_0x561158);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x171)][_0x5ba23f(0xce)],_0x2ab145=>{const _0xf47941=_0x5ba23f,_0x615e3a={};_0x615e3a[_0xf47941(0x16d)]=_0x312e6d[_0xf47941(0x12a)],PerformanceTester['start'](PerformanceHookEvents[_0xf47941(0xff)],!![],null,_0x615e3a);try{const _0x142026=_0x2ab145[_0xf47941(0x160)][_0xf47941(0x181)],_0x517600=_0x4d8cd9[_0xf47941(0x168)](TEST_EVENTS[_0xf47941(0xf7)],_0x142026);CodeceptRecorder['add'](()=>_0x4d8cd9['fireEvent'](TEST_EVENTS[_0xf47941(0xf7)],_0x517600));const _0x28d9c8={};_0x28d9c8[_0xf47941(0x16d)]=_0x312e6d['gTUUi'],PerformanceTester[_0xf47941(0xba)](PerformanceHookEvents[_0xf47941(0xff)],!![],null,_0x28d9c8);}catch(_0xc89c1){PerformanceTester[_0xf47941(0x162)](_0xc89c1);const _0x2419da={};_0x2419da[_0xf47941(0x16d)]=_0x312e6d['gTUUi'],PerformanceTester[_0xf47941(0xba)](PerformanceHookEvents[_0xf47941(0xff)],![],_0xc89c1,_0x2419da);}}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event']['hook'][_0x5ba23f(0xdd)],async(_0x3f84e8,_0x5064b5)=>{const _0x45e6da=_0x5ba23f;PerformanceTester[_0x45e6da(0x173)](PerformanceHookEvents[_0x45e6da(0xff)]);try{const _0x361ff3=_0x3f84e8[_0x45e6da(0x160)][_0x45e6da(0x181)],_0x4f1219=_0x4d8cd9[_0x45e6da(0x168)](TEST_EVENTS[_0x45e6da(0xf7)],_0x361ff3,_0x5064b5);CodeceptRecorder['add'](()=>_0x4d8cd9[_0x45e6da(0x111)](TEST_EVENTS[_0x45e6da(0xf7)],_0x4f1219));const _0x3f8efc={};_0x3f8efc[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester[_0x45e6da(0x173)](PerformanceHookEvents[_0x45e6da(0xff)],!![],null,_0x3f8efc);}catch(_0x3a90fc){PerformanceTester[_0x45e6da(0x162)](_0x3a90fc);const _0x121833={};_0x121833[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester[_0x45e6da(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x3a90fc,_0x121833);}const _0x3ef36b={};_0x3ef36b[_0x45e6da(0x16d)]=_0x312e6d[_0x45e6da(0x103)],PerformanceTester['end'](PerformanceHookEvents[_0x45e6da(0xff)],!![],null,_0x3ef36b);}),CodeceptJS['event'][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)]['test'][_0x5ba23f(0x151)],_0x567f74=>{const _0x293f61=_0x5ba23f;PerformanceTester['start'](PerformanceHookEvents[_0x293f61(0xff)]);try{globals[_0x293f61(0xf5)](_0x312e6d['AGGit'],_0x567f74[_0x293f61(0xf1)]);_0x312e6d[_0x293f61(0xaf)](isBrowserstackInfra)&&(_0x441cc0&&(global[_0x293f61(0x105)]={'currentTest':{'name':_0x567f74['title'],'testInfo':{'titlePath':_0x567f74[_0x293f61(0x174)]()}}}));const _0x597e63={};_0x597e63['hookType']=_0x312e6d[_0x293f61(0xfd)],PerformanceTester['end'](PerformanceHookEvents[_0x293f61(0xff)],!![],null,_0x597e63);}catch(_0x24986a){PerformanceTester[_0x293f61(0x162)](_0x24986a);const _0x188af6={};_0x188af6[_0x293f61(0x16d)]=_0x312e6d[_0x293f61(0xfd)],PerformanceTester['end'](PerformanceHookEvents[_0x293f61(0xff)],![],_0x24986a,_0x188af6);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)]['started'],_0x12d0e9=>{const _0x4700fe=_0x5ba23f;PerformanceTester[_0x4700fe(0x173)](PerformanceHookEvents[_0x4700fe(0xff)]);try{globals['setGlobal'](_0x312e6d['AGGit'],_0x12d0e9[_0x4700fe(0xf1)]);const _0x1c8189=_0x4d8cd9[_0x4700fe(0x168)](TEST_EVENTS[_0x4700fe(0xd9)],_0x12d0e9);CodeceptRecorder[_0x4700fe(0x113)](()=>_0x4d8cd9[_0x4700fe(0x111)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1c8189)),CodeceptRecorder['add'](async()=>{const _0x2cef0d=_0x4700fe;_0x312e6d[_0x2cef0d(0xfb)](isBrowserstackInfra)&&(!_0x312e6d[_0x2cef0d(0x119)](isTrue,_0x401722[_0x2cef0d(0x12e)])&&await _0x312e6d['RJbSp'](markSessionName,_0x26232d,_0x12d0e9[_0x2cef0d(0xf1)]),_0x4d8cd9[_0x2cef0d(0x155)]&&await _0x312e6d[_0x2cef0d(0x116)](o11ySync,_0x26232d));});}catch(_0x17e39e){const _0x34de39={};_0x34de39['hookType']=_0x312e6d[_0x4700fe(0xd0)],PerformanceTester[_0x4700fe(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x17e39e,_0x34de39),PerformanceTester['captureError'](_0x17e39e);}const _0x5be137={};_0x5be137[_0x4700fe(0x16d)]=_0x312e6d[_0x4700fe(0xd0)],PerformanceTester[_0x4700fe(0xba)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5be137);}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)][_0x5ba23f(0xce)],_0x57ade1=>{const _0x575040=_0x5ba23f;PerformanceTester[_0x575040(0x173)](PerformanceHookEvents['SDK_HOOK']);try{const _0x43fa9f=_0x4d8cd9['captureEvent'](TEST_EVENTS[_0x575040(0x140)],_0x57ade1);CodeceptRecorder[_0x575040(0x113)](()=>_0x4d8cd9[_0x575040(0x111)](TEST_EVENTS[_0x575040(0x140)],_0x43fa9f)),CodeceptRecorder['add'](async()=>{const _0x182fe2=_0x575040,_0x3e3e49={'ShcXi':function(_0x57293f,_0x418f7d,_0x3e07f0){const _0x3f64c6=a1_0x136c;return _0x312e6d[_0x3f64c6(0xb7)](_0x57293f,_0x418f7d,_0x3e07f0);}};_0x312e6d[_0x182fe2(0xfb)](isBrowserstackInfra)&&await PerformanceTester[_0x182fe2(0xbb)](PerformanceAutEvents[_0x182fe2(0x123)],async()=>{const _0x2a3f24=_0x182fe2;_0x441cc0?await _0x3e3e49['ShcXi'](playwrightMarkSessionStatus,_0x26232d,STATE_PASSED):await _0x3e3e49[_0x2a3f24(0xc5)](markSessionStatus,_0x26232d,STATE_PASSED);})();}),PerformanceTester[_0x575040(0xba)](PerformanceEvents[_0x575040(0x139)]);}catch(_0x5d10ff){PerformanceTester['captureError'](_0x5d10ff);const _0x156f7d={};_0x156f7d[_0x575040(0x16d)]=_0x312e6d[_0x575040(0x13b)],PerformanceTester[_0x575040(0xba)](PerformanceHookEvents['SDK_HOOK'],![],_0x5d10ff,_0x156f7d),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x5d10ff);}const _0x4cae81={};_0x4cae81[_0x575040(0x16d)]=_0x312e6d[_0x575040(0x13b)],PerformanceTester['end'](PerformanceHookEvents[_0x575040(0xff)],!![],null,_0x4cae81);}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)][_0x5ba23f(0xdd)],(_0x59f3f8,_0x2d4a80)=>{const _0x1516b6=_0x5ba23f;PerformanceTester[_0x1516b6(0x173)](PerformanceHookEvents[_0x1516b6(0xff)]);try{if(_0x312e6d[_0x1516b6(0x145)](_0x59f3f8[_0x1516b6(0xb6)][_0x1516b6(0x136)],_0x312e6d['eIuWM'])){const _0x17c907=_0x4d8cd9[_0x1516b6(0x168)](TEST_EVENTS[_0x1516b6(0xd2)],_0x59f3f8[_0x1516b6(0x160)][_0x1516b6(0x112)]);CodeceptRecorder[_0x1516b6(0x113)](()=>_0x4d8cd9[_0x1516b6(0x111)](TEST_EVENTS[_0x1516b6(0xd2)],_0x17c907));}else{const _0x38122c=_0x4d8cd9[_0x1516b6(0x168)](TEST_EVENTS[_0x1516b6(0x140)],_0x59f3f8,_0x2d4a80);CodeceptRecorder[_0x1516b6(0x113)](()=>{const _0xa6a506=_0x1516b6;try{_0x4d8cd9[_0xa6a506(0x111)](TEST_EVENTS[_0xa6a506(0x140)],_0x38122c);}catch(_0x293eb5){logger[_0xa6a506(0x13e)](_0xa6a506(0xc2)+util[_0xa6a506(0x143)](_0x293eb5)),PerformanceTester[_0xa6a506(0xba)](PerformanceEvents['SDK_TEST'],![],_0x293eb5);}}),CodeceptRecorder[_0x1516b6(0x113)](async()=>{const _0x1d2274=_0x1516b6;try{_0x312e6d[_0x1d2274(0xfb)](isBrowserstackInfra)&&(_0x441cc0?await _0x312e6d[_0x1d2274(0xf3)](playwrightMarkSessionStatus,_0x26232d,STATE_FAILED,_0x2d4a80):await _0x312e6d['WEkrI'](markSessionStatus,_0x26232d,STATE_FAILED,_0x2d4a80));}catch(_0x4b4f5a){logger['debug'](_0x1d2274(0xf8)+util[_0x1d2274(0x143)](_0x4b4f5a)),PerformanceTester[_0x1d2274(0xba)](PerformanceEvents[_0x1d2274(0x139)],![],_0x4b4f5a);}});}PerformanceTester[_0x1516b6(0xba)](PerformanceEvents[_0x1516b6(0x139)]);}catch(_0x4c9a17){PerformanceTester[_0x1516b6(0x162)](_0x4c9a17);const _0x42dd25={};_0x42dd25[_0x1516b6(0x16d)]=_0x312e6d[_0x1516b6(0x166)],PerformanceTester[_0x1516b6(0xba)](PerformanceHookEvents[_0x1516b6(0xff)],![],_0x4c9a17,_0x42dd25),PerformanceTester[_0x1516b6(0xba)](PerformanceEvents[_0x1516b6(0x139)],![],_0x4c9a17);}const _0x1f81f2={};_0x1f81f2[_0x1516b6(0x16d)]=_0x312e6d[_0x1516b6(0x166)],PerformanceTester[_0x1516b6(0xba)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1f81f2);}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x181)]['skipped'],_0x4d41b7=>{const _0x4a0c20=_0x5ba23f;PerformanceTester[_0x4a0c20(0x173)](PerformanceHookEvents[_0x4a0c20(0xff)]);try{const _0x422ea1=_0x4d8cd9[_0x4a0c20(0x168)](TEST_EVENTS[_0x4a0c20(0xd2)],_0x4d41b7);CodeceptRecorder['add'](()=>_0x4d8cd9[_0x4a0c20(0x111)](TEST_EVENTS[_0x4a0c20(0xd2)],_0x422ea1)),PerformanceTester['end'](PerformanceEvents[_0x4a0c20(0x139)]);}catch(_0x5d2fb5){PerformanceTester[_0x4a0c20(0x162)](_0x5d2fb5),PerformanceTester['end'](PerformanceEvents[_0x4a0c20(0x139)],![],_0x5d2fb5);const _0x90249={};_0x90249[_0x4a0c20(0x16d)]=_0x312e6d[_0x4a0c20(0xc9)],PerformanceTester[_0x4a0c20(0xba)](PerformanceHookEvents[_0x4a0c20(0xff)],![],_0x5d2fb5,_0x90249);}const _0x4bcba5={};_0x4bcba5[_0x4a0c20(0x16d)]=_0x312e6d[_0x4a0c20(0xc9)],PerformanceTester[_0x4a0c20(0xba)](PerformanceHookEvents[_0x4a0c20(0xff)],!![],null,_0x4bcba5);}),CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x167)]['on'](CodeceptJS['event'][_0x5ba23f(0x181)][_0x5ba23f(0xe4)],async(_0x2fa30a,_0x564e2a)=>{const _0x29e058=_0x5ba23f,_0x413989={};_0x413989['UAVnW']=_0x312e6d['lQwHv'];const _0x633ed1=_0x413989;try{PerformanceTester[_0x29e058(0x173)](PerformanceHookEvents[_0x29e058(0xff)]);if(_0x312e6d[_0x29e058(0xfb)](isBrowserstackInfra)){const _0x4aa7d6=_0x312e6d[_0x29e058(0x165)](shouldScanTestForAccessibility,_0x2fa30a['titlePath'](),!![]);if(_0x312e6d[_0x29e058(0x11a)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4aa7d6){const _0x1dbe9d={};_0x1dbe9d['thTestRunUuid']=_0x2fa30a[_0x29e058(0x11c)],_0x1dbe9d[_0x29e058(0x134)]=process[_0x29e058(0x15f)][testHubConstants[_0x29e058(0xe8)][_0x29e058(0x175)]],_0x1dbe9d[_0x29e058(0x128)]=process[_0x29e058(0x15f)][testHubConstants[_0x29e058(0xe8)][_0x29e058(0x16b)]];const _0x9ff8af=_0x1dbe9d;logger[_0x29e058(0x13e)](_0x29e058(0x172)+JSON[_0x29e058(0x109)](_0x9ff8af)),CodeceptRecorder[_0x29e058(0x113)](async()=>{const _0x36439a=_0x29e058,_0x664f34={};_0x664f34[_0x36439a(0x14d)]=_0x633ed1[_0x36439a(0x15e)],await PerformanceTester[_0x36439a(0xbb)](PerformanceA11yEvents[_0x36439a(0x152)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts['performScan']);},_0x664f34)(),await PerformanceTester[_0x36439a(0xbb)](PerformanceA11yEvents[_0x36439a(0xfa)],async()=>{const _0x1ba390=_0x36439a;await AccessibilityHelper['browserStackExecuteDriver'](_0x26232d,scripts[_0x1ba390(0x132)],_0x9ff8af);})();}),logger[_0x29e058(0x12c)](_0x312e6d[_0x29e058(0x106)]);}}const _0x3eb01={};_0x3eb01[_0x29e058(0x16d)]=_0x312e6d[_0x29e058(0x10c)],PerformanceTester[_0x29e058(0xba)](PerformanceHookEvents[_0x29e058(0xff)],!![],null,_0x3eb01);}catch(_0x50d75c){PerformanceTester[_0x29e058(0x162)](_0x50d75c);const _0x2a4d56={};_0x2a4d56[_0x29e058(0x16d)]=_0x312e6d['uifmF'],PerformanceTester[_0x29e058(0xba)](PerformanceHookEvents[_0x29e058(0xff)],![],_0x50d75c,_0x2a4d56);}}),CodeceptJS[_0x5ba23f(0x156)]['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x13d)][_0x5ba23f(0xdb)],_0x56537d=>{const _0x3fbf5e=_0x5ba23f;PerformanceTester[_0x3fbf5e(0x173)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0x3fbf5e(0xe6)+process[_0x3fbf5e(0xc8)],{'timestamp':new Date()[_0x3fbf5e(0xb0)](),'level':_0x312e6d[_0x3fbf5e(0xca)],'message':_0x56537d,'kind':_0x312e6d[_0x3fbf5e(0x120)],'http_response':{}});}catch(_0x23b15b){PerformanceTester[_0x3fbf5e(0x162)](_0x23b15b);const _0x18b98f={};_0x18b98f[_0x3fbf5e(0x16d)]=_0x312e6d[_0x3fbf5e(0x12d)],PerformanceTester[_0x3fbf5e(0xba)](PerformanceHookEvents[_0x3fbf5e(0xff)],![],_0x23b15b,_0x18b98f);}const _0x1a51e0={};_0x1a51e0[_0x3fbf5e(0x16d)]=_0x312e6d['maBws'],PerformanceTester[_0x3fbf5e(0xba)](PerformanceHookEvents[_0x3fbf5e(0xff)],!![],null,_0x1a51e0);}),CodeceptJS['event'][_0x5ba23f(0x167)]['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x14c)][_0x5ba23f(0x151)],_0x13fb12=>{const _0x4d8ff5=_0x5ba23f,_0x5a6e3f={};_0x5a6e3f[_0x4d8ff5(0x16d)]=_0x312e6d['KtxLF'],PerformanceTester[_0x4d8ff5(0xbb)](PerformanceHookEvents[_0x4d8ff5(0xff)],()=>{_0x4d8cd9['bddStepStart'](_0x13fb12);},_0x5a6e3f)();}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5ba23f(0x156)][_0x5ba23f(0x14c)]['after'],_0xebd88=>{const _0x37318a=_0x5ba23f,_0x450896={};_0x450896['hookType']=_0x312e6d[_0x37318a(0x102)],PerformanceTester[_0x37318a(0xbb)](PerformanceHookEvents[_0x37318a(0xff)],()=>{const _0x9e3d9a=_0x37318a;_0x4d8cd9[_0x9e3d9a(0x170)](_0xebd88);},_0x450896)();});};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a2_0x505e16=a2_0x4737;function a2_0x4248(){const _0x1dc0ea=['join','cwd','skipSessionStatus','BrowserStackPlugin','SDK_CLEANUP','result','14583573BGqrll','JgiRx','140179RdYpJk','testObservability','validPlatformsPresent','profile','mergeDeep','title','accessibilityOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','trim','../../helpers/accessibility-automation/helper','codeceptjs/lib/index.js','teardownAll','4680HJZTub','FRAMEWORKS','playwright-chromium','3985UvrcNu','before','isTrue','1920732dOankt','existsSync','ANcay','../../helpers/BrowserStackSetup','prepareCapabilities','PzLFy','skipSessionName','isTestObservabilitySession','createGroupsOfSuites','platforms','run','YoJUJ','enabled','HLNXJ','codeceptjs','parallelsPerPlatform','wxBKb','passed','winstonLogger','../../helpers/performance/performance-tester','mvOBm','../../helpers/utilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','stringify','../../helpers/test-observability/utils','yLZZs','config','printResults','map','YSIsH','../../helpers/logger','../../bin/playwright/accessibility-helper','codecept.conf.js','bootstrapAll','mnOGW','webkit','lXFgO','../utils/constants','getPlatformName','event','launchBuild','isEmpty','FXMyJ','browserStackCwd','log','BROWSERSTACK_RERUN','info','IwEvB','Workers','3|1|2|5|0|4','require','MSCjC','start','njCfA','finalExecution','addOptions','../../helpers/performance/constants','push','plugins','testContextOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','3306406wXpddb','stop','getUserWorkerCount','vvZvB','ttESz','useW3C','rthiY','jXeOO','-cucumber','desiredCapabilities','testConfig','handleApp','1421ziuPSh','helpers','spawn','OnDqO','toLowerCase','browserWSEndpoint','stack','jeZmc','initialize','frameworkName','BROWSERSTACK_RERUN_TESTS','env','wUifb','Passed\x20:\x20','exports','forEach','yVtYb','../../helpers/helper','getPlaywrightUrl','dirname','SDK_SETUP','split','PIZXN','WebDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','validateRerunTestList','stAXN','aQVjL','browser','CODECEPT','err','chdir','load','browserName','process','all','length','addTests','chromium','failed','accessibility','test','uQlBR','../../helpers/testhub/testhubHandler','playwright-webkit','ptbOK','isUndefined','format','slice','7806jYFnVB','2439040yBIuWz','setAdditionalCapabilities','util','kJNZj'];a2_0x4248=function(){return _0x1dc0ea;};return a2_0x4248();}(function(_0x52c053,_0x37cd66){const _0x5d3b80=a2_0x4737,_0x25622b=_0x52c053();while(!![]){try{const _0x18d514=-parseInt(_0x5d3b80(0x1d0))/0x1+parseInt(_0x5d3b80(0x21f))/0x2+parseInt(_0x5d3b80(0x1e2))/0x3+-parseInt(_0x5d3b80(0x25d))/0x4+-parseInt(_0x5d3b80(0x1df))/0x5*(-parseInt(_0x5d3b80(0x25c))/0x6)+-parseInt(_0x5d3b80(0x22b))/0x7*(parseInt(_0x5d3b80(0x1dc))/0x8)+-parseInt(_0x5d3b80(0x1ce))/0x9;if(_0x18d514===_0x37cd66)break;else _0x25622b['push'](_0x25622b['shift']());}catch(_0x193dc8){_0x25622b['push'](_0x25622b['shift']());}}}(a2_0x4248,0xcd625));const fs=require('fs'),path=require('path'),util=require(a2_0x505e16(0x25f)),process=require(a2_0x505e16(0x24d)),logger=require(a2_0x505e16(0x200))[a2_0x505e16(0x1f4)],{default:BrowserStackSetup}=require(a2_0x505e16(0x1e5)),helper=require(a2_0x505e16(0x23c)),utilities=require(a2_0x505e16(0x1f7)),{checkAccessibilityPlatformConfig}=require(a2_0x505e16(0x1d9)),{setAccessibilityCapabilities}=require(a2_0x505e16(0x201)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x505e16(0x23c)),CodeceptJS=requireModule(a2_0x505e16(0x1da),a2_0x505e16(0x1f0)),testOpsHelper=require(a2_0x505e16(0x1fa)),TestHubHandler=require(a2_0x505e16(0x256)),constants=require(a2_0x505e16(0x207)),PerformanceTester=require(a2_0x505e16(0x1f5)),PerformanceEvents=require(a2_0x505e16(0x21a))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x33fad5,_0x503cac)=>{const _0x408d6d=a2_0x505e16,_0x31087b={};_0x31087b[_0x408d6d(0x255)]=function(_0x2103e3,_0xd816e2){return _0x2103e3===_0xd816e2;},_0x31087b[_0x408d6d(0x1f2)]=_0x408d6d(0x202),_0x31087b[_0x408d6d(0x232)]='codecept.json';const _0x41fc72=_0x31087b;let _0x28bca1=null;const _0x4ae810={};let _0x3d3fa2=_0x503cac['findIndex'](_0x4fb4b6=>_0x4fb4b6==='--config');_0x41fc72[_0x408d6d(0x255)](_0x3d3fa2,-0x1)&&(_0x3d3fa2=_0x503cac['findIndex'](_0x10c910=>_0x10c910==='-c'));if(!helper['isUndefined'](_0x33fad5[_0x408d6d(0x1fc)])&&fs[_0x408d6d(0x1e3)](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x33fad5[_0x408d6d(0x1fc)])))_0x28bca1=path['join'](process[_0x408d6d(0x262)](),_0x33fad5[_0x408d6d(0x1fc)]),_0x503cac[_0x408d6d(0x25b)](_0x3d3fa2,0x2);else{if(!helper[_0x408d6d(0x259)](_0x33fad5['c'])&&fs[_0x408d6d(0x1e3)](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x33fad5['c'])))_0x28bca1=path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x33fad5['c']),_0x503cac[_0x408d6d(0x25b)](_0x3d3fa2,0x2);else{if(fs['existsSync'](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72[_0x408d6d(0x1f2)])))_0x28bca1=path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72['wxBKb']);else fs[_0x408d6d(0x1e3)](path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72[_0x408d6d(0x232)]))&&(_0x28bca1=path[_0x408d6d(0x261)](process[_0x408d6d(0x262)](),_0x41fc72[_0x408d6d(0x232)]));}}return process[_0x408d6d(0x236)]['USER_CONFIG_DETAILS_PATH']=_0x28bca1,_0x28bca1;},getO11yRerunPattern=()=>{const _0x331db8=a2_0x505e16,_0x31f16f=helper[_0x331db8(0x1e1)](process[_0x331db8(0x236)][_0x331db8(0x20f)]);if(_0x31f16f){const _0x3302bb=process['env'][_0x331db8(0x235)],_0x118001=[];if(helper[_0x331db8(0x244)](_0x3302bb)&&!helper[_0x331db8(0x259)](_0x3302bb)){_0x3302bb[_0x331db8(0x240)](',')['map'](_0x1ef099=>{const _0x8652b8=_0x331db8;_0x118001['push']('('+_0x1ef099[_0x8652b8(0x1d8)]()+')');});const _0x14dc5d='^'+_0x118001[_0x331db8(0x261)]('|')+'$';return _0x14dc5d;}}return null;},a2_0x4c5db1={};a2_0x4c5db1['chrome']=a2_0x505e16(0x251),a2_0x4c5db1[a2_0x505e16(0x1de)]='chromium',a2_0x4c5db1['playwright-firefox']='firefox',a2_0x4c5db1[a2_0x505e16(0x257)]=a2_0x505e16(0x205);function a2_0x4737(_0x40bdc0,_0x1e1dff){const _0x4248dc=a2_0x4248();return a2_0x4737=function(_0x4737f1,_0x4c1139){_0x4737f1=_0x4737f1-0x1ca;let _0x50d1e2=_0x4248dc[_0x4737f1];return _0x50d1e2;},a2_0x4737(_0x40bdc0,_0x1e1dff);}const pwToCodeceptBrowser=a2_0x4c5db1;async function run(_0xac582b,_0x4d9b76){const _0x49a38f=a2_0x505e16,_0x450638={'ttESz':function(_0x393526,_0x3c2ff4){return _0x393526+_0x3c2ff4;},'HLNXJ':function(_0xed7fcc,_0xde09fe){return _0xed7fcc(_0xde09fe);},'lXFgO':function(_0x144162,_0x56c09a){return _0x144162+_0x56c09a;},'njCfA':function(_0x34b76d,_0x45db8f,_0x4b046b){return _0x34b76d(_0x45db8f,_0x4b046b);},'yLZZs':_0x49a38f(0x22c),'ANcay':function(_0x3d29bf){return _0x3d29bf();},'TMftT':function(_0x232d99){return _0x232d99();},'stAXN':'Failed\x20:\x20','ptbOK':_0x49a38f(0x238),'kJNZj':'Started\x20:\x20','OnDqO':_0x49a38f(0x213),'vvZvB':'codeceptjs','aQVjL':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','MSCjC':function(_0x37e7ca,_0x1837ab,_0x2c8e94){return _0x37e7ca(_0x1837ab,_0x2c8e94);},'mnOGW':'Playwright','IwEvB':'WebDriver','PzLFy':function(_0x25a70a,_0x346915){return _0x25a70a!=_0x346915;},'FXMyJ':function(_0x5c8a3d,_0x2c8e28){return _0x5c8a3d===_0x2c8e28;},'mvOBm':'gherkin','iHkfR':function(_0x5b0bb7,_0x1f4e98){return _0x5b0bb7+_0x1f4e98;},'mFjPb':_0x49a38f(0x227),'PIZXN':function(_0x31c0bc,_0x1e03c1){return _0x31c0bc(_0x1e03c1);},'wUifb':function(_0x57f159){return _0x57f159();},'YSIsH':function(_0x2ba86d,_0x36cd7c){return _0x2ba86d*_0x36cd7c;},'rthiY':function(_0x35e153,_0x401000,_0x2d3db0){return _0x35e153(_0x401000,_0x2d3db0);},'JgiRx':_0x49a38f(0x247),'YoJUJ':_0x49a38f(0x228),'jXeOO':'root','yVtYb':'BrowserStackPlugin.js','hOOGE':_0x49a38f(0x20d)},_0x531294=new BrowserStackSetup(_0xac582b,_0x450638['vvZvB']);await _0x531294[_0x49a38f(0x233)](),await helper[_0x49a38f(0x22a)](_0x531294[_0x49a38f(0x1fc)]);if(!_0x531294[_0x49a38f(0x1fc)])return;process[_0x49a38f(0x1d3)]=_0xac582b['profile'];_0xac582b[_0x49a38f(0x1d3)]&&(process[_0x49a38f(0x236)][_0x49a38f(0x1d3)]=_0xac582b['profile']);const _0x3926c4=_0x450638[_0x49a38f(0x217)](getUserCodeceptJSConfigs,_0xac582b,_0x4d9b76);let _0x1639d5={};_0x3926c4?(logger[_0x49a38f(0x210)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x3926c4),_0x1639d5=CodeceptJS[_0x49a38f(0x1fc)][_0x49a38f(0x24b)](_0x3926c4)):logger[_0x49a38f(0x210)](_0x450638[_0x49a38f(0x246)]);let _0x23f17d=![];_0x450638['MSCjC'](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x450638[_0x49a38f(0x204)]])&&(_0x23f17d=!![]);const _0x1d0900=_0x23f17d?_0x450638[_0x49a38f(0x204)]:_0x450638[_0x49a38f(0x211)];let _0x102b89=!_0x23f17d?helper[_0x49a38f(0x224)](_0x531294['config']):![];!helper[_0x49a38f(0x259)](_0x531294[_0x49a38f(0x1fc)][_0x49a38f(0x1d6)])&&(process['env'][_0x49a38f(0x243)]=JSON[_0x49a38f(0x1f9)](_0x531294['config']['accessibilityOptions']));let _0x34d601=_0x531294[_0x49a38f(0x1fc)][_0x49a38f(0x253)];_0x34d601=_0x34d601||_0x450638[_0x49a38f(0x1ef)](checkAccessibilityPlatformConfig,_0x531294[_0x49a38f(0x1fc)]),process['env'][_0x49a38f(0x21e)]=_0x34d601;_0x34d601&&(_0x102b89=!_0x34d601);_0x450638[_0x49a38f(0x1e7)](_0x531294[_0x49a38f(0x1fc)]['testObservability'],null)?process[_0x49a38f(0x236)][_0x49a38f(0x1f8)]=_0x531294[_0x49a38f(0x1fc)]['testObservability']:process[_0x49a38f(0x236)][_0x49a38f(0x1f8)]=_0x450638[_0x49a38f(0x20c)](_0x1d0900,_0x450638['mnOGW']);const _0x963165=_0x450638[_0x49a38f(0x217)](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1f6)]]),_0x43dcc8=_0x450638['iHkfR'](_0x450638[_0x49a38f(0x222)],_0x963165&&!helper[_0x49a38f(0x20b)](_0x963165)?_0x450638['mFjPb']:''),_0x2c7892=await TestHubHandler[_0x49a38f(0x20a)](_0x43dcc8,_0x531294);_0x34d601&&_0x450638[_0x49a38f(0x241)](setAccessibilityCapabilities,_0x531294[_0x49a38f(0x1fc)]);const _0x5c6e77={},_0x57ef99=[],_0x1018f5=_0x531294[_0x49a38f(0x1fc)][_0x49a38f(0x1f1)]||helper[_0x49a38f(0x221)](_0xac582b,_0x4d9b76,_0x531294[_0x49a38f(0x1fc)],constants[_0x49a38f(0x1dd)][_0x49a38f(0x248)])||0x1;let _0x304f87=0x1;if(_0x450638[_0x49a38f(0x237)](isBrowserstackInfra)){const _0x926393=helper['prepareCapabilities'](_0x531294[_0x49a38f(0x1fc)],_0x102b89,constants['FRAMEWORKS'][_0x49a38f(0x248)]);_0x926393[_0x49a38f(0x23a)](_0x57ffab=>{const _0x2e0ff6=_0x49a38f;helper[_0x2e0ff6(0x25e)](_0x57ffab);}),helper[_0x49a38f(0x1d2)](_0x531294[_0x49a38f(0x1fc)])?_0x304f87=_0x450638[_0x49a38f(0x1ff)](_0x1018f5,_0x531294['config'][_0x49a38f(0x1eb)][_0x49a38f(0x24f)]):_0x304f87=_0x1018f5,_0x926393[_0x49a38f(0x23a)](_0x28fe58=>{const _0x2f91f4=_0x49a38f,_0x52522d=_0x450638[_0x2f91f4(0x206)](helper[_0x2f91f4(0x208)](_0x28fe58,'_'),'_'+Date['now']()),_0xdebf46=((()=>{const _0x686efe=_0x2f91f4;if(_0x23f17d){const _0x40a580=pwToCodeceptBrowser[_0x28fe58[_0x686efe(0x24c)]]||_0x28fe58[_0x686efe(0x24c)];return{'browser':_0x40a580,[_0x40a580]:{'browserWSEndpoint':_0x450638[_0x686efe(0x223)](helper[_0x686efe(0x23d)](_0x531294['config']),_0x450638[_0x686efe(0x1ef)](encodeURIComponent,JSON['stringify'](_0x28fe58)))}};}const _0x9d4b4={};return _0x9d4b4['desiredCapabilities']=_0x28fe58,_0x9d4b4;})()),_0x1e86c1=_0x450638[_0x2f91f4(0x217)](nestedKeyValue,_0x1639d5,[_0x450638[_0x2f91f4(0x1fb)],_0x1d0900]);_0x5c6e77[_0x52522d]=_0x1e86c1?helper['mergeDeep'](_0xdebf46,_0x1e86c1):_0xdebf46,!_0x23f17d&&(_0x5c6e77[_0x52522d][_0x2f91f4(0x247)]=_0x28fe58[_0x2f91f4(0x24c)]||_0xdebf46[_0x2f91f4(0x247)]),_0x57ef99[_0x2f91f4(0x21b)](_0x52522d);});}else{_0x304f87=0x1;if(_0x23f17d){const _0x367a89=_0x450638[_0x49a38f(0x225)](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x1d0900,_0x450638[_0x49a38f(0x1cf)]]),_0x410039=_0x450638['rthiY'](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x1d0900,_0x367a89]);_0x410039&&_0x410039[_0x49a38f(0x230)]&&(_0x410039['browserWSEndpoint']=helper[_0x49a38f(0x1e6)](null,null,_0x43dcc8['toLowerCase'](),null,null,_0x410039[_0x49a38f(0x230)]));}else _0x1639d5[_0x450638[_0x49a38f(0x1fb)]][_0x1d0900][_0x450638[_0x49a38f(0x1ed)]]=helper[_0x49a38f(0x1e6)](null,null,_0x43dcc8[_0x49a38f(0x22f)](),_0x450638[_0x49a38f(0x215)](nestedKeyValue,_0x1639d5,[_0x450638[_0x49a38f(0x1fb)],_0x1d0900,_0x450638[_0x49a38f(0x1ed)]]),null,null);_0x5c6e77[_0x450638['jXeOO']]=_0x1639d5,_0x57ef99['push'](_0x450638[_0x49a38f(0x226)]);}const _0x5c4c0b={};_0x5c4c0b[_0x49a38f(0x229)]=_0x3926c4;const _0x429733=_0x5c4c0b,_0x796159=path['join'](__dirname,_0x450638[_0x49a38f(0x23b)]),_0x221826=process['cwd']();process[_0x49a38f(0x236)][_0x450638['hOOGE']]=_0x221826,process[_0x49a38f(0x24a)](path[_0x49a38f(0x23e)](_0x3926c4));const _0x564754=new CodeceptJS[(_0x49a38f(0x212))](null,_0x429733),_0x5398c4=_0x564754[_0x49a38f(0x1ea)](_0x304f87),_0x34ae31=testOpsHelper[_0x49a38f(0x1e9)](),_0x387458=_0x57ef99[_0x49a38f(0x1fe)](_0x4c6d16=>{const _0x5aec2a=_0x49a38f,_0x5bdc6c={};_0x5bdc6c['Playwright']=_0x5c6e77[_0x4c6d16];const _0xa5eb3={};_0xa5eb3[_0x5aec2a(0x242)]=_0x5c6e77[_0x4c6d16];const _0x5c905c=_0x23f17d?_0x5bdc6c:_0xa5eb3,_0x4f1949=_0x450638[_0x5aec2a(0x1e4)](getO11yRerunPattern),_0x5ef5d0={};_0x5ef5d0[_0x5aec2a(0x22c)]=_0x5c905c;const _0x4a7154={};_0x4a7154[_0x5aec2a(0x214)]=_0x796159,_0x4a7154[_0x5aec2a(0x1ee)]=!![],_0x4a7154[_0x5aec2a(0x1e8)]=_0x531294['config'][_0x5aec2a(0x21d)][_0x5aec2a(0x1e8)],_0x4a7154[_0x5aec2a(0x1ca)]=_0x531294[_0x5aec2a(0x1fc)]['testContextOptions'][_0x5aec2a(0x1ca)],_0x4a7154[_0x5aec2a(0x1d1)]=_0x34ae31,_0x4a7154[_0x5aec2a(0x234)]=_0x43dcc8;const _0x1b5695={};_0x1b5695[_0x5aec2a(0x1cb)]=_0x4a7154;const _0x1de3f9={};return _0x1de3f9[_0x5aec2a(0x21c)]=_0x1b5695,helper[_0x5aec2a(0x1d4)]({},_0x1639d5,_0x450638['TMftT'](isBrowserstackInfra)?_0x5ef5d0:{},_0x4f1949?{'grep':_0x4f1949}:{},_0x1de3f9);});for(const _0xcda3a8 of _0x387458){for(const _0x525b4c of _0x5398c4){const _0x133090=_0x564754[_0x49a38f(0x22d)]();_0x133090[_0x49a38f(0x250)](_0x525b4c),_0x133090['addConfig'](_0xcda3a8);const _0x172cd8={};_0x172cd8[_0x49a38f(0x1fc)]=_0x3926c4,_0x133090[_0x49a38f(0x219)](_0x172cd8);}}_0x564754['on'](CodeceptJS[_0x49a38f(0x209)][_0x49a38f(0x254)][_0x49a38f(0x252)],(_0x13f78d,_0x3eb437)=>{const _0x5d86a7=_0x49a38f;console[_0x5d86a7(0x20e)](_0x450638[_0x5d86a7(0x245)],_0x13f78d['title']);const _0x2ef474={[_0x13f78d['title']]:_0x13f78d[_0x5d86a7(0x249)][_0x5d86a7(0x231)]};_testErrorData['push'](_0x2ef474);}),_0x564754['on'](CodeceptJS[_0x49a38f(0x209)][_0x49a38f(0x254)][_0x49a38f(0x1f3)],async _0x41bff7=>{const _0x41c8da=_0x49a38f;console[_0x41c8da(0x20e)](_0x450638[_0x41c8da(0x258)],_0x41bff7['title']);}),_0x564754['on'](CodeceptJS[_0x49a38f(0x209)][_0x49a38f(0x254)][_0x49a38f(0x1e0)],async _0x2a7c93=>{const _0x1cd97d=_0x49a38f;console[_0x1cd97d(0x20e)](_0x450638[_0x1cd97d(0x260)],_0x2a7c93[_0x1cd97d(0x1d5)]);}),_0x564754['on'](CodeceptJS['event'][_0x49a38f(0x24e)][_0x49a38f(0x1cd)],async()=>{const _0x417ed3=_0x49a38f,_0x427bf1=_0x450638[_0x417ed3(0x22e)][_0x417ed3(0x240)]('|');let _0x1bf78a=0x0;while(!![]){switch(_0x427bf1[_0x1bf78a++]){case'0':try{await TestHubHandler[_0x417ed3(0x220)]();}catch(_0x28b51f){logger['debug'](_0x417ed3(0x1d7)+util[_0x417ed3(0x25a)](_0x28b51f));}continue;case'1':_0x531294['errorMessage']=_testErrorData;continue;case'2':testOpsHelper['printBuildLink']();continue;case'3':PerformanceTester[_0x417ed3(0x216)](PerformanceEvents[_0x417ed3(0x1cc)]);continue;case'4':_0x564754[_0x417ed3(0x1fd)]();continue;case'5':utilities[_0x417ed3(0x218)](_0x531294);continue;}break;}});async function _0x36fee5(){const _0x237467=_0x49a38f;try{await _0x564754[_0x237467(0x203)](),await _0x564754[_0x237467(0x1ec)]();}finally{process['chdir'](_0x221826),await _0x564754[_0x237467(0x1db)]();}}PerformanceTester['end'](PerformanceEvents[_0x49a38f(0x23f)]),_0x450638[_0x49a38f(0x1e4)](_0x36fee5);}module[a2_0x505e16(0x239)]=run;
|
|
2
|
+
'use strict';const a2_0xb43cde=a2_0x47e4;(function(_0x4c4328,_0x30fb06){const _0x58cb94=a2_0x47e4,_0x3517fb=_0x4c4328();while(!![]){try{const _0x2872a7=-parseInt(_0x58cb94(0x1cd))/0x1*(-parseInt(_0x58cb94(0x1bd))/0x2)+-parseInt(_0x58cb94(0x1d8))/0x3*(parseInt(_0x58cb94(0x157))/0x4)+parseInt(_0x58cb94(0x1d6))/0x5*(-parseInt(_0x58cb94(0x15c))/0x6)+-parseInt(_0x58cb94(0x15b))/0x7+-parseInt(_0x58cb94(0x164))/0x8*(-parseInt(_0x58cb94(0x187))/0x9)+parseInt(_0x58cb94(0x1b2))/0xa*(-parseInt(_0x58cb94(0x1ad))/0xb)+-parseInt(_0x58cb94(0x1dc))/0xc*(-parseInt(_0x58cb94(0x1b9))/0xd);if(_0x2872a7===_0x30fb06)break;else _0x3517fb['push'](_0x3517fb['shift']());}catch(_0x11364e){_0x3517fb['push'](_0x3517fb['shift']());}}}(a2_0x21f4,0xbbc1f));function a2_0x47e4(_0x43effc,_0x500f37){const _0x21f436=a2_0x21f4();return a2_0x47e4=function(_0x47e432,_0x381387){_0x47e432=_0x47e432-0x156;let _0x2e0729=_0x21f436[_0x47e432];return _0x2e0729;},a2_0x47e4(_0x43effc,_0x500f37);}const fs=require('fs'),path=require(a2_0xb43cde(0x1c1)),util=require(a2_0xb43cde(0x1a6)),process=require(a2_0xb43cde(0x1b4)),logger=require('../../helpers/logger')[a2_0xb43cde(0x169)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0xb43cde(0x17d)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0xb43cde(0x178)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0xb43cde(0x18f)),CodeceptJS=requireModule(a2_0xb43cde(0x1b3),'codeceptjs'),testOpsHelper=require(a2_0xb43cde(0x1cf)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0xb43cde(0x1aa)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a2_0xb43cde(0x17c))[a2_0xb43cde(0x1b6)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x41e7b8,_0x1ec044)=>{const _0x18636b=a2_0xb43cde,_0x538813={};_0x538813[_0x18636b(0x199)]=function(_0x1e70f7,_0x352d61){return _0x1e70f7===_0x352d61;},_0x538813['BvoQZ']=_0x18636b(0x1ae),_0x538813['xtERg']='codecept.json';const _0x56bbcd=_0x538813;let _0x514030=null;const _0x3d1e6c={};let _0x1d3e23=_0x1ec044[_0x18636b(0x1cc)](_0x70e195=>_0x70e195==='--config');_0x56bbcd[_0x18636b(0x199)](_0x1d3e23,-0x1)&&(_0x1d3e23=_0x1ec044[_0x18636b(0x1cc)](_0x404b83=>_0x404b83==='-c'));if(!helper['isUndefined'](_0x41e7b8[_0x18636b(0x1db)])&&fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x41e7b8[_0x18636b(0x1db)])))_0x514030=path[_0x18636b(0x16b)](process['cwd'](),_0x41e7b8[_0x18636b(0x1db)]),_0x1ec044[_0x18636b(0x175)](_0x1d3e23,0x2);else{if(!helper[_0x18636b(0x1a4)](_0x41e7b8['c'])&&fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x41e7b8['c'])))_0x514030=path['join'](process[_0x18636b(0x176)](),_0x41e7b8['c']),_0x1ec044[_0x18636b(0x175)](_0x1d3e23,0x2);else{if(fs['existsSync'](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x159)])))_0x514030=path['join'](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x159)]);else fs[_0x18636b(0x196)](path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd[_0x18636b(0x177)]))&&(_0x514030=path[_0x18636b(0x16b)](process[_0x18636b(0x176)](),_0x56bbcd['xtERg']));}}return process[_0x18636b(0x171)][_0x18636b(0x198)]=_0x514030,_0x514030;},getO11yRerunPattern=()=>{const _0x4b6669=a2_0xb43cde,_0xe4be71=helper[_0x4b6669(0x16e)](process[_0x4b6669(0x171)][_0x4b6669(0x16d)]);if(_0xe4be71){const _0x4db339=process[_0x4b6669(0x171)][_0x4b6669(0x1bb)],_0x4f0aa8=[];if(helper['validateRerunTestList'](_0x4db339)&&!helper[_0x4b6669(0x1a4)](_0x4db339)){_0x4db339['split'](',')['map'](_0x231fe6=>{_0x4f0aa8['push']('('+_0x231fe6['trim']()+')');});const _0xf1c9da='^'+_0x4f0aa8[_0x4b6669(0x16b)]('|')+'$';return _0xf1c9da;}}return null;},a2_0x5ae915={};a2_0x5ae915[a2_0xb43cde(0x15f)]=a2_0xb43cde(0x1c9),a2_0x5ae915[a2_0xb43cde(0x1af)]=a2_0xb43cde(0x1c9),a2_0x5ae915['playwright-firefox']='firefox',a2_0x5ae915['playwright-webkit']='webkit';function a2_0x21f4(){const _0x4c1a02=['push','CWYbL','ShMSF','4|5|0|3|1|2','QciqO','getUserWorkerCount','testConfig','4ioDUMr','dirname','BvoQZ','mergeDeep','7667051WSvvvt','966yLxtiZ','profile','frameworkName','chrome','prepareCapabilities','start','idsMk','skipSessionName','8YchMIB','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','addConfig','HXdra','enabled','winstonLogger','require','join','vRaYD','BROWSERSTACK_RERUN','isTrue','toLowerCase','helpers','env','title','browserWSEndpoint','yhVaA','slice','cwd','xtERg','../../bin/playwright/accessibility-helper','DKyhF','IXRNx','end','../../helpers/performance/constants','../../helpers/utilities','log','Phlia','coHDw','split','WebDriver','length','validPlatformsPresent','browser','FtBPI','5562873hFzMFs','addOptions','EYeAK','veenz','setAdditionalCapabilities','handleApp','parallelsPerPlatform','info','../../helpers/helper','createGroupsOfSuites','UAywr','plugins','APRbT','chdir','Failed\x20:\x20','existsSync','load','USER_CONFIG_DETAILS_PATH','RtyDJ','run','all','before','teardownAll','seDAp','launchBuild','useW3C','test','result','gpLwU','isUndefined','SDK_SETUP','util','accessibility','forEach','BROWSERSTACK_TEST_OBSERVABILITY_YML','../utils/constants','YDJtz','getPlatformName','317251EFrLMB','codecept.conf.js','playwright-chromium','stop','finalExecution','410ddqeWg','codeceptjs/lib/index.js','process','now','EVENTS','browserName','isEmpty','13KfnhXH','root','BROWSERSTACK_RERUN_TESTS','kcDog','622seGoQu','accessibilityOptions','Playwright','stack','path','platforms','gBYvH','IIOYH','testContextOptions','stringify','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','PngQT','chromium','CODECEPT','addTests','findIndex','2453OvWloR','Passed\x20:\x20','../../helpers/test-observability/utils','codeceptjs','desiredCapabilities','UWgJa','spawn','map','XoROP','39635MtvBGV','Started\x20:\x20','4536123viyIoh','Workers','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','config','53449644HkfnBu','event','format','testObservability'];a2_0x21f4=function(){return _0x4c1a02;};return a2_0x21f4();}const pwToCodeceptBrowser=a2_0x5ae915;async function run(_0x5ec9f8,_0x8eb29f){const _0x173c58=a2_0xb43cde,_0x234191={'vyFHO':function(_0x523946,_0x215fc8){return _0x523946+_0x215fc8;},'APRbT':function(_0x3ac079,_0x4df0d9){return _0x3ac079(_0x4df0d9);},'gpLwU':function(_0x5b31c5,_0xd5b17d,_0x209de4){return _0x5b31c5(_0xd5b17d,_0x209de4);},'QciqO':_0x173c58(0x170),'PowtB':function(_0x1e5342){return _0x1e5342();},'UWgJa':function(_0x28bb7){return _0x28bb7();},'FtBPI':_0x173c58(0x195),'coHDw':_0x173c58(0x1ce),'UbxgG':_0x173c58(0x1d7),'Phlia':_0x173c58(0x1e3),'DKyhF':_0x173c58(0x1d0),'veenz':function(_0x505e94,_0x4f8c7f,_0x1282b5){return _0x505e94(_0x4f8c7f,_0x1282b5);},'YDJtz':_0x173c58(0x1da),'HXdra':function(_0x3cda2d,_0x446016,_0x1c0f5c){return _0x3cda2d(_0x446016,_0x1c0f5c);},'EYeAK':_0x173c58(0x1bf),'kcDog':_0x173c58(0x182),'PngQT':function(_0x5e3cda,_0x396e67){return _0x5e3cda(_0x396e67);},'ShMSF':function(_0x18a4a2,_0x505623){return _0x18a4a2!=_0x505623;},'IXRNx':function(_0x1dad9f,_0x4ab0b4){return _0x1dad9f===_0x4ab0b4;},'CWYbL':function(_0x5394fc,_0x407a7d,_0x12ffe0){return _0x5394fc(_0x407a7d,_0x12ffe0);},'vRaYD':'gherkin','UAywr':function(_0x4b1918,_0x4427c8){return _0x4b1918+_0x4427c8;},'idsMk':'-cucumber','oDBFu':function(_0x43e7c4){return _0x43e7c4();},'vdUAY':function(_0x133f00,_0x29a087){return _0x133f00*_0x29a087;},'gBYvH':_0x173c58(0x185),'yhVaA':'desiredCapabilities','IIOYH':_0x173c58(0x1ba),'seDAp':'BrowserStackPlugin.js','XoROP':'browserStackCwd'},_0x425834=new BrowserStackSetup(_0x5ec9f8,_0x234191[_0x173c58(0x179)]);await _0x425834['initialize'](),await helper[_0x173c58(0x18c)](_0x425834[_0x173c58(0x1db)]);if(!_0x425834[_0x173c58(0x1db)])return;process[_0x173c58(0x15d)]=_0x5ec9f8[_0x173c58(0x15d)];_0x5ec9f8[_0x173c58(0x15d)]&&(process[_0x173c58(0x171)][_0x173c58(0x15d)]=_0x5ec9f8[_0x173c58(0x15d)]);const _0x98bad4=_0x234191[_0x173c58(0x18a)](getUserCodeceptJSConfigs,_0x5ec9f8,_0x8eb29f);let _0x15b23a={};_0x98bad4?(logger[_0x173c58(0x18e)](_0x173c58(0x165)+_0x98bad4),_0x15b23a=CodeceptJS['config'][_0x173c58(0x197)](_0x98bad4)):logger['info'](_0x234191[_0x173c58(0x1ab)]);let _0x40d165=![];_0x234191[_0x173c58(0x167)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x234191[_0x173c58(0x189)]])&&(_0x40d165=!![]);const _0x13030c=_0x40d165?_0x234191[_0x173c58(0x189)]:_0x234191[_0x173c58(0x1bc)];let _0x37a98c=!_0x40d165?helper[_0x173c58(0x1a0)](_0x425834['config']):![];!helper[_0x173c58(0x1a4)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1be)])&&(process[_0x173c58(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x173c58(0x1c6)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1be)]));let _0x27d13f=_0x425834['config'][_0x173c58(0x1a7)];_0x27d13f=_0x27d13f||_0x234191[_0x173c58(0x1c8)](checkAccessibilityPlatformConfig,_0x425834[_0x173c58(0x1db)]),process[_0x173c58(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x27d13f;_0x27d13f&&(_0x37a98c=!_0x27d13f);_0x234191[_0x173c58(0x1e2)](_0x425834[_0x173c58(0x1db)][_0x173c58(0x1df)],null)?process[_0x173c58(0x171)][_0x173c58(0x1a9)]=_0x425834['config']['testObservability']:process['env'][_0x173c58(0x1a9)]=_0x234191[_0x173c58(0x17a)](_0x13030c,_0x234191[_0x173c58(0x189)]);const _0xb9793f=_0x234191[_0x173c58(0x1e1)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x16c)]]),_0xdc90ec=_0x234191[_0x173c58(0x191)](_0x234191[_0x173c58(0x179)],_0xb9793f&&!helper[_0x173c58(0x1b8)](_0xb9793f)?_0x234191[_0x173c58(0x162)]:''),_0x27ee43=await TestHubHandler[_0x173c58(0x19f)](_0xdc90ec,_0x425834);_0x27d13f&&_0x234191[_0x173c58(0x193)](setAccessibilityCapabilities,_0x425834[_0x173c58(0x1db)]);const _0x3d1600={},_0x4f68fa=[],_0x3085c4=_0x425834[_0x173c58(0x1db)][_0x173c58(0x18d)]||helper[_0x173c58(0x1e5)](_0x5ec9f8,_0x8eb29f,_0x425834[_0x173c58(0x1db)],constants['FRAMEWORKS'][_0x173c58(0x1ca)])||0x1;let _0x27eb5a=0x1;if(_0x234191['oDBFu'](isBrowserstackInfra)){const _0xcd044e=helper[_0x173c58(0x160)](_0x425834[_0x173c58(0x1db)],_0x37a98c,constants['FRAMEWORKS']['CODECEPT']);_0xcd044e[_0x173c58(0x1a8)](_0x1b4f9a=>{const _0x5f1cec=_0x173c58;helper[_0x5f1cec(0x18b)](_0x1b4f9a);}),helper[_0x173c58(0x184)](_0x425834[_0x173c58(0x1db)])?_0x27eb5a=_0x234191['vdUAY'](_0x3085c4,_0x425834[_0x173c58(0x1db)][_0x173c58(0x1c2)][_0x173c58(0x183)]):_0x27eb5a=_0x3085c4,_0xcd044e[_0x173c58(0x1a8)](_0x4a696e=>{const _0x257205=_0x173c58,_0x228915={'cNOUn':function(_0x26ff1a,_0x4c93fd){return _0x234191['vyFHO'](_0x26ff1a,_0x4c93fd);},'gruDg':function(_0x352c94,_0x463de4){const _0xd2c2c4=a2_0x47e4;return _0x234191[_0xd2c2c4(0x193)](_0x352c94,_0x463de4);}},_0x36ae36=_0x234191['vyFHO'](helper[_0x257205(0x1ac)](_0x4a696e,'_'),'_'+Date[_0x257205(0x1b5)]()),_0x4c69cb=((()=>{const _0x181336=_0x257205;if(_0x40d165){const _0x556cf1=pwToCodeceptBrowser[_0x4a696e[_0x181336(0x1b7)]]||_0x4a696e['browserName'];return{'browser':_0x556cf1,[_0x556cf1]:{'browserWSEndpoint':_0x228915['cNOUn'](helper['getPlaywrightUrl'](_0x425834[_0x181336(0x1db)]),_0x228915['gruDg'](encodeURIComponent,JSON[_0x181336(0x1c6)](_0x4a696e)))}};}const _0x6df516={};return _0x6df516[_0x181336(0x1d1)]=_0x4a696e,_0x6df516;})()),_0x3f5329=_0x234191['gpLwU'](nestedKeyValue,_0x15b23a,[_0x234191['QciqO'],_0x13030c]);_0x3d1600[_0x36ae36]=_0x3f5329?helper[_0x257205(0x15a)](_0x4c69cb,_0x3f5329):_0x4c69cb,!_0x40d165&&(_0x3d1600[_0x36ae36][_0x257205(0x185)]=_0x4a696e['browserName']||_0x4c69cb[_0x257205(0x185)]),_0x4f68fa[_0x257205(0x1e0)](_0x36ae36);});}else{_0x27eb5a=0x1;if(_0x40d165){const _0xff23dc=_0x234191[_0x173c58(0x18a)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0x234191[_0x173c58(0x1c3)]]),_0x422558=_0x234191['veenz'](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0xff23dc]);_0x422558&&_0x422558[_0x173c58(0x173)]&&(_0x422558[_0x173c58(0x173)]=helper['prepareCapabilities'](null,null,_0xdc90ec[_0x173c58(0x16f)](),null,null,_0x422558[_0x173c58(0x173)]));}else _0x15b23a[_0x234191['QciqO']][_0x13030c][_0x234191[_0x173c58(0x174)]]=helper[_0x173c58(0x160)](null,null,_0xdc90ec[_0x173c58(0x16f)](),_0x234191[_0x173c58(0x1a3)](nestedKeyValue,_0x15b23a,[_0x234191[_0x173c58(0x1e4)],_0x13030c,_0x234191[_0x173c58(0x174)]]),null,null);_0x3d1600[_0x234191['IIOYH']]=_0x15b23a,_0x4f68fa[_0x173c58(0x1e0)](_0x234191[_0x173c58(0x1c4)]);}const _0x20a03b={};_0x20a03b[_0x173c58(0x156)]=_0x98bad4;const _0x193e7d=_0x20a03b,_0x493861=path[_0x173c58(0x16b)](__dirname,_0x234191[_0x173c58(0x19e)]),_0x47a308=process[_0x173c58(0x176)]();process[_0x173c58(0x171)][_0x234191[_0x173c58(0x1d5)]]=_0x47a308,process[_0x173c58(0x194)](path[_0x173c58(0x158)](_0x98bad4));const _0x37a953=new CodeceptJS[(_0x173c58(0x1d9))](null,_0x193e7d),_0x43291c=_0x37a953[_0x173c58(0x190)](_0x27eb5a),_0x4471ef=testOpsHelper['isTestObservabilitySession'](),_0x3b335f=_0x4f68fa[_0x173c58(0x1d4)](_0x302b44=>{const _0x32386c=_0x173c58,_0x3c1517={};_0x3c1517['Playwright']=_0x3d1600[_0x302b44];const _0x52dc6d={};_0x52dc6d[_0x32386c(0x182)]=_0x3d1600[_0x302b44];const _0x518bd6=_0x40d165?_0x3c1517:_0x52dc6d,_0x3a74c2=_0x234191['PowtB'](getO11yRerunPattern),_0x24cf00={};_0x24cf00[_0x32386c(0x170)]=_0x518bd6;const _0x65195={};_0x65195[_0x32386c(0x16a)]=_0x493861,_0x65195[_0x32386c(0x168)]=!![],_0x65195['skipSessionName']=_0x425834[_0x32386c(0x1db)][_0x32386c(0x1c5)][_0x32386c(0x163)],_0x65195['skipSessionStatus']=_0x425834[_0x32386c(0x1db)]['testContextOptions']['skipSessionStatus'],_0x65195[_0x32386c(0x1df)]=_0x4471ef,_0x65195[_0x32386c(0x15e)]=_0xdc90ec;const _0x5775e7={};_0x5775e7['BrowserStackPlugin']=_0x65195;const _0x1c9497={};return _0x1c9497[_0x32386c(0x192)]=_0x5775e7,helper[_0x32386c(0x15a)]({},_0x15b23a,_0x234191['UWgJa'](isBrowserstackInfra)?_0x24cf00:{},_0x3a74c2?{'grep':_0x3a74c2}:{},_0x1c9497);});for(const _0x4ff971 of _0x3b335f){for(const _0x1f20d2 of _0x43291c){const _0x16f394=_0x37a953[_0x173c58(0x1d3)]();_0x16f394[_0x173c58(0x1cb)](_0x1f20d2),_0x16f394[_0x173c58(0x166)](_0x4ff971);const _0x28205a={};_0x28205a[_0x173c58(0x1db)]=_0x98bad4,_0x16f394[_0x173c58(0x188)](_0x28205a);}}_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)]['failed'],(_0x1d3cf,_0x14e7be)=>{const _0x1c45d0=_0x173c58;console[_0x1c45d0(0x17e)](_0x234191[_0x1c45d0(0x186)],_0x1d3cf[_0x1c45d0(0x172)]);const _0x1fb2cb={[_0x1d3cf[_0x1c45d0(0x172)]]:_0x1d3cf['err'][_0x1c45d0(0x1c0)]};_testErrorData[_0x1c45d0(0x1e0)](_0x1fb2cb);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)]['passed'],async _0x541333=>{const _0x37e264=_0x173c58;console[_0x37e264(0x17e)](_0x234191[_0x37e264(0x180)],_0x541333[_0x37e264(0x172)]);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x1a1)][_0x173c58(0x19c)],async _0x5abc30=>{const _0x25eec4=_0x173c58;console[_0x25eec4(0x17e)](_0x234191['UbxgG'],_0x5abc30['title']);}),_0x37a953['on'](CodeceptJS[_0x173c58(0x1dd)][_0x173c58(0x19b)][_0x173c58(0x1a2)],async()=>{const _0x2ec893=_0x173c58,_0x68b6a1=_0x234191[_0x2ec893(0x17f)][_0x2ec893(0x181)]('|');let _0x2eadac=0x0;while(!![]){switch(_0x68b6a1[_0x2eadac++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':try{await TestHubHandler[_0x2ec893(0x1b0)]();}catch(_0xb10d4e){logger['debug'](_0x2ec893(0x1c7)+util[_0x2ec893(0x1de)](_0xb10d4e));}continue;case'2':_0x37a953['printResults']();continue;case'3':utilities[_0x2ec893(0x1b1)](_0x425834);continue;case'4':PerformanceTester[_0x2ec893(0x161)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':_0x425834['errorMessage']=_testErrorData;continue;}break;}});async function _0x2f83ba(){const _0x4d04e5=_0x173c58;try{await _0x37a953['bootstrapAll'](),await _0x37a953[_0x4d04e5(0x19a)]();}finally{process[_0x4d04e5(0x194)](_0x47a308),await _0x37a953[_0x4d04e5(0x19d)]();}}PerformanceTester[_0x173c58(0x17b)](PerformanceEvents[_0x173c58(0x1a5)]),_0x234191[_0x173c58(0x1d2)](_0x2f83ba);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0x2650(){const _0x556e64=['19629jPVZVM','6870TnrOsS','1922652nLKsAx','browser','ZhJrB','MheCm','jTrCc','8901221oexvik','NKtbC','chrome','latest','10392GtkBHo','OOmlP','warn','soFXU','../../bin/playwright/sessionDetails','config','browserName','RmCyX','unknown_grid','includes','name','caps','fetchPlatformDetails','OMwho','processWebDriverConfig','utpTn','YEubL','osVersion','Playwright','browserWSEndpoint','WvzCs','browser_version','zowCa','eZWTW','cRBrD','browserVersion','accessibilityPlatform','jKnqq','3YjtAJz','platformVersion','100972WMyVAy','get','../../helpers/accessibility-automation/helper','LqhtY','bstack:options','hvPvr','kqEoW','browserstack_accessibility_automation_script','deviceName','7041125tBFsaR','sessionId','../../helpers/logger','platformName','playwright-chromium','LvkNl','8371GxBNVv','../../helpers/helper','getDetails','winstonLogger','RMHoY','6qICvnu','WebDriver','platform_version','ASZtt','38ssXBHm','capabilities','browserstack_executor','xjTpt','HnPuC','bsSessionId','FlofU','gQiCM','constructor','WJjBf','parse','cloudProvider','GZaaK','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','BEoAC','atSHI','14656312kWahPr','platform'];a3_0x2650=function(){return _0x556e64;};return a3_0x2650();}const a3_0x303eb8=a3_0x18b5;(function(_0x3b9d89,_0x128787){const _0x12bc9f=a3_0x18b5,_0x343fa3=_0x3b9d89();while(!![]){try{const _0x21953c=parseInt(_0x12bc9f(0x1c0))/0x1*(parseInt(_0x12bc9f(0x1d8))/0x2)+-parseInt(_0x12bc9f(0x1be))/0x3*(parseInt(_0x12bc9f(0x199))/0x4)+-parseInt(_0x12bc9f(0x1c9))/0x5+-parseInt(_0x12bc9f(0x1d4))/0x6*(-parseInt(_0x12bc9f(0x19e))/0x7)+parseInt(_0x12bc9f(0x195))/0x8+parseInt(_0x12bc9f(0x197))/0x9*(-parseInt(_0x12bc9f(0x198))/0xa)+-parseInt(_0x12bc9f(0x1cf))/0xb*(parseInt(_0x12bc9f(0x1a2))/0xc);if(_0x21953c===_0x128787)break;else _0x343fa3['push'](_0x343fa3['shift']());}catch(_0x4cc226){_0x343fa3['push'](_0x343fa3['shift']());}}}(a3_0x2650,0xee3e9));const {isUndefined,nestedKeyValue}=require(a3_0x303eb8(0x1d0)),logger=require(a3_0x303eb8(0x1cb))[a3_0x303eb8(0x1d2)],PlaywrightSessionDetails=require(a3_0x303eb8(0x1a6)),{isAccessibilityAutomationSession}=require(a3_0x303eb8(0x1c2)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3781ca=>{const _0x1990ca=a3_0x303eb8,_0x1c3578={};_0x1c3578[_0x1990ca(0x19f)]=_0x1990ca(0x1c4),_0x1c3578[_0x1990ca(0x1a5)]=_0x1990ca(0x1bf),_0x1c3578[_0x1990ca(0x1c5)]='platform_version',_0x1c3578[_0x1990ca(0x189)]=_0x1990ca(0x1b3),_0x1c3578[_0x1990ca(0x1bd)]='os_version';const _0xc1264f=_0x1c3578;if(!_0x3781ca)return null;const _0x4e6827=_0x3781ca[_0xc1264f[_0x1990ca(0x19f)]],_0x46a248=[_0xc1264f[_0x1990ca(0x1a5)],_0xc1264f[_0x1990ca(0x1c5)],_0xc1264f[_0x1990ca(0x189)],_0xc1264f[_0x1990ca(0x1bd)]];for(const _0x43ec10 of _0x46a248){if(_0x4e6827&&_0x4e6827[_0x43ec10])return _0x4e6827[_0x43ec10];else{if(_0x3781ca[_0x43ec10])return _0x3781ca[_0x43ec10];}}return null;};function a3_0x18b5(_0x30201e,_0x590ed8){const _0x2650b7=a3_0x2650();return a3_0x18b5=function(_0x18b50d,_0x2846b2){_0x18b50d=_0x18b50d-0x186;let _0x2c4fda=_0x2650b7[_0x18b50d];return _0x2c4fda;},a3_0x18b5(_0x30201e,_0x590ed8);}exports[a3_0x303eb8(0x1ae)]=_0x5cbbd7=>{const _0x291209=a3_0x303eb8,_0x27dfa4={'MheCm':_0x291209(0x1aa),'utpTn':function(_0x2512ff,_0x32c6ed){return _0x2512ff===_0x32c6ed;},'zVClZ':_0x291209(0x1d5),'OMwho':function(_0x5d4170,_0x4431d4){return _0x5d4170(_0x4431d4);},'eZWTW':function(_0xc7d467,_0x129b07,_0x339b37){return _0xc7d467(_0x129b07,_0x339b37);},'YEubL':_0x291209(0x1a7),'xjTpt':'desiredCapabilities','BuuhM':function(_0x455581,_0x192fab){return _0x455581(_0x192fab);},'jTrCc':function(_0xc6ae1d,_0x762622){return _0xc6ae1d===_0x762622;},'RMHoY':_0x291209(0x1b4),'WvzCs':function(_0x130c85,_0xad4d3f,_0x19f450){return _0x130c85(_0xad4d3f,_0x19f450);},'OsJPJ':_0x291209(0x19a),'LqhtY':_0x291209(0x1b5),'kqEoW':_0x291209(0x1ad),'OOmlP':function(_0x134120,_0xfa717e){return _0x134120(_0xfa717e);}};if(!_0x5cbbd7)return null;let _0x6d4921=global['__cloud_provider___']||_0x27dfa4[_0x291209(0x19c)];if(_0x27dfa4[_0x291209(0x1b1)](_0x5cbbd7[_0x291209(0x18d)][_0x291209(0x1ac)],_0x27dfa4['zVClZ'])){const _0x33102d=_0x5cbbd7[_0x291209(0x19a)];if(!_0x33102d)return null;const _0x40dee8=_0x33102d[_0x291209(0x186)],_0x287131=_0x27dfa4[_0x291209(0x1af)](getOSVersionFromCaps,_0x27dfa4[_0x291209(0x1b9)](nestedKeyValue,_0x5cbbd7,[_0x27dfa4[_0x291209(0x1b2)],_0x27dfa4[_0x291209(0x188)]]));return{[_0x6d4921]:{'browser':_0x40dee8[_0x291209(0x1a8)],'browser_version':_0x40dee8[_0x291209(0x1bb)],'capabilities':_0x40dee8,'platform':_0x40dee8[_0x291209(0x1cc)],'platform_version':_0x40dee8[_0x291209(0x1bf)]||_0x287131,'product':_0x27dfa4['BuuhM'](getObservabilityLinkedProductName,_0x40dee8),'session_id':_0x33102d[_0x291209(0x1ca)]}};}else{if(_0x27dfa4[_0x291209(0x19d)](_0x5cbbd7[_0x291209(0x18d)]['name'],_0x27dfa4[_0x291209(0x1d3)])){const _0x58c87a=PlaywrightSessionDetails[_0x291209(0x1d1)]();_0x6d4921=_0x58c87a[_0x291209(0x190)]||_0x6d4921;const _0x19b44e=_0x27dfa4[_0x291209(0x1b6)](nestedKeyValue,_0x5cbbd7,[_0x27dfa4['YEubL'],_0x27dfa4['OsJPJ'],_0x27dfa4[_0x291209(0x1c3)]]),_0xa2a90b=_0x19b44e?JSON[_0x291209(0x18f)](new URL(_0x19b44e)['searchParams'][_0x291209(0x1c1)](_0x27dfa4[_0x291209(0x1c6)])):{};return{[_0x6d4921]:{'browser':_0x58c87a[_0x291209(0x19a)]||_0xa2a90b[_0x291209(0x1a8)],'browser_version':_0x58c87a[_0x291209(0x1b7)]||_0xa2a90b[_0x291209(0x1b7)],'capabilities':_0xa2a90b,'platform':_0x58c87a[_0x291209(0x196)],'platform_version':_0x58c87a[_0x291209(0x1d6)],'product':_0x27dfa4[_0x291209(0x1a3)](getObservabilityLinkedProductName,_0xa2a90b),'session_id':_0x58c87a[_0x291209(0x18a)]}};}}},exports[a3_0x303eb8(0x1b0)]=_0x2c37f2=>{const _0x27f186=a3_0x303eb8,_0x3d2828={'BEoAC':function(_0x18a624){return _0x18a624();},'WJjBf':function(_0x6ceb47,_0x2c2dc6){return _0x6ceb47===_0x2c2dc6;},'RmCyX':_0x27f186(0x1a1),'zowCa':function(_0x145335,_0x282982){return _0x145335>_0x282982;},'ZhJrB':function(_0xebce66,_0x474e62){return _0xebce66(_0x474e62);},'cRBrD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FlofU':_0x27f186(0x1a0),'VFVys':function(_0x1e573e,_0xc56a8b){return _0x1e573e===_0xc56a8b;},'GZaaK':_0x27f186(0x1cd),'atSHI':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ASZtt':_0x27f186(0x192)};if(_0x3d2828[_0x27f186(0x193)](isAccessibilityAutomationSession)){const _0x2c8af5=_0x2c37f2[_0x27f186(0x19a)],_0xb35414=_0x2c8af5['capabilities'];global[_0x27f186(0x1bc)]=!![],!(_0x3d2828[_0x27f186(0x18e)](_0xb35414[_0x27f186(0x1bb)],_0x3d2828[_0x27f186(0x1a9)])||_0x3d2828[_0x27f186(0x1b8)](_0x3d2828[_0x27f186(0x19b)](parseInt,_0xb35414[_0x27f186(0x1bb)]),0x5e))&&(logger['warn'](_0x3d2828[_0x27f186(0x1ba)]),global['accessibilityPlatform']=![]),!(_0x3d2828['WJjBf'](_0xb35414[_0x27f186(0x1a8)],_0x3d2828[_0x27f186(0x18b)])||_0x3d2828['VFVys'](_0xb35414[_0x27f186(0x1a8)],_0x3d2828[_0x27f186(0x191)]))&&(logger[_0x27f186(0x1a4)](_0x3d2828[_0x27f186(0x194)]),global[_0x27f186(0x1bc)]=![]),!_0x3d2828['ZhJrB'](isUndefined,_0xb35414[_0x27f186(0x1c8)])&&(logger[_0x27f186(0x1a4)](_0x3d2828[_0x27f186(0x1d7)]),global[_0x27f186(0x1bc)]=![]);}},exports['shouldPatchExecuteScript']=_0x22cb3f=>{const _0x515b33=a3_0x303eb8,_0x410748={};_0x410748['gQiCM']=_0x515b33(0x187),_0x410748[_0x515b33(0x1ce)]=_0x515b33(0x1c7);const _0x367c49=_0x410748;if(!_0x22cb3f)return![];return!_0x22cb3f[_0x515b33(0x1ab)](_0x367c49[_0x515b33(0x18c)])&&!_0x22cb3f[_0x515b33(0x1ab)](_0x367c49[_0x515b33(0x1ce)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4_0x5819(_0x59be3f,_0x50d15b){const _0x4d69dd=a4_0x4d69();return a4_0x5819=function(_0x581931,_0x2640ed){_0x581931=_0x581931-0xf1;let _0x36f023=_0x4d69dd[_0x581931];return _0x36f023;},a4_0x5819(_0x59be3f,_0x50d15b);}const a4_0x2a935e=a4_0x5819;(function(_0x426d84,_0x10be80){const _0x4a2f05=a4_0x5819,_0x224599=_0x426d84();while(!![]){try{const _0x49b2c7=parseInt(_0x4a2f05(0x175))/0x1*(-parseInt(_0x4a2f05(0x19b))/0x2)+parseInt(_0x4a2f05(0x16f))/0x3*(parseInt(_0x4a2f05(0x18e))/0x4)+-parseInt(_0x4a2f05(0x198))/0x5*(-parseInt(_0x4a2f05(0x14b))/0x6)+-parseInt(_0x4a2f05(0x16a))/0x7*(parseInt(_0x4a2f05(0x1cb))/0x8)+parseInt(_0x4a2f05(0x1de))/0x9*(parseInt(_0x4a2f05(0x161))/0xa)+parseInt(_0x4a2f05(0x16b))/0xb*(parseInt(_0x4a2f05(0xf5))/0xc)+parseInt(_0x4a2f05(0x1b7))/0xd*(-parseInt(_0x4a2f05(0x128))/0xe);if(_0x49b2c7===_0x10be80)break;else _0x224599['push'](_0x224599['shift']());}catch(_0x181c41){_0x224599['push'](_0x224599['shift']());}}}(a4_0x4d69,0xb8e59));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x2a935e(0x197)),{getTestEnv}=require(a4_0x2a935e(0x134)),{FRAMEWORKS}=require(a4_0x2a935e(0x1b1)),logger=require(a4_0x2a935e(0x168))[a4_0x2a935e(0x146)],SessionHandler=require(a4_0x2a935e(0x129)),RequestQueueHandler=require(a4_0x2a935e(0x136)),PlaywrightSessionDetails=require(a4_0x2a935e(0x12f)),debug=testOpsHelper[a4_0x2a935e(0x13f)],{processAccessibilityCaps}=require(a4_0x2a935e(0x15d)),Constants=require(a4_0x2a935e(0x13b)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED=a4_0x2a935e(0x1b4),a4_0x479334={};a4_0x479334[a4_0x2a935e(0x117)]=a4_0x2a935e(0x1d5),a4_0x479334[a4_0x2a935e(0x1a5)]='TestRunFinished',a4_0x479334[a4_0x2a935e(0x18a)]=a4_0x2a935e(0x1e1),a4_0x479334['HOOK_RUN_STARTED']=a4_0x2a935e(0x1a9),a4_0x479334['HOOK_RUN_FINISHED']=a4_0x2a935e(0x133);const TEST_EVENTS=a4_0x479334,parseEvent=_0x2de711=>{const _0x1e7580=a4_0x2a935e,_0x2a54dc={};_0x2a54dc[_0x1e7580(0x11b)]=function(_0x40142a,_0x9188dd){return _0x40142a<_0x9188dd;},_0x2a54dc[_0x1e7580(0x1c0)]=function(_0x5a99e6,_0x213ada){return _0x5a99e6===_0x213ada;},_0x2a54dc[_0x1e7580(0x120)]=_0x1e7580(0x19a),_0x2a54dc['nAQpu']=_0x1e7580(0x108),_0x2a54dc[_0x1e7580(0x1bb)]='skipped',_0x2a54dc[_0x1e7580(0x1d2)]=_0x1e7580(0x10e),_0x2a54dc[_0x1e7580(0x1bd)]=_0x1e7580(0x17d);const _0x5ea501=_0x2a54dc,_0x441ac5=_0x2de711[_0x1e7580(0x10b)](/^(.*)Run(.*)$/);if(!_0x441ac5)return null;if(_0x5ea501[_0x1e7580(0x11b)](_0x441ac5[_0x1e7580(0x13c)],0x3))return null;const _0x4ee447=_0x441ac5[0x1]['toLowerCase'](),_0x558e14=_0x441ac5[0x2][_0x1e7580(0x180)]();return{'test':_0x5ea501[_0x1e7580(0x1c0)](_0x4ee447,_0x5ea501[_0x1e7580(0x120)]),'hook':_0x5ea501[_0x1e7580(0x1c0)](_0x4ee447,_0x5ea501[_0x1e7580(0x124)]),'skipped':_0x5ea501[_0x1e7580(0x1c0)](_0x558e14,_0x5ea501['aqGia']),'started':_0x5ea501[_0x1e7580(0x1c0)](_0x558e14,_0x5ea501[_0x1e7580(0x1d2)]),'finished':_0x5ea501[_0x1e7580(0x1c0)](_0x558e14,_0x5ea501[_0x1e7580(0x1bd)])};},mockPWBrowserType=_0x2b15d7=>{const _0x1c8d5f=a4_0x2a935e,_0x322621={'hyOLs':function(_0x50ff6b,_0x5648e6){return _0x50ff6b===_0x5648e6;},'ubyZb':'string','XVODW':function(_0x109565,_0xb84726,_0x2070e6){return _0x109565(_0xb84726,_0x2070e6);},'GSKec':'wsEndpoint','xVrFg':function(_0x3c0de2,_0x4e6f57){return _0x3c0de2(_0x4e6f57);},'NNkBP':_0x1c8d5f(0x17b),'RmdxH':function(_0x57e5d7,_0x15e8cb){return _0x57e5d7(_0x15e8cb);},'wnCwp':_0x1c8d5f(0x1d4),'ZYNiv':_0x1c8d5f(0x167),'yhiOh':_0x1c8d5f(0x116),'jDTZL':function(_0x31c827,_0x26335b){return _0x31c827(_0x26335b);},'pXJdk':'Not\x20able\x20to\x20import\x20Browser','romUd':_0x1c8d5f(0x196),'GlGAj':_0x1c8d5f(0x12e)},_0x444b8d=path[_0x1c8d5f(0x14c)](_0x322621[_0x1c8d5f(0x106)],_0x322621[_0x1c8d5f(0x1e7)],_0x322621['yhiOh']),_0x3fe93b=_0x322621[_0x1c8d5f(0x155)](importFileFromPWCore,_0x444b8d);if(!_0x3fe93b){_0x322621[_0x1c8d5f(0x1e0)](debug,_0x322621['pXJdk']);return;}const _0x3ef7aa=_0x3fe93b[_0x1c8d5f(0x1c5)],_0x53c604=_0x3ef7aa['prototype'];if(_0x53c604[_0x1c8d5f(0x1dc)])return;const _0x35d96c=_0x53c604[_0x1c8d5f(0x196)];Object[_0x1c8d5f(0x1c1)](_0x53c604,_0x322621['romUd'],{'get':function(){const _0x1e32b9=_0x1c8d5f,_0xe76ac1={'aPEBY':function(_0x33c3fe,_0x217732){const _0x3f08d7=a4_0x5819;return _0x322621[_0x3f08d7(0x181)](_0x33c3fe,_0x217732);},'Sqaso':_0x322621['ubyZb'],'uHOfV':function(_0x37932a,_0x1f3174,_0x5b9ca8){return _0x322621['XVODW'](_0x37932a,_0x1f3174,_0x5b9ca8);},'TcMHq':_0x322621[_0x1e32b9(0x1be)],'TVCBq':function(_0x52c229,_0x47c7fb){const _0x164360=_0x1e32b9;return _0x322621[_0x164360(0x19e)](_0x52c229,_0x47c7fb);},'HmTlD':_0x322621[_0x1e32b9(0x1d9)],'pRxUA':function(_0x52505e,_0x28f83d,_0x1ac9a9){const _0xc4e868=_0x1e32b9;return _0x322621[_0xc4e868(0x107)](_0x52505e,_0x28f83d,_0x1ac9a9);},'DjDFj':function(_0x552f9a,_0x564170){const _0x6386e9=_0x1e32b9;return _0x322621[_0x6386e9(0x155)](_0x552f9a,_0x564170);}};return async function _0x4d6936(_0x51fede,_0x110e8d){const _0x442387=_0x1e32b9,_0x34ab6f={'ZBtLe':function(_0x4fbdfc,_0x477419){return _0xe76ac1['aPEBY'](_0x4fbdfc,_0x477419);},'EMeYU':_0xe76ac1[_0x442387(0x1d1)]},_0xe3bb9c=_0xe76ac1[_0x442387(0x1c6)](nestedKeyValue,_0x51fede,[_0xe76ac1[_0x442387(0x15c)]])||_0x51fede;let _0x3e71da=null,_0x59ffaa=null;try{[_0x59ffaa,_0x3e71da]=_0xe3bb9c?_0xe76ac1[_0x442387(0x190)](parseWSEndpoint,_0xe3bb9c):[null,null],global[_0x442387(0x12d)]=_0x3e71da,_0x59ffaa[_0x442387(0x14e)](_0xe76ac1[_0x442387(0x195)])&&(global['__cloud_provider___']=_0xe76ac1[_0x442387(0x195)]);}catch(_0x2f76d5){logger[_0x442387(0x13f)](_0x442387(0x1c3)+_0xe3bb9c+'\x20'+_0x2f76d5);}_0xe76ac1['pRxUA'](processAccessibilityCaps,_0x3e71da,_0x59ffaa);if(global[_0x442387(0x1e9)]){const _0x5525df=await _0x53c604[_0x442387(0x145)][_0x442387(0x1ea)](this,[''+Constants[_0x442387(0xfc)]+_0xe76ac1[_0x442387(0x113)](encodeURIComponent,JSON[_0x442387(0x19f)](_0x3e71da))]);return PlaywrightSessionDetails[_0x442387(0x1e2)](_0x5525df,_0x2b15d7,_0xe3bb9c),_0x5525df;}return _0x35d96c['apply'](this,arguments)['then'](_0x8e1e2b=>{const _0x4ea278=_0x442387;let _0x5383da=_0x51fede[_0x4ea278(0x1aa)];return _0x34ab6f[_0x4ea278(0x1ca)](typeof _0x51fede,_0x34ab6f[_0x4ea278(0x189)])&&(_0x5383da=_0x51fede),PlaywrightSessionDetails[_0x4ea278(0x1e2)](_0x8e1e2b,_0x2b15d7,_0x5383da),_0x8e1e2b;});};}});const _0x860d1f=_0x53c604['launch'];Object[_0x1c8d5f(0x1c1)](_0x53c604,_0x322621[_0x1c8d5f(0x11a)],{'get':function(){return async function _0x37f1d0(){const _0x7e5aec=a4_0x5819;return _0x860d1f[_0x7e5aec(0x1ea)](this,arguments)[_0x7e5aec(0x1b3)](_0x4e4c16=>{const _0x97280=_0x7e5aec;return PlaywrightSessionDetails[_0x97280(0x1e2)](_0x4e4c16,null),_0x4e4c16;});};}});};class O11yHelper{[a4_0x2a935e(0x101)]=null;[a4_0x2a935e(0x13e)]=null;['enabled']=![];[a4_0x2a935e(0x173)]=![];constructor(_0x33a960,_0x3c1d27){const _0x1eccab=a4_0x2a935e,_0x3bcace={'YFqEi':_0x1eccab(0x162),'JiYUR':function(_0x3c8c7d,_0x734bf6){return _0x3c8c7d===_0x734bf6;},'SNKsK':_0x1eccab(0x15b),'BQqEd':function(_0x34e8e1,_0x258754){return _0x34e8e1(_0x258754);},'noWmi':function(_0x402851){return _0x402851();}},_0x4a7016=_0x3bcace[_0x1eccab(0x1a3)][_0x1eccab(0x144)]('|');let _0xa239a4=0x0;while(!![]){switch(_0x4a7016[_0xa239a4++]){case'0':this[_0x1eccab(0x173)]=_0x3c1d27[_0x1eccab(0x173)];continue;case'1':this[_0x1eccab(0x121)]&&_0x3bcace['JiYUR'](this[_0x1eccab(0x121)][_0x1eccab(0x15f)][_0x1eccab(0x12c)],_0x3bcace['SNKsK'])&&_0x3bcace[_0x1eccab(0x10c)](mockPWBrowserType,null);continue;case'2':this[_0x1eccab(0x127)]=_0x3bcace[_0x1eccab(0x1b8)](getTestEnv);continue;case'3':this[_0x1eccab(0x1b5)]=new testOpsHelper[(_0x1eccab(0x1d3))]({'cwd':process[_0x1eccab(0x194)]()},this[_0x1eccab(0x127)][_0x1eccab(0x191)]);continue;case'4':this[_0x1eccab(0x160)]=_0x3bcace[_0x1eccab(0x1b8)](shouldProcessEventForTesthub);continue;case'5':this['driver']=_0x33a960;continue;}break;}}[a4_0x2a935e(0x1e6)](){const _0x425282=a4_0x2a935e;if(!this[_0x425282(0x160)])return;testOpsHelper['patchConsoleLogger'](),process[_0x425282(0x16c)](_0x425282(0x140)+process[_0x425282(0x1af)]),process['on'](_0x425282(0x140)+process['pid'],this[_0x425282(0x169)][_0x425282(0x14f)](this));}async[a4_0x2a935e(0x1bf)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x2a935e(0x169)](_0x2df3af){const _0x193730=a4_0x2a935e,_0x33b104={'zQgfO':_0x193730(0x172),'scThG':function(_0x32fb35,_0x2ca8f7){return _0x32fb35(_0x2ca8f7);}};try{this[_0x193730(0x13e)]&&!this[_0x193730(0x13e)][_0x193730(0x143)]&&(_0x2df3af[_0x193730(0x1b2)]=this[_0x193730(0x13e)][_0x193730(0x1a1)]);!_0x2df3af[_0x193730(0x1b2)]&&this['currentTest']&&!this[_0x193730(0x101)]['markedStatus']&&(_0x2df3af[_0x193730(0x137)]=this[_0x193730(0x101)][_0x193730(0x183)]);if(_0x2df3af[_0x193730(0x1b2)]||_0x2df3af[_0x193730(0x137)]){const _0x41b07b={};_0x41b07b['event_type']=_0x33b104['zQgfO'],_0x41b07b['logs']=[_0x2df3af],await SessionHandler['uploadEventData'](_0x41b07b);}}catch(_0x546a99){_0x33b104['scThG'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x546a99);}}async[a4_0x2a935e(0x135)](_0x4974a1){const _0x1c75b0=a4_0x2a935e,_0x5885bb={'mucJN':'CBTSessionCreated','mmWTy':function(_0x4004eb,_0xad209e){return _0x4004eb(_0xad209e);}};if(!this[_0x1c75b0(0x160)])return;const _0x510199=this[_0x1c75b0(0x18b)](this[_0x1c75b0(0x121)]);try{const _0x5428b3={};_0x5428b3[_0x1c75b0(0x14d)]=_0x4974a1,_0x5428b3[_0x1c75b0(0xfb)]=_0x510199;const _0x296838=_0x5428b3,_0x8a3ff3={};_0x8a3ff3[_0x1c75b0(0x19c)]=_0x5885bb[_0x1c75b0(0x104)],_0x8a3ff3[_0x1c75b0(0x103)]=_0x296838,await SessionHandler[_0x1c75b0(0xf6)](_0x8a3ff3);}catch(_0x8b0167){_0x5885bb[_0x1c75b0(0x16e)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x8b0167);}}[a4_0x2a935e(0x18b)](_0xee9686){const _0x164d76=a4_0x2a935e,_0x4c6def={'VDudV':function(_0x1d3bff,_0xdc12ac){return _0x1d3bff(_0xdc12ac);}};return _0x4c6def[_0x164d76(0x1a8)](fetchPlatformDetails,_0xee9686);}[a4_0x2a935e(0x166)]=_0x2f19d7=>{const _0x58b3f3=a4_0x2a935e,_0x8ba32e={};_0x8ba32e[_0x58b3f3(0x156)]=_0x58b3f3(0xf8),_0x8ba32e[_0x58b3f3(0x148)]=_0x58b3f3(0xf9);const _0x5a9f04=_0x8ba32e;if(!_0x2f19d7||!_0x2f19d7[_0x58b3f3(0x159)])return;[_0x5a9f04[_0x58b3f3(0x156)],_0x5a9f04[_0x58b3f3(0x148)]][_0x58b3f3(0x18f)](_0x32964f=>{const _0x7bab92=_0x58b3f3,_0x4b24bd=_0x2f19d7[_0x7bab92(0x159)][_0x32964f];_0x4b24bd[_0x7bab92(0x18f)](_0x29bc30=>{const _0x484146=_0x7bab92;_0x29bc30[_0x484146(0x1a1)]&&(_0x29bc30[_0x484146(0x1a1)]=null);});});};[a4_0x2a935e(0x153)](_0x2f152c){const _0x201fe5=a4_0x2a935e,_0x2ff031={'XcOOw':_0x201fe5(0x18c),'dJOOy':function(_0x300bce){return _0x300bce();},'GGKmi':function(_0x5afc44,_0x430ef6){return _0x5afc44===_0x430ef6;},'pTpje':_0x201fe5(0xf9),'Iyfvf':_0x201fe5(0x1ab),'dUltC':_0x201fe5(0x184),'FqunT':'_beforeEach'};if(!_0x2f152c||!_0x2f152c['parent'])return;[_0x2ff031['Iyfvf'],_0x2ff031[_0x201fe5(0x16d)],_0x2ff031[_0x201fe5(0x1da)],_0x2ff031[_0x201fe5(0x157)]][_0x201fe5(0x18f)](_0x183fcc=>{const _0x2b1eed=_0x201fe5,_0x5f320e={'LAIMv':_0x2ff031['XcOOw'],'vUMpa':function(_0x2f6b5e){const _0x1f8207=a4_0x5819;return _0x2ff031[_0x1f8207(0x118)](_0x2f6b5e);},'MKSIl':function(_0x58ce94,_0x1dfaca){const _0x52d6bb=a4_0x5819;return _0x2ff031[_0x52d6bb(0x1c2)](_0x58ce94,_0x1dfaca);},'dRIon':_0x2ff031['pTpje'],'qprIe':function(_0xfe7ac3){const _0x3ebbf7=a4_0x5819;return _0x2ff031[_0x3ebbf7(0x118)](_0xfe7ac3);}},_0x2fa30e=_0x2f152c[_0x2b1eed(0x159)][_0x183fcc]||[];_0x2fa30e['forEach'](_0xa2737e=>{const _0x3babab=_0x2b1eed;if(_0xa2737e[_0x3babab(0x105)][_0x3babab(0x14e)](_0x5f320e[_0x3babab(0x1ad)]))return;if(!_0xa2737e[_0x3babab(0x1a1)])_0xa2737e[_0x3babab(0x1a1)]=_0x5f320e[_0x3babab(0x1e8)](uuidv4);else _0xa2737e[_0x3babab(0x143)]&&_0x5f320e[_0x3babab(0x1ba)](_0x183fcc,_0x5f320e['dRIon'])&&(_0xa2737e[_0x3babab(0x1a1)]=_0x5f320e['qprIe'](uuidv4),delete _0xa2737e[_0x3babab(0x143)]);});}),this[_0x201fe5(0x153)](_0x2f152c[_0x201fe5(0x159)]);}[a4_0x2a935e(0x1c8)](_0x15f3f1){const _0x313353=a4_0x2a935e,_0x31c25c={};_0x31c25c[_0x313353(0x11c)]=_0x313353(0x1ab),_0x31c25c['WFXbH']=_0x313353(0x184),_0x31c25c['ozJUd']=_0x313353(0xf8),_0x31c25c[_0x313353(0x147)]=_0x313353(0xf9);const _0x3a3b77=_0x31c25c;if(!_0x15f3f1||!_0x15f3f1[_0x313353(0x159)])return[];const _0x1b8749=[];return[_0x3a3b77[_0x313353(0x11c)],_0x3a3b77[_0x313353(0x1c7)],_0x3a3b77['ozJUd'],_0x3a3b77['gdweO']]['forEach'](_0x3be462=>{const _0x549302=_0x313353,_0x1c3395=_0x15f3f1[_0x549302(0x159)][_0x3be462]||[];_0x1c3395[_0x549302(0x18f)](_0x316d5d=>{const _0x595f8b=_0x549302;_0x316d5d[_0x595f8b(0x1a1)]&&_0x1b8749[_0x595f8b(0x1a0)](_0x316d5d['hookAnalyticsId']);});}),[][_0x313353(0x186)](_0x1b8749,this[_0x313353(0x1c8)](_0x15f3f1[_0x313353(0x159)]));}[a4_0x2a935e(0x112)](_0x2f88bb){const _0x6c2927=a4_0x2a935e,_0x59222d=/^"(?<hook>.*)" hook:.*$/,_0x2aed06=_0x2f88bb[_0x6c2927(0x105)],_0x2087c1=_0x2aed06[_0x6c2927(0x10b)](_0x59222d);if(_0x2087c1&&_0x2087c1[_0x6c2927(0x192)])return _0x2087c1[_0x6c2927(0x192)][_0x6c2927(0x108)][_0x6c2927(0x1d0)]()[_0x6c2927(0x163)]('\x20','_');return null;}[a4_0x2a935e(0x188)](_0x404ebc){const _0x5dca26=a4_0x2a935e,_0x1fc272={};_0x1fc272[_0x5dca26(0x150)]=function(_0x483d0f,_0xc82882){return _0x483d0f===_0xc82882;},_0x1fc272['hGZDt']=function(_0xaa03ce,_0x5e6c69){return _0xaa03ce===_0x5e6c69;},_0x1fc272[_0x5dca26(0x152)]=function(_0x702bbb,_0x37e0a1){return _0x702bbb===_0x37e0a1;},_0x1fc272[_0x5dca26(0x170)]=_0x5dca26(0x1bc),_0x1fc272['cIakT']='config';const _0x26c1e8=_0x1fc272,_0x5a6fa6=path['sep'];if(_0x26c1e8[_0x5dca26(0x150)](_0x404ebc,null)||_0x26c1e8[_0x5dca26(0x150)](_0x404ebc,'')||_0x26c1e8[_0x5dca26(0x132)](_0x404ebc,_0x5a6fa6)||_0x26c1e8[_0x5dca26(0x152)](_0x404ebc,path[_0x5dca26(0x1dd)](_0x404ebc)))return null;try{return fs[_0x5dca26(0x1b6)](path['join'](_0x404ebc,_0x26c1e8[_0x5dca26(0x170)],_0x26c1e8['cIakT'])),_0x404ebc;}catch(_0x20225e){const _0x1c63ac=path[_0x5dca26(0x1dd)](_0x404ebc);return this['findGitConfig'](_0x1c63ac);}}[a4_0x2a935e(0x1e4)](_0x11f84f){const _0x5a480d=a4_0x2a935e,_0x4cbb7f={};_0x4cbb7f[_0x5a480d(0x18d)]=function(_0x310af5,_0x592397){return _0x310af5>_0x592397;};const _0xb39ab5=_0x4cbb7f;if(_0x11f84f['file'])return _0x11f84f[_0x5a480d(0x139)];if(_0x11f84f[_0x5a480d(0x185)]){const _0xf229f5=_0x11f84f[_0x5a480d(0x185)][_0x5a480d(0x101)]?this[_0x5a480d(0x1e4)](_0x11f84f['ctx'][_0x5a480d(0x101)]):null;if(_0xf229f5)return _0xf229f5;}if(_0x11f84f[_0x5a480d(0x159)]){const _0x598973=this['getRootParentFile'](_0x11f84f[_0x5a480d(0x159)])||(_0x11f84f[_0x5a480d(0x159)]['ctx']&&_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x185)][_0x5a480d(0x101)]?this['getRootParentFile'](_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x185)][_0x5a480d(0x101)]):null);if(_0x598973)return _0x598973;_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x130)]&&_0xb39ab5[_0x5a480d(0x18d)](_0x11f84f['parent'][_0x5a480d(0x130)][_0x5a480d(0x13c)],0x0)&&_0x11f84f[_0x5a480d(0x159)][_0x5a480d(0x130)]['forEach'](_0x535faa=>{const _0x2e15d0=_0x5a480d,_0x31ee03=_0x535faa[_0x2e15d0(0x185)]?this['getRootParentFile'](_0x535faa['ctx']):null;if(_0x31ee03)return _0x31ee03;});}return null;}['getHierarchy'](_0x1c399e){const _0x5029b0=a4_0x2a935e,_0x5b7648={};_0x5b7648[_0x5029b0(0x12a)]=function(_0x5ab9e2,_0x488f8c){return _0x5ab9e2!==_0x488f8c;};const _0x24c3b8=_0x5b7648,_0x4d3f64=[];if(_0x1c399e&&_0x1c399e[_0x5029b0(0x159)]){let _0x2b9bfb=_0x1c399e['parent'];while(_0x2b9bfb&&_0x24c3b8[_0x5029b0(0x12a)](_0x2b9bfb['title'],'')){_0x4d3f64[_0x5029b0(0x1a0)](_0x2b9bfb[_0x5029b0(0x105)]),_0x2b9bfb=_0x2b9bfb[_0x5029b0(0x159)];}}return _0x4d3f64;}[a4_0x2a935e(0x100)](_0x5aa63c,_0x50cb98,_0x1486a6=undefined){const _0x99dfc9=a4_0x2a935e,_0x1e16b0={'wfCTU':function(_0x2d4f30,_0x5d80aa){return _0x2d4f30(_0x5d80aa);},'ofSzY':function(_0x154fb9){return _0x154fb9();},'aZxsM':function(_0x191a91){return _0x191a91();},'mIAKq':_0x99dfc9(0x109),'GNiPr':_0x99dfc9(0x131),'BGeLP':function(_0x3e8ba0,_0x5e9add){return _0x3e8ba0!==_0x5e9add;},'akBDs':_0x99dfc9(0x10a),'Ntkkt':_0x99dfc9(0x122),'hPrRj':_0x99dfc9(0x1b4),'fxqVj':'passed','vRkTu':_0x99dfc9(0x1a6),'xjWbI':'javascript','Kmuhz':function(_0x3a0e2b,_0x346535){return _0x3a0e2b-_0x346535;},'jWJzI':function(_0x29cafe,_0x34f4ea,_0x58008f,_0xa72cbb,_0x453f0c){return _0x29cafe(_0x34f4ea,_0x58008f,_0xa72cbb,_0x453f0c);},'fgalz':function(_0x3e593c,_0x35cf34){return _0x3e593c!==_0x35cf34;},'zfZLi':_0x99dfc9(0xfb),'qVSNX':_0x99dfc9(0xf7),'gMQZT':_0x99dfc9(0x176),'DIrKQ':_0x99dfc9(0x179),'hsSND':_0x99dfc9(0xfd),'ZgIng':_0x99dfc9(0x1d6),'JSPYQ':_0x99dfc9(0x1eb),'TxQWH':function(_0x827838,_0x52cd1b){return _0x827838===_0x52cd1b;},'pfjPz':'hook_run','BmitM':_0x99dfc9(0x103)};if(!this[_0x99dfc9(0x160)])return;try{if(_0x50cb98['fn']&&_0x50cb98['fn'][_0x99dfc9(0x123)]()[_0x99dfc9(0x10b)](/browserstack internal helper hook/))return;const _0x57a459=_0x1e16b0['wfCTU'](parseEvent,_0x5aa63c);if(!_0x57a459)return;if(_0x57a459[_0x99dfc9(0x19a)]){this['currentTest']=_0x50cb98,this['currentHook']=null;if(_0x57a459['started']||_0x57a459['skipped']){_0x50cb98[_0x99dfc9(0x11d)]=new Date(),_0x50cb98['markedStatus']=![];if(!_0x50cb98[_0x99dfc9(0x183)])_0x50cb98[_0x99dfc9(0x183)]=_0x1e16b0['ofSzY'](uuidv4);else _0x50cb98[_0x99dfc9(0x143)]&&(!_0x50cb98[_0x99dfc9(0x115)]&&(_0x50cb98[_0x99dfc9(0x115)]=_0x50cb98[_0x99dfc9(0x183)]),_0x50cb98['testAnalyticsId']=_0x1e16b0[_0x99dfc9(0xf3)](uuidv4));}}else{if(_0x57a459['hook']){this[_0x99dfc9(0x13e)]=_0x50cb98;if(_0x57a459['started']){_0x50cb98[_0x99dfc9(0x11d)]=new Date(),_0x50cb98[_0x99dfc9(0x143)]=![];if(!_0x50cb98[_0x99dfc9(0x1a1)])_0x50cb98[_0x99dfc9(0x1a1)]=_0x1e16b0[_0x99dfc9(0x182)](uuidv4);else _0x50cb98[_0x99dfc9(0x1a1)]&&_0x50cb98[_0x99dfc9(0x143)]&&(_0x50cb98[_0x99dfc9(0x1a1)]=_0x1e16b0[_0x99dfc9(0x182)](uuidv4));}}}if(_0x57a459['finished']&&_0x50cb98[_0x99dfc9(0x143)])return;let _0x2c9a8e;try{_0x2c9a8e=this['getRootParentFile'](_0x50cb98);}catch(_0x1c356a){logger[_0x99dfc9(0x13f)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x1c356a),_0x2c9a8e=null;}const _0x374c24=_0x1e16b0[_0x99dfc9(0xfe)](require,_0x1e16b0[_0x99dfc9(0x110)]);let _0x1610ba=[];_0x1486a6&&(_0x1610ba=[_0x1486a6,_0x1e16b0[_0x99dfc9(0x1d7)]]);const _0x5d609d=_0x1e16b0[_0x99dfc9(0x1b0)](_0x50cb98[_0x99dfc9(0x165)],undefined)?_0x374c24['inspect'](_0x50cb98[_0x99dfc9(0x165)][0x0]):_0x1e16b0[_0x99dfc9(0x1b0)](_0x1486a6,undefined)?_0x1486a6[_0x99dfc9(0x123)]():undefined,_0x2029c6=_0x2c9a8e?this[_0x99dfc9(0x188)](_0x2c9a8e):null,_0x275a2d=_0x2c9a8e?this[_0x99dfc9(0x1b5)][_0x99dfc9(0x19d)](this['getRootParentFile'](_0x50cb98)):_0x1e16b0[_0x99dfc9(0x15e)];let _0x2578fe=_0x1e16b0['Ntkkt'];const _0x13577c=!_0x57a459[_0x99dfc9(0x10e)]?new Date()[_0x99dfc9(0x17a)]():null;if(_0x57a459['finished'])_0x2578fe=_0x1486a6?_0x1e16b0[_0x99dfc9(0x174)]:_0x1e16b0['fxqVj'],_0x50cb98[_0x99dfc9(0x143)]=!![];else _0x57a459[_0x99dfc9(0x1a6)]&&(_0x2578fe=_0x1e16b0[_0x99dfc9(0x164)],_0x50cb98[_0x99dfc9(0x143)]=!![]);const _0x11051d={'framework':this[_0x99dfc9(0x173)],'uuid':_0x50cb98[_0x99dfc9(0x183)]||_0x50cb98[_0x99dfc9(0x1a1)],'name':_0x50cb98['title'],'body':{'lang':_0x1e16b0[_0x99dfc9(0xf2)],'code':_0x50cb98[_0x99dfc9(0x17c)][_0x99dfc9(0x123)]()},'type':_0x50cb98[_0x99dfc9(0x11f)],'scope':_0x50cb98['fullTitle'](),'scopes':this[_0x99dfc9(0x1c4)](_0x50cb98),'file_name':_0x275a2d,'vc_filepath':_0x2029c6?path[_0x99dfc9(0x114)](_0x2029c6,_0x2c9a8e):null,'location':_0x275a2d,'result':_0x2578fe,'failure_reason':_0x5d609d,'duration_in_ms':_0x50cb98[_0x99dfc9(0x154)]||(_0x57a459[_0x99dfc9(0x17d)]||_0x57a459[_0x99dfc9(0x1a6)])?_0x1e16b0[_0x99dfc9(0x1a4)](Date[_0x99dfc9(0x1d8)](),new Date(_0x50cb98['startedAt'])[_0x99dfc9(0x11e)]()):null,'started_at':new Date(_0x50cb98['startedAt'])[_0x99dfc9(0x17a)](),'finished_at':_0x13577c,'failure':testOpsHelper[_0x99dfc9(0x125)][_0x99dfc9(0x1ea)](null,_0x1610ba),'failure_type':!_0x5d609d?null:testOpsHelper[_0x99dfc9(0x10f)](_0x5d609d),'retry_of':_0x50cb98[_0x99dfc9(0x115)]||null,'tags':_0x50cb98['tags']||[],'customRerunParam':{'rerun_name':_0x50cb98[_0x99dfc9(0x151)]()}};_0x1e16b0['jWJzI'](appendTesthubParams,_0x11051d,_0x5aa63c,_0x50cb98,FRAMEWORKS['CODECEPT']);if(_0x57a459['hook'])[_0x11051d[_0x99dfc9(0x1cc)],_0x11051d[_0x99dfc9(0x12c)]]=[this['getHookType'](_0x50cb98),_0x50cb98['ctx'][_0x99dfc9(0x19a)]['title']],_0x57a459[_0x99dfc9(0x17d)]?_0x1e16b0[_0x99dfc9(0x178)](_0x11051d['result'],_0x1e16b0[_0x99dfc9(0x174)])&&(_0x11051d[_0x99dfc9(0x138)]=_0x1e16b0[_0x99dfc9(0x119)]):_0x11051d[_0x99dfc9(0x17c)]={};else _0x57a459[_0x99dfc9(0x19a)]&&(this[_0x99dfc9(0x153)](_0x50cb98),_0x57a459['skipped']&&this[_0x99dfc9(0x166)](_0x50cb98),(_0x57a459['finished']||_0x57a459[_0x99dfc9(0x1a6)])&&(_0x11051d[_0x99dfc9(0x193)]=this[_0x99dfc9(0x1c8)](_0x50cb98)));this[_0x99dfc9(0x121)]&&(_0x57a459['started']||_0x57a459['skipped'])&&(_0x11051d[_0x1e16b0[_0x99dfc9(0x10d)]]=this[_0x99dfc9(0x18b)](this[_0x99dfc9(0x121)]));_0x57a459['test']&&_0x57a459[_0x99dfc9(0x17d)]&&_0x50cb98[_0x99dfc9(0x1db)]&&(_0x11051d[_0x1e16b0['qVSNX']]={'feature':{'name':_0x50cb98[_0x99dfc9(0x159)][_0x99dfc9(0xf1)][_0x99dfc9(0x12c)],'path':_0x11051d[_0x99dfc9(0x1ac)],'description':_0x50cb98[_0x99dfc9(0x159)][_0x99dfc9(0x177)]},'scenario':{'name':_0x50cb98['title']},'steps':_0x50cb98[_0x99dfc9(0x1db)]});const _0x2a9cfe=_0x11051d[_0x1e16b0[_0x99dfc9(0x111)]][0x0];_0x2a9cfe&&(_0x11051d[_0x1e16b0[_0x99dfc9(0x1a2)]]=_0x2a9cfe[_0x1e16b0[_0x99dfc9(0x126)]],_0x11051d[_0x1e16b0[_0x99dfc9(0x171)]]=_0x2a9cfe[_0x1e16b0[_0x99dfc9(0xf4)]]);if(_0x50cb98['bddSteps'])for(const _0x2a29f7 of _0x50cb98[_0x99dfc9(0x1db)]){!_0x2a29f7['finished_at']&&(_0x2a29f7[_0x99dfc9(0x12b)]=new Date()['toISOString'](),_0x1e16b0[_0x99dfc9(0x1e3)](_0x2a29f7[_0x99dfc9(0x138)],_0x1e16b0['Ntkkt'])&&(_0x2a9cfe?(_0x2a29f7[_0x99dfc9(0x138)]=_0x1e16b0[_0x99dfc9(0x174)],_0x2a29f7['failure']=_0x2a9cfe[_0x1e16b0[_0x99dfc9(0x126)]][0x0]):_0x2a29f7['result']=_0x1e16b0['fxqVj']));}const _0x3b42f2={};_0x3b42f2[_0x99dfc9(0x19c)]=_0x57a459['skipped']?TEST_EVENTS[_0x99dfc9(0x1a5)]:_0x5aa63c;const _0x239ddd=_0x3b42f2;return _0x57a459[_0x99dfc9(0x108)]?_0x239ddd[_0x1e16b0[_0x99dfc9(0xff)]]=_0x11051d:_0x239ddd[_0x1e16b0[_0x99dfc9(0x1ce)]]=_0x11051d,_0x239ddd;}catch(_0x3c6bc3){logger['debug'](_0x99dfc9(0x142)+_0x5aa63c+_0x99dfc9(0x1c9)+_0x3c6bc3);}}async[a4_0x2a935e(0x1ae)](_0xa8ae6f,_0x5c0622){const _0x24335c=a4_0x2a935e;if(!this[_0x24335c(0x160)]||!_0x5c0622||!_0xa8ae6f)return![];try{return await SessionHandler[_0x24335c(0xf6)](_0x5c0622);}catch(_0x10bcd0){logger[_0x24335c(0x13f)](_0x24335c(0x13a)+_0xa8ae6f+_0x24335c(0x1c9)+_0x10bcd0);}}[a4_0x2a935e(0x15a)](_0x541bc0){const _0x4ad31a=a4_0x2a935e,_0x482053={};_0x482053[_0x4ad31a(0x199)]=_0x4ad31a(0x122);const _0xa51ca9=_0x482053;return{'id':_0x541bc0[_0x4ad31a(0x1df)],'text':_0x541bc0[_0x4ad31a(0x1a7)],'keyword':_0x541bc0['keyword'],'started_at':_0x541bc0[_0x4ad31a(0x11d)][_0x4ad31a(0x17a)](),'result':_0xa51ca9['KNBUH']};}[a4_0x2a935e(0x17e)](_0x46ecc2){const _0x4f37ab=a4_0x2a935e,_0x2f6e6e={'zpteS':function(_0x3b72cc){return _0x3b72cc();}};!this['currentTest'][_0x4f37ab(0x1db)]&&(this['currentTest'][_0x4f37ab(0x1db)]=[]),!_0x46ecc2['stepAnalyticsId']&&(_0x46ecc2['stepAnalyticsId']=_0x2f6e6e[_0x4f37ab(0x141)](uuidv4),_0x46ecc2['startedAt']=new Date(),this['currentTest']['bddSteps'][_0x4f37ab(0x1a0)](this[_0x4f37ab(0x15a)](_0x46ecc2)));}[a4_0x2a935e(0x1cd)](_0x230d3e){const _0x30f45e=a4_0x2a935e,_0x5b27a3={'eaFcM':function(_0x551667,_0x4ae9f2){return _0x551667(_0x4ae9f2);},'wqECQ':_0x30f45e(0xfa),'aEVPB':'pending','kOobf':_0x30f45e(0x187),'LVDlP':function(_0x147775,_0x38239d){return _0x147775-_0x38239d;}};let _0x5a99cb=this['currentTest'][_0x30f45e(0x1db)][_0x30f45e(0x102)](_0x14e710=>_0x14e710['id']===_0x230d3e[_0x30f45e(0x1df)]);_0x5b27a3['eaFcM'](isUndefined,_0x5a99cb)&&(_0x5a99cb=this[_0x30f45e(0x15a)](_0x230d3e)),_0x5a99cb[_0x30f45e(0x138)]=[_0x5b27a3[_0x30f45e(0x1e5)],_0x5b27a3['aEVPB']][_0x30f45e(0x14e)](_0x230d3e['status'])?_0x5b27a3['kOobf']:_0x230d3e[_0x30f45e(0x17f)],_0x5a99cb[_0x30f45e(0x12b)]=new Date()[_0x30f45e(0x17a)](),_0x5a99cb[_0x30f45e(0x154)]=_0x5b27a3['LVDlP'](Date[_0x30f45e(0x1d8)](),_0x230d3e['startedAt'][_0x30f45e(0x11e)]()),_0x5a99cb[_0x30f45e(0x176)]=_0x230d3e[_0x30f45e(0x131)]?_0x230d3e[_0x30f45e(0x131)][_0x30f45e(0x1cf)]:null;}}const a4_0x4acad9={};function a4_0x4d69(){const _0x56bca1=['file','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','../utils/constants','length','STATE_FAILED','currentHook','debug','bs:addLog:','zpteS','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','markedStatus','split','connectOverCDP','winstonLogger','gdweO','vLkSf','STATE_PASSED','O11yHelper','6TirAkN','join','uuid','includes','bind','XaLBs','fullTitle','swxgj','mapTestHooks','duration','RmdxH','TUkdV','pTpje','TEST_EVENTS','parent','initializeBddStep','Playwright','TcMHq','../playwright/accessibility-helper','akBDs','constructor','enabled','110540TtKrSM','4|0|5|2|3|1','replace','vRkTu','errorsDetailed','resetSkipTestHooks','client','../../helpers/logger','appendTestItemLog','1050567cFkGbd','3402355LYMtuT','removeAllListeners','dUltC','mmWTy','3mdbCjG','XxdYQ','ZgIng','LogCreated','frameworkName','hPrRj','3793hTKqaa','failure','comment','fgalz','failure_backtrace','toISOString','browserstack','body','finished','bddStepStart','status','toLowerCase','hyOLs','aZxsM','testAnalyticsId','_afterAll','ctx','concat','passed','findGitConfig','EMeYU','TEST_RUN_SKIPPED','getCBTInfo','codeceptjs','WRItj','1776604Kxubxk','forEach','TVCBq','location_prefix','groups','hooks','cwd','HmTlD','connect','../../helpers/test-observability/utils','161435mEJcYF','KNBUH','test','428ZeBoaA','event_type','prefixTestPath','xVrFg','stringify','push','hookAnalyticsId','DIrKQ','YFqEi','Kmuhz','TEST_RUN_FINISHED','skipped','text','VDudV','HookRunStarted','wsEndpoint','_beforeAll','file_name','LAIMv','fireEvent','pid','BGeLP','../../helpers/test-observability/constants','hook_run_uuid','then','failed','_paths','statSync','39ueubvO','noWmi','exports','MKSIl','aqGia','.git','kSORB','GSKec','stop','cyPQv','defineProperty','GGKmi','Failed\x20to\x20parse\x20wsendpoint\x20','getHierarchy','BrowserType','uHOfV','WFXbH','getHooksForTest','\x20with\x20error\x20:\x20','ZBtLe','8WobdaV','hook_type','bddStepFinish','BmitM','message','toUpperCase','Sqaso','KHkMN','PathHelper','lib','TestRunStarted','failure_reason_expanded','GNiPr','now','NNkBP','FqunT','bddSteps','obsBrowserTypeMockApplied','dirname','315ZRwCol','stepAnalyticsId','jDTZL','TestRunSkipped','setupBrowserDetails','TxQWH','getRootParentFile','wqECQ','start','ZYNiv','vUMpa','accessibilityPlatform','apply','expanded','feature','xjWbI','ofSzY','JSPYQ','36LpNUUT','uploadEventData','meta','_beforeEach','_afterEach','success','integrations','PLAYWRIGHT_HUB_URL','backtrace','wfCTU','pfjPz','captureEvent','currentTest','find','test_run','mucJN','title','wnCwp','XVODW','hook','util','File\x20path\x20could\x20not\x20be\x20found','match','BQqEd','zfZLi','started','getFailureType','mIAKq','gMQZT','getHookType','DjDFj','relative','retryOf','browserType.js','TEST_RUN_STARTED','dJOOy','fxqVj','GlGAj','mxunC','qSBqz','startedAt','getTime','type','LInRO','driver','pending','toString','nAQpu','failureData','hsSND','_testEnv','336574JvWGwU','../../helpers/test-observability/sessionHandler','YIaPB','finished_at','name','__platformCaps','launch','../playwright/sessionDetails','suites','err','hGZDt','HookRunFinished','../mocha/test-observability/mochaUtils','sendCBTInfo','../../helpers/test-observability/requestQueueHandler','test_run_uuid','result'];a4_0x4d69=function(){return _0x56bca1;};return a4_0x4d69();}a4_0x4acad9[a4_0x2a935e(0x14a)]=O11yHelper,a4_0x4acad9[a4_0x2a935e(0x149)]=STATE_PASSED,a4_0x4acad9[a4_0x2a935e(0x13d)]=STATE_FAILED,a4_0x4acad9[a4_0x2a935e(0x158)]=TEST_EVENTS,module[a4_0x2a935e(0x1b9)]=a4_0x4acad9;
|
|
1
|
+
const a4_0x5de188=a4_0x4cd2;function a4_0x4cd2(_0x4abdbc,_0x1e2a46){const _0x39a4a8=a4_0x39a4();return a4_0x4cd2=function(_0x4cd2e0,_0x9e44bf){_0x4cd2e0=_0x4cd2e0-0x99;let _0x8113fa=_0x39a4a8[_0x4cd2e0];return _0x8113fa;},a4_0x4cd2(_0x4abdbc,_0x1e2a46);}(function(_0x1f1894,_0x24ddcb){const _0x1de073=a4_0x4cd2,_0x1deba5=_0x1f1894();while(!![]){try{const _0x36847b=parseInt(_0x1de073(0xdd))/0x1*(parseInt(_0x1de073(0xbf))/0x2)+-parseInt(_0x1de073(0x132))/0x3*(parseInt(_0x1de073(0x172))/0x4)+-parseInt(_0x1de073(0xca))/0x5*(-parseInt(_0x1de073(0xea))/0x6)+-parseInt(_0x1de073(0x146))/0x7*(-parseInt(_0x1de073(0xb7))/0x8)+parseInt(_0x1de073(0xd1))/0x9+-parseInt(_0x1de073(0x156))/0xa*(-parseInt(_0x1de073(0xc8))/0xb)+parseInt(_0x1de073(0x11e))/0xc*(-parseInt(_0x1de073(0x10e))/0xd);if(_0x36847b===_0x24ddcb)break;else _0x1deba5['push'](_0x1deba5['shift']());}catch(_0x221e19){_0x1deba5['push'](_0x1deba5['shift']());}}}(a4_0x39a4,0xccf98));function a4_0x39a4(){const _0x5d7f26=['integrations','failure_reason_expanded','ctx','cuqVp','hookAnalyticsId','then','rFBJh','../../helpers/test-observability/requestQueueHandler','pXund','BaFwy','now','bddStepStart','comment','file','qXFqW','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','start','IJRFm','87581AbKPgq','pid','toUpperCase','getFailureType','hook','defineProperty','ArziL','xORdX','match','connectOverCDP','retryOf','GdRaM','BnDss','eddhl','launch','HookRunStarted','5796kJFxjC','rHoff','_beforeEach','appendTestItemLog','path','groups','bs:addLog:','mXATZ','relative','afSgW','cPtOj','./helper.js','TEST_RUN_STARTED','prototype','Kvmvx','split','SVwhF','frameworkName','getHooksForTest','push','3ZAElTs','startedAt','IbMcQ','codeceptjs','TestRunSkipped','getTime','failure_backtrace','obsBrowserTypeMockApplied','CODECEPT','xxUvs','hook_run_uuid','WCjEZ','scCEW','klpZx','finished','LogCreated','EmZyS','hooks','test_run','config','186515DpLSJy','location_prefix','CBTSessionCreated','gvkab','pending','resetSkipTestHooks','jlZpR','prefixTestPath','HioEU','logs','_afterEach','__cloud_provider___','fullTitle','ddYGA','title','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','20gzoMgf','body','Pzwzw','findGitConfig','fwcmB','TEST_RUN_SKIPPED','getInstance','WeLrR','Wruhw','testAnalyticsId','jsqsf','_beforeAll','parent','__platformCaps','toISOString','feature','../../helpers/logger','PathHelper','javascript','test','OuPNx','O11yHelper','EtfoL','browserstack','accessibilityPlatform','sep','uuid','../mocha/test-observability/mochaUtils','3758816EVERJm','mapTestHooks','markedStatus','exports','BPgXL','4|5|1|3|0|2','IqlCd','test_run_uuid','status','currentHook','setupBrowserDetails','../../helpers/testhub/utils.js','driver','length','elTOf','ZJqgg','../playwright/accessibility-helper','apply','bddStepFinish','enabled','hook_run','rnlPI','includes','captureEvent','\x20with\x20error\x20:\x20','getRootParentFile','sendCBTInfo','forEach','getHookType','uploadEventData','getHierarchy','statSync','FqTZi','bVXOy','passed','ulGbM','constructor','currentTest','finished_at','expanded','HOOK_RUN_FINISHED','patchConsoleLogger','event_type','CNnrW','unilS','IYXSz','WLNmU','shutdown','../../helpers/test-observability/sessionHandler','../playwright/sessionDetails','XAtKC','vPHbh','File\x20path\x20could\x20not\x20be\x20found','_paths','16JorXet','PLAYWRIGHT_HUB_URL','gzZPS','hook_type','failed\x20to\x20get\x20root\x20parent\x20file\x20','dirname','../utils/constants','failed','80474LTAggz','fsTnJ','stop','TEST_RUN_FINISHED','bddSteps','IIZCC','toLowerCase','RYQaU','STATE_FAILED','4465714mcYMGJ','winstonLogger','1435FfnHFk','skipped','suites','client','connect','err','getCBTInfo','13564755EdstKc','../../helpers/test-observability/utils','mtBna','hLaNm','nOXdD','name','duration','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','wsEndpoint','TestRunFinished','nNTCP','IvDPw','41vNZadR','join','message','_testEnv','HPfBO','IYojf','debug','stepAnalyticsId','toString','Playwright','.git','fScsS','browserType.js','21138qAtJae','kISAW','initializeBddStep','failure','result','HOOK_RUN_STARTED','LnmDB','aximA','HookRunFinished','vHLIQ','string','_afterAll','Not\x20able\x20to\x20import\x20Browser','bQTZe','started','VjCck','meta','YCktX'];a4_0x39a4=function(){return _0x5d7f26;};return a4_0x39a4();}const path=require(a4_0x5de188(0x122)),fs=require('fs'),{v4:uuidv4}=require(a4_0x5de188(0x170)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x5de188(0xd2)),{getTestEnv}=require(a4_0x5de188(0x171)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x5de188(0x166))[a4_0x5de188(0xc9)],SessionHandler=require(a4_0x5de188(0xb1)),RequestQueueHandler=require(a4_0x5de188(0x103)),PlaywrightSessionDetails=require(a4_0x5de188(0xb2)),debug=testOpsHelper[a4_0x5de188(0xe3)],{processAccessibilityCaps}=require(a4_0x5de188(0x182)),Constants=require(a4_0x5de188(0xbd)),{fetchPlatformDetails}=require(a4_0x5de188(0x129)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x5de188(0x17d)),STATE_PASSED=a4_0x5de188(0xa3),STATE_FAILED=a4_0x5de188(0xbe),a4_0x4d6ded={};a4_0x4d6ded[a4_0x5de188(0x12a)]='TestRunStarted',a4_0x4d6ded[a4_0x5de188(0xc2)]=a4_0x5de188(0xda),a4_0x4d6ded[a4_0x5de188(0x15b)]=a4_0x5de188(0x136),a4_0x4d6ded[a4_0x5de188(0xef)]=a4_0x5de188(0x11d),a4_0x4d6ded[a4_0x5de188(0xa9)]=a4_0x5de188(0xf2);const TEST_EVENTS=a4_0x4d6ded,parseEvent=_0x4b8e79=>{const _0x50f070=a4_0x5de188,_0x4ddc91={};_0x4ddc91[_0x50f070(0x15a)]=function(_0x513e6a,_0x5893a8){return _0x513e6a<_0x5893a8;},_0x4ddc91[_0x50f070(0x13e)]=function(_0x9ebb84,_0x13165b){return _0x9ebb84===_0x13165b;},_0x4ddc91[_0x50f070(0x104)]=_0x50f070(0x169),_0x4ddc91[_0x50f070(0x114)]='hook',_0x4ddc91[_0x50f070(0xfb)]=_0x50f070(0xcb),_0x4ddc91[_0x50f070(0x105)]=function(_0x3f96ff,_0x441563){return _0x3f96ff===_0x441563;},_0x4ddc91[_0x50f070(0xdb)]=_0x50f070(0xf8),_0x4ddc91['FbDRW']=function(_0x5831e9,_0x534aa9){return _0x5831e9===_0x534aa9;},_0x4ddc91[_0x50f070(0x15e)]='finished';const _0x3cb755=_0x4ddc91,_0x3a025d=_0x4b8e79[_0x50f070(0x116)](/^(.*)Run(.*)$/);if(!_0x3a025d)return null;if(_0x3cb755[_0x50f070(0x15a)](_0x3a025d[_0x50f070(0x17f)],0x3))return null;const _0xc7be3a=_0x3a025d[0x1][_0x50f070(0xc5)](),_0x2d4d76=_0x3a025d[0x2][_0x50f070(0xc5)]();return{'test':_0x3cb755[_0x50f070(0x13e)](_0xc7be3a,_0x3cb755[_0x50f070(0x104)]),'hook':_0x3cb755[_0x50f070(0x13e)](_0xc7be3a,_0x3cb755[_0x50f070(0x114)]),'skipped':_0x3cb755[_0x50f070(0x13e)](_0x2d4d76,_0x3cb755[_0x50f070(0xfb)]),'started':_0x3cb755['BaFwy'](_0x2d4d76,_0x3cb755[_0x50f070(0xdb)]),'finished':_0x3cb755['FbDRW'](_0x2d4d76,_0x3cb755[_0x50f070(0x15e)])};},mockPWBrowserType=_0x9637d4=>{const _0x486faf=a4_0x5de188,_0x206bcb={'gzZPS':function(_0x2c1fc1,_0x46bb46){return _0x2c1fc1===_0x46bb46;},'VVXhP':_0x486faf(0xf4),'ZyvsC':function(_0x3cfc15,_0x440194,_0x2c2e87){return _0x3cfc15(_0x440194,_0x2c2e87);},'XjMTY':_0x486faf(0xd9),'XAtKC':function(_0x2f6f3c,_0x5ee948){return _0x2f6f3c(_0x5ee948);},'SVwhF':_0x486faf(0x16d),'DVBmK':function(_0x31b0a7,_0xe7af71,_0x3d98f){return _0x31b0a7(_0xe7af71,_0x3d98f);},'HioEU':'lib','cuqVp':_0x486faf(0xcd),'xxUvs':_0x486faf(0xe9),'bQTZe':function(_0x466ff9,_0x5abd84){return _0x466ff9(_0x5abd84);},'ddYGA':_0x486faf(0xf6),'BPgXL':_0x486faf(0xce),'mtBna':_0x486faf(0x11c)},_0x39f978=path[_0x486faf(0xde)](_0x206bcb[_0x486faf(0x14e)],_0x206bcb[_0x486faf(0xff)],_0x206bcb[_0x486faf(0x13b)]),_0x5f63c1=_0x206bcb['XAtKC'](importFileFromPWCore,_0x39f978);if(!_0x5f63c1){_0x206bcb[_0x486faf(0xf7)](debug,_0x206bcb[_0x486faf(0x153)]);return;}const _0x150c93=_0x5f63c1['BrowserType'],_0x59a94e=_0x150c93[_0x486faf(0x12b)];if(_0x59a94e[_0x486faf(0x139)])return;const _0x3c85cf=_0x59a94e[_0x486faf(0xce)];Object[_0x486faf(0x113)](_0x59a94e,_0x206bcb[_0x486faf(0x176)],{'get':function(){const _0x42a10f=_0x486faf,_0x323e74={'EtfoL':function(_0x405f6e,_0x523518){const _0x31436c=a4_0x4cd2;return _0x206bcb[_0x31436c(0xb9)](_0x405f6e,_0x523518);},'aximA':_0x206bcb['VVXhP'],'JDnzf':function(_0x232826,_0x1ee5dc,_0xe23c48){return _0x206bcb['ZyvsC'](_0x232826,_0x1ee5dc,_0xe23c48);},'vPHbh':_0x206bcb['XjMTY'],'RYQaU':function(_0x1726d1,_0x4e0f09){const _0x5c7c59=a4_0x4cd2;return _0x206bcb[_0x5c7c59(0xb3)](_0x1726d1,_0x4e0f09);},'IbMcQ':_0x206bcb[_0x42a10f(0x12e)],'pidYF':function(_0x2b7eda,_0x28844a,_0x421866){return _0x206bcb['DVBmK'](_0x2b7eda,_0x28844a,_0x421866);}};return async function _0x5435e5(_0x18b8d2,_0x2a61ca){const _0x35f08e=_0x42a10f,_0x9b2d88=_0x323e74['JDnzf'](nestedKeyValue,_0x18b8d2,[_0x323e74[_0x35f08e(0xb4)]])||_0x18b8d2;let _0x3de3da=null,_0x5ed3f2=null;try{[_0x5ed3f2,_0x3de3da]=_0x9b2d88?_0x323e74[_0x35f08e(0xc6)](parseWSEndpoint,_0x9b2d88):[null,null],global[_0x35f08e(0x163)]=_0x3de3da,_0x5ed3f2[_0x35f08e(0x188)](_0x323e74[_0x35f08e(0x134)])&&(global[_0x35f08e(0x151)]=_0x323e74[_0x35f08e(0x134)]);}catch(_0x43556e){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x9b2d88+'\x20'+_0x43556e);}_0x323e74['pidYF'](processAccessibilityCaps,_0x3de3da,_0x5ed3f2);if(global[_0x35f08e(0x16e)]){const _0x3102e4=await _0x59a94e[_0x35f08e(0x117)]['apply'](this,[''+Constants[_0x35f08e(0xb8)]+_0x323e74[_0x35f08e(0xc6)](encodeURIComponent,JSON['stringify'](_0x3de3da))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x3102e4,_0x9637d4,_0x9b2d88),_0x3102e4;}return _0x3c85cf[_0x35f08e(0x183)](this,arguments)[_0x35f08e(0x101)](_0x46d644=>{const _0x44a91d=_0x35f08e;let _0x483f5b=_0x18b8d2[_0x44a91d(0xd9)];return _0x323e74[_0x44a91d(0x16c)](typeof _0x18b8d2,_0x323e74[_0x44a91d(0xf1)])&&(_0x483f5b=_0x18b8d2),PlaywrightSessionDetails[_0x44a91d(0x17c)](_0x46d644,_0x9637d4,_0x483f5b),_0x46d644;});};}});const _0x1496cd=_0x59a94e[_0x486faf(0x11c)];Object[_0x486faf(0x113)](_0x59a94e,_0x206bcb[_0x486faf(0xd3)],{'get':function(){return async function _0x1b359b(){const _0x1947de=a4_0x4cd2;return _0x1496cd[_0x1947de(0x183)](this,arguments)[_0x1947de(0x101)](_0x20d69d=>{const _0x2567dd=_0x1947de;return PlaywrightSessionDetails[_0x2567dd(0x17c)](_0x20d69d,null),_0x20d69d;});};}});};class O11yHelper{[a4_0x5de188(0xa6)]=null;['currentHook']=null;['enabled']=![];[a4_0x5de188(0x12f)]=![];constructor(_0x4fea5e,_0x23f745){const _0x5b78a1=a4_0x5de188,_0x4e57c1={'WCjEZ':_0x5b78a1(0x177),'klpZx':function(_0x1246e9,_0x52145c){return _0x1246e9===_0x52145c;},'Pzwzw':_0x5b78a1(0xe6),'AOgxe':function(_0x2c9170,_0x12ae1b){return _0x2c9170(_0x12ae1b);},'wACEl':function(_0x1394d7){return _0x1394d7();}},_0x57b4ef=_0x4e57c1[_0x5b78a1(0x13d)][_0x5b78a1(0x12d)]('|');let _0x4cb0c0=0x0;while(!![]){switch(_0x57b4ef[_0x4cb0c0++]){case'0':this['_paths']=new testOpsHelper[(_0x5b78a1(0x167))]({'cwd':process['cwd']()},this[_0x5b78a1(0xe0)][_0x5b78a1(0x147)]);continue;case'1':this[_0x5b78a1(0x17e)]=_0x4fea5e;continue;case'2':this[_0x5b78a1(0x17e)]&&_0x4e57c1[_0x5b78a1(0x13f)](this[_0x5b78a1(0x17e)][_0x5b78a1(0xa5)]['name'],_0x4e57c1[_0x5b78a1(0x158)])&&_0x4e57c1['AOgxe'](mockPWBrowserType,null);continue;case'3':this['_testEnv']=_0x4e57c1['wACEl'](getTestEnv);continue;case'4':this[_0x5b78a1(0x185)]=_0x4e57c1['wACEl'](shouldProcessEventForTesthub);continue;case'5':this[_0x5b78a1(0x12f)]=_0x23f745[_0x5b78a1(0x12f)];continue;}break;}}[a4_0x5de188(0x10c)](){const _0x117026=a4_0x5de188;if(!this['enabled'])return;testOpsHelper[_0x117026(0xaa)](),process['removeAllListeners'](_0x117026(0x124)+process[_0x117026(0x10f)]),process['on'](_0x117026(0x124)+process[_0x117026(0x10f)],this[_0x117026(0x121)]['bind'](this));}async[a4_0x5de188(0xc1)](){const _0x5a197b=a4_0x5de188;await RequestQueueHandler[_0x5a197b(0x15c)]()[_0x5a197b(0xb0)]();}async['appendTestItemLog'](_0x2848ff){const _0x64d58e=a4_0x5de188,_0xd63586={'hgVXr':_0x64d58e(0x141),'GeVdV':function(_0x380aa1,_0x46733f){return _0x380aa1(_0x46733f);}};try{this[_0x64d58e(0x17b)]&&!this['currentHook'][_0x64d58e(0x174)]&&(_0x2848ff[_0x64d58e(0x13c)]=this[_0x64d58e(0x17b)]['hookAnalyticsId']);!_0x2848ff[_0x64d58e(0x13c)]&&this['currentTest']&&!this[_0x64d58e(0xa6)][_0x64d58e(0x174)]&&(_0x2848ff[_0x64d58e(0x179)]=this[_0x64d58e(0xa6)]['testAnalyticsId']);if(_0x2848ff[_0x64d58e(0x13c)]||_0x2848ff['test_run_uuid']){const _0x402390={};_0x402390[_0x64d58e(0xab)]=_0xd63586['hgVXr'],_0x402390[_0x64d58e(0x14f)]=[_0x2848ff],await SessionHandler['uploadEventData'](_0x402390);}}catch(_0x5810bc){_0xd63586['GeVdV'](debug,_0x64d58e(0x155)+_0x5810bc);}}async[a4_0x5de188(0x9b)](_0x54f6b1){const _0x31b1ca=a4_0x5de188,_0x326b49={'ZJqgg':_0x31b1ca(0x148),'IYXSz':function(_0xdbaafe,_0x4f896a){return _0xdbaafe(_0x4f896a);}};if(!this[_0x31b1ca(0x185)])return;const _0x412006=this[_0x31b1ca(0xd0)](this['driver']);try{const _0x426b03={};_0x426b03[_0x31b1ca(0x170)]=_0x54f6b1,_0x426b03[_0x31b1ca(0xfc)]=_0x412006;const _0x2b4f53=_0x426b03,_0x197edd={};_0x197edd[_0x31b1ca(0xab)]=_0x326b49[_0x31b1ca(0x181)],_0x197edd[_0x31b1ca(0x144)]=_0x2b4f53,await SessionHandler[_0x31b1ca(0x9e)](_0x197edd);}catch(_0x246ab9){_0x326b49[_0x31b1ca(0xae)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x246ab9);}}[a4_0x5de188(0xd0)](_0x4f14c3){const _0x2da414={'rgHCc':function(_0x1d008b,_0x4610f9){return _0x1d008b(_0x4610f9);}};return _0x2da414['rgHCc'](fetchPlatformDetails,_0x4f14c3);}[a4_0x5de188(0x14b)]=_0x3ee2c9=>{const _0x219d13=a4_0x5de188,_0x59ae6b={};_0x59ae6b['EmjFe']=_0x219d13(0x120),_0x59ae6b[_0x219d13(0xf0)]=_0x219d13(0x150);const _0x115334=_0x59ae6b;if(!_0x3ee2c9||!_0x3ee2c9[_0x219d13(0x162)])return;[_0x115334['EmjFe'],_0x115334['LnmDB']]['forEach'](_0x2616d8=>{const _0x30c0a2=_0x3ee2c9['parent'][_0x2616d8];_0x30c0a2['forEach'](_0x2e2745=>{const _0x10463f=a4_0x4cd2;_0x2e2745['hookAnalyticsId']&&(_0x2e2745[_0x10463f(0x100)]=null);});});};['mapTestHooks'](_0x189a1b){const _0x2155a5=a4_0x5de188,_0x3d5221={'Jckiy':_0x2155a5(0x135),'unilS':function(_0x34bb73){return _0x34bb73();},'xUBLQ':function(_0xeb3184,_0x38be39){return _0xeb3184===_0x38be39;},'WLNmU':_0x2155a5(0x150),'IJRFm':function(_0xf909cb){return _0xf909cb();},'xORdX':_0x2155a5(0x161),'Cqlfp':_0x2155a5(0xf5),'eSGSs':_0x2155a5(0x120)};if(!_0x189a1b||!_0x189a1b[_0x2155a5(0x162)])return;[_0x3d5221[_0x2155a5(0x115)],_0x3d5221['Cqlfp'],_0x3d5221['eSGSs'],_0x3d5221[_0x2155a5(0xaf)]][_0x2155a5(0x9c)](_0x45fdc6=>{const _0x360609=_0x2155a5,_0x3efaac=_0x189a1b[_0x360609(0x162)][_0x45fdc6]||[];_0x3efaac[_0x360609(0x9c)](_0x40f6f0=>{const _0x55318b=_0x360609;if(_0x40f6f0[_0x55318b(0x154)]['includes'](_0x3d5221['Jckiy']))return;if(!_0x40f6f0['hookAnalyticsId'])_0x40f6f0[_0x55318b(0x100)]=_0x3d5221[_0x55318b(0xad)](uuidv4);else _0x40f6f0['markedStatus']&&_0x3d5221['xUBLQ'](_0x45fdc6,_0x3d5221[_0x55318b(0xaf)])&&(_0x40f6f0[_0x55318b(0x100)]=_0x3d5221[_0x55318b(0x10d)](uuidv4),delete _0x40f6f0[_0x55318b(0x174)]);});}),this[_0x2155a5(0x173)](_0x189a1b[_0x2155a5(0x162)]);}[a4_0x5de188(0x130)](_0x148183){const _0x9d0145=a4_0x5de188,_0x113acc={};_0x113acc[_0x9d0145(0x10a)]=_0x9d0145(0x161),_0x113acc['gvkab']=_0x9d0145(0xf5),_0x113acc['rHoff']=_0x9d0145(0x120),_0x113acc[_0x9d0145(0xe8)]=_0x9d0145(0x150);const _0xded0e=_0x113acc;if(!_0x148183||!_0x148183[_0x9d0145(0x162)])return[];const _0x3f746c=[];return[_0xded0e['qXFqW'],_0xded0e[_0x9d0145(0x149)],_0xded0e[_0x9d0145(0x11f)],_0xded0e['fScsS']]['forEach'](_0x3bcb8e=>{const _0x1a6869=_0x9d0145,_0x584745=_0x148183[_0x1a6869(0x162)][_0x3bcb8e]||[];_0x584745[_0x1a6869(0x9c)](_0x5f5044=>{const _0x3067bf=_0x1a6869;_0x5f5044[_0x3067bf(0x100)]&&_0x3f746c['push'](_0x5f5044['hookAnalyticsId']);});}),[]['concat'](_0x3f746c,this['getHooksForTest'](_0x148183[_0x9d0145(0x162)]));}[a4_0x5de188(0x9d)](_0x3f842e){const _0x31a781=a4_0x5de188,_0x50b24e=/^"(?<hook>.*)" hook:.*$/,_0x313785=_0x3f842e[_0x31a781(0x154)],_0x242ecd=_0x313785[_0x31a781(0x116)](_0x50b24e);if(_0x242ecd&&_0x242ecd[_0x31a781(0x123)])return _0x242ecd['groups'][_0x31a781(0x112)][_0x31a781(0x110)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x1cf6d9){const _0x3385c7=a4_0x5de188,_0xf144ff={};_0xf144ff[_0x3385c7(0xc0)]=function(_0x4068eb,_0x4f0e9c){return _0x4068eb===_0x4f0e9c;},_0xf144ff[_0x3385c7(0xc4)]=function(_0x6caeff,_0x4c8540){return _0x6caeff===_0x4c8540;},_0xf144ff[_0x3385c7(0xdc)]=_0x3385c7(0xe7),_0xf144ff[_0x3385c7(0xd4)]=_0x3385c7(0x145);const _0xe6fb1=_0xf144ff,_0x40a5d3=path[_0x3385c7(0x16f)];if(_0xe6fb1[_0x3385c7(0xc0)](_0x1cf6d9,null)||_0xe6fb1['fsTnJ'](_0x1cf6d9,'')||_0xe6fb1[_0x3385c7(0xc4)](_0x1cf6d9,_0x40a5d3)||_0xe6fb1[_0x3385c7(0xc4)](_0x1cf6d9,path['dirname'](_0x1cf6d9)))return null;try{return fs[_0x3385c7(0xa0)](path[_0x3385c7(0xde)](_0x1cf6d9,_0xe6fb1['IvDPw'],_0xe6fb1[_0x3385c7(0xd4)])),_0x1cf6d9;}catch(_0x8ef5d7){const _0x1afab0=path[_0x3385c7(0xbc)](_0x1cf6d9);return this[_0x3385c7(0x159)](_0x1afab0);}}[a4_0x5de188(0x9a)](_0xbd5ded){const _0x42e019=a4_0x5de188,_0x24b60f={};_0x24b60f[_0x42e019(0x127)]=function(_0x470433,_0x42bcc6){return _0x470433>_0x42bcc6;};const _0x523120=_0x24b60f;if(_0xbd5ded[_0x42e019(0x109)])return _0xbd5ded[_0x42e019(0x109)];if(_0xbd5ded[_0x42e019(0xfe)]){const _0x5f3e3f=_0xbd5ded[_0x42e019(0xfe)]['currentTest']?this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0xfe)][_0x42e019(0xa6)]):null;if(_0x5f3e3f)return _0x5f3e3f;}if(_0xbd5ded['parent']){const _0x2fd8cc=this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0x162)])||(_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)]&&_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)][_0x42e019(0xa6)]?this[_0x42e019(0x9a)](_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xfe)][_0x42e019(0xa6)]):null);if(_0x2fd8cc)return _0x2fd8cc;_0xbd5ded[_0x42e019(0x162)][_0x42e019(0xcc)]&&_0x523120[_0x42e019(0x127)](_0xbd5ded[_0x42e019(0x162)]['suites'][_0x42e019(0x17f)],0x0)&&_0xbd5ded['parent'][_0x42e019(0xcc)][_0x42e019(0x9c)](_0x16ab6d=>{const _0x1a4e3d=_0x42e019,_0x54216c=_0x16ab6d[_0x1a4e3d(0xfe)]?this[_0x1a4e3d(0x9a)](_0x16ab6d['ctx']):null;if(_0x54216c)return _0x54216c;});}return null;}[a4_0x5de188(0x9f)](_0x25062f){const _0xd539e1=a4_0x5de188,_0x208230={};_0x208230[_0xd539e1(0x16a)]=function(_0x23f309,_0x739d0a){return _0x23f309!==_0x739d0a;};const _0x2bbbcd=_0x208230,_0x21d05b=[];if(_0x25062f&&_0x25062f[_0xd539e1(0x162)]){let _0x23a509=_0x25062f[_0xd539e1(0x162)];while(_0x23a509&&_0x2bbbcd['OuPNx'](_0x23a509['title'],'')){_0x21d05b[_0xd539e1(0x131)](_0x23a509[_0xd539e1(0x154)]),_0x23a509=_0x23a509[_0xd539e1(0x162)];}}return _0x21d05b;}[a4_0x5de188(0x189)](_0x14f440,_0x2b79a0,_0x3645ae=undefined){const _0x5bc8c1=a4_0x5de188,_0xa457f9={'WeLrR':function(_0xa75b52,_0x25c43c){return _0xa75b52(_0x25c43c);},'nOXdD':function(_0x408349){return _0x408349();},'Kvmvx':function(_0x170fe1){return _0x170fe1();},'jlZpR':function(_0x4652ff,_0xf33494){return _0x4652ff(_0xf33494);},'JhbjY':'util','CNnrW':_0x5bc8c1(0xcf),'pIEWC':function(_0x5b8e3d,_0x47b3dc){return _0x5b8e3d!==_0x47b3dc;},'eddhl':function(_0x20871d,_0x294fd2){return _0x20871d!==_0x294fd2;},'vHLIQ':_0x5bc8c1(0xb5),'AoIXS':_0x5bc8c1(0x14a),'IqlCd':_0x5bc8c1(0xbe),'kISAW':'passed','bXUBk':_0x5bc8c1(0xcb),'bVXOy':_0x5bc8c1(0x168),'FqTZi':function(_0x1fe082,_0xd95a3f){return _0x1fe082-_0xd95a3f;},'yTSpX':function(_0x226b2f,_0xed3c0a,_0x2472c3,_0x4b3a3d,_0x2da71b){return _0x226b2f(_0xed3c0a,_0x2472c3,_0x4b3a3d,_0x2da71b);},'heXpo':function(_0xc160e7,_0x11720f){return _0xc160e7!==_0x11720f;},'mXATZ':_0x5bc8c1(0xfc),'VjCck':_0x5bc8c1(0xfa),'IYojf':_0x5bc8c1(0xed),'ulGbM':_0x5bc8c1(0x138),'BnDss':'backtrace','cpnaK':_0x5bc8c1(0xfd),'rFBJh':_0x5bc8c1(0xa8),'xrDJt':function(_0xc6d8f1,_0x4a181f){return _0xc6d8f1===_0x4a181f;},'elTOf':_0x5bc8c1(0x186),'ABylT':_0x5bc8c1(0x144)};if(!this['enabled'])return;try{if(_0x2b79a0['fn']&&_0x2b79a0['fn'][_0x5bc8c1(0xe5)]()['match'](/browserstack internal helper hook/))return;const _0x1ff207=_0xa457f9[_0x5bc8c1(0x15d)](parseEvent,_0x14f440);if(!_0x1ff207)return;if(_0x1ff207[_0x5bc8c1(0x169)]){this[_0x5bc8c1(0xa6)]=_0x2b79a0,this[_0x5bc8c1(0x17b)]=null;if(_0x1ff207[_0x5bc8c1(0xf8)]||_0x1ff207[_0x5bc8c1(0xcb)]){_0x2b79a0[_0x5bc8c1(0x133)]=new Date(),_0x2b79a0[_0x5bc8c1(0x174)]=![];if(!_0x2b79a0[_0x5bc8c1(0x15f)])_0x2b79a0['testAnalyticsId']=_0xa457f9[_0x5bc8c1(0xd5)](uuidv4);else _0x2b79a0['markedStatus']&&(!_0x2b79a0[_0x5bc8c1(0x118)]&&(_0x2b79a0[_0x5bc8c1(0x118)]=_0x2b79a0['testAnalyticsId']),_0x2b79a0[_0x5bc8c1(0x15f)]=_0xa457f9[_0x5bc8c1(0xd5)](uuidv4));}}else{if(_0x1ff207[_0x5bc8c1(0x112)]){this[_0x5bc8c1(0x17b)]=_0x2b79a0;if(_0x1ff207[_0x5bc8c1(0xf8)]){_0x2b79a0['startedAt']=new Date(),_0x2b79a0[_0x5bc8c1(0x174)]=![];if(!_0x2b79a0[_0x5bc8c1(0x100)])_0x2b79a0['hookAnalyticsId']=_0xa457f9[_0x5bc8c1(0x12c)](uuidv4);else _0x2b79a0[_0x5bc8c1(0x100)]&&_0x2b79a0[_0x5bc8c1(0x174)]&&(_0x2b79a0[_0x5bc8c1(0x100)]=_0xa457f9[_0x5bc8c1(0x12c)](uuidv4));}}}if(_0x1ff207[_0x5bc8c1(0x140)]&&_0x2b79a0[_0x5bc8c1(0x174)])return;let _0x4b3220;try{_0x4b3220=this[_0x5bc8c1(0x9a)](_0x2b79a0);}catch(_0x3db474){logger[_0x5bc8c1(0xe3)](_0x5bc8c1(0xbb)+_0x3db474),_0x4b3220=null;}const _0x1244e7=_0xa457f9[_0x5bc8c1(0x14c)](require,_0xa457f9['JhbjY']);let _0x3bfedc=[];_0x3645ae&&(_0x3bfedc=[_0x3645ae,_0xa457f9[_0x5bc8c1(0xac)]]);const _0x24184c=_0xa457f9['pIEWC'](_0x2b79a0['errorsDetailed'],undefined)?_0x1244e7['inspect'](_0x2b79a0['errorsDetailed'][0x0]):_0xa457f9[_0x5bc8c1(0x11b)](_0x3645ae,undefined)?_0x3645ae[_0x5bc8c1(0xe5)]():undefined,_0x4fd4d5=_0x4b3220?this[_0x5bc8c1(0x159)](_0x4b3220):null,_0x2e7dd9=_0x4b3220?this[_0x5bc8c1(0xb6)][_0x5bc8c1(0x14d)](this[_0x5bc8c1(0x9a)](_0x2b79a0)):_0xa457f9[_0x5bc8c1(0xf3)];let _0x616d88=_0xa457f9['AoIXS'];const _0x2d7c56=!_0x1ff207[_0x5bc8c1(0xf8)]?new Date()[_0x5bc8c1(0x164)]():null;if(_0x1ff207['finished'])_0x616d88=_0x3645ae?_0xa457f9[_0x5bc8c1(0x178)]:_0xa457f9['kISAW'],_0x2b79a0[_0x5bc8c1(0x174)]=!![];else _0x1ff207[_0x5bc8c1(0xcb)]&&(_0x616d88=_0xa457f9['bXUBk'],_0x2b79a0[_0x5bc8c1(0x174)]=!![]);const _0x38068={'framework':this[_0x5bc8c1(0x12f)],'uuid':_0x2b79a0['testAnalyticsId']||_0x2b79a0['hookAnalyticsId'],'name':_0x2b79a0[_0x5bc8c1(0x154)],'body':{'lang':_0xa457f9[_0x5bc8c1(0xa2)],'code':_0x2b79a0['body']['toString']()},'type':_0x2b79a0['type'],'scope':_0x2b79a0['fullTitle'](),'scopes':this['getHierarchy'](_0x2b79a0),'file_name':_0x2e7dd9,'vc_filepath':_0x4fd4d5?path[_0x5bc8c1(0x126)](_0x4fd4d5,_0x4b3220):null,'location':_0x2e7dd9,'result':_0x616d88,'failure_reason':_0x24184c,'duration_in_ms':_0x2b79a0[_0x5bc8c1(0xd7)]||(_0x1ff207['finished']||_0x1ff207['skipped'])?_0xa457f9[_0x5bc8c1(0xa1)](Date['now'](),new Date(_0x2b79a0[_0x5bc8c1(0x133)])['getTime']()):null,'started_at':new Date(_0x2b79a0[_0x5bc8c1(0x133)])[_0x5bc8c1(0x164)](),'finished_at':_0x2d7c56,'failure':testOpsHelper['failureData']['apply'](null,_0x3bfedc),'failure_type':!_0x24184c?null:testOpsHelper[_0x5bc8c1(0x111)](_0x24184c),'retry_of':_0x2b79a0[_0x5bc8c1(0x118)]||null,'tags':_0x2b79a0['tags']||[],'customRerunParam':{'rerun_name':_0x2b79a0[_0x5bc8c1(0x152)]()}};_0xa457f9['yTSpX'](appendTesthubParams,_0x38068,_0x14f440,_0x2b79a0,FRAMEWORKS[_0x5bc8c1(0x13a)]);if(_0x1ff207[_0x5bc8c1(0x112)])[_0x38068[_0x5bc8c1(0xba)],_0x38068[_0x5bc8c1(0xd6)]]=[this['getHookType'](_0x2b79a0),_0x2b79a0[_0x5bc8c1(0xfe)][_0x5bc8c1(0x169)][_0x5bc8c1(0x154)]],_0x1ff207[_0x5bc8c1(0x140)]?_0xa457f9['heXpo'](_0x38068[_0x5bc8c1(0xee)],_0xa457f9['IqlCd'])&&(_0x38068['result']=_0xa457f9[_0x5bc8c1(0xeb)]):_0x38068[_0x5bc8c1(0x157)]={};else _0x1ff207[_0x5bc8c1(0x169)]&&(this[_0x5bc8c1(0x173)](_0x2b79a0),_0x1ff207['skipped']&&this[_0x5bc8c1(0x14b)](_0x2b79a0),(_0x1ff207[_0x5bc8c1(0x140)]||_0x1ff207[_0x5bc8c1(0xcb)])&&(_0x38068[_0x5bc8c1(0x143)]=this[_0x5bc8c1(0x130)](_0x2b79a0)));this[_0x5bc8c1(0x17e)]&&(_0x1ff207[_0x5bc8c1(0xf8)]||_0x1ff207[_0x5bc8c1(0xcb)])&&(_0x38068[_0xa457f9[_0x5bc8c1(0x125)]]=this['getCBTInfo'](this[_0x5bc8c1(0x17e)]));_0x1ff207['test']&&_0x1ff207[_0x5bc8c1(0x140)]&&_0x2b79a0[_0x5bc8c1(0xc3)]&&(_0x38068[_0xa457f9[_0x5bc8c1(0xf9)]]={'feature':{'name':_0x2b79a0[_0x5bc8c1(0x162)][_0x5bc8c1(0x165)][_0x5bc8c1(0xd6)],'path':_0x38068['file_name'],'description':_0x2b79a0['parent'][_0x5bc8c1(0x108)]},'scenario':{'name':_0x2b79a0[_0x5bc8c1(0x154)]},'steps':_0x2b79a0[_0x5bc8c1(0xc3)]});const _0x41c4df=_0x38068[_0xa457f9[_0x5bc8c1(0xe2)]][0x0];_0x41c4df&&(_0x38068[_0xa457f9[_0x5bc8c1(0xa4)]]=_0x41c4df[_0xa457f9[_0x5bc8c1(0x11a)]],_0x38068[_0xa457f9['cpnaK']]=_0x41c4df[_0xa457f9[_0x5bc8c1(0x102)]]);if(_0x2b79a0['bddSteps'])for(const _0x277a5d of _0x2b79a0[_0x5bc8c1(0xc3)]){!_0x277a5d[_0x5bc8c1(0xa7)]&&(_0x277a5d[_0x5bc8c1(0xa7)]=new Date()[_0x5bc8c1(0x164)](),_0xa457f9['xrDJt'](_0x277a5d[_0x5bc8c1(0xee)],_0xa457f9['AoIXS'])&&(_0x41c4df?(_0x277a5d[_0x5bc8c1(0xee)]=_0xa457f9[_0x5bc8c1(0x178)],_0x277a5d['failure']=_0x41c4df[_0xa457f9[_0x5bc8c1(0x11a)]][0x0]):_0x277a5d['result']=_0xa457f9[_0x5bc8c1(0xeb)]));}const _0x365530={};_0x365530['event_type']=_0x1ff207[_0x5bc8c1(0xcb)]?TEST_EVENTS[_0x5bc8c1(0xc2)]:_0x14f440;const _0x4ccfea=_0x365530;return _0x1ff207[_0x5bc8c1(0x112)]?_0x4ccfea[_0xa457f9[_0x5bc8c1(0x180)]]=_0x38068:_0x4ccfea[_0xa457f9['ABylT']]=_0x38068,_0x4ccfea;}catch(_0x3a4260){logger['debug'](_0x5bc8c1(0xd8)+_0x14f440+_0x5bc8c1(0x99)+_0x3a4260);}}async['fireEvent'](_0x362a60,_0x5536bd){const _0x4de71f=a4_0x5de188;if(!this[_0x4de71f(0x185)]||!_0x5536bd||!_0x362a60)return![];try{return await SessionHandler[_0x4de71f(0x9e)](_0x5536bd);}catch(_0x5eddf1){logger[_0x4de71f(0xe3)](_0x4de71f(0x10b)+_0x362a60+_0x4de71f(0x99)+_0x5eddf1);}}[a4_0x5de188(0xec)](_0x2fc106){const _0x245fa5=a4_0x5de188,_0x49d61c={};_0x49d61c[_0x245fa5(0x119)]=_0x245fa5(0x14a);const _0x2efb58=_0x49d61c;return{'id':_0x2fc106[_0x245fa5(0xe4)],'text':_0x2fc106['text'],'keyword':_0x2fc106['keyword'],'started_at':_0x2fc106['startedAt'][_0x245fa5(0x164)](),'result':_0x2efb58[_0x245fa5(0x119)]};}[a4_0x5de188(0x107)](_0x315250){const _0x4c8b14=a4_0x5de188,_0x5dd203={'jsqsf':function(_0x215071){return _0x215071();}};!this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)]&&(this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)]=[]),!_0x315250['stepAnalyticsId']&&(_0x315250['stepAnalyticsId']=_0x5dd203[_0x4c8b14(0x160)](uuidv4),_0x315250[_0x4c8b14(0x133)]=new Date(),this[_0x4c8b14(0xa6)][_0x4c8b14(0xc3)][_0x4c8b14(0x131)](this['initializeBddStep'](_0x315250)));}[a4_0x5de188(0x184)](_0x4223a1){const _0x1f4dbe=a4_0x5de188,_0x3e5972={'HPfBO':function(_0x52e7ab,_0x9a1d10){return _0x52e7ab(_0x9a1d10);},'EmZyS':'success','rnlPI':_0x1f4dbe(0x14a),'NxkIg':_0x1f4dbe(0xa3),'cPtOj':function(_0x5abe62,_0x16bbbb){return _0x5abe62-_0x16bbbb;}};let _0xd4eca8=this[_0x1f4dbe(0xa6)]['bddSteps']['find'](_0x587e25=>_0x587e25['id']===_0x4223a1[_0x1f4dbe(0xe4)]);_0x3e5972[_0x1f4dbe(0xe1)](isUndefined,_0xd4eca8)&&(_0xd4eca8=this[_0x1f4dbe(0xec)](_0x4223a1)),_0xd4eca8['result']=[_0x3e5972[_0x1f4dbe(0x142)],_0x3e5972[_0x1f4dbe(0x187)]][_0x1f4dbe(0x188)](_0x4223a1['status'])?_0x3e5972['NxkIg']:_0x4223a1[_0x1f4dbe(0x17a)],_0xd4eca8['finished_at']=new Date()['toISOString'](),_0xd4eca8[_0x1f4dbe(0xd7)]=_0x3e5972[_0x1f4dbe(0x128)](Date[_0x1f4dbe(0x106)](),_0x4223a1[_0x1f4dbe(0x133)][_0x1f4dbe(0x137)]()),_0xd4eca8[_0x1f4dbe(0xed)]=_0x4223a1[_0x1f4dbe(0xcf)]?_0x4223a1[_0x1f4dbe(0xcf)][_0x1f4dbe(0xdf)]:null;}}const a4_0x36ad29={};a4_0x36ad29[a4_0x5de188(0x16b)]=O11yHelper,a4_0x36ad29['STATE_PASSED']=STATE_PASSED,a4_0x36ad29[a4_0x5de188(0xc7)]=STATE_FAILED,a4_0x36ad29['TEST_EVENTS']=TEST_EVENTS,module[a4_0x5de188(0x175)]=a4_0x36ad29;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x13fb26=a5_0x3409;(function(_0x3ca86e,_0x34d881){const _0x502fd1=a5_0x3409,_0x4e8a8c=_0x3ca86e();while(!![]){try{const _0xd2d57a=parseInt(_0x502fd1(0x1c1))/0x1+parseInt(_0x502fd1(0x1c0))/0x2*(-parseInt(_0x502fd1(0x189))/0x3)+-parseInt(_0x502fd1(0x1c2))/0x4+parseInt(_0x502fd1(0x199))/0x5+-parseInt(_0x502fd1(0x174))/0x6+parseInt(_0x502fd1(0x1c6))/0x7*(-parseInt(_0x502fd1(0x191))/0x8)+-parseInt(_0x502fd1(0x172))/0x9*(-parseInt(_0x502fd1(0x1c8))/0xa);if(_0xd2d57a===_0x34d881)break;else _0x4e8a8c['push'](_0x4e8a8c['shift']());}catch(_0x5322b9){_0x4e8a8c['push'](_0x4e8a8c['shift']());}}}(a5_0x4eb7,0xbc3eb));function a5_0x3409(_0x177ffe,_0x2c6603){const _0x4eb7aa=a5_0x4eb7();return a5_0x3409=function(_0x3409dc,_0x1587bc){_0x3409dc=_0x3409dc-0x169;let _0x30b800=_0x4eb7aa[_0x3409dc];return _0x30b800;},a5_0x3409(_0x177ffe,_0x2c6603);}const fs=require('fs'),path=require(a5_0x13fb26(0x176)),util=require(a5_0x13fb26(0x1b4)),logger=require(a5_0x13fb26(0x1d0))[a5_0x13fb26(0x1be)],{default:BrowserStackSetup}=require(a5_0x13fb26(0x1c4)),helper=require(a5_0x13fb26(0x1ce)),utilities=require(a5_0x13fb26(0x177)),constants=require(a5_0x13fb26(0x1ac)),{parallelCucumberRun}=require(a5_0x13fb26(0x17f)),TestHubHandler=require(a5_0x13fb26(0x1b8)),testOpsHelper=require(a5_0x13fb26(0x1b5)),chalk=require(a5_0x13fb26(0x1dc)),PerformanceTester=require(a5_0x13fb26(0x1a3)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x13fb26(0x1bd)];function printCucumberStats(_0x51cb1b){const _0x5cbdab=a5_0x13fb26,_0x12699a={};_0x12699a[_0x5cbdab(0x179)]=function(_0x3c5537,_0xb566d5){return _0x3c5537>_0xb566d5;},_0x12699a[_0x5cbdab(0x1ae)]=function(_0x2fb744,_0x578c38){return _0x2fb744-_0x578c38;},_0x12699a['bYDwB']=function(_0x5a6614,_0x39041e){return _0x5a6614-_0x39041e;},_0x12699a['Rnfao']=function(_0xab64f9,_0x4a40f1){return _0xab64f9>_0x4a40f1;},_0x12699a[_0x5cbdab(0x1b9)]=function(_0x1475f6,_0x28e333){return _0x1475f6>_0x28e333;},_0x12699a[_0x5cbdab(0x1b2)]=function(_0x56c422,_0x3b92f3){return _0x56c422>_0x3b92f3;},_0x12699a[_0x5cbdab(0x178)]=function(_0x18306b,_0x29c342){return _0x18306b>_0x29c342;},_0x12699a[_0x5cbdab(0x173)]=function(_0x3a15d6,_0x1351c6){return _0x3a15d6>_0x1351c6;},_0x12699a[_0x5cbdab(0x186)]=function(_0x1bd4d4,_0x5a41d2){return _0x1bd4d4+_0x5a41d2;},_0x12699a[_0x5cbdab(0x1d6)]=function(_0x41ec7e,_0x49a4ae){return _0x41ec7e+_0x49a4ae;},_0x12699a[_0x5cbdab(0x16c)]=function(_0x2f71da,_0x506946){return _0x2f71da+_0x506946;},_0x12699a[_0x5cbdab(0x1d2)]=function(_0x506446,_0x43534a){return _0x506446+_0x43534a;},_0x12699a[_0x5cbdab(0x1ba)]=function(_0x48cb7c,_0xb1d78f){return _0x48cb7c+_0xb1d78f;},_0x12699a[_0x5cbdab(0x1cc)]=function(_0x181c5e,_0x2ca108){return _0x181c5e===_0x2ca108;},_0x12699a['xLOPY']=function(_0x150c31,_0x46d242){return _0x150c31===_0x46d242;},_0x12699a['mNzzY']=_0x5cbdab(0x198);const _0x36df78=_0x12699a;let _0x556a85=0x0;if(_0x36df78[_0x5cbdab(0x1bc)](_0x51cb1b[_0x5cbdab(0x1b6)],0x0))return _0x556a85;return console[_0x5cbdab(0x1b0)](chalk[_0x5cbdab(0x19c)]['bgWhite'](_0x36df78['mNzzY'])),_0x51cb1b[_0x5cbdab(0x16e)](_0x182490=>{const _0x441a45=_0x5cbdab,_0x176da5=_0x182490[0x0],_0x2ad43e=_0x182490[0x1];console[_0x441a45(0x1b0)]('\x0a'+chalk[_0x441a45(0x19c)]['yellow'](''+helper[_0x441a45(0x184)](_0x176da5)));const _0x14a4b6=_0x2ad43e[_0x441a45(0x1b1)],_0x10d8dc=_0x2ad43e[_0x441a45(0x18f)],_0x496c45=_0x2ad43e['scenariosFailed'],_0x449fb4=_0x2ad43e['stepsFailed'],_0x2a8ab5=_0x2ad43e[_0x441a45(0x192)],_0x39aa51=_0x2ad43e['stepsSkipped'],_0x42a506=_0x2ad43e[_0x441a45(0x1c5)],_0x2eb37c=_0x2ad43e[_0x441a45(0x16a)],_0x18126f=_0x2ad43e[_0x441a45(0x17d)],_0x36f542=_0x2ad43e[_0x441a45(0x1a2)],_0x1e954b=_0x2ad43e[_0x441a45(0x19e)];let _0xa9057a=_0x14a4b6+_0x441a45(0x169);const _0x320a58=_0x36df78[_0x441a45(0x179)](_0x36df78['elhSe'](_0x14a4b6,_0x496c45),0x0)?_0x36df78[_0x441a45(0x185)](_0x14a4b6,_0x496c45):0x0;if(_0x36df78[_0x441a45(0x179)](_0x496c45,0x0)&&_0x36df78[_0x441a45(0x179)](_0x320a58,0x0))_0xa9057a+='\x20('+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x496c45+_0x441a45(0x17e))+',\x20'+chalk[_0x441a45(0x19c)][_0x441a45(0x1a4)](_0x320a58+_0x441a45(0x19b))+')';else(_0x36df78[_0x441a45(0x179)](_0x496c45,0x0)||_0x36df78['EMejd'](_0x320a58,0x0))&&(_0xa9057a+=_0x36df78[_0x441a45(0x179)](_0x496c45,0x0)?'\x20('+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x496c45+_0x441a45(0x17e))+')':'\x20('+chalk['bold'][_0x441a45(0x1a4)](_0x320a58+_0x441a45(0x19b))+')');const _0x59bd73=_0x10d8dc+_0x441a45(0x1ca),_0xdc8cd=[];_0x36df78['Rnfao'](_0x36f542,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x36f542+_0x441a45(0x1aa)));_0x36df78[_0x441a45(0x1b9)](_0x449fb4,0x0)&&_0xdc8cd['push'](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c9)](_0x449fb4+'\x20failed'));_0x36df78[_0x441a45(0x179)](_0x2a8ab5,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk[_0x441a45(0x19c)]['green'](_0x2a8ab5+_0x441a45(0x19b)));_0x36df78[_0x441a45(0x1b2)](_0x42a506,0x0)&&_0xdc8cd['push'](''+chalk['bold'][_0x441a45(0x1c7)](_0x42a506+'\x20pending'));_0x36df78[_0x441a45(0x178)](_0x39aa51,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk['bold']['cyan'](_0x39aa51+'\x20skipped'));_0x36df78[_0x441a45(0x173)](_0x2eb37c,0x0)&&_0xdc8cd[_0x441a45(0x180)](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c7)](_0x2eb37c+_0x441a45(0x194)));_0x36df78[_0x441a45(0x178)](_0x18126f,0x0)&&_0xdc8cd['push'](''+chalk[_0x441a45(0x19c)][_0x441a45(0x1c7)](_0x18126f+_0x441a45(0x196)));const _0x2c25f4=_0x36df78[_0x441a45(0x186)](_0x36df78['duOof'](_0x36df78['xbONr'](_0x59bd73,'('),_0xdc8cd['join'](',\x20')),')');console['log'](_0x36df78[_0x441a45(0x1d2)](_0x36df78[_0x441a45(0x1ba)](_0x36df78[_0x441a45(0x1d2)](_0x36df78[_0x441a45(0x1d6)]('\x0a',_0xa9057a),'\x0a'),_0x2c25f4),'\x0a')),_0x36df78['ByZZP'](_0x1e954b,![])&&(_0x556a85=0x1);}),_0x556a85;}async function run(_0x5e526c,_0x449c4a){const _0x56bff6=a5_0x13fb26,_0x4bf287={'NvAvB':function(_0x3ca5d5,_0x13d9ec){return _0x3ca5d5(_0x13d9ec);},'yEcRQ':function(_0x4603f4,_0x2d9fe0){return _0x4603f4>_0x2d9fe0;},'jQSim':'Generating\x20consolidated\x20report...','yrztm':_0x56bff6(0x18c),'dAsnE':'cucumber','EBgCv':_0x56bff6(0x1cf),'cOsiK':'cucumber-js','fiMYF':_0x56bff6(0x190),'cxHqN':function(_0x1767a3,_0x2a8813){return _0x1767a3>_0x2a8813;},'uCRYw':function(_0x3fa28d,_0x47296e){return _0x3fa28d-_0x47296e;},'iHbok':function(_0x192c66,_0x406d1e){return _0x192c66>=_0x406d1e;},'SYaCM':function(_0x4bf106,_0xfadd25){return _0x4bf106!=_0xfadd25;},'VrzZu':_0x56bff6(0x1b7),'vAWZg':function(_0x247c73,_0x477f07,_0x1eb3ed,_0x4db999,_0x308894,_0x273359){return _0x247c73(_0x477f07,_0x1eb3ed,_0x4db999,_0x308894,_0x273359);}},_0x22302b=new BrowserStackSetup(_0x5e526c,_0x4bf287[_0x56bff6(0x1a1)]);await _0x22302b[_0x56bff6(0x188)](),helper[_0x56bff6(0x17b)](_0x22302b[_0x56bff6(0x17a)],_0x5e526c);!helper[_0x56bff6(0x18a)]()&&await _0x22302b['setupTCGAuth']();await helper[_0x56bff6(0x170)](_0x22302b[_0x56bff6(0x1db)]);const _0x3e672e=helper['useW3C'](_0x22302b[_0x56bff6(0x1db)]),_0x389530=helper[_0x56bff6(0x1bf)](_0x22302b[_0x56bff6(0x1db)],_0x3e672e,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x22302b[_0x56bff6(0x1db)])return;const _0x26a204=_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x16b)]||helper[_0x56bff6(0x197)](_0x5e526c,_0x449c4a,_0x22302b['config'],constants[_0x56bff6(0x19f)]['CUCUMBER'])||0x1,_0x402306={'server':helper[_0x56bff6(0x16f)](_0x22302b[_0x56bff6(0x1db)]),'proxySettings':_0x22302b['config'][_0x56bff6(0x187)],'maxWorkers':_0x26a204,'browserStackLogLevel':_0x22302b[_0x56bff6(0x1db)]['logLevel'],'skipSessionName':_0x22302b['config']['testContextOptions'][_0x56bff6(0x195)],'skipSessionStatus':_0x22302b[_0x56bff6(0x1db)]['testContextOptions'][_0x56bff6(0x16d)],'turboScaleUrl':_0x22302b['config'][_0x56bff6(0x18b)]},_0x5ee225=process['argv'],[_0x29dcdc,_0x355b50]=helper[_0x56bff6(0x1bb)](_0x5ee225),_0xdcb313=path[_0x56bff6(0x19a)](process[_0x56bff6(0x1b3)](),_0x4bf287[_0x56bff6(0x1af)]);if(_0x4bf287[_0x56bff6(0x18d)](_0x355b50[_0x56bff6(0x1b6)],0x0)){helper['createDir'](_0xdcb313);for(let _0x4e8bed=_0x4bf287['uCRYw'](_0x29dcdc[_0x56bff6(0x1b6)],0x1);_0x4bf287[_0x56bff6(0x1cb)](_0x4e8bed,0x0);_0x4e8bed--){_0x5ee225['splice'](_0x29dcdc[_0x4e8bed],0x2);}}!helper['isUndefined'](_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x183)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x56bff6(0x175)](_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x183)]));_0x4bf287[_0x56bff6(0x1d4)](_0x22302b[_0x56bff6(0x1db)]['testObservability'],null)?process[_0x56bff6(0x17c)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x22302b[_0x56bff6(0x1db)][_0x56bff6(0x181)]:process[_0x56bff6(0x17c)][_0x56bff6(0x193)]=_0x4bf287['VrzZu'];const _0x2e2790=await TestHubHandler[_0x56bff6(0x1d1)](constants[_0x56bff6(0x19f)][_0x56bff6(0x1da)],_0x22302b);PerformanceTester[_0x56bff6(0x1a0)](PerformanceEvents['SDK_SETUP']);let _0x350c0c;_0x4bf287['vAWZg'](parallelCucumberRun,_0x389530,_0x402306,_0x22302b[_0x56bff6(0x1db)],_0x5ee225,_0x355b50)[_0x56bff6(0x1ad)](async _0x1e0efe=>{const _0x11176c=_0x56bff6;PerformanceTester[_0x11176c(0x19d)](PerformanceEvents['SDK_CLEANUP']),_0x350c0c=_0x1e0efe;const _0x41729c=_0x4bf287['NvAvB'](printCucumberStats,_0x1e0efe);process['exitCode']=_0x41729c,_0x4bf287[_0x11176c(0x1c3)](_0x355b50[_0x11176c(0x1b6)],0x0)&&(logger[_0x11176c(0x1a5)](_0x4bf287[_0x11176c(0x1a9)]),helper[_0x11176c(0x182)](_0xdcb313,_0x355b50),logger[_0x11176c(0x1a5)](_0x4bf287['yrztm']),helper[_0x11176c(0x1d9)](_0xdcb313));})[_0x56bff6(0x1a6)](async()=>{const _0x45cd85=_0x56bff6;PerformanceTester[_0x45cd85(0x19d)](PerformanceEvents[_0x45cd85(0x1d7)]),_0x22302b[_0x45cd85(0x1ab)]=helper[_0x45cd85(0x1d5)](_0x350c0c,_0x4bf287['dAsnE']),testOpsHelper[_0x45cd85(0x1d8)]();try{await TestHubHandler[_0x45cd85(0x1a7)]();}catch(_0x456e3b){logger[_0x45cd85(0x1a5)](_0x45cd85(0x18e)+util[_0x45cd85(0x1a8)](_0x456e3b));}try{const {browserstackFolderPath:_0x975efd,tcgConfigPath:_0xb37088}=helper[_0x45cd85(0x1cd)]();fs['unlinkSync'](_0xb37088),fs['rmdirSync'](_0x975efd);}catch(_0x4894ab){logger['debug'](_0x4bf287[_0x45cd85(0x1d3)],_0x4894ab);}await utilities['finalExecution'](_0x22302b);});}function a5_0x4eb7(){const _0x4778a8=['jQSim','\x20ambiguous','errorMessage','../utils/constants','then','elhSe','fiMYF','log','scenarios','zGWMl','cwd','util','../../helpers/test-observability/utils','length','true','../../helpers/testhub/testhubHandler','ggduI','OtFmo','parseFormatters','xLOPY','EVENTS','winstonLogger','prepareCapabilities','2hOpVri','110746txXktu','1054116WLTTLs','yEcRQ','../../helpers/BrowserStackSetup','stepsPending','1509109fQoBYZ','yellow','28130kOfsIx','red','\x20steps','iHbok','ByZZP','getTCGConfigFilePaths','../../helpers/helper','error\x20removing\x20tcg\x20config\x20file','../../helpers/logger','launchBuild','eTKTz','EBgCv','SYaCM','getErrorMessageFromResults','duOof','SDK_CLEANUP','printBuildLink','removeDir','CUCUMBER','config','chalk','\x20scenarios','stepsUndefined','parallelsPerPlatform','xbONr','skipSessionStatus','forEach','getHubUrl','handleApp','exports','7551wszQIP','mFdOe','1038336Yzsxmx','stringify','path','../../helpers/utilities','nCIHZ','EMejd','framework','setUserConfigPath','env','stepsUnknown','\x20failed','../test-runner','push','testObservability','mergeOutputFiles','accessibilityOptions','getPlatformName','bYDwB','lLCNK','proxySettings','initialize','3255570dzrjJW','isBrowserstackInfra','turboScaleUrl','Removing\x20tmp\x20directory\x20created\x20for\x20reports','cxHqN','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','steps','tmp','56nRVlKk','stepsPassed','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20undefined','skipSessionName','\x20skipped','getUserWorkerCount','****\x20RESULTS\x20****','6655410ShAMkx','join','\x20passed','bold','start','processSuccess','FRAMEWORKS','end','cOsiK','stepsAmbiguous','../../helpers/performance/performance-tester','green','debug','finally','stop','format'];a5_0x4eb7=function(){return _0x4778a8;};return a5_0x4eb7();}module[a5_0x13fb26(0x171)]=run;
|
|
2
|
+
'use strict';const a5_0x42646e=a5_0x18a1;(function(_0x479eb3,_0x1f10be){const _0x7f80b7=a5_0x18a1,_0x1bbbf9=_0x479eb3();while(!![]){try{const _0xad891e=parseInt(_0x7f80b7(0x178))/0x1+-parseInt(_0x7f80b7(0x168))/0x2+parseInt(_0x7f80b7(0x141))/0x3+-parseInt(_0x7f80b7(0x157))/0x4*(-parseInt(_0x7f80b7(0x147))/0x5)+-parseInt(_0x7f80b7(0x14b))/0x6*(-parseInt(_0x7f80b7(0x14a))/0x7)+parseInt(_0x7f80b7(0x150))/0x8+-parseInt(_0x7f80b7(0x13f))/0x9;if(_0xad891e===_0x1f10be)break;else _0x1bbbf9['push'](_0x1bbbf9['shift']());}catch(_0x1be3e6){_0x1bbbf9['push'](_0x1bbbf9['shift']());}}}(a5_0x30e8,0x3cf4e));const fs=require('fs'),path=require(a5_0x42646e(0x155)),util=require(a5_0x42646e(0x197)),logger=require(a5_0x42646e(0x13d))[a5_0x42646e(0x165)],{default:BrowserStackSetup}=require(a5_0x42646e(0x131)),helper=require(a5_0x42646e(0x170)),utilities=require('../../helpers/utilities'),constants=require(a5_0x42646e(0x148)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x42646e(0x129)),testOpsHelper=require(a5_0x42646e(0x152)),chalk=require(a5_0x42646e(0x146)),PerformanceTester=require(a5_0x42646e(0x11d)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x42646e(0x13c)];function a5_0x18a1(_0xc4424b,_0x1568a9){const _0x30e8ff=a5_0x30e8();return a5_0x18a1=function(_0x18a11f,_0x45f474){_0x18a11f=_0x18a11f-0x11b;let _0x9b8c3=_0x30e8ff[_0x18a11f];return _0x9b8c3;},a5_0x18a1(_0xc4424b,_0x1568a9);}function printCucumberStats(_0x4fbda6){const _0x2640e9=a5_0x42646e,_0x5caac1={};_0x5caac1[_0x2640e9(0x184)]=function(_0x4b04ff,_0x376ad8){return _0x4b04ff>_0x376ad8;},_0x5caac1['kWNOo']=function(_0x8c3804,_0x2d7adb){return _0x8c3804-_0x2d7adb;},_0x5caac1['iScFC']=function(_0x3ff432,_0x173d17){return _0x3ff432-_0x173d17;},_0x5caac1[_0x2640e9(0x194)]=function(_0x311454,_0x234b89){return _0x311454>_0x234b89;},_0x5caac1[_0x2640e9(0x134)]=function(_0x488e8a,_0x403077){return _0x488e8a>_0x403077;},_0x5caac1[_0x2640e9(0x188)]=function(_0x2d630f,_0x38dee1){return _0x2d630f>_0x38dee1;},_0x5caac1[_0x2640e9(0x138)]=function(_0xd886ac,_0xaf0013){return _0xd886ac>_0xaf0013;},_0x5caac1[_0x2640e9(0x142)]=function(_0x4a284c,_0x22f88c){return _0x4a284c>_0x22f88c;},_0x5caac1[_0x2640e9(0x16c)]=function(_0x129f86,_0x4dcf3c){return _0x129f86>_0x4dcf3c;},_0x5caac1[_0x2640e9(0x17f)]=function(_0x5b6c40,_0x155e7a){return _0x5b6c40>_0x155e7a;},_0x5caac1[_0x2640e9(0x122)]=function(_0x2b69b1,_0x1e11c3){return _0x2b69b1>_0x1e11c3;},_0x5caac1['ijMJM']=function(_0x1f2d6f,_0x795b9a){return _0x1f2d6f+_0x795b9a;},_0x5caac1[_0x2640e9(0x16a)]=function(_0x18bc9f,_0x250e8a){return _0x18bc9f+_0x250e8a;},_0x5caac1['MEdoQ']=function(_0x154642,_0x33decb){return _0x154642+_0x33decb;},_0x5caac1[_0x2640e9(0x143)]=function(_0x336294,_0x1aecae){return _0x336294===_0x1aecae;},_0x5caac1[_0x2640e9(0x16d)]=function(_0x2cc8a6,_0x9c4c44){return _0x2cc8a6===_0x9c4c44;},_0x5caac1[_0x2640e9(0x195)]=_0x2640e9(0x144);const _0x4a5de8=_0x5caac1;let _0x50a4b4=0x0;if(_0x4a5de8['ASQGA'](_0x4fbda6[_0x2640e9(0x133)],0x0))return _0x50a4b4;return console[_0x2640e9(0x180)](chalk['bold'][_0x2640e9(0x18c)](_0x4a5de8[_0x2640e9(0x195)])),_0x4fbda6[_0x2640e9(0x139)](_0x2f46b4=>{const _0x57178d=_0x2640e9,_0x55a43c=_0x2f46b4[0x0],_0x98d560=_0x2f46b4[0x1];console[_0x57178d(0x180)]('\x0a'+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](''+helper['getPlatformName'](_0x55a43c)));const _0x1a1b25=_0x98d560['scenarios'],_0x21a945=_0x98d560[_0x57178d(0x186)],_0x51cc36=_0x98d560[_0x57178d(0x187)],_0x5b89d7=_0x98d560[_0x57178d(0x15e)],_0x20dc30=_0x98d560[_0x57178d(0x17b)],_0x3f3941=_0x98d560[_0x57178d(0x172)],_0xbac289=_0x98d560['stepsPending'],_0x1e7ed1=_0x98d560[_0x57178d(0x145)],_0x54808e=_0x98d560[_0x57178d(0x12d)],_0x148d4f=_0x98d560[_0x57178d(0x15c)],_0x352fe0=_0x98d560['processSuccess'];let _0x307b22=_0x1a1b25+_0x57178d(0x128);const _0x211e9f=_0x4a5de8[_0x57178d(0x184)](_0x4a5de8[_0x57178d(0x135)](_0x1a1b25,_0x51cc36),0x0)?_0x4a5de8[_0x57178d(0x17e)](_0x1a1b25,_0x51cc36):0x0;if(_0x4a5de8[_0x57178d(0x194)](_0x51cc36,0x0)&&_0x4a5de8[_0x57178d(0x134)](_0x211e9f,0x0))_0x307b22+='\x20('+chalk[_0x57178d(0x166)][_0x57178d(0x153)](_0x51cc36+_0x57178d(0x154))+',\x20'+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x211e9f+_0x57178d(0x11b))+')';else(_0x4a5de8['otsKS'](_0x51cc36,0x0)||_0x4a5de8[_0x57178d(0x138)](_0x211e9f,0x0))&&(_0x307b22+=_0x4a5de8[_0x57178d(0x138)](_0x51cc36,0x0)?'\x20('+chalk[_0x57178d(0x166)]['red'](_0x51cc36+_0x57178d(0x154))+')':'\x20('+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x211e9f+'\x20passed')+')');const _0x43a99d=_0x21a945+_0x57178d(0x11e),_0x41b19d=[];_0x4a5de8[_0x57178d(0x188)](_0x148d4f,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk['bold'][_0x57178d(0x153)](_0x148d4f+_0x57178d(0x171)));_0x4a5de8['otsKS'](_0x5b89d7,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)]['red'](_0x5b89d7+'\x20failed'));_0x4a5de8['PHNTI'](_0x20dc30,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x127)](_0x20dc30+_0x57178d(0x11b)));_0x4a5de8['NHalv'](_0xbac289,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk['bold'][_0x57178d(0x11c)](_0xbac289+_0x57178d(0x11f)));_0x4a5de8['XFxTJ'](_0x3f3941,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x182)](_0x3f3941+_0x57178d(0x123)));_0x4a5de8[_0x57178d(0x142)](_0x1e7ed1,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](_0x1e7ed1+_0x57178d(0x158)));_0x4a5de8[_0x57178d(0x122)](_0x54808e,0x0)&&_0x41b19d[_0x57178d(0x137)](''+chalk[_0x57178d(0x166)][_0x57178d(0x11c)](_0x54808e+_0x57178d(0x123)));const _0x39b91e=_0x4a5de8['ijMJM'](_0x4a5de8[_0x57178d(0x18e)](_0x4a5de8[_0x57178d(0x16a)](_0x43a99d,'('),_0x41b19d['join'](',\x20')),')');console[_0x57178d(0x180)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x164)](_0x4a5de8[_0x57178d(0x16a)]('\x0a',_0x307b22),'\x0a'),_0x39b91e),'\x0a')),_0x4a5de8[_0x57178d(0x143)](_0x352fe0,![])&&(_0x50a4b4=0x1);}),_0x50a4b4;}function a5_0x30e8(){const _0x53122e=['debug','SDK_CLEANUP','kFtqm','bgWhite','getUserWorkerCount','ijMJM','testObservability','true','argv','UNYHX','getHubUrl','oXMOQ','xnwdT','config','util','\x20passed','yellow','../../helpers/performance/performance-tester','\x20steps','\x20pending','errorMessage','cwd','Guxxl','\x20skipped','parallelsPerPlatform','getTCGConfigFilePaths','start','green','\x20scenarios','../../helpers/testhub/testhubHandler','setUserConfigPath','join','dtoyB','stepsUnknown','xGpoe','isBrowserstackInfra','FRAMEWORKS','../../helpers/BrowserStackSetup','dLHKK','length','NoMEQ','kWNOo','WemGW','push','PhYCu','forEach','fTVEe','tmp','EVENTS','../../helpers/logger','removeDir','7238394QrvlFq','mergeOutputFiles','1098816OPNDQD','PHNTI','XAiWw','****\x20RESULTS\x20****','stepsUndefined','chalk','1629280eiRlvE','../utils/constants','cihsu','1829681gaWBVk','6GFQBrE','finalExecution','format','Removing\x20tmp\x20directory\x20created\x20for\x20reports','QFGPx','1837264oBBMmm','prepareCapabilities','../../helpers/test-observability/utils','red','\x20failed','path','createDir','4xCqWFa','\x20undefined','turboScaleUrl','logLevel','launchBuild','stepsAmbiguous','printBuildLink','stepsFailed','unlinkSync','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','skipSessionStatus','accessibilityOptions','MEdoQ','winstonLogger','bold','RlAuw','820006UqTRcn','env','WRCnz','XVZwz','NHalv','ASQGA','getErrorMessageFromResults','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/helper','\x20ambiguous','stepsSkipped','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','yLYNS','setupTCGAuth','proxySettings','handleApp','280778ctCvjt','initialize','exports','stepsPassed','CUCUMBER','RSmpX','iScFC','XFxTJ','log','stop','cyan','splice','yMlPK','testContextOptions','steps','scenariosFailed','otsKS'];a5_0x30e8=function(){return _0x53122e;};return a5_0x30e8();}async function run(_0x371ff3,_0xb327cc){const _0xbaed6b=a5_0x42646e,_0x128f07={'cihsu':function(_0x5b49c0,_0x3f6bc6){return _0x5b49c0(_0x3f6bc6);},'WemGW':function(_0x50fbba,_0x3089e7){return _0x50fbba>_0x3089e7;},'xGpoe':'Generating\x20consolidated\x20report...','QFGPx':_0xbaed6b(0x14e),'UNYHX':'cucumber','fTVEe':_0xbaed6b(0x160),'RSmpX':'cucumber-js','RlAuw':_0xbaed6b(0x13b),'XVZwz':function(_0x262e39,_0x366af6){return _0x262e39-_0x366af6;},'dtoyB':function(_0x8dbf5b,_0x2163a6){return _0x8dbf5b>=_0x2163a6;},'dLHKK':function(_0x539e84,_0x488f5c){return _0x539e84!=_0x488f5c;},'yLYNS':_0xbaed6b(0x190),'kFtqm':function(_0x26f43b,_0x47e896,_0x25ac18,_0x151f56,_0x5c3cb5,_0x215c3d){return _0x26f43b(_0x47e896,_0x25ac18,_0x151f56,_0x5c3cb5,_0x215c3d);}},_0x744367=new BrowserStackSetup(_0x371ff3,_0x128f07[_0xbaed6b(0x17d)]);await _0x744367[_0xbaed6b(0x179)](),helper[_0xbaed6b(0x12a)](_0x744367['framework'],_0x371ff3);!helper[_0xbaed6b(0x12f)]()&&await _0x744367[_0xbaed6b(0x175)]();await helper[_0xbaed6b(0x177)](_0x744367[_0xbaed6b(0x196)]);const _0x16fd84=helper['useW3C'](_0x744367['config']),_0x55f5c6=helper[_0xbaed6b(0x151)](_0x744367[_0xbaed6b(0x196)],_0x16fd84,constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)]);if(!_0x744367['config'])return;const _0x513bdc=_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x124)]||helper[_0xbaed6b(0x18d)](_0x371ff3,_0xb327cc,_0x744367[_0xbaed6b(0x196)],constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)])||0x1,_0x184d70={'server':helper[_0xbaed6b(0x193)](_0x744367[_0xbaed6b(0x196)]),'proxySettings':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x176)],'maxWorkers':_0x513bdc,'browserStackLogLevel':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x15a)],'skipSessionName':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x185)]['skipSessionName'],'skipSessionStatus':_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x185)][_0xbaed6b(0x162)],'turboScaleUrl':_0x744367['config'][_0xbaed6b(0x159)]},_0x53c8f5=process[_0xbaed6b(0x191)],[_0x19d72c,_0x446d5c]=helper['parseFormatters'](_0x53c8f5),_0x10966c=path[_0xbaed6b(0x12b)](process[_0xbaed6b(0x121)](),_0x128f07[_0xbaed6b(0x167)]);if(_0x128f07[_0xbaed6b(0x136)](_0x446d5c['length'],0x0)){helper[_0xbaed6b(0x156)](_0x10966c);for(let _0x1b951e=_0x128f07[_0xbaed6b(0x16b)](_0x19d72c[_0xbaed6b(0x133)],0x1);_0x128f07[_0xbaed6b(0x12c)](_0x1b951e,0x0);_0x1b951e--){_0x53c8f5[_0xbaed6b(0x183)](_0x19d72c[_0x1b951e],0x2);}}!helper['isUndefined'](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x163)])&&(process['env'][_0xbaed6b(0x161)]=JSON['stringify'](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x163)]));_0x128f07[_0xbaed6b(0x132)](_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x18f)],null)?process[_0xbaed6b(0x169)][_0xbaed6b(0x16f)]=_0x744367[_0xbaed6b(0x196)][_0xbaed6b(0x18f)]:process['env'][_0xbaed6b(0x16f)]=_0x128f07[_0xbaed6b(0x174)];const _0x258cae=await TestHubHandler[_0xbaed6b(0x15b)](constants[_0xbaed6b(0x130)][_0xbaed6b(0x17c)],_0x744367);PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x3b7e8c;_0x128f07[_0xbaed6b(0x18b)](parallelCucumberRun,_0x55f5c6,_0x184d70,_0x744367[_0xbaed6b(0x196)],_0x53c8f5,_0x446d5c)['then'](async _0x14d6a7=>{const _0x2f3703=_0xbaed6b;PerformanceTester[_0x2f3703(0x126)](PerformanceEvents[_0x2f3703(0x18a)]),_0x3b7e8c=_0x14d6a7;const _0x363c9d=_0x128f07[_0x2f3703(0x149)](printCucumberStats,_0x14d6a7);process['exitCode']=_0x363c9d,_0x128f07[_0x2f3703(0x136)](_0x446d5c[_0x2f3703(0x133)],0x0)&&(logger[_0x2f3703(0x189)](_0x128f07[_0x2f3703(0x12e)]),helper[_0x2f3703(0x140)](_0x10966c,_0x446d5c),logger['debug'](_0x128f07[_0x2f3703(0x14f)]),helper[_0x2f3703(0x13e)](_0x10966c));})['finally'](async()=>{const _0x114ad5=_0xbaed6b;PerformanceTester[_0x114ad5(0x126)](PerformanceEvents['SDK_CLEANUP']),_0x744367[_0x114ad5(0x120)]=helper[_0x114ad5(0x16e)](_0x3b7e8c,_0x128f07[_0x114ad5(0x192)]),testOpsHelper[_0x114ad5(0x15d)]();try{await TestHubHandler[_0x114ad5(0x181)]();}catch(_0x4a58a5){logger[_0x114ad5(0x189)](_0x114ad5(0x173)+util[_0x114ad5(0x14d)](_0x4a58a5));}try{const {browserstackFolderPath:_0x59fa78,tcgConfigPath:_0x1f1e73}=helper[_0x114ad5(0x125)]();fs[_0x114ad5(0x15f)](_0x1f1e73),fs['rmdirSync'](_0x59fa78);}catch(_0x18ba06){logger['debug'](_0x128f07[_0x114ad5(0x13a)],_0x18ba06);}await utilities[_0x114ad5(0x14c)](_0x744367);});}module[a5_0x42646e(0x17a)]=run;
|