browserstack-node-sdk 1.35.1 → 1.35.3
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 +2 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a28_0x5b16(){const _0x49337e=['error\x20removing\x20tcg\x20config\x20file','Vqyui','527788oTGvMP','error','mocha/lib/cli/collect-files.js','expected','debug','framework','speed','platforms','11690264jENZZc','passed','VUMQf','10xyefbo','BROWSERSTACK_AUTOMATION','testsFailed','suite','WWEZx','pending','ILMxt','GfNde','GeKyM','errorMessage','tjaGs','getHubUrl','../../helpers/BrowserStackSetup','nXkmR','ZalYy','add','length','kOmdT','Writing\x20json\x20result\x20to\x20file','getPlatformName','SuQYv','call','10514742WHCGmN','lNXKW','state','SDK_CLEANUP','BIOLr','failed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MGVAG','accessibilityOptions','duration','central_scanner','jXCdt','Running\x20your\x20mocha\x20tests\x20across\x20','oylSG','testcase','red','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','err','Setting\x20non\x20exit\x20code\x20for\x20failures','isBrowserstackInfra','Ekavn','proxySettings','testsPassed','Running\x20your\x20mocha\x20tests','mgqwi','JMLfj','shouldReRunObservabilityTests','../../helpers/helper','size','testsPending','HREOv','znVQm','jiQEf','bold','failure','argv','getUserWorkerCount','spec','mocha','UvOEC','../../helpers/utilities','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','totalTests','eHSwB','WbBOE','bXzIz','CtbAG','MOCHA','isUndefined','RVBhz','NpwJQ','\x20failed','finally','test','toDDA','Zyhdv','testSuites','Total\x20Platforms:\x20','stringify','wMYqt','cliConfig','setupTCGAuth','includes','sxPsU','sort','stats','map','titlePathV','../../helpers/central-scanner/constants','LgTgm','has','azXEP','testsuite','lHzzG','indexOf','toUTCString','gauLe','HAiQj','LiVhx','wJFyy','fullTitle','rootHooks','FRAMEWORKS','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY','bgBlueBright','exports','recursive','Listing\x20all\x20the\x20failures','zEwpq','getErrorMessageFromResults','JcmvJ','eIDHi','oGEHC','join','message','BROWSERSTACK_TEST_OBSERVABILITY_YML','bgBjD','getOwnPropertyNames','assign','info','forEach','mjs','xIwVk','SDKTestSuccessful','kPAKA','failures','actual','\x20total','eaplf','start','getCentralUser','VUIff','extension','SAYiY','reporter-option','setUserConfigPath','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','UqbAn','Writing\x20xunit\x20result\x20to\x20file','skipped','testObservability','prototype','handleApp','reporter','passes','xwBhM','parseFileNames','stack','CzPZV','ewQYB','fMOxG','EVENTS','PUejk','iinNr','CVxLG','Couldn\x27t\x20write\x20json\x20result\x20to','env','Now,\x20showing\x20logs\x20from\x20mocha','list','MZyav','\x20passed','****\x20FAILURES\x20****','kcbUG','2gPTAxl','6EZuGQB','qQUGy','ieXGt','initialize','printBuildLink','validPlatformsPresent','</testsuite>','cjs','then','accessibility','xunit','138228vXqQRG','notifyUpdate','reporterOptions','useColors','config','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','finalExecution','mwaAd','object','consoleLog','file','files','ZGvoB','rmdirSync','rtoCP','keys','rerunTests','suiteName','WPoeM','isTestObservabilitySession','WOmRf','output','log','prepareCapabilities','nvbKd','exitCode','yellow','1000583aafpqT','../../helpers/logger','18830AXQGNh','Printing\x20stats\x20of\x20tests','logLevel','Vaekb','getTCGConfigFilePaths','jKOUI','green','title','ignore','useW3C','4781538aVQAYl','hideDiff','fSIei','YzwLr','jwIdx','vDAIr','gzeCB','iOXcP','bgRedBright','../../helpers/percy/utils','RbQXD','unlinkSync','sfGeN','SsGRF','showDiff','gcaNB','push','Total\x20Suites:\x20','4587VjmZHX','TLxcp','BiiyM','vXbmZ','fireFunnelTestEvent','results','json','parallelsPerPlatform'];a28_0x5b16=function(){return _0x49337e;};return a28_0x5b16();}const a28_0xd952dd=a28_0x406d;(function(_0x32cb9c,_0x556ece){const _0x18036f=a28_0x406d,_0x1cc52c=_0x32cb9c();while(!![]){try{const _0x6f57c9=-parseInt(_0x18036f(0x1af))/0x1+-parseInt(_0x18036f(0x188))/0x2*(parseInt(_0x18036f(0x194))/0x3)+-parseInt(_0x18036f(0x1d7))/0x4*(-parseInt(_0x18036f(0x1e2))/0x5)+parseInt(_0x18036f(0x189))/0x6*(parseInt(_0x18036f(0x1f8))/0x7)+parseInt(_0x18036f(0x1df))/0x8+-parseInt(_0x18036f(0x1bb))/0x9+-parseInt(_0x18036f(0x1b1))/0xa*(parseInt(_0x18036f(0x1cd))/0xb);if(_0x6f57c9===_0x556ece)break;else _0x1cc52c['push'](_0x1cc52c['shift']());}catch(_0x23cb82){_0x1cc52c['push'](_0x1cc52c['shift']());}}}(a28_0x5b16,0xd2f83));const chalk=require('chalk'),logger=require(a28_0xd952dd(0x1b0))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0xd952dd(0x1ee)),helper=require(a28_0xd952dd(0x213)),utilities=require(a28_0xd952dd(0x220)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0xd952dd(0x213)),{getPercyOptions}=require(a28_0xd952dd(0x1c4)),Base=requireModule('mocha/lib/reporters/base.js',a28_0xd952dd(0x21e)),collectFiles=requireModule(a28_0xd952dd(0x1d9),a28_0xd952dd(0x21e)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0xd952dd(0x14b))[a28_0xd952dd(0x17c)],centralScannerConstants=require(a28_0xd952dd(0x13c));function tag(_0x529d2e,_0x49e28f,_0x31d5fb,_0x123823){const _0x4a3f2f=a28_0xd952dd,_0x18bda6={'VUIff':function(_0x2dfc6e,_0x573a1f){return _0x2dfc6e+_0x573a1f;},'azXEP':function(_0x5c8b48,_0x312eff){return _0x5c8b48+_0x312eff;},'lNXKW':function(_0xb2866a,_0x23e547){return _0xb2866a(_0x23e547);},'xwBhM':function(_0x4e4aa0,_0x5609dc){return _0x4e4aa0+_0x5609dc;},'HAiQj':function(_0x489de0,_0x4714b6){return _0x489de0+_0x4714b6;},'wMYqt':function(_0x36a624,_0x4406f4){return _0x36a624+_0x4406f4;}},_0x12bab1=_0x31d5fb?'/>':'>',_0x4b692b=[];let _0x8a30cb;for(const _0x590092 in _0x49e28f){Object[_0x4a3f2f(0x172)]['hasOwnProperty'][_0x4a3f2f(0x1f7)](_0x49e28f,_0x590092)&&_0x4b692b[_0x4a3f2f(0x1cb)](_0x18bda6['VUIff'](_0x18bda6[_0x4a3f2f(0x13f)](_0x18bda6['VUIff'](_0x590092,'=\x22'),_0x18bda6[_0x4a3f2f(0x1f9)](escape,_0x49e28f[_0x590092])),'\x22'));}return _0x8a30cb=_0x18bda6[_0x4a3f2f(0x176)](_0x18bda6[_0x4a3f2f(0x145)](_0x18bda6[_0x4a3f2f(0x133)]('<',_0x529d2e),_0x4b692b[_0x4a3f2f(0x1f2)]?_0x18bda6['HAiQj']('\x20',_0x4b692b[_0x4a3f2f(0x156)]('\x20')):''),_0x12bab1),_0x123823&&(_0x8a30cb+=_0x18bda6[_0x4a3f2f(0x168)](_0x18bda6[_0x4a3f2f(0x176)](_0x18bda6[_0x4a3f2f(0x176)](_0x123823,'</'),_0x529d2e),_0x12bab1)),_0x8a30cb;}let xunitContent='';function xunitWrite(_0x26559f){xunitContent+=_0x26559f;}function xunitTest(_0x3ac19d,_0x189967){const _0x5e6094=a28_0xd952dd,_0x4ae3f2={'sfGeN':function(_0x31abf6,_0x37766b){return _0x31abf6/_0x37766b;},'nXkmR':function(_0x11d7e2,_0xa20e60){return _0x11d7e2===_0xa20e60;},'CtbAG':_0x5e6094(0x1fd),'vDAIr':function(_0x54175e,_0x43e7f9){return _0x54175e+_0x43e7f9;},'zEwpq':function(_0x3043ef,_0x387e60){return _0x3043ef(_0x387e60);},'gcaNB':function(_0x1356ab,_0x373016,_0x18f964,_0x396441,_0x2bf5ba){return _0x1356ab(_0x373016,_0x18f964,_0x396441,_0x2bf5ba);},'ewQYB':_0x5e6094(0x206),'MZyav':_0x5e6094(0x21a),'oylSG':function(_0xcff588,_0x29e335){return _0xcff588+_0x29e335;},'VUMQf':function(_0x1dd5c0,_0x55f12a){return _0x1dd5c0(_0x55f12a);},'Zyhdv':function(_0xd7104b,_0x1cc690){return _0xd7104b(_0x1cc690);},'mwaAd':function(_0x512584,_0x35bf15,_0x3a925a,_0x30a18d){return _0x512584(_0x35bf15,_0x3a925a,_0x30a18d);},'Ayewe':_0x5e6094(0x170)};Base[_0x5e6094(0x197)]=![];var _0x36bd21={'classname':_0x3ac19d[_0x5e6094(0x148)],'name':_0x3ac19d[_0x5e6094(0x1b8)],'time':_0x4ae3f2[_0x5e6094(0x1c7)](_0x3ac19d[_0x5e6094(0x201)],0x3e8)||0x0,'platform':_0x189967};if(_0x4ae3f2[_0x5e6094(0x1ef)](_0x3ac19d[_0x5e6094(0x1fa)],_0x4ae3f2[_0x5e6094(0x126)])){var _0x4aae60=_0x3ac19d[_0x5e6094(0x209)],_0x4b15af=!Base[_0x5e6094(0x1bc)]&&Base[_0x5e6094(0x1c9)](_0x4aae60)?_0x4ae3f2[_0x5e6094(0x1c0)]('\x0a',Base['generateDiff'](_0x4aae60[_0x5e6094(0x163)],_0x4aae60[_0x5e6094(0x1da)])):'';_0x4ae3f2[_0x5e6094(0x151)](xunitWrite,_0x4ae3f2['gcaNB'](tag,_0x4ae3f2[_0x5e6094(0x17a)],_0x36bd21,![],_0x4ae3f2[_0x5e6094(0x1ca)](tag,_0x4ae3f2[_0x5e6094(0x184)],{},![],_0x4ae3f2[_0x5e6094(0x205)](_0x4ae3f2[_0x5e6094(0x1c0)](_0x4ae3f2[_0x5e6094(0x1c0)](_0x4ae3f2['zEwpq'](escape,_0x4aae60[_0x5e6094(0x157)]),_0x4ae3f2[_0x5e6094(0x151)](escape,_0x4b15af)),'\x0a'),_0x4ae3f2[_0x5e6094(0x1e1)](escape,_0x4aae60[_0x5e6094(0x178)])))));}else _0x3ac19d['isPending']?_0x4ae3f2[_0x5e6094(0x12f)](xunitWrite,_0x4ae3f2[_0x5e6094(0x1ca)](tag,_0x4ae3f2[_0x5e6094(0x17a)],_0x36bd21,![],_0x4ae3f2['mwaAd'](tag,_0x4ae3f2['Ayewe'],{},!![]))):_0x4ae3f2[_0x5e6094(0x12f)](xunitWrite,_0x4ae3f2[_0x5e6094(0x19b)](tag,_0x4ae3f2[_0x5e6094(0x17a)],_0x36bd21,!![]));};function getStats(_0x37ffe0){const _0x52abf0=a28_0xd952dd,_0xff66a3={};_0xff66a3[_0x52abf0(0x1b4)]=_0x52abf0(0x1e5),_0xff66a3[_0x52abf0(0x1fc)]=_0x52abf0(0x1e0),_0xff66a3[_0x52abf0(0x165)]=_0x52abf0(0x1fd),_0xff66a3[_0x52abf0(0x17b)]=_0x52abf0(0x1d2);const _0x15565c=_0xff66a3,_0x3d7865=Object[_0x52abf0(0x1a3)](_0x37ffe0);let _0x2a7926=0x0,_0x31010b=0x0,_0x1d0b59=0x0,_0x222e97=0x0;const _0x462fef=new Set();_0x3d7865['forEach'](_0x2311a3=>{const _0x3b5beb=_0x52abf0;_0x37ffe0[_0x2311a3][_0x15565c[_0x3b5beb(0x17b)]][_0x3b5beb(0x15d)](_0x1bb750=>{const _0x27066c=_0x3b5beb;_0x462fef[_0x27066c(0x1f1)](_0x1bb750[_0x15565c[_0x27066c(0x1b4)]]),_0x2a7926++;switch(_0x1bb750[_0x27066c(0x1fa)]){case _0x15565c[_0x27066c(0x1fc)]:_0x1d0b59++;break;case _0x15565c[_0x27066c(0x165)]:_0x31010b++;break;default:_0x222e97++;}});});const _0x1b37d8={};return _0x1b37d8[_0x52abf0(0x130)]=_0x462fef[_0x52abf0(0x214)],_0x1b37d8[_0x52abf0(0x1de)]=_0x3d7865,_0x1b37d8[_0x52abf0(0x122)]=_0x2a7926,_0x1b37d8[_0x52abf0(0x1e4)]=_0x31010b,_0x1b37d8[_0x52abf0(0x20e)]=_0x1d0b59,_0x1b37d8[_0x52abf0(0x215)]=_0x222e97,_0x1b37d8;}function errorJSON(_0x1c7feb){const _0x67a647=a28_0xd952dd;var _0x4252b6={};return Object[_0x67a647(0x15a)](_0x1c7feb)['forEach'](function(_0x42f7f7){_0x4252b6[_0x42f7f7]=_0x1c7feb[_0x42f7f7];},_0x1c7feb),_0x4252b6;}function cleanCycles(_0x2c3c40){const _0x5d48cc=a28_0xd952dd,_0x1770eb={};_0x1770eb[_0x5d48cc(0x1ac)]=function(_0xc5c2cc,_0x52a765){return _0xc5c2cc===_0x52a765;},_0x1770eb[_0x5d48cc(0x1d0)]=_0x5d48cc(0x19c),_0x1770eb[_0x5d48cc(0x1e9)]=function(_0x330f14,_0xe3fbd4){return _0x330f14!==_0xe3fbd4;},_0x1770eb[_0x5d48cc(0x179)]=function(_0x4fb280,_0x4fd21e){return _0x4fb280+_0x4fd21e;};const _0x2e92da=_0x1770eb;var _0x3e7e8a=[];return JSON['parse'](JSON[_0x5d48cc(0x132)](_0x2c3c40,function(_0x398561,_0x5bdf46){const _0x4ada43=_0x5d48cc;if(_0x2e92da['nvbKd'](typeof _0x5bdf46,_0x2e92da[_0x4ada43(0x1d0)])&&_0x2e92da['GfNde'](_0x5bdf46,null)){if(_0x2e92da['GfNde'](_0x3e7e8a[_0x4ada43(0x142)](_0x5bdf46),-0x1))return _0x2e92da[_0x4ada43(0x179)]('',_0x5bdf46);_0x3e7e8a[_0x4ada43(0x1cb)](_0x5bdf46);}return _0x5bdf46;}));}function a28_0x406d(_0xd1d794,_0x35d186){const _0x5b1646=a28_0x5b16();return a28_0x406d=function(_0x406d25,_0x4bc0a4){_0x406d25=_0x406d25-0x121;let _0x47a053=_0x5b1646[_0x406d25];return _0x47a053;},a28_0x406d(_0xd1d794,_0x35d186);}function clean(_0x57fa7e){const _0x260c37=a28_0xd952dd,_0x1022bc={'znVQm':function(_0x80fe89,_0x365615){return _0x80fe89 instanceof _0x365615;},'rtoCP':function(_0x36f0f9,_0x176a45){return _0x36f0f9(_0x176a45);}};var _0x11eb8c=_0x57fa7e['err']||{};return _0x1022bc[_0x260c37(0x217)](_0x11eb8c,Error)&&(_0x11eb8c=_0x1022bc['rtoCP'](errorJSON,_0x11eb8c)),{'title':_0x57fa7e[_0x260c37(0x1b8)],'fullTitle':_0x57fa7e[_0x260c37(0x148)],'file':_0x57fa7e['file'],'duration':_0x57fa7e['duration'],'currentRetry':_0x57fa7e['currentRetry'],'speed':_0x57fa7e[_0x260c37(0x1dd)],'err':_0x1022bc[_0x260c37(0x1a2)](cleanCycles,_0x11eb8c)};}function printStats(_0x3fd1b4,_0x24c4de=a28_0xd952dd(0x21d),_0x385b2={}){const _0x13b84b=a28_0xd952dd,_0x137d4f={'wJFyy':function(_0x2a8d74,_0xda7fe3){return _0x2a8d74(_0xda7fe3);},'ZalYy':function(_0x2c42d0,_0x33c151){return _0x2c42d0===_0x33c151;},'JMLfj':_0x13b84b(0x1e0),'bXzIz':_0x13b84b(0x175),'WPoeM':function(_0x21b007,_0x533a2f){return _0x21b007===_0x533a2f;},'WbBOE':'failed','kOmdT':_0x13b84b(0x162),'Ekavn':function(_0x1d195b,_0x5ad7d5){return _0x1d195b(_0x5ad7d5);},'flyWk':_0x13b84b(0x1e7),'SsGRF':_0x13b84b(0x1d2),'JcmvJ':function(_0x25c456,_0x2ad09a){return _0x25c456===_0x2ad09a;},'oGEHC':function(_0xbd3ef0,_0x2889cc){return _0xbd3ef0*_0x2889cc;},'LgTgm':function(_0x1b8486,_0x4a133f,_0x3095d9){return _0x1b8486(_0x4a133f,_0x3095d9);},'BiiyM':function(_0x243937,_0x4d36ef){return _0x243937>_0x4d36ef;},'SuQYv':function(_0x1b47c1){return _0x1b47c1();},'xIwVk':'doc','PUejk':_0x13b84b(0x20a),'jiQEf':_0x13b84b(0x1b2),'ieXGt':function(_0x472130,_0x163eef){return _0x472130+_0x163eef;},'jKOUI':_0x13b84b(0x131),'HGnPt':_0x13b84b(0x1cc),'iAGQj':function(_0x4953bd,_0x10205d){return _0x4953bd+_0x10205d;},'XIUtd':function(_0x3af043,_0x8a5bc5){return _0x3af043+_0x8a5bc5;},'kPAKA':'Tests:\x20\x20\x20\x20\x20\x20\x20','iOXcP':function(_0x315ba1,_0x295fd4){return _0x315ba1>_0x295fd4;},'GeKyM':function(_0x8cb8a2,_0x3dd6f2){return _0x8cb8a2>_0x3dd6f2;},'fdwDo':function(_0x4fe58c,_0x20686e){return _0x4fe58c+_0x20686e;},'qWpvN':function(_0x5ce36f,_0xbc70aa){return _0x5ce36f+_0xbc70aa;},'EnJfa':function(_0x11a7db,_0xb0b4fa){return _0x11a7db+_0xb0b4fa;},'WOmRf':'\x0a\x0a\x0a','NpwJQ':function(_0x40773e,_0x48cce0){return _0x40773e===_0x48cce0;},'lHzzG':_0x13b84b(0x1d3),'kcbUG':_0x13b84b(0x1f4),'TMhDg':_0x13b84b(0x180),'SAYiY':_0x13b84b(0x121),'RVBhz':_0x13b84b(0x193),'zimOD':'Mocha\x20Tests','LiVhx':function(_0x39a1d7,_0x13ff65){return _0x39a1d7||_0x13ff65;},'toDDA':function(_0xdede1b,_0x10ebb5){return _0xdede1b(_0x10ebb5);},'sxPsU':function(_0x207e95,_0xb897b0,_0x23791c,_0x29c0e8){return _0x207e95(_0xb897b0,_0x23791c,_0x29c0e8);},'EbjqH':_0x13b84b(0x140),'gauLe':function(_0x2b8a67,_0xf513a3){return _0x2b8a67-_0xf513a3;},'mgqwi':function(_0x4428b6,_0x1d7753){return _0x4428b6/_0x1d7753;},'rYHxE':_0x13b84b(0x18f),'WWEZx':_0x13b84b(0x16f),'HREOv':'Couldn\x27t\x20write\x20xunit\x20result\x20to','MFhrF':_0x13b84b(0x199),'efYYM':function(_0x2250ca,_0x51a962){return _0x2250ca===_0x51a962;},'UvOEC':_0x13b84b(0x150),'WCLle':_0x13b84b(0x186)};if(_0x137d4f[_0x13b84b(0x1f0)](_0x24c4de,_0x137d4f[_0x13b84b(0x15f)]))return;const _0x6b726c=0x0,_0x3b01f7=()=>{const _0x1bcdf5=_0x13b84b;return _0x137d4f[_0x1bcdf5(0x147)](Array,_0x6b726c)['join']('\x20\x20');},{testSuites:_0x249a72,platforms:_0x2da9bf,totalTests:_0x5dafc8,testsFailed:_0x435d87,testsPassed:_0x1c1e4a,testsPending:_0x3e5904}=_0x137d4f[_0x13b84b(0x147)](getStats,_0x3fd1b4);_0x137d4f[_0x13b84b(0x1cf)](_0x435d87,0x0)&&(logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x17d)]),process[_0x13b84b(0x1ad)]=Math['min'](_0x435d87,0xff));logger['debug'](_0x137d4f[_0x13b84b(0x218)]);const _0x2af29a=''+_0x137d4f[_0x13b84b(0x18b)](chalk[_0x13b84b(0x219)](_0x137d4f[_0x13b84b(0x1b6)]),_0x2da9bf['length']),_0x45d1ee=''+_0x137d4f[_0x13b84b(0x18b)](chalk[_0x13b84b(0x219)](_0x137d4f['HGnPt']),_0x249a72),_0x5360d3=''+_0x137d4f['iAGQj'](_0x137d4f['XIUtd'](_0x137d4f[_0x13b84b(0x18b)](chalk[_0x13b84b(0x219)](_0x137d4f[_0x13b84b(0x161)]),_0x137d4f[_0x13b84b(0x1c2)](_0x435d87,0x0)?chalk[_0x13b84b(0x219)][_0x13b84b(0x207)](_0x435d87+_0x13b84b(0x12b))+',\x20':''),_0x137d4f[_0x13b84b(0x1cf)](_0x3e5904,0x0)?chalk[_0x13b84b(0x219)][_0x13b84b(0x1ae)](_0x3e5904+'\x20skipped')+',\x20':''),_0x137d4f[_0x13b84b(0x1ea)](_0x1c1e4a,0x0)?chalk['bold'][_0x13b84b(0x1b7)](_0x1c1e4a+_0x13b84b(0x185))+',\x20':'')+_0x5dafc8+_0x13b84b(0x164);console[_0x13b84b(0x1aa)](_0x137d4f[_0x13b84b(0x18b)](_0x137d4f['fdwDo'](_0x137d4f['qWpvN'](_0x137d4f['EnJfa'](_0x137d4f[_0x13b84b(0x18b)](_0x137d4f[_0x13b84b(0x1a8)],_0x2af29a),'\x0a'),_0x45d1ee),'\x0a'),_0x5360d3));if(_0x137d4f['NpwJQ'](_0x24c4de,_0x137d4f[_0x13b84b(0x141)])){const _0x3d3aac={},_0x5bb150={};_0x5bb150[_0x13b84b(0x130)]=_0x249a72,_0x5bb150[_0x13b84b(0x1de)]=_0x2da9bf,_0x5bb150[_0x13b84b(0x1e4)]=_0x435d87,_0x5bb150[_0x13b84b(0x20e)]=_0x1c1e4a,_0x5bb150[_0x13b84b(0x215)]=_0x3e5904,_0x3d3aac[_0x13b84b(0x139)]=_0x5bb150,_0x2da9bf[_0x13b84b(0x15d)](_0x466b5d=>{const _0x2ee2a7=_0x13b84b;_0x3d3aac[_0x466b5d]={'pending':[],'failures':[],'passes':[],'tests':_0x3fd1b4[_0x466b5d][_0x137d4f[_0x2ee2a7(0x1c8)]][_0x2ee2a7(0x13a)](clean)},_0x3fd1b4[_0x466b5d][_0x137d4f['SsGRF']][_0x2ee2a7(0x15d)](_0x49620b=>{const _0x1ddb02=_0x2ee2a7;if(_0x137d4f[_0x1ddb02(0x1f0)](_0x49620b[_0x1ddb02(0x1fa)],_0x137d4f['JMLfj']))_0x3d3aac[_0x466b5d][_0x137d4f[_0x1ddb02(0x125)]][_0x1ddb02(0x1cb)](_0x137d4f[_0x1ddb02(0x147)](clean,_0x49620b));else _0x137d4f[_0x1ddb02(0x1a6)](_0x49620b[_0x1ddb02(0x1fa)],_0x137d4f[_0x1ddb02(0x124)])?_0x3d3aac[_0x466b5d][_0x137d4f[_0x1ddb02(0x1f3)]][_0x1ddb02(0x1cb)](_0x137d4f[_0x1ddb02(0x20c)](clean,_0x49620b)):_0x3d3aac[_0x466b5d][_0x137d4f['flyWk']][_0x1ddb02(0x1cb)](_0x137d4f[_0x1ddb02(0x20c)](clean,_0x49620b));});});if(_0x385b2['output'])try{logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x187)],_0x385b2['output']),fs['writeFileSync'](_0x385b2[_0x13b84b(0x1a9)],JSON['stringify'](_0x3d3aac,null,0x3));}catch(_0x2d2952){logger[_0x13b84b(0x1d8)](_0x137d4f['TMhDg'],_0x385b2[_0x13b84b(0x1a9)]),logger[_0x13b84b(0x1db)](_0x2d2952);}else logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x16a)]),console[_0x13b84b(0x1aa)](JSON[_0x13b84b(0x132)](_0x3d3aac,null,0x3));}else{if(_0x137d4f[_0x13b84b(0x12a)](_0x24c4de,_0x137d4f[_0x13b84b(0x129)])){let _0x5b7ba2;const _0x2a67d5=_0x137d4f['zimOD'];_0x385b2&&(_0x5b7ba2=_0x385b2[_0x13b84b(0x1a5)]);_0x5b7ba2=_0x137d4f[_0x13b84b(0x146)](_0x5b7ba2,_0x2a67d5);let _0x2a0a6b=0x0,_0x23f51c=0x0,_0x50c279=0x0,_0x22d661=0x0;_0x2da9bf['forEach'](_0x1511bd=>{const _0x4b852c=_0x13b84b;_0x3fd1b4[_0x1511bd][_0x137d4f[_0x4b852c(0x1c8)]][_0x4b852c(0x15d)](_0x5ba38a=>{const _0x4592c1=_0x4b852c;if(_0x137d4f[_0x4592c1(0x153)](_0x5ba38a[_0x4592c1(0x1fa)],_0x137d4f[_0x4592c1(0x211)]))_0x2a0a6b++;else _0x137d4f[_0x4592c1(0x1f0)](_0x5ba38a['state'],_0x137d4f['WbBOE'])&&_0x23f51c++;_0x50c279++,_0x22d661+=_0x137d4f[_0x4592c1(0x155)](_0x5ba38a[_0x4592c1(0x201)],0x1);});}),_0x137d4f[_0x13b84b(0x12e)](xunitWrite,_0x137d4f[_0x13b84b(0x137)](tag,_0x137d4f['EbjqH'],{'name':_0x5b7ba2,'tests':_0x50c279,'failures':0x0,'errors':_0x23f51c,'skipped':_0x137d4f['gauLe'](_0x137d4f[_0x13b84b(0x144)](_0x50c279,_0x23f51c),_0x2a0a6b),'timestamp':new Date()[_0x13b84b(0x143)](),'time':_0x137d4f[_0x13b84b(0x210)](_0x22d661,0x3e8)||0x0},![])),_0x2da9bf['forEach'](_0x595f4c=>{const _0x350b91=_0x13b84b;_0x3fd1b4[_0x595f4c][_0x137d4f[_0x350b91(0x1c8)]]['forEach'](_0x3e620f=>{const _0x5a09af=_0x350b91;_0x137d4f[_0x5a09af(0x13d)](xunitTest,_0x3e620f,_0x595f4c);});}),_0x137d4f[_0x13b84b(0x20c)](xunitWrite,_0x137d4f['rYHxE']);if(_0x385b2[_0x13b84b(0x1a9)])try{logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x1e6)],_0x385b2[_0x13b84b(0x1a9)]),fs['writeFileSync'](_0x385b2[_0x13b84b(0x1a9)],xunitContent);}catch(_0xd00add){logger['error'](_0x137d4f[_0x13b84b(0x216)],_0x385b2[_0x13b84b(0x1a9)]),logger[_0x13b84b(0x1db)](_0xd00add);}else logger[_0x13b84b(0x1db)](_0x137d4f['MFhrF']),console['log'](xunitContent);}else{if(_0x137d4f['efYYM'](_0x435d87,0x0))return;console[_0x13b84b(0x1aa)](),logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x21f)]),console[_0x13b84b(0x1aa)](chalk[_0x13b84b(0x219)][_0x13b84b(0x1c3)](_0x137d4f['WCLle'])),_0x2da9bf[_0x13b84b(0x15d)](_0x199a01=>{const _0x551643=_0x13b84b,_0x14e07b={'ZGvoB':function(_0x500dad,_0x2ce944){return _0x137d4f['JcmvJ'](_0x500dad,_0x2ce944);},'egxGF':_0x137d4f[_0x551643(0x124)]},_0xe06fd2=[];_0x3fd1b4[_0x199a01][_0x137d4f[_0x551643(0x1c8)]][_0x551643(0x15d)](_0x34a9bb=>{const _0x423bab=_0x551643;_0x14e07b[_0x423bab(0x1a0)](_0x34a9bb[_0x423bab(0x1fa)],_0x14e07b['egxGF'])&&(_0x34a9bb['titlePath']=()=>_0x34a9bb[_0x423bab(0x13b)],_0xe06fd2[_0x423bab(0x1cb)](_0x34a9bb));}),_0x137d4f[_0x551643(0x1cf)](_0xe06fd2[_0x551643(0x1f2)],0x0)&&(Base[_0x551643(0x19d)](),Base[_0x551643(0x19d)](_0x137d4f[_0x551643(0x1f6)](_0x3b01f7),chalk[_0x551643(0x219)][_0x551643(0x14d)](_0x199a01)),Base[_0x551643(0x183)](_0xe06fd2));});}}}async function run(_0x271627,_0x1c0694){const _0x177945=a28_0xd952dd,_0x5ad143={'CVxLG':function(_0x3c52b8,_0x2611a8,_0x23e3ae,_0x1faf6b){return _0x3c52b8(_0x2611a8,_0x23e3ae,_0x1faf6b);},'ILMxt':_0x177945(0x16b),'bgBjD':_0x177945(0x1d5),'TLxcp':_0x177945(0x160),'iMMhY':function(_0x41590a,_0x259bf9,_0x46e661,_0x3b713d){return _0x41590a(_0x259bf9,_0x46e661,_0x3b713d);},'tjaGs':_0x177945(0x21e),'zVvER':'--disable-test-observability','UqbAn':'--disable-browserstack-automation','jwIdx':function(_0x771a01,_0x1edcee){return _0x771a01!=_0x1edcee;},'Vqyui':_0x177945(0x190),'iinNr':_0x177945(0x15e),'fSIei':_0x177945(0x12d),'RbQXD':_0x177945(0x1a4),'jXCdt':function(_0x12abd9,_0x2eb69a){return _0x12abd9(_0x2eb69a);},'eIDHi':function(_0x28d9d4,_0x2e6b07,_0x39f28d){return _0x28d9d4(_0x2e6b07,_0x39f28d);},'MuiDT':_0x177945(0x19f),'YzwLr':_0x177945(0x20f),'eHSwB':_0x177945(0x182),'MGVAG':function(_0x28eeb1,_0x1a173d,_0x3e4cff,_0x1a6e26){return _0x28eeb1(_0x1a173d,_0x3e4cff,_0x1a6e26);},'gzeCB':function(_0x2a6e04,_0xaef731){return _0x2a6e04*_0xaef731;},'BcVPN':function(_0x5f208b,_0x2ff76a){return _0x5f208b(_0x2ff76a);},'olYsV':function(_0x3a668a,_0x14f74e){return _0x3a668a!==_0x14f74e;},'qQUGy':function(_0xb11bca,_0x2b36a3,_0x49bd56,_0x1eaed6){return _0xb11bca(_0x2b36a3,_0x49bd56,_0x1eaed6);}};process['argv']['includes'](_0x5ad143['zVvER'])&&(process[_0x177945(0x181)][_0x177945(0x14c)]=![]);process[_0x177945(0x21b)][_0x177945(0x136)](_0x5ad143[_0x177945(0x16e)])&&(process['env'][_0x177945(0x1e3)]=![]);const _0x1bd26b=new BrowserStackSetup(_0x271627,_0x5ad143[_0x177945(0x1ec)]);helper[_0x177945(0x16c)](_0x1bd26b[_0x177945(0x1dc)],_0x271627);helper[_0x177945(0x20b)]()?(await _0x1bd26b[_0x177945(0x18c)](),await helper[_0x177945(0x173)](_0x1bd26b[_0x177945(0x198)])):await _0x1bd26b[_0x177945(0x135)]();const _0x5d106f=[];let _0x48051d=[];if(!_0x1bd26b[_0x177945(0x198)])return;_0x5ad143[_0x177945(0x1bf)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x171)],null)&&(process['env'][_0x177945(0x158)]=_0x1bd26b['config'][_0x177945(0x171)]);!helper[_0x177945(0x128)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x192)])&&(process[_0x177945(0x181)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1bd26b[_0x177945(0x198)]['accessibility']);!helper[_0x177945(0x128)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x200)])&&(process[_0x177945(0x181)][_0x177945(0x1fe)]=JSON[_0x177945(0x132)](_0x1bd26b[_0x177945(0x198)]['accessibilityOptions']));const {extension:extension=['js',_0x5ad143[_0x177945(0x1d6)],_0x5ad143[_0x177945(0x17e)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5ad143[_0x177945(0x1bd)]]}=_0x271627,_0xa7149b={..._0x271627};_0xa7149b[_0x177945(0x149)]=null;const _0x3e1f20=_0xa7149b;let _0x3250e1;if(testOpsHelper[_0x177945(0x1a7)]()&&testOpsHelper[_0x177945(0x212)]()){let _0x325653=process[_0x177945(0x181)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x177945(0x128)](_0x1bd26b[_0x177945(0x134)])&&_0x1bd26b[_0x177945(0x134)][_0x177945(0x13e)](_0x5ad143[_0x177945(0x1c5)])&&(_0x325653=_0x1bd26b[_0x177945(0x134)]['get'](_0x5ad143['RbQXD'])),_0x3250e1=testOpsHelper[_0x177945(0x177)](_0x325653);}if(helper[_0x177945(0x128)](_0x3250e1)){const _0x25e64c={};_0x25e64c[_0x177945(0x1b9)]=ignore,_0x25e64c[_0x177945(0x169)]=extension,_0x25e64c[_0x177945(0x19e)]=file,_0x25e64c[_0x177945(0x14f)]=recursive,_0x25e64c[_0x177945(0x138)]=sort,_0x25e64c[_0x177945(0x21d)]=spec,_0x3250e1=_0x5ad143[_0x177945(0x203)](collectFiles,_0x25e64c),_0x5ad143[_0x177945(0x154)](nestedKeyValue,_0x3250e1,[_0x5ad143['MuiDT']])&&(_0x3250e1=_0x3250e1['files']);}if(!helper[_0x177945(0x20b)]()){const _0x52dd2f=0x1,_0x15abec={..._0x3e1f20};_0x15abec['spec']=[..._0x3250e1],_0x5d106f[_0x177945(0x1cb)]({'mochaOpts':_0x15abec,'configuration':{'platform':os['platform']()}}),logger[_0x177945(0x15c)](_0x5ad143[_0x177945(0x1be)]),logger[_0x177945(0x15c)](_0x5ad143['eHSwB']),_0x5ad143[_0x177945(0x1ff)](parallelTestRun,_0x5d106f,_0x52dd2f,_0x1bd26b)['then'](_0x541816=>{const _0x4941d2=_0x177945;PerformanceTester[_0x4941d2(0x166)](PerformanceEvents['SDK_CLEANUP']),_0x5ad143[_0x4941d2(0x17f)](printStats,_0x541816,_0x271627[_0x4941d2(0x174)],_0x271627[_0x4941d2(0x196)]||_0x271627[_0x5ad143[_0x4941d2(0x1e8)]]);})['finally'](()=>{const _0x1733fe=_0x177945;PerformanceTester[_0x1733fe(0x166)](PerformanceEvents[_0x1733fe(0x1fb)]);try{const {browserstackFolderPath:_0x5d0d8c,tcgConfigPath:_0x540424}=helper[_0x1733fe(0x1b5)]();fs[_0x1733fe(0x1c6)](_0x540424),fs[_0x1733fe(0x1a1)](_0x5d0d8c);}catch(_0x1cbb62){logger['debug'](_0x5ad143[_0x1733fe(0x159)],_0x1cbb62);}try{utilities[_0x1733fe(0x1d1)](_0x5ad143[_0x1733fe(0x1ce)],{},_0x1bd26b[_0x1733fe(0x198)],_0x1bd26b[_0x1733fe(0x1dc)]);}catch(_0x1a9662){logger[_0x1733fe(0x1db)](_0x1733fe(0x208)+_0x1a9662[_0x1733fe(0x178)]);}try{helper[_0x1733fe(0x195)]();}catch(_0x1e6e3c){logger[_0x1733fe(0x1db)](_0x1733fe(0x16d)+_0x1e6e3c);}testOpsHelper[_0x1733fe(0x18d)]();});}else{const _0x386fa2=helper[_0x177945(0x1ba)](_0x1bd26b[_0x177945(0x198)]);let _0x556036=helper[_0x177945(0x1ed)](_0x1bd26b['config']);_0x48051d=helper[_0x177945(0x1ab)](_0x1bd26b['config'],_0x386fa2,constants['FRAMEWORKS'][_0x177945(0x127)]);helper[_0x177945(0x167)]()[_0x177945(0x202)]&&(_0x556036=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x2911bf;const _0x10c1ea=_0x1bd26b[_0x177945(0x198)][_0x177945(0x1d4)]||helper[_0x177945(0x21c)](_0x271627,_0x1c0694,_0x1bd26b[_0x177945(0x198)],constants[_0x177945(0x14a)][_0x177945(0x127)])||0x1;helper[_0x177945(0x18e)](_0x1bd26b['config'])?_0x2911bf=_0x5ad143[_0x177945(0x1c1)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x1de)]['length'],_0x10c1ea):_0x2911bf=_0x10c1ea;const _0x2c975d=_0x5ad143['BcVPN'](getPercyOptions,_0x1bd26b['config']);if(_0x5ad143['olYsV'](_0x1bd26b[_0x177945(0x198)][_0x177945(0x1d4)],0x1))_0x3250e1[_0x177945(0x15d)](_0x455714=>{const _0x401ed0=_0x177945,_0x1c7d3c=[];_0x48051d['forEach']((_0x5c111e,_0x3e2f30)=>{const _0x3999f3=a28_0x406d,_0xd6a858={};_0xd6a858[_0x3999f3(0x21d)]=[_0x455714],_0x1c7d3c[_0x3999f3(0x1cb)]({'mochaOpts':Object[_0x3999f3(0x15b)]({},_0x3e1f20,_0xd6a858),'configuration':{'server':_0x556036,'capability':_0x5c111e,'proxySettings':_0x1bd26b['config'][_0x3999f3(0x20d)],'platform':helper['getPlatformName'](_0x5c111e),'browserStackLogLevel':_0x1bd26b[_0x3999f3(0x198)][_0x3999f3(0x1b3)],'platformIndex':_0x3e2f30,'browserStackPercyOptions':_0x2c975d,'platformCaps':Object[_0x3999f3(0x15b)]({'index':_0x3e2f30},_0x1bd26b[_0x3999f3(0x198)][_0x3999f3(0x1de)][_0x3e2f30])}});}),_0x5d106f[_0x401ed0(0x1cb)](..._0x1c7d3c);});else{const _0x2da6a6=[];_0x48051d['forEach']((_0xaee3c4,_0x513955)=>{const _0x39b253=_0x177945;let _0x4c5194=Object[_0x39b253(0x15b)]({},_0x3e1f20);testOpsHelper[_0x39b253(0x1a7)]()&&testOpsHelper[_0x39b253(0x212)]()&&(_0x4c5194={..._0x4c5194,'spec':[..._0x3250e1]}),_0x2da6a6[_0x39b253(0x1cb)]({'mochaOpts':_0x4c5194,'configuration':{'server':_0x556036,'capability':_0xaee3c4,'proxySettings':_0x1bd26b['config'][_0x39b253(0x20d)],'platform':helper[_0x39b253(0x1f5)](_0xaee3c4),'browserStackLogLevel':_0x1bd26b[_0x39b253(0x198)][_0x39b253(0x1b3)],'platformIndex':_0x513955,'browserStackPercyOptions':_0x2c975d,'platformCaps':Object[_0x39b253(0x15b)]({'index':_0x513955},_0x1bd26b[_0x39b253(0x198)][_0x39b253(0x1de)][_0x513955])}});}),_0x5d106f[_0x177945(0x1cb)](..._0x2da6a6);}logger[_0x177945(0x15c)](_0x177945(0x204)+_0x1bd26b[_0x177945(0x198)]['platforms'][_0x177945(0x1f2)]+'\x20platforms'),logger[_0x177945(0x15c)](_0x5ad143[_0x177945(0x123)]);let _0x448ff7;_0x5ad143[_0x177945(0x18a)](parallelTestRun,_0x5d106f,_0x2911bf,_0x1bd26b)[_0x177945(0x191)](_0x1b2b8a=>{const _0x3761aa=_0x177945;PerformanceTester[_0x3761aa(0x166)](PerformanceEvents[_0x3761aa(0x1fb)]),_0x448ff7=_0x1b2b8a,_0x5ad143['iMMhY'](printStats,_0x1b2b8a,_0x271627[_0x3761aa(0x174)],_0x271627[_0x3761aa(0x196)]||_0x271627[_0x5ad143['ILMxt']]);})[_0x177945(0x12c)](async()=>{const _0x378daf=_0x177945;PerformanceTester[_0x378daf(0x166)](PerformanceEvents['SDK_CLEANUP']),_0x1bd26b[_0x378daf(0x1eb)]=helper[_0x378daf(0x152)](_0x448ff7,_0x5ad143[_0x378daf(0x1ec)]),await utilities[_0x378daf(0x19a)](_0x1bd26b),testOpsHelper['printBuildLink']();});}}module[a28_0xd952dd(0x14e)]=run;
|
|
2
|
+
'use strict';const a28_0x148d95=a28_0x23cb;(function(_0x107b78,_0x181713){const _0x30591c=a28_0x23cb,_0x138471=_0x107b78();while(!![]){try{const _0x4b5004=parseInt(_0x30591c(0x20f))/0x1+parseInt(_0x30591c(0x1cd))/0x2+-parseInt(_0x30591c(0x1d6))/0x3*(-parseInt(_0x30591c(0x221))/0x4)+-parseInt(_0x30591c(0x1ad))/0x5+-parseInt(_0x30591c(0x282))/0x6+-parseInt(_0x30591c(0x1dc))/0x7*(parseInt(_0x30591c(0x287))/0x8)+parseInt(_0x30591c(0x24c))/0x9;if(_0x4b5004===_0x181713)break;else _0x138471['push'](_0x138471['shift']());}catch(_0x29642d){_0x138471['push'](_0x138471['shift']());}}}(a28_0x5187,0x40c5a));const chalk=require(a28_0x148d95(0x1e2)),logger=require(a28_0x148d95(0x258))[a28_0x148d95(0x222)],{default:BrowserStackSetup}=require(a28_0x148d95(0x1c3)),helper=require(a28_0x148d95(0x1ce)),utilities=require(a28_0x148d95(0x187)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x148d95(0x233)),{requireModule,nestedKeyValue}=require(a28_0x148d95(0x1ce)),{getPercyOptions}=require(a28_0x148d95(0x20b)),Base=requireModule(a28_0x148d95(0x252),a28_0x148d95(0x26c)),collectFiles=requireModule(a28_0x148d95(0x192),a28_0x148d95(0x26c)),constants=require('../utils/constants'),PerformanceTester=require(a28_0x148d95(0x275)),PerformanceEvents=require(a28_0x148d95(0x202))[a28_0x148d95(0x1c0)],centralScannerConstants=require(a28_0x148d95(0x218));function tag(_0x48ea2a,_0x4ecf56,_0x54a8b1,_0xc8b303){const _0x4a4b13=a28_0x148d95,_0x6125d={'RiURh':function(_0x52b4d4,_0x269446){return _0x52b4d4+_0x269446;},'pYJvS':function(_0x282b7f,_0x3e2388){return _0x282b7f+_0x3e2388;},'GLmfO':function(_0x54fafa,_0x2c04d6){return _0x54fafa+_0x2c04d6;},'sqcFi':function(_0x46f8c4,_0x478ed2){return _0x46f8c4(_0x478ed2);},'MAyVf':function(_0x18c203,_0x5df8a1){return _0x18c203+_0x5df8a1;},'oLOdv':function(_0x49761b,_0x3a1c57){return _0x49761b+_0x3a1c57;},'bGdqi':function(_0x3c4ac8,_0x10980b){return _0x3c4ac8+_0x10980b;},'ZJgoV':function(_0x53f56d,_0xa2ee1){return _0x53f56d+_0xa2ee1;},'oyWwe':function(_0x30c126,_0x1534e9){return _0x30c126+_0x1534e9;}},_0xac30e9=_0x54a8b1?'/>':'>',_0xe29da6=[];let _0x4dc677;for(const _0x59e397 in _0x4ecf56){Object[_0x4a4b13(0x257)][_0x4a4b13(0x203)][_0x4a4b13(0x209)](_0x4ecf56,_0x59e397)&&_0xe29da6[_0x4a4b13(0x25b)](_0x6125d[_0x4a4b13(0x286)](_0x6125d[_0x4a4b13(0x1ba)](_0x6125d[_0x4a4b13(0x1b6)](_0x59e397,'=\x22'),_0x6125d[_0x4a4b13(0x1a2)](escape,_0x4ecf56[_0x59e397])),'\x22'));}return _0x4dc677=_0x6125d[_0x4a4b13(0x286)](_0x6125d[_0x4a4b13(0x1ea)](_0x6125d['oLOdv']('<',_0x48ea2a),_0xe29da6[_0x4a4b13(0x19f)]?_0x6125d[_0x4a4b13(0x23a)]('\x20',_0xe29da6[_0x4a4b13(0x23f)]('\x20')):''),_0xac30e9),_0xc8b303&&(_0x4dc677+=_0x6125d[_0x4a4b13(0x286)](_0x6125d[_0x4a4b13(0x213)](_0x6125d[_0x4a4b13(0x196)](_0xc8b303,'</'),_0x48ea2a),_0xac30e9)),_0x4dc677;}let xunitContent='';function xunitWrite(_0x179c07){xunitContent+=_0x179c07;}function xunitTest(_0x336fad,_0x50c32d){const _0xdcceb0=a28_0x148d95,_0x42d15d={'WKlmw':function(_0x5da8e6,_0x36e09b){return _0x5da8e6/_0x36e09b;},'bKTVy':function(_0x470da3,_0x4b2590){return _0x470da3===_0x4b2590;},'Vpgiz':_0xdcceb0(0x262),'rsmBU':function(_0x5cfbca,_0x4160d5){return _0x5cfbca+_0x4160d5;},'PTTsc':function(_0x26f911,_0x43b2c4){return _0x26f911(_0x43b2c4);},'LeeCB':function(_0x1ac259,_0x1d38e9,_0x4b220c,_0x21de91,_0x59d173){return _0x1ac259(_0x1d38e9,_0x4b220c,_0x21de91,_0x59d173);},'OZxQN':'testcase','ANGiy':_0xdcceb0(0x1a6),'qeIlW':function(_0x3327c9,_0x59427c){return _0x3327c9+_0x59427c;},'BaqGx':function(_0x1a6369,_0xb51909,_0x4cd7f3,_0x2e526b){return _0x1a6369(_0xb51909,_0x4cd7f3,_0x2e526b);},'GhDsN':'skipped','nQJUD':function(_0x12f869,_0x4d93f2,_0x5789a6,_0x4786bd){return _0x12f869(_0x4d93f2,_0x5789a6,_0x4786bd);}};Base[_0xdcceb0(0x1c9)]=![];var _0x2b3374={'classname':_0x336fad[_0xdcceb0(0x27c)],'name':_0x336fad[_0xdcceb0(0x223)],'time':_0x42d15d[_0xdcceb0(0x1e3)](_0x336fad[_0xdcceb0(0x285)],0x3e8)||0x0,'platform':_0x50c32d};if(_0x42d15d[_0xdcceb0(0x205)](_0x336fad[_0xdcceb0(0x1aa)],_0x42d15d[_0xdcceb0(0x269)])){var _0x5a2f72=_0x336fad[_0xdcceb0(0x279)],_0x205676=!Base['hideDiff']&&Base[_0xdcceb0(0x254)](_0x5a2f72)?_0x42d15d[_0xdcceb0(0x228)]('\x0a',Base[_0xdcceb0(0x22a)](_0x5a2f72[_0xdcceb0(0x24f)],_0x5a2f72[_0xdcceb0(0x229)])):'';_0x42d15d[_0xdcceb0(0x231)](xunitWrite,_0x42d15d[_0xdcceb0(0x219)](tag,_0x42d15d['OZxQN'],_0x2b3374,![],_0x42d15d[_0xdcceb0(0x219)](tag,_0x42d15d[_0xdcceb0(0x270)],{},![],_0x42d15d[_0xdcceb0(0x228)](_0x42d15d[_0xdcceb0(0x228)](_0x42d15d['qeIlW'](_0x42d15d[_0xdcceb0(0x231)](escape,_0x5a2f72[_0xdcceb0(0x182)]),_0x42d15d[_0xdcceb0(0x231)](escape,_0x205676)),'\x0a'),_0x42d15d[_0xdcceb0(0x231)](escape,_0x5a2f72[_0xdcceb0(0x1ab)])))));}else _0x336fad[_0xdcceb0(0x25c)]?_0x42d15d[_0xdcceb0(0x231)](xunitWrite,_0x42d15d[_0xdcceb0(0x219)](tag,_0x42d15d[_0xdcceb0(0x240)],_0x2b3374,![],_0x42d15d[_0xdcceb0(0x1b4)](tag,_0x42d15d['GhDsN'],{},!![]))):_0x42d15d[_0xdcceb0(0x231)](xunitWrite,_0x42d15d['nQJUD'](tag,_0x42d15d[_0xdcceb0(0x240)],_0x2b3374,!![]));}function a28_0x5187(){const _0x4f57dd=['fullTitle','GUZlK','\x20total','rerunTests','ZpPvW','printBuildLink','1514514hfRfqe','testsPassed','jYGoR','duration','RiURh','160oMUMJw','passed','toUTCString','message','handleApp','jTqOk','bgRedBright','NiyHI','../../helpers/utilities','Brtwl','platforms','green','parseFileNames','Couldn\x27t\x20write\x20xunit\x20result\x20to','dZkOJ','JduyQ','pmvMH','log','red','mocha/lib/cli/collect-files.js','getTCGConfigFilePaths','ZJmIU','BROWSERSTACK_GRR_US_HUB_URL','oyWwe','xMXeJ','nxjGq','Listing\x20all\x20the\x20failures','Now,\x20showing\x20logs\x20from\x20mocha','ZQndp','failures','EVQkS','indexOf','length','getUserWorkerCount','then','sqcFi','file','KAevB','output','failure','bpCSv','logLevel','dVHBQ','state','stack','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','1330865iWWGqR','JGwbG','QDQJs','files','KbmCr','IYrGi','MhRUO','BaqGx','includes','GLmfO','\x0a\x0a\x0a','PmUgj','finalExecution','pYJvS','uodtC','error','sort','GUmDn','COaxZ','EVENTS','jkRkx','Tests:\x20\x20\x20\x20\x20\x20\x20','../../helpers/BrowserStackSetup','lNNBB','errorMessage','env','proxySettings','UJLwS','useColors','rmdirSync','DYirC','FRAMEWORKS','47958ROKKZF','../../helpers/helper','TZKkP','BROWSERSTACK_TEST_OBSERVABILITY_YML','LkjgT','initialize','Running\x20your\x20mocha\x20tests','parse','DnxlO','234LrezDV','testObservability','QlhqG','xZrKe','cjs','assign','51814RfhmNr','jrNcs','****\x20FAILURES\x20****','kpcuL','json','mjs','chalk','WKlmw','fCuyd','titlePath','RhazM','shouldReRunObservabilityTests','totalTests','getPlatformName','MAyVf','IACDw','PbEVL','kERDE','results','nTiSg','titlePathV','WzPhF','accessibilityOptions','bgBlueBright','framework','cliConfig','testsuite','pending','Total\x20Suites:\x20','MOCHA','doc','ILbOW','lxYjl','--disable-browserstack-automation','getHubUrl','isTestObservabilitySession','ignore','Setting\x20non\x20exit\x20code\x20for\x20failures','../../helpers/performance/constants','hasOwnProperty','glJCc','bKTVy','consoleLog','Running\x20your\x20mocha\x20tests\x20across\x20','config','call','UMjwg','../../helpers/percy/utils','zdWMo','reporterOptions','testsFailed','361422lHSDvG','zWCyq','Writing\x20xunit\x20result\x20to\x20file','map','ZJgoV','EPdbz','writeFileSync','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','QKHGW','../../helpers/central-scanner/constants','LeeCB','BROWSERSTACK_RERUN_TESTS','xunit','start','qXVLr','kVgsS','spec','suite','3824JYBZrg','winstonLogger','title','IKavI','IGaHk','BROWSERSTACK_AUTOMATION','keys','rsmBU','expected','generateDiff','error\x20removing\x20tcg\x20config\x20file','debug','BROWSERSTACK_TEST_OBSERVABILITY','getOwnPropertyNames','fcZWi','unlinkSync','PTTsc','egvpd','../test-runner','mWXhe','speed','extension','isUndefined','fireFunnelTestEvent','tsyND','bGdqi','bold','add','argv','isBrowserstackInfra','join','OZxQN','yellow','UOGOe','list','notifyUpdate','Total\x20Platforms:\x20','wkNub','getCentralUser','PvAYX','parallelsPerPlatform','ikkHO','\x20skipped','4247721XyzXav','reporter','QZDXs','actual','okNpU','testSuites','mocha/lib/reporters/base.js','platform','showDiff','jBzJO','accessibility','prototype','../../helpers/logger','useW3C','finally','push','isPending','stringify','info','Mocha\x20Tests','forEach','getErrorMessageFromResults','failed','SDK_CLEANUP','wKbQv','SjMbB','EUfTa','min','pKFtX','Vpgiz','Couldn\x27t\x20write\x20json\x20result\x20to','rmHSv','mocha','suiteName','object','ixCLS','ANGiy','OSPsG','stats','testsPending','setUserConfigPath','../../helpers/performance/performance-tester','cinhg','central_scanner','size','err','sJDva','pUjZO'];a28_0x5187=function(){return _0x4f57dd;};return a28_0x5187();};function getStats(_0x50ace0){const _0xf9616a=a28_0x148d95,_0x2f99a4={};_0x2f99a4[_0xf9616a(0x1ef)]=_0xf9616a(0x220),_0x2f99a4[_0xf9616a(0x1f1)]=_0xf9616a(0x288),_0x2f99a4[_0xf9616a(0x271)]='failed',_0x2f99a4[_0xf9616a(0x1a4)]=_0xf9616a(0x1ee);const _0xd00a41=_0x2f99a4,_0x517a1c=Object[_0xf9616a(0x227)](_0x50ace0);let _0x115715=0x0,_0x6f7c97=0x0,_0x1e269e=0x0,_0x494dc2=0x0;const _0x3bfb0d=new Set();_0x517a1c[_0xf9616a(0x260)](_0x31ef31=>{const _0x3328bc=_0xf9616a,_0x39cdeb={};_0x39cdeb[_0x3328bc(0x1be)]=_0xd00a41[_0x3328bc(0x1ef)],_0x39cdeb[_0x3328bc(0x276)]=_0xd00a41[_0x3328bc(0x1f1)],_0x39cdeb[_0x3328bc(0x18e)]=_0xd00a41[_0x3328bc(0x271)];const _0xf0a0e5=_0x39cdeb;_0x50ace0[_0x31ef31][_0xd00a41[_0x3328bc(0x1a4)]][_0x3328bc(0x260)](_0x7f94b9=>{const _0x4b42e0=_0x3328bc;_0x3bfb0d[_0x4b42e0(0x23c)](_0x7f94b9[_0xf0a0e5[_0x4b42e0(0x1be)]]),_0x115715++;switch(_0x7f94b9[_0x4b42e0(0x1aa)]){case _0xf0a0e5['cinhg']:_0x1e269e++;break;case _0xf0a0e5['JduyQ']:_0x6f7c97++;break;default:_0x494dc2++;}});});const _0x185b1f={};return _0x185b1f[_0xf9616a(0x251)]=_0x3bfb0d[_0xf9616a(0x278)],_0x185b1f['platforms']=_0x517a1c,_0x185b1f[_0xf9616a(0x1e8)]=_0x115715,_0x185b1f[_0xf9616a(0x20e)]=_0x6f7c97,_0x185b1f['testsPassed']=_0x1e269e,_0x185b1f['testsPending']=_0x494dc2,_0x185b1f;}function errorJSON(_0x3ad3e4){const _0x1f6b39=a28_0x148d95;var _0x1001e7={};return Object[_0x1f6b39(0x22e)](_0x3ad3e4)[_0x1f6b39(0x260)](function(_0x31e5e4){_0x1001e7[_0x31e5e4]=_0x3ad3e4[_0x31e5e4];},_0x3ad3e4),_0x1001e7;}function cleanCycles(_0x3322cc){const _0xd7b5a9=a28_0x148d95,_0x34ef48={};_0x34ef48[_0xd7b5a9(0x18d)]=function(_0x1f4556,_0x54440f){return _0x1f4556===_0x54440f;},_0x34ef48[_0xd7b5a9(0x1c4)]=_0xd7b5a9(0x26e),_0x34ef48[_0xd7b5a9(0x1eb)]=function(_0x245e0c,_0x3d51e5){return _0x245e0c!==_0x3d51e5;},_0x34ef48[_0xd7b5a9(0x21e)]=function(_0x2a5396,_0x3e413f){return _0x2a5396+_0x3e413f;};const _0x4cac2f=_0x34ef48;var _0x38637a=[];return JSON[_0xd7b5a9(0x1d4)](JSON[_0xd7b5a9(0x25d)](_0x3322cc,function(_0x22a09c,_0x3b537c){const _0x57e23=_0xd7b5a9;if(_0x4cac2f[_0x57e23(0x18d)](typeof _0x3b537c,_0x4cac2f[_0x57e23(0x1c4)])&&_0x4cac2f[_0x57e23(0x1eb)](_0x3b537c,null)){if(_0x4cac2f[_0x57e23(0x1eb)](_0x38637a[_0x57e23(0x19e)](_0x3b537c),-0x1))return _0x4cac2f[_0x57e23(0x21e)]('',_0x3b537c);_0x38637a[_0x57e23(0x25b)](_0x3b537c);}return _0x3b537c;}));}function clean(_0x3d94bd){const _0x564546=a28_0x148d95,_0x45041d={'ixCLS':function(_0x3340eb,_0x1dbf82){return _0x3340eb instanceof _0x1dbf82;},'KbmCr':function(_0x4c4336,_0x2816c1){return _0x4c4336(_0x2816c1);},'DnxlO':function(_0x425db2,_0x4e0b61){return _0x425db2(_0x4e0b61);}};var _0xd4b0c7=_0x3d94bd[_0x564546(0x279)]||{};return _0x45041d[_0x564546(0x26f)](_0xd4b0c7,Error)&&(_0xd4b0c7=_0x45041d[_0x564546(0x1b1)](errorJSON,_0xd4b0c7)),{'title':_0x3d94bd[_0x564546(0x223)],'fullTitle':_0x3d94bd[_0x564546(0x27c)],'file':_0x3d94bd[_0x564546(0x1a3)],'duration':_0x3d94bd[_0x564546(0x285)],'currentRetry':_0x3d94bd['currentRetry'],'speed':_0x3d94bd[_0x564546(0x235)],'err':_0x45041d[_0x564546(0x1d5)](cleanCycles,_0xd4b0c7)};}function a28_0x23cb(_0xf0cf1c,_0x1a9464){const _0x518786=a28_0x5187();return a28_0x23cb=function(_0x23cb9d,_0x1191e8){_0x23cb9d=_0x23cb9d-0x182;let _0xdadde8=_0x518786[_0x23cb9d];return _0xdadde8;},a28_0x23cb(_0xf0cf1c,_0x1a9464);}function printStats(_0x394798,_0x4901dc=a28_0x148d95(0x21f),_0x55d6f1={}){const _0x5b7306=a28_0x148d95,_0x162e43={'jBzJO':function(_0xcadc32,_0x4255ca){return _0xcadc32(_0x4255ca);},'pKFtX':function(_0x44ec72,_0x20f3a7){return _0x44ec72===_0x20f3a7;},'wKbQv':'passed','IKavI':'passes','sJDva':'failed','fcZWi':_0x5b7306(0x19c),'COaxZ':_0x5b7306(0x1f7),'EPdbz':_0x5b7306(0x1ee),'glJCc':function(_0x319c11,_0x335e49){return _0x319c11===_0x335e49;},'MhRUO':function(_0x2c7a06,_0x29a13a){return _0x2c7a06*_0x29a13a;},'zdWMo':function(_0x4dced1,_0x3403b1,_0x567af9){return _0x4dced1(_0x3403b1,_0x567af9);},'jTqOk':function(_0x191b26,_0x500b49){return _0x191b26===_0x500b49;},'ILbOW':function(_0x397b7e,_0x273c12){return _0x397b7e>_0x273c12;},'ydobP':function(_0x4d9253){return _0x4d9253();},'LSNax':function(_0xea66c3,_0x2bb238){return _0xea66c3===_0x2bb238;},'xZrKe':_0x5b7306(0x1fa),'CdwDF':_0x5b7306(0x201),'eDfQB':'Printing\x20stats\x20of\x20tests','ZQndp':function(_0x19b0a2,_0xbbe865){return _0x19b0a2+_0xbbe865;},'IHYAg':_0x5b7306(0x245),'lxYjl':_0x5b7306(0x1f8),'bpCSv':function(_0x42ffc7,_0x331172){return _0x42ffc7+_0x331172;},'xMXeJ':_0x5b7306(0x1c2),'UJLwS':function(_0x42b5ba,_0x4d0d5e){return _0x42b5ba>_0x4d0d5e;},'HgrTz':function(_0xe36098,_0x50bae2){return _0xe36098+_0x50bae2;},'dVHBQ':function(_0x319e9f,_0x149e90){return _0x319e9f+_0x149e90;},'jYGoR':_0x5b7306(0x1b7),'zWCyq':_0x5b7306(0x1e0),'Brtwl':'Writing\x20json\x20result\x20to\x20file','jrNcs':_0x5b7306(0x26a),'EUfTa':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','RhazM':function(_0x32069e,_0x1b14bb){return _0x32069e===_0x1b14bb;},'nxjGq':_0x5b7306(0x21b),'yxXch':_0x5b7306(0x25f),'EVQkS':function(_0x433354,_0x4fc279){return _0x433354||_0x4fc279;},'PmUgj':function(_0x24df28,_0x45f329,_0x9dd652,_0x4d6c27){return _0x24df28(_0x45f329,_0x9dd652,_0x4d6c27);},'uodtC':_0x5b7306(0x1f6),'wkNub':function(_0x5595ea,_0x4d781c){return _0x5595ea-_0x4d781c;},'egvpd':function(_0x30d674,_0x3b6a5b){return _0x30d674-_0x3b6a5b;},'kpcuL':function(_0x40f73c,_0x5d9173){return _0x40f73c/_0x5d9173;},'tsyND':function(_0x2067f5,_0x50e08b){return _0x2067f5(_0x50e08b);},'ikkHO':'</testsuite>','QDQJs':_0x5b7306(0x211),'xhhpk':_0x5b7306(0x18c),'ovIgf':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ZJmIU':_0x5b7306(0x199),'IGaHk':_0x5b7306(0x1de)};if(_0x162e43['LSNax'](_0x4901dc,_0x162e43[_0x5b7306(0x1d9)]))return;const _0x435e3a=0x0,_0x10653d=()=>{const _0x1c2040=_0x5b7306;return _0x162e43[_0x1c2040(0x255)](Array,_0x435e3a)[_0x1c2040(0x23f)]('\x20\x20');},{testSuites:_0x597c03,platforms:_0x2a8969,totalTests:_0x4955b1,testsFailed:_0x2889e3,testsPassed:_0x2bbcc4,testsPending:_0x49042c}=_0x162e43['jBzJO'](getStats,_0x394798);_0x162e43['ILbOW'](_0x2889e3,0x0)&&(logger[_0x5b7306(0x22c)](_0x162e43['CdwDF']),process['exitCode']=Math[_0x5b7306(0x267)](_0x2889e3,0xff));logger[_0x5b7306(0x22c)](_0x162e43['eDfQB']);const _0x4ad1fc=''+_0x162e43[_0x5b7306(0x19b)](chalk['bold'](_0x162e43['IHYAg']),_0x2a8969[_0x5b7306(0x19f)]),_0x319a6b=''+_0x162e43[_0x5b7306(0x19b)](chalk[_0x5b7306(0x23b)](_0x162e43[_0x5b7306(0x1fc)]),_0x597c03),_0x173f94=''+_0x162e43[_0x5b7306(0x19b)](_0x162e43['bpCSv'](_0x162e43[_0x5b7306(0x1a7)](chalk['bold'](_0x162e43[_0x5b7306(0x197)]),_0x162e43['ILbOW'](_0x2889e3,0x0)?chalk[_0x5b7306(0x23b)][_0x5b7306(0x191)](_0x2889e3+'\x20failed')+',\x20':''),_0x162e43[_0x5b7306(0x1fb)](_0x49042c,0x0)?chalk['bold'][_0x5b7306(0x241)](_0x49042c+_0x5b7306(0x24b))+',\x20':''),_0x162e43[_0x5b7306(0x1c8)](_0x2bbcc4,0x0)?chalk[_0x5b7306(0x23b)][_0x5b7306(0x18a)](_0x2bbcc4+'\x20passed')+',\x20':'')+_0x4955b1+_0x5b7306(0x27e);console['log'](_0x162e43[_0x5b7306(0x19b)](_0x162e43['HgrTz'](_0x162e43[_0x5b7306(0x19b)](_0x162e43['ZQndp'](_0x162e43[_0x5b7306(0x1a9)](_0x162e43[_0x5b7306(0x284)],_0x4ad1fc),'\x0a'),_0x319a6b),'\x0a'),_0x173f94));if(_0x162e43[_0x5b7306(0x268)](_0x4901dc,_0x162e43[_0x5b7306(0x210)])){const _0xfbe78={},_0x3c975d={};_0x3c975d[_0x5b7306(0x251)]=_0x597c03,_0x3c975d[_0x5b7306(0x189)]=_0x2a8969,_0x3c975d[_0x5b7306(0x20e)]=_0x2889e3,_0x3c975d[_0x5b7306(0x283)]=_0x2bbcc4,_0x3c975d[_0x5b7306(0x273)]=_0x49042c,_0xfbe78[_0x5b7306(0x272)]=_0x3c975d,_0x2a8969[_0x5b7306(0x260)](_0x8d7214=>{const _0xc9c869=_0x5b7306,_0x69857b={'NiyHI':function(_0x456cc8,_0x114646){const _0x1114c7=a28_0x23cb;return _0x162e43[_0x1114c7(0x268)](_0x456cc8,_0x114646);},'tAooj':_0x162e43[_0xc9c869(0x264)],'SjMbB':_0x162e43[_0xc9c869(0x224)],'DYirC':function(_0x1e747a,_0x20f9ad){const _0x408468=_0xc9c869;return _0x162e43[_0x408468(0x255)](_0x1e747a,_0x20f9ad);},'kERDE':function(_0x4189e4,_0x13dab6){const _0x452bc8=_0xc9c869;return _0x162e43[_0x452bc8(0x268)](_0x4189e4,_0x13dab6);},'pmvMH':_0x162e43[_0xc9c869(0x27a)],'QKHGW':_0x162e43[_0xc9c869(0x22f)],'UOGOe':_0x162e43[_0xc9c869(0x1bf)]};_0xfbe78[_0x8d7214]={'pending':[],'failures':[],'passes':[],'tests':_0x394798[_0x8d7214][_0x162e43[_0xc9c869(0x214)]][_0xc9c869(0x212)](clean)},_0x394798[_0x8d7214][_0x162e43[_0xc9c869(0x214)]][_0xc9c869(0x260)](_0x1be9c1=>{const _0x318476=_0xc9c869;if(_0x69857b[_0x318476(0x186)](_0x1be9c1[_0x318476(0x1aa)],_0x69857b['tAooj']))_0xfbe78[_0x8d7214][_0x69857b[_0x318476(0x265)]][_0x318476(0x25b)](_0x69857b[_0x318476(0x1cb)](clean,_0x1be9c1));else _0x69857b[_0x318476(0x1ed)](_0x1be9c1[_0x318476(0x1aa)],_0x69857b[_0x318476(0x18f)])?_0xfbe78[_0x8d7214][_0x69857b[_0x318476(0x217)]][_0x318476(0x25b)](_0x69857b['DYirC'](clean,_0x1be9c1)):_0xfbe78[_0x8d7214][_0x69857b[_0x318476(0x242)]][_0x318476(0x25b)](_0x69857b['DYirC'](clean,_0x1be9c1));});});if(_0x55d6f1[_0x5b7306(0x1a5)])try{logger[_0x5b7306(0x22c)](_0x162e43[_0x5b7306(0x188)],_0x55d6f1[_0x5b7306(0x1a5)]),fs[_0x5b7306(0x215)](_0x55d6f1['output'],JSON[_0x5b7306(0x25d)](_0xfbe78,null,0x3));}catch(_0x4f3be8){logger[_0x5b7306(0x1bc)](_0x162e43[_0x5b7306(0x1dd)],_0x55d6f1[_0x5b7306(0x1a5)]),logger['debug'](_0x4f3be8);}else logger['debug'](_0x162e43[_0x5b7306(0x266)]),console[_0x5b7306(0x190)](JSON[_0x5b7306(0x25d)](_0xfbe78,null,0x3));}else{if(_0x162e43[_0x5b7306(0x1e6)](_0x4901dc,_0x162e43[_0x5b7306(0x198)])){let _0xcf505a;const _0x4dd4b1=_0x162e43['yxXch'];_0x55d6f1&&(_0xcf505a=_0x55d6f1[_0x5b7306(0x26d)]);_0xcf505a=_0x162e43[_0x5b7306(0x19d)](_0xcf505a,_0x4dd4b1);let _0x3d56ae=0x0,_0x572d31=0x0,_0x2365fd=0x0,_0x268399=0x0;_0x2a8969[_0x5b7306(0x260)](_0x2788a7=>{const _0x100add=_0x5b7306;_0x394798[_0x2788a7][_0x162e43[_0x100add(0x214)]]['forEach'](_0x27a383=>{const _0x2f7456=_0x100add;if(_0x162e43[_0x2f7456(0x204)](_0x27a383[_0x2f7456(0x1aa)],_0x162e43[_0x2f7456(0x264)]))_0x3d56ae++;else _0x162e43[_0x2f7456(0x268)](_0x27a383['state'],_0x162e43[_0x2f7456(0x27a)])&&_0x572d31++;_0x2365fd++,_0x268399+=_0x162e43[_0x2f7456(0x1b3)](_0x27a383[_0x2f7456(0x285)],0x1);});}),_0x162e43[_0x5b7306(0x255)](xunitWrite,_0x162e43[_0x5b7306(0x1b8)](tag,_0x162e43[_0x5b7306(0x1bb)],{'name':_0xcf505a,'tests':_0x2365fd,'failures':0x0,'errors':_0x572d31,'skipped':_0x162e43[_0x5b7306(0x246)](_0x162e43[_0x5b7306(0x232)](_0x2365fd,_0x572d31),_0x3d56ae),'timestamp':new Date()[_0x5b7306(0x289)](),'time':_0x162e43[_0x5b7306(0x1df)](_0x268399,0x3e8)||0x0},![])),_0x2a8969[_0x5b7306(0x260)](_0x589c31=>{const _0x1767a5=_0x5b7306,_0x274a5a={'SgSbT':function(_0xd6dab0,_0x327c86,_0x35ecc8){const _0x50385b=a28_0x23cb;return _0x162e43[_0x50385b(0x20c)](_0xd6dab0,_0x327c86,_0x35ecc8);}};_0x394798[_0x589c31][_0x162e43['EPdbz']][_0x1767a5(0x260)](_0x1d3a62=>{_0x274a5a['SgSbT'](xunitTest,_0x1d3a62,_0x589c31);});}),_0x162e43[_0x5b7306(0x239)](xunitWrite,_0x162e43[_0x5b7306(0x24a)]);if(_0x55d6f1['output'])try{logger[_0x5b7306(0x22c)](_0x162e43[_0x5b7306(0x1af)],_0x55d6f1[_0x5b7306(0x1a5)]),fs[_0x5b7306(0x215)](_0x55d6f1['output'],xunitContent);}catch(_0x245bdb){logger[_0x5b7306(0x1bc)](_0x162e43['xhhpk'],_0x55d6f1[_0x5b7306(0x1a5)]),logger['debug'](_0x245bdb);}else logger[_0x5b7306(0x22c)](_0x162e43['ovIgf']),console[_0x5b7306(0x190)](xunitContent);}else{if(_0x162e43[_0x5b7306(0x268)](_0x2889e3,0x0))return;console[_0x5b7306(0x190)](),logger[_0x5b7306(0x22c)](_0x162e43[_0x5b7306(0x194)]),console[_0x5b7306(0x190)](chalk[_0x5b7306(0x23b)][_0x5b7306(0x185)](_0x162e43[_0x5b7306(0x225)])),_0x2a8969[_0x5b7306(0x260)](_0x28fcde=>{const _0x1b01dd=_0x5b7306,_0x2b1b67={'VjzSz':function(_0x50e340,_0x300bae){const _0x4fee89=a28_0x23cb;return _0x162e43[_0x4fee89(0x184)](_0x50e340,_0x300bae);},'mWXhe':_0x162e43[_0x1b01dd(0x27a)]},_0x2b2559=[];_0x394798[_0x28fcde][_0x162e43[_0x1b01dd(0x214)]][_0x1b01dd(0x260)](_0x11da26=>{const _0x260174=_0x1b01dd;_0x2b1b67['VjzSz'](_0x11da26['state'],_0x2b1b67[_0x260174(0x234)])&&(_0x11da26[_0x260174(0x1e5)]=()=>_0x11da26[_0x260174(0x1f0)],_0x2b2559[_0x260174(0x25b)](_0x11da26));}),_0x162e43[_0x1b01dd(0x1fb)](_0x2b2559[_0x1b01dd(0x19f)],0x0)&&(Base['consoleLog'](),Base[_0x1b01dd(0x206)](_0x162e43['ydobP'](_0x10653d),chalk[_0x1b01dd(0x23b)][_0x1b01dd(0x1f3)](_0x28fcde)),Base[_0x1b01dd(0x243)](_0x2b2559));});}}}async function run(_0x42c06d,_0xd3b953){const _0x55f89f=a28_0x148d95,_0x304e1c={'qXVLr':function(_0x2c42f7,_0x1c60e5,_0x162461,_0x186033){return _0x2c42f7(_0x1c60e5,_0x162461,_0x186033);},'UMjwg':'reporter-option','TZKkP':_0x55f89f(0x22b),'IYrGi':'SDKTestSuccessful','JGwbG':function(_0x48a2f5,_0x441afc,_0x43b412,_0x362936){return _0x48a2f5(_0x441afc,_0x43b412,_0x362936);},'rmHSv':_0x55f89f(0x26c),'sGeSs':'--disable-test-observability','NteCY':_0x55f89f(0x1fd),'LkjgT':function(_0x533af5,_0x2b7b82){return _0x533af5!=_0x2b7b82;},'okNpU':_0x55f89f(0x1da),'jkRkx':_0x55f89f(0x1e1),'GUZlK':'test','fCuyd':_0x55f89f(0x27f),'PvAYX':function(_0x23cbbf,_0x2d6f58){return _0x23cbbf(_0x2d6f58);},'QlhqG':function(_0x1bb216,_0x503196,_0x2e3159){return _0x1bb216(_0x503196,_0x2e3159);},'QZDXs':_0x55f89f(0x1b0),'eklgs':_0x55f89f(0x1d3),'PbEVL':_0x55f89f(0x19a),'pUjZO':function(_0x588ad3,_0x35dcf8){return _0x588ad3*_0x35dcf8;},'Xtekf':function(_0x1930c8,_0x27cbef){return _0x1930c8(_0x27cbef);},'ZpPvW':function(_0x4e7fc4,_0x1b183b){return _0x4e7fc4!==_0x1b183b;},'JFHHr':function(_0x400af3,_0x2704c6,_0x391029,_0x16698e){return _0x400af3(_0x2704c6,_0x391029,_0x16698e);}};process[_0x55f89f(0x23d)][_0x55f89f(0x1b5)](_0x304e1c['sGeSs'])&&(process[_0x55f89f(0x1c6)][_0x55f89f(0x22d)]=![]);process[_0x55f89f(0x23d)][_0x55f89f(0x1b5)](_0x304e1c['NteCY'])&&(process['env'][_0x55f89f(0x226)]=![]);const _0xaf33c1=new BrowserStackSetup(_0x42c06d,_0x304e1c[_0x55f89f(0x26b)]);helper[_0x55f89f(0x274)](_0xaf33c1['framework'],_0x42c06d);helper[_0x55f89f(0x23e)]()?(await _0xaf33c1[_0x55f89f(0x1d2)](),await helper[_0x55f89f(0x183)](_0xaf33c1[_0x55f89f(0x208)])):await _0xaf33c1['setupTCGAuth']();const _0x514fca=[];let _0x56be02=[];if(!_0xaf33c1[_0x55f89f(0x208)])return;_0x304e1c[_0x55f89f(0x1d1)](_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x1d7)],null)&&(process[_0x55f89f(0x1c6)][_0x55f89f(0x1d0)]=_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x1d7)]);!helper[_0x55f89f(0x237)](_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x256)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x256)]);!helper[_0x55f89f(0x237)](_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x1f2)])&&(process[_0x55f89f(0x1c6)][_0x55f89f(0x1ac)]=JSON['stringify'](_0xaf33c1[_0x55f89f(0x208)]['accessibilityOptions']));const {extension:extension=['js',_0x304e1c[_0x55f89f(0x250)],_0x304e1c[_0x55f89f(0x1c1)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x304e1c[_0x55f89f(0x27d)]]}=_0x42c06d,_0x584a13={..._0x42c06d};_0x584a13['rootHooks']=null;const _0x418348=_0x584a13;let _0x47fa46;if(testOpsHelper[_0x55f89f(0x1ff)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x233d2e=process[_0x55f89f(0x1c6)][_0x55f89f(0x21a)];!helper[_0x55f89f(0x237)](_0xaf33c1[_0x55f89f(0x1f5)])&&_0xaf33c1[_0x55f89f(0x1f5)]['has'](_0x304e1c[_0x55f89f(0x1e4)])&&(_0x233d2e=_0xaf33c1[_0x55f89f(0x1f5)]['get'](_0x304e1c[_0x55f89f(0x1e4)])),_0x47fa46=testOpsHelper[_0x55f89f(0x18b)](_0x233d2e);}if(helper['isUndefined'](_0x47fa46)){const _0x134e91={};_0x134e91[_0x55f89f(0x200)]=ignore,_0x134e91[_0x55f89f(0x236)]=extension,_0x134e91['file']=file,_0x134e91['recursive']=recursive,_0x134e91[_0x55f89f(0x1bd)]=sort,_0x134e91['spec']=spec,_0x47fa46=_0x304e1c[_0x55f89f(0x248)](collectFiles,_0x134e91),_0x304e1c[_0x55f89f(0x1d8)](nestedKeyValue,_0x47fa46,[_0x304e1c[_0x55f89f(0x24e)]])&&(_0x47fa46=_0x47fa46[_0x55f89f(0x1b0)]);}if(!helper[_0x55f89f(0x23e)]()){const _0x6d5c85=0x1,_0xf1b3fe={..._0x418348};_0xf1b3fe[_0x55f89f(0x21f)]=[..._0x47fa46],_0x514fca[_0x55f89f(0x25b)]({'mochaOpts':_0xf1b3fe,'configuration':{'platform':os[_0x55f89f(0x253)]()}}),logger[_0x55f89f(0x25e)](_0x304e1c['eklgs']),logger[_0x55f89f(0x25e)](_0x304e1c[_0x55f89f(0x1ec)]),_0x304e1c[_0x55f89f(0x21d)](parallelTestRun,_0x514fca,_0x6d5c85,_0xaf33c1)[_0x55f89f(0x1a1)](_0x30be9d=>{const _0x5ba062=_0x55f89f;PerformanceTester[_0x5ba062(0x21c)](PerformanceEvents['SDK_CLEANUP']),_0x304e1c[_0x5ba062(0x21d)](printStats,_0x30be9d,_0x42c06d[_0x5ba062(0x24d)],_0x42c06d[_0x5ba062(0x20d)]||_0x42c06d[_0x304e1c['UMjwg']]);})[_0x55f89f(0x25a)](()=>{const _0x56a4b3=_0x55f89f;PerformanceTester[_0x56a4b3(0x21c)](PerformanceEvents[_0x56a4b3(0x263)]);try{const {browserstackFolderPath:_0x456844,tcgConfigPath:_0x43aebb}=helper[_0x56a4b3(0x193)]();fs[_0x56a4b3(0x230)](_0x43aebb),fs[_0x56a4b3(0x1ca)](_0x456844);}catch(_0x303af5){logger[_0x56a4b3(0x22c)](_0x304e1c[_0x56a4b3(0x1cf)],_0x303af5);}try{utilities[_0x56a4b3(0x238)](_0x304e1c[_0x56a4b3(0x1b2)],{},_0xaf33c1[_0x56a4b3(0x208)],_0xaf33c1[_0x56a4b3(0x1f4)]);}catch(_0x583376){logger[_0x56a4b3(0x22c)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x583376[_0x56a4b3(0x1ab)]);}try{helper[_0x56a4b3(0x244)]();}catch(_0x302b09){logger[_0x56a4b3(0x22c)](_0x56a4b3(0x216)+_0x302b09);}testOpsHelper[_0x56a4b3(0x281)]();});}else{const _0x1f7057=helper[_0x55f89f(0x259)](_0xaf33c1['config']);let _0x5368e8=helper[_0x55f89f(0x1fe)](_0xaf33c1[_0x55f89f(0x208)]);_0x56be02=helper['prepareCapabilities'](_0xaf33c1['config'],_0x1f7057,constants[_0x55f89f(0x1cc)][_0x55f89f(0x1f9)]);helper[_0x55f89f(0x247)]()[_0x55f89f(0x277)]&&(_0x5368e8=centralScannerConstants[_0x55f89f(0x195)]);let _0xf8fe12;const _0x52f091=_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x249)]||helper[_0x55f89f(0x1a0)](_0x42c06d,_0xd3b953,_0xaf33c1['config'],constants[_0x55f89f(0x1cc)][_0x55f89f(0x1f9)])||0x1;helper['validPlatformsPresent'](_0xaf33c1[_0x55f89f(0x208)])?_0xf8fe12=_0x304e1c[_0x55f89f(0x27b)](_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x189)][_0x55f89f(0x19f)],_0x52f091):_0xf8fe12=_0x52f091;const _0x23946f=_0x304e1c['Xtekf'](getPercyOptions,_0xaf33c1['config']);if(_0x304e1c[_0x55f89f(0x280)](_0xaf33c1['config'][_0x55f89f(0x249)],0x1))_0x47fa46[_0x55f89f(0x260)](_0x4a64d3=>{const _0x55a03a=_0x55f89f,_0xf2ab00=[];_0x56be02[_0x55a03a(0x260)]((_0x28474e,_0x22316b)=>{const _0x8f230e=_0x55a03a,_0x2e9fff={};_0x2e9fff[_0x8f230e(0x21f)]=[_0x4a64d3],_0xf2ab00['push']({'mochaOpts':Object['assign']({},_0x418348,_0x2e9fff),'configuration':{'server':_0x5368e8,'capability':_0x28474e,'proxySettings':_0xaf33c1[_0x8f230e(0x208)]['proxySettings'],'platform':helper['getPlatformName'](_0x28474e),'browserStackLogLevel':_0xaf33c1['config'][_0x8f230e(0x1a8)],'platformIndex':_0x22316b,'browserStackPercyOptions':_0x23946f,'platformCaps':Object[_0x8f230e(0x1db)]({'index':_0x22316b},_0xaf33c1[_0x8f230e(0x208)][_0x8f230e(0x189)][_0x22316b])}});}),_0x514fca[_0x55a03a(0x25b)](..._0xf2ab00);});else{const _0x40d5bf=[];_0x56be02['forEach']((_0x42f3de,_0x59507b)=>{const _0x5e7ccb=_0x55f89f;let _0xe532d4=Object[_0x5e7ccb(0x1db)]({},_0x418348);testOpsHelper[_0x5e7ccb(0x1ff)]()&&testOpsHelper[_0x5e7ccb(0x1e7)]()&&(_0xe532d4={..._0xe532d4,'spec':[..._0x47fa46]}),_0x40d5bf['push']({'mochaOpts':_0xe532d4,'configuration':{'server':_0x5368e8,'capability':_0x42f3de,'proxySettings':_0xaf33c1[_0x5e7ccb(0x208)][_0x5e7ccb(0x1c7)],'platform':helper[_0x5e7ccb(0x1e9)](_0x42f3de),'browserStackLogLevel':_0xaf33c1['config'][_0x5e7ccb(0x1a8)],'platformIndex':_0x59507b,'browserStackPercyOptions':_0x23946f,'platformCaps':Object['assign']({'index':_0x59507b},_0xaf33c1[_0x5e7ccb(0x208)][_0x5e7ccb(0x189)][_0x59507b])}});}),_0x514fca['push'](..._0x40d5bf);}logger[_0x55f89f(0x25e)](_0x55f89f(0x207)+_0xaf33c1[_0x55f89f(0x208)][_0x55f89f(0x189)][_0x55f89f(0x19f)]+'\x20platforms'),logger[_0x55f89f(0x25e)](_0x304e1c['PbEVL']);let _0x2bdfd7;_0x304e1c['JFHHr'](parallelTestRun,_0x514fca,_0xf8fe12,_0xaf33c1)[_0x55f89f(0x1a1)](_0xe2530d=>{const _0x43d7a6=_0x55f89f;PerformanceTester[_0x43d7a6(0x21c)](PerformanceEvents[_0x43d7a6(0x263)]),_0x2bdfd7=_0xe2530d,_0x304e1c[_0x43d7a6(0x1ae)](printStats,_0xe2530d,_0x42c06d['reporter'],_0x42c06d[_0x43d7a6(0x20d)]||_0x42c06d[_0x304e1c[_0x43d7a6(0x20a)]]);})[_0x55f89f(0x25a)](async()=>{const _0x3251a5=_0x55f89f;PerformanceTester['start'](PerformanceEvents[_0x3251a5(0x263)]),_0xaf33c1[_0x3251a5(0x1c5)]=helper[_0x3251a5(0x261)](_0x2bdfd7,_0x304e1c[_0x3251a5(0x26b)]),await utilities[_0x3251a5(0x1b9)](_0xaf33c1),testOpsHelper[_0x3251a5(0x281)]();});}}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a29_0x3197(){const _0x1f2186=['CFhkG','ZJliv','uZmWY','isAccessibilityPlatform','eMhcj','__drivers','chromeOptions','overrideGet','ieOptions_','originalBuilder','../../../helpers/helper','PQrRh','../../../helpers/patchHelpers','storeOptimalHubUrl','ztXfQ','New\x20hub\x20url\x20set\x20to\x20','getGlobal','__driver','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','keys','FCNrT','131755KDQCaN','329WznQnv','SNtRP','global','../accessibility-automation/helper','252wVUOdK','adpYw','6zBHEJq','requireSeleniumWebdriver','set','maeJh','send','898606UAJSWW','1RngPFl','Hub\x20url\x20set\x20to\x20','ieOptions','UASWS','CAPABILITY_KEY','__driversArray','then','newHubUrl','setCapabilities','forEach','split','../../../helpers/globals','proxySettings','error','isPacProxy','getHubUrl','eTsKi','xFSiX','object','LBSQK','HttpClient','push','../../../helpers/accessibility-automation/helper','getAccessibilityResultsSummary','capabilities_','fXhEV','uESkz','GBaOe','quitCount_','KcyuO','1753180pexupy','CJxHi','firefoxOptions_','Proxy\x20set\x20to\x20','getRequestOptions','safariOptions_','get','4kbkgRj','getHttpAgent','agent_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','isUndefined','KcDVh','ISNRp','path','proxy_','chromeOptions_','optimalHubUrl','76696kyTpwR','UEccp','PMvlO','url_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','proxyUrl','mergeDeep','rlQxj','ms:edgeOptions','EWbOc','getAccessibilityResults','browserStackLogLevel','aZbcb','setLogLevel','isBrowserstackInfra','__setBrowserOptions','updateHubUrl','setGlobal','safari.options','edgeOptions_','/wd/hub','capability','setServer','Builder','1221264buqQOg','moz:firefoxOptions','10CNpBiK','build','326915nUXDzr','CCTZE','KdXtp','OxCSu','../../../hubAllocationMethods','firefoxOptions','Modifying\x20webdriver\x20builder','winstonLogger','requireHttpClient','session_','fzqbj','481695qsyARB','info','debug'];a29_0x3197=function(){return _0x1f2186;};return a29_0x3197();}function a29_0x1aef(_0x1a16cf,_0x168875){const _0x319706=a29_0x3197();return a29_0x1aef=function(_0x1aef3f,_0x1542f0){_0x1aef3f=_0x1aef3f-0xfe;let _0x82702d=_0x319706[_0x1aef3f];return _0x82702d;},a29_0x1aef(_0x1a16cf,_0x168875);}const a29_0x569240=a29_0x1aef;(function(_0x48045c,_0x5da582){const _0x188c3d=a29_0x1aef,_0x5cd06e=_0x48045c();while(!![]){try{const _0x991e2f=-parseInt(_0x188c3d(0x13b))/0x1*(-parseInt(_0x188c3d(0x13a))/0x2)+parseInt(_0x188c3d(0x116))/0x3*(-parseInt(_0x188c3d(0x160))/0x4)+parseInt(_0x188c3d(0x10b))/0x5*(parseInt(_0x188c3d(0x135))/0x6)+parseInt(_0x188c3d(0x12f))/0x7*(parseInt(_0x188c3d(0x16b))/0x8)+parseInt(_0x188c3d(0x107))/0x9+parseInt(_0x188c3d(0x109))/0xa*(-parseInt(_0x188c3d(0x159))/0xb)+parseInt(_0x188c3d(0x133))/0xc*(-parseInt(_0x188c3d(0x12e))/0xd);if(_0x991e2f===_0x5da582)break;else _0x5cd06e['push'](_0x5cd06e['shift']());}catch(_0xfb2904){_0x5cd06e['push'](_0x5cd06e['shift']());}}}(a29_0x3197,0x8ab7f));const logger=require('../../../helpers/logger')[a29_0x569240(0x112)],helper=require(a29_0x569240(0x123)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x569240(0x10f)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x569240(0x125)),{setAccessibilityCapabilities,setExtension}=require(a29_0x569240(0x132)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x569240(0x151)),globals=require(a29_0x569240(0x146)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x22f170,_0x4ec654=null,_0x5c9ed9=![])=>{const _0x476a8e=a29_0x569240,_0x433c1c={'KdXtp':function(_0x26c971,_0x324479){return _0x26c971!==_0x324479;},'qKqat':'/session','CFhkG':function(_0x8646e4,_0x1ca755){return _0x8646e4+_0x1ca755;},'lbBbw':function(_0x2dea59,_0x32b4c8){return _0x2dea59+_0x32b4c8;},'maeJh':'https://','qHoCW':_0x476a8e(0x103),'LBSQK':'goog:chromeOptions','PMvlO':_0x476a8e(0x11f),'xFSiX':_0x476a8e(0x173),'TUPav':'edgeOptions','fzqbj':_0x476a8e(0x108),'KcDVh':_0x476a8e(0x110),'ztXfQ':_0x476a8e(0x101),'EWbOc':'se:ieOptions','KcyuO':_0x476a8e(0x13d),'fXhEV':function(_0x930c43,_0x51a8cb){return _0x930c43===_0x51a8cb;},'FzrOg':_0x476a8e(0x14d),'eMhcj':'Setting\x20Browserstack\x20capabilities','CJxHi':_0x476a8e(0x16a),'eTsKi':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','UASWS':function(_0x3ea4d8,_0x40a353,_0x49a444){return _0x3ea4d8(_0x40a353,_0x49a444);},'SNtRP':function(_0x4ca493,_0x2489bf){return _0x4ca493(_0x2489bf);},'UEccp':function(_0x20b2fa,_0x5c87ab,_0x48b092){return _0x20b2fa(_0x5c87ab,_0x48b092);},'adpYw':'2|5|1|0|4|3','GBaOe':function(_0x14207d){return _0x14207d();},'OxCSu':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','FCNrT':_0x476a8e(0x11c),'iNBzx':function(_0x1554d1,_0x54edb0,_0x595343){return _0x1554d1(_0x54edb0,_0x595343);},'CCTZE':function(_0x309e94,_0x3bd793){return _0x309e94(_0x3bd793);},'aZbcb':function(_0x2cc5e6,_0x42ce24,_0x2933de){return _0x2cc5e6(_0x42ce24,_0x2933de);},'uESkz':function(_0x377e74,_0x3185b4){return _0x377e74!==_0x3185b4;},'rlQxj':_0x476a8e(0x163),'NgxKr':_0x476a8e(0x111)},_0x107ac2=helper[_0x476a8e(0x113)]();let _0x206f4d;try{_0x206f4d=helper[_0x476a8e(0x136)](),_0x206f4d['originalBuilder']&&(_0x206f4d['Builder']=_0x206f4d[_0x476a8e(0x122)]);}catch(_0x2779be){return;}if(helper[_0x476a8e(0x179)]()){const _0x1cc285={};_0x1cc285['logLevel']=_0x22f170[_0x476a8e(0x176)],helper[_0x476a8e(0x178)](_0x1cc285,new Map(),new Map()),logger[_0x476a8e(0x117)](_0x433c1c[_0x476a8e(0x172)]),logger['debug'](_0x433c1c['NgxKr']);}class _0x62ee6f extends _0x107ac2[_0x476a8e(0x14f)]{[_0x476a8e(0x139)](_0x566fbb){const _0x4218e4=_0x476a8e;if(_0x433c1c[_0x4218e4(0x10d)](_0x566fbb[_0x4218e4(0x167)],_0x433c1c['qKqat'])&&_0x433c1c['KdXtp'](global['newHubUrl'],''))try{global['newHubUrl']=_0x433c1c[_0x4218e4(0x119)](_0x433c1c['lbBbw'](_0x433c1c[_0x4218e4(0x138)],global[_0x4218e4(0x142)]),_0x433c1c['qHoCW']),this['options_']=hubAllocator[_0x4218e4(0x15d)](global['newHubUrl']),logger[_0x4218e4(0x118)](_0x4218e4(0x128)+global['newHubUrl']),global[_0x4218e4(0x142)]='';}catch(_0x589f5b){logger[_0x4218e4(0x148)](_0x589f5b);}return super[_0x4218e4(0x139)](_0x566fbb);}}class _0x5deafc extends _0x206f4d[_0x476a8e(0x106)]{[_0x476a8e(0x105)](){const _0x508679=_0x476a8e;return this[_0x508679(0x16e)]=helper[_0x508679(0x14a)](_0x22f170),logger[_0x508679(0x118)](_0x508679(0x13c)+this[_0x508679(0x16e)]),this;}[_0x476a8e(0xfe)](_0x5064c0){const _0x302eac=_0x476a8e;let _0x3fd6e6={};for(const _0x2ae464 in _0x5064c0){switch(_0x2ae464){case _0x433c1c[_0x302eac(0x14e)]:case _0x433c1c[_0x302eac(0x16d)]:this[_0x302eac(0x169)]&&(_0x3fd6e6=this[_0x302eac(0x169)][_0x302eac(0x15f)](this[_0x302eac(0x169)][_0x302eac(0x13f)])||{},this[_0x302eac(0x169)][_0x302eac(0x137)](this['chromeOptions_'][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x14c)]:case _0x433c1c['TUPav']:this[_0x302eac(0x102)]&&(_0x3fd6e6=this[_0x302eac(0x102)][_0x302eac(0x15f)](this[_0x302eac(0x102)][_0x302eac(0x13f)])||{},this[_0x302eac(0x102)][_0x302eac(0x137)](this[_0x302eac(0x102)][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x115)]:case _0x433c1c[_0x302eac(0x165)]:this['firefoxOptions_']&&(_0x3fd6e6=this['firefoxOptions_'][_0x302eac(0x15f)](this[_0x302eac(0x15b)][_0x302eac(0x13f)])||{},this[_0x302eac(0x15b)]['set'](this[_0x302eac(0x15b)][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x127)]:this[_0x302eac(0x15e)]&&(_0x3fd6e6=this[_0x302eac(0x15e)][_0x302eac(0x15f)](this[_0x302eac(0x15e)][_0x302eac(0x13f)])||{},this['safariOptions_']['set'](this[_0x302eac(0x15e)][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x174)]:case _0x433c1c[_0x302eac(0x158)]:this[_0x302eac(0x121)]&&(_0x3fd6e6=this[_0x302eac(0x121)][_0x302eac(0x15f)](this[_0x302eac(0x121)][_0x302eac(0x13f)])||{},this[_0x302eac(0x121)]['set'](this['ieOptions_'][_0x302eac(0x13f)],helper['mergeDeep'](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;}}}[_0x476a8e(0x143)](){const _0x1dc7bb=_0x476a8e;return logger['debug'](_0x433c1c[_0x1dc7bb(0x11d)]),this['__setBrowserOptions'](_0x22f170[_0x1dc7bb(0x104)]),Object[_0x1dc7bb(0x12c)](_0x22f170['capability'])[_0x1dc7bb(0x144)](_0x35526a=>{const _0x3fff07=_0x1dc7bb,_0x58866c=this[_0x3fff07(0x153)][_0x3fff07(0x15f)](_0x35526a);_0x433c1c[_0x3fff07(0x154)](typeof _0x58866c,_0x433c1c['FzrOg'])?this['capabilities_'][_0x3fff07(0x137)](_0x35526a,helper[_0x3fff07(0x171)](_0x58866c,_0x22f170[_0x3fff07(0x104)][_0x35526a])):this[_0x3fff07(0x153)][_0x3fff07(0x137)](_0x35526a,_0x22f170[_0x3fff07(0x104)][_0x35526a]);}),this;}[_0x476a8e(0x10a)](){const _0x2305fc=_0x476a8e,_0x352ac7={'PQrRh':function(_0x176530,_0x5e6e1c,_0x35f6d9){const _0xd48ba7=a29_0x1aef;return _0x433c1c[_0xd48ba7(0x13e)](_0x176530,_0x5e6e1c,_0x35f6d9);},'ZJliv':function(_0x23227e,_0x5645c0){const _0x5d6df2=a29_0x1aef;return _0x433c1c[_0x5d6df2(0x130)](_0x23227e,_0x5645c0);},'uZmWY':function(_0x76bdbf,_0x174fbc,_0x2eda99){const _0x1a5043=a29_0x1aef;return _0x433c1c[_0x1a5043(0x13e)](_0x76bdbf,_0x174fbc,_0x2eda99);},'oUJSX':function(_0x433370,_0x189048,_0x2145a5){const _0x226c07=a29_0x1aef;return _0x433c1c[_0x226c07(0x16c)](_0x433370,_0x189048,_0x2145a5);}};if(helper['isBrowserstackInfra']()){const _0x197bae=_0x433c1c[_0x2305fc(0x134)][_0x2305fc(0x145)]('|');let _0x191929=0x0;while(!![]){switch(_0x197bae[_0x191929++]){case'0':if(helper[_0x2305fc(0x149)](_0x22f170['proxySettings']['proxyUrl']))this[_0x2305fc(0x162)]=helper[_0x2305fc(0x161)](_0x22f170['proxySettings'][_0x2305fc(0x170)]);else _0x22f170[_0x2305fc(0x147)][_0x2305fc(0x170)]&&(this[_0x2305fc(0x168)]=_0x22f170[_0x2305fc(0x147)][_0x2305fc(0x170)],logger[_0x2305fc(0x118)](_0x2305fc(0x15c)+this[_0x2305fc(0x168)]));continue;case'1':this['setCapabilities']();continue;case'2':_0x433c1c[_0x2305fc(0x156)](isAccessibilityAutomationSession)&&_0x433c1c[_0x2305fc(0x130)](setAccessibilityCapabilities,_0x22f170);continue;case'3':logger['debug'](_0x433c1c[_0x2305fc(0x10e)]);continue;case'4':globals[_0x2305fc(0x129)](_0x433c1c[_0x2305fc(0x12d)])&&(!_0x433c1c['iNBzx'](setExtension,this,_0x22f170)&&globals[_0x2305fc(0x100)](_0x433c1c[_0x2305fc(0x12d)],![]));continue;case'5':this[_0x2305fc(0x105)]();continue;}break;}}const _0x120ffd=super[_0x2305fc(0x10a)]();return _0x120ffd[_0x2305fc(0x114)][_0x2305fc(0x141)](_0x34015b=>{const _0x526c03=_0x2305fc;try{const _0x38c2fd=_0x34015b['caps_'][_0x526c03(0x15f)](_0x433c1c[_0x526c03(0x15a)]);_0x38c2fd?(logger[_0x526c03(0x118)](_0x526c03(0x12b)+_0x38c2fd),hubAllocator[_0x526c03(0xff)](_0x38c2fd),helper[_0x526c03(0x126)](_0x38c2fd)):logger[_0x526c03(0x118)](_0x433c1c[_0x526c03(0x14b)]);}catch(_0x45a6a5){logger[_0x526c03(0x118)](_0x526c03(0x16f)+_0x45a6a5);}}),_0x120ffd[_0x2305fc(0x157)]=0x0,_0x120ffd['then']&&_0x120ffd[_0x2305fc(0x141)](_0x33e8e0=>{const _0xd0fdcb=_0x2305fc,_0x2c32ef={'ISNRp':function(_0x436466,_0x32f6d0,_0x3d0ba4){const _0x4681d0=a29_0x1aef;return _0x352ac7[_0x4681d0(0x124)](_0x436466,_0x32f6d0,_0x3d0ba4);}};_0x352ac7[_0xd0fdcb(0x124)](overrideQuit,_0x33e8e0,_0x120ffd),_0x352ac7[_0xd0fdcb(0x11a)](overrideTakeScreenshot,_0x33e8e0),helper['overrideGet'](_0x33e8e0,_0x22f170),_0x352ac7[_0xd0fdcb(0x124)](overrideExecute,_0x33e8e0,_0x22f170),_0x33e8e0[_0xd0fdcb(0x152)]=async()=>{const _0x4df6a2=_0xd0fdcb;return await _0x352ac7[_0x4df6a2(0x124)](getAccessibilityResultsSummary,_0x33e8e0,global);},_0x33e8e0[_0xd0fdcb(0x175)]=async()=>{const _0x4f526e=_0xd0fdcb;return await _0x2c32ef[_0x4f526e(0x166)](getAccessibilityResults,_0x33e8e0,global);};}),_0x120ffd[_0x2305fc(0x152)]=async()=>{const _0x4bc567=_0x2305fc;return await _0x352ac7[_0x4bc567(0x11b)](getAccessibilityResultsSummary,_0x120ffd,global);},_0x120ffd[_0x2305fc(0x175)]=async()=>{return await _0x352ac7['oUJSX'](getAccessibilityResults,_0x120ffd,global);},_0x433c1c[_0x2305fc(0x130)](overrideTakeScreenshot,_0x120ffd),_0x433c1c[_0x2305fc(0x10c)](overrideQuit,_0x120ffd),helper[_0x2305fc(0x120)](_0x120ffd,_0x22f170),_0x433c1c[_0x2305fc(0x177)](overrideExecute,_0x120ffd,_0x22f170),helper[_0x2305fc(0x164)](global[_0x2305fc(0x140)])&&(global['__driversArray']=[]),helper[_0x2305fc(0x164)](global[_0x2305fc(0x11e)])&&(global[_0x2305fc(0x11e)]=[]),global[_0x2305fc(0x140)]['push'](_0x120ffd),global[_0x2305fc(0x12a)]=_0x120ffd,_0x433c1c[_0x2305fc(0x10d)](global[_0x2305fc(0x11e)],undefined)&&global[_0x2305fc(0x11e)][_0x2305fc(0x150)](_0x120ffd),_0x4ec654&&helper['isUndefined'](_0x4ec654['global'][_0x2305fc(0x140)])&&(_0x4ec654[_0x2305fc(0x131)]['__driversArray']=[]),_0x4ec654&&_0x433c1c[_0x2305fc(0x155)](_0x4ec654[_0x2305fc(0x131)][_0x2305fc(0x11e)],undefined)&&(_0x4ec654[_0x2305fc(0x131)][_0x2305fc(0x11e)][_0x2305fc(0x150)](_0x120ffd),_0x4ec654[_0x2305fc(0x131)][_0x2305fc(0x140)][_0x2305fc(0x150)](_0x120ffd)),_0x120ffd;}}return _0x206f4d[_0x476a8e(0x122)]=_0x206f4d[_0x476a8e(0x106)],_0x206f4d[_0x476a8e(0x106)]=_0x5deafc,_0x107ac2[_0x476a8e(0x14f)]=_0x62ee6f,_0x206f4d;};module['exports']['browserstackAgentObservability']=modify;
|
|
1
|
+
const a29_0x273331=a29_0x24cf;function a29_0x24cf(_0x2b1529,_0x3b3725){const _0x38e2f6=a29_0x38e2();return a29_0x24cf=function(_0x24cf7a,_0x1ec55e){_0x24cf7a=_0x24cf7a-0x179;let _0x515692=_0x38e2f6[_0x24cf7a];return _0x515692;},a29_0x24cf(_0x2b1529,_0x3b3725);}function a29_0x38e2(){const _0x1bd1ec=['newHubUrl','ieOptions','mergeDeep','info','ms:edgeOptions','isPacProxy','YpVLd','DcIPH','send','updateHubUrl','uWIOS','56qLJioE','TvwER','getHubUrl','1005008VxBqPd','global','auwXM','getAccessibilityResults','TTwNY','winstonLogger','EVskT','Modifying\x20webdriver\x20builder','goog:chromeOptions','aCWmV','../../../helpers/logger','umkpH','proxy_','227090BjzbRp','oWZSB','2|1|5|0|3|4','UzmRC','getRequestOptions','szdlK','../../../helpers/helper','set','then','getHttpAgent','get','setCapabilities','kieac','fsOAu','push','cxWnI','capabilities_','safariOptions_','getGlobal','capability','setGlobal','edgeOptions_','fliND','exports','../accessibility-automation/helper','iZfsM','quitCount_','IfnhU','LlWcZ','proxySettings','keys','../../../hubAllocationMethods','ieOptions_','../../../helpers/patchHelpers','/wd/hub','browserStackLogLevel','debug','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','OwbQK','akxJd','./helpers/patchHelper','options_','__driver','26686JWIOBD','Hub\x20url\x20set\x20to\x20','session_','177906GQPEWR','safari.options','Builder','optimalHubUrl','XHErr','__driversArray','7572AklKEI','proxyUrl','isUndefined','207fUDCqP','914334XwogLe','https://','chromeOptions_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','isBrowserstackInfra','build','Proxy\x20set\x20to\x20','New\x20hub\x20url\x20set\x20to\x20','ShvQf','26708JpNHVc','originalBuilder','30kWhRpX','error','requireSeleniumWebdriver','object','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','overrideGet','firefoxOptions_','/session','moz:firefoxOptions','setServer','setLogLevel','getAccessibilityResultsSummary','__setBrowserOptions','../../../bin/utils/constants','browserstackAgentObservability','5kxjxUG','chromeOptions','psMVe','__drivers','split','../../../helpers/globals','HttpClient','url_','CAPABILITY_KEY','1607448OEPVvi'];a29_0x38e2=function(){return _0x1bd1ec;};return a29_0x38e2();}(function(_0x3cbad7,_0x87cf3a){const _0x153432=a29_0x24cf,_0x1b26c4=_0x3cbad7();while(!![]){try{const _0x1a6c5c=-parseInt(_0x153432(0x1d0))/0x1*(parseInt(_0x153432(0x1d2))/0x2)+-parseInt(_0x153432(0x1c7))/0x3+-parseInt(_0x153432(0x1ea))/0x4*(parseInt(_0x153432(0x1e1))/0x5)+-parseInt(_0x153432(0x1bd))/0x6*(-parseInt(_0x153432(0x17f))/0x7)+parseInt(_0x153432(0x182))/0x8+-parseInt(_0x153432(0x1c6))/0x9*(parseInt(_0x153432(0x18f))/0xa)+parseInt(_0x153432(0x1ba))/0xb*(parseInt(_0x153432(0x1c3))/0xc);if(_0x1a6c5c===_0x87cf3a)break;else _0x1b26c4['push'](_0x1b26c4['shift']());}catch(_0x111c35){_0x1b26c4['push'](_0x1b26c4['shift']());}}}(a29_0x38e2,0x40789));const logger=require(a29_0x273331(0x18c))[a29_0x273331(0x187)],helper=require(a29_0x273331(0x195)),constants=require(a29_0x273331(0x1df)),hubAllocator=require(a29_0x273331(0x1ae)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x273331(0x1b0)),{setAccessibilityCapabilities,setExtension}=require(a29_0x273331(0x1a7)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x273331(0x1e6)),{overrideExecute}=require(a29_0x273331(0x1b7)),modify=(_0x1134e5,_0x21f050=null,_0x4216e4=![])=>{const _0x484f65=a29_0x273331,_0x268ceb={'aCWmV':function(_0x7c4545,_0x3e7fe8){return _0x7c4545!==_0x3e7fe8;},'TvwER':_0x484f65(0x1d9),'TTwNY':function(_0x5c504a,_0x2e4114){return _0x5c504a!==_0x2e4114;},'YpVLd':function(_0x312ed9,_0x441e48){return _0x312ed9+_0x441e48;},'XaKUe':_0x484f65(0x1c8),'auwXM':_0x484f65(0x1b1),'uWIOS':_0x484f65(0x18a),'psMVe':_0x484f65(0x1e2),'EhRuG':_0x484f65(0x1ef),'UzmRC':'edgeOptions','LlWcZ':_0x484f65(0x1da),'cxWnI':'firefoxOptions','IfnhU':_0x484f65(0x1be),'iZfsM':'se:ieOptions','fsOAu':_0x484f65(0x1ec),'wMXgS':function(_0x1c8b0d,_0x57581e){return _0x1c8b0d===_0x57581e;},'kieac':_0x484f65(0x1d5),'KjJuJ':'Setting\x20Browserstack\x20capabilities','DcIPH':_0x484f65(0x1c0),'OwbQK':_0x484f65(0x1d6),'XHErr':function(_0x440cfc,_0x29ac4a,_0x4e5379){return _0x440cfc(_0x29ac4a,_0x4e5379);},'oWZSB':function(_0x404aa8,_0x4cffd8){return _0x404aa8(_0x4cffd8);},'gjEiL':function(_0x3b728a,_0x563080,_0x25befe){return _0x3b728a(_0x563080,_0x25befe);},'umkpH':function(_0x882ff4,_0x5dbc48,_0x544921){return _0x882ff4(_0x5dbc48,_0x544921);},'rRpig':function(_0x302375,_0x4eab4f,_0x5f37d4){return _0x302375(_0x4eab4f,_0x5f37d4);},'ShvQf':_0x484f65(0x191),'fliND':function(_0x1e7e39){return _0x1e7e39();},'EVskT':'isAccessibilityPlatform','akxJd':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','RIUtz':function(_0x611123,_0x16df46,_0x38906f){return _0x611123(_0x16df46,_0x38906f);},'szdlK':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','QrYgD':_0x484f65(0x189)},_0x172fff=helper['requireHttpClient']();let _0x1973db;try{_0x1973db=helper[_0x484f65(0x1d4)](),_0x1973db['originalBuilder']&&(_0x1973db[_0x484f65(0x1bf)]=_0x1973db[_0x484f65(0x1d1)]);}catch(_0x56147d){return;}if(helper[_0x484f65(0x1cb)]()){const _0x5a73a8={};_0x5a73a8['logLevel']=_0x1134e5[_0x484f65(0x1b2)],helper[_0x484f65(0x1dc)](_0x5a73a8,new Map(),new Map()),logger[_0x484f65(0x1ee)](_0x268ceb[_0x484f65(0x194)]),logger[_0x484f65(0x1b3)](_0x268ceb['QrYgD']);}class _0xb29327 extends _0x172fff['HttpClient']{[_0x484f65(0x17c)](_0x10bbf5){const _0x18386f=_0x484f65;if(_0x268ceb[_0x18386f(0x18b)](_0x10bbf5['path'],_0x268ceb[_0x18386f(0x180)])&&_0x268ceb[_0x18386f(0x186)](global[_0x18386f(0x1eb)],''))try{global[_0x18386f(0x1eb)]=_0x268ceb[_0x18386f(0x17a)](_0x268ceb[_0x18386f(0x17a)](_0x268ceb['XaKUe'],global[_0x18386f(0x1eb)]),_0x268ceb[_0x18386f(0x184)]),this[_0x18386f(0x1b8)]=hubAllocator[_0x18386f(0x193)](global[_0x18386f(0x1eb)]),logger[_0x18386f(0x1b3)](_0x18386f(0x1ce)+global[_0x18386f(0x1eb)]),global[_0x18386f(0x1eb)]='';}catch(_0x3c8f1d){logger[_0x18386f(0x1d3)](_0x3c8f1d);}return super[_0x18386f(0x17c)](_0x10bbf5);}}class _0x404f63 extends _0x1973db[_0x484f65(0x1bf)]{[_0x484f65(0x1db)](){const _0x477a41=_0x484f65;return this[_0x477a41(0x1e8)]=helper[_0x477a41(0x181)](_0x1134e5),logger[_0x477a41(0x1b3)](_0x477a41(0x1bb)+this['url_']),this;}[_0x484f65(0x1de)](_0x565422){const _0x4c4f64=_0x484f65;let _0x43c9dc={};for(const _0x18d5ad in _0x565422){switch(_0x18d5ad){case _0x268ceb[_0x4c4f64(0x17e)]:case _0x268ceb[_0x4c4f64(0x1e3)]:this[_0x4c4f64(0x1c9)]&&(_0x43c9dc=this['chromeOptions_'][_0x4c4f64(0x199)](this[_0x4c4f64(0x1c9)][_0x4c4f64(0x1e9)])||{},this[_0x4c4f64(0x1c9)]['set'](this[_0x4c4f64(0x1c9)][_0x4c4f64(0x1e9)],helper[_0x4c4f64(0x1ed)](_0x43c9dc,_0x565422[_0x18d5ad])));break;case _0x268ceb['EhRuG']:case _0x268ceb[_0x4c4f64(0x192)]:this['edgeOptions_']&&(_0x43c9dc=this[_0x4c4f64(0x1a4)][_0x4c4f64(0x199)](this[_0x4c4f64(0x1a4)][_0x4c4f64(0x1e9)])||{},this[_0x4c4f64(0x1a4)][_0x4c4f64(0x196)](this[_0x4c4f64(0x1a4)][_0x4c4f64(0x1e9)],helper[_0x4c4f64(0x1ed)](_0x43c9dc,_0x565422[_0x18d5ad])));break;case _0x268ceb[_0x4c4f64(0x1ab)]:case _0x268ceb[_0x4c4f64(0x19e)]:this[_0x4c4f64(0x1d8)]&&(_0x43c9dc=this['firefoxOptions_']['get'](this['firefoxOptions_'][_0x4c4f64(0x1e9)])||{},this['firefoxOptions_']['set'](this[_0x4c4f64(0x1d8)][_0x4c4f64(0x1e9)],helper['mergeDeep'](_0x43c9dc,_0x565422[_0x18d5ad])));break;case _0x268ceb[_0x4c4f64(0x1aa)]:this[_0x4c4f64(0x1a0)]&&(_0x43c9dc=this[_0x4c4f64(0x1a0)][_0x4c4f64(0x199)](this[_0x4c4f64(0x1a0)]['CAPABILITY_KEY'])||{},this[_0x4c4f64(0x1a0)][_0x4c4f64(0x196)](this[_0x4c4f64(0x1a0)][_0x4c4f64(0x1e9)],helper['mergeDeep'](_0x43c9dc,_0x565422[_0x18d5ad])));break;case _0x268ceb[_0x4c4f64(0x1a8)]:case _0x268ceb[_0x4c4f64(0x19c)]:this['ieOptions_']&&(_0x43c9dc=this['ieOptions_'][_0x4c4f64(0x199)](this[_0x4c4f64(0x1af)]['CAPABILITY_KEY'])||{},this[_0x4c4f64(0x1af)][_0x4c4f64(0x196)](this[_0x4c4f64(0x1af)][_0x4c4f64(0x1e9)],helper[_0x4c4f64(0x1ed)](_0x43c9dc,_0x565422[_0x18d5ad])));break;}}}[_0x484f65(0x19a)](){const _0x2b0e87=_0x484f65;return logger[_0x2b0e87(0x1b3)](_0x268ceb['KjJuJ']),this[_0x2b0e87(0x1de)](_0x1134e5[_0x2b0e87(0x1a2)]),Object[_0x2b0e87(0x1ad)](_0x1134e5['capability'])['forEach'](_0x3c5b43=>{const _0x593687=_0x2b0e87,_0x4cabc4=this['capabilities_'][_0x593687(0x199)](_0x3c5b43);_0x268ceb['wMXgS'](typeof _0x4cabc4,_0x268ceb[_0x593687(0x19b)])?this[_0x593687(0x19f)][_0x593687(0x196)](_0x3c5b43,helper[_0x593687(0x1ed)](_0x4cabc4,_0x1134e5[_0x593687(0x1a2)][_0x3c5b43])):this[_0x593687(0x19f)][_0x593687(0x196)](_0x3c5b43,_0x1134e5[_0x593687(0x1a2)][_0x3c5b43]);}),this;}[_0x484f65(0x1cc)](){const _0x3b6ee6=_0x484f65,_0x3afe72={'JxXZY':function(_0x73a96f,_0x217ca2,_0x102d55){return _0x268ceb['rRpig'](_0x73a96f,_0x217ca2,_0x102d55);}};if(helper['isBrowserstackInfra']()){const _0x139335=_0x268ceb[_0x3b6ee6(0x1cf)][_0x3b6ee6(0x1e5)]('|');let _0x5b71fd=0x0;while(!![]){switch(_0x139335[_0x5b71fd++]){case'0':if(helper[_0x3b6ee6(0x179)](_0x1134e5[_0x3b6ee6(0x1ac)][_0x3b6ee6(0x1c4)]))this['agent_']=helper[_0x3b6ee6(0x198)](_0x1134e5[_0x3b6ee6(0x1ac)][_0x3b6ee6(0x1c4)]);else _0x1134e5[_0x3b6ee6(0x1ac)][_0x3b6ee6(0x1c4)]&&(this[_0x3b6ee6(0x18e)]=_0x1134e5[_0x3b6ee6(0x1ac)][_0x3b6ee6(0x1c4)],logger['debug'](_0x3b6ee6(0x1cd)+this[_0x3b6ee6(0x18e)]));continue;case'1':this[_0x3b6ee6(0x1db)]();continue;case'2':_0x268ceb[_0x3b6ee6(0x1a5)](isAccessibilityAutomationSession)&&_0x268ceb['oWZSB'](setAccessibilityCapabilities,_0x1134e5);continue;case'3':globals[_0x3b6ee6(0x1a1)](_0x268ceb[_0x3b6ee6(0x188)])&&(!_0x268ceb[_0x3b6ee6(0x18d)](setExtension,this,_0x1134e5)&&globals[_0x3b6ee6(0x1a3)](_0x268ceb['EVskT'],![]));continue;case'4':logger['debug'](_0x268ceb[_0x3b6ee6(0x1b6)]);continue;case'5':this[_0x3b6ee6(0x19a)]();continue;}break;}}const _0x4e5e73=super[_0x3b6ee6(0x1cc)]();return _0x4e5e73[_0x3b6ee6(0x1bc)][_0x3b6ee6(0x197)](_0xc5f01e=>{const _0x1ba60c=_0x3b6ee6;try{const _0x1f64c4=_0xc5f01e['caps_'][_0x1ba60c(0x199)](_0x268ceb[_0x1ba60c(0x17b)]);_0x1f64c4?(logger[_0x1ba60c(0x1b3)](_0x1ba60c(0x1ca)+_0x1f64c4),hubAllocator[_0x1ba60c(0x17d)](_0x1f64c4),helper['storeOptimalHubUrl'](_0x1f64c4)):logger[_0x1ba60c(0x1b3)](_0x268ceb[_0x1ba60c(0x1b5)]);}catch(_0x56c1a9){logger[_0x1ba60c(0x1b3)](_0x1ba60c(0x1b4)+_0x56c1a9);}}),_0x4e5e73[_0x3b6ee6(0x1a9)]=0x0,_0x4e5e73[_0x3b6ee6(0x197)]&&_0x4e5e73[_0x3b6ee6(0x197)](_0x2ee562=>{const _0x53c815=_0x3b6ee6,_0x363368={'FyrrN':function(_0x40ccab,_0x3c9981,_0x2b9dcd){const _0x32251e=a29_0x24cf;return _0x268ceb[_0x32251e(0x1c1)](_0x40ccab,_0x3c9981,_0x2b9dcd);}};_0x268ceb[_0x53c815(0x1c1)](overrideQuit,_0x2ee562,_0x4e5e73),_0x268ceb[_0x53c815(0x190)](overrideTakeScreenshot,_0x2ee562),helper[_0x53c815(0x1d7)](_0x2ee562,_0x1134e5),_0x268ceb['gjEiL'](overrideExecute,_0x2ee562,_0x1134e5),_0x2ee562[_0x53c815(0x1dd)]=async()=>{return await _0x363368['FyrrN'](getAccessibilityResultsSummary,_0x2ee562,global);},_0x2ee562['getAccessibilityResults']=async()=>{return await _0x3afe72['JxXZY'](getAccessibilityResults,_0x2ee562,global);};}),_0x4e5e73[_0x3b6ee6(0x1dd)]=async()=>{const _0xbded40=_0x3b6ee6;return await _0x268ceb[_0xbded40(0x1c1)](getAccessibilityResultsSummary,_0x4e5e73,global);},_0x4e5e73[_0x3b6ee6(0x185)]=async()=>{return await _0x268ceb['umkpH'](getAccessibilityResults,_0x4e5e73,global);},_0x268ceb[_0x3b6ee6(0x190)](overrideTakeScreenshot,_0x4e5e73),_0x268ceb['oWZSB'](overrideQuit,_0x4e5e73),helper['overrideGet'](_0x4e5e73,_0x1134e5),_0x268ceb['RIUtz'](overrideExecute,_0x4e5e73,_0x1134e5),helper[_0x3b6ee6(0x1c5)](global[_0x3b6ee6(0x1c2)])&&(global[_0x3b6ee6(0x1c2)]=[]),helper['isUndefined'](global['__drivers'])&&(global[_0x3b6ee6(0x1e4)]=[]),global[_0x3b6ee6(0x1c2)]['push'](_0x4e5e73),global[_0x3b6ee6(0x1b9)]=_0x4e5e73,_0x268ceb['aCWmV'](global[_0x3b6ee6(0x1e4)],undefined)&&global[_0x3b6ee6(0x1e4)][_0x3b6ee6(0x19d)](_0x4e5e73),_0x21f050&&helper[_0x3b6ee6(0x1c5)](_0x21f050['global']['__driversArray'])&&(_0x21f050[_0x3b6ee6(0x183)]['__driversArray']=[]),_0x21f050&&_0x268ceb[_0x3b6ee6(0x186)](_0x21f050[_0x3b6ee6(0x183)][_0x3b6ee6(0x1e4)],undefined)&&(_0x21f050[_0x3b6ee6(0x183)][_0x3b6ee6(0x1e4)][_0x3b6ee6(0x19d)](_0x4e5e73),_0x21f050[_0x3b6ee6(0x183)][_0x3b6ee6(0x1c2)]['push'](_0x4e5e73)),_0x4e5e73;}}return _0x1973db[_0x484f65(0x1d1)]=_0x1973db[_0x484f65(0x1bf)],_0x1973db[_0x484f65(0x1bf)]=_0x404f63,_0x172fff[_0x484f65(0x1e7)]=_0xb29327,_0x1973db;};module[a29_0x273331(0x1a6)][a29_0x273331(0x1e0)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x2033aa=a30_0x4eb9;(function(_0x53c337,_0x31bcdb){const _0x1ffe49=a30_0x4eb9,_0x44e5dc=_0x53c337();while(!![]){try{const _0x28be91=parseInt(_0x1ffe49(0xa1))/0x1*(parseInt(_0x1ffe49(0xaa))/0x2)+-parseInt(_0x1ffe49(0xb0))/0x3+parseInt(_0x1ffe49(0xa7))/0x4*(parseInt(_0x1ffe49(0xad))/0x5)+-parseInt(_0x1ffe49(0xae))/0x6*(-parseInt(_0x1ffe49(0xab))/0x7)+parseInt(_0x1ffe49(0xa8))/0x8+parseInt(_0x1ffe49(0xaf))/0x9+parseInt(_0x1ffe49(0xa4))/0xa*(-parseInt(_0x1ffe49(0xa2))/0xb);if(_0x28be91===_0x31bcdb)break;else _0x44e5dc['push'](_0x44e5dc['shift']());}catch(_0x335de8){_0x44e5dc['push'](_0x44e5dc['shift']());}}}(a30_0x481d,0x56262));function a30_0x4eb9(_0x42b4a6,_0x3e1263){const _0x481db9=a30_0x481d();return a30_0x4eb9=function(_0x4eb961,_0x1b62bc){_0x4eb961=_0x4eb961-0x9f;let _0x5115c8=_0x481db9[_0x4eb961];return _0x5115c8;},a30_0x4eb9(_0x42b4a6,_0x3e1263);}function a30_0x481d(){const _0x1372d2=['180907gZTLwe','11gmMGoF','pEDdA','6842930TLdnTr','mochaHooks','../../../bin/utils/constants','8UqmvMx','1293952SJTPOt','timeout','6OcduqI','95284XauKyv','restore','774130LPgUul','6WBmdRl','6261363rLnaEA','2058831ItZPfj','../../../helpers/test-observability/utils','../../../helpers/request-spy'];a30_0x481d=function(){return _0x1372d2;};return a30_0x481d();}const requestSpy=require(a30_0x2033aa(0xa0)),constants=require(a30_0x2033aa(0xa6)),{addRequestSpy}=require(a30_0x2033aa(0x9f));exports[a30_0x2033aa(0xa5)]={'beforeAll'(){const _0x31b420=a30_0x2033aa,_0x25ca52={'pEDdA':function(_0x16e3f3){return _0x16e3f3();}},_0x171bb2='browserstack internal helper hook';_0x25ca52[_0x31b420(0xa3)](addRequestSpy);},'afterAll'(){const _0x15bf84=a30_0x2033aa,_0x5eae80='browserstack internal helper hook';this[_0x15bf84(0xa9)](0xea60),requestSpy[_0x15bf84(0xac)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a31_0x3f3e5d=a31_0x2bf2;(function(_0x4215e4,_0x2bb4fd){const _0x438d2e=a31_0x2bf2,_0xbdc02a=_0x4215e4();while(!![]){try{const _0x3d2c34=parseInt(_0x438d2e(0x16d))/0x1*(-parseInt(_0x438d2e(0x14a))/0x2)+parseInt(_0x438d2e(0x155))/0x3+-parseInt(_0x438d2e(0x13f))/0x4*(parseInt(_0x438d2e(0x156))/0x5)+parseInt(_0x438d2e(0x161))/0x6*(parseInt(_0x438d2e(0x16e))/0x7)+-parseInt(_0x438d2e(0x171))/0x8+-parseInt(_0x438d2e(0x166))/0x9*(-parseInt(_0x438d2e(0x172))/0xa)+-parseInt(_0x438d2e(0x197))/0xb*(-parseInt(_0x438d2e(0x184))/0xc);if(_0x3d2c34===_0x2bb4fd)break;else _0xbdc02a['push'](_0xbdc02a['shift']());}catch(_0x543e84){_0xbdc02a['push'](_0xbdc02a['shift']());}}}(a31_0x36b9,0x4391b));const {v4:uuidv4}=require(a31_0x3f3e5d(0x194)),{name,version}=require(a31_0x3f3e5d(0x174)),logPatcher=require(a31_0x3f3e5d(0x159)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x3f3e5d(0x193)),{consoleHolder}=require(a31_0x3f3e5d(0x14f)),{getPlatformVersion}=require(a31_0x3f3e5d(0x18c)),{shouldProcessEventForTesthub}=require(a31_0x3f3e5d(0x13c)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0x3f3e5d(0x193));function a31_0x2bf2(_0x680e12,_0x517aa7){const _0x36b989=a31_0x36b9();return a31_0x2bf2=function(_0x2bf209,_0x3db721){_0x2bf209=_0x2bf209-0x13b;let _0xe184d6=_0x36b989[_0x2bf209];return _0xe184d6;},a31_0x2bf2(_0x680e12,_0x517aa7);}patchConsoleLogger(),exports[a31_0x3f3e5d(0x175)]=()=>{const _0x4172ba=a31_0x3f3e5d,_0x3b233c={'LRLPo':'generic','nWPKw':function(_0xba09f3){return _0xba09f3();}};return{'ci':_0x3b233c['LRLPo'],'key':_0x3b233c[_0x4172ba(0x13d)](uuidv4),'version':version,'collector':_0x4172ba(0x14d)+name};},exports[a31_0x3f3e5d(0x144)]=_0x400a26=>{const _0x3cb282=a31_0x3f3e5d,_0x52fb38={};_0x52fb38['mnilv']=function(_0x2114db,_0x3a8bd5){return _0x2114db!==_0x3a8bd5;},_0x52fb38[_0x3cb282(0x15d)]=_0x3cb282(0x165),_0x52fb38[_0x3cb282(0x169)]='hook:',_0x52fb38[_0x3cb282(0x17c)]='hook';const _0x2b8a26=_0x52fb38;if(!_0x400a26||_0x2b8a26[_0x3cb282(0x14c)](typeof _0x400a26,_0x2b8a26['WBHOR']))return[null,null];if(_0x2b8a26['mnilv'](_0x400a26[_0x3cb282(0x16f)](_0x2b8a26['OQrBe']),-0x1)){const _0x3f47f1=_0x400a26[_0x3cb282(0x190)](_0x2b8a26[_0x3cb282(0x169)]);return[_0x3f47f1[0x0][_0x3cb282(0x187)](0x0,-0x1)[_0x3cb282(0x190)]('\x22')[0x1],_0x3f47f1[0x1][_0x3cb282(0x186)](0x1)];}else{if(_0x2b8a26['mnilv'](_0x400a26[_0x3cb282(0x16f)](_0x2b8a26[_0x3cb282(0x17c)]),-0x1)){const _0x2bc122=_0x400a26[_0x3cb282(0x190)](_0x2b8a26[_0x3cb282(0x17c)]);return[_0x2bc122[0x0]['slice'](0x0,-0x1)[_0x3cb282(0x190)]('\x22')[0x1],_0x400a26];}}return[null,null];},exports[a31_0x3f3e5d(0x160)]=_0x346c53=>{const _0x473423=a31_0x3f3e5d,_0x20a4b7={'yECzr':function(_0x1c35fd,_0x30c546){return _0x1c35fd(_0x30c546);},'tXzru':_0x473423(0x15c),'mwkXW':_0x473423(0x16a),'QHORG':_0x473423(0x15f),'WPXiI':_0x473423(0x18d)};if(!_0x346c53||!_0x346c53[_0x473423(0x150)])return[];const _0x146edb=[];return[_0x20a4b7[_0x473423(0x191)],_0x20a4b7[_0x473423(0x15a)],_0x20a4b7[_0x473423(0x14b)],_0x20a4b7[_0x473423(0x149)]][_0x473423(0x181)](_0x421179=>{const _0x102b19=_0x473423,_0x4a3cb3={'PChzo':function(_0x29668c,_0x5286af){return _0x20a4b7['yECzr'](_0x29668c,_0x5286af);}},_0x282a79=_0x346c53['parent'][_0x421179]||[];_0x282a79[_0x102b19(0x181)](_0x37bc32=>{const _0x48446d=_0x102b19;_0x37bc32[_0x48446d(0x17f)]&&!_0x4a3cb3[_0x48446d(0x188)](isInternalHook,_0x37bc32['fn'])&&_0x146edb[_0x48446d(0x15b)](_0x37bc32[_0x48446d(0x17f)]);});}),[..._0x146edb,...exports[_0x473423(0x160)](_0x346c53['parent'])];},exports[a31_0x3f3e5d(0x16c)]=_0x54f8d7=>{const _0x2f0d4f=a31_0x3f3e5d,_0x1a8370={'OEnOu':function(_0x2dcb51){return _0x2dcb51();},'EoWxK':function(_0x3efde6,_0x2b20cc){return _0x3efde6===_0x2b20cc;},'FzfHd':_0x2f0d4f(0x18d),'TciUT':_0x2f0d4f(0x15c),'loTAT':'_afterAll','rgKsf':_0x2f0d4f(0x15f)};if(!_0x54f8d7||!_0x54f8d7['parent'])return;[_0x1a8370[_0x2f0d4f(0x185)],_0x1a8370[_0x2f0d4f(0x13b)],_0x1a8370[_0x2f0d4f(0x17a)],_0x1a8370[_0x2f0d4f(0x153)]][_0x2f0d4f(0x181)](_0x1db6e2=>{const _0x378715=_0x2f0d4f,_0x5cd22e={'lJUxl':function(_0x122559){const _0x3f5e3e=a31_0x2bf2;return _0x1a8370[_0x3f5e3e(0x179)](_0x122559);},'tKshF':function(_0x5c29b3,_0x38f927){const _0x31ca67=a31_0x2bf2;return _0x1a8370[_0x31ca67(0x183)](_0x5c29b3,_0x38f927);},'yuHzv':_0x1a8370[_0x378715(0x153)]},_0x28e72f=_0x54f8d7[_0x378715(0x150)][_0x1db6e2]||[];_0x28e72f[_0x378715(0x181)](_0x3ad7ea=>{const _0x4e42b7=_0x378715;if(!_0x3ad7ea[_0x4e42b7(0x17f)])_0x3ad7ea[_0x4e42b7(0x17f)]=_0x5cd22e[_0x4e42b7(0x152)](uuidv4);else _0x3ad7ea[_0x4e42b7(0x15e)]&&_0x5cd22e[_0x4e42b7(0x189)](_0x1db6e2,_0x5cd22e[_0x4e42b7(0x143)])&&(_0x3ad7ea[_0x4e42b7(0x17f)]=_0x5cd22e[_0x4e42b7(0x152)](uuidv4),delete _0x3ad7ea[_0x4e42b7(0x15e)]);});}),exports[_0x2f0d4f(0x16c)](_0x54f8d7[_0x2f0d4f(0x150)]);},exports[a31_0x3f3e5d(0x13e)]=async(_0x264fc6,_0x5c09c7)=>{const _0x1a143a=a31_0x3f3e5d,_0x32f926={'VHMuG':function(_0x48741e){return _0x48741e();},'pxAHa':function(_0x436d06,_0x1ee926){return _0x436d06(_0x1ee926);},'whjiR':_0x1a143a(0x145),'CnPQA':function(_0x3c21e4,_0x155c0a){return _0x3c21e4===_0x155c0a;},'bJjkR':'browserstack','ATcxi':_0x1a143a(0x195),'ZEoGE':_0x1a143a(0x162)};try{if(!_0x32f926[_0x1a143a(0x158)](shouldProcessEventForTesthub))return;const _0x4e24f9=await _0x264fc6[_0x1a143a(0x18e)](),_0x254985=await _0x264fc6['getSession'](),_0x194017={},_0x297433=Object[_0x1a143a(0x18a)](_0x254985[_0x1a143a(0x18e)]()[_0x1a143a(0x147)]),_0x590e5d={'product':_0x32f926[_0x1a143a(0x142)](getObservabilityLinkedProductName,_0x297433),'capabilities':_0x297433,'platform':_0x4e24f9[_0x1a143a(0x141)](),'platform_version':_0x4e24f9[_0x1a143a(0x180)](_0x32f926['whjiR'])?_0x4e24f9[_0x1a143a(0x180)](_0x32f926[_0x1a143a(0x16b)]):_0x32f926[_0x1a143a(0x142)](getPlatformVersion,_0x32f926['CnPQA'](global['__cloud_provider___'],_0x32f926[_0x1a143a(0x157)])),'browser':_0x4e24f9[_0x1a143a(0x167)](),'browser_version':_0x4e24f9[_0x1a143a(0x140)](),'session_id':_0x254985[_0x1a143a(0x146)]()};global['__cloud_provider___']?_0x194017[global[_0x1a143a(0x17e)]]=_0x590e5d:_0x194017[_0x32f926[_0x1a143a(0x177)]]=_0x590e5d,process[_0x1a143a(0x192)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x32f926['ZEoGE'],'http_response':_0x194017,'uuid':_0x5c09c7});}catch(_0x3c88dc){_0x32f926[_0x1a143a(0x142)](debug,_0x1a143a(0x17d)+_0x3c88dc);}},exports[a31_0x3f3e5d(0x173)]=_0x41c93a=>{const _0x558437=a31_0x3f3e5d,_0x516c16={};_0x516c16[_0x558437(0x17b)]=function(_0x278dbf,_0x3909d6){return _0x278dbf!==_0x3909d6;},_0x516c16[_0x558437(0x170)]=_0x558437(0x18f),_0x516c16[_0x558437(0x176)]=_0x558437(0x163),_0x516c16[_0x558437(0x182)]=function(_0x3f0e6c,_0x31b4cb){return _0x3f0e6c!==_0x31b4cb;},_0x516c16[_0x558437(0x168)]=_0x558437(0x18b);const _0x4f0de6=_0x516c16,_0x3e8347=_0x41c93a[_0x558437(0x148)]['reduce']((_0x4b9225,_0x1bcca3)=>{const _0x1face5=_0x558437,_0x960cf1=exports[_0x1face5(0x173)](_0x1bcca3);return _0x960cf1&&(_0x4b9225=_0x4b9225['concat'](_0x960cf1)),_0x4b9225;},[]),_0x20f0b4=_0x41c93a[_0x558437(0x154)][_0x558437(0x151)](_0x3d6ef4=>{const _0x177c51=_0x558437,_0x4755bf=_0x4f0de6[_0x177c51(0x17b)](_0x3d6ef4[_0x177c51(0x196)],_0x4f0de6[_0x177c51(0x170)])&&!_0x3d6ef4['markedStatus']&&_0x4f0de6[_0x177c51(0x17b)](_0x3d6ef4[_0x177c51(0x164)],_0x4f0de6['CqyDx'])&&_0x4f0de6['xmKrj'](_0x3d6ef4[_0x177c51(0x164)],_0x4f0de6[_0x177c51(0x168)])&&!_0x3d6ef4[_0x177c51(0x178)];return _0x4755bf;});return _0x20f0b4[_0x558437(0x14e)](_0x3e8347);};function a31_0x36b9(){const _0x2090e0=['mnilv','js-','concat','../../../helpers/test-observability/constants','parent','filter','lJUxl','FzfHd','tests','189042otfzcJ','899565tzDrEB','bJjkR','VHMuG','../../utils/logPatcher','mwkXW','push','_beforeAll','WBHOR','markedStatus','_beforeEach','getHooksForTest','485706FBEkQW','TEST_PLATFORM','passed','state','string','27paYThE','getBrowserName','UVVUp','OQrBe','_afterAll','whjiR','mapTestHooks','8356TDzLQT','21PsCrCv','indexOf','LIkiS','1015024bLafUB','66540mqQukt','getHookSkippedTests','../../../../package.json','getTestEnv','CqyDx','ATcxi','pending','OEnOu','rgKsf','aETZn','mvQlL','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','__cloud_provider___','hookAnalyticsId','get','forEach','xmKrj','EoWxK','154236TFlSTA','TciUT','substring','slice','PChzo','tKshF','fromEntries','failed','../../../helpers/helper','_afterEach','getCapabilities','hook','split','tXzru','emit','../../../helpers/test-observability/utils','uuid','unknown_grid','type','693iccXra','loTAT','../../../helpers/testhub/utils','nWPKw','sendPlatformDetails','12ZcJfeK','getBrowserVersion','getPlatform','pxAHa','yuHzv','getHookDetails','platformVersion','toJSON','map_','suites','WPXiI','46WZVlOi','QHORG'];a31_0x36b9=function(){return _0x2090e0;};return a31_0x36b9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a32_0xe504(_0x48b672,_0x544a1b){const _0x5a5129=a32_0x5a51();return a32_0xe504=function(_0xe50410,_0x34dd48){_0xe50410=_0xe50410-0xe5;let _0x38adbb=_0x5a5129[_0xe50410];return _0x38adbb;},a32_0xe504(_0x48b672,_0x544a1b);}function a32_0x5a51(){const _0x4de96b=['bnsvo','115518KsmdHh','error','thTestRunUuid','../../helpers/helper','passed','lvCOu','err','4KXaHgB','PERFORM_SCAN','performScan','http:','Performing\x20scan\x20before\x20saving\x20results','5179188fYwayP','thBuildUuid','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20',',\x22level\x22:\x20\x22','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','cVYbJ','isAccessibilityPlatform','gMdVx','444536wgLTPA','\x20|\x20','lAiXH','sessionName','awmjs','shouldScanTestForAccessibility','app','BCrti','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','then','CJVrB','RKISZ','beforeAll','ObservabilitySync:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','juaXM','ENV_VAR','join','203lOruKa','failed','__error_messages__','ufTkU','isArray','\x20-\x20','__skipSessionName','GOLFs','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Failed:\x20','afterAll','sdQJy','SYNC','../../helpers/testhub/utils','SESSION_NAME','81PBCyiH','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','thJwtToken','startMonitoring','executeAsyncScript','vrRbc','bTLgx','xgIgc','zEuzz','start','sYQUR','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','XgXLi','WprAi','winstonLogger','percyCaptureMode','./test-observability/mochaUtils','../../helpers/performance/performance-tester','stringify','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','titlePath','FDfMf','pNGVM','https:','BROWSERSTACK_TESTHUB_UUID','rfzwN','push','ejmyz','timeout','afterTest','capabilities','UojyA','WGNbU','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','FmRyU','.\x20Error\x20:','gFrfZ','afterEach','length','mrBwZ','../../helpers/percy/utils','mochaHooks','gDYNM','getCurrentUrl','__sessionFailed','vDxUG','PJqBr','SmikL','spbJY','__platformCaps','SAVE_RESULTS','VuyYu','FavRy','dHmUK','SESSION_STATUS','beforeEach','getGlobal','xFIRk','testAnalyticsId','executeScript','browserstackSessionName','initQuit','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','821844flUHtD','end','driverCleanup','jzFZi','now','protocol','xaiaX','percy','27082935MGdvnf','MvEUQ','KzwGu','DAjiy','../../helpers/performance/constants','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ujqXe','QAoDi','gGjXE','sessionNameSet__','message','bstackA11yShouldScan','measureWrapper','PYUYt','509485YjjPDL','PdvGn','XvFHO','IrKzT','usptV','testcase','debug','format','setGlobal','accessibilityScanStarted','session_','util','index','932190gfvJIE','WOBtd','\x22}}','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','quitCount_','NeWOh','command','SDK_HOOK','yCFKF','../../helpers/testhub/constants','finally','rqhJu','UtZsG','18YdamCP','info','cdhvV','currentTest','browserstackTestName','KdpAB','tVhjJ','grUlG','__drivers','env'];a32_0x5a51=function(){return _0x4de96b;};return a32_0x5a51();}const a32_0x1f79fa=a32_0xe504;(function(_0x567b45,_0x2151a6){const _0x401422=a32_0xe504,_0x1def07=_0x567b45();while(!![]){try{const _0x3e5443=-parseInt(_0x401422(0xf3))/0x1+parseInt(_0x401422(0x12e))/0x2*(parseInt(_0x401422(0x164))/0x3)+-parseInt(_0x401422(0x135))/0x4*(parseInt(_0x401422(0x109))/0x5)+parseInt(_0x401422(0x13a))/0x6+parseInt(_0x401422(0x154))/0x7*(parseInt(_0x401422(0x142))/0x8)+-parseInt(_0x401422(0x123))/0x9*(-parseInt(_0x401422(0x116))/0xa)+-parseInt(_0x401422(0xfb))/0xb;if(_0x3e5443===_0x2151a6)break;else _0x1def07['push'](_0x1def07['shift']());}catch(_0x588cd2){_0x1def07['push'](_0x1def07['shift']());}}}(a32_0x5a51,0xcbcba));const util=require(a32_0x1f79fa(0x114)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x1f79fa(0x18c)),{sendPlatformDetails}=require(a32_0x1f79fa(0x174)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x1f79fa(0x131)),PerformanceTester=require(a32_0x1f79fa(0x175)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x1f79fa(0xff)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require('../../helpers/logger')[a32_0x1f79fa(0x172)],{shouldProcessEventForTesthub}=require(a32_0x1f79fa(0x162)),testHubConstants=require(a32_0x1f79fa(0x11f));exports[a32_0x1f79fa(0x18d)]={'beforeAll'(){const _0x16988f=a32_0x1f79fa,_0x2cfdca={'bnsvo':function(_0x532abb,_0x2b4373,_0x4121e4,_0x2c4cd8){return _0x532abb(_0x2b4373,_0x4121e4,_0x2c4cd8);},'WprAi':_0x16988f(0x155),'gFrfZ':_0x16988f(0x143),'GOLFs':function(_0x45d583,_0x5bc800,_0x314701){return _0x45d583(_0x5bc800,_0x314701);},'rWFMC':_0x16988f(0x132),'PYUYt':function(_0x5104d1){return _0x5104d1();},'PJqBr':function(_0x5a1804,_0x322baa,_0xc28d6e){return _0x5a1804(_0x322baa,_0xc28d6e);},'yhXIT':_0x16988f(0x115),'bTLgx':_0x16988f(0x14e)};PerformanceTester[_0x16988f(0x167)]();const _0x12c8c1='browserstack internal helper hook';PerformanceTester[_0x16988f(0x107)](PerformanceSdkEvents[_0x16988f(0x11d)],()=>{const _0x3c8548=_0x16988f,_0x2d4f0d={'JOYQF':function(_0x7ec96e,_0x3c363c,_0x416736,_0x3134de){const _0x6080dc=a32_0xe504;return _0x2cfdca[_0x6080dc(0x12d)](_0x7ec96e,_0x3c363c,_0x416736,_0x3134de);},'VuyYu':_0x2cfdca[_0x3c8548(0x171)],'XgXLi':_0x2cfdca[_0x3c8548(0x188)],'vDxUG':function(_0x20c2ff,_0x1afd7c,_0x4d4a0a){const _0x35b92e=_0x3c8548;return _0x2cfdca[_0x35b92e(0x15b)](_0x20c2ff,_0x1afd7c,_0x4d4a0a);},'juaXM':_0x2cfdca['rWFMC'],'yCFKF':function(_0x3e90ea){const _0x423183=_0x3c8548;return _0x2cfdca[_0x423183(0x108)](_0x3e90ea);},'XvFHO':function(_0x5426f3,_0x5e6e9c,_0x400eab){return _0x2cfdca['GOLFs'](_0x5426f3,_0x5e6e9c,_0x400eab);}};global[_0x3c8548(0x156)]=[],global['__sessionFailed']=![],global[_0x3c8548(0xf5)]=async()=>{const _0x5d0042=_0x3c8548;let _0x148eec=![];try{await global['__drivers'][0x0][_0x5d0042(0x113)],_0x148eec=!![],global[_0x5d0042(0x190)]?await _0x2d4f0d['JOYQF'](markSessionStatus,global[_0x5d0042(0x12b)][0x0],_0x2d4f0d[_0x5d0042(0xe7)],global[_0x5d0042(0x156)][_0x5d0042(0x153)](_0x2d4f0d[_0x5d0042(0x170)])):await _0x2d4f0d[_0x5d0042(0x191)](markSessionStatus,global['__drivers'][0x0],_0x2d4f0d[_0x5d0042(0x151)]);}catch(_0x4a32ba){logger[_0x5d0042(0x10f)](_0x5d0042(0x16f)+_0x4a32ba);}global['__error_messages__']=[],global[_0x5d0042(0x190)]=![];if(_0x148eec)try{try{_0x2d4f0d[_0x5d0042(0x11e)](shouldProcessEventForTesthub)&&(global[_0x5d0042(0x12b)][0x0]&&await _0x2d4f0d[_0x5d0042(0x10b)](sendPlatformDetails,global[_0x5d0042(0x12b)][0x0],this[_0x5d0042(0x126)]?this[_0x5d0042(0x126)]['testAnalyticsId']:null));}catch(_0x5abde1){logger[_0x5d0042(0x10f)](_0x5d0042(0x13c)+_0x5abde1);}await global[_0x5d0042(0x12b)][0x0][_0x5d0042(0xf1)]();}catch(_0x12b8a9){logger['debug'](_0x5d0042(0x150)+_0x12b8a9);}};},{'platform':_0x2cfdca[_0x16988f(0x192)](nestedKeyValue,global['__platformCaps'],[_0x2cfdca['yhXIT']]),'hookType':_0x2cfdca[_0x16988f(0x16a)]})();},'beforeEach'(_0x36b691){const _0x14daec=a32_0x1f79fa,_0x2f5219={'zTFba':function(_0x4b4374,_0x4da47e){return _0x4b4374>_0x4da47e;},'NeWOh':function(_0x13fec9,_0x2aebdf){return _0x13fec9>_0x2aebdf;},'dHmUK':_0x14daec(0x159),'FmRyU':function(_0x3b0ac6,_0x19851b,_0x1b4b1a){return _0x3b0ac6(_0x19851b,_0x1b4b1a);},'ujqXe':_0x14daec(0x106),'sdQJy':function(_0x34155a){return _0x34155a();},'FavRy':function(_0x1a6038,_0x4255c7){return _0x1a6038>_0x4255c7;},'zEuzz':_0x14daec(0x140),'pNGVM':function(_0x1432ff,_0x11bf07){return _0x1432ff===_0x11bf07;},'bjViR':_0x14daec(0x138),'xgIgc':function(_0x4758db,_0x338bd4){return _0x4758db===_0x338bd4;},'gGjXE':_0x14daec(0x17b),'xaiaX':_0x14daec(0x119),'hSGHd':'Automate\x20test\x20case\x20execution\x20has\x20started.','xFIRk':_0x14daec(0x127),'CfonJ':_0x14daec(0x115),'spbJY':_0x14daec(0xeb)};globals['setGlobal'](_0x2f5219[_0x14daec(0xed)],this[_0x14daec(0x126)][_0x14daec(0x178)]()[_0x14daec(0x153)](_0x2f5219[_0x14daec(0xe9)])),PerformanceTester[_0x14daec(0x107)](PerformanceSdkEvents[_0x14daec(0x11d)],()=>{const _0xdd065e=_0x14daec,_0x21ed44={'awmjs':function(_0x436757){const _0x6e7f37=a32_0xe504;return _0x2f5219[_0x6e7f37(0x160)](_0x436757);}},_0x1f6a90='browserstack internal helper hook';new Promise(async _0x1fa3c2=>{const _0x2f66bf=a32_0xe504;let _0x2f06e1=!![];try{_0x2f5219['zTFba'](global[_0x2f66bf(0x12b)]['length'],0x1)&&(await global[_0x2f66bf(0xf5)](),global[_0x2f66bf(0x12b)]['shift']()),_0x2f5219[_0x2f66bf(0x11b)](global[_0x2f66bf(0x12b)][0x0][_0x2f66bf(0x11a)],0x0)&&(_0x2f06e1=![],await global[_0x2f66bf(0xf5)]());}catch(_0x4f5b17){logger['debug'](_0x2f66bf(0x150)+_0x4f5b17);}try{Array[_0x2f66bf(0x158)](global[_0x2f66bf(0x12b)])&&global[_0x2f66bf(0x12b)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x2f66bf(0x126)][_0x2f66bf(0x178)]()['join'](_0x2f5219[_0x2f66bf(0xe9)])),global['browserstackSessionName']=this[_0x2f66bf(0x126)][_0x2f66bf(0x178)]()[_0x2f66bf(0x153)](_0x2f5219[_0x2f66bf(0xe9)]);}catch(_0x5b0092){logger[_0x2f66bf(0x10f)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5b0092);}this['currentTest'][_0x2f66bf(0x147)]=_0x2f5219['FmRyU'](shouldScanTestForAccessibility,this[_0x2f66bf(0x126)][_0x2f66bf(0x178)](),!![]),globals[_0x2f66bf(0x111)](_0x2f5219[_0x2f66bf(0x101)],this[_0x2f66bf(0x126)][_0x2f66bf(0x147)]),this['currentTest'][_0x2f66bf(0x112)]=!![];if(_0x2f5219[_0x2f66bf(0x160)](isAccessibilityAutomationSession)&&_0x2f06e1&&Array[_0x2f66bf(0x158)](global[_0x2f66bf(0x12b)])&&_0x2f5219[_0x2f66bf(0xe8)](global['__drivers'][_0x2f66bf(0x18a)],0x0)&&globals['getGlobal'](_0x2f5219[_0x2f66bf(0x16c)]))try{const _0x4eb341=await global[_0x2f66bf(0x12b)][0x0][_0x2f66bf(0x113)];if(_0x4eb341){let _0x54e8b7=!![];const _0x54d415=await global['__drivers'][0x0][_0x2f66bf(0x18f)]();let _0x254c96;try{_0x254c96=new URL(_0x54d415);}catch(_0x2ca87e){_0x54e8b7=![];}_0x54e8b7=_0x2f5219[_0x2f66bf(0x17a)](_0x254c96[_0x2f66bf(0xf8)],_0x2f5219['bjViR'])||_0x2f5219[_0x2f66bf(0x16b)](_0x254c96['protocol'],_0x2f5219[_0x2f66bf(0x103)]),_0x54e8b7&&(this[_0x2f66bf(0x126)][_0x2f66bf(0x147)]&&logger['info'](_0x2f5219[_0x2f66bf(0xf9)])),this['currentTest'][_0x2f66bf(0x112)]=this[_0x2f66bf(0x126)][_0x2f66bf(0x147)],this[_0x2f66bf(0x126)][_0x2f66bf(0x147)]&&logger[_0x2f66bf(0x124)](_0x2f5219['hSGHd']);}}catch(_0x120caf){logger[_0x2f66bf(0x12f)](_0x2f66bf(0x15d)+util['format'](_0x120caf));}_0x2f5219['sdQJy'](_0x1fa3c2);})[_0xdd065e(0x14b)](()=>{const _0x412301=_0xdd065e;_0x21ed44[_0x412301(0x146)](_0x36b691);});},{'platform':_0x2f5219[_0x14daec(0x186)](nestedKeyValue,global['__platformCaps'],[_0x2f5219['CfonJ']]),'hookType':_0x2f5219[_0x14daec(0x194)]})();},'afterEach'(_0x4e6d0f){const _0x237d0c=a32_0x1f79fa,_0x9fc301={'grUlG':function(_0x92dd38,_0x5d9349){return _0x92dd38>_0x5d9349;},'WOBtd':function(_0x2eb286,_0x3fdd18){return _0x2eb286===_0x3fdd18;},'jzFZi':_0x237d0c(0x10e),'bWoLc':'appium:app','mrBwZ':function(_0x559967,_0xcefcc6,_0x2977e4,_0x9cab16){return _0x559967(_0xcefcc6,_0x2977e4,_0x9cab16);},'KdpAB':'isAccessibilityPlatform','tVhjJ':_0x237d0c(0x106),'PdvGn':_0x237d0c(0xf2),'FDfMf':_0x237d0c(0x139),'QAoDi':_0x237d0c(0x181),'sYQUR':_0x237d0c(0x15c),'DAjiy':function(_0xafd7){return _0xafd7();},'cdhvV':function(_0x1a816f,_0x195b1a,_0x3a2c03){return _0x1a816f(_0x195b1a,_0x3a2c03);},'UtZsG':function(_0x4e7b31){return _0x4e7b31();},'gMdVx':_0x237d0c(0x10f),'vrRbc':function(_0x208c70){return _0x208c70();},'UojyA':_0x237d0c(0x159),'KzwGu':function(_0x1422af,_0x6091e0){return _0x1422af!==_0x6091e0;},'uFFTx':_0x237d0c(0x132),'cVYbJ':function(_0x19587d,_0x192383,_0x15378c){return _0x19587d(_0x192383,_0x15378c);},'zlXKA':function(_0x5f414f,_0x219257){return _0x5f414f+_0x219257;},'gDYNM':_0x237d0c(0x15e),'ejmyz':_0x237d0c(0x12f),'mBIll':function(_0x176a8f,_0x261d91,_0xa0aaaa){return _0x176a8f(_0x261d91,_0xa0aaaa);},'rfzwN':'Passed','WGNbU':_0x237d0c(0x124),'kSyMb':function(_0x58fc99,_0x3d6237,_0xfc5fd){return _0x58fc99(_0x3d6237,_0xfc5fd);},'RKISZ':_0x237d0c(0x115),'ufTkU':_0x237d0c(0x189)},_0x225c9f='browserstack internal helper hook';this[_0x237d0c(0x180)](0xfde8),global[_0x237d0c(0x145)]=this[_0x237d0c(0x126)][_0x237d0c(0x178)]()[_0x237d0c(0x153)](_0x9fc301[_0x237d0c(0x183)]),PerformanceTester[_0x237d0c(0x107)](PerformanceSdkEvents[_0x237d0c(0x11d)],()=>{const _0x2a9b41=_0x237d0c,_0x5dc59b={'dNCZb':_0x9fc301[_0x2a9b41(0x183)],'lAiXH':function(_0x5848ff,_0x5def12){const _0x4fd622=_0x2a9b41;return _0x9fc301[_0x4fd622(0xfd)](_0x5848ff,_0x5def12);},'SmikL':_0x9fc301['uFFTx'],'rqhJu':function(_0x195d77,_0x5d03e5,_0x3ac516){const _0x282da7=_0x2a9b41;return _0x9fc301[_0x282da7(0x13f)](_0x195d77,_0x5d03e5,_0x3ac516);},'CJVrB':function(_0x2987e9,_0x1b0260){return _0x9fc301['zlXKA'](_0x2987e9,_0x1b0260);},'IobNk':_0x9fc301[_0x2a9b41(0x18e)],'MvEUQ':_0x9fc301[_0x2a9b41(0x17f)],'TvxlP':function(_0x588308,_0x12ec75,_0x5d7767){return _0x9fc301['mBIll'](_0x588308,_0x12ec75,_0x5d7767);},'BCrti':_0x9fc301[_0x2a9b41(0x17d)],'hFVfc':_0x9fc301[_0x2a9b41(0x184)]},_0x5b0c92=async(_0x15f82d,_0x5634ee)=>{const _0x53f386=_0x2a9b41;await global[_0x53f386(0x12b)][0x0][_0x53f386(0xef)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x15f82d+_0x53f386(0x13d)+_0x5634ee+_0x53f386(0x118));};new Promise(async _0x57cccf=>{const _0x44f32f=_0x2a9b41;try{_0x9fc301[_0x44f32f(0x12a)](global[_0x44f32f(0x12b)]['length'],0x1)&&(await global[_0x44f32f(0xf5)](),global[_0x44f32f(0x12b)]['shift'](),global[_0x44f32f(0x156)]=[],global[_0x44f32f(0x190)]=![]);try{if(global[_0x44f32f(0xfa)]&&_0x9fc301[_0x44f32f(0x117)](global[_0x44f32f(0x173)],_0x9fc301['jzFZi'])&&global[_0x44f32f(0x12b)][0x0]){const _0x2015bd=_0x9fc301[_0x44f32f(0x12a)](global[_0x44f32f(0x182)][_0x44f32f(0x18a)],0x0)?!!global['capabilities'][0x0][_0x44f32f(0x148)]||!!global['capabilities'][0x0][_0x9fc301['bWoLc']]:![],_0x183fc0={};_0x183fc0[_0x44f32f(0x148)]=_0x2015bd,await _0x9fc301[_0x44f32f(0x18b)](percyAutoCapture,global[_0x44f32f(0x12b)][0x0],_0x9fc301[_0x44f32f(0xf6)],_0x183fc0);}}catch(_0x2ceb29){logger[_0x44f32f(0x10f)](_0x44f32f(0x177)+_0x2ceb29);}!global[_0x44f32f(0x15a)]&&(await PerformanceTester[_0x44f32f(0x107)](PerformanceAutEvents[_0x44f32f(0x163)],async()=>{const _0x153f83=_0x44f32f;await global['__drivers'][0x0][_0x153f83(0xef)](_0x153f83(0x13e)+JSON[_0x153f83(0x176)](this[_0x153f83(0x126)][_0x153f83(0x178)]()[_0x153f83(0x153)](_0x5dc59b['dNCZb']))+'}}');})(),global['__drivers'][0x0][_0x44f32f(0x104)]=!![]),await PerformanceTester[_0x44f32f(0x107)](PerformanceAutEvents[_0x44f32f(0xea)],async()=>{const _0x446476=_0x44f32f,_0x2541be=_0x5dc59b[_0x446476(0x144)](this[_0x446476(0x126)]['state'],_0x5dc59b[_0x446476(0x193)]);_0x2541be?(global['__sessionFailed']=!![],global[_0x446476(0x156)][_0x446476(0x17e)](this[_0x446476(0x126)][_0x446476(0x134)][_0x446476(0x105)]),await _0x5dc59b[_0x446476(0x121)](_0x5b0c92,JSON[_0x446476(0x176)](_0x5dc59b[_0x446476(0x14c)](_0x5dc59b['IobNk'],this['currentTest']['err'][_0x446476(0x105)])),_0x5dc59b[_0x446476(0xfc)])):await _0x5dc59b['TvxlP'](_0x5b0c92,JSON[_0x446476(0x176)](_0x5dc59b[_0x446476(0x149)]),_0x5dc59b['hFVfc']);})();}catch(_0xf66550){logger[_0x44f32f(0x10f)](_0x44f32f(0x185)+_0xf66550);}try{if(this[_0x44f32f(0x126)][_0x44f32f(0x112)]&&globals[_0x44f32f(0xec)](_0x9fc301[_0x44f32f(0x128)])&&globals[_0x44f32f(0xec)](_0x9fc301[_0x44f32f(0x129)])){logger[_0x44f32f(0x124)](_0x9fc301[_0x44f32f(0x10a)]);const _0x333683={};_0x333683[_0x44f32f(0x130)]=this[_0x44f32f(0x126)][_0x44f32f(0xee)],_0x333683[_0x44f32f(0x13b)]=process[_0x44f32f(0x12c)][testHubConstants[_0x44f32f(0x152)][_0x44f32f(0x17c)]],_0x333683[_0x44f32f(0x166)]=process[_0x44f32f(0x12c)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2d2713=_0x333683;logger[_0x44f32f(0x10f)](_0x44f32f(0x100)+JSON[_0x44f32f(0x176)](_0x2d2713)),logger[_0x44f32f(0x10f)](_0x9fc301[_0x44f32f(0x179)]);const _0x187fb8={};_0x187fb8[_0x44f32f(0x11c)]=_0x9fc301[_0x44f32f(0x102)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x44f32f(0x136)],async()=>{const _0x3b57f7=_0x44f32f;logger['debug'](util[_0x3b57f7(0x110)](await global[_0x3b57f7(0x12b)][0x0][_0x3b57f7(0x168)](scripts[_0x3b57f7(0x137)],{'method':global[_0x3b57f7(0xf0)]})));},_0x187fb8)(),await PerformanceTester[_0x44f32f(0x107)](PerformanceA11yEvents[_0x44f32f(0xe6)],async()=>{const _0x3999e4=_0x44f32f;await global[_0x3999e4(0x12b)][0x0][_0x3999e4(0x168)](scripts['saveTestResults'],_0x2d2713);})(),logger[_0x44f32f(0x124)](_0x9fc301[_0x44f32f(0x16e)]);}}catch(_0x4406bb){logger[_0x44f32f(0x12f)](_0x44f32f(0x165)+this['currentTest'][_0x44f32f(0x178)]()+_0x44f32f(0x187),_0x4406bb);}try{try{if(_0x9fc301[_0x44f32f(0xfe)](shouldProcessEventForTesthub)){global[_0x44f32f(0x12b)][0x0]&&await _0x9fc301['cdhvV'](sendPlatformDetails,global['__drivers'][0x0],this[_0x44f32f(0x126)]?this[_0x44f32f(0x126)]['testAnalyticsId']:null);if(_0x9fc301[_0x44f32f(0x122)](isBrowserstackInfra)){PerformanceTester[_0x44f32f(0x16d)](PerformanceO11yEvents[_0x44f32f(0x161)]);const _0x3a3987=_0x44f32f(0x14f)+Date[_0x44f32f(0xf7)]();await _0x9fc301[_0x44f32f(0x125)](_0x5b0c92,JSON[_0x44f32f(0x176)](_0x3a3987),_0x9fc301[_0x44f32f(0x141)]),PerformanceTester[_0x44f32f(0xf4)](PerformanceO11yEvents['SYNC']);}}}catch(_0x36996e){logger['debug'](_0x44f32f(0x14a)+_0x36996e),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x36996e);}_0x9fc301[_0x44f32f(0x12a)](global[_0x44f32f(0x12b)][0x0][_0x44f32f(0x11a)],0x0)&&await global[_0x44f32f(0xf5)]();}catch(_0x5c54bf){logger[_0x44f32f(0x10f)](_0x44f32f(0x150)+_0x5c54bf);}_0x9fc301['UtZsG'](_0x57cccf);})[_0x2a9b41(0x14b)](()=>{const _0x532ad3=_0x2a9b41;_0x9fc301[_0x532ad3(0x169)](_0x4e6d0f);});},{'platform':_0x9fc301['kSyMb'](nestedKeyValue,global[_0x237d0c(0xe5)],[_0x9fc301[_0x237d0c(0x14d)]]),'hookType':_0x9fc301[_0x237d0c(0x157)]})();},'afterAll'(_0x1eae9b){const _0x59226e=a32_0x1f79fa,_0x2e8690={'usptV':function(_0x58ce80){return _0x58ce80();},'lvCOu':function(_0x18e6fa,_0x59aad6,_0x36bffe){return _0x18e6fa(_0x59aad6,_0x36bffe);},'picZb':_0x59226e(0x115),'IrKzT':_0x59226e(0x15f)},_0x3b1e2c='browserstack internal helper hook';this[_0x59226e(0x180)](0xfde8),PerformanceTester[_0x59226e(0x107)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xf2d0cc=_0x59226e;new Promise(async _0x17c65e=>{const _0xd1d5f5=a32_0xe504;await global[_0xd1d5f5(0xf5)](),_0x2e8690[_0xd1d5f5(0x10d)](_0x17c65e);})[_0xf2d0cc(0x14b)]()[_0xf2d0cc(0x120)](()=>{_0x2e8690['usptV'](_0x1eae9b);});},{'platform':_0x2e8690[_0x59226e(0x133)](nestedKeyValue,global[_0x59226e(0xe5)],[_0x2e8690['picZb']]),'hookType':_0x2e8690[_0x59226e(0x10c)]})();}};
|
|
1
|
+
const a32_0x332ad0=a32_0x3909;(function(_0x48b925,_0x1313fd){const _0x1eafd4=a32_0x3909,_0x3b1094=_0x48b925();while(!![]){try{const _0x34e9bd=-parseInt(_0x1eafd4(0x1f8))/0x1+parseInt(_0x1eafd4(0x1f2))/0x2*(parseInt(_0x1eafd4(0x1a8))/0x3)+parseInt(_0x1eafd4(0x1bc))/0x4*(parseInt(_0x1eafd4(0x21a))/0x5)+-parseInt(_0x1eafd4(0x22e))/0x6*(parseInt(_0x1eafd4(0x206))/0x7)+-parseInt(_0x1eafd4(0x1d8))/0x8+-parseInt(_0x1eafd4(0x225))/0x9+parseInt(_0x1eafd4(0x1a5))/0xa;if(_0x34e9bd===_0x1313fd)break;else _0x3b1094['push'](_0x3b1094['shift']());}catch(_0x57ed5d){_0x3b1094['push'](_0x3b1094['shift']());}}}(a32_0x16bd,0xcac0d));const util=require(a32_0x332ad0(0x19a)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x332ad0(0x1c0)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x332ad0(0x200)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x332ad0(0x19e)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x332ad0(0x229)),scripts=require(a32_0x332ad0(0x1bd)),globals=require(a32_0x332ad0(0x219)),logger=require(a32_0x332ad0(0x1e0))[a32_0x332ad0(0x1fc)],{shouldProcessEventForTesthub}=require(a32_0x332ad0(0x1fd)),testHubConstants=require(a32_0x332ad0(0x195));exports['mochaHooks']={'beforeAll'(){const _0x2e8150=a32_0x332ad0,_0x305290={'LRZdw':function(_0x31ede2,_0x1f9d46,_0x31a7d8,_0x4bbc5f){return _0x31ede2(_0x1f9d46,_0x31a7d8,_0x4bbc5f);},'lyyUJ':_0x2e8150(0x226),'wuzUt':_0x2e8150(0x1cc),'ckLIS':function(_0xd191db,_0x2d3fc6,_0xce065c){return _0xd191db(_0x2d3fc6,_0xce065c);},'UvwgP':_0x2e8150(0x1a0),'wttIV':function(_0x5af119){return _0x5af119();},'BGmJs':function(_0x2dbf6c,_0x459093,_0x436a16){return _0x2dbf6c(_0x459093,_0x436a16);},'LCzNL':'index','WJScZ':'beforeAll'};PerformanceTester['startMonitoring']();const _0x48f379='browserstack internal helper hook';PerformanceTester[_0x2e8150(0x1d6)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3e3bce=_0x2e8150;global[_0x3e3bce(0x20d)]=[],global[_0x3e3bce(0x1b9)]=![],global[_0x3e3bce(0x1de)]=async()=>{const _0x59a0bc=_0x3e3bce;let _0x1a210f=![];try{await global['__drivers'][0x0][_0x59a0bc(0x198)],_0x1a210f=!![],global[_0x59a0bc(0x1b9)]?await _0x305290[_0x59a0bc(0x1e2)](markSessionStatus,global[_0x59a0bc(0x1a7)][0x0],_0x305290[_0x59a0bc(0x212)],global[_0x59a0bc(0x20d)][_0x59a0bc(0x223)](_0x305290[_0x59a0bc(0x1b6)])):await _0x305290[_0x59a0bc(0x1da)](markSessionStatus,global['__drivers'][0x0],_0x305290[_0x59a0bc(0x1cf)]);}catch(_0x14e68e){logger['debug'](_0x59a0bc(0x1d9)+_0x14e68e);}global[_0x59a0bc(0x20d)]=[],global[_0x59a0bc(0x1b9)]=![];if(_0x1a210f)try{try{_0x305290[_0x59a0bc(0x1dd)](shouldProcessEventForTesthub)&&(global[_0x59a0bc(0x1a7)][0x0]&&await _0x305290[_0x59a0bc(0x207)](sendPlatformDetails,global[_0x59a0bc(0x1a7)][0x0],this[_0x59a0bc(0x237)]?this['currentTest'][_0x59a0bc(0x1fe)]:null));}catch(_0xda9d0b){logger[_0x59a0bc(0x1bb)](_0x59a0bc(0x1b0)+_0xda9d0b);}await global[_0x59a0bc(0x1a7)][0x0][_0x59a0bc(0x1c3)]();}catch(_0x170d86){logger['debug'](_0x59a0bc(0x1bf)+_0x170d86);}};},{'platform':_0x305290[_0x2e8150(0x1da)](nestedKeyValue,global['__platformCaps'],[_0x305290['LCzNL']]),'hookType':_0x305290[_0x2e8150(0x22f)]})();},'beforeEach'(_0x12dbe5){const _0x5c9bc7=a32_0x332ad0,_0x21ce36={'bbcvq':function(_0x3cf5ba,_0x1d73c9){return _0x3cf5ba>_0x1d73c9;},'eIQbJ':function(_0x97127f,_0x355418){return _0x97127f>_0x355418;},'PFpzT':_0x5c9bc7(0x20b),'omkLI':function(_0x344e93,_0x44d4a9,_0x2bd7b8){return _0x344e93(_0x44d4a9,_0x2bd7b8);},'rnPnO':_0x5c9bc7(0x1ac),'xOfyW':function(_0x5ef368){return _0x5ef368();},'PfCOm':_0x5c9bc7(0x1ff),'ETCyT':function(_0x2ba142,_0x162e76){return _0x2ba142===_0x162e76;},'IavFi':'http:','yLtSg':function(_0x55ee58,_0x7a225c){return _0x55ee58===_0x7a225c;},'ILBtU':'https:','SOizg':_0x5c9bc7(0x1cb),'NhSEW':'Automate\x20test\x20case\x20execution\x20has\x20started.','rZfdp':function(_0x14dc80){return _0x14dc80();},'HeKcT':_0x5c9bc7(0x194),'BAeWN':_0x5c9bc7(0x1b1),'MlOvF':_0x5c9bc7(0x1a4)};globals['setGlobal'](_0x21ce36[_0x5c9bc7(0x1c9)],this['currentTest']['titlePath']()[_0x5c9bc7(0x223)](_0x21ce36[_0x5c9bc7(0x196)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x395af2=_0x5c9bc7,_0x3a8036={'RbHwE':function(_0x1aeebf,_0x214e36){const _0x232283=a32_0x3909;return _0x21ce36[_0x232283(0x1b8)](_0x1aeebf,_0x214e36);},'nBKtd':function(_0x4ac970,_0x4e706a){return _0x21ce36['eIQbJ'](_0x4ac970,_0x4e706a);},'wpvra':_0x21ce36[_0x395af2(0x196)],'sNOga':function(_0x458745,_0x4c3d38,_0x550800){const _0xbb1f88=_0x395af2;return _0x21ce36[_0xbb1f88(0x217)](_0x458745,_0x4c3d38,_0x550800);},'yliBy':_0x21ce36[_0x395af2(0x231)],'ZSjoi':function(_0x3deb5c){const _0x4a20e7=_0x395af2;return _0x21ce36[_0x4a20e7(0x227)](_0x3deb5c);},'NAAkb':_0x21ce36[_0x395af2(0x20f)],'DTrZq':function(_0x2c1842,_0xfbbd05){return _0x21ce36['ETCyT'](_0x2c1842,_0xfbbd05);},'Ftxoi':_0x21ce36[_0x395af2(0x21d)],'udAMJ':function(_0x37d3c6,_0x3e5656){return _0x21ce36['yLtSg'](_0x37d3c6,_0x3e5656);},'QyfKm':_0x21ce36[_0x395af2(0x1df)],'viUXW':_0x21ce36[_0x395af2(0x211)],'WrTju':_0x21ce36[_0x395af2(0x191)],'cJyvB':function(_0x5d90a4){const _0x2bb6e2=_0x395af2;return _0x21ce36[_0x2bb6e2(0x1d7)](_0x5d90a4);}},_0x105b72='browserstack internal helper hook';new Promise(async _0x34b404=>{const _0x571ea3=_0x395af2;let _0x2e1269=!![];try{_0x3a8036[_0x571ea3(0x1c5)](global[_0x571ea3(0x1a7)][_0x571ea3(0x205)],0x1)&&(await global[_0x571ea3(0x1de)](),global[_0x571ea3(0x1a7)][_0x571ea3(0x224)]()),_0x3a8036[_0x571ea3(0x21b)](global[_0x571ea3(0x1a7)][0x0][_0x571ea3(0x1ce)],0x0)&&(_0x2e1269=![],await global['driverCleanup']());}catch(_0x3e667b){logger['debug'](_0x571ea3(0x1bf)+_0x3e667b);}try{Array[_0x571ea3(0x1b7)](global[_0x571ea3(0x1a7)])&&global[_0x571ea3(0x1a7)][0x0]&&(global[_0x571ea3(0x1a7)][0x0][_0x571ea3(0x192)]=this[_0x571ea3(0x237)][_0x571ea3(0x1c6)]()[_0x571ea3(0x223)](_0x3a8036[_0x571ea3(0x1eb)])),global[_0x571ea3(0x192)]=this['currentTest']['titlePath']()[_0x571ea3(0x223)](_0x3a8036['wpvra']);}catch(_0x5bcd1d){logger[_0x571ea3(0x1bb)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5bcd1d);}this[_0x571ea3(0x237)][_0x571ea3(0x1e6)]=_0x3a8036[_0x571ea3(0x22a)](shouldScanTestForAccessibility,this[_0x571ea3(0x237)][_0x571ea3(0x1c6)](),!![]),globals['setGlobal'](_0x3a8036[_0x571ea3(0x22c)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x571ea3(0x237)]['accessibilityScanStarted']=!![];if(_0x3a8036[_0x571ea3(0x209)](isAccessibilityAutomationSession)&&_0x2e1269&&Array['isArray'](global[_0x571ea3(0x1a7)])&&_0x3a8036['nBKtd'](global[_0x571ea3(0x1a7)][_0x571ea3(0x205)],0x0)&&globals[_0x571ea3(0x216)](_0x3a8036[_0x571ea3(0x1a6)]))try{const _0x2e6998=await global[_0x571ea3(0x1a7)][0x0][_0x571ea3(0x198)];if(_0x2e6998){let _0x59c469=!![];const _0x5a22ac=await global[_0x571ea3(0x1a7)][0x0][_0x571ea3(0x19c)]();let _0x4ba191;try{_0x4ba191=new URL(_0x5a22ac);}catch(_0x41919e){_0x59c469=![];}_0x59c469=_0x3a8036[_0x571ea3(0x1be)](_0x4ba191[_0x571ea3(0x208)],_0x3a8036[_0x571ea3(0x19b)])||_0x3a8036['udAMJ'](_0x4ba191[_0x571ea3(0x208)],_0x3a8036['QyfKm']),_0x59c469&&(this[_0x571ea3(0x237)][_0x571ea3(0x1e6)]&&logger[_0x571ea3(0x1a3)](_0x3a8036[_0x571ea3(0x21e)])),this[_0x571ea3(0x237)][_0x571ea3(0x222)]=this['currentTest'][_0x571ea3(0x1e6)],this[_0x571ea3(0x237)][_0x571ea3(0x1e6)]&&logger[_0x571ea3(0x1a3)](_0x3a8036[_0x571ea3(0x1ca)]);}}catch(_0x3d3dec){logger['error'](_0x571ea3(0x190)+util['format'](_0x3d3dec));}_0x3a8036[_0x571ea3(0x209)](_0x34b404);})[_0x395af2(0x193)](()=>{const _0x2d9010=_0x395af2;_0x3a8036[_0x2d9010(0x1f3)](_0x12dbe5);});},{'platform':_0x21ce36[_0x5c9bc7(0x217)](nestedKeyValue,global[_0x5c9bc7(0x213)],[_0x21ce36[_0x5c9bc7(0x1dc)]]),'hookType':_0x21ce36['MlOvF']})();},'afterEach'(_0x480364){const _0x2eb915=a32_0x332ad0,_0x1008e5={'jnyOq':function(_0x12bc2c,_0x46a7a1){return _0x12bc2c!==_0x46a7a1;},'rQhqA':_0x2eb915(0x1a0),'HaEgf':function(_0x1cd311,_0x338769,_0x43671e){return _0x1cd311(_0x338769,_0x43671e);},'IQIhF':function(_0x450394,_0x55b8db){return _0x450394+_0x55b8db;},'amlyy':_0x2eb915(0x1a1),'fFpZO':'error','kMENv':function(_0x568b54,_0x3d550b,_0x33dd0e){return _0x568b54(_0x3d550b,_0x33dd0e);},'rQdZz':'Passed','QmTuw':'info','YPEUK':function(_0x5661e9,_0x3cd9a4){return _0x5661e9>_0x3cd9a4;},'JXSDU':function(_0x248592,_0x5160b7){return _0x248592===_0x5160b7;},'datGl':_0x2eb915(0x20c),'vwFHl':_0x2eb915(0x1c1),'ELpmz':function(_0x13f0f0,_0x4de99c,_0x4ba8bb,_0x50bc8b){return _0x13f0f0(_0x4de99c,_0x4ba8bb,_0x50bc8b);},'bVpQU':_0x2eb915(0x1ff),'PoDTj':_0x2eb915(0x1ac),'JLCsl':_0x2eb915(0x1ef),'YALNw':_0x2eb915(0x214),'mqbXx':_0x2eb915(0x1ea),'qqXoL':_0x2eb915(0x1e3),'DEVfK':function(_0x4bd58c){return _0x4bd58c();},'LPECz':function(_0x178ec8,_0x3f35f8,_0x1d900e){return _0x178ec8(_0x3f35f8,_0x1d900e);},'HVGgj':function(_0x3249fc,_0x59f5bb,_0x339283){return _0x3249fc(_0x59f5bb,_0x339283);},'Tzaul':_0x2eb915(0x1bb),'hLtKl':function(_0x222d85){return _0x222d85();},'vDzkM':_0x2eb915(0x20b),'MaXrO':function(_0x24e833,_0x19f4ee,_0x3eecfc){return _0x24e833(_0x19f4ee,_0x3eecfc);},'WatIN':_0x2eb915(0x1b1),'GfVay':'afterEach'},_0x5e369d='browserstack internal helper hook';this[_0x2eb915(0x235)](0xfde8),global['sessionName']=this[_0x2eb915(0x237)][_0x2eb915(0x1c6)]()[_0x2eb915(0x223)](_0x1008e5[_0x2eb915(0x1f9)]),PerformanceTester[_0x2eb915(0x1d6)](PerformanceSdkEvents[_0x2eb915(0x202)],()=>{const _0x563b28=_0x2eb915,_0xa188b4={'KyMNH':_0x1008e5[_0x563b28(0x1f9)],'PeEsT':function(_0x37e7e8){const _0x1ad284=_0x563b28;return _0x1008e5[_0x1ad284(0x218)](_0x37e7e8);}},_0x325110=async(_0x29de2d,_0x1e764b)=>{const _0x58154e=_0x563b28;await global[_0x58154e(0x1a7)][0x0][_0x58154e(0x1ba)](_0x58154e(0x215)+_0x29de2d+',\x22level\x22:\x20\x22'+_0x1e764b+'\x22}}');};new Promise(async _0x12a663=>{const _0x4d421b=_0x563b28,_0x3a155e={'wkYLJ':function(_0x579e02,_0x17f9c9){const _0x2df9fa=a32_0x3909;return _0x1008e5[_0x2df9fa(0x228)](_0x579e02,_0x17f9c9);},'ekWOY':_0x1008e5[_0x4d421b(0x1c2)],'dnNyF':function(_0x3e8d4c,_0x384396,_0x20b3c6){const _0x35fdd2=_0x4d421b;return _0x1008e5[_0x35fdd2(0x232)](_0x3e8d4c,_0x384396,_0x20b3c6);},'OgKuh':function(_0xea14c2,_0x41ceb1){return _0x1008e5['IQIhF'](_0xea14c2,_0x41ceb1);},'vNHJA':_0x1008e5[_0x4d421b(0x1f4)],'yVcCM':_0x1008e5[_0x4d421b(0x1db)],'YDPGM':function(_0x2eb17b,_0x4fc6d9,_0x2ffffc){const _0x3c93c8=_0x4d421b;return _0x1008e5[_0x3c93c8(0x220)](_0x2eb17b,_0x4fc6d9,_0x2ffffc);},'mfHUj':_0x1008e5[_0x4d421b(0x1ec)],'jvxvk':_0x1008e5['QmTuw']};try{_0x1008e5['YPEUK'](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x4d421b(0x1a7)][_0x4d421b(0x224)](),global[_0x4d421b(0x20d)]=[],global[_0x4d421b(0x1b9)]=![]);try{if(global[_0x4d421b(0x1b3)]&&_0x1008e5[_0x4d421b(0x1b4)](global[_0x4d421b(0x1d3)],_0x1008e5['datGl'])&&global[_0x4d421b(0x1a7)][0x0]){const _0x37706c=_0x1008e5['YPEUK'](global['capabilities'][_0x4d421b(0x205)],0x0)?!!global[_0x4d421b(0x1f5)][0x0][_0x4d421b(0x20a)]||!!global['capabilities'][0x0][_0x1008e5[_0x4d421b(0x1c7)]]:![],_0x334b54={};_0x334b54[_0x4d421b(0x20a)]=_0x37706c,await _0x1008e5[_0x4d421b(0x1fb)](percyAutoCapture,global[_0x4d421b(0x1a7)][0x0],_0x1008e5[_0x4d421b(0x1e1)],_0x334b54);}}catch(_0xad389b){logger[_0x4d421b(0x1bb)](_0x4d421b(0x19d)+_0xad389b);}!global[_0x4d421b(0x197)]&&(await PerformanceTester[_0x4d421b(0x1d6)](PerformanceAutEvents[_0x4d421b(0x1f0)],async()=>{const _0x530bad=_0x4d421b;await global[_0x530bad(0x1a7)][0x0][_0x530bad(0x1ba)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x530bad(0x201)](this[_0x530bad(0x237)][_0x530bad(0x1c6)]()[_0x530bad(0x223)](_0xa188b4[_0x530bad(0x1cd)]))+'}}');})(),global[_0x4d421b(0x1a7)][0x0][_0x4d421b(0x1d2)]=!![]),await PerformanceTester[_0x4d421b(0x1d6)](PerformanceAutEvents[_0x4d421b(0x1ae)],async()=>{const _0x3628b8=_0x4d421b,_0x3a3a93=_0x3a155e['wkYLJ'](this['currentTest'][_0x3628b8(0x230)],_0x3a155e[_0x3628b8(0x1aa)]);_0x3a3a93?(global[_0x3628b8(0x1b9)]=!![],global[_0x3628b8(0x20d)][_0x3628b8(0x1d1)](this[_0x3628b8(0x237)]['err'][_0x3628b8(0x1d5)]),await _0x3a155e['dnNyF'](_0x325110,JSON[_0x3628b8(0x201)](_0x3a155e['OgKuh'](_0x3a155e[_0x3628b8(0x1af)],this[_0x3628b8(0x237)][_0x3628b8(0x1f6)]['message'])),_0x3a155e[_0x3628b8(0x1e4)])):await _0x3a155e['YDPGM'](_0x325110,JSON[_0x3628b8(0x201)](_0x3a155e[_0x3628b8(0x238)]),_0x3a155e['jvxvk']);})();}catch(_0x29937f){logger[_0x4d421b(0x1bb)](_0x4d421b(0x1b2)+_0x29937f);}try{if(this[_0x4d421b(0x237)][_0x4d421b(0x222)]&&globals['getGlobal'](_0x1008e5[_0x4d421b(0x1a2)])&&globals['getGlobal'](_0x1008e5[_0x4d421b(0x1e7)])){logger[_0x4d421b(0x1a3)](_0x1008e5['JLCsl']);const _0x4e2e05={};_0x4e2e05[_0x4d421b(0x21f)]=this[_0x4d421b(0x237)][_0x4d421b(0x1fe)],_0x4e2e05[_0x4d421b(0x22d)]=process[_0x4d421b(0x233)][testHubConstants['ENV_VAR'][_0x4d421b(0x199)]],_0x4e2e05[_0x4d421b(0x210)]=process[_0x4d421b(0x233)][testHubConstants[_0x4d421b(0x204)]['BROWSERSTACK_TESTHUB_JWT']];const _0x461c2a=_0x4e2e05;logger[_0x4d421b(0x1bb)](_0x4d421b(0x1d0)+JSON[_0x4d421b(0x201)](_0x461c2a)),logger[_0x4d421b(0x1bb)](_0x1008e5[_0x4d421b(0x19f)]);const _0x446a5f={};_0x446a5f[_0x4d421b(0x1b5)]=_0x1008e5['mqbXx'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4d421b(0x1c8)],async()=>{const _0x4ec153=_0x4d421b;logger[_0x4ec153(0x1bb)](util[_0x4ec153(0x1ed)](await global[_0x4ec153(0x1a7)][0x0][_0x4ec153(0x221)](scripts[_0x4ec153(0x1ab)],{'method':global[_0x4ec153(0x192)]})));},_0x446a5f)(),await PerformanceTester[_0x4d421b(0x1d6)](PerformanceA11yEvents[_0x4d421b(0x22b)],async()=>{const _0x5dd32a=_0x4d421b;await global[_0x5dd32a(0x1a7)][0x0][_0x5dd32a(0x221)](scripts[_0x5dd32a(0x1f7)],_0x461c2a);})(),logger[_0x4d421b(0x1a3)](_0x1008e5['qqXoL']);}}catch(_0x2a309e){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x4d421b(0x237)][_0x4d421b(0x1c6)]()+_0x4d421b(0x1e5),_0x2a309e);}try{try{if(_0x1008e5[_0x4d421b(0x218)](shouldProcessEventForTesthub)){global[_0x4d421b(0x1a7)][0x0]&&await _0x1008e5['LPECz'](sendPlatformDetails,global[_0x4d421b(0x1a7)][0x0],this['currentTest']?this[_0x4d421b(0x237)][_0x4d421b(0x1fe)]:null);if(_0x1008e5['DEVfK'](isBrowserstackInfra)){PerformanceTester[_0x4d421b(0x1fa)](PerformanceO11yEvents['SYNC']);const _0x285a3a=_0x4d421b(0x1f1)+Date['now']();await _0x1008e5[_0x4d421b(0x1e9)](_0x325110,JSON[_0x4d421b(0x201)](_0x285a3a),_0x1008e5[_0x4d421b(0x20e)]),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x15d873){logger[_0x4d421b(0x1bb)](_0x4d421b(0x236)+_0x15d873),PerformanceTester[_0x4d421b(0x234)](PerformanceO11yEvents['SYNC'],![],_0x15d873);}_0x1008e5['YPEUK'](global[_0x4d421b(0x1a7)][0x0][_0x4d421b(0x1ce)],0x0)&&await global[_0x4d421b(0x1de)]();}catch(_0x43749a){logger['debug'](_0x4d421b(0x1bf)+_0x43749a);}_0x1008e5[_0x4d421b(0x203)](_0x12a663);})['then'](()=>{const _0x495838=_0x563b28;_0xa188b4[_0x495838(0x1e8)](_0x480364);});},{'platform':_0x1008e5[_0x2eb915(0x1c4)](nestedKeyValue,global[_0x2eb915(0x213)],[_0x1008e5['WatIN']]),'hookType':_0x1008e5[_0x2eb915(0x1a9)]})();},'afterAll'(_0x2b0c1e){const _0x28c1be=a32_0x332ad0,_0x4892ee={'gcdjW':function(_0x265617){return _0x265617();},'vkUEW':function(_0x280d1c,_0x1f8dbe,_0x12612a){return _0x280d1c(_0x1f8dbe,_0x12612a);},'vZlQp':'index','PZSDB':_0x28c1be(0x1ee)},_0x48507b='browserstack internal helper hook';this[_0x28c1be(0x235)](0xfde8),PerformanceTester[_0x28c1be(0x1d6)](PerformanceSdkEvents[_0x28c1be(0x202)],()=>{const _0x2a5934={'SLObN':function(_0x1d3e5e){const _0x4ef806=a32_0x3909;return _0x4892ee[_0x4ef806(0x21c)](_0x1d3e5e);},'HVZnf':function(_0x1dc2fe){return _0x4892ee['gcdjW'](_0x1dc2fe);}};new Promise(async _0x456fd8=>{const _0x1d5360=a32_0x3909;await global[_0x1d5360(0x1de)](),_0x2a5934[_0x1d5360(0x1ad)](_0x456fd8);})['then']()['finally'](()=>{const _0x51adaf=a32_0x3909;_0x2a5934[_0x51adaf(0x1d4)](_0x2b0c1e);});},{'platform':_0x4892ee['vkUEW'](nestedKeyValue,global[_0x28c1be(0x213)],[_0x4892ee['vZlQp']]),'hookType':_0x4892ee[_0x28c1be(0x239)]})();}};function a32_0x3909(_0xbbbc6a,_0x1583e3){const _0x16bd38=a32_0x16bd();return a32_0x3909=function(_0x390970,_0x1958a0){_0x390970=_0x390970-0x190;let _0x3b4124=_0x16bd38[_0x390970];return _0x3b4124;},a32_0x3909(_0xbbbc6a,_0x1583e3);}function a32_0x16bd(){const _0x59bc90=['WJScZ','state','rnPnO','HaEgf','env','end','timeout','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','currentTest','mfHUj','PZSDB','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','NhSEW','browserstackSessionName','then','browserstackTestName','../../helpers/testhub/constants','PFpzT','__skipSessionName','session_','BROWSERSTACK_TESTHUB_UUID','util','Ftxoi','getCurrentUrl','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','../../helpers/helper','YALNw','passed','Failed:\x20','bVpQU','info','beforeEach','18367350hnCIXv','NAAkb','__drivers','3KNDJHy','GfVay','ekWOY','performScan','bstackA11yShouldScan','SLObN','SESSION_STATUS','vNHJA','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','index','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','percy','JXSDU','command','wuzUt','isArray','bbcvq','__sessionFailed','executeScript','debug','1450664FgsWVV','../../helpers/accessibility-automation/scripts','DTrZq','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/accessibility-automation/helper','appium:app','rQhqA','initQuit','MaXrO','RbHwE','titlePath','vwFHl','PERFORM_SCAN','HeKcT','WrTju','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','\x20|\x20','KyMNH','quitCount_','UvwgP','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','push','sessionNameSet__','percyCaptureMode','HVZnf','message','measureWrapper','rZfdp','5643392zrtdhn','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','ckLIS','fFpZO','BAeWN','wttIV','driverCleanup','ILBtU','../../helpers/logger','datGl','LRZdw','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','yVcCM','.\x20Error\x20:','shouldScanTestForAccessibility','PoDTj','PeEsT','HVGgj','afterTest','wpvra','rQdZz','format','afterAll','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SESSION_NAME','ObservabilitySync:','2710538lFPLBJ','cJyvB','amlyy','capabilities','err','saveTestResults','945181xxrqpL','vDzkM','start','ELpmz','winstonLogger','../../helpers/testhub/utils','testAnalyticsId','isAccessibilityPlatform','./test-observability/mochaUtils','stringify','SDK_HOOK','hLtKl','ENV_VAR','length','3269YYewhf','BGmJs','protocol','ZSjoi','app','\x20-\x20','testcase','__error_messages__','Tzaul','PfCOm','thJwtToken','SOizg','lyyUJ','__platformCaps','Performing\x20scan\x20before\x20saving\x20results','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','getGlobal','omkLI','DEVfK','../../helpers/globals','20lPHSRD','nBKtd','gcdjW','IavFi','viUXW','thTestRunUuid','kMENv','executeAsyncScript','accessibilityScanStarted','join','shift','11111319mtXAqZ','failed','xOfyW','jnyOq','../../helpers/performance/constants','sNOga','SAVE_RESULTS','yliBy','thBuildUuid','11910Rkqgyd'];a32_0x16bd=function(){return _0x59bc90;};return a32_0x16bd();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a33_0x4e3c32=a33_0x4549;(function(_0x3f5da3,_0x4a6b70){const _0x35d772=a33_0x4549,_0xd8b23c=_0x3f5da3();while(!![]){try{const _0x562e45=parseInt(_0x35d772(0x112))/0x1*(parseInt(_0x35d772(0x123))/0x2)+parseInt(_0x35d772(0x120))/0x3*(-parseInt(_0x35d772(0x147))/0x4)+parseInt(_0x35d772(0x135))/0x5+-parseInt(_0x35d772(0x138))/0x6*(-parseInt(_0x35d772(0x126))/0x7)+-parseInt(_0x35d772(0x109))/0x8+-parseInt(_0x35d772(0x14e))/0x9*(parseInt(_0x35d772(0x11c))/0xa)+-parseInt(_0x35d772(0x14a))/0xb*(-parseInt(_0x35d772(0x12c))/0xc);if(_0x562e45===_0x4a6b70)break;else _0xd8b23c['push'](_0xd8b23c['shift']());}catch(_0x5ed620){_0xd8b23c['push'](_0xd8b23c['shift']());}}}(a33_0x5c95,0xe5024));function a33_0x5c95(){const _0x39f64b=['Deleting\x20','config','7078745sslwOy','pOntH','child\x20process\x20exited\x20with\x20code\x20','28362RYSIrd','test_settings','EAFbG','inherit','info','findIndex','qprbr','length','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','hub.browserstack.com','modifyBrowserStackCaps','trim','DyLpL','isUndefined','192964fJvWDc','desiredCapabilities','cwd','530277JHHlwR','host','slice','qxmPK','8721bOKpmA','EerbL','exports','stringify','filter','5619664GPTjsM','--config','../../helpers/logger','start_process','../utils/constants','close','push','--env','nightwatch.json','61888iEyZxc','../../helpers/helper','MsrZM','debug','existsSync','webdriver','LFqDI','platforms','getPlatformName','unlinkSync','2710pxBFlA','env','splice','tGvGT','21ZwtDLg','Rynqz','nightwatch.cmd','16GftJLB','forEach','LXUoB','203QVQFrb','join','JTWkj','now','mergeDeep','GXGQR','48OzIZvb','port','split','EvwpF','nightwatch','OaJSh','map'];a33_0x5c95=function(){return _0x39f64b;};return a33_0x5c95();}function a33_0x4549(_0x2ed8f3,_0x212c9b){const _0x5c9521=a33_0x5c95();return a33_0x4549=function(_0x4549bf,_0x2b12bc){_0x4549bf=_0x4549bf-0x105;let _0x4a47da=_0x5c9521[_0x4549bf];return _0x4a47da;},a33_0x4549(_0x2ed8f3,_0x212c9b);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a33_0x4e3c32(0x10b))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x4e3c32(0x113)),constants=require(a33_0x4e3c32(0x10d)),getUserNightwatchConfigs=(_0x1d7ee5,_0x439186)=>{const _0xa9d6f5=a33_0x4e3c32,_0x31268d={'OaJSh':'nightwatch.conf.js','LXUoB':_0xa9d6f5(0x111),'GJrYp':function(_0x473885,_0x44b981){return _0x473885(_0x44b981);},'pOntH':_0xa9d6f5(0x140)};let _0x5ddd99=null,_0x412379={};const _0x45f0ab=_0x439186[_0xa9d6f5(0x13d)](_0x65a2f=>_0x65a2f===_0xa9d6f5(0x10a));if(!helper[_0xa9d6f5(0x146)](_0x1d7ee5[_0xa9d6f5(0x134)])&&fs[_0xa9d6f5(0x116)](path[_0xa9d6f5(0x127)](process[_0xa9d6f5(0x149)](),_0x1d7ee5[_0xa9d6f5(0x134)])))_0x5ddd99=path[_0xa9d6f5(0x127)](process[_0xa9d6f5(0x149)](),_0x1d7ee5['config']),_0x439186[_0xa9d6f5(0x11e)](_0x45f0ab,0x2);else{if(fs[_0xa9d6f5(0x116)](path[_0xa9d6f5(0x127)](process[_0xa9d6f5(0x149)](),_0x31268d[_0xa9d6f5(0x131)])))_0x5ddd99=path[_0xa9d6f5(0x127)](process[_0xa9d6f5(0x149)](),_0x31268d[_0xa9d6f5(0x131)]);else fs[_0xa9d6f5(0x116)](path[_0xa9d6f5(0x127)](process['cwd'](),_0x31268d[_0xa9d6f5(0x125)]))&&(_0x5ddd99=path[_0xa9d6f5(0x127)](process[_0xa9d6f5(0x149)](),_0x31268d[_0xa9d6f5(0x125)]));}return _0x5ddd99?(logger[_0xa9d6f5(0x13c)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x5ddd99),_0x412379=_0x31268d['GJrYp'](require,_0x5ddd99)):logger['info'](_0x31268d[_0xa9d6f5(0x136)]),_0x412379;},removeExistingEnvs=_0xbeb834=>{const _0x24984d=a33_0x4e3c32,_0x1529b4={};_0x1529b4[_0x24984d(0x13a)]=function(_0x39bc78,_0x326bde){return _0x39bc78>_0x326bde;};const _0x2768a4=_0x1529b4;let _0x54d202=_0xbeb834[_0x24984d(0x13d)](_0x5c463f=>_0x5c463f===_0x24984d(0x110));_0x2768a4['EAFbG'](_0x54d202,-0x1)&&_0xbeb834[_0x24984d(0x11e)](_0x54d202,0x2),_0x54d202=_0xbeb834[_0x24984d(0x13d)](_0x518184=>_0x518184==='-e'),_0x2768a4[_0x24984d(0x13a)](_0x54d202,-0x1)&&_0xbeb834[_0x24984d(0x11e)](_0x54d202,0x2);};function run(_0x10a6d9,_0x59503c){const _0x49fb77=a33_0x4e3c32,_0x4790a5={'GXGQR':_0x49fb77(0x130),'EerbL':function(_0x476e61,_0x5992c0){return _0x476e61+_0x5992c0;},'JTWkj':_0x49fb77(0x139),'gquFv':function(_0x43fb1f,_0x48a4a3,_0x1f7e7a){return _0x43fb1f(_0x48a4a3,_0x1f7e7a);},'qprbr':_0x49fb77(0x142),'gbAZc':_0x49fb77(0x141),'MsrZM':function(_0x239ee9,_0x1b911a){return _0x239ee9===_0x1b911a;},'OXwEQ':'nightwatch-browserstack.json','Rynqz':function(_0x5f228e,_0x4e7394){return _0x5f228e(_0x4e7394);},'qxmPK':function(_0x392c3a,_0x510041,_0x24fb92,_0x33ae47){return _0x392c3a(_0x510041,_0x24fb92,_0x33ae47);},'LFqDI':_0x49fb77(0x122),'DyLpL':_0x49fb77(0x10a),'tGvGT':_0x49fb77(0x110),'EvwpF':_0x49fb77(0x13b),'umzdU':_0x49fb77(0x10e)},_0x457aff=new BrowserStackSetup(_0x10a6d9);if(!_0x457aff[_0x49fb77(0x134)])return;const _0xd12589=_0x4790a5['gquFv'](getUserNightwatchConfigs,_0x10a6d9,_0x59503c),_0x508677={};_0x508677[_0x49fb77(0x10c)]=![];const _0x1f9ffe={};_0x1f9ffe[_0x49fb77(0x14b)]=_0x4790a5[_0x49fb77(0x13e)],_0x1f9ffe[_0x49fb77(0x12d)]=0x1bb;const _0x3d175b={};_0x3d175b[_0x49fb77(0x117)]=_0x508677,_0x3d175b['selenium']=_0x1f9ffe;const _0xe885a4=_0x3d175b;logger[_0x49fb77(0x13c)](_0x4790a5['gbAZc']);const _0x10aec0={..._0xd12589},_0x2e3e36=_0x10aec0,_0x5c4283=helper['useW3C'](_0x457aff[_0x49fb77(0x134)]),_0x711f38=[];_0x457aff[_0x49fb77(0x134)][_0x49fb77(0x119)][_0x49fb77(0x124)]((_0x45047b,_0x436c2b)=>{const _0x463e04=_0x49fb77;_0x5c4283?_0x711f38['push'](helper['modifyBrowserStackW3CCaps'](_0x457aff['config'],_0x4790a5[_0x463e04(0x12b)],_0x436c2b)):_0x711f38[_0x463e04(0x10f)](helper[_0x463e04(0x143)](_0x457aff['config'],_0x4790a5[_0x463e04(0x12b)],_0x436c2b));});const _0x3b6b55={},_0x8638a6=[];_0x10a6d9[_0x49fb77(0x11d)]=_0x10a6d9[_0x49fb77(0x11d)]||_0x10a6d9['e'];const _0x3eb322=_0x10a6d9[_0x49fb77(0x11d)]?_0x10a6d9[_0x49fb77(0x11d)]['trim']()[_0x49fb77(0x12e)](',')[_0x49fb77(0x132)](_0x232497=>_0x232497[_0x49fb77(0x144)]())[_0x49fb77(0x108)](_0x18afe1=>_0x18afe1!==''):[''];_0x4790a5[_0x49fb77(0x114)](_0x3eb322[_0x49fb77(0x13f)],0x0)&&_0x3eb322[_0x49fb77(0x10f)]('');_0x3eb322[_0x49fb77(0x124)](_0x3f4f88=>{_0x711f38['forEach'](_0x45d3a3=>{const _0x1df615=a33_0x4549;let _0x36824f=_0x4790a5[_0x1df615(0x105)](helper[_0x1df615(0x11a)](_0x45d3a3,'_'),'_'+Date[_0x1df615(0x129)]());_0x3f4f88&&(_0x36824f+='_'+_0x3f4f88);if(_0x3f4f88&&(!_0xd12589[_0x4790a5[_0x1df615(0x128)]]||!_0xd12589[_0x4790a5['JTWkj']][_0x3f4f88]))return;const _0x3d89d9={..._0xe885a4};_0x3d89d9[_0x1df615(0x148)]=_0x45d3a3;const _0x336a7c=_0x3d89d9;_0x3b6b55[_0x36824f]=_0x3f4f88?helper[_0x1df615(0x12a)](_0xd12589[_0x4790a5['JTWkj']][_0x3f4f88],_0x336a7c):_0x336a7c,_0x8638a6[_0x1df615(0x10f)](_0x36824f);});});!_0x2e3e36[_0x49fb77(0x139)]&&(_0x2e3e36[_0x49fb77(0x139)]={});_0x2e3e36[_0x49fb77(0x139)]={..._0x2e3e36[_0x49fb77(0x139)],..._0x3b6b55};const _0x19b2bf=path[_0x49fb77(0x127)](__dirname,_0x4790a5['OXwEQ']);fs['writeFileSync'](_0x19b2bf,JSON[_0x49fb77(0x107)](_0x2e3e36)),_0x4790a5[_0x49fb77(0x121)](removeExistingEnvs,_0x59503c);const _0x116544=_0x4790a5[_0x49fb77(0x14d)](spawn,/^win/['test'](process['platform'])?_0x4790a5[_0x49fb77(0x118)]:_0x4790a5['GXGQR'],[_0x4790a5[_0x49fb77(0x145)],_0x19b2bf,..._0x59503c[_0x49fb77(0x14c)](0x1),_0x4790a5[_0x49fb77(0x11f)],_0x8638a6[_0x49fb77(0x127)](',')],{'stdio':_0x4790a5[_0x49fb77(0x12f)]});_0x116544['on'](_0x4790a5['umzdU'],async _0x5b7004=>{const _0x359934=_0x49fb77;logger[_0x359934(0x115)](_0x359934(0x137)+_0x5b7004),logger[_0x359934(0x13c)](_0x359934(0x133)+_0x19b2bf),fs[_0x359934(0x11b)](_0x19b2bf);});}module[a33_0x4e3c32(0x106)]=run;
|