browserstack-node-sdk 1.49.10 → 1.49.11
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_0x553b63=a33_0x5b6e;(function(_0x276268,_0x4dac82){const _0x15da33=a33_0x5b6e,_0x175c54=_0x276268();while(!![]){try{const _0x72ed11=-parseInt(_0x15da33(0x164))/0x1+-parseInt(_0x15da33(0x1b4))/0x2*(parseInt(_0x15da33(0x177))/0x3)+-parseInt(_0x15da33(0x148))/0x4*(-parseInt(_0x15da33(0x192))/0x5)+-parseInt(_0x15da33(0x17e))/0x6*(parseInt(_0x15da33(0x196))/0x7)+parseInt(_0x15da33(0x16f))/0x8+parseInt(_0x15da33(0x175))/0x9+parseInt(_0x15da33(0x1b7))/0xa;if(_0x72ed11===_0x4dac82)break;else _0x175c54['push'](_0x175c54['shift']());}catch(_0xd2053b){_0x175c54['push'](_0x175c54['shift']());}}}(a33_0x54a5,0xf1dc0));const logger=require('../../../helpers/logger')[a33_0x553b63(0x166)],helper=require(a33_0x553b63(0x15b)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x553b63(0x155)),{setAccessibilityCapabilities,setExtension}=require(a33_0x553b63(0x19d)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x553b63(0x18a)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0xe03450,_0x89968c=null,_0x38c63f=![])=>{const _0x913220=a33_0x553b63,_0x323754={'NgQIX':function(_0x3cfaac,_0x5157cf){return _0x3cfaac!==_0x5157cf;},'hEize':_0x913220(0x17b),'xsDlx':function(_0x57cb37,_0x5a0057){return _0x57cb37!==_0x5a0057;},'zHIBV':function(_0x4f2e08,_0x4443d3){return _0x4f2e08+_0x4443d3;},'HLNjv':function(_0x4b3b5b,_0x20e8fd){return _0x4b3b5b+_0x20e8fd;},'mCsmV':_0x913220(0x178),'NJnQJ':_0x913220(0x197),'oYHtW':_0x913220(0x152),'RxqRT':_0x913220(0x17c),'KPhGu':_0x913220(0x19b),'yjbHa':_0x913220(0x191),'jWiWq':_0x913220(0x145),'ayfFH':_0x913220(0x146),'lBSow':_0x913220(0x182),'nSvCV':'se:ieOptions','TiEFQ':_0x913220(0x15c),'gBDwK':function(_0x2444ab,_0x4bac39){return _0x2444ab===_0x4bac39;},'MeAQH':'object','LLQqn':_0x913220(0x1a2),'tykfe':function(_0x50900c,_0x27019d,_0x18ad2c){return _0x50900c(_0x27019d,_0x18ad2c);},'wdqlj':function(_0x1b3f3d,_0x1cc770){return _0x1b3f3d(_0x1cc770);},'VrURF':function(_0x1bdcc9,_0x15a081,_0x36d6ff){return _0x1bdcc9(_0x15a081,_0x36d6ff);},'PuwNu':_0x913220(0x1af),'JWsYq':_0x913220(0x147),'mYmab':'0|1|5|2|3|4','bCewQ':function(_0x292914){return _0x292914();},'muDyo':function(_0x3b3713,_0x5ba9d3){return _0x3b3713(_0x5ba9d3);},'reKyc':_0x913220(0x198),'tVNcT':function(_0x10d86e,_0x34d58b,_0x398c57){return _0x10d86e(_0x34d58b,_0x398c57);},'uEIPG':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ndItP':function(_0x23f1ee,_0x30486e){return _0x23f1ee(_0x30486e);},'WTdFz':function(_0x30fcd1,_0x260375,_0x515e91){return _0x30fcd1(_0x260375,_0x515e91);},'MoXEm':function(_0x44cdb0,_0x38a27d){return _0x44cdb0!==_0x38a27d;},'hRvSs':_0x913220(0x185),'sacsv':_0x913220(0x1b2)},_0x4b9252=helper[_0x913220(0x181)]();let _0x2548f7;try{_0x2548f7=helper[_0x913220(0x167)](),_0x2548f7[_0x913220(0x14d)]&&(_0x2548f7[_0x913220(0x16a)]=_0x2548f7[_0x913220(0x14d)]);}catch(_0x3bc1c8){return;}if(helper[_0x913220(0x187)]()){const _0x46098c={};_0x46098c[_0x913220(0x1ac)]=_0xe03450[_0x913220(0x153)],helper[_0x913220(0x159)](_0x46098c,new Map(),new Map()),logger[_0x913220(0x144)](_0x323754[_0x913220(0x1a1)]),logger[_0x913220(0x194)](_0x323754[_0x913220(0x16b)]);}class _0x88c6b3 extends _0x4b9252['HttpClient']{['send'](_0x1d1926){const _0x4fea8f=_0x913220;if(_0x323754['NgQIX'](_0x1d1926[_0x4fea8f(0x173)],_0x323754[_0x4fea8f(0x154)])&&_0x323754['xsDlx'](global[_0x4fea8f(0x176)],''))try{global[_0x4fea8f(0x176)]=_0x323754[_0x4fea8f(0x172)](_0x323754[_0x4fea8f(0x18b)](_0x323754['mCsmV'],global[_0x4fea8f(0x176)]),_0x323754[_0x4fea8f(0x15f)]),this[_0x4fea8f(0x18f)]=hubAllocator[_0x4fea8f(0x16c)](global[_0x4fea8f(0x176)]),logger[_0x4fea8f(0x194)](_0x4fea8f(0x1ad)+global[_0x4fea8f(0x176)]),global[_0x4fea8f(0x176)]='';}catch(_0x538f20){logger[_0x4fea8f(0x1a5)](_0x538f20);}return super[_0x4fea8f(0x158)](_0x1d1926);}}class _0x5ccd28 extends _0x2548f7['Builder']{[_0x913220(0x16d)](){const _0x4cfb33=_0x913220;return this['url_']=helper['getHubUrl'](_0xe03450),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x4cfb33(0x156)]),this;}[_0x913220(0x149)](_0x5678bf){const _0x5555b6=_0x913220;let _0x47fcac={};for(const _0x161620 in _0x5678bf){switch(_0x161620){case _0x323754[_0x5555b6(0x1b1)]:case _0x323754['RxqRT']:this[_0x5555b6(0x170)]&&(_0x47fcac=this[_0x5555b6(0x170)]['get'](this[_0x5555b6(0x170)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x170)]['set'](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x5555b6(0x19f)](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754[_0x5555b6(0x199)]:case _0x323754[_0x5555b6(0x174)]:this[_0x5555b6(0x165)]&&(_0x47fcac=this[_0x5555b6(0x165)]['get'](this[_0x5555b6(0x165)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x165)]['set'](this['edgeOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754['jWiWq']:case _0x323754[_0x5555b6(0x17a)]:this[_0x5555b6(0x15a)]&&(_0x47fcac=this['firefoxOptions_'][_0x5555b6(0x1b5)](this[_0x5555b6(0x15a)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x15a)][_0x5555b6(0x18c)](this[_0x5555b6(0x15a)][_0x5555b6(0x188)],helper[_0x5555b6(0x19f)](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754[_0x5555b6(0x195)]:this[_0x5555b6(0x14f)]&&(_0x47fcac=this[_0x5555b6(0x14f)][_0x5555b6(0x1b5)](this['safariOptions_'][_0x5555b6(0x188)])||{},this[_0x5555b6(0x14f)]['set'](this[_0x5555b6(0x14f)][_0x5555b6(0x188)],helper['mergeDeep'](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754[_0x5555b6(0x1a8)]:case _0x323754['TiEFQ']:this['ieOptions_']&&(_0x47fcac=this[_0x5555b6(0x150)][_0x5555b6(0x1b5)](this[_0x5555b6(0x150)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x150)][_0x5555b6(0x18c)](this[_0x5555b6(0x150)][_0x5555b6(0x188)],helper['mergeDeep'](_0x47fcac,_0x5678bf[_0x161620])));break;}}}['setCapabilities'](){const _0x4898dd=_0x913220;return logger[_0x4898dd(0x194)](_0x323754[_0x4898dd(0x180)]),this[_0x4898dd(0x149)](_0xe03450[_0x4898dd(0x157)]),Object[_0x4898dd(0x171)](_0xe03450[_0x4898dd(0x157)])[_0x4898dd(0x1a7)](_0x442940=>{const _0x7f58ce=_0x4898dd,_0x428eec=this[_0x7f58ce(0x19e)]['get'](_0x442940);_0x323754[_0x7f58ce(0x151)](typeof _0x428eec,_0x323754['MeAQH'])?this['capabilities_'][_0x7f58ce(0x18c)](_0x442940,helper[_0x7f58ce(0x19f)](_0x428eec,_0xe03450[_0x7f58ce(0x157)][_0x442940])):this[_0x7f58ce(0x19e)]['set'](_0x442940,_0xe03450[_0x7f58ce(0x157)][_0x442940]);}),this;}['build'](){const _0x1ed18f=_0x913220,_0x47eb35={'MnhUz':_0x323754[_0x1ed18f(0x15e)],'OzSVV':_0x323754[_0x1ed18f(0x160)],'CHUMr':function(_0x925c28,_0x435fdb,_0x4e2960){const _0x559465=_0x1ed18f;return _0x323754[_0x559465(0x18e)](_0x925c28,_0x435fdb,_0x4e2960);}};if(helper[_0x1ed18f(0x187)]()){const _0x4a52c4=_0x323754[_0x1ed18f(0x14e)][_0x1ed18f(0x17d)]('|');let _0x1c7812=0x0;while(!![]){switch(_0x4a52c4[_0x1c7812++]){case'0':_0x323754['bCewQ'](isAccessibilityAutomationSession)&&_0x323754['muDyo'](setAccessibilityCapabilities,_0xe03450);continue;case'1':this[_0x1ed18f(0x16d)]();continue;case'2':if(helper['isPacProxy'](_0xe03450[_0x1ed18f(0x1b8)][_0x1ed18f(0x183)]))this[_0x1ed18f(0x18d)]=helper['getHttpAgent'](_0xe03450['proxySettings'][_0x1ed18f(0x183)]);else _0xe03450[_0x1ed18f(0x1b8)][_0x1ed18f(0x183)]&&(this['proxy_']=_0xe03450[_0x1ed18f(0x1b8)][_0x1ed18f(0x183)],logger[_0x1ed18f(0x194)](_0x1ed18f(0x14a)+this['proxy_']));continue;case'3':globals[_0x1ed18f(0x19c)](_0x323754[_0x1ed18f(0x186)])&&(!_0x323754['tVNcT'](setExtension,this,_0xe03450)&&globals[_0x1ed18f(0x169)](_0x323754['reKyc'],![]));continue;case'4':logger[_0x1ed18f(0x194)](_0x323754[_0x1ed18f(0x190)]);continue;case'5':this[_0x1ed18f(0x142)]();continue;}break;}}const _0x53aaf1=super[_0x1ed18f(0x1ae)]();return _0x53aaf1[_0x1ed18f(0x14b)][_0x1ed18f(0x189)](_0xf84e31=>{const _0x44b675=_0x1ed18f;try{const _0x570737=_0xf84e31[_0x44b675(0x1a4)][_0x44b675(0x1b5)](_0x47eb35['MnhUz']);_0x570737?(logger[_0x44b675(0x194)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x570737),hubAllocator[_0x44b675(0x162)](_0x570737),helper[_0x44b675(0x168)](_0x570737)):logger[_0x44b675(0x194)](_0x47eb35[_0x44b675(0x1a9)]);}catch(_0x58096c){logger['debug'](_0x44b675(0x16e)+_0x58096c);}}),_0x53aaf1[_0x1ed18f(0x1aa)]=0x0,_0x53aaf1[_0x1ed18f(0x189)]&&_0x53aaf1[_0x1ed18f(0x189)](_0x8f6b2a=>{const _0x38f6d4=_0x1ed18f,_0x1b3da0={'jnWSE':function(_0x295b58,_0x217827,_0x37c86b){const _0x18a29e=a33_0x5b6e;return _0x323754[_0x18a29e(0x1a6)](_0x295b58,_0x217827,_0x37c86b);},'oIbmc':function(_0x504f89,_0x54c136,_0x4ea39f){const _0x1d814f=a33_0x5b6e;return _0x323754[_0x1d814f(0x1a6)](_0x504f89,_0x54c136,_0x4ea39f);}};_0x323754[_0x38f6d4(0x1a6)](overrideQuit,_0x8f6b2a,_0x53aaf1),_0x323754[_0x38f6d4(0x161)](overrideTakeScreenshot,_0x8f6b2a),helper[_0x38f6d4(0x141)](_0x8f6b2a,_0xe03450),_0x323754[_0x38f6d4(0x18e)](overrideExecute,_0x8f6b2a,_0xe03450),_0x8f6b2a[_0x38f6d4(0x1b3)]=async()=>{const _0xf0f58e=_0x38f6d4;return await _0x1b3da0[_0xf0f58e(0x14c)](getAccessibilityResultsSummary,_0x8f6b2a,global);},_0x8f6b2a[_0x38f6d4(0x184)]=async()=>{return await _0x1b3da0['oIbmc'](getAccessibilityResults,_0x8f6b2a,global);};}),_0x53aaf1[_0x1ed18f(0x1b3)]=async()=>{const _0xa5fe5=_0x1ed18f;return await _0x47eb35[_0xa5fe5(0x1b6)](getAccessibilityResultsSummary,_0x53aaf1,global);},_0x53aaf1[_0x1ed18f(0x184)]=async()=>{const _0x18dcb5=_0x1ed18f;return await _0x323754[_0x18dcb5(0x1a6)](getAccessibilityResults,_0x53aaf1,global);},_0x323754[_0x1ed18f(0x161)](overrideTakeScreenshot,_0x53aaf1),_0x323754[_0x1ed18f(0x143)](overrideQuit,_0x53aaf1),helper['overrideGet'](_0x53aaf1,_0xe03450),_0x323754[_0x1ed18f(0x193)](overrideExecute,_0x53aaf1,_0xe03450),helper['isUndefined'](global[_0x1ed18f(0x17f)])&&(global[_0x1ed18f(0x17f)]=[]),helper[_0x1ed18f(0x163)](global[_0x1ed18f(0x1a3)])&&(global[_0x1ed18f(0x1a3)]=[]),global[_0x1ed18f(0x17f)]['push'](_0x53aaf1),global[_0x1ed18f(0x15d)]=_0x53aaf1,_0x323754['MoXEm'](global[_0x1ed18f(0x1a3)],undefined)&&global[_0x1ed18f(0x1a3)][_0x1ed18f(0x179)](_0x53aaf1),_0x89968c&&helper['isUndefined'](_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x17f)])&&(_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x17f)]=[]),_0x89968c&&_0x323754['NgQIX'](_0x89968c['global'][_0x1ed18f(0x1a3)],undefined)&&(_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x1a3)][_0x1ed18f(0x179)](_0x53aaf1),_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x17f)]['push'](_0x53aaf1)),_0x53aaf1;}}return _0x2548f7[_0x913220(0x14d)]=_0x2548f7[_0x913220(0x16a)],_0x2548f7[_0x913220(0x16a)]=_0x5ccd28,_0x4b9252[_0x913220(0x1ab)]=_0x88c6b3,_0x2548f7;};module[a33_0x553b63(0x1a0)][a33_0x553b63(0x1b0)]=modify;function a33_0x5b6e(_0x170d9f,_0x2b6f82){const _0x54a525=a33_0x54a5();return a33_0x5b6e=function(_0x5b6ee9,_0x2f3dd4){_0x5b6ee9=_0x5b6ee9-0x141;let _0x35d68f=_0x54a525[_0x5b6ee9];return _0x35d68f;},a33_0x5b6e(_0x170d9f,_0x2b6f82);}function a33_0x54a5(){const _0x5beae2=['gBDwK','goog:chromeOptions','browserStackLogLevel','hEize','../../../helpers/patchHelpers','url_','capability','send','setLogLevel','firefoxOptions_','../../../helpers/helper','ieOptions','__driver','PuwNu','NJnQJ','JWsYq','wdqlj','updateHubUrl','isUndefined','1008167bJKJhf','edgeOptions_','winstonLogger','requireSeleniumWebdriver','storeOptimalHubUrl','setGlobal','Builder','sacsv','getRequestOptions','setServer','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','5571584Lmmxaz','chromeOptions_','keys','zHIBV','path','yjbHa','4682628EMxivn','newHubUrl','775191jnuBwQ','https://','push','ayfFH','/session','chromeOptions','split','4455564iGSdfC','__driversArray','LLQqn','requireHttpClient','safari.options','proxyUrl','getAccessibilityResults','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','reKyc','isBrowserstackInfra','CAPABILITY_KEY','then','../../../helpers/globals','HLNjv','set','agent_','VrURF','options_','uEIPG','edgeOptions','265whKJCn','WTdFz','debug','lBSow','7mUvHKa','/wd/hub','isAccessibilityPlatform','KPhGu','global','ms:edgeOptions','getGlobal','../accessibility-automation/helper','capabilities_','mergeDeep','exports','hRvSs','Setting\x20Browserstack\x20capabilities','__drivers','caps_','error','tykfe','forEach','nSvCV','OzSVV','quitCount_','HttpClient','logLevel','New\x20hub\x20url\x20set\x20to\x20','build','optimalHubUrl','browserstackAgentObservability','oYHtW','Modifying\x20webdriver\x20builder','getAccessibilityResultsSummary','12iAiQIG','get','CHUMr','12822810UEoqNc','proxySettings','overrideGet','setCapabilities','ndItP','info','moz:firefoxOptions','firefoxOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','135304zRSfOe','__setBrowserOptions','Proxy\x20set\x20to\x20','session_','jnWSE','originalBuilder','mYmab','safariOptions_','ieOptions_'];a33_0x54a5=function(){return _0x5beae2;};return a33_0x54a5();}
|
|
1
|
+
const a33_0x1b2861=a33_0x4a23;function a33_0x15c2(){const _0x30e8d4=['push','__drivers','logLevel','Proxy\x20set\x20to\x20','isAccessibilityPlatform','isUndefined','proxyUrl','YJzNb','__driver','getHubUrl','chromeOptions_','egWSg','https://','Builder','TRYoS','setCapabilities','setLogLevel','firefoxOptions_','LPykp','quitCount_','capabilities_','edgeOptions','moz:firefoxOptions','firefoxOptions','originalBuilder','isPacProxy','fZXRJ','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','options_','2597326ShUoYq','proxySettings','KQTGY','Modifying\x20webdriver\x20builder','/wd/hub','kPMEx','qfDCe','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','send','global','safariOptions_','ixugg','build','../accessibility-automation/helper','wUVIj','kTOlB','proxy_','30FAFSVi','info','IiyrB','debug','../../../hubAllocationMethods','newHubUrl','url_','split','exports','/session','../../../helpers/helper','session_','IDTQL','AsycI','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/globals','setServer','ieOptions','3384752kNQbjB','goog:chromeOptions','bXvxn','DHWUX','getRequestOptions','keys','HttpClient','get','WhWlu','getGlobal','1447726WjzFkw','ieOptions_','yxBcu','RCUeJ','ms:edgeOptions','pRgbp','nmxsN','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','9zDizGO','1313004xtXpwL','optimalHubUrl','setGlobal','UmKxf','CAPABILITY_KEY','epANU','caps_','capability','qvlHT','then','forEach','../../../helpers/accessibility-automation/helper','1755060dbbUuC','__driversArray','edgeOptions_','bryUb','../../../bin/utils/constants','overrideGet','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','winstonLogger','4747936fNJjaw','requireSeleniumWebdriver','set','getAccessibilityResults','New\x20hub\x20url\x20set\x20to\x20','getHttpAgent','getAccessibilityResultsSummary','mergeDeep','pxqMM','__setBrowserOptions','isBrowserstackInfra','dJcRY','storeOptimalHubUrl','Wvixh','rNyWa','590892HzEVQZ','../../../helpers/logger'];a33_0x15c2=function(){return _0x30e8d4;};return a33_0x15c2();}(function(_0x14f6ef,_0x338795){const _0x175e55=a33_0x4a23,_0xfd8bb0=_0x14f6ef();while(!![]){try{const _0x58cd52=parseInt(_0x175e55(0x21f))/0x1+-parseInt(_0x175e55(0x1c6))/0x2+parseInt(_0x175e55(0x1fc))/0x3+parseInt(_0x175e55(0x1e9))/0x4+-parseInt(_0x175e55(0x208))/0x5+parseInt(_0x175e55(0x1d7))/0x6*(parseInt(_0x175e55(0x1f3))/0x7)+parseInt(_0x175e55(0x210))/0x8*(-parseInt(_0x175e55(0x1fb))/0x9);if(_0x58cd52===_0x338795)break;else _0xfd8bb0['push'](_0xfd8bb0['shift']());}catch(_0x35e1c5){_0xfd8bb0['push'](_0xfd8bb0['shift']());}}}(a33_0x15c2,0xa2847));function a33_0x4a23(_0x38a11c,_0x379517){const _0x15c273=a33_0x15c2();return a33_0x4a23=function(_0x4a23c7,_0x30cdf2){_0x4a23c7=_0x4a23c7-0x1ae;let _0x1d84f8=_0x15c273[_0x4a23c7];return _0x1d84f8;},a33_0x4a23(_0x38a11c,_0x379517);}const logger=require(a33_0x1b2861(0x220))[a33_0x1b2861(0x20f)],helper=require(a33_0x1b2861(0x1e1)),constants=require(a33_0x1b2861(0x20c)),hubAllocator=require(a33_0x1b2861(0x1db)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x1b2861(0x1d3)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x1b2861(0x207)),globals=require(a33_0x1b2861(0x1e6)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x23b5e3,_0x54eb50=null,_0x1faa4a=![])=>{const _0x1c3bba=a33_0x1b2861,_0x49872d={'egWSg':function(_0x3b5edf,_0x3e39bc){return _0x3b5edf!==_0x3e39bc;},'qvlHT':_0x1c3bba(0x1e0),'UuEKG':function(_0x1b1b2f,_0x22c7b7){return _0x1b1b2f+_0x22c7b7;},'pxqMM':function(_0x567d91,_0x27b747){return _0x567d91+_0x27b747;},'DaYMc':_0x1c3bba(0x1b5),'yxBcu':_0x1c3bba(0x1ca),'Wvixh':_0x1c3bba(0x1ea),'kDtLR':'chromeOptions','rNyWa':_0x1c3bba(0x1f7),'pRgbp':_0x1c3bba(0x1be),'kPMEx':_0x1c3bba(0x1bf),'DHWUX':_0x1c3bba(0x1c0),'KQTGY':'safari.options','UmKxf':'se:ieOptions','IiyrB':_0x1c3bba(0x1e8),'WjBTO':function(_0x447b18,_0x2d321c){return _0x447b18===_0x2d321c;},'EQQvw':'object','LPykp':'Setting\x20Browserstack\x20capabilities','wUVIj':_0x1c3bba(0x1fd),'brYKM':_0x1c3bba(0x1e5),'AsycI':function(_0xe9abbb,_0x5ee0ed,_0x5490e4){return _0xe9abbb(_0x5ee0ed,_0x5490e4);},'RCUeJ':function(_0x1597fa,_0x4787f4){return _0x1597fa(_0x4787f4);},'qfDCe':function(_0x57d8e0,_0x196064,_0x2c3c23){return _0x57d8e0(_0x196064,_0x2c3c23);},'bryUb':function(_0x26a3c2,_0x3ff5fa,_0x215ea8){return _0x26a3c2(_0x3ff5fa,_0x215ea8);},'kTOlB':'2|1|4|5|0|3','fZXRJ':_0x1c3bba(0x225),'nmxsN':function(_0x434d7c){return _0x434d7c();},'epANU':function(_0x35fc9f,_0xabb3f9){return _0x35fc9f(_0xabb3f9);},'yXqls':_0x1c3bba(0x20e),'WhWlu':function(_0x3c39be,_0x18ab07){return _0x3c39be(_0x18ab07);},'ixugg':function(_0x410308,_0x4548a2){return _0x410308(_0x4548a2);},'TRYoS':function(_0x588c5e,_0x286642){return _0x588c5e!==_0x286642;},'FdSSi':_0x1c3bba(0x1c4),'IDTQL':_0x1c3bba(0x1c9)},_0x37db2d=helper['requireHttpClient']();let _0x5f3304;try{_0x5f3304=helper[_0x1c3bba(0x211)](),_0x5f3304[_0x1c3bba(0x1c1)]&&(_0x5f3304['Builder']=_0x5f3304[_0x1c3bba(0x1c1)]);}catch(_0x1fd2ed){return;}if(helper[_0x1c3bba(0x21a)]()){const _0x541379={};_0x541379[_0x1c3bba(0x223)]=_0x23b5e3['browserStackLogLevel'],helper[_0x1c3bba(0x1b9)](_0x541379,new Map(),new Map()),logger[_0x1c3bba(0x1d8)](_0x49872d['FdSSi']),logger['debug'](_0x49872d[_0x1c3bba(0x1e3)]);}class _0x32f2f2 extends _0x37db2d['HttpClient']{['send'](_0x29ed4a){const _0x3e9ca4=_0x1c3bba;if(_0x49872d[_0x3e9ca4(0x1b4)](_0x29ed4a['path'],_0x49872d[_0x3e9ca4(0x204)])&&_0x49872d['egWSg'](global[_0x3e9ca4(0x1dc)],''))try{global[_0x3e9ca4(0x1dc)]=_0x49872d['UuEKG'](_0x49872d[_0x3e9ca4(0x218)](_0x49872d['DaYMc'],global[_0x3e9ca4(0x1dc)]),_0x49872d[_0x3e9ca4(0x1f5)]),this[_0x3e9ca4(0x1c5)]=hubAllocator[_0x3e9ca4(0x1ed)](global[_0x3e9ca4(0x1dc)]),logger[_0x3e9ca4(0x1da)](_0x3e9ca4(0x214)+global[_0x3e9ca4(0x1dc)]),global[_0x3e9ca4(0x1dc)]='';}catch(_0x5d6d1d){logger['error'](_0x5d6d1d);}return super[_0x3e9ca4(0x1ce)](_0x29ed4a);}}class _0x4efe05 extends _0x5f3304[_0x1c3bba(0x1b6)]{[_0x1c3bba(0x1e7)](){const _0x466fa4=_0x1c3bba;return this[_0x466fa4(0x1dd)]=helper[_0x466fa4(0x1b2)](_0x23b5e3),logger[_0x466fa4(0x1da)]('Hub\x20url\x20set\x20to\x20'+this[_0x466fa4(0x1dd)]),this;}[_0x1c3bba(0x219)](_0x54f490){const _0x84fa3d=_0x1c3bba;let _0x398b2a={};for(const _0x5b5bdd in _0x54f490){switch(_0x5b5bdd){case _0x49872d[_0x84fa3d(0x21d)]:case _0x49872d['kDtLR']:this[_0x84fa3d(0x1b3)]&&(_0x398b2a=this[_0x84fa3d(0x1b3)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1b3)]['CAPABILITY_KEY'])||{},this[_0x84fa3d(0x1b3)][_0x84fa3d(0x212)](this[_0x84fa3d(0x1b3)][_0x84fa3d(0x200)],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x21e)]:case _0x49872d[_0x84fa3d(0x1f8)]:this['edgeOptions_']&&(_0x398b2a=this[_0x84fa3d(0x20a)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x20a)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x20a)][_0x84fa3d(0x212)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1cb)]:case _0x49872d[_0x84fa3d(0x1ec)]:this[_0x84fa3d(0x1ba)]&&(_0x398b2a=this[_0x84fa3d(0x1ba)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1ba)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x1ba)][_0x84fa3d(0x212)](this[_0x84fa3d(0x1ba)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1c8)]:this[_0x84fa3d(0x1d0)]&&(_0x398b2a=this[_0x84fa3d(0x1d0)][_0x84fa3d(0x1f0)](this[_0x84fa3d(0x1d0)][_0x84fa3d(0x200)])||{},this[_0x84fa3d(0x1d0)][_0x84fa3d(0x212)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;case _0x49872d[_0x84fa3d(0x1ff)]:case _0x49872d[_0x84fa3d(0x1d9)]:this['ieOptions_']&&(_0x398b2a=this[_0x84fa3d(0x1f4)]['get'](this['ieOptions_'][_0x84fa3d(0x200)])||{},this['ieOptions_'][_0x84fa3d(0x212)](this[_0x84fa3d(0x1f4)][_0x84fa3d(0x200)],helper[_0x84fa3d(0x217)](_0x398b2a,_0x54f490[_0x5b5bdd])));break;}}}['setCapabilities'](){const _0x4fa880=_0x1c3bba,_0x4797ce={'lqIAS':function(_0x3022db,_0x372569){return _0x49872d['WjBTO'](_0x3022db,_0x372569);},'yiwqO':_0x49872d['EQQvw']};return logger[_0x4fa880(0x1da)](_0x49872d[_0x4fa880(0x1bb)]),this[_0x4fa880(0x219)](_0x23b5e3['capability']),Object[_0x4fa880(0x1ee)](_0x23b5e3['capability'])[_0x4fa880(0x206)](_0x125219=>{const _0x3f5101=_0x4fa880,_0x19e14f=this[_0x3f5101(0x1bd)][_0x3f5101(0x1f0)](_0x125219);_0x4797ce['lqIAS'](typeof _0x19e14f,_0x4797ce['yiwqO'])?this[_0x3f5101(0x1bd)][_0x3f5101(0x212)](_0x125219,helper[_0x3f5101(0x217)](_0x19e14f,_0x23b5e3['capability'][_0x125219])):this[_0x3f5101(0x1bd)][_0x3f5101(0x212)](_0x125219,_0x23b5e3[_0x3f5101(0x203)][_0x125219]);}),this;}[_0x1c3bba(0x1d2)](){const _0x1aa386=_0x1c3bba,_0x3206fb={'dJcRY':function(_0x229ae2,_0x4bf7a6,_0x27aa1b){const _0xda1e49=a33_0x4a23;return _0x49872d[_0xda1e49(0x20b)](_0x229ae2,_0x4bf7a6,_0x27aa1b);},'YJzNb':function(_0x404b7c,_0x36037d,_0x34c059){const _0x4dfdf9=a33_0x4a23;return _0x49872d[_0x4dfdf9(0x1e4)](_0x404b7c,_0x36037d,_0x34c059);}};if(helper[_0x1aa386(0x21a)]()){const _0x3556fa=_0x49872d[_0x1aa386(0x1d5)][_0x1aa386(0x1de)]('|');let _0x246ab0=0x0;while(!![]){switch(_0x3556fa[_0x246ab0++]){case'0':globals[_0x1aa386(0x1f2)](_0x49872d[_0x1aa386(0x1c3)])&&(!_0x49872d[_0x1aa386(0x1cc)](setExtension,this,_0x23b5e3)&&globals[_0x1aa386(0x1fe)](_0x49872d[_0x1aa386(0x1c3)],![]));continue;case'1':this[_0x1aa386(0x1e7)]();continue;case'2':_0x49872d[_0x1aa386(0x1f9)](isAccessibilityAutomationSession)&&_0x49872d[_0x1aa386(0x201)](setAccessibilityCapabilities,_0x23b5e3);continue;case'3':logger['debug'](_0x49872d['yXqls']);continue;case'4':this[_0x1aa386(0x1b8)]();continue;case'5':if(helper[_0x1aa386(0x1c2)](_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)]))this['agent_']=helper[_0x1aa386(0x215)](_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)]);else _0x23b5e3['proxySettings'][_0x1aa386(0x1af)]&&(this[_0x1aa386(0x1d6)]=_0x23b5e3[_0x1aa386(0x1c7)][_0x1aa386(0x1af)],logger[_0x1aa386(0x1da)](_0x1aa386(0x224)+this[_0x1aa386(0x1d6)]));continue;}break;}}const _0x366a03=super[_0x1aa386(0x1d2)]();return _0x366a03[_0x1aa386(0x1e2)][_0x1aa386(0x205)](_0x1e0694=>{const _0x2238de=_0x1aa386;try{const _0x467726=_0x1e0694[_0x2238de(0x202)][_0x2238de(0x1f0)](_0x49872d[_0x2238de(0x1d4)]);_0x467726?(logger[_0x2238de(0x1da)](_0x2238de(0x1cd)+_0x467726),hubAllocator['updateHubUrl'](_0x467726),helper[_0x2238de(0x21c)](_0x467726)):logger[_0x2238de(0x1da)](_0x49872d['brYKM']);}catch(_0x25fe81){logger[_0x2238de(0x1da)](_0x2238de(0x1fa)+_0x25fe81);}}),_0x366a03[_0x1aa386(0x1bc)]=0x0,_0x366a03[_0x1aa386(0x205)]&&_0x366a03[_0x1aa386(0x205)](_0x9fde9f=>{const _0x58bb3b=_0x1aa386,_0x310386={'bXvxn':function(_0x17aea9,_0x38798d,_0x5379ef){const _0x22c565=a33_0x4a23;return _0x49872d[_0x22c565(0x1e4)](_0x17aea9,_0x38798d,_0x5379ef);}};_0x49872d['AsycI'](overrideQuit,_0x9fde9f,_0x366a03),_0x49872d[_0x58bb3b(0x1f6)](overrideTakeScreenshot,_0x9fde9f),helper[_0x58bb3b(0x20d)](_0x9fde9f,_0x23b5e3),_0x49872d[_0x58bb3b(0x1cc)](overrideExecute,_0x9fde9f,_0x23b5e3),_0x9fde9f[_0x58bb3b(0x216)]=async()=>{const _0x1340bc=_0x58bb3b;return await _0x3206fb[_0x1340bc(0x21b)](getAccessibilityResultsSummary,_0x9fde9f,global);},_0x9fde9f['getAccessibilityResults']=async()=>{const _0x5f005f=_0x58bb3b;return await _0x310386[_0x5f005f(0x1eb)](getAccessibilityResults,_0x9fde9f,global);};}),_0x366a03[_0x1aa386(0x216)]=async()=>{const _0x28a882=_0x1aa386;return await _0x3206fb[_0x28a882(0x21b)](getAccessibilityResultsSummary,_0x366a03,global);},_0x366a03[_0x1aa386(0x213)]=async()=>{const _0x51bc2b=_0x1aa386;return await _0x3206fb[_0x51bc2b(0x1b0)](getAccessibilityResults,_0x366a03,global);},_0x49872d[_0x1aa386(0x1f1)](overrideTakeScreenshot,_0x366a03),_0x49872d[_0x1aa386(0x1d1)](overrideQuit,_0x366a03),helper[_0x1aa386(0x20d)](_0x366a03,_0x23b5e3),_0x49872d[_0x1aa386(0x1e4)](overrideExecute,_0x366a03,_0x23b5e3),helper[_0x1aa386(0x1ae)](global[_0x1aa386(0x209)])&&(global['__driversArray']=[]),helper['isUndefined'](global[_0x1aa386(0x222)])&&(global['__drivers']=[]),global['__driversArray'][_0x1aa386(0x221)](_0x366a03),global[_0x1aa386(0x1b1)]=_0x366a03,_0x49872d[_0x1aa386(0x1b4)](global['__drivers'],undefined)&&global[_0x1aa386(0x222)][_0x1aa386(0x221)](_0x366a03),_0x54eb50&&helper[_0x1aa386(0x1ae)](_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x209)])&&(_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x209)]=[]),_0x54eb50&&_0x49872d[_0x1aa386(0x1b7)](_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x222)],undefined)&&(_0x54eb50[_0x1aa386(0x1cf)][_0x1aa386(0x222)][_0x1aa386(0x221)](_0x366a03),_0x54eb50['global'][_0x1aa386(0x209)][_0x1aa386(0x221)](_0x366a03)),_0x366a03;}}return _0x5f3304[_0x1c3bba(0x1c1)]=_0x5f3304['Builder'],_0x5f3304[_0x1c3bba(0x1b6)]=_0x4efe05,_0x37db2d[_0x1c3bba(0x1ef)]=_0x32f2f2,_0x5f3304;};module[a33_0x1b2861(0x1df)]['browserstackAgentObservability']=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a34_0x134301=a34_0x5369;(function(_0x260da6,_0x5e7f84){const _0x64b104=a34_0x5369,_0x4edc2b=_0x260da6();while(!![]){try{const _0x3d3c56=-parseInt(_0x64b104(0x1d1))/0x1+-parseInt(_0x64b104(0x1e0))/0x2*(-parseInt(_0x64b104(0x1de))/0x3)+parseInt(_0x64b104(0x1dc))/0x4*(parseInt(_0x64b104(0x1da))/0x5)+parseInt(_0x64b104(0x1df))/0x6*(parseInt(_0x64b104(0x1d8))/0x7)+-parseInt(_0x64b104(0x1d2))/0x8+parseInt(_0x64b104(0x1d4))/0x9*(-parseInt(_0x64b104(0x1d5))/0xa)+-parseInt(_0x64b104(0x1d7))/0xb*(-parseInt(_0x64b104(0x1d9))/0xc);if(_0x3d3c56===_0x5e7f84)break;else _0x4edc2b['push'](_0x4edc2b['shift']());}catch(_0xa89870){_0x4edc2b['push'](_0x4edc2b['shift']());}}}(a34_0x1669,0xdfa84));function a34_0x1669(){const _0x1d6b61=['145UnCBxq','../../../bin/utils/constants','85864YOtRUG','../../../helpers/request-spy','3168OyVCqo','11274FaZCsA','1886smggIN','mochaHooks','692046Kadgiu','5015176MhOEwH','restore','1041273VYPxTY','140MfyroC','../../../helpers/test-observability/utils','20901518AxSnDi','1253vlLrAk','12wrUXnU'];a34_0x1669=function(){return _0x1d6b61;};return a34_0x1669();}const requestSpy=require(a34_0x134301(0x1dd)),constants=require(a34_0x134301(0x1db)),{addRequestSpy}=require(a34_0x134301(0x1d6));function a34_0x5369(_0x55cd5a,_0x5acfe8){const _0x166947=a34_0x1669();return a34_0x5369=function(_0x53697e,_0x2f85c5){_0x53697e=_0x53697e-0x1d0;let _0x5ec0de=_0x166947[_0x53697e];return _0x5ec0de;},a34_0x5369(_0x55cd5a,_0x5acfe8);}exports[a34_0x134301(0x1d0)]={'beforeAll'(){const _0x5e8eae={'AiOWm':function(_0x3edfd8){return _0x3edfd8();}},_0x522e30='browserstack internal helper hook';_0x5e8eae['AiOWm'](addRequestSpy);},'afterAll'(){const _0x4cf3e5=a34_0x134301,_0xc9b229='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x4cf3e5(0x1d3)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a35_0x3fc0e4=a35_0x223b;(function(_0x36698d,_0x5a09bd){const _0x357d53=a35_0x223b,_0x365055=_0x36698d();while(!![]){try{const _0x4c3ec2=parseInt(_0x357d53(0x19d))/0x1+parseInt(_0x357d53(0x1b3))/0x2+-parseInt(_0x357d53(0x1bb))/0x3*(-parseInt(_0x357d53(0x1ad))/0x4)+parseInt(_0x357d53(0x1b1))/0x5*(parseInt(_0x357d53(0x1b9))/0x6)+parseInt(_0x357d53(0x1d5))/0x7+-parseInt(_0x357d53(0x1bf))/0x8*(parseInt(_0x357d53(0x1e6))/0x9)+-parseInt(_0x357d53(0x197))/0xa;if(_0x4c3ec2===_0x5a09bd)break;else _0x365055['push'](_0x365055['shift']());}catch(_0x1a18d9){_0x365055['push'](_0x365055['shift']());}}}(a35_0x2440,0x9ff31));function a35_0x2440(){const _0x51846e=['qIxKq','8ThaAPc','MPVAG','hook','OtLRc','getCapabilities','iGYRx','slice','generic','state','_beforeAll','_afterEach','getHookSkippedTests','fromEntries','map_','getPlatform','KPuoi','../../utils/logPatcher','getHookDetails','nKKxG','__cloud_provider___','mzJHP','unknown_grid','4971911wMhkyD','OMkPb','xJFVp','browserstack','split','hookAnalyticsId','sztfJ','YFfGM','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hook:','toJSON','failed','../../../helpers/testhub/utils','push','bs:addPlatformDetails:','pid','_afterAll','10738287GiUczR','mapTestHooks','xJkDh','../../../helpers/test-observability/constants','getBrowserVersion','../../../helpers/test-observability/utils','pDnWj','getHooksForTest','suites','21698580yMhUeO','BSUSg','hwSCm','IgQYg','QqNWj','bBxmS','956775oxdgGb','string','concat','BZVUj','TEST_PLATFORM','getSession','parent','fjkdJ','markedStatus','js-','ZQoBt','kpeyF','lodash','get','jlVOw','indexOf','16648kRBIDh','forEach','sendPlatformDetails','OQNGH','34380fKldtm','emit','53544elJtrq','uuid','DADPg','JIgeR','passed','rzanY','906zHzGUl','HKPRG','927CKiNPl','toISOString','_beforeEach'];a35_0x2440=function(){return _0x51846e;};return a35_0x2440();}function a35_0x223b(_0x5897dd,_0xbeab7e){const _0x2440ef=a35_0x2440();return a35_0x223b=function(_0x223b4e,_0x17d275){_0x223b4e=_0x223b4e-0x194;let _0x4544b0=_0x2440ef[_0x223b4e];return _0x4544b0;},a35_0x223b(_0x5897dd,_0xbeab7e);}const {v4:uuidv4}=require(a35_0x3fc0e4(0x1b4)),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x3fc0e4(0x1cf)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x3fc0e4(0x1eb)),{consoleHolder}=require(a35_0x3fc0e4(0x1e9)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x3fc0e4(0x1e1)),{isFunction}=require(a35_0x3fc0e4(0x1a9)),{patchConsoleLogger}=require(a35_0x3fc0e4(0x1eb));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x445dc7=a35_0x3fc0e4,_0x1e96f3={'CkVfR':_0x445dc7(0x1c6),'jlVOw':function(_0x20cfc9){return _0x20cfc9();}};return{'ci':_0x1e96f3['CkVfR'],'key':_0x1e96f3[_0x445dc7(0x1ab)](uuidv4),'version':version,'collector':_0x445dc7(0x1a6)+name};},exports[a35_0x3fc0e4(0x1d0)]=_0xa02abe=>{const _0x403da3=a35_0x3fc0e4,_0x1d6472={};_0x1d6472[_0x403da3(0x199)]=function(_0x411bb9,_0x3b44aa){return _0x411bb9!==_0x3b44aa;},_0x1d6472['aAJXi']=_0x403da3(0x19e),_0x1d6472[_0x403da3(0x1c2)]=function(_0x180d08,_0xb805fb){return _0x180d08!==_0xb805fb;},_0x1d6472[_0x403da3(0x1d7)]=_0x403da3(0x1de),_0x1d6472[_0x403da3(0x1b5)]=_0x403da3(0x1c1);const _0x388e6e=_0x1d6472;if(!_0xa02abe||_0x388e6e['hwSCm'](typeof _0xa02abe,_0x388e6e['aAJXi']))return[null,null];if(_0x388e6e['OtLRc'](_0xa02abe[_0x403da3(0x1ac)](_0x388e6e[_0x403da3(0x1d7)]),-0x1)){const _0x2a4d69=_0xa02abe[_0x403da3(0x1d9)](_0x388e6e[_0x403da3(0x1d7)]);return[_0x2a4d69[0x0][_0x403da3(0x1c5)](0x0,-0x1)[_0x403da3(0x1d9)]('\x22')[0x1],_0x2a4d69[0x1]['substring'](0x1)];}else{if(_0x388e6e[_0x403da3(0x1c2)](_0xa02abe['indexOf'](_0x388e6e['DADPg']),-0x1)){const _0x46e53d=_0xa02abe[_0x403da3(0x1d9)](_0x388e6e['DADPg']);return[_0x46e53d[0x0][_0x403da3(0x1c5)](0x0,-0x1)['split']('\x22')[0x1],_0xa02abe];}}return[null,null];},exports[a35_0x3fc0e4(0x195)]=_0x5b69ef=>{const _0x544509=a35_0x3fc0e4,_0x4e250a={'ZXeyn':function(_0x5ad1f0,_0x8203b8){return _0x5ad1f0(_0x8203b8);},'iGYRx':_0x544509(0x1c8),'ZQoBt':_0x544509(0x1e5),'sztfJ':_0x544509(0x1bd),'IgQYg':_0x544509(0x1c9)};if(!_0x5b69ef||!_0x5b69ef[_0x544509(0x1a3)])return[];const _0x247ffb=[];return[_0x4e250a[_0x544509(0x1c4)],_0x4e250a[_0x544509(0x1a7)],_0x4e250a[_0x544509(0x1db)],_0x4e250a[_0x544509(0x19a)]][_0x544509(0x1ae)](_0x42c9ff=>{const _0x36f4e4=_0x544509,_0x157bd1=_0x5b69ef[_0x36f4e4(0x1a3)][_0x42c9ff]||[];_0x157bd1[_0x36f4e4(0x1ae)](_0x28aa88=>{const _0xa2d772=_0x36f4e4;_0x28aa88[_0xa2d772(0x1da)]&&!_0x4e250a['ZXeyn'](isInternalHook,_0x28aa88['fn'])&&_0x247ffb[_0xa2d772(0x1e2)](_0x28aa88[_0xa2d772(0x1da)]);});}),[..._0x247ffb,...exports[_0x544509(0x195)](_0x5b69ef[_0x544509(0x1a3)])];},exports[a35_0x3fc0e4(0x1e7)]=_0x2348d4=>{const _0x1f3cf2=a35_0x3fc0e4,_0x28b523={'HLeKE':function(_0x49202c){return _0x49202c();},'HKPRG':function(_0x21cc50,_0x35cb1d){return _0x21cc50===_0x35cb1d;},'BSUSg':_0x1f3cf2(0x1c9),'kpeyF':'_beforeAll','nKKxG':'_afterAll','BZVUj':_0x1f3cf2(0x1bd)};if(!_0x2348d4||!_0x2348d4[_0x1f3cf2(0x1a3)])return;[_0x28b523[_0x1f3cf2(0x1a8)],_0x28b523[_0x1f3cf2(0x1d1)],_0x28b523[_0x1f3cf2(0x1a0)],_0x28b523[_0x1f3cf2(0x198)]]['forEach'](_0x212a20=>{const _0x560e9a=_0x1f3cf2,_0x58ac75={'YFfGM':function(_0x2e895e){return _0x28b523['HLeKE'](_0x2e895e);},'QqNWj':function(_0x490102,_0x3be554){const _0xb97e0=a35_0x223b;return _0x28b523[_0xb97e0(0x1ba)](_0x490102,_0x3be554);},'OMkPb':_0x28b523[_0x560e9a(0x198)]},_0x203bc8=_0x2348d4[_0x560e9a(0x1a3)][_0x212a20]||[];_0x203bc8[_0x560e9a(0x1ae)](_0xe09eaf=>{const _0x5db165=_0x560e9a;if(!_0xe09eaf[_0x5db165(0x1da)])_0xe09eaf[_0x5db165(0x1da)]=_0x58ac75[_0x5db165(0x1dc)](uuidv4);else _0xe09eaf['markedStatus']&&_0x58ac75[_0x5db165(0x19b)](_0x212a20,_0x58ac75[_0x5db165(0x1d6)])&&(_0xe09eaf['hookAnalyticsId']=_0x58ac75['YFfGM'](uuidv4),delete _0xe09eaf[_0x5db165(0x1a5)]);});}),exports['mapTestHooks'](_0x2348d4['parent']);},exports[a35_0x3fc0e4(0x1af)]=async(_0x18df36,_0x89f948)=>{const _0x236447=a35_0x3fc0e4,_0x43921b={'rzanY':function(_0x3c74d){return _0x3c74d();},'MPVAG':function(_0x4cf5fe,_0x432040){return _0x4cf5fe(_0x432040);},'pDnWj':'platformVersion','fjkdJ':function(_0x231200,_0x5311fc){return _0x231200===_0x5311fc;},'bBxmS':_0x236447(0x1d8),'kyfAn':_0x236447(0x1d4),'KPuoi':_0x236447(0x1a1)};try{if(!_0x43921b[_0x236447(0x1b8)](shouldProcessEventForTesthub))return;const _0x38c9f9=await _0x18df36['getCapabilities'](),_0x2db98b=await _0x18df36[_0x236447(0x1a2)](),_0x203375={},_0x25e919=Object[_0x236447(0x1cb)](_0x2db98b[_0x236447(0x1c3)]()[_0x236447(0x1cc)]),_0x5e5c04={'product':_0x43921b[_0x236447(0x1c0)](getObservabilityLinkedProductName,_0x25e919),'capabilities':_0x25e919,'platform':_0x38c9f9[_0x236447(0x1cd)](),'platform_version':_0x38c9f9[_0x236447(0x1aa)](_0x43921b['pDnWj'])?_0x38c9f9[_0x236447(0x1aa)](_0x43921b[_0x236447(0x194)]):_0x43921b[_0x236447(0x1c0)](getPlatformVersion,_0x43921b[_0x236447(0x1a4)](global[_0x236447(0x1d2)],_0x43921b[_0x236447(0x19c)])),'browser':_0x38c9f9['getBrowserName'](),'browser_version':_0x38c9f9[_0x236447(0x1ea)](),'session_id':_0x2db98b[_0x236447(0x1df)]()};global['__cloud_provider___']?_0x203375[global[_0x236447(0x1d2)]]=_0x5e5c04:_0x203375[_0x43921b['kyfAn']]=_0x5e5c04,process[_0x236447(0x1b2)](_0x236447(0x1e3)+process[_0x236447(0x1e4)],{'timestamp':new Date()[_0x236447(0x1bc)](),'level':null,'message':null,'kind':_0x43921b[_0x236447(0x1ce)],'http_response':_0x203375,'uuid':_0x89f948});}catch(_0x36ce61){_0x43921b[_0x236447(0x1c0)](debug,_0x236447(0x1dd)+_0x36ce61);}},exports[a35_0x3fc0e4(0x1ca)]=_0x517ea1=>{const _0x5d82a4=a35_0x3fc0e4,_0x35a1d8={};_0x35a1d8[_0x5d82a4(0x1b6)]=function(_0x17b4fe,_0x313eac){return _0x17b4fe!==_0x313eac;},_0x35a1d8[_0x5d82a4(0x1b0)]='hook',_0x35a1d8[_0x5d82a4(0x1d3)]=function(_0x3923c6,_0x2decb6){return _0x3923c6!==_0x2decb6;},_0x35a1d8[_0x5d82a4(0x1be)]=_0x5d82a4(0x1b7),_0x35a1d8[_0x5d82a4(0x1e8)]=_0x5d82a4(0x1e0);const _0xa4b9c2=_0x35a1d8,_0x5566b1=_0x517ea1[_0x5d82a4(0x196)]['reduce']((_0x4e03d0,_0x4c8ca2)=>{const _0x5587da=_0x5d82a4,_0x50b297=exports['getHookSkippedTests'](_0x4c8ca2);return _0x50b297&&(_0x4e03d0=_0x4e03d0[_0x5587da(0x19f)](_0x50b297)),_0x4e03d0;},[]),_0x2e37ac=_0x517ea1['tests']['filter'](_0x309c0b=>{const _0x1f3f56=_0x5d82a4,_0x5f1d83=_0xa4b9c2[_0x1f3f56(0x1b6)](_0x309c0b['type'],_0xa4b9c2['OQNGH'])&&!_0x309c0b[_0x1f3f56(0x1a5)]&&_0xa4b9c2[_0x1f3f56(0x1d3)](_0x309c0b[_0x1f3f56(0x1c7)],_0xa4b9c2[_0x1f3f56(0x1be)])&&_0xa4b9c2[_0x1f3f56(0x1b6)](_0x309c0b[_0x1f3f56(0x1c7)],_0xa4b9c2[_0x1f3f56(0x1e8)])&&!_0x309c0b['pending'];return _0x5f1d83;});return _0x2e37ac[_0x5d82a4(0x19f)](_0x5566b1);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x453060=a36_0x464f;(function(_0x3386c7,_0x5d1fa0){const _0x30eced=a36_0x464f,_0x71fe82=_0x3386c7();while(!![]){try{const _0x13a5b2=parseInt(_0x30eced(0x1e2))/0x1*(-parseInt(_0x30eced(0x264))/0x2)+parseInt(_0x30eced(0x229))/0x3+-parseInt(_0x30eced(0x20a))/0x4+-parseInt(_0x30eced(0x1e8))/0x5+parseInt(_0x30eced(0x21f))/0x6*(-parseInt(_0x30eced(0x21c))/0x7)+-parseInt(_0x30eced(0x1dc))/0x8*(parseInt(_0x30eced(0x288))/0x9)+parseInt(_0x30eced(0x25e))/0xa*(parseInt(_0x30eced(0x212))/0xb);if(_0x13a5b2===_0x5d1fa0)break;else _0x71fe82['push'](_0x71fe82['shift']());}catch(_0x310961){_0x71fe82['push'](_0x71fe82['shift']());}}}(a36_0x4b63,0x64922));function a36_0x464f(_0x35a2a0,_0x3e94a0){const _0x4b63d8=a36_0x4b63();return a36_0x464f=function(_0x464f8a,_0x5bd9b7){_0x464f8a=_0x464f8a-0x1dc;let _0x27c04b=_0x4b63d8[_0x464f8a];return _0x27c04b;},a36_0x464f(_0x35a2a0,_0x3e94a0);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x453060(0x258)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x453060(0x248)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x453060(0x24f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x453060(0x21d)),logger=require(a36_0x453060(0x289))[a36_0x453060(0x1de)],{shouldProcessEventForTesthub}=require(a36_0x453060(0x234)),testHubConstants=require(a36_0x453060(0x257));function a36_0x4b63(){const _0x7fe57f=['SESSION_NAME','OheSW','SDK_HOOK','DGUAG','startMonitoring','__sessionFailed','sessionNameSet__','DeQxp','beforeEach','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','mMVLD','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','isArray','ZuSdh','timeout','klYMm','__platformCaps','currentTest','316584LMeSgV','XDqHH','DOqsc','push','Mocha','qtDgY','AvkXm','YzjDj','913HsuuWx','quitCount_','SAVE_RESULTS','UTgNw','oqCxN','getCurrentUrl','saveAccessibilityResultsWithRetry','shift','command','YTYlt','7HqRmsR','../../helpers/globals','thTestRunUuid','1946358GHKAkA','then','__error_messages__','cbGkh','iGlHX','err','capabilities','KlYdr','length','qXRxG','1547769hvMExj','percy','cBigB','fhYTi','OJvRW','fCXcD','HyXLI','Accessibility\x20scan\x20completed\x20successfully','yunci','failed','ObrnY','../../helpers/testhub/utils','sHilj','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','now','PERFORM_SCAN','SZRjA','getGlobal','dMOhn','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','bdLhY','Accessibility\x20results\x20saved\x20successfully','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ZoFcg','gOWUw','eLGko','wkrjK','BROWSERSTACK_TESTHUB_JWT','bstackA11yShouldScan','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','beforeAll','./test-observability/mochaUtils','performScanWithRetry','RjjTY','GsCJp','info','message','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/performance/performance-tester','measureWrapper','browserstackSessionName','iLBou','PKWSR','error','qYxio','executeScript','../../helpers/testhub/constants','../../helpers/accessibility-automation/helper','thBuildUuid','WAmfO','ompsW','__drivers','finally','152630zmpObx','zQLAB','join','SYNC','Passed','bTNrd','34246UTRXfQ','testAnalyticsId','ARwvO','isAccessibilityPlatform','miSES','afterEach','app','debug','VysLN','shouldScanTestForAccessibility','env','YdCpr','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','kBCaf','eUdTh','stringify','PRGdl','sessionName','afterAll','PhnPM','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','afterTest','driverCleanup','protocol','\x20-\x20','start','sopQT','session_','kWpMx','RLdYv','jENai','ENV_VAR','rhnTS','MTccw','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','__skipSessionName','36rUeagP','../../helpers/logger','uiUmT','percyCaptureMode','ObservabilitySync:','thJwtToken','accessibilityScanStarted','initQuit','465544BXMKKV','http:','winstonLogger','appium:app','rrBVO','bKkVc','2PoIIOq','Failed:\x20','setGlobal','kFBYF','end','UvzvV','3501285UiInUt','UWHKg','DZoiv','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','aqVya','zHCme','passed','dBeit','vUYJC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','warn','hNlsZ','titlePath','format','UwMvU','Automate\x20test\x20case\x20execution\x20has\x20started.'];a36_0x4b63=function(){return _0x7fe57f;};return a36_0x4b63();}exports['mochaHooks']={'beforeAll'(){const _0x4a6c69=a36_0x453060,_0x1d2f33={'yunci':function(_0x541297,_0xa9d3e0,_0x4260a5,_0x729af){return _0x541297(_0xa9d3e0,_0x4260a5,_0x729af);},'zdveg':_0x4a6c69(0x232),'cftEi':'\x20|\x20','gOWUw':function(_0x5b3053,_0x264865,_0x25c6b5){return _0x5b3053(_0x264865,_0x25c6b5);},'klYMm':_0x4a6c69(0x1ee),'EyFsw':function(_0x2c9549){return _0x2c9549();},'fCXcD':function(_0x4fb06f,_0x51cd15,_0x5c3682){return _0x4fb06f(_0x51cd15,_0x5c3682);},'YzjDj':'index','dMOhn':_0x4a6c69(0x247)};PerformanceTester[_0x4a6c69(0x1fc)]();const _0x28145c='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4a6c69(0x1fa)],()=>{const _0x467770=_0x4a6c69,_0x311dea={'ompsW':function(_0x134420,_0x420d08,_0x21d685,_0x51b092){const _0x30730a=a36_0x464f;return _0x1d2f33[_0x30730a(0x231)](_0x134420,_0x420d08,_0x21d685,_0x51b092);},'UvzvV':_0x1d2f33['zdveg'],'ZuSdh':_0x1d2f33['cftEi'],'OheSW':function(_0x323458,_0x25b504,_0x48790c){const _0x450067=a36_0x464f;return _0x1d2f33[_0x450067(0x241)](_0x323458,_0x25b504,_0x48790c);},'MTccw':_0x1d2f33[_0x467770(0x207)],'qtDgY':function(_0x79e48f){return _0x1d2f33['EyFsw'](_0x79e48f);},'sopQT':function(_0x2f5c04,_0x26c32a,_0x1f4807){const _0x3b8c02=_0x467770;return _0x1d2f33[_0x3b8c02(0x241)](_0x2f5c04,_0x26c32a,_0x1f4807);}};global[_0x467770(0x221)]=[],global[_0x467770(0x1fd)]=![],global[_0x467770(0x27a)]=async()=>{const _0x305beb=_0x467770;let _0x26b8a1=![];try{await global['__drivers'][0x0][_0x305beb(0x27f)],_0x26b8a1=!![],global['__sessionFailed']?await _0x311dea[_0x305beb(0x25b)](markSessionStatus,global[_0x305beb(0x25c)][0x0],_0x311dea[_0x305beb(0x1e7)],global[_0x305beb(0x221)][_0x305beb(0x260)](_0x311dea[_0x305beb(0x205)])):await _0x311dea[_0x305beb(0x1f9)](markSessionStatus,global[_0x305beb(0x25c)][0x0],_0x311dea[_0x305beb(0x285)]);}catch(_0x671df5){logger[_0x305beb(0x26b)](_0x305beb(0x246)+_0x671df5);}global[_0x305beb(0x221)]=[],global[_0x305beb(0x1fd)]=![];if(_0x26b8a1)try{try{_0x311dea[_0x305beb(0x20f)](shouldProcessEventForTesthub)&&(global[_0x305beb(0x25c)][0x0]&&await _0x311dea[_0x305beb(0x27e)](sendPlatformDetails,global['__drivers'][0x0],this[_0x305beb(0x209)]?this['currentTest'][_0x305beb(0x265)]:null));}catch(_0x20f1ff){logger['debug'](_0x305beb(0x23c)+_0x20f1ff);}await global[_0x305beb(0x25c)][0x0][_0x305beb(0x28f)]();}catch(_0x542e99){logger[_0x305beb(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x542e99);}};},{'platform':_0x1d2f33[_0x4a6c69(0x22e)](nestedKeyValue,global[_0x4a6c69(0x208)],[_0x1d2f33[_0x4a6c69(0x211)]]),'hookType':_0x1d2f33[_0x4a6c69(0x23b)]})();},'beforeEach'(_0x451071){const _0x4c248d=a36_0x453060,_0x3cb7ec={'DGUAG':function(_0x14cebf,_0x2b964e){return _0x14cebf>_0x2b964e;},'ehrgd':function(_0x262315,_0x3124db){return _0x262315>_0x3124db;},'kFBYF':_0x4c248d(0x27c),'jENai':function(_0x25f1db,_0x4b8001,_0x35d166){return _0x25f1db(_0x4b8001,_0x35d166);},'DOqsc':_0x4c248d(0x245),'EQDpp':function(_0x2f507){return _0x2f507();},'dBeit':function(_0x3c0a41,_0x5bad89){return _0x3c0a41>_0x5bad89;},'PhnPM':_0x4c248d(0x267),'oqCxN':function(_0x4d75ea,_0x36576b){return _0x4d75ea===_0x36576b;},'bTNrd':_0x4c248d(0x1dd),'PKWSR':'https:','RLdYv':_0x4c248d(0x286),'aqVya':_0x4c248d(0x1f7),'iGlHX':function(_0x3c9326){return _0x3c9326();},'OJvRW':function(_0x49a8b0){return _0x49a8b0();},'sHilj':'browserstackTestName','ObrnY':'index','fhYTi':_0x4c248d(0x200)};globals[_0x4c248d(0x1e4)](_0x3cb7ec[_0x4c248d(0x235)],this[_0x4c248d(0x209)]['titlePath']()[_0x4c248d(0x260)](_0x3cb7ec[_0x4c248d(0x1e5)])),PerformanceTester[_0x4c248d(0x250)](PerformanceSdkEvents[_0x4c248d(0x1fa)],()=>{const _0x550425=_0x4c248d,_0x573a42={'VysLN':function(_0x3be264){const _0x45d4e9=a36_0x464f;return _0x3cb7ec[_0x45d4e9(0x22d)](_0x3be264);}},_0x5a75a4='browserstack internal helper hook';new Promise(async _0x56a2cc=>{const _0x1fad4b=a36_0x464f;let _0x1df832=!![];try{_0x3cb7ec[_0x1fad4b(0x1fb)](global[_0x1fad4b(0x25c)][_0x1fad4b(0x227)],0x1)&&(await global[_0x1fad4b(0x27a)](),global[_0x1fad4b(0x25c)][_0x1fad4b(0x219)]()),_0x3cb7ec['ehrgd'](global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x213)],0x0)&&(_0x1df832=![],await global['driverCleanup']());}catch(_0x2f6b5d){logger[_0x1fad4b(0x26b)](_0x1fad4b(0x24e)+_0x2f6b5d);}try{Array['isArray'](global[_0x1fad4b(0x25c)])&&global['__drivers'][0x0]&&(global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x251)]=this[_0x1fad4b(0x209)][_0x1fad4b(0x1f4)]()[_0x1fad4b(0x260)](_0x3cb7ec['kFBYF'])),global[_0x1fad4b(0x251)]=this['currentTest'][_0x1fad4b(0x1f4)]()[_0x1fad4b(0x260)](_0x3cb7ec[_0x1fad4b(0x1e5)]);}catch(_0x153f08){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x153f08);}this['currentTest'][_0x1fad4b(0x26d)]=_0x3cb7ec[_0x1fad4b(0x282)](shouldScanTestForAccessibility,this[_0x1fad4b(0x209)][_0x1fad4b(0x1f4)](),!![]),globals[_0x1fad4b(0x1e4)](_0x3cb7ec[_0x1fad4b(0x20c)],this[_0x1fad4b(0x209)][_0x1fad4b(0x26d)]),this['currentTest'][_0x1fad4b(0x28e)]=!![];if(_0x3cb7ec['EQDpp'](isAccessibilityAutomationSession)&&_0x1df832&&Array[_0x1fad4b(0x204)](global[_0x1fad4b(0x25c)])&&_0x3cb7ec[_0x1fad4b(0x1ef)](global['__drivers'][_0x1fad4b(0x227)],0x0)&&globals['getGlobal'](_0x3cb7ec[_0x1fad4b(0x277)]))try{const _0x369770=await global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x27f)];if(_0x369770){let _0x372dc3=!![];const _0x10bd02=await global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x217)]();let _0x277dbd;try{_0x277dbd=new URL(_0x10bd02);}catch(_0x412748){_0x372dc3=![];}_0x372dc3=_0x3cb7ec[_0x1fad4b(0x216)](_0x277dbd['protocol'],_0x3cb7ec[_0x1fad4b(0x263)])||_0x3cb7ec['oqCxN'](_0x277dbd[_0x1fad4b(0x27b)],_0x3cb7ec[_0x1fad4b(0x253)]),_0x372dc3&&(this[_0x1fad4b(0x209)]['shouldScanTestForAccessibility']&&logger[_0x1fad4b(0x24c)](_0x3cb7ec[_0x1fad4b(0x281)])),this[_0x1fad4b(0x209)]['accessibilityScanStarted']=this[_0x1fad4b(0x209)][_0x1fad4b(0x26d)],this['currentTest'][_0x1fad4b(0x26d)]&&logger[_0x1fad4b(0x24c)](_0x3cb7ec[_0x1fad4b(0x1ec)]);}}catch(_0x363b32){logger[_0x1fad4b(0x254)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x1fad4b(0x1f5)](_0x363b32));}_0x3cb7ec[_0x1fad4b(0x223)](_0x56a2cc);})[_0x550425(0x220)](()=>{const _0x323a97=_0x550425;_0x573a42[_0x323a97(0x26c)](_0x451071);});},{'platform':_0x3cb7ec[_0x4c248d(0x282)](nestedKeyValue,global['__platformCaps'],[_0x3cb7ec[_0x4c248d(0x233)]]),'hookType':_0x3cb7ec[_0x4c248d(0x22c)]})();},'afterEach'(_0x1d5720){const _0xd11ddb=a36_0x453060,_0x5f6588={'WAmfO':_0xd11ddb(0x27c),'kWpMx':function(_0x6befd1,_0x241009){return _0x6befd1>_0x241009;},'miSES':function(_0x166fef,_0x4d0904){return _0x166fef===_0x4d0904;},'qYxio':'testcase','cbGkh':function(_0x491265,_0x5a03e0){return _0x491265>_0x5a03e0;},'SZRjA':_0xd11ddb(0x1df),'UwMvU':function(_0x57b3fb,_0x10c406,_0x21921e,_0xbf69ce){return _0x57b3fb(_0x10c406,_0x21921e,_0xbf69ce);},'aqZsu':_0xd11ddb(0x267),'GsCJp':_0xd11ddb(0x245),'eUdTh':_0xd11ddb(0x278),'zQLAB':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','rrBVO':_0xd11ddb(0x279),'mMVLD':_0xd11ddb(0x230),'RjjTY':_0xd11ddb(0x23f),'tiPJa':_0xd11ddb(0x23e),'hNlsZ':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','rhnTS':_0xd11ddb(0x1f1),'DeQxp':function(_0x49b3d0){return _0x49b3d0();},'WRSOa':function(_0x586bdf,_0x5663b0,_0x497f2f){return _0x586bdf(_0x5663b0,_0x497f2f);},'UWHKg':function(_0x307c61,_0x2e75d6,_0x56ad4e){return _0x307c61(_0x2e75d6,_0x56ad4e);},'ZoFcg':_0xd11ddb(0x26b),'XDqHH':function(_0x495901){return _0x495901();},'DZoiv':function(_0x1f7b99,_0x200cb0){return _0x1f7b99!==_0x200cb0;},'wGaXY':_0xd11ddb(0x1ee),'bdLhY':function(_0x1c3abd,_0x558b66){return _0x1c3abd+_0x558b66;},'wkrjK':_0xd11ddb(0x1e3),'nucXC':_0xd11ddb(0x254),'QgQyk':_0xd11ddb(0x262),'YTYlt':'info','uiUmT':'Mocha','zHCme':'index','bKkVc':_0xd11ddb(0x269)},_0x5c35ef='browserstack internal helper hook';this[_0xd11ddb(0x206)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5f6588[_0xd11ddb(0x28a)]]),global[_0xd11ddb(0x275)]=this['currentTest'][_0xd11ddb(0x1f4)]()[_0xd11ddb(0x260)](_0x5f6588[_0xd11ddb(0x25a)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x40f05d=_0xd11ddb,_0x1ff3f3={'eLGko':function(_0x343d7f,_0x476147){const _0x235316=a36_0x464f;return _0x5f6588[_0x235316(0x1ea)](_0x343d7f,_0x476147);},'KlYdr':_0x5f6588['wGaXY'],'HyXLI':function(_0x1f809b,_0x26343e,_0x575297){return _0x5f6588['WRSOa'](_0x1f809b,_0x26343e,_0x575297);},'YdCpr':function(_0x3b7555,_0xe54466){const _0x5a2179=a36_0x464f;return _0x5f6588[_0x5a2179(0x23d)](_0x3b7555,_0xe54466);},'vUYJC':_0x5f6588[_0x40f05d(0x243)],'iLBou':_0x5f6588['nucXC'],'cBigB':_0x5f6588['QgQyk'],'ENjpA':_0x5f6588[_0x40f05d(0x21b)],'umrlG':function(_0x2dfae7){const _0x1903c5=_0x40f05d;return _0x5f6588[_0x1903c5(0x20b)](_0x2dfae7);}},_0xe009be=async(_0x4d283b,_0x26af9b)=>{const _0x1a4492=_0x40f05d;await global[_0x1a4492(0x25c)][0x0][_0x1a4492(0x256)](_0x1a4492(0x203)+_0x4d283b+',\x22level\x22:\x20\x22'+_0x26af9b+'\x22}}');};new Promise(async _0x3f65c7=>{const _0x3430fb=_0x40f05d,_0x46cfb9={};_0x46cfb9[_0x3430fb(0x274)]=_0x5f6588[_0x3430fb(0x25a)];const _0x4aaa14=_0x46cfb9;try{_0x5f6588[_0x3430fb(0x280)](global['__drivers'][_0x3430fb(0x227)],0x1)&&(await global[_0x3430fb(0x27a)](),global[_0x3430fb(0x25c)][_0x3430fb(0x219)](),global[_0x3430fb(0x221)]=[],global['__sessionFailed']=![]);try{if(global[_0x3430fb(0x22a)]&&_0x5f6588[_0x3430fb(0x268)](global[_0x3430fb(0x28b)],_0x5f6588[_0x3430fb(0x255)])&&global[_0x3430fb(0x25c)][0x0]){const _0x412115=_0x5f6588[_0x3430fb(0x222)](global[_0x3430fb(0x225)][_0x3430fb(0x227)],0x0)?!!global[_0x3430fb(0x225)][0x0]['app']||!!global['capabilities'][0x0][_0x5f6588[_0x3430fb(0x239)]]:![],_0x64d8b4={};_0x64d8b4[_0x3430fb(0x26a)]=_0x412115,await _0x5f6588[_0x3430fb(0x1f6)](percyAutoCapture,global[_0x3430fb(0x25c)][0x0],_0x5f6588[_0x3430fb(0x255)],_0x64d8b4);}}catch(_0x5c0ad5){logger[_0x3430fb(0x26b)](_0x3430fb(0x270)+_0x5c0ad5);}!global[_0x3430fb(0x287)]&&(await PerformanceTester[_0x3430fb(0x250)](PerformanceAutEvents[_0x3430fb(0x1f8)],async()=>{const _0x4a00d5=_0x3430fb;await global[_0x4a00d5(0x25c)][0x0]['executeScript'](_0x4a00d5(0x1eb)+JSON[_0x4a00d5(0x273)](this[_0x4a00d5(0x209)][_0x4a00d5(0x1f4)]()[_0x4a00d5(0x260)](_0x4aaa14[_0x4a00d5(0x274)]))+'}}');})(),global[_0x3430fb(0x25c)][0x0][_0x3430fb(0x1fe)]=!![]),await PerformanceTester[_0x3430fb(0x250)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x42ca1c=_0x3430fb,_0x38caf8=_0x1ff3f3[_0x42ca1c(0x242)](this[_0x42ca1c(0x209)]['state'],_0x1ff3f3[_0x42ca1c(0x226)]);_0x38caf8?(global[_0x42ca1c(0x1fd)]=!![],global[_0x42ca1c(0x221)][_0x42ca1c(0x20d)](this[_0x42ca1c(0x209)][_0x42ca1c(0x224)][_0x42ca1c(0x24d)]),await _0x1ff3f3[_0x42ca1c(0x22f)](_0xe009be,JSON[_0x42ca1c(0x273)](_0x1ff3f3[_0x42ca1c(0x26f)](_0x1ff3f3[_0x42ca1c(0x1f0)],this[_0x42ca1c(0x209)][_0x42ca1c(0x224)]['message'])),_0x1ff3f3[_0x42ca1c(0x252)])):await _0x1ff3f3[_0x42ca1c(0x22f)](_0xe009be,JSON[_0x42ca1c(0x273)](_0x1ff3f3[_0x42ca1c(0x22b)]),_0x1ff3f3['ENjpA']);})();}catch(_0x2cab43){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x2cab43);}try{if(this[_0x3430fb(0x209)][_0x3430fb(0x28e)]&&globals[_0x3430fb(0x23a)](_0x5f6588['aqZsu'])&&globals[_0x3430fb(0x23a)](_0x5f6588[_0x3430fb(0x24b)])){logger[_0x3430fb(0x24c)](_0x5f6588[_0x3430fb(0x272)]);const _0x2eb55f={};_0x2eb55f[_0x3430fb(0x21e)]=this['currentTest']['testAnalyticsId'],_0x2eb55f[_0x3430fb(0x259)]=process[_0x3430fb(0x26e)][testHubConstants[_0x3430fb(0x283)]['BROWSERSTACK_TESTHUB_UUID']],_0x2eb55f[_0x3430fb(0x28d)]=process[_0x3430fb(0x26e)][testHubConstants[_0x3430fb(0x283)][_0x3430fb(0x244)]];const _0x2eb29a=_0x2eb55f;logger[_0x3430fb(0x26b)](_0x3430fb(0x236)+JSON['stringify'](_0x2eb29a)),logger[_0x3430fb(0x26b)](_0x5f6588[_0x3430fb(0x25f)]);const _0x4c276d={};_0x4c276d[_0x3430fb(0x21a)]=_0x5f6588[_0x3430fb(0x1e0)];const _0x310b89=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3430fb(0x238)],async()=>{const _0x3761ab=_0x3430fb;return await accessibilityRetryHelper[_0x3761ab(0x249)](global['__drivers'][0x0],global[_0x3761ab(0x251)]);},_0x4c276d)();_0x310b89?logger[_0x3430fb(0x26b)](_0x5f6588[_0x3430fb(0x202)]):logger[_0x3430fb(0x1f2)](_0x5f6588[_0x3430fb(0x24a)]);const _0x379878=await PerformanceTester[_0x3430fb(0x250)](PerformanceA11yEvents[_0x3430fb(0x214)],async()=>{const _0x406f62=_0x3430fb;return await accessibilityRetryHelper[_0x406f62(0x218)](global[_0x406f62(0x25c)][0x0],_0x2eb29a);})();_0x379878?logger[_0x3430fb(0x26b)](_0x5f6588['tiPJa']):logger['warn'](_0x5f6588[_0x3430fb(0x1f3)]),logger[_0x3430fb(0x24c)](_0x5f6588[_0x3430fb(0x284)]);}}catch(_0x243d31){logger[_0x3430fb(0x254)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x3430fb(0x1f4)]()+'.\x20Error\x20:',_0x243d31);}try{try{if(_0x5f6588[_0x3430fb(0x1ff)](shouldProcessEventForTesthub)){global[_0x3430fb(0x25c)][0x0]&&await _0x5f6588['WRSOa'](sendPlatformDetails,global[_0x3430fb(0x25c)][0x0],this[_0x3430fb(0x209)]?this['currentTest'][_0x3430fb(0x265)]:null);if(_0x5f6588['DeQxp'](isBrowserstackInfra)){PerformanceTester[_0x3430fb(0x27d)](PerformanceO11yEvents[_0x3430fb(0x261)]);const _0x5ec3ff=_0x3430fb(0x28c)+Date[_0x3430fb(0x237)]();await _0x5f6588[_0x3430fb(0x1e9)](_0xe009be,JSON['stringify'](_0x5ec3ff),_0x5f6588[_0x3430fb(0x240)]),PerformanceTester[_0x3430fb(0x1e6)](PerformanceO11yEvents['SYNC']);}}}catch(_0x5116d0){logger[_0x3430fb(0x26b)](_0x3430fb(0x201)+_0x5116d0),PerformanceTester['end'](PerformanceO11yEvents[_0x3430fb(0x261)],![],_0x5116d0);}_0x5f6588['cbGkh'](global['__drivers'][0x0][_0x3430fb(0x213)],0x0)&&await global[_0x3430fb(0x27a)]();}catch(_0x36879a){logger[_0x3430fb(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x36879a);}_0x5f6588[_0x3430fb(0x20b)](_0x3f65c7);})['then'](()=>{_0x1ff3f3['umrlG'](_0x1d5720);});},{'platform':_0x5f6588['UWHKg'](nestedKeyValue,global[_0xd11ddb(0x208)],[_0x5f6588[_0xd11ddb(0x1ed)]]),'hookType':_0x5f6588[_0xd11ddb(0x1e1)]})();},'afterAll'(_0x4eaddb){const _0x3d28bf=a36_0x453060,_0x9b294a={'qXRxG':function(_0x1cb6ef){return _0x1cb6ef();},'ARwvO':function(_0x334f67){return _0x334f67();},'kBCaf':_0x3d28bf(0x20e),'UTgNw':function(_0x3cbf41,_0x3757ef,_0x9cc0ca){return _0x3cbf41(_0x3757ef,_0x9cc0ca);},'WeQMu':'index','NEItw':_0x3d28bf(0x276)},_0x4d13f4='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x9b294a[_0x3d28bf(0x271)]]),PerformanceTester[_0x3d28bf(0x250)](PerformanceSdkEvents[_0x3d28bf(0x1fa)],()=>{const _0x557617=_0x3d28bf,_0x204cdf={'AvkXm':function(_0x5d8c76){const _0x150f91=a36_0x464f;return _0x9b294a[_0x150f91(0x266)](_0x5d8c76);}};new Promise(async _0x554f04=>{const _0x5ecf4f=a36_0x464f;await global[_0x5ecf4f(0x27a)](),_0x204cdf[_0x5ecf4f(0x210)](_0x554f04);})[_0x557617(0x220)]()[_0x557617(0x25d)](()=>{const _0x510c54=_0x557617;_0x9b294a[_0x510c54(0x228)](_0x4eaddb);});},{'platform':_0x9b294a[_0x3d28bf(0x215)](nestedKeyValue,global[_0x3d28bf(0x208)],[_0x9b294a['WeQMu']]),'hookType':_0x9b294a['NEItw']})();}};
|
|
1
|
+
function a36_0x586f(_0x1c29ab,_0x3aad1e){const _0xde4539=a36_0xde45();return a36_0x586f=function(_0x586fe5,_0x39511b){_0x586fe5=_0x586fe5-0x1a8;let _0xcdbc83=_0xde4539[_0x586fe5];return _0xcdbc83;},a36_0x586f(_0x1c29ab,_0x3aad1e);}const a36_0xf173e4=a36_0x586f;(function(_0x368b85,_0x13078c){const _0x4817a1=a36_0x586f,_0x466d04=_0x368b85();while(!![]){try{const _0x2eca6e=parseInt(_0x4817a1(0x216))/0x1+-parseInt(_0x4817a1(0x1cf))/0x2+parseInt(_0x4817a1(0x1d2))/0x3+parseInt(_0x4817a1(0x24c))/0x4*(-parseInt(_0x4817a1(0x250))/0x5)+parseInt(_0x4817a1(0x1e6))/0x6+-parseInt(_0x4817a1(0x1cb))/0x7+parseInt(_0x4817a1(0x21a))/0x8;if(_0x2eca6e===_0x13078c)break;else _0x466d04['push'](_0x466d04['shift']());}catch(_0x4618f8){_0x466d04['push'](_0x466d04['shift']());}}}(a36_0xde45,0x7d4e2));const util=require(a36_0xf173e4(0x22c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0xf173e4(0x1ef)),accessibilityRetryHelper=require(a36_0xf173e4(0x249)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0xf173e4(0x23d)),{percyAutoCapture}=require(a36_0xf173e4(0x230)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0xf173e4(0x20f)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0xf173e4(0x1b5)),globals=require(a36_0xf173e4(0x1c4)),logger=require('../../helpers/logger')[a36_0xf173e4(0x217)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0xf173e4(0x1b4));exports[a36_0xf173e4(0x1f7)]={'beforeAll'(){const _0x1a98b0=a36_0xf173e4,_0x899ee8={'ScPyH':function(_0xa93e87,_0x1922a9,_0x562dc9,_0x3129f3){return _0xa93e87(_0x1922a9,_0x562dc9,_0x3129f3);},'JdaPX':_0x1a98b0(0x227),'qXkju':_0x1a98b0(0x1e1),'iQXox':function(_0x2acc63,_0x33eec0,_0x485c1f){return _0x2acc63(_0x33eec0,_0x485c1f);},'wEiiA':_0x1a98b0(0x226),'htMBZ':function(_0x29a085){return _0x29a085();},'nUrjk':function(_0x4c9625,_0x3676c9,_0x303b9b){return _0x4c9625(_0x3676c9,_0x303b9b);},'sWVeO':_0x1a98b0(0x22b),'WDkmW':'beforeAll'};PerformanceTester[_0x1a98b0(0x1ee)]();const _0x4a5d42='browserstack internal helper hook';PerformanceTester[_0x1a98b0(0x1ab)](PerformanceSdkEvents[_0x1a98b0(0x1bd)],()=>{const _0x67aef6=_0x1a98b0,_0x3ca6e4={'tabPC':function(_0x1ee638,_0x19f8b4,_0x3d37fa,_0x29ad5b){const _0x51107f=a36_0x586f;return _0x899ee8[_0x51107f(0x210)](_0x1ee638,_0x19f8b4,_0x3d37fa,_0x29ad5b);},'azVaT':_0x899ee8[_0x67aef6(0x1b0)],'xsahP':_0x899ee8['qXkju'],'VnxVY':function(_0x5572b8,_0x2cb048,_0xd84a28){return _0x899ee8['iQXox'](_0x5572b8,_0x2cb048,_0xd84a28);},'hXwmy':_0x899ee8['wEiiA'],'xooiM':function(_0x4bda28){return _0x899ee8['htMBZ'](_0x4bda28);},'SOzXH':function(_0x444b2f,_0x5d7287,_0x15305a){const _0x389287=_0x67aef6;return _0x899ee8[_0x389287(0x24b)](_0x444b2f,_0x5d7287,_0x15305a);}};global[_0x67aef6(0x22f)]=[],global[_0x67aef6(0x214)]=![],global[_0x67aef6(0x1d0)]=async()=>{const _0x48cac2=_0x67aef6;let _0xc5b5d6=![];try{await global['__drivers'][0x0][_0x48cac2(0x21d)],_0xc5b5d6=!![],global[_0x48cac2(0x214)]?await _0x3ca6e4[_0x48cac2(0x1f1)](markSessionStatus,global[_0x48cac2(0x1ad)][0x0],_0x3ca6e4['azVaT'],global[_0x48cac2(0x22f)][_0x48cac2(0x245)](_0x3ca6e4[_0x48cac2(0x211)])):await _0x3ca6e4[_0x48cac2(0x215)](markSessionStatus,global[_0x48cac2(0x1ad)][0x0],_0x3ca6e4[_0x48cac2(0x1d8)]);}catch(_0x25accd){logger[_0x48cac2(0x236)](_0x48cac2(0x200)+_0x25accd);}global['__error_messages__']=[],global[_0x48cac2(0x214)]=![];if(_0xc5b5d6)try{try{_0x3ca6e4[_0x48cac2(0x208)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3ca6e4[_0x48cac2(0x1d4)](sendPlatformDetails,global[_0x48cac2(0x1ad)][0x0],this['currentTest']?this[_0x48cac2(0x1c0)][_0x48cac2(0x1df)]:null));}catch(_0x4f7583){logger['debug'](_0x48cac2(0x1dd)+_0x4f7583);}await global['__drivers'][0x0][_0x48cac2(0x242)]();}catch(_0x185e70){logger[_0x48cac2(0x236)](_0x48cac2(0x239)+_0x185e70);}};},{'platform':_0x899ee8[_0x1a98b0(0x1fa)](nestedKeyValue,global['__platformCaps'],[_0x899ee8['sWVeO']]),'hookType':_0x899ee8[_0x1a98b0(0x202)]})();},'beforeEach'(_0x1870aa){const _0x260f3d=a36_0xf173e4,_0x370271={'ZRHlc':function(_0x186c18,_0x4e1ef4){return _0x186c18>_0x4e1ef4;},'MIykq':function(_0x296e5d,_0x4ee48e){return _0x296e5d>_0x4ee48e;},'wlItR':_0x260f3d(0x229),'XlmTQ':function(_0x19450e,_0x41473b,_0x9623b0){return _0x19450e(_0x41473b,_0x9623b0);},'rCmnF':_0x260f3d(0x237),'IFLJU':function(_0x2d23ad){return _0x2d23ad();},'uJPdB':_0x260f3d(0x1cd),'dOjQT':function(_0x5537c2,_0x33449b){return _0x5537c2===_0x33449b;},'RpXuv':_0x260f3d(0x1ff),'gxtNY':function(_0x5a7f03,_0x131964){return _0x5a7f03===_0x131964;},'aplqr':'https:','kYFIi':_0x260f3d(0x1b3),'QRchY':'Automate\x20test\x20case\x20execution\x20has\x20started.','pIJVl':function(_0x5b9062){return _0x5b9062();},'zMqXb':'browserstackTestName','zUJFW':'index','OOsif':_0x260f3d(0x1bf)};globals[_0x260f3d(0x1ed)](_0x370271[_0x260f3d(0x201)],this['currentTest'][_0x260f3d(0x1f5)]()[_0x260f3d(0x245)](_0x370271[_0x260f3d(0x1c2)])),PerformanceTester[_0x260f3d(0x1ab)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1ba83f=_0x260f3d,_0xa67ee0='browserstack internal helper hook';new Promise(async _0x18e23b=>{const _0x15400e=a36_0x586f;let _0x21d1d9=!![];try{_0x370271[_0x15400e(0x1e8)](global[_0x15400e(0x1ad)][_0x15400e(0x1ce)],0x1)&&(await global['driverCleanup'](),global[_0x15400e(0x1ad)][_0x15400e(0x206)]()),_0x370271['MIykq'](global[_0x15400e(0x1ad)][0x0][_0x15400e(0x1fc)],0x0)&&(_0x21d1d9=![],await global[_0x15400e(0x1d0)]());}catch(_0x37218d){logger['debug'](_0x15400e(0x239)+_0x37218d);}try{Array[_0x15400e(0x207)](global['__drivers'])&&global[_0x15400e(0x1ad)][0x0]&&(global['__drivers'][0x0][_0x15400e(0x1d1)]=this[_0x15400e(0x1c0)][_0x15400e(0x1f5)]()[_0x15400e(0x245)](_0x370271[_0x15400e(0x1c2)])),global['browserstackSessionName']=this['currentTest']['titlePath']()[_0x15400e(0x245)](_0x370271[_0x15400e(0x1c2)]);}catch(_0x319f16){logger[_0x15400e(0x236)](_0x15400e(0x220)+_0x319f16);}this['currentTest'][_0x15400e(0x1b7)]=_0x370271['XlmTQ'](shouldScanTestForAccessibility,this[_0x15400e(0x1c0)]['titlePath'](),!![]),globals['setGlobal'](_0x370271[_0x15400e(0x23c)],this['currentTest'][_0x15400e(0x1b7)]),this[_0x15400e(0x1c0)][_0x15400e(0x252)]=!![];if(_0x370271[_0x15400e(0x1fe)](isAccessibilityAutomationSession)&&_0x21d1d9&&Array[_0x15400e(0x207)](global[_0x15400e(0x1ad)])&&_0x370271[_0x15400e(0x1e8)](global[_0x15400e(0x1ad)]['length'],0x0)&&globals[_0x15400e(0x1c9)](_0x370271[_0x15400e(0x234)]))try{const _0x2b10ee=await global[_0x15400e(0x1ad)][0x0][_0x15400e(0x21d)];if(_0x2b10ee){let _0x17e8c9=!![];const _0x4d3d42=await global[_0x15400e(0x1ad)][0x0]['getCurrentUrl']();let _0x1e4b66;try{_0x1e4b66=new URL(_0x4d3d42);}catch(_0x4ee293){_0x17e8c9=![];}_0x17e8c9=_0x370271[_0x15400e(0x235)](_0x1e4b66['protocol'],_0x370271[_0x15400e(0x1db)])||_0x370271[_0x15400e(0x1bb)](_0x1e4b66['protocol'],_0x370271['aplqr']),_0x17e8c9&&(this['currentTest'][_0x15400e(0x1b7)]&&logger['info'](_0x370271['kYFIi'])),this['currentTest']['accessibilityScanStarted']=this[_0x15400e(0x1c0)][_0x15400e(0x1b7)],this[_0x15400e(0x1c0)]['shouldScanTestForAccessibility']&&logger['info'](_0x370271['QRchY']);}}catch(_0x37a6e2){logger[_0x15400e(0x240)](_0x15400e(0x212)+util[_0x15400e(0x251)](_0x37a6e2));}_0x370271[_0x15400e(0x1f2)](_0x18e23b);})[_0x1ba83f(0x1ac)](()=>{const _0x2ddf6e=_0x1ba83f;_0x370271[_0x2ddf6e(0x1f2)](_0x1870aa);});},{'platform':_0x370271[_0x260f3d(0x1ca)](nestedKeyValue,global['__platformCaps'],[_0x370271[_0x260f3d(0x20a)]]),'hookType':_0x370271[_0x260f3d(0x1f6)]})();},'afterEach'(_0x49be9a){const _0xdc6af2=a36_0xf173e4,_0x98267d={'KBItJ':function(_0x120ac9,_0x3e85fa){return _0x120ac9!==_0x3e85fa;},'mkOOI':_0xdc6af2(0x226),'uYyxB':function(_0x54c4f2,_0x4b44df,_0x2564e7){return _0x54c4f2(_0x4b44df,_0x2564e7);},'thnMx':function(_0xbfc853,_0x5517c9){return _0xbfc853+_0x5517c9;},'iJKpm':'Failed:\x20','DhMVk':_0xdc6af2(0x240),'FXXCj':_0xdc6af2(0x1d9),'nwfpR':_0xdc6af2(0x1a9),'fUAjx':function(_0xb4ada0,_0x31e202){return _0xb4ada0>_0x31e202;},'NCdvF':function(_0x28dce4,_0x3376b2){return _0x28dce4===_0x3376b2;},'pbrIR':_0xdc6af2(0x1bc),'nIdHb':function(_0x3dd2ea,_0x141924){return _0x3dd2ea>_0x141924;},'BoGVF':_0xdc6af2(0x23f),'HdTwC':function(_0xbe9609,_0x1283cd,_0x49a901,_0xd7e622){return _0xbe9609(_0x1283cd,_0x49a901,_0xd7e622);},'WtIFI':_0xdc6af2(0x1cd),'YEGVm':_0xdc6af2(0x237),'urgIs':_0xdc6af2(0x20b),'ssCTH':_0xdc6af2(0x1c1),'Bappy':_0xdc6af2(0x20c),'LWLCk':'Accessibility\x20scan\x20completed\x20successfully','gJBRY':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','JNWbB':_0xdc6af2(0x204),'hWLOi':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','WcApA':_0xdc6af2(0x1de),'wgNGR':function(_0x32b006){return _0x32b006();},'LStOT':'debug','QtUDe':function(_0x309007,_0x27a28c){return _0x309007>_0x27a28c;},'Ijarf':function(_0x57c1f7){return _0x57c1f7();},'HrOaG':_0xdc6af2(0x229),'ASZya':_0xdc6af2(0x1f8),'cTtMs':'index','UtvHM':_0xdc6af2(0x21c)},_0x3dcfa1='browserstack internal helper hook';this[_0xdc6af2(0x233)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x98267d[_0xdc6af2(0x231)]]),global[_0xdc6af2(0x1fd)]=this['currentTest']['titlePath']()[_0xdc6af2(0x245)](_0x98267d[_0xdc6af2(0x22d)]),PerformanceTester[_0xdc6af2(0x1ab)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x18f797=_0xdc6af2,_0xc8476b={};_0xc8476b[_0x18f797(0x1f3)]=_0x98267d['HrOaG'];const _0x213769=_0xc8476b,_0x36d595=async(_0x536302,_0x48d237)=>{const _0xb488c3=_0x18f797;await global[_0xb488c3(0x1ad)][0x0][_0xb488c3(0x1f9)](_0xb488c3(0x1b2)+_0x536302+_0xb488c3(0x23a)+_0x48d237+_0xb488c3(0x1dc));};new Promise(async _0x178b77=>{const _0x50724f=_0x18f797,_0x5e0a35={'xaxtK':function(_0x205c96,_0x37f281){return _0x98267d['KBItJ'](_0x205c96,_0x37f281);},'dCsqN':_0x98267d['mkOOI'],'sHnyw':function(_0x46544e,_0xff62af,_0x1c04bd){const _0x44e3bd=a36_0x586f;return _0x98267d[_0x44e3bd(0x1aa)](_0x46544e,_0xff62af,_0x1c04bd);},'LODTv':function(_0x13c202,_0x1f247a){const _0x295771=a36_0x586f;return _0x98267d[_0x295771(0x224)](_0x13c202,_0x1f247a);},'CtTnr':_0x98267d[_0x50724f(0x1ba)],'HZIUk':_0x98267d[_0x50724f(0x205)],'Aobjv':_0x98267d[_0x50724f(0x1be)],'VaMbH':_0x98267d[_0x50724f(0x1b8)]};try{_0x98267d[_0x50724f(0x222)](global[_0x50724f(0x1ad)]['length'],0x1)&&(await global[_0x50724f(0x1d0)](),global['__drivers'][_0x50724f(0x206)](),global[_0x50724f(0x22f)]=[],global[_0x50724f(0x214)]=![]);try{if(global['percy']&&_0x98267d[_0x50724f(0x225)](global['percyCaptureMode'],_0x98267d[_0x50724f(0x248)])&&global[_0x50724f(0x1ad)][0x0]){const _0x1dccc7=_0x98267d[_0x50724f(0x20e)](global[_0x50724f(0x241)]['length'],0x0)?!!global[_0x50724f(0x241)][0x0][_0x50724f(0x1b1)]||!!global['capabilities'][0x0][_0x98267d[_0x50724f(0x1e0)]]:![],_0x410948={};_0x410948[_0x50724f(0x1b1)]=_0x1dccc7,await _0x98267d[_0x50724f(0x244)](percyAutoCapture,global[_0x50724f(0x1ad)][0x0],_0x98267d['pbrIR'],_0x410948);}}catch(_0x354f1e){logger[_0x50724f(0x236)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x354f1e);}!global[_0x50724f(0x246)]&&(await PerformanceTester[_0x50724f(0x1ab)](PerformanceAutEvents[_0x50724f(0x1b6)],async()=>{const _0x3c37d6=_0x50724f;await global[_0x3c37d6(0x1ad)][0x0][_0x3c37d6(0x1f9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x3c37d6(0x228)](this[_0x3c37d6(0x1c0)][_0x3c37d6(0x1f5)]()['join'](_0x213769[_0x3c37d6(0x1f3)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x50724f(0x1ab)](PerformanceAutEvents[_0x50724f(0x1c8)],async()=>{const _0x286bcd=_0x50724f,_0x3b3173=_0x5e0a35[_0x286bcd(0x1f0)](this[_0x286bcd(0x1c0)][_0x286bcd(0x238)],_0x5e0a35[_0x286bcd(0x24e)]);_0x3b3173?(global[_0x286bcd(0x214)]=!![],global[_0x286bcd(0x22f)][_0x286bcd(0x1b9)](this[_0x286bcd(0x1c0)][_0x286bcd(0x1d7)][_0x286bcd(0x1fb)]),await _0x5e0a35[_0x286bcd(0x1ec)](_0x36d595,JSON['stringify'](_0x5e0a35[_0x286bcd(0x218)](_0x5e0a35['CtTnr'],this[_0x286bcd(0x1c0)][_0x286bcd(0x1d7)][_0x286bcd(0x1fb)])),_0x5e0a35[_0x286bcd(0x1e3)])):await _0x5e0a35[_0x286bcd(0x1ec)](_0x36d595,JSON[_0x286bcd(0x228)](_0x5e0a35['Aobjv']),_0x5e0a35[_0x286bcd(0x203)]);})();}catch(_0x2d8288){logger['debug'](_0x50724f(0x243)+_0x2d8288);}try{if(this[_0x50724f(0x1c0)][_0x50724f(0x252)]&&globals['getGlobal'](_0x98267d[_0x50724f(0x1e5)])&&globals[_0x50724f(0x1c9)](_0x98267d['YEGVm'])){logger['info'](_0x98267d['urgIs']);const _0x4a0f57={};_0x4a0f57['thTestRunUuid']=this[_0x50724f(0x1c0)][_0x50724f(0x1df)],_0x4a0f57['thBuildUuid']=process[_0x50724f(0x1c5)][testHubConstants[_0x50724f(0x1e4)][_0x50724f(0x223)]],_0x4a0f57[_0x50724f(0x1da)]=process[_0x50724f(0x1c5)][testHubConstants[_0x50724f(0x1e4)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1f228c=_0x4a0f57;logger[_0x50724f(0x236)](_0x50724f(0x22e)+JSON['stringify'](_0x1f228c)),logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1a8)]);const _0x299b51={};_0x299b51[_0x50724f(0x21f)]=_0x98267d[_0x50724f(0x1c7)];const _0x2e1310=await PerformanceTester[_0x50724f(0x1ab)](PerformanceA11yEvents[_0x50724f(0x23b)],async()=>{const _0x4cec59=_0x50724f;return await accessibilityRetryHelper[_0x4cec59(0x21e)](global[_0x4cec59(0x1ad)][0x0],global[_0x4cec59(0x1d1)]);},_0x299b51)();_0x2e1310?logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1ae)]):logger['warn'](_0x98267d[_0x50724f(0x21b)]);const _0x4a2b00=await PerformanceTester[_0x50724f(0x1ab)](PerformanceA11yEvents[_0x50724f(0x23e)],async()=>{const _0x339827=_0x50724f;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x339827(0x1ad)][0x0],_0x1f228c);})();_0x4a2b00?logger[_0x50724f(0x236)](_0x98267d[_0x50724f(0x1cc)]):logger[_0x50724f(0x232)](_0x98267d[_0x50724f(0x1eb)]),logger[_0x50724f(0x1a9)](_0x98267d[_0x50724f(0x213)]);}}catch(_0xc86e7b){logger[_0x50724f(0x240)](_0x50724f(0x209)+this[_0x50724f(0x1c0)]['titlePath']()+_0x50724f(0x1f4),_0xc86e7b);}try{try{if(_0x98267d['wgNGR'](shouldProcessEventForTesthub)){global[_0x50724f(0x1ad)][0x0]&&await _0x98267d['uYyxB'](sendPlatformDetails,global[_0x50724f(0x1ad)][0x0],this[_0x50724f(0x1c0)]?this[_0x50724f(0x1c0)][_0x50724f(0x1df)]:null);if(_0x98267d[_0x50724f(0x24a)](isBrowserstackInfra)){PerformanceTester[_0x50724f(0x1ea)](PerformanceO11yEvents[_0x50724f(0x219)]);const _0xb8226d='ObservabilitySync:'+Date[_0x50724f(0x1d6)]();await _0x98267d[_0x50724f(0x1aa)](_0x36d595,JSON[_0x50724f(0x228)](_0xb8226d),_0x98267d[_0x50724f(0x20d)]),PerformanceTester[_0x50724f(0x1c3)](PerformanceO11yEvents[_0x50724f(0x219)]);}}}catch(_0x2417ba){logger[_0x50724f(0x236)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x2417ba),PerformanceTester[_0x50724f(0x1c3)](PerformanceO11yEvents[_0x50724f(0x219)],![],_0x2417ba);}_0x98267d[_0x50724f(0x24f)](global[_0x50724f(0x1ad)][0x0][_0x50724f(0x1fc)],0x0)&&await global['driverCleanup']();}catch(_0x2b14d5){logger[_0x50724f(0x236)](_0x50724f(0x239)+_0x2b14d5);}_0x98267d['Ijarf'](_0x178b77);})['then'](()=>{const _0x52492b=_0x18f797;_0x98267d[_0x52492b(0x247)](_0x49be9a);});},{'platform':_0x98267d['uYyxB'](nestedKeyValue,global['__platformCaps'],[_0x98267d[_0xdc6af2(0x22a)]]),'hookType':_0x98267d[_0xdc6af2(0x1e2)]})();},'afterAll'(_0x52f81b){const _0x4de774=a36_0xf173e4,_0x138201={'FpmIo':function(_0x54cc0f){return _0x54cc0f();},'eSBaW':function(_0x421b4b){return _0x421b4b();},'jnjvA':_0x4de774(0x1f8),'FSihO':function(_0x54ea30,_0x275f4e,_0x1b9192){return _0x54ea30(_0x275f4e,_0x1b9192);},'cIYnG':'index','kFcva':_0x4de774(0x221)},_0x59f2e1='browserstack internal helper hook';this[_0x4de774(0x233)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x138201[_0x4de774(0x1c6)]]),PerformanceTester[_0x4de774(0x1ab)](PerformanceSdkEvents[_0x4de774(0x1bd)],()=>{const _0x48b10c=_0x4de774,_0x468aff={'DCGKj':function(_0x42b230){return _0x138201['eSBaW'](_0x42b230);}};new Promise(async _0x4a134f=>{const _0x3a5dc4=a36_0x586f;await global[_0x3a5dc4(0x1d0)](),_0x138201[_0x3a5dc4(0x1d5)](_0x4a134f);})[_0x48b10c(0x1ac)]()[_0x48b10c(0x1d3)](()=>{const _0x56b635=_0x48b10c;_0x468aff[_0x56b635(0x1af)](_0x52f81b);});},{'platform':_0x138201[_0x4de774(0x24d)](nestedKeyValue,global['__platformCaps'],[_0x138201[_0x4de774(0x1e7)]]),'hookType':_0x138201[_0x4de774(0x1e9)]})();}};function a36_0xde45(){const _0x3975db=['../../helpers/accessibility-automation/helper','xaxtK','tabPC','pIJVl','gVNeu','.\x20Error\x20:','titlePath','OOsif','mochaHooks','Mocha','executeScript','nUrjk','message','quitCount_','sessionName','IFLJU','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','zMqXb','WDkmW','VaMbH','Accessibility\x20results\x20saved\x20successfully','DhMVk','shift','isArray','xooiM','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','zUJFW','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','afterTest','LStOT','nIdHb','../../helpers/helper','ScPyH','xsahP','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','WcApA','__sessionFailed','VnxVY','112088FThQdD','winstonLogger','LODTv','SYNC','669576HISzQA','gJBRY','afterEach','session_','performScanWithRetry','command','Failed\x20to\x20store\x20session\x20name:\x20','afterAll','fUAjx','BROWSERSTACK_TESTHUB_UUID','thnMx','NCdvF','passed','failed','stringify','\x20-\x20','cTtMs','index','util','HrOaG','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__error_messages__','../../helpers/percy/utils','ASZya','warn','timeout','uJPdB','dOjQT','debug','bstackA11yShouldScan','state','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20',',\x22level\x22:\x20\x22','PERFORM_SCAN','rCmnF','../utils/constants','SAVE_RESULTS','appium:app','error','capabilities','initQuit','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','HdTwC','join','__skipSessionName','Ijarf','pbrIR','../../helpers/accessibility-automation/accessibilityRetryHelper','wgNGR','iQXox','46556eOLBgW','FSihO','dCsqN','QtUDe','185cvKSOz','format','accessibilityScanStarted','ssCTH','info','uYyxB','measureWrapper','then','__drivers','LWLCk','DCGKj','JdaPX','app','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/testhub/constants','../../helpers/performance/constants','SESSION_NAME','shouldScanTestForAccessibility','nwfpR','push','iJKpm','gxtNY','testcase','SDK_HOOK','FXXCj','beforeEach','currentTest','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','wlItR','end','../../helpers/globals','env','jnjvA','Bappy','SESSION_STATUS','getGlobal','XlmTQ','581994LIBGIA','JNWbB','isAccessibilityPlatform','length','506836tJWfvA','driverCleanup','browserstackSessionName','416928GreBuy','finally','SOzXH','FpmIo','now','err','hXwmy','Passed','thJwtToken','RpXuv','\x22}}','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','testAnalyticsId','BoGVF','\x20|\x20','UtvHM','HZIUk','ENV_VAR','WtIFI','5674152skORwW','cIYnG','ZRHlc','kFcva','start','hWLOi','sHnyw','setGlobal','startMonitoring'];a36_0xde45=function(){return _0x3975db;};return a36_0xde45();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x145cac=a37_0x2e77;(function(_0x3b6ce0,_0x223322){const _0x13acba=a37_0x2e77,_0xf91f01=_0x3b6ce0();while(!![]){try{const _0x5e83d6=parseInt(_0x13acba(0x12d))/0x1*(parseInt(_0x13acba(0x162))/0x2)+-parseInt(_0x13acba(0x151))/0x3+parseInt(_0x13acba(0x15d))/0x4*(parseInt(_0x13acba(0x168))/0x5)+-parseInt(_0x13acba(0x13e))/0x6*(-parseInt(_0x13acba(0x140))/0x7)+parseInt(_0x13acba(0x15f))/0x8+parseInt(_0x13acba(0x158))/0x9*(parseInt(_0x13acba(0x137))/0xa)+-parseInt(_0x13acba(0x14d))/0xb*(parseInt(_0x13acba(0x166))/0xc);if(_0x5e83d6===_0x223322)break;else _0xf91f01['push'](_0xf91f01['shift']());}catch(_0x1b365f){_0xf91f01['push'](_0xf91f01['shift']());}}}(a37_0x332f,0x3f394));function a37_0x2e77(_0x4918e7,_0x20037f){const _0x332f62=a37_0x332f();return a37_0x2e77=function(_0x2e77c0,_0x1434da){_0x2e77c0=_0x2e77c0-0x121;let _0x21a6a7=_0x332f62[_0x2e77c0];return _0x21a6a7;},a37_0x2e77(_0x4918e7,_0x20037f);}const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x145cac(0x135)),logger=require('../../helpers/logger')[a37_0x145cac(0x132)],{default:BrowserStackSetup}=require(a37_0x145cac(0x13a)),helper=require('../../helpers/helper'),constants=require(a37_0x145cac(0x134)),getUserNightwatchConfigs=(_0x4ac0fe,_0x5e842e)=>{const _0x458f2d=a37_0x145cac,_0xa53b11={'tKJzu':_0x458f2d(0x129),'UbUaa':_0x458f2d(0x141),'yQhtA':function(_0xbcc454,_0x25945c){return _0xbcc454(_0x25945c);},'zCcgN':_0x458f2d(0x160)};let _0x1aba05=null,_0x56cedf={};const _0x59c096=_0x5e842e[_0x458f2d(0x155)](_0x204872=>_0x204872===_0x458f2d(0x165));if(!helper[_0x458f2d(0x14e)](_0x4ac0fe['config'])&&fs[_0x458f2d(0x125)](path['join'](process[_0x458f2d(0x128)](),_0x4ac0fe[_0x458f2d(0x123)])))_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0x4ac0fe['config']),_0x5e842e[_0x458f2d(0x15b)](_0x59c096,0x2);else{if(fs['existsSync'](path['join'](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x127)])))_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x127)]);else fs[_0x458f2d(0x125)](path[_0x458f2d(0x121)](process['cwd'](),_0xa53b11[_0x458f2d(0x159)]))&&(_0x1aba05=path[_0x458f2d(0x121)](process[_0x458f2d(0x128)](),_0xa53b11[_0x458f2d(0x159)]));}return _0x1aba05?(logger[_0x458f2d(0x131)](_0x458f2d(0x16a)+_0x1aba05),_0x56cedf=_0xa53b11[_0x458f2d(0x138)](require,_0x1aba05)):logger['info'](_0xa53b11['zCcgN']),_0x56cedf;},removeExistingEnvs=_0x4c007c=>{const _0x565c5b=a37_0x145cac,_0x2c047e={};_0x2c047e[_0x565c5b(0x130)]=function(_0x472be0,_0x29dcd1){return _0x472be0>_0x29dcd1;},_0x2c047e[_0x565c5b(0x146)]=function(_0xef3f9c,_0x3f65a9){return _0xef3f9c>_0x3f65a9;};const _0x57250c=_0x2c047e;let _0xe667ad=_0x4c007c['findIndex'](_0x41e4a2=>_0x41e4a2===_0x565c5b(0x145));_0x57250c[_0x565c5b(0x130)](_0xe667ad,-0x1)&&_0x4c007c[_0x565c5b(0x15b)](_0xe667ad,0x2),_0xe667ad=_0x4c007c[_0x565c5b(0x155)](_0x1445a0=>_0x1445a0==='-e'),_0x57250c[_0x565c5b(0x146)](_0xe667ad,-0x1)&&_0x4c007c[_0x565c5b(0x15b)](_0xe667ad,0x2);};function a37_0x332f(){const _0x5071e6=['4028304IfLiof','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','ykOzk','11366XqDuZz','inherit','desiredCapabilities','--config','384CdqJtc','nightwatch-browserstack.json','10DVhPJs','nightwatch','Getting\x20your\x20nightwatch\x20configs\x20from\x20','FkZUJ','child\x20process\x20exited\x20with\x20code\x20','join','FDZph','config','modifyBrowserStackCaps','existsSync','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','tKJzu','cwd','nightwatch.conf.js','platform','AaAfq','selenium','29psaBCI','hub.browserstack.com','map','fvrZZ','info','winstonLogger','length','../utils/constants','child_process','filter','2160LEVjXQ','yQhtA','mergeDeep','../../helpers/BrowserStackSetup','push','EphQe','kiabL','180PuYaiX','writeFileSync','11403TtDAys','nightwatch.json','useW3C','feuuB','webdriver','--env','qIkas','debug','Deleting\x20','LAqsQ','test_settings','stringify','exports','229834RPlIJu','isUndefined','Pyqix','forEach','588423DzUhqx','trim','OfzVB','platforms','findIndex','mwNMR','env','3735vuGCNF','UbUaa','getPlatformName','splice','modifyBrowserStackW3CCaps','633716kCkSje','hkAQw'];a37_0x332f=function(){return _0x5071e6;};return a37_0x332f();}function run(_0xf209b,_0x2fbd27,_0x3efd26){const _0xd79f17=a37_0x145cac,_0x366997={'ykOzk':_0xd79f17(0x169),'FDbAL':function(_0x5f1713,_0x375d27){return _0x5f1713+_0x375d27;},'EphQe':_0xd79f17(0x14a),'hkAQw':function(_0x216930,_0x32f0aa,_0x264482){return _0x216930(_0x32f0aa,_0x264482);},'dBozk':_0xd79f17(0x12e),'LAqsQ':_0xd79f17(0x126),'AaAfq':function(_0x23e82e,_0xf06f27){return _0x23e82e===_0xf06f27;},'mwNMR':_0xd79f17(0x167),'OfzVB':function(_0x49d7b0,_0x5ce00d){return _0x49d7b0(_0x5ce00d);},'feuuB':function(_0x50fd36,_0x1396cd,_0x11a05a,_0x5005ca){return _0x50fd36(_0x1396cd,_0x11a05a,_0x5005ca);},'FkZUJ':'nightwatch.cmd','Pyqix':_0xd79f17(0x165),'FDZph':_0xd79f17(0x145),'kiabL':_0xd79f17(0x163),'ZYsjd':'close'};if(!_0x3efd26[_0xd79f17(0x123)])return;const _0x4c0029=_0x366997[_0xd79f17(0x15e)](getUserNightwatchConfigs,_0xf209b,_0x2fbd27),_0x37947f={};_0x37947f['start_process']=![];const _0x420d41={};_0x420d41['host']=_0x366997['dBozk'],_0x420d41['port']=0x1bb;const _0x2e0934={};_0x2e0934[_0xd79f17(0x144)]=_0x37947f,_0x2e0934[_0xd79f17(0x12c)]=_0x420d41;const _0x13d6e0=_0x2e0934;logger['info'](_0x366997[_0xd79f17(0x149)]);const _0x29232e={..._0x4c0029},_0x4c1037=_0x29232e,_0x334d7d=helper[_0xd79f17(0x142)](_0x3efd26[_0xd79f17(0x123)]),_0x29d16e=[];_0x3efd26['config'][_0xd79f17(0x154)][_0xd79f17(0x150)]((_0x21a252,_0x5ade98)=>{const _0x53f538=_0xd79f17;_0x334d7d?_0x29d16e['push'](helper[_0x53f538(0x15c)](_0x3efd26[_0x53f538(0x123)],_0x366997[_0x53f538(0x161)],_0x5ade98)):_0x29d16e[_0x53f538(0x13b)](helper[_0x53f538(0x124)](_0x3efd26[_0x53f538(0x123)],_0x366997[_0x53f538(0x161)],_0x5ade98));});const _0xfe7c80={},_0x4a22bf=[];_0xf209b[_0xd79f17(0x157)]=_0xf209b['env']||_0xf209b['e'];const _0x18989d=_0xf209b[_0xd79f17(0x157)]?_0xf209b[_0xd79f17(0x157)][_0xd79f17(0x152)]()['split'](',')[_0xd79f17(0x12f)](_0x2d3c77=>_0x2d3c77[_0xd79f17(0x152)]())[_0xd79f17(0x136)](_0x3654ee=>_0x3654ee!==''):[''];_0x366997[_0xd79f17(0x12b)](_0x18989d[_0xd79f17(0x133)],0x0)&&_0x18989d[_0xd79f17(0x13b)]('');_0x18989d['forEach'](_0x4e0535=>{_0x29d16e['forEach'](_0x10108b=>{const _0x26d7b4=a37_0x2e77;let _0x2fb3e5=_0x366997['FDbAL'](helper[_0x26d7b4(0x15a)](_0x10108b,'_'),'_'+Date['now']());_0x4e0535&&(_0x2fb3e5+='_'+_0x4e0535);if(_0x4e0535&&(!_0x4c0029[_0x366997['EphQe']]||!_0x4c0029[_0x366997[_0x26d7b4(0x13c)]][_0x4e0535]))return;const _0x1f1a30={..._0x13d6e0};_0x1f1a30[_0x26d7b4(0x164)]=_0x10108b;const _0x1f8623=_0x1f1a30;_0xfe7c80[_0x2fb3e5]=_0x4e0535?helper[_0x26d7b4(0x139)](_0x4c0029[_0x366997[_0x26d7b4(0x13c)]][_0x4e0535],_0x1f8623):_0x1f8623,_0x4a22bf['push'](_0x2fb3e5);});});!_0x4c1037[_0xd79f17(0x14a)]&&(_0x4c1037[_0xd79f17(0x14a)]={});_0x4c1037['test_settings']={..._0x4c1037['test_settings'],..._0xfe7c80};const _0x3afde8=path[_0xd79f17(0x121)](__dirname,_0x366997[_0xd79f17(0x156)]);fs[_0xd79f17(0x13f)](_0x3afde8,JSON[_0xd79f17(0x14b)](_0x4c1037)),_0x366997[_0xd79f17(0x153)](removeExistingEnvs,_0x2fbd27);const _0x3cc761=_0x366997[_0xd79f17(0x143)](spawn,/^win/['test'](process[_0xd79f17(0x12a)])?_0x366997[_0xd79f17(0x16b)]:_0x366997[_0xd79f17(0x161)],[_0x366997[_0xd79f17(0x14f)],_0x3afde8,..._0x2fbd27['slice'](0x1),_0x366997[_0xd79f17(0x122)],_0x4a22bf[_0xd79f17(0x121)](',')],{'stdio':_0x366997[_0xd79f17(0x13d)]});_0x3cc761['on'](_0x366997['ZYsjd'],async _0xc21f76=>{const _0xd0dc0=_0xd79f17;logger[_0xd0dc0(0x147)](_0xd0dc0(0x16c)+_0xc21f76),logger[_0xd0dc0(0x131)](_0xd0dc0(0x148)+_0x3afde8),fs['unlinkSync'](_0x3afde8);});}module[a37_0x145cac(0x14c)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38_0x4f14bf=a38_0x2d8a;function a38_0x2d8a(_0xcb893b,_0x22e2bc){const _0x213ea1=a38_0x213e();return a38_0x2d8a=function(_0x2d8aff,_0x1c411b){_0x2d8aff=_0x2d8aff-0x14a;let _0x5f59c7=_0x213ea1[_0x2d8aff];return _0x5f59c7;},a38_0x2d8a(_0xcb893b,_0x22e2bc);}(function(_0x36d544,_0x27e835){const _0x4b522c=a38_0x2d8a,_0x458e6f=_0x36d544();while(!![]){try{const _0xb1d19a=parseInt(_0x4b522c(0x159))/0x1+-parseInt(_0x4b522c(0x1ad))/0x2*(-parseInt(_0x4b522c(0x1b3))/0x3)+parseInt(_0x4b522c(0x17a))/0x4+-parseInt(_0x4b522c(0x14b))/0x5+-parseInt(_0x4b522c(0x14f))/0x6*(-parseInt(_0x4b522c(0x195))/0x7)+parseInt(_0x4b522c(0x1a8))/0x8+-parseInt(_0x4b522c(0x174))/0x9;if(_0xb1d19a===_0x27e835)break;else _0x458e6f['push'](_0x458e6f['shift']());}catch(_0x4c0c60){_0x458e6f['push'](_0x458e6f['shift']());}}}(a38_0x213e,0x84a3c));function a38_0x213e(){const _0x5081f6=['accessibilityOptions.wcagVersion','chromium','936833tWBsgH','(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','sZfHY','WBPNr','latest','currentTest','CmgAE','Jxmbf','command','platformValidation','Kjquu','drkXg','format','includeIssueType','browserstack.accessibility','GhINp','scannerVersion','slXFO','VkGgU','browserStackExecuteDriver','stringify','parse','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','yBYgM','tYqHE','warn','nvZOu','14391315efvvXx','replace','constructor','url','includes','Playwright','1425708FXMLxu','wsEndpoint','sJDSn','TfahR','getAccessibilityResults','HUWgl','accessibilityOptions.includeIssueType.needsReview','processAccessibilityCaps','performScan','../../helpers/helper','executeScript','cozGv','OvAOP','hPZEp','XCzLF','accessibilityOptions.scannerProcessingTimeout','SacTw','accessibilityOptions.includeIssueType.bestPractice','No\x20accessibility\x20results\x20were\x20found.','CsIdd','WRhvw','HLPAc','name','Performing\x20scan\x20with\x20method:\x20','XBMHl','EIWHQ','pzVMT','968023FCkaDx','scannerProcessingTimeout','oJZxP','use','chrome','env','lCAZj','deviceName','browser_version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','browserName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bstackSdkArgs','workerInfo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','LGZQL','dKHnz','browserStackEvaluate','../../helpers/accessibility-automation/scripts','8081608mLEasO','error','accessibilityOptions.authToken','measureWrapper','uLGEe','42ameZli','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','executeAsyncScript','PiZNa','getAccessibilityResultsSummary','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','70569DKvaeB','ivIVF','connectOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityOptions.scannerVersion','UdIEY','tKUNi','IYjgW','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','jbAxJ','../../helpers/logger','browser','accessibilityOptions','winstonLogger','accessibilityPlatform','HaAlP','\x20page:\x20','3967030SHjRCS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','fyMJI','debug','6xPodLn','QjVdV','../../helpers/accessibility-automation/helper','testInfo','XTkqp','dneoR','project','qKSum'];a38_0x213e=function(){return _0x5081f6;};return a38_0x213e();}const util=require('util'),logger=require(a38_0x4f14bf(0x1bd))[a38_0x4f14bf(0x1c0)],{isAccessibilityAutomationSession}=require(a38_0x4f14bf(0x151)),{isUndefined,isBrowserstackInfra}=require(a38_0x4f14bf(0x183)),scripts=require(a38_0x4f14bf(0x1a7)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a38_0x4f14bf(0x1a6)]=async(_0x86ad7e,_0x131a95,_0x505995={})=>{const _0xb9cb0d=a38_0x4f14bf,_0x34941e={};_0x34941e[_0xb9cb0d(0x185)]=_0xb9cb0d(0x1a1);const _0x39b05b=_0x34941e;return await _0x86ad7e['evaluate']('(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'+_0x131a95['replace'](/arguments/g,_0x39b05b[_0xb9cb0d(0x185)])+_0xb9cb0d(0x1b2)+JSON['stringify'](_0x505995)+')');},exports[a38_0x4f14bf(0x16c)]=async(_0x2d3688,_0x285751,_0x1094b9={})=>{const _0x13caef=a38_0x4f14bf,_0x4fdb03={};_0x4fdb03[_0x13caef(0x1b0)]=function(_0x1e970c,_0x1c8b1e){return _0x1e970c===_0x1c8b1e;},_0x4fdb03[_0x13caef(0x18d)]='WebDriver',_0x4fdb03[_0x13caef(0x173)]=function(_0x53e820,_0x5d71e6){return _0x53e820===_0x5d71e6;},_0x4fdb03[_0x13caef(0x1a4)]=_0x13caef(0x179),_0x4fdb03[_0x13caef(0x18f)]=_0x13caef(0x1a1);const _0x378234=_0x4fdb03;if(_0x378234[_0x13caef(0x1b0)](_0x2d3688[_0x13caef(0x176)]['name'],_0x378234[_0x13caef(0x18d)]))return await _0x2d3688[_0x13caef(0x1af)](_0x285751,_0x1094b9);else{if(_0x378234[_0x13caef(0x173)](_0x2d3688[_0x13caef(0x176)][_0x13caef(0x190)],_0x378234[_0x13caef(0x1a4)]))return await _0x2d3688[_0x13caef(0x184)](_0x13caef(0x15a)+_0x285751[_0x13caef(0x175)](/arguments/g,_0x378234[_0x13caef(0x18f)])+_0x13caef(0x1bb)+JSON['stringify'](_0x1094b9)+')');}},exports['setAccessibilityCapabilities']=async _0x1c9796=>{const _0x16f635=a38_0x4f14bf,_0x3b38e8={};_0x3b38e8['dneoR']=_0x16f635(0x157),_0x3b38e8[_0x16f635(0x17c)]=_0x16f635(0x189),_0x3b38e8['OvAOP']=_0x16f635(0x18b),_0x3b38e8[_0x16f635(0x1bc)]=_0x16f635(0x180),_0x3b38e8['XCzLF']=_0x16f635(0x1aa),_0x3b38e8[_0x16f635(0x168)]=_0x16f635(0x1b7);const _0x268fd3=_0x3b38e8;_0x1c9796[_0x16f635(0x1bf)]&&(_0x1c9796[_0x16f635(0x1bf)]['wcagVersion']&&(_0x1c9796[_0x268fd3[_0x16f635(0x154)]]=_0x1c9796['accessibilityOptions']['wcagVersion']),_0x1c9796['accessibilityOptions'][_0x16f635(0x196)]&&(_0x1c9796[_0x268fd3[_0x16f635(0x17c)]]=_0x1c9796[_0x16f635(0x1bf)][_0x16f635(0x196)]),_0x1c9796[_0x16f635(0x1bf)][_0x16f635(0x166)]&&(_0x1c9796[_0x268fd3[_0x16f635(0x186)]]=_0x1c9796[_0x16f635(0x1bf)][_0x16f635(0x166)]['bestPractice'],_0x1c9796[_0x268fd3[_0x16f635(0x1bc)]]=_0x1c9796['accessibilityOptions']['includeIssueType']['needsReview']));const _0x1be84f=JSON[_0x16f635(0x16e)](process[_0x16f635(0x19a)][_0x16f635(0x1a0)])[_0x16f635(0x169)];_0x1c9796[_0x268fd3[_0x16f635(0x188)]]=process[_0x16f635(0x19a)]['BS_A11Y_JWT'],_0x1c9796[_0x268fd3[_0x16f635(0x168)]]=_0x1be84f,delete _0x1c9796['accessibilityOptions'];},exports[a38_0x4f14bf(0x17e)]=async _0x20c47c=>{const _0x2385ad=a38_0x4f14bf,_0x5061ad={};_0x5061ad[_0x2385ad(0x187)]=_0x2385ad(0x18c),_0x5061ad[_0x2385ad(0x1b4)]=_0x2385ad(0x1a3);const _0x1c48b7=_0x5061ad;if(global[_0x2385ad(0x1c1)])try{const details={'url':await _0x20c47c.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(_0x20c47c,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x20c47c,scripts.getResults);},{...details})();return res;}catch{return logger[_0x2385ad(0x1a9)](_0x1c48b7[_0x2385ad(0x187)]),[];}else return logger[_0x2385ad(0x172)](_0x1c48b7['ivIVF']),[];},exports[a38_0x4f14bf(0x182)]=async(_0x11cf18,_0x5cc560='')=>{const _0x29b6f9=a38_0x4f14bf;logger[_0x29b6f9(0x14e)](_0x29b6f9(0x191)+_0x5cc560+_0x29b6f9(0x14a)+_0x11cf18);const _0x5ba0c6={'url':await _0x11cf18[_0x29b6f9(0x177)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x29b6f9(0x15e)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x29b6f9(0x1ab)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4ce378=_0x29b6f9,_0x102365={};_0x102365[_0x4ce378(0x161)]=_0x5cc560;const _0x58283b=await exports[_0x4ce378(0x1a6)](_0x11cf18,scripts[_0x4ce378(0x182)],_0x102365);return _0x58283b;},{'command':_0x5cc560,..._0x5ba0c6})();},exports[a38_0x4f14bf(0x1b1)]=async _0x2cbf04=>{const _0x558938=a38_0x4f14bf,_0x45bb12={};_0x45bb12[_0x558938(0x15b)]='No\x20summaryResults\x20found.',_0x45bb12[_0x558938(0x170)]=_0x558938(0x19e);const _0x18135b=_0x45bb12;if(global[_0x558938(0x1c1)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2cbf04,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2cbf04,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x558938(0x14e)](_0x18135b[_0x558938(0x15b)]),{};}else return logger[_0x558938(0x172)](_0x18135b[_0x558938(0x170)]),{};},exports[a38_0x4f14bf(0x162)]=async _0x5a807b=>{const _0x72ce0f=a38_0x4f14bf,_0x31e9eb={'drkXg':function(_0x3e8f2c,_0x425852){return _0x3e8f2c!==_0x425852;},'tKUNi':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','hvVvt':_0x72ce0f(0x199),'WRhvw':'playwright-chromium','HUWgl':_0x72ce0f(0x158),'SacTw':_0x72ce0f(0x1b6),'VkGgU':function(_0x5719cf,_0xfef1e3){return _0x5719cf(_0xfef1e3);},'dKHnz':function(_0x320140){return _0x320140();},'TfahR':function(_0x5b6f80,_0x278f01){return _0x5b6f80<_0x278f01;},'QjVdV':_0x72ce0f(0x14c),'WBPNr':function(_0x73ea40,_0x32aa19){return _0x73ea40===_0x32aa19;},'UdIEY':_0x72ce0f(0x15d),'XBMHl':function(_0x237e3d,_0x35b99a){return _0x237e3d>_0x35b99a;},'lCAZj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x31e9eb[_0x72ce0f(0x164)](_0x5a807b[_0x72ce0f(0x19c)],''))return logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x1b9)]),![];const _0x218e1c=_0x5a807b[_0x72ce0f(0x1be)];if(![_0x31e9eb['hvVvt'],_0x31e9eb[_0x72ce0f(0x18e)],_0x31e9eb[_0x72ce0f(0x17f)]][_0x72ce0f(0x178)](_0x218e1c))return logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x18a)]),![];const _0x275569=_0x31e9eb[_0x72ce0f(0x16b)](parseInt,_0x5a807b[_0x72ce0f(0x19d)]);!_0x31e9eb[_0x72ce0f(0x1a5)](isBrowserstackInfra)&&(!_0x31e9eb[_0x72ce0f(0x17d)](_0x275569,0x64)&&logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x150)]));if(!(_0x31e9eb[_0x72ce0f(0x15c)](_0x275569,_0x31e9eb[_0x72ce0f(0x1b8)])||_0x31e9eb[_0x72ce0f(0x192)](_0x275569,0x5e)))return logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x19b)]),![];}catch(_0x1ce70e){logger[_0x72ce0f(0x14e)](_0x72ce0f(0x1ae)+util[_0x72ce0f(0x165)](_0x1ce70e));}return!![];},exports[a38_0x4f14bf(0x181)]=(_0x169a45,_0x20e759,_0x4d5bfd)=>{const _0x2ec363=a38_0x4f14bf,_0x150881={'pzVMT':function(_0x59bcfe){return _0x59bcfe();},'HaAlP':_0x2ec363(0x167),'IYjgW':function(_0x445f53,_0x1a8671){return _0x445f53===_0x1a8671;},'EIWHQ':_0x2ec363(0x199),'XTkqp':function(_0x16fc6f,_0x557ec2){return _0x16fc6f===_0x557ec2;},'CmgAE':'playwright-chromium','fyMJI':_0x2ec363(0x1b6),'qKSum':function(_0x20d874,_0x285158){return _0x20d874>_0x285158;},'tYqHE':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','oJZxP':function(_0x47da11,_0x5068d1){return _0x47da11===_0x5068d1;},'uLGEe':'latest','MXagY':function(_0x3b71c7,_0x4568e5){return _0x3b71c7>_0x4568e5;},'slXFO':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Jxmbf':function(_0x594717,_0x2b7b44){return _0x594717(_0x2b7b44);},'nfjrn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Kjquu':function(_0x25ad19,_0x10f8e6){return _0x25ad19+_0x10f8e6;}};try{if(_0x150881['pzVMT'](isAccessibilityAutomationSession)){global[_0x2ec363(0x1c1)]=!![];!_0x169a45[_0x150881[_0x2ec363(0x1c2)]]&&(global[_0x2ec363(0x1c1)]=![]);!(_0x150881[_0x2ec363(0x1ba)](_0x169a45[_0x2ec363(0x19f)],_0x150881[_0x2ec363(0x193)])||_0x150881[_0x2ec363(0x153)](_0x169a45[_0x2ec363(0x19f)],_0x150881[_0x2ec363(0x15f)])||_0x150881[_0x2ec363(0x1ba)](_0x169a45[_0x2ec363(0x1be)],_0x150881[_0x2ec363(0x193)])||_0x150881[_0x2ec363(0x153)](_0x169a45['browser'],_0x150881[_0x2ec363(0x15f)]))&&(logger['warn'](_0x150881[_0x2ec363(0x14d)]),global[_0x2ec363(0x1c1)]=![]);!_0x150881[_0x2ec363(0x194)](isBrowserstackInfra)&&(!_0x150881[_0x2ec363(0x156)](_0x169a45[_0x2ec363(0x19d)],0x64)&&logger[_0x2ec363(0x172)](_0x150881[_0x2ec363(0x171)]));!(_0x150881[_0x2ec363(0x197)](_0x169a45['browser_version'],_0x150881[_0x2ec363(0x1ac)])||_0x150881['MXagY'](_0x169a45['browser_version'],0x5e))&&(logger[_0x2ec363(0x172)](_0x150881[_0x2ec363(0x16a)]),global['accessibilityPlatform']=![]);!_0x150881[_0x2ec363(0x160)](isUndefined,_0x169a45['deviceName'])&&(logger[_0x2ec363(0x172)](_0x150881['nfjrn']),global[_0x2ec363(0x1c1)]=![]);if(!global[_0x2ec363(0x1c1)]){_0x169a45[_0x150881[_0x2ec363(0x1c2)]]=![];const _0x2c5dc6=_0x150881[_0x2ec363(0x163)](_0x20e759,_0x150881[_0x2ec363(0x160)](encodeURIComponent,JSON[_0x2ec363(0x16d)](_0x169a45)));_0x4d5bfd&&(_0x4d5bfd[_0x2ec363(0x15e)][_0x2ec363(0x152)]['project'][_0x2ec363(0x198)][_0x2ec363(0x1b5)][_0x2ec363(0x17b)]=_0x2c5dc6,_0x4d5bfd[_0x2ec363(0x1a2)][_0x2ec363(0x155)][_0x2ec363(0x198)][_0x2ec363(0x1b5)][_0x2ec363(0x17b)]=_0x2c5dc6);}}else global[_0x2ec363(0x1c1)]=![];}catch(_0x48f2a2){logger[_0x2ec363(0x14e)](_0x2ec363(0x16f)+util[_0x2ec363(0x165)](_0x48f2a2));}};
|
|
1
|
+
const a38_0x186ee7=a38_0x32d1;(function(_0x33a945,_0x16b26c){const _0x27bf8b=a38_0x32d1,_0x5e20d2=_0x33a945();while(!![]){try{const _0x3e73ed=parseInt(_0x27bf8b(0x15b))/0x1+-parseInt(_0x27bf8b(0x143))/0x2*(-parseInt(_0x27bf8b(0x187))/0x3)+parseInt(_0x27bf8b(0x14c))/0x4+-parseInt(_0x27bf8b(0x189))/0x5*(-parseInt(_0x27bf8b(0x185))/0x6)+-parseInt(_0x27bf8b(0x18a))/0x7+parseInt(_0x27bf8b(0x174))/0x8+parseInt(_0x27bf8b(0x166))/0x9*(-parseInt(_0x27bf8b(0x188))/0xa);if(_0x3e73ed===_0x16b26c)break;else _0x5e20d2['push'](_0x5e20d2['shift']());}catch(_0x486340){_0x5e20d2['push'](_0x5e20d2['shift']());}}}(a38_0x56a8,0x51770));function a38_0x56a8(){const _0x38817d=['TCxIo','performScan','MEdFR','NzkIg','constructor','eUStV','mbjVu','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserName','114CKeHUo','bestPractice','3TNpUVp','20MiysIB','128460uMrPAx','3251003hlvWQe','accessibilityOptions.includeIssueType.needsReview','Playwright','No\x20summaryResults\x20found.','WebDriver','VTnmC','jvuWq','Rzhsw','KHCXQ','UwNie','Cjhey','SjBAn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','UGmHq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','(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','util','KyRZb','mMLQw','tpVMZ','HErIw','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','wcagVersion','blqVw','warn','bstackSdkArgs','ByhUP','command','seduY','lpyCB','hrJdR','../../helpers/performance/performance-tester','accessibilityOptions','yDCzA','vhghL','../../helpers/accessibility-automation/helper','accessibilityOptions.wcagVersion','GtePp','url','buLTo','setAccessibilityCapabilities','project','AWwBt','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','executeScript','executeAsyncScript','edoWW','No\x20accessibility\x20results\x20were\x20found.','currentTest','490668THROgI','QrQgB','debug','jyiWx','browserStackExecuteDriver','(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','getAccessibilityResults','LZYoe','scannerProcessingTimeout','2400548AoBHzB','latest','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','winstonLogger','browserStackEvaluate','accessibilityOptions.includeIssueType.bestPractice','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','includes','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','../../helpers/helper','chromium','AdQNe','JbAFZ','MICIF','name','187927DDJyQI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','env','processAccessibilityCaps','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','SYxPj','connectOptions','Performing\x20scan\x20with\x20method:\x20','includeIssueType','accessibilityOptions.authToken','PERFORM_SCAN','4663557XJnxSX','playwright-chromium','needsReview','measureWrapper','wsEndpoint','mlpAn','chrome','browser','FKRPj','ftBry','\x20page:\x20','accessibilityOptions.scannerProcessingTimeout','deviceName','../../helpers/accessibility-automation/scripts','2503272JPQtIb','../../helpers/logger','parse','stringify','aZbvt','pxQiS','browser_version'];a38_0x56a8=function(){return _0x38817d;};return a38_0x56a8();}const util=require(a38_0x186ee7(0x19a)),logger=require(a38_0x186ee7(0x175))[a38_0x186ee7(0x14f)],{isAccessibilityAutomationSession}=require(a38_0x186ee7(0x135)),{isUndefined,isBrowserstackInfra}=require(a38_0x186ee7(0x155)),scripts=require(a38_0x186ee7(0x173)),PerformanceTester=require(a38_0x186ee7(0x131)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');function a38_0x32d1(_0x118362,_0x3ade26){const _0x56a865=a38_0x56a8();return a38_0x32d1=function(_0x32d1e8,_0x520244){_0x32d1e8=_0x32d1e8-0x123;let _0x394424=_0x56a865[_0x32d1e8];return _0x394424;},a38_0x32d1(_0x118362,_0x3ade26);}exports[a38_0x186ee7(0x150)]=async(_0x24fe43,_0x1ede20,_0x1833ec={})=>{const _0xebbe88=a38_0x186ee7,_0x216832={};_0x216832[_0xebbe88(0x126)]=_0xebbe88(0x12b);const _0x9f2a04=_0x216832;return await _0x24fe43['evaluate'](_0xebbe88(0x199)+_0x1ede20['replace'](/arguments/g,_0x9f2a04[_0xebbe88(0x126)])+_0xebbe88(0x15f)+JSON[_0xebbe88(0x177)](_0x1833ec)+')');},exports[a38_0x186ee7(0x147)]=async(_0x3b467c,_0xd8909f,_0x10dbe7={})=>{const _0x196635=a38_0x186ee7,_0x4c7580={};_0x4c7580['AWwBt']=function(_0x5afc4a,_0x3d514e){return _0x5afc4a===_0x3d514e;},_0x4c7580[_0x196635(0x192)]=_0x196635(0x18e),_0x4c7580[_0x196635(0x17b)]=_0x196635(0x18c),_0x4c7580[_0x196635(0x12f)]=_0x196635(0x12b);const _0x3c9f91=_0x4c7580;if(_0x3c9f91['AWwBt'](_0x3b467c[_0x196635(0x17f)]['name'],_0x3c9f91[_0x196635(0x192)]))return await _0x3b467c[_0x196635(0x13f)](_0xd8909f,_0x10dbe7);else{if(_0x3c9f91[_0x196635(0x13c)](_0x3b467c['constructor'][_0x196635(0x15a)],_0x3c9f91[_0x196635(0x17b)]))return await _0x3b467c[_0x196635(0x13e)](_0x196635(0x148)+_0xd8909f['replace'](/arguments/g,_0x3c9f91[_0x196635(0x12f)])+_0x196635(0x14e)+JSON[_0x196635(0x177)](_0x10dbe7)+')');}},exports[a38_0x186ee7(0x13a)]=async _0x56ffc0=>{const _0x246243=a38_0x186ee7,_0x1adc9a={};_0x1adc9a[_0x246243(0x133)]=_0x246243(0x136),_0x1adc9a[_0x246243(0x194)]=_0x246243(0x171),_0x1adc9a[_0x246243(0x123)]=_0x246243(0x151),_0x1adc9a[_0x246243(0x17d)]=_0x246243(0x18b),_0x1adc9a[_0x246243(0x12e)]=_0x246243(0x164),_0x1adc9a[_0x246243(0x181)]='accessibilityOptions.scannerVersion';const _0x44a03f=_0x1adc9a;_0x56ffc0[_0x246243(0x132)]&&(_0x56ffc0[_0x246243(0x132)][_0x246243(0x128)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x133)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x128)]),_0x56ffc0['accessibilityOptions'][_0x246243(0x14b)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x194)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x14b)]),_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)]&&(_0x56ffc0[_0x44a03f[_0x246243(0x123)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)][_0x246243(0x186)],_0x56ffc0[_0x44a03f[_0x246243(0x17d)]]=_0x56ffc0[_0x246243(0x132)][_0x246243(0x163)][_0x246243(0x168)]));const _0x419fd8=JSON[_0x246243(0x176)](process[_0x246243(0x15d)][_0x246243(0x13d)])['scannerVersion'];_0x56ffc0[_0x44a03f['seduY']]=process['env']['BS_A11Y_JWT'],_0x56ffc0[_0x44a03f['mbjVu']]=_0x419fd8,delete _0x56ffc0[_0x246243(0x132)];},exports[a38_0x186ee7(0x149)]=async _0x2d6615=>{const _0x21d7f5=a38_0x186ee7,_0x55b149={};_0x55b149[_0x21d7f5(0x193)]=_0x21d7f5(0x141),_0x55b149[_0x21d7f5(0x12c)]=_0x21d7f5(0x154);const _0x1c0d6a=_0x55b149;if(global['accessibilityPlatform'])try{const details={'url':await _0x2d6615.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(_0x2d6615,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2d6615,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x1c0d6a[_0x21d7f5(0x193)]),[];}else return logger[_0x21d7f5(0x12a)](_0x1c0d6a[_0x21d7f5(0x12c)]),[];},exports['performScan']=async(_0x4d0c72,_0x4bc6f0='')=>{const _0x5621a7=a38_0x186ee7;logger[_0x5621a7(0x145)](_0x5621a7(0x162)+_0x4bc6f0+_0x5621a7(0x170)+_0x4d0c72);const _0x5f0717={'url':await _0x4d0c72[_0x5621a7(0x138)](),'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id']};if(global[_0x5621a7(0x182)])return await PerformanceTester[_0x5621a7(0x169)](PerformanceA11yEvents[_0x5621a7(0x165)],async()=>{const _0x41d7b0=_0x5621a7,_0x2acc93={};_0x2acc93[_0x41d7b0(0x12d)]=_0x4bc6f0;const _0x202add=await exports['browserStackEvaluate'](_0x4d0c72,scripts[_0x41d7b0(0x17c)],_0x2acc93);return _0x202add;},{'command':_0x4bc6f0,..._0x5f0717})();},exports['getAccessibilityResultsSummary']=async _0x3b9159=>{const _0x14dbe8=a38_0x186ee7,_0x324901={};_0x324901[_0x14dbe8(0x191)]=_0x14dbe8(0x18d),_0x324901[_0x14dbe8(0x180)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x10bc89=_0x324901;if(global[_0x14dbe8(0x182)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3b9159,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3b9159,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x14dbe8(0x145)](_0x10bc89[_0x14dbe8(0x191)]),{};}else return logger['warn'](_0x10bc89[_0x14dbe8(0x180)]),{};},exports['platformValidation']=async _0x269ff0=>{const _0x46e2ad=a38_0x186ee7,_0x246492={'jyiWx':function(_0x143e37,_0xe5fe6a){return _0x143e37!==_0xe5fe6a;},'jvuWq':_0x46e2ad(0x198),'GtePp':'chrome','LZYoe':_0x46e2ad(0x167),'hrJdR':_0x46e2ad(0x156),'JbAFZ':_0x46e2ad(0x196),'ftBry':function(_0x1db4f1,_0x195722){return _0x1db4f1(_0x195722);},'QrQgB':function(_0x4de2cf){return _0x4de2cf();},'edoWW':function(_0x5bc825,_0x49cc32){return _0x5bc825<_0x49cc32;},'aZbvt':_0x46e2ad(0x183),'iEVHn':function(_0x1beb45,_0x582250){return _0x1beb45===_0x582250;},'buLTo':_0x46e2ad(0x14d),'pxQiS':function(_0x3b283a,_0x170c35){return _0x3b283a>_0x170c35;},'MICIF':_0x46e2ad(0x15c)};try{if(!_0x246492[_0x46e2ad(0x146)](_0x269ff0['deviceName'],''))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x190)]),![];const _0x334cc9=_0x269ff0['browser'];if(![_0x246492[_0x46e2ad(0x137)],_0x246492[_0x46e2ad(0x14a)],_0x246492[_0x46e2ad(0x130)]][_0x46e2ad(0x153)](_0x334cc9))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x158)]),![];const _0x2ccfa2=_0x246492[_0x46e2ad(0x16f)](parseInt,_0x269ff0[_0x46e2ad(0x17a)]);!_0x246492[_0x46e2ad(0x144)](isBrowserstackInfra)&&(!_0x246492[_0x46e2ad(0x140)](_0x2ccfa2,0x64)&&logger['warn'](_0x246492[_0x46e2ad(0x178)]));if(!(_0x246492['iEVHn'](_0x2ccfa2,_0x246492[_0x46e2ad(0x139)])||_0x246492[_0x46e2ad(0x179)](_0x2ccfa2,0x5e)))return logger[_0x46e2ad(0x12a)](_0x246492[_0x46e2ad(0x159)]),![];}catch(_0x153e0d){logger[_0x46e2ad(0x145)](_0x46e2ad(0x152)+util['format'](_0x153e0d));}return!![];},exports[a38_0x186ee7(0x15e)]=(_0x56be64,_0xe087d9,_0x546330)=>{const _0x5c46a4=a38_0x186ee7,_0x30ce3d={'UGmHq':function(_0x2feba){return _0x2feba();},'vhghL':'browserstack.accessibility','SYxPj':function(_0x4a2e20,_0x1f3df3){return _0x4a2e20===_0x1f3df3;},'bymmV':_0x5c46a4(0x16c),'AdQNe':_0x5c46a4(0x167),'MLhAU':function(_0x36d517,_0x119100){return _0x36d517===_0x119100;},'NzkIg':function(_0x50a7de,_0x5a6d80){return _0x50a7de===_0x5a6d80;},'GehQs':_0x5c46a4(0x196),'FKRPj':function(_0x32aeac){return _0x32aeac();},'blqVw':function(_0x303488,_0x5e756d){return _0x303488>_0x5e756d;},'PDCzv':_0x5c46a4(0x183),'VTnmC':function(_0x3d9b74,_0x2f178b){return _0x3d9b74===_0x2f178b;},'Wkacc':'latest','mMLQw':function(_0x45409c,_0x412a01){return _0x45409c>_0x412a01;},'mlpAn':_0x5c46a4(0x15c),'tpVMZ':function(_0x3a332c,_0x13af31){return _0x3a332c(_0x13af31);},'ugoVp':_0x5c46a4(0x198),'SjBAn':function(_0x22cd1c,_0x58e436){return _0x22cd1c+_0x58e436;}};try{if(_0x30ce3d[_0x5c46a4(0x197)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x56be64[_0x30ce3d[_0x5c46a4(0x134)]]&&(global['accessibilityPlatform']=![]);!(_0x30ce3d['SYxPj'](_0x56be64[_0x5c46a4(0x184)],_0x30ce3d['bymmV'])||_0x30ce3d[_0x5c46a4(0x160)](_0x56be64[_0x5c46a4(0x184)],_0x30ce3d[_0x5c46a4(0x157)])||_0x30ce3d['MLhAU'](_0x56be64[_0x5c46a4(0x16d)],_0x30ce3d['bymmV'])||_0x30ce3d[_0x5c46a4(0x17e)](_0x56be64[_0x5c46a4(0x16d)],_0x30ce3d[_0x5c46a4(0x157)]))&&(logger[_0x5c46a4(0x12a)](_0x30ce3d['GehQs']),global[_0x5c46a4(0x182)]=![]);!_0x30ce3d[_0x5c46a4(0x16e)](isBrowserstackInfra)&&(!_0x30ce3d[_0x5c46a4(0x129)](_0x56be64[_0x5c46a4(0x17a)],0x64)&&logger[_0x5c46a4(0x12a)](_0x30ce3d['PDCzv']));!(_0x30ce3d[_0x5c46a4(0x18f)](_0x56be64[_0x5c46a4(0x17a)],_0x30ce3d['Wkacc'])||_0x30ce3d[_0x5c46a4(0x124)](_0x56be64['browser_version'],0x5e))&&(logger['warn'](_0x30ce3d[_0x5c46a4(0x16b)]),global[_0x5c46a4(0x182)]=![]);!_0x30ce3d[_0x5c46a4(0x125)](isUndefined,_0x56be64[_0x5c46a4(0x172)])&&(logger[_0x5c46a4(0x12a)](_0x30ce3d['ugoVp']),global[_0x5c46a4(0x182)]=![]);if(!global[_0x5c46a4(0x182)]){_0x56be64[_0x30ce3d[_0x5c46a4(0x134)]]=![];const _0x2085e4=_0x30ce3d[_0x5c46a4(0x195)](_0xe087d9,_0x30ce3d[_0x5c46a4(0x125)](encodeURIComponent,JSON[_0x5c46a4(0x177)](_0x56be64)));_0x546330&&(_0x546330[_0x5c46a4(0x142)]['testInfo'][_0x5c46a4(0x13b)]['use']['connectOptions'][_0x5c46a4(0x16a)]=_0x2085e4,_0x546330['workerInfo'][_0x5c46a4(0x13b)]['use'][_0x5c46a4(0x161)][_0x5c46a4(0x16a)]=_0x2085e4);}}else global['accessibilityPlatform']=![];}catch(_0x46995a){logger[_0x5c46a4(0x145)](_0x5c46a4(0x127)+util['format'](_0x46995a));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a39_0x274a(_0x32aaa5,_0x105d26){const _0x3e675f=a39_0x3e67();return a39_0x274a=function(_0x274a7d,_0x5e8f59){_0x274a7d=_0x274a7d-0x18f;let _0x507664=_0x3e675f[_0x274a7d];return _0x507664;},a39_0x274a(_0x32aaa5,_0x105d26);}function a39_0x3e67(){const _0x1ff170=['resolvedConfigFile','taUGD','exitCode','SDK_SETUP','GbUVt','BULcI','lfcTd','trim','util','shutdown','winstonLogger','./reporter/pwUtils','browserstackSetupConfig.json','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/testhub/testhubHandler','../utils/clientTroubleshootingService','indexOf','isRunning','slice','isYarnPnP','pw_result.json','xaien','filterBrowserstackArgs','No\x20Proxy\x20:\x20','config','dIhrf','BROWSERSTACK_RERUN','312194CjYjXu','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/helper','accessibilityOptions','gHSSy','startsWith','.browserstack','info','BROWSERSTACK_PW_CONFIG_DIR','PACKAGE_TYPE','bootstrap','43826960dVjKFe','slQsL','findIndex','AWiIG','testObservability','configPath','../../helpers/utilities','isUndefined','end','length','unlinkSync','SDK_POST_INITIALIZE','tRwYh','1179776DvKLCQ','filter','W_OK','Deleting\x20','SDK_PRE_INITIALIZE','--config=','ZpNoe','BROWSERSTACK_TEST_OBSERVABILITY','cwd','BEzyN','win32','rUxIs','BROWSERSTACK_SETUP_CONFIG_PATH','xuZrY','Updated\x20config\x20file\x20name\x20to\x20-\x20','finalExecution','LLxFl','R_OK','BROWSERSTACK_AUTOMATION','ybyiF','inherit','Playwright\x20process\x20exited\x20with\x20code\x20','gnFnI','close','bVtgb','Nlevd','platform','test','../utils/constants','./accessibility-helper','existsSync','has','true','RwiaQ','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','getInstance','playwright-browserstack-sdk.config.js','accessibility','reportConflictingEnvVarIssue','setBrowserstackConfig','stop','12332268LcQMtr','assign','VnDyc','tnVXz','getConfig','eyUkq','UOqYZ','writeFileSync','get','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isTrue','../../helpers/performance/constants','USER_CONFIG_DETAILS_PATH','366289fbnuCG','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','LeUJy','browserstackAutomation','fQnlH','ESAON','--grep','readdirSync','clearTempPWConfig','validateRerunTestList','apply','INTERNALLY_USED_ENV_VARS','WtrEu','getNoProxy','reportDotBrowserStackFolderNotAccessibleIssue','parse','forEach','env','PLAYWRIGHT','FEocE','jttnn','33UTsQok','JYKkQ','yarn','playwright','BROWSERSTACK_RERUN_TESTS','map','measureWrapper','QZPbB','concat','pMxdI','../v2/cliUtils','join','debug','reportFinalDetectionState','exports','--config','DSLMC','cliConfig','Error\x20in\x20deleting\x20playwright\x20results','accessSync','MoCBd','homedir','ZcMEq','kkPwh','FTKCI','CFRuj','../../helpers/helper','lKwyk','nuDri','3241866zuooTT','path','IzjSb','PDNAR','testContextOptions','logLevel','getConfigPath','kZPpA','../../helpers/test-observability/utils','Dzlci','skipSessionName','isFalse','tTNJW','Error\x20in\x20getting\x20funnel\x20data\x20results','push','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','resolve','../v2/browserstackCLI','hwbFY','--disable-test-observability','15miihvI','dirname','tFCCy','SDK_CLEANUP','guspm','stringify','split','203842NNHaDa','constants','fdJbO','Proxy\x20url\x20:\x20','MODULE','256SGHsXB','../v2/TestInfo','CAWNH'];a39_0x3e67=function(){return _0x1ff170;};return a39_0x3e67();}const a39_0x48d0d4=a39_0x274a;(function(_0x2f0021,_0x105ee8){const _0x3fda6a=a39_0x274a,_0x55fb55=_0x2f0021();while(!![]){try{const _0x2de897=parseInt(_0x3fda6a(0x20b))/0x1+-parseInt(_0x3fda6a(0x22e))/0x2*(-parseInt(_0x3fda6a(0x1d2))/0x3)+-parseInt(_0x3fda6a(0x246))/0x4*(-parseInt(_0x3fda6a(0x204))/0x5)+-parseInt(_0x3fda6a(0x1ef))/0x6+-parseInt(_0x3fda6a(0x1bd))/0x7*(-parseInt(_0x3fda6a(0x210))/0x8)+parseInt(_0x3fda6a(0x1b0))/0x9+-parseInt(_0x3fda6a(0x239))/0xa;if(_0x2de897===_0x105ee8)break;else _0x55fb55['push'](_0x55fb55['shift']());}catch(_0xe8f45c){_0x55fb55['push'](_0x55fb55['shift']());}}}(a39_0x3e67,0xe26da));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a39_0x48d0d4(0x21b)),logger=require('../../helpers/logger')[a39_0x48d0d4(0x21d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x48d0d4(0x1ec)),utilities=require(a39_0x48d0d4(0x23f)),constants=require(a39_0x48d0d4(0x1a3)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x48d0d4(0x21e)),{checkAccessibilityPlatformConfig}=require(a39_0x48d0d4(0x230)),{setAccessibilityCapabilities}=require(a39_0x48d0d4(0x1a4)),{printBuildLink}=require(a39_0x48d0d4(0x1f7)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x48d0d4(0x221)),PerformanceTester=require(a39_0x48d0d4(0x22f)),BrowserstackCLI=require(a39_0x48d0d4(0x201)),PerformanceEvents=require(a39_0x48d0d4(0x1bb))['EVENTS'],CLIUtils=require(a39_0x48d0d4(0x1dc)),TestInfo=require(a39_0x48d0d4(0x211)),ClientTroubleShootingService=require(a39_0x48d0d4(0x222)),getUserPlaywrightConfig=async(_0x189573,_0x4d1718)=>{const _0x1f1d52=a39_0x48d0d4,_0x272ed1={'Dzlci':function(_0x49d39e){return _0x49d39e();},'DSLMC':function(_0xd60729){return _0xd60729();},'Nlevd':function(_0x57525f,_0x3eff34){return _0x57525f(_0x3eff34);},'gnFnI':function(_0x11c7bc,_0x1a125b){return _0x11c7bc(_0x1a125b);},'WtrEu':_0x1f1d52(0x213),'PDNAR':_0x1f1d52(0x24b)},_0x3eba9a=!helper[_0x1f1d52(0x240)](_0x189573['config']),_0x191edf=_0x3eba9a?path['resolve'](process[_0x1f1d52(0x18f)](),_0x189573[_0x1f1d52(0x22b)]):process['cwd'](),{resolveConfigFile:_0xb4c8b,resolveConfigLocation:_0x595035}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0x272ed1[_0x1f1d52(0x1f8)](getConfigLoaderPath)):helper['requirePWModule'][_0x1f1d52(0x1c7)](null,_0x272ed1[_0x1f1d52(0x1e2)](getConfigLoaderPath)),_0x4d0794=_0xb4c8b?_0x272ed1[_0x1f1d52(0x1a0)](_0xb4c8b,_0x191edf):helper['nestedKeyValue'](_0x272ed1[_0x1f1d52(0x19d)](_0x595035,_0x191edf),[_0x272ed1[_0x1f1d52(0x1c9)]]),_0x5144e9={};if(_0x3eba9a){const _0x58efbb=_0x4d1718[_0x1f1d52(0x23b)](_0x5dba92=>_0x5dba92===_0x1f1d52(0x1e1)||_0x5dba92==='-c'||_0x5dba92['startsWith'](_0x1f1d52(0x24b)));_0x4d1718['splice'](_0x58efbb,_0x4d1718[_0x58efbb][_0x1f1d52(0x233)](_0x272ed1[_0x1f1d52(0x1f2)])?0x1:0x2);}const _0x10451a={};return _0x10451a[_0x1f1d52(0x1f0)]=_0x4d0794,_0x10451a[_0x1f1d52(0x22b)]=_0x5144e9,_0x10451a;},handleO11yRerun=_0xa5de04=>{const _0x29f633=a39_0x48d0d4,_0x3b1f52={};_0x3b1f52[_0x29f633(0x1ea)]=_0x29f633(0x1c3);const _0x2f8258=_0x3b1f52,_0x53f295=helper[_0x29f633(0x1ba)](process['env'][_0x29f633(0x22d)]);if(_0x53f295){const _0x1f8905=process[_0x29f633(0x1ce)][_0x29f633(0x1d6)],_0x58d23a=[];if(helper[_0x29f633(0x1c6)](_0x1f8905)&&!helper[_0x29f633(0x240)](_0x1f8905)){_0x1f8905['split'](',')[_0x29f633(0x1d7)](_0x26d6a8=>{const _0x2e7ad1=_0x29f633;_0x58d23a[_0x2e7ad1(0x1fd)]('('+_0x26d6a8[_0x2e7ad1(0x21a)]()+')');});const _0x58ee64='^'+_0x58d23a['join']('|')+'$';_0xa5de04[_0x29f633(0x1fd)](_0x2f8258[_0x29f633(0x1ea)],_0x58ee64);}}},spawnOriginalProcess=_0x1ba436=>{const _0x404937=a39_0x48d0d4,_0x3e0e85={'tRwYh':function(_0x498fc1,_0x219471,_0x4896d3,_0x4271d7){return _0x498fc1(_0x219471,_0x4896d3,_0x4271d7);},'GbUVt':_0x404937(0x1d4),'ypPQV':'npx','RwiaQ':_0x404937(0x1d5),'gHSSy':function(_0xbb1c89,_0x306634){return _0xbb1c89===_0x306634;},'tnVXz':_0x404937(0x191),'lkOXH':_0x404937(0x19b)};_0x3e0e85[_0x404937(0x245)](spawn,helper[_0x404937(0x226)]()?_0x3e0e85[_0x404937(0x217)]:_0x3e0e85['ypPQV'],[_0x3e0e85[_0x404937(0x1a8)],..._0x1ba436[_0x404937(0x225)](0x1)],{'shell':_0x3e0e85[_0x404937(0x232)](process[_0x404937(0x1a1)],_0x3e0e85[_0x404937(0x1b3)]),'stdio':_0x3e0e85['lkOXH'],'cwd':process['cwd']()});},isTestCommand=(_0x23a874,_0x4a6911)=>{const _0x1f5fe7=a39_0x48d0d4,_0x52c149={};_0x52c149[_0x1f5fe7(0x1d9)]=function(_0x11c086,_0x415ac9){return _0x11c086>_0x415ac9;},_0x52c149[_0x1f5fe7(0x1e8)]=function(_0x261c97,_0x2509b0){return _0x261c97===_0x2509b0;},_0x52c149[_0x1f5fe7(0x218)]='test';const _0x5ef776=_0x52c149;if(_0x5ef776[_0x1f5fe7(0x1d9)](_0x4a6911[_0x1f5fe7(0x242)],0x1)&&_0x5ef776[_0x1f5fe7(0x1e8)](_0x4a6911[0x1],_0x5ef776[_0x1f5fe7(0x218)]))return!![];return![];};async function run(_0x159a40,_0x2192a7,_0x4ecbff){const _0x30df07=a39_0x48d0d4,_0xbceeb1={'bVtgb':_0x30df07(0x234),'kkPwh':_0x30df07(0x227),'rUxIs':function(_0x3468c7,_0x51d4f2){return _0x3468c7+_0x51d4f2;},'VnDyc':_0x30df07(0x1fc),'fdJbO':function(_0x15593d){return _0x15593d();},'hcJWI':function(_0x5a4914){return _0x5a4914();},'LeUJy':'Error\x20in\x20closing\x20playwright','dKynf':function(_0x556ccb,_0x377d58){return _0x556ccb(_0x377d58);},'hwbFY':'BrowserStack\x20config\x20file\x20not\x20found.','ybyiF':function(_0xbd670a,_0x20aaae){return _0xbd670a<_0x20aaae;},'tTNJW':function(_0x277779,_0x1bce4f){return _0x277779===_0x1bce4f;},'xSnlL':'false','FEocE':_0x30df07(0x203),'BEzyN':function(_0x43fbe7,_0x2f85ac){return _0x43fbe7>=_0x2f85ac;},'AwOVc':function(_0x5c14c6,_0x340ea9){return _0x5c14c6===_0x340ea9;},'LLxFl':'automation','tFCCy':function(_0x21b8a7,_0x35e4dd){return _0x21b8a7!=_0x35e4dd;},'eCWmv':function(_0x217f7a,_0xe110fb,_0x698085){return _0x217f7a(_0xe110fb,_0x698085);},'NTFkt':function(_0x802ae6,_0x2b7c91){return _0x802ae6(_0x2b7c91);},'jttnn':_0x30df07(0x1a7),'JYKkQ':function(_0x5916c6,_0x55d472){return _0x5916c6(_0x55d472);},'ESAON':_0x30df07(0x21f),'lKwyk':'playwright-browserstack-sdk.config.cjs','HVNxt':_0x30df07(0x1ab),'IzjSb':function(_0x5b00a9,_0x927773){return _0x5b00a9-_0x927773;},'cNHWM':function(_0x2d549d,_0x4a41ca){return _0x2d549d+_0x4a41ca;},'eyUkq':_0x30df07(0x195),'kZPpA':function(_0x1fb8fd,_0x1d0236){return _0x1fb8fd>_0x1d0236;},'pMxdI':function(_0x18f8e7,_0x3be9be){return _0x18f8e7+_0x3be9be;},'lfcTd':function(_0x15f816,_0x3b9702,_0x422c45,_0x467f04){return _0x15f816(_0x3b9702,_0x422c45,_0x467f04);},'CAWNH':'yarn','bHCcS':'npx','JRYsp':_0x30df07(0x1d5),'UOqYZ':_0x30df07(0x1a2),'MNQAJ':_0x30df07(0x1e1),'fQnlH':function(_0x22b2a2,_0x7783e){return _0x22b2a2===_0x7783e;},'xaien':_0x30df07(0x191),'guspm':function(_0x3af45c,_0x25c3a3){return _0x3af45c===_0x25c3a3;},'AWiIG':_0x30df07(0x19b),'slQsL':_0x30df07(0x19e),'xuZrY':function(_0x462678,_0x373a63){return _0x462678|_0x373a63;},'MoCBd':function(_0x5959b3,_0x424621){return _0x5959b3+_0x424621;},'dIhrf':_0x30df07(0x1a9),'ZpNoe':function(_0x15562f,_0x13e5ef){return _0x15562f+_0x13e5ef;},'cBaUI':_0x30df07(0x1e4),'HKxGi':function(_0x441604,_0x463800,_0x13c8b2){return _0x441604(_0x463800,_0x13c8b2);},'CFRuj':function(_0x203430,_0xbf742b){return _0x203430(_0xbf742b);}};try{const _0x132e38=path[_0x30df07(0x1dd)](helper['homedir'](),_0xbceeb1[_0x30df07(0x19f)]);try{fs[_0x30df07(0x1e5)](_0x132e38,_0xbceeb1[_0x30df07(0x194)](fs[_0x30df07(0x20c)][_0x30df07(0x198)],fs['constants'][_0x30df07(0x248)]));}catch(_0x5db1b9){ClientTroubleShootingService[_0x30df07(0x1cb)]();}}catch(_0x3a832f){logger[_0x30df07(0x1de)](_0xbceeb1[_0x30df07(0x1e6)](_0xbceeb1[_0x30df07(0x22c)],_0x3a832f));}try{const _0x529fc8=path[_0x30df07(0x1dd)](helper[_0x30df07(0x1e7)](),_0xbceeb1[_0x30df07(0x19f)],_0xbceeb1[_0x30df07(0x1e9)]);fs[_0x30df07(0x1a5)](_0x529fc8)&&fs['unlinkSync'](_0x529fc8);}catch(_0x4eb18e){logger[_0x30df07(0x1de)](_0xbceeb1[_0x30df07(0x24c)](_0xbceeb1['cBaUI'],_0x4eb18e));}if(!_0xbceeb1['HKxGi'](isTestCommand,_0x159a40,_0x2192a7)){_0xbceeb1[_0x30df07(0x1eb)](spawnOriginalProcess,_0x2192a7);return;}await PerformanceTester[_0x30df07(0x1d8)](PerformanceEvents[_0x30df07(0x24a)],async()=>{const _0x5a40bb=_0x30df07,_0x5b4c08={'nuDri':function(_0x1b3e5e,_0x337ce9){return _0xbceeb1['dKynf'](_0x1b3e5e,_0x337ce9);}};if(!_0x4ecbff['config']){logger['error'](_0xbceeb1[_0x5a40bb(0x202)]);return;}await _0x4ecbff['initialize'](_0x159a40),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x5a40bb(0x1cf)],FRAMEWORKS[_0x5a40bb(0x1cf)]),BrowserstackCLI[_0x5a40bb(0x1aa)]()[_0x5a40bb(0x1ae)](_0x4ecbff[_0x5a40bb(0x22b)],_0x4ecbff[_0x5a40bb(0x23e)],_0x4ecbff[_0x5a40bb(0x1e3)]),await BrowserstackCLI[_0x5a40bb(0x1aa)]()[_0x5a40bb(0x238)]();for(var _0x42f50b=0x0;_0xbceeb1[_0x5a40bb(0x19a)](_0x42f50b,constants['INTERNALLY_USED_ENV_VARS'][_0x5a40bb(0x242)]);_0x42f50b++){var _0x59b3c1=constants[_0x5a40bb(0x1c8)][_0x42f50b];process[_0x5a40bb(0x1ce)][_0x59b3c1]&&await ClientTroubleShootingService[_0x5a40bb(0x1ad)](_0x59b3c1);}const _0x6fe0cd=BrowserstackCLI['getInstance']()[_0x5a40bb(0x1b4)]();!helper[_0x5a40bb(0x1fa)](_0x6fe0cd[_0x5a40bb(0x1c0)])&&(process[_0x5a40bb(0x1ce)]['BROWSERSTACK_AUTOMATION']=!![]);_0xbceeb1[_0x5a40bb(0x1fb)](_0x6fe0cd[_0x5a40bb(0x1c0)],![])&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x199)]=_0xbceeb1['xSnlL'],_0x2192a7=_0x2192a7['filter'](_0x539f33=>_0x539f33!=='--disable-browserstack-automation'));const _0x3fd5a4=_0x2192a7[_0x5a40bb(0x223)](_0xbceeb1[_0x5a40bb(0x1d0)]);(_0xbceeb1[_0x5a40bb(0x190)](_0x3fd5a4,0x0)||_0xbceeb1['AwOVc'](_0x6fe0cd[_0x5a40bb(0x23d)],![]))&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x24d)]=_0xbceeb1['xSnlL'],_0x2192a7=_0x2192a7['filter'](_0x17c88c=>_0x17c88c!==_0x5a40bb(0x203)));!helper[_0x5a40bb(0x240)](_0x4ecbff[_0x5a40bb(0x1e3)])&&_0x4ecbff['cliConfig'][_0x5a40bb(0x1a6)](_0xbceeb1['LLxFl'])&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x199)]=_0x4ecbff[_0x5a40bb(0x1e3)][_0x5a40bb(0x1b8)](_0xbceeb1[_0x5a40bb(0x197)])||!![]);_0xbceeb1[_0x5a40bb(0x206)](_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x23d)],null)&&!helper[_0x5a40bb(0x1ba)](process[_0x5a40bb(0x1ce)][_0x5a40bb(0x24d)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x5a40bb(0x1ce)][_0x5a40bb(0x24d)]||_0x4ecbff['config'][_0x5a40bb(0x23d)]);const _0x52dae2=!helper[_0x5a40bb(0x1fa)](process['env'][_0x5a40bb(0x24d)]);_0x4ecbff[_0x5a40bb(0x22b)]['accessibilityOptions']&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x220)]=JSON[_0x5a40bb(0x209)](_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x231)]));let _0x438068=![];_0x4ecbff['config'][_0x5a40bb(0x1ac)]&&(_0x438068=!![],process[_0x5a40bb(0x1ce)][_0x5a40bb(0x1b9)]=_0x4ecbff[_0x5a40bb(0x22b)]['accessibility']);const _0xfcdac8=_0x2192a7[_0x5a40bb(0x1da)](),_0x843026=await _0xbceeb1['eCWmv'](getUserPlaywrightConfig,_0x159a40,_0x2192a7);if(helper[_0x5a40bb(0x240)](_0x843026)){_0xbceeb1['NTFkt'](spawnOriginalProcess,_0xfcdac8);return;}const _0x54749f=_0x843026[_0x5a40bb(0x1f0)]?path[_0x5a40bb(0x205)](_0x843026[_0x5a40bb(0x1f0)]):process[_0x5a40bb(0x18f)]();process[_0x5a40bb(0x1ce)][_0x5a40bb(0x236)]=_0x54749f,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x5a40bb(0x244)],async()=>{const _0x34d091=_0x5a40bb;!BrowserstackCLI[_0x34d091(0x1aa)]()[_0x34d091(0x224)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x34d091(0x1cf)],_0x4ecbff),_0x52dae2&&_0x5b4c08[_0x34d091(0x1ee)](handleO11yRerun,_0x2192a7);})();if(!BrowserstackCLI[_0x5a40bb(0x1aa)]()[_0x5a40bb(0x224)]()){let _0x334386=_0xbceeb1[_0x5a40bb(0x1fb)](process[_0x5a40bb(0x1ce)][_0x5a40bb(0x1b9)],_0xbceeb1[_0x5a40bb(0x1d1)]);_0x334386=_0x334386||_0xbceeb1['JYKkQ'](checkAccessibilityPlatformConfig,_0x4ecbff[_0x5a40bb(0x22b)]),process[_0x5a40bb(0x1ce)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x334386,_0x334386&&_0xbceeb1[_0x5a40bb(0x1d3)](setAccessibilityCapabilities,_0x4ecbff[_0x5a40bb(0x22b)]);}const _0x267a65=path[_0x5a40bb(0x1dd)](_0x843026[_0x5a40bb(0x1f0)]?path[_0x5a40bb(0x205)](_0x843026['path']):process[_0x5a40bb(0x18f)](),_0xbceeb1[_0x5a40bb(0x1c2)]);fs['writeFileSync'](_0x267a65,helper['serializeToYamlString'](_0x4ecbff[_0x5a40bb(0x22b)])),process['env'][_0x5a40bb(0x193)]=_0x267a65,helper[_0x5a40bb(0x1c5)]();let _0x8a6f77='';_0xbceeb1[_0x5a40bb(0x1fb)](helper['getPackageType'](),constants[_0x5a40bb(0x237)][_0x5a40bb(0x20f)])?_0x8a6f77=_0xbceeb1[_0x5a40bb(0x1ed)]:_0x8a6f77=_0xbceeb1['HVNxt'];let _0x23a4b2='';if(helper['isTypescriptProject'](_0x843026['path'])){_0x23a4b2=_0x5a40bb(0x1ff);const _0x49cf3e=_0x8a6f77[_0x5a40bb(0x20a)]('.');_0x49cf3e[_0xbceeb1[_0x5a40bb(0x1f1)](_0x49cf3e[_0x5a40bb(0x242)],0x1)]='ts',_0x8a6f77=_0x49cf3e['join']('.'),logger[_0x5a40bb(0x1de)](_0xbceeb1['cNHWM'](_0xbceeb1[_0x5a40bb(0x1b5)],_0x8a6f77));}else _0x23a4b2=_0x5a40bb(0x1be);const _0x1eb479=path[_0x5a40bb(0x1dd)](_0x843026[_0x5a40bb(0x1f0)]?path[_0x5a40bb(0x205)](_0x843026['path']):process[_0x5a40bb(0x18f)](),_0x8a6f77);let _0x5637d3=_0x843026['path']?_0x843026[_0x5a40bb(0x1f0)]:'';_0x5637d3=_0xbceeb1[_0x5a40bb(0x1f6)](_0x5637d3[_0x5a40bb(0x242)],0x0)?path[_0x5a40bb(0x200)](_0x5637d3):'',process['env'][_0x5a40bb(0x1bc)]=_0x5637d3;const _0x3f791e=helper['getProxyUrl'](_0x4ecbff[_0x5a40bb(0x22b)]),_0x119dbd=helper[_0x5a40bb(0x1ca)](_0x4ecbff[_0x5a40bb(0x22b)]);logger[_0x5a40bb(0x1de)](_0x5a40bb(0x20e)+_0x3f791e),logger[_0x5a40bb(0x1de)](_0x5a40bb(0x22a)+_0x119dbd);_0x3f791e&&(_0x23a4b2=_0xbceeb1[_0x5a40bb(0x1db)](_0x5a40bb(0x1fe)+_0x3f791e+'\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'+_0x119dbd+'\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();',_0x23a4b2));helper[_0x5a40bb(0x229)]({},_0x2192a7),fs[_0x5a40bb(0x1b7)](_0x1eb479,_0x23a4b2),PerformanceTester[_0x5a40bb(0x241)](PerformanceEvents[_0x5a40bb(0x216)]);const _0x5a4b06=_0xbceeb1[_0x5a40bb(0x219)](spawn,helper[_0x5a40bb(0x226)]()?_0xbceeb1[_0x5a40bb(0x212)]:_0xbceeb1['bHCcS'],[_0xbceeb1['JRYsp'],_0xbceeb1[_0x5a40bb(0x1b6)],_0xbceeb1['MNQAJ'],_0xbceeb1[_0x5a40bb(0x1c1)](process['platform'],_0xbceeb1['xaien'])?'\x22'+_0x1eb479+'\x22':_0x1eb479,..._0x2192a7[_0x5a40bb(0x225)](0x2)],{'shell':_0xbceeb1[_0x5a40bb(0x208)](process['platform'],_0xbceeb1[_0x5a40bb(0x228)]),'stdio':_0xbceeb1[_0x5a40bb(0x23c)],'cwd':process[_0x5a40bb(0x18f)](),'env':Object[_0x5a40bb(0x1b1)]({},process[_0x5a40bb(0x1ce)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5a40bb(0x1f5)](_0x159a40),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x1f3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4ecbff[_0x5a40bb(0x22b)]['testContextOptions'][_0x5a40bb(0x1f9)],'BROWSERSTACK_LOG_LEVEL':_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x1f4)]})}),_0x43c5d1=()=>{const _0x453a06=_0x5a40bb;try{const _0x1a5e7f=path[_0x453a06(0x1dd)](helper['homedir'](),_0xbceeb1[_0x453a06(0x19f)],_0xbceeb1['kkPwh']);if(fs[_0x453a06(0x1a5)](_0x1a5e7f)){let _0xed12e8=fs['readFileSync'](_0x1a5e7f);_0xed12e8=JSON[_0x453a06(0x1cc)](_0xed12e8),_0x4ecbff['errorMessage']=_0xed12e8,fs[_0x453a06(0x243)](_0x1a5e7f);}}catch(_0x4fb465){logger[_0x453a06(0x1de)](_0xbceeb1['rUxIs'](_0xbceeb1[_0x453a06(0x1b2)],_0x4fb465));}};_0x5a4b06['on'](_0xbceeb1[_0x5a40bb(0x23a)],async _0x3ed893=>{const _0x582a34=_0x5a40bb,_0x19d45b={};_0x19d45b['taUGD']=_0xbceeb1[_0x582a34(0x19f)];const _0x323555=_0x19d45b;try{PerformanceTester['start'](PerformanceEvents[_0x582a34(0x207)]),_0xbceeb1[_0x582a34(0x20d)](_0x43c5d1),await TestHubHandler[_0x582a34(0x1af)](),await ClientTroubleShootingService[_0x582a34(0x1df)](),await BrowserstackCLI['getInstance']()['stop'](),TestDetails[_0x582a34(0x21c)](),_0xbceeb1['hcJWI'](printBuildLink),await utilities[_0x582a34(0x196)](_0x4ecbff),process[_0x582a34(0x215)]=_0x3ed893,logger[_0x582a34(0x1de)](_0x582a34(0x19c)+_0x3ed893),logger[_0x582a34(0x235)](_0x582a34(0x249)+_0x1eb479),fs[_0x582a34(0x243)](_0x1eb479);fs['existsSync'](_0x267a65)&&(logger[_0x582a34(0x1de)](_0x582a34(0x249)+_0x267a65),fs[_0x582a34(0x243)](_0x267a65));const _0x3a6011=fs[_0x582a34(0x1c4)](path[_0x582a34(0x1dd)](helper[_0x582a34(0x1e7)](),_0xbceeb1[_0x582a34(0x19f)]))[_0x582a34(0x247)](_0x421a25=>_0x421a25[_0x582a34(0x233)]('trace_'));_0x3a6011[_0x582a34(0x1cd)](_0x2de19d=>{const _0x4f01e3=_0x582a34;fs[_0x4f01e3(0x243)](path['join'](helper[_0x4f01e3(0x1e7)](),_0x323555[_0x4f01e3(0x214)],_0x2de19d));});}catch(_0x5f5f6){logger[_0x582a34(0x1de)](_0xbceeb1[_0x582a34(0x192)](_0xbceeb1[_0x582a34(0x1bf)],_0x5f5f6));}});})();}module[a39_0x48d0d4(0x1e0)]=run;
|
|
2
|
+
'use strict';const a39_0x21230a=a39_0x35c3;function a39_0x35c3(_0x41f73f,_0x15d06e){const _0x3b7d79=a39_0x3b7d();return a39_0x35c3=function(_0x35c370,_0x45cf1d){_0x35c370=_0x35c370-0xfb;let _0xa86bf=_0x3b7d79[_0x35c370];return _0xa86bf;},a39_0x35c3(_0x41f73f,_0x15d06e);}function a39_0x3b7d(){const _0x2e8a8d=['writeFileSync','true','homedir','win32','tANEw','shutdown','224810ErSMYI','../../helpers/accessibility-automation/helper','nestedKeyValue','2717935Npadcc','requirePWModule','PLAYWRIGHT','isRunning','accessibility','No\x20Proxy\x20:\x20','../../helpers/BrowserStackSetup','yarn','Proxy\x20url\x20:\x20','validateRerunTestList','forEach','NsAYJ','bUcnc','INTERNALLY_USED_ENV_VARS','xCTgY','IjgRa','PXNhM','debug','piHJv','SQeLz','BROWSERSTACK_PW_CONFIG_DIR','skipSessionName','reportDotBrowserStackFolderNotAccessibleIssue','../v2/cliUtils','ymurY','GuZQJ','VjlGI','clearTempPWConfig','DSdNX','FkyiM','../../helpers/helper','existsSync','xWmji','config','oilfz','wgfmO','skipSessionStatus','--config','Rgvoq','416000CwQTzU','automation','sTJVj','176kRUkRX','svNyM','Error\x20in\x20getting\x20funnel\x20data\x20results','slice','trim','SDK_POST_INITIALIZE','BROWSERSTACK_AUTOMATION','accessibilityOptions','viNUe','filter','LfnVU','BrowserStack\x20config\x20file\x20not\x20found.','Error\x20in\x20closing\x20playwright','../v2/TestInfo','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','splice','LKEJN','inherit','MCnAy','2754639ufxsIA','map','rTUOu','false','nuAVH','SDK_CLEANUP','./reporter/test-details','startsWith','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isFalse','NSahA','vWaCO','close','path','env','info','ykrLg','jyUwY','GrQqd','isYarnPnP','10954pxbRWa','../utils/constants','winstonLogger','findIndex','start','apply','uqIVh','isUndefined','SgtbZ','bFiJa','platform','haUyf','trace_','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','BROWSERSTACK_SETUP_CONFIG_PATH','GulrQ','playwright-browserstack-sdk.config.js','sOvSi','../../helpers/test-observability/utils','oUttJ','sntvH','.browserstack','split','testObservability','../../helpers/performance/constants','filterBrowserstackArgs','--disable-test-observability','\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','PACKAGE_TYPE','../../helpers/performance/performance-tester','Playwright\x20process\x20exited\x20with\x20code\x20','cwd','cliConfig','push','test','constants','indexOf','measureWrapper','789kIkZNL','8JLeexN','join','R_OK','resolvedConfigFile','resolve','7945700DnVQxM','jsjul','logLevel','--grep','initialize','BROWSERSTACK_RERUN_TESTS','\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();','DtUCh','getProxyUrl','XVheU','exitCode','reportConflictingEnvVarIssue','concat','SDK_SETUP','setFrameworkDetail','SDK_PRE_INITIALIZE','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','pw_result.json','W_OK','Deleting\x20','--disable-browserstack-automation','../../helpers/utilities','nziBr','../../helpers/testhub/testhubHandler','npx','length','NExsx','stop','BROWSERSTACK_TEST_OBSERVABILITY','playwright','BROWSERSTACK_RERUN','24KwEUIz','Error\x20in\x20deleting\x20playwright\x20results','stringify','abwcB','readdirSync','JmNlw','unlinkSync','MmYGA','testContextOptions','mLroJ','QUAUD','../v2/browserstackCLI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstackAutomation','SfrEW','wSwNy','qTbih','EVENTS','configPath','isTrue','4948440ZqnJCz','--config=','end','reportFinalDetectionState','MXxGG','readFileSync','getPackageType','WltcC','ENeOC','browserstackSetupConfig.json','launchBuild','getInstance','setBrowserstackConfig','errorMessage'];a39_0x3b7d=function(){return _0x2e8a8d;};return a39_0x3b7d();}(function(_0x29af0a,_0x2866e2){const _0x49d98c=a39_0x35c3,_0x387687=_0x29af0a();while(!![]){try{const _0x52491f=parseInt(_0x49d98c(0x19b))/0x1+-parseInt(_0x49d98c(0x128))/0x2*(-parseInt(_0x49d98c(0x14e))/0x3)+-parseInt(_0x49d98c(0x14f))/0x4*(-parseInt(_0x49d98c(0x19e))/0x5)+parseInt(_0x49d98c(0x187))/0x6+-parseInt(_0x49d98c(0x154))/0x7+-parseInt(_0x49d98c(0x173))/0x8*(parseInt(_0x49d98c(0x114))/0x9)+-parseInt(_0x49d98c(0xfe))/0xa*(parseInt(_0x49d98c(0x101))/0xb);if(_0x52491f===_0x2866e2)break;else _0x387687['push'](_0x387687['shift']());}catch(_0x59e7c7){_0x387687['push'](_0x387687['shift']());}}}(a39_0x3b7d,0xd1896));const fs=require('fs'),path=require(a39_0x21230a(0x121)),{spawn}=require('child_process'),{format}=require('util'),logger=require('../../helpers/logger')[a39_0x21230a(0x12a)],{default:BrowserStackSetup}=require(a39_0x21230a(0x1a4)),helper=require(a39_0x21230a(0x1bc)),utilities=require(a39_0x21230a(0x169)),constants=require(a39_0x21230a(0x129)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x21230a(0x19c)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x21230a(0x13a)),TestDetails=require(a39_0x21230a(0x11a)),TestHubHandler=require(a39_0x21230a(0x16b)),PerformanceTester=require(a39_0x21230a(0x145)),BrowserstackCLI=require(a39_0x21230a(0x17e)),PerformanceEvents=require(a39_0x21230a(0x140))[a39_0x21230a(0x184)],CLIUtils=require(a39_0x21230a(0x1b5)),TestInfo=require(a39_0x21230a(0x10e)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x2d216f,_0x16c635)=>{const _0x2485ba=a39_0x21230a,_0x104ef6={'sntvH':function(_0x16c88c){return _0x16c88c();},'mLroJ':function(_0x2d3778,_0x28a896){return _0x2d3778(_0x28a896);},'NExsx':_0x2485ba(0x152),'SgtbZ':_0x2485ba(0x188)},_0xb4c4f2=!helper['isUndefined'](_0x2d216f['config']),_0xa8dc4b=_0xb4c4f2?path['resolve'](process['cwd'](),_0x2d216f['config']):process[_0x2485ba(0x147)](),{resolveConfigFile:_0x28ce63,resolveConfigLocation:_0x52298d}=helper[_0x2485ba(0x127)]()?helper['requireConfigLoaderYarnPnP'](..._0x104ef6[_0x2485ba(0x13c)](getConfigLoaderPath)):helper[_0x2485ba(0x19f)][_0x2485ba(0x12d)](null,_0x104ef6[_0x2485ba(0x13c)](getConfigLoaderPath)),_0xbced81=_0x28ce63?_0x104ef6[_0x2485ba(0x17c)](_0x28ce63,_0xa8dc4b):helper[_0x2485ba(0x19d)](_0x104ef6[_0x2485ba(0x17c)](_0x52298d,_0xa8dc4b),[_0x104ef6[_0x2485ba(0x16e)]]),_0x3d6ed6={};if(_0xb4c4f2){const _0x69c510=_0x16c635[_0x2485ba(0x12b)](_0x590a8a=>_0x590a8a===_0x2485ba(0xfc)||_0x590a8a==='-c'||_0x590a8a[_0x2485ba(0x11b)](_0x2485ba(0x188)));_0x16c635[_0x2485ba(0x110)](_0x69c510,_0x16c635[_0x69c510]['startsWith'](_0x104ef6[_0x2485ba(0x130)])?0x1:0x2);}const _0x406d82={};return _0x406d82['path']=_0xbced81,_0x406d82[_0x2485ba(0x1bf)]=_0x3d6ed6,_0x406d82;},handleO11yRerun=_0x490edd=>{const _0x2fe85b=a39_0x21230a,_0x1fa7eb={};_0x1fa7eb['tANEw']=_0x2fe85b(0x157);const _0x94c52c=_0x1fa7eb,_0x29a005=helper[_0x2fe85b(0x186)](process[_0x2fe85b(0x122)][_0x2fe85b(0x172)]);if(_0x29a005){const _0x24d470=process[_0x2fe85b(0x122)][_0x2fe85b(0x159)],_0x4d703d=[];if(helper[_0x2fe85b(0x1a7)](_0x24d470)&&!helper[_0x2fe85b(0x12f)](_0x24d470)){_0x24d470[_0x2fe85b(0x13e)](',')[_0x2fe85b(0x115)](_0x115bbb=>{const _0x4d93d1=_0x2fe85b;_0x4d703d['push']('('+_0x115bbb[_0x4d93d1(0x105)]()+')');});const _0x1f3bb8='^'+_0x4d703d['join']('|')+'$';_0x490edd[_0x2fe85b(0x149)](_0x94c52c[_0x2fe85b(0x199)],_0x1f3bb8);}}},spawnOriginalProcess=_0x260640=>{const _0x56d852=a39_0x21230a,_0xa5c412={'ygKoT':function(_0x1c0fa0,_0x915c5a,_0x2a01d9,_0x2a47b8){return _0x1c0fa0(_0x915c5a,_0x2a01d9,_0x2a47b8);},'viNUe':'yarn','kEPFz':_0x56d852(0x16c),'NsAYJ':_0x56d852(0x171),'wgfmO':function(_0x13ed3c,_0x208bf4){return _0x13ed3c===_0x208bf4;},'JmNlw':'win32','MmYGA':_0x56d852(0x112)};_0xa5c412['ygKoT'](spawn,helper[_0x56d852(0x127)]()?_0xa5c412[_0x56d852(0x109)]:_0xa5c412['kEPFz'],[_0xa5c412[_0x56d852(0x1a9)],..._0x260640[_0x56d852(0x104)](0x1)],{'shell':_0xa5c412[_0x56d852(0x1c1)](process[_0x56d852(0x132)],_0xa5c412[_0x56d852(0x178)]),'stdio':_0xa5c412[_0x56d852(0x17a)],'cwd':process[_0x56d852(0x147)]()});},isTestCommand=(_0x5ea5ad,_0xc31979)=>{const _0x258e57=a39_0x21230a,_0x417ec4={};_0x417ec4[_0x258e57(0x13b)]=function(_0x4f504b,_0x2a0016){return _0x4f504b>_0x2a0016;},_0x417ec4[_0x258e57(0x113)]=function(_0x65017c,_0x18c59c){return _0x65017c===_0x18c59c;},_0x417ec4['SQeLz']=_0x258e57(0x14a);const _0x1d6ac0=_0x417ec4;if(_0x1d6ac0[_0x258e57(0x13b)](_0xc31979[_0x258e57(0x16d)],0x1)&&_0x1d6ac0[_0x258e57(0x113)](_0xc31979[0x1],_0x1d6ac0[_0x258e57(0x1b1)]))return!![];return![];};async function run(_0x36a5e1,_0x291b30,_0xde8b52){const _0x19163e=a39_0x21230a,_0x4a4c03={'VjlGI':function(_0x3f75f3,_0x288054){return _0x3f75f3(_0x288054);},'ymurY':function(_0x59aae3){return _0x59aae3();},'TUjqx':function(_0x189433){return _0x189433();},'sTJVj':_0x19163e(0x13d),'jsjul':function(_0xdb1835,_0xe7825d){return _0xdb1835+_0xe7825d;},'IyUbF':_0x19163e(0x10d),'QUAUD':_0x19163e(0x165),'xWmji':function(_0x4060eb,_0x3a3de4){return _0x4060eb+_0x3a3de4;},'DtUCh':_0x19163e(0x103),'piHJv':_0x19163e(0x10c),'HGBdP':function(_0x54e268,_0x2fa04e){return _0x54e268<_0x2fa04e;},'WltcC':function(_0x2f1659,_0x117fb1){return _0x2f1659===_0x117fb1;},'sOvSi':_0x19163e(0x117),'xCTgY':_0x19163e(0x142),'WXLMJ':function(_0x1dde37,_0x48cfbb){return _0x1dde37>=_0x48cfbb;},'nziBr':function(_0x534814,_0x2212ba){return _0x534814===_0x2212ba;},'Rgvoq':_0x19163e(0xff),'oilfz':function(_0x34eca7,_0x2ab9f4){return _0x34eca7!=_0x2ab9f4;},'GulrQ':function(_0x5efc5d,_0x2e831f,_0x135cf3){return _0x5efc5d(_0x2e831f,_0x135cf3);},'qTbih':function(_0x20bf46,_0x16b629){return _0x20bf46===_0x16b629;},'ykrLg':_0x19163e(0x196),'SfrEW':function(_0x613c70,_0x4cc664){return _0x613c70(_0x4cc664);},'MXxGG':function(_0xdeb875,_0x452fa6){return _0xdeb875(_0x452fa6);},'GrQqd':_0x19163e(0x190),'NSahA':function(_0x4b6d23,_0x499db9){return _0x4b6d23===_0x499db9;},'nuAVH':'playwright-browserstack-sdk.config.cjs','THILB':_0x19163e(0x138),'svNyM':function(_0x54ed2c,_0x3ff372){return _0x54ed2c-_0x3ff372;},'mJENE':'Updated\x20config\x20file\x20name\x20to\x20-\x20','haUyf':function(_0x341047,_0x23c51b){return _0x341047>_0x23c51b;},'wSwNy':function(_0x143921,_0x32a06b){return _0x143921+_0x32a06b;},'vWaCO':function(_0x5881c2,_0x2d133a,_0x24f848,_0x1cea9c){return _0x5881c2(_0x2d133a,_0x24f848,_0x1cea9c);},'ENeOC':_0x19163e(0x1a5),'FkyiM':_0x19163e(0x16c),'XVheU':'playwright','rTUOu':_0x19163e(0x14a),'LKEJN':_0x19163e(0xfc),'bUcnc':_0x19163e(0x198),'uqIVh':_0x19163e(0x112),'LfnVU':_0x19163e(0x120),'gxPFx':function(_0x50e7ce,_0x24c84a){return _0x50e7ce|_0x24c84a;},'GuZQJ':function(_0x358515,_0x31a74b){return _0x358515+_0x31a74b;},'jyUwY':_0x19163e(0x135),'abwcB':_0x19163e(0x174),'bFiJa':function(_0x2a3ef8,_0x4e5d36,_0x3dfd13){return _0x2a3ef8(_0x4e5d36,_0x3dfd13);}};try{const _0x262533=path['join'](helper[_0x19163e(0x197)](),_0x4a4c03[_0x19163e(0x100)]);try{fs['accessSync'](_0x262533,_0x4a4c03['gxPFx'](fs['constants'][_0x19163e(0x151)],fs[_0x19163e(0x14b)][_0x19163e(0x166)]));}catch(_0x7762f2){ClientTroubleShootingService[_0x19163e(0x1b4)]();}}catch(_0x101c44){logger['debug'](_0x4a4c03[_0x19163e(0x1b7)](_0x4a4c03[_0x19163e(0x125)],_0x101c44));}try{const _0x15e1d4=path[_0x19163e(0x150)](helper[_0x19163e(0x197)](),_0x4a4c03['sTJVj'],_0x4a4c03[_0x19163e(0x17d)]);fs[_0x19163e(0x1bd)](_0x15e1d4)&&fs[_0x19163e(0x179)](_0x15e1d4);}catch(_0x229c86){logger['debug'](_0x4a4c03[_0x19163e(0x155)](_0x4a4c03[_0x19163e(0x176)],_0x229c86));}if(!_0x4a4c03[_0x19163e(0x131)](isTestCommand,_0x36a5e1,_0x291b30)){_0x4a4c03[_0x19163e(0x18b)](spawnOriginalProcess,_0x291b30);return;}await PerformanceTester[_0x19163e(0x14d)](PerformanceEvents[_0x19163e(0x163)],async()=>{const _0x3e8613=_0x19163e,_0x14bc31={'DSdNX':_0x4a4c03[_0x3e8613(0x100)],'xnqEr':_0x4a4c03['QUAUD'],'IjgRa':function(_0x13bd4e,_0x17d886){const _0xfc2fc7=_0x3e8613;return _0x4a4c03[_0xfc2fc7(0x1be)](_0x13bd4e,_0x17d886);},'PXNhM':_0x4a4c03[_0x3e8613(0x15b)]};if(!_0xde8b52[_0x3e8613(0x1bf)]){logger['error'](_0x4a4c03[_0x3e8613(0x1b0)]);return;}await _0xde8b52[_0x3e8613(0x158)](_0x36a5e1),CLIUtils[_0x3e8613(0x162)](FRAMEWORKS[_0x3e8613(0x1a0)],FRAMEWORKS[_0x3e8613(0x1a0)]),BrowserstackCLI['getInstance']()[_0x3e8613(0x193)](_0xde8b52[_0x3e8613(0x1bf)],_0xde8b52[_0x3e8613(0x185)],_0xde8b52[_0x3e8613(0x148)]),await BrowserstackCLI['getInstance']()['bootstrap']();for(var _0x3b9411=0x0;_0x4a4c03['HGBdP'](_0x3b9411,constants[_0x3e8613(0x1ab)]['length']);_0x3b9411++){var _0x28b757=constants[_0x3e8613(0x1ab)][_0x3b9411];process[_0x3e8613(0x122)][_0x28b757]&&await ClientTroubleShootingService[_0x3e8613(0x15f)](_0x28b757);}const _0x75cde1=BrowserstackCLI[_0x3e8613(0x192)]()['getConfig']();!helper['isFalse'](_0x75cde1[_0x3e8613(0x180)])&&(process['env'][_0x3e8613(0x107)]=!![]);_0x4a4c03[_0x3e8613(0x18e)](_0x75cde1[_0x3e8613(0x180)],![])&&(process[_0x3e8613(0x122)][_0x3e8613(0x107)]=_0x4a4c03[_0x3e8613(0x139)],_0x291b30=_0x291b30[_0x3e8613(0x10a)](_0x420f87=>_0x420f87!==_0x3e8613(0x168)));const _0x19b926=_0x291b30[_0x3e8613(0x14c)](_0x4a4c03[_0x3e8613(0x1ac)]);(_0x4a4c03['WXLMJ'](_0x19b926,0x0)||_0x4a4c03[_0x3e8613(0x16a)](_0x75cde1['testObservability'],![]))&&(process[_0x3e8613(0x122)][_0x3e8613(0x170)]=_0x4a4c03[_0x3e8613(0x139)],_0x291b30=_0x291b30[_0x3e8613(0x10a)](_0x2dc225=>_0x2dc225!==_0x3e8613(0x142)));!helper[_0x3e8613(0x12f)](_0xde8b52[_0x3e8613(0x148)])&&_0xde8b52['cliConfig']['has'](_0x4a4c03[_0x3e8613(0xfd)])&&(process[_0x3e8613(0x122)][_0x3e8613(0x107)]=_0xde8b52[_0x3e8613(0x148)]['get'](_0x4a4c03[_0x3e8613(0xfd)])||!![]);_0x4a4c03[_0x3e8613(0x1c0)](_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x13f)],null)&&!helper['isTrue'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x3e8613(0x170)]=process['env'][_0x3e8613(0x170)]||_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x13f)]);const _0x5796bf=!helper[_0x3e8613(0x11d)](process[_0x3e8613(0x122)][_0x3e8613(0x170)]);_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x108)]&&(process['env'][_0x3e8613(0x17f)]=JSON[_0x3e8613(0x175)](_0xde8b52['config'][_0x3e8613(0x108)]));let _0x54f8cb=![];_0xde8b52['config'][_0x3e8613(0x1a2)]&&(_0x54f8cb=!![],process[_0x3e8613(0x122)][_0x3e8613(0x11c)]=_0xde8b52['config']['accessibility']);const _0x5ad31e=_0x291b30[_0x3e8613(0x160)](),_0x294b05=await _0x4a4c03[_0x3e8613(0x137)](getUserPlaywrightConfig,_0x36a5e1,_0x291b30);if(helper[_0x3e8613(0x12f)](_0x294b05)){_0x4a4c03['VjlGI'](spawnOriginalProcess,_0x5ad31e);return;}const _0xcd6a39=_0x294b05[_0x3e8613(0x121)]?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process[_0x3e8613(0x147)]();process[_0x3e8613(0x122)][_0x3e8613(0x1b2)]=_0xcd6a39,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3e8613(0x106)],async()=>{const _0x2d982e=_0x3e8613;!BrowserstackCLI[_0x2d982e(0x192)]()[_0x2d982e(0x1a1)]()&&await TestHubHandler[_0x2d982e(0x191)](FRAMEWORKS[_0x2d982e(0x1a0)],_0xde8b52),_0x5796bf&&_0x4a4c03[_0x2d982e(0x1b8)](handleO11yRerun,_0x291b30);})();if(!BrowserstackCLI[_0x3e8613(0x192)]()[_0x3e8613(0x1a1)]()){let _0x51db49=_0x4a4c03[_0x3e8613(0x183)](process[_0x3e8613(0x122)][_0x3e8613(0x11c)],_0x4a4c03[_0x3e8613(0x124)]);_0x51db49=_0x51db49||_0x4a4c03[_0x3e8613(0x181)](checkAccessibilityPlatformConfig,_0xde8b52[_0x3e8613(0x1bf)]),process['env'][_0x3e8613(0x11c)]=_0x51db49,_0x51db49&&_0x4a4c03[_0x3e8613(0x18b)](setAccessibilityCapabilities,_0xde8b52[_0x3e8613(0x1bf)]);}const _0x5911c0=path[_0x3e8613(0x150)](_0x294b05[_0x3e8613(0x121)]?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process['cwd'](),_0x4a4c03[_0x3e8613(0x126)]);fs[_0x3e8613(0x195)](_0x5911c0,helper['serializeToYamlString'](_0xde8b52[_0x3e8613(0x1bf)])),process[_0x3e8613(0x122)][_0x3e8613(0x136)]=_0x5911c0,helper[_0x3e8613(0x1b9)]();let _0x5a3c84='';_0x4a4c03[_0x3e8613(0x11e)](helper[_0x3e8613(0x18d)](),constants[_0x3e8613(0x144)]['MODULE'])?_0x5a3c84=_0x4a4c03[_0x3e8613(0x118)]:_0x5a3c84=_0x4a4c03['THILB'];let _0x512957='';if(helper['isTypescriptProject'](_0x294b05[_0x3e8613(0x121)])){_0x512957=_0x3e8613(0x10f);const _0x186e12=_0x5a3c84[_0x3e8613(0x13e)]('.');_0x186e12[_0x4a4c03[_0x3e8613(0x102)](_0x186e12[_0x3e8613(0x16d)],0x1)]='ts',_0x5a3c84=_0x186e12['join']('.'),logger[_0x3e8613(0x1af)](_0x4a4c03[_0x3e8613(0x155)](_0x4a4c03['mJENE'],_0x5a3c84));}else _0x512957=_0x3e8613(0x164);const _0x5ee718=path[_0x3e8613(0x150)](_0x294b05['path']?path['dirname'](_0x294b05[_0x3e8613(0x121)]):process[_0x3e8613(0x147)](),_0x5a3c84);let _0x570e78=_0x294b05['path']?_0x294b05[_0x3e8613(0x121)]:'';_0x570e78=_0x4a4c03[_0x3e8613(0x133)](_0x570e78[_0x3e8613(0x16d)],0x0)?path[_0x3e8613(0x153)](_0x570e78):'',process[_0x3e8613(0x122)]['USER_CONFIG_DETAILS_PATH']=_0x570e78;const _0x10b45d=helper[_0x3e8613(0x15c)](_0xde8b52[_0x3e8613(0x1bf)]),_0x253e75=helper['getNoProxy'](_0xde8b52['config']);logger[_0x3e8613(0x1af)](_0x3e8613(0x1a6)+_0x10b45d),logger[_0x3e8613(0x1af)](_0x3e8613(0x1a3)+_0x253e75);_0x10b45d&&(_0x512957=_0x4a4c03[_0x3e8613(0x182)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x10b45d+_0x3e8613(0x143)+_0x253e75+_0x3e8613(0x15a),_0x512957));helper[_0x3e8613(0x141)]({},_0x291b30),fs[_0x3e8613(0x195)](_0x5ee718,_0x512957),PerformanceTester[_0x3e8613(0x189)](PerformanceEvents[_0x3e8613(0x161)]);const _0x8ba776=_0x4a4c03[_0x3e8613(0x11f)](spawn,helper[_0x3e8613(0x127)]()?_0x4a4c03[_0x3e8613(0x18f)]:_0x4a4c03[_0x3e8613(0x1bb)],[_0x4a4c03[_0x3e8613(0x15d)],_0x4a4c03[_0x3e8613(0x116)],_0x4a4c03[_0x3e8613(0x111)],_0x4a4c03[_0x3e8613(0x18e)](process['platform'],_0x4a4c03[_0x3e8613(0x1aa)])?'\x22'+_0x5ee718+'\x22':_0x5ee718,..._0x291b30[_0x3e8613(0x104)](0x2)],{'shell':_0x4a4c03['WltcC'](process[_0x3e8613(0x132)],_0x4a4c03[_0x3e8613(0x1aa)]),'stdio':_0x4a4c03[_0x3e8613(0x12e)],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x36a5e1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x17b)][_0x3e8613(0xfb)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x17b)][_0x3e8613(0x1b3)],'BROWSERSTACK_LOG_LEVEL':_0xde8b52[_0x3e8613(0x1bf)][_0x3e8613(0x156)]})}),_0x361f26=()=>{const _0x558f4c=_0x3e8613;try{const _0xef4bb3=path[_0x558f4c(0x150)](helper[_0x558f4c(0x197)](),_0x14bc31[_0x558f4c(0x1ba)],_0x14bc31['xnqEr']);if(fs[_0x558f4c(0x1bd)](_0xef4bb3)){let _0x21ce98=fs[_0x558f4c(0x18c)](_0xef4bb3);_0x21ce98=JSON['parse'](_0x21ce98),_0xde8b52[_0x558f4c(0x194)]=_0x21ce98,fs[_0x558f4c(0x179)](_0xef4bb3);}}catch(_0x1089a1){logger[_0x558f4c(0x1af)](_0x14bc31[_0x558f4c(0x1ad)](_0x14bc31[_0x558f4c(0x1ae)],_0x1089a1));}};_0x8ba776['on'](_0x4a4c03[_0x3e8613(0x10b)],async _0x165a4a=>{const _0x25518d=_0x3e8613;try{PerformanceTester[_0x25518d(0x12c)](PerformanceEvents[_0x25518d(0x119)]),_0x4a4c03[_0x25518d(0x1b6)](_0x361f26),await TestHubHandler[_0x25518d(0x16f)](),await ClientTroubleShootingService[_0x25518d(0x18a)](),await BrowserstackCLI[_0x25518d(0x192)]()['stop'](),TestDetails[_0x25518d(0x19a)](),_0x4a4c03['TUjqx'](printBuildLink),await utilities['finalExecution'](_0xde8b52),process[_0x25518d(0x15e)]=_0x165a4a,logger['debug'](_0x25518d(0x146)+_0x165a4a),logger[_0x25518d(0x123)]('Deleting\x20'+_0x5ee718),fs['unlinkSync'](_0x5ee718);fs[_0x25518d(0x1bd)](_0x5911c0)&&(logger[_0x25518d(0x1af)](_0x25518d(0x167)+_0x5911c0),fs[_0x25518d(0x179)](_0x5911c0));const _0xf0aa3d=fs[_0x25518d(0x177)](path[_0x25518d(0x150)](helper[_0x25518d(0x197)](),_0x4a4c03['sTJVj']))[_0x25518d(0x10a)](_0x974fd7=>_0x974fd7[_0x25518d(0x11b)](_0x25518d(0x134)));_0xf0aa3d[_0x25518d(0x1a8)](_0x1f4175=>{const _0x3ca008=_0x25518d;fs['unlinkSync'](path[_0x3ca008(0x150)](helper['homedir'](),_0x14bc31[_0x3ca008(0x1ba)],_0x1f4175));});}catch(_0x3fdff8){logger[_0x25518d(0x1af)](_0x4a4c03[_0x25518d(0x155)](_0x4a4c03['IyUbF'],_0x3fdff8));}});})();}module['exports']=run;
|