browserstack-node-sdk 1.35.2 → 1.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -60
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a1_0x1bf8(_0x562163,_0xa6f29b){const _0x14d9c7=a1_0x14d9();return a1_0x1bf8=function(_0x1bf821,_0x59a5d5){_0x1bf821=_0x1bf821-0x11a;let _0x2fc8f6=_0x14d9c7[_0x1bf821];return _0x2fc8f6;},a1_0x1bf8(_0x562163,_0xa6f29b);}const a1_0x524ea0=a1_0x1bf8;(function(_0x5a8936,_0x338d9e){const _0x48371b=a1_0x1bf8,_0x16453c=_0x5a8936();while(!![]){try{const _0x100371=-parseInt(_0x48371b(0x1b7))/0x1*(parseInt(_0x48371b(0x1f1))/0x2)+-parseInt(_0x48371b(0x1d2))/0x3*(parseInt(_0x48371b(0x1be))/0x4)+-parseInt(_0x48371b(0x151))/0x5+-parseInt(_0x48371b(0x12f))/0x6*(parseInt(_0x48371b(0x19b))/0x7)+-parseInt(_0x48371b(0x189))/0x8+parseInt(_0x48371b(0x17b))/0x9+parseInt(_0x48371b(0x138))/0xa;if(_0x100371===_0x338d9e)break;else _0x16453c['push'](_0x16453c['shift']());}catch(_0x2628c6){_0x16453c['push'](_0x16453c['shift']());}}}(a1_0x14d9,0xbe432));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x524ea0(0x1e0)),logger=require(a1_0x524ea0(0x18a))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x524ea0(0x1da)),PlaywrightSessionDetails=require(a1_0x524ea0(0x1a3)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x524ea0(0x174)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x524ea0(0x1d9)),scripts=require(a1_0x524ea0(0x1ef)),PerformanceTester=require(a1_0x524ea0(0x137)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x524ea0(0x150)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x524ea0(0x123)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x524ea0(0x15a)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x524ea0(0x12d)),CodeceptUtils=requireModule(a1_0x524ea0(0x146),a1_0x524ea0(0x12d)),CodeceptWebDriver=requireModule(a1_0x524ea0(0x16b),a1_0x524ea0(0x12d)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x524ea0(0x12d)),CodeceptPlaywright=requireModule(a1_0x524ea0(0x1b0),'codeceptjs'),playwrightMarkSessionStatus=(_0x4c9da4,_0x1999dd,_0x5a6fa0)=>{const _0x527c3d=a1_0x524ea0,_0x1d312a={'fnVLp':_0x527c3d(0x159),'QYAfc':function(_0x67ee61,_0x36e66e){return _0x67ee61(_0x36e66e);}},_0x2ebe78={};_0x2ebe78[_0x527c3d(0x1dc)]=_0x1999dd;const _0x50c4c5={};_0x50c4c5[_0x527c3d(0x12a)]=_0x1d312a['fnVLp'],_0x50c4c5['arguments']=_0x2ebe78;const _0x5d0776=_0x50c4c5;return!_0x1d312a[_0x527c3d(0x1af)](isUndefined,_0x5a6fa0)&&(_0x5d0776[_0x527c3d(0x129)][_0x527c3d(0x14c)]=JSON[_0x527c3d(0x13e)](_0x5a6fa0)),_0x4c9da4[_0x527c3d(0x1f4)](()=>{},_0x527c3d(0x1bd)+JSON['stringify'](_0x5d0776));},o11ySync=PerformanceTester[a1_0x524ea0(0x14b)](PerformanceO11yEvents[a1_0x524ea0(0x1c8)],async _0x368fc5=>{const _0x526882=a1_0x524ea0,_0x2a0a17={};_0x2a0a17[_0x526882(0x178)]=function(_0x17c80f,_0x37ff4d){return _0x17c80f===_0x37ff4d;},_0x2a0a17[_0x526882(0x1ca)]='Playwright';const _0x5d6623=_0x2a0a17;_0x5d6623[_0x526882(0x178)](_0x368fc5[_0x526882(0x198)]['name'],_0x5d6623['FhVtx'])?await _0x368fc5[_0x526882(0x1f4)](_0x14af46=>{},testOpsHelper[_0x526882(0x175)]()):await _0x368fc5[_0x526882(0x1f4)](testOpsHelper[_0x526882(0x175)]());}),markSessionName=PerformanceTester[a1_0x524ea0(0x14b)](PerformanceAutEvents[a1_0x524ea0(0x177)],async(_0x51d56a,_0x1d39ee)=>{const _0x2500e1=a1_0x524ea0,_0x3bcfe2={};_0x3bcfe2[_0x2500e1(0x17f)]=_0x2500e1(0x165),_0x3bcfe2[_0x2500e1(0x167)]=function(_0x4c14b5,_0x248d16){return _0x4c14b5===_0x248d16;},_0x3bcfe2[_0x2500e1(0x1e5)]=_0x2500e1(0x130);const _0x5695d9=_0x3bcfe2,_0x35a87d={};_0x35a87d[_0x2500e1(0x166)]=_0x1d39ee;const _0x4c15d6={};_0x4c15d6[_0x2500e1(0x12a)]=_0x5695d9[_0x2500e1(0x17f)],_0x4c15d6[_0x2500e1(0x129)]=_0x35a87d;const _0x3742c6=_0x4c15d6;_0x5695d9[_0x2500e1(0x167)](_0x51d56a[_0x2500e1(0x198)][_0x2500e1(0x166)],_0x5695d9[_0x2500e1(0x1e5)])?await _0x51d56a[_0x2500e1(0x1f4)](()=>{},'browserstack_executor:\x20'+JSON[_0x2500e1(0x13e)](_0x3742c6)):await _0x51d56a[_0x2500e1(0x1f4)](_0x2500e1(0x1bd)+JSON['stringify'](_0x3742c6));}),patchSaveScreenshot=_0x3a2d54=>{const _0x3b003c=a1_0x524ea0,_0x58a5a2={'htPIq':_0x3b003c(0x1f0),'dapLJ':_0x3b003c(0x18e),'HzeEy':function(_0x291be6){return _0x291be6();},'CSaxH':function(_0x3ab7a2,_0x6eb45b){return _0x3ab7a2(_0x6eb45b);},'FXZlN':_0x3b003c(0x190),'BAJWu':function(_0x533a91,_0x15d0c9){return _0x533a91(_0x15d0c9);}};_0x58a5a2['BAJWu'](isTrue,process[_0x3b003c(0x184)][_0x3b003c(0x1c0)])&&!_0x3a2d54[_0x3b003c(0x12c)]&&(_0x3a2d54['patchSaveScreenshot']=!![],_0x3a2d54[_0x3b003c(0x1f8)]=_0x3a2d54[_0x3b003c(0x1e7)],_0x3a2d54['saveScreenshot']=(_0x4f0678,_0x2f03cf=![])=>{const _0x1a3425=_0x3b003c,_0x2f4a9b={'nnuKn':_0x58a5a2[_0x1a3425(0x18c)],'SVTVR':_0x58a5a2[_0x1a3425(0x131)],'OnHLl':function(_0x2b2050){const _0x51bc5a=_0x1a3425;return _0x58a5a2[_0x51bc5a(0x147)](_0x2b2050);},'SpkNe':function(_0x3830ee,_0x453072){const _0x5ec546=_0x1a3425;return _0x58a5a2[_0x5ec546(0x121)](_0x3830ee,_0x453072);},'TSbZk':_0x58a5a2[_0x1a3425(0x1de)]};return new Promise(function(_0x13902b,_0x4a0cdc){const _0x24ad5b=_0x1a3425;_0x3a2d54['initSaveScreenshot'](_0x4f0678,_0x2f03cf)[_0x24ad5b(0x1d5)](()=>{const _0x2c5df5=_0x24ad5b,_0x1e20ac=CodeceptUtils[_0x2c5df5(0x1f7)](_0x4f0678);if(_0x1e20ac){const _0x444d41=fs[_0x2c5df5(0x1cb)](_0x1e20ac);process[_0x2c5df5(0x1b2)](_0x2c5df5(0x1c1)+process[_0x2c5df5(0x194)],{'timestamp':new Date()[_0x2c5df5(0x1c9)](),'message':_0x444d41['toString'](_0x2f4a9b[_0x2c5df5(0x16f)]),'kind':_0x2f4a9b['SVTVR']}),_0x2f4a9b[_0x2c5df5(0x1fe)](_0x13902b);}_0x2f4a9b[_0x2c5df5(0x15f)](_0x4a0cdc,new Error(_0x2f4a9b['TSbZk']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x37e55d=>{const _0x4973bf=a1_0x524ea0,_0x528001={'cLrqO':function(_0x44f4dd){return _0x44f4dd();},'zZaAt':function(_0x272b8e,_0x22611c){return _0x272b8e(_0x22611c);},'vnhpt':function(_0x4bb0da,_0x22d0f4){return _0x4bb0da===_0x22d0f4;},'ttECY':_0x4973bf(0x1a1),'xeZKl':function(_0x41cac8,_0x4899aa){return _0x41cac8(_0x4899aa);}},_0x56072e=async function(_0x20aeae,_0x208280){const _0x3481ff=_0x4973bf;return _0x528001[_0x3481ff(0x1bb)](isAccessibilityAutomationSession)&&!global[_0x3481ff(0x16d)]&&global['accessibilityPlatform']&&scripts[_0x3481ff(0x1db)](_0x20aeae[_0x3481ff(0x166)])&&_0x528001[_0x3481ff(0x1b5)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3481ff(0x161)],async()=>{const _0x122b80=_0x3481ff;logger[_0x122b80(0x142)]('Performing\x20scan\x20for\x20'+_0x20aeae[_0x122b80(0x139)]+'\x20'+_0x20aeae[_0x122b80(0x166)]),await AccessibilityHelper[_0x122b80(0x17d)](_0x37e55d,scripts[_0x122b80(0x19c)]);},{'command':_0x20aeae[_0x3481ff(0x166)]})()),global[_0x3481ff(0x16d)]=![],_0x208280[_0x3481ff(0x17a)](this,Array[_0x3481ff(0x196)][_0x3481ff(0x12b)]['call'](arguments,0x2));},_0xb3b752=CodeceptWebDriver['prototype'][_0x4973bf(0x15b)];CodeceptWebDriver[_0x4973bf(0x196)][_0x4973bf(0x15b)]=async function(){const _0x57dbd9=_0x4973bf;try{await _0xb3b752[_0x57dbd9(0x17a)](this,arguments);}catch(_0x2043c7){logger['debug'](_0x57dbd9(0x1a7)+util[_0x57dbd9(0x158)](_0x2043c7));}scripts[_0x57dbd9(0x1d3)][_0x57dbd9(0x1f5)](_0x3c8e08=>_0x3c8e08[_0x57dbd9(0x166)]&&_0x3c8e08[_0x57dbd9(0x139)])[_0x57dbd9(0x169)](_0x37f22d=>{const _0x4f308b=_0x57dbd9;this[_0x4f308b(0x1a8)][_0x4f308b(0x19d)](_0x37f22d[_0x4f308b(0x166)],_0x56072e[_0x4f308b(0x1a5)](this,_0x37f22d),_0x528001[_0x4f308b(0x1ec)](_0x37f22d[_0x4f308b(0x139)],_0x528001[_0x4f308b(0x163)]));}),_0x528001[_0x57dbd9(0x1ad)](processWebDriverConfig,_0x37e55d);};},patchPlaywrightBefore=()=>{const _0x52170d=a1_0x524ea0;PlaywrightSessionDetails[_0x52170d(0x160)]();const _0x390552=CodeceptPlaywright[_0x52170d(0x196)]['_before'];CodeceptPlaywright[_0x52170d(0x196)][_0x52170d(0x15b)]=async function(){const _0x49ac13=_0x52170d;this['browserContext']=await this[_0x49ac13(0x1a8)][_0x49ac13(0x11e)]()[0x0],await _0x390552[_0x49ac13(0x17a)](this,arguments);};},getCodeceptDriver=()=>{const _0x35b645=a1_0x524ea0,_0x38902e={};_0x38902e[_0x35b645(0x1c2)]=_0x35b645(0x1e8),_0x38902e[_0x35b645(0x1aa)]=_0x35b645(0x130),_0x38902e[_0x35b645(0x172)]=_0x35b645(0x1a9),_0x38902e[_0x35b645(0x141)]=_0x35b645(0x15d);const _0x425a2c=_0x38902e,_0x872774=[_0x425a2c[_0x35b645(0x1c2)],_0x425a2c[_0x35b645(0x1aa)],_0x425a2c[_0x35b645(0x172)],_0x425a2c[_0x35b645(0x141)]],_0x526daa=_0x872774[_0x35b645(0x14d)](_0x22ebf8=>!!CodeceptJS[_0x35b645(0x17c)][_0x35b645(0x13d)](_0x22ebf8));if(!_0x526daa)return null;return CodeceptJS[_0x35b645(0x17c)][_0x35b645(0x13d)](_0x526daa);};module[a1_0x524ea0(0x135)]=function(_0x181713){const _0x2f1af2=a1_0x524ea0,_0x303cca={'WwGEz':function(_0x10458e){return _0x10458e();},'BXSlF':function(_0x5f1316,_0x13d740){return _0x5f1316(_0x13d740);},'WfNzZ':'getAccessibilityResultsSummary','DyJCH':_0x2f1af2(0x125),'kLXMZ':'getAccessibilityResults','XLxaz':_0x2f1af2(0x1e3),'GjnvV':_0x2f1af2(0x14e),'UyoOl':_0x2f1af2(0x1d4),'pJTMa':_0x2f1af2(0x11d),'Sprkv':_0x2f1af2(0x1b3),'rwriJ':_0x2f1af2(0x1bc),'MeNNH':function(_0x318499,_0x6793a0){return _0x318499(_0x6793a0);},'tZILq':function(_0x500ebf,_0x39de98,_0x494a14){return _0x500ebf(_0x39de98,_0x494a14);},'BYfZD':_0x2f1af2(0x19a),'GxtKg':function(_0x148446,_0x1b029c,_0x4ca08c){return _0x148446(_0x1b029c,_0x4ca08c);},'qaNBx':_0x2f1af2(0x132),'WhtXF':function(_0x3ec033){return _0x3ec033();},'qiEPE':function(_0x46863b,_0xbfef87,_0x2a30f5,_0x2b6d67){return _0x46863b(_0xbfef87,_0x2a30f5,_0x2b6d67);},'FQHCu':function(_0x26a14b,_0x494ce6){return _0x26a14b===_0x494ce6;},'kQQdP':_0x2f1af2(0x1ee),'QPlyS':_0x2f1af2(0x149),'dwkaO':_0x2f1af2(0x136),'ApWvD':'afterTest','zEJKM':function(_0x379797){return _0x379797();},'RfOWA':_0x2f1af2(0x1a6),'ZIhiQ':_0x2f1af2(0x1c4),'QBzkI':'INFO','zDwRC':_0x2f1af2(0x1f3),'SydQg':_0x2f1af2(0x1e6),'JTClL':_0x2f1af2(0x1a2),'iBjNc':_0x2f1af2(0x1f2),'cIepe':function(_0x1b191b){return _0x1b191b();},'LAKFO':_0x2f1af2(0x130)};_0x181713[_0x2f1af2(0x168)]&&(global[_0x2f1af2(0x153)]=_0x181713[_0x2f1af2(0x168)]);PerformanceTester[_0x2f1af2(0x1b4)]();const _0x49d629=_0x303cca[_0x2f1af2(0x11b)](getCodeceptDriver),_0x515336=new O11yHelper(_0x49d629,_0x181713),_0x331213=!!CodeceptJS[_0x2f1af2(0x17c)][_0x2f1af2(0x13d)](_0x303cca[_0x2f1af2(0x13a)]);global[_0x2f1af2(0x154)]=_0x49d629,_0x49d629&&(PerformanceTester[_0x2f1af2(0x14b)](PerformanceEvents[_0x2f1af2(0x19e)],()=>{const _0x174246=_0x2f1af2;_0x331213?_0x303cca[_0x174246(0x179)](patchPlaywrightBefore):_0x303cca[_0x174246(0x1ce)](patchWebDriverBefore,_0x49d629);})(),PerformanceTester[_0x2f1af2(0x14b)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0xbea5a=_0x2f1af2,_0x4119c6={};_0x4119c6[_0xbea5a(0x1fb)]=_0x303cca['kLXMZ'],_0x4119c6[_0xbea5a(0x15c)]=_0x303cca[_0xbea5a(0x1ed)];const _0x12b0af=_0x4119c6;_0x49d629['getAccessibilityResultsSummary']=async()=>{const _0x4fce76=_0xbea5a;if(global[_0x4fce76(0x143)]){const _0x4f5d9e={};_0x4f5d9e['command']=_0x303cca[_0x4fce76(0x1cc)],await PerformanceTester[_0x4fce76(0x14b)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24c1ea=_0x4fce76;await AccessibilityHelper[_0x24c1ea(0x17d)](_0x49d629,scripts['performScan']);},_0x4f5d9e)(),await PerformanceTester[_0x4fce76(0x14b)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x20d8d0=_0x4fce76;await AccessibilityHelper[_0x20d8d0(0x17d)](_0x49d629,scripts[_0x20d8d0(0x1c6)]);})();}else return logger['warn'](_0x303cca[_0x4fce76(0x193)]),{};},_0x49d629[_0xbea5a(0x191)]=async()=>{const _0x49e1b2=_0xbea5a;if(global[_0x49e1b2(0x143)]){const _0x602eb3={};_0x602eb3[_0x49e1b2(0x1ae)]=_0x12b0af['QpKcS'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x49e1b2(0x161)],async()=>{const _0x119fca=_0x49e1b2;await AccessibilityHelper[_0x119fca(0x17d)](_0x49d629,scripts[_0x119fca(0x19c)]);},_0x602eb3)(),await PerformanceTester[_0x49e1b2(0x14b)](PerformanceA11yEvents[_0x49e1b2(0x122)],async()=>{const _0x1bc79e=_0x49e1b2;await AccessibilityHelper[_0x1bc79e(0x17d)](_0x49d629,scripts[_0x1bc79e(0x1e9)]);})();}else return logger['warn'](_0x12b0af[_0x49e1b2(0x15c)]),{};},_0x303cca[_0xbea5a(0x1ce)](patchSaveScreenshot,_0x49d629);})()),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)]['all'][_0x2f1af2(0x1b1)],()=>{const _0x1cc6ca=_0x2f1af2;PerformanceTester[_0x1cc6ca(0x152)](PerformanceEvents[_0x1cc6ca(0x1df)]);try{_0x515336[_0x1cc6ca(0x152)](),testOpsHelper[_0x1cc6ca(0x1ba)](),PerformanceTester[_0x1cc6ca(0x11f)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4baa66){PerformanceTester[_0x1cc6ca(0x1ac)](_0x4baa66),PerformanceTester[_0x1cc6ca(0x11f)](PerformanceEvents[_0x1cc6ca(0x1df)],![],_0x4baa66);}}),CodeceptJS[_0x2f1af2(0x1fa)]['dispatcher']['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x157)][_0x2f1af2(0x127)],async()=>{const _0x84591c=_0x2f1af2;PerformanceTester[_0x84591c(0x152)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x84591c(0x1e4)](),await _0x515336[_0x84591c(0x17e)](),PerformanceTester[_0x84591c(0x11f)](PerformanceEvents[_0x84591c(0x156)]);}catch(_0x4a374c){PerformanceTester['captureError'](_0x4a374c),PerformanceTester['end'](PerformanceEvents[_0x84591c(0x156)],![],_0x4a374c);}finally{PerformanceTester[_0x84591c(0x13b)]();}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)]['hook'][_0x2f1af2(0x1ab)],_0x4c4893=>{const _0x560f8b=_0x2f1af2;PerformanceTester['start'](PerformanceEvents['SDK_HOOK']);try{const _0x3aa28f=_0x4c4893['ctx'][_0x560f8b(0x197)],_0x19f0e8=_0x515336[_0x560f8b(0x1d1)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3aa28f);CodeceptRecorder[_0x560f8b(0x176)](()=>_0x515336[_0x560f8b(0x15e)](TEST_EVENTS[_0x560f8b(0x188)],_0x19f0e8));const _0x82bdb={};_0x82bdb[_0x560f8b(0x1d6)]=_0x303cca[_0x560f8b(0x192)],PerformanceTester[_0x560f8b(0x11f)](PerformanceEvents[_0x560f8b(0x200)],!![],null,_0x82bdb);}catch(_0x57d1bd){const _0x49e009={};_0x49e009[_0x560f8b(0x1d6)]=_0x303cca['GjnvV'],PerformanceTester[_0x560f8b(0x11f)](PerformanceEvents[_0x560f8b(0x200)],![],_0x57d1bd,_0x49e009),PerformanceTester[_0x560f8b(0x1ac)](_0x57d1bd);}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x124)][_0x2f1af2(0x133)],_0x2d0f08=>{const _0x33a367=_0x2f1af2,_0x59f917={};_0x59f917[_0x33a367(0x1d6)]=_0x303cca[_0x33a367(0x1bf)],PerformanceTester[_0x33a367(0x152)](PerformanceHookEvents[_0x33a367(0x200)],!![],null,_0x59f917);try{const _0x1bf236=_0x2d0f08[_0x33a367(0x14f)]['test'],_0x5a6174=_0x515336['captureEvent'](TEST_EVENTS[_0x33a367(0x14a)],_0x1bf236);CodeceptRecorder['add'](()=>_0x515336[_0x33a367(0x15e)](TEST_EVENTS[_0x33a367(0x14a)],_0x5a6174));const _0x5a450d={};_0x5a450d['hookType']=_0x303cca['UyoOl'],PerformanceTester['end'](PerformanceHookEvents[_0x33a367(0x200)],!![],null,_0x5a450d);}catch(_0x1666f4){PerformanceTester['captureError'](_0x1666f4);const _0x1fe8e9={};_0x1fe8e9['hookType']=_0x303cca[_0x33a367(0x1bf)],PerformanceTester[_0x33a367(0x11f)](PerformanceHookEvents['SDK_HOOK'],![],_0x1666f4,_0x1fe8e9);}}),CodeceptJS['event'][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x124)][_0x2f1af2(0x1d0)],async(_0x52643d,_0x48870f)=>{const _0x4edd02=_0x2f1af2;PerformanceTester[_0x4edd02(0x152)](PerformanceHookEvents[_0x4edd02(0x200)]);try{const _0x11b059=_0x52643d['ctx'][_0x4edd02(0x197)],_0x33fb6c=_0x515336[_0x4edd02(0x1d1)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x11b059,_0x48870f);CodeceptRecorder[_0x4edd02(0x176)](()=>_0x515336[_0x4edd02(0x15e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x33fb6c));const _0x16365d={};_0x16365d[_0x4edd02(0x1d6)]=_0x303cca[_0x4edd02(0x162)],PerformanceTester[_0x4edd02(0x152)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x16365d);}catch(_0x5c2907){PerformanceTester[_0x4edd02(0x1ac)](_0x5c2907);const _0x35e9f9={};_0x35e9f9[_0x4edd02(0x1d6)]=_0x303cca['pJTMa'],PerformanceTester[_0x4edd02(0x11f)](PerformanceHookEvents[_0x4edd02(0x200)],![],_0x5c2907,_0x35e9f9);}const _0x14940f={};_0x14940f[_0x4edd02(0x1d6)]=_0x303cca['pJTMa'],PerformanceTester[_0x4edd02(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x14940f);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)]['test'][_0x2f1af2(0x1b1)],_0xc9301=>{const _0x1daa52=_0x2f1af2;PerformanceTester[_0x1daa52(0x152)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x1daa52(0x16e)](_0x303cca[_0x1daa52(0x164)],_0xc9301[_0x1daa52(0x19f)]);_0x303cca[_0x1daa52(0x179)](isBrowserstackInfra)&&(_0x331213&&(global[_0x1daa52(0x1fd)]={'currentTest':{'name':_0xc9301[_0x1daa52(0x19f)],'testInfo':{'titlePath':_0xc9301[_0x1daa52(0x1dd)]()}}}));const _0x410289={};_0x410289[_0x1daa52(0x1d6)]=_0x303cca[_0x1daa52(0x1f9)],PerformanceTester['end'](PerformanceHookEvents[_0x1daa52(0x200)],!![],null,_0x410289);}catch(_0x24f190){PerformanceTester['captureError'](_0x24f190);const _0x5a0d3a={};_0x5a0d3a['hookType']=_0x303cca[_0x1daa52(0x1f9)],PerformanceTester[_0x1daa52(0x11f)](PerformanceHookEvents[_0x1daa52(0x200)],![],_0x24f190,_0x5a0d3a);}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)][_0x2f1af2(0x1ab)],_0x5c5fe1=>{const _0x3cc37f=_0x2f1af2,_0x982377={'tawuu':function(_0x591a41){const _0x2f65e6=a1_0x1bf8;return _0x303cca[_0x2f65e6(0x179)](_0x591a41);},'CJIHy':function(_0x4b81b7,_0x37fdcf){const _0x18dc22=a1_0x1bf8;return _0x303cca[_0x18dc22(0x18f)](_0x4b81b7,_0x37fdcf);},'EznMJ':function(_0x1146f2,_0x19a4cd,_0x23afcc){const _0x335f08=a1_0x1bf8;return _0x303cca[_0x335f08(0x1cf)](_0x1146f2,_0x19a4cd,_0x23afcc);},'YYEFR':function(_0x599fd4,_0x2f9dc5){const _0xea90de=a1_0x1bf8;return _0x303cca[_0xea90de(0x18f)](_0x599fd4,_0x2f9dc5);}};PerformanceTester[_0x3cc37f(0x152)](PerformanceHookEvents[_0x3cc37f(0x200)]);try{globals[_0x3cc37f(0x16e)](_0x303cca[_0x3cc37f(0x164)],_0x5c5fe1[_0x3cc37f(0x19f)]);const _0x1f80e7=_0x515336[_0x3cc37f(0x1d1)](TEST_EVENTS[_0x3cc37f(0x12e)],_0x5c5fe1);CodeceptRecorder[_0x3cc37f(0x176)](()=>_0x515336[_0x3cc37f(0x15e)](TEST_EVENTS[_0x3cc37f(0x12e)],_0x1f80e7)),CodeceptRecorder[_0x3cc37f(0x176)](async()=>{const _0xedbddd=_0x3cc37f;_0x982377[_0xedbddd(0x186)](isBrowserstackInfra)&&(!_0x982377[_0xedbddd(0x1c5)](isTrue,_0x181713[_0xedbddd(0x145)])&&await _0x982377['EznMJ'](markSessionName,_0x49d629,_0x5c5fe1[_0xedbddd(0x19f)]),_0x515336[_0xedbddd(0x18d)]&&await _0x982377[_0xedbddd(0x13c)](o11ySync,_0x49d629));});}catch(_0xdf4761){const _0x387290={};_0x387290['hookType']=_0x303cca['BYfZD'],PerformanceTester[_0x3cc37f(0x11f)](PerformanceHookEvents[_0x3cc37f(0x200)],![],_0xdf4761,_0x387290),PerformanceTester[_0x3cc37f(0x1ac)](_0xdf4761);}const _0x379c2d={};_0x379c2d[_0x3cc37f(0x1d6)]=_0x303cca['BYfZD'],PerformanceTester[_0x3cc37f(0x11f)](PerformanceHookEvents[_0x3cc37f(0x200)],!![],null,_0x379c2d);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)]['passed'],_0x4c1f74=>{const _0x4de731=_0x2f1af2,_0x5a14cb={'wUYqg':function(_0x2fe9cc,_0x49a29d,_0x2cea4c){const _0x371ab1=a1_0x1bf8;return _0x303cca[_0x371ab1(0x1cf)](_0x2fe9cc,_0x49a29d,_0x2cea4c);},'cHpRu':function(_0x544ce6,_0x240465,_0x1a2b86){const _0x1712a2=a1_0x1bf8;return _0x303cca[_0x1712a2(0x11a)](_0x544ce6,_0x240465,_0x1a2b86);},'ulmgz':function(_0x940637){const _0x22cc71=a1_0x1bf8;return _0x303cca[_0x22cc71(0x179)](_0x940637);}};PerformanceTester['start'](PerformanceHookEvents[_0x4de731(0x200)]);try{const _0x4f558b=_0x515336['captureEvent'](TEST_EVENTS[_0x4de731(0x148)],_0x4c1f74);CodeceptRecorder[_0x4de731(0x176)](()=>_0x515336[_0x4de731(0x15e)](TEST_EVENTS[_0x4de731(0x148)],_0x4f558b)),CodeceptRecorder[_0x4de731(0x176)](async()=>{const _0x54f2b6=_0x4de731,_0x2b74d6={'Xsyiu':function(_0xf25ae9,_0x340c98,_0x43f715){const _0x4e1da8=a1_0x1bf8;return _0x5a14cb[_0x4e1da8(0x1ea)](_0xf25ae9,_0x340c98,_0x43f715);},'VcOEw':function(_0x132026,_0x436b31,_0x53b703){return _0x5a14cb['cHpRu'](_0x132026,_0x436b31,_0x53b703);}};_0x5a14cb[_0x54f2b6(0x173)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x54f2b6(0x155)],async()=>{const _0x4036c6=_0x54f2b6;_0x331213?await _0x2b74d6[_0x4036c6(0x185)](playwrightMarkSessionStatus,_0x49d629,STATE_PASSED):await _0x2b74d6[_0x4036c6(0x126)](markSessionStatus,_0x49d629,STATE_PASSED);})();}),PerformanceTester[_0x4de731(0x11f)](PerformanceEvents[_0x4de731(0x171)]);}catch(_0x537b62){PerformanceTester[_0x4de731(0x1ac)](_0x537b62);const _0x4ef457={};_0x4ef457[_0x4de731(0x1d6)]=_0x303cca[_0x4de731(0x181)],PerformanceTester[_0x4de731(0x11f)](PerformanceHookEvents[_0x4de731(0x200)],![],_0x537b62,_0x4ef457),PerformanceTester[_0x4de731(0x11f)](PerformanceEvents[_0x4de731(0x171)],![],_0x537b62);}const _0x4a17fc={};_0x4a17fc['hookType']=_0x303cca[_0x4de731(0x181)],PerformanceTester[_0x4de731(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4a17fc);}),CodeceptJS[_0x2f1af2(0x1fa)]['dispatcher']['on'](CodeceptJS['event'][_0x2f1af2(0x197)][_0x2f1af2(0x1d0)],(_0x5a081d,_0x204174)=>{const _0x225e82=_0x2f1af2;PerformanceTester[_0x225e82(0x152)](PerformanceHookEvents[_0x225e82(0x200)]);try{if(_0x303cca[_0x225e82(0x195)](_0x5a081d[_0x225e82(0x198)][_0x225e82(0x166)],_0x303cca[_0x225e82(0x170)])){const _0x3735f3=_0x515336['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5a081d[_0x225e82(0x14f)][_0x225e82(0x11c)]);CodeceptRecorder[_0x225e82(0x176)](()=>_0x515336['fireEvent'](TEST_EVENTS[_0x225e82(0x1ff)],_0x3735f3));}else{const _0xf86a50=_0x515336['captureEvent'](TEST_EVENTS[_0x225e82(0x148)],_0x5a081d,_0x204174);CodeceptRecorder[_0x225e82(0x176)](()=>{const _0x28cb1a=_0x225e82;try{_0x515336[_0x28cb1a(0x15e)](TEST_EVENTS[_0x28cb1a(0x148)],_0xf86a50);}catch(_0x22675e){logger[_0x28cb1a(0x142)](_0x28cb1a(0x144)+util['format'](_0x22675e)),PerformanceTester[_0x28cb1a(0x11f)](PerformanceEvents[_0x28cb1a(0x171)],![],_0x22675e);}}),CodeceptRecorder['add'](async()=>{const _0xca6c09=_0x225e82;try{_0x303cca[_0xca6c09(0x1b6)](isBrowserstackInfra)&&(_0x331213?await _0x303cca[_0xca6c09(0x199)](playwrightMarkSessionStatus,_0x49d629,STATE_FAILED,_0x204174):await _0x303cca['qiEPE'](markSessionStatus,_0x49d629,STATE_FAILED,_0x204174));}catch(_0x5c44ce){logger[_0xca6c09(0x142)](_0xca6c09(0x140)+util[_0xca6c09(0x158)](_0x5c44ce)),PerformanceTester['end'](PerformanceEvents[_0xca6c09(0x171)],![],_0x5c44ce);}});}PerformanceTester[_0x225e82(0x11f)](PerformanceEvents[_0x225e82(0x171)]);}catch(_0x57709c){PerformanceTester['captureError'](_0x57709c);const _0x2a2485={};_0x2a2485[_0x225e82(0x1d6)]=_0x303cca[_0x225e82(0x1f6)],PerformanceTester[_0x225e82(0x11f)](PerformanceHookEvents[_0x225e82(0x200)],![],_0x57709c,_0x2a2485),PerformanceTester[_0x225e82(0x11f)](PerformanceEvents['SDK_TEST'],![],_0x57709c);}const _0x20b252={};_0x20b252[_0x225e82(0x1d6)]=_0x303cca[_0x225e82(0x1f6)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x20b252);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)]['skipped'],_0x2b1734=>{const _0xe9a5c4=_0x2f1af2;PerformanceTester[_0xe9a5c4(0x152)](PerformanceHookEvents[_0xe9a5c4(0x200)]);try{const _0x3644ad=_0x515336[_0xe9a5c4(0x1d1)](TEST_EVENTS[_0xe9a5c4(0x1ff)],_0x2b1734);CodeceptRecorder['add'](()=>_0x515336[_0xe9a5c4(0x15e)](TEST_EVENTS[_0xe9a5c4(0x1ff)],_0x3644ad)),PerformanceTester['end'](PerformanceEvents[_0xe9a5c4(0x171)]);}catch(_0x7fa131){PerformanceTester[_0xe9a5c4(0x1ac)](_0x7fa131),PerformanceTester[_0xe9a5c4(0x11f)](PerformanceEvents[_0xe9a5c4(0x171)],![],_0x7fa131);const _0x12eb71={};_0x12eb71[_0xe9a5c4(0x1d6)]=_0x303cca[_0xe9a5c4(0x1e2)],PerformanceTester['end'](PerformanceHookEvents[_0xe9a5c4(0x200)],![],_0x7fa131,_0x12eb71);}const _0x70c2fe={};_0x70c2fe[_0xe9a5c4(0x1d6)]=_0x303cca[_0xe9a5c4(0x1e2)],PerformanceTester[_0xe9a5c4(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x70c2fe);}),CodeceptJS[_0x2f1af2(0x1fa)]['dispatcher']['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)][_0x2f1af2(0x127)],async(_0x82ab4b,_0x2076c1)=>{const _0x5450a5=_0x2f1af2,_0x1c9561={};_0x1c9561[_0x5450a5(0x1b8)]=_0x303cca[_0x5450a5(0x187)];const _0x1b9f02=_0x1c9561;try{PerformanceTester[_0x5450a5(0x152)](PerformanceHookEvents[_0x5450a5(0x200)]);if(_0x303cca[_0x5450a5(0x1eb)](isBrowserstackInfra)){const _0x4f5bd1=_0x303cca[_0x5450a5(0x1cf)](shouldScanTestForAccessibility,_0x82ab4b[_0x5450a5(0x1dd)](),!![]);if(_0x303cca[_0x5450a5(0x1b6)](isAccessibilityAutomationSession)&&global[_0x5450a5(0x143)]&&_0x4f5bd1){const _0x572762={};_0x572762[_0x5450a5(0x1a0)]=_0x82ab4b[_0x5450a5(0x1cd)],_0x572762[_0x5450a5(0x1c7)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x572762[_0x5450a5(0x16c)]=process['env'][testHubConstants[_0x5450a5(0x1fc)][_0x5450a5(0x13f)]];const _0x29b08e=_0x572762;logger[_0x5450a5(0x142)](_0x5450a5(0x180)+JSON[_0x5450a5(0x13e)](_0x29b08e)),CodeceptRecorder[_0x5450a5(0x176)](async()=>{const _0x4c6ec8=_0x5450a5,_0x3c792b={};_0x3c792b[_0x4c6ec8(0x1ae)]=_0x1b9f02[_0x4c6ec8(0x1b8)],await PerformanceTester[_0x4c6ec8(0x14b)](PerformanceA11yEvents[_0x4c6ec8(0x161)],async()=>{const _0x547338=_0x4c6ec8;await AccessibilityHelper[_0x547338(0x17d)](_0x49d629,scripts[_0x547338(0x19c)]);},_0x3c792b)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4c6ec8(0x1c3)],async()=>{const _0x27bd9d=_0x4c6ec8;await AccessibilityHelper[_0x27bd9d(0x17d)](_0x49d629,scripts[_0x27bd9d(0x182)],_0x29b08e);})();}),logger['info'](_0x303cca[_0x5450a5(0x1a4)]);}}const _0x1534cb={};_0x1534cb[_0x5450a5(0x1d6)]=_0x303cca[_0x5450a5(0x1b9)],PerformanceTester[_0x5450a5(0x11f)](PerformanceHookEvents[_0x5450a5(0x200)],!![],null,_0x1534cb);}catch(_0x2b002c){PerformanceTester[_0x5450a5(0x1ac)](_0x2b002c);const _0x3ccee1={};_0x3ccee1[_0x5450a5(0x1d6)]=_0x303cca[_0x5450a5(0x1b9)],PerformanceTester[_0x5450a5(0x11f)](PerformanceHookEvents['SDK_HOOK'],![],_0x2b002c,_0x3ccee1);}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x120)]['comment'],_0x5bbf0f=>{const _0x437aef=_0x2f1af2;PerformanceTester[_0x437aef(0x152)](PerformanceHookEvents[_0x437aef(0x200)]);try{process[_0x437aef(0x1b2)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x437aef(0x1c9)](),'level':_0x303cca[_0x437aef(0x1e1)],'message':_0x5bbf0f,'kind':_0x303cca[_0x437aef(0x1d8)],'http_response':{}});}catch(_0x595eb2){PerformanceTester[_0x437aef(0x1ac)](_0x595eb2);const _0x27528c={};_0x27528c['hookType']=_0x303cca[_0x437aef(0x134)],PerformanceTester[_0x437aef(0x11f)](PerformanceHookEvents[_0x437aef(0x200)],![],_0x595eb2,_0x27528c);}const _0xd0ba67={};_0xd0ba67[_0x437aef(0x1d6)]=_0x303cca[_0x437aef(0x134)],PerformanceTester[_0x437aef(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xd0ba67);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x128)][_0x2f1af2(0x1b1)],_0x54fc04=>{const _0x11e3f4=_0x2f1af2,_0x45c521={};_0x45c521[_0x11e3f4(0x1d6)]=_0x303cca['JTClL'],PerformanceTester[_0x11e3f4(0x14b)](PerformanceHookEvents[_0x11e3f4(0x200)],()=>{const _0x345b2a=_0x11e3f4;_0x515336[_0x345b2a(0x16a)](_0x54fc04);},_0x45c521)();}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x128)][_0x2f1af2(0x127)],_0x17991d=>{const _0x5695e9=_0x2f1af2,_0xe66d5b={};_0xe66d5b[_0x5695e9(0x1d6)]=_0x303cca[_0x5695e9(0x1d7)],PerformanceTester[_0x5695e9(0x14b)](PerformanceHookEvents[_0x5695e9(0x200)],()=>{const _0x244722=_0x5695e9;_0x515336[_0x244722(0x18b)](_0x17991d);},_0xe66d5b)();});};function a1_0x14d9(){const _0x431863=['browserStackExecuteDriver','stop','vSLvx','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','qaNBx','saveTestResults','dispatcher','env','Xsyiu','tawuu','ApWvD','HOOK_RUN_STARTED','2558704sllOxD','../../helpers/logger','bddStepFinish','htPIq','enabled','TEST_SCREENSHOT','MeNNH','Screenshot\x20path\x20not\x20found','getAccessibilityResults','GjnvV','DyJCH','pid','FQHCu','prototype','test','constructor','qiEPE','test-started','105KyIsNS','performScan','overwriteCommand','SDK_PRE_INITIALIZE','title','thTestRunUuid','Element','bddStep-before','../../bin/playwright/sessionDetails','RfOWA','bind','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Failed\x20to\x20execute\x20_before:\x20','browser','Puppeteer','gUfAB','started','captureError','xeZKl','command','QYAfc','codeceptjs/lib/helper/Playwright.js','before','emit','browserstackTestName','startMonitoring','zZaAt','WhtXF','11287jScFEn','qjHyM','ZIhiQ','addRequestSpy','cLrqO','test-before','browserstack_executor:\x20','11092CiHzwZ','UyoOl','BS_TESTOPS_ALLOW_SCREENSHOTS','bs:addLog:','kRLna','SAVE_RESULTS','test-after','CJIHy','getResultsSummary','thBuildUuid','SYNC','toISOString','FhVtx','readFileSync','WfNzZ','testAnalyticsId','BXSlF','tZILq','failed','captureEvent','1305YgMGVW','commandsToWrap','hook-passed','then','hookType','iBjNc','zDwRC','../../bin/playwright/accessibility-helper','../../helpers/request-spy','shouldWrapCommand','status','titlePath','FXZlN','SDK_PRE_TEST','../../helpers/helper','QBzkI','dwkaO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','restore','YRqAf','step-comment','saveScreenshot','WebDriver','getResults','wUYqg','zEJKM','vnhpt','XLxaz','Suite','../../helpers/accessibility-automation/scripts','base64','118AdyfBS','bddStep-after','TEST_LOG','executeScript','filter','QPlyS','screenshotOutputFolder','initSaveScreenshot','rwriJ','event','QpKcS','ENV_VAR','__workerDetails','OnHLl','TEST_RUN_SKIPPED','SDK_HOOK','GxtKg','cIepe','currentTest','hook-failed','contexts','end','step','CSaxH','GET_RESULTS','./helper.js','hook','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','VcOEw','after','bddStep','arguments','action','slice','patchSaveScreenshot','codeceptjs','TEST_RUN_STARTED','428478hCUtZU','Playwright','dapLJ','test-passed','passed','SydQg','exports','test-skipped','../../helpers/performance/performance-tester','39502340vNlvje','class','LAKFO','stopMonitoring','YYEFR','helpers','stringify','BROWSERSTACK_TESTHUB_JWT','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','rROaY','debug','accessibilityPlatform','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','skipSessionName','codeceptjs/lib/utils.js','HzeEy','TEST_RUN_FINISHED','test-failed','HOOK_RUN_FINISHED','measureWrapper','reason','find','hook-started','ctx','../../helpers/performance/constants','2056985ppyrou','start','__skipSessionStatus','__driver','SESSION_STATUS','SDK_POST_TEST','all','format','setSessionStatus','../../helpers/globals.js','_before','cJcbv','TestCafe','fireEvent','SpkNe','patch','PERFORM_SCAN','pJTMa','ttECY','Sprkv','setSessionName','name','qnQgY','skipSessionStatus','forEach','bddStepStart','codeceptjs/lib/helper/WebDriver.js','thJwtToken','bstackAllyScanning','setGlobal','nnuKn','kQQdP','SDK_TEST','CGtzW','ulmgz','./o11yHelper','getSyncScript','add','SESSION_NAME','dsNIM','WwGEz','apply','4533282ACSalN','container'];a1_0x14d9=function(){return _0x431863;};return a1_0x14d9();}
|
|
1
|
+
const a1_0x333e0c=a1_0x37e2;(function(_0x5d639c,_0x14af18){const _0x3c5796=a1_0x37e2,_0xb6477d=_0x5d639c();while(!![]){try{const _0x36c22e=parseInt(_0x3c5796(0x1c4))/0x1*(-parseInt(_0x3c5796(0x242))/0x2)+parseInt(_0x3c5796(0x1f5))/0x3+parseInt(_0x3c5796(0x2a4))/0x4+-parseInt(_0x3c5796(0x223))/0x5*(parseInt(_0x3c5796(0x1dc))/0x6)+parseInt(_0x3c5796(0x1e3))/0x7+parseInt(_0x3c5796(0x21d))/0x8*(-parseInt(_0x3c5796(0x1fe))/0x9)+parseInt(_0x3c5796(0x1fa))/0xa;if(_0x36c22e===_0x14af18)break;else _0xb6477d['push'](_0xb6477d['shift']());}catch(_0x398f50){_0xb6477d['push'](_0xb6477d['shift']());}}}(a1_0x353c,0x5652b));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x333e0c(0x22b)),logger=require('../../helpers/logger')[a1_0x333e0c(0x293)],testOpsHelper=require(a1_0x333e0c(0x283)),requestSpy=require(a1_0x333e0c(0x1e2)),PlaywrightSessionDetails=require(a1_0x333e0c(0x23a)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x333e0c(0x246)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x333e0c(0x2a2)),scripts=require(a1_0x333e0c(0x1e5)),PerformanceTester=require(a1_0x333e0c(0x277)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x333e0c(0x24c)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x333e0c(0x224)),testHubConstants=require(a1_0x333e0c(0x203)),globals=require(a1_0x333e0c(0x28e)),CodeceptJS=requireModule(a1_0x333e0c(0x1c5),'codeceptjs'),CodeceptUtils=requireModule(a1_0x333e0c(0x258),a1_0x333e0c(0x210)),CodeceptWebDriver=requireModule(a1_0x333e0c(0x280),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x333e0c(0x29a),'codeceptjs'),CodeceptPlaywright=requireModule(a1_0x333e0c(0x24e),a1_0x333e0c(0x210)),playwrightMarkSessionStatus=(_0xa2e781,_0x287427,_0x2ddee5)=>{const _0x8a2efb=a1_0x333e0c,_0x55ae6e={'jajms':_0x8a2efb(0x211),'dbeFx':function(_0x580ebd,_0x1eeca2){return _0x580ebd(_0x1eeca2);}},_0x535eda={};_0x535eda[_0x8a2efb(0x233)]=_0x287427;const _0x4a37b4={};_0x4a37b4[_0x8a2efb(0x1cb)]=_0x55ae6e[_0x8a2efb(0x28a)],_0x4a37b4[_0x8a2efb(0x287)]=_0x535eda;const _0xf56f21=_0x4a37b4;return!_0x55ae6e['dbeFx'](isUndefined,_0x2ddee5)&&(_0xf56f21[_0x8a2efb(0x287)][_0x8a2efb(0x240)]=JSON[_0x8a2efb(0x209)](_0x2ddee5)),_0xa2e781[_0x8a2efb(0x27c)](()=>{},_0x8a2efb(0x26c)+JSON[_0x8a2efb(0x209)](_0xf56f21));},o11ySync=PerformanceTester[a1_0x333e0c(0x1cc)](PerformanceO11yEvents[a1_0x333e0c(0x297)],async _0x1b5300=>{const _0xf52be7=a1_0x333e0c,_0x53abff={};_0x53abff['URPQH']=function(_0x312cff,_0x1a7ebc){return _0x312cff===_0x1a7ebc;},_0x53abff[_0xf52be7(0x1d2)]=_0xf52be7(0x200);const _0x846b47=_0x53abff;_0x846b47[_0xf52be7(0x1d1)](_0x1b5300[_0xf52be7(0x254)][_0xf52be7(0x1e8)],_0x846b47['UtVhJ'])?await _0x1b5300[_0xf52be7(0x27c)](_0x411505=>{},testOpsHelper[_0xf52be7(0x262)]()):await _0x1b5300[_0xf52be7(0x27c)](testOpsHelper[_0xf52be7(0x262)]());}),markSessionName=PerformanceTester[a1_0x333e0c(0x1cc)](PerformanceAutEvents[a1_0x333e0c(0x2a5)],async(_0x3b00f4,_0x431b39)=>{const _0x522303=a1_0x333e0c,_0x5a7893={};_0x5a7893[_0x522303(0x263)]='setSessionName',_0x5a7893['mFapw']=function(_0x206744,_0x329a1c){return _0x206744===_0x329a1c;},_0x5a7893[_0x522303(0x231)]=_0x522303(0x200);const _0x3f82e9=_0x5a7893,_0x4b9397={};_0x4b9397[_0x522303(0x1e8)]=_0x431b39;const _0x1efba1={};_0x1efba1[_0x522303(0x1cb)]=_0x3f82e9['bYgWV'],_0x1efba1[_0x522303(0x287)]=_0x4b9397;const _0x4ab242=_0x1efba1;_0x3f82e9[_0x522303(0x29d)](_0x3b00f4[_0x522303(0x254)]['name'],_0x3f82e9[_0x522303(0x231)])?await _0x3b00f4['executeScript'](()=>{},_0x522303(0x26c)+JSON[_0x522303(0x209)](_0x4ab242)):await _0x3b00f4['executeScript'](_0x522303(0x26c)+JSON['stringify'](_0x4ab242));}),patchSaveScreenshot=_0xa0a851=>{const _0x561ad3=a1_0x333e0c,_0x396d98={'eBOVk':'base64','DcBtC':'TEST_SCREENSHOT','TGQuO':function(_0x86362b){return _0x86362b();},'NpzSh':function(_0x398c32,_0x2bc9b5){return _0x398c32(_0x2bc9b5);},'rqxEX':'Screenshot\x20path\x20not\x20found'};_0x396d98[_0x561ad3(0x1f0)](isTrue,process[_0x561ad3(0x21f)][_0x561ad3(0x244)])&&!_0xa0a851[_0x561ad3(0x1f3)]&&(_0xa0a851[_0x561ad3(0x1f3)]=!![],_0xa0a851['initSaveScreenshot']=_0xa0a851['saveScreenshot'],_0xa0a851[_0x561ad3(0x215)]=(_0x1a034a,_0x5b6c1f=![])=>{const _0x1751d5=_0x561ad3,_0x4167d4={'buhvR':_0x396d98[_0x1751d5(0x22d)],'spdiI':_0x396d98[_0x1751d5(0x26f)],'njcCh':function(_0x3c4f40){const _0x1d18d4=_0x1751d5;return _0x396d98[_0x1d18d4(0x288)](_0x3c4f40);},'MMtfo':function(_0x460423,_0x183285){const _0x3bde7a=_0x1751d5;return _0x396d98[_0x3bde7a(0x1f0)](_0x460423,_0x183285);},'xniwZ':_0x396d98[_0x1751d5(0x1db)]};return new Promise(function(_0x18d673,_0x19f3f6){const _0x202854=_0x1751d5,_0x5dcbb7={'khCmZ':_0x4167d4[_0x202854(0x2a3)],'JlcvB':_0x4167d4[_0x202854(0x284)],'cmRft':function(_0x487eb1){const _0x518e37=_0x202854;return _0x4167d4[_0x518e37(0x204)](_0x487eb1);},'ikvPd':function(_0x321389,_0x617e39){const _0xf4b234=_0x202854;return _0x4167d4[_0xf4b234(0x274)](_0x321389,_0x617e39);},'RWlUR':_0x4167d4['xniwZ']};_0xa0a851[_0x202854(0x1ff)](_0x1a034a,_0x5b6c1f)[_0x202854(0x20e)](()=>{const _0x206f4e=_0x202854,_0x43a946=CodeceptUtils['screenshotOutputFolder'](_0x1a034a);if(_0x43a946){const _0x1df8f4=fs[_0x206f4e(0x245)](_0x43a946);process[_0x206f4e(0x1d3)](_0x206f4e(0x264)+process[_0x206f4e(0x1f7)],{'timestamp':new Date()[_0x206f4e(0x290)](),'message':_0x1df8f4[_0x206f4e(0x255)](_0x5dcbb7[_0x206f4e(0x251)]),'kind':_0x5dcbb7['JlcvB']}),_0x5dcbb7[_0x206f4e(0x20a)](_0x18d673);}_0x5dcbb7[_0x206f4e(0x248)](_0x19f3f6,new Error(_0x5dcbb7[_0x206f4e(0x22f)]));})[_0x202854(0x28b)](()=>null);});});},patchWebDriverBefore=_0x1cfbd8=>{const _0x75a581=a1_0x333e0c,_0x39e565={'wVYzC':function(_0x352f4e){return _0x352f4e();},'mMMMx':function(_0x4b869e,_0x4cde28){return _0x4b869e(_0x4cde28);},'xgEdB':function(_0x43aed0,_0x1eda7c){return _0x43aed0===_0x1eda7c;},'sDHZV':_0x75a581(0x235),'HOiBH':function(_0x42fda4,_0xbc63a4){return _0x42fda4(_0xbc63a4);}},_0x35d912=async function(_0x5e3838,_0x56ff78){const _0x436468=_0x75a581;return _0x39e565['wVYzC'](isAccessibilityAutomationSession)&&!global[_0x436468(0x265)]&&global[_0x436468(0x27d)]&&scripts[_0x436468(0x239)](_0x5e3838[_0x436468(0x1e8)])&&_0x39e565[_0x436468(0x22c)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x436468(0x265)]=!![],await PerformanceTester[_0x436468(0x1cc)](PerformanceA11yEvents[_0x436468(0x208)],async()=>{const _0x5c5e36=_0x436468;logger[_0x5c5e36(0x1e1)](_0x5c5e36(0x222)+_0x5e3838[_0x5c5e36(0x29c)]+'\x20'+_0x5e3838['name']),await AccessibilityHelper[_0x5c5e36(0x1f4)](_0x1cfbd8,scripts[_0x5c5e36(0x241)]);},{'command':_0x5e3838[_0x436468(0x1e8)]})()),global['bstackAllyScanning']=![],_0x56ff78['apply'](this,Array[_0x436468(0x291)][_0x436468(0x243)][_0x436468(0x1c9)](arguments,0x2));},_0x1d3075=CodeceptWebDriver[_0x75a581(0x291)]['_before'];CodeceptWebDriver[_0x75a581(0x291)][_0x75a581(0x21e)]=async function(){const _0x44e309=_0x75a581,_0x33fe4d={'zpgAb':function(_0x8e7c08,_0x5e9f7e){const _0x3ef47b=a1_0x37e2;return _0x39e565[_0x3ef47b(0x237)](_0x8e7c08,_0x5e9f7e);},'EGndN':_0x39e565[_0x44e309(0x26d)]};try{await _0x1d3075[_0x44e309(0x1da)](this,arguments);}catch(_0x536621){logger[_0x44e309(0x1e1)](_0x44e309(0x28d)+util['format'](_0x536621));}scripts[_0x44e309(0x266)][_0x44e309(0x1d4)](_0x44746e=>_0x44746e[_0x44e309(0x1e8)]&&_0x44746e[_0x44e309(0x29c)])[_0x44e309(0x219)](_0x1c21ad=>{const _0x56fcf4=_0x44e309;this['browser'][_0x56fcf4(0x1fc)](_0x1c21ad[_0x56fcf4(0x1e8)],_0x35d912['bind'](this,_0x1c21ad),_0x33fe4d[_0x56fcf4(0x1cf)](_0x1c21ad[_0x56fcf4(0x29c)],_0x33fe4d[_0x56fcf4(0x1c7)]));}),_0x39e565[_0x44e309(0x23e)](processWebDriverConfig,_0x1cfbd8);};},patchPlaywrightBefore=()=>{const _0x134f71=a1_0x333e0c;PlaywrightSessionDetails['patch']();const _0x350e8f=CodeceptPlaywright[_0x134f71(0x291)][_0x134f71(0x21e)];CodeceptPlaywright['prototype'][_0x134f71(0x21e)]=async function(){const _0x328b0a=_0x134f71;this['browserContext']=await this[_0x328b0a(0x1f9)][_0x328b0a(0x226)]()[0x0],await _0x350e8f[_0x328b0a(0x1da)](this,arguments);};},getCodeceptDriver=()=>{const _0x5cddd5=a1_0x333e0c,_0x1d694e={};_0x1d694e[_0x5cddd5(0x27a)]='WebDriver',_0x1d694e[_0x5cddd5(0x1f1)]=_0x5cddd5(0x200),_0x1d694e['ukVTk']=_0x5cddd5(0x238),_0x1d694e[_0x5cddd5(0x24a)]='TestCafe';const _0x41b5e9=_0x1d694e,_0x127f8b=[_0x41b5e9[_0x5cddd5(0x27a)],_0x41b5e9[_0x5cddd5(0x1f1)],_0x41b5e9[_0x5cddd5(0x252)],_0x41b5e9['FMQFO']],_0x5a9b1b=_0x127f8b['find'](_0x53eadf=>!!CodeceptJS['container'][_0x5cddd5(0x20d)](_0x53eadf));if(!_0x5a9b1b)return null;return CodeceptJS[_0x5cddd5(0x25d)][_0x5cddd5(0x20d)](_0x5a9b1b);};module[a1_0x333e0c(0x1d0)]=function(_0x3ceacf){const _0x63f9d2=a1_0x333e0c,_0x1c44fa={'eCwJK':function(_0x4be630){return _0x4be630();},'eILcc':function(_0x3c2c0b,_0x1879fd){return _0x3c2c0b(_0x1879fd);},'BJYvK':_0x63f9d2(0x1ee),'wzopa':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','oSixC':'getAccessibilityResults','HtHMU':_0x63f9d2(0x272),'XqHQo':_0x63f9d2(0x202),'KoIcQ':_0x63f9d2(0x213),'BhYfo':'hook-failed','JzxGs':_0x63f9d2(0x2a0),'LhbTc':function(_0x2131e9){return _0x2131e9();},'DHBWX':_0x63f9d2(0x234),'bSVqa':function(_0x2a74b6){return _0x2a74b6();},'qSFoC':function(_0x139048,_0x39e978,_0x21f5fa){return _0x139048(_0x39e978,_0x21f5fa);},'LScKN':function(_0xed3a51,_0x252793){return _0xed3a51(_0x252793);},'LmfMb':_0x63f9d2(0x22e),'bnLjV':function(_0x3f552b,_0x5d95ce,_0x514034){return _0x3f552b(_0x5d95ce,_0x514034);},'lpjpF':_0x63f9d2(0x1eb),'caeqw':function(_0x572b68){return _0x572b68();},'TGEoB':function(_0x26bfb8,_0x2b5c8b,_0x1bf7b2,_0x1c5eb0){return _0x26bfb8(_0x2b5c8b,_0x1bf7b2,_0x1c5eb0);},'QhcEq':function(_0xc72763,_0x3db675){return _0xc72763===_0x3db675;},'ebedn':_0x63f9d2(0x1d9),'eODqO':_0x63f9d2(0x205),'YdEtd':_0x63f9d2(0x1df),'jmIdu':_0x63f9d2(0x221),'VArwa':function(_0x56bd25){return _0x56bd25();},'QdSrN':_0x63f9d2(0x1f8),'IqVRn':_0x63f9d2(0x292),'TvgGe':_0x63f9d2(0x23f),'jHlMY':_0x63f9d2(0x261),'knhcn':'step-comment','QGLbA':_0x63f9d2(0x26e),'EatsZ':_0x63f9d2(0x256),'NKrBk':_0x63f9d2(0x200)};_0x3ceacf[_0x63f9d2(0x2a8)]&&(global[_0x63f9d2(0x1e4)]=_0x3ceacf['skipSessionStatus']);PerformanceTester[_0x63f9d2(0x27b)]();const _0x4c57af=_0x1c44fa[_0x63f9d2(0x232)](getCodeceptDriver),_0x8f30e7=new O11yHelper(_0x4c57af,_0x3ceacf),_0x3b486a=!!CodeceptJS[_0x63f9d2(0x25d)][_0x63f9d2(0x20d)](_0x1c44fa['NKrBk']);global[_0x63f9d2(0x1dd)]=_0x4c57af,_0x4c57af&&(PerformanceTester[_0x63f9d2(0x1cc)](PerformanceEvents[_0x63f9d2(0x299)],()=>{const _0x5ef745=_0x63f9d2;_0x3b486a?_0x1c44fa[_0x5ef745(0x214)](patchPlaywrightBefore):_0x1c44fa[_0x5ef745(0x1ec)](patchWebDriverBefore,_0x4c57af);})(),PerformanceTester[_0x63f9d2(0x1cc)](PerformanceEvents[_0x63f9d2(0x1fd)],()=>{const _0x240a3d=_0x63f9d2,_0x2abe6c={};_0x2abe6c[_0x240a3d(0x212)]=_0x1c44fa[_0x240a3d(0x1d5)],_0x2abe6c[_0x240a3d(0x22a)]=_0x1c44fa['HtHMU'];const _0xff38e0=_0x2abe6c;_0x4c57af[_0x240a3d(0x1ee)]=async()=>{const _0x176d00=_0x240a3d;if(global[_0x176d00(0x27d)]){const _0x1d78e0={};_0x1d78e0[_0x176d00(0x278)]=_0x1c44fa[_0x176d00(0x289)],await PerformanceTester[_0x176d00(0x1cc)](PerformanceA11yEvents[_0x176d00(0x208)],async()=>{const _0x160339=_0x176d00;await AccessibilityHelper[_0x160339(0x1f4)](_0x4c57af,scripts[_0x160339(0x241)]);},_0x1d78e0)(),await PerformanceTester[_0x176d00(0x1cc)](PerformanceA11yEvents[_0x176d00(0x2a7)],async()=>{const _0x4577d4=_0x176d00;await AccessibilityHelper[_0x4577d4(0x1f4)](_0x4c57af,scripts['getResultsSummary']);})();}else return logger[_0x176d00(0x271)](_0x1c44fa[_0x176d00(0x217)]),{};},_0x4c57af[_0x240a3d(0x1f6)]=async()=>{const _0x29ee9a=_0x240a3d;if(global[_0x29ee9a(0x27d)]){const _0x37aca9={};_0x37aca9['command']=_0xff38e0[_0x29ee9a(0x212)],await PerformanceTester[_0x29ee9a(0x1cc)](PerformanceA11yEvents[_0x29ee9a(0x208)],async()=>{const _0xade748=_0x29ee9a;await AccessibilityHelper[_0xade748(0x1f4)](_0x4c57af,scripts['performScan']);},_0x37aca9)(),await PerformanceTester[_0x29ee9a(0x1cc)](PerformanceA11yEvents[_0x29ee9a(0x2a6)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x4c57af,scripts['getResults']);})();}else return logger[_0x29ee9a(0x271)](_0xff38e0[_0x29ee9a(0x22a)]),{};},_0x1c44fa[_0x240a3d(0x1ec)](patchSaveScreenshot,_0x4c57af);})()),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS[_0x63f9d2(0x24d)]['all'][_0x63f9d2(0x29e)],()=>{const _0x58df3a=_0x63f9d2;PerformanceTester[_0x58df3a(0x282)](PerformanceEvents[_0x58df3a(0x230)]);try{_0x8f30e7[_0x58df3a(0x282)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x58df3a(0x207)](PerformanceEvents[_0x58df3a(0x230)]);}catch(_0x4b4c4d){PerformanceTester[_0x58df3a(0x2a1)](_0x4b4c4d),PerformanceTester[_0x58df3a(0x207)](PerformanceEvents[_0x58df3a(0x230)],![],_0x4b4c4d);}}),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x260)][_0x63f9d2(0x1c8)],async()=>{const _0x46b2f8=_0x63f9d2;PerformanceTester['start'](PerformanceEvents[_0x46b2f8(0x279)]);try{requestSpy[_0x46b2f8(0x253)](),await _0x8f30e7[_0x46b2f8(0x249)](),PerformanceTester[_0x46b2f8(0x207)](PerformanceEvents[_0x46b2f8(0x279)]);}catch(_0xb778f0){PerformanceTester['captureError'](_0xb778f0),PerformanceTester['end'](PerformanceEvents[_0x46b2f8(0x279)],![],_0xb778f0);}finally{PerformanceTester[_0x46b2f8(0x236)]();}}),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS['event'][_0x63f9d2(0x1d8)][_0x63f9d2(0x28c)],_0x483181=>{const _0x5979b7=_0x63f9d2;PerformanceTester[_0x5979b7(0x282)](PerformanceEvents[_0x5979b7(0x229)]);try{const _0x350e45=_0x483181[_0x5979b7(0x1fb)][_0x5979b7(0x26a)],_0x4cc32d=_0x8f30e7[_0x5979b7(0x250)](TEST_EVENTS[_0x5979b7(0x270)],_0x350e45);CodeceptRecorder[_0x5979b7(0x27f)](()=>_0x8f30e7[_0x5979b7(0x21c)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x4cc32d));const _0x58574b={};_0x58574b['hookType']=_0x1c44fa['XqHQo'],PerformanceTester[_0x5979b7(0x207)](PerformanceEvents['SDK_HOOK'],!![],null,_0x58574b);}catch(_0x22f676){const _0x1d41ca={};_0x1d41ca['hookType']=_0x1c44fa[_0x5979b7(0x296)],PerformanceTester[_0x5979b7(0x207)](PerformanceEvents[_0x5979b7(0x229)],![],_0x22f676,_0x1d41ca),PerformanceTester[_0x5979b7(0x2a1)](_0x22f676);}}),CodeceptJS[_0x63f9d2(0x24d)]['dispatcher']['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1d8)][_0x63f9d2(0x220)],_0x23633e=>{const _0x1076f7=_0x63f9d2,_0x18a07f={};_0x18a07f['hookType']=_0x1c44fa[_0x1076f7(0x247)],PerformanceTester[_0x1076f7(0x282)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x18a07f);try{const _0x4d35df=_0x23633e[_0x1076f7(0x1fb)][_0x1076f7(0x26a)],_0x3f8495=_0x8f30e7[_0x1076f7(0x250)](TEST_EVENTS[_0x1076f7(0x218)],_0x4d35df);CodeceptRecorder['add'](()=>_0x8f30e7[_0x1076f7(0x21c)](TEST_EVENTS[_0x1076f7(0x218)],_0x3f8495));const _0x3eef65={};_0x3eef65[_0x1076f7(0x21b)]=_0x1c44fa[_0x1076f7(0x247)],PerformanceTester[_0x1076f7(0x207)](PerformanceHookEvents[_0x1076f7(0x229)],!![],null,_0x3eef65);}catch(_0x3b0e91){PerformanceTester[_0x1076f7(0x2a1)](_0x3b0e91);const _0x5781e1={};_0x5781e1['hookType']=_0x1c44fa['KoIcQ'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x3b0e91,_0x5781e1);}}),CodeceptJS['event'][_0x63f9d2(0x1cd)]['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1d8)][_0x63f9d2(0x1f2)],async(_0x28f55d,_0x164112)=>{const _0x39ec02=_0x63f9d2;PerformanceTester[_0x39ec02(0x282)](PerformanceHookEvents[_0x39ec02(0x229)]);try{const _0x88e290=_0x28f55d[_0x39ec02(0x1fb)]['test'],_0x201fde=_0x8f30e7[_0x39ec02(0x250)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x88e290,_0x164112);CodeceptRecorder[_0x39ec02(0x27f)](()=>_0x8f30e7['fireEvent'](TEST_EVENTS[_0x39ec02(0x218)],_0x201fde));const _0x3e8580={};_0x3e8580[_0x39ec02(0x21b)]=_0x1c44fa[_0x39ec02(0x28f)],PerformanceTester[_0x39ec02(0x282)](PerformanceHookEvents[_0x39ec02(0x229)],!![],null,_0x3e8580);}catch(_0xf797af){PerformanceTester[_0x39ec02(0x2a1)](_0xf797af);const _0x1dc8e8={};_0x1dc8e8[_0x39ec02(0x21b)]=_0x1c44fa['BhYfo'],PerformanceTester[_0x39ec02(0x207)](PerformanceHookEvents[_0x39ec02(0x229)],![],_0xf797af,_0x1dc8e8);}const _0x196f8d={};_0x196f8d[_0x39ec02(0x21b)]=_0x1c44fa['BhYfo'],PerformanceTester[_0x39ec02(0x207)](PerformanceHookEvents[_0x39ec02(0x229)],!![],null,_0x196f8d);}),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS['event'][_0x63f9d2(0x26a)][_0x63f9d2(0x29e)],_0x26bde7=>{const _0x1b6aef=_0x63f9d2;PerformanceTester[_0x1b6aef(0x282)](PerformanceHookEvents[_0x1b6aef(0x229)]);try{globals[_0x1b6aef(0x269)](_0x1c44fa[_0x1b6aef(0x295)],_0x26bde7[_0x1b6aef(0x225)]);_0x1c44fa[_0x1b6aef(0x268)](isBrowserstackInfra)&&(_0x3b486a&&(global[_0x1b6aef(0x1e6)]={'currentTest':{'name':_0x26bde7[_0x1b6aef(0x225)],'testInfo':{'titlePath':_0x26bde7[_0x1b6aef(0x23c)]()}}}));const _0x909fe0={};_0x909fe0[_0x1b6aef(0x21b)]=_0x1c44fa[_0x1b6aef(0x298)],PerformanceTester[_0x1b6aef(0x207)](PerformanceHookEvents[_0x1b6aef(0x229)],!![],null,_0x909fe0);}catch(_0x291c97){PerformanceTester[_0x1b6aef(0x2a1)](_0x291c97);const _0x584a9e={};_0x584a9e[_0x1b6aef(0x21b)]=_0x1c44fa['DHBWX'],PerformanceTester[_0x1b6aef(0x207)](PerformanceHookEvents[_0x1b6aef(0x229)],![],_0x291c97,_0x584a9e);}}),CodeceptJS[_0x63f9d2(0x24d)]['dispatcher']['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x26a)][_0x63f9d2(0x28c)],_0x3c7839=>{const _0x28a72=_0x63f9d2;PerformanceTester[_0x28a72(0x282)](PerformanceHookEvents[_0x28a72(0x229)]);try{globals[_0x28a72(0x269)](_0x1c44fa[_0x28a72(0x295)],_0x3c7839[_0x28a72(0x225)]);const _0x14bc95=_0x8f30e7['captureEvent'](TEST_EVENTS[_0x28a72(0x1e7)],_0x3c7839);CodeceptRecorder[_0x28a72(0x27f)](()=>_0x8f30e7['fireEvent'](TEST_EVENTS[_0x28a72(0x1e7)],_0x14bc95)),CodeceptRecorder[_0x28a72(0x27f)](async()=>{const _0x35ee28=_0x28a72;_0x1c44fa[_0x35ee28(0x232)](isBrowserstackInfra)&&(!_0x1c44fa[_0x35ee28(0x1ec)](isTrue,_0x3ceacf[_0x35ee28(0x227)])&&await _0x1c44fa['qSFoC'](markSessionName,_0x4c57af,_0x3c7839[_0x35ee28(0x225)]),_0x8f30e7[_0x35ee28(0x1ea)]&&await _0x1c44fa['LScKN'](o11ySync,_0x4c57af));});}catch(_0xd08dab){const _0x2a453b={};_0x2a453b['hookType']=_0x1c44fa['LmfMb'],PerformanceTester['end'](PerformanceHookEvents[_0x28a72(0x229)],![],_0xd08dab,_0x2a453b),PerformanceTester[_0x28a72(0x2a1)](_0xd08dab);}const _0x4174b6={};_0x4174b6['hookType']=_0x1c44fa[_0x28a72(0x257)],PerformanceTester['end'](PerformanceHookEvents[_0x28a72(0x229)],!![],null,_0x4174b6);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x26a)][_0x63f9d2(0x220)],_0x4d811d=>{const _0x2c1d06=_0x63f9d2,_0x314642={'JnVtI':function(_0x26c8cd,_0x30442b,_0x223789){const _0x58e004=a1_0x37e2;return _0x1c44fa[_0x58e004(0x21a)](_0x26c8cd,_0x30442b,_0x223789);},'mZCcP':function(_0x1cb236,_0x52c180,_0x8f0829){const _0x377e50=a1_0x37e2;return _0x1c44fa[_0x377e50(0x206)](_0x1cb236,_0x52c180,_0x8f0829);},'Hrwei':function(_0x1cdd3b){return _0x1c44fa['LhbTc'](_0x1cdd3b);}};PerformanceTester[_0x2c1d06(0x282)](PerformanceHookEvents[_0x2c1d06(0x229)]);try{const _0x580d91=_0x8f30e7[_0x2c1d06(0x250)](TEST_EVENTS[_0x2c1d06(0x29b)],_0x4d811d);CodeceptRecorder[_0x2c1d06(0x27f)](()=>_0x8f30e7['fireEvent'](TEST_EVENTS[_0x2c1d06(0x29b)],_0x580d91)),CodeceptRecorder[_0x2c1d06(0x27f)](async()=>{const _0x4c9f94=_0x2c1d06;_0x314642[_0x4c9f94(0x1ef)](isBrowserstackInfra)&&await PerformanceTester[_0x4c9f94(0x1cc)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2ef743=_0x4c9f94;_0x3b486a?await _0x314642[_0x2ef743(0x25f)](playwrightMarkSessionStatus,_0x4c57af,STATE_PASSED):await _0x314642[_0x2ef743(0x286)](markSessionStatus,_0x4c57af,STATE_PASSED);})();}),PerformanceTester[_0x2c1d06(0x207)](PerformanceEvents[_0x2c1d06(0x20c)]);}catch(_0x395410){PerformanceTester[_0x2c1d06(0x2a1)](_0x395410);const _0x8c328d={};_0x8c328d[_0x2c1d06(0x21b)]=_0x1c44fa['lpjpF'],PerformanceTester[_0x2c1d06(0x207)](PerformanceHookEvents[_0x2c1d06(0x229)],![],_0x395410,_0x8c328d),PerformanceTester[_0x2c1d06(0x207)](PerformanceEvents[_0x2c1d06(0x20c)],![],_0x395410);}const _0x2bb39c={};_0x2bb39c['hookType']=_0x1c44fa[_0x2c1d06(0x1de)],PerformanceTester[_0x2c1d06(0x207)](PerformanceHookEvents[_0x2c1d06(0x229)],!![],null,_0x2bb39c);}),CodeceptJS['event'][_0x63f9d2(0x1cd)]['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x26a)][_0x63f9d2(0x1f2)],(_0x1406b2,_0x283d66)=>{const _0x5ba9d9=_0x63f9d2;PerformanceTester[_0x5ba9d9(0x282)](PerformanceHookEvents[_0x5ba9d9(0x229)]);try{if(_0x1c44fa['QhcEq'](_0x1406b2[_0x5ba9d9(0x254)][_0x5ba9d9(0x1e8)],_0x1c44fa['ebedn'])){const _0x5ca18a=_0x8f30e7[_0x5ba9d9(0x250)](TEST_EVENTS[_0x5ba9d9(0x24f)],_0x1406b2['ctx'][_0x5ba9d9(0x294)]);CodeceptRecorder[_0x5ba9d9(0x27f)](()=>_0x8f30e7[_0x5ba9d9(0x21c)](TEST_EVENTS[_0x5ba9d9(0x24f)],_0x5ca18a));}else{const _0x46304a=_0x8f30e7['captureEvent'](TEST_EVENTS[_0x5ba9d9(0x29b)],_0x1406b2,_0x283d66);CodeceptRecorder[_0x5ba9d9(0x27f)](()=>{const _0x7d6e3a=_0x5ba9d9;try{_0x8f30e7['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x46304a);}catch(_0x12ee01){logger[_0x7d6e3a(0x1e1)](_0x7d6e3a(0x1d6)+util[_0x7d6e3a(0x276)](_0x12ee01)),PerformanceTester[_0x7d6e3a(0x207)](PerformanceEvents['SDK_TEST'],![],_0x12ee01);}}),CodeceptRecorder[_0x5ba9d9(0x27f)](async()=>{const _0x4b8696=_0x5ba9d9;try{_0x1c44fa['caeqw'](isBrowserstackInfra)&&(_0x3b486a?await _0x1c44fa['TGEoB'](playwrightMarkSessionStatus,_0x4c57af,STATE_FAILED,_0x283d66):await _0x1c44fa[_0x4b8696(0x1ca)](markSessionStatus,_0x4c57af,STATE_FAILED,_0x283d66));}catch(_0x20a305){logger['debug']('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x4b8696(0x276)](_0x20a305)),PerformanceTester[_0x4b8696(0x207)](PerformanceEvents[_0x4b8696(0x20c)],![],_0x20a305);}});}PerformanceTester[_0x5ba9d9(0x207)](PerformanceEvents[_0x5ba9d9(0x20c)]);}catch(_0x348203){PerformanceTester[_0x5ba9d9(0x2a1)](_0x348203);const _0x537f0b={};_0x537f0b[_0x5ba9d9(0x21b)]=_0x1c44fa[_0x5ba9d9(0x1d7)],PerformanceTester[_0x5ba9d9(0x207)](PerformanceHookEvents['SDK_HOOK'],![],_0x348203,_0x537f0b),PerformanceTester[_0x5ba9d9(0x207)](PerformanceEvents[_0x5ba9d9(0x20c)],![],_0x348203);}const _0x2d791d={};_0x2d791d[_0x5ba9d9(0x21b)]=_0x1c44fa['eODqO'],PerformanceTester['end'](PerformanceHookEvents[_0x5ba9d9(0x229)],!![],null,_0x2d791d);}),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS['event'][_0x63f9d2(0x26a)][_0x63f9d2(0x1c6)],_0x110e0e=>{const _0x3e7d2a=_0x63f9d2;PerformanceTester['start'](PerformanceHookEvents[_0x3e7d2a(0x229)]);try{const _0xc054d7=_0x8f30e7[_0x3e7d2a(0x250)](TEST_EVENTS[_0x3e7d2a(0x24f)],_0x110e0e);CodeceptRecorder['add'](()=>_0x8f30e7[_0x3e7d2a(0x21c)](TEST_EVENTS[_0x3e7d2a(0x24f)],_0xc054d7)),PerformanceTester[_0x3e7d2a(0x207)](PerformanceEvents[_0x3e7d2a(0x20c)]);}catch(_0x294d53){PerformanceTester[_0x3e7d2a(0x2a1)](_0x294d53),PerformanceTester[_0x3e7d2a(0x207)](PerformanceEvents[_0x3e7d2a(0x20c)],![],_0x294d53);const _0x4ba0a5={};_0x4ba0a5['hookType']=_0x1c44fa[_0x3e7d2a(0x27e)],PerformanceTester[_0x3e7d2a(0x207)](PerformanceHookEvents[_0x3e7d2a(0x229)],![],_0x294d53,_0x4ba0a5);}const _0x43c80f={};_0x43c80f[_0x3e7d2a(0x21b)]=_0x1c44fa[_0x3e7d2a(0x27e)],PerformanceTester[_0x3e7d2a(0x207)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x43c80f);}),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS['event'][_0x63f9d2(0x26a)][_0x63f9d2(0x1c8)],async(_0x1d8d09,_0xbf2c41)=>{const _0x8b79ca=_0x63f9d2,_0x4931ab={};_0x4931ab[_0x8b79ca(0x24b)]=_0x1c44fa[_0x8b79ca(0x1e0)];const _0x113610=_0x4931ab;try{PerformanceTester['start'](PerformanceHookEvents[_0x8b79ca(0x229)]);if(_0x1c44fa[_0x8b79ca(0x1ed)](isBrowserstackInfra)){const _0x4adf7d=_0x1c44fa[_0x8b79ca(0x206)](shouldScanTestForAccessibility,_0x1d8d09[_0x8b79ca(0x23c)](),!![]);if(_0x1c44fa[_0x8b79ca(0x25b)](isAccessibilityAutomationSession)&&global[_0x8b79ca(0x27d)]&&_0x4adf7d){const _0x757b2c={};_0x757b2c[_0x8b79ca(0x23b)]=_0x1d8d09[_0x8b79ca(0x1ce)],_0x757b2c[_0x8b79ca(0x275)]=process[_0x8b79ca(0x21f)][testHubConstants[_0x8b79ca(0x23d)][_0x8b79ca(0x267)]],_0x757b2c[_0x8b79ca(0x25c)]=process[_0x8b79ca(0x21f)][testHubConstants[_0x8b79ca(0x23d)][_0x8b79ca(0x20b)]];const _0x581424=_0x757b2c;logger[_0x8b79ca(0x1e1)](_0x8b79ca(0x25e)+JSON[_0x8b79ca(0x209)](_0x581424)),CodeceptRecorder['add'](async()=>{const _0x23e7c3=_0x8b79ca,_0xb0e7c7={};_0xb0e7c7['command']=_0x113610[_0x23e7c3(0x24b)],await PerformanceTester[_0x23e7c3(0x1cc)](PerformanceA11yEvents[_0x23e7c3(0x208)],async()=>{const _0x3ce3dd=_0x23e7c3;await AccessibilityHelper[_0x3ce3dd(0x1f4)](_0x4c57af,scripts[_0x3ce3dd(0x241)]);},_0xb0e7c7)(),await PerformanceTester[_0x23e7c3(0x1cc)](PerformanceA11yEvents[_0x23e7c3(0x281)],async()=>{const _0x5c7621=_0x23e7c3;await AccessibilityHelper[_0x5c7621(0x1f4)](_0x4c57af,scripts[_0x5c7621(0x26b)],_0x581424);})();}),logger[_0x8b79ca(0x228)](_0x1c44fa[_0x8b79ca(0x29f)]);}}const _0x83fb48={};_0x83fb48[_0x8b79ca(0x21b)]=_0x1c44fa['IqVRn'],PerformanceTester[_0x8b79ca(0x207)](PerformanceHookEvents[_0x8b79ca(0x229)],!![],null,_0x83fb48);}catch(_0x4fb99f){PerformanceTester[_0x8b79ca(0x2a1)](_0x4fb99f);const _0x53a3fb={};_0x53a3fb[_0x8b79ca(0x21b)]=_0x1c44fa[_0x8b79ca(0x216)],PerformanceTester['end'](PerformanceHookEvents[_0x8b79ca(0x229)],![],_0x4fb99f,_0x53a3fb);}}),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS['event']['step']['comment'],_0x16f5c2=>{const _0x55eec7=_0x63f9d2;PerformanceTester[_0x55eec7(0x282)](PerformanceHookEvents[_0x55eec7(0x229)]);try{process[_0x55eec7(0x1d3)](_0x55eec7(0x264)+process[_0x55eec7(0x1f7)],{'timestamp':new Date()[_0x55eec7(0x290)](),'level':_0x1c44fa[_0x55eec7(0x201)],'message':_0x16f5c2,'kind':_0x1c44fa[_0x55eec7(0x1e9)],'http_response':{}});}catch(_0x4e2855){PerformanceTester[_0x55eec7(0x2a1)](_0x4e2855);const _0x415ef7={};_0x415ef7[_0x55eec7(0x21b)]=_0x1c44fa[_0x55eec7(0x285)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x4e2855,_0x415ef7);}const _0x19ee88={};_0x19ee88[_0x55eec7(0x21b)]=_0x1c44fa[_0x55eec7(0x285)],PerformanceTester[_0x55eec7(0x207)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x19ee88);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x259)]['before'],_0x19329a=>{const _0x4101b8=_0x63f9d2,_0x398463={};_0x398463['hookType']=_0x1c44fa[_0x4101b8(0x273)],PerformanceTester[_0x4101b8(0x1cc)](PerformanceHookEvents[_0x4101b8(0x229)],()=>{_0x8f30e7['bddStepStart'](_0x19329a);},_0x398463)();}),CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x1cd)]['on'](CodeceptJS[_0x63f9d2(0x24d)][_0x63f9d2(0x259)][_0x63f9d2(0x1c8)],_0x253ed9=>{const _0x5332b3=_0x63f9d2,_0x4a9f13={};_0x4a9f13[_0x5332b3(0x21b)]=_0x1c44fa[_0x5332b3(0x25a)],PerformanceTester[_0x5332b3(0x1cc)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x3b1116=_0x5332b3;_0x8f30e7[_0x3b1116(0x20f)](_0x253ed9);},_0x4a9f13)();});};function a1_0x37e2(_0x17c9c3,_0x42c929){const _0x353c89=a1_0x353c();return a1_0x37e2=function(_0x37e22b,_0x3ca2ab){_0x37e22b=_0x37e22b-0x1c4;let _0x26eb6d=_0x353c89[_0x37e22b];return _0x26eb6d;},a1_0x37e2(_0x17c9c3,_0x42c929);}function a1_0x353c(){const _0x57eb50=['izEga','failed','patchSaveScreenshot','browserStackExecuteDriver','1583232jlMyMx','getAccessibilityResults','pid','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','browser','2777940iRfBtB','ctx','overwriteCommand','SDK_POST_INITIALIZE','5821398FmfPuY','initSaveScreenshot','Playwright','TvgGe','hook-started','../../helpers/testhub/constants.js','njcCh','test-failed','bnLjV','end','PERFORM_SCAN','stringify','cmRft','BROWSERSTACK_TESTHUB_JWT','SDK_TEST','helpers','then','bddStepFinish','codeceptjs','setSessionStatus','KnrHe','hook-passed','eCwJK','saveScreenshot','IqVRn','wzopa','HOOK_RUN_FINISHED','forEach','qSFoC','hookType','fireEvent','8GulpSO','_before','env','passed','afterTest','Performing\x20scan\x20for\x20','335LhkdnU','./helper.js','title','contexts','skipSessionName','info','SDK_HOOK','SujOy','../../helpers/helper','mMMMx','eBOVk','test-started','RWlUR','SDK_PRE_TEST','TjkNr','bSVqa','status','test-before','Element','stopMonitoring','xgEdB','Puppeteer','shouldWrapCommand','../../bin/playwright/sessionDetails','thTestRunUuid','titlePath','ENV_VAR','HOiBH','INFO','reason','performScan','28CKlNjI','slice','BS_TESTOPS_ALLOW_SCREENSHOTS','readFileSync','./o11yHelper','KoIcQ','ikvPd','stop','FMQFO','QFoXx','../../helpers/performance/constants','event','codeceptjs/lib/helper/Playwright.js','TEST_RUN_SKIPPED','captureEvent','khCmZ','ukVTk','restore','constructor','toString','bddStep-after','LmfMb','codeceptjs/lib/utils.js','bddStep','EatsZ','caeqw','thJwtToken','container','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','JnVtI','all','TEST_LOG','getSyncScript','bYgWV','bs:addLog:','bstackAllyScanning','commandsToWrap','BROWSERSTACK_TESTHUB_UUID','LhbTc','setGlobal','test','saveTestResults','browserstack_executor:\x20','sDHZV','bddStep-before','DcBtC','HOOK_RUN_STARTED','warn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','QGLbA','MMtfo','thBuildUuid','format','../../helpers/performance/performance-tester','command','SDK_POST_TEST','lWwVW','startMonitoring','executeScript','accessibilityPlatform','YdEtd','add','codeceptjs/lib/helper/WebDriver.js','SAVE_RESULTS','start','../../helpers/test-observability/utils','spdiI','knhcn','mZCcP','arguments','TGQuO','BJYvK','jajms','catch','started','Failed\x20to\x20execute\x20_before:\x20','../../helpers/globals.js','BhYfo','toISOString','prototype','test-after','winstonLogger','currentTest','JzxGs','XqHQo','SYNC','DHBWX','SDK_PRE_INITIALIZE','codeceptjs/lib/recorder.js','TEST_RUN_FINISHED','class','mFapw','before','QdSrN','browserstackTestName','captureError','../../bin/playwright/accessibility-helper','buhvR','1755272DjaUBP','SESSION_NAME','GET_RESULTS','GET_RESULTS_SUMMARY','skipSessionStatus','31637yfuqIo','codeceptjs/lib/index.js','skipped','EGndN','after','call','TGEoB','action','measureWrapper','dispatcher','testAnalyticsId','zpgAb','exports','URPQH','UtVhJ','emit','filter','oSixC','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','eODqO','hook','Suite','apply','rqxEX','4128wHpecW','__driver','lpjpF','test-skipped','jmIdu','debug','../../helpers/request-spy','1715413drxNdu','__skipSessionStatus','../../helpers/accessibility-automation/scripts','__workerDetails','TEST_RUN_STARTED','name','jHlMY','enabled','test-passed','eILcc','VArwa','getAccessibilityResultsSummary','Hrwei','NpzSh'];a1_0x353c=function(){return _0x57eb50;};return a1_0x353c();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a2_0x31a4(){const _0x334168=['enabled','chrome','desiredCapabilities','EVENTS','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','browser','getUserWorkerCount','FRAMEWORKS','BRuCg','validPlatformsPresent','accessibilityOptions','Failed\x20:\x20','profile','failed','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS','Rliwu','codeceptjs','printBuildLink','testConfig','BrowserStackPlugin.js','info','BROWSERSTACK_TEST_ACCESSIBILITY_YML','YYxqu','RIWEI','USER_CONFIG_DETAILS_PATH','mergeDeep','KfMZO','MbVxm','LNMfr','wJMuL','Playwright','browserName','80NQzgtj','isUndefined','parallelsPerPlatform','existsSync','err','useW3C','SgJKA','SDK_SETUP','env','Started\x20:\x20','dirname','path','start','15ebsgzJ','PghEF','testObservability','length','Cnwmb','debug','34tXsRSi','Mcnia','split','setAdditionalCapabilities','codecept.conf.js','vupVA','addTests','KAtcd','isEmpty','stringify','before','exports','SiJmF','../../helpers/testhub/testhubHandler','frameworkName','259263EpdGAb','Acafy','run','ymLsU','228PLGMqx','trim','BrowserStackPlugin','lBLIs','../../helpers/logger','process','playwright-webkit','78346auSvbF','gFynq','browserStackCwd','stop','../../helpers/performance/performance-tester','push','errorMessage','testContextOptions','4144826KZRiaK','BROWSERSTACK_RERUN','11123260VIUgFr','stxKa','YRgKI','isTestObservabilitySession','prepareCapabilities','toLowerCase','../../helpers/helper','playwright-chromium','getPlatformName','rDXRh','helpers','264944wIVyVP','CODECEPT','event','accessibility','codeceptjs/lib/index.js','slice','passed','log','../../helpers/BrowserStackSetup','initialize','skipSessionStatus','--config','jLPPj','util','playwright-firefox','browserWSEndpoint','../../helpers/test-observability/utils','wBCie','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','join','chromium','finalExecution','findIndex','kgdXZ','platforms','createGroupsOfSuites','gherkin','launchBuild','stack','rkxYy','6pNLwbF','GDWUb','getPlaywrightUrl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','WebDriver','require','cwd','chdir','isTrue','config','89375IOGUOH','title','root','test','addOptions','printResults','3604835acvHjN','handleApp'];a2_0x31a4=function(){return _0x334168;};return a2_0x31a4();}const a2_0x67f3af=a2_0x10f3;(function(_0x3e11dc,_0x27c807){const _0x2102fa=a2_0x10f3,_0x5b2381=_0x3e11dc();while(!![]){try{const _0x1afe68=parseInt(_0x2102fa(0xc9))/0x1*(-parseInt(_0x2102fa(0xaf))/0x2)+-parseInt(_0x2102fa(0xa9))/0x3*(-parseInt(_0x2102fa(0xde))/0x4)+parseInt(_0x2102fa(0x10c))/0x5+-parseInt(_0x2102fa(0xfc))/0x6*(parseInt(_0x2102fa(0xd1))/0x7)+-parseInt(_0x2102fa(0x9c))/0x8*(-parseInt(_0x2102fa(0xbe))/0x9)+parseInt(_0x2102fa(0xd3))/0xa+-parseInt(_0x2102fa(0x106))/0xb*(-parseInt(_0x2102fa(0xc2))/0xc);if(_0x1afe68===_0x27c807)break;else _0x5b2381['push'](_0x5b2381['shift']());}catch(_0x37b35a){_0x5b2381['push'](_0x5b2381['shift']());}}}(a2_0x31a4,0xa6ba6));const fs=require('fs'),path=require(a2_0x67f3af(0xa7)),util=require(a2_0x67f3af(0xeb)),process=require(a2_0x67f3af(0xc7)),logger=require(a2_0x67f3af(0xc6))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x67f3af(0xe6)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x67f3af(0x11d)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x67f3af(0xd9)),CodeceptJS=requireModule(a2_0x67f3af(0xe2),a2_0x67f3af(0x120)),testOpsHelper=require(a2_0x67f3af(0xee)),TestHubHandler=require(a2_0x67f3af(0xbc)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x67f3af(0xcd)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x67f3af(0x112))[a2_0x67f3af(0x111)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2e63f3,_0x2e13e5)=>{const _0x3314ea=a2_0x67f3af,_0x31bf0a={};_0x31bf0a[_0x3314ea(0xb0)]=function(_0x2da681,_0x155e08){return _0x2da681===_0x155e08;},_0x31bf0a['wJMuL']=_0x3314ea(0xb3),_0x31bf0a['YYxqu']='codecept.json';const _0x120f1c=_0x31bf0a;let _0x43c6f1=null;const _0x396b6b={};let _0x591455=_0x2e13e5[_0x3314ea(0xf4)](_0x39ea23=>_0x39ea23===_0x3314ea(0xe9));_0x120f1c['Mcnia'](_0x591455,-0x1)&&(_0x591455=_0x2e13e5['findIndex'](_0x2073ef=>_0x2073ef==='-c'));if(!helper[_0x3314ea(0x9d)](_0x2e63f3[_0x3314ea(0x105)])&&fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x2e63f3[_0x3314ea(0x105)])))_0x43c6f1=path['join'](process[_0x3314ea(0x102)](),_0x2e63f3[_0x3314ea(0x105)]),_0x2e13e5[_0x3314ea(0xe3)](_0x591455,0x2);else{if(!helper[_0x3314ea(0x9d)](_0x2e63f3['c'])&&fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process['cwd'](),_0x2e63f3['c'])))_0x43c6f1=path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x2e63f3['c']),_0x2e13e5['slice'](_0x591455,0x2);else{if(fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process['cwd'](),_0x120f1c[_0x3314ea(0x99)])))_0x43c6f1=path[_0x3314ea(0xf1)](process['cwd'](),_0x120f1c['wJMuL']);else fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x120f1c[_0x3314ea(0x92)]))&&(_0x43c6f1=path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x120f1c[_0x3314ea(0x92)]));}}return process[_0x3314ea(0xa4)][_0x3314ea(0x94)]=_0x43c6f1,_0x43c6f1;},getO11yRerunPattern=()=>{const _0x55c368=a2_0x67f3af,_0x10aba6=helper[_0x55c368(0x104)](process[_0x55c368(0xa4)][_0x55c368(0xd2)]);if(_0x10aba6){const _0x237381=process[_0x55c368(0xa4)][_0x55c368(0x11e)],_0x59bc10=[];if(helper['validateRerunTestList'](_0x237381)&&!helper[_0x55c368(0x9d)](_0x237381)){_0x237381[_0x55c368(0xb1)](',')['map'](_0x10761c=>{const _0x10e76c=_0x55c368;_0x59bc10[_0x10e76c(0xce)]('('+_0x10761c[_0x10e76c(0xc3)]()+')');});const _0x39f3b5='^'+_0x59bc10[_0x55c368(0xf1)]('|')+'$';return _0x39f3b5;}}return null;},a2_0x4db81d={};a2_0x4db81d[a2_0x67f3af(0x10f)]='chromium',a2_0x4db81d[a2_0x67f3af(0xda)]=a2_0x67f3af(0xf2),a2_0x4db81d[a2_0x67f3af(0xec)]='firefox',a2_0x4db81d[a2_0x67f3af(0xc8)]='webkit';function a2_0x10f3(_0x2bdd4e,_0x243472){const _0x31a4e3=a2_0x31a4();return a2_0x10f3=function(_0x10f3ec,_0x495356){_0x10f3ec=_0x10f3ec-0x8e;let _0x556c16=_0x31a4e3[_0x10f3ec];return _0x556c16;},a2_0x10f3(_0x2bdd4e,_0x243472);}const pwToCodeceptBrowser=a2_0x4db81d;async function run(_0x43f500,_0x3be02c){const _0x2933e2=a2_0x67f3af,_0x40ce7c={'Rliwu':function(_0x20ed0c,_0x51a1f4){return _0x20ed0c+_0x51a1f4;},'jLPPj':function(_0x53685c,_0x411676){return _0x53685c(_0x411676);},'KAtcd':function(_0x458da3,_0x45b54f){return _0x458da3+_0x45b54f;},'ymLsU':function(_0x42bae1,_0x43281d,_0x2770d0){return _0x42bae1(_0x43281d,_0x2770d0);},'Cnwmb':_0x2933e2(0xdd),'Acafy':function(_0x53b430){return _0x53b430();},'gKIBz':function(_0x9713f){return _0x9713f();},'VyjUP':_0x2933e2(0x11a),'odayY':'Passed\x20:\x20','LNMfr':_0x2933e2(0xa5),'MbVxm':'4|3|1|5|0|2','slKAo':_0x2933e2(0x120),'gFynq':function(_0x32c164,_0x568df2,_0xd8ee45){return _0x32c164(_0x568df2,_0xd8ee45);},'TTNMS':_0x2933e2(0xf0),'YRgKI':_0x2933e2(0x9a),'GOEoF':_0x2933e2(0x100),'wBCie':function(_0xa44fbd,_0x1c8def){return _0xa44fbd(_0x1c8def);},'BRuCg':function(_0x5689c0,_0x5ebabf){return _0x5689c0!=_0x5ebabf;},'HFVhf':function(_0x2aafe4,_0x2e51c7){return _0x2aafe4===_0x2e51c7;},'rZQjv':_0x2933e2(0xf8),'rDXRh':function(_0x21e2f0,_0x1a19f2){return _0x21e2f0(_0x1a19f2);},'kgdXZ':function(_0xba07d5){return _0xba07d5();},'PghEF':function(_0x44e4d6,_0x4a1483){return _0x44e4d6*_0x4a1483;},'SiJmF':function(_0x5ecc00,_0x4c9c13,_0x188a2c){return _0x5ecc00(_0x4c9c13,_0x188a2c);},'vupVA':_0x2933e2(0x114),'SgJKA':'desiredCapabilities','GDWUb':function(_0x2a5714,_0x43c49c,_0x40e30f){return _0x2a5714(_0x43c49c,_0x40e30f);},'RIWEI':_0x2933e2(0x108),'stxKa':_0x2933e2(0x8f),'rkxYy':_0x2933e2(0xcb)},_0x4d4dbc=new BrowserStackSetup(_0x43f500,_0x40ce7c['slKAo']);await _0x4d4dbc[_0x2933e2(0xe7)](),await helper[_0x2933e2(0x10d)](_0x4d4dbc[_0x2933e2(0x105)]);if(!_0x4d4dbc[_0x2933e2(0x105)])return;process[_0x2933e2(0x11b)]=_0x43f500[_0x2933e2(0x11b)];_0x43f500[_0x2933e2(0x11b)]&&(process[_0x2933e2(0xa4)][_0x2933e2(0x11b)]=_0x43f500['profile']);const _0xb489f8=_0x40ce7c[_0x2933e2(0xca)](getUserCodeceptJSConfigs,_0x43f500,_0x3be02c);let _0x5499e3={};_0xb489f8?(logger[_0x2933e2(0x90)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0xb489f8),_0x5499e3=CodeceptJS['config']['load'](_0xb489f8)):logger[_0x2933e2(0x90)](_0x40ce7c['TTNMS']);let _0x4491c5=![];_0x40ce7c[_0x2933e2(0xca)](nestedKeyValue,_0x5499e3,[_0x40ce7c['Cnwmb'],_0x40ce7c[_0x2933e2(0xd5)]])&&(_0x4491c5=!![]);const _0x3ebe1c=_0x4491c5?_0x40ce7c[_0x2933e2(0xd5)]:_0x40ce7c['GOEoF'];let _0x19ea24=!_0x4491c5?helper[_0x2933e2(0xa1)](_0x4d4dbc[_0x2933e2(0x105)]):![];!helper[_0x2933e2(0x9d)](_0x4d4dbc[_0x2933e2(0x105)][_0x2933e2(0x119)])&&(process['env'][_0x2933e2(0xff)]=JSON[_0x2933e2(0xb8)](_0x4d4dbc['config'][_0x2933e2(0x119)]));let _0x1d6ec6=_0x4d4dbc['config'][_0x2933e2(0xe1)];_0x1d6ec6=_0x1d6ec6||_0x40ce7c[_0x2933e2(0xef)](checkAccessibilityPlatformConfig,_0x4d4dbc[_0x2933e2(0x105)]),process[_0x2933e2(0xa4)][_0x2933e2(0x91)]=_0x1d6ec6;_0x1d6ec6&&(_0x19ea24=!_0x1d6ec6);_0x40ce7c[_0x2933e2(0x117)](_0x4d4dbc[_0x2933e2(0x105)]['testObservability'],null)?process[_0x2933e2(0xa4)][_0x2933e2(0x113)]=_0x4d4dbc['config'][_0x2933e2(0xab)]:process[_0x2933e2(0xa4)][_0x2933e2(0x113)]=_0x40ce7c['HFVhf'](_0x3ebe1c,_0x40ce7c[_0x2933e2(0xd5)]);const _0x419c8a=_0x40ce7c[_0x2933e2(0xca)](nestedKeyValue,_0x5499e3,[_0x40ce7c['rZQjv']]),_0x1121f8=_0x419c8a&&!helper[_0x2933e2(0xb7)](_0x419c8a)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x3230a1=await TestHubHandler[_0x2933e2(0xf9)](_0x1121f8,_0x4d4dbc);_0x1d6ec6&&_0x40ce7c[_0x2933e2(0xdc)](setAccessibilityCapabilities,_0x4d4dbc['config']);const _0x38be74={},_0x37ff68=[],_0x1a2f2c=_0x4d4dbc[_0x2933e2(0x105)][_0x2933e2(0x9e)]||helper[_0x2933e2(0x115)](_0x43f500,_0x3be02c,_0x4d4dbc[_0x2933e2(0x105)],constants[_0x2933e2(0x116)][_0x2933e2(0xdf)])||0x1;let _0x84e122=0x1;if(_0x40ce7c[_0x2933e2(0xf5)](isBrowserstackInfra)){const _0x179edc=helper['prepareCapabilities'](_0x4d4dbc['config'],_0x19ea24,constants[_0x2933e2(0x116)][_0x2933e2(0xdf)]);_0x179edc['forEach'](_0x3fd643=>{const _0x1f783c=_0x2933e2;helper[_0x1f783c(0xb2)](_0x3fd643);}),helper[_0x2933e2(0x118)](_0x4d4dbc[_0x2933e2(0x105)])?_0x84e122=_0x40ce7c[_0x2933e2(0xaa)](_0x1a2f2c,_0x4d4dbc[_0x2933e2(0x105)][_0x2933e2(0xf6)][_0x2933e2(0xac)]):_0x84e122=_0x1a2f2c,_0x179edc['forEach'](_0x2feed0=>{const _0x2cb8d4=_0x2933e2,_0x398a83={'KfMZO':function(_0x430816,_0x378896){const _0x42cf77=a2_0x10f3;return _0x40ce7c[_0x42cf77(0x11f)](_0x430816,_0x378896);},'lBLIs':function(_0x397c2c,_0x5ad589){const _0x2f670c=a2_0x10f3;return _0x40ce7c[_0x2f670c(0xea)](_0x397c2c,_0x5ad589);}},_0x5e1cb4=_0x40ce7c[_0x2cb8d4(0xb6)](helper[_0x2cb8d4(0xdb)](_0x2feed0,'_'),'_'+Date['now']()),_0x4a172e=((()=>{const _0x1c343f=_0x2cb8d4;if(_0x4491c5){const _0x4aa600=pwToCodeceptBrowser[_0x2feed0[_0x1c343f(0x9b)]]||_0x2feed0[_0x1c343f(0x9b)];return{'browser':_0x4aa600,[_0x4aa600]:{'browserWSEndpoint':_0x398a83[_0x1c343f(0x96)](helper[_0x1c343f(0xfe)](_0x4d4dbc[_0x1c343f(0x105)]),_0x398a83[_0x1c343f(0xc5)](encodeURIComponent,JSON[_0x1c343f(0xb8)](_0x2feed0)))}};}const _0x8bc14d={};return _0x8bc14d[_0x1c343f(0x110)]=_0x2feed0,_0x8bc14d;})()),_0x4eb711=_0x40ce7c[_0x2cb8d4(0xc1)](nestedKeyValue,_0x5499e3,[_0x40ce7c['Cnwmb'],_0x3ebe1c]);_0x38be74[_0x5e1cb4]=_0x4eb711?helper[_0x2cb8d4(0x95)](_0x4a172e,_0x4eb711):_0x4a172e,!_0x4491c5&&(_0x38be74[_0x5e1cb4][_0x2cb8d4(0x114)]=_0x2feed0[_0x2cb8d4(0x9b)]||_0x4a172e[_0x2cb8d4(0x114)]),_0x37ff68[_0x2cb8d4(0xce)](_0x5e1cb4);});}else{_0x84e122=0x1;if(_0x4491c5){const _0x440254=_0x40ce7c[_0x2933e2(0xbb)](nestedKeyValue,_0x5499e3,[_0x40ce7c[_0x2933e2(0xad)],_0x3ebe1c,_0x40ce7c[_0x2933e2(0xb4)]]),_0x25a831=_0x40ce7c[_0x2933e2(0xca)](nestedKeyValue,_0x5499e3,[_0x40ce7c[_0x2933e2(0xad)],_0x3ebe1c,_0x440254]);_0x25a831&&_0x25a831['browserWSEndpoint']&&(_0x25a831[_0x2933e2(0xed)]=helper[_0x2933e2(0xd7)](null,null,_0x1121f8[_0x2933e2(0xd8)](),null,null,_0x25a831[_0x2933e2(0xed)]));}else _0x5499e3[_0x40ce7c[_0x2933e2(0xad)]][_0x3ebe1c][_0x40ce7c[_0x2933e2(0xa2)]]=helper[_0x2933e2(0xd7)](null,null,_0x1121f8[_0x2933e2(0xd8)](),_0x40ce7c[_0x2933e2(0xfd)](nestedKeyValue,_0x5499e3,[_0x40ce7c[_0x2933e2(0xad)],_0x3ebe1c,_0x40ce7c[_0x2933e2(0xa2)]]),null,null);_0x38be74[_0x40ce7c[_0x2933e2(0x93)]]=_0x5499e3,_0x37ff68[_0x2933e2(0xce)](_0x40ce7c[_0x2933e2(0x93)]);}const _0x2f301b={};_0x2f301b[_0x2933e2(0x8e)]=_0xb489f8;const _0x3a5df9=_0x2f301b,_0x30c023=path[_0x2933e2(0xf1)](__dirname,_0x40ce7c[_0x2933e2(0xd4)]),_0x16bfff=process[_0x2933e2(0x102)]();process['env'][_0x40ce7c[_0x2933e2(0xfb)]]=_0x16bfff,process[_0x2933e2(0x103)](path[_0x2933e2(0xa6)](_0xb489f8));const _0x322d15=new CodeceptJS['Workers'](null,_0x3a5df9),_0x1c0ed6=_0x322d15[_0x2933e2(0xf7)](_0x84e122),_0x45273c=testOpsHelper[_0x2933e2(0xd6)](),_0x4323c0=_0x37ff68['map'](_0x199741=>{const _0x43ffc9=_0x2933e2,_0x308f22={};_0x308f22[_0x43ffc9(0x9a)]=_0x38be74[_0x199741];const _0x360d3a={};_0x360d3a[_0x43ffc9(0x100)]=_0x38be74[_0x199741];const _0x1249e2=_0x4491c5?_0x308f22:_0x360d3a,_0xb325a5=_0x40ce7c[_0x43ffc9(0xbf)](getO11yRerunPattern),_0x3cbc49={};_0x3cbc49[_0x43ffc9(0xdd)]=_0x1249e2;const _0x52a816={};_0x52a816[_0x43ffc9(0x101)]=_0x30c023,_0x52a816[_0x43ffc9(0x10e)]=!![],_0x52a816['skipSessionName']=_0x4d4dbc[_0x43ffc9(0x105)][_0x43ffc9(0xd0)]['skipSessionName'],_0x52a816[_0x43ffc9(0xe8)]=_0x4d4dbc[_0x43ffc9(0x105)][_0x43ffc9(0xd0)]['skipSessionStatus'],_0x52a816['testObservability']=_0x45273c,_0x52a816[_0x43ffc9(0xbd)]=_0x1121f8;const _0x3ba0fc={};_0x3ba0fc[_0x43ffc9(0xc4)]=_0x52a816;const _0x3ea209={};return _0x3ea209['plugins']=_0x3ba0fc,helper[_0x43ffc9(0x95)]({},_0x5499e3,_0x40ce7c['gKIBz'](isBrowserstackInfra)?_0x3cbc49:{},_0xb325a5?{'grep':_0xb325a5}:{},_0x3ea209);});for(const _0x544f32 of _0x4323c0){for(const _0x316784 of _0x1c0ed6){const _0x107ee9=_0x322d15['spawn']();_0x107ee9[_0x2933e2(0xb5)](_0x316784),_0x107ee9['addConfig'](_0x544f32);const _0x380fbf={};_0x380fbf[_0x2933e2(0x105)]=_0xb489f8,_0x107ee9[_0x2933e2(0x10a)](_0x380fbf);}}_0x322d15['on'](CodeceptJS['event'][_0x2933e2(0x109)][_0x2933e2(0x11c)],(_0x2e9a06,_0x16ab90)=>{const _0x30dc11=_0x2933e2;console[_0x30dc11(0xe5)](_0x40ce7c['VyjUP'],_0x2e9a06[_0x30dc11(0x107)]);const _0x25f955={[_0x2e9a06[_0x30dc11(0x107)]]:_0x2e9a06[_0x30dc11(0xa0)][_0x30dc11(0xfa)]};_testErrorData[_0x30dc11(0xce)](_0x25f955);}),_0x322d15['on'](CodeceptJS[_0x2933e2(0xe0)][_0x2933e2(0x109)][_0x2933e2(0xe4)],async _0x459a6d=>{const _0x3f7207=_0x2933e2;console['log'](_0x40ce7c['odayY'],_0x459a6d[_0x3f7207(0x107)]);}),_0x322d15['on'](CodeceptJS[_0x2933e2(0xe0)][_0x2933e2(0x109)][_0x2933e2(0xb9)],async _0x3ad41b=>{const _0x5d0cca=_0x2933e2;console[_0x5d0cca(0xe5)](_0x40ce7c[_0x5d0cca(0x98)],_0x3ad41b[_0x5d0cca(0x107)]);}),_0x322d15['on'](CodeceptJS[_0x2933e2(0xe0)]['all']['result'],async()=>{const _0x44f5dd=_0x2933e2,_0x4694ff=_0x40ce7c[_0x44f5dd(0x97)][_0x44f5dd(0xb1)]('|');let _0x9129a6=0x0;while(!![]){switch(_0x4694ff[_0x9129a6++]){case'0':try{await TestHubHandler[_0x44f5dd(0xcc)]();}catch(_0x40012b){logger[_0x44f5dd(0xae)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x40012b));}continue;case'1':testOpsHelper[_0x44f5dd(0x121)]();continue;case'2':_0x322d15[_0x44f5dd(0x10b)]();continue;case'3':_0x4d4dbc[_0x44f5dd(0xcf)]=_testErrorData;continue;case'4':PerformanceTester[_0x44f5dd(0xa8)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':utilities[_0x44f5dd(0xf3)](_0x4d4dbc);continue;}break;}});async function _0x35aa00(){const _0x6d794c=_0x2933e2;try{await _0x322d15['bootstrapAll'](),await _0x322d15[_0x6d794c(0xc0)]();}finally{process[_0x6d794c(0x103)](_0x16bfff),await _0x322d15['teardownAll']();}}PerformanceTester['end'](PerformanceEvents[_0x2933e2(0xa3)]),_0x40ce7c[_0x2933e2(0xf5)](_0x35aa00);}module[a2_0x67f3af(0xba)]=run;
|
|
2
|
+
'use strict';const a2_0x1df71a=a2_0x2d73;function a2_0x2d73(_0x375b92,_0x152148){const _0x132d87=a2_0x132d();return a2_0x2d73=function(_0x2d73da,_0x1bd50c){_0x2d73da=_0x2d73da-0x136;let _0x4e68ab=_0x132d87[_0x2d73da];return _0x4e68ab;},a2_0x2d73(_0x375b92,_0x152148);}(function(_0x2daf9c,_0xa28df6){const _0x50cc6e=a2_0x2d73,_0xb619bb=_0x2daf9c();while(!![]){try{const _0x5e267c=parseInt(_0x50cc6e(0x18c))/0x1+parseInt(_0x50cc6e(0x154))/0x2+parseInt(_0x50cc6e(0x1be))/0x3*(parseInt(_0x50cc6e(0x17d))/0x4)+parseInt(_0x50cc6e(0x199))/0x5+parseInt(_0x50cc6e(0x13a))/0x6*(-parseInt(_0x50cc6e(0x148))/0x7)+parseInt(_0x50cc6e(0x158))/0x8+-parseInt(_0x50cc6e(0x183))/0x9*(parseInt(_0x50cc6e(0x175))/0xa);if(_0x5e267c===_0xa28df6)break;else _0xb619bb['push'](_0xb619bb['shift']());}catch(_0x169668){_0xb619bb['push'](_0xb619bb['shift']());}}}(a2_0x132d,0x2d535));const fs=require('fs'),path=require(a2_0x1df71a(0x1b8)),util=require('util'),process=require('process'),logger=require(a2_0x1df71a(0x19c))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x1df71a(0x1b0)),helper=require(a2_0x1df71a(0x1ca)),utilities=require(a2_0x1df71a(0x1a4)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x1df71a(0x162)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x1df71a(0x1ca)),CodeceptJS=requireModule(a2_0x1df71a(0x1ae),a2_0x1df71a(0x198)),testOpsHelper=require(a2_0x1df71a(0x1a2)),TestHubHandler=require(a2_0x1df71a(0x164)),constants=require(a2_0x1df71a(0x145)),PerformanceTester=require(a2_0x1df71a(0x136)),{FRAMEWORKS}=require(a2_0x1df71a(0x18e)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x1df71a(0x1bd)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x1aab21,_0x43cc3b)=>{const _0x4908d1=a2_0x1df71a,_0x266599={};_0x266599[_0x4908d1(0x13d)]=function(_0xe36f95,_0xd504d9){return _0xe36f95===_0xd504d9;},_0x266599[_0x4908d1(0x1c7)]=_0x4908d1(0x1ac),_0x266599[_0x4908d1(0x19d)]='codecept.json';const _0x2a2571=_0x266599;let _0xec5420=null;const _0x2ee5c1={};let _0x2c3315=_0x43cc3b[_0x4908d1(0x1bf)](_0x207ec5=>_0x207ec5===_0x4908d1(0x1cc));_0x2a2571[_0x4908d1(0x13d)](_0x2c3315,-0x1)&&(_0x2c3315=_0x43cc3b[_0x4908d1(0x1bf)](_0x2f0e21=>_0x2f0e21==='-c'));if(!helper[_0x4908d1(0x19b)](_0x1aab21['config'])&&fs[_0x4908d1(0x18b)](path[_0x4908d1(0x170)](process[_0x4908d1(0x195)](),_0x1aab21[_0x4908d1(0x190)])))_0xec5420=path['join'](process[_0x4908d1(0x195)](),_0x1aab21[_0x4908d1(0x190)]),_0x43cc3b['slice'](_0x2c3315,0x2);else{if(!helper[_0x4908d1(0x19b)](_0x1aab21['c'])&&fs[_0x4908d1(0x18b)](path[_0x4908d1(0x170)](process[_0x4908d1(0x195)](),_0x1aab21['c'])))_0xec5420=path[_0x4908d1(0x170)](process['cwd'](),_0x1aab21['c']),_0x43cc3b[_0x4908d1(0x14b)](_0x2c3315,0x2);else{if(fs['existsSync'](path[_0x4908d1(0x170)](process[_0x4908d1(0x195)](),_0x2a2571[_0x4908d1(0x1c7)])))_0xec5420=path[_0x4908d1(0x170)](process['cwd'](),_0x2a2571[_0x4908d1(0x1c7)]);else fs[_0x4908d1(0x18b)](path[_0x4908d1(0x170)](process[_0x4908d1(0x195)](),_0x2a2571[_0x4908d1(0x19d)]))&&(_0xec5420=path[_0x4908d1(0x170)](process[_0x4908d1(0x195)](),_0x2a2571['vKfgU']));}}return process[_0x4908d1(0x13b)]['USER_CONFIG_DETAILS_PATH']=_0xec5420,_0xec5420;},getO11yRerunPattern=()=>{const _0x1c9335=a2_0x1df71a,_0x264846=helper['isTrue'](process[_0x1c9335(0x13b)][_0x1c9335(0x144)]);if(_0x264846){const _0x42f9bd=process[_0x1c9335(0x13b)]['BROWSERSTACK_RERUN_TESTS'],_0x3a7588=[];if(helper[_0x1c9335(0x16d)](_0x42f9bd)&&!helper['isUndefined'](_0x42f9bd)){_0x42f9bd[_0x1c9335(0x1c1)](',')['map'](_0x5dd6bd=>{const _0x742803=_0x1c9335;_0x3a7588[_0x742803(0x16a)]('('+_0x5dd6bd['trim']()+')');});const _0x10b14e='^'+_0x3a7588['join']('|')+'$';return _0x10b14e;}}return null;},a2_0x53a721={};a2_0x53a721[a2_0x1df71a(0x168)]=a2_0x1df71a(0x15d),a2_0x53a721['playwright-chromium']=a2_0x1df71a(0x15d),a2_0x53a721[a2_0x1df71a(0x1c9)]='firefox',a2_0x53a721[a2_0x1df71a(0x14c)]=a2_0x1df71a(0x142);const pwToCodeceptBrowser=a2_0x53a721;function a2_0x132d(){const _0x52b688=['zUoVF','Failed\x20:\x20','createGroupsOfSuites','4wzPnWV','all','getUserWorkerCount','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','useW3C','117vFldbF','testObservability','helpers','map','length','load','launchBuild','stop','existsSync','16819eRdwFI','FRAMEWORKS','../../helpers/test-observability/constants','start','config','BrowserStackPlugin.js','browser','errorMessage','tZVaY','cwd','UqLVz','cLCal','codeceptjs','1315770gDugMh','before','isUndefined','../../helpers/logger','vKfgU','PPQkf','event','OfFRT','CODECEPT_CUCUMBER','../../helpers/test-observability/utils','toLowerCase','../../helpers/utilities','forEach','bvhyG','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','profile','browserStackCwd','SDK_SETUP','format','codecept.conf.js','CODECEPT','codeceptjs/lib/index.js','WebDriver','../../helpers/BrowserStackSetup','pOyRr','end','kNhSZ','setAdditionalCapabilities','plugins','hQqxL','debug','path','gtvoe','desiredCapabilities','browserWSEndpoint','3|5|2|4|1|0','EVENTS','409443qbKjpb','findIndex','BROWSERSTACK_TEST_ACCESSIBILITY_YML','split','cLqoy','tpzBN','teardownAll','printBuildLink','title','nhAkP','chdir','playwright-firefox','../../helpers/helper','YdpdT','--config','../../helpers/performance/performance-tester','test','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','isEmpty','2157294necHds','env','IoUuX','YePhx','parallelsPerPlatform','enabled','prepareCapabilities','geNCE','webkit','accessibility','BROWSERSTACK_RERUN','../utils/constants','Playwright','printResults','7MLsWal','passed','now','slice','playwright-webkit','QdAvN','SDK_CLEANUP','log','result','Workers','XYJVp','bootstrapAll','179164WLxEdy','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','browserName','stack','2485160zpNUnl','exports','finalExecution','pilUx','platforms','chromium','skipSessionName','spawn','mergeDeep','run','../../bin/playwright/accessibility-helper','addTests','../../helpers/testhub/testhubHandler','gDNIv','pPmQM','skipSessionStatus','chrome','Started\x20:\x20','push','gherkin','accessibilityOptions','validateRerunTestList','testConfig','root','join','mzgzW','ALeLH','testContextOptions','isTestObservabilitySession','208830NBpAId','qYtfF','LPbXK','reldX','info'];a2_0x132d=function(){return _0x52b688;};return a2_0x132d();}async function run(_0x39b9b8,_0x530b68){const _0x54a438=a2_0x1df71a,_0x929ebe={'TQjHS':function(_0x5caa45,_0x2e700e){return _0x5caa45+_0x2e700e;},'hQqxL':function(_0x359283,_0x3dc124){return _0x359283(_0x3dc124);},'XYJVp':function(_0x2d5437,_0x310cc9){return _0x2d5437+_0x310cc9;},'LPbXK':function(_0x1e52f6,_0x13c98c,_0x534460){return _0x1e52f6(_0x13c98c,_0x534460);},'IoUuX':_0x54a438(0x185),'QdAvN':function(_0x429831){return _0x429831();},'pPmQM':function(_0xc8384a){return _0xc8384a();},'IdaUo':_0x54a438(0x17b),'mzgzW':'Passed\x20:\x20','UqLVz':_0x54a438(0x169),'YdpdT':_0x54a438(0x1bc),'tpzBN':_0x54a438(0x198),'Dbcno':function(_0x312331,_0x62c9e8,_0x258a28){return _0x312331(_0x62c9e8,_0x258a28);},'gtvoe':_0x54a438(0x1a7),'bvhyG':function(_0x31920e,_0x44bbbe,_0x14578d){return _0x31920e(_0x44bbbe,_0x14578d);},'PPQkf':_0x54a438(0x146),'qYtfF':_0x54a438(0x1af),'fnTBq':function(_0x16d507,_0x16046d){return _0x16d507(_0x16046d);},'pilUx':function(_0xbd2e5e,_0x3f0a43){return _0xbd2e5e!=_0x3f0a43;},'yAZKn':function(_0x2dee95,_0x6da54a){return _0x2dee95===_0x6da54a;},'ALeLH':function(_0x43050d,_0x1ac167,_0x3e6971){return _0x43050d(_0x1ac167,_0x3e6971);},'tZVaY':_0x54a438(0x16b),'gDNIv':function(_0xb1098b){return _0xb1098b();},'tOlxs':function(_0x11f414,_0x9a5f36){return _0x11f414*_0x9a5f36;},'zUoVF':'browser','cLqoy':function(_0x2fcc1e,_0x2035ba,_0x42dfc3){return _0x2fcc1e(_0x2035ba,_0x42dfc3);},'pOyRr':'desiredCapabilities','cLCal':_0x54a438(0x16f),'kNhSZ':_0x54a438(0x191),'geNCE':_0x54a438(0x1a9)},_0x144b90=new BrowserStackSetup(_0x39b9b8,_0x929ebe[_0x54a438(0x1c3)]);await _0x144b90['initialize'](),await helper['handleApp'](_0x144b90[_0x54a438(0x190)]);if(!_0x144b90[_0x54a438(0x190)])return;process[_0x54a438(0x1a8)]=_0x39b9b8[_0x54a438(0x1a8)];_0x39b9b8[_0x54a438(0x1a8)]&&(process['env'][_0x54a438(0x1a8)]=_0x39b9b8[_0x54a438(0x1a8)]);const _0x396989=_0x929ebe['Dbcno'](getUserCodeceptJSConfigs,_0x39b9b8,_0x530b68);let _0x2f2b9e={};_0x396989?(logger['info'](_0x54a438(0x155)+_0x396989),_0x2f2b9e=CodeceptJS[_0x54a438(0x190)][_0x54a438(0x188)](_0x396989)):logger[_0x54a438(0x179)](_0x929ebe[_0x54a438(0x1b9)]);let _0xefd5e4=![];_0x929ebe[_0x54a438(0x1a6)](nestedKeyValue,_0x2f2b9e,[_0x929ebe[_0x54a438(0x13c)],_0x929ebe[_0x54a438(0x19e)]])&&(_0xefd5e4=!![]);const _0xf680a9=_0xefd5e4?_0x929ebe['PPQkf']:_0x929ebe[_0x54a438(0x176)];let _0x540d81=!_0xefd5e4?helper[_0x54a438(0x182)](_0x144b90[_0x54a438(0x190)]):![];!helper['isUndefined'](_0x144b90[_0x54a438(0x190)][_0x54a438(0x16c)])&&(process[_0x54a438(0x13b)][_0x54a438(0x181)]=JSON[_0x54a438(0x180)](_0x144b90['config'][_0x54a438(0x16c)]));let _0x24067e=_0x144b90[_0x54a438(0x190)][_0x54a438(0x143)];_0x24067e=_0x24067e||_0x929ebe['fnTBq'](checkAccessibilityPlatformConfig,_0x144b90[_0x54a438(0x190)]),process[_0x54a438(0x13b)][_0x54a438(0x1c0)]=_0x24067e;_0x24067e&&(_0x540d81=!_0x24067e);_0x929ebe[_0x54a438(0x15b)](_0x144b90[_0x54a438(0x190)][_0x54a438(0x184)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x144b90[_0x54a438(0x190)][_0x54a438(0x184)]:process[_0x54a438(0x13b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x929ebe['yAZKn'](_0xf680a9,_0x929ebe['PPQkf']);const _0x5b82fb=_0x929ebe[_0x54a438(0x172)](nestedKeyValue,_0x2f2b9e,[_0x929ebe[_0x54a438(0x194)]]),_0x5e53fa=_0x5b82fb&&!helper[_0x54a438(0x139)](_0x5b82fb)?FRAMEWORKS[_0x54a438(0x1a1)]:FRAMEWORKS[_0x54a438(0x1ad)],_0xc623ee=await TestHubHandler[_0x54a438(0x189)](_0x5e53fa,_0x144b90);_0x24067e&&_0x929ebe[_0x54a438(0x1b6)](setAccessibilityCapabilities,_0x144b90[_0x54a438(0x190)]);const _0x25f313={},_0x5f222b=[],_0x22cdd2=_0x144b90['config'][_0x54a438(0x13e)]||helper[_0x54a438(0x17f)](_0x39b9b8,_0x530b68,_0x144b90[_0x54a438(0x190)],constants[_0x54a438(0x18d)][_0x54a438(0x1ad)])||0x1;let _0x3871e6=0x1;if(_0x929ebe[_0x54a438(0x165)](isBrowserstackInfra)){const _0x26a5bf=helper[_0x54a438(0x140)](_0x144b90[_0x54a438(0x190)],_0x540d81,constants[_0x54a438(0x18d)]['CODECEPT']);_0x26a5bf[_0x54a438(0x1a5)](_0x5e3445=>{const _0x2f56e4=_0x54a438;helper[_0x2f56e4(0x1b4)](_0x5e3445);}),helper['validPlatformsPresent'](_0x144b90[_0x54a438(0x190)])?_0x3871e6=_0x929ebe['tOlxs'](_0x22cdd2,_0x144b90[_0x54a438(0x190)][_0x54a438(0x15c)][_0x54a438(0x187)]):_0x3871e6=_0x22cdd2,_0x26a5bf['forEach'](_0x263de1=>{const _0x3133ad=_0x54a438,_0x493bac={'reldX':function(_0x53b9bb,_0x39b290){return _0x929ebe['TQjHS'](_0x53b9bb,_0x39b290);},'OfFRT':function(_0x4057ce,_0xfb21b5){return _0x929ebe['hQqxL'](_0x4057ce,_0xfb21b5);}},_0x283042=_0x929ebe[_0x3133ad(0x152)](helper['getPlatformName'](_0x263de1,'_'),'_'+Date[_0x3133ad(0x14a)]()),_0x281470=((()=>{const _0x3c5c2f=_0x3133ad;if(_0xefd5e4){const _0x291008=pwToCodeceptBrowser[_0x263de1[_0x3c5c2f(0x156)]]||_0x263de1[_0x3c5c2f(0x156)];return{'browser':_0x291008,[_0x291008]:{'browserWSEndpoint':_0x493bac[_0x3c5c2f(0x178)](helper['getPlaywrightUrl'](_0x144b90[_0x3c5c2f(0x190)]),_0x493bac[_0x3c5c2f(0x1a0)](encodeURIComponent,JSON[_0x3c5c2f(0x180)](_0x263de1)))}};}const _0x1d281c={};return _0x1d281c[_0x3c5c2f(0x1ba)]=_0x263de1,_0x1d281c;})()),_0xd8ffef=_0x929ebe['LPbXK'](nestedKeyValue,_0x2f2b9e,[_0x929ebe['IoUuX'],_0xf680a9]);_0x25f313[_0x283042]=_0xd8ffef?helper[_0x3133ad(0x160)](_0x281470,_0xd8ffef):_0x281470,!_0xefd5e4&&(_0x25f313[_0x283042][_0x3133ad(0x192)]=_0x263de1[_0x3133ad(0x156)]||_0x281470[_0x3133ad(0x192)]),_0x5f222b[_0x3133ad(0x16a)](_0x283042);});}else{_0x3871e6=0x1;if(_0xefd5e4){const _0x446099=_0x929ebe[_0x54a438(0x177)](nestedKeyValue,_0x2f2b9e,[_0x929ebe[_0x54a438(0x13c)],_0xf680a9,_0x929ebe[_0x54a438(0x17a)]]),_0x3ea8d3=_0x929ebe[_0x54a438(0x1c2)](nestedKeyValue,_0x2f2b9e,[_0x929ebe[_0x54a438(0x13c)],_0xf680a9,_0x446099]);_0x3ea8d3&&_0x3ea8d3[_0x54a438(0x1bb)]&&(_0x3ea8d3[_0x54a438(0x1bb)]=helper[_0x54a438(0x140)](null,null,_0x5e53fa[_0x54a438(0x1a3)](),null,null,_0x3ea8d3[_0x54a438(0x1bb)]));}else _0x2f2b9e[_0x929ebe['IoUuX']][_0xf680a9][_0x929ebe['pOyRr']]=helper[_0x54a438(0x140)](null,null,_0x5e53fa[_0x54a438(0x1a3)](),_0x929ebe['ALeLH'](nestedKeyValue,_0x2f2b9e,[_0x929ebe[_0x54a438(0x13c)],_0xf680a9,_0x929ebe[_0x54a438(0x1b1)]]),null,null);_0x25f313[_0x929ebe[_0x54a438(0x197)]]=_0x2f2b9e,_0x5f222b[_0x54a438(0x16a)](_0x929ebe[_0x54a438(0x197)]);}const _0x21b807={};_0x21b807[_0x54a438(0x16e)]=_0x396989;const _0x4d5e2a=_0x21b807,_0x4d5676=path[_0x54a438(0x170)](__dirname,_0x929ebe[_0x54a438(0x1b3)]),_0x26bc36=process[_0x54a438(0x195)]();process[_0x54a438(0x13b)][_0x929ebe[_0x54a438(0x141)]]=_0x26bc36,process[_0x54a438(0x1c8)](path['dirname'](_0x396989));const _0x2e6fe1=new CodeceptJS[(_0x54a438(0x151))](null,_0x4d5e2a),_0x10651e=_0x2e6fe1[_0x54a438(0x17c)](_0x3871e6),_0x425507=testOpsHelper[_0x54a438(0x174)](),_0x2bacee=_0x5f222b[_0x54a438(0x186)](_0x59641f=>{const _0x56e9be=_0x54a438,_0x54e5ad={};_0x54e5ad[_0x56e9be(0x146)]=_0x25f313[_0x59641f];const _0x4e99e2={};_0x4e99e2['WebDriver']=_0x25f313[_0x59641f];const _0x2f548f=_0xefd5e4?_0x54e5ad:_0x4e99e2,_0x487253=_0x929ebe[_0x56e9be(0x14d)](getO11yRerunPattern),_0x21bbdd={};_0x21bbdd[_0x56e9be(0x185)]=_0x2f548f;const _0x3bcbff={};_0x3bcbff['require']=_0x4d5676,_0x3bcbff[_0x56e9be(0x13f)]=!![],_0x3bcbff[_0x56e9be(0x15e)]=_0x144b90[_0x56e9be(0x190)][_0x56e9be(0x173)]['skipSessionName'],_0x3bcbff[_0x56e9be(0x167)]=_0x144b90[_0x56e9be(0x190)][_0x56e9be(0x173)]['skipSessionStatus'],_0x3bcbff[_0x56e9be(0x184)]=_0x425507,_0x3bcbff['frameworkName']=_0x5e53fa;const _0x2a0a15={};_0x2a0a15['BrowserStackPlugin']=_0x3bcbff;const _0x56af63={};return _0x56af63[_0x56e9be(0x1b5)]=_0x2a0a15,helper[_0x56e9be(0x160)]({},_0x2f2b9e,_0x929ebe[_0x56e9be(0x166)](isBrowserstackInfra)?_0x21bbdd:{},_0x487253?{'grep':_0x487253}:{},_0x56af63);});for(const _0x4b9d1d of _0x2bacee){for(const _0x10ce7f of _0x10651e){const _0x51160a=_0x2e6fe1[_0x54a438(0x15f)]();_0x51160a[_0x54a438(0x163)](_0x10ce7f),_0x51160a['addConfig'](_0x4b9d1d);const _0x538904={};_0x538904['config']=_0x396989,_0x51160a['addOptions'](_0x538904);}}_0x2e6fe1['on'](CodeceptJS[_0x54a438(0x19f)]['test']['failed'],(_0xd20a8b,_0x2bdd2f)=>{const _0x310e8b=_0x54a438;console[_0x310e8b(0x14f)](_0x929ebe['IdaUo'],_0xd20a8b[_0x310e8b(0x1c6)]);const _0x3460e2={[_0xd20a8b['title']]:_0xd20a8b['err'][_0x310e8b(0x157)]};_testErrorData[_0x310e8b(0x16a)](_0x3460e2);}),_0x2e6fe1['on'](CodeceptJS[_0x54a438(0x19f)][_0x54a438(0x137)][_0x54a438(0x149)],async _0x9da4f1=>{const _0x532a2e=_0x54a438;console[_0x532a2e(0x14f)](_0x929ebe[_0x532a2e(0x171)],_0x9da4f1['title']);}),_0x2e6fe1['on'](CodeceptJS[_0x54a438(0x19f)][_0x54a438(0x137)][_0x54a438(0x19a)],async _0x267a15=>{const _0xfe9e06=_0x54a438;console['log'](_0x929ebe[_0xfe9e06(0x196)],_0x267a15['title']);}),_0x2e6fe1['on'](CodeceptJS[_0x54a438(0x19f)][_0x54a438(0x17e)][_0x54a438(0x150)],async()=>{const _0x5599ec=_0x54a438,_0x28692f=_0x929ebe[_0x5599ec(0x1cb)][_0x5599ec(0x1c1)]('|');let _0x3c9427=0x0;while(!![]){switch(_0x28692f[_0x3c9427++]){case'0':_0x2e6fe1[_0x5599ec(0x147)]();continue;case'1':try{await TestHubHandler[_0x5599ec(0x18a)]();}catch(_0x393804){logger[_0x5599ec(0x1b7)](_0x5599ec(0x138)+util[_0x5599ec(0x1ab)](_0x393804));}continue;case'2':testOpsHelper[_0x5599ec(0x1c5)]();continue;case'3':PerformanceTester[_0x5599ec(0x18f)](PerformanceEvents[_0x5599ec(0x14e)]);continue;case'4':utilities[_0x5599ec(0x15a)](_0x144b90);continue;case'5':_0x144b90[_0x5599ec(0x193)]=_testErrorData;continue;}break;}});async function _0x399e6e(){const _0x52351a=_0x54a438;try{await _0x2e6fe1[_0x52351a(0x153)](),await _0x2e6fe1[_0x52351a(0x161)]();}finally{process[_0x52351a(0x1c8)](_0x26bc36),await _0x2e6fe1[_0x52351a(0x1c4)]();}}PerformanceTester[_0x54a438(0x1b2)](PerformanceEvents[_0x54a438(0x1aa)]),_0x929ebe['QdAvN'](_0x399e6e);}module[a2_0x1df71a(0x159)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x57200c=a3_0x3c11;(function(_0x3531a7,_0x2ca147){const _0x4c4349=a3_0x3c11,_0x37220e=_0x3531a7();while(!![]){try{const _0x3cdfa7=parseInt(_0x4c4349(0x11a))/0x1*(-parseInt(_0x4c4349(0x121))/0x2)+-parseInt(_0x4c4349(0xf9))/0x3*(-parseInt(_0x4c4349(0xfe))/0x4)+parseInt(_0x4c4349(0x107))/0x5+parseInt(_0x4c4349(0x122))/0x6+-parseInt(_0x4c4349(0x111))/0x7+-parseInt(_0x4c4349(0x108))/0x8*(-parseInt(_0x4c4349(0x120))/0x9)+-parseInt(_0x4c4349(0x133))/0xa*(parseInt(_0x4c4349(0x10d))/0xb);if(_0x3cdfa7===_0x2ca147)break;else _0x37220e['push'](_0x37220e['shift']());}catch(_0x51532f){_0x37220e['push'](_0x37220e['shift']());}}}(a3_0x4791,0xb765e));const {isUndefined,nestedKeyValue}=require(a3_0x57200c(0xeb)),logger=require(a3_0x57200c(0x12e))[a3_0x57200c(0x112)],PlaywrightSessionDetails=require(a3_0x57200c(0x124)),{isAccessibilityAutomationSession}=require(a3_0x57200c(0x136)),{getObservabilityLinkedProductName}=require(a3_0x57200c(0x130)),getOSVersionFromCaps=_0x402b05=>{const _0x3a1c3a=a3_0x57200c,_0x1d8d16={};_0x1d8d16[_0x3a1c3a(0x132)]=_0x3a1c3a(0x12c),_0x1d8d16[_0x3a1c3a(0xfd)]=_0x3a1c3a(0x113),_0x1d8d16['lGZrS']=_0x3a1c3a(0x126),_0x1d8d16[_0x3a1c3a(0xf0)]=_0x3a1c3a(0x116),_0x1d8d16[_0x3a1c3a(0x102)]=_0x3a1c3a(0x104);const _0x147d30=_0x1d8d16;if(!_0x402b05)return null;const _0x38ed37=_0x402b05[_0x147d30[_0x3a1c3a(0x132)]],_0x40b175=[_0x147d30[_0x3a1c3a(0xfd)],_0x147d30[_0x3a1c3a(0x118)],_0x147d30[_0x3a1c3a(0xf0)],_0x147d30[_0x3a1c3a(0x102)]];for(const _0x2f5548 of _0x40b175){if(_0x38ed37&&_0x38ed37[_0x2f5548])return _0x38ed37[_0x2f5548];else{if(_0x402b05[_0x2f5548])return _0x402b05[_0x2f5548];}}return null;};function a3_0x4791(){const _0x3cdb4e=['../../bin/playwright/sessionDetails','__cloud_provider___','platform_version','constructor','AwVko','rKYcU','deviceName','browser_version','bstack:options','okjOm','../../helpers/logger','DgHSE','../../helpers/test-observability/utils','shouldPatchExecuteScript','rVZhe','10infsBz','parse','hDrfw','../../helpers/accessibility-automation/helper','cRmjA','../../helpers/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserstack_executor','RYkSS','get','BcNrN','accessibilityPlatform','WUtYu','cloudProvider','browserName','processWebDriverConfig','browserWSEndpoint','sessionId','unknown_grid','81otJwVq','browserVersion','IuOHh','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','sQPLx','154292qHWNKO','browserstack_accessibility_automation_script','XLikX','capabilities','VnPeT','VopGc','os_version','warn','platformName','7418540HxqQPS','30536VQKfwm','config','MCqIp','platform','includes','4122338PJeAEN','dynsu','MsuRj','SCWlA','6497351AFfTkG','winstonLogger','platformVersion','LxHSU','RvpzU','osVersion','searchParams','lGZrS','browser','78MSYJwM','bsSessionId','KnIyM','iAEoK','ghJJI','name','423bLLoHk','31686aYckSU','3511950HjNgNR','fSChA'];a3_0x4791=function(){return _0x3cdb4e;};return a3_0x4791();}function a3_0x3c11(_0x2b06d9,_0x27854b){const _0x4791b9=a3_0x4791();return a3_0x3c11=function(_0x3c11ec,_0x1a6357){_0x3c11ec=_0x3c11ec-0xea;let _0x1873e0=_0x4791b9[_0x3c11ec];return _0x1873e0;},a3_0x3c11(_0x2b06d9,_0x27854b);}exports['fetchPlatformDetails']=_0xbb388c=>{const _0x4bdefa=a3_0x57200c,_0x7eaa1={'cRmjA':_0x4bdefa(0xf8),'ghJJI':function(_0x16240a,_0x3e7e72){return _0x16240a===_0x3e7e72;},'lYwdU':'WebDriver','WUtYu':function(_0x10d28e,_0x29f9a9){return _0x10d28e(_0x29f9a9);},'AwVko':function(_0x2d8193,_0x4eecba,_0x3a87eb){return _0x2d8193(_0x4eecba,_0x3a87eb);},'KnIyM':_0x4bdefa(0x109),'LxHSU':'desiredCapabilities','QIzQf':'Playwright','RvpzU':_0x4bdefa(0x119),'dynsu':_0x4bdefa(0xf6),'okjOm':'caps','iAEoK':function(_0xcd5359,_0x96bd89){return _0xcd5359(_0x96bd89);}};if(!_0xbb388c)return null;let _0x18cc99=global[_0x4bdefa(0x125)]||_0x7eaa1[_0x4bdefa(0xea)];if(_0x7eaa1[_0x4bdefa(0x11e)](_0xbb388c[_0x4bdefa(0x127)][_0x4bdefa(0x11f)],_0x7eaa1['lYwdU'])){const _0x54dbc8=_0xbb388c[_0x4bdefa(0x119)];if(!_0x54dbc8)return null;const _0xf2f77a=_0x54dbc8[_0x4bdefa(0x101)],_0x21a88a=_0x7eaa1[_0x4bdefa(0xf2)](getOSVersionFromCaps,_0x7eaa1[_0x4bdefa(0x128)](nestedKeyValue,_0xbb388c,[_0x7eaa1[_0x4bdefa(0x11c)],_0x7eaa1[_0x4bdefa(0x114)]]));return{[_0x18cc99]:{'browser':_0xf2f77a['browserName'],'browser_version':_0xf2f77a[_0x4bdefa(0xfa)],'capabilities':_0xf2f77a,'platform':_0xf2f77a[_0x4bdefa(0x106)],'platform_version':_0xf2f77a[_0x4bdefa(0x113)]||_0x21a88a,'product':_0x7eaa1[_0x4bdefa(0xf2)](getObservabilityLinkedProductName,_0xf2f77a),'session_id':_0x54dbc8[_0x4bdefa(0xf7)]}};}else{if(_0x7eaa1[_0x4bdefa(0x11e)](_0xbb388c[_0x4bdefa(0x127)]['name'],_0x7eaa1['QIzQf'])){const _0x5adee5=PlaywrightSessionDetails['getDetails']();_0x18cc99=_0x5adee5[_0x4bdefa(0xf3)]||_0x18cc99;const _0x566f69=_0x7eaa1['AwVko'](nestedKeyValue,_0xbb388c,[_0x7eaa1[_0x4bdefa(0x11c)],_0x7eaa1[_0x4bdefa(0x115)],_0x7eaa1[_0x4bdefa(0x10e)]]),_0x50307e=_0x566f69?JSON[_0x4bdefa(0x134)](new URL(_0x566f69)[_0x4bdefa(0x117)][_0x4bdefa(0xef)](_0x7eaa1[_0x4bdefa(0x12d)])):{};return{[_0x18cc99]:{'browser':_0x5adee5[_0x4bdefa(0x119)]||_0x50307e['browserName'],'browser_version':_0x5adee5[_0x4bdefa(0x12b)]||_0x50307e[_0x4bdefa(0x12b)],'capabilities':_0x50307e,'platform':_0x5adee5[_0x4bdefa(0x10b)],'platform_version':_0x5adee5['platform_version'],'product':_0x7eaa1[_0x4bdefa(0x11d)](getObservabilityLinkedProductName,_0x50307e),'session_id':_0x5adee5[_0x4bdefa(0x11b)]}};}}},exports[a3_0x57200c(0xf5)]=_0x5c14e9=>{const _0xda13d4=a3_0x57200c,_0x2bc8b9={'RYkSS':function(_0x2aed10){return _0x2aed10();},'MsuRj':function(_0x158681,_0x42feda){return _0x158681===_0x42feda;},'DgHSE':'latest','MHxXv':function(_0x4bd973,_0x3f5156){return _0x4bd973>_0x3f5156;},'Vkpko':function(_0x88bc1e,_0x32dcf7){return _0x88bc1e(_0x32dcf7);},'IuOHh':_0xda13d4(0xfc),'SCWlA':function(_0x35296e,_0x247083){return _0x35296e===_0x247083;},'rKYcU':'chrome','tPMjq':function(_0x1a26c4,_0x43e7e3){return _0x1a26c4===_0x43e7e3;},'fSChA':'playwright-chromium','XLikX':_0xda13d4(0xec),'hDrfw':function(_0x543bf9,_0x6c6b9c){return _0x543bf9(_0x6c6b9c);},'eLtzr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x2bc8b9[_0xda13d4(0xee)](isAccessibilityAutomationSession)){const _0x1c0c75=_0x5c14e9[_0xda13d4(0x119)],_0x5b0ef4=_0x1c0c75['capabilities'];global[_0xda13d4(0xf1)]=!![],!(_0x2bc8b9[_0xda13d4(0x10f)](_0x5b0ef4[_0xda13d4(0xfa)],_0x2bc8b9[_0xda13d4(0x12f)])||_0x2bc8b9['MHxXv'](_0x2bc8b9['Vkpko'](parseInt,_0x5b0ef4['browserVersion']),0x5e))&&(logger[_0xda13d4(0x105)](_0x2bc8b9[_0xda13d4(0xfb)]),global[_0xda13d4(0xf1)]=![]),!(_0x2bc8b9[_0xda13d4(0x110)](_0x5b0ef4['browserName'],_0x2bc8b9[_0xda13d4(0x129)])||_0x2bc8b9['tPMjq'](_0x5b0ef4[_0xda13d4(0xf4)],_0x2bc8b9[_0xda13d4(0x123)]))&&(logger[_0xda13d4(0x105)](_0x2bc8b9[_0xda13d4(0x100)]),global[_0xda13d4(0xf1)]=![]),!_0x2bc8b9[_0xda13d4(0x135)](isUndefined,_0x5b0ef4[_0xda13d4(0x12a)])&&(logger[_0xda13d4(0x105)](_0x2bc8b9['eLtzr']),global[_0xda13d4(0xf1)]=![]);}},exports[a3_0x57200c(0x131)]=_0x107361=>{const _0x47c29b=a3_0x57200c,_0x552855={};_0x552855[_0x47c29b(0x103)]=_0x47c29b(0xed),_0x552855[_0x47c29b(0x10a)]=_0x47c29b(0xff);const _0x4acd07=_0x552855;if(!_0x107361)return![];return!_0x107361[_0x47c29b(0x10c)](_0x4acd07['VopGc'])&&!_0x107361['includes'](_0x4acd07['MCqIp']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4_0x441178=a4_0x5d3b;(function(_0x166b1e,_0x5a192a){const _0x121fba=a4_0x5d3b,_0x50cd88=_0x166b1e();while(!![]){try{const _0x56561a=parseInt(_0x121fba(0x254))/0x1+parseInt(_0x121fba(0x185))/0x2+parseInt(_0x121fba(0x175))/0x3+parseInt(_0x121fba(0x1cf))/0x4*(parseInt(_0x121fba(0x1ed))/0x5)+-parseInt(_0x121fba(0x20f))/0x6+parseInt(_0x121fba(0x194))/0x7+-parseInt(_0x121fba(0x22d))/0x8;if(_0x56561a===_0x5a192a)break;else _0x50cd88['push'](_0x50cd88['shift']());}catch(_0x253202){_0x50cd88['push'](_0x50cd88['shift']());}}}(a4_0x3bc2,0x7994d));const path=require(a4_0x441178(0x253)),fs=require('fs'),{v4:uuidv4}=require(a4_0x441178(0x1e5)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x441178(0x23d)),{getTestEnv}=require(a4_0x441178(0x1f7)),{FRAMEWORKS}=require(a4_0x441178(0x21e)),logger=require(a4_0x441178(0x1a5))[a4_0x441178(0x23a)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x441178(0x237)),debug=testOpsHelper[a4_0x441178(0x1c3)],{processAccessibilityCaps}=require(a4_0x441178(0x1c9)),Constants=require(a4_0x441178(0x17c)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x441178(0x241)),STATE_PASSED=a4_0x441178(0x210),STATE_FAILED=a4_0x441178(0x1f1),a4_0x60e318={};a4_0x60e318['TEST_RUN_STARTED']='TestRunStarted',a4_0x60e318[a4_0x441178(0x22e)]=a4_0x441178(0x1a0),a4_0x60e318[a4_0x441178(0x1e4)]=a4_0x441178(0x1ae),a4_0x60e318[a4_0x441178(0x1d6)]=a4_0x441178(0x195),a4_0x60e318[a4_0x441178(0x1f6)]='HookRunFinished';function a4_0x5d3b(_0x38012e,_0x31c825){const _0x3bc250=a4_0x3bc2();return a4_0x5d3b=function(_0x5d3bcd,_0x5d716d){_0x5d3bcd=_0x5d3bcd-0x16d;let _0x3d3805=_0x3bc250[_0x5d3bcd];return _0x3d3805;},a4_0x5d3b(_0x38012e,_0x31c825);}const TEST_EVENTS=a4_0x60e318,parseEvent=_0x520e3b=>{const _0x352962=a4_0x441178,_0x31157f={};_0x31157f[_0x352962(0x17e)]=function(_0x23f5f9,_0x294298){return _0x23f5f9<_0x294298;},_0x31157f[_0x352962(0x204)]=function(_0x2562d4,_0x1158c3){return _0x2562d4===_0x1158c3;},_0x31157f[_0x352962(0x1dc)]='test',_0x31157f[_0x352962(0x1f2)]=_0x352962(0x1a6),_0x31157f[_0x352962(0x21f)]=_0x352962(0x17a),_0x31157f[_0x352962(0x176)]=_0x352962(0x1d7),_0x31157f[_0x352962(0x170)]='finished';const _0x2da87b=_0x31157f,_0x14cb19=_0x520e3b[_0x352962(0x233)](/^(.*)Run(.*)$/);if(!_0x14cb19)return null;if(_0x2da87b[_0x352962(0x17e)](_0x14cb19[_0x352962(0x227)],0x3))return null;const _0x47e8b8=_0x14cb19[0x1]['toLowerCase'](),_0x12bd20=_0x14cb19[0x2][_0x352962(0x217)]();return{'test':_0x2da87b[_0x352962(0x204)](_0x47e8b8,_0x2da87b[_0x352962(0x1dc)]),'hook':_0x2da87b[_0x352962(0x204)](_0x47e8b8,_0x2da87b[_0x352962(0x1f2)]),'skipped':_0x2da87b['esAcJ'](_0x12bd20,_0x2da87b[_0x352962(0x21f)]),'started':_0x2da87b['esAcJ'](_0x12bd20,_0x2da87b[_0x352962(0x176)]),'finished':_0x2da87b['esAcJ'](_0x12bd20,_0x2da87b['UhSSn'])};},mockPWBrowserType=_0x5d843d=>{const _0x492210=a4_0x441178,_0x533aa0={'rEQTZ':function(_0x151147,_0x59b80b){return _0x151147===_0x59b80b;},'lktRR':_0x492210(0x181),'HocHa':function(_0x2e73a8,_0x380608,_0x17c532){return _0x2e73a8(_0x380608,_0x17c532);},'fYQQv':_0x492210(0x1b9),'zOEMh':function(_0x25c990,_0x17156e){return _0x25c990(_0x17156e);},'YPHlY':_0x492210(0x1df),'UsEnE':_0x492210(0x1de),'IKisn':'client','dDYFk':'browserType.js','abGSr':function(_0x5a8cb0,_0x329549){return _0x5a8cb0(_0x329549);},'rPZDm':function(_0x20c806,_0x4e4193){return _0x20c806(_0x4e4193);},'Dmaoe':_0x492210(0x1eb),'kEKaQ':_0x492210(0x1ab),'mrIop':_0x492210(0x1ec)},_0x503c6f=path[_0x492210(0x21a)](_0x533aa0[_0x492210(0x223)],_0x533aa0[_0x492210(0x255)],_0x533aa0['dDYFk']),_0x1f4d62=_0x533aa0['abGSr'](importFileFromPWCore,_0x503c6f);if(!_0x1f4d62){_0x533aa0[_0x492210(0x1cd)](debug,_0x533aa0[_0x492210(0x212)]);return;}const _0x3e3df5=_0x1f4d62[_0x492210(0x1d2)],_0x6b114c=_0x3e3df5['prototype'];if(_0x6b114c[_0x492210(0x1c0)])return;const _0x1dda8c=_0x6b114c[_0x492210(0x1ab)];Object['defineProperty'](_0x6b114c,_0x533aa0[_0x492210(0x235)],{'get':function(){return async function _0x248f1e(_0xf72882,_0x149451){const _0x8ef235=a4_0x5d3b,_0x5f4a8b={'IKxKS':function(_0x4ecb1c,_0x4e7ade){const _0x57c244=a4_0x5d3b;return _0x533aa0[_0x57c244(0x1bb)](_0x4ecb1c,_0x4e7ade);},'LNxoV':_0x533aa0['lktRR']},_0x21a2f7=_0x533aa0[_0x8ef235(0x1b7)](nestedKeyValue,_0xf72882,[_0x533aa0['fYQQv']])||_0xf72882;let _0x57a684=null,_0x1522cd=null;try{[_0x1522cd,_0x57a684]=_0x21a2f7?_0x533aa0[_0x8ef235(0x193)](parseWSEndpoint,_0x21a2f7):[null,null],global['__platformCaps']=_0x57a684,_0x1522cd[_0x8ef235(0x1ea)](_0x533aa0[_0x8ef235(0x1e9)])&&(global[_0x8ef235(0x242)]=_0x533aa0['YPHlY']);}catch(_0x2506fe){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x21a2f7+'\x20'+_0x2506fe);}_0x533aa0[_0x8ef235(0x1b7)](processAccessibilityCaps,_0x57a684,_0x1522cd);if(global[_0x8ef235(0x1a3)]){const _0x3c378e=await _0x6b114c[_0x8ef235(0x1bf)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x533aa0['zOEMh'](encodeURIComponent,JSON[_0x8ef235(0x200)](_0x57a684))]);return PlaywrightSessionDetails[_0x8ef235(0x1bd)](_0x3c378e,_0x5d843d,_0x21a2f7),_0x3c378e;}return _0x1dda8c[_0x8ef235(0x1aa)](this,arguments)['then'](_0x4193a2=>{const _0x5ddd4b=_0x8ef235;let _0x2a6529=_0xf72882[_0x5ddd4b(0x1b9)];return _0x5f4a8b[_0x5ddd4b(0x239)](typeof _0xf72882,_0x5f4a8b[_0x5ddd4b(0x1fc)])&&(_0x2a6529=_0xf72882),PlaywrightSessionDetails['setupBrowserDetails'](_0x4193a2,_0x5d843d,_0x2a6529),_0x4193a2;});};}});const _0x17a32e=_0x6b114c['launch'];Object[_0x492210(0x22f)](_0x6b114c,_0x533aa0[_0x492210(0x1bc)],{'get':function(){return async function _0x37005a(){const _0x5473a6=a4_0x5d3b;return _0x17a32e['apply'](this,arguments)[_0x5473a6(0x1cc)](_0x5b2d9d=>{const _0x34463d=_0x5473a6;return PlaywrightSessionDetails[_0x34463d(0x1bd)](_0x5b2d9d,null),_0x5b2d9d;});};}});};function a4_0x3bc2(){const _0x56b17e=['RaPZo','now','lib','browserstack','title','peQXy','VWPQk','currentHook','TEST_RUN_SKIPPED','uuid','mapTestHooks','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','toISOString','YPHlY','includes','Not\x20able\x20to\x20import\x20Browser','launch','3330xGotls','duration','test','retryOf','failed','MzqQJ','text','STATE_FAILED','LogCreated','HOOK_RUN_FINISHED','../mocha/test-observability/mochaUtils','file_name','hRMnw','logs','gkwDr','LNxoV','body','testAnalyticsId','captureEvent','stringify','FPElC','pid','finished_at','esAcJ','failure_reason_expanded','RAPhO','getHierarchy','name','parent','getInstance','toUpperCase','dwvGR','oHnau','split','433152GOEKEb','passed','DAeDH','Dmaoe','fGBgw','uCuEw','resetSkipTestHooks','USqPh','toLowerCase','nzjeQ','_afterEach','join','kBHPb','hook_type','fLRER','../../helpers/test-observability/constants','VXSIT','suites','currentTest','getHookType','UsEnE','HYFOX','expanded','forEach','length','hqQpD','backtrace','xTPsu','sendCBTInfo','GKUPz','15712736AyIRiI','TEST_RUN_FINISHED','defineProperty','SvpXp','failed\x20to\x20get\x20root\x20parent\x20file\x20','result','match','file','kEKaQ','enabled','../playwright/sessionDetails','keyword','IKxKS','winstonLogger','event_type','getHooksForTest','../../helpers/test-observability/utils','cRNDi','_testEnv','\x20with\x20error\x20:\x20','../../helpers/testhub/utils.js','__cloud_provider___','getRootParentFile','tags','TuBmc','type','xbmsB','gHXBB','err','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','hmXVz','failureData','TEST_EVENTS','success','bddSteps','initializeBddStep','YnaDu','hooks','path','411641PDFkbQ','IKisn','3|5|1|4|2|0','hook_run_uuid','TdYmL','util','concat','UhSSn','CODECEPT','codeceptjs','start','push','2269494qxaRzB','TmTal','OTlvX','FPbmD','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','skipped','bYqkT','../utils/constants','startedAt','enEGf','find','pending','string','_beforeEach','wVDeD','_beforeAll','11898XTKmBo','ECiDO','bs:addLog:','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','finished','.git','ctx','OMPLs','stepAnalyticsId','RLhpB','errorsDetailed','message','Playwright','YSIsM','zOEMh','4873337jsBnWG','HookRunStarted','zwjUj','toString','driver','bGHnW','prefixTestPath','JnLgQ','feature','Oeisd','failure','status','TestRunFinished','integrations','File\x20path\x20could\x20not\x20be\x20found','accessibilityPlatform','shutdown','../../helpers/logger','hook','test_run','CXcna','clvYx','apply','connect','WYyRy','comment','TestRunSkipped','ybYJu','ftaur','constructor','frameworkName','NUyJX','sep','markedStatus','uploadEventData','HocHa','EqcAS','wsEndpoint','yvfQL','rEQTZ','mrIop','setupBrowserDetails','NuHdY','connectOverCDP','obsBrowserTypeMockApplied','bddStepStart','appendTestItemLog','debug','findGitConfig','getTime','_afterAll','eohES','iOqtU','../playwright/accessibility-helper','dirname','bind','then','rPZDm','patchConsoleLogger','3988TFBZKP','getCBTInfo','test_run_uuid','BrowserType','exports','hookAnalyticsId','qjqmL','HOOK_RUN_STARTED','started','replace','stop','_paths','HVwLM'];a4_0x3bc2=function(){return _0x56b17e;};return a4_0x3bc2();}class O11yHelper{[a4_0x441178(0x221)]=null;[a4_0x441178(0x1e3)]=null;[a4_0x441178(0x236)]=![];[a4_0x441178(0x1b2)]=![];constructor(_0x45270c,_0x3d9236){const _0x3f2179=a4_0x441178,_0x4ecc93={'GKUPz':_0x3f2179(0x256),'HVwLM':function(_0x4799f9,_0x2c3ca2){return _0x4799f9===_0x2c3ca2;},'RAPhO':_0x3f2179(0x191),'fLRER':function(_0x4c36f9,_0xdb862e){return _0x4c36f9(_0xdb862e);},'QyrXX':function(_0xa4ec44){return _0xa4ec44();},'CXcna':function(_0x1f4f88){return _0x1f4f88();}},_0x5a1686=_0x4ecc93[_0x3f2179(0x22c)][_0x3f2179(0x20e)]('|');let _0x341ce9=0x0;while(!![]){switch(_0x5a1686[_0x341ce9++]){case'0':this[_0x3f2179(0x198)]&&_0x4ecc93[_0x3f2179(0x1db)](this['driver'][_0x3f2179(0x1b1)][_0x3f2179(0x208)],_0x4ecc93[_0x3f2179(0x206)])&&_0x4ecc93[_0x3f2179(0x21d)](mockPWBrowserType,null);continue;case'1':this[_0x3f2179(0x198)]=_0x45270c;continue;case'2':this['_paths']=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x3f2179(0x23f)]['location_prefix']);continue;case'3':this['enabled']=_0x4ecc93['QyrXX'](shouldProcessEventForTesthub);continue;case'4':this[_0x3f2179(0x23f)]=_0x4ecc93[_0x3f2179(0x1a8)](getTestEnv);continue;case'5':this[_0x3f2179(0x1b2)]=_0x3d9236[_0x3f2179(0x1b2)];continue;}break;}}[a4_0x441178(0x173)](){const _0x501709=a4_0x441178;if(!this[_0x501709(0x236)])return;testOpsHelper[_0x501709(0x1ce)](),process['removeAllListeners']('bs:addLog:'+process[_0x501709(0x202)]),process['on'](_0x501709(0x187)+process[_0x501709(0x202)],this[_0x501709(0x1c2)][_0x501709(0x1cb)](this));}async[a4_0x441178(0x1d9)](){const _0x32d54e=a4_0x441178;await RequestQueueHandler[_0x32d54e(0x20a)]()[_0x32d54e(0x1a4)]();}async[a4_0x441178(0x1c2)](_0x24002a){const _0x3e4c0e=a4_0x441178,_0x4e3ee1={'USqPh':_0x3e4c0e(0x1f5),'Oeisd':function(_0x3b9340,_0x1795c9){return _0x3b9340(_0x1795c9);}};try{this[_0x3e4c0e(0x1e3)]&&!this[_0x3e4c0e(0x1e3)][_0x3e4c0e(0x1b5)]&&(_0x24002a[_0x3e4c0e(0x257)]=this[_0x3e4c0e(0x1e3)][_0x3e4c0e(0x1d4)]);!_0x24002a[_0x3e4c0e(0x257)]&&this[_0x3e4c0e(0x221)]&&!this[_0x3e4c0e(0x221)]['markedStatus']&&(_0x24002a['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x24002a['hook_run_uuid']||_0x24002a[_0x3e4c0e(0x1d1)]){const _0x3dd671={};_0x3dd671[_0x3e4c0e(0x23b)]=_0x4e3ee1[_0x3e4c0e(0x216)],_0x3dd671[_0x3e4c0e(0x1fa)]=[_0x24002a],await SessionHandler['uploadEventData'](_0x3dd671);}}catch(_0x14dd65){_0x4e3ee1[_0x3e4c0e(0x19d)](debug,_0x3e4c0e(0x179)+_0x14dd65);}}async[a4_0x441178(0x22b)](_0x115093){const _0x5079b4=a4_0x441178,_0x1ea4a6={'qjqmL':'CBTSessionCreated','FPbmD':function(_0x4403e7,_0x182a74){return _0x4403e7(_0x182a74);}};if(!this[_0x5079b4(0x236)])return;const _0x357caa=this[_0x5079b4(0x1d0)](this[_0x5079b4(0x198)]);try{const _0x2310dc={};_0x2310dc[_0x5079b4(0x1e5)]=_0x115093,_0x2310dc[_0x5079b4(0x1a1)]=_0x357caa;const _0x599649=_0x2310dc,_0x52c31e={};_0x52c31e[_0x5079b4(0x23b)]=_0x1ea4a6[_0x5079b4(0x1d5)],_0x52c31e[_0x5079b4(0x1a7)]=_0x599649,await SessionHandler[_0x5079b4(0x1b6)](_0x52c31e);}catch(_0x85f71d){_0x1ea4a6[_0x5079b4(0x178)](debug,_0x5079b4(0x1e7)+_0x85f71d);}}[a4_0x441178(0x1d0)](_0x4f077b){const _0x2c70cb={'vBasc':function(_0xc13b73,_0x7044b1){return _0xc13b73(_0x7044b1);}};return _0x2c70cb['vBasc'](fetchPlatformDetails,_0x4f077b);}[a4_0x441178(0x215)]=_0xc7c771=>{const _0x23d9fe=a4_0x441178,_0x1ff6c5={};_0x1ff6c5[_0x23d9fe(0x213)]='_beforeEach',_0x1ff6c5['FrleZ']='_afterEach';const _0x57f2e1=_0x1ff6c5;if(!_0xc7c771||!_0xc7c771[_0x23d9fe(0x209)])return;[_0x57f2e1['fGBgw'],_0x57f2e1['FrleZ']]['forEach'](_0x531966=>{const _0x2e85f0=_0x23d9fe,_0x2f6321=_0xc7c771[_0x2e85f0(0x209)][_0x531966];_0x2f6321[_0x2e85f0(0x226)](_0x476909=>{_0x476909['hookAnalyticsId']&&(_0x476909['hookAnalyticsId']=null);});});};[a4_0x441178(0x1e6)](_0x452e40){const _0x4e0100=a4_0x441178,_0x183f4e={'wVDeD':_0x4e0100(0x172),'lGDyO':function(_0xcaa2e5){return _0xcaa2e5();},'YXPvU':function(_0x1790f9,_0x1c9261){return _0x1790f9===_0x1c9261;},'WYyRy':_0x4e0100(0x219),'bYqkT':_0x4e0100(0x184),'ECiDO':_0x4e0100(0x1c6),'SvpXp':_0x4e0100(0x182)};if(!_0x452e40||!_0x452e40[_0x4e0100(0x209)])return;[_0x183f4e[_0x4e0100(0x17b)],_0x183f4e[_0x4e0100(0x186)],_0x183f4e[_0x4e0100(0x230)],_0x183f4e[_0x4e0100(0x1ac)]][_0x4e0100(0x226)](_0xcc8bc3=>{const _0x4ad63b=_0x4e0100,_0x534390=_0x452e40[_0x4ad63b(0x209)][_0xcc8bc3]||[];_0x534390[_0x4ad63b(0x226)](_0x5d243f=>{const _0x32afb8=_0x4ad63b;if(_0x5d243f['title']['includes'](_0x183f4e[_0x32afb8(0x183)]))return;if(!_0x5d243f[_0x32afb8(0x1d4)])_0x5d243f[_0x32afb8(0x1d4)]=_0x183f4e['lGDyO'](uuidv4);else _0x5d243f['markedStatus']&&_0x183f4e['YXPvU'](_0xcc8bc3,_0x183f4e[_0x32afb8(0x1ac)])&&(_0x5d243f[_0x32afb8(0x1d4)]=_0x183f4e['lGDyO'](uuidv4),delete _0x5d243f[_0x32afb8(0x1b5)]);});}),this[_0x4e0100(0x1e6)](_0x452e40[_0x4e0100(0x209)]);}['getHooksForTest'](_0x16c47c){const _0x22e0f4=a4_0x441178,_0x4c96fe={};_0x4c96fe[_0x22e0f4(0x201)]='_beforeAll',_0x4c96fe[_0x22e0f4(0x218)]=_0x22e0f4(0x1c6),_0x4c96fe[_0x22e0f4(0x1ba)]=_0x22e0f4(0x182),_0x4c96fe['dwvGR']=_0x22e0f4(0x219);const _0x4276d1=_0x4c96fe;if(!_0x16c47c||!_0x16c47c['parent'])return[];const _0x8337e8=[];return[_0x4276d1[_0x22e0f4(0x201)],_0x4276d1['nzjeQ'],_0x4276d1['yvfQL'],_0x4276d1[_0x22e0f4(0x20c)]][_0x22e0f4(0x226)](_0x49c3b1=>{const _0x287893=_0x22e0f4,_0x1cfd74=_0x16c47c[_0x287893(0x209)][_0x49c3b1]||[];_0x1cfd74['forEach'](_0x17356e=>{const _0x4b034e=_0x287893;_0x17356e[_0x4b034e(0x1d4)]&&_0x8337e8['push'](_0x17356e[_0x4b034e(0x1d4)]);});}),[][_0x22e0f4(0x16f)](_0x8337e8,this[_0x22e0f4(0x23c)](_0x16c47c[_0x22e0f4(0x209)]));}[a4_0x441178(0x222)](_0x72174d){const _0xf1261a=a4_0x441178,_0x38e7c9=/^"(?<hook>.*)" hook:.*$/,_0x28ff16=_0x72174d[_0xf1261a(0x1e0)],_0x2a9b2a=_0x28ff16[_0xf1261a(0x233)](_0x38e7c9);if(_0x2a9b2a&&_0x2a9b2a['groups'])return _0x2a9b2a['groups']['hook'][_0xf1261a(0x20b)]()[_0xf1261a(0x1d8)]('\x20','_');return null;}[a4_0x441178(0x1c4)](_0x48a0aa){const _0x34b61e=a4_0x441178,_0x56a956={};_0x56a956[_0x34b61e(0x21b)]=function(_0x57d5ac,_0x584e0b){return _0x57d5ac===_0x584e0b;},_0x56a956['JfFdi']=function(_0x8f71,_0x1890a0){return _0x8f71===_0x1890a0;},_0x56a956['jgAce']=function(_0x16b567,_0xdd3f18){return _0x16b567===_0xdd3f18;},_0x56a956['YSIsM']=function(_0x87dcb8,_0x195cb3){return _0x87dcb8===_0x195cb3;},_0x56a956[_0x34b61e(0x19b)]=_0x34b61e(0x18a),_0x56a956[_0x34b61e(0x177)]='config';const _0x2beb89=_0x56a956,_0x3cd941=path[_0x34b61e(0x1b4)];if(_0x2beb89[_0x34b61e(0x21b)](_0x48a0aa,null)||_0x2beb89['JfFdi'](_0x48a0aa,'')||_0x2beb89['jgAce'](_0x48a0aa,_0x3cd941)||_0x2beb89[_0x34b61e(0x192)](_0x48a0aa,path['dirname'](_0x48a0aa)))return null;try{return fs['statSync'](path[_0x34b61e(0x21a)](_0x48a0aa,_0x2beb89[_0x34b61e(0x19b)],_0x2beb89[_0x34b61e(0x177)])),_0x48a0aa;}catch(_0x4d6674){const _0x554cd4=path[_0x34b61e(0x1ca)](_0x48a0aa);return this['findGitConfig'](_0x554cd4);}}[a4_0x441178(0x243)](_0x47b8c2){const _0x52961d=a4_0x441178,_0x24cc51={};_0x24cc51['YnaDu']=function(_0x38e4ae,_0x2aa478){return _0x38e4ae>_0x2aa478;};const _0x406384=_0x24cc51;if(_0x47b8c2[_0x52961d(0x234)])return _0x47b8c2[_0x52961d(0x234)];if(_0x47b8c2[_0x52961d(0x18b)]){const _0x234edc=_0x47b8c2[_0x52961d(0x18b)]['currentTest']?this[_0x52961d(0x243)](_0x47b8c2[_0x52961d(0x18b)][_0x52961d(0x221)]):null;if(_0x234edc)return _0x234edc;}if(_0x47b8c2[_0x52961d(0x209)]){const _0x4a1047=this['getRootParentFile'](_0x47b8c2['parent'])||(_0x47b8c2['parent'][_0x52961d(0x18b)]&&_0x47b8c2[_0x52961d(0x209)]['ctx'][_0x52961d(0x221)]?this[_0x52961d(0x243)](_0x47b8c2[_0x52961d(0x209)][_0x52961d(0x18b)][_0x52961d(0x221)]):null);if(_0x4a1047)return _0x4a1047;_0x47b8c2[_0x52961d(0x209)][_0x52961d(0x220)]&&_0x406384[_0x52961d(0x251)](_0x47b8c2[_0x52961d(0x209)][_0x52961d(0x220)][_0x52961d(0x227)],0x0)&&_0x47b8c2[_0x52961d(0x209)]['suites']['forEach'](_0x5bd255=>{const _0x195e08=_0x52961d,_0x57ead9=_0x5bd255[_0x195e08(0x18b)]?this[_0x195e08(0x243)](_0x5bd255['ctx']):null;if(_0x57ead9)return _0x57ead9;});}return null;}[a4_0x441178(0x207)](_0x16f86b){const _0x5a9c2d=a4_0x441178,_0x56502c={};_0x56502c[_0x5a9c2d(0x1be)]=function(_0x114548,_0x556fc1){return _0x114548!==_0x556fc1;};const _0xee6d10=_0x56502c,_0x4537a9=[];if(_0x16f86b&&_0x16f86b[_0x5a9c2d(0x209)]){let _0x19ad28=_0x16f86b[_0x5a9c2d(0x209)];while(_0x19ad28&&_0xee6d10[_0x5a9c2d(0x1be)](_0x19ad28[_0x5a9c2d(0x1e0)],'')){_0x4537a9[_0x5a9c2d(0x174)](_0x19ad28[_0x5a9c2d(0x1e0)]),_0x19ad28=_0x19ad28[_0x5a9c2d(0x209)];}}return _0x4537a9;}[a4_0x441178(0x1ff)](_0x41c10a,_0x3cbc12,_0x4fa5f1=undefined){const _0x428b70=a4_0x441178,_0x36268b={'xTPsu':function(_0x359ac5,_0x2260a9){return _0x359ac5(_0x2260a9);},'iOqtU':function(_0xb00b2b){return _0xb00b2b();},'VWPQk':function(_0x2eea13){return _0x2eea13();},'hmXVz':function(_0x126a14){return _0x126a14();},'NUyJX':function(_0x5ae39a,_0x23b6ae){return _0x5ae39a(_0x23b6ae);},'oYxmO':_0x428b70(0x16e),'ybYJu':_0x428b70(0x249),'gHXBB':function(_0x467626,_0x41bc3a){return _0x467626!==_0x41bc3a;},'sjThv':_0x428b70(0x1a2),'bGHnW':_0x428b70(0x180),'oHnau':_0x428b70(0x1f1),'HYFOX':_0x428b70(0x210),'YjIJc':'skipped','uCuEw':'javascript','RKFzY':function(_0x1d4ac1,_0x40300a){return _0x1d4ac1-_0x40300a;},'hgEhe':function(_0x2ffcb4,_0x21b8a4,_0x26da7e,_0x28d836,_0x55b809){return _0x2ffcb4(_0x21b8a4,_0x26da7e,_0x28d836,_0x55b809);},'hqQpD':function(_0x15fbd5,_0xc6f897){return _0x15fbd5!==_0xc6f897;},'xbmsB':_0x428b70(0x1a1),'peQXy':'meta','eohES':_0x428b70(0x19e),'TdYmL':'failure_backtrace','TuBmc':_0x428b70(0x229),'gkwDr':_0x428b70(0x205),'clvYx':_0x428b70(0x225),'AGeGS':function(_0x87a806,_0xaa0709){return _0x87a806===_0xaa0709;},'OMPLs':'hook_run','zwjUj':_0x428b70(0x1a7)};if(!this['enabled'])return;try{if(_0x3cbc12['fn']&&_0x3cbc12['fn'][_0x428b70(0x197)]()['match'](/browserstack internal helper hook/))return;const _0x35ea23=_0x36268b[_0x428b70(0x22a)](parseEvent,_0x41c10a);if(!_0x35ea23)return;if(_0x35ea23[_0x428b70(0x1ef)]){this[_0x428b70(0x221)]=_0x3cbc12,this[_0x428b70(0x1e3)]=null;if(_0x35ea23[_0x428b70(0x1d7)]||_0x35ea23[_0x428b70(0x17a)]){_0x3cbc12['startedAt']=new Date(),_0x3cbc12['markedStatus']=![];if(!_0x3cbc12['testAnalyticsId'])_0x3cbc12[_0x428b70(0x1fe)]=_0x36268b[_0x428b70(0x1c8)](uuidv4);else _0x3cbc12[_0x428b70(0x1b5)]&&(!_0x3cbc12[_0x428b70(0x1f0)]&&(_0x3cbc12['retryOf']=_0x3cbc12[_0x428b70(0x1fe)]),_0x3cbc12['testAnalyticsId']=_0x36268b[_0x428b70(0x1e2)](uuidv4));}}else{if(_0x35ea23[_0x428b70(0x1a6)]){this[_0x428b70(0x1e3)]=_0x3cbc12;if(_0x35ea23[_0x428b70(0x1d7)]){_0x3cbc12[_0x428b70(0x17d)]=new Date(),_0x3cbc12[_0x428b70(0x1b5)]=![];if(!_0x3cbc12[_0x428b70(0x1d4)])_0x3cbc12[_0x428b70(0x1d4)]=_0x36268b['VWPQk'](uuidv4);else _0x3cbc12['hookAnalyticsId']&&_0x3cbc12['markedStatus']&&(_0x3cbc12[_0x428b70(0x1d4)]=_0x36268b[_0x428b70(0x24b)](uuidv4));}}}if(_0x35ea23[_0x428b70(0x189)]&&_0x3cbc12['markedStatus'])return;let _0xde7514;try{_0xde7514=this[_0x428b70(0x243)](_0x3cbc12);}catch(_0x55b2c5){logger[_0x428b70(0x1c3)](_0x428b70(0x231)+_0x55b2c5),_0xde7514=null;}const _0x1a731c=_0x36268b[_0x428b70(0x1b3)](require,_0x36268b['oYxmO']);let _0x1a83a9=[];_0x4fa5f1&&(_0x1a83a9=[_0x4fa5f1,_0x36268b[_0x428b70(0x1af)]]);const _0x1def53=_0x36268b['gHXBB'](_0x3cbc12[_0x428b70(0x18f)],undefined)?_0x1a731c['inspect'](_0x3cbc12['errorsDetailed'][0x0]):_0x36268b[_0x428b70(0x248)](_0x4fa5f1,undefined)?_0x4fa5f1[_0x428b70(0x197)]():undefined,_0xa2337b=_0xde7514?this[_0x428b70(0x1c4)](_0xde7514):null,_0x1677d8=_0xde7514?this[_0x428b70(0x1da)][_0x428b70(0x19a)](this['getRootParentFile'](_0x3cbc12)):_0x36268b['sjThv'];let _0x34d44d=_0x36268b[_0x428b70(0x199)];const _0x15034f=!_0x35ea23['started']?new Date()[_0x428b70(0x1e8)]():null;if(_0x35ea23[_0x428b70(0x189)])_0x34d44d=_0x4fa5f1?_0x36268b['oHnau']:_0x36268b[_0x428b70(0x224)],_0x3cbc12['markedStatus']=!![];else _0x35ea23[_0x428b70(0x17a)]&&(_0x34d44d=_0x36268b['YjIJc'],_0x3cbc12[_0x428b70(0x1b5)]=!![]);const _0x111687={'framework':this[_0x428b70(0x1b2)],'uuid':_0x3cbc12[_0x428b70(0x1fe)]||_0x3cbc12[_0x428b70(0x1d4)],'name':_0x3cbc12[_0x428b70(0x1e0)],'body':{'lang':_0x36268b[_0x428b70(0x214)],'code':_0x3cbc12['body'][_0x428b70(0x197)]()},'type':_0x3cbc12[_0x428b70(0x246)],'scope':_0x3cbc12['fullTitle'](),'scopes':this[_0x428b70(0x207)](_0x3cbc12),'file_name':_0x1677d8,'vc_filepath':_0xa2337b?path['relative'](_0xa2337b,_0xde7514):null,'location':_0x1677d8,'result':_0x34d44d,'failure_reason':_0x1def53,'duration_in_ms':_0x3cbc12[_0x428b70(0x1ee)]||(_0x35ea23['finished']||_0x35ea23[_0x428b70(0x17a)])?_0x36268b['RKFzY'](Date[_0x428b70(0x1dd)](),new Date(_0x3cbc12['startedAt'])[_0x428b70(0x1c5)]()):null,'started_at':new Date(_0x3cbc12[_0x428b70(0x17d)])[_0x428b70(0x1e8)](),'finished_at':_0x15034f,'failure':testOpsHelper[_0x428b70(0x24c)][_0x428b70(0x1aa)](null,_0x1a83a9),'failure_type':!_0x1def53?null:testOpsHelper['getFailureType'](_0x1def53),'retry_of':_0x3cbc12[_0x428b70(0x1f0)]||null,'tags':_0x3cbc12[_0x428b70(0x244)]||[],'customRerunParam':{'rerun_name':_0x3cbc12['fullTitle']()}};_0x36268b['hgEhe'](appendTesthubParams,_0x111687,_0x41c10a,_0x3cbc12,FRAMEWORKS[_0x428b70(0x171)]);if(_0x35ea23['hook'])[_0x111687[_0x428b70(0x21c)],_0x111687[_0x428b70(0x208)]]=[this[_0x428b70(0x222)](_0x3cbc12),_0x3cbc12[_0x428b70(0x18b)][_0x428b70(0x1ef)][_0x428b70(0x1e0)]],_0x35ea23[_0x428b70(0x189)]?_0x36268b[_0x428b70(0x228)](_0x111687['result'],_0x36268b[_0x428b70(0x20d)])&&(_0x111687[_0x428b70(0x232)]=_0x36268b['HYFOX']):_0x111687[_0x428b70(0x1fd)]={};else _0x35ea23[_0x428b70(0x1ef)]&&(this[_0x428b70(0x1e6)](_0x3cbc12),_0x35ea23[_0x428b70(0x17a)]&&this['resetSkipTestHooks'](_0x3cbc12),(_0x35ea23[_0x428b70(0x189)]||_0x35ea23['skipped'])&&(_0x111687[_0x428b70(0x252)]=this[_0x428b70(0x23c)](_0x3cbc12)));this['driver']&&(_0x35ea23[_0x428b70(0x1d7)]||_0x35ea23[_0x428b70(0x17a)])&&(_0x111687[_0x36268b[_0x428b70(0x247)]]=this['getCBTInfo'](this[_0x428b70(0x198)]));_0x35ea23[_0x428b70(0x1ef)]&&_0x35ea23[_0x428b70(0x189)]&&_0x3cbc12[_0x428b70(0x24f)]&&(_0x111687[_0x36268b[_0x428b70(0x1e1)]]={'feature':{'name':_0x3cbc12[_0x428b70(0x209)][_0x428b70(0x19c)]['name'],'path':_0x111687[_0x428b70(0x1f8)],'description':_0x3cbc12[_0x428b70(0x209)][_0x428b70(0x1ad)]},'scenario':{'name':_0x3cbc12[_0x428b70(0x1e0)]},'steps':_0x3cbc12[_0x428b70(0x24f)]});const _0x1b7369=_0x111687[_0x36268b[_0x428b70(0x1c7)]][0x0];_0x1b7369&&(_0x111687[_0x36268b[_0x428b70(0x16d)]]=_0x1b7369[_0x36268b[_0x428b70(0x245)]],_0x111687[_0x36268b[_0x428b70(0x1fb)]]=_0x1b7369[_0x36268b[_0x428b70(0x1a9)]]);if(_0x3cbc12['bddSteps'])for(const _0x1d9b1f of _0x3cbc12[_0x428b70(0x24f)]){!_0x1d9b1f[_0x428b70(0x203)]&&(_0x1d9b1f['finished_at']=new Date()['toISOString'](),_0x36268b['AGeGS'](_0x1d9b1f['result'],_0x36268b[_0x428b70(0x199)])&&(_0x1b7369?(_0x1d9b1f['result']=_0x36268b[_0x428b70(0x20d)],_0x1d9b1f[_0x428b70(0x19e)]=_0x1b7369[_0x36268b[_0x428b70(0x245)]][0x0]):_0x1d9b1f[_0x428b70(0x232)]=_0x36268b[_0x428b70(0x224)]));}const _0x1477d4={};_0x1477d4['event_type']=_0x35ea23[_0x428b70(0x17a)]?TEST_EVENTS[_0x428b70(0x22e)]:_0x41c10a;const _0x37df97=_0x1477d4;return _0x35ea23[_0x428b70(0x1a6)]?_0x37df97[_0x36268b[_0x428b70(0x18c)]]=_0x111687:_0x37df97[_0x36268b[_0x428b70(0x196)]]=_0x111687,_0x37df97;}catch(_0x32a473){logger['debug'](_0x428b70(0x24a)+_0x41c10a+'\x20with\x20error\x20:\x20'+_0x32a473);}}async['fireEvent'](_0x117a48,_0x5213d2){const _0x1694d7=a4_0x441178;if(!this[_0x1694d7(0x236)]||!_0x5213d2||!_0x117a48)return![];try{return await SessionHandler[_0x1694d7(0x1b6)](_0x5213d2);}catch(_0x36e9d7){logger[_0x1694d7(0x1c3)](_0x1694d7(0x188)+_0x117a48+_0x1694d7(0x240)+_0x36e9d7);}}[a4_0x441178(0x250)](_0x1b0060){const _0x4aa70a=a4_0x441178,_0x5158a8={};_0x5158a8[_0x4aa70a(0x1f9)]=_0x4aa70a(0x180);const _0x22fa2c=_0x5158a8;return{'id':_0x1b0060['stepAnalyticsId'],'text':_0x1b0060[_0x4aa70a(0x1f3)],'keyword':_0x1b0060[_0x4aa70a(0x238)],'started_at':_0x1b0060['startedAt'][_0x4aa70a(0x1e8)](),'result':_0x22fa2c[_0x4aa70a(0x1f9)]};}[a4_0x441178(0x1c1)](_0x49a4be){const _0xb0de3b=a4_0x441178,_0x5b2736={'RLhpB':function(_0x169397){return _0x169397();}};!this[_0xb0de3b(0x221)][_0xb0de3b(0x24f)]&&(this[_0xb0de3b(0x221)][_0xb0de3b(0x24f)]=[]),!_0x49a4be[_0xb0de3b(0x18d)]&&(_0x49a4be[_0xb0de3b(0x18d)]=_0x5b2736[_0xb0de3b(0x18e)](uuidv4),_0x49a4be['startedAt']=new Date(),this[_0xb0de3b(0x221)][_0xb0de3b(0x24f)][_0xb0de3b(0x174)](this[_0xb0de3b(0x250)](_0x49a4be)));}['bddStepFinish'](_0x5133e3){const _0x214022=a4_0x441178,_0x55df24={'EqcAS':function(_0x16c440,_0x17d83c){return _0x16c440(_0x17d83c);},'DAeDH':_0x214022(0x24e),'EQdbQ':'pending','cRNDi':_0x214022(0x210),'ftaur':function(_0xd6837f,_0x34476d){return _0xd6837f-_0x34476d;}};let _0x502d2a=this['currentTest'][_0x214022(0x24f)][_0x214022(0x17f)](_0x18bfa8=>_0x18bfa8['id']===_0x5133e3[_0x214022(0x18d)]);_0x55df24[_0x214022(0x1b8)](isUndefined,_0x502d2a)&&(_0x502d2a=this[_0x214022(0x250)](_0x5133e3)),_0x502d2a[_0x214022(0x232)]=[_0x55df24[_0x214022(0x211)],_0x55df24['EQdbQ']]['includes'](_0x5133e3[_0x214022(0x19f)])?_0x55df24[_0x214022(0x23e)]:_0x5133e3[_0x214022(0x19f)],_0x502d2a['finished_at']=new Date()[_0x214022(0x1e8)](),_0x502d2a[_0x214022(0x1ee)]=_0x55df24[_0x214022(0x1b0)](Date[_0x214022(0x1dd)](),_0x5133e3[_0x214022(0x17d)][_0x214022(0x1c5)]()),_0x502d2a[_0x214022(0x19e)]=_0x5133e3[_0x214022(0x249)]?_0x5133e3['err'][_0x214022(0x190)]:null;}}const a4_0x350f1c={};a4_0x350f1c['O11yHelper']=O11yHelper,a4_0x350f1c['STATE_PASSED']=STATE_PASSED,a4_0x350f1c[a4_0x441178(0x1f4)]=STATE_FAILED,a4_0x350f1c[a4_0x441178(0x24d)]=TEST_EVENTS,module[a4_0x441178(0x1d3)]=a4_0x350f1c;
|
|
1
|
+
const a4_0x3cee6f=a4_0x1417;(function(_0x23d3ba,_0xe45770){const _0x5c7188=a4_0x1417,_0xe948f3=_0x23d3ba();while(!![]){try{const _0x4dbe1f=-parseInt(_0x5c7188(0x115))/0x1*(-parseInt(_0x5c7188(0x164))/0x2)+parseInt(_0x5c7188(0x19c))/0x3*(parseInt(_0x5c7188(0x119))/0x4)+-parseInt(_0x5c7188(0x12d))/0x5*(parseInt(_0x5c7188(0x195))/0x6)+parseInt(_0x5c7188(0x15e))/0x7+parseInt(_0x5c7188(0x1e1))/0x8*(-parseInt(_0x5c7188(0x14d))/0x9)+-parseInt(_0x5c7188(0x1dc))/0xa*(parseInt(_0x5c7188(0x16c))/0xb)+parseInt(_0x5c7188(0x1c6))/0xc;if(_0x4dbe1f===_0xe45770)break;else _0xe948f3['push'](_0xe948f3['shift']());}catch(_0x29ca66){_0xe948f3['push'](_0xe948f3['shift']());}}}(a4_0xb087,0x811cf));const path=require(a4_0x3cee6f(0x128)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3cee6f(0x1e8)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x3cee6f(0x12f)),{FRAMEWORKS}=require(a4_0x3cee6f(0x143)),logger=require('../../helpers/logger')[a4_0x3cee6f(0x1d1)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x3cee6f(0x1b7)),debug=testOpsHelper[a4_0x3cee6f(0x1b4)],{processAccessibilityCaps}=require(a4_0x3cee6f(0x1d6)),Constants=require(a4_0x3cee6f(0x181)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3cee6f(0x1e2)),STATE_PASSED=a4_0x3cee6f(0x196),STATE_FAILED=a4_0x3cee6f(0x199),a4_0xaf4691={};a4_0xaf4691['TEST_RUN_STARTED']=a4_0x3cee6f(0x183),a4_0xaf4691[a4_0x3cee6f(0x11c)]=a4_0x3cee6f(0x1a7),a4_0xaf4691[a4_0x3cee6f(0x1a9)]='TestRunSkipped',a4_0xaf4691[a4_0x3cee6f(0x158)]=a4_0x3cee6f(0x1cd),a4_0xaf4691[a4_0x3cee6f(0x1c8)]=a4_0x3cee6f(0x1b5);function a4_0xb087(){const _0xcb39e3=['toString','HOOK_RUN_STARTED','shKwg','codeceptjs','lwaBI','tags','lweNO','5990859dUReDk','_beforeAll','EztRw','join','accessibilityPlatform','file','1886124UuycWI','hook_run_uuid','fJQvW','File\x20path\x20could\x20not\x20be\x20found','markedStatus','JeHzl','dMqMb','removeAllListeners','44XQPGgu','exQiQ','GRaJU','retryOf','failure_reason_expanded','launch','crDGJ','HWbTY','__cloud_provider___','patchConsoleLogger','fullTitle','ZECxq','IgggA','length','feature','Playwright','3|5|1|0|4|2','errorsDetailed','browserType.js','location_prefix','LYsNb','../utils/constants','hookAnalyticsId','TestRunStarted','lib','ZPHJy','test_run','title','toUpperCase','xBuQM','groups','FbRgm','npxBk','replace','ctx','UPhIf','ehxiI','_testEnv','HaHKO','message','hook','162IBVclI','passed','file_name','test_run_uuid','failed','obsBrowserTypeMockApplied','daaNr','18XdAXtQ','tmWrO','bddStepFinish','pid','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','failed\x20to\x20get\x20root\x20parent\x20file\x20','forEach','currentHook','resetSkipTestHooks','defineProperty','startedAt','TestRunFinished','TXZQY','TEST_RUN_SKIPPED','meta','comment','driver','javascript','WmtYf','integrations','pWIZo','enabled','EhixL','connectOverCDP','debug','HookRunFinished','PathHelper','../playwright/sessionDetails','parent','aiLfl','CODECEPT','Bokjt','uploadEventData','dirname','sep','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getCBTInfo','yxrox','TMhYU','testAnalyticsId','getRootParentFile','logs','6520164NsqYgt','BrowserType','HOOK_RUN_FINISHED','Not\x20able\x20to\x20import\x20Browser','push','ZLgpj','mapTestHooks','HookRunStarted','suites','body','_afterEach','winstonLogger','start','\x20with\x20error\x20:\x20','uuid','bddStepStart','../playwright/accessibility-helper','appendTestItemLog','bind','sbaJf','dDHGB','toISOString','2361340JtNQBm','started','WhKAk','YwsPV','captureEvent','80fUticO','../../helpers/testhub/utils.js','getHierarchy','cEJsp','stepAnalyticsId','statSync','LQrwi','../../helpers/helper','result','fireEvent','toLowerCase','prototype','Wcdpz','setupBrowserDetails','vWLTz','_afterAll','backtrace','EZmmy','duration','ylHiz','includes','IgkHX','ofeDC','LBThY','FFbWV','_beforeEach','getTime','xtpoM','jfJAu','jnrtb','then','IxxzW','event_type','split','__platformCaps','hooks','keyword','lJKBQ','constructor','exports','1cyKbOS','success','kyvPs','apply','166052pUlEqe','CBTSessionCreated','prefixTestPath','TEST_RUN_FINISHED','ksGts','err','bddSteps','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','RYykI','otBRS','findGitConfig','PLAYWRIGHT_HUB_URL','bs:addLog:','stringify','hook_run','path','getHookType','fWiiC','STATE_FAILED','jgasY','17565TvlOai','find','../mocha/test-observability/mochaUtils','currentTest','failureData','ihrml','initializeBddStep','failure','getInstance','fBolg','finished','test','skipped','pending','oAlJx','XXaGq','kCxfd','DNlXb','now','_paths','vNuae','zqWKp','../../helpers/test-observability/constants','RpkDO','getFailureType','status','LogCreated','wTjiO','finished_at','match','getHooksForTest','vXIJF','920781odfBxL','expanded','NoduB','name','TEST_EVENTS','relative','frameworkName','type','MKMKY','YpDqq'];a4_0xb087=function(){return _0xcb39e3;};return a4_0xb087();}const TEST_EVENTS=a4_0xaf4691,parseEvent=_0x2ae542=>{const _0x2daf02=a4_0x3cee6f,_0x4cf162={};_0x4cf162[_0x2daf02(0x18b)]=function(_0x45c5bc,_0x22aec4){return _0x45c5bc<_0x22aec4;},_0x4cf162[_0x2daf02(0x141)]=function(_0x3ac9dd,_0x464865){return _0x3ac9dd===_0x464865;},_0x4cf162[_0x2daf02(0x122)]=_0x2daf02(0x138),_0x4cf162[_0x2daf02(0x108)]=_0x2daf02(0x194),_0x4cf162[_0x2daf02(0x1a8)]=function(_0x1e57fd,_0x47ad2b){return _0x1e57fd===_0x47ad2b;},_0x4cf162[_0x2daf02(0x1cb)]=_0x2daf02(0x139),_0x4cf162[_0x2daf02(0x160)]=function(_0x4ffb16,_0x19ae05){return _0x4ffb16===_0x19ae05;},_0x4cf162[_0x2daf02(0x104)]='started',_0x4cf162['jUJwF']=_0x2daf02(0x137);const _0x57285d=_0x4cf162,_0x24635a=_0x2ae542[_0x2daf02(0x14a)](/^(.*)Run(.*)$/);if(!_0x24635a)return null;if(_0x57285d[_0x2daf02(0x18b)](_0x24635a['length'],0x3))return null;const _0x37dc45=_0x24635a[0x1][_0x2daf02(0xf7)](),_0x5700f1=_0x24635a[0x2][_0x2daf02(0xf7)]();return{'test':_0x57285d[_0x2daf02(0x141)](_0x37dc45,_0x57285d[_0x2daf02(0x122)]),'hook':_0x57285d[_0x2daf02(0x141)](_0x37dc45,_0x57285d[_0x2daf02(0x108)]),'skipped':_0x57285d[_0x2daf02(0x1a8)](_0x5700f1,_0x57285d[_0x2daf02(0x1cb)]),'started':_0x57285d[_0x2daf02(0x160)](_0x5700f1,_0x57285d[_0x2daf02(0x104)]),'finished':_0x57285d[_0x2daf02(0x160)](_0x5700f1,_0x57285d['jUJwF'])};},mockPWBrowserType=_0x18fc65=>{const _0x8e8a36=a4_0x3cee6f,_0x405c8f={'IgkHX':function(_0x5b9838,_0xba3f88){return _0x5b9838===_0xba3f88;},'TMhYU':'string','niDkx':function(_0x293ec2,_0x1dc081,_0x217cd0){return _0x293ec2(_0x1dc081,_0x217cd0);},'CRPKr':'wsEndpoint','HaHKO':function(_0x3fe90c,_0x28d3ed){return _0x3fe90c(_0x28d3ed);},'npxBk':'browserstack','pVOPh':function(_0x30589e,_0x4c80ff){return _0x30589e(_0x4c80ff);},'UPhIf':_0x8e8a36(0x184),'EZmmy':'client','YwsPV':_0x8e8a36(0x17e),'LQrwi':function(_0x11e123,_0x58959a){return _0x11e123(_0x58959a);},'xflhq':_0x8e8a36(0x1c9),'fBolg':'connect','NoduB':'launch'},_0x4d3955=path['join'](_0x405c8f[_0x8e8a36(0x18f)],_0x405c8f[_0x8e8a36(0xfe)],_0x405c8f[_0x8e8a36(0x1df)]),_0xe2430=_0x405c8f[_0x8e8a36(0x1e7)](importFileFromPWCore,_0x4d3955);if(!_0xe2430){_0x405c8f[_0x8e8a36(0x1e7)](debug,_0x405c8f['xflhq']);return;}const _0x319d26=_0xe2430[_0x8e8a36(0x1c7)],_0x55fc56=_0x319d26[_0x8e8a36(0xf8)];if(_0x55fc56[_0x8e8a36(0x19a)])return;const _0x531e83=_0x55fc56['connect'];Object[_0x8e8a36(0x1a5)](_0x55fc56,_0x405c8f[_0x8e8a36(0x136)],{'get':function(){return async function _0x16332f(_0x2e7d37,_0x49e8d1){const _0xd71773=a4_0x1417,_0x1c7801={'tmWrO':function(_0x26ebc7,_0x256579){const _0x4eb1a1=a4_0x1417;return _0x405c8f[_0x4eb1a1(0x102)](_0x26ebc7,_0x256579);},'ppRey':_0x405c8f[_0xd71773(0x1c2)]},_0x36ee5d=_0x405c8f['niDkx'](nestedKeyValue,_0x2e7d37,[_0x405c8f['CRPKr']])||_0x2e7d37;let _0x3d6094=null,_0x21603a=null;try{[_0x21603a,_0x3d6094]=_0x36ee5d?_0x405c8f[_0xd71773(0x192)](parseWSEndpoint,_0x36ee5d):[null,null],global[_0xd71773(0x10f)]=_0x3d6094,_0x21603a[_0xd71773(0x101)](_0x405c8f['npxBk'])&&(global[_0xd71773(0x174)]=_0x405c8f[_0xd71773(0x18c)]);}catch(_0x176b97){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x36ee5d+'\x20'+_0x176b97);}_0x405c8f['niDkx'](processAccessibilityCaps,_0x3d6094,_0x21603a);if(global[_0xd71773(0x162)]){const _0x4391c4=await _0x55fc56[_0xd71773(0x1b3)][_0xd71773(0x118)](this,[''+Constants[_0xd71773(0x124)]+_0x405c8f['pVOPh'](encodeURIComponent,JSON[_0xd71773(0x126)](_0x3d6094))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x4391c4,_0x18fc65,_0x36ee5d),_0x4391c4;}return _0x531e83[_0xd71773(0x118)](this,arguments)[_0xd71773(0x10b)](_0x3c0a9d=>{const _0x252608=_0xd71773;let _0x4c2f31=_0x2e7d37['wsEndpoint'];return _0x1c7801[_0x252608(0x19d)](typeof _0x2e7d37,_0x1c7801['ppRey'])&&(_0x4c2f31=_0x2e7d37),PlaywrightSessionDetails[_0x252608(0xfa)](_0x3c0a9d,_0x18fc65,_0x4c2f31),_0x3c0a9d;});};}});const _0x14d4e4=_0x55fc56[_0x8e8a36(0x171)];Object[_0x8e8a36(0x1a5)](_0x55fc56,_0x405c8f[_0x8e8a36(0x14f)],{'get':function(){return async function _0xd900de(){return _0x14d4e4['apply'](this,arguments)['then'](_0x33782c=>{const _0x10b2ac=a4_0x1417;return PlaywrightSessionDetails[_0x10b2ac(0xfa)](_0x33782c,null),_0x33782c;});};}});};class O11yHelper{[a4_0x3cee6f(0x130)]=null;[a4_0x3cee6f(0x1a3)]=null;['enabled']=![];[a4_0x3cee6f(0x153)]=![];constructor(_0x6555c1,_0x3b9cbd){const _0x5021e6=a4_0x3cee6f,_0x2ff7dd={'rrRgm':_0x5021e6(0x17c),'fJQvW':function(_0x1df80d){return _0x1df80d();},'xBuQM':function(_0x6d03d,_0x433cfb){return _0x6d03d===_0x433cfb;},'WhKAk':_0x5021e6(0x17b),'YZIQM':function(_0x407d9d,_0x1db9d2){return _0x407d9d(_0x1db9d2);},'PXGzR':function(_0xb2b8cf){return _0xb2b8cf();}},_0xd68065=_0x2ff7dd['rrRgm'][_0x5021e6(0x10e)]('|');let _0x3d776b=0x0;while(!![]){switch(_0xd68065[_0x3d776b++]){case'0':this[_0x5021e6(0x191)]=_0x2ff7dd[_0x5021e6(0x166)](getTestEnv);continue;case'1':this['driver']=_0x6555c1;continue;case'2':this[_0x5021e6(0x1ac)]&&_0x2ff7dd[_0x5021e6(0x189)](this['driver'][_0x5021e6(0x113)][_0x5021e6(0x150)],_0x2ff7dd[_0x5021e6(0x1de)])&&_0x2ff7dd['YZIQM'](mockPWBrowserType,null);continue;case'3':this[_0x5021e6(0x1b1)]=_0x2ff7dd['PXGzR'](shouldProcessEventForTesthub);continue;case'4':this[_0x5021e6(0x140)]=new testOpsHelper[(_0x5021e6(0x1b6))]({'cwd':process['cwd']()},this['_testEnv'][_0x5021e6(0x17f)]);continue;case'5':this[_0x5021e6(0x153)]=_0x3b9cbd[_0x5021e6(0x153)];continue;}break;}}[a4_0x3cee6f(0x1d2)](){const _0xf5e35d=a4_0x3cee6f;if(!this['enabled'])return;testOpsHelper[_0xf5e35d(0x175)](),process[_0xf5e35d(0x16b)](_0xf5e35d(0x125)+process[_0xf5e35d(0x19f)]),process['on']('bs:addLog:'+process[_0xf5e35d(0x19f)],this[_0xf5e35d(0x1d7)][_0xf5e35d(0x1d8)](this));}async['stop'](){const _0x1bff6f=a4_0x3cee6f;await RequestQueueHandler[_0x1bff6f(0x135)]()['shutdown']();}async[a4_0x3cee6f(0x1d7)](_0x3026ce){const _0x2b9b92=a4_0x3cee6f,_0x8db23={'ImmsX':_0x2b9b92(0x147),'CSosN':function(_0x50ca98,_0x824833){return _0x50ca98(_0x824833);}};try{this[_0x2b9b92(0x1a3)]&&!this[_0x2b9b92(0x1a3)][_0x2b9b92(0x168)]&&(_0x3026ce[_0x2b9b92(0x165)]=this[_0x2b9b92(0x1a3)]['hookAnalyticsId']);!_0x3026ce['hook_run_uuid']&&this[_0x2b9b92(0x130)]&&!this[_0x2b9b92(0x130)]['markedStatus']&&(_0x3026ce['test_run_uuid']=this['currentTest'][_0x2b9b92(0x1c3)]);if(_0x3026ce[_0x2b9b92(0x165)]||_0x3026ce[_0x2b9b92(0x198)]){const _0x27a785={};_0x27a785['event_type']=_0x8db23['ImmsX'],_0x27a785[_0x2b9b92(0x1c5)]=[_0x3026ce],await SessionHandler[_0x2b9b92(0x1bc)](_0x27a785);}}catch(_0x1617ac){_0x8db23['CSosN'](debug,_0x2b9b92(0x1a0)+_0x1617ac);}}async['sendCBTInfo'](_0x474844){const _0x9b6948=a4_0x3cee6f,_0x1d7baf={'JusAT':_0x9b6948(0x11a),'ylHiz':function(_0x3baefb,_0x5b0652){return _0x3baefb(_0x5b0652);}};if(!this[_0x9b6948(0x1b1)])return;const _0x5617e4=this[_0x9b6948(0x1c0)](this['driver']);try{const _0x37f723={};_0x37f723[_0x9b6948(0x1d4)]=_0x474844,_0x37f723[_0x9b6948(0x1af)]=_0x5617e4;const _0x998758=_0x37f723,_0x45da1a={};_0x45da1a[_0x9b6948(0x10d)]=_0x1d7baf['JusAT'],_0x45da1a['test_run']=_0x998758,await SessionHandler[_0x9b6948(0x1bc)](_0x45da1a);}catch(_0x229837){_0x1d7baf[_0x9b6948(0x100)](debug,_0x9b6948(0x120)+_0x229837);}}['getCBTInfo'](_0x2584f7){const _0x2f6d9d=a4_0x3cee6f,_0x5b6c73={'daaNr':function(_0x14d450,_0x343c5d){return _0x14d450(_0x343c5d);}};return _0x5b6c73[_0x2f6d9d(0x19b)](fetchPlatformDetails,_0x2584f7);}[a4_0x3cee6f(0x1a4)]=_0x3266e=>{const _0x4ff063=a4_0x3cee6f,_0x5465cc={};_0x5465cc[_0x4ff063(0x180)]='_beforeEach',_0x5465cc[_0x4ff063(0x1bb)]=_0x4ff063(0x1d0);const _0x55a5a4=_0x5465cc;if(!_0x3266e||!_0x3266e[_0x4ff063(0x1b8)])return;[_0x55a5a4['LYsNb'],_0x55a5a4['Bokjt']]['forEach'](_0x322b17=>{const _0x20ab1a=_0x4ff063,_0x4315c9=_0x3266e[_0x20ab1a(0x1b8)][_0x322b17];_0x4315c9[_0x20ab1a(0x1a2)](_0x42e176=>{const _0x58a452=_0x20ab1a;_0x42e176['hookAnalyticsId']&&(_0x42e176[_0x58a452(0x182)]=null);});});};[a4_0x3cee6f(0x1cc)](_0x544987){const _0x2ec12d=a4_0x3cee6f,_0x1d3411={'jnrtb':_0x2ec12d(0x15a),'lDCli':function(_0x3c25ae){return _0x3c25ae();},'kyvPs':function(_0xb3aa46,_0x1391bc){return _0xb3aa46===_0x1391bc;},'YpDqq':_0x2ec12d(0x1d0),'slYix':_0x2ec12d(0x15f),'HWbTY':_0x2ec12d(0xfc),'JeHzl':_0x2ec12d(0x106)};if(!_0x544987||!_0x544987[_0x2ec12d(0x1b8)])return;[_0x1d3411['slYix'],_0x1d3411[_0x2ec12d(0x173)],_0x1d3411[_0x2ec12d(0x169)],_0x1d3411[_0x2ec12d(0x156)]]['forEach'](_0xa45b4e=>{const _0x539d45=_0x2ec12d,_0x14e53c={'ehxiI':_0x1d3411[_0x539d45(0x10a)],'BqeOe':function(_0x258b97){return _0x1d3411['lDCli'](_0x258b97);},'wTjiO':function(_0x1a5d92,_0x15d623){const _0x15eb9e=_0x539d45;return _0x1d3411[_0x15eb9e(0x117)](_0x1a5d92,_0x15d623);},'IxxzW':_0x1d3411[_0x539d45(0x156)],'srwUG':function(_0x48e69f){return _0x1d3411['lDCli'](_0x48e69f);}},_0x5b0444=_0x544987['parent'][_0xa45b4e]||[];_0x5b0444['forEach'](_0x11b7f5=>{const _0x5c78f2=_0x539d45;if(_0x11b7f5[_0x5c78f2(0x187)][_0x5c78f2(0x101)](_0x14e53c[_0x5c78f2(0x190)]))return;if(!_0x11b7f5['hookAnalyticsId'])_0x11b7f5['hookAnalyticsId']=_0x14e53c['BqeOe'](uuidv4);else _0x11b7f5[_0x5c78f2(0x168)]&&_0x14e53c[_0x5c78f2(0x148)](_0xa45b4e,_0x14e53c[_0x5c78f2(0x10c)])&&(_0x11b7f5['hookAnalyticsId']=_0x14e53c['srwUG'](uuidv4),delete _0x11b7f5[_0x5c78f2(0x168)]);});}),this['mapTestHooks'](_0x544987[_0x2ec12d(0x1b8)]);}[a4_0x3cee6f(0x14b)](_0x2785ec){const _0x3c9887=a4_0x3cee6f,_0x4e5056={};_0x4e5056['DNlXb']='_beforeAll',_0x4e5056['yxrox']=_0x3c9887(0xfc),_0x4e5056[_0x3c9887(0x15d)]='_beforeEach',_0x4e5056['ZECxq']='_afterEach';const _0x2bbab3=_0x4e5056;if(!_0x2785ec||!_0x2785ec[_0x3c9887(0x1b8)])return[];const _0x565386=[];return[_0x2bbab3[_0x3c9887(0x13e)],_0x2bbab3[_0x3c9887(0x1c1)],_0x2bbab3[_0x3c9887(0x15d)],_0x2bbab3[_0x3c9887(0x177)]][_0x3c9887(0x1a2)](_0x2030af=>{const _0x34a9bd=_0x2785ec['parent'][_0x2030af]||[];_0x34a9bd['forEach'](_0x29cad1=>{_0x29cad1['hookAnalyticsId']&&_0x565386['push'](_0x29cad1['hookAnalyticsId']);});}),[]['concat'](_0x565386,this[_0x3c9887(0x14b)](_0x2785ec[_0x3c9887(0x1b8)]));}[a4_0x3cee6f(0x129)](_0x46c416){const _0x60c50c=a4_0x3cee6f,_0x185ef9=/^"(?<hook>.*)" hook:.*$/,_0x94a43d=_0x46c416[_0x60c50c(0x187)],_0x3b088d=_0x94a43d['match'](_0x185ef9);if(_0x3b088d&&_0x3b088d['groups'])return _0x3b088d[_0x60c50c(0x18a)][_0x60c50c(0x194)][_0x60c50c(0x188)]()[_0x60c50c(0x18d)]('\x20','_');return null;}['findGitConfig'](_0x556a34){const _0x3274bb=a4_0x3cee6f,_0xbd68a7={};_0xbd68a7[_0x3274bb(0xfb)]=function(_0x337f26,_0xf3e6ea){return _0x337f26===_0xf3e6ea;},_0xbd68a7[_0x3274bb(0x16e)]=function(_0x2a78de,_0x2f68a6){return _0x2a78de===_0x2f68a6;},_0xbd68a7['dNAWV']='.git',_0xbd68a7[_0x3274bb(0x109)]='config';const _0x20f249=_0xbd68a7,_0x300f03=path[_0x3274bb(0x1be)];if(_0x20f249[_0x3274bb(0xfb)](_0x556a34,null)||_0x20f249[_0x3274bb(0x16e)](_0x556a34,'')||_0x20f249[_0x3274bb(0xfb)](_0x556a34,_0x300f03)||_0x20f249[_0x3274bb(0xfb)](_0x556a34,path[_0x3274bb(0x1bd)](_0x556a34)))return null;try{return fs[_0x3274bb(0x1e6)](path[_0x3274bb(0x161)](_0x556a34,_0x20f249['dNAWV'],_0x20f249[_0x3274bb(0x109)])),_0x556a34;}catch(_0x3a5e34){const _0x3933a7=path[_0x3274bb(0x1bd)](_0x556a34);return this[_0x3274bb(0x123)](_0x3933a7);}}[a4_0x3cee6f(0x1c4)](_0x191890){const _0x34f09a=a4_0x3cee6f,_0x21e6a6={};_0x21e6a6[_0x34f09a(0x15b)]=function(_0x3475cc,_0x103245){return _0x3475cc>_0x103245;};const _0xa5f18c=_0x21e6a6;if(_0x191890[_0x34f09a(0x163)])return _0x191890[_0x34f09a(0x163)];if(_0x191890['ctx']){const _0x56a388=_0x191890[_0x34f09a(0x18e)][_0x34f09a(0x130)]?this['getRootParentFile'](_0x191890[_0x34f09a(0x18e)][_0x34f09a(0x130)]):null;if(_0x56a388)return _0x56a388;}if(_0x191890[_0x34f09a(0x1b8)]){const _0x463f91=this[_0x34f09a(0x1c4)](_0x191890[_0x34f09a(0x1b8)])||(_0x191890[_0x34f09a(0x1b8)][_0x34f09a(0x18e)]&&_0x191890[_0x34f09a(0x1b8)][_0x34f09a(0x18e)]['currentTest']?this[_0x34f09a(0x1c4)](_0x191890[_0x34f09a(0x1b8)][_0x34f09a(0x18e)][_0x34f09a(0x130)]):null);if(_0x463f91)return _0x463f91;_0x191890['parent']['suites']&&_0xa5f18c['lwaBI'](_0x191890[_0x34f09a(0x1b8)][_0x34f09a(0x1ce)][_0x34f09a(0x179)],0x0)&&_0x191890[_0x34f09a(0x1b8)][_0x34f09a(0x1ce)][_0x34f09a(0x1a2)](_0x4a02fa=>{const _0x22a6c3=_0x34f09a,_0x542bb0=_0x4a02fa[_0x22a6c3(0x18e)]?this[_0x22a6c3(0x1c4)](_0x4a02fa[_0x22a6c3(0x18e)]):null;if(_0x542bb0)return _0x542bb0;});}return null;}[a4_0x3cee6f(0x1e3)](_0x12e727){const _0xa34ed5=a4_0x3cee6f,_0x5e0662={};_0x5e0662[_0xa34ed5(0x16a)]=function(_0x5018fa,_0x49bb0d){return _0x5018fa!==_0x49bb0d;};const _0x498d63=_0x5e0662,_0x4586bb=[];if(_0x12e727&&_0x12e727['parent']){let _0x33edca=_0x12e727[_0xa34ed5(0x1b8)];while(_0x33edca&&_0x498d63[_0xa34ed5(0x16a)](_0x33edca[_0xa34ed5(0x187)],'')){_0x4586bb[_0xa34ed5(0x1ca)](_0x33edca['title']),_0x33edca=_0x33edca[_0xa34ed5(0x1b8)];}}return _0x4586bb;}[a4_0x3cee6f(0x1e0)](_0x1205c7,_0xbc3129,_0x4269b5=undefined){const _0x3c2a47=a4_0x3cee6f,_0x178193={'FFbWV':function(_0x41cb40,_0x4bb329){return _0x41cb40(_0x4bb329);},'GGGgI':function(_0x1ac81f){return _0x1ac81f();},'exQiQ':function(_0x2f2a28){return _0x2f2a28();},'MKMKY':function(_0x2b647f,_0x446d30){return _0x2b647f(_0x446d30);},'cEJsp':'util','IgggA':_0x3c2a47(0x11e),'shKwg':function(_0x111521,_0x50dcb1){return _0x111521!==_0x50dcb1;},'NHAzg':function(_0x588fe6,_0x135239){return _0x588fe6!==_0x135239;},'zqWKp':_0x3c2a47(0x167),'pWIZo':_0x3c2a47(0x13a),'oAlJx':_0x3c2a47(0x199),'ZPHJy':_0x3c2a47(0x196),'sbaJf':_0x3c2a47(0x139),'MIURa':_0x3c2a47(0x1ad),'Wcdpz':function(_0x4402a7,_0x42f2df){return _0x4402a7-_0x42f2df;},'RpkDO':function(_0xa0789e,_0xf14c4f,_0x2ca85a,_0x52b4da,_0x5963d5){return _0xa0789e(_0xf14c4f,_0x2ca85a,_0x52b4da,_0x5963d5);},'vXIJF':function(_0x53a98b,_0x529fc5){return _0x53a98b!==_0x529fc5;},'RYykI':_0x3c2a47(0x1af),'kCxfd':_0x3c2a47(0x1aa),'fWiiC':_0x3c2a47(0x134),'ihrml':'failure_backtrace','ofeDC':_0x3c2a47(0xfd),'lJKBQ':_0x3c2a47(0x170),'aiLfl':_0x3c2a47(0x14e),'XXaGq':function(_0x2c435f,_0x4cd9c4){return _0x2c435f===_0x4cd9c4;},'cIqEH':_0x3c2a47(0x127),'WmtYf':_0x3c2a47(0x186)};if(!this[_0x3c2a47(0x1b1)])return;try{if(_0xbc3129['fn']&&_0xbc3129['fn'][_0x3c2a47(0x157)]()[_0x3c2a47(0x14a)](/browserstack internal helper hook/))return;const _0x37fa3e=_0x178193[_0x3c2a47(0x105)](parseEvent,_0x1205c7);if(!_0x37fa3e)return;if(_0x37fa3e[_0x3c2a47(0x138)]){this[_0x3c2a47(0x130)]=_0xbc3129,this['currentHook']=null;if(_0x37fa3e['started']||_0x37fa3e['skipped']){_0xbc3129[_0x3c2a47(0x1a6)]=new Date(),_0xbc3129['markedStatus']=![];if(!_0xbc3129[_0x3c2a47(0x1c3)])_0xbc3129[_0x3c2a47(0x1c3)]=_0x178193['GGGgI'](uuidv4);else _0xbc3129[_0x3c2a47(0x168)]&&(!_0xbc3129['retryOf']&&(_0xbc3129[_0x3c2a47(0x16f)]=_0xbc3129[_0x3c2a47(0x1c3)]),_0xbc3129[_0x3c2a47(0x1c3)]=_0x178193['GGGgI'](uuidv4));}}else{if(_0x37fa3e[_0x3c2a47(0x194)]){this[_0x3c2a47(0x1a3)]=_0xbc3129;if(_0x37fa3e[_0x3c2a47(0x1dd)]){_0xbc3129[_0x3c2a47(0x1a6)]=new Date(),_0xbc3129[_0x3c2a47(0x168)]=![];if(!_0xbc3129['hookAnalyticsId'])_0xbc3129[_0x3c2a47(0x182)]=_0x178193['exQiQ'](uuidv4);else _0xbc3129[_0x3c2a47(0x182)]&&_0xbc3129[_0x3c2a47(0x168)]&&(_0xbc3129[_0x3c2a47(0x182)]=_0x178193[_0x3c2a47(0x16d)](uuidv4));}}}if(_0x37fa3e[_0x3c2a47(0x137)]&&_0xbc3129[_0x3c2a47(0x168)])return;let _0x12c277;try{_0x12c277=this[_0x3c2a47(0x1c4)](_0xbc3129);}catch(_0x580539){logger[_0x3c2a47(0x1b4)](_0x3c2a47(0x1a1)+_0x580539),_0x12c277=null;}const _0x109380=_0x178193[_0x3c2a47(0x155)](require,_0x178193[_0x3c2a47(0x1e4)]);let _0x398966=[];_0x4269b5&&(_0x398966=[_0x4269b5,_0x178193[_0x3c2a47(0x178)]]);const _0x19e9a0=_0x178193[_0x3c2a47(0x159)](_0xbc3129[_0x3c2a47(0x17d)],undefined)?_0x109380['inspect'](_0xbc3129[_0x3c2a47(0x17d)][0x0]):_0x178193['NHAzg'](_0x4269b5,undefined)?_0x4269b5['toString']():undefined,_0x5a24e8=_0x12c277?this[_0x3c2a47(0x123)](_0x12c277):null,_0x1237e9=_0x12c277?this[_0x3c2a47(0x140)][_0x3c2a47(0x11b)](this['getRootParentFile'](_0xbc3129)):_0x178193[_0x3c2a47(0x142)];let _0x5b5741=_0x178193['pWIZo'];const _0x3ccd5f=!_0x37fa3e['started']?new Date()['toISOString']():null;if(_0x37fa3e[_0x3c2a47(0x137)])_0x5b5741=_0x4269b5?_0x178193[_0x3c2a47(0x13b)]:_0x178193['ZPHJy'],_0xbc3129[_0x3c2a47(0x168)]=!![];else _0x37fa3e['skipped']&&(_0x5b5741=_0x178193[_0x3c2a47(0x1d9)],_0xbc3129[_0x3c2a47(0x168)]=!![]);const _0x295e2f={'framework':this[_0x3c2a47(0x153)],'uuid':_0xbc3129[_0x3c2a47(0x1c3)]||_0xbc3129[_0x3c2a47(0x182)],'name':_0xbc3129[_0x3c2a47(0x187)],'body':{'lang':_0x178193['MIURa'],'code':_0xbc3129[_0x3c2a47(0x1cf)][_0x3c2a47(0x157)]()},'type':_0xbc3129[_0x3c2a47(0x154)],'scope':_0xbc3129[_0x3c2a47(0x176)](),'scopes':this[_0x3c2a47(0x1e3)](_0xbc3129),'file_name':_0x1237e9,'vc_filepath':_0x5a24e8?path[_0x3c2a47(0x152)](_0x5a24e8,_0x12c277):null,'location':_0x1237e9,'result':_0x5b5741,'failure_reason':_0x19e9a0,'duration_in_ms':_0xbc3129[_0x3c2a47(0xff)]||(_0x37fa3e[_0x3c2a47(0x137)]||_0x37fa3e[_0x3c2a47(0x139)])?_0x178193[_0x3c2a47(0xf9)](Date[_0x3c2a47(0x13f)](),new Date(_0xbc3129['startedAt'])[_0x3c2a47(0x107)]()):null,'started_at':new Date(_0xbc3129['startedAt'])[_0x3c2a47(0x1db)](),'finished_at':_0x3ccd5f,'failure':testOpsHelper[_0x3c2a47(0x131)][_0x3c2a47(0x118)](null,_0x398966),'failure_type':!_0x19e9a0?null:testOpsHelper[_0x3c2a47(0x145)](_0x19e9a0),'retry_of':_0xbc3129[_0x3c2a47(0x16f)]||null,'tags':_0xbc3129[_0x3c2a47(0x15c)]||[],'customRerunParam':{'rerun_name':_0xbc3129[_0x3c2a47(0x176)]()}};_0x178193[_0x3c2a47(0x144)](appendTesthubParams,_0x295e2f,_0x1205c7,_0xbc3129,FRAMEWORKS[_0x3c2a47(0x1ba)]);if(_0x37fa3e[_0x3c2a47(0x194)])[_0x295e2f['hook_type'],_0x295e2f[_0x3c2a47(0x150)]]=[this[_0x3c2a47(0x129)](_0xbc3129),_0xbc3129[_0x3c2a47(0x18e)][_0x3c2a47(0x138)][_0x3c2a47(0x187)]],_0x37fa3e[_0x3c2a47(0x137)]?_0x178193[_0x3c2a47(0x14c)](_0x295e2f[_0x3c2a47(0x1e9)],_0x178193[_0x3c2a47(0x13b)])&&(_0x295e2f[_0x3c2a47(0x1e9)]=_0x178193[_0x3c2a47(0x185)]):_0x295e2f[_0x3c2a47(0x1cf)]={};else _0x37fa3e[_0x3c2a47(0x138)]&&(this[_0x3c2a47(0x1cc)](_0xbc3129),_0x37fa3e[_0x3c2a47(0x139)]&&this[_0x3c2a47(0x1a4)](_0xbc3129),(_0x37fa3e[_0x3c2a47(0x137)]||_0x37fa3e[_0x3c2a47(0x139)])&&(_0x295e2f[_0x3c2a47(0x110)]=this[_0x3c2a47(0x14b)](_0xbc3129)));this[_0x3c2a47(0x1ac)]&&(_0x37fa3e['started']||_0x37fa3e[_0x3c2a47(0x139)])&&(_0x295e2f[_0x178193[_0x3c2a47(0x121)]]=this[_0x3c2a47(0x1c0)](this['driver']));_0x37fa3e['test']&&_0x37fa3e[_0x3c2a47(0x137)]&&_0xbc3129[_0x3c2a47(0x11f)]&&(_0x295e2f[_0x178193[_0x3c2a47(0x13d)]]={'feature':{'name':_0xbc3129[_0x3c2a47(0x1b8)][_0x3c2a47(0x17a)][_0x3c2a47(0x150)],'path':_0x295e2f[_0x3c2a47(0x197)],'description':_0xbc3129[_0x3c2a47(0x1b8)][_0x3c2a47(0x1ab)]},'scenario':{'name':_0xbc3129[_0x3c2a47(0x187)]},'steps':_0xbc3129[_0x3c2a47(0x11f)]});const _0x3b812b=_0x295e2f[_0x178193[_0x3c2a47(0x12a)]][0x0];_0x3b812b&&(_0x295e2f[_0x178193[_0x3c2a47(0x132)]]=_0x3b812b[_0x178193[_0x3c2a47(0x103)]],_0x295e2f[_0x178193[_0x3c2a47(0x112)]]=_0x3b812b[_0x178193[_0x3c2a47(0x1b9)]]);if(_0xbc3129[_0x3c2a47(0x11f)])for(const _0x121f54 of _0xbc3129[_0x3c2a47(0x11f)]){!_0x121f54[_0x3c2a47(0x149)]&&(_0x121f54[_0x3c2a47(0x149)]=new Date()[_0x3c2a47(0x1db)](),_0x178193[_0x3c2a47(0x13c)](_0x121f54[_0x3c2a47(0x1e9)],_0x178193[_0x3c2a47(0x1b0)])&&(_0x3b812b?(_0x121f54[_0x3c2a47(0x1e9)]=_0x178193[_0x3c2a47(0x13b)],_0x121f54['failure']=_0x3b812b[_0x178193[_0x3c2a47(0x103)]][0x0]):_0x121f54['result']=_0x178193['ZPHJy']));}const _0x10b65f={};_0x10b65f[_0x3c2a47(0x10d)]=_0x37fa3e[_0x3c2a47(0x139)]?TEST_EVENTS[_0x3c2a47(0x11c)]:_0x1205c7;const _0x510975=_0x10b65f;return _0x37fa3e['hook']?_0x510975[_0x178193['cIqEH']]=_0x295e2f:_0x510975[_0x178193[_0x3c2a47(0x1ae)]]=_0x295e2f,_0x510975;}catch(_0x35d948){logger['debug'](_0x3c2a47(0x1bf)+_0x1205c7+_0x3c2a47(0x1d3)+_0x35d948);}}async[a4_0x3cee6f(0x1ea)](_0x3374ac,_0x47914a){const _0x13d1d4=a4_0x3cee6f;if(!this[_0x13d1d4(0x1b1)]||!_0x47914a||!_0x3374ac)return![];try{return await SessionHandler[_0x13d1d4(0x1bc)](_0x47914a);}catch(_0x3b2ba3){logger['debug']('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x3374ac+'\x20with\x20error\x20:\x20'+_0x3b2ba3);}}[a4_0x3cee6f(0x133)](_0x17007b){const _0x1d43da=a4_0x3cee6f,_0x53b6fa={};_0x53b6fa[_0x1d43da(0x172)]=_0x1d43da(0x13a);const _0x3c7389=_0x53b6fa;return{'id':_0x17007b['stepAnalyticsId'],'text':_0x17007b['text'],'keyword':_0x17007b[_0x1d43da(0x111)],'started_at':_0x17007b[_0x1d43da(0x1a6)][_0x1d43da(0x1db)](),'result':_0x3c7389['crDGJ']};}[a4_0x3cee6f(0x1d5)](_0x3e7c13){const _0x41f365=a4_0x3cee6f,_0x32b32a={'Fbtld':function(_0x406866){return _0x406866();}};!this[_0x41f365(0x130)][_0x41f365(0x11f)]&&(this[_0x41f365(0x130)][_0x41f365(0x11f)]=[]),!_0x3e7c13[_0x41f365(0x1e5)]&&(_0x3e7c13[_0x41f365(0x1e5)]=_0x32b32a['Fbtld'](uuidv4),_0x3e7c13['startedAt']=new Date(),this['currentTest'][_0x41f365(0x11f)][_0x41f365(0x1ca)](this['initializeBddStep'](_0x3e7c13)));}[a4_0x3cee6f(0x19e)](_0x8c6d23){const _0x4022a8=a4_0x3cee6f,_0x205991={'uLWyK':function(_0x59c677,_0x28644b){return _0x59c677(_0x28644b);},'dDHGB':_0x4022a8(0x116),'ksGts':_0x4022a8(0x13a),'jgasY':'passed','EhixL':function(_0x191b7c,_0x4edd13){return _0x191b7c-_0x4edd13;}};let _0xd1a0f7=this[_0x4022a8(0x130)]['bddSteps'][_0x4022a8(0x12e)](_0x354fb0=>_0x354fb0['id']===_0x8c6d23['stepAnalyticsId']);_0x205991['uLWyK'](isUndefined,_0xd1a0f7)&&(_0xd1a0f7=this['initializeBddStep'](_0x8c6d23)),_0xd1a0f7[_0x4022a8(0x1e9)]=[_0x205991[_0x4022a8(0x1da)],_0x205991[_0x4022a8(0x11d)]][_0x4022a8(0x101)](_0x8c6d23[_0x4022a8(0x146)])?_0x205991[_0x4022a8(0x12c)]:_0x8c6d23[_0x4022a8(0x146)],_0xd1a0f7[_0x4022a8(0x149)]=new Date()[_0x4022a8(0x1db)](),_0xd1a0f7[_0x4022a8(0xff)]=_0x205991[_0x4022a8(0x1b2)](Date[_0x4022a8(0x13f)](),_0x8c6d23[_0x4022a8(0x1a6)][_0x4022a8(0x107)]()),_0xd1a0f7[_0x4022a8(0x134)]=_0x8c6d23[_0x4022a8(0x11e)]?_0x8c6d23['err'][_0x4022a8(0x193)]:null;}}const a4_0x44b8ae={};function a4_0x1417(_0x8c6446,_0x495559){const _0xb08774=a4_0xb087();return a4_0x1417=function(_0x141733,_0x25b14c){_0x141733=_0x141733-0xf7;let _0x32bec2=_0xb08774[_0x141733];return _0x32bec2;},a4_0x1417(_0x8c6446,_0x495559);}a4_0x44b8ae['O11yHelper']=O11yHelper,a4_0x44b8ae['STATE_PASSED']=STATE_PASSED,a4_0x44b8ae[a4_0x3cee6f(0x12b)]=STATE_FAILED,a4_0x44b8ae[a4_0x3cee6f(0x151)]=TEST_EVENTS,module[a4_0x3cee6f(0x114)]=a4_0x44b8ae;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x5445c4=a5_0x42c6;(function(_0x4847ac,_0x24a2c0){const _0x11672a=a5_0x42c6,_0x5421d7=_0x4847ac();while(!![]){try{const _0x5d2200=parseInt(_0x11672a(0x134))/0x1*(-parseInt(_0x11672a(0x103))/0x2)+-parseInt(_0x11672a(0x15a))/0x3*(parseInt(_0x11672a(0x143))/0x4)+parseInt(_0x11672a(0x124))/0x5+-parseInt(_0x11672a(0x162))/0x6+parseInt(_0x11672a(0xf5))/0x7*(parseInt(_0x11672a(0xef))/0x8)+-parseInt(_0x11672a(0x12e))/0x9*(parseInt(_0x11672a(0x10c))/0xa)+parseInt(_0x11672a(0x13b))/0xb;if(_0x5d2200===_0x24a2c0)break;else _0x5421d7['push'](_0x5421d7['shift']());}catch(_0x323ed5){_0x5421d7['push'](_0x5421d7['shift']());}}}(a5_0x2d3a,0x50c5e));function a5_0x42c6(_0x5c1198,_0x26c111){const _0x2d3a56=a5_0x2d3a();return a5_0x42c6=function(_0x42c6d6,_0x55efa3){_0x42c6d6=_0x42c6d6-0xec;let _0x1145f5=_0x2d3a56[_0x42c6d6];return _0x1145f5;},a5_0x42c6(_0x5c1198,_0x26c111);}const fs=require('fs'),path=require(a5_0x5445c4(0x148)),util=require(a5_0x5445c4(0x15e)),logger=require(a5_0x5445c4(0x128))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x5445c4(0x136)),helper=require(a5_0x5445c4(0x10b)),utilities=require(a5_0x5445c4(0x120)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x5445c4(0x117)),TestHubHandler=require(a5_0x5445c4(0x130)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x5445c4(0x155)),PerformanceTester=require(a5_0x5445c4(0xfa)),PerformanceEvents=require(a5_0x5445c4(0x151))[a5_0x5445c4(0x15c)];function printCucumberStats(_0x26418e){const _0xff059d=a5_0x5445c4,_0x50ede7={};_0x50ede7[_0xff059d(0x122)]=function(_0x21b0fb,_0x8ee23e){return _0x21b0fb>_0x8ee23e;},_0x50ede7[_0xff059d(0x146)]=function(_0x184cd9,_0x4ef050){return _0x184cd9-_0x4ef050;},_0x50ede7[_0xff059d(0x11d)]=function(_0x2bc797,_0x3a83de){return _0x2bc797>_0x3a83de;},_0x50ede7[_0xff059d(0x125)]=function(_0x44e138,_0x51a231){return _0x44e138>_0x51a231;},_0x50ede7[_0xff059d(0xfb)]=function(_0x37b081,_0xceeeb3){return _0x37b081>_0xceeeb3;},_0x50ede7[_0xff059d(0x13e)]=function(_0x4ec7d3,_0x3851ef){return _0x4ec7d3>_0x3851ef;},_0x50ede7['JZkbC']=function(_0x317e13,_0x364381){return _0x317e13+_0x364381;},_0x50ede7[_0xff059d(0x159)]=function(_0x122c5b,_0x491edb){return _0x122c5b+_0x491edb;},_0x50ede7[_0xff059d(0xf8)]=function(_0x5c2ca7,_0x2f15d5){return _0x5c2ca7+_0x2f15d5;},_0x50ede7[_0xff059d(0x121)]=function(_0x2270a3,_0x19982e){return _0x2270a3===_0x19982e;},_0x50ede7['yCrQz']=_0xff059d(0xfd);const _0x4c7c31=_0x50ede7;let _0x579246=0x0;if(_0x4c7c31[_0xff059d(0x121)](_0x26418e['length'],0x0))return _0x579246;return console['log'](chalk[_0xff059d(0x154)][_0xff059d(0xff)](_0x4c7c31[_0xff059d(0x135)])),_0x26418e['forEach'](_0x49611c=>{const _0x5a7736=_0xff059d,_0x71d24e=_0x49611c[0x0],_0xae1bf4=_0x49611c[0x1];console['log']('\x0a'+chalk['bold'][_0x5a7736(0x163)](''+helper[_0x5a7736(0x119)](_0x71d24e)));const _0x3420b7=_0xae1bf4[_0x5a7736(0x114)],_0x37946b=_0xae1bf4[_0x5a7736(0x129)],_0x3f79ac=_0xae1bf4['scenariosFailed'],_0x3db343=_0xae1bf4[_0x5a7736(0x106)],_0x2fc6cc=_0xae1bf4[_0x5a7736(0x14f)],_0x270efe=_0xae1bf4[_0x5a7736(0x15b)],_0x189d2f=_0xae1bf4['stepsPending'],_0x7db30e=_0xae1bf4[_0x5a7736(0x110)],_0x4d9c54=_0xae1bf4['stepsUnknown'],_0x58fa13=_0xae1bf4['stepsAmbiguous'],_0xcce40b=_0xae1bf4[_0x5a7736(0x145)];let _0x32c577=_0x3420b7+'\x20scenarios';const _0x14f1fb=_0x4c7c31[_0x5a7736(0x122)](_0x4c7c31[_0x5a7736(0x146)](_0x3420b7,_0x3f79ac),0x0)?_0x4c7c31['jBcMV'](_0x3420b7,_0x3f79ac):0x0;if(_0x4c7c31[_0x5a7736(0x122)](_0x3f79ac,0x0)&&_0x4c7c31[_0x5a7736(0x11d)](_0x14f1fb,0x0))_0x32c577+='\x20('+chalk[_0x5a7736(0x154)][_0x5a7736(0x132)](_0x3f79ac+_0x5a7736(0xee))+',\x20'+chalk[_0x5a7736(0x154)][_0x5a7736(0x138)](_0x14f1fb+'\x20passed')+')';else(_0x4c7c31[_0x5a7736(0x125)](_0x3f79ac,0x0)||_0x4c7c31[_0x5a7736(0x125)](_0x14f1fb,0x0))&&(_0x32c577+=_0x4c7c31['otPpA'](_0x3f79ac,0x0)?'\x20('+chalk[_0x5a7736(0x154)]['red'](_0x3f79ac+_0x5a7736(0xee))+')':'\x20('+chalk[_0x5a7736(0x154)]['green'](_0x14f1fb+_0x5a7736(0x101))+')');const _0x23f350=_0x37946b+_0x5a7736(0x118),_0x6b26c4=[];_0x4c7c31[_0x5a7736(0xfb)](_0x58fa13,0x0)&&_0x6b26c4['push'](''+chalk[_0x5a7736(0x154)][_0x5a7736(0x132)](_0x58fa13+_0x5a7736(0x10f)));_0x4c7c31[_0x5a7736(0xfb)](_0x3db343,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk[_0x5a7736(0x154)]['red'](_0x3db343+_0x5a7736(0xee)));_0x4c7c31[_0x5a7736(0x11d)](_0x2fc6cc,0x0)&&_0x6b26c4['push'](''+chalk['bold'][_0x5a7736(0x138)](_0x2fc6cc+_0x5a7736(0x101)));_0x4c7c31[_0x5a7736(0x125)](_0x189d2f,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk[_0x5a7736(0x154)][_0x5a7736(0x163)](_0x189d2f+_0x5a7736(0x139)));_0x4c7c31[_0x5a7736(0x125)](_0x270efe,0x0)&&_0x6b26c4['push'](''+chalk[_0x5a7736(0x154)][_0x5a7736(0x13d)](_0x270efe+_0x5a7736(0x123)));_0x4c7c31[_0x5a7736(0x13e)](_0x7db30e,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk[_0x5a7736(0x154)]['yellow'](_0x7db30e+_0x5a7736(0x113)));_0x4c7c31[_0x5a7736(0x11d)](_0x4d9c54,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk['bold'][_0x5a7736(0x163)](_0x4d9c54+_0x5a7736(0x123)));const _0x7c12ae=_0x4c7c31[_0x5a7736(0x153)](_0x4c7c31['JZkbC'](_0x4c7c31[_0x5a7736(0x153)](_0x23f350,'('),_0x6b26c4['join'](',\x20')),')');console[_0x5a7736(0xf3)](_0x4c7c31['JZkbC'](_0x4c7c31['JZkbC'](_0x4c7c31[_0x5a7736(0x159)](_0x4c7c31['BUZEr']('\x0a',_0x32c577),'\x0a'),_0x7c12ae),'\x0a')),_0x4c7c31[_0x5a7736(0x121)](_0xcce40b,![])&&(_0x579246=0x1);}),_0x579246;}function a5_0x2d3a(){const _0x4d4c94=['../test-runner','\x20steps','getPlatformName','useW3C','mYCeK','push','aNztm','framework','ZgzeW','../../helpers/utilities','YWrlj','otPpA','\x20skipped','2432520SYcjnr','TWdjM','testContextOptions','stringify','../../helpers/logger','steps','cucumber','parseFormatters','true','getHubUrl','9ZqdDHg','proxySettings','../../helpers/testhub/testhubHandler','parallelsPerPlatform','red','finalExecution','58634QcAFKw','yCrQz','../../helpers/BrowserStackSetup','finally','green','\x20pending','end','6823047KpqgCQ','createDir','cyan','ifRmx','testObservability','isBrowserstackInfra','removeDir','SDK_CLEANUP','32dArIFc','start','processSuccess','jBcMV','argv','path','Removing\x20tmp\x20directory\x20created\x20for\x20reports','mSyUO','errorMessage','getTCGConfigFilePaths','length','HgTUx','stepsPassed','vHedi','../../helpers/performance/constants','ozKEB','JZkbC','bold','chalk','handleApp','SDK_SETUP','accessibilityOptions','sRMSa','70086ePwjYS','stepsSkipped','EVENTS','hubqn','util','jYvjf','prepareCapabilities','printBuildLink','1715964BtInNk','yellow','splice','skipSessionStatus','\x20failed','445008heMAbV','exports','TdRYD','cucumber-js','log','join','35RRamVl','KgMYu','getUserWorkerCount','BUZEr','Generating\x20consolidated\x20report...','../../helpers/performance/performance-tester','EVhwV','BROWSERSTACK_TEST_OBSERVABILITY_YML','****\x20RESULTS\x20****','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','bgWhite','env','\x20passed','FRAMEWORKS','10ZNCPph','format','stop','stepsFailed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mergeOutputFiles','bhDvZ','debug','../../helpers/helper','2880050dHAtoV','launchBuild','error\x20removing\x20tcg\x20config\x20file','\x20ambiguous','stepsUndefined','getErrorMessageFromResults','AVuxe','\x20undefined','scenarios','config','CUCUMBER'];a5_0x2d3a=function(){return _0x4d4c94;};return a5_0x2d3a();}async function run(_0xa82673,_0x5bfd5f){const _0x2badb4=a5_0x5445c4,_0x12831={'mSyUO':function(_0x2c9679,_0x3350c5){return _0x2c9679(_0x3350c5);},'hubqn':function(_0x475d7d,_0x526a77){return _0x475d7d>_0x526a77;},'IZbvF':_0x2badb4(0xf9),'HgTUx':_0x2badb4(0x149),'TdRYD':_0x2badb4(0x12a),'KgMYu':_0x2badb4(0x10e),'AVuxe':_0x2badb4(0xf2),'ZgzeW':'tmp','jYvjf':function(_0x17b5bd,_0x4a60fd){return _0x17b5bd>_0x4a60fd;},'ozKEB':function(_0xe2f73e,_0x7feafc){return _0xe2f73e-_0x7feafc;},'cWwql':function(_0x39bbaa,_0x54c466){return _0x39bbaa>=_0x54c466;},'bhDvZ':function(_0x1783be,_0x3d4260){return _0x1783be!=_0x3d4260;},'mYCeK':_0x2badb4(0x12c),'vHedi':function(_0x4b14dc,_0x36cb09,_0xa2caab,_0x46d360,_0x4725d4,_0x573102){return _0x4b14dc(_0x36cb09,_0xa2caab,_0x46d360,_0x4725d4,_0x573102);}},_0x42591c=new BrowserStackSetup(_0xa82673,_0x12831[_0x2badb4(0x112)]);await _0x42591c['initialize'](),helper['setUserConfigPath'](_0x42591c[_0x2badb4(0x11e)],_0xa82673);!helper[_0x2badb4(0x140)]()&&await _0x42591c['setupTCGAuth']();await helper[_0x2badb4(0x156)](_0x42591c['config']);const _0x2aceb5=helper[_0x2badb4(0x11a)](_0x42591c[_0x2badb4(0x115)]),_0xb81ecb=helper[_0x2badb4(0x160)](_0x42591c[_0x2badb4(0x115)],_0x2aceb5,constants[_0x2badb4(0x102)]['CUCUMBER']);if(!_0x42591c[_0x2badb4(0x115)])return;const _0x30ab3a=_0x42591c['config'][_0x2badb4(0x131)]||helper[_0x2badb4(0xf7)](_0xa82673,_0x5bfd5f,_0x42591c['config'],constants['FRAMEWORKS'][_0x2badb4(0x116)])||0x1,_0x3a72c9={'server':helper[_0x2badb4(0x12d)](_0x42591c['config']),'proxySettings':_0x42591c['config'][_0x2badb4(0x12f)],'maxWorkers':_0x30ab3a,'browserStackLogLevel':_0x42591c[_0x2badb4(0x115)]['logLevel'],'skipSessionName':_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x126)]['skipSessionName'],'skipSessionStatus':_0x42591c[_0x2badb4(0x115)]['testContextOptions'][_0x2badb4(0xed)],'turboScaleUrl':_0x42591c['config']['turboScaleUrl']},_0x1340cc=process[_0x2badb4(0x147)],[_0x5e99ab,_0x3c4412]=helper[_0x2badb4(0x12b)](_0x1340cc),_0x2c4226=path[_0x2badb4(0xf4)](process['cwd'](),_0x12831[_0x2badb4(0x11f)]);if(_0x12831[_0x2badb4(0x15f)](_0x3c4412[_0x2badb4(0x14d)],0x0)){helper[_0x2badb4(0x13c)](_0x2c4226);for(let _0x54ee8c=_0x12831[_0x2badb4(0x152)](_0x5e99ab[_0x2badb4(0x14d)],0x1);_0x12831['cWwql'](_0x54ee8c,0x0);_0x54ee8c--){_0x1340cc[_0x2badb4(0xec)](_0x5e99ab[_0x54ee8c],0x2);}}!helper['isUndefined'](_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x158)])&&(process['env'][_0x2badb4(0x107)]=JSON[_0x2badb4(0x127)](_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x158)]));_0x12831[_0x2badb4(0x109)](_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x13f)],null)?process[_0x2badb4(0x100)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x13f)]:process[_0x2badb4(0x100)][_0x2badb4(0xfc)]=_0x12831[_0x2badb4(0x11b)];const _0x132fbc=await TestHubHandler[_0x2badb4(0x10d)](constants[_0x2badb4(0x102)][_0x2badb4(0x116)],_0x42591c);PerformanceTester[_0x2badb4(0x13a)](PerformanceEvents[_0x2badb4(0x157)]);let _0xee9f7d;_0x12831[_0x2badb4(0x150)](parallelCucumberRun,_0xb81ecb,_0x3a72c9,_0x42591c[_0x2badb4(0x115)],_0x1340cc,_0x3c4412)['then'](async _0x10aaf4=>{const _0x51bffb=_0x2badb4;PerformanceTester[_0x51bffb(0x144)](PerformanceEvents['SDK_CLEANUP']),_0xee9f7d=_0x10aaf4;const _0x3f2eb3=_0x12831[_0x51bffb(0x14a)](printCucumberStats,_0x10aaf4);process['exitCode']=_0x3f2eb3,_0x12831[_0x51bffb(0x15d)](_0x3c4412[_0x51bffb(0x14d)],0x0)&&(logger[_0x51bffb(0x10a)](_0x12831['IZbvF']),helper[_0x51bffb(0x108)](_0x2c4226,_0x3c4412),logger[_0x51bffb(0x10a)](_0x12831[_0x51bffb(0x14e)]),helper[_0x51bffb(0x141)](_0x2c4226));})[_0x2badb4(0x137)](async()=>{const _0x97d7cd=_0x2badb4;PerformanceTester[_0x97d7cd(0x144)](PerformanceEvents[_0x97d7cd(0x142)]),_0x42591c[_0x97d7cd(0x14b)]=helper[_0x97d7cd(0x111)](_0xee9f7d,_0x12831[_0x97d7cd(0xf1)]),testOpsHelper[_0x97d7cd(0x161)]();try{await TestHubHandler[_0x97d7cd(0x105)]();}catch(_0x663cf9){logger[_0x97d7cd(0x10a)](_0x97d7cd(0xfe)+util[_0x97d7cd(0x104)](_0x663cf9));}try{const {browserstackFolderPath:_0x5ad689,tcgConfigPath:_0x4bf853}=helper[_0x97d7cd(0x14c)]();fs['unlinkSync'](_0x4bf853),fs['rmdirSync'](_0x5ad689);}catch(_0x24656b){logger[_0x97d7cd(0x10a)](_0x12831[_0x97d7cd(0xf6)],_0x24656b);}await utilities[_0x97d7cd(0x133)](_0x42591c);});}module[a5_0x5445c4(0xf0)]=run;
|
|
2
|
+
'use strict';const a5_0x15ff14=a5_0x4040;(function(_0x1cae73,_0x4540b1){const _0x145453=a5_0x4040,_0x77e534=_0x1cae73();while(!![]){try{const _0x53293f=parseInt(_0x145453(0x1d8))/0x1+-parseInt(_0x145453(0x1d3))/0x2+-parseInt(_0x145453(0x1c5))/0x3*(parseInt(_0x145453(0x1e7))/0x4)+parseInt(_0x145453(0x1a4))/0x5*(parseInt(_0x145453(0x1e4))/0x6)+parseInt(_0x145453(0x1b6))/0x7*(-parseInt(_0x145453(0x192))/0x8)+-parseInt(_0x145453(0x1ae))/0x9+-parseInt(_0x145453(0x1ec))/0xa*(-parseInt(_0x145453(0x19f))/0xb);if(_0x53293f===_0x4540b1)break;else _0x77e534['push'](_0x77e534['shift']());}catch(_0x6f1ccd){_0x77e534['push'](_0x77e534['shift']());}}}(a5_0x53ca,0x77e4b));function a5_0x53ca(){const _0x16a39c=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','rmdirSync','15518393wFMnYX','vohzR','yvEVa','../../helpers/testhub/testhubHandler','setUserConfigPath','35OMIkSD','argv','chalk','../../helpers/performance/performance-tester','SZSmz','framework','then','../utils/constants','useW3C','SDK_SETUP','2477322dYNPQV','testContextOptions','cucumber','kMFrn','../../helpers/test-observability/utils','stepsUnknown','launchBuild','fWeDz','4945689RKZWzc','\x20pending','errorMessage','OfFHZ','../../helpers/helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','cyan','env','printBuildLink','winstonLogger','EbTHU','steps','oBvYj','EVENTS','\x20undefined','246225KYqwqD','getUserWorkerCount','CUCUMBER','rEape','stepsPending','logLevel','config','debug','proxySettings','bold','createDir','isBrowserstackInfra','accessibilityOptions','testObservability','920836MhXxVk','FfRWu','scenariosFailed','wTkHb','../test-runner','726384LsTszg','finalExecution','stepsUndefined','parallelsPerPlatform','green','push','stepsAmbiguous','error\x20removing\x20tcg\x20config\x20file','stepsSkipped','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','unlinkSync','stringify','317712JFPyRY','processSuccess','isUndefined','28PedEwQ','true','join','red','initialize','10BPSBww','SVZjr','jyQCx','../../helpers/logger','\x20passed','handleApp','splice','util','yellow','start','length','Generating\x20consolidated\x20report...','setupTCGAuth','\x20scenarios','parseFormatters','DgXVb','../../helpers/BrowserStackSetup','../../helpers/utilities','KABRT','exports','forEach','getTCGConfigFilePaths','FRAMEWORKS','OtERE','log','../../helpers/performance/constants','turboScaleUrl','getHubUrl','spFoK','yxVdH','8vdrhqu','scenarios','USiMW','prepareCapabilities','finally','stepsPassed','****\x20RESULTS\x20****','\x20failed','cwd','UhzcF','hDjaG'];a5_0x53ca=function(){return _0x16a39c;};return a5_0x53ca();}function a5_0x4040(_0x5d6937,_0x5f48d3){const _0x53cac0=a5_0x53ca();return a5_0x4040=function(_0x4040b0,_0x1b12c0){_0x4040b0=_0x4040b0-0x18a;let _0x5bcb25=_0x53cac0[_0x4040b0];return _0x5bcb25;},a5_0x4040(_0x5d6937,_0x5f48d3);}const fs=require('fs'),path=require('path'),util=require(a5_0x15ff14(0x1f3)),logger=require(a5_0x15ff14(0x1ef))[a5_0x15ff14(0x1bf)],{default:BrowserStackSetup}=require(a5_0x15ff14(0x1fc)),helper=require(a5_0x15ff14(0x1ba)),utilities=require(a5_0x15ff14(0x1fd)),constants=require(a5_0x15ff14(0x1ab)),{parallelCucumberRun}=require(a5_0x15ff14(0x1d7)),TestHubHandler=require(a5_0x15ff14(0x1a2)),testOpsHelper=require(a5_0x15ff14(0x1b2)),chalk=require(a5_0x15ff14(0x1a6)),PerformanceTester=require(a5_0x15ff14(0x1a7)),PerformanceEvents=require(a5_0x15ff14(0x18d))[a5_0x15ff14(0x1c3)];function printCucumberStats(_0x17cb05){const _0x36575b=a5_0x15ff14,_0x3223f0={};_0x3223f0[_0x36575b(0x1b1)]=function(_0x346895,_0x3a4f70){return _0x346895>_0x3a4f70;},_0x3223f0[_0x36575b(0x1d4)]=function(_0x571a37,_0x5909e7){return _0x571a37-_0x5909e7;},_0x3223f0[_0x36575b(0x1c2)]=function(_0x3d91ad,_0x5825b4){return _0x3d91ad-_0x5825b4;},_0x3223f0[_0x36575b(0x1c0)]=function(_0x1d8271,_0x5e75f7){return _0x1d8271>_0x5e75f7;},_0x3223f0[_0x36575b(0x1ed)]=function(_0x5287ad,_0x576aec){return _0x5287ad>_0x576aec;},_0x3223f0[_0x36575b(0x1b5)]=function(_0x151e2f,_0x17a294){return _0x151e2f>_0x17a294;},_0x3223f0[_0x36575b(0x1a0)]=function(_0x4e75df,_0x59bf28){return _0x4e75df>_0x59bf28;},_0x3223f0[_0x36575b(0x1a8)]=function(_0x3b102a,_0x2be505){return _0x3b102a>_0x2be505;},_0x3223f0[_0x36575b(0x1fb)]=function(_0x26747c,_0x3ef553){return _0x26747c>_0x3ef553;},_0x3223f0['wTkHb']=function(_0x189182,_0x5c67ff){return _0x189182+_0x5c67ff;},_0x3223f0[_0x36575b(0x18b)]=function(_0x3868d5,_0x11c862){return _0x3868d5+_0x11c862;},_0x3223f0['yvEVa']=function(_0x3f5b1b,_0x14429b){return _0x3f5b1b+_0x14429b;},_0x3223f0['jyQCx']=function(_0x2c2689,_0x4aacee){return _0x2c2689+_0x4aacee;},_0x3223f0[_0x36575b(0x1fe)]=function(_0x24cb95,_0x1c1e19){return _0x24cb95===_0x1c1e19;},_0x3223f0[_0x36575b(0x19b)]=_0x36575b(0x198);const _0x53e0da=_0x3223f0;let _0x3ea677=0x0;if(_0x53e0da['KABRT'](_0x17cb05['length'],0x0))return _0x3ea677;return console[_0x36575b(0x18c)](chalk[_0x36575b(0x1ce)]['bgWhite'](_0x53e0da['UhzcF'])),_0x17cb05[_0x36575b(0x200)](_0x34900c=>{const _0x333cef=_0x36575b,_0x67f422=_0x34900c[0x0],_0x4bf79d=_0x34900c[0x1];console[_0x333cef(0x18c)]('\x0a'+chalk['bold'][_0x333cef(0x1f4)](''+helper['getPlatformName'](_0x67f422)));const _0x81f173=_0x4bf79d[_0x333cef(0x193)],_0x4a6022=_0x4bf79d[_0x333cef(0x1c1)],_0x502d6b=_0x4bf79d[_0x333cef(0x1d5)],_0x2d2b68=_0x4bf79d['stepsFailed'],_0x4aa274=_0x4bf79d[_0x333cef(0x197)],_0x3fe75e=_0x4bf79d[_0x333cef(0x1e0)],_0x3d6d7a=_0x4bf79d[_0x333cef(0x1c9)],_0x6bc9e6=_0x4bf79d[_0x333cef(0x1da)],_0x3f20d8=_0x4bf79d[_0x333cef(0x1b3)],_0x5a2497=_0x4bf79d[_0x333cef(0x1de)],_0x544239=_0x4bf79d[_0x333cef(0x1e5)];let _0x26fba2=_0x81f173+_0x333cef(0x1f9);const _0x125423=_0x53e0da[_0x333cef(0x1b1)](_0x53e0da[_0x333cef(0x1d4)](_0x81f173,_0x502d6b),0x0)?_0x53e0da['oBvYj'](_0x81f173,_0x502d6b):0x0;if(_0x53e0da[_0x333cef(0x1c0)](_0x502d6b,0x0)&&_0x53e0da[_0x333cef(0x1c0)](_0x125423,0x0))_0x26fba2+='\x20('+chalk['bold'][_0x333cef(0x1ea)](_0x502d6b+'\x20failed')+',\x20'+chalk['bold'][_0x333cef(0x1dc)](_0x125423+_0x333cef(0x1f0))+')';else(_0x53e0da[_0x333cef(0x1ed)](_0x502d6b,0x0)||_0x53e0da[_0x333cef(0x1c0)](_0x125423,0x0))&&(_0x26fba2+=_0x53e0da[_0x333cef(0x1b5)](_0x502d6b,0x0)?'\x20('+chalk[_0x333cef(0x1ce)][_0x333cef(0x1ea)](_0x502d6b+_0x333cef(0x199))+')':'\x20('+chalk[_0x333cef(0x1ce)][_0x333cef(0x1dc)](_0x125423+_0x333cef(0x1f0))+')');const _0x1b8c29=_0x4a6022+'\x20steps',_0xc43ca1=[];_0x53e0da['EbTHU'](_0x5a2497,0x0)&&_0xc43ca1[_0x333cef(0x1dd)](''+chalk[_0x333cef(0x1ce)][_0x333cef(0x1ea)](_0x5a2497+'\x20ambiguous'));_0x53e0da[_0x333cef(0x1ed)](_0x2d2b68,0x0)&&_0xc43ca1[_0x333cef(0x1dd)](''+chalk[_0x333cef(0x1ce)][_0x333cef(0x1ea)](_0x2d2b68+_0x333cef(0x199)));_0x53e0da[_0x333cef(0x1a0)](_0x4aa274,0x0)&&_0xc43ca1['push'](''+chalk[_0x333cef(0x1ce)][_0x333cef(0x1dc)](_0x4aa274+_0x333cef(0x1f0)));_0x53e0da['SZSmz'](_0x3d6d7a,0x0)&&_0xc43ca1[_0x333cef(0x1dd)](''+chalk[_0x333cef(0x1ce)][_0x333cef(0x1f4)](_0x3d6d7a+_0x333cef(0x1b7)));_0x53e0da[_0x333cef(0x1fb)](_0x3fe75e,0x0)&&_0xc43ca1[_0x333cef(0x1dd)](''+chalk[_0x333cef(0x1ce)][_0x333cef(0x1bc)](_0x3fe75e+'\x20skipped'));_0x53e0da[_0x333cef(0x1fb)](_0x6bc9e6,0x0)&&_0xc43ca1[_0x333cef(0x1dd)](''+chalk[_0x333cef(0x1ce)][_0x333cef(0x1f4)](_0x6bc9e6+_0x333cef(0x1c4)));_0x53e0da['EbTHU'](_0x3f20d8,0x0)&&_0xc43ca1[_0x333cef(0x1dd)](''+chalk[_0x333cef(0x1ce)]['yellow'](_0x3f20d8+'\x20skipped'));const _0x33fd3f=_0x53e0da[_0x333cef(0x1d6)](_0x53e0da['wTkHb'](_0x53e0da[_0x333cef(0x18b)](_0x1b8c29,'('),_0xc43ca1[_0x333cef(0x1e9)](',\x20')),')');console['log'](_0x53e0da[_0x333cef(0x1a1)](_0x53e0da[_0x333cef(0x1d6)](_0x53e0da[_0x333cef(0x1ee)](_0x53e0da[_0x333cef(0x1a1)]('\x0a',_0x26fba2),'\x0a'),_0x33fd3f),'\x0a')),_0x53e0da[_0x333cef(0x1fe)](_0x544239,![])&&(_0x3ea677=0x1);}),_0x3ea677;}async function run(_0x1683bd,_0x19c715){const _0x181dbb=a5_0x15ff14,_0x553f0d={'cytHw':function(_0x1041b7,_0x302b8c){return _0x1041b7(_0x302b8c);},'hDjaG':function(_0x40d977,_0x5305b1){return _0x40d977>_0x5305b1;},'imwtA':_0x181dbb(0x1f7),'rEape':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','tpweJ':_0x181dbb(0x1b0),'EASWI':_0x181dbb(0x1df),'USiMW':'cucumber-js','dcXKs':'tmp','spFoK':function(_0x3b789e,_0x9ef016){return _0x3b789e-_0x9ef016;},'OfFHZ':function(_0x21c7d7,_0x254b80){return _0x21c7d7>=_0x254b80;},'yxVdH':function(_0x12de76,_0x599e39){return _0x12de76!=_0x599e39;},'gJElD':_0x181dbb(0x1e8),'EDyDn':function(_0x3a8e78,_0xba919,_0x2cb4d3,_0x4aacd2,_0x40d5c1,_0x5d7621){return _0x3a8e78(_0xba919,_0x2cb4d3,_0x4aacd2,_0x40d5c1,_0x5d7621);}},_0x1850bf=new BrowserStackSetup(_0x1683bd,_0x553f0d[_0x181dbb(0x194)]);await _0x1850bf[_0x181dbb(0x1eb)](),helper[_0x181dbb(0x1a3)](_0x1850bf[_0x181dbb(0x1a9)],_0x1683bd);!helper[_0x181dbb(0x1d0)]()&&await _0x1850bf[_0x181dbb(0x1f8)]();await helper[_0x181dbb(0x1f1)](_0x1850bf[_0x181dbb(0x1cb)]);const _0x4bfe5a=helper[_0x181dbb(0x1ac)](_0x1850bf[_0x181dbb(0x1cb)]),_0x3b1838=await TestHubHandler[_0x181dbb(0x1b4)](constants[_0x181dbb(0x18a)][_0x181dbb(0x1c7)],_0x1850bf),_0x59af9=helper[_0x181dbb(0x195)](_0x1850bf[_0x181dbb(0x1cb)],_0x4bfe5a,constants[_0x181dbb(0x18a)][_0x181dbb(0x1c7)]);if(!_0x1850bf[_0x181dbb(0x1cb)])return;const _0x1ca3f1=_0x1850bf['config'][_0x181dbb(0x1db)]||helper[_0x181dbb(0x1c6)](_0x1683bd,_0x19c715,_0x1850bf['config'],constants[_0x181dbb(0x18a)][_0x181dbb(0x1c7)])||0x1,_0x594672={'server':helper[_0x181dbb(0x18f)](_0x1850bf[_0x181dbb(0x1cb)]),'proxySettings':_0x1850bf[_0x181dbb(0x1cb)][_0x181dbb(0x1cd)],'maxWorkers':_0x1ca3f1,'browserStackLogLevel':_0x1850bf[_0x181dbb(0x1cb)][_0x181dbb(0x1ca)],'skipSessionName':_0x1850bf[_0x181dbb(0x1cb)][_0x181dbb(0x1af)]['skipSessionName'],'skipSessionStatus':_0x1850bf[_0x181dbb(0x1cb)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x1850bf['config'][_0x181dbb(0x18e)]},_0x3ccc69=process[_0x181dbb(0x1a5)],[_0x5f175e,_0x5ad883]=helper[_0x181dbb(0x1fa)](_0x3ccc69),_0x3be8ab=path[_0x181dbb(0x1e9)](process[_0x181dbb(0x19a)](),_0x553f0d['dcXKs']);if(_0x553f0d['hDjaG'](_0x5ad883[_0x181dbb(0x1f6)],0x0)){helper[_0x181dbb(0x1cf)](_0x3be8ab);for(let _0x20cb31=_0x553f0d[_0x181dbb(0x190)](_0x5f175e['length'],0x1);_0x553f0d[_0x181dbb(0x1b9)](_0x20cb31,0x0);_0x20cb31--){_0x3ccc69[_0x181dbb(0x1f2)](_0x5f175e[_0x20cb31],0x2);}}!helper[_0x181dbb(0x1e6)](_0x1850bf[_0x181dbb(0x1cb)][_0x181dbb(0x1d1)])&&(process['env'][_0x181dbb(0x19d)]=JSON[_0x181dbb(0x1e3)](_0x1850bf['config'][_0x181dbb(0x1d1)]));_0x553f0d[_0x181dbb(0x191)](_0x1850bf[_0x181dbb(0x1cb)][_0x181dbb(0x1d2)],null)?process[_0x181dbb(0x1bd)][_0x181dbb(0x1bb)]=_0x1850bf[_0x181dbb(0x1cb)][_0x181dbb(0x1d2)]:process[_0x181dbb(0x1bd)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x553f0d['gJElD'];PerformanceTester['end'](PerformanceEvents[_0x181dbb(0x1ad)]);let _0x5c7550;_0x553f0d['EDyDn'](parallelCucumberRun,_0x59af9,_0x594672,_0x1850bf['config'],_0x3ccc69,_0x5ad883)[_0x181dbb(0x1aa)](async _0x4e4454=>{const _0x79afd4=_0x181dbb;PerformanceTester[_0x79afd4(0x1f5)](PerformanceEvents['SDK_CLEANUP']),_0x5c7550=_0x4e4454;const _0x9bb7b9=_0x553f0d['cytHw'](printCucumberStats,_0x4e4454);process['exitCode']=_0x9bb7b9,_0x553f0d[_0x79afd4(0x19c)](_0x5ad883['length'],0x0)&&(logger[_0x79afd4(0x1cc)](_0x553f0d['imwtA']),helper['mergeOutputFiles'](_0x3be8ab,_0x5ad883),logger[_0x79afd4(0x1cc)](_0x553f0d[_0x79afd4(0x1c8)]),helper['removeDir'](_0x3be8ab));})[_0x181dbb(0x196)](async()=>{const _0x9bbd01=_0x181dbb;PerformanceTester[_0x9bbd01(0x1f5)](PerformanceEvents['SDK_CLEANUP']),_0x1850bf[_0x9bbd01(0x1b8)]=helper['getErrorMessageFromResults'](_0x5c7550,_0x553f0d['tpweJ']),testOpsHelper[_0x9bbd01(0x1be)]();try{await TestHubHandler['stop']();}catch(_0x1a9a34){logger[_0x9bbd01(0x1cc)](_0x9bbd01(0x1e1)+util['format'](_0x1a9a34));}try{const {browserstackFolderPath:_0x25b61a,tcgConfigPath:_0x1efe3c}=helper[_0x9bbd01(0x201)]();fs[_0x9bbd01(0x1e2)](_0x1efe3c),fs[_0x9bbd01(0x19e)](_0x25b61a);}catch(_0x81c28){logger[_0x9bbd01(0x1cc)](_0x553f0d['EASWI'],_0x81c28);}await utilities[_0x9bbd01(0x1d9)](_0x1850bf);});}module[a5_0x15ff14(0x1ff)]=run;
|