browserstack-node-sdk 1.49.0 → 1.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/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/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.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/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x3e9814=a33_0x5bd1;(function(_0x214dd4,_0x967572){const _0x3e8ed6=a33_0x5bd1,_0x526c1e=_0x214dd4();while(!![]){try{const _0x1f1bc4=parseInt(_0x3e8ed6(0x19a))/0x1*(parseInt(_0x3e8ed6(0x194))/0x2)+-parseInt(_0x3e8ed6(0x186))/0x3*(-parseInt(_0x3e8ed6(0x189))/0x4)+parseInt(_0x3e8ed6(0x1ab))/0x5*(parseInt(_0x3e8ed6(0x1c4))/0x6)+parseInt(_0x3e8ed6(0x195))/0x7*(parseInt(_0x3e8ed6(0x177))/0x8)+parseInt(_0x3e8ed6(0x181))/0x9+parseInt(_0x3e8ed6(0x188))/0xa*(parseInt(_0x3e8ed6(0x192))/0xb)+parseInt(_0x3e8ed6(0x1b0))/0xc*(-parseInt(_0x3e8ed6(0x160))/0xd);if(_0x1f1bc4===_0x967572)break;else _0x526c1e['push'](_0x526c1e['shift']());}catch(_0x78a1db){_0x526c1e['push'](_0x526c1e['shift']());}}}(a33_0x4c26,0xa9056));const logger=require('../../../helpers/logger')[a33_0x3e9814(0x1c0)],helper=require(a33_0x3e9814(0x176)),constants=require(a33_0x3e9814(0x1ca)),hubAllocator=require(a33_0x3e9814(0x1ce)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x3e9814(0x1ad)),{setAccessibilityCapabilities,setExtension}=require(a33_0x3e9814(0x17b)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x3e9814(0x1a0)),modify=(_0x551008,_0x4cacfa=null,_0x1ebe46=![])=>{const _0x32cdbf=a33_0x3e9814,_0x202c64={'XiSGB':function(_0xe0ebe3,_0x489947){return _0xe0ebe3!==_0x489947;},'rbrQH':_0x32cdbf(0x1c5),'kKstz':function(_0x52bb88,_0xf2ee70){return _0x52bb88+_0xf2ee70;},'DZQZB':function(_0x1f7a28,_0x312c4f){return _0x1f7a28+_0x312c4f;},'tjngU':_0x32cdbf(0x1d0),'eZxIY':'/wd/hub','TsGKo':_0x32cdbf(0x1a1),'eWCZf':_0x32cdbf(0x15c),'Wmxrz':_0x32cdbf(0x179),'kcdqE':_0x32cdbf(0x171),'rvxUI':_0x32cdbf(0x168),'EsxlU':'firefoxOptions','DWhtX':'safari.options','ypFIj':_0x32cdbf(0x172),'yIBmw':'ieOptions','GVEJz':function(_0x333063,_0x16f7b9){return _0x333063===_0x16f7b9;},'lHiIR':_0x32cdbf(0x169),'VrBCB':_0x32cdbf(0x1b2),'UhknO':_0x32cdbf(0x1a6),'MbNod':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','QPXaB':function(_0x4ff09a,_0x251e9a,_0x1215e2){return _0x4ff09a(_0x251e9a,_0x1215e2);},'dqPQJ':function(_0xe338df,_0x2ed5eb,_0x15fb2a){return _0xe338df(_0x2ed5eb,_0x15fb2a);},'YgZWE':_0x32cdbf(0x184),'YbhSw':function(_0x2763be,_0x53d377){return _0x2763be(_0x53d377);},'XoDUW':function(_0x28fd0f,_0x4c4590,_0x2c6a79){return _0x28fd0f(_0x4c4590,_0x2c6a79);},'ONiNk':function(_0x4be459,_0x31a338,_0x55f968){return _0x4be459(_0x31a338,_0x55f968);},'NNwCp':_0x32cdbf(0x1a7),'ZLkeO':_0x32cdbf(0x16d),'nfHNl':_0x32cdbf(0x175),'AmSLp':function(_0x5cb8d7,_0x5c9a91,_0x1b6e8d){return _0x5cb8d7(_0x5c9a91,_0x1b6e8d);},'tSXHs':function(_0x342d36){return _0x342d36();},'QFtox':function(_0x866794,_0x17ae25){return _0x866794(_0x17ae25);},'cDiSp':function(_0x9981a9,_0x263225){return _0x9981a9!==_0x263225;},'dcxPW':function(_0x36f767,_0x5b53e4){return _0x36f767!==_0x5b53e4;},'nWevt':_0x32cdbf(0x1b3),'Ubdbp':_0x32cdbf(0x16f)},_0x60688b=helper[_0x32cdbf(0x1d5)]();let _0x555d67;try{_0x555d67=helper[_0x32cdbf(0x1c1)](),_0x555d67[_0x32cdbf(0x1aa)]&&(_0x555d67[_0x32cdbf(0x1b8)]=_0x555d67[_0x32cdbf(0x1aa)]);}catch(_0x224930){return;}if(helper[_0x32cdbf(0x164)]()){const _0x5b4068={};_0x5b4068[_0x32cdbf(0x198)]=_0x551008[_0x32cdbf(0x18d)],helper[_0x32cdbf(0x1a5)](_0x5b4068,new Map(),new Map()),logger[_0x32cdbf(0x162)](_0x202c64[_0x32cdbf(0x1a2)]),logger[_0x32cdbf(0x1cf)](_0x202c64[_0x32cdbf(0x16b)]);}class _0x4076fe extends _0x60688b[_0x32cdbf(0x1cc)]{['send'](_0x936584){const _0x384790=_0x32cdbf;if(_0x202c64[_0x384790(0x1d4)](_0x936584['path'],_0x202c64['rbrQH'])&&_0x202c64[_0x384790(0x1d4)](global['newHubUrl'],''))try{global[_0x384790(0x19d)]=_0x202c64['kKstz'](_0x202c64[_0x384790(0x1c3)](_0x202c64[_0x384790(0x1d3)],global['newHubUrl']),_0x202c64[_0x384790(0x1b1)]),this[_0x384790(0x165)]=hubAllocator['getRequestOptions'](global[_0x384790(0x19d)]),logger[_0x384790(0x1cf)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x384790(0x19d)]),global[_0x384790(0x19d)]='';}catch(_0x39079c){logger[_0x384790(0x16a)](_0x39079c);}return super['send'](_0x936584);}}class _0x4e2201 extends _0x555d67['Builder']{[_0x32cdbf(0x180)](){const _0x37b9b8=_0x32cdbf;return this[_0x37b9b8(0x19e)]=helper[_0x37b9b8(0x18c)](_0x551008),logger[_0x37b9b8(0x1cf)](_0x37b9b8(0x197)+this[_0x37b9b8(0x19e)]),this;}[_0x32cdbf(0x163)](_0x22522c){const _0x310708=_0x32cdbf;let _0x149f7f={};for(const _0x2be44d in _0x22522c){switch(_0x2be44d){case _0x202c64['TsGKo']:case _0x202c64[_0x310708(0x1bb)]:this[_0x310708(0x17f)]&&(_0x149f7f=this['chromeOptions_'][_0x310708(0x19f)](this[_0x310708(0x17f)][_0x310708(0x18f)])||{},this[_0x310708(0x17f)][_0x310708(0x1bc)](this[_0x310708(0x17f)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x18b)]:case _0x202c64[_0x310708(0x1af)]:this[_0x310708(0x1d6)]&&(_0x149f7f=this[_0x310708(0x1d6)][_0x310708(0x19f)](this['edgeOptions_'][_0x310708(0x18f)])||{},this[_0x310708(0x1d6)][_0x310708(0x1bc)](this[_0x310708(0x1d6)]['CAPABILITY_KEY'],helper[_0x310708(0x1ba)](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x1ac)]:case _0x202c64[_0x310708(0x19b)]:this[_0x310708(0x1a3)]&&(_0x149f7f=this[_0x310708(0x1a3)][_0x310708(0x19f)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x310708(0x1a3)][_0x310708(0x1bc)](this[_0x310708(0x1a3)]['CAPABILITY_KEY'],helper[_0x310708(0x1ba)](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x1c9)]:this['safariOptions_']&&(_0x149f7f=this[_0x310708(0x15b)][_0x310708(0x19f)](this[_0x310708(0x15b)][_0x310708(0x18f)])||{},this[_0x310708(0x15b)]['set'](this[_0x310708(0x15b)]['CAPABILITY_KEY'],helper[_0x310708(0x1ba)](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x190)]:case _0x202c64[_0x310708(0x1b5)]:this[_0x310708(0x173)]&&(_0x149f7f=this[_0x310708(0x173)][_0x310708(0x19f)](this[_0x310708(0x173)]['CAPABILITY_KEY'])||{},this[_0x310708(0x173)]['set'](this[_0x310708(0x173)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x149f7f,_0x22522c[_0x2be44d])));break;}}}[_0x32cdbf(0x1d1)](){const _0x83e510=_0x32cdbf;return logger[_0x83e510(0x1cf)](_0x202c64['VrBCB']),this[_0x83e510(0x163)](_0x551008[_0x83e510(0x1be)]),Object[_0x83e510(0x17e)](_0x551008[_0x83e510(0x1be)])[_0x83e510(0x183)](_0x350388=>{const _0x17914a=_0x83e510,_0x531246=this['capabilities_']['get'](_0x350388);_0x202c64['GVEJz'](typeof _0x531246,_0x202c64[_0x17914a(0x1a9)])?this['capabilities_'][_0x17914a(0x1bc)](_0x350388,helper[_0x17914a(0x1ba)](_0x531246,_0x551008[_0x17914a(0x1be)][_0x350388])):this[_0x17914a(0x18a)][_0x17914a(0x1bc)](_0x350388,_0x551008[_0x17914a(0x1be)][_0x350388]);}),this;}[_0x32cdbf(0x185)](){const _0x2c8786=_0x32cdbf,_0x931b38={'DiOZn':function(_0x3131a8,_0x535a9f,_0x27e366){const _0x30cf94=a33_0x5bd1;return _0x202c64[_0x30cf94(0x1bf)](_0x3131a8,_0x535a9f,_0x27e366);},'EpoTS':function(_0x286f8c,_0x2720b6,_0x13d888){return _0x202c64['dqPQJ'](_0x286f8c,_0x2720b6,_0x13d888);},'iKScd':_0x202c64[_0x2c8786(0x196)],'aOfdw':function(_0x4b2b6c,_0x253d47){const _0xd31440=_0x2c8786;return _0x202c64[_0xd31440(0x16c)](_0x4b2b6c,_0x253d47);},'wrdiU':function(_0x1e6391,_0x369abc,_0x440af5){return _0x202c64['XoDUW'](_0x1e6391,_0x369abc,_0x440af5);},'LHPPy':function(_0x528cd8,_0x4fe530,_0x48ef5f){return _0x202c64['ONiNk'](_0x528cd8,_0x4fe530,_0x48ef5f);}};if(helper[_0x2c8786(0x164)]()){const _0x2ed62d=_0x202c64[_0x2c8786(0x18e)]['split']('|');let _0x42ead6=0x0;while(!![]){switch(_0x2ed62d[_0x42ead6++]){case'0':logger[_0x2c8786(0x1cf)](_0x202c64[_0x2c8786(0x1a4)]);continue;case'1':globals[_0x2c8786(0x1cb)](_0x202c64[_0x2c8786(0x1ae)])&&(!_0x202c64[_0x2c8786(0x1d7)](setExtension,this,_0x551008)&&globals['setGlobal'](_0x202c64[_0x2c8786(0x1ae)],![]));continue;case'2':this['setServer']();continue;case'3':if(helper[_0x2c8786(0x15e)](_0x551008['proxySettings']['proxyUrl']))this[_0x2c8786(0x1cd)]=helper[_0x2c8786(0x17d)](_0x551008[_0x2c8786(0x1c8)]['proxyUrl']);else _0x551008['proxySettings']['proxyUrl']&&(this[_0x2c8786(0x19c)]=_0x551008[_0x2c8786(0x1c8)][_0x2c8786(0x187)],logger[_0x2c8786(0x1cf)]('Proxy\x20set\x20to\x20'+this[_0x2c8786(0x19c)]));continue;case'4':this[_0x2c8786(0x1d1)]();continue;case'5':_0x202c64[_0x2c8786(0x182)](isAccessibilityAutomationSession)&&_0x202c64[_0x2c8786(0x16c)](setAccessibilityCapabilities,_0x551008);continue;}break;}}const _0x1bbff2=super[_0x2c8786(0x185)]();return _0x1bbff2[_0x2c8786(0x174)][_0x2c8786(0x1c6)](_0x54143e=>{const _0x2faff1=_0x2c8786;try{const _0x295fe9=_0x54143e['caps_'][_0x2faff1(0x19f)](_0x202c64[_0x2faff1(0x199)]);_0x295fe9?(logger['debug'](_0x2faff1(0x178)+_0x295fe9),hubAllocator[_0x2faff1(0x16e)](_0x295fe9),helper[_0x2faff1(0x1bd)](_0x295fe9)):logger[_0x2faff1(0x1cf)](_0x202c64['MbNod']);}catch(_0x569d4b){logger[_0x2faff1(0x1cf)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x569d4b);}}),_0x1bbff2[_0x2c8786(0x1b6)]=0x0,_0x1bbff2[_0x2c8786(0x1c6)]&&_0x1bbff2['then'](_0x43c226=>{const _0x4d202f=_0x2c8786,_0x35128b=_0x931b38[_0x4d202f(0x1a8)]['split']('|');let _0x529dd6=0x0;while(!![]){switch(_0x35128b[_0x529dd6++]){case'0':helper[_0x4d202f(0x1c7)](_0x43c226,_0x551008);continue;case'1':_0x931b38['aOfdw'](overrideTakeScreenshot,_0x43c226);continue;case'2':_0x43c226['getAccessibilityResults']=async()=>{const _0x3101b9=_0x4d202f;return await _0x931b38[_0x3101b9(0x161)](getAccessibilityResults,_0x43c226,global);};continue;case'3':_0x931b38[_0x4d202f(0x170)](overrideExecute,_0x43c226,_0x551008);continue;case'4':_0x43c226['getAccessibilityResultsSummary']=async()=>{const _0x2d52e2=_0x4d202f;return await _0x931b38[_0x2d52e2(0x1b9)](getAccessibilityResultsSummary,_0x43c226,global);};continue;case'5':_0x931b38[_0x4d202f(0x15f)](overrideQuit,_0x43c226,_0x1bbff2);continue;}break;}}),_0x1bbff2[_0x2c8786(0x1b7)]=async()=>{return await _0x931b38['EpoTS'](getAccessibilityResultsSummary,_0x1bbff2,global);},_0x1bbff2['getAccessibilityResults']=async()=>{const _0x186d52=_0x2c8786;return await _0x202c64[_0x186d52(0x1bf)](getAccessibilityResults,_0x1bbff2,global);},_0x202c64['YbhSw'](overrideTakeScreenshot,_0x1bbff2),_0x202c64[_0x2c8786(0x1d2)](overrideQuit,_0x1bbff2),helper[_0x2c8786(0x1c7)](_0x1bbff2,_0x551008),_0x202c64[_0x2c8786(0x1d7)](overrideExecute,_0x1bbff2,_0x551008),helper[_0x2c8786(0x17a)](global[_0x2c8786(0x15d)])&&(global[_0x2c8786(0x15d)]=[]),helper['isUndefined'](global['__drivers'])&&(global['__drivers']=[]),global[_0x2c8786(0x15d)][_0x2c8786(0x191)](_0x1bbff2),global[_0x2c8786(0x17c)]=_0x1bbff2,_0x202c64[_0x2c8786(0x1c2)](global[_0x2c8786(0x166)],undefined)&&global['__drivers'][_0x2c8786(0x191)](_0x1bbff2),_0x4cacfa&&helper['isUndefined'](_0x4cacfa[_0x2c8786(0x167)][_0x2c8786(0x15d)])&&(_0x4cacfa[_0x2c8786(0x167)][_0x2c8786(0x15d)]=[]),_0x4cacfa&&_0x202c64[_0x2c8786(0x1b4)](_0x4cacfa['global'][_0x2c8786(0x166)],undefined)&&(_0x4cacfa[_0x2c8786(0x167)][_0x2c8786(0x166)][_0x2c8786(0x191)](_0x1bbff2),_0x4cacfa[_0x2c8786(0x167)]['__driversArray'][_0x2c8786(0x191)](_0x1bbff2)),_0x1bbff2;}}return _0x555d67[_0x32cdbf(0x1aa)]=_0x555d67['Builder'],_0x555d67[_0x32cdbf(0x1b8)]=_0x4e2201,_0x60688b[_0x32cdbf(0x1cc)]=_0x4076fe,_0x555d67;};function a33_0x4c26(){const _0x3de7d6=['originalBuilder','35rLgmKN','rvxUI','../../../helpers/patchHelpers','nfHNl','kcdqE','38599236YwArgs','eZxIY','Setting\x20Browserstack\x20capabilities','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','dcxPW','yIBmw','quitCount_','getAccessibilityResultsSummary','Builder','DiOZn','mergeDeep','eWCZf','set','storeOptimalHubUrl','capability','QPXaB','winstonLogger','requireSeleniumWebdriver','cDiSp','DZQZB','874974djkmvw','/session','then','overrideGet','proxySettings','DWhtX','../../../bin/utils/constants','getGlobal','HttpClient','agent_','../../../hubAllocationMethods','debug','https://','setCapabilities','QFtox','tjngU','XiSGB','requireHttpClient','edgeOptions_','AmSLp','safariOptions_','chromeOptions','__driversArray','isPacProxy','LHPPy','13zxafjc','EpoTS','info','__setBrowserOptions','isBrowserstackInfra','options_','__drivers','global','moz:firefoxOptions','object','error','Ubdbp','YbhSw','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','updateHubUrl','Modifying\x20webdriver\x20builder','wrdiU','edgeOptions','se:ieOptions','ieOptions_','session_','isAccessibilityPlatform','../../../helpers/helper','6570416EGkviZ','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','ms:edgeOptions','isUndefined','../accessibility-automation/helper','__driver','getHttpAgent','keys','chromeOptions_','setServer','5137803mBFURw','tSXHs','forEach','5|1|0|3|4|2','build','3MyJFhq','proxyUrl','10DbpoiG','1699160wdVYjY','capabilities_','Wmxrz','getHubUrl','browserStackLogLevel','NNwCp','CAPABILITY_KEY','ypFIj','push','11655457JriDbG','browserstackAgentObservability','11564KHykJS','7FEfyvd','YgZWE','Hub\x20url\x20set\x20to\x20','logLevel','UhknO','2rMOBed','EsxlU','proxy_','newHubUrl','url_','get','./helpers/patchHelper','goog:chromeOptions','nWevt','firefoxOptions_','ZLkeO','setLogLevel','optimalHubUrl','5|2|4|3|1|0','iKScd','lHiIR'];a33_0x4c26=function(){return _0x3de7d6;};return a33_0x4c26();}function a33_0x5bd1(_0xe51e44,_0x3406e0){const _0x4c2635=a33_0x4c26();return a33_0x5bd1=function(_0x5bd1ff,_0x23f4b9){_0x5bd1ff=_0x5bd1ff-0x15b;let _0x2b1ed=_0x4c2635[_0x5bd1ff];return _0x2b1ed;},a33_0x5bd1(_0xe51e44,_0x3406e0);}module['exports'][a33_0x3e9814(0x193)]=modify;
|
|
1
|
+
const a33_0x4bb74d=a33_0x356f;(function(_0x2430e8,_0x168c05){const _0x45439f=a33_0x356f,_0x502e97=_0x2430e8();while(!![]){try{const _0x4d6d2f=-parseInt(_0x45439f(0x79))/0x1+parseInt(_0x45439f(0x7b))/0x2*(parseInt(_0x45439f(0x8f))/0x3)+-parseInt(_0x45439f(0xc9))/0x4*(parseInt(_0x45439f(0xa9))/0x5)+-parseInt(_0x45439f(0x7c))/0x6*(parseInt(_0x45439f(0x9e))/0x7)+-parseInt(_0x45439f(0x8a))/0x8+-parseInt(_0x45439f(0xa0))/0x9+parseInt(_0x45439f(0xd4))/0xa*(parseInt(_0x45439f(0x84))/0xb);if(_0x4d6d2f===_0x168c05)break;else _0x502e97['push'](_0x502e97['shift']());}catch(_0x460518){_0x502e97['push'](_0x502e97['shift']());}}}(a33_0x2d69,0x4e1c4));function a33_0x356f(_0x2145da,_0x566d01){const _0x2d697f=a33_0x2d69();return a33_0x356f=function(_0x356fc9,_0x46f2dd){_0x356fc9=_0x356fc9-0x76;let _0x3bf47d=_0x2d697f[_0x356fc9];return _0x3bf47d;},a33_0x356f(_0x2145da,_0x566d01);}const logger=require(a33_0x4bb74d(0x9d))[a33_0x4bb74d(0xa4)],helper=require(a33_0x4bb74d(0xb9)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x4bb74d(0xcb)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x4bb74d(0xc8)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x4bb74d(0xdc)),modify=(_0x46b09c,_0x34ed01=null,_0x76ec97=![])=>{const _0x2d515f=a33_0x4bb74d,_0x5b7223={'wrBky':function(_0x347894,_0x5c6ab3){return _0x347894!==_0x5c6ab3;},'OYmTx':_0x2d515f(0x8c),'VxSxv':function(_0x2133fc,_0x4f0e41){return _0x2133fc+_0x4f0e41;},'shBeZ':function(_0x3d50f1,_0x5688d4){return _0x3d50f1+_0x5688d4;},'JTrjV':_0x2d515f(0xd0),'IAtok':'/wd/hub','qiitK':_0x2d515f(0x96),'vjdxN':'chromeOptions','uLtsx':_0x2d515f(0xac),'ZqjgK':'edgeOptions','YQtor':_0x2d515f(0x7f),'UwsNl':_0x2d515f(0xef),'sLGog':_0x2d515f(0x9a),'CloGc':_0x2d515f(0xca),'JkkAp':_0x2d515f(0x87),'ybuYz':function(_0x21196f,_0x43ad19){return _0x21196f===_0x43ad19;},'quVof':_0x2d515f(0xed),'TyrSM':_0x2d515f(0xcd),'gQoMy':function(_0x2818bb,_0x1d0fd7,_0x107586){return _0x2818bb(_0x1d0fd7,_0x107586);},'Kidlb':'optimalHubUrl','LbYjV':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','lBPMQ':function(_0x3545ab,_0x4e369c,_0x53133b){return _0x3545ab(_0x4e369c,_0x53133b);},'CtLoq':function(_0x5e928f,_0x5909c7){return _0x5e928f(_0x5909c7);},'EBaJD':function(_0x1d059c,_0x16db17,_0x9b6502){return _0x1d059c(_0x16db17,_0x9b6502);},'jcVlJ':'4|3|1|2|0|5','gTEft':_0x2d515f(0x80),'XAhRc':function(_0x11d560){return _0x11d560();},'ySXLY':_0x2d515f(0x78),'SZOaR':function(_0x214aec,_0x3b0611){return _0x214aec(_0x3b0611);},'JrHSg':function(_0x5bf9f3,_0x3175ca){return _0x5bf9f3(_0x3175ca);},'MbISo':function(_0x3339dd,_0x531a5f,_0x31f197){return _0x3339dd(_0x531a5f,_0x31f197);},'jCbII':function(_0x318462,_0x4e2b84){return _0x318462!==_0x4e2b84;},'rLuCt':_0x2d515f(0xc0),'ruAQK':_0x2d515f(0xa3)},_0x102f74=helper[_0x2d515f(0xc1)]();let _0x4522f6;try{_0x4522f6=helper[_0x2d515f(0xb8)](),_0x4522f6[_0x2d515f(0xc3)]&&(_0x4522f6['Builder']=_0x4522f6['originalBuilder']);}catch(_0x301f37){return;}if(helper[_0x2d515f(0xd6)]()){const _0x35e091={};_0x35e091['logLevel']=_0x46b09c[_0x2d515f(0xa1)],helper[_0x2d515f(0xcf)](_0x35e091,new Map(),new Map()),logger[_0x2d515f(0x88)](_0x5b7223[_0x2d515f(0xc2)]),logger[_0x2d515f(0x94)](_0x5b7223[_0x2d515f(0xa2)]);}class _0x2b1555 extends _0x102f74[_0x2d515f(0xc7)]{[_0x2d515f(0xbe)](_0x19436a){const _0x433940=_0x2d515f;if(_0x5b7223[_0x433940(0x77)](_0x19436a[_0x433940(0xe9)],_0x5b7223[_0x433940(0xa7)])&&_0x5b7223[_0x433940(0x77)](global[_0x433940(0xbf)],''))try{global[_0x433940(0xbf)]=_0x5b7223[_0x433940(0xea)](_0x5b7223[_0x433940(0xd1)](_0x5b7223['JTrjV'],global['newHubUrl']),_0x5b7223['IAtok']),this['options_']=hubAllocator[_0x433940(0xe8)](global[_0x433940(0xbf)]),logger[_0x433940(0x94)](_0x433940(0x8b)+global[_0x433940(0xbf)]),global[_0x433940(0xbf)]='';}catch(_0x1b4fd9){logger[_0x433940(0x92)](_0x1b4fd9);}return super[_0x433940(0xbe)](_0x19436a);}}class _0x4d52a0 extends _0x4522f6['Builder']{[_0x2d515f(0xb1)](){const _0x2288d1=_0x2d515f;return this[_0x2288d1(0xa8)]=helper[_0x2288d1(0xe5)](_0x46b09c),logger[_0x2288d1(0x94)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x2d515f(0xb6)](_0x429890){const _0x1c22aa=_0x2d515f;let _0x59f24e={};for(const _0x21f231 in _0x429890){switch(_0x21f231){case _0x5b7223[_0x1c22aa(0xde)]:case _0x5b7223[_0x1c22aa(0xce)]:this[_0x1c22aa(0x86)]&&(_0x59f24e=this[_0x1c22aa(0x86)][_0x1c22aa(0x97)](this[_0x1c22aa(0x86)][_0x1c22aa(0x99)])||{},this['chromeOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0x86)][_0x1c22aa(0x99)],helper['mergeDeep'](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0xbb)]:case _0x5b7223['ZqjgK']:this[_0x1c22aa(0xb0)]&&(_0x59f24e=this['edgeOptions_'][_0x1c22aa(0x97)](this[_0x1c22aa(0xb0)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0xb0)]['CAPABILITY_KEY'],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0xb4)]:case _0x5b7223[_0x1c22aa(0xc4)]:this[_0x1c22aa(0xda)]&&(_0x59f24e=this[_0x1c22aa(0xda)][_0x1c22aa(0x97)](this['firefoxOptions_'][_0x1c22aa(0x99)])||{},this['firefoxOptions_']['set'](this[_0x1c22aa(0xda)][_0x1c22aa(0x99)],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223['sLGog']:this[_0x1c22aa(0xc6)]&&(_0x59f24e=this['safariOptions_'][_0x1c22aa(0x97)](this[_0x1c22aa(0xc6)][_0x1c22aa(0x99)])||{},this[_0x1c22aa(0xc6)]['set'](this[_0x1c22aa(0xc6)]['CAPABILITY_KEY'],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0x7d)]:case _0x5b7223[_0x1c22aa(0x9b)]:this[_0x1c22aa(0x98)]&&(_0x59f24e=this[_0x1c22aa(0x98)][_0x1c22aa(0x97)](this[_0x1c22aa(0x98)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0x98)][_0x1c22aa(0x99)],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;}}}['setCapabilities'](){const _0x3fc453=_0x2d515f;return logger[_0x3fc453(0x94)](_0x5b7223[_0x3fc453(0xaa)]),this[_0x3fc453(0xb6)](_0x46b09c[_0x3fc453(0xc5)]),Object[_0x3fc453(0xee)](_0x46b09c[_0x3fc453(0xc5)])[_0x3fc453(0xb5)](_0x1bf1ab=>{const _0x269535=_0x3fc453,_0x2f57e0=this['capabilities_'][_0x269535(0x97)](_0x1bf1ab);_0x5b7223[_0x269535(0xbc)](typeof _0x2f57e0,_0x5b7223[_0x269535(0xae)])?this[_0x269535(0xad)]['set'](_0x1bf1ab,helper[_0x269535(0x81)](_0x2f57e0,_0x46b09c[_0x269535(0xc5)][_0x1bf1ab])):this[_0x269535(0xad)][_0x269535(0xd2)](_0x1bf1ab,_0x46b09c[_0x269535(0xc5)][_0x1bf1ab]);}),this;}[_0x2d515f(0xab)](){const _0x3624bb=_0x2d515f,_0x5053f0={'KfSlo':_0x5b7223[_0x3624bb(0xe1)],'TyzIu':_0x5b7223['LbYjV'],'jBmnc':function(_0x1370d0,_0x209aa1,_0x3156bf){return _0x5b7223['gQoMy'](_0x1370d0,_0x209aa1,_0x3156bf);},'TcLiE':function(_0x36aaeb,_0x3207ee,_0x247277){const _0x8416f8=_0x3624bb;return _0x5b7223[_0x8416f8(0x7a)](_0x36aaeb,_0x3207ee,_0x247277);},'WHdmL':function(_0x490ce9,_0x2bf40e){return _0x5b7223['CtLoq'](_0x490ce9,_0x2bf40e);},'wIjDh':function(_0x31186e,_0x85706f,_0xf67b1c){const _0x48b3d5=_0x3624bb;return _0x5b7223[_0x48b3d5(0xeb)](_0x31186e,_0x85706f,_0xf67b1c);},'oVKuJ':function(_0x3a977e,_0x3744a5,_0x5c2e7c){const _0x3d1de6=_0x3624bb;return _0x5b7223[_0x3d1de6(0xe4)](_0x3a977e,_0x3744a5,_0x5c2e7c);}};if(helper[_0x3624bb(0xd6)]()){const _0x599757=_0x5b7223[_0x3624bb(0x85)]['split']('|');let _0x5ca429=0x0;while(!![]){switch(_0x599757[_0x5ca429++]){case'0':globals[_0x3624bb(0xd5)](_0x5b7223[_0x3624bb(0x8d)])&&(!_0x5b7223[_0x3624bb(0xeb)](setExtension,this,_0x46b09c)&&globals[_0x3624bb(0x82)](_0x5b7223[_0x3624bb(0x8d)],![]));continue;case'1':this[_0x3624bb(0x91)]();continue;case'2':if(helper[_0x3624bb(0xa5)](_0x46b09c[_0x3624bb(0xd8)][_0x3624bb(0x76)]))this[_0x3624bb(0x89)]=helper[_0x3624bb(0xdb)](_0x46b09c['proxySettings'][_0x3624bb(0x76)]);else _0x46b09c[_0x3624bb(0xd8)]['proxyUrl']&&(this['proxy_']=_0x46b09c[_0x3624bb(0xd8)]['proxyUrl'],logger[_0x3624bb(0x94)]('Proxy\x20set\x20to\x20'+this[_0x3624bb(0x83)]));continue;case'3':this[_0x3624bb(0xb1)]();continue;case'4':_0x5b7223[_0x3624bb(0xdd)](isAccessibilityAutomationSession)&&_0x5b7223[_0x3624bb(0x8e)](setAccessibilityCapabilities,_0x46b09c);continue;case'5':logger[_0x3624bb(0x94)](_0x5b7223['ySXLY']);continue;}break;}}const _0x10aa11=super[_0x3624bb(0xab)]();return _0x10aa11[_0x3624bb(0x9c)][_0x3624bb(0xcc)](_0x298266=>{const _0x292341=_0x3624bb;try{const _0x52871c=_0x298266[_0x292341(0xbd)][_0x292341(0x97)](_0x5053f0[_0x292341(0x7e)]);_0x52871c?(logger[_0x292341(0x94)](_0x292341(0xaf)+_0x52871c),hubAllocator['updateHubUrl'](_0x52871c),helper[_0x292341(0xd9)](_0x52871c)):logger[_0x292341(0x94)](_0x5053f0['TyzIu']);}catch(_0x1d66bb){logger['debug'](_0x292341(0xa6)+_0x1d66bb);}}),_0x10aa11['quitCount_']=0x0,_0x10aa11['then']&&_0x10aa11['then'](_0x416811=>{const _0x128a62=_0x3624bb,_0x36749a={'GoznH':function(_0x4b6a0f,_0x121191,_0x3220c4){const _0x518f9a=a33_0x356f;return _0x5053f0[_0x518f9a(0xb2)](_0x4b6a0f,_0x121191,_0x3220c4);}};_0x5053f0[_0x128a62(0xe6)](overrideQuit,_0x416811,_0x10aa11),_0x5053f0[_0x128a62(0xe0)](overrideTakeScreenshot,_0x416811),helper[_0x128a62(0xba)](_0x416811,_0x46b09c),_0x5053f0['wIjDh'](overrideExecute,_0x416811,_0x46b09c),_0x416811[_0x128a62(0xe3)]=async()=>{return await _0x36749a['GoznH'](getAccessibilityResultsSummary,_0x416811,global);},_0x416811[_0x128a62(0xb7)]=async()=>{return await _0x36749a['GoznH'](getAccessibilityResults,_0x416811,global);};}),_0x10aa11['getAccessibilityResultsSummary']=async()=>{const _0x1f79f2=_0x3624bb;return await _0x5053f0[_0x1f79f2(0x9f)](getAccessibilityResultsSummary,_0x10aa11,global);},_0x10aa11['getAccessibilityResults']=async()=>{const _0x36b385=_0x3624bb;return await _0x5b7223[_0x36b385(0xeb)](getAccessibilityResults,_0x10aa11,global);},_0x5b7223[_0x3624bb(0xe2)](overrideTakeScreenshot,_0x10aa11),_0x5b7223[_0x3624bb(0xe7)](overrideQuit,_0x10aa11),helper[_0x3624bb(0xba)](_0x10aa11,_0x46b09c),_0x5b7223[_0x3624bb(0xd3)](overrideExecute,_0x10aa11,_0x46b09c),helper['isUndefined'](global[_0x3624bb(0xb3)])&&(global['__driversArray']=[]),helper[_0x3624bb(0x95)](global[_0x3624bb(0xec)])&&(global[_0x3624bb(0xec)]=[]),global[_0x3624bb(0xb3)][_0x3624bb(0x90)](_0x10aa11),global['__driver']=_0x10aa11,_0x5b7223[_0x3624bb(0xdf)](global[_0x3624bb(0xec)],undefined)&&global[_0x3624bb(0xec)][_0x3624bb(0x90)](_0x10aa11),_0x34ed01&&helper['isUndefined'](_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xb3)])&&(_0x34ed01[_0x3624bb(0x93)]['__driversArray']=[]),_0x34ed01&&_0x5b7223[_0x3624bb(0xdf)](_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xec)],undefined)&&(_0x34ed01[_0x3624bb(0x93)]['__drivers'][_0x3624bb(0x90)](_0x10aa11),_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xb3)][_0x3624bb(0x90)](_0x10aa11)),_0x10aa11;}}return _0x4522f6[_0x2d515f(0xc3)]=_0x4522f6['Builder'],_0x4522f6['Builder']=_0x4d52a0,_0x102f74[_0x2d515f(0xc7)]=_0x2b1555,_0x4522f6;};module['exports'][a33_0x4bb74d(0xd7)]=modify;function a33_0x2d69(){const _0x107a9b=['get','ieOptions_','CAPABILITY_KEY','safari.options','JkkAp','session_','../../../helpers/logger','9289hkVpGS','oVKuJ','680724uWWkIZ','browserStackLogLevel','ruAQK','Modifying\x20webdriver\x20builder','winstonLogger','isPacProxy','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','OYmTx','url_','5yGgONf','TyrSM','build','ms:edgeOptions','capabilities_','quVof','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','edgeOptions_','setServer','jBmnc','__driversArray','YQtor','forEach','__setBrowserOptions','getAccessibilityResults','requireSeleniumWebdriver','../../../helpers/helper','overrideGet','uLtsx','ybuYz','caps_','send','newHubUrl','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','requireHttpClient','rLuCt','originalBuilder','UwsNl','capability','safariOptions_','HttpClient','../../../helpers/accessibility-automation/helper','2458916MrFVxh','se:ieOptions','../../../hubAllocationMethods','then','Setting\x20Browserstack\x20capabilities','vjdxN','setLogLevel','https://','shBeZ','set','MbISo','15811900mwraYM','getGlobal','isBrowserstackInfra','browserstackAgentObservability','proxySettings','storeOptimalHubUrl','firefoxOptions_','getHttpAgent','./helpers/patchHelper','XAhRc','qiitK','jCbII','WHdmL','Kidlb','SZOaR','getAccessibilityResultsSummary','EBaJD','getHubUrl','TcLiE','JrHSg','getRequestOptions','path','VxSxv','gQoMy','__drivers','object','keys','firefoxOptions','proxyUrl','wrBky','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','470051NUgkNU','lBPMQ','1706ZipiKl','426YHUcOv','CloGc','KfSlo','moz:firefoxOptions','isAccessibilityPlatform','mergeDeep','setGlobal','proxy_','11jiptUM','jcVlJ','chromeOptions_','ieOptions','info','agent_','4563600PAxJhg','New\x20hub\x20url\x20set\x20to\x20','/session','gTEft','CtLoq','1983AQGQgV','push','setCapabilities','error','global','debug','isUndefined','goog:chromeOptions'];a33_0x2d69=function(){return _0x107a9b;};return a33_0x2d69();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a34_0x45e443=a34_0x5bc9;function a34_0x5bc9(_0x444fdc,_0x1665ca){const _0x38ad18=a34_0x38ad();return a34_0x5bc9=function(_0x5bc946,_0x4b7e14){_0x5bc946=_0x5bc946-0x11d;let _0x3e21d4=_0x38ad18[_0x5bc946];return _0x3e21d4;},a34_0x5bc9(_0x444fdc,_0x1665ca);}function a34_0x38ad(){const _0x3b1d83=['58420cmxGqE','../../../helpers/test-observability/utils','1246458kYddRj','178371LQzXhl','../../../helpers/request-spy','272652tYLbWZ','restore','2786420VOWWfq','2JdRtcS','112cMIfIO','787299qQyxYk','../../../bin/utils/constants','2843267RxXNTo','4zXScer'];a34_0x38ad=function(){return _0x3b1d83;};return a34_0x38ad();}(function(_0x5ba29b,_0xc4aac7){const _0x2a4839=a34_0x5bc9,_0x99a754=_0x5ba29b();while(!![]){try{const _0x228bf9=-parseInt(_0x2a4839(0x124))/0x1*(-parseInt(_0x2a4839(0x127))/0x2)+-parseInt(_0x2a4839(0x129))/0x3+parseInt(_0x2a4839(0x11e))/0x4*(parseInt(_0x2a4839(0x11f))/0x5)+-parseInt(_0x2a4839(0x121))/0x6+parseInt(_0x2a4839(0x11d))/0x7+-parseInt(_0x2a4839(0x128))/0x8*(-parseInt(_0x2a4839(0x122))/0x9)+-parseInt(_0x2a4839(0x126))/0xa;if(_0x228bf9===_0xc4aac7)break;else _0x99a754['push'](_0x99a754['shift']());}catch(_0x22d049){_0x99a754['push'](_0x99a754['shift']());}}}(a34_0x38ad,0x3581d));const requestSpy=require(a34_0x45e443(0x123)),constants=require(a34_0x45e443(0x12a)),{addRequestSpy}=require(a34_0x45e443(0x120));exports['mochaHooks']={'beforeAll'(){const _0x366dc6={'LnWny':function(_0x366141){return _0x366141();}},_0x27e06e='browserstack internal helper hook';_0x366dc6['LnWny'](addRequestSpy);},'afterAll'(){const _0x16b85a=a34_0x45e443,_0x2a0947='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x16b85a(0x125)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a35_0x234caa=a35_0xe473;(function(_0x4f6613,_0xa6464a){const _0x580acd=a35_0xe473,_0xc617f8=_0x4f6613();while(!![]){try{const _0x572806=parseInt(_0x580acd(0x1cd))/0x1+-parseInt(_0x580acd(0x1f4))/0x2*(-parseInt(_0x580acd(0x1dc))/0x3)+-parseInt(_0x580acd(0x1ee))/0x4*(parseInt(_0x580acd(0x1ba))/0x5)+-parseInt(_0x580acd(0x1db))/0x6+parseInt(_0x580acd(0x1d3))/0x7*(parseInt(_0x580acd(0x1fd))/0x8)+-parseInt(_0x580acd(0x1ea))/0x9*(-parseInt(_0x580acd(0x201))/0xa)+-parseInt(_0x580acd(0x1be))/0xb;if(_0x572806===_0xa6464a)break;else _0xc617f8['push'](_0xc617f8['shift']());}catch(_0x13baa7){_0xc617f8['push'](_0xc617f8['shift']());}}}(a35_0x2a70,0x1fca0));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x234caa(0x1cf)),{getPlatformVersion}=require(a35_0x234caa(0x1c1)),{shouldProcessEventForTesthub}=require(a35_0x234caa(0x1bd)),{isFunction}=require(a35_0x234caa(0x1f0)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a35_0x2a70(){const _0x231198=['getTestEnv','immRp','hDZGC','nlEbR','TEST_PLATFORM','rWRxq','concat','hook','9UcVmeo','markedStatus','getHookSkippedTests','state','141920ZDrsds','substring','lodash','VtYBa','fgHbj','split','23554apHYoQ','browserstack','indexOf','unknown_grid','__cloud_provider___','tvyUc','IHHuw','WXhwq','VVthd','8kQGVTo','cNmci','toJSON','getPlatform','2102630SBuNbs','emit','aoAyb','generic','qoRvi','Rtksn','pending','20DOdEHO','slice','RgeWm','../../../helpers/testhub/utils','2281026YgVdYc','_beforeEach','ouLXJ','../../../helpers/helper','forEach','getCapabilities','toISOString','hookAnalyticsId','qmqfA','rehSF','type','frSev','failed','parent','pid','198756NLCHSj','getSession','../../../helpers/test-observability/constants','LvZcs','sendPlatformDetails','string','1351189IfPakv','PqPfC','passed','mapTestHooks','jeMYF','getBrowserName','NFFNx','WFLij','1371270TMCSwp','27lfkGao','jAsHN','bs:addPlatformDetails:','clNni','MznhG','get'];a35_0x2a70=function(){return _0x231198;};return a35_0x2a70();}function a35_0xe473(_0x3b41a1,_0x4d9d0b){const _0x2a7012=a35_0x2a70();return a35_0xe473=function(_0xe4735,_0x3de4f0){_0xe4735=_0xe4735-0x1b4;let _0x55cca7=_0x2a7012[_0xe4735];return _0x55cca7;},a35_0xe473(_0x3b41a1,_0x4d9d0b);}patchConsoleLogger(),exports[a35_0x234caa(0x1e2)]=()=>{const _0x4655dc=a35_0x234caa,_0x5d0dfa={'fgHbj':_0x4655dc(0x1b6),'PqPfC':function(_0x38d3e3){return _0x38d3e3();}};return{'ci':_0x5d0dfa[_0x4655dc(0x1f2)],'key':_0x5d0dfa[_0x4655dc(0x1d4)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x23994c=>{const _0x41a707=a35_0x234caa,_0x4e54b6={};_0x4e54b6[_0x41a707(0x1d0)]=function(_0x5b66ba,_0x3aaa89){return _0x5b66ba!==_0x3aaa89;},_0x4e54b6[_0x41a707(0x1fc)]=_0x41a707(0x1d2),_0x4e54b6[_0x41a707(0x1e5)]=function(_0x57376c,_0x129c78){return _0x57376c!==_0x129c78;},_0x4e54b6['IHHuw']='hook:',_0x4e54b6[_0x41a707(0x1f1)]=function(_0x2ceef2,_0x5b7fac){return _0x2ceef2!==_0x5b7fac;},_0x4e54b6[_0x41a707(0x1e7)]=_0x41a707(0x1e9);const _0x4391fe=_0x4e54b6;if(!_0x23994c||_0x4391fe['LvZcs'](typeof _0x23994c,_0x4391fe[_0x41a707(0x1fc)]))return[null,null];if(_0x4391fe['nlEbR'](_0x23994c[_0x41a707(0x1f6)](_0x4391fe[_0x41a707(0x1fa)]),-0x1)){const _0x36d396=_0x23994c['split'](_0x4391fe['IHHuw']);return[_0x36d396[0x0][_0x41a707(0x1bb)](0x0,-0x1)[_0x41a707(0x1f3)]('\x22')[0x1],_0x36d396[0x1][_0x41a707(0x1ef)](0x1)];}else{if(_0x4391fe[_0x41a707(0x1f1)](_0x23994c[_0x41a707(0x1f6)](_0x4391fe[_0x41a707(0x1e7)]),-0x1)){const _0x21ce4c=_0x23994c[_0x41a707(0x1f3)](_0x4391fe[_0x41a707(0x1e7)]);return[_0x21ce4c[0x0][_0x41a707(0x1bb)](0x0,-0x1)[_0x41a707(0x1f3)]('\x22')[0x1],_0x23994c];}}return[null,null];},exports['getHooksForTest']=_0x17ddfe=>{const _0x1a210d=a35_0x234caa,_0x5482e={'Rtksn':function(_0x3e1053,_0x31ba99){return _0x3e1053(_0x31ba99);},'cNmci':'_beforeAll','noLpr':'_afterAll','clNni':_0x1a210d(0x1bf),'frSev':'_afterEach'};if(!_0x17ddfe||!_0x17ddfe[_0x1a210d(0x1cb)])return[];const _0x51a4ab=[];return[_0x5482e[_0x1a210d(0x1fe)],_0x5482e['noLpr'],_0x5482e[_0x1a210d(0x1df)],_0x5482e[_0x1a210d(0x1c9)]][_0x1a210d(0x1c2)](_0x3bda9f=>{const _0x3f5b02=_0x1a210d,_0x1690bc={'QlqWq':function(_0x392e59,_0x10678d){const _0x38bb5e=a35_0xe473;return _0x5482e[_0x38bb5e(0x1b8)](_0x392e59,_0x10678d);}},_0x289668=_0x17ddfe['parent'][_0x3bda9f]||[];_0x289668[_0x3f5b02(0x1c2)](_0x121bfd=>{const _0x51c0a7=_0x3f5b02;_0x121bfd[_0x51c0a7(0x1c5)]&&!_0x1690bc['QlqWq'](isInternalHook,_0x121bfd['fn'])&&_0x51a4ab['push'](_0x121bfd['hookAnalyticsId']);});}),[..._0x51a4ab,...exports['getHooksForTest'](_0x17ddfe[_0x1a210d(0x1cb)])];},exports[a35_0x234caa(0x1d6)]=_0x53d0ff=>{const _0x3c7b2a=a35_0x234caa,_0x40231e={'tvyUc':function(_0xb41a5b){return _0xb41a5b();},'qmqfA':function(_0x1438ff,_0x33f68d){return _0x1438ff===_0x33f68d;},'WFLij':'_afterEach','PzOlH':'_beforeAll','rehSF':'_afterAll','jAsHN':_0x3c7b2a(0x1bf)};if(!_0x53d0ff||!_0x53d0ff[_0x3c7b2a(0x1cb)])return;[_0x40231e['PzOlH'],_0x40231e[_0x3c7b2a(0x1c7)],_0x40231e[_0x3c7b2a(0x1dd)],_0x40231e[_0x3c7b2a(0x1da)]]['forEach'](_0x5dd76d=>{const _0x25aecd=_0x3c7b2a,_0x2ab620=_0x53d0ff[_0x25aecd(0x1cb)][_0x5dd76d]||[];_0x2ab620['forEach'](_0x578c20=>{const _0x5e5720=_0x25aecd;if(!_0x578c20[_0x5e5720(0x1c5)])_0x578c20['hookAnalyticsId']=_0x40231e[_0x5e5720(0x1f9)](uuidv4);else _0x578c20[_0x5e5720(0x1eb)]&&_0x40231e[_0x5e5720(0x1c6)](_0x5dd76d,_0x40231e[_0x5e5720(0x1da)])&&(_0x578c20[_0x5e5720(0x1c5)]=_0x40231e[_0x5e5720(0x1f9)](uuidv4),delete _0x578c20[_0x5e5720(0x1eb)]);});}),exports['mapTestHooks'](_0x53d0ff[_0x3c7b2a(0x1cb)]);},exports[a35_0x234caa(0x1d1)]=async(_0x4f6415,_0xf754cb)=>{const _0x5a5025=a35_0x234caa,_0x5ae428={'ijAhv':function(_0x4d55e9){return _0x4d55e9();},'ouLXJ':function(_0x19d02e,_0x517d5c){return _0x19d02e(_0x517d5c);},'NFFNx':'platformVersion','MznhG':function(_0x337738,_0x3f1369){return _0x337738(_0x3f1369);},'jeMYF':function(_0x45e7b9,_0x142300){return _0x45e7b9===_0x142300;},'aoAyb':_0x5a5025(0x1f5),'WXhwq':_0x5a5025(0x1f7),'immRp':_0x5a5025(0x1e6)};try{if(!_0x5ae428['ijAhv'](shouldProcessEventForTesthub))return;const _0x534fae=await _0x4f6415[_0x5a5025(0x1c3)](),_0x1e44ec=await _0x4f6415[_0x5a5025(0x1ce)](),_0x2a0c01={},_0x5e15c5=Object['fromEntries'](_0x1e44ec[_0x5a5025(0x1c3)]()['map_']),_0x350b68={'product':_0x5ae428[_0x5a5025(0x1c0)](getObservabilityLinkedProductName,_0x5e15c5),'capabilities':_0x5e15c5,'platform':_0x534fae[_0x5a5025(0x200)](),'platform_version':_0x534fae[_0x5a5025(0x1e1)](_0x5ae428[_0x5a5025(0x1d9)])?_0x534fae['get'](_0x5ae428[_0x5a5025(0x1d9)]):_0x5ae428['MznhG'](getPlatformVersion,_0x5ae428[_0x5a5025(0x1d7)](global[_0x5a5025(0x1f8)],_0x5ae428[_0x5a5025(0x1b5)])),'browser':_0x534fae[_0x5a5025(0x1d8)](),'browser_version':_0x534fae['getBrowserVersion'](),'session_id':_0x1e44ec[_0x5a5025(0x1ff)]()};global[_0x5a5025(0x1f8)]?_0x2a0c01[global[_0x5a5025(0x1f8)]]=_0x350b68:_0x2a0c01[_0x5ae428[_0x5a5025(0x1fb)]]=_0x350b68,process[_0x5a5025(0x1b4)](_0x5a5025(0x1de)+process[_0x5a5025(0x1cc)],{'timestamp':new Date()[_0x5a5025(0x1c4)](),'level':null,'message':null,'kind':_0x5ae428[_0x5a5025(0x1e3)],'http_response':_0x2a0c01,'uuid':_0xf754cb});}catch(_0x15b227){_0x5ae428[_0x5a5025(0x1e0)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x15b227);}},exports[a35_0x234caa(0x1ec)]=_0x347900=>{const _0x242717=a35_0x234caa,_0x53b93e={};_0x53b93e[_0x242717(0x1b7)]=function(_0x3509d9,_0x224a7a){return _0x3509d9!==_0x224a7a;},_0x53b93e['hJRWr']=_0x242717(0x1e9),_0x53b93e[_0x242717(0x1bc)]=_0x242717(0x1d5),_0x53b93e[_0x242717(0x1e4)]=_0x242717(0x1ca);const _0x365d69=_0x53b93e,_0x499a33=_0x347900['suites']['reduce']((_0x182431,_0x1a3b13)=>{const _0x3571ca=exports['getHookSkippedTests'](_0x1a3b13);return _0x3571ca&&(_0x182431=_0x182431['concat'](_0x3571ca)),_0x182431;},[]),_0x28f28f=_0x347900['tests']['filter'](_0x26bb9c=>{const _0x40ce6b=_0x242717,_0x1c7a85=_0x365d69[_0x40ce6b(0x1b7)](_0x26bb9c[_0x40ce6b(0x1c8)],_0x365d69['hJRWr'])&&!_0x26bb9c['markedStatus']&&_0x365d69['qoRvi'](_0x26bb9c[_0x40ce6b(0x1ed)],_0x365d69[_0x40ce6b(0x1bc)])&&_0x365d69[_0x40ce6b(0x1b7)](_0x26bb9c[_0x40ce6b(0x1ed)],_0x365d69['hDZGC'])&&!_0x26bb9c[_0x40ce6b(0x1b9)];return _0x1c7a85;});return _0x28f28f[_0x242717(0x1e8)](_0x499a33);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a36_0x5251(_0x1484df,_0x49bf75){const _0x39656e=a36_0x3965();return a36_0x5251=function(_0x5251e6,_0x5194cb){_0x5251e6=_0x5251e6-0x1e7;let _0x495b72=_0x39656e[_0x5251e6];return _0x495b72;},a36_0x5251(_0x1484df,_0x49bf75);}const a36_0x33fbff=a36_0x5251;(function(_0x34922a,_0x1830df){const _0x1e50bc=a36_0x5251,_0xb8cb1=_0x34922a();while(!![]){try{const _0x237963=parseInt(_0x1e50bc(0x25f))/0x1+parseInt(_0x1e50bc(0x2a8))/0x2+-parseInt(_0x1e50bc(0x203))/0x3*(parseInt(_0x1e50bc(0x236))/0x4)+parseInt(_0x1e50bc(0x22f))/0x5+parseInt(_0x1e50bc(0x201))/0x6*(parseInt(_0x1e50bc(0x216))/0x7)+-parseInt(_0x1e50bc(0x234))/0x8*(-parseInt(_0x1e50bc(0x231))/0x9)+-parseInt(_0x1e50bc(0x23b))/0xa;if(_0x237963===_0x1830df)break;else _0xb8cb1['push'](_0xb8cb1['shift']());}catch(_0xa80ab2){_0xb8cb1['push'](_0xb8cb1['shift']());}}}(a36_0x3965,0x3d38f));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x33fbff(0x239)),accessibilityRetryHelper=require(a36_0x33fbff(0x24a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x33fbff(0x22c)),{sendPlatformDetails}=require(a36_0x33fbff(0x260)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x33fbff(0x21a)),PerformanceTester=require(a36_0x33fbff(0x27f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x33fbff(0x27e)),globals=require(a36_0x33fbff(0x286)),logger=require(a36_0x33fbff(0x240))[a36_0x33fbff(0x274)],{shouldProcessEventForTesthub}=require(a36_0x33fbff(0x1f8)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x3965(){const _0x2fbc5f=['../../helpers/percy/utils','then','KAEfL','1755360pBbFzx','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','3321DrBWNh','getCurrentUrl','err','9816dDAjSg','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','1679340ocQTJM','KYdRu','command','../../helpers/accessibility-automation/helper','yormV','9637170vpwMmz','khOyD','pRbup','zMgFK','ODxxv','../../helpers/logger','\x22}}','boqQk','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','protocol','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','oeZSN','zypYd','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ZLrHh','../../helpers/accessibility-automation/accessibilityRetryHelper','fDJMY','lISUF','testcase','LYzaH','__sessionFailed','quitCount_','lZpaj','KshrJ','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','env','__drivers','cezVP','thTestRunUuid','timeout','mdZzL','__skipSessionName','SAVE_RESULTS','initQuit','performScanWithRetry','410046iMradB','./test-observability/mochaUtils','Pqeag','TjFIZ','TlGyl','sessionNameSet__','thBuildUuid','SYNC','OlOjb','ENV_VAR','xHQQH','rOZaR','KTYiR','YZVYO','shift','shouldScanTestForAccessibility','Automate\x20test\x20case\x20execution\x20has\x20started.','wFqIH','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','bdBAR','tqkon','winstonLogger','\x20-\x20','setGlobal','Hjhkq','ASSwK','SDK_HOOK','AQglw','nXIFV','DWces','isArray','../../helpers/performance/constants','../../helpers/performance/performance-tester','join','bneia','Tgxzb','capabilities','iDVdS','http:','../../helpers/globals','aSnNQ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','passed','UjMbn','failed','Failed\x20to\x20store\x20session\x20name:\x20','length','spepT','session_','getGlobal','percyCaptureMode','dYRKY','message','ahayZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','lAvrI','OKGYp','warn','oXNas','paDol','KrXwa','IaSxa','CkRcm','WCnKP','thJwtToken','measureWrapper','EWDkS','afterTest','VCFrM','zeWSD','afterEach',',\x22level\x22:\x20\x22','saveAccessibilityResultsWithRetry','124152ucOFSw','driverCleanup','LdyJc','Failed:\x20','YfBzX','LikAz','LLGZt','startMonitoring','JPrEx','mochaHooks','Accessibility\x20results\x20saved\x20successfully','TNFHz','HdsjB','info','yovzw','WoZkU','hIArk','bstackA11yShouldScan','isAccessibilityPlatform','uwJJM','IJmFG','../../helpers/testhub/utils','error','UKuBs','start','Accessibility\x20scan\x20completed\x20successfully','testAnalyticsId','PERFORM_SCAN','browserstackTestName','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','516IqWIxR','ahfRc','3bWjqOg','browserstackSessionName','unKwi','accessibilityScanStarted','FHZWd','__platformCaps','GWNTM','EJrPb','tnkpA','index','\x20|\x20','CJHdV','ZYbTS','push','qmSpn','.\x20Error\x20:','app','end','https:','29169UjsSoq','executeScript','currentTest','__error_messages__','../../helpers/helper','xgcVU','format','xzanu','Mocha','stringify','GoITK','ECKcu','wujJd','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','titlePath','EGciN','ucZHx','debug','SESSION_NAME','beforeEach','aKntM','pVmWx'];a36_0x3965=function(){return _0x2fbc5f;};return a36_0x3965();}exports[a36_0x33fbff(0x1ec)]={'beforeAll'(){const _0x1c26bb=a36_0x33fbff,_0x459874={'iDVdS':function(_0x4d6274,_0x5380b0,_0xf5d9bb,_0x200f92){return _0x4d6274(_0x5380b0,_0xf5d9bb,_0x200f92);},'lRhjc':_0x1c26bb(0x28b),'wKoEB':_0x1c26bb(0x20d),'khOyD':function(_0x1e6d73,_0x265404,_0x27e4b1){return _0x1e6d73(_0x265404,_0x27e4b1);},'sumXc':'passed','unKwi':function(_0x3f946f){return _0x3f946f();},'NWvcQ':_0x1c26bb(0x20c),'dYRKY':'beforeAll'};PerformanceTester[_0x1c26bb(0x1ea)]();const _0x3ea965='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2b99cc=_0x1c26bb;global[_0x2b99cc(0x219)]=[],global[_0x2b99cc(0x24f)]=![],global['driverCleanup']=async()=>{const _0x30f2c8=_0x2b99cc;let _0x5836e4=![];try{await global[_0x30f2c8(0x256)][0x0][_0x30f2c8(0x28f)],_0x5836e4=!![],global['__sessionFailed']?await _0x459874[_0x30f2c8(0x284)](markSessionStatus,global[_0x30f2c8(0x256)][0x0],_0x459874['lRhjc'],global[_0x30f2c8(0x219)][_0x30f2c8(0x280)](_0x459874['wKoEB'])):await _0x459874[_0x30f2c8(0x23c)](markSessionStatus,global['__drivers'][0x0],_0x459874['sumXc']);}catch(_0x4725d0){logger[_0x30f2c8(0x227)](_0x30f2c8(0x243)+_0x4725d0);}global['__error_messages__']=[],global[_0x30f2c8(0x24f)]=![];if(_0x5836e4)try{try{_0x459874[_0x30f2c8(0x205)](shouldProcessEventForTesthub)&&(global[_0x30f2c8(0x256)][0x0]&&await _0x459874[_0x30f2c8(0x23c)](sendPlatformDetails,global[_0x30f2c8(0x256)][0x0],this[_0x30f2c8(0x218)]?this[_0x30f2c8(0x218)][_0x30f2c8(0x1fd)]:null));}catch(_0x32bb87){logger[_0x30f2c8(0x227)](_0x30f2c8(0x235)+_0x32bb87);}await global[_0x30f2c8(0x256)][0x0][_0x30f2c8(0x25d)]();}catch(_0x3bd4f9){logger[_0x30f2c8(0x227)](_0x30f2c8(0x288)+_0x3bd4f9);}};},{'platform':_0x459874[_0x1c26bb(0x23c)](nestedKeyValue,global[_0x1c26bb(0x208)],[_0x459874['NWvcQ']]),'hookType':_0x459874[_0x1c26bb(0x292)]})();},'beforeEach'(_0x2c4eb2){const _0x38373f=a36_0x33fbff,_0x5c3670={'KswVu':function(_0x1bb190){return _0x1bb190();},'TlGyl':function(_0x4499a7,_0x2daf07){return _0x4499a7>_0x2daf07;},'rOZaR':_0x38373f(0x275),'lAvrI':function(_0x3e9686,_0x17da36,_0x34cfae){return _0x3e9686(_0x17da36,_0x34cfae);},'bneia':_0x38373f(0x1f4),'WCnKP':function(_0x1c230f,_0x48d67b){return _0x1c230f>_0x48d67b;},'wujJd':_0x38373f(0x1f5),'paDol':function(_0x693ed1,_0x5750f0){return _0x693ed1===_0x5750f0;},'GoITK':_0x38373f(0x285),'yovzw':_0x38373f(0x215),'KAEfL':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','uwJJM':_0x38373f(0x26f),'ZLrHh':_0x38373f(0x1ff),'OuGed':_0x38373f(0x20c),'bdBAR':_0x38373f(0x229)};globals[_0x38373f(0x276)](_0x5c3670[_0x38373f(0x249)],this[_0x38373f(0x218)][_0x38373f(0x224)]()[_0x38373f(0x280)](_0x5c3670[_0x38373f(0x26a)])),PerformanceTester[_0x38373f(0x2a0)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x127e49=_0x38373f,_0x49d307={'sJuqd':function(_0x59a8f8,_0x2a3cc8){const _0x4858bd=a36_0x5251;return _0x5c3670[_0x4858bd(0x263)](_0x59a8f8,_0x2a3cc8);},'TjFIZ':function(_0x1d5993,_0x3df3bc){const _0x290873=a36_0x5251;return _0x5c3670[_0x290873(0x263)](_0x1d5993,_0x3df3bc);},'ahfRc':_0x5c3670[_0x127e49(0x26a)],'xgcVU':function(_0x143302,_0x2c4a80,_0xf9bd53){const _0x393ec0=_0x127e49;return _0x5c3670[_0x393ec0(0x296)](_0x143302,_0x2c4a80,_0xf9bd53);},'GWNTM':_0x5c3670[_0x127e49(0x281)],'cmtET':function(_0x359be4){return _0x5c3670['KswVu'](_0x359be4);},'Hjhkq':function(_0x334b7a,_0x525513){const _0x2d189c=_0x127e49;return _0x5c3670[_0x2d189c(0x29e)](_0x334b7a,_0x525513);},'ASSwK':_0x5c3670[_0x127e49(0x222)],'LdyJc':function(_0x51a884,_0x42dc83){const _0x17d963=_0x127e49;return _0x5c3670[_0x17d963(0x29a)](_0x51a884,_0x42dc83);},'EWDkS':_0x5c3670[_0x127e49(0x220)],'KTYiR':_0x5c3670[_0x127e49(0x1f1)],'psDwu':_0x5c3670[_0x127e49(0x22e)],'qmSpn':_0x5c3670[_0x127e49(0x1f6)]},_0x59d5d4='browserstack internal helper hook';new Promise(async _0x15d729=>{const _0x291d7e=_0x127e49;let _0x6ce43e=!![];try{_0x49d307['sJuqd'](global[_0x291d7e(0x256)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x291d7e(0x256)][_0x291d7e(0x26d)]()),_0x49d307[_0x291d7e(0x262)](global[_0x291d7e(0x256)][0x0]['quitCount_'],0x0)&&(_0x6ce43e=![],await global[_0x291d7e(0x2a9)]());}catch(_0x2db1b2){logger[_0x291d7e(0x227)](_0x291d7e(0x288)+_0x2db1b2);}try{Array[_0x291d7e(0x27d)](global[_0x291d7e(0x256)])&&global[_0x291d7e(0x256)][0x0]&&(global['__drivers'][0x0][_0x291d7e(0x204)]=this['currentTest'][_0x291d7e(0x224)]()['join'](_0x49d307['ahfRc'])),global[_0x291d7e(0x204)]=this['currentTest'][_0x291d7e(0x224)]()[_0x291d7e(0x280)](_0x49d307[_0x291d7e(0x202)]);}catch(_0x4fef9b){logger[_0x291d7e(0x227)](_0x291d7e(0x28c)+_0x4fef9b);}this[_0x291d7e(0x218)][_0x291d7e(0x26e)]=_0x49d307[_0x291d7e(0x21b)](shouldScanTestForAccessibility,this[_0x291d7e(0x218)][_0x291d7e(0x224)](),!![]),globals[_0x291d7e(0x276)](_0x49d307[_0x291d7e(0x209)],this[_0x291d7e(0x218)][_0x291d7e(0x26e)]),this['currentTest']['accessibilityScanStarted']=!![];if(_0x49d307['cmtET'](isAccessibilityAutomationSession)&&_0x6ce43e&&Array['isArray'](global[_0x291d7e(0x256)])&&_0x49d307[_0x291d7e(0x277)](global['__drivers'][_0x291d7e(0x28d)],0x0)&&globals[_0x291d7e(0x290)](_0x49d307[_0x291d7e(0x278)]))try{const _0x5b9a0f=await global['__drivers'][0x0][_0x291d7e(0x28f)];if(_0x5b9a0f){let _0x17ac36=!![];const _0x20c384=await global[_0x291d7e(0x256)][0x0][_0x291d7e(0x232)]();let _0x4477df;try{_0x4477df=new URL(_0x20c384);}catch(_0x27c291){_0x17ac36=![];}_0x17ac36=_0x49d307['LdyJc'](_0x4477df[_0x291d7e(0x244)],_0x49d307[_0x291d7e(0x2a1)])||_0x49d307[_0x291d7e(0x2aa)](_0x4477df[_0x291d7e(0x244)],_0x49d307[_0x291d7e(0x26b)]),_0x17ac36&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x291d7e(0x1f0)](_0x49d307['psDwu'])),this[_0x291d7e(0x218)][_0x291d7e(0x206)]=this[_0x291d7e(0x218)][_0x291d7e(0x26e)],this['currentTest'][_0x291d7e(0x26e)]&&logger[_0x291d7e(0x1f0)](_0x49d307[_0x291d7e(0x211)]);}}catch(_0x325ba3){logger[_0x291d7e(0x1f9)](_0x291d7e(0x200)+util[_0x291d7e(0x21c)](_0x325ba3));}_0x49d307['cmtET'](_0x15d729);})[_0x127e49(0x22d)](()=>{_0x5c3670['KswVu'](_0x2c4eb2);});},{'platform':_0x5c3670['lAvrI'](nestedKeyValue,global[_0x38373f(0x208)],[_0x5c3670['OuGed']]),'hookType':_0x5c3670[_0x38373f(0x272)]})();},'afterEach'(_0x2d0c5d){const _0x834cbf=a36_0x33fbff,_0x2d8604={'oeZSN':function(_0x508dae){return _0x508dae();},'WoZkU':_0x834cbf(0x275),'wspUx':function(_0x1899c7,_0x18db34){return _0x1899c7!==_0x18db34;},'GVooP':_0x834cbf(0x289),'xloWl':function(_0x57c4c3,_0x2eee4b,_0x496f9a){return _0x57c4c3(_0x2eee4b,_0x496f9a);},'xHQQH':function(_0xaecd67,_0x579940){return _0xaecd67+_0x579940;},'OfJJB':_0x834cbf(0x2ab),'LYzaH':_0x834cbf(0x1f9),'TrByk':'Passed','gBIEi':_0x834cbf(0x1f0),'EJrPb':function(_0x4dac6d,_0x1ca8c6){return _0x4dac6d>_0x1ca8c6;},'HdsjB':function(_0x121745,_0x757ba8){return _0x121745===_0x757ba8;},'HAmfw':_0x834cbf(0x24d),'KYdRu':function(_0x5ec6f9,_0x120172){return _0x5ec6f9>_0x120172;},'pRbup':'appium:app','tnkpA':function(_0x1b40d8,_0x41edcf,_0x267ef1,_0x114895){return _0x1b40d8(_0x41edcf,_0x267ef1,_0x114895);},'FHZWd':_0x834cbf(0x1f5),'gCKIS':'bstackA11yShouldScan','UjMbn':_0x834cbf(0x248),'nXIFV':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','IJmFG':_0x834cbf(0x2a2),'LLGZt':_0x834cbf(0x1fc),'hIArk':_0x834cbf(0x230),'TNFHz':_0x834cbf(0x1ed),'kvDYJ':_0x834cbf(0x254),'xzanu':_0x834cbf(0x295),'tqkon':function(_0x5967f7,_0x1d0c73,_0x306719){return _0x5967f7(_0x1d0c73,_0x306719);},'aKntM':_0x834cbf(0x227),'Pqeag':function(_0x318e23){return _0x318e23();},'pVmWx':_0x834cbf(0x21e),'cezVP':function(_0x3c4e09,_0x1f3cf9,_0x5208ac){return _0x3c4e09(_0x1f3cf9,_0x5208ac);},'zypYd':_0x834cbf(0x20c),'DWces':_0x834cbf(0x2a5)},_0x1127bc='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2d8604[_0x834cbf(0x22b)]]),global['sessionName']=this['currentTest'][_0x834cbf(0x224)]()[_0x834cbf(0x280)](_0x2d8604[_0x834cbf(0x1f2)]),PerformanceTester[_0x834cbf(0x2a0)](PerformanceSdkEvents[_0x834cbf(0x279)],()=>{const _0xfcec5d=_0x834cbf,_0x40475f={'VpwyC':_0x2d8604[_0xfcec5d(0x1f2)],'YfBzX':function(_0x26610b,_0x1db913){return _0x2d8604['wspUx'](_0x26610b,_0x1db913);},'lZpaj':_0x2d8604['GVooP'],'ODxxv':function(_0x4c1b10,_0x1d2d30,_0x3fa89a){return _0x2d8604['xloWl'](_0x4c1b10,_0x1d2d30,_0x3fa89a);},'LikAz':function(_0x2b8a31,_0x53a5ff){const _0x3f4553=_0xfcec5d;return _0x2d8604[_0x3f4553(0x269)](_0x2b8a31,_0x53a5ff);},'yormV':_0x2d8604['OfJJB'],'wFqIH':_0x2d8604[_0xfcec5d(0x24e)],'LweVH':_0x2d8604['TrByk'],'BMviP':_0x2d8604['gBIEi'],'IaSxa':function(_0x49aced,_0x2ac5a0){const _0x2cae41=_0xfcec5d;return _0x2d8604[_0x2cae41(0x20a)](_0x49aced,_0x2ac5a0);},'EGciN':function(_0x2e329a,_0x13db5d){const _0x447273=_0xfcec5d;return _0x2d8604[_0x447273(0x1ef)](_0x2e329a,_0x13db5d);},'ZYbTS':_0x2d8604['HAmfw'],'wwEHu':function(_0x530662,_0x3f9d5d){const _0x358707=_0xfcec5d;return _0x2d8604[_0x358707(0x237)](_0x530662,_0x3f9d5d);},'UKuBs':_0x2d8604[_0xfcec5d(0x23d)],'ECKcu':function(_0x345f65,_0x119dd3,_0x2b22cb,_0x35da9f){const _0x1e12aa=_0xfcec5d;return _0x2d8604[_0x1e12aa(0x20b)](_0x345f65,_0x119dd3,_0x2b22cb,_0x35da9f);},'YZVYO':_0x2d8604[_0xfcec5d(0x207)],'boqQk':_0x2d8604['gCKIS'],'zeWSD':_0x2d8604[_0xfcec5d(0x28a)],'ctyaF':_0x2d8604[_0xfcec5d(0x27b)],'KshrJ':_0x2d8604[_0xfcec5d(0x1f7)],'syePu':_0x2d8604[_0xfcec5d(0x1e9)],'fDJMY':_0x2d8604[_0xfcec5d(0x1f3)],'AQglw':_0x2d8604[_0xfcec5d(0x1ee)],'YcnUI':_0x2d8604['kvDYJ'],'OKGYp':_0x2d8604[_0xfcec5d(0x21d)],'ucZHx':function(_0x2f3160){const _0x2e9c26=_0xfcec5d;return _0x2d8604[_0x2e9c26(0x246)](_0x2f3160);},'Tgxzb':function(_0x4292e9,_0x41c522,_0x471e30){const _0x5a3986=_0xfcec5d;return _0x2d8604[_0x5a3986(0x273)](_0x4292e9,_0x41c522,_0x471e30);},'mdZzL':_0x2d8604[_0xfcec5d(0x22a)],'CJHdV':function(_0x1bb024){const _0x2a915e=_0xfcec5d;return _0x2d8604[_0x2a915e(0x261)](_0x1bb024);}},_0x2648cc=async(_0x5e4026,_0x46fdf0)=>{const _0x2a6c02=_0xfcec5d;await global[_0x2a6c02(0x256)][0x0][_0x2a6c02(0x217)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5e4026+_0x2a6c02(0x2a6)+_0x46fdf0+_0x2a6c02(0x241));};new Promise(async _0x20eeae=>{const _0x52495c=_0xfcec5d,_0x5af313={'VCFrM':_0x40475f['VpwyC'],'jXMIf':function(_0x4319c1,_0x469274){const _0x10a706=a36_0x5251;return _0x40475f[_0x10a706(0x1e7)](_0x4319c1,_0x469274);},'CkRcm':_0x40475f[_0x52495c(0x251)],'KrXwa':function(_0x13f3c3,_0x2bb6bc,_0x2dca44){const _0x2a742f=_0x52495c;return _0x40475f[_0x2a742f(0x23f)](_0x13f3c3,_0x2bb6bc,_0x2dca44);},'zMgFK':function(_0x3e0597,_0x57b817){const _0x1d55ef=_0x52495c;return _0x40475f[_0x1d55ef(0x1e8)](_0x3e0597,_0x57b817);},'aWHBR':_0x40475f[_0x52495c(0x23a)],'ZkwEH':_0x40475f[_0x52495c(0x270)],'lISUF':_0x40475f['LweVH'],'spepT':_0x40475f['BMviP']};try{_0x40475f['IaSxa'](global[_0x52495c(0x256)][_0x52495c(0x28d)],0x1)&&(await global[_0x52495c(0x2a9)](),global[_0x52495c(0x256)][_0x52495c(0x26d)](),global[_0x52495c(0x219)]=[],global[_0x52495c(0x24f)]=![]);try{if(global['percy']&&_0x40475f[_0x52495c(0x225)](global[_0x52495c(0x291)],_0x40475f[_0x52495c(0x20f)])&&global['__drivers'][0x0]){const _0x486347=_0x40475f['wwEHu'](global['capabilities'][_0x52495c(0x28d)],0x0)?!!global['capabilities'][0x0][_0x52495c(0x213)]||!!global[_0x52495c(0x283)][0x0][_0x40475f[_0x52495c(0x1fa)]]:![],_0x1c885e={};_0x1c885e[_0x52495c(0x213)]=_0x486347,await _0x40475f[_0x52495c(0x221)](percyAutoCapture,global['__drivers'][0x0],_0x40475f['ZYbTS'],_0x1c885e);}}catch(_0x1f28fc){logger[_0x52495c(0x227)](_0x52495c(0x253)+_0x1f28fc);}!global[_0x52495c(0x25b)]&&(await PerformanceTester[_0x52495c(0x2a0)](PerformanceAutEvents[_0x52495c(0x228)],async()=>{const _0x119823=_0x52495c;await global['__drivers'][0x0][_0x119823(0x217)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this['currentTest'][_0x119823(0x224)]()['join'](_0x5af313[_0x119823(0x2a3)]))+'}}');})(),global['__drivers'][0x0][_0x52495c(0x264)]=!![]),await PerformanceTester[_0x52495c(0x2a0)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x279882=_0x52495c,_0x1752d7=_0x5af313['jXMIf'](this[_0x279882(0x218)]['state'],_0x5af313[_0x279882(0x29d)]);_0x1752d7?(global[_0x279882(0x24f)]=!![],global[_0x279882(0x219)][_0x279882(0x210)](this[_0x279882(0x218)][_0x279882(0x233)][_0x279882(0x293)]),await _0x5af313[_0x279882(0x29b)](_0x2648cc,JSON[_0x279882(0x21f)](_0x5af313[_0x279882(0x23e)](_0x5af313['aWHBR'],this[_0x279882(0x218)][_0x279882(0x233)][_0x279882(0x293)])),_0x5af313['ZkwEH'])):await _0x5af313[_0x279882(0x29b)](_0x2648cc,JSON[_0x279882(0x21f)](_0x5af313[_0x279882(0x24c)]),_0x5af313[_0x279882(0x28e)]);})();}catch(_0x55d269){logger[_0x52495c(0x227)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x55d269);}try{if(this[_0x52495c(0x218)][_0x52495c(0x206)]&&globals[_0x52495c(0x290)](_0x40475f[_0x52495c(0x26c)])&&globals[_0x52495c(0x290)](_0x40475f[_0x52495c(0x242)])){logger[_0x52495c(0x1f0)](_0x40475f[_0x52495c(0x2a4)]);const _0x1bf749={};_0x1bf749[_0x52495c(0x258)]=this[_0x52495c(0x218)][_0x52495c(0x1fd)],_0x1bf749[_0x52495c(0x265)]=process[_0x52495c(0x255)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x1bf749[_0x52495c(0x29f)]=process[_0x52495c(0x255)][testHubConstants[_0x52495c(0x268)]['BROWSERSTACK_TESTHUB_JWT']];const _0x46b524=_0x1bf749;logger[_0x52495c(0x227)](_0x52495c(0x245)+JSON['stringify'](_0x46b524)),logger[_0x52495c(0x227)](_0x40475f['ctyaF']);const _0xa08f77={};_0xa08f77[_0x52495c(0x238)]=_0x40475f[_0x52495c(0x252)];const _0x1d7b4e=await PerformanceTester[_0x52495c(0x2a0)](PerformanceA11yEvents[_0x52495c(0x1fe)],async()=>{const _0x5d3555=_0x52495c;return await accessibilityRetryHelper[_0x5d3555(0x25e)](global[_0x5d3555(0x256)][0x0],global[_0x5d3555(0x204)]);},_0xa08f77)();_0x1d7b4e?logger['debug'](_0x40475f['syePu']):logger[_0x52495c(0x298)](_0x40475f[_0x52495c(0x24b)]);const _0x315962=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x52495c(0x25c)],async()=>{const _0x2b044e=_0x52495c;return await accessibilityRetryHelper[_0x2b044e(0x2a7)](global[_0x2b044e(0x256)][0x0],_0x46b524);})();_0x315962?logger['debug'](_0x40475f[_0x52495c(0x27a)]):logger[_0x52495c(0x298)](_0x40475f['YcnUI']),logger[_0x52495c(0x1f0)](_0x40475f[_0x52495c(0x297)]);}}catch(_0x23e1c6){logger[_0x52495c(0x1f9)](_0x52495c(0x223)+this[_0x52495c(0x218)][_0x52495c(0x224)]()+_0x52495c(0x212),_0x23e1c6);}try{try{if(_0x40475f['ucZHx'](shouldProcessEventForTesthub)){global[_0x52495c(0x256)][0x0]&&await _0x40475f[_0x52495c(0x23f)](sendPlatformDetails,global[_0x52495c(0x256)][0x0],this[_0x52495c(0x218)]?this[_0x52495c(0x218)][_0x52495c(0x1fd)]:null);if(_0x40475f[_0x52495c(0x226)](isBrowserstackInfra)){PerformanceTester[_0x52495c(0x1fb)](PerformanceO11yEvents[_0x52495c(0x266)]);const _0x3d8a04='ObservabilitySync:'+Date['now']();await _0x40475f[_0x52495c(0x282)](_0x2648cc,JSON[_0x52495c(0x21f)](_0x3d8a04),_0x40475f[_0x52495c(0x25a)]),PerformanceTester[_0x52495c(0x214)](PerformanceO11yEvents['SYNC']);}}}catch(_0x2614f2){logger['debug'](_0x52495c(0x271)+_0x2614f2),PerformanceTester[_0x52495c(0x214)](PerformanceO11yEvents[_0x52495c(0x266)],![],_0x2614f2);}_0x40475f[_0x52495c(0x29c)](global[_0x52495c(0x256)][0x0][_0x52495c(0x250)],0x0)&&await global['driverCleanup']();}catch(_0x59ecab){logger['debug'](_0x52495c(0x288)+_0x59ecab);}_0x40475f[_0x52495c(0x20e)](_0x20eeae);})[_0xfcec5d(0x22d)](()=>{const _0x4d0e53=_0xfcec5d;_0x2d8604[_0x4d0e53(0x246)](_0x2d0c5d);});},{'platform':_0x2d8604[_0x834cbf(0x257)](nestedKeyValue,global[_0x834cbf(0x208)],[_0x2d8604[_0x834cbf(0x247)]]),'hookType':_0x2d8604[_0x834cbf(0x27c)]})();},'afterAll'(_0x221010){const _0x281633=a36_0x33fbff,_0x240d9d={'oXNas':function(_0x3b2cd0){return _0x3b2cd0();},'ahayZ':_0x281633(0x21e),'aSnNQ':function(_0x546d56,_0x3eb5e3,_0x22873c){return _0x546d56(_0x3eb5e3,_0x22873c);},'OlOjb':_0x281633(0x20c),'JPrEx':'afterAll'},_0x892882='browserstack internal helper hook';this[_0x281633(0x259)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x240d9d[_0x281633(0x294)]]),PerformanceTester[_0x281633(0x2a0)](PerformanceSdkEvents[_0x281633(0x279)],()=>{new Promise(async _0x46ca07=>{const _0xa7e496=a36_0x5251;await global['driverCleanup'](),_0x240d9d[_0xa7e496(0x299)](_0x46ca07);})['then']()['finally'](()=>{const _0x4bac4e=a36_0x5251;_0x240d9d[_0x4bac4e(0x299)](_0x221010);});},{'platform':_0x240d9d[_0x281633(0x287)](nestedKeyValue,global[_0x281633(0x208)],[_0x240d9d[_0x281633(0x267)]]),'hookType':_0x240d9d[_0x281633(0x1eb)]})();}};
|
|
1
|
+
function a36_0x429e(){const _0x4acc02=['2347766VoQokB','end','YFSle','afterAll','vycRV','BROWSERSTACK_TESTHUB_JWT','SESSION_STATUS','warn','yUJmU','fyKMD','shouldScanTestForAccessibility','Pswhl','38085vsdkBL','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','abIcC','VXkYA','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gIyJa','tjDHj','SYNC','executeScript','588806cnUhBy','afterTest','mochaHooks','HhNfJ','message','err','bstackA11yShouldScan','cFtji','browserstackSessionName','CHHPx','Failed\x20to\x20store\x20session\x20name:\x20','stringify','4996UBqukR','timeout','performScanWithRetry','../../helpers/performance/constants','COBko','zsnKL','RhcFh','../../helpers/testhub/utils','Automate\x20test\x20case\x20execution\x20has\x20started.','../utils/constants','Mocha','../../helpers/accessibility-automation/helper','Accessibility\x20scan\x20completed\x20successfully','pkjnA','error','__skipSessionName','pGLIw','\x20|\x20','driverCleanup','then',',\x22level\x22:\x20\x22','38816DCAAAR','Passed','browserstackTestName','protocol','JeLMN','thJwtToken','capabilities','ALaRy','../../helpers/globals','isArray','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','hQfBt','failed','11uXwbWm','FSgMC','\x20-\x20','Accessibility\x20results\x20saved\x20successfully','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','currentTest','qtaCx','fiCaK','GaZuj','testcase','__sessionFailed','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','passed','shift','beforeEach','__platformCaps','index','4874166rilXOi','EbXzA','cBzTj','ePgBJ','VYZpB','.\x20Error\x20:','env','__error_messages__','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','FTUXD','yvLgz','kFUED','TSnfG','sessionNameSet__','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','PERFORM_SCAN','length','1689TyVNWR','now','titlePath','format','LqxeW','uLaQu','oTytk','util','29834850JepfDp','MVeNY','fGoVR','../../helpers/performance/performance-tester','startMonitoring','daDKE','FDNid','NRnZU','measureWrapper','yHtyl','ObservabilitySync:','getGlobal','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','appium:app','AnhJi','afterEach','138WHFOQp','ExMUF','RgcWX','tsHIj','beforeAll','__drivers','accessibilityScanStarted','finally','thBuildUuid','debug','XGxFI','testAnalyticsId','./test-observability/mochaUtils','gdQBV','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','winstonLogger','qmgMq','noAbC','SDK_HOOK','uvvGJ','YonLT','833lDtTpx','sJMjT','Vxkmr','quitCount_','AyxFb','LjFgM','JddKQ','FWOVa','GZfmN','initQuit','join','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','info','session_','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','state','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','isAccessibilityPlatform'];a36_0x429e=function(){return _0x4acc02;};return a36_0x429e();}const a36_0x48837e=a36_0x2a60;(function(_0x53648e,_0x24f2da){const _0x166012=a36_0x2a60,_0x1ad0b8=_0x53648e();while(!![]){try{const _0x1bdc4f=-parseInt(_0x166012(0x112))/0x1+-parseInt(_0x166012(0xfd))/0x2+-parseInt(_0x166012(0x162))/0x3*(-parseInt(_0x166012(0x11e))/0x4)+-parseInt(_0x166012(0x109))/0x5*(parseInt(_0x166012(0x17a))/0x6)+-parseInt(_0x166012(0xea))/0x7*(parseInt(_0x166012(0x133))/0x8)+-parseInt(_0x166012(0x151))/0x9+parseInt(_0x166012(0x16a))/0xa*(parseInt(_0x166012(0x140))/0xb);if(_0x1bdc4f===_0x24f2da)break;else _0x1ad0b8['push'](_0x1ad0b8['shift']());}catch(_0x1e15ce){_0x1ad0b8['push'](_0x1ad0b8['shift']());}}}(a36_0x429e,0x99c46));const util=require(a36_0x48837e(0x169)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x48837e(0x129)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x48837e(0x127)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x48837e(0xe1)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x48837e(0x16d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x48837e(0x121)),globals=require(a36_0x48837e(0x13b)),logger=require('../../helpers/logger')[a36_0x48837e(0xe4)],{shouldProcessEventForTesthub}=require(a36_0x48837e(0x125)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x2a60(_0x5b3f76,_0x3eccb8){const _0x429e52=a36_0x429e();return a36_0x2a60=function(_0x2a6015,_0x5bace5){_0x2a6015=_0x2a6015-0xdb;let _0x1c1ff4=_0x429e52[_0x2a6015];return _0x1c1ff4;},a36_0x2a60(_0x5b3f76,_0x3eccb8);}exports[a36_0x48837e(0x114)]={'beforeAll'(){const _0x17e629=a36_0x48837e,_0x5532e1={'LjFgM':function(_0x4a9ee3,_0x351781,_0x20cd3f,_0x31a4c2){return _0x4a9ee3(_0x351781,_0x20cd3f,_0x31a4c2);},'XGxFI':_0x17e629(0x13f),'abIcC':_0x17e629(0x12f),'tWCAy':function(_0x159a53,_0x4c3684,_0x592e68){return _0x159a53(_0x4c3684,_0x592e68);},'HhNfJ':_0x17e629(0x14c),'uvvGJ':function(_0x2211d5){return _0x2211d5();},'AnhJi':function(_0x45a674,_0x4a276,_0x5729f2){return _0x45a674(_0x4a276,_0x5729f2);},'sJpXm':function(_0x23960d,_0x2e7973,_0x347ba3){return _0x23960d(_0x2e7973,_0x347ba3);},'sJMjT':_0x17e629(0x150),'FWOVa':_0x17e629(0x17e)};PerformanceTester[_0x17e629(0x16e)]();const _0x383a43='browserstack internal helper hook';PerformanceTester[_0x17e629(0x172)](PerformanceSdkEvents[_0x17e629(0xe7)],()=>{global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x10c8a6=a36_0x2a60;let _0x49f6d8=![];try{await global[_0x10c8a6(0x17f)][0x0][_0x10c8a6(0xf7)],_0x49f6d8=!![],global['__sessionFailed']?await _0x5532e1[_0x10c8a6(0xef)](markSessionStatus,global['__drivers'][0x0],_0x5532e1[_0x10c8a6(0xdf)],global[_0x10c8a6(0x158)][_0x10c8a6(0xf4)](_0x5532e1[_0x10c8a6(0x10b)])):await _0x5532e1['tWCAy'](markSessionStatus,global[_0x10c8a6(0x17f)][0x0],_0x5532e1[_0x10c8a6(0x115)]);}catch(_0x3261a6){logger[_0x10c8a6(0xde)](_0x10c8a6(0xf9)+_0x3261a6);}global[_0x10c8a6(0x158)]=[],global[_0x10c8a6(0x14a)]=![];if(_0x49f6d8)try{try{_0x5532e1[_0x10c8a6(0xe8)](shouldProcessEventForTesthub)&&(global[_0x10c8a6(0x17f)][0x0]&&await _0x5532e1[_0x10c8a6(0x178)](sendPlatformDetails,global[_0x10c8a6(0x17f)][0x0],this[_0x10c8a6(0x145)]?this['currentTest']['testAnalyticsId']:null));}catch(_0x21859b){logger[_0x10c8a6(0xde)](_0x10c8a6(0x144)+_0x21859b);}await global[_0x10c8a6(0x17f)][0x0][_0x10c8a6(0xf3)]();}catch(_0x38a326){logger[_0x10c8a6(0xde)](_0x10c8a6(0xf5)+_0x38a326);}};},{'platform':_0x5532e1['sJpXm'](nestedKeyValue,global[_0x17e629(0x14f)],[_0x5532e1[_0x17e629(0xeb)]]),'hookType':_0x5532e1[_0x17e629(0xf1)]})();},'beforeEach'(_0x16b35a){const _0x42ba4f=a36_0x48837e,_0xb8e3c2={'hQfBt':function(_0x2120a8,_0x1751df){return _0x2120a8>_0x1751df;},'daDKE':_0x42ba4f(0x142),'ZnlbB':function(_0x350c23,_0x787231,_0x4dbd60){return _0x350c23(_0x787231,_0x4dbd60);},'LIZsX':'bstackA11yShouldScan','kFUED':function(_0xca6770){return _0xca6770();},'TOffE':_0x42ba4f(0xfc),'GaZuj':function(_0x456f3e,_0xf92199){return _0x456f3e===_0xf92199;},'qtaCx':_0x42ba4f(0xf8),'gdQBV':'https:','FSgMC':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AyxFb':_0x42ba4f(0x126),'EbXzA':function(_0x1d85f2){return _0x1d85f2();},'zsnKL':_0x42ba4f(0x135),'LqxeW':'index','fyKMD':_0x42ba4f(0x14e)};globals['setGlobal'](_0xb8e3c2[_0x42ba4f(0x123)],this[_0x42ba4f(0x145)][_0x42ba4f(0x164)]()[_0x42ba4f(0xf4)](_0xb8e3c2[_0x42ba4f(0x16f)])),PerformanceTester[_0x42ba4f(0x172)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x52aa18=_0x42ba4f,_0x457a7d={'vycRV':function(_0x4ee88b){const _0x1f2b5d=a36_0x2a60;return _0xb8e3c2[_0x1f2b5d(0x152)](_0x4ee88b);}},_0x38f294='browserstack internal helper hook';new Promise(async _0x36be3e=>{const _0x28a7d6=a36_0x2a60;let _0x19fcd6=!![];try{_0xb8e3c2[_0x28a7d6(0x13e)](global['__drivers'][_0x28a7d6(0x161)],0x1)&&(await global[_0x28a7d6(0x130)](),global[_0x28a7d6(0x17f)][_0x28a7d6(0x14d)]()),_0xb8e3c2[_0x28a7d6(0x13e)](global['__drivers'][0x0][_0x28a7d6(0xed)],0x0)&&(_0x19fcd6=![],await global[_0x28a7d6(0x130)]());}catch(_0x348f86){logger[_0x28a7d6(0xde)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x348f86);}try{Array['isArray'](global[_0x28a7d6(0x17f)])&&global['__drivers'][0x0]&&(global[_0x28a7d6(0x17f)][0x0][_0x28a7d6(0x11a)]=this[_0x28a7d6(0x145)][_0x28a7d6(0x164)]()['join'](_0xb8e3c2[_0x28a7d6(0x16f)])),global[_0x28a7d6(0x11a)]=this[_0x28a7d6(0x145)][_0x28a7d6(0x164)]()['join'](_0xb8e3c2['daDKE']);}catch(_0x54501d){logger[_0x28a7d6(0xde)](_0x28a7d6(0x11c)+_0x54501d);}this[_0x28a7d6(0x145)][_0x28a7d6(0x107)]=_0xb8e3c2['ZnlbB'](shouldScanTestForAccessibility,this[_0x28a7d6(0x145)][_0x28a7d6(0x164)](),!![]),globals['setGlobal'](_0xb8e3c2['LIZsX'],this['currentTest'][_0x28a7d6(0x107)]),this[_0x28a7d6(0x145)]['accessibilityScanStarted']=!![];if(_0xb8e3c2['kFUED'](isAccessibilityAutomationSession)&&_0x19fcd6&&Array[_0x28a7d6(0x13c)](global['__drivers'])&&_0xb8e3c2['hQfBt'](global['__drivers']['length'],0x0)&&globals[_0x28a7d6(0x175)](_0xb8e3c2['TOffE']))try{const _0x499d28=await global[_0x28a7d6(0x17f)][0x0]['session_'];if(_0x499d28){let _0x47831b=!![];const _0x4e8cc8=await global[_0x28a7d6(0x17f)][0x0]['getCurrentUrl']();let _0x54663b;try{_0x54663b=new URL(_0x4e8cc8);}catch(_0x1e2e60){_0x47831b=![];}_0x47831b=_0xb8e3c2[_0x28a7d6(0x148)](_0x54663b[_0x28a7d6(0x136)],_0xb8e3c2[_0x28a7d6(0x146)])||_0xb8e3c2['GaZuj'](_0x54663b['protocol'],_0xb8e3c2[_0x28a7d6(0xe2)]),_0x47831b&&(this['currentTest'][_0x28a7d6(0x107)]&&logger[_0x28a7d6(0xf6)](_0xb8e3c2[_0x28a7d6(0x141)])),this[_0x28a7d6(0x145)][_0x28a7d6(0xdb)]=this['currentTest'][_0x28a7d6(0x107)],this[_0x28a7d6(0x145)]['shouldScanTestForAccessibility']&&logger[_0x28a7d6(0xf6)](_0xb8e3c2[_0x28a7d6(0xee)]);}}catch(_0x52600c){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x28a7d6(0x165)](_0x52600c));}_0xb8e3c2[_0x28a7d6(0x15c)](_0x36be3e);})[_0x52aa18(0x131)](()=>{const _0x538def=_0x52aa18;_0x457a7d[_0x538def(0x101)](_0x16b35a);});},{'platform':_0xb8e3c2['ZnlbB'](nestedKeyValue,global['__platformCaps'],[_0xb8e3c2[_0x42ba4f(0x166)]]),'hookType':_0xb8e3c2[_0x42ba4f(0x106)]})();},'afterEach'(_0x7e806e){const _0x5bfab1=a36_0x48837e,_0x699ae={'tsHIj':function(_0x237e02,_0x37e377){return _0x237e02>_0x37e377;},'JMVQD':function(_0x341751,_0x3ecde2){return _0x341751===_0x3ecde2;},'Vxkmr':_0x5bfab1(0x149),'JddKQ':function(_0x5ed1a9,_0x2bf4c0){return _0x5ed1a9>_0x2bf4c0;},'fLvsO':_0x5bfab1(0x177),'TSnfG':function(_0x3eb257,_0x3b5f02,_0x2e36bb,_0x1ad72e){return _0x3eb257(_0x3b5f02,_0x2e36bb,_0x1ad72e);},'yUJmU':'isAccessibilityPlatform','noAbC':_0x5bfab1(0x118),'RhcFh':_0x5bfab1(0x10a),'EZNNu':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','uLaQu':_0x5bfab1(0x113),'gIyJa':_0x5bfab1(0x12a),'itQJZ':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','PWwML':_0x5bfab1(0x143),'ALaRy':_0x5bfab1(0x13d),'pGLIw':_0x5bfab1(0x10d),'Pswhl':function(_0x1c2bef){return _0x1c2bef();},'fiCaK':function(_0xd97aba,_0x4ab1ab,_0x323f37){return _0xd97aba(_0x4ab1ab,_0x323f37);},'JeLMN':function(_0x5cd115){return _0x5cd115();},'ePgBJ':_0x5bfab1(0xde),'oTytk':function(_0x433089,_0x56ee12){return _0x433089>_0x56ee12;},'VXkYA':'\x20-\x20','COBko':function(_0x3f1f43,_0x197a8f){return _0x3f1f43!==_0x197a8f;},'FTUXD':_0x5bfab1(0x14c),'VYZpB':function(_0x4930db,_0x26b738,_0x1f959a){return _0x4930db(_0x26b738,_0x1f959a);},'MVeNY':function(_0x114514,_0x2d3d95){return _0x114514+_0x2d3d95;},'LBIVb':'Failed:\x20','NRnZU':_0x5bfab1(0x12c),'kVlKS':_0x5bfab1(0x134),'cBzTj':_0x5bfab1(0xf6),'fGoVR':_0x5bfab1(0x128),'zIfQC':function(_0xb9950,_0x313d8c,_0x58a8f3){return _0xb9950(_0x313d8c,_0x58a8f3);},'JRgCx':_0x5bfab1(0x150),'CHHPx':_0x5bfab1(0x179)},_0x401f76='browserstack internal helper hook';this[_0x5bfab1(0x11f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x699ae[_0x5bfab1(0x16c)]]),global['sessionName']=this['currentTest'][_0x5bfab1(0x164)]()[_0x5bfab1(0xf4)](_0x699ae[_0x5bfab1(0x10c)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5bfab1(0xe7)],()=>{const _0x4fffb4=_0x5bfab1,_0x2996c8={'YFSle':_0x699ae['VXkYA'],'yHtyl':function(_0x110a31,_0x10962b){const _0x2c4aef=a36_0x2a60;return _0x699ae[_0x2c4aef(0x122)](_0x110a31,_0x10962b);},'GZfmN':_0x699ae[_0x4fffb4(0x15a)],'qmgMq':function(_0xc79c2c,_0x28bfaf,_0x26ca74){const _0x3aa797=_0x4fffb4;return _0x699ae[_0x3aa797(0x155)](_0xc79c2c,_0x28bfaf,_0x26ca74);},'tjDHj':function(_0x373b59,_0x11d085){const _0x7e71d8=_0x4fffb4;return _0x699ae[_0x7e71d8(0x16b)](_0x373b59,_0x11d085);},'dzNIK':_0x699ae['LBIVb'],'cFtji':_0x699ae[_0x4fffb4(0x171)],'wrbSD':_0x699ae['kVlKS'],'pJTrO':_0x699ae[_0x4fffb4(0x153)]},_0x21d58e=async(_0x4e01d2,_0x684443)=>{const _0x7c2cea=_0x4fffb4;await global['__drivers'][0x0]['executeScript'](_0x7c2cea(0xe3)+_0x4e01d2+_0x7c2cea(0x132)+_0x684443+'\x22}}');};new Promise(async _0x5b17c1=>{const _0x488a89=_0x4fffb4;try{_0x699ae[_0x488a89(0x17d)](global['__drivers'][_0x488a89(0x161)],0x1)&&(await global[_0x488a89(0x130)](),global['__drivers'][_0x488a89(0x14d)](),global['__error_messages__']=[],global[_0x488a89(0x14a)]=![]);try{if(global['percy']&&_0x699ae['JMVQD'](global['percyCaptureMode'],_0x699ae['Vxkmr'])&&global['__drivers'][0x0]){const _0x48e6a5=_0x699ae[_0x488a89(0xf0)](global[_0x488a89(0x139)][_0x488a89(0x161)],0x0)?!!global[_0x488a89(0x139)][0x0]['app']||!!global[_0x488a89(0x139)][0x0][_0x699ae['fLvsO']]:![],_0x43b305={};_0x43b305['app']=_0x48e6a5,await _0x699ae[_0x488a89(0x15d)](percyAutoCapture,global[_0x488a89(0x17f)][0x0],_0x699ae[_0x488a89(0xec)],_0x43b305);}}catch(_0x5a176b){logger['debug'](_0x488a89(0x14b)+_0x5a176b);}!global[_0x488a89(0x12d)]&&(await PerformanceTester[_0x488a89(0x172)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x17258b=_0x488a89;await global['__drivers'][0x0][_0x17258b(0x111)](_0x17258b(0xfb)+JSON['stringify'](this['currentTest'][_0x17258b(0x164)]()[_0x17258b(0xf4)](_0x2996c8[_0x17258b(0xff)]))+'}}');})(),global[_0x488a89(0x17f)][0x0][_0x488a89(0x15e)]=!![]),await PerformanceTester[_0x488a89(0x172)](PerformanceAutEvents[_0x488a89(0x103)],async()=>{const _0x35f5d6=_0x488a89,_0x28594c=_0x2996c8[_0x35f5d6(0x173)](this['currentTest'][_0x35f5d6(0xfa)],_0x2996c8[_0x35f5d6(0xf2)]);_0x28594c?(global['__sessionFailed']=!![],global[_0x35f5d6(0x158)]['push'](this[_0x35f5d6(0x145)][_0x35f5d6(0x117)][_0x35f5d6(0x116)]),await _0x2996c8[_0x35f5d6(0xe5)](_0x21d58e,JSON['stringify'](_0x2996c8[_0x35f5d6(0x10f)](_0x2996c8['dzNIK'],this[_0x35f5d6(0x145)][_0x35f5d6(0x117)][_0x35f5d6(0x116)])),_0x2996c8[_0x35f5d6(0x119)])):await _0x2996c8[_0x35f5d6(0xe5)](_0x21d58e,JSON['stringify'](_0x2996c8['wrbSD']),_0x2996c8['pJTrO']);})();}catch(_0xbfef0c){logger[_0x488a89(0xde)](_0x488a89(0x159)+_0xbfef0c);}try{if(this[_0x488a89(0x145)][_0x488a89(0xdb)]&&globals[_0x488a89(0x175)](_0x699ae[_0x488a89(0x105)])&&globals[_0x488a89(0x175)](_0x699ae[_0x488a89(0xe6)])){logger[_0x488a89(0xf6)](_0x699ae[_0x488a89(0x124)]);const _0xae97ba={};_0xae97ba['thTestRunUuid']=this[_0x488a89(0x145)][_0x488a89(0xe0)],_0xae97ba[_0x488a89(0xdd)]=process[_0x488a89(0x157)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0xae97ba[_0x488a89(0x138)]=process[_0x488a89(0x157)][testHubConstants['ENV_VAR'][_0x488a89(0x102)]];const _0x43d171=_0xae97ba;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x488a89(0x11d)](_0x43d171)),logger[_0x488a89(0xde)](_0x699ae['EZNNu']);const _0xcd4186={};_0xcd4186['command']=_0x699ae[_0x488a89(0x167)];const _0x3427c1=await PerformanceTester[_0x488a89(0x172)](PerformanceA11yEvents[_0x488a89(0x160)],async()=>{const _0x52434e=_0x488a89;return await accessibilityRetryHelper[_0x52434e(0x120)](global[_0x52434e(0x17f)][0x0],global[_0x52434e(0x11a)]);},_0xcd4186)();_0x3427c1?logger[_0x488a89(0xde)](_0x699ae[_0x488a89(0x10e)]):logger['warn'](_0x699ae['itQJZ']);const _0x434cf8=await PerformanceTester[_0x488a89(0x172)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x200792=_0x488a89;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x200792(0x17f)][0x0],_0x43d171);})();_0x434cf8?logger[_0x488a89(0xde)](_0x699ae['PWwML']):logger[_0x488a89(0x104)](_0x699ae[_0x488a89(0x13a)]),logger[_0x488a89(0xf6)](_0x699ae[_0x488a89(0x12e)]);}}catch(_0x3315fd){logger[_0x488a89(0x12c)](_0x488a89(0x176)+this['currentTest'][_0x488a89(0x164)]()+_0x488a89(0x156),_0x3315fd);}try{try{if(_0x699ae[_0x488a89(0x108)](shouldProcessEventForTesthub)){global[_0x488a89(0x17f)][0x0]&&await _0x699ae[_0x488a89(0x147)](sendPlatformDetails,global[_0x488a89(0x17f)][0x0],this[_0x488a89(0x145)]?this[_0x488a89(0x145)]['testAnalyticsId']:null);if(_0x699ae[_0x488a89(0x137)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x488a89(0x110)]);const _0x1c0bd8=_0x488a89(0x174)+Date[_0x488a89(0x163)]();await _0x699ae[_0x488a89(0x147)](_0x21d58e,JSON[_0x488a89(0x11d)](_0x1c0bd8),_0x699ae[_0x488a89(0x154)]),PerformanceTester[_0x488a89(0xfe)](PerformanceO11yEvents[_0x488a89(0x110)]);}}}catch(_0x53d005){logger[_0x488a89(0xde)](_0x488a89(0x15f)+_0x53d005),PerformanceTester[_0x488a89(0xfe)](PerformanceO11yEvents[_0x488a89(0x110)],![],_0x53d005);}_0x699ae[_0x488a89(0x168)](global[_0x488a89(0x17f)][0x0][_0x488a89(0xed)],0x0)&&await global[_0x488a89(0x130)]();}catch(_0x4baaea){logger[_0x488a89(0xde)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4baaea);}_0x699ae['Pswhl'](_0x5b17c1);})['then'](()=>{_0x699ae['Pswhl'](_0x7e806e);});},{'platform':_0x699ae['zIfQC'](nestedKeyValue,global[_0x5bfab1(0x14f)],[_0x699ae['JRgCx']]),'hookType':_0x699ae[_0x5bfab1(0x11b)]})();},'afterAll'(_0x3dff29){const _0x3a1f94=a36_0x48837e,_0x31718f={'YonLT':function(_0x5bbe37){return _0x5bbe37();},'RgcWX':function(_0x1274d5){return _0x1274d5();},'yvLgz':_0x3a1f94(0x128),'pkjnA':function(_0x55e883,_0x37b4c8,_0x42f3d7){return _0x55e883(_0x37b4c8,_0x42f3d7);},'ExMUF':_0x3a1f94(0x150),'LegLD':_0x3a1f94(0x100)},_0x5d6d00='browserstack internal helper hook';this[_0x3a1f94(0x11f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31718f[_0x3a1f94(0x15b)]]),PerformanceTester[_0x3a1f94(0x172)](PerformanceSdkEvents[_0x3a1f94(0xe7)],()=>{const _0x3f2bc0=_0x3a1f94,_0x3d0c04={'FDNid':function(_0x2cc766){const _0x558272=a36_0x2a60;return _0x31718f[_0x558272(0x17c)](_0x2cc766);}};new Promise(async _0x1ab513=>{const _0x5a0b22=a36_0x2a60;await global[_0x5a0b22(0x130)](),_0x31718f[_0x5a0b22(0xe9)](_0x1ab513);})['then']()[_0x3f2bc0(0xdc)](()=>{const _0x5253e0=_0x3f2bc0;_0x3d0c04[_0x5253e0(0x170)](_0x3dff29);});},{'platform':_0x31718f[_0x3a1f94(0x12b)](nestedKeyValue,global[_0x3a1f94(0x14f)],[_0x31718f[_0x3a1f94(0x17b)]]),'hookType':_0x31718f['LegLD']})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x827007=a37_0x51fa;(function(_0x5a1e4c,_0x12b3e9){const _0x5349f9=a37_0x51fa,_0x34a5b7=_0x5a1e4c();while(!![]){try{const _0x25fb88=parseInt(_0x5349f9(0x1f1))/0x1*(-parseInt(_0x5349f9(0x1e0))/0x2)+-parseInt(_0x5349f9(0x1d1))/0x3+-parseInt(_0x5349f9(0x1bb))/0x4*(-parseInt(_0x5349f9(0x1d0))/0x5)+parseInt(_0x5349f9(0x1fa))/0x6+-parseInt(_0x5349f9(0x1bf))/0x7+parseInt(_0x5349f9(0x1f6))/0x8*(-parseInt(_0x5349f9(0x1cf))/0x9)+parseInt(_0x5349f9(0x1ec))/0xa;if(_0x25fb88===_0x12b3e9)break;else _0x34a5b7['push'](_0x34a5b7['shift']());}catch(_0x323005){_0x34a5b7['push'](_0x34a5b7['shift']());}}}(a37_0x411d,0x18e24));function a37_0x51fa(_0x5c4f82,_0x2f30da){const _0x411d79=a37_0x411d();return a37_0x51fa=function(_0x51fa25,_0x1d383a){_0x51fa25=_0x51fa25-0x1ba;let _0x1c95aa=_0x411d79[_0x51fa25];return _0x1c95aa;},a37_0x51fa(_0x5c4f82,_0x2f30da);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a37_0x827007(0x1e2)],{default:BrowserStackSetup}=require(a37_0x827007(0x1e4)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x38194a,_0x3e1915)=>{const _0x2dc18f=a37_0x827007,_0x14e439={'WaiHn':_0x2dc18f(0x1e8),'mfhWo':_0x2dc18f(0x1d8),'HveUx':function(_0x1ccbaf,_0x4fa0cb){return _0x1ccbaf(_0x4fa0cb);},'HkYPy':_0x2dc18f(0x1e6)};let _0x247ac7=null,_0x20a837={};const _0x144e4e=_0x3e1915[_0x2dc18f(0x1f0)](_0x10cf6c=>_0x10cf6c===_0x2dc18f(0x1d2));if(!helper[_0x2dc18f(0x1e1)](_0x38194a['config'])&&fs[_0x2dc18f(0x1ee)](path[_0x2dc18f(0x1f9)](process[_0x2dc18f(0x1c5)](),_0x38194a[_0x2dc18f(0x1e3)])))_0x247ac7=path[_0x2dc18f(0x1f9)](process[_0x2dc18f(0x1c5)](),_0x38194a['config']),_0x3e1915[_0x2dc18f(0x1dc)](_0x144e4e,0x2);else{if(fs[_0x2dc18f(0x1ee)](path['join'](process[_0x2dc18f(0x1c5)](),_0x14e439[_0x2dc18f(0x1bd)])))_0x247ac7=path[_0x2dc18f(0x1f9)](process[_0x2dc18f(0x1c5)](),_0x14e439[_0x2dc18f(0x1bd)]);else fs[_0x2dc18f(0x1ee)](path['join'](process['cwd'](),_0x14e439[_0x2dc18f(0x1e9)]))&&(_0x247ac7=path['join'](process[_0x2dc18f(0x1c5)](),_0x14e439[_0x2dc18f(0x1e9)]));}return _0x247ac7?(logger[_0x2dc18f(0x1f3)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x247ac7),_0x20a837=_0x14e439['HveUx'](require,_0x247ac7)):logger[_0x2dc18f(0x1f3)](_0x14e439[_0x2dc18f(0x1d9)]),_0x20a837;},removeExistingEnvs=_0x2a4b57=>{const _0x16136a=a37_0x827007,_0x4b4995={};_0x4b4995['PfIqn']=function(_0x2b5c8c,_0x496319){return _0x2b5c8c>_0x496319;};const _0x3168f8=_0x4b4995;let _0x17d403=_0x2a4b57[_0x16136a(0x1f0)](_0x766ad3=>_0x766ad3===_0x16136a(0x1dd));_0x3168f8[_0x16136a(0x1de)](_0x17d403,-0x1)&&_0x2a4b57['splice'](_0x17d403,0x2),_0x17d403=_0x2a4b57[_0x16136a(0x1f0)](_0x37f4cc=>_0x37f4cc==='-e'),_0x3168f8[_0x16136a(0x1de)](_0x17d403,-0x1)&&_0x2a4b57[_0x16136a(0x1dc)](_0x17d403,0x2);};function run(_0x119cd2,_0x37ae14,_0x1d787c){const _0x7566aa=a37_0x827007,_0x1f57b8={'ighDC':_0x7566aa(0x1c9),'sIUVq':function(_0x4f7bf7,_0x2e9eda){return _0x4f7bf7+_0x2e9eda;},'muWWM':_0x7566aa(0x1e5),'alPIn':function(_0x2bac6f,_0x5d3ea2,_0x479a6f){return _0x2bac6f(_0x5d3ea2,_0x479a6f);},'ICZLv':_0x7566aa(0x1d7),'ipKfE':_0x7566aa(0x1bc),'VDAGc':function(_0x1e0923,_0x1c14f7){return _0x1e0923===_0x1c14f7;},'TEfiI':'nightwatch-browserstack.json','qcacm':function(_0x10628f,_0x55f385){return _0x10628f(_0x55f385);},'ccwFr':function(_0x1e2588,_0x3dfea8,_0x1133cc,_0x304a97){return _0x1e2588(_0x3dfea8,_0x1133cc,_0x304a97);},'Dqpwf':'nightwatch.cmd','kkzxg':_0x7566aa(0x1d2),'IuDOR':_0x7566aa(0x1dd),'SEUHv':'inherit','knrsA':'close'};if(!_0x1d787c[_0x7566aa(0x1e3)])return;const _0x365058=_0x1f57b8[_0x7566aa(0x1c3)](getUserNightwatchConfigs,_0x119cd2,_0x37ae14),_0x538575={};_0x538575['start_process']=![];const _0x2065ca={};_0x2065ca[_0x7566aa(0x1c6)]=_0x1f57b8['ICZLv'],_0x2065ca[_0x7566aa(0x1c7)]=0x1bb;const _0x3c13de={};_0x3c13de[_0x7566aa(0x1fb)]=_0x538575,_0x3c13de[_0x7566aa(0x1d4)]=_0x2065ca;const _0x2d6d8b=_0x3c13de;logger[_0x7566aa(0x1f3)](_0x1f57b8[_0x7566aa(0x1da)]);const _0x46ba71={..._0x365058},_0x593a05=_0x46ba71,_0x1beea4=helper[_0x7566aa(0x1ce)](_0x1d787c[_0x7566aa(0x1e3)]),_0x3fd61f=[];_0x1d787c[_0x7566aa(0x1e3)][_0x7566aa(0x1e7)][_0x7566aa(0x1d5)]((_0x571de2,_0x4f4426)=>{const _0x33931c=_0x7566aa;_0x1beea4?_0x3fd61f[_0x33931c(0x1cd)](helper[_0x33931c(0x1d6)](_0x1d787c['config'],_0x1f57b8[_0x33931c(0x1c8)],_0x4f4426)):_0x3fd61f['push'](helper[_0x33931c(0x1f8)](_0x1d787c['config'],_0x1f57b8[_0x33931c(0x1c8)],_0x4f4426));});const _0x1a6585={},_0x23ab28=[];_0x119cd2['env']=_0x119cd2[_0x7566aa(0x1eb)]||_0x119cd2['e'];const _0x54ba7c=_0x119cd2[_0x7566aa(0x1eb)]?_0x119cd2['env'][_0x7566aa(0x1f4)]()[_0x7566aa(0x1d3)](',')[_0x7566aa(0x1c0)](_0x251742=>_0x251742[_0x7566aa(0x1f4)]())[_0x7566aa(0x1f7)](_0x3a0ffd=>_0x3a0ffd!==''):[''];_0x1f57b8[_0x7566aa(0x1ea)](_0x54ba7c['length'],0x0)&&_0x54ba7c[_0x7566aa(0x1cd)]('');_0x54ba7c[_0x7566aa(0x1d5)](_0x610242=>{_0x3fd61f['forEach'](_0x5cf4ff=>{const _0x255a14=a37_0x51fa;let _0xd79ba8=_0x1f57b8['sIUVq'](helper['getPlatformName'](_0x5cf4ff,'_'),'_'+Date[_0x255a14(0x1c2)]());_0x610242&&(_0xd79ba8+='_'+_0x610242);if(_0x610242&&(!_0x365058[_0x1f57b8[_0x255a14(0x1f2)]]||!_0x365058[_0x1f57b8[_0x255a14(0x1f2)]][_0x610242]))return;const _0x3bd70f={..._0x2d6d8b};_0x3bd70f[_0x255a14(0x1ef)]=_0x5cf4ff;const _0x3cdab4=_0x3bd70f;_0x1a6585[_0xd79ba8]=_0x610242?helper['mergeDeep'](_0x365058[_0x1f57b8[_0x255a14(0x1f2)]][_0x610242],_0x3cdab4):_0x3cdab4,_0x23ab28[_0x255a14(0x1cd)](_0xd79ba8);});});!_0x593a05[_0x7566aa(0x1e5)]&&(_0x593a05[_0x7566aa(0x1e5)]={});_0x593a05['test_settings']={..._0x593a05['test_settings'],..._0x1a6585};const _0x28a9e1=path[_0x7566aa(0x1f9)](__dirname,_0x1f57b8['TEfiI']);fs['writeFileSync'](_0x28a9e1,JSON['stringify'](_0x593a05)),_0x1f57b8['qcacm'](removeExistingEnvs,_0x37ae14);const _0x2c5b32=_0x1f57b8['ccwFr'](spawn,/^win/[_0x7566aa(0x1ca)](process[_0x7566aa(0x1c1)])?_0x1f57b8[_0x7566aa(0x1ed)]:_0x1f57b8['ighDC'],[_0x1f57b8[_0x7566aa(0x1cc)],_0x28a9e1,..._0x37ae14[_0x7566aa(0x1ba)](0x1),_0x1f57b8[_0x7566aa(0x1be)],_0x23ab28[_0x7566aa(0x1f9)](',')],{'stdio':_0x1f57b8[_0x7566aa(0x1db)]});_0x2c5b32['on'](_0x1f57b8[_0x7566aa(0x1df)],async _0x4a47d5=>{const _0x20bbfc=_0x7566aa;logger['debug'](_0x20bbfc(0x1cb)+_0x4a47d5),logger[_0x20bbfc(0x1f3)]('Deleting\x20'+_0x28a9e1),fs[_0x20bbfc(0x1f5)](_0x28a9e1);});}function a37_0x411d(){const _0x2cfd30=['IuDOR','1119972BnVmLW','map','platform','now','alPIn','exports','cwd','host','port','ighDC','nightwatch','test','child\x20process\x20exited\x20with\x20code\x20','kkzxg','push','useW3C','873XdguCp','20Xdyfif','503835AHnuyx','--config','split','selenium','forEach','modifyBrowserStackW3CCaps','hub.browserstack.com','nightwatch.json','HkYPy','ipKfE','SEUHv','splice','--env','PfIqn','knrsA','43366lexAng','isUndefined','winstonLogger','config','../../helpers/BrowserStackSetup','test_settings','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','platforms','nightwatch.conf.js','mfhWo','VDAGc','env','5344770AkzzXf','Dqpwf','existsSync','desiredCapabilities','findIndex','4BXopXu','muWWM','info','trim','unlinkSync','11976IVKwkM','filter','modifyBrowserStackCaps','join','760758BWmxax','webdriver','slice','536jcYmkt','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','WaiHn'];a37_0x411d=function(){return _0x2cfd30;};return a37_0x411d();}module[a37_0x827007(0x1c4)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a38_0x6955(){const _0x2bd274=['134732JGjVAl','currentTest','542049eyHJkN','measureWrapper','accessibilityPlatform','xrIxP','BBBbC','parse','browser_version','EXrNf','accessibilityOptions.includeIssueType.needsReview','RartC','fnbLo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','buact','scannerProcessingTimeout','wcagVersion','5jvmtoT','accessibilityOptions.scannerProcessingTimeout','1432585tjsAHX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browser','name','getAccessibilityResultsSummary','GsVjV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','UcUKW','kvJwx','browserstack.accessibility','chromium','accessibilityOptions','Performing\x20scan\x20with\x20method:\x20','bznNM','bstackSdkArgs','getAccessibilityResults','../../helpers/logger','wsEndpoint','iyqiq','util','WebDriver','JTatU','debug','HbVTg','accessibilityOptions.includeIssueType.bestPractice','dweoQ','scannerVersion','../../helpers/helper','executeAsyncScript','AwQDT','GdLcQ','workerInfo','setAccessibilityCapabilities','format','plDre','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','cjxJp','agMHL','dscur','FvoUI','winstonLogger','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','691688CLuzwG','connectOptions','QOKSc','dVNNZ','pihzt','stringify','accessibilityOptions.wcagVersion','PERFORM_SCAN','testInfo','chrome','playwright-chromium','144061NSMlzA','error','PVbjY','No\x20summaryResults\x20found.','includes','429762SEoeai','rcCOf','command','replace','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','includeIssueType','env','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','latest','evaluate','constructor','browserName','izprz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','LOdwA','rrHJx','processAccessibilityCaps','__workerDetails','accessibilityOptions.authToken','dyRsl','../../helpers/performance/performance-tester','BzOcU','MiJqC','../../helpers/accessibility-automation/scripts','aNKJW','127114LmpXEM','No\x20accessibility\x20results\x20were\x20found.','performScan','use','XDAUB','\x20page:\x20','PlpKN','deviceName','warn','nDAlL','FJeNg','jmsGi','ZHnuH','browserStackExecuteDriver','IZOAJ'];a38_0x6955=function(){return _0x2bd274;};return a38_0x6955();}const a38_0x19977c=a38_0x43cb;(function(_0x525aa5,_0x5bbb6e){const _0x49cc67=a38_0x43cb,_0x1d3154=_0x525aa5();while(!![]){try{const _0xec3535=parseInt(_0x49cc67(0x181))/0x1+parseInt(_0x49cc67(0x19f))/0x2+-parseInt(_0x49cc67(0x1b0))/0x3+parseInt(_0x49cc67(0x1ae))/0x4+parseInt(_0x49cc67(0x1bf))/0x5*(-parseInt(_0x49cc67(0x186))/0x6)+parseInt(_0x49cc67(0x1c1))/0x7+-parseInt(_0x49cc67(0x176))/0x8;if(_0xec3535===_0x5bbb6e)break;else _0x1d3154['push'](_0x1d3154['shift']());}catch(_0x588474){_0x1d3154['push'](_0x1d3154['shift']());}}}(a38_0x6955,0x1a2b1));function a38_0x43cb(_0x3c7699,_0x1ae9d0){const _0x69553f=a38_0x6955();return a38_0x43cb=function(_0x43cb41,_0x3bb068){_0x43cb41=_0x43cb41-0x155;let _0x569fcc=_0x69553f[_0x43cb41];return _0x569fcc;},a38_0x43cb(_0x3c7699,_0x1ae9d0);}const util=require(a38_0x19977c(0x15f)),logger=require(a38_0x19977c(0x15c))[a38_0x19977c(0x174)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x19977c(0x167)),scripts=require(a38_0x19977c(0x19d)),PerformanceTester=require(a38_0x19977c(0x19a)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports['browserStackEvaluate']=async(_0x2d29d5,_0x31fb69,_0x12c0ca={})=>{const _0x165ceb=a38_0x19977c,_0x381ea7={};_0x381ea7[_0x165ceb(0x173)]=_0x165ceb(0x15a);const _0x1458ce=_0x381ea7;return await _0x2d29d5[_0x165ceb(0x18f)](_0x165ceb(0x175)+_0x31fb69[_0x165ceb(0x189)](/arguments/g,_0x1458ce[_0x165ceb(0x173)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x165ceb(0x17b)](_0x12c0ca)+')');},exports[a38_0x19977c(0x1ac)]=async(_0x3ed0ca,_0x294f33,_0x3d874f={})=>{const _0x1f887d=a38_0x19977c,_0x322100={};_0x322100['aNKJW']=function(_0x5861c7,_0xeb3691){return _0x5861c7===_0xeb3691;},_0x322100['TtWzR']=_0x1f887d(0x160),_0x322100[_0x1f887d(0x1a3)]='Playwright',_0x322100[_0x1f887d(0x171)]=_0x1f887d(0x15a);const _0x384b51=_0x322100;if(_0x384b51[_0x1f887d(0x19e)](_0x3ed0ca[_0x1f887d(0x190)]['name'],_0x384b51['TtWzR']))return await _0x3ed0ca[_0x1f887d(0x168)](_0x294f33,_0x3d874f);else{if(_0x384b51[_0x1f887d(0x19e)](_0x3ed0ca[_0x1f887d(0x190)][_0x1f887d(0x1c6)],_0x384b51['XDAUB']))return await _0x3ed0ca['executeScript'](_0x1f887d(0x18a)+_0x294f33[_0x1f887d(0x189)](/arguments/g,_0x384b51[_0x1f887d(0x171)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x1f887d(0x17b)](_0x3d874f)+')');}},exports[a38_0x19977c(0x16c)]=async _0xbdc414=>{const _0x52b9e6=a38_0x19977c,_0x36d5dd={};_0x36d5dd[_0x52b9e6(0x1ca)]=_0x52b9e6(0x17c),_0x36d5dd[_0x52b9e6(0x169)]=_0x52b9e6(0x1c0),_0x36d5dd[_0x52b9e6(0x1aa)]=_0x52b9e6(0x164),_0x36d5dd[_0x52b9e6(0x1b9)]=_0x52b9e6(0x1b8),_0x36d5dd['PlpKN']=_0x52b9e6(0x198),_0x36d5dd[_0x52b9e6(0x16a)]='accessibilityOptions.scannerVersion';const _0x23614b=_0x36d5dd;_0xbdc414[_0x52b9e6(0x157)]&&(_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1be)]&&(_0xbdc414[_0x23614b['UcUKW']]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1be)]),_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1bd)]&&(_0xbdc414[_0x23614b[_0x52b9e6(0x169)]]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1bd)]),_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x18b)]&&(_0xbdc414[_0x23614b['jmsGi']]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x18b)]['bestPractice'],_0xbdc414[_0x23614b[_0x52b9e6(0x1b9)]]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x18b)]['needsReview']));const _0x77ceb7=JSON[_0x52b9e6(0x1b5)](process[_0x52b9e6(0x18c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x52b9e6(0x166)];_0xbdc414[_0x23614b[_0x52b9e6(0x1a5)]]=process[_0x52b9e6(0x18c)]['BS_A11Y_JWT'],_0xbdc414[_0x23614b[_0x52b9e6(0x16a)]]=_0x77ceb7,delete _0xbdc414[_0x52b9e6(0x157)];},exports[a38_0x19977c(0x15b)]=async _0x5b9535=>{const _0x3b1c2c=a38_0x19977c,_0x55cb1f={};_0x55cb1f[_0x3b1c2c(0x19c)]=_0x3b1c2c(0x1a0),_0x55cb1f['bznNM']=_0x3b1c2c(0x18d);const _0x35bdb3=_0x55cb1f;if(global[_0x3b1c2c(0x1b2)])try{const details={'url':await _0x5b9535.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5b9535,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5b9535,scripts.getResults);},{...details})();return res;}catch{return logger[_0x3b1c2c(0x182)](_0x35bdb3[_0x3b1c2c(0x19c)]),[];}else return logger[_0x3b1c2c(0x1a7)](_0x35bdb3[_0x3b1c2c(0x159)]),[];},exports['performScan']=async(_0x3b5ee0,_0x24196d='')=>{const _0x4ec8f6=a38_0x19977c;logger['debug'](_0x4ec8f6(0x158)+_0x24196d+_0x4ec8f6(0x1a4)+_0x3b5ee0);const _0x4358dd={'url':await _0x3b5ee0['url'](),'testhub_btcer_uuid':global[_0x4ec8f6(0x197)]?.[_0x4ec8f6(0x1af)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x4ec8f6(0x1b1)](PerformanceA11yEvents[_0x4ec8f6(0x17d)],async()=>{const _0xb02ec1=_0x4ec8f6,_0x5c057d={};_0x5c057d[_0xb02ec1(0x188)]=_0x24196d;const _0x55cf37=await exports['browserStackEvaluate'](_0x3b5ee0,scripts[_0xb02ec1(0x1a1)],_0x5c057d);return _0x55cf37;},{'command':_0x24196d,..._0x4358dd})();},exports[a38_0x19977c(0x1c7)]=async _0x378feb=>{const _0x367b5f=a38_0x19977c,_0x1e874c={};_0x1e874c[_0x367b5f(0x1bc)]=_0x367b5f(0x184),_0x1e874c['LOdwA']=_0x367b5f(0x1c9);const _0x5b6b27=_0x1e874c;if(global[_0x367b5f(0x1b2)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x378feb,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x378feb,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x367b5f(0x162)](_0x5b6b27[_0x367b5f(0x1bc)]),{};}else return logger[_0x367b5f(0x1a7)](_0x5b6b27[_0x367b5f(0x194)]),{};},exports['platformValidation']=async _0x23955a=>{const _0x109b40=a38_0x19977c,_0x4ff666={'fnbLo':function(_0x4f84a0,_0x59dfcf){return _0x4f84a0!==_0x59dfcf;},'rcCOf':_0x109b40(0x1c3),'GsVjV':_0x109b40(0x17f),'rrHJx':_0x109b40(0x180),'HbVTg':_0x109b40(0x156),'htmql':_0x109b40(0x193),'BBBbC':function(_0xe8c19d,_0x380e30){return _0xe8c19d(_0x380e30);},'wfqSD':function(_0x20aaf1){return _0x20aaf1();},'mwdhW':function(_0x1889dc,_0x159b5f){return _0x1889dc<_0x159b5f;},'dVNNZ':_0x109b40(0x1bb),'cjxJp':function(_0x58f0bc,_0x4dfe09){return _0x58f0bc===_0x4dfe09;},'dyRsl':_0x109b40(0x18e),'JTatU':function(_0x138817,_0x4ad160){return _0x138817>_0x4ad160;},'xrIxP':_0x109b40(0x1c4)};try{if(!_0x4ff666[_0x109b40(0x1ba)](_0x23955a[_0x109b40(0x1a6)],''))return logger[_0x109b40(0x1a7)](_0x4ff666[_0x109b40(0x187)]),![];const _0x4c9a67=_0x23955a[_0x109b40(0x1c5)];if(![_0x4ff666[_0x109b40(0x1c8)],_0x4ff666[_0x109b40(0x195)],_0x4ff666[_0x109b40(0x163)]][_0x109b40(0x185)](_0x4c9a67))return logger[_0x109b40(0x1a7)](_0x4ff666['htmql']),![];const _0x43e6f6=_0x4ff666[_0x109b40(0x1b4)](parseInt,_0x23955a[_0x109b40(0x1b6)]);!_0x4ff666['wfqSD'](isBrowserstackInfra)&&(!_0x4ff666['mwdhW'](_0x43e6f6,0x64)&&logger[_0x109b40(0x1a7)](_0x4ff666[_0x109b40(0x179)]));if(!(_0x4ff666[_0x109b40(0x170)](_0x43e6f6,_0x4ff666[_0x109b40(0x199)])||_0x4ff666[_0x109b40(0x161)](_0x43e6f6,0x5e)))return logger[_0x109b40(0x1a7)](_0x4ff666[_0x109b40(0x1b3)]),![];}catch(_0x1abe98){logger[_0x109b40(0x162)](_0x109b40(0x1c2)+util[_0x109b40(0x16d)](_0x1abe98));}return!![];},exports[a38_0x19977c(0x196)]=(_0x29607e,_0x53bc48,_0x51df00)=>{const _0x2795cd=a38_0x19977c,_0x565ffd={'QOKSc':function(_0x41d43e){return _0x41d43e();},'BzOcU':_0x2795cd(0x155),'FJeNg':function(_0x31eca2,_0x31a0ab){return _0x31eca2===_0x31a0ab;},'plDre':'chrome','iyqiq':function(_0x2e87c7,_0x4945cc){return _0x2e87c7===_0x4945cc;},'kvJwx':_0x2795cd(0x180),'ikVhS':function(_0x3b2d1e,_0x391461){return _0x3b2d1e===_0x391461;},'IZOAJ':_0x2795cd(0x193),'PVbjY':function(_0x394f70){return _0x394f70();},'izprz':function(_0x16c79d,_0x266586){return _0x16c79d>_0x266586;},'ZHnuH':_0x2795cd(0x1bb),'dscur':_0x2795cd(0x18e),'nDAlL':_0x2795cd(0x1c4),'EXrNf':function(_0x1c4de0,_0x18bc0a){return _0x1c4de0(_0x18bc0a);},'pihzt':_0x2795cd(0x1c3),'dweoQ':function(_0x353664,_0x2135ee){return _0x353664+_0x2135ee;}};try{if(_0x565ffd[_0x2795cd(0x178)](isAccessibilityAutomationSession)){global[_0x2795cd(0x1b2)]=!![];!_0x29607e[_0x565ffd[_0x2795cd(0x19b)]]&&(global[_0x2795cd(0x1b2)]=![]);!(_0x565ffd[_0x2795cd(0x1a9)](_0x29607e[_0x2795cd(0x191)],_0x565ffd['plDre'])||_0x565ffd[_0x2795cd(0x15e)](_0x29607e[_0x2795cd(0x191)],_0x565ffd['kvJwx'])||_0x565ffd[_0x2795cd(0x15e)](_0x29607e['browser'],_0x565ffd[_0x2795cd(0x16e)])||_0x565ffd['ikVhS'](_0x29607e[_0x2795cd(0x1c5)],_0x565ffd[_0x2795cd(0x1cb)]))&&(logger[_0x2795cd(0x1a7)](_0x565ffd[_0x2795cd(0x1ad)]),global[_0x2795cd(0x1b2)]=![]);!_0x565ffd[_0x2795cd(0x183)](isBrowserstackInfra)&&(!_0x565ffd[_0x2795cd(0x192)](_0x29607e[_0x2795cd(0x1b6)],0x64)&&logger[_0x2795cd(0x1a7)](_0x565ffd[_0x2795cd(0x1ab)]));!(_0x565ffd['ikVhS'](_0x29607e[_0x2795cd(0x1b6)],_0x565ffd[_0x2795cd(0x172)])||_0x565ffd[_0x2795cd(0x192)](_0x29607e['browser_version'],0x5e))&&(logger['warn'](_0x565ffd[_0x2795cd(0x1a8)]),global[_0x2795cd(0x1b2)]=![]);!_0x565ffd['EXrNf'](isUndefined,_0x29607e[_0x2795cd(0x1a6)])&&(logger['warn'](_0x565ffd[_0x2795cd(0x17a)]),global[_0x2795cd(0x1b2)]=![]);if(!global[_0x2795cd(0x1b2)]){_0x29607e[_0x565ffd[_0x2795cd(0x19b)]]=![];const _0x42766d=_0x565ffd[_0x2795cd(0x165)](_0x53bc48,_0x565ffd[_0x2795cd(0x1b7)](encodeURIComponent,JSON['stringify'](_0x29607e)));_0x51df00&&(_0x51df00[_0x2795cd(0x1af)][_0x2795cd(0x17e)]['project'][_0x2795cd(0x1a2)][_0x2795cd(0x177)][_0x2795cd(0x15d)]=_0x42766d,_0x51df00[_0x2795cd(0x16b)]['project'][_0x2795cd(0x1a2)][_0x2795cd(0x177)][_0x2795cd(0x15d)]=_0x42766d);}}else global[_0x2795cd(0x1b2)]=![];}catch(_0xa44fa5){logger['debug'](_0x2795cd(0x16f)+util[_0x2795cd(0x16d)](_0xa44fa5));}};
|
|
1
|
+
const a38_0x40a5dd=a38_0x5b17;(function(_0x57bc3a,_0x3207be){const _0x3699a3=a38_0x5b17,_0x12d704=_0x57bc3a();while(!![]){try{const _0x4a9390=parseInt(_0x3699a3(0x14e))/0x1*(parseInt(_0x3699a3(0xf2))/0x2)+parseInt(_0x3699a3(0x118))/0x3*(-parseInt(_0x3699a3(0x10f))/0x4)+parseInt(_0x3699a3(0x115))/0x5*(-parseInt(_0x3699a3(0x104))/0x6)+-parseInt(_0x3699a3(0xde))/0x7+-parseInt(_0x3699a3(0x12e))/0x8*(parseInt(_0x3699a3(0x147))/0x9)+-parseInt(_0x3699a3(0x113))/0xa+parseInt(_0x3699a3(0x10b))/0xb;if(_0x4a9390===_0x3207be)break;else _0x12d704['push'](_0x12d704['shift']());}catch(_0x7900b6){_0x12d704['push'](_0x12d704['shift']());}}}(a38_0x1024,0xef4be));function a38_0x1024(){const _0x53352d=['vZCHl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','bQFDJ','browserName','yyphY','xaqHH','accessibilityOptions.wcagVersion','stringify','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','deviceName','KErrj','wsEndpoint','GaQZc','warn','SdOmg','JaXne','11550304yWHsyl','chromium','jtqQG','vboix','browser_version','NzCKM','uuuyu','accessibilityOptions.includeIssueType.needsReview','Playwright','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','RdrWx','BS_A11Y_JWT','latest','chrome','PERFORM_SCAN','error','name','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','getAccessibilityResults','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','SilEw','evaluate','url','CPcHP','needsReview','9pDEAVX','No\x20accessibility\x20results\x20were\x20found.','scannerProcessingTimeout','accessibilityOptions.authToken','bstackSdkArgs','__workerDetails','oJyfz','23AblLwO','env','util','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kIuPk','qXUTD','ipUSx','dRePy','XNvVy','KiJFB','../../helpers/accessibility-automation/helper','3388098CKgoZU','workerInfo','qXqtH','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','gPdXF','GlOQi','../../helpers/logger','executeAsyncScript','accessibilityPlatform','accessibilityOptions.includeIssueType.bestPractice','browserStackEvaluate','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','AaEWO','lfKRt','bestPractice','replace','debug','Performing\x20scan\x20with\x20method:\x20','uFGpu','IaIJB','79874pztRjD','parse','uciiB','scannerVersion','wOikO','WebDriver','hQxJN','gEWkK','../../helpers/performance/constants','ChNzB','playwright-chromium','setAccessibilityCapabilities','fOrKB','QaACA','winstonLogger','jsOvc','project','includeIssueType','9604998JKQhzZ','uoIql','command','constructor','accessibilityOptions','connectOptions','../../helpers/accessibility-automation/scripts','49334659jATPKG','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wXXPC','4SaoBNx','GZRop','performScan','accessibilityOptions.scannerVersion','3568460ChrkCJ','includes','5jaRwcR','currentTest','wcagVersion','1613643KTuCui','../../helpers/performance/performance-tester','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.'];a38_0x1024=function(){return _0x53352d;};return a38_0x1024();}function a38_0x5b17(_0x88e004,_0x9ca2ab){const _0x1024ba=a38_0x1024();return a38_0x5b17=function(_0x5b1711,_0x16d9b4){_0x5b1711=_0x5b1711-0xd5;let _0xf324ef=_0x1024ba[_0x5b1711];return _0xf324ef;},a38_0x5b17(_0x88e004,_0x9ca2ab);}const util=require(a38_0x40a5dd(0xd5)),logger=require(a38_0x40a5dd(0xe4))[a38_0x40a5dd(0x100)],{isAccessibilityAutomationSession}=require(a38_0x40a5dd(0xdd)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x40a5dd(0x10a)),PerformanceTester=require(a38_0x40a5dd(0x119)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x40a5dd(0xfa));exports[a38_0x40a5dd(0xe8)]=async(_0x593749,_0x234c3d,_0x4b6777={})=>{const _0x10ed82=a38_0x40a5dd,_0x49ba64={};_0x49ba64['CPcHP']=_0x10ed82(0x14b);const _0x1c2ccc=_0x49ba64;return await _0x593749[_0x10ed82(0x143)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x234c3d[_0x10ed82(0xed)](/arguments/g,_0x1c2ccc[_0x10ed82(0x145)])+_0x10ed82(0x123)+JSON['stringify'](_0x4b6777)+')');},exports[a38_0x40a5dd(0x10c)]=async(_0x1da1aa,_0x4b71b0,_0x28c780={})=>{const _0xe3ef0e=a38_0x40a5dd,_0x26553f={};_0x26553f[_0xe3ef0e(0xeb)]=function(_0x24c03b,_0x184bf1){return _0x24c03b===_0x184bf1;},_0x26553f[_0xe3ef0e(0xf6)]=_0xe3ef0e(0xf7),_0x26553f[_0xe3ef0e(0xd8)]=function(_0x2fda85,_0x14a85b){return _0x2fda85===_0x14a85b;},_0x26553f['vZCHl']=_0xe3ef0e(0x136),_0x26553f[_0xe3ef0e(0x110)]=_0xe3ef0e(0x14b);const _0x25eb23=_0x26553f;if(_0x25eb23['lfKRt'](_0x1da1aa['constructor']['name'],_0x25eb23[_0xe3ef0e(0xf6)]))return await _0x1da1aa[_0xe3ef0e(0xe5)](_0x4b71b0,_0x28c780);else{if(_0x25eb23['qXUTD'](_0x1da1aa[_0xe3ef0e(0x107)][_0xe3ef0e(0x13e)],_0x25eb23[_0xe3ef0e(0x11b)]))return await _0x1da1aa['executeScript'](_0xe3ef0e(0x137)+_0x4b71b0['replace'](/arguments/g,_0x25eb23['GZRop'])+_0xe3ef0e(0x141)+JSON[_0xe3ef0e(0x122)](_0x28c780)+')');}},exports[a38_0x40a5dd(0xfd)]=async _0x1a5d08=>{const _0x49d50b=a38_0x40a5dd,_0xf6a3b2={};_0xf6a3b2['uoIql']=_0x49d50b(0x121),_0xf6a3b2['jsOvc']='accessibilityOptions.scannerProcessingTimeout',_0xf6a3b2[_0x49d50b(0xe2)]=_0x49d50b(0xe7),_0xf6a3b2[_0x49d50b(0xe0)]=_0x49d50b(0x135),_0xf6a3b2[_0x49d50b(0xf8)]=_0x49d50b(0x14a),_0xf6a3b2[_0x49d50b(0xf1)]=_0x49d50b(0x112);const _0x4672ac=_0xf6a3b2;_0x1a5d08[_0x49d50b(0x108)]&&(_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x117)]&&(_0x1a5d08[_0x4672ac[_0x49d50b(0x105)]]=_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x117)]),_0x1a5d08['accessibilityOptions'][_0x49d50b(0x149)]&&(_0x1a5d08[_0x4672ac[_0x49d50b(0x101)]]=_0x1a5d08['accessibilityOptions']['scannerProcessingTimeout']),_0x1a5d08[_0x49d50b(0x108)]['includeIssueType']&&(_0x1a5d08[_0x4672ac['gPdXF']]=_0x1a5d08[_0x49d50b(0x108)]['includeIssueType'][_0x49d50b(0xec)],_0x1a5d08[_0x4672ac[_0x49d50b(0xe0)]]=_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x103)][_0x49d50b(0x146)]));const _0x187dcb=JSON[_0x49d50b(0xf3)](process['env'][_0x49d50b(0x10d)])[_0x49d50b(0xf5)];_0x1a5d08[_0x4672ac[_0x49d50b(0xf8)]]=process[_0x49d50b(0x14f)][_0x49d50b(0x139)],_0x1a5d08[_0x4672ac['IaIJB']]=_0x187dcb,delete _0x1a5d08[_0x49d50b(0x108)];},exports[a38_0x40a5dd(0x140)]=async _0x1b4692=>{const _0x406e62=a38_0x40a5dd,_0x190512={};_0x190512[_0x406e62(0xd7)]=_0x406e62(0x148),_0x190512[_0x406e62(0xe3)]=_0x406e62(0xe1);const _0x481318=_0x190512;if(global['accessibilityPlatform'])try{const details={'url':await _0x1b4692.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x1b4692,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x1b4692,scripts.getResults);},{...details})();return res;}catch{return logger[_0x406e62(0x13d)](_0x481318[_0x406e62(0xd7)]),[];}else return logger[_0x406e62(0x12b)](_0x481318[_0x406e62(0xe3)]),[];},exports['performScan']=async(_0xc4d4c,_0x57817b='')=>{const _0x470ac0=a38_0x40a5dd;logger[_0x470ac0(0xee)](_0x470ac0(0xef)+_0x57817b+'\x20page:\x20'+_0xc4d4c);const _0x3b4785={'url':await _0xc4d4c[_0x470ac0(0x144)](),'testhub_btcer_uuid':global[_0x470ac0(0x14c)]?.['currentTest']?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x470ac0(0x13c)],async()=>{const _0x5e6f45=_0x470ac0,_0x2af7b6={};_0x2af7b6[_0x5e6f45(0x106)]=_0x57817b;const _0x5552aa=await exports[_0x5e6f45(0xe8)](_0xc4d4c,scripts[_0x5e6f45(0x111)],_0x2af7b6);return _0x5552aa;},{'command':_0x57817b,..._0x3b4785})();},exports['getAccessibilityResultsSummary']=async _0x1ec158=>{const _0x31adcb=a38_0x40a5dd,_0x189149={};_0x189149['NzCKM']='No\x20summaryResults\x20found.',_0x189149[_0x31adcb(0x14d)]=_0x31adcb(0x126);const _0x1cc94f=_0x189149;if(global[_0x31adcb(0xe6)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1ec158,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1ec158,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x31adcb(0xee)](_0x1cc94f[_0x31adcb(0x133)]),{};}else return logger[_0x31adcb(0x12b)](_0x1cc94f[_0x31adcb(0x14d)]),{};},exports['platformValidation']=async _0x25a9ed=>{const _0x5dbc92=a38_0x40a5dd,_0x4c47d5={'KErrj':function(_0x49d37d,_0x168363){return _0x49d37d!==_0x168363;},'bTLaT':_0x5dbc92(0x11c),'DoaSZ':_0x5dbc92(0x13b),'uFGpu':'playwright-chromium','xaqHH':_0x5dbc92(0x12f),'dRePy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ChNzB':function(_0x6a94ab,_0x214a56){return _0x6a94ab(_0x214a56);},'uciiB':function(_0x586e6a){return _0x586e6a();},'FoFLR':function(_0x59faed,_0x7185c){return _0x59faed<_0x7185c;},'KOALp':_0x5dbc92(0x11a),'iUhZg':function(_0x4d198c,_0xcca3f){return _0x4d198c===_0xcca3f;},'GrlCr':_0x5dbc92(0x13a),'uuuyu':function(_0x4b396e,_0x55f2b5){return _0x4b396e>_0x55f2b5;},'fOrKB':_0x5dbc92(0x125)};try{if(!_0x4c47d5[_0x5dbc92(0x128)](_0x25a9ed[_0x5dbc92(0x127)],''))return logger[_0x5dbc92(0x12b)](_0x4c47d5['bTLaT']),![];const _0x499024=_0x25a9ed[_0x5dbc92(0x124)];if(![_0x4c47d5['DoaSZ'],_0x4c47d5[_0x5dbc92(0xf0)],_0x4c47d5[_0x5dbc92(0x120)]][_0x5dbc92(0x114)](_0x499024))return logger['warn'](_0x4c47d5[_0x5dbc92(0xda)]),![];const _0x29e0b8=_0x4c47d5[_0x5dbc92(0xfb)](parseInt,_0x25a9ed['browser_version']);!_0x4c47d5[_0x5dbc92(0xf4)](isBrowserstackInfra)&&(!_0x4c47d5['FoFLR'](_0x29e0b8,0x64)&&logger[_0x5dbc92(0x12b)](_0x4c47d5['KOALp']));if(!(_0x4c47d5['iUhZg'](_0x29e0b8,_0x4c47d5['GrlCr'])||_0x4c47d5[_0x5dbc92(0x134)](_0x29e0b8,0x5e)))return logger[_0x5dbc92(0x12b)](_0x4c47d5[_0x5dbc92(0xfe)]),![];}catch(_0x12126a){logger[_0x5dbc92(0xee)](_0x5dbc92(0x13f)+util['format'](_0x12126a));}return!![];},exports['processAccessibilityCaps']=(_0x3af273,_0x193710,_0x5904bd)=>{const _0x575c76=a38_0x40a5dd,_0x3d07f0={'KiJFB':function(_0x54bc66){return _0x54bc66();},'vboix':'browserstack.accessibility','JaXne':function(_0x374ed3,_0x2cb0c2){return _0x374ed3===_0x2cb0c2;},'GaQZc':_0x575c76(0x13b),'HfCoZ':function(_0x259fff,_0x10e1a4){return _0x259fff===_0x10e1a4;},'yyphY':_0x575c76(0xfc),'SilEw':function(_0x3d54b3,_0x3fc26e){return _0x3d54b3===_0x3fc26e;},'gEWkK':_0x575c76(0xd6),'ipUSx':function(_0x1e3b58){return _0x1e3b58();},'AaEWO':function(_0x933ff,_0x1c21e9){return _0x933ff>_0x1c21e9;},'SdOmg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','wXXPC':_0x575c76(0x13a),'QaACA':_0x575c76(0x125),'bQFDJ':function(_0x1e5848,_0x236d50){return _0x1e5848(_0x236d50);},'XNvVy':_0x575c76(0x11c),'jtqQG':function(_0x3cfe81,_0xcda8a7){return _0x3cfe81+_0xcda8a7;},'RdrWx':function(_0x5cdcc5,_0x5c04b0){return _0x5cdcc5(_0x5c04b0);}};try{if(_0x3d07f0[_0x575c76(0xdc)](isAccessibilityAutomationSession)){global[_0x575c76(0xe6)]=!![];!_0x3af273[_0x3d07f0[_0x575c76(0x131)]]&&(global[_0x575c76(0xe6)]=![]);!(_0x3d07f0[_0x575c76(0x12d)](_0x3af273[_0x575c76(0x11e)],_0x3d07f0[_0x575c76(0x12a)])||_0x3d07f0['HfCoZ'](_0x3af273[_0x575c76(0x11e)],_0x3d07f0[_0x575c76(0x11f)])||_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x124)],_0x3d07f0[_0x575c76(0x12a)])||_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x124)],_0x3d07f0[_0x575c76(0x11f)]))&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xf9)]),global[_0x575c76(0xe6)]=![]);!_0x3d07f0[_0x575c76(0xd9)](isBrowserstackInfra)&&(!_0x3d07f0[_0x575c76(0xea)](_0x3af273[_0x575c76(0x132)],0x64)&&logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0x12c)]));!(_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x132)],_0x3d07f0[_0x575c76(0x10e)])||_0x3d07f0['AaEWO'](_0x3af273[_0x575c76(0x132)],0x5e))&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xff)]),global[_0x575c76(0xe6)]=![]);!_0x3d07f0[_0x575c76(0x11d)](isUndefined,_0x3af273[_0x575c76(0x127)])&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xdb)]),global[_0x575c76(0xe6)]=![]);if(!global[_0x575c76(0xe6)]){_0x3af273[_0x3d07f0[_0x575c76(0x131)]]=![];const _0x436ba2=_0x3d07f0[_0x575c76(0x130)](_0x193710,_0x3d07f0[_0x575c76(0x138)](encodeURIComponent,JSON[_0x575c76(0x122)](_0x3af273)));_0x5904bd&&(_0x5904bd[_0x575c76(0x116)]['testInfo'][_0x575c76(0x102)]['use'][_0x575c76(0x109)][_0x575c76(0x129)]=_0x436ba2,_0x5904bd[_0x575c76(0xdf)][_0x575c76(0x102)]['use'][_0x575c76(0x109)][_0x575c76(0x129)]=_0x436ba2);}}else global[_0x575c76(0xe6)]=![];}catch(_0x191ead){logger['debug'](_0x575c76(0xe9)+util['format'](_0x191ead));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x11e2c6=a39_0x4e34;(function(_0x2d4da8,_0x3d77ca){const _0x18e49c=a39_0x4e34,_0x18fde9=_0x2d4da8();while(!![]){try{const _0x56f0b5=parseInt(_0x18e49c(0xd4))/0x1+-parseInt(_0x18e49c(0xb7))/0x2*(parseInt(_0x18e49c(0xbd))/0x3)+parseInt(_0x18e49c(0x160))/0x4+parseInt(_0x18e49c(0x15d))/0x5*(parseInt(_0x18e49c(0xca))/0x6)+-parseInt(_0x18e49c(0xbb))/0x7+-parseInt(_0x18e49c(0x138))/0x8+-parseInt(_0x18e49c(0x157))/0x9*(-parseInt(_0x18e49c(0x152))/0xa);if(_0x56f0b5===_0x3d77ca)break;else _0x18fde9['push'](_0x18fde9['shift']());}catch(_0x185064){_0x18fde9['push'](_0x18fde9['shift']());}}}(a39_0x3741,0xd88fb));function a39_0x3741(){const _0x528df6=['exitCode','BJRIa','ucwfW','W_OK','taahS','filter','constants','start','SDK_CLEANUP','win32','ndzui','../../helpers/helper','accessSync','hDqxi','measureWrapper','setBrowserstackConfig','homedir','npx','../v2/TestInfo','logLevel','DWgFz','BROWSERSTACK_SETUP_CONFIG_PATH','testContextOptions','3744400swPtsA','unlinkSync','end','PACKAGE_TYPE','KWeHb','join','filterBrowserstackArgs','./reporter/pwUtils','isYarnPnP','lhSTB','--disable-browserstack-automation','winstonLogger','./accessibility-helper','xXaLD','isUndefined','uNtRA','reportDotBrowserStackFolderNotAccessibleIssue','.browserstack','nNxYl','YkOWE','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../v2/browserstackCLI','playwright','ZYRWN','trace_','requirePWModule','430efhSnn','concat','RufKo','../../helpers/test-observability/utils','accessibility','44181hRomyX','close','zUXzl','Ckbpd','initialize','configPath','111125iZnrEW','--grep','serializeToYamlString','3749192mlTzXv','../utils/constants','wrERa','mCNDl','../../helpers/utilities','forEach','slice','BROWSERSTACK_TEST_ACCESSIBILITY_YML','QlrKu','resolve','iCIzS','WEjpM','Proxy\x20url\x20:\x20','push','PLAYWRIGHT','writeFileSync','MODULE','readdirSync','dirname','cwd','config','startsWith','platform','USER_CONFIG_DETAILS_PATH','2RybrIZ','setFrameworkDetail','accessibilityOptions','SDK_PRE_INITIALIZE','6269228NtrrRy','nestedKeyValue','1625601FpUwTp','readFileSync','BROWSERSTACK_TEST_OBSERVABILITY','split','path','playwright-browserstack-sdk.config.cjs','exports','--disable-test-observability','Error\x20in\x20getting\x20funnel\x20data\x20results','getConfigPath','map','isFalse','dcnbJ','294tynIBt','reportConflictingEnvVarIssue','browserstackSetupConfig.json','GIDXd','../../helpers/performance/constants','inherit','env','OaWQr','debug','child_process','555146WWzSqw','apply','pw_result.json','cliConfig','indexOf','yarn','PlrRj','--config=','wwpVq','No\x20Proxy\x20:\x20','oWAYl','splice','vqScc','true','./reporter/test-details','findIndex','FYcYR','resolvedConfigFile','TyBbW','getPackageType','--config','BROWSERSTACK_PW_CONFIG_DIR','HTKSX','iiOSP','../../helpers/performance/performance-tester','playwright-browserstack-sdk.config.js','BROWSERSTACK_AUTOMATION','../v2/cliUtils','stop','existsSync','qKSgo','../utils/clientTroubleshootingService','bootstrap','../../helpers/BrowserStackSetup','Playwright\x20process\x20exited\x20with\x20code\x20','Deleting\x20','length','isRunning','yClXg','shutdown','Error\x20in\x20closing\x20playwright','browserstackAutomation','bCCKn','OpIPb','../../helpers/testhub/testhubHandler','getNoProxy','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','launchBuild','QrWdA','BROWSERSTACK_RERUN','../../helpers/accessibility-automation/helper','testObservability','error','BrowserStack\x20config\x20file\x20not\x20found.','skipSessionName','finalExecution','getInstance','sPLGh','Gxumj','parse','QuNNi','BROWSERSTACK_RERUN_TESTS','SGzHn','validateRerunTestList','info','QYfti','errorMessage','qSXEx','HVlHn','FqdLR','getConfig','RPzua','OjJUs','eBDLU','Uyyzk','EVENTS','get'];a39_0x3741=function(){return _0x528df6;};return a39_0x3741();}const fs=require('fs'),path=require(a39_0x11e2c6(0xc1)),{spawn}=require(a39_0x11e2c6(0xd3)),{format}=require('util'),logger=require('../../helpers/logger')[a39_0x11e2c6(0x143)],{default:BrowserStackSetup}=require(a39_0x11e2c6(0xf5)),helper=require(a39_0x11e2c6(0x12c)),utilities=require(a39_0x11e2c6(0x164)),constants=require(a39_0x11e2c6(0x161)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x11e2c6(0x13f)),{checkAccessibilityPlatformConfig}=require(a39_0x11e2c6(0x106)),{setAccessibilityCapabilities}=require(a39_0x11e2c6(0x144)),{printBuildLink}=require(a39_0x11e2c6(0x155)),TestDetails=require(a39_0x11e2c6(0xe2)),TestHubHandler=require(a39_0x11e2c6(0x100)),PerformanceTester=require(a39_0x11e2c6(0xec)),BrowserstackCLI=require(a39_0x11e2c6(0x14d)),PerformanceEvents=require(a39_0x11e2c6(0xce))[a39_0x11e2c6(0x11f)],CLIUtils=require(a39_0x11e2c6(0xef)),TestInfo=require(a39_0x11e2c6(0x133)),ClientTroubleShootingService=require(a39_0x11e2c6(0xf3)),getUserPlaywrightConfig=async(_0x24beca,_0x3c0bbe)=>{const _0x46c162=a39_0x11e2c6,_0x2cbd37={'VRyiJ':function(_0x13ed83){return _0x13ed83();},'SGzHn':function(_0x102a75,_0x34a50d){return _0x102a75(_0x34a50d);},'QYfti':_0x46c162(0xe5),'iiOSP':_0x46c162(0xdb)},_0x120161=!helper['isUndefined'](_0x24beca['config']),_0x161da3=_0x120161?path['resolve'](process[_0x46c162(0xb2)](),_0x24beca[_0x46c162(0xb3)]):process[_0x46c162(0xb2)](),{resolveConfigFile:_0xe53d9b,resolveConfigLocation:_0x291ebf}=helper[_0x46c162(0x151)][_0x46c162(0xd5)](null,_0x2cbd37['VRyiJ'](getConfigLoaderPath)),_0x2eb9e0=_0xe53d9b?_0x2cbd37[_0x46c162(0x112)](_0xe53d9b,_0x161da3):helper[_0x46c162(0xbc)](_0x2cbd37['SGzHn'](_0x291ebf,_0x161da3),[_0x2cbd37[_0x46c162(0x115)]]),_0x2a3faf={};if(_0x120161){const _0x32e81b=_0x3c0bbe[_0x46c162(0xe3)](_0x51227d=>_0x51227d===_0x46c162(0xe8)||_0x51227d==='-c'||_0x51227d[_0x46c162(0xb4)](_0x46c162(0xdb)));_0x3c0bbe[_0x46c162(0xdf)](_0x32e81b,_0x3c0bbe[_0x32e81b][_0x46c162(0xb4)](_0x2cbd37[_0x46c162(0xeb)])?0x1:0x2);}const _0x5ac3da={};return _0x5ac3da[_0x46c162(0xc1)]=_0x2eb9e0,_0x5ac3da[_0x46c162(0xb3)]=_0x2a3faf,_0x5ac3da;},handleO11yRerun=_0x47847a=>{const _0x4c4526=a39_0x11e2c6,_0x13cb9d={};_0x13cb9d['qKSgo']=_0x4c4526(0x15e);const _0x1cc119=_0x13cb9d,_0x192cae=helper['isTrue'](process[_0x4c4526(0xd0)][_0x4c4526(0x105)]);if(_0x192cae){const _0x37e4cb=process['env'][_0x4c4526(0x111)],_0x5d724a=[];if(helper[_0x4c4526(0x113)](_0x37e4cb)&&!helper[_0x4c4526(0x146)](_0x37e4cb)){_0x37e4cb['split'](',')[_0x4c4526(0xc7)](_0x1af7b9=>{const _0x1a5e60=_0x4c4526;_0x5d724a[_0x1a5e60(0xac)]('('+_0x1af7b9['trim']()+')');});const _0x44f67d='^'+_0x5d724a[_0x4c4526(0x13d)]('|')+'$';_0x47847a[_0x4c4526(0xac)](_0x1cc119[_0x4c4526(0xf2)],_0x44f67d);}}},spawnOriginalProcess=_0x536db0=>{const _0x2cdeb7=a39_0x11e2c6,_0x36499d={'hDqxi':function(_0x3ad84d,_0x58676a,_0x12bbca,_0x29d5a6){return _0x3ad84d(_0x58676a,_0x12bbca,_0x29d5a6);},'TyBbW':_0x2cdeb7(0xd9),'HVlHn':_0x2cdeb7(0x132),'OUkLe':_0x2cdeb7(0x14e),'RPzua':function(_0x57e356,_0x198026){return _0x57e356===_0x198026;},'ZYRWN':_0x2cdeb7(0x12a),'YkOWE':_0x2cdeb7(0xcf)};_0x36499d[_0x2cdeb7(0x12e)](spawn,helper[_0x2cdeb7(0x140)]()?_0x36499d[_0x2cdeb7(0xe6)]:_0x36499d[_0x2cdeb7(0x118)],[_0x36499d['OUkLe'],..._0x536db0[_0x2cdeb7(0x166)](0x1)],{'shell':_0x36499d[_0x2cdeb7(0x11b)](process[_0x2cdeb7(0xb5)],_0x36499d[_0x2cdeb7(0x14f)]),'stdio':_0x36499d[_0x2cdeb7(0x14b)],'cwd':process['cwd']()});},isTestCommand=(_0xcbb52,_0x184482)=>{const _0x13f40d=a39_0x11e2c6,_0x536357={};_0x536357['NuYCy']=function(_0xeb7062,_0x264d1a){return _0xeb7062>_0x264d1a;},_0x536357['taahS']=function(_0x53f042,_0x2c4ef8){return _0x53f042===_0x2c4ef8;},_0x536357[_0x13f40d(0xcd)]='test';const _0x50232b=_0x536357;if(_0x50232b['NuYCy'](_0x184482[_0x13f40d(0xf8)],0x1)&&_0x50232b[_0x13f40d(0x125)](_0x184482[0x1],_0x50232b[_0x13f40d(0xcd)]))return!![];return![];};function a39_0x4e34(_0x2b9f70,_0x209245){const _0x3741a2=a39_0x3741();return a39_0x4e34=function(_0x4e3498,_0x166b16){_0x4e3498=_0x4e3498-0xa6;let _0x3e5188=_0x3741a2[_0x4e3498];return _0x3e5188;},a39_0x4e34(_0x2b9f70,_0x209245);}async function run(_0x2a5706,_0x229793,_0x17ca08){const _0xdc4117=a39_0x11e2c6,_0x3966f1={'FqdLR':function(_0x4156dc,_0x11cb85){return _0x4156dc(_0x11cb85);},'ndzui':_0xdc4117(0x149),'OjJUs':_0xdc4117(0xd6),'dcnbJ':function(_0x308265,_0x1b470c){return _0x308265+_0x1b470c;},'Uyyzk':_0xdc4117(0xc5),'KWeHb':function(_0x3d80b3){return _0x3d80b3();},'xXaLD':function(_0x4c584c,_0x2eed0d){return _0x4c584c+_0x2eed0d;},'qSXEx':_0xdc4117(0xfc),'Tjvvh':_0xdc4117(0x109),'iAxNV':function(_0x216728,_0x262433){return _0x216728<_0x262433;},'xvvcG':function(_0x1c591a,_0x58768b){return _0x1c591a===_0x58768b;},'ucwfW':'false','RufKo':_0xdc4117(0xc4),'Gxumj':function(_0x4d72e4,_0x192328){return _0x4d72e4>=_0x192328;},'QuNNi':function(_0x329ff2,_0x34d76a){return _0x329ff2===_0x34d76a;},'bCCKn':'automation','BJRIa':function(_0xb832b,_0x5d463b){return _0xb832b!=_0x5d463b;},'vqScc':function(_0x1bfc5f,_0x5c4c06,_0x961bf1){return _0x1bfc5f(_0x5c4c06,_0x961bf1);},'HTKSX':function(_0x3138be,_0x2e3b33){return _0x3138be(_0x2e3b33);},'PlrRj':_0xdc4117(0xe1),'QlrKu':function(_0xfca808,_0x12883c){return _0xfca808(_0x12883c);},'OaWQr':_0xdc4117(0xcc),'dYGkZ':_0xdc4117(0xc2),'ZFWOe':_0xdc4117(0xed),'lhSTB':function(_0x3eea02,_0x3e4710){return _0x3eea02-_0x3e4710;},'Ckbpd':'Updated\x20config\x20file\x20name\x20to\x20-\x20','xMgYk':function(_0x1b41a7,_0x59d8ce){return _0x1b41a7>_0x59d8ce;},'OGmRp':function(_0x183292,_0x162e8a,_0x57d338,_0x7bfe3a){return _0x183292(_0x162e8a,_0x57d338,_0x7bfe3a);},'khBKQ':_0xdc4117(0xd9),'lelfs':_0xdc4117(0x132),'oWAYl':_0xdc4117(0x14e),'yClXg':'test','zUXzl':_0xdc4117(0xe8),'OpIPb':_0xdc4117(0x12a),'sPLGh':_0xdc4117(0xcf),'FYcYR':_0xdc4117(0x158),'kTVrk':function(_0x3cce72,_0x40c406){return _0x3cce72|_0x40c406;},'iCIzS':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','DGGyc':function(_0x2dc07e,_0x462037){return _0x2dc07e+_0x462037;},'uNtRA':'Error\x20in\x20deleting\x20playwright\x20results','mCNDl':function(_0x2fc658,_0x225c51,_0x3fbb66){return _0x2fc658(_0x225c51,_0x3fbb66);},'DWgFz':function(_0x555969,_0x472513){return _0x555969(_0x472513);}};try{const _0x39390e=path[_0xdc4117(0x13d)](helper[_0xdc4117(0x131)](),_0x3966f1[_0xdc4117(0x12b)]);try{fs[_0xdc4117(0x12d)](_0x39390e,_0x3966f1['kTVrk'](fs[_0xdc4117(0x127)]['R_OK'],fs[_0xdc4117(0x127)][_0xdc4117(0x124)]));}catch(_0x6919da){ClientTroubleShootingService[_0xdc4117(0x148)]();}}catch(_0x31afa1){logger[_0xdc4117(0xd2)](_0x3966f1[_0xdc4117(0xc9)](_0x3966f1[_0xdc4117(0xa9)],_0x31afa1));}try{const _0x1154e3=path[_0xdc4117(0x13d)](helper[_0xdc4117(0x131)](),_0x3966f1[_0xdc4117(0x12b)],_0x3966f1[_0xdc4117(0x11c)]);fs[_0xdc4117(0xf1)](_0x1154e3)&&fs[_0xdc4117(0x139)](_0x1154e3);}catch(_0x121626){logger['debug'](_0x3966f1['DGGyc'](_0x3966f1[_0xdc4117(0x147)],_0x121626));}if(!_0x3966f1[_0xdc4117(0x163)](isTestCommand,_0x2a5706,_0x229793)){_0x3966f1[_0xdc4117(0x135)](spawnOriginalProcess,_0x229793);return;}await PerformanceTester[_0xdc4117(0x12f)](PerformanceEvents[_0xdc4117(0xba)],async()=>{const _0x4e7944=_0xdc4117,_0x52bd65={'wrERa':_0x3966f1['ndzui'],'eBDLU':_0x3966f1[_0x4e7944(0x11c)],'uTMET':function(_0x59a3a3,_0x53e2c3){const _0x512040=_0x4e7944;return _0x3966f1[_0x512040(0xc9)](_0x59a3a3,_0x53e2c3);},'GgEfV':_0x3966f1[_0x4e7944(0x11e)],'wwpVq':function(_0x2718e4){return _0x3966f1['KWeHb'](_0x2718e4);},'nNxYl':function(_0x3cd6af){const _0x34f26c=_0x4e7944;return _0x3966f1[_0x34f26c(0x13c)](_0x3cd6af);},'QrWdA':function(_0x181b12,_0x4ce640){const _0x38c9ee=_0x4e7944;return _0x3966f1[_0x38c9ee(0x145)](_0x181b12,_0x4ce640);},'WEjpM':_0x3966f1[_0x4e7944(0x117)]};if(!_0x17ca08[_0x4e7944(0xb3)]){logger[_0x4e7944(0x108)](_0x3966f1['Tjvvh']);return;}await _0x17ca08[_0x4e7944(0x15b)](_0x2a5706),CLIUtils[_0x4e7944(0xb8)](FRAMEWORKS[_0x4e7944(0xad)],FRAMEWORKS[_0x4e7944(0xad)]),BrowserstackCLI['getInstance']()[_0x4e7944(0x130)](_0x17ca08[_0x4e7944(0xb3)],_0x17ca08[_0x4e7944(0x15c)],_0x17ca08[_0x4e7944(0xd7)]),await BrowserstackCLI[_0x4e7944(0x10c)]()[_0x4e7944(0xf4)]();for(var _0x3b2291=0x0;_0x3966f1['iAxNV'](_0x3b2291,constants['INTERNALLY_USED_ENV_VARS'][_0x4e7944(0xf8)]);_0x3b2291++){var _0x50aba4=constants['INTERNALLY_USED_ENV_VARS'][_0x3b2291];process[_0x4e7944(0xd0)][_0x50aba4]&&await ClientTroubleShootingService[_0x4e7944(0xcb)](_0x50aba4);}const _0x5a244d=BrowserstackCLI['getInstance']()[_0x4e7944(0x11a)]();!helper[_0x4e7944(0xc8)](_0x5a244d[_0x4e7944(0xfd)])&&(process[_0x4e7944(0xd0)][_0x4e7944(0xee)]=!![]);_0x3966f1['xvvcG'](_0x5a244d[_0x4e7944(0xfd)],![])&&(process[_0x4e7944(0xd0)][_0x4e7944(0xee)]=_0x3966f1[_0x4e7944(0x123)],_0x229793=_0x229793[_0x4e7944(0x126)](_0x2eb29e=>_0x2eb29e!==_0x4e7944(0x142)));const _0x2626a5=_0x229793[_0x4e7944(0xd8)](_0x3966f1[_0x4e7944(0x154)]);(_0x3966f1[_0x4e7944(0x10e)](_0x2626a5,0x0)||_0x3966f1[_0x4e7944(0x110)](_0x5a244d['testObservability'],![]))&&(process[_0x4e7944(0xd0)][_0x4e7944(0xbf)]=_0x3966f1['ucwfW'],_0x229793=_0x229793[_0x4e7944(0x126)](_0x736ece=>_0x736ece!==_0x4e7944(0xc4)));!helper[_0x4e7944(0x146)](_0x17ca08[_0x4e7944(0xd7)])&&_0x17ca08[_0x4e7944(0xd7)]['has'](_0x3966f1['bCCKn'])&&(process[_0x4e7944(0xd0)][_0x4e7944(0xee)]=_0x17ca08[_0x4e7944(0xd7)][_0x4e7944(0x120)](_0x3966f1[_0x4e7944(0xfe)])||!![]);_0x3966f1[_0x4e7944(0x122)](_0x17ca08[_0x4e7944(0xb3)]['testObservability'],null)&&!helper['isTrue'](process[_0x4e7944(0xd0)][_0x4e7944(0xbf)])&&(process[_0x4e7944(0xd0)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env'][_0x4e7944(0xbf)]||_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x107)]);const _0x122a0b=!helper['isFalse'](process[_0x4e7944(0xd0)][_0x4e7944(0xbf)]);_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0xb9)]&&(process[_0x4e7944(0xd0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x17ca08['config']['accessibilityOptions']));let _0x213e86=![];_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x156)]&&(_0x213e86=!![],process[_0x4e7944(0xd0)][_0x4e7944(0xa6)]=_0x17ca08[_0x4e7944(0xb3)]['accessibility']);const _0x2f0e84=_0x229793[_0x4e7944(0x153)](),_0x3aa4f7=await _0x3966f1[_0x4e7944(0xe0)](getUserPlaywrightConfig,_0x2a5706,_0x229793);if(helper[_0x4e7944(0x146)](_0x3aa4f7)){_0x3966f1[_0x4e7944(0xea)](spawnOriginalProcess,_0x2f0e84);return;}const _0x49e32f=_0x3aa4f7[_0x4e7944(0xc1)]?path['dirname'](_0x3aa4f7[_0x4e7944(0xc1)]):process[_0x4e7944(0xb2)]();process[_0x4e7944(0xd0)][_0x4e7944(0xe9)]=_0x49e32f,await PerformanceTester[_0x4e7944(0x12f)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x5f5d31=_0x4e7944;!BrowserstackCLI[_0x5f5d31(0x10c)]()[_0x5f5d31(0xf9)]()&&await TestHubHandler[_0x5f5d31(0x103)](FRAMEWORKS[_0x5f5d31(0xad)],_0x17ca08),_0x122a0b&&_0x3966f1[_0x5f5d31(0x119)](handleO11yRerun,_0x229793);})();if(!BrowserstackCLI[_0x4e7944(0x10c)]()['isRunning']()){let _0x4a3ebe=_0x3966f1[_0x4e7944(0x110)](process[_0x4e7944(0xd0)][_0x4e7944(0xa6)],_0x3966f1[_0x4e7944(0xda)]);_0x4a3ebe=_0x4a3ebe||_0x3966f1[_0x4e7944(0xea)](checkAccessibilityPlatformConfig,_0x17ca08[_0x4e7944(0xb3)]),process[_0x4e7944(0xd0)][_0x4e7944(0xa6)]=_0x4a3ebe,_0x4a3ebe&&_0x3966f1[_0x4e7944(0xa7)](setAccessibilityCapabilities,_0x17ca08[_0x4e7944(0xb3)]);}const _0x466718=path[_0x4e7944(0x13d)](_0x3aa4f7[_0x4e7944(0xc1)]?path[_0x4e7944(0xb1)](_0x3aa4f7[_0x4e7944(0xc1)]):process[_0x4e7944(0xb2)](),_0x3966f1[_0x4e7944(0xd1)]);fs['writeFileSync'](_0x466718,helper[_0x4e7944(0x15f)](_0x17ca08[_0x4e7944(0xb3)])),process[_0x4e7944(0xd0)][_0x4e7944(0x136)]=_0x466718,helper['clearTempPWConfig']();let _0x12aa5c='';_0x3966f1['QuNNi'](helper[_0x4e7944(0xe7)](),constants[_0x4e7944(0x13b)][_0x4e7944(0xaf)])?_0x12aa5c=_0x3966f1['dYGkZ']:_0x12aa5c=_0x3966f1['ZFWOe'];let _0x1f0794='';if(helper['isTypescriptProject'](_0x3aa4f7['path'])){_0x1f0794=_0x4e7944(0x14c);const _0x44301d=_0x12aa5c[_0x4e7944(0xc0)]('.');_0x44301d[_0x3966f1[_0x4e7944(0x141)](_0x44301d[_0x4e7944(0xf8)],0x1)]='ts',_0x12aa5c=_0x44301d[_0x4e7944(0x13d)]('.'),logger[_0x4e7944(0xd2)](_0x3966f1['xXaLD'](_0x3966f1[_0x4e7944(0x15a)],_0x12aa5c));}else _0x1f0794='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x3f1afa=path[_0x4e7944(0x13d)](_0x3aa4f7['path']?path[_0x4e7944(0xb1)](_0x3aa4f7['path']):process[_0x4e7944(0xb2)](),_0x12aa5c);let _0xb07e1f=_0x3aa4f7[_0x4e7944(0xc1)]?_0x3aa4f7[_0x4e7944(0xc1)]:'';_0xb07e1f=_0x3966f1['xMgYk'](_0xb07e1f[_0x4e7944(0xf8)],0x0)?path[_0x4e7944(0xa8)](_0xb07e1f):'',process[_0x4e7944(0xd0)][_0x4e7944(0xb6)]=_0xb07e1f;const _0x5bb573=helper['getProxyUrl'](_0x17ca08[_0x4e7944(0xb3)]),_0x40531f=helper[_0x4e7944(0x101)](_0x17ca08[_0x4e7944(0xb3)]);logger[_0x4e7944(0xd2)](_0x4e7944(0xab)+_0x5bb573),logger[_0x4e7944(0xd2)](_0x4e7944(0xdd)+_0x40531f);_0x5bb573&&(_0x1f0794=_0x3966f1[_0x4e7944(0xc9)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x5bb573+_0x4e7944(0x102)+_0x40531f+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x1f0794));helper[_0x4e7944(0x13e)]({},_0x229793),fs[_0x4e7944(0xae)](_0x3f1afa,_0x1f0794),PerformanceTester[_0x4e7944(0x13a)](PerformanceEvents['SDK_SETUP']);const _0x43d91a=_0x3966f1['OGmRp'](spawn,helper['isYarnPnP']()?_0x3966f1['khBKQ']:_0x3966f1['lelfs'],[_0x3966f1[_0x4e7944(0xde)],_0x3966f1[_0x4e7944(0xfa)],_0x3966f1[_0x4e7944(0x159)],_0x3966f1[_0x4e7944(0x110)](process[_0x4e7944(0xb5)],_0x3966f1['OpIPb'])?'\x22'+_0x3f1afa+'\x22':_0x3f1afa,..._0x229793['slice'](0x2)],{'shell':_0x3966f1[_0x4e7944(0x110)](process[_0x4e7944(0xb5)],_0x3966f1[_0x4e7944(0xff)]),'stdio':_0x3966f1[_0x4e7944(0x10d)],'cwd':process[_0x4e7944(0xb2)](),'env':Object['assign']({},process[_0x4e7944(0xd0)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4e7944(0xc6)](_0x2a5706),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x137)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x137)][_0x4e7944(0x10a)],'BROWSERSTACK_LOG_LEVEL':_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x134)]})}),_0x1f0762=()=>{const _0x2454d5=_0x4e7944;try{const _0x100f11=path[_0x2454d5(0x13d)](helper[_0x2454d5(0x131)](),_0x52bd65[_0x2454d5(0x162)],_0x52bd65[_0x2454d5(0x11d)]);if(fs[_0x2454d5(0xf1)](_0x100f11)){let _0x5288d8=fs[_0x2454d5(0xbe)](_0x100f11);_0x5288d8=JSON[_0x2454d5(0x10f)](_0x5288d8),_0x17ca08[_0x2454d5(0x116)]=_0x5288d8,fs[_0x2454d5(0x139)](_0x100f11);}}catch(_0x20e3a1){logger[_0x2454d5(0xd2)](_0x52bd65['uTMET'](_0x52bd65['GgEfV'],_0x20e3a1));}};_0x43d91a['on'](_0x3966f1[_0x4e7944(0xe4)],async _0x3420ce=>{const _0x475afb=_0x4e7944;try{PerformanceTester[_0x475afb(0x128)](PerformanceEvents[_0x475afb(0x129)]),_0x52bd65[_0x475afb(0xdc)](_0x1f0762),await TestHubHandler[_0x475afb(0xf0)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x475afb(0x10c)]()['stop'](),TestDetails[_0x475afb(0xfb)](),_0x52bd65[_0x475afb(0x14a)](printBuildLink),await utilities[_0x475afb(0x10b)](_0x17ca08),process[_0x475afb(0x121)]=_0x3420ce,logger['debug'](_0x475afb(0xf6)+_0x3420ce),logger[_0x475afb(0x114)]('Deleting\x20'+_0x3f1afa),fs['unlinkSync'](_0x3f1afa);fs[_0x475afb(0xf1)](_0x466718)&&(logger['debug'](_0x475afb(0xf7)+_0x466718),fs[_0x475afb(0x139)](_0x466718));const _0x3385fa=fs[_0x475afb(0xb0)](path['join'](helper[_0x475afb(0x131)](),_0x52bd65[_0x475afb(0x162)]))[_0x475afb(0x126)](_0x41265a=>_0x41265a[_0x475afb(0xb4)](_0x475afb(0x150)));_0x3385fa[_0x475afb(0x165)](_0x160549=>{const _0x27c13b=_0x475afb;fs[_0x27c13b(0x139)](path[_0x27c13b(0x13d)](helper[_0x27c13b(0x131)](),_0x52bd65[_0x27c13b(0x162)],_0x160549));});}catch(_0x1d4d76){logger['debug'](_0x52bd65[_0x475afb(0x104)](_0x52bd65[_0x475afb(0xaa)],_0x1d4d76));}});})();}module[a39_0x11e2c6(0xc3)]=run;
|
|
2
|
+
'use strict';const a39_0x3e7a08=a39_0x5a3e;function a39_0x4d6a(){const _0x1bcf63=['exports','gulkT','FnsXb','getInstance','isUndefined','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','debug','LCxGq','Deleting\x20','false','resolvedConfigFile','KOutq','playwright','Proxy\x20url\x20:\x20','win32','./reporter/pwUtils','isYarnPnP','USER_CONFIG_DETAILS_PATH','../../helpers/logger','cECBk','cbKUs','--grep','testObservability','getNoProxy','1072QPaPEe','exitCode','writeFileSync','HMYar','CwPNs','670eXIEvb','Updated\x20config\x20file\x20name\x20to\x20-\x20','launchBuild','join','skipSessionName','parse','dpzrv','SDK_PRE_INITIALIZE','accessSync','../../helpers/test-observability/constants','QQnuy','zdejV','TYEeC','constants','--config','reportFinalDetectionState','length','WOUdh','1348872uwkMkQ','readdirSync','ITbdj','reportDotBrowserStackFolderNotAccessibleIssue','TBMLm','xjQsX','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/utilities','../../helpers/accessibility-automation/helper','NFYRt','sUtiu','splice','NCZXW','end','SDK_SETUP','bnhIj','576219jjxRRm','readFileSync','initialize','bootstrap','PLAYWRIGHT','assign','setFrameworkDetail','get','AVoUb','accessibilityOptions','concat','Error\x20in\x20deleting\x20playwright\x20results','1757668nqooiN','test','clearTempPWConfig','TCqIa','SXAxx','LQcJJ','isRunning','CANpT','278fpXcXg','indexOf','EVENTS','305685WmOaUn','isTrue','stop','inherit','measureWrapper','XFVsa','qRHcz','error','../utils/constants','cwd','SDK_POST_INITIALIZE','path','existsSync','4472kPCTFc','finalExecution','skipSessionStatus','rutmo','kDhXP','playwright-browserstack-sdk.config.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','util','playwright-browserstack-sdk.config.cjs','12PsYxiG','yarn','ziboC','MODULE','./accessibility-helper','env','filterBrowserstackArgs','BROWSERSTACK_RERUN_TESTS','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','homedir','No\x20Proxy\x20:\x20','ixLPY','platform','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','resolve','FNGPB','split','true','logLevel','36fTMEVh','../../helpers/performance/constants','unlinkSync','58410gWiSpG','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','iUDXO','W_OK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','AtUWz','trim','../../helpers/helper','slice','accessibility','cliConfig','BROWSERSTACK_RERUN','peBlU','nestedKeyValue','QXeVU','oFXQN','GgxXS','setBrowserstackConfig','serializeToYamlString','JmyQJ','yMOXY','TCOUc','5201dDSQEy','testContextOptions','startsWith','winstonLogger','browserstackAutomation','yltkZ','oCZfo','jjeTy','has','chIIt','errorMessage','config','rvANd','../../helpers/testhub/testhubHandler','apply','requirePWModule','getPackageType','isTypescriptProject','.browserstack','trace_','../utils/clientTroubleshootingService','getConfig','map','WUgsC','BROWSERSTACK_AUTOMATION','configPath','pw_result.json','filter','shutdown','start','npx','KBzRc','Error\x20in\x20closing\x20playwright','isFalse','dirname','jWDXR','--config=','YgLgC','EqkLV','BROWSERSTACK_PW_CONFIG_DIR','BROWSERSTACK_TEST_OBSERVABILITY','PACKAGE_TYPE','automation','info','push','INTERNALLY_USED_ENV_VARS','getConfigPath','browserstackSetupConfig.json','SDK_CLEANUP','child_process','forEach'];a39_0x4d6a=function(){return _0x1bcf63;};return a39_0x4d6a();}(function(_0x482d0d,_0x31aa5b){const _0x454787=a39_0x5a3e,_0x429899=_0x482d0d();while(!![]){try{const _0x5b26fc=parseInt(_0x454787(0x1f0))/0x1*(parseInt(_0x454787(0x22b))/0x2)+parseInt(_0x454787(0x217))/0x3+-parseInt(_0x454787(0x207))/0x4+-parseInt(_0x454787(0x22e))/0x5*(parseInt(_0x454787(0x244))/0x6)+parseInt(_0x454787(0x1a5))/0x7*(parseInt(_0x454787(0x23b))/0x8)+parseInt(_0x454787(0x25a))/0x9*(parseInt(_0x454787(0x1f5))/0xa)+parseInt(_0x454787(0x223))/0xb*(-parseInt(_0x454787(0x257))/0xc);if(_0x5b26fc===_0x31aa5b)break;else _0x429899['push'](_0x429899['shift']());}catch(_0x2324ad){_0x429899['push'](_0x429899['shift']());}}}(a39_0x4d6a,0x3d9e8));function a39_0x5a3e(_0x3b00b0,_0x5ad592){const _0x4d6a14=a39_0x4d6a();return a39_0x5a3e=function(_0x5a3e25,_0xef12d5){_0x5a3e25=_0x5a3e25-0x190;let _0x43d676=_0x4d6a14[_0x5a3e25];return _0x43d676;},a39_0x5a3e(_0x3b00b0,_0x5ad592);}const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x3e7a08(0x1d6)),{format}=require(a39_0x3e7a08(0x242)),logger=require(a39_0x3e7a08(0x1ea))[a39_0x3e7a08(0x1a8)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x3e7a08(0x196)),utilities=require(a39_0x3e7a08(0x20e)),constants=require(a39_0x3e7a08(0x236)),{FRAMEWORKS}=require(a39_0x3e7a08(0x1fe)),{getConfigLoaderPath}=require(a39_0x3e7a08(0x1e7)),{checkAccessibilityPlatformConfig}=require(a39_0x3e7a08(0x20f)),{setAccessibilityCapabilities}=require(a39_0x3e7a08(0x248)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x3e7a08(0x1b2)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0x3e7a08(0x258))[a39_0x3e7a08(0x22d)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x3e7a08(0x1b9)),getUserPlaywrightConfig=async(_0x10ccb2,_0xddc5f)=>{const _0x4af120=a39_0x3e7a08,_0xed86e9={'IEbgz':function(_0x7bd5ba){return _0x7bd5ba();},'rvANd':function(_0x41cc9f,_0x126ff1){return _0x41cc9f(_0x126ff1);},'LCxGq':function(_0x32075f,_0x1c3451){return _0x32075f(_0x1c3451);},'iUDXO':_0x4af120(0x1e2),'LQcJJ':_0x4af120(0x1c9)},_0x34e4f1=!helper[_0x4af120(0x1dc)](_0x10ccb2[_0x4af120(0x1b0)]),_0x45cc21=_0x34e4f1?path[_0x4af120(0x252)](process[_0x4af120(0x237)](),_0x10ccb2[_0x4af120(0x1b0)]):process['cwd'](),{resolveConfigFile:_0x22aa57,resolveConfigLocation:_0x12a996}=helper[_0x4af120(0x1b4)][_0x4af120(0x1b3)](null,_0xed86e9['IEbgz'](getConfigLoaderPath)),_0x24901f=_0x22aa57?_0xed86e9[_0x4af120(0x1b1)](_0x22aa57,_0x45cc21):helper[_0x4af120(0x19c)](_0xed86e9[_0x4af120(0x1df)](_0x12a996,_0x45cc21),[_0xed86e9[_0x4af120(0x191)]]),_0x450b39={};if(_0x34e4f1){const _0x3f00ed=_0xddc5f['findIndex'](_0x2c4f3f=>_0x2c4f3f==='--config'||_0x2c4f3f==='-c'||_0x2c4f3f['startsWith'](_0x4af120(0x1c9)));_0xddc5f[_0x4af120(0x212)](_0x3f00ed,_0xddc5f[_0x3f00ed][_0x4af120(0x1a7)](_0xed86e9[_0x4af120(0x228)])?0x1:0x2);}const _0x4518e3={};return _0x4518e3[_0x4af120(0x239)]=_0x24901f,_0x4518e3['config']=_0x450b39,_0x4518e3;},handleO11yRerun=_0x762acd=>{const _0x5362dc=a39_0x3e7a08,_0x4bea84={};_0x4bea84[_0x5362dc(0x201)]=_0x5362dc(0x1ed);const _0x53c308=_0x4bea84,_0x5960c4=helper['isTrue'](process['env'][_0x5362dc(0x19a)]);if(_0x5960c4){const _0x503181=process['env'][_0x5362dc(0x24b)],_0x28b375=[];if(helper['validateRerunTestList'](_0x503181)&&!helper['isUndefined'](_0x503181)){_0x503181[_0x5362dc(0x254)](',')[_0x5362dc(0x1bb)](_0x1a6ba5=>{const _0x1d6876=_0x5362dc;_0x28b375[_0x1d6876(0x1d1)]('('+_0x1a6ba5[_0x1d6876(0x195)]()+')');});const _0x2e72bb='^'+_0x28b375[_0x5362dc(0x1f8)]('|')+'$';_0x762acd['push'](_0x53c308[_0x5362dc(0x201)],_0x2e72bb);}}},spawnOriginalProcess=_0x39a356=>{const _0x26d88e=a39_0x3e7a08,_0x1944f1={'jjeTy':function(_0x51f229,_0xd7a230,_0x375ba2,_0x12b5d3){return _0x51f229(_0xd7a230,_0x375ba2,_0x12b5d3);},'AtUWz':_0x26d88e(0x245),'NCZXW':'npx','oFXQN':_0x26d88e(0x1e4),'KOutq':function(_0x117073,_0x488385){return _0x117073===_0x488385;},'TBMLm':_0x26d88e(0x1e6),'CwPNs':_0x26d88e(0x231)};_0x1944f1[_0x26d88e(0x1ac)](spawn,helper[_0x26d88e(0x1e8)]()?_0x1944f1[_0x26d88e(0x194)]:_0x1944f1[_0x26d88e(0x213)],[_0x1944f1[_0x26d88e(0x19e)],..._0x39a356[_0x26d88e(0x197)](0x1)],{'shell':_0x1944f1[_0x26d88e(0x1e3)](process['platform'],_0x1944f1[_0x26d88e(0x20b)]),'stdio':_0x1944f1[_0x26d88e(0x1f4)],'cwd':process[_0x26d88e(0x237)]()});},isTestCommand=(_0x43614a,_0x4da64a)=>{const _0xaf5775=a39_0x3e7a08,_0x5ee632={};_0x5ee632[_0xaf5775(0x1f3)]=function(_0x1575ae,_0x3b131a){return _0x1575ae>_0x3b131a;},_0x5ee632['peBlU']=function(_0x3da02a,_0x5b0728){return _0x3da02a===_0x5b0728;},_0x5ee632[_0xaf5775(0x1a2)]='test';const _0xea0d39=_0x5ee632;if(_0xea0d39['HMYar'](_0x4da64a['length'],0x1)&&_0xea0d39[_0xaf5775(0x19b)](_0x4da64a[0x1],_0xea0d39[_0xaf5775(0x1a2)]))return!![];return![];};async function run(_0x2cff14,_0x494a03,_0x5dbe16){const _0x2c32fa=a39_0x3e7a08,_0x29eecb={'yMOXY':_0x2c32fa(0x1b7),'SFDSt':_0x2c32fa(0x1bf),'SaNuf':function(_0x4c1088,_0x1a3715){return _0x4c1088+_0x1a3715;},'qRHcz':'Error\x20in\x20getting\x20funnel\x20data\x20results','jWDXR':function(_0xe2b419){return _0xe2b419();},'UgCmJ':function(_0x413a05){return _0x413a05();},'yltkZ':function(_0x10cebb,_0x4cf12b){return _0x10cebb+_0x4cf12b;},'cbKUs':_0x2c32fa(0x1c5),'YgLgC':function(_0x12f70f,_0x114bda){return _0x12f70f(_0x114bda);},'ysEif':'BrowserStack\x20config\x20file\x20not\x20found.','kDhXP':function(_0x37cd50,_0x5cf673){return _0x37cd50<_0x5cf673;},'oCZfo':function(_0x2d9ca2,_0x2f47ec){return _0x2d9ca2===_0x2f47ec;},'TCqIa':_0x2c32fa(0x1e1),'ITbdj':'--disable-test-observability','wlNQF':function(_0x40584b,_0x4b7b29){return _0x40584b>=_0x4b7b29;},'SXAxx':_0x2c32fa(0x1cf),'tSjtQ':function(_0xd1832c,_0x5e10a4){return _0xd1832c!=_0x5e10a4;},'NFYRt':function(_0xe1d992,_0x47bfaf,_0x4bf9f4){return _0xe1d992(_0x47bfaf,_0x4bf9f4);},'WUgsC':function(_0x1a5291,_0x3471a2){return _0x1a5291(_0x3471a2);},'KFZPS':function(_0x3408de,_0x4598b6){return _0x3408de===_0x4598b6;},'JOlIF':_0x2c32fa(0x255),'bnhIj':function(_0x1da693,_0x312438){return _0x1da693(_0x312438);},'QQnuy':function(_0x2507d8,_0x4b73ef){return _0x2507d8(_0x4b73ef);},'ixLPY':_0x2c32fa(0x1d4),'rutmo':function(_0x3ead48,_0x585903){return _0x3ead48===_0x585903;},'dpzrv':_0x2c32fa(0x243),'EqkLV':_0x2c32fa(0x240),'KBzRc':function(_0x2fadb7,_0x36eef2){return _0x2fadb7-_0x36eef2;},'eEgDY':function(_0x2101d0,_0x4b8937){return _0x2101d0+_0x4b8937;},'KsitZ':_0x2c32fa(0x1f6),'AVoUb':function(_0x734ca7,_0x5435e9){return _0x734ca7>_0x5435e9;},'KWnnO':function(_0x13df49,_0x349f1f){return _0x13df49+_0x349f1f;},'xjQsX':function(_0x1fb111,_0x33d49f,_0x59d765,_0x21f017){return _0x1fb111(_0x33d49f,_0x59d765,_0x21f017);},'CANpT':_0x2c32fa(0x245),'TCOUc':_0x2c32fa(0x1c3),'cECBk':'playwright','ziboC':_0x2c32fa(0x224),'sUtiu':_0x2c32fa(0x203),'QXeVU':_0x2c32fa(0x1e6),'FNGPB':_0x2c32fa(0x231),'FnsXb':'close','lVDBp':function(_0x28126a,_0x1fff7a){return _0x28126a|_0x1fff7a;},'zdejV':function(_0x35b5ee,_0x587565){return _0x35b5ee+_0x587565;},'gulkT':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','chIIt':function(_0x384112,_0x2c14d1){return _0x384112+_0x2c14d1;},'XFVsa':_0x2c32fa(0x222)};try{const _0x2eb92c=path[_0x2c32fa(0x1f8)](helper['homedir'](),_0x29eecb['yMOXY']);try{fs[_0x2c32fa(0x1fd)](_0x2eb92c,_0x29eecb['lVDBp'](fs[_0x2c32fa(0x202)]['R_OK'],fs[_0x2c32fa(0x202)][_0x2c32fa(0x192)]));}catch(_0x3c4a52){ClientTroubleShootingService[_0x2c32fa(0x20a)]();}}catch(_0x1410ce){logger[_0x2c32fa(0x1de)](_0x29eecb[_0x2c32fa(0x200)](_0x29eecb[_0x2c32fa(0x1d9)],_0x1410ce));}try{const _0x428e89=path[_0x2c32fa(0x1f8)](helper[_0x2c32fa(0x24d)](),_0x29eecb[_0x2c32fa(0x1a3)],_0x29eecb['SFDSt']);fs[_0x2c32fa(0x23a)](_0x428e89)&&fs[_0x2c32fa(0x259)](_0x428e89);}catch(_0x2777fb){logger[_0x2c32fa(0x1de)](_0x29eecb[_0x2c32fa(0x1ae)](_0x29eecb[_0x2c32fa(0x233)],_0x2777fb));}if(!_0x29eecb[_0x2c32fa(0x210)](isTestCommand,_0x2cff14,_0x494a03)){_0x29eecb[_0x2c32fa(0x1bc)](spawnOriginalProcess,_0x494a03);return;}await PerformanceTester[_0x2c32fa(0x232)](PerformanceEvents[_0x2c32fa(0x1fc)],async()=>{const _0x45f1ec=_0x2c32fa,_0x58701d={'GgxXS':function(_0x335bf0,_0x516fe4){const _0x126e0d=a39_0x5a3e;return _0x29eecb[_0x126e0d(0x1ca)](_0x335bf0,_0x516fe4);},'WOUdh':_0x29eecb[_0x45f1ec(0x1a3)]};if(!_0x5dbe16[_0x45f1ec(0x1b0)]){logger[_0x45f1ec(0x235)](_0x29eecb['ysEif']);return;}await _0x5dbe16[_0x45f1ec(0x219)](_0x2cff14),CLIUtils[_0x45f1ec(0x21d)](FRAMEWORKS[_0x45f1ec(0x21b)],FRAMEWORKS[_0x45f1ec(0x21b)]),BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x1a0)](_0x5dbe16[_0x45f1ec(0x1b0)],_0x5dbe16[_0x45f1ec(0x1be)],_0x5dbe16[_0x45f1ec(0x199)]),await BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x21a)]();for(var _0x334044=0x0;_0x29eecb[_0x45f1ec(0x23f)](_0x334044,constants[_0x45f1ec(0x1d2)]['length']);_0x334044++){var _0x50b229=constants['INTERNALLY_USED_ENV_VARS'][_0x334044];process[_0x45f1ec(0x249)][_0x50b229]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x50b229);}const _0x5ccb36=BrowserstackCLI['getInstance']()[_0x45f1ec(0x1ba)]();!helper[_0x45f1ec(0x1c6)](_0x5ccb36[_0x45f1ec(0x1a9)])&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1bd)]=!![]);_0x29eecb[_0x45f1ec(0x1ab)](_0x5ccb36[_0x45f1ec(0x1a9)],![])&&(process['env'][_0x45f1ec(0x1bd)]=_0x29eecb[_0x45f1ec(0x226)],_0x494a03=_0x494a03[_0x45f1ec(0x1c0)](_0x121355=>_0x121355!=='--disable-browserstack-automation'));const _0x19aa37=_0x494a03[_0x45f1ec(0x22c)](_0x29eecb[_0x45f1ec(0x209)]);(_0x29eecb['wlNQF'](_0x19aa37,0x0)||_0x29eecb[_0x45f1ec(0x1ab)](_0x5ccb36[_0x45f1ec(0x1ee)],![]))&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1cd)]=_0x29eecb['TCqIa'],_0x494a03=_0x494a03[_0x45f1ec(0x1c0)](_0x4dc2ce=>_0x4dc2ce!=='--disable-test-observability'));!helper[_0x45f1ec(0x1dc)](_0x5dbe16[_0x45f1ec(0x199)])&&_0x5dbe16['cliConfig'][_0x45f1ec(0x1ad)](_0x29eecb[_0x45f1ec(0x227)])&&(process[_0x45f1ec(0x249)]['BROWSERSTACK_AUTOMATION']=_0x5dbe16[_0x45f1ec(0x199)][_0x45f1ec(0x21e)](_0x29eecb[_0x45f1ec(0x227)])||!![]);_0x29eecb['tSjtQ'](_0x5dbe16['config'][_0x45f1ec(0x1ee)],null)&&!helper[_0x45f1ec(0x22f)](process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1cd)]=process['env'][_0x45f1ec(0x1cd)]||_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x1ee)]);const _0x1e5bff=!helper['isFalse'](process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x220)]&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x193)]=JSON['stringify'](_0x5dbe16[_0x45f1ec(0x1b0)]['accessibilityOptions']));let _0x45808a=![];_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x198)]&&(_0x45808a=!![],process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x198)]);const _0x38adca=_0x494a03[_0x45f1ec(0x221)](),_0x56c3e7=await _0x29eecb[_0x45f1ec(0x210)](getUserPlaywrightConfig,_0x2cff14,_0x494a03);if(helper[_0x45f1ec(0x1dc)](_0x56c3e7)){_0x29eecb[_0x45f1ec(0x1bc)](spawnOriginalProcess,_0x38adca);return;}const _0x4bb785=_0x56c3e7[_0x45f1ec(0x239)]?path[_0x45f1ec(0x1c7)](_0x56c3e7['path']):process[_0x45f1ec(0x237)]();process['env'][_0x45f1ec(0x1cc)]=_0x4bb785,await PerformanceTester[_0x45f1ec(0x232)](PerformanceEvents[_0x45f1ec(0x238)],async()=>{const _0x3da14f=_0x45f1ec;!BrowserstackCLI[_0x3da14f(0x1db)]()[_0x3da14f(0x229)]()&&await TestHubHandler[_0x3da14f(0x1f7)](FRAMEWORKS['PLAYWRIGHT'],_0x5dbe16),_0x1e5bff&&_0x58701d[_0x3da14f(0x19f)](handleO11yRerun,_0x494a03);})();if(!BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x229)]()){let _0x59a3a0=_0x29eecb['KFZPS'](process[_0x45f1ec(0x249)][_0x45f1ec(0x241)],_0x29eecb['JOlIF']);_0x59a3a0=_0x59a3a0||_0x29eecb[_0x45f1ec(0x216)](checkAccessibilityPlatformConfig,_0x5dbe16['config']),process[_0x45f1ec(0x249)][_0x45f1ec(0x241)]=_0x59a3a0,_0x59a3a0&&_0x29eecb[_0x45f1ec(0x1ff)](setAccessibilityCapabilities,_0x5dbe16[_0x45f1ec(0x1b0)]);}const _0x4849aa=path[_0x45f1ec(0x1f8)](_0x56c3e7[_0x45f1ec(0x239)]?path['dirname'](_0x56c3e7[_0x45f1ec(0x239)]):process[_0x45f1ec(0x237)](),_0x29eecb[_0x45f1ec(0x24f)]);fs[_0x45f1ec(0x1f2)](_0x4849aa,helper[_0x45f1ec(0x1a1)](_0x5dbe16[_0x45f1ec(0x1b0)])),process['env'][_0x45f1ec(0x20d)]=_0x4849aa,helper[_0x45f1ec(0x225)]();let _0xdbe472='';_0x29eecb[_0x45f1ec(0x23e)](helper[_0x45f1ec(0x1b5)](),constants[_0x45f1ec(0x1ce)][_0x45f1ec(0x247)])?_0xdbe472=_0x29eecb[_0x45f1ec(0x1fb)]:_0xdbe472=_0x29eecb[_0x45f1ec(0x1cb)];let _0x346acd='';if(helper[_0x45f1ec(0x1b6)](_0x56c3e7['path'])){_0x346acd=_0x45f1ec(0x251);const _0x587bf7=_0xdbe472[_0x45f1ec(0x254)]('.');_0x587bf7[_0x29eecb[_0x45f1ec(0x1c4)](_0x587bf7[_0x45f1ec(0x205)],0x1)]='ts',_0xdbe472=_0x587bf7['join']('.'),logger[_0x45f1ec(0x1de)](_0x29eecb['eEgDY'](_0x29eecb['KsitZ'],_0xdbe472));}else _0x346acd=_0x45f1ec(0x1dd);const _0x23f874=path[_0x45f1ec(0x1f8)](_0x56c3e7[_0x45f1ec(0x239)]?path[_0x45f1ec(0x1c7)](_0x56c3e7[_0x45f1ec(0x239)]):process[_0x45f1ec(0x237)](),_0xdbe472);let _0xe6a976=_0x56c3e7[_0x45f1ec(0x239)]?_0x56c3e7['path']:'';_0xe6a976=_0x29eecb[_0x45f1ec(0x21f)](_0xe6a976['length'],0x0)?path[_0x45f1ec(0x252)](_0xe6a976):'',process['env'][_0x45f1ec(0x1e9)]=_0xe6a976;const _0xd056e5=helper['getProxyUrl'](_0x5dbe16['config']),_0x3bd1b6=helper[_0x45f1ec(0x1ef)](_0x5dbe16[_0x45f1ec(0x1b0)]);logger[_0x45f1ec(0x1de)](_0x45f1ec(0x1e5)+_0xd056e5),logger[_0x45f1ec(0x1de)](_0x45f1ec(0x24e)+_0x3bd1b6);_0xd056e5&&(_0x346acd=_0x29eecb['KWnnO'](_0x45f1ec(0x24c)+_0xd056e5+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22'+_0x3bd1b6+_0x45f1ec(0x190),_0x346acd));helper[_0x45f1ec(0x24a)]({},_0x494a03),fs[_0x45f1ec(0x1f2)](_0x23f874,_0x346acd),PerformanceTester[_0x45f1ec(0x214)](PerformanceEvents[_0x45f1ec(0x215)]);const _0x4fac14=_0x29eecb[_0x45f1ec(0x20c)](spawn,helper[_0x45f1ec(0x1e8)]()?_0x29eecb[_0x45f1ec(0x22a)]:_0x29eecb[_0x45f1ec(0x1a4)],[_0x29eecb[_0x45f1ec(0x1eb)],_0x29eecb[_0x45f1ec(0x246)],_0x29eecb[_0x45f1ec(0x211)],_0x29eecb['oCZfo'](process[_0x45f1ec(0x250)],_0x29eecb[_0x45f1ec(0x19d)])?'\x22'+_0x23f874+'\x22':_0x23f874,..._0x494a03['slice'](0x2)],{'shell':_0x29eecb[_0x45f1ec(0x1ab)](process[_0x45f1ec(0x250)],_0x29eecb[_0x45f1ec(0x19d)]),'stdio':_0x29eecb[_0x45f1ec(0x253)],'cwd':process[_0x45f1ec(0x237)](),'env':Object[_0x45f1ec(0x21c)]({},process[_0x45f1ec(0x249)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x45f1ec(0x1d3)](_0x2cff14),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5dbe16['config'][_0x45f1ec(0x1a6)][_0x45f1ec(0x23d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x1a6)][_0x45f1ec(0x1f9)],'BROWSERSTACK_LOG_LEVEL':_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x256)]})}),_0x3829b6=()=>{const _0x2251b9=_0x45f1ec;try{const _0x95354f=path[_0x2251b9(0x1f8)](helper['homedir'](),_0x29eecb[_0x2251b9(0x1a3)],_0x29eecb['SFDSt']);if(fs[_0x2251b9(0x23a)](_0x95354f)){let _0x4d7902=fs[_0x2251b9(0x218)](_0x95354f);_0x4d7902=JSON[_0x2251b9(0x1fa)](_0x4d7902),_0x5dbe16[_0x2251b9(0x1af)]=_0x4d7902,fs['unlinkSync'](_0x95354f);}}catch(_0xa26dde){logger[_0x2251b9(0x1de)](_0x29eecb['SaNuf'](_0x29eecb[_0x2251b9(0x234)],_0xa26dde));}};_0x4fac14['on'](_0x29eecb[_0x45f1ec(0x1da)],async _0x438577=>{const _0x1e052c=_0x45f1ec;try{PerformanceTester[_0x1e052c(0x1c2)](PerformanceEvents[_0x1e052c(0x1d5)]),_0x29eecb[_0x1e052c(0x1c8)](_0x3829b6),await TestHubHandler[_0x1e052c(0x230)](),await ClientTroubleShootingService[_0x1e052c(0x204)](),await BrowserstackCLI[_0x1e052c(0x1db)]()[_0x1e052c(0x230)](),TestDetails[_0x1e052c(0x1c1)](),_0x29eecb['UgCmJ'](printBuildLink),await utilities[_0x1e052c(0x23c)](_0x5dbe16),process[_0x1e052c(0x1f1)]=_0x438577,logger[_0x1e052c(0x1de)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x438577),logger[_0x1e052c(0x1d0)](_0x1e052c(0x1e0)+_0x23f874),fs[_0x1e052c(0x259)](_0x23f874);fs[_0x1e052c(0x23a)](_0x4849aa)&&(logger[_0x1e052c(0x1de)]('Deleting\x20'+_0x4849aa),fs['unlinkSync'](_0x4849aa));const _0xcf3240=fs[_0x1e052c(0x208)](path[_0x1e052c(0x1f8)](helper[_0x1e052c(0x24d)](),_0x29eecb[_0x1e052c(0x1a3)]))[_0x1e052c(0x1c0)](_0x37b74c=>_0x37b74c[_0x1e052c(0x1a7)](_0x1e052c(0x1b8)));_0xcf3240[_0x1e052c(0x1d7)](_0x546fa4=>{const _0x348ce8=_0x1e052c;fs[_0x348ce8(0x259)](path[_0x348ce8(0x1f8)](helper[_0x348ce8(0x24d)](),_0x58701d[_0x348ce8(0x206)],_0x546fa4));});}catch(_0x10df4c){logger[_0x1e052c(0x1de)](_0x29eecb[_0x1e052c(0x1aa)](_0x29eecb[_0x1e052c(0x1ec)],_0x10df4c));}});})();}module[a39_0x3e7a08(0x1d8)]=run;
|