browserstack-node-sdk 1.35.10 → 1.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/CFTemplates/aws-eks-cluster-dep.yaml +13 -1
- 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/templates/azureresources/akscluster.json +9 -1
- package/ats/src/templates/gcpresources/gkecluster.json +6 -2
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/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';const a28_0x109b11=a28_0x5454;(function(_0x306160,_0x21f5df){const _0x27d163=a28_0x5454,_0xdfffbb=_0x306160();while(!![]){try{const _0x42aa31=parseInt(_0x27d163(0x1d3))/0x1+-parseInt(_0x27d163(0x24e))/0x2*(parseInt(_0x27d163(0x241))/0x3)+-parseInt(_0x27d163(0x1d8))/0x4*(-parseInt(_0x27d163(0x172))/0x5)+parseInt(_0x27d163(0x1f3))/0x6*(-parseInt(_0x27d163(0x1d2))/0x7)+-parseInt(_0x27d163(0x1ca))/0x8+parseInt(_0x27d163(0x1bf))/0x9*(-parseInt(_0x27d163(0x16a))/0xa)+parseInt(_0x27d163(0x217))/0xb*(parseInt(_0x27d163(0x1c1))/0xc);if(_0x42aa31===_0x21f5df)break;else _0xdfffbb['push'](_0xdfffbb['shift']());}catch(_0x26c540){_0xdfffbb['push'](_0xdfffbb['shift']());}}}(a28_0x2b34,0x4d097));function a28_0x2b34(){const _0x43bfef=['files','parse','duration','getHubUrl','../../helpers/central-scanner/constants','WqPZM','pILns','config','hgvsN','sort','FRAMEWORKS','showDiff','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MWoZR','maxRetries','writeFileSync','AtNTf','bJRnY','../../helpers/test-observability/utils','toUTCString','parseTestOrchestrationOptions','PRTLg','cliConfig','doc','IEoUq','IejYu','2971859LPrHKp','platforms','sUCdU','retries','Now,\x20showing\x20logs\x20from\x20mocha','BQdoe','JcmFx','QZQNB','message','ignore','cjs','ezcvT','BROWSERSTACK_GRR_US_HUB_URL','hrtye','bgBlueBright','Mocha\x20Tests','ZjLSf','hideDiff','xExwm','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','skipped','pFdyX','fAkEf','env','err','suite','Writing\x20json\x20result\x20to\x20file','WKJyG','Total\x20Platforms:\x20','****\x20FAILURES\x20****','hXIbo','Listing\x20all\x20the\x20failures','title','SDK_CLEANUP','jyRsB','join','parallelsPerPlatform','lKjkT','ZBHnk','XOeGn','isUndefined','hGior','13767EEAqOW','hqIyu','output','dvlWU','keys','FRdQo','stringify','VUiMQ','eijpj','mocha/lib/reporters/base.js','hDKBn','then','../../helpers/helper','118igGYHZ','log','length','bxkpl','GnwrS','rootHooks','yellow','XLQPU','state','pending','YItAC','Running\x20your\x20mocha\x20tests','Ukylt','get','PcRXo','gXhMb','forEach','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','kadCx','Printing\x20stats\x20of\x20tests','PJVIi','stats','hasOwnProperty','getPlatformName','NCpkw','testsuite','accessibility','getUserWorkerCount','info','json','recursive','../../helpers/performance/performance-tester','debug','list','OQhje','IMnjP','passed','framework','ooTjO','10KAvaDK','rerunTests','fullTitle','mOkNG','parseFileNames','accessibilityOptions','BxZwW','finally','1442495fFGHrv','totalTests','BROWSERSTACK_TEST_ACCESSIBILITY_YML','titlePath','size','SDKTestSuccessful','proxySettings','Zgdda','oxeaC','mocha','tSXIh','reporter-option','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','../utils/constants','Vyqbc','finalExecution','ftiec','file','ryosa','BsMRX','xThgT','hEqRt','isTestObservabilitySession','wJIbh','KqojQ','IYBYH','printBuildLink','bold','getErrorMessageFromResults','getTCGConfigFilePaths','lSKvV','launchBuild','zlVcS','object','mjs','KiiDg','retryTestsOnFailure','push','failures','\x20skipped','failed','WJSvE','PilzQ','ppCzZ','Duvfb','Writing\x20xunit\x20result\x20to\x20file','AvjbU','testObservability','\x20passed','currentRetry','\x20platforms','nyhZn','SPgys','\x0a\x0a\x0a','ScoaW','jXHHq','map','spec','IBtLG','platform','dCEJF','ZjSLf','\x20failed','indexOf','OSpno','bCUGV','start','call','Couldn\x27t\x20write\x20xunit\x20result\x20to','NyWmx','Total\x20Suites:\x20','testSuites','AGdEq','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','useColors','kdKrL','aGfXi','1190520cPkdNd','testcase','24LnVtMh','chalk','exports','error\x20removing\x20tcg\x20config\x20file','yzRtz','prototype','titlePathV','jlNmz','reporterOptions','4089096TqawVx','isBrowserstackInfra','BROWSERSTACK_RERUN_TESTS','QohiT','EVENTS','MOCHA','RnuSe','logLevel','1631nbwFQk','152684qcPYum','hbeHk','isEmpty','stack','bgJsv','8QfVNVk','BXkyY','kANVa','UFpgQ','../../helpers/test-observability/constants','results','consoleLog','BROWSERSTACK_TEST_OBSERVABILITY_YML','min','iijbP','getOwnPropertyNames','isPending','../../helpers/logger','YrDku','kDyIh','suiteName','handleApp','reporter','red','rmdirSync','extension','zfNdf','Peoyb','generateDiff','setupTCGAuth','YvmPC','green','1038knhNbU','Tests:\x20\x20\x20\x20\x20\x20\x20','testsPending','KkHPI','assign','uEBiD','shouldReRunObservabilityTests','notifyUpdate','has','passes'];a28_0x2b34=function(){return _0x43bfef;};return a28_0x2b34();}const chalk=require(a28_0x109b11(0x1c2)),logger=require(a28_0x109b11(0x1e4))['winstonLogger'],helper=require(a28_0x109b11(0x24d)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x109b11(0x20f)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x109b11(0x24d)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x109b11(0x24a),a28_0x109b11(0x17b)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x109b11(0x17b)),constants=require(a28_0x109b11(0x17f)),PerformanceTester=require(a28_0x109b11(0x162)),PerformanceEvents=require('../../helpers/performance/constants')[a28_0x109b11(0x1ce)],centralScannerConstants=require(a28_0x109b11(0x201)),{FRAMEWORKS}=require(a28_0x109b11(0x1dc)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a28_0x5454(_0x46f1e7,_0x513fb7){const _0x2b34f6=a28_0x2b34();return a28_0x5454=function(_0x54542b,_0x592527){_0x54542b=_0x54542b-0x156;let _0x55b03b=_0x2b34f6[_0x54542b];return _0x55b03b;},a28_0x5454(_0x46f1e7,_0x513fb7);}function tag(_0x446d53,_0x40f4e8,_0x5b625b,_0x3a0134){const _0xa745=a28_0x109b11,_0x27d071={'zfNdf':function(_0x13d856,_0x55be65){return _0x13d856+_0x55be65;},'fAkEf':function(_0x563226,_0x197311){return _0x563226+_0x197311;},'hXIbo':function(_0x4d1aaa,_0x202d67){return _0x4d1aaa(_0x202d67);},'ZjLSf':function(_0x41c430,_0x2187a5){return _0x41c430+_0x2187a5;},'PJVIi':function(_0x4f9ea3,_0x4ab0d0){return _0x4f9ea3+_0x4ab0d0;},'WJSvE':function(_0x4541d5,_0x16c5ab){return _0x4541d5+_0x16c5ab;}},_0x10a515=_0x5b625b?'/>':'>',_0x5f262e=[];let _0x446f39;for(const _0x2b0c18 in _0x40f4e8){Object[_0xa745(0x1c6)][_0xa745(0x159)][_0xa745(0x1b5)](_0x40f4e8,_0x2b0c18)&&_0x5f262e[_0xa745(0x197)](_0x27d071[_0xa745(0x1ed)](_0x27d071[_0xa745(0x22d)](_0x27d071[_0xa745(0x22d)](_0x2b0c18,'=\x22'),_0x27d071[_0xa745(0x235)](escape,_0x40f4e8[_0x2b0c18])),'\x22'));}return _0x446f39=_0x27d071[_0xa745(0x1ed)](_0x27d071['ZjLSf'](_0x27d071[_0xa745(0x227)]('<',_0x446d53),_0x5f262e['length']?_0x27d071[_0xa745(0x157)]('\x20',_0x5f262e[_0xa745(0x23a)]('\x20')):''),_0x10a515),_0x3a0134&&(_0x446f39+=_0x27d071[_0xa745(0x157)](_0x27d071[_0xa745(0x19b)](_0x27d071['zfNdf'](_0x3a0134,'</'),_0x446d53),_0x10a515)),_0x446f39;}let xunitContent='';function xunitWrite(_0x5c85a1){xunitContent+=_0x5c85a1;}function xunitTest(_0x1db88b,_0x5b46d5){const _0x44eade=a28_0x109b11,_0x5a6876={'Duvfb':function(_0xfdc387,_0x57c39c){return _0xfdc387/_0x57c39c;},'BxZwW':function(_0x1ec4ab,_0x7c2fa8){return _0x1ec4ab===_0x7c2fa8;},'sUCdU':_0x44eade(0x19a),'jXHHq':function(_0x377099,_0x38706e){return _0x377099+_0x38706e;},'ppCzZ':function(_0x4dd93e,_0x29d46a){return _0x4dd93e(_0x29d46a);},'FRdQo':function(_0x9304ad,_0x5c5032,_0x155d38,_0x5e1af3,_0x17a695){return _0x9304ad(_0x5c5032,_0x155d38,_0x5e1af3,_0x17a695);},'KqojQ':_0x44eade(0x1c0),'pFdyX':function(_0x38d8b7,_0x58db93,_0x300ad2,_0xd3ff09,_0x48828b){return _0x38d8b7(_0x58db93,_0x300ad2,_0xd3ff09,_0x48828b);},'IEoUq':'failure','chutE':function(_0x52ea76,_0x3fe667){return _0x52ea76+_0x3fe667;},'QohiT':function(_0x494807,_0x1e0735){return _0x494807+_0x1e0735;},'vYTmf':function(_0x3c82f0,_0x23bd05){return _0x3c82f0+_0x23bd05;},'NyWmx':function(_0xd8a1a7,_0x378841){return _0xd8a1a7(_0x378841);},'bgrnJ':function(_0x237840,_0x55bbb3,_0x24d5f3,_0x593303,_0x4e68ba){return _0x237840(_0x55bbb3,_0x24d5f3,_0x593303,_0x4e68ba);},'ZjSLf':function(_0xeca07,_0xa54d4e,_0x5e7acc,_0x204b2b){return _0xeca07(_0xa54d4e,_0x5e7acc,_0x204b2b);},'OSpno':_0x44eade(0x22b),'xExwm':function(_0x1b15e4,_0x50034d){return _0x1b15e4(_0x50034d);}};Base[_0x44eade(0x1bc)]=![];var _0x1bfef1={'classname':_0x1db88b[_0x44eade(0x16c)],'name':_0x1db88b[_0x44eade(0x237)],'time':_0x5a6876[_0x44eade(0x19e)](_0x1db88b[_0x44eade(0x1ff)],0x3e8)||0x0,'platform':_0x5b46d5};if(_0x5a6876[_0x44eade(0x170)](_0x1db88b[_0x44eade(0x256)],_0x5a6876[_0x44eade(0x219)])){var _0x253840=_0x1db88b[_0x44eade(0x22f)],_0x1eef8d=!Base[_0x44eade(0x228)]&&Base[_0x44eade(0x208)](_0x253840)?_0x5a6876[_0x44eade(0x1a9)]('\x0a',Base[_0x44eade(0x1ef)](_0x253840['actual'],_0x253840['expected'])):'';_0x5a6876[_0x44eade(0x19d)](xunitWrite,_0x5a6876[_0x44eade(0x246)](tag,_0x5a6876[_0x44eade(0x18a)],_0x1bfef1,![],_0x5a6876[_0x44eade(0x22c)](tag,_0x5a6876[_0x44eade(0x215)],{},![],_0x5a6876['chutE'](_0x5a6876[_0x44eade(0x1cd)](_0x5a6876['vYTmf'](_0x5a6876[_0x44eade(0x19d)](escape,_0x253840[_0x44eade(0x21f)]),_0x5a6876['ppCzZ'](escape,_0x1eef8d)),'\x0a'),_0x5a6876[_0x44eade(0x1b7)](escape,_0x253840['stack'])))));}else _0x1db88b[_0x44eade(0x1e3)]?_0x5a6876['ppCzZ'](xunitWrite,_0x5a6876['bgrnJ'](tag,_0x5a6876[_0x44eade(0x18a)],_0x1bfef1,![],_0x5a6876[_0x44eade(0x1af)](tag,_0x5a6876[_0x44eade(0x1b2)],{},!![]))):_0x5a6876[_0x44eade(0x229)](xunitWrite,_0x5a6876[_0x44eade(0x1af)](tag,_0x5a6876[_0x44eade(0x18a)],_0x1bfef1,!![]));};function getStats(_0x31b8d4){const _0x37ce4f=a28_0x109b11,_0x168a44={};_0x168a44[_0x37ce4f(0x1a5)]=_0x37ce4f(0x230),_0x168a44[_0x37ce4f(0x21e)]=_0x37ce4f(0x167),_0x168a44['MWoZR']=_0x37ce4f(0x19a),_0x168a44[_0x37ce4f(0x1f1)]=_0x37ce4f(0x1dd);const _0x38ac55=_0x168a44,_0x2a9657=Object[_0x37ce4f(0x245)](_0x31b8d4);let _0x12faa9=0x0,_0x4922c2=0x0,_0x4d6fcd=0x0,_0xb38bed=0x0;const _0x15e3a9=new Set();_0x2a9657[_0x37ce4f(0x25e)](_0x4fccab=>{const _0x1fd08c=_0x37ce4f,_0x2ece92={};_0x2ece92[_0x1fd08c(0x21d)]=_0x38ac55[_0x1fd08c(0x1a5)],_0x2ece92[_0x1fd08c(0x1f8)]=_0x38ac55['QZQNB'],_0x2ece92[_0x1fd08c(0x1d9)]=_0x38ac55[_0x1fd08c(0x20a)];const _0x48e449=_0x2ece92;_0x31b8d4[_0x4fccab][_0x38ac55[_0x1fd08c(0x1f1)]][_0x1fd08c(0x25e)](_0x49b3c5=>{const _0xa66626=_0x1fd08c;_0x15e3a9['add'](_0x49b3c5[_0x48e449[_0xa66626(0x21d)]]),_0x12faa9++;switch(_0x49b3c5['state']){case _0x48e449[_0xa66626(0x1f8)]:_0x4d6fcd++;break;case _0x48e449[_0xa66626(0x1d9)]:_0x4922c2++;break;default:_0xb38bed++;}});});const _0x46a465={};return _0x46a465['testSuites']=_0x15e3a9[_0x37ce4f(0x176)],_0x46a465['platforms']=_0x2a9657,_0x46a465[_0x37ce4f(0x173)]=_0x12faa9,_0x46a465['testsFailed']=_0x4922c2,_0x46a465['testsPassed']=_0x4d6fcd,_0x46a465[_0x37ce4f(0x1f5)]=_0xb38bed,_0x46a465;}function errorJSON(_0x27d10d){const _0x50fcd8=a28_0x109b11;var _0x16daa8={};return Object[_0x50fcd8(0x1e2)](_0x27d10d)[_0x50fcd8(0x25e)](function(_0x1bba27){_0x16daa8[_0x1bba27]=_0x27d10d[_0x1bba27];},_0x27d10d),_0x16daa8;}function cleanCycles(_0x5b6fba){const _0x5d1a10=a28_0x109b11,_0x4204e2={};_0x4204e2['ScoaW']=function(_0x945023,_0x1cb38a){return _0x945023===_0x1cb38a;},_0x4204e2[_0x5d1a10(0x240)]=_0x5d1a10(0x193),_0x4204e2[_0x5d1a10(0x1ee)]=function(_0x4ec0aa,_0x2bd92e){return _0x4ec0aa!==_0x2bd92e;},_0x4204e2[_0x5d1a10(0x244)]=function(_0x4287d5,_0x170a1a){return _0x4287d5!==_0x170a1a;},_0x4204e2['wnoLg']=function(_0x10b33d,_0x1da9f7){return _0x10b33d+_0x1da9f7;};const _0x3975c0=_0x4204e2;var _0x5bca05=[];return JSON[_0x5d1a10(0x1fe)](JSON[_0x5d1a10(0x247)](_0x5b6fba,function(_0x34f41c,_0xff65df){const _0x1cd561=_0x5d1a10;if(_0x3975c0[_0x1cd561(0x1a8)](typeof _0xff65df,_0x3975c0[_0x1cd561(0x240)])&&_0x3975c0[_0x1cd561(0x1ee)](_0xff65df,null)){if(_0x3975c0[_0x1cd561(0x244)](_0x5bca05[_0x1cd561(0x1b1)](_0xff65df),-0x1))return _0x3975c0['wnoLg']('',_0xff65df);_0x5bca05['push'](_0xff65df);}return _0xff65df;}));}function clean(_0x28a2d1){const _0x480daf=a28_0x109b11,_0x43fed2={'WqPZM':function(_0x557e36,_0x7bac8a){return _0x557e36 instanceof _0x7bac8a;},'NCpkw':function(_0x4c9da7,_0x3d86b1){return _0x4c9da7(_0x3d86b1);},'OQhje':function(_0x3d6350,_0x40fc8b){return _0x3d6350(_0x40fc8b);}};var _0x29cf75=_0x28a2d1[_0x480daf(0x22f)]||{};return _0x43fed2[_0x480daf(0x202)](_0x29cf75,Error)&&(_0x29cf75=_0x43fed2[_0x480daf(0x15b)](errorJSON,_0x29cf75)),{'title':_0x28a2d1['title'],'fullTitle':_0x28a2d1['fullTitle'],'file':_0x28a2d1[_0x480daf(0x183)],'duration':_0x28a2d1[_0x480daf(0x1ff)],'currentRetry':_0x28a2d1[_0x480daf(0x1a3)],'speed':_0x28a2d1['speed'],'err':_0x43fed2[_0x480daf(0x165)](cleanCycles,_0x29cf75)};}function printStats(_0x32e3bf,_0x43c514=a28_0x109b11(0x1ab),_0x396094={}){const _0x4904e6=a28_0x109b11,_0x3dc8be={'PilzQ':function(_0xd6c8c0,_0x1e9803){return _0xd6c8c0(_0x1e9803);},'dCEJF':function(_0x596e33,_0x1d687d){return _0x596e33===_0x1d687d;},'lSKvV':_0x4904e6(0x167),'lcgCA':_0x4904e6(0x1fc),'AtNTf':'failed','gQGYQ':_0x4904e6(0x198),'kANVa':function(_0x308357,_0x2c1f11){return _0x308357(_0x2c1f11);},'oxeaC':_0x4904e6(0x257),'Zgdda':_0x4904e6(0x1dd),'gXhMb':function(_0x3a33ba,_0x4de571){return _0x3a33ba*_0x4de571;},'BsMRX':function(_0x1c33d8,_0xee0fb0,_0x1b1627){return _0x1c33d8(_0xee0fb0,_0x1b1627);},'lICSY':function(_0x952bd8,_0x431c42){return _0x952bd8===_0x431c42;},'kDyIh':function(_0x41928d,_0x55e506){return _0x41928d>_0x55e506;},'XOeGn':function(_0x156e67){return _0x156e67();},'IYBYH':_0x4904e6(0x214),'kmVoh':function(_0x19ee15,_0x27b12e){return _0x19ee15(_0x27b12e);},'yzRtz':function(_0x5a2f43,_0x315b66){return _0x5a2f43>_0x315b66;},'lKjkT':'Setting\x20non\x20exit\x20code\x20for\x20failures','eijpj':_0x4904e6(0x156),'IejYu':function(_0x55ad16,_0x123890){return _0x55ad16+_0x123890;},'aqqDV':_0x4904e6(0x233),'zlVcS':function(_0x2533e9,_0x4115a5){return _0x2533e9+_0x4115a5;},'hrtye':_0x4904e6(0x1b8),'VUiMQ':function(_0x33340a,_0x3775e0){return _0x33340a+_0x3775e0;},'NduJp':function(_0x4b1f1b,_0x28e6b9){return _0x4b1f1b+_0x28e6b9;},'YrDku':_0x4904e6(0x1f4),'hbeHk':function(_0x30902a,_0x52a42d){return _0x30902a>_0x52a42d;},'KiiDg':function(_0x245c6c,_0x50fd4b){return _0x245c6c>_0x50fd4b;},'jlNmz':function(_0xe40362,_0x250c95){return _0xe40362+_0x250c95;},'mOkNG':function(_0x372f7a,_0x1a82ff){return _0x372f7a+_0x1a82ff;},'bxkpl':function(_0x30b7f3,_0x532d49){return _0x30b7f3+_0x532d49;},'cfDhw':_0x4904e6(0x1a7),'XLQPU':function(_0x4d67ec,_0x41c5ed){return _0x4d67ec===_0x41c5ed;},'SPgys':_0x4904e6(0x160),'hDKBn':_0x4904e6(0x231),'iijbP':'Couldn\x27t\x20write\x20json\x20result\x20to','hqIyu':_0x4904e6(0x22a),'ooTjO':function(_0x21e869,_0x4ba990){return _0x21e869===_0x4ba990;},'wJIbh':'xunit','AGdEq':_0x4904e6(0x226),'tSXIh':function(_0x145fff,_0x29e424){return _0x145fff||_0x29e424;},'BQdoe':function(_0x5ac42a,_0x138a7e){return _0x5ac42a(_0x138a7e);},'SHyNc':function(_0xd671bb,_0x31aadc,_0x377552,_0x54608c){return _0xd671bb(_0x31aadc,_0x377552,_0x54608c);},'KkHPI':_0x4904e6(0x15c),'ezcvT':function(_0x33c9d9,_0x19ce4){return _0x33c9d9-_0x19ce4;},'YMkRz':function(_0x8480ed,_0x1ce1c9){return _0x8480ed-_0x1ce1c9;},'bgJsv':function(_0x308146,_0x28bcaa){return _0x308146/_0x28bcaa;},'qIBoA':'</testsuite>','hgvsN':_0x4904e6(0x19f),'PRTLg':_0x4904e6(0x1b6),'Vyqbc':_0x4904e6(0x25f),'PcRXo':function(_0x258a2e,_0x54675e){return _0x258a2e===_0x54675e;},'DiqSB':_0x4904e6(0x236),'ftiec':_0x4904e6(0x234)};if(_0x3dc8be[_0x4904e6(0x1ae)](_0x43c514,_0x3dc8be[_0x4904e6(0x18b)]))return;const _0x43e8e6=0x0,_0x5ae87a=()=>{const _0x1b18d=_0x4904e6;return _0x3dc8be[_0x1b18d(0x19c)](Array,_0x43e8e6)[_0x1b18d(0x23a)]('\x20\x20');},{testSuites:_0x57c8eb,platforms:_0x123f3f,totalTests:_0x4f7e81,testsFailed:_0x3e6397,testsPassed:_0x25b39b,testsPending:_0x1234f9}=_0x3dc8be['kmVoh'](getStats,_0x32e3bf);_0x3dc8be[_0x4904e6(0x1c5)](_0x3e6397,0x0)&&(logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x23c)]),process['exitCode']=Math[_0x4904e6(0x1e0)](_0x3e6397,0xff));logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x249)]);const _0x535bc8=''+_0x3dc8be[_0x4904e6(0x216)](chalk[_0x4904e6(0x18d)](_0x3dc8be['aqqDV']),_0x123f3f[_0x4904e6(0x250)]),_0x45358f=''+_0x3dc8be[_0x4904e6(0x192)](chalk[_0x4904e6(0x18d)](_0x3dc8be[_0x4904e6(0x224)]),_0x57c8eb),_0x2a5b5c=''+_0x3dc8be[_0x4904e6(0x248)](_0x3dc8be['NduJp'](_0x3dc8be['zlVcS'](chalk[_0x4904e6(0x18d)](_0x3dc8be[_0x4904e6(0x1e5)]),_0x3dc8be[_0x4904e6(0x1d4)](_0x3e6397,0x0)?chalk[_0x4904e6(0x18d)][_0x4904e6(0x1ea)](_0x3e6397+_0x4904e6(0x1b0))+',\x20':''),_0x3dc8be[_0x4904e6(0x1e6)](_0x1234f9,0x0)?chalk[_0x4904e6(0x18d)][_0x4904e6(0x254)](_0x1234f9+_0x4904e6(0x199))+',\x20':''),_0x3dc8be[_0x4904e6(0x195)](_0x25b39b,0x0)?chalk[_0x4904e6(0x18d)][_0x4904e6(0x1f2)](_0x25b39b+_0x4904e6(0x1a2))+',\x20':'')+_0x4f7e81+'\x20total';console[_0x4904e6(0x24f)](_0x3dc8be[_0x4904e6(0x1c8)](_0x3dc8be[_0x4904e6(0x16d)](_0x3dc8be[_0x4904e6(0x251)](_0x3dc8be[_0x4904e6(0x251)](_0x3dc8be['bxkpl'](_0x3dc8be['cfDhw'],_0x535bc8),'\x0a'),_0x45358f),'\x0a'),_0x2a5b5c));if(_0x3dc8be[_0x4904e6(0x255)](_0x43c514,_0x3dc8be[_0x4904e6(0x1a6)])){const _0x4f5de7={},_0x536d1e={};_0x536d1e[_0x4904e6(0x1b9)]=_0x57c8eb,_0x536d1e[_0x4904e6(0x218)]=_0x123f3f,_0x536d1e['testsFailed']=_0x3e6397,_0x536d1e['testsPassed']=_0x25b39b,_0x536d1e[_0x4904e6(0x1f5)]=_0x1234f9,_0x4f5de7[_0x4904e6(0x158)]=_0x536d1e,_0x123f3f[_0x4904e6(0x25e)](_0x35178d=>{const _0x2addbf=_0x4904e6,_0xac255f={'dnjIA':function(_0x23475a,_0x4329ac){const _0x2bbdc2=a28_0x5454;return _0x3dc8be[_0x2bbdc2(0x1ae)](_0x23475a,_0x4329ac);},'kadCx':_0x3dc8be[_0x2addbf(0x190)],'jyRsB':_0x3dc8be['lcgCA'],'WKJyG':function(_0x5553f6,_0x5751fb){const _0xf87c5e=_0x2addbf;return _0x3dc8be[_0xf87c5e(0x19c)](_0x5553f6,_0x5751fb);},'pILns':_0x3dc8be[_0x2addbf(0x20d)],'kdKrL':_0x3dc8be['gQGYQ'],'YItAC':function(_0xc68b72,_0x8b0844){const _0x592694=_0x2addbf;return _0x3dc8be[_0x592694(0x1da)](_0xc68b72,_0x8b0844);},'IMnjP':_0x3dc8be[_0x2addbf(0x17a)]};_0x4f5de7[_0x35178d]={'pending':[],'failures':[],'passes':[],'tests':_0x32e3bf[_0x35178d][_0x3dc8be[_0x2addbf(0x179)]][_0x2addbf(0x1aa)](clean)},_0x32e3bf[_0x35178d][_0x3dc8be['Zgdda']][_0x2addbf(0x25e)](_0x4d19fe=>{const _0x52a14c=_0x2addbf;if(_0xac255f['dnjIA'](_0x4d19fe[_0x52a14c(0x256)],_0xac255f[_0x52a14c(0x260)]))_0x4f5de7[_0x35178d][_0xac255f[_0x52a14c(0x239)]][_0x52a14c(0x197)](_0xac255f[_0x52a14c(0x232)](clean,_0x4d19fe));else _0xac255f['dnjIA'](_0x4d19fe[_0x52a14c(0x256)],_0xac255f[_0x52a14c(0x203)])?_0x4f5de7[_0x35178d][_0xac255f[_0x52a14c(0x1bd)]][_0x52a14c(0x197)](_0xac255f[_0x52a14c(0x258)](clean,_0x4d19fe)):_0x4f5de7[_0x35178d][_0xac255f[_0x52a14c(0x166)]][_0x52a14c(0x197)](_0xac255f['WKJyG'](clean,_0x4d19fe));});});if(_0x396094[_0x4904e6(0x243)])try{logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x24b)],_0x396094[_0x4904e6(0x243)]),fs[_0x4904e6(0x20c)](_0x396094[_0x4904e6(0x243)],JSON[_0x4904e6(0x247)](_0x4f5de7,null,0x3));}catch(_0x1612cd){logger['error'](_0x3dc8be[_0x4904e6(0x1e1)],_0x396094[_0x4904e6(0x243)]),logger['debug'](_0x1612cd);}else logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x242)]),console[_0x4904e6(0x24f)](JSON[_0x4904e6(0x247)](_0x4f5de7,null,0x3));}else{if(_0x3dc8be[_0x4904e6(0x169)](_0x43c514,_0x3dc8be[_0x4904e6(0x189)])){let _0x245bc8;const _0x415a13=_0x3dc8be[_0x4904e6(0x1ba)];_0x396094&&(_0x245bc8=_0x396094[_0x4904e6(0x1e7)]);_0x245bc8=_0x3dc8be[_0x4904e6(0x17c)](_0x245bc8,_0x415a13);let _0x366ea3=0x0,_0x32f0d0=0x0,_0x4104d4=0x0,_0x218ddd=0x0;_0x123f3f['forEach'](_0x530318=>{const _0x271c96=_0x4904e6,_0x210b50={'hEqRt':function(_0x10588d,_0x2e18c5){const _0x438f43=a28_0x5454;return _0x3dc8be[_0x438f43(0x1ae)](_0x10588d,_0x2e18c5);},'ryosa':_0x3dc8be[_0x271c96(0x190)],'RnuSe':function(_0x55d8ea,_0x22e895){const _0x45d5ef=_0x271c96;return _0x3dc8be[_0x45d5ef(0x1ae)](_0x55d8ea,_0x22e895);},'bJRnY':_0x3dc8be[_0x271c96(0x20d)],'Lpxna':function(_0x14e2bf,_0xe2f423){const _0x4ad26c=_0x271c96;return _0x3dc8be[_0x4ad26c(0x25d)](_0x14e2bf,_0xe2f423);}};_0x32e3bf[_0x530318][_0x3dc8be['Zgdda']][_0x271c96(0x25e)](_0x521ba8=>{const _0xae4e1a=_0x271c96;if(_0x210b50[_0xae4e1a(0x187)](_0x521ba8['state'],_0x210b50[_0xae4e1a(0x184)]))_0x366ea3++;else _0x210b50[_0xae4e1a(0x1d0)](_0x521ba8[_0xae4e1a(0x256)],_0x210b50[_0xae4e1a(0x20e)])&&_0x32f0d0++;_0x4104d4++,_0x218ddd+=_0x210b50['Lpxna'](_0x521ba8['duration'],0x1);});}),_0x3dc8be[_0x4904e6(0x21c)](xunitWrite,_0x3dc8be['SHyNc'](tag,_0x3dc8be[_0x4904e6(0x1f6)],{'name':_0x245bc8,'tests':_0x4104d4,'failures':0x0,'errors':_0x32f0d0,'skipped':_0x3dc8be[_0x4904e6(0x222)](_0x3dc8be['YMkRz'](_0x4104d4,_0x32f0d0),_0x366ea3),'timestamp':new Date()[_0x4904e6(0x210)](),'time':_0x3dc8be[_0x4904e6(0x1d7)](_0x218ddd,0x3e8)||0x0},![])),_0x123f3f['forEach'](_0x26cb93=>{const _0x27a22f=_0x4904e6;_0x32e3bf[_0x26cb93][_0x3dc8be['Zgdda']][_0x27a22f(0x25e)](_0x2817ab=>{const _0x55f362=_0x27a22f;_0x3dc8be[_0x55f362(0x185)](xunitTest,_0x2817ab,_0x26cb93);});}),_0x3dc8be['kmVoh'](xunitWrite,_0x3dc8be['qIBoA']);if(_0x396094[_0x4904e6(0x243)])try{logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x205)],_0x396094[_0x4904e6(0x243)]),fs['writeFileSync'](_0x396094['output'],xunitContent);}catch(_0x3d79be){logger['error'](_0x3dc8be[_0x4904e6(0x212)],_0x396094[_0x4904e6(0x243)]),logger[_0x4904e6(0x163)](_0x3d79be);}else logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x180)]),console[_0x4904e6(0x24f)](xunitContent);}else{if(_0x3dc8be[_0x4904e6(0x25c)](_0x3e6397,0x0))return;console[_0x4904e6(0x24f)](),logger[_0x4904e6(0x163)](_0x3dc8be['DiqSB']),console[_0x4904e6(0x24f)](chalk['bold']['bgRedBright'](_0x3dc8be[_0x4904e6(0x182)])),_0x123f3f[_0x4904e6(0x25e)](_0x159dac=>{const _0x4062a1=_0x4904e6,_0x51f6c1=[];_0x32e3bf[_0x159dac][_0x3dc8be[_0x4062a1(0x179)]]['forEach'](_0x45249d=>{const _0x1ea17a=_0x4062a1;_0x3dc8be['lICSY'](_0x45249d['state'],_0x3dc8be[_0x1ea17a(0x20d)])&&(_0x45249d[_0x1ea17a(0x175)]=()=>_0x45249d[_0x1ea17a(0x1c7)],_0x51f6c1[_0x1ea17a(0x197)](_0x45249d));}),_0x3dc8be[_0x4062a1(0x1e6)](_0x51f6c1[_0x4062a1(0x250)],0x0)&&(Base[_0x4062a1(0x1de)](),Base['consoleLog'](_0x3dc8be[_0x4062a1(0x23e)](_0x5ae87a),chalk[_0x4062a1(0x18d)][_0x4062a1(0x225)](_0x159dac)),Base[_0x4062a1(0x164)](_0x51f6c1));});}}}async function run(_0x476e71,_0x2a6398,_0x330f63){const _0x4054e4=a28_0x109b11,_0x9feaf1={'xThgT':function(_0x1100b7,_0x1c6d8d,_0x2bca97,_0x502dd8){return _0x1100b7(_0x1c6d8d,_0x2bca97,_0x502dd8);},'wESJx':_0x4054e4(0x17d),'jmYaP':_0x4054e4(0x1c4),'IBtLG':_0x4054e4(0x177),'PbOOG':function(_0x4d1cd0,_0x23cc37,_0x27d68a,_0x1c4294){return _0x4d1cd0(_0x23cc37,_0x27d68a,_0x1c4294);},'zkJLR':_0x4054e4(0x17b),'PQwWU':function(_0x505535,_0x55f88b){return _0x505535!=_0x55f88b;},'bCUGV':_0x4054e4(0x221),'AvjbU':_0x4054e4(0x194),'IUFXI':'test','UFpgQ':_0x4054e4(0x16b),'aGfXi':function(_0x3ed7b1,_0x4a2b69){return _0x3ed7b1(_0x4a2b69);},'GnwrS':function(_0x5217e9,_0x549ac2,_0x4c2aaa){return _0x5217e9(_0x549ac2,_0x4c2aaa);},'xkxbL':'files','NvEHl':_0x4054e4(0x259),'Ukylt':_0x4054e4(0x21b),'QPiOA':function(_0x56dbba,_0xfec7b1){return _0x56dbba*_0xfec7b1;},'ZBHnk':function(_0x21d6fa,_0x43338b){return _0x21d6fa!==_0x43338b;}};helper['setUserConfigPath'](_0x330f63[_0x4054e4(0x168)],_0x476e71);helper[_0x4054e4(0x1cb)]()?(await _0x330f63['initialize'](_0x476e71),await helper[_0x4054e4(0x1e8)](_0x330f63[_0x4054e4(0x204)])):await _0x330f63[_0x4054e4(0x1f0)]();const _0x44e06b=[];let _0x5c939d=[];if(!_0x330f63['config'])return;!helper[_0x4054e4(0x23f)](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x16f)])&&(process[_0x4054e4(0x22e)][_0x4054e4(0x209)]=JSON[_0x4054e4(0x247)](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x16f)]));const _0x37fec2=await TestHubHandler[_0x4054e4(0x191)](FRAMEWORKS['MOCHA'],_0x330f63);_0x9feaf1['PQwWU'](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x1a1)],null)&&(process[_0x4054e4(0x22e)][_0x4054e4(0x1df)]=_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x1a1)]);!helper[_0x4054e4(0x23f)](_0x330f63[_0x4054e4(0x204)]['accessibility'])&&(process['env'][_0x4054e4(0x174)]=_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x15d)]);const {extension:extension=['js',_0x9feaf1[_0x4054e4(0x1b3)],_0x9feaf1[_0x4054e4(0x1a0)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x9feaf1['IUFXI']]}=_0x476e71,_0x402709={..._0x476e71};_0x402709[_0x4054e4(0x253)]=null;const _0x18d488=_0x402709;let _0x1d4095;if(testOpsHelper[_0x4054e4(0x188)]()&&testOpsHelper[_0x4054e4(0x1f9)]()){let _0x591ac5=process['env'][_0x4054e4(0x1cc)];!helper[_0x4054e4(0x23f)](_0x330f63[_0x4054e4(0x213)])&&_0x330f63['cliConfig'][_0x4054e4(0x1fb)](_0x9feaf1['UFpgQ'])&&(_0x591ac5=_0x330f63['cliConfig'][_0x4054e4(0x25b)](_0x9feaf1[_0x4054e4(0x1db)])),_0x1d4095=testOpsHelper[_0x4054e4(0x16e)](_0x591ac5);}if(helper[_0x4054e4(0x23f)](_0x1d4095)){const _0x3f4a22={};_0x3f4a22[_0x4054e4(0x220)]=ignore,_0x3f4a22[_0x4054e4(0x1ec)]=extension,_0x3f4a22[_0x4054e4(0x183)]=file,_0x3f4a22[_0x4054e4(0x161)]=recursive,_0x3f4a22[_0x4054e4(0x206)]=sort,_0x3f4a22['spec']=spec,_0x1d4095=_0x9feaf1[_0x4054e4(0x1be)](collectFiles,_0x3f4a22),_0x9feaf1[_0x4054e4(0x252)](nestedKeyValue,_0x1d4095,[_0x9feaf1['xkxbL']])&&(_0x1d4095=_0x1d4095[_0x4054e4(0x1fd)]);}const _0x3359ec=helper[_0x4054e4(0x211)](_0x330f63[_0x4054e4(0x204)]);!helper[_0x4054e4(0x1d5)](_0x3359ec)&&helper['isNotUndefined'](_0x3359ec[_0x4054e4(0x196)])&&(_0x18d488[_0x4054e4(0x21a)]=_0x3359ec[_0x4054e4(0x196)][_0x4054e4(0x20b)]);if(!helper[_0x4054e4(0x1cb)]()){const _0x287167=0x1,_0x2b671d={..._0x18d488};_0x2b671d[_0x4054e4(0x1ab)]=[..._0x1d4095],_0x44e06b[_0x4054e4(0x197)]({'mochaOpts':_0x2b671d,'configuration':{'platform':os[_0x4054e4(0x1ad)]()}}),logger[_0x4054e4(0x15f)](_0x9feaf1['NvEHl']),logger[_0x4054e4(0x15f)](_0x9feaf1[_0x4054e4(0x25a)]),_0x9feaf1[_0x4054e4(0x186)](parallelTestRun,_0x44e06b,_0x287167,_0x330f63)[_0x4054e4(0x24c)](_0x2d926c=>{const _0x4f6d0c=_0x4054e4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x9feaf1['xThgT'](printStats,_0x2d926c,_0x476e71[_0x4f6d0c(0x1e9)],_0x476e71[_0x4f6d0c(0x1c9)]||_0x476e71[_0x9feaf1['wESJx']]);})[_0x4054e4(0x171)](()=>{const _0x386bb4=_0x4054e4;PerformanceTester[_0x386bb4(0x1b4)](PerformanceEvents[_0x386bb4(0x238)]);try{const {browserstackFolderPath:_0x5b8ede,tcgConfigPath:_0xa6003}=helper[_0x386bb4(0x18f)]();fs['unlinkSync'](_0xa6003),fs[_0x386bb4(0x1eb)](_0x5b8ede);}catch(_0x273087){logger[_0x386bb4(0x163)](_0x9feaf1['jmYaP'],_0x273087);}try{utilities['fireFunnelTestEvent'](_0x9feaf1[_0x386bb4(0x1ac)],{},_0x330f63[_0x386bb4(0x204)],_0x330f63[_0x386bb4(0x168)]);}catch(_0x292506){logger[_0x386bb4(0x163)](_0x386bb4(0x17e)+_0x292506[_0x386bb4(0x1d6)]);}try{helper[_0x386bb4(0x1fa)]();}catch(_0x2093c5){logger[_0x386bb4(0x163)](_0x386bb4(0x1bb)+_0x2093c5);}testOpsHelper[_0x386bb4(0x18c)]();});}else{const _0x8740f4=helper['useW3C'](_0x330f63[_0x4054e4(0x204)]);let _0x733428=helper[_0x4054e4(0x200)](_0x330f63[_0x4054e4(0x204)]);_0x5c939d=helper['prepareCapabilities'](_0x330f63[_0x4054e4(0x204)],_0x8740f4,constants[_0x4054e4(0x207)][_0x4054e4(0x1cf)]);helper['getCentralUser']()['central_scanner']&&(_0x733428=centralScannerConstants[_0x4054e4(0x223)]);let _0x3ae5a8;const _0x50ee6c=_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x23b)]||helper[_0x4054e4(0x15e)](_0x476e71,_0x2a6398,_0x330f63['config'],constants[_0x4054e4(0x207)][_0x4054e4(0x1cf)])||0x1;helper['validPlatformsPresent'](_0x330f63[_0x4054e4(0x204)])?_0x3ae5a8=_0x9feaf1['QPiOA'](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x218)][_0x4054e4(0x250)],_0x50ee6c):_0x3ae5a8=_0x50ee6c;const _0x364da1=_0x9feaf1['aGfXi'](getPercyOptions,_0x330f63[_0x4054e4(0x204)]);if(_0x9feaf1[_0x4054e4(0x23d)](_0x330f63[_0x4054e4(0x204)]['parallelsPerPlatform'],0x1))_0x1d4095[_0x4054e4(0x25e)](_0x345bc4=>{const _0x3e071a=_0x4054e4,_0x3dceb4=[];_0x5c939d['forEach']((_0xf1cb5f,_0x2be802)=>{const _0x2d268d=a28_0x5454,_0x6fd3da={};_0x6fd3da[_0x2d268d(0x1ab)]=[_0x345bc4],_0x3dceb4[_0x2d268d(0x197)]({'mochaOpts':Object[_0x2d268d(0x1f7)]({},_0x18d488,_0x6fd3da),'configuration':{'server':_0x733428,'capability':_0xf1cb5f,'proxySettings':_0x330f63['config']['proxySettings'],'platform':helper[_0x2d268d(0x15a)](_0xf1cb5f),'browserStackLogLevel':_0x330f63[_0x2d268d(0x204)][_0x2d268d(0x1d1)],'platformIndex':_0x2be802,'browserStackPercyOptions':_0x364da1,'platformCaps':Object[_0x2d268d(0x1f7)]({'index':_0x2be802},_0x330f63['config'][_0x2d268d(0x218)][_0x2be802])}});}),_0x44e06b[_0x3e071a(0x197)](..._0x3dceb4);});else{const _0x572280=[];_0x5c939d[_0x4054e4(0x25e)]((_0x48b197,_0x2f0c08)=>{const _0x5d89bb=_0x4054e4;let _0x26fc2d=Object['assign']({},_0x18d488);testOpsHelper[_0x5d89bb(0x188)]()&&testOpsHelper[_0x5d89bb(0x1f9)]()&&(_0x26fc2d={..._0x26fc2d,'spec':[..._0x1d4095]}),_0x572280[_0x5d89bb(0x197)]({'mochaOpts':_0x26fc2d,'configuration':{'server':_0x733428,'capability':_0x48b197,'proxySettings':_0x330f63[_0x5d89bb(0x204)][_0x5d89bb(0x178)],'platform':helper[_0x5d89bb(0x15a)](_0x48b197),'browserStackLogLevel':_0x330f63[_0x5d89bb(0x204)][_0x5d89bb(0x1d1)],'platformIndex':_0x2f0c08,'browserStackPercyOptions':_0x364da1,'platformCaps':Object[_0x5d89bb(0x1f7)]({'index':_0x2f0c08},_0x330f63[_0x5d89bb(0x204)][_0x5d89bb(0x218)][_0x2f0c08])}});}),_0x44e06b['push'](..._0x572280);}logger[_0x4054e4(0x15f)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x330f63[_0x4054e4(0x204)]['platforms'][_0x4054e4(0x250)]+_0x4054e4(0x1a4)),logger[_0x4054e4(0x15f)](_0x9feaf1[_0x4054e4(0x25a)]);let _0x3bf0d8;_0x9feaf1[_0x4054e4(0x186)](parallelTestRun,_0x44e06b,_0x3ae5a8,_0x330f63)[_0x4054e4(0x24c)](_0x543f72=>{const _0x15b566=_0x4054e4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3bf0d8=_0x543f72,_0x9feaf1['PbOOG'](printStats,_0x543f72,_0x476e71[_0x15b566(0x1e9)],_0x476e71[_0x15b566(0x1c9)]||_0x476e71[_0x9feaf1['wESJx']]);})[_0x4054e4(0x171)](async()=>{const _0x47aa91=_0x4054e4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x330f63['errorMessage']=helper[_0x47aa91(0x18e)](_0x3bf0d8,_0x9feaf1['zkJLR']),await utilities[_0x47aa91(0x181)](_0x330f63),testOpsHelper['printBuildLink']();});}}module[a28_0x109b11(0x1c3)]=run;
|
|
2
|
+
'use strict';const a28_0x5b2abb=a28_0xb60d;(function(_0x192f6c,_0x1a012d){const _0x5aa24f=a28_0xb60d,_0x12063c=_0x192f6c();while(!![]){try{const _0x29e597=-parseInt(_0x5aa24f(0xd5))/0x1*(parseInt(_0x5aa24f(0xf3))/0x2)+-parseInt(_0x5aa24f(0x185))/0x3*(parseInt(_0x5aa24f(0x152))/0x4)+parseInt(_0x5aa24f(0xb2))/0x5+parseInt(_0x5aa24f(0xa3))/0x6*(parseInt(_0x5aa24f(0x195))/0x7)+parseInt(_0x5aa24f(0x164))/0x8*(parseInt(_0x5aa24f(0x138))/0x9)+parseInt(_0x5aa24f(0x12c))/0xa+-parseInt(_0x5aa24f(0xe9))/0xb;if(_0x29e597===_0x1a012d)break;else _0x12063c['push'](_0x12063c['shift']());}catch(_0x4a754e){_0x12063c['push'](_0x12063c['shift']());}}}(a28_0x5781,0xc2dcd));const chalk=require('chalk'),logger=require(a28_0x5b2abb(0x14a))[a28_0x5b2abb(0x1a1)],helper=require('../../helpers/helper'),utilities=require(a28_0x5b2abb(0x19d)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x5b2abb(0x161)),{requireModule,nestedKeyValue}=require(a28_0x5b2abb(0x183)),{getPercyOptions}=require(a28_0x5b2abb(0x158)),Base=requireModule(a28_0x5b2abb(0x180),a28_0x5b2abb(0xed)),collectFiles=requireModule(a28_0x5b2abb(0x10c),'mocha'),constants=require('../utils/constants'),PerformanceTester=require(a28_0x5b2abb(0xf5)),PerformanceEvents=require(a28_0x5b2abb(0xaf))[a28_0x5b2abb(0xab)],centralScannerConstants=require(a28_0x5b2abb(0x174)),{FRAMEWORKS}=require(a28_0x5b2abb(0x14d)),TestHubHandler=require(a28_0x5b2abb(0xcc));function tag(_0x5890af,_0x2cce60,_0x1ca99f,_0x476529){const _0x3ab04c=a28_0x5b2abb,_0x36baca={'cOACC':function(_0x884c5a,_0x394a71){return _0x884c5a+_0x394a71;},'dmbzb':function(_0x288b40,_0x54c69d){return _0x288b40+_0x54c69d;},'dsgrH':function(_0x39c0f5,_0x1c8e2f){return _0x39c0f5+_0x1c8e2f;},'hPyjM':function(_0x2e036b,_0x253c00){return _0x2e036b(_0x253c00);},'vwRur':function(_0x59839e,_0x62eedb){return _0x59839e+_0x62eedb;},'eAntu':function(_0x290274,_0x57e435){return _0x290274+_0x57e435;},'hAIoK':function(_0x21e595,_0x1c67d2){return _0x21e595+_0x1c67d2;}},_0x3569c1=_0x1ca99f?'/>':'>',_0xd741c9=[];let _0x25d629;for(const _0x3d8b07 in _0x2cce60){Object[_0x3ab04c(0xe3)][_0x3ab04c(0x13d)][_0x3ab04c(0x108)](_0x2cce60,_0x3d8b07)&&_0xd741c9['push'](_0x36baca[_0x3ab04c(0xd1)](_0x36baca['dmbzb'](_0x36baca[_0x3ab04c(0x15b)](_0x3d8b07,'=\x22'),_0x36baca['hPyjM'](escape,_0x2cce60[_0x3d8b07])),'\x22'));}return _0x25d629=_0x36baca[_0x3ab04c(0x15b)](_0x36baca[_0x3ab04c(0xbb)](_0x36baca['cOACC']('<',_0x5890af),_0xd741c9['length']?_0x36baca[_0x3ab04c(0xd1)]('\x20',_0xd741c9['join']('\x20')):''),_0x3569c1),_0x476529&&(_0x25d629+=_0x36baca[_0x3ab04c(0x15b)](_0x36baca[_0x3ab04c(0x190)](_0x36baca[_0x3ab04c(0xbe)](_0x476529,'</'),_0x5890af),_0x3569c1)),_0x25d629;}let xunitContent='';function xunitWrite(_0x174a65){xunitContent+=_0x174a65;}function xunitTest(_0x4e538c,_0x4c7e29){const _0x318f9a=a28_0x5b2abb,_0x5d8804={'pFxOd':function(_0x1f36e0,_0x5dd780){return _0x1f36e0/_0x5dd780;},'CmgDp':function(_0x501272,_0xb31dc2){return _0x501272===_0xb31dc2;},'RmaFC':_0x318f9a(0x111),'ongNd':function(_0x5f6926,_0x180886){return _0x5f6926+_0x180886;},'tTaEM':function(_0x183dfa,_0x4edf4a){return _0x183dfa(_0x4edf4a);},'YnliU':function(_0x304281,_0x2117ef,_0x26c05,_0x2d56c3,_0x2767b1){return _0x304281(_0x2117ef,_0x26c05,_0x2d56c3,_0x2767b1);},'tbaKM':_0x318f9a(0x173),'JLsQl':function(_0x14a8d7,_0xd37105,_0xe6f84a,_0x3da0f8,_0x5260dc){return _0x14a8d7(_0xd37105,_0xe6f84a,_0x3da0f8,_0x5260dc);},'JVUpX':'failure','zjyyT':function(_0x282b8c,_0x85156){return _0x282b8c+_0x85156;},'DHSee':function(_0x4c8ebb,_0x32d6d6){return _0x4c8ebb+_0x32d6d6;},'LOcAh':function(_0x6831a9,_0x186cb7){return _0x6831a9(_0x186cb7);},'QvmBt':function(_0x40ecf8,_0x4e95ea){return _0x40ecf8(_0x4e95ea);},'KzYZq':function(_0x58b628,_0x209571){return _0x58b628(_0x209571);},'RzkJI':function(_0x324a06,_0x37af7a,_0xc849a8,_0x183c8f,_0x4ef0db){return _0x324a06(_0x37af7a,_0xc849a8,_0x183c8f,_0x4ef0db);},'kPrpc':function(_0x6de2d7,_0x2c5b74,_0x221cde,_0x22ca7d){return _0x6de2d7(_0x2c5b74,_0x221cde,_0x22ca7d);},'LmqoF':_0x318f9a(0xb7),'CKxaI':function(_0x27c9d5,_0x1e67df){return _0x27c9d5(_0x1e67df);}};Base[_0x318f9a(0x151)]=![];var _0x1a94fb={'classname':_0x4e538c[_0x318f9a(0x14e)],'name':_0x4e538c[_0x318f9a(0x125)],'time':_0x5d8804[_0x318f9a(0x128)](_0x4e538c['duration'],0x3e8)||0x0,'platform':_0x4c7e29};if(_0x5d8804[_0x318f9a(0xf1)](_0x4e538c[_0x318f9a(0x177)],_0x5d8804[_0x318f9a(0x178)])){var _0x27b49f=_0x4e538c[_0x318f9a(0xc4)],_0x1078af=!Base['hideDiff']&&Base[_0x318f9a(0xcf)](_0x27b49f)?_0x5d8804[_0x318f9a(0x122)]('\x0a',Base[_0x318f9a(0x11c)](_0x27b49f[_0x318f9a(0x97)],_0x27b49f[_0x318f9a(0x1a0)])):'';_0x5d8804[_0x318f9a(0xa6)](xunitWrite,_0x5d8804[_0x318f9a(0x194)](tag,_0x5d8804[_0x318f9a(0xdc)],_0x1a94fb,![],_0x5d8804[_0x318f9a(0x131)](tag,_0x5d8804[_0x318f9a(0x10a)],{},![],_0x5d8804[_0x318f9a(0xb9)](_0x5d8804['DHSee'](_0x5d8804[_0x318f9a(0x122)](_0x5d8804[_0x318f9a(0xa6)](escape,_0x27b49f[_0x318f9a(0xfc)]),_0x5d8804[_0x318f9a(0x1a3)](escape,_0x1078af)),'\x0a'),_0x5d8804[_0x318f9a(0xd7)](escape,_0x27b49f[_0x318f9a(0x107)])))));}else _0x4e538c[_0x318f9a(0x103)]?_0x5d8804[_0x318f9a(0x124)](xunitWrite,_0x5d8804['RzkJI'](tag,_0x5d8804['tbaKM'],_0x1a94fb,![],_0x5d8804[_0x318f9a(0x130)](tag,_0x5d8804['LmqoF'],{},!![]))):_0x5d8804['CKxaI'](xunitWrite,_0x5d8804[_0x318f9a(0x130)](tag,_0x5d8804[_0x318f9a(0xdc)],_0x1a94fb,!![]));};function getStats(_0x5134a0){const _0x3b78bd=a28_0x5b2abb,_0xd23f84={};_0xd23f84[_0x3b78bd(0xe0)]=_0x3b78bd(0xea),_0xd23f84[_0x3b78bd(0xc5)]='passed',_0xd23f84['bCdfj']=_0x3b78bd(0x111),_0xd23f84[_0x3b78bd(0x9e)]=_0x3b78bd(0xcd);const _0x473295=_0xd23f84,_0x508f11=Object[_0x3b78bd(0x12f)](_0x5134a0);let _0x39d79a=0x0,_0x2f99b2=0x0,_0x51142d=0x0,_0x21cad0=0x0;const _0x1209c0=new Set();_0x508f11[_0x3b78bd(0x157)](_0x4b3954=>{_0x5134a0[_0x4b3954][_0x473295['GybXE']]['forEach'](_0x5dc93d=>{const _0x567257=a28_0xb60d;_0x1209c0[_0x567257(0x17d)](_0x5dc93d[_0x473295[_0x567257(0xe0)]]),_0x39d79a++;switch(_0x5dc93d[_0x567257(0x177)]){case _0x473295['GRchW']:_0x51142d++;break;case _0x473295[_0x567257(0x12b)]:_0x2f99b2++;break;default:_0x21cad0++;}});});const _0x56e1ad={};return _0x56e1ad[_0x3b78bd(0x18c)]=_0x1209c0[_0x3b78bd(0x134)],_0x56e1ad[_0x3b78bd(0x154)]=_0x508f11,_0x56e1ad['totalTests']=_0x39d79a,_0x56e1ad[_0x3b78bd(0x188)]=_0x2f99b2,_0x56e1ad[_0x3b78bd(0x139)]=_0x51142d,_0x56e1ad[_0x3b78bd(0xd8)]=_0x21cad0,_0x56e1ad;}function a28_0x5781(){const _0x48378c=['VUvgB','eAntu','sxpjm','PcYjc','bgRedBright','YnliU','21IzPEfJ','QRMPj','object','Couldn\x27t\x20write\x20json\x20result\x20to','****\x20FAILURES\x20****','output','\x20failed','titlePath','../../helpers/utilities','</testsuite>','Total\x20Platforms:\x20','expected','winstonLogger','Tests:\x20\x20\x20\x20\x20\x20\x20','LOcAh','bold','mEVvo','actual','info','start','testsuite','YTjSm','oOsdE','getUserWorkerCount','GybXE','file','isUndefined','\x0a\x0a\x0a','JBUCW','2663394BeKxLU','\x20platforms','giQxN','tTaEM','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','CtWwx','jluZF','framework','EVENTS','orWQn','iWBCV','CbOhZ','../../helpers/performance/constants','fIEYQ','AGYKC','582330QLvYmV','wyLTw','AvuzO','testObservability','SACHN','skipped','aTWsd','zjyyT','gCVws','vwRur','BROWSERSTACK_TEST_OBSERVABILITY_YML','initialize','hAIoK','tUPNk','pending','writeFileSync','test','vEIHa','err','GRchW','stringify','\x20skipped','XzquR','extension','EcblK','DOzbf','../../helpers/testhub/testhubHandler','results','ybjJq','showDiff','suiteName','cOACC','jkwfI','HEYqc','green','653ChHDcI','sort','QvmBt','testsPending','setUserConfigPath','MOCHA','config','tbaKM','SDK_CLEANUP','VjeTK','TENfM','eemti','IHXTR','maxRetries','prototype','ShCtf','duration','BROWSERSTACK_GRR_US_HUB_URL','kCfDa','vQvlz','20689141tniRAt','suite','unlinkSync','dabni','mocha','cliConfig','ltdkY','accessibilityOptions','CmgDp','accessibility','2006PrvQjj','rootHooks','../../helpers/performance/performance-tester','Total\x20Suites:\x20','list','zaLOA','handleApp','GiVlZ','spec','message','isBrowserstackInfra','error','logLevel','CTEjJ','debug','errorMessage','isPending','assign','join','Couldn\x27t\x20write\x20xunit\x20result\x20to','stack','call','proxySettings','JVUpX','xXLEF','mocha/lib/cli/collect-files.js','YjkbI','platform','isEmpty','getHubUrl','failed','Setting\x20non\x20exit\x20code\x20for\x20failures','\x20passed','Printing\x20stats\x20of\x20tests','passed','ignore','nZVCi','push','dwfaI','EgzXH','yellow','generateDiff','mjs','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','prepareCapabilities','notifyUpdate','reporterOptions','ongNd','speed','KzYZq','title','pMkkU','retries','pFxOd','scMqG','launchBuild','bCdfj','10883010kbMNHI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_RERUN_TESTS','keys','kPrpc','JLsQl','getPlatformName','GRksL','size','RrcoM','eiGAx','indexOf','1099422HhtFWF','testsPassed','rmdirSync','UYrYC','gWzCo','hasOwnProperty','VbEhi','json','log','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getCentralUser','Listing\x20all\x20the\x20failures','consoleLog','mhDes','SDKTestSuccessful','doc','ExDzW','retryTestsOnFailure','../../helpers/logger','rerunTests','env','../../helpers/test-observability/constants','fullTitle','Writing\x20xunit\x20result\x20to\x20file','fireFunnelTestEvent','useColors','76jTlOyc','Running\x20your\x20mocha\x20tests\x20across\x20','platforms','map','TlUsZ','forEach','../../helpers/percy/utils','shouldReRunObservabilityTests','isTestObservabilitySession','dsgrH','bgBlueBright','LWidr','dzpsa','eIEHI','fnWCx','../test-runner','validPlatformsPresent','red','104fUroQb','files','JSMJd','cjKZH','eUOvz','gclvH','setupTCGAuth','isNotUndefined','passes','reporter','central_scanner','exitCode','titlePathV','then','printBuildLink','testcase','../../helpers/central-scanner/constants','Ucpon','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','state','RmaFC','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ZmthS','currentRetry','length','add','parse','pqCtn','mocha/lib/reporters/base.js','parseTestOrchestrationOptions','parallelsPerPlatform','../../helpers/helper','FRAMEWORKS','124827UOmdwG','HZpMa','agIxV','testsFailed','getOwnPropertyNames','stats','finally','testSuites','recursive','ARISd'];a28_0x5781=function(){return _0x48378c;};return a28_0x5781();}function errorJSON(_0x13189b){const _0xac2e7d=a28_0x5b2abb;var _0x394efc={};return Object[_0xac2e7d(0x189)](_0x13189b)['forEach'](function(_0x4584b1){_0x394efc[_0x4584b1]=_0x13189b[_0x4584b1];},_0x13189b),_0x394efc;}function cleanCycles(_0x162aab){const _0x113418=a28_0x5b2abb,_0x3a6bcc={};_0x3a6bcc[_0x113418(0xca)]=function(_0x58005a,_0x177dd9){return _0x58005a===_0x177dd9;},_0x3a6bcc[_0x113418(0x117)]=_0x113418(0x197),_0x3a6bcc['zaLOA']=function(_0x663427,_0x21f45a){return _0x663427!==_0x21f45a;},_0x3a6bcc['dwfaI']=function(_0x134587,_0x154831){return _0x134587!==_0x154831;},_0x3a6bcc['vEIHa']=function(_0x28c0a1,_0x187e4d){return _0x28c0a1+_0x187e4d;};const _0x2ea5c0=_0x3a6bcc;var _0xb815de=[];return JSON[_0x113418(0x17e)](JSON[_0x113418(0xc6)](_0x162aab,function(_0x51f8f3,_0x111c84){const _0x2c1eb3=_0x113418;if(_0x2ea5c0['EcblK'](typeof _0x111c84,_0x2ea5c0[_0x2c1eb3(0x117)])&&_0x2ea5c0[_0x2c1eb3(0xf8)](_0x111c84,null)){if(_0x2ea5c0[_0x2c1eb3(0x119)](_0xb815de[_0x2c1eb3(0x137)](_0x111c84),-0x1))return _0x2ea5c0[_0x2c1eb3(0xc3)]('',_0x111c84);_0xb815de['push'](_0x111c84);}return _0x111c84;}));}function clean(_0x55ef42){const _0x2df8e0=a28_0x5b2abb,_0x131f9c={'gCVws':function(_0x425ca2,_0x2fa87e){return _0x425ca2 instanceof _0x2fa87e;},'eiGAx':function(_0x471abf,_0x5b4eb0){return _0x471abf(_0x5b4eb0);},'gBmAJ':function(_0x6ca4ab,_0x1eef19){return _0x6ca4ab(_0x1eef19);}};var _0x4d031e=_0x55ef42['err']||{};return _0x131f9c[_0x2df8e0(0xba)](_0x4d031e,Error)&&(_0x4d031e=_0x131f9c[_0x2df8e0(0x136)](errorJSON,_0x4d031e)),{'title':_0x55ef42[_0x2df8e0(0x125)],'fullTitle':_0x55ef42[_0x2df8e0(0x14e)],'file':_0x55ef42[_0x2df8e0(0x9f)],'duration':_0x55ef42['duration'],'currentRetry':_0x55ef42[_0x2df8e0(0x17b)],'speed':_0x55ef42[_0x2df8e0(0x123)],'err':_0x131f9c['gBmAJ'](cleanCycles,_0x4d031e)};}function printStats(_0x505684,_0x335204='spec',_0x1b02ca={}){const _0x35c58e=a28_0x5b2abb,_0x7ec6d7={'kCfDa':function(_0x270b3d,_0x3d3a6d){return _0x270b3d(_0x3d3a6d);},'XPWsB':function(_0x38872c,_0x2d2fcb){return _0x38872c===_0x2d2fcb;},'jkwfI':_0x35c58e(0x115),'JBUCW':_0x35c58e(0x16c),'ARISd':function(_0x4720d2,_0x2dd871){return _0x4720d2(_0x2dd871);},'ybjJq':function(_0x29816e,_0x1d2486){return _0x29816e===_0x1d2486;},'fnWCx':_0x35c58e(0x111),'tUPNk':'failures','oOsdE':_0x35c58e(0xc0),'RrcoM':_0x35c58e(0xcd),'orWQn':function(_0x24feb9,_0x46781b){return _0x24feb9===_0x46781b;},'ltdkY':function(_0x438691,_0x50dd45){return _0x438691===_0x50dd45;},'ExDzW':function(_0x5c9199,_0x284275){return _0x5c9199*_0x284275;},'giQxN':function(_0x3d5c20,_0x1262e5,_0x4a3e51){return _0x3d5c20(_0x1262e5,_0x4a3e51);},'HEYqc':function(_0x313424,_0x130aed){return _0x313424>_0x130aed;},'GiVlZ':function(_0x34014b){return _0x34014b();},'cFYda':function(_0x53d474,_0x58a739){return _0x53d474===_0x58a739;},'CiGwS':_0x35c58e(0x147),'dabni':function(_0x498244,_0x5f426f){return _0x498244(_0x5f426f);},'DOzbf':_0x35c58e(0x112),'HZpMa':_0x35c58e(0x114),'JWZSv':function(_0xfdc99d,_0xea67a9){return _0xfdc99d+_0xea67a9;},'UYrYC':_0x35c58e(0x19f),'vQvlz':function(_0x56ce36,_0x23fcd){return _0x56ce36+_0x23fcd;},'wyLTw':_0x35c58e(0xf6),'dzpsa':function(_0x2398af,_0x17f91a){return _0x2398af+_0x17f91a;},'mhDes':function(_0x1b3ccb,_0x150348){return _0x1b3ccb+_0x150348;},'IoesA':function(_0x56f820,_0x381445){return _0x56f820+_0x381445;},'scMqG':_0x35c58e(0x1a2),'pMkkU':function(_0x393425,_0x4d0281){return _0x393425>_0x4d0281;},'agIxV':function(_0xcdb29,_0x48ff64){return _0xcdb29>_0x48ff64;},'YTjSm':function(_0x101ab7,_0x227288){return _0x101ab7+_0x227288;},'GeyCP':function(_0x4e0609,_0x3667b7){return _0x4e0609+_0x3667b7;},'XzquR':_0x35c58e(0xa1),'eUOvz':_0x35c58e(0x13f),'YjkbI':'Writing\x20json\x20result\x20to\x20file','VDTiu':_0x35c58e(0x198),'LWidr':_0x35c58e(0xa7),'Ucpon':function(_0x168f7d,_0x2b2c92){return _0x168f7d===_0x2b2c92;},'HSiPK':'xunit','IHXTR':'Mocha\x20Tests','ZmthS':function(_0x2e6d0d,_0x357e10){return _0x2e6d0d||_0x357e10;},'ShCtf':function(_0x3adcb8,_0x188b3d){return _0x3adcb8(_0x188b3d);},'grWMq':function(_0x1adcda,_0xfed001,_0x35bb61,_0x34fefe){return _0x1adcda(_0xfed001,_0x35bb61,_0x34fefe);},'dEKlq':_0x35c58e(0x9a),'pqCtn':function(_0x2fbe0d,_0x5a60b9){return _0x2fbe0d-_0x5a60b9;},'VUvgB':function(_0x115596,_0x35a960){return _0x115596/_0x35a960;},'GRksL':function(_0x17b666,_0x13cc34){return _0x17b666(_0x13cc34);},'AGYKC':_0x35c58e(0x19e),'PcYjc':_0x35c58e(0x14f),'SACHN':_0x35c58e(0x106),'gNrlM':_0x35c58e(0x176),'TlUsZ':function(_0x113f83,_0x48f814){return _0x113f83===_0x48f814;},'CtWwx':_0x35c58e(0x143),'nDAgF':_0x35c58e(0x199)};if(_0x7ec6d7['cFYda'](_0x335204,_0x7ec6d7['CiGwS']))return;const _0x1719ad=0x0,_0x2bd463=()=>{const _0x3a4662=_0x35c58e;return _0x7ec6d7[_0x3a4662(0xe7)](Array,_0x1719ad)[_0x3a4662(0x105)]('\x20\x20');},{testSuites:_0x1e09dd,platforms:_0x5d5816,totalTests:_0x20c3f9,testsFailed:_0x57e11b,testsPassed:_0x5511d8,testsPending:_0x2f5f81}=_0x7ec6d7[_0x35c58e(0xec)](getStats,_0x505684);_0x7ec6d7[_0x35c58e(0xd3)](_0x57e11b,0x0)&&(logger[_0x35c58e(0x101)](_0x7ec6d7[_0x35c58e(0xcb)]),process[_0x35c58e(0x16f)]=Math['min'](_0x57e11b,0xff));logger[_0x35c58e(0x101)](_0x7ec6d7[_0x35c58e(0x186)]);const _0x2b0164=''+_0x7ec6d7['JWZSv'](chalk['bold'](_0x7ec6d7[_0x35c58e(0x13b)]),_0x5d5816['length']),_0x8bc8fb=''+_0x7ec6d7[_0x35c58e(0xe8)](chalk[_0x35c58e(0x1a4)](_0x7ec6d7[_0x35c58e(0xb3)]),_0x1e09dd),_0x156683=''+_0x7ec6d7[_0x35c58e(0x15e)](_0x7ec6d7[_0x35c58e(0x145)](_0x7ec6d7['IoesA'](chalk[_0x35c58e(0x1a4)](_0x7ec6d7[_0x35c58e(0x129)]),_0x7ec6d7[_0x35c58e(0x126)](_0x57e11b,0x0)?chalk[_0x35c58e(0x1a4)][_0x35c58e(0x163)](_0x57e11b+_0x35c58e(0x19b))+',\x20':''),_0x7ec6d7[_0x35c58e(0x187)](_0x2f5f81,0x0)?chalk[_0x35c58e(0x1a4)][_0x35c58e(0x11b)](_0x2f5f81+_0x35c58e(0xc7))+',\x20':''),_0x7ec6d7[_0x35c58e(0x187)](_0x5511d8,0x0)?chalk[_0x35c58e(0x1a4)][_0x35c58e(0xd4)](_0x5511d8+_0x35c58e(0x113))+',\x20':'')+_0x20c3f9+'\x20total';console[_0x35c58e(0x140)](_0x7ec6d7[_0x35c58e(0xe8)](_0x7ec6d7[_0x35c58e(0x145)](_0x7ec6d7[_0x35c58e(0x9b)](_0x7ec6d7['GeyCP'](_0x7ec6d7[_0x35c58e(0x145)](_0x7ec6d7[_0x35c58e(0xc8)],_0x2b0164),'\x0a'),_0x8bc8fb),'\x0a'),_0x156683));if(_0x7ec6d7[_0x35c58e(0xac)](_0x335204,_0x7ec6d7[_0x35c58e(0x168)])){const _0xdeee4f={},_0x53a64f={};_0x53a64f[_0x35c58e(0x18c)]=_0x1e09dd,_0x53a64f[_0x35c58e(0x154)]=_0x5d5816,_0x53a64f['testsFailed']=_0x57e11b,_0x53a64f[_0x35c58e(0x139)]=_0x5511d8,_0x53a64f[_0x35c58e(0xd8)]=_0x2f5f81,_0xdeee4f[_0x35c58e(0x18a)]=_0x53a64f,_0x5d5816[_0x35c58e(0x157)](_0x3f4106=>{const _0xe6e6bc=_0x35c58e;_0xdeee4f[_0x3f4106]={'pending':[],'failures':[],'passes':[],'tests':_0x505684[_0x3f4106][_0x7ec6d7['RrcoM']][_0xe6e6bc(0x155)](clean)},_0x505684[_0x3f4106][_0x7ec6d7['RrcoM']][_0xe6e6bc(0x157)](_0x25a0d=>{const _0xba43ec=_0xe6e6bc;if(_0x7ec6d7['XPWsB'](_0x25a0d[_0xba43ec(0x177)],_0x7ec6d7[_0xba43ec(0xd2)]))_0xdeee4f[_0x3f4106][_0x7ec6d7[_0xba43ec(0xa2)]][_0xba43ec(0x118)](_0x7ec6d7[_0xba43ec(0x18e)](clean,_0x25a0d));else _0x7ec6d7[_0xba43ec(0xce)](_0x25a0d[_0xba43ec(0x177)],_0x7ec6d7['fnWCx'])?_0xdeee4f[_0x3f4106][_0x7ec6d7[_0xba43ec(0xbf)]][_0xba43ec(0x118)](_0x7ec6d7[_0xba43ec(0x18e)](clean,_0x25a0d)):_0xdeee4f[_0x3f4106][_0x7ec6d7[_0xba43ec(0x9c)]][_0xba43ec(0x118)](_0x7ec6d7[_0xba43ec(0x18e)](clean,_0x25a0d));});});if(_0x1b02ca[_0x35c58e(0x19a)])try{logger[_0x35c58e(0x101)](_0x7ec6d7[_0x35c58e(0x10d)],_0x1b02ca[_0x35c58e(0x19a)]),fs[_0x35c58e(0xc1)](_0x1b02ca[_0x35c58e(0x19a)],JSON[_0x35c58e(0xc6)](_0xdeee4f,null,0x3));}catch(_0x2cd8f2){logger[_0x35c58e(0xfe)](_0x7ec6d7['VDTiu'],_0x1b02ca[_0x35c58e(0x19a)]),logger['debug'](_0x2cd8f2);}else logger[_0x35c58e(0x101)](_0x7ec6d7[_0x35c58e(0x15d)]),console[_0x35c58e(0x140)](JSON[_0x35c58e(0xc6)](_0xdeee4f,null,0x3));}else{if(_0x7ec6d7[_0x35c58e(0x175)](_0x335204,_0x7ec6d7['HSiPK'])){let _0x51f86d;const _0x146b2f=_0x7ec6d7[_0x35c58e(0xe1)];_0x1b02ca&&(_0x51f86d=_0x1b02ca[_0x35c58e(0xd0)]);_0x51f86d=_0x7ec6d7[_0x35c58e(0x17a)](_0x51f86d,_0x146b2f);let _0x44945b=0x0,_0x4020e3=0x0,_0x34eae0=0x0,_0x30d808=0x0;_0x5d5816[_0x35c58e(0x157)](_0x2eea46=>{const _0x280684=_0x35c58e;_0x505684[_0x2eea46][_0x7ec6d7['RrcoM']][_0x280684(0x157)](_0x38c549=>{const _0xc12a09=_0x280684;if(_0x7ec6d7[_0xc12a09(0xac)](_0x38c549['state'],_0x7ec6d7['jkwfI']))_0x44945b++;else _0x7ec6d7[_0xc12a09(0xef)](_0x38c549[_0xc12a09(0x177)],_0x7ec6d7['fnWCx'])&&_0x4020e3++;_0x34eae0++,_0x30d808+=_0x7ec6d7[_0xc12a09(0x148)](_0x38c549[_0xc12a09(0xe5)],0x1);});}),_0x7ec6d7[_0x35c58e(0xe4)](xunitWrite,_0x7ec6d7['grWMq'](tag,_0x7ec6d7['dEKlq'],{'name':_0x51f86d,'tests':_0x34eae0,'failures':0x0,'errors':_0x4020e3,'skipped':_0x7ec6d7[_0x35c58e(0x17f)](_0x7ec6d7[_0x35c58e(0x17f)](_0x34eae0,_0x4020e3),_0x44945b),'timestamp':new Date()['toUTCString'](),'time':_0x7ec6d7[_0x35c58e(0x18f)](_0x30d808,0x3e8)||0x0},![])),_0x5d5816[_0x35c58e(0x157)](_0x5ca703=>{const _0x4c3fe3=_0x35c58e,_0x2515c5={'gclvH':function(_0x1ca792,_0x56194d,_0x3d1c3a){const _0x7a1b73=a28_0xb60d;return _0x7ec6d7[_0x7a1b73(0xa5)](_0x1ca792,_0x56194d,_0x3d1c3a);}};_0x505684[_0x5ca703][_0x7ec6d7[_0x4c3fe3(0x135)]][_0x4c3fe3(0x157)](_0x24aa01=>{const _0xd22be9=_0x4c3fe3;_0x2515c5[_0xd22be9(0x169)](xunitTest,_0x24aa01,_0x5ca703);});}),_0x7ec6d7[_0x35c58e(0x133)](xunitWrite,_0x7ec6d7[_0x35c58e(0xb1)]);if(_0x1b02ca['output'])try{logger['debug'](_0x7ec6d7[_0x35c58e(0x192)],_0x1b02ca[_0x35c58e(0x19a)]),fs[_0x35c58e(0xc1)](_0x1b02ca[_0x35c58e(0x19a)],xunitContent);}catch(_0x464e8e){logger[_0x35c58e(0xfe)](_0x7ec6d7[_0x35c58e(0xb6)],_0x1b02ca[_0x35c58e(0x19a)]),logger[_0x35c58e(0x101)](_0x464e8e);}else logger[_0x35c58e(0x101)](_0x7ec6d7['gNrlM']),console[_0x35c58e(0x140)](xunitContent);}else{if(_0x7ec6d7[_0x35c58e(0x156)](_0x57e11b,0x0))return;console[_0x35c58e(0x140)](),logger[_0x35c58e(0x101)](_0x7ec6d7[_0x35c58e(0xa8)]),console[_0x35c58e(0x140)](chalk[_0x35c58e(0x1a4)][_0x35c58e(0x193)](_0x7ec6d7['nDAgF'])),_0x5d5816[_0x35c58e(0x157)](_0x1cef1a=>{const _0x2fc9a7=_0x35c58e,_0x54be1d=[];_0x505684[_0x1cef1a][_0x7ec6d7[_0x2fc9a7(0x135)]][_0x2fc9a7(0x157)](_0x2f1f56=>{const _0x34c71a=_0x2fc9a7;_0x7ec6d7[_0x34c71a(0xef)](_0x2f1f56[_0x34c71a(0x177)],_0x7ec6d7[_0x34c71a(0x160)])&&(_0x2f1f56[_0x34c71a(0x19c)]=()=>_0x2f1f56[_0x34c71a(0x170)],_0x54be1d[_0x34c71a(0x118)](_0x2f1f56));}),_0x7ec6d7['HEYqc'](_0x54be1d[_0x2fc9a7(0x17c)],0x0)&&(Base[_0x2fc9a7(0x144)](),Base['consoleLog'](_0x7ec6d7[_0x2fc9a7(0xfa)](_0x2bd463),chalk[_0x2fc9a7(0x1a4)][_0x2fc9a7(0x15c)](_0x1cef1a)),Base[_0x2fc9a7(0xf7)](_0x54be1d));});}}}function a28_0xb60d(_0x161081,_0x10869a){const _0x578190=a28_0x5781();return a28_0xb60d=function(_0xb60dde,_0x1a5403){_0xb60dde=_0xb60dde-0x97;let _0x31d52f=_0x578190[_0xb60dde];return _0x31d52f;},a28_0xb60d(_0x161081,_0x10869a);}async function run(_0x1cebac,_0x2520d8,_0xd7f8d2){const _0x4d9524=a28_0x5b2abb,_0x5671d5={'AvuzO':function(_0x3fffa3,_0x32183c,_0x53b727,_0x2bd036){return _0x3fffa3(_0x32183c,_0x53b727,_0x2bd036);},'sxpjm':'reporter-option','gWzCo':'error\x20removing\x20tcg\x20config\x20file','jluZF':_0x4d9524(0x146),'cjKZH':_0x4d9524(0xed),'iWBCV':function(_0x51b6c1,_0x45a056){return _0x51b6c1!=_0x45a056;},'CTEjJ':'cjs','QRMPj':_0x4d9524(0x11d),'TENfM':_0x4d9524(0xc2),'xXLEF':_0x4d9524(0x14b),'EgzXH':function(_0x4aacd6,_0xb88766){return _0x4aacd6(_0xb88766);},'eIEHI':function(_0x5f389d,_0xd01f3,_0x28797d){return _0x5f389d(_0xd01f3,_0x28797d);},'aTWsd':_0x4d9524(0x165),'mEVvo':'Running\x20your\x20mocha\x20tests','fIEYQ':'Now,\x20showing\x20logs\x20from\x20mocha','VbEhi':function(_0x1e0c3b,_0x1b3123,_0x214db6,_0x254bfe){return _0x1e0c3b(_0x1b3123,_0x214db6,_0x254bfe);},'CbOhZ':function(_0x159d37,_0x103194){return _0x159d37*_0x103194;},'VjeTK':function(_0x416169,_0x484328){return _0x416169(_0x484328);},'JSMJd':function(_0x4e3342,_0x2e7c5a){return _0x4e3342!==_0x2e7c5a;}};helper[_0x4d9524(0xd9)](_0xd7f8d2[_0x4d9524(0xaa)],_0x1cebac);helper[_0x4d9524(0xfd)]()?(await _0xd7f8d2[_0x4d9524(0xbd)](_0x1cebac),await helper[_0x4d9524(0xf9)](_0xd7f8d2[_0x4d9524(0xdb)])):await _0xd7f8d2[_0x4d9524(0x16a)]();const _0x483758=[];let _0x5b6137=[];if(!_0xd7f8d2[_0x4d9524(0xdb)])return;!helper[_0x4d9524(0xa0)](_0xd7f8d2[_0x4d9524(0xdb)][_0x4d9524(0xf0)])&&(process[_0x4d9524(0x14c)][_0x4d9524(0x12d)]=JSON['stringify'](_0xd7f8d2[_0x4d9524(0xdb)]['accessibilityOptions']));const _0x21974c=await TestHubHandler[_0x4d9524(0x12a)](FRAMEWORKS[_0x4d9524(0xda)],_0xd7f8d2);_0x5671d5[_0x4d9524(0xad)](_0xd7f8d2[_0x4d9524(0xdb)][_0x4d9524(0xb5)],null)&&(process['env'][_0x4d9524(0xbc)]=_0xd7f8d2[_0x4d9524(0xdb)]['testObservability']);!helper['isUndefined'](_0xd7f8d2[_0x4d9524(0xdb)]['accessibility'])&&(process['env'][_0x4d9524(0x179)]=_0xd7f8d2['config'][_0x4d9524(0xf2)]);const {extension:extension=['js',_0x5671d5[_0x4d9524(0x100)],_0x5671d5[_0x4d9524(0x196)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5671d5[_0x4d9524(0xdf)]]}=_0x1cebac,_0x349904={..._0x1cebac};_0x349904[_0x4d9524(0xf4)]=null;const _0x3f068b=_0x349904;let _0x55e485;if(testOpsHelper[_0x4d9524(0x15a)]()&&testOpsHelper[_0x4d9524(0x159)]()){let _0x9690b=process[_0x4d9524(0x14c)][_0x4d9524(0x12e)];!helper[_0x4d9524(0xa0)](_0xd7f8d2[_0x4d9524(0xee)])&&_0xd7f8d2[_0x4d9524(0xee)]['has'](_0x5671d5[_0x4d9524(0x10b)])&&(_0x9690b=_0xd7f8d2[_0x4d9524(0xee)]['get'](_0x5671d5[_0x4d9524(0x10b)])),_0x55e485=testOpsHelper['parseFileNames'](_0x9690b);}if(helper[_0x4d9524(0xa0)](_0x55e485)){const _0x274f17={};_0x274f17[_0x4d9524(0x116)]=ignore,_0x274f17[_0x4d9524(0xc9)]=extension,_0x274f17['file']=file,_0x274f17[_0x4d9524(0x18d)]=recursive,_0x274f17[_0x4d9524(0xd6)]=sort,_0x274f17[_0x4d9524(0xfb)]=spec,_0x55e485=_0x5671d5[_0x4d9524(0x11a)](collectFiles,_0x274f17),_0x5671d5[_0x4d9524(0x15f)](nestedKeyValue,_0x55e485,[_0x5671d5[_0x4d9524(0xb8)]])&&(_0x55e485=_0x55e485[_0x4d9524(0x165)]);}const _0x5c4443=helper[_0x4d9524(0x181)](_0xd7f8d2['config']);!helper[_0x4d9524(0x10f)](_0x5c4443)&&helper[_0x4d9524(0x16b)](_0x5c4443[_0x4d9524(0x149)])&&(_0x3f068b[_0x4d9524(0x127)]=_0x5c4443[_0x4d9524(0x149)][_0x4d9524(0xe2)]);if(!helper[_0x4d9524(0xfd)]()){const _0xc6537f=0x1,_0x293f62={..._0x3f068b};_0x293f62[_0x4d9524(0xfb)]=[..._0x55e485],_0x483758[_0x4d9524(0x118)]({'mochaOpts':_0x293f62,'configuration':{'platform':os[_0x4d9524(0x10e)]()}}),logger[_0x4d9524(0x98)](_0x5671d5[_0x4d9524(0x1a5)]),logger[_0x4d9524(0x98)](_0x5671d5[_0x4d9524(0xb0)]),_0x5671d5[_0x4d9524(0x13e)](parallelTestRun,_0x483758,_0xc6537f,_0xd7f8d2)[_0x4d9524(0x171)](_0x3534ab=>{const _0x50e1d7=_0x4d9524;PerformanceTester[_0x50e1d7(0x99)](PerformanceEvents[_0x50e1d7(0xdd)]),_0x5671d5[_0x50e1d7(0xb4)](printStats,_0x3534ab,_0x1cebac[_0x50e1d7(0x16d)],_0x1cebac[_0x50e1d7(0x121)]||_0x1cebac[_0x5671d5['sxpjm']]);})[_0x4d9524(0x18b)](()=>{const _0x4e8471=_0x4d9524;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x5d7597,tcgConfigPath:_0x1e0d11}=helper['getTCGConfigFilePaths']();fs[_0x4e8471(0xeb)](_0x1e0d11),fs[_0x4e8471(0x13a)](_0x5d7597);}catch(_0x3736c7){logger['debug'](_0x5671d5[_0x4e8471(0x13c)],_0x3736c7);}try{utilities[_0x4e8471(0x150)](_0x5671d5[_0x4e8471(0xa9)],{},_0xd7f8d2[_0x4e8471(0xdb)],_0xd7f8d2[_0x4e8471(0xaa)]);}catch(_0x5d6210){logger[_0x4e8471(0x101)](_0x4e8471(0x141)+_0x5d6210[_0x4e8471(0x107)]);}try{helper[_0x4e8471(0x120)]();}catch(_0x28786d){logger[_0x4e8471(0x101)](_0x4e8471(0x11e)+_0x28786d);}testOpsHelper[_0x4e8471(0x172)]();});}else{const _0x1f2278=helper['useW3C'](_0xd7f8d2[_0x4d9524(0xdb)]);let _0x49733e=helper[_0x4d9524(0x110)](_0xd7f8d2['config']);_0x5b6137=helper[_0x4d9524(0x11f)](_0xd7f8d2[_0x4d9524(0xdb)],_0x1f2278,constants[_0x4d9524(0x184)][_0x4d9524(0xda)]);helper[_0x4d9524(0x142)]()[_0x4d9524(0x16e)]&&(_0x49733e=centralScannerConstants[_0x4d9524(0xe6)]);let _0x1fe4fc;const _0x438636=_0xd7f8d2['config'][_0x4d9524(0x182)]||helper[_0x4d9524(0x9d)](_0x1cebac,_0x2520d8,_0xd7f8d2[_0x4d9524(0xdb)],constants[_0x4d9524(0x184)]['MOCHA'])||0x1;helper[_0x4d9524(0x162)](_0xd7f8d2[_0x4d9524(0xdb)])?_0x1fe4fc=_0x5671d5[_0x4d9524(0xae)](_0xd7f8d2[_0x4d9524(0xdb)][_0x4d9524(0x154)][_0x4d9524(0x17c)],_0x438636):_0x1fe4fc=_0x438636;const _0x49837d=_0x5671d5[_0x4d9524(0xde)](getPercyOptions,_0xd7f8d2['config']);if(_0x5671d5[_0x4d9524(0x166)](_0xd7f8d2[_0x4d9524(0xdb)][_0x4d9524(0x182)],0x1))_0x55e485[_0x4d9524(0x157)](_0x352418=>{const _0x136ea3=_0x4d9524,_0x201f4b=[];_0x5b6137[_0x136ea3(0x157)]((_0x4b87f0,_0x356ad9)=>{const _0x500ffa=_0x136ea3,_0x58342a={};_0x58342a[_0x500ffa(0xfb)]=[_0x352418],_0x201f4b[_0x500ffa(0x118)]({'mochaOpts':Object[_0x500ffa(0x104)]({},_0x3f068b,_0x58342a),'configuration':{'server':_0x49733e,'capability':_0x4b87f0,'proxySettings':_0xd7f8d2['config']['proxySettings'],'platform':helper[_0x500ffa(0x132)](_0x4b87f0),'browserStackLogLevel':_0xd7f8d2[_0x500ffa(0xdb)][_0x500ffa(0xff)],'platformIndex':_0x356ad9,'browserStackPercyOptions':_0x49837d,'platformCaps':Object[_0x500ffa(0x104)]({'index':_0x356ad9},_0xd7f8d2[_0x500ffa(0xdb)][_0x500ffa(0x154)][_0x356ad9])}});}),_0x483758[_0x136ea3(0x118)](..._0x201f4b);});else{const _0x542551=[];_0x5b6137[_0x4d9524(0x157)]((_0x367acb,_0x3e56c4)=>{const _0x146b45=_0x4d9524;let _0x25af5e=Object[_0x146b45(0x104)]({},_0x3f068b);testOpsHelper[_0x146b45(0x15a)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x25af5e={..._0x25af5e,'spec':[..._0x55e485]}),_0x542551[_0x146b45(0x118)]({'mochaOpts':_0x25af5e,'configuration':{'server':_0x49733e,'capability':_0x367acb,'proxySettings':_0xd7f8d2[_0x146b45(0xdb)][_0x146b45(0x109)],'platform':helper[_0x146b45(0x132)](_0x367acb),'browserStackLogLevel':_0xd7f8d2[_0x146b45(0xdb)]['logLevel'],'platformIndex':_0x3e56c4,'browserStackPercyOptions':_0x49837d,'platformCaps':Object[_0x146b45(0x104)]({'index':_0x3e56c4},_0xd7f8d2['config'][_0x146b45(0x154)][_0x3e56c4])}});}),_0x483758[_0x4d9524(0x118)](..._0x542551);}logger[_0x4d9524(0x98)](_0x4d9524(0x153)+_0xd7f8d2[_0x4d9524(0xdb)][_0x4d9524(0x154)][_0x4d9524(0x17c)]+_0x4d9524(0xa4)),logger[_0x4d9524(0x98)](_0x5671d5[_0x4d9524(0xb0)]);let _0xaa0fec;_0x5671d5[_0x4d9524(0xb4)](parallelTestRun,_0x483758,_0x1fe4fc,_0xd7f8d2)[_0x4d9524(0x171)](_0x37bea4=>{const _0x3b876e=_0x4d9524;PerformanceTester[_0x3b876e(0x99)](PerformanceEvents[_0x3b876e(0xdd)]),_0xaa0fec=_0x37bea4,_0x5671d5[_0x3b876e(0xb4)](printStats,_0x37bea4,_0x1cebac['reporter'],_0x1cebac['reporterOptions']||_0x1cebac[_0x5671d5[_0x3b876e(0x191)]]);})[_0x4d9524(0x18b)](async()=>{const _0x1c884b=_0x4d9524;PerformanceTester[_0x1c884b(0x99)](PerformanceEvents[_0x1c884b(0xdd)]),_0xd7f8d2[_0x1c884b(0x102)]=helper['getErrorMessageFromResults'](_0xaa0fec,_0x5671d5[_0x1c884b(0x167)]),await utilities['finalExecution'](_0xd7f8d2),testOpsHelper['printBuildLink']();});}}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a29_0x1808(){const _0x59634b=['UqdVx','MAnGz','requireHttpClient','getHttpAgent','DCQcK','__drivers','capability','rUZcl','OhDvS','/wd/hub','object','proxySettings','setGlobal','edgeOptions','DPRbI','lRzKS','set','moz:firefoxOptions','../../../helpers/logger','proxyUrl','2JhhWuS','capabilities_','isAccessibilityPlatform','setServer','../../../helpers/globals','firefoxOptions_','../../../bin/utils/constants','updateHubUrl','__setBrowserOptions','originalBuilder','ieOptions','FGhqo','Modifying\x20webdriver\x20builder','204715zWGJjC','KTLDe','agent_','edgeOptions_','OGvBt','chromeOptions_','827637LGOoqN','keys','safariOptions_','error','exzBg','proxy_','EXyeu','options_','Proxy\x20set\x20to\x20','UjSEH','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','setCapabilities','pDJWu','crHlE','isPacProxy','then','shAPY','kypuE','faAGe','hQxJc','33335tXVJWW','global','../../../helpers/accessibility-automation/helper','get','chromeOptions','mergeDeep','path','send','requireSeleniumWebdriver','mGMqw','ttepI','egRaU','quitCount_','./helpers/patchHelper','1428304mnDkTM','xpKUp','getAccessibilityResults','url_','106131DJcTlD','ieOptions_','NhnNR','bFSEI','ueoFw','getRequestOptions','8509864psjQxt','LsMYl','overrideGet','browserstackAgentObservability','forEach','safari.options','RxDHL','3|2|5|4|0|1','isUndefined','winstonLogger','isBrowserstackInfra','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','exports','newHubUrl','split','27tsCvvt','wmXos','vfeOH','setLogLevel','dukmd','__driversArray','debug','hbpfo','LmRcv','HttpClient','mFGlP','44rhjUoD','ms:edgeOptions','huZOa','xcpdZ','DxcZT','108Yzokye','build','New\x20hub\x20url\x20set\x20to\x20','CAPABILITY_KEY','VWXlR','push','dXgNc','goog:chromeOptions','getGlobal','Builder','__driver','HNYaB','session_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','2434010xOWQhH'];a29_0x1808=function(){return _0x59634b;};return a29_0x1808();}const a29_0x31bf60=a29_0x2fc0;(function(_0x1283c8,_0xcdac46){const _0x29c124=a29_0x2fc0,_0x33cd8b=_0x1283c8();while(!![]){try{const _0x17d47e=parseInt(_0x29c124(0x19e))/0x1*(parseInt(_0x29c124(0x165))/0x2)+-parseInt(_0x29c124(0x178))/0x3+parseInt(_0x29c124(0x1be))/0x4*(-parseInt(_0x29c124(0x18c))/0x5)+-parseInt(_0x29c124(0x142))/0x6*(-parseInt(_0x29c124(0x172))/0x7)+parseInt(_0x29c124(0x19a))/0x8+parseInt(_0x29c124(0x1b3))/0x9*(parseInt(_0x29c124(0x150))/0xa)+-parseInt(_0x29c124(0x1a4))/0xb;if(_0x17d47e===_0xcdac46)break;else _0x33cd8b['push'](_0x33cd8b['shift']());}catch(_0x3103e0){_0x33cd8b['push'](_0x33cd8b['shift']());}}}(a29_0x1808,0x6628a));const logger=require(a29_0x31bf60(0x163))[a29_0x31bf60(0x1ad)],helper=require('../../../helpers/helper'),constants=require(a29_0x31bf60(0x16b)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x31bf60(0x18e)),globals=require(a29_0x31bf60(0x169)),{overrideExecute}=require(a29_0x31bf60(0x199)),modify=(_0x521f6c,_0x2e0e23=null,_0x40de66=![])=>{const _0x4091e2=a29_0x31bf60,_0x1556ba={'MAnGz':function(_0x44518e,_0x30205a){return _0x44518e!==_0x30205a;},'EXyeu':'/session','OhDvS':function(_0x285c11,_0xd47253){return _0x285c11!==_0xd47253;},'shAPY':function(_0x4f1060,_0x4e41ae){return _0x4f1060+_0x4e41ae;},'pDJWu':function(_0x19fcaf,_0x291cb5){return _0x19fcaf+_0x291cb5;},'dukmd':'https://','LsMYl':_0x4091e2(0x15a),'egRaU':_0x4091e2(0x149),'mGMqw':_0x4091e2(0x190),'mFGlP':_0x4091e2(0x1bf),'nnKBd':_0x4091e2(0x15e),'HNYaB':_0x4091e2(0x162),'wmXos':'firefoxOptions','ueoFw':_0x4091e2(0x1a9),'KTLDe':'se:ieOptions','UjSEH':_0x4091e2(0x16f),'rUZcl':function(_0x158981,_0x383a58){return _0x158981===_0x383a58;},'DroPW':_0x4091e2(0x15b),'vfeOH':'Setting\x20Browserstack\x20capabilities','RxDHL':function(_0x5c857e,_0x149549,_0x292d84){return _0x5c857e(_0x149549,_0x292d84);},'VWXlR':'optimalHubUrl','UNUiW':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','UzcoJ':function(_0x39e49c,_0x5b57b2,_0x341b0b){return _0x39e49c(_0x5b57b2,_0x341b0b);},'ttepI':function(_0x346cfb,_0x4419bb,_0x1b9921){return _0x346cfb(_0x4419bb,_0x1b9921);},'OGvBt':'4|1|3|2|0|5','faAGe':function(_0x34a069,_0x3fe38d){return _0x34a069(_0x3fe38d);},'lRzKS':function(_0xa34b54,_0x112263,_0x1aed2e){return _0xa34b54(_0x112263,_0x1aed2e);},'UqdVx':function(_0x5dcf65,_0x57baef,_0xf08516){return _0x5dcf65(_0x57baef,_0xf08516);},'xcpdZ':_0x4091e2(0x1ab),'huZOa':_0x4091e2(0x167),'dXgNc':function(_0x3184e6,_0x5a811d,_0x277b41){return _0x3184e6(_0x5a811d,_0x277b41);},'LmRcv':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','DxcZT':function(_0x252f95){return _0x252f95();},'xpKUp':function(_0x2a1957,_0xbad7a3){return _0x2a1957(_0xbad7a3);},'crHlE':function(_0x2f25f2,_0x15c17c){return _0x2f25f2(_0x15c17c);},'hbpfo':function(_0x17a052,_0x32300b,_0x2246fa){return _0x17a052(_0x32300b,_0x2246fa);},'DCQcK':_0x4091e2(0x14f),'NhnNR':_0x4091e2(0x171)},_0x54f93f=helper[_0x4091e2(0x153)]();let _0x2a2b62;try{_0x2a2b62=helper[_0x4091e2(0x194)](),_0x2a2b62[_0x4091e2(0x16e)]&&(_0x2a2b62[_0x4091e2(0x14b)]=_0x2a2b62[_0x4091e2(0x16e)]);}catch(_0x23baab){return;}if(helper[_0x4091e2(0x1ae)]()){const _0x3e4eac={};_0x3e4eac['logLevel']=_0x521f6c['browserStackLogLevel'],helper[_0x4091e2(0x1b6)](_0x3e4eac,new Map(),new Map()),logger['info'](_0x1556ba[_0x4091e2(0x155)]),logger[_0x4091e2(0x1b9)](_0x1556ba[_0x4091e2(0x1a0)]);}class _0x526e46 extends _0x54f93f[_0x4091e2(0x1bc)]{[_0x4091e2(0x193)](_0x16c4c3){const _0x509fcc=_0x4091e2;if(_0x1556ba[_0x509fcc(0x152)](_0x16c4c3[_0x509fcc(0x192)],_0x1556ba[_0x509fcc(0x17e)])&&_0x1556ba[_0x509fcc(0x159)](global[_0x509fcc(0x1b1)],''))try{global[_0x509fcc(0x1b1)]=_0x1556ba[_0x509fcc(0x188)](_0x1556ba[_0x509fcc(0x184)](_0x1556ba[_0x509fcc(0x1b7)],global[_0x509fcc(0x1b1)]),_0x1556ba[_0x509fcc(0x1a5)]),this[_0x509fcc(0x17f)]=hubAllocator[_0x509fcc(0x1a3)](global[_0x509fcc(0x1b1)]),logger['debug'](_0x509fcc(0x144)+global['newHubUrl']),global[_0x509fcc(0x1b1)]='';}catch(_0x3b1daf){logger[_0x509fcc(0x17b)](_0x3b1daf);}return super[_0x509fcc(0x193)](_0x16c4c3);}}class _0xeb605f extends _0x2a2b62[_0x4091e2(0x14b)]{[_0x4091e2(0x168)](){const _0x4b3913=_0x4091e2;return this[_0x4b3913(0x19d)]=helper['getHubUrl'](_0x521f6c),logger[_0x4b3913(0x1b9)]('Hub\x20url\x20set\x20to\x20'+this[_0x4b3913(0x19d)]),this;}[_0x4091e2(0x16d)](_0xc53962){const _0x578799=_0x4091e2;let _0x32d123={};for(const _0x361809 in _0xc53962){switch(_0x361809){case _0x1556ba[_0x578799(0x197)]:case _0x1556ba[_0x578799(0x195)]:this[_0x578799(0x177)]&&(_0x32d123=this[_0x578799(0x177)][_0x578799(0x18f)](this[_0x578799(0x177)][_0x578799(0x145)])||{},this[_0x578799(0x177)][_0x578799(0x161)](this[_0x578799(0x177)][_0x578799(0x145)],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x1bd)]:case _0x1556ba['nnKBd']:this[_0x578799(0x175)]&&(_0x32d123=this[_0x578799(0x175)][_0x578799(0x18f)](this[_0x578799(0x175)][_0x578799(0x145)])||{},this[_0x578799(0x175)][_0x578799(0x161)](this[_0x578799(0x175)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x14d)]:case _0x1556ba[_0x578799(0x1b4)]:this['firefoxOptions_']&&(_0x32d123=this['firefoxOptions_'][_0x578799(0x18f)](this[_0x578799(0x16a)]['CAPABILITY_KEY'])||{},this[_0x578799(0x16a)][_0x578799(0x161)](this[_0x578799(0x16a)][_0x578799(0x145)],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x1a2)]:this['safariOptions_']&&(_0x32d123=this[_0x578799(0x17a)]['get'](this[_0x578799(0x17a)][_0x578799(0x145)])||{},this[_0x578799(0x17a)]['set'](this[_0x578799(0x17a)][_0x578799(0x145)],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x173)]:case _0x1556ba[_0x578799(0x181)]:this['ieOptions_']&&(_0x32d123=this['ieOptions_'][_0x578799(0x18f)](this[_0x578799(0x19f)][_0x578799(0x145)])||{},this['ieOptions_'][_0x578799(0x161)](this[_0x578799(0x19f)]['CAPABILITY_KEY'],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;}}}['setCapabilities'](){const _0x32f0cc=_0x4091e2,_0x420e26={'bFSEI':function(_0x7e37d1,_0x2c1d86){const _0x23bb2b=a29_0x2fc0;return _0x1556ba[_0x23bb2b(0x158)](_0x7e37d1,_0x2c1d86);},'hQxJc':_0x1556ba['DroPW']};return logger[_0x32f0cc(0x1b9)](_0x1556ba[_0x32f0cc(0x1b5)]),this['__setBrowserOptions'](_0x521f6c[_0x32f0cc(0x157)]),Object[_0x32f0cc(0x179)](_0x521f6c['capability'])[_0x32f0cc(0x1a8)](_0xf418e8=>{const _0x1aeaaf=_0x32f0cc,_0x434f6c=this[_0x1aeaaf(0x166)]['get'](_0xf418e8);_0x420e26[_0x1aeaaf(0x1a1)](typeof _0x434f6c,_0x420e26[_0x1aeaaf(0x18b)])?this[_0x1aeaaf(0x166)][_0x1aeaaf(0x161)](_0xf418e8,helper[_0x1aeaaf(0x191)](_0x434f6c,_0x521f6c[_0x1aeaaf(0x157)][_0xf418e8])):this[_0x1aeaaf(0x166)][_0x1aeaaf(0x161)](_0xf418e8,_0x521f6c[_0x1aeaaf(0x157)][_0xf418e8]);}),this;}[_0x4091e2(0x143)](){const _0x269871=_0x4091e2,_0xc47a4b={'OFUZZ':_0x1556ba[_0x269871(0x146)],'IDhNd':_0x1556ba['UNUiW'],'FGhqo':function(_0x450508,_0x5f069f,_0x310188){return _0x1556ba['UzcoJ'](_0x450508,_0x5f069f,_0x310188);},'kypuE':function(_0x4059f6,_0x339e0b,_0x4e0187){const _0xa78902=_0x269871;return _0x1556ba[_0xa78902(0x196)](_0x4059f6,_0x339e0b,_0x4e0187);},'DPRbI':_0x1556ba[_0x269871(0x176)],'tqonH':function(_0x1237c2,_0x1731ea){const _0xa57b94=_0x269871;return _0x1556ba[_0xa57b94(0x18a)](_0x1237c2,_0x1731ea);},'FYVji':function(_0x2a796f,_0x1473a9,_0x5a8299){const _0x5898ed=_0x269871;return _0x1556ba[_0x5898ed(0x160)](_0x2a796f,_0x1473a9,_0x5a8299);},'exzBg':function(_0x35ec07,_0x576a5d,_0x4a2693){const _0x3a3cea=_0x269871;return _0x1556ba[_0x3a3cea(0x151)](_0x35ec07,_0x576a5d,_0x4a2693);}};if(helper[_0x269871(0x1ae)]()){const _0xdd05c5=_0x1556ba[_0x269871(0x1c1)]['split']('|');let _0x192415=0x0;while(!![]){switch(_0xdd05c5[_0x192415++]){case'0':globals[_0x269871(0x14a)](_0x1556ba[_0x269871(0x1c0)])&&(!_0x1556ba[_0x269871(0x148)](setExtension,this,_0x521f6c)&&globals[_0x269871(0x15d)](_0x1556ba['huZOa'],![]));continue;case'1':logger['debug'](_0x1556ba[_0x269871(0x1bb)]);continue;case'2':this[_0x269871(0x168)]();continue;case'3':_0x1556ba[_0x269871(0x1c2)](isAccessibilityAutomationSession)&&_0x1556ba[_0x269871(0x18a)](setAccessibilityCapabilities,_0x521f6c);continue;case'4':if(helper[_0x269871(0x186)](_0x521f6c['proxySettings'][_0x269871(0x164)]))this[_0x269871(0x174)]=helper[_0x269871(0x154)](_0x521f6c[_0x269871(0x15c)][_0x269871(0x164)]);else _0x521f6c['proxySettings'][_0x269871(0x164)]&&(this[_0x269871(0x17d)]=_0x521f6c['proxySettings']['proxyUrl'],logger[_0x269871(0x1b9)](_0x269871(0x180)+this[_0x269871(0x17d)]));continue;case'5':this[_0x269871(0x183)]();continue;}break;}}const _0x1b6005=super[_0x269871(0x143)]();return _0x1b6005[_0x269871(0x14e)][_0x269871(0x187)](_0x24087f=>{const _0x5351f5=_0x269871;try{const _0x166bd6=_0x24087f['caps_'][_0x5351f5(0x18f)](_0xc47a4b['OFUZZ']);_0x166bd6?(logger[_0x5351f5(0x1b9)](_0x5351f5(0x1af)+_0x166bd6),hubAllocator[_0x5351f5(0x16c)](_0x166bd6),helper['storeOptimalHubUrl'](_0x166bd6)):logger[_0x5351f5(0x1b9)](_0xc47a4b['IDhNd']);}catch(_0x51f215){logger[_0x5351f5(0x1b9)](_0x5351f5(0x182)+_0x51f215);}}),_0x1b6005[_0x269871(0x198)]=0x0,_0x1b6005[_0x269871(0x187)]&&_0x1b6005['then'](_0x332e5f=>{const _0x5b4a36=_0x269871,_0x2270a1=_0xc47a4b[_0x5b4a36(0x15f)][_0x5b4a36(0x1b2)]('|');let _0x2d4c27=0x0;while(!![]){switch(_0x2270a1[_0x2d4c27++]){case'0':_0x332e5f['getAccessibilityResultsSummary']=async()=>{const _0x39a79a=_0x5b4a36;return await _0xc47a4b[_0x39a79a(0x170)](getAccessibilityResultsSummary,_0x332e5f,global);};continue;case'1':_0xc47a4b['tqonH'](overrideTakeScreenshot,_0x332e5f);continue;case'2':_0xc47a4b['FYVji'](overrideExecute,_0x332e5f,_0x521f6c);continue;case'3':helper[_0x5b4a36(0x1a6)](_0x332e5f,_0x521f6c);continue;case'4':_0xc47a4b[_0x5b4a36(0x17c)](overrideQuit,_0x332e5f,_0x1b6005);continue;case'5':_0x332e5f[_0x5b4a36(0x19c)]=async()=>{const _0x349dff=_0x5b4a36;return await _0xc47a4b[_0x349dff(0x189)](getAccessibilityResults,_0x332e5f,global);};continue;}break;}}),_0x1b6005['getAccessibilityResultsSummary']=async()=>{const _0x4fa355=_0x269871;return await _0xc47a4b[_0x4fa355(0x170)](getAccessibilityResultsSummary,_0x1b6005,global);},_0x1b6005['getAccessibilityResults']=async()=>{const _0xad5bfc=_0x269871;return await _0x1556ba[_0xad5bfc(0x1aa)](getAccessibilityResults,_0x1b6005,global);},_0x1556ba[_0x269871(0x19b)](overrideTakeScreenshot,_0x1b6005),_0x1556ba[_0x269871(0x185)](overrideQuit,_0x1b6005),helper[_0x269871(0x1a6)](_0x1b6005,_0x521f6c),_0x1556ba[_0x269871(0x1ba)](overrideExecute,_0x1b6005,_0x521f6c),helper[_0x269871(0x1ac)](global[_0x269871(0x1b8)])&&(global['__driversArray']=[]),helper['isUndefined'](global['__drivers'])&&(global[_0x269871(0x156)]=[]),global[_0x269871(0x1b8)][_0x269871(0x147)](_0x1b6005),global[_0x269871(0x14c)]=_0x1b6005,_0x1556ba[_0x269871(0x152)](global[_0x269871(0x156)],undefined)&&global[_0x269871(0x156)][_0x269871(0x147)](_0x1b6005),_0x2e0e23&&helper['isUndefined'](_0x2e0e23[_0x269871(0x18d)][_0x269871(0x1b8)])&&(_0x2e0e23[_0x269871(0x18d)]['__driversArray']=[]),_0x2e0e23&&_0x1556ba[_0x269871(0x152)](_0x2e0e23[_0x269871(0x18d)][_0x269871(0x156)],undefined)&&(_0x2e0e23['global'][_0x269871(0x156)][_0x269871(0x147)](_0x1b6005),_0x2e0e23[_0x269871(0x18d)][_0x269871(0x1b8)][_0x269871(0x147)](_0x1b6005)),_0x1b6005;}}return _0x2a2b62[_0x4091e2(0x16e)]=_0x2a2b62[_0x4091e2(0x14b)],_0x2a2b62['Builder']=_0xeb605f,_0x54f93f[_0x4091e2(0x1bc)]=_0x526e46,_0x2a2b62;};function a29_0x2fc0(_0x229b01,_0x5cdeef){const _0x18083b=a29_0x1808();return a29_0x2fc0=function(_0x2fc003,_0x218edd){_0x2fc003=_0x2fc003-0x142;let _0x4802b5=_0x18083b[_0x2fc003];return _0x4802b5;},a29_0x2fc0(_0x229b01,_0x5cdeef);}module[a29_0x31bf60(0x1b0)][a29_0x31bf60(0x1a7)]=modify;
|
|
1
|
+
const a29_0x32eafa=a29_0x48d7;function a29_0x490a(){const _0x2ae60b=['capabilities_','isPacProxy','path','isAccessibilityPlatform','1143636CBvHvg','nJPNj','getRequestOptions','setServer','updateHubUrl','setCapabilities','SWCdA','https://','6EINwwM','__drivers','QCRGV','nDUSi','../accessibility-automation/helper','debug','mZFLs','../../../helpers/helper','SlzRU','BGZSe','getAccessibilityResultsSummary','logLevel','PgqHI','chromeOptions_','forEach','set','Builder','8448342fshkEN','ms:edgeOptions','CAPABILITY_KEY','vPaih','iAsAp','getHubUrl','__setBrowserOptions','31998830saZfnU','vbkmb','EmNTw','CCvam','BUBpD','optimalHubUrl','HttpClient','ZUgdz','mergeDeep','getGlobal','DraEH','chromeOptions','send','__driversArray','build','newHubUrl','/session','OvuSA','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','push','dWlEd','caps_','exports','../../../hubAllocationMethods','rYrup','NgujB','proxy_','Hub\x20url\x20set\x20to\x20','firefoxOptions_','PZzNJ','url_','../../../bin/utils/constants','BVjmg','edgeOptions_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','RKKhM','proxyUrl','./helpers/patchHelper','safariOptions_','capability','njNLp','QsNoJ','New\x20hub\x20url\x20set\x20to\x20','setGlobal','moz:firefoxOptions','ieOptions_','HwsBi','HWICQ','373235vFfFyc','1049998SNtyRO','../../../helpers/logger','hmbQh','4|2|0|1|3|5','overrideGet','NIIpA','getAccessibilityResults','options_','../../../helpers/accessibility-automation/helper','object','lMsUH','isBrowserstackInfra','error','isUndefined','then','browserStackLogLevel','getHttpAgent','935134XYiDSY','UizuH','465904CsQBGZ','safari.options','207NDxBSy','get','KPFKt','vTtxK','storeOptimalHubUrl','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','global','lnmtu','setLogLevel','originalBuilder','20Idegog','../../../helpers/globals','Modifying\x20webdriver\x20builder','quitCount_','requireSeleniumWebdriver','info','proxySettings'];a29_0x490a=function(){return _0x2ae60b;};return a29_0x490a();}function a29_0x48d7(_0x358735,_0x13facd){const _0x490a3=a29_0x490a();return a29_0x48d7=function(_0x48d7e8,_0x52f305){_0x48d7e8=_0x48d7e8-0x1d3;let _0x537bbd=_0x490a3[_0x48d7e8];return _0x537bbd;},a29_0x48d7(_0x358735,_0x13facd);}(function(_0x28c204,_0x5ea36f){const _0x22c463=a29_0x48d7,_0x27003a=_0x28c204();while(!![]){try{const _0x2b45a4=parseInt(_0x22c463(0x1d6))/0x1+parseInt(_0x22c463(0x240))/0x2*(parseInt(_0x22c463(0x1f7))/0x3)+-parseInt(_0x22c463(0x1e4))/0x4*(parseInt(_0x22c463(0x23f))/0x5)+-parseInt(_0x22c463(0x1ef))/0x6+parseInt(_0x22c463(0x208))/0x7+-parseInt(_0x22c463(0x1d8))/0x8*(-parseInt(_0x22c463(0x1da))/0x9)+-parseInt(_0x22c463(0x20f))/0xa;if(_0x2b45a4===_0x5ea36f)break;else _0x27003a['push'](_0x27003a['shift']());}catch(_0x241cf1){_0x27003a['push'](_0x27003a['shift']());}}}(a29_0x490a,0xbb72c));const logger=require(a29_0x32eafa(0x241))['winstonLogger'],helper=require(a29_0x32eafa(0x1fe)),constants=require(a29_0x32eafa(0x22e)),hubAllocator=require(a29_0x32eafa(0x226)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x32eafa(0x1fb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x32eafa(0x248)),globals=require(a29_0x32eafa(0x1e5)),{overrideExecute}=require(a29_0x32eafa(0x234)),modify=(_0x18211b,_0x74d939=null,_0x3430ba=![])=>{const _0xd1f528=a29_0x32eafa,_0x462fee={'OvuSA':function(_0xc5a071,_0x889449){return _0xc5a071!==_0x889449;},'EmNTw':_0xd1f528(0x21f),'UizuH':function(_0x3a58c1,_0x575a97){return _0x3a58c1!==_0x575a97;},'RKKhM':function(_0x21bdd4,_0xa69782){return _0x21bdd4+_0xa69782;},'rYrup':function(_0xb2bdc0,_0x28fc9a){return _0xb2bdc0+_0x28fc9a;},'SWCdA':_0xd1f528(0x1f6),'hmbQh':'/wd/hub','QsNoJ':'goog:chromeOptions','KPFKt':_0xd1f528(0x21a),'hVqpd':_0xd1f528(0x209),'nJPNj':'edgeOptions','vPaih':_0xd1f528(0x23b),'NIIpA':'firefoxOptions','vTtxK':_0xd1f528(0x1d9),'tWKcE':'se:ieOptions','PgqHI':'ieOptions','eNjUr':function(_0x4ef2a4,_0x4a166f){return _0x4ef2a4===_0x4a166f;},'ZUgdz':_0xd1f528(0x249),'iAsAp':'Setting\x20Browserstack\x20capabilities','lMsUH':_0xd1f528(0x214),'QCRGV':_0xd1f528(0x1df),'BVjmg':function(_0x3b0e78,_0x46b16c,_0xf98c3f){return _0x3b0e78(_0x46b16c,_0xf98c3f);},'HWICQ':function(_0x174d2a,_0x2e6e22,_0x5e2f71){return _0x174d2a(_0x2e6e22,_0x5e2f71);},'vbkmb':function(_0x18273b,_0x6c7b6f,_0x1bfe08){return _0x18273b(_0x6c7b6f,_0x1bfe08);},'nDUSi':function(_0x58eba8,_0x567d28,_0x4ff550){return _0x58eba8(_0x567d28,_0x4ff550);},'BGZSe':function(_0x28c198,_0x231fba){return _0x28c198(_0x231fba);},'AEMsl':_0xd1f528(0x243),'mZFLs':_0xd1f528(0x1ee),'dWlEd':function(_0x3e7697,_0x10f6dc,_0x2fb8bb){return _0x3e7697(_0x10f6dc,_0x2fb8bb);},'SlzRU':function(_0x27970c){return _0x27970c();},'lnmtu':_0xd1f528(0x231),'BUBpD':function(_0x19f7d0,_0x10923e){return _0x19f7d0(_0x10923e);},'njNLp':function(_0x2d4b31,_0xfee9a2){return _0x2d4b31(_0xfee9a2);},'yfuqq':_0xd1f528(0x221),'PZzNJ':_0xd1f528(0x1e6)},_0x287393=helper['requireHttpClient']();let _0x4c666f;try{_0x4c666f=helper[_0xd1f528(0x1e8)](),_0x4c666f[_0xd1f528(0x1e3)]&&(_0x4c666f[_0xd1f528(0x207)]=_0x4c666f[_0xd1f528(0x1e3)]);}catch(_0x5bc7bc){return;}if(helper[_0xd1f528(0x24b)]()){const _0x3dbaca={};_0x3dbaca[_0xd1f528(0x202)]=_0x18211b[_0xd1f528(0x1d4)],helper[_0xd1f528(0x1e2)](_0x3dbaca,new Map(),new Map()),logger[_0xd1f528(0x1e9)](_0x462fee['yfuqq']),logger[_0xd1f528(0x1fc)](_0x462fee[_0xd1f528(0x22c)]);}class _0x104388 extends _0x287393['HttpClient']{[_0xd1f528(0x21b)](_0x294592){const _0x559dc3=_0xd1f528;if(_0x462fee[_0x559dc3(0x220)](_0x294592[_0x559dc3(0x1ed)],_0x462fee[_0x559dc3(0x211)])&&_0x462fee[_0x559dc3(0x1d7)](global['newHubUrl'],''))try{global[_0x559dc3(0x21e)]=_0x462fee[_0x559dc3(0x232)](_0x462fee[_0x559dc3(0x227)](_0x462fee[_0x559dc3(0x1f5)],global[_0x559dc3(0x21e)]),_0x462fee[_0x559dc3(0x242)]),this[_0x559dc3(0x247)]=hubAllocator[_0x559dc3(0x1f1)](global[_0x559dc3(0x21e)]),logger[_0x559dc3(0x1fc)](_0x559dc3(0x239)+global[_0x559dc3(0x21e)]),global[_0x559dc3(0x21e)]='';}catch(_0x406096){logger[_0x559dc3(0x24c)](_0x406096);}return super[_0x559dc3(0x21b)](_0x294592);}}class _0x374179 extends _0x4c666f[_0xd1f528(0x207)]{[_0xd1f528(0x1f2)](){const _0x313724=_0xd1f528;return this[_0x313724(0x22d)]=helper[_0x313724(0x20d)](_0x18211b),logger[_0x313724(0x1fc)](_0x313724(0x22a)+this[_0x313724(0x22d)]),this;}[_0xd1f528(0x20e)](_0x39cf32){const _0x4bf395=_0xd1f528;let _0xed4b62={};for(const _0x36f3c7 in _0x39cf32){switch(_0x36f3c7){case _0x462fee[_0x4bf395(0x238)]:case _0x462fee[_0x4bf395(0x1dc)]:this[_0x4bf395(0x204)]&&(_0xed4b62=this[_0x4bf395(0x204)]['get'](this['chromeOptions_']['CAPABILITY_KEY'])||{},this[_0x4bf395(0x204)][_0x4bf395(0x206)](this[_0x4bf395(0x204)][_0x4bf395(0x20a)],helper[_0x4bf395(0x217)](_0xed4b62,_0x39cf32[_0x36f3c7])));break;case _0x462fee['hVqpd']:case _0x462fee[_0x4bf395(0x1f0)]:this[_0x4bf395(0x230)]&&(_0xed4b62=this[_0x4bf395(0x230)][_0x4bf395(0x1db)](this[_0x4bf395(0x230)][_0x4bf395(0x20a)])||{},this[_0x4bf395(0x230)][_0x4bf395(0x206)](this[_0x4bf395(0x230)][_0x4bf395(0x20a)],helper[_0x4bf395(0x217)](_0xed4b62,_0x39cf32[_0x36f3c7])));break;case _0x462fee[_0x4bf395(0x20b)]:case _0x462fee[_0x4bf395(0x245)]:this[_0x4bf395(0x22b)]&&(_0xed4b62=this['firefoxOptions_']['get'](this[_0x4bf395(0x22b)][_0x4bf395(0x20a)])||{},this[_0x4bf395(0x22b)][_0x4bf395(0x206)](this[_0x4bf395(0x22b)][_0x4bf395(0x20a)],helper[_0x4bf395(0x217)](_0xed4b62,_0x39cf32[_0x36f3c7])));break;case _0x462fee[_0x4bf395(0x1dd)]:this[_0x4bf395(0x235)]&&(_0xed4b62=this[_0x4bf395(0x235)][_0x4bf395(0x1db)](this[_0x4bf395(0x235)][_0x4bf395(0x20a)])||{},this[_0x4bf395(0x235)]['set'](this['safariOptions_'][_0x4bf395(0x20a)],helper[_0x4bf395(0x217)](_0xed4b62,_0x39cf32[_0x36f3c7])));break;case _0x462fee['tWKcE']:case _0x462fee[_0x4bf395(0x203)]:this[_0x4bf395(0x23c)]&&(_0xed4b62=this[_0x4bf395(0x23c)]['get'](this[_0x4bf395(0x23c)][_0x4bf395(0x20a)])||{},this[_0x4bf395(0x23c)][_0x4bf395(0x206)](this[_0x4bf395(0x23c)]['CAPABILITY_KEY'],helper[_0x4bf395(0x217)](_0xed4b62,_0x39cf32[_0x36f3c7])));break;}}}[_0xd1f528(0x1f4)](){const _0x4cefdf=_0xd1f528;return logger[_0x4cefdf(0x1fc)](_0x462fee[_0x4cefdf(0x20c)]),this[_0x4cefdf(0x20e)](_0x18211b[_0x4cefdf(0x236)]),Object['keys'](_0x18211b[_0x4cefdf(0x236)])[_0x4cefdf(0x205)](_0x1b1dc4=>{const _0x3eeea6=_0x4cefdf,_0x5b6af7=this[_0x3eeea6(0x1eb)][_0x3eeea6(0x1db)](_0x1b1dc4);_0x462fee['eNjUr'](typeof _0x5b6af7,_0x462fee[_0x3eeea6(0x216)])?this['capabilities_'][_0x3eeea6(0x206)](_0x1b1dc4,helper[_0x3eeea6(0x217)](_0x5b6af7,_0x18211b[_0x3eeea6(0x236)][_0x1b1dc4])):this[_0x3eeea6(0x1eb)][_0x3eeea6(0x206)](_0x1b1dc4,_0x18211b[_0x3eeea6(0x236)][_0x1b1dc4]);}),this;}['build'](){const _0x305610=_0xd1f528,_0x50afa7={'HwsBi':function(_0x460103,_0x198a3e,_0x10d090){const _0x490b2d=a29_0x48d7;return _0x462fee[_0x490b2d(0x210)](_0x460103,_0x198a3e,_0x10d090);},'NgujB':function(_0x32cf17,_0x9d79e5,_0x30c342){const _0x2eb287=a29_0x48d7;return _0x462fee[_0x2eb287(0x1fa)](_0x32cf17,_0x9d79e5,_0x30c342);},'CCvam':function(_0x3f796a,_0x1bc08f){const _0x3dd8e6=a29_0x48d7;return _0x462fee[_0x3dd8e6(0x200)](_0x3f796a,_0x1bc08f);}};if(helper[_0x305610(0x24b)]()){const _0x4a8a1f=_0x462fee['AEMsl']['split']('|');let _0x541690=0x0;while(!![]){switch(_0x4a8a1f[_0x541690++]){case'0':this[_0x305610(0x1f4)]();continue;case'1':if(helper[_0x305610(0x1ec)](_0x18211b[_0x305610(0x1ea)][_0x305610(0x233)]))this['agent_']=helper[_0x305610(0x1d5)](_0x18211b[_0x305610(0x1ea)]['proxyUrl']);else _0x18211b['proxySettings'][_0x305610(0x233)]&&(this[_0x305610(0x229)]=_0x18211b[_0x305610(0x1ea)][_0x305610(0x233)],logger[_0x305610(0x1fc)]('Proxy\x20set\x20to\x20'+this[_0x305610(0x229)]));continue;case'2':this[_0x305610(0x1f2)]();continue;case'3':globals[_0x305610(0x218)](_0x462fee[_0x305610(0x1fd)])&&(!_0x462fee[_0x305610(0x223)](setExtension,this,_0x18211b)&&globals[_0x305610(0x23a)](_0x462fee[_0x305610(0x1fd)],![]));continue;case'4':_0x462fee[_0x305610(0x1ff)](isAccessibilityAutomationSession)&&_0x462fee[_0x305610(0x200)](setAccessibilityCapabilities,_0x18211b);continue;case'5':logger['debug'](_0x462fee[_0x305610(0x1e1)]);continue;}break;}}const _0x30bd7f=super[_0x305610(0x21d)]();return _0x30bd7f['session_'][_0x305610(0x1d3)](_0x138310=>{const _0x28fd8b=_0x305610;try{const _0x4617e9=_0x138310[_0x28fd8b(0x224)][_0x28fd8b(0x1db)](_0x462fee[_0x28fd8b(0x24a)]);_0x4617e9?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x4617e9),hubAllocator[_0x28fd8b(0x1f3)](_0x4617e9),helper[_0x28fd8b(0x1de)](_0x4617e9)):logger['debug'](_0x462fee[_0x28fd8b(0x1f9)]);}catch(_0x134ebc){logger[_0x28fd8b(0x1fc)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x134ebc);}}),_0x30bd7f[_0x305610(0x1e7)]=0x0,_0x30bd7f[_0x305610(0x1d3)]&&_0x30bd7f['then'](_0x2320d4=>{const _0x5bcfbe=_0x305610,_0x468588={'DraEH':function(_0x2fd942,_0xd36a08,_0x5f2172){const _0x55668e=a29_0x48d7;return _0x50afa7[_0x55668e(0x23d)](_0x2fd942,_0xd36a08,_0x5f2172);}};_0x50afa7['NgujB'](overrideQuit,_0x2320d4,_0x30bd7f),_0x50afa7[_0x5bcfbe(0x212)](overrideTakeScreenshot,_0x2320d4),helper[_0x5bcfbe(0x244)](_0x2320d4,_0x18211b),_0x50afa7[_0x5bcfbe(0x228)](overrideExecute,_0x2320d4,_0x18211b),_0x2320d4['getAccessibilityResultsSummary']=async()=>{const _0x2dedf8=_0x5bcfbe;return await _0x468588[_0x2dedf8(0x219)](getAccessibilityResultsSummary,_0x2320d4,global);},_0x2320d4[_0x5bcfbe(0x246)]=async()=>{const _0x27f276=_0x5bcfbe;return await _0x50afa7[_0x27f276(0x23d)](getAccessibilityResults,_0x2320d4,global);};}),_0x30bd7f[_0x305610(0x201)]=async()=>{const _0x4ac594=_0x305610;return await _0x462fee[_0x4ac594(0x22f)](getAccessibilityResultsSummary,_0x30bd7f,global);},_0x30bd7f['getAccessibilityResults']=async()=>{const _0x1825db=_0x305610;return await _0x462fee[_0x1825db(0x23e)](getAccessibilityResults,_0x30bd7f,global);},_0x462fee[_0x305610(0x213)](overrideTakeScreenshot,_0x30bd7f),_0x462fee[_0x305610(0x237)](overrideQuit,_0x30bd7f),helper[_0x305610(0x244)](_0x30bd7f,_0x18211b),_0x462fee[_0x305610(0x1fa)](overrideExecute,_0x30bd7f,_0x18211b),helper[_0x305610(0x24d)](global[_0x305610(0x21c)])&&(global['__driversArray']=[]),helper['isUndefined'](global['__drivers'])&&(global[_0x305610(0x1f8)]=[]),global['__driversArray'][_0x305610(0x222)](_0x30bd7f),global['__driver']=_0x30bd7f,_0x462fee['OvuSA'](global['__drivers'],undefined)&&global[_0x305610(0x1f8)][_0x305610(0x222)](_0x30bd7f),_0x74d939&&helper[_0x305610(0x24d)](_0x74d939[_0x305610(0x1e0)][_0x305610(0x21c)])&&(_0x74d939[_0x305610(0x1e0)][_0x305610(0x21c)]=[]),_0x74d939&&_0x462fee[_0x305610(0x1d7)](_0x74d939[_0x305610(0x1e0)][_0x305610(0x1f8)],undefined)&&(_0x74d939[_0x305610(0x1e0)][_0x305610(0x1f8)][_0x305610(0x222)](_0x30bd7f),_0x74d939[_0x305610(0x1e0)][_0x305610(0x21c)][_0x305610(0x222)](_0x30bd7f)),_0x30bd7f;}}return _0x4c666f['originalBuilder']=_0x4c666f[_0xd1f528(0x207)],_0x4c666f[_0xd1f528(0x207)]=_0x374179,_0x287393[_0xd1f528(0x215)]=_0x104388,_0x4c666f;};module[a29_0x32eafa(0x225)]['browserstackAgentObservability']=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a30_0x900a7f=a30_0x55c6;(function(_0x1f45d0,_0x1778c2){const _0x117bdf=a30_0x55c6,_0xee24e2=_0x1f45d0();while(!![]){try{const _0xcce7cd=parseInt(_0x117bdf(0x139))/0x1*(-parseInt(_0x117bdf(0x135))/0x2)+parseInt(_0x117bdf(0x133))/0x3*(parseInt(_0x117bdf(0x13c))/0x4)+parseInt(_0x117bdf(0x136))/0x5+-parseInt(_0x117bdf(0x141))/0x6+-parseInt(_0x117bdf(0x134))/0x7+parseInt(_0x117bdf(0x13a))/0x8*(parseInt(_0x117bdf(0x13f))/0x9)+parseInt(_0x117bdf(0x130))/0xa*(-parseInt(_0x117bdf(0x131))/0xb);if(_0xcce7cd===_0x1778c2)break;else _0xee24e2['push'](_0xee24e2['shift']());}catch(_0x50c838){_0xee24e2['push'](_0xee24e2['shift']());}}}(a30_0x2de7,0xce014));const requestSpy=require(a30_0x900a7f(0x132)),constants=require(a30_0x900a7f(0x140)),{addRequestSpy}=require(a30_0x900a7f(0x137));function a30_0x55c6(_0x244915,_0x4a965d){const _0x2de7b9=a30_0x2de7();return a30_0x55c6=function(_0x55c6ea,_0x1981e5){_0x55c6ea=_0x55c6ea-0x130;let _0x3f915d=_0x2de7b9[_0x55c6ea];return _0x3f915d;},a30_0x55c6(_0x244915,_0x4a965d);}exports[a30_0x900a7f(0x13d)]={'beforeAll'(){const _0x5eb563=a30_0x900a7f,_0x53216c={'bgmxc':function(_0x355c38){return _0x355c38();}},_0x11973b='browserstack internal helper hook';_0x53216c[_0x5eb563(0x13e)](addRequestSpy);},'afterAll'(){const _0x260338=a30_0x900a7f,_0x533e82='browserstack internal helper hook';this[_0x260338(0x13b)](0xea60),requestSpy[_0x260338(0x138)]();}};function a30_0x2de7(){const _0x3b1d92=['7223062IiTLOR','293198zDeErD','5114460PaWcMt','../../../helpers/test-observability/utils','restore','8HKcvNb','184WIWLZR','timeout','44336KMsjus','mochaHooks','bgmxc','647712rRwIki','../../../bin/utils/constants','5665224gEIGdI','561690PwKhGO','66pdbFUh','../../../helpers/request-spy','447NwOrua'];a30_0x2de7=function(){return _0x3b1d92;};return a30_0x2de7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x5b26(_0x533ba7,_0xb7d19d){const _0x537d4b=a31_0x537d();return a31_0x5b26=function(_0x5b26eb,_0x3b13b1){_0x5b26eb=_0x5b26eb-0x14e;let _0x71185=_0x537d4b[_0x5b26eb];return _0x71185;},a31_0x5b26(_0x533ba7,_0xb7d19d);}const a31_0x28c3da=a31_0x5b26;(function(_0x347cb3,_0x2dbc76){const _0x4cfe1a=a31_0x5b26,_0x1694ce=_0x347cb3();while(!![]){try{const _0x5ebd59=-parseInt(_0x4cfe1a(0x171))/0x1*(parseInt(_0x4cfe1a(0x163))/0x2)+-parseInt(_0x4cfe1a(0x19c))/0x3*(-parseInt(_0x4cfe1a(0x17a))/0x4)+parseInt(_0x4cfe1a(0x15c))/0x5+parseInt(_0x4cfe1a(0x154))/0x6+-parseInt(_0x4cfe1a(0x197))/0x7*(-parseInt(_0x4cfe1a(0x19d))/0x8)+parseInt(_0x4cfe1a(0x16d))/0x9+-parseInt(_0x4cfe1a(0x15e))/0xa*(parseInt(_0x4cfe1a(0x1ae))/0xb);if(_0x5ebd59===_0x2dbc76)break;else _0x1694ce['push'](_0x1694ce['shift']());}catch(_0xbd37df){_0x1694ce['push'](_0x1694ce['shift']());}}}(a31_0x537d,0xf0e95));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x28c3da(0x178)),logPatcher=require(a31_0x28c3da(0x175)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x28c3da(0x15a)),{consoleHolder}=require(a31_0x28c3da(0x18e)),{getPlatformVersion}=require(a31_0x28c3da(0x184)),{shouldProcessEventForTesthub}=require(a31_0x28c3da(0x19f)),{isFunction}=require(a31_0x28c3da(0x170)),{patchConsoleLogger}=require(a31_0x28c3da(0x15a));function a31_0x537d(){const _0x378ef7=['hook:','InJVG','slice','getTestEnv','suites','forEach','../../../helpers/helper','bs:addPlatformDetails:','Hafnz','hookAnalyticsId','YpPbg','push','fDGGJ','filter','string','js-','../../../helpers/test-observability/constants','MaRKj','getPlatform','unknown_grid','emit','ZKkvq','ufbYi','hook','EGpcY','265895UReaAP','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','concat','reduce','xwDkO','2784eePdCt','328DNbxCa','ZkSYb','../../../helpers/testhub/utils','indexOf','map_','gMeLT','QFxKy','getSession','PSNzq','fromEntries','wRHVH','reAzX','QrsHF','mapTestHooks','markedStatus','getBrowserName','kEBjk','1175713RGpRFX','BtReq','toJSON','DkTII','sTDmj','tests','failed','TEST_PLATFORM','11809776EZsord','state','nedsD','getCapabilities','generic','sEhlT','../../../helpers/test-observability/utils','substring','6298470EPZphV','_beforeEach','490XZONPx','getBrowserVersion','type','split','UKsmK','371876mZHTwK','parent','platformVersion','CpjTk','pending','pid','wBtmN','_afterEach','getHookSkippedTests','lgZMn','13569075LuQQvU','tXQhs','_beforeAll','lodash','1LcTKgr','OseCC','wjxKF','browserstack','../../utils/logPatcher','FmoxE','XTDdv','../../../../package.json','_afterAll','504gaNTQV','getHooksForTest','__cloud_provider___','lqLhk'];a31_0x537d=function(){return _0x378ef7;};return a31_0x537d();}patchConsoleLogger(),exports[a31_0x28c3da(0x181)]=()=>{const _0x51a17b=a31_0x28c3da,_0x1077c1={'FmoxE':_0x51a17b(0x158),'xwDkO':function(_0x56f659){return _0x56f659();}};return{'ci':_0x1077c1[_0x51a17b(0x176)],'key':_0x1077c1[_0x51a17b(0x19b)](uuidv4),'version':version,'collector':_0x51a17b(0x18d)+name};},exports['getHookDetails']=_0xb1106c=>{const _0x2611c8=a31_0x28c3da,_0x4e2223={};_0x4e2223[_0x2611c8(0x1a9)]=function(_0x2effe1,_0xe80502){return _0x2effe1!==_0xe80502;},_0x4e2223[_0x2611c8(0x16e)]=_0x2611c8(0x18c),_0x4e2223[_0x2611c8(0x1a5)]=function(_0x20b0f4,_0x555dbb){return _0x20b0f4!==_0x555dbb;},_0x4e2223[_0x2611c8(0x19e)]=_0x2611c8(0x17e),_0x4e2223[_0x2611c8(0x14f)]=_0x2611c8(0x195);const _0x44b8e5=_0x4e2223;if(!_0xb1106c||_0x44b8e5[_0x2611c8(0x1a9)](typeof _0xb1106c,_0x44b8e5['tXQhs']))return[null,null];if(_0x44b8e5['PSNzq'](_0xb1106c[_0x2611c8(0x1a0)](_0x44b8e5[_0x2611c8(0x19e)]),-0x1)){const _0x2fbf1a=_0xb1106c[_0x2611c8(0x161)](_0x44b8e5[_0x2611c8(0x19e)]);return[_0x2fbf1a[0x0][_0x2611c8(0x180)](0x0,-0x1)['split']('\x22')[0x1],_0x2fbf1a[0x1][_0x2611c8(0x15b)](0x1)];}else{if(_0x44b8e5[_0x2611c8(0x1a9)](_0xb1106c[_0x2611c8(0x1a0)](_0x44b8e5[_0x2611c8(0x14f)]),-0x1)){const _0x190d26=_0xb1106c[_0x2611c8(0x161)](_0x44b8e5[_0x2611c8(0x14f)]);return[_0x190d26[0x0][_0x2611c8(0x180)](0x0,-0x1)['split']('\x22')[0x1],_0xb1106c];}}return[null,null];},exports[a31_0x28c3da(0x17b)]=_0x9dceee=>{const _0x3cac9a=a31_0x28c3da,_0x165b8d={'lgZMn':function(_0x1b98d8,_0x4ca1c0){return _0x1b98d8(_0x4ca1c0);},'InJVG':_0x3cac9a(0x16f),'nFYZr':_0x3cac9a(0x179),'gMeLT':_0x3cac9a(0x15d),'UKsmK':'_afterEach'};if(!_0x9dceee||!_0x9dceee[_0x3cac9a(0x164)])return[];const _0x3216ab=[];return[_0x165b8d[_0x3cac9a(0x17f)],_0x165b8d['nFYZr'],_0x165b8d[_0x3cac9a(0x1a2)],_0x165b8d[_0x3cac9a(0x162)]][_0x3cac9a(0x183)](_0x23d10a=>{const _0x6a33b7=_0x3cac9a,_0x3e0c4d=_0x9dceee['parent'][_0x23d10a]||[];_0x3e0c4d[_0x6a33b7(0x183)](_0x17bf1c=>{const _0x5aef3e=_0x6a33b7;_0x17bf1c[_0x5aef3e(0x187)]&&!_0x165b8d[_0x5aef3e(0x16c)](isInternalHook,_0x17bf1c['fn'])&&_0x3216ab[_0x5aef3e(0x189)](_0x17bf1c[_0x5aef3e(0x187)]);});}),[..._0x3216ab,...exports[_0x3cac9a(0x17b)](_0x9dceee[_0x3cac9a(0x164)])];},exports[a31_0x28c3da(0x1aa)]=_0x21da8f=>{const _0x5d4e7a=a31_0x28c3da,_0x3f3b09={'BtReq':function(_0x16cd43){return _0x16cd43();},'YpPbg':function(_0x3e524b,_0x3c037c){return _0x3e524b===_0x3c037c;},'sEhlT':_0x5d4e7a(0x16a),'yNAGV':function(_0x141418){return _0x141418();},'XTDdv':_0x5d4e7a(0x16f),'IDHfz':_0x5d4e7a(0x179),'OseCC':_0x5d4e7a(0x15d)};if(!_0x21da8f||!_0x21da8f[_0x5d4e7a(0x164)])return;[_0x3f3b09[_0x5d4e7a(0x177)],_0x3f3b09['IDHfz'],_0x3f3b09[_0x5d4e7a(0x172)],_0x3f3b09[_0x5d4e7a(0x159)]]['forEach'](_0x84aa67=>{const _0x50fa95=_0x5d4e7a,_0x1472dc={'sTDmj':function(_0x2f7a25){const _0x47a429=a31_0x5b26;return _0x3f3b09[_0x47a429(0x1af)](_0x2f7a25);},'bMaXD':function(_0x56841a,_0x1dfdf9){const _0x78bf6=a31_0x5b26;return _0x3f3b09[_0x78bf6(0x188)](_0x56841a,_0x1dfdf9);},'QFxKy':_0x3f3b09[_0x50fa95(0x159)],'nedsD':function(_0x1ffdec){return _0x3f3b09['yNAGV'](_0x1ffdec);}},_0x4fe5a2=_0x21da8f[_0x50fa95(0x164)][_0x84aa67]||[];_0x4fe5a2[_0x50fa95(0x183)](_0x11f272=>{const _0x3bc300=_0x50fa95;if(!_0x11f272[_0x3bc300(0x187)])_0x11f272[_0x3bc300(0x187)]=_0x1472dc[_0x3bc300(0x150)](uuidv4);else _0x11f272[_0x3bc300(0x1ab)]&&_0x1472dc['bMaXD'](_0x84aa67,_0x1472dc[_0x3bc300(0x1a3)])&&(_0x11f272[_0x3bc300(0x187)]=_0x1472dc[_0x3bc300(0x156)](uuidv4),delete _0x11f272[_0x3bc300(0x1ab)]);});}),exports['mapTestHooks'](_0x21da8f[_0x5d4e7a(0x164)]);},exports['sendPlatformDetails']=async(_0x4bef84,_0x4f6d8d)=>{const _0x10eaba=a31_0x28c3da,_0x7585f5={'kEBjk':function(_0x57bce9){return _0x57bce9();},'lqLhk':function(_0x597d1e,_0x276ed8){return _0x597d1e(_0x276ed8);},'ZKkvq':_0x10eaba(0x165),'fDGGJ':function(_0x5da3c6,_0x259f0c){return _0x5da3c6(_0x259f0c);},'ufbYi':function(_0x439032,_0x18c15b){return _0x439032===_0x18c15b;},'CpjTk':_0x10eaba(0x174),'MaRKj':_0x10eaba(0x191),'Hafnz':_0x10eaba(0x153)};try{if(!_0x7585f5[_0x10eaba(0x1ad)](shouldProcessEventForTesthub))return;const _0x576411=await _0x4bef84[_0x10eaba(0x157)](),_0x3d6c2f=await _0x4bef84[_0x10eaba(0x1a4)](),_0x283902={},_0x1181eb=Object[_0x10eaba(0x1a6)](_0x3d6c2f[_0x10eaba(0x157)]()[_0x10eaba(0x1a1)]),_0x52246b={'product':_0x7585f5[_0x10eaba(0x17d)](getObservabilityLinkedProductName,_0x1181eb),'capabilities':_0x1181eb,'platform':_0x576411[_0x10eaba(0x190)](),'platform_version':_0x576411['get'](_0x7585f5[_0x10eaba(0x193)])?_0x576411['get'](_0x7585f5[_0x10eaba(0x193)]):_0x7585f5[_0x10eaba(0x18a)](getPlatformVersion,_0x7585f5[_0x10eaba(0x194)](global[_0x10eaba(0x17c)],_0x7585f5[_0x10eaba(0x166)])),'browser':_0x576411[_0x10eaba(0x1ac)](),'browser_version':_0x576411[_0x10eaba(0x15f)](),'session_id':_0x3d6c2f[_0x10eaba(0x14e)]()};global[_0x10eaba(0x17c)]?_0x283902[global[_0x10eaba(0x17c)]]=_0x52246b:_0x283902[_0x7585f5[_0x10eaba(0x18f)]]=_0x52246b,process[_0x10eaba(0x192)](_0x10eaba(0x185)+process[_0x10eaba(0x168)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x7585f5[_0x10eaba(0x186)],'http_response':_0x283902,'uuid':_0x4f6d8d});}catch(_0x3824e4){_0x7585f5[_0x10eaba(0x18a)](debug,_0x10eaba(0x198)+_0x3824e4);}},exports[a31_0x28c3da(0x16b)]=_0x23b011=>{const _0x199364=a31_0x28c3da,_0x5edf48={};_0x5edf48[_0x199364(0x1a7)]=function(_0x1d5464,_0x386cc4){return _0x1d5464!==_0x386cc4;},_0x5edf48['Lbwqo']='hook',_0x5edf48[_0x199364(0x196)]=function(_0x40b883,_0x4ea876){return _0x40b883!==_0x4ea876;},_0x5edf48['wBtmN']='passed',_0x5edf48[_0x199364(0x173)]=function(_0x2800f3,_0x45dfff){return _0x2800f3!==_0x45dfff;},_0x5edf48['reAzX']=_0x199364(0x152);const _0x26590a=_0x5edf48,_0x4ab4e5=_0x23b011[_0x199364(0x182)][_0x199364(0x19a)]((_0x21b111,_0x4010c7)=>{const _0x4c9fe3=_0x199364,_0x307e0a=exports[_0x4c9fe3(0x16b)](_0x4010c7);return _0x307e0a&&(_0x21b111=_0x21b111[_0x4c9fe3(0x199)](_0x307e0a)),_0x21b111;},[]),_0x175f90=_0x23b011[_0x199364(0x151)][_0x199364(0x18b)](_0x40113d=>{const _0x6ce6a6=_0x199364,_0x24e8be=_0x26590a['wRHVH'](_0x40113d[_0x6ce6a6(0x160)],_0x26590a['Lbwqo'])&&!_0x40113d[_0x6ce6a6(0x1ab)]&&_0x26590a[_0x6ce6a6(0x196)](_0x40113d[_0x6ce6a6(0x155)],_0x26590a[_0x6ce6a6(0x169)])&&_0x26590a[_0x6ce6a6(0x173)](_0x40113d[_0x6ce6a6(0x155)],_0x26590a[_0x6ce6a6(0x1a8)])&&!_0x40113d[_0x6ce6a6(0x167)];return _0x24e8be;});return _0x175f90[_0x199364(0x199)](_0x4ab4e5);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x1942db=a32_0xe27a;function a32_0xe27a(_0x42e29f,_0x1fa066){const _0x3a1102=a32_0x3a11();return a32_0xe27a=function(_0xe27a7c,_0x52ca03){_0xe27a7c=_0xe27a7c-0x110;let _0xae5aad=_0x3a1102[_0xe27a7c];return _0xae5aad;},a32_0xe27a(_0x42e29f,_0x1fa066);}function a32_0x3a11(){const _0x9dbaf3=['jDjES','LHpUi','start','protocol','euZMp','accessibilityScanStarted','dUDWP','mZKCl','Performing\x20scan\x20before\x20saving\x20results','MNIXS','TPihe','afterTest','TUkec','Failed:\x20','../../helpers/percy/utils','winstonLogger','Qdmhl','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','quitCount_','saveTestResults','yNMxp','shouldScanTestForAccessibility','SAVE_RESULTS','index','../../helpers/logger','shift','dUuFq','SYNC','gATJl','sessionName','push','message','getGlobal','measureWrapper','info','error','MKZJb','nuhaD','isAccessibilityPlatform','thBuildUuid','rCKha','browserstackTestName','end','performScan','IQhUl',',\x22level\x22:\x20\x22','initQuit','executeScript','./test-observability/mochaUtils','\x20-\x20','format','pVApw','currentTest','PAbwL','thTestRunUuid','\x20|\x20','percy','bstackA11yShouldScan','RgAys','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','PKtiS','HyrVt','vpWKB','afterAll','ICceZ','finally','testcase','executeAsyncScript','6670125PegdWk','__platformCaps','HYfJv','uvNDZ','bQBap','Passed','xVsCV','command','timeout','rFpwe','BROWSERSTACK_TESTHUB_UUID','XkyeD','../../helpers/accessibility-automation/scripts','ENV_VAR','../../helpers/globals','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','eWAJc','__error_messages__','.\x20Error\x20:','passed','debug','BROWSERSTACK_TESTHUB_JWT','FFvIe','rNDVe','PERFORM_SCAN','length','xdYtC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','orlvu','err','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','beforeEach','SESSION_STATUS','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','fZLOC','RvLvt','EkHGI','tCyGE','testAnalyticsId','uAneo','appium:app','../../helpers/performance/performance-tester','__drivers','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','zgSlf','__skipSessionName','browserstackSessionName','session_','state','__sessionFailed','rYrmV','driverCleanup','then','join','capabilities','25536049CACYZX','2400094LNYvJi','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','titlePath','5684416lJYflN','afterEach','sWcup','142545AYZKgp','vPxxd','DQXgY','setGlobal','VjJyh','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_HOOK','DCdsB','1366097WyMTFx','312540qrOEms','SESSION_NAME','app','PLAXL','LQRXY','irNpt','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','stringify','rRsvX','../../helpers/testhub/utils'];a32_0x3a11=function(){return _0x9dbaf3;};return a32_0x3a11();}(function(_0x3981de,_0x212fc4){const _0x3b89af=a32_0xe27a,_0x14f52d=_0x3981de();while(!![]){try{const _0x5eeaf8=-parseInt(_0x3b89af(0x11b))/0x1+parseInt(_0x3b89af(0x1a3))/0x2+-parseInt(_0x3b89af(0x113))/0x3+-parseInt(_0x3b89af(0x110))/0x4+-parseInt(_0x3b89af(0x16a))/0x5+parseInt(_0x3b89af(0x11c))/0x6+parseInt(_0x3b89af(0x1a2))/0x7;if(_0x5eeaf8===_0x212fc4)break;else _0x14f52d['push'](_0x14f52d['shift']());}catch(_0x538988){_0x14f52d['push'](_0x14f52d['shift']());}}}(a32_0x3a11,0xb290b));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x1942db(0x134)),{sendPlatformDetails}=require(a32_0x1942db(0x156)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x1942db(0x194)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x1942db(0x176)),globals=require(a32_0x1942db(0x178)),logger=require(a32_0x1942db(0x13e))[a32_0x1942db(0x135)],{shouldProcessEventForTesthub}=require(a32_0x1942db(0x125)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0x29a0b6=a32_0x1942db,_0x437374={'SHTah':function(_0x5ca5a5,_0x591a5f,_0x356ac6,_0x1a1cf6){return _0x5ca5a5(_0x591a5f,_0x356ac6,_0x1a1cf6);},'bQBap':'failed','zgSlf':_0x29a0b6(0x15d),'FFvIe':function(_0x1c6a47,_0x32d870,_0x209214){return _0x1c6a47(_0x32d870,_0x209214);},'rRsvX':_0x29a0b6(0x17d),'eIiYC':function(_0x2ad263){return _0x2ad263();},'BDSbn':_0x29a0b6(0x13d),'yNMxp':'beforeAll'};PerformanceTester['startMonitoring']();const _0x41634f='browserstack internal helper hook';PerformanceTester[_0x29a0b6(0x147)](PerformanceSdkEvents[_0x29a0b6(0x119)],()=>{const _0x304c8d=_0x29a0b6;global[_0x304c8d(0x17b)]=[],global['__sessionFailed']=![],global[_0x304c8d(0x19e)]=async()=>{const _0x32a222=_0x304c8d;let _0x1405c1=![];try{await global[_0x32a222(0x195)][0x0][_0x32a222(0x19a)],_0x1405c1=!![],global[_0x32a222(0x19c)]?await _0x437374['SHTah'](markSessionStatus,global['__drivers'][0x0],_0x437374[_0x32a222(0x16e)],global[_0x32a222(0x17b)][_0x32a222(0x1a0)](_0x437374[_0x32a222(0x197)])):await _0x437374[_0x32a222(0x180)](markSessionStatus,global[_0x32a222(0x195)][0x0],_0x437374[_0x32a222(0x124)]);}catch(_0x5850b4){logger[_0x32a222(0x17e)](_0x32a222(0x122)+_0x5850b4);}global[_0x32a222(0x17b)]=[],global[_0x32a222(0x19c)]=![];if(_0x1405c1)try{try{_0x437374['eIiYC'](shouldProcessEventForTesthub)&&(global[_0x32a222(0x195)][0x0]&&await _0x437374['FFvIe'](sendPlatformDetails,global[_0x32a222(0x195)][0x0],this['currentTest']?this[_0x32a222(0x15a)][_0x32a222(0x191)]:null));}catch(_0x35b1e8){logger['debug']('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x35b1e8);}await global['__drivers'][0x0][_0x32a222(0x154)]();}catch(_0x7b5182){logger[_0x32a222(0x17e)](_0x32a222(0x188)+_0x7b5182);}};},{'platform':_0x437374[_0x29a0b6(0x180)](nestedKeyValue,global['__platformCaps'],[_0x437374['BDSbn']]),'hookType':_0x437374[_0x29a0b6(0x13a)]})();},'beforeEach'(_0x333370){const _0x5de5ba=a32_0x1942db,_0x48bb91={'JXNcv':function(_0x1b964e,_0x29dc93){return _0x1b964e>_0x29dc93;},'gBCWZ':function(_0x22285e,_0x57559f){return _0x22285e>_0x57559f;},'RgAys':'\x20-\x20','mZKCl':function(_0x5f1540,_0x4003ef,_0x5053fb){return _0x5f1540(_0x4003ef,_0x5053fb);},'vpWKB':'bstackA11yShouldScan','irNpt':function(_0x3ea7a1){return _0x3ea7a1();},'XkyeD':function(_0x166fc6,_0x1393b5){return _0x166fc6>_0x1393b5;},'PKtiS':_0x5de5ba(0x14c),'ekQSS':function(_0x3df63b,_0x433342){return _0x3df63b===_0x433342;},'LHpUi':'http:','dUuFq':function(_0x324103,_0x46c7f8){return _0x324103===_0x46c7f8;},'HYfJv':'https:','GETol':_0x5de5ba(0x189),'uvNDZ':'Automate\x20test\x20case\x20execution\x20has\x20started.','xivEb':function(_0x2cfd69){return _0x2cfd69();},'xdYtC':_0x5de5ba(0x14f),'QHEZf':_0x5de5ba(0x13d),'rCKha':_0x5de5ba(0x18a)};globals[_0x5de5ba(0x116)](_0x48bb91[_0x5de5ba(0x184)],this['currentTest'][_0x5de5ba(0x1a5)]()['join'](_0x48bb91[_0x5de5ba(0x160)])),PerformanceTester[_0x5de5ba(0x147)](PerformanceSdkEvents[_0x5de5ba(0x119)],()=>{const _0x4adeef=_0x5de5ba,_0xcf7e57='browserstack internal helper hook';new Promise(async _0x3d0bec=>{const _0xceb58a=a32_0xe27a;let _0xb3c939=!![];try{_0x48bb91['JXNcv'](global[_0xceb58a(0x195)][_0xceb58a(0x183)],0x1)&&(await global[_0xceb58a(0x19e)](),global[_0xceb58a(0x195)][_0xceb58a(0x13f)]()),_0x48bb91['gBCWZ'](global[_0xceb58a(0x195)][0x0]['quitCount_'],0x0)&&(_0xb3c939=![],await global[_0xceb58a(0x19e)]());}catch(_0x3d3710){logger[_0xceb58a(0x17e)](_0xceb58a(0x188)+_0x3d3710);}try{Array['isArray'](global['__drivers'])&&global[_0xceb58a(0x195)][0x0]&&(global[_0xceb58a(0x195)][0x0][_0xceb58a(0x199)]=this['currentTest'][_0xceb58a(0x1a5)]()['join'](_0x48bb91[_0xceb58a(0x160)])),global[_0xceb58a(0x199)]=this[_0xceb58a(0x15a)][_0xceb58a(0x1a5)]()[_0xceb58a(0x1a0)](_0x48bb91['RgAys']);}catch(_0x2148ac){logger[_0xceb58a(0x17e)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x2148ac);}this[_0xceb58a(0x15a)][_0xceb58a(0x13b)]=_0x48bb91['mZKCl'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]),globals['setGlobal'](_0x48bb91[_0xceb58a(0x164)],this[_0xceb58a(0x15a)][_0xceb58a(0x13b)]),this['currentTest'][_0xceb58a(0x12b)]=!![];if(_0x48bb91[_0xceb58a(0x121)](isAccessibilityAutomationSession)&&_0xb3c939&&Array['isArray'](global[_0xceb58a(0x195)])&&_0x48bb91[_0xceb58a(0x175)](global[_0xceb58a(0x195)][_0xceb58a(0x183)],0x0)&&globals['getGlobal'](_0x48bb91[_0xceb58a(0x162)]))try{const _0x526923=await global[_0xceb58a(0x195)][0x0]['session_'];if(_0x526923){let _0x1d0b26=!![];const _0x49aa2d=await global[_0xceb58a(0x195)][0x0]['getCurrentUrl']();let _0x37f2d3;try{_0x37f2d3=new URL(_0x49aa2d);}catch(_0x411065){_0x1d0b26=![];}_0x1d0b26=_0x48bb91['ekQSS'](_0x37f2d3[_0xceb58a(0x129)],_0x48bb91[_0xceb58a(0x127)])||_0x48bb91[_0xceb58a(0x140)](_0x37f2d3[_0xceb58a(0x129)],_0x48bb91[_0xceb58a(0x16c)]),_0x1d0b26&&(this['currentTest'][_0xceb58a(0x13b)]&&logger[_0xceb58a(0x148)](_0x48bb91['GETol'])),this[_0xceb58a(0x15a)][_0xceb58a(0x12b)]=this['currentTest'][_0xceb58a(0x13b)],this[_0xceb58a(0x15a)]['shouldScanTestForAccessibility']&&logger[_0xceb58a(0x148)](_0x48bb91[_0xceb58a(0x16d)]);}}catch(_0x298f55){logger[_0xceb58a(0x149)](_0xceb58a(0x179)+util[_0xceb58a(0x158)](_0x298f55));}_0x48bb91[_0xceb58a(0x121)](_0x3d0bec);})[_0x4adeef(0x19f)](()=>{_0x48bb91['xivEb'](_0x333370);});},{'platform':_0x48bb91[_0x5de5ba(0x12d)](nestedKeyValue,global[_0x5de5ba(0x16b)],[_0x48bb91['QHEZf']]),'hookType':_0x48bb91[_0x5de5ba(0x14e)]})();},'afterEach'(_0x36ec65){const _0x39dac3=a32_0x1942db,_0x487b36={'OkLik':function(_0xe5b0b3,_0x9ef076){return _0xe5b0b3!==_0x9ef076;},'YgYhG':_0x39dac3(0x17d),'MKZJb':function(_0x433d41,_0x372c90,_0xccddc5){return _0x433d41(_0x372c90,_0xccddc5);},'TUkec':function(_0x48c65d,_0x2e24c3){return _0x48c65d+_0x2e24c3;},'orlvu':_0x39dac3(0x133),'ICceZ':_0x39dac3(0x149),'MNIXS':_0x39dac3(0x16f),'lurif':_0x39dac3(0x148),'nuhaD':function(_0x42cfb6,_0x551ec6){return _0x42cfb6>_0x551ec6;},'dUDWP':function(_0x522824,_0x2577f0){return _0x522824===_0x2577f0;},'sWcup':_0x39dac3(0x168),'pVApw':function(_0x10661c,_0x4ff9b0){return _0x10661c>_0x4ff9b0;},'IQhUl':_0x39dac3(0x193),'rYrmV':function(_0x46eb8b,_0x3e2040,_0x32e27f,_0x23a649){return _0x46eb8b(_0x3e2040,_0x32e27f,_0x23a649);},'tCyGE':_0x39dac3(0x14c),'rNDVe':_0x39dac3(0x15f),'jcooE':_0x39dac3(0x1a4),'jDjES':_0x39dac3(0x12e),'EkHGI':_0x39dac3(0x131),'ncFdc':_0x39dac3(0x185),'gyYer':function(_0x4ed4d7){return _0x4ed4d7();},'DCdsB':function(_0x551c37,_0x2c903c,_0x49a2f7){return _0x551c37(_0x2c903c,_0x49a2f7);},'rmLsR':function(_0x41910f){return _0x41910f();},'rFpwe':_0x39dac3(0x17e),'gATJl':function(_0x1a2485,_0x254004){return _0x1a2485>_0x254004;},'Qdmhl':function(_0x2fc663){return _0x2fc663();},'veIOS':function(_0x3c63b2){return _0x3c63b2();},'LQRXY':_0x39dac3(0x157),'PAbwL':function(_0x29f003,_0x410360,_0x11a203){return _0x29f003(_0x410360,_0x11a203);},'uAneo':'index','PLAXL':_0x39dac3(0x111)},_0x52267b='browserstack internal helper hook';this['timeout'](0xfde8),global[_0x39dac3(0x143)]=this[_0x39dac3(0x15a)][_0x39dac3(0x1a5)]()[_0x39dac3(0x1a0)](_0x487b36[_0x39dac3(0x120)]),PerformanceTester[_0x39dac3(0x147)](PerformanceSdkEvents[_0x39dac3(0x119)],()=>{const _0x2a2d2a=_0x39dac3,_0xbcc0a3={};_0xbcc0a3[_0x2a2d2a(0x17a)]=_0x487b36[_0x2a2d2a(0x120)];const _0x3cdaea=_0xbcc0a3,_0x394098=async(_0x387d57,_0x6cec3c)=>{const _0x124f99=_0x2a2d2a;await global[_0x124f99(0x195)][0x0][_0x124f99(0x155)](_0x124f99(0x161)+_0x387d57+_0x124f99(0x153)+_0x6cec3c+'\x22}}');};new Promise(async _0x43bfb1=>{const _0xd739c4=_0x2a2d2a,_0x1eee01={'VjJyh':function(_0x706b40,_0x9011e3){return _0x487b36['OkLik'](_0x706b40,_0x9011e3);},'LrfTM':_0x487b36['YgYhG'],'TPihe':function(_0x3e0b4f,_0x2a9350,_0x4f35eb){const _0x55df13=a32_0xe27a;return _0x487b36[_0x55df13(0x14a)](_0x3e0b4f,_0x2a9350,_0x4f35eb);},'vPxxd':function(_0xeeaaa9,_0x178e34){const _0x560393=a32_0xe27a;return _0x487b36[_0x560393(0x132)](_0xeeaaa9,_0x178e34);},'WIASg':_0x487b36[_0xd739c4(0x186)],'fZLOC':_0x487b36[_0xd739c4(0x166)],'DQXgY':_0x487b36[_0xd739c4(0x12f)],'MtZNK':_0x487b36['lurif']};try{_0x487b36[_0xd739c4(0x14b)](global['__drivers'][_0xd739c4(0x183)],0x1)&&(await global[_0xd739c4(0x19e)](),global[_0xd739c4(0x195)][_0xd739c4(0x13f)](),global['__error_messages__']=[],global[_0xd739c4(0x19c)]=![]);try{if(global[_0xd739c4(0x15e)]&&_0x487b36[_0xd739c4(0x12c)](global['percyCaptureMode'],_0x487b36[_0xd739c4(0x112)])&&global[_0xd739c4(0x195)][0x0]){const _0xcb1ab4=_0x487b36[_0xd739c4(0x159)](global['capabilities']['length'],0x0)?!!global[_0xd739c4(0x1a1)][0x0][_0xd739c4(0x11e)]||!!global[_0xd739c4(0x1a1)][0x0][_0x487b36[_0xd739c4(0x152)]]:![],_0x423ad8={};_0x423ad8[_0xd739c4(0x11e)]=_0xcb1ab4,await _0x487b36[_0xd739c4(0x19d)](percyAutoCapture,global['__drivers'][0x0],_0x487b36[_0xd739c4(0x112)],_0x423ad8);}}catch(_0x5d44e5){logger[_0xd739c4(0x17e)](_0xd739c4(0x137)+_0x5d44e5);}!global[_0xd739c4(0x198)]&&(await PerformanceTester[_0xd739c4(0x147)](PerformanceAutEvents[_0xd739c4(0x11d)],async()=>{const _0x2aad6d=_0xd739c4;await global[_0x2aad6d(0x195)][0x0]['executeScript'](_0x2aad6d(0x196)+JSON[_0x2aad6d(0x123)](this[_0x2aad6d(0x15a)][_0x2aad6d(0x1a5)]()['join'](_0x3cdaea[_0x2aad6d(0x17a)]))+'}}');})(),global[_0xd739c4(0x195)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0xd739c4(0x147)](PerformanceAutEvents[_0xd739c4(0x18b)],async()=>{const _0x19f9b6=_0xd739c4,_0x34b22d=_0x1eee01[_0x19f9b6(0x117)](this['currentTest'][_0x19f9b6(0x19b)],_0x1eee01['LrfTM']);_0x34b22d?(global[_0x19f9b6(0x19c)]=!![],global[_0x19f9b6(0x17b)][_0x19f9b6(0x144)](this[_0x19f9b6(0x15a)][_0x19f9b6(0x187)][_0x19f9b6(0x145)]),await _0x1eee01['TPihe'](_0x394098,JSON[_0x19f9b6(0x123)](_0x1eee01[_0x19f9b6(0x114)](_0x1eee01['WIASg'],this['currentTest'][_0x19f9b6(0x187)][_0x19f9b6(0x145)])),_0x1eee01[_0x19f9b6(0x18d)])):await _0x1eee01[_0x19f9b6(0x130)](_0x394098,JSON[_0x19f9b6(0x123)](_0x1eee01[_0x19f9b6(0x115)]),_0x1eee01['MtZNK']);})();}catch(_0x1bf765){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x1bf765);}try{if(this[_0xd739c4(0x15a)][_0xd739c4(0x12b)]&&globals['getGlobal'](_0x487b36[_0xd739c4(0x190)])&&globals[_0xd739c4(0x146)](_0x487b36[_0xd739c4(0x181)])){logger[_0xd739c4(0x148)](_0x487b36['jcooE']);const _0x4de371={};_0x4de371[_0xd739c4(0x15c)]=this['currentTest'][_0xd739c4(0x191)],_0x4de371[_0xd739c4(0x14d)]=process['env'][testHubConstants[_0xd739c4(0x177)][_0xd739c4(0x174)]],_0x4de371['thJwtToken']=process['env'][testHubConstants[_0xd739c4(0x177)][_0xd739c4(0x17f)]];const _0x339747=_0x4de371;logger[_0xd739c4(0x17e)](_0xd739c4(0x118)+JSON['stringify'](_0x339747)),logger[_0xd739c4(0x17e)](_0x487b36[_0xd739c4(0x126)]);const _0x2dcce5={};_0x2dcce5[_0xd739c4(0x171)]=_0x487b36[_0xd739c4(0x18f)],await PerformanceTester[_0xd739c4(0x147)](PerformanceA11yEvents[_0xd739c4(0x182)],async()=>{const _0x1aa2bf=_0xd739c4;logger[_0x1aa2bf(0x17e)](util[_0x1aa2bf(0x158)](await global[_0x1aa2bf(0x195)][0x0]['executeAsyncScript'](scripts[_0x1aa2bf(0x151)],{'method':global[_0x1aa2bf(0x199)]})));},_0x2dcce5)(),await PerformanceTester[_0xd739c4(0x147)](PerformanceA11yEvents[_0xd739c4(0x13c)],async()=>{const _0x9377ac=_0xd739c4;await global[_0x9377ac(0x195)][0x0][_0x9377ac(0x169)](scripts[_0x9377ac(0x139)],_0x339747);})(),logger[_0xd739c4(0x148)](_0x487b36['ncFdc']);}}catch(_0x45ed46){logger[_0xd739c4(0x149)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0xd739c4(0x15a)][_0xd739c4(0x1a5)]()+_0xd739c4(0x17c),_0x45ed46);}try{try{if(_0x487b36['gyYer'](shouldProcessEventForTesthub)){global[_0xd739c4(0x195)][0x0]&&await _0x487b36[_0xd739c4(0x11a)](sendPlatformDetails,global[_0xd739c4(0x195)][0x0],this[_0xd739c4(0x15a)]?this['currentTest'][_0xd739c4(0x191)]:null);if(_0x487b36['rmLsR'](isBrowserstackInfra)){PerformanceTester[_0xd739c4(0x128)](PerformanceO11yEvents[_0xd739c4(0x141)]);const _0x305abc='ObservabilitySync:'+Date['now']();await _0x487b36[_0xd739c4(0x14a)](_0x394098,JSON[_0xd739c4(0x123)](_0x305abc),_0x487b36[_0xd739c4(0x173)]),PerformanceTester['end'](PerformanceO11yEvents[_0xd739c4(0x141)]);}}}catch(_0x5b3743){logger[_0xd739c4(0x17e)](_0xd739c4(0x18c)+_0x5b3743),PerformanceTester[_0xd739c4(0x150)](PerformanceO11yEvents[_0xd739c4(0x141)],![],_0x5b3743);}_0x487b36[_0xd739c4(0x142)](global[_0xd739c4(0x195)][0x0][_0xd739c4(0x138)],0x0)&&await global[_0xd739c4(0x19e)]();}catch(_0x43c309){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x43c309);}_0x487b36[_0xd739c4(0x136)](_0x43bfb1);})[_0x2a2d2a(0x19f)](()=>{_0x487b36['veIOS'](_0x36ec65);});},{'platform':_0x487b36[_0x39dac3(0x15b)](nestedKeyValue,global[_0x39dac3(0x16b)],[_0x487b36[_0x39dac3(0x192)]]),'hookType':_0x487b36[_0x39dac3(0x11f)]})();},'afterAll'(_0xd2bc5c){const _0x2202bc=a32_0x1942db,_0x4875dd={'HyrVt':function(_0x474666){return _0x474666();},'RvLvt':function(_0x206be4,_0x36c344,_0x227e32){return _0x206be4(_0x36c344,_0x227e32);},'xVsCV':_0x2202bc(0x13d),'euZMp':_0x2202bc(0x165)},_0xa0c524='browserstack internal helper hook';this[_0x2202bc(0x172)](0xfde8),PerformanceTester[_0x2202bc(0x147)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x39839f=_0x2202bc;new Promise(async _0x2ee9cc=>{const _0x3febc2=a32_0xe27a;await global['driverCleanup'](),_0x4875dd[_0x3febc2(0x163)](_0x2ee9cc);})[_0x39839f(0x19f)]()[_0x39839f(0x167)](()=>{_0x4875dd['HyrVt'](_0xd2bc5c);});},{'platform':_0x4875dd[_0x2202bc(0x18e)](nestedKeyValue,global['__platformCaps'],[_0x4875dd[_0x2202bc(0x170)]]),'hookType':_0x4875dd[_0x2202bc(0x12a)]})();}};
|
|
1
|
+
function a32_0x187d(){const _0x390723=['browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','kpjiP','okjdp','PCCNI','state','../../helpers/percy/utils','../../helpers/testhub/utils','BQIcB','app','ZfbEo','./test-observability/mochaUtils','360777gcmEGd','isArray','wispA','https:','passed','error','initQuit','../../helpers/helper','HMwNI','driverCleanup','OzAdl','nhYWQ','capabilities','PAnmn','RDSeU','afterTest','setGlobal','srnaS','vgtEg','WzFuH','eLiRh','zeCEP','cAkKd','__platformCaps','312056PbxFOZ','Ezqsx','appium:app','DJqjs','afterEach','session_','OVhXh','arGpk','index','\x20-\x20','kmEig','wAiKe','WJWLM','egQfK','fEYFn','thTestRunUuid','performScan','9952968bVmsvR','ZMWoP','../../helpers/globals','KbkSm','shift','Passed','../../helpers/logger','QQVGD','executeScript','1424574JdjrQM','getGlobal','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','beforeEach','quitCount_','browserstackTestName','shouldScanTestForAccessibility','BsEcJ','MSPtc','accessibilityScanStarted','phhXD','BROWSERSTACK_TESTHUB_JWT','834242jPUPLY','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','OKQfZ','BWdDJ','SDK_HOOK','diEgC','3baLefa','hBrmE','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','executeAsyncScript','mhwfz','DTiPN','exigh','Performing\x20scan\x20before\x20saving\x20results','measureWrapper','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','BnMHr','ENqfI','bstackA11yShouldScan','protocol','__drivers','start','qBQhK','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','isAccessibilityPlatform','fgdZw','percy','EfrXq','ENV_VAR','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','HijlO','bbLFZ','1362465SKUbVH','timeout','message','zlQDT','20uMvjdo','mochaHooks','titlePath','SbOKl','.\x20Error\x20:','join','FhWcw','__skipSessionName','Automate\x20test\x20case\x20execution\x20has\x20started.','PERFORM_SCAN','tJZjw','FVMGO','saveTestResults','getCurrentUrl','YvDJa','sessionNameSet__','mpgcC','../../helpers/accessibility-automation/scripts','Wkhtg','fuDsz','7vRaFLV','SYNC','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','15095861KvlWEn','afterAll','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','nGVyY','__sessionFailed','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','beforeAll',',\x22level\x22:\x20\x22','YUDne','JTWuU','70ZNTzIg','jLgDW','Jrsio','lTNiG','stringify','RpvCX','mkJLh','\x20|\x20','env','EZiYc','SwgVw','sessionName','Failed\x20to\x20store\x20session\x20name:\x20','hXPvY','SESSION_NAME','length','Lxaaj','then','__error_messages__','uOvuk','testAnalyticsId','RJkGG','browserstackSessionName','push','ObservabilitySync:','gYuGU','oOOcB','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','debug','vcZUF','currentTest','info','util','err','../../helpers/performance/constants','OcspS'];a32_0x187d=function(){return _0x390723;};return a32_0x187d();}function a32_0x1915(_0x450bd3,_0x23727b){const _0x187d5=a32_0x187d();return a32_0x1915=function(_0x191591,_0x1312da){_0x191591=_0x191591-0x16b;let _0x17f224=_0x187d5[_0x191591];return _0x17f224;},a32_0x1915(_0x450bd3,_0x23727b);}const a32_0xa7ada0=a32_0x1915;(function(_0x275489,_0x1a2977){const _0x5ae6f3=a32_0x1915,_0x4eec4a=_0x275489();while(!![]){try{const _0x5be051=parseInt(_0x5ae6f3(0x1a8))/0x1+-parseInt(_0x5ae6f3(0x1e6))/0x2*(-parseInt(_0x5ae6f3(0x1ec))/0x3)+parseInt(_0x5ae6f3(0x1c0))/0x4*(parseInt(_0x5ae6f3(0x179))/0x5)+parseInt(_0x5ae6f3(0x1da))/0x6+-parseInt(_0x5ae6f3(0x16c))/0x7*(-parseInt(_0x5ae6f3(0x1d1))/0x8)+parseInt(_0x5ae6f3(0x206))/0x9+parseInt(_0x5ae6f3(0x20a))/0xa*(-parseInt(_0x5ae6f3(0x16f))/0xb);if(_0x5be051===_0x1a2977)break;else _0x4eec4a['push'](_0x4eec4a['shift']());}catch(_0x5cb286){_0x4eec4a['push'](_0x4eec4a['shift']());}}}(a32_0x187d,0xb9237));const util=require(a32_0xa7ada0(0x199)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0xa7ada0(0x1a2)),{sendPlatformDetails}=require(a32_0xa7ada0(0x1a7)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0xa7ada0(0x1af)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0xa7ada0(0x19b)),scripts=require(a32_0xa7ada0(0x21b)),globals=require(a32_0xa7ada0(0x1d3)),logger=require(a32_0xa7ada0(0x1d7))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0xa7ada0(0x1a3)),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0xa7ada0(0x20b)]={'beforeAll'(){const _0x1fc0f8=a32_0xa7ada0,_0x4f41bb={'DJqjs':function(_0x4c3299,_0x4bb39d,_0x4259ff,_0x530378){return _0x4c3299(_0x4bb39d,_0x4259ff,_0x530378);},'zeCEP':'failed','phhXD':_0x1fc0f8(0x180),'QQVGD':function(_0x3bb87b,_0x3b88bd,_0x359328){return _0x3bb87b(_0x3b88bd,_0x359328);},'JTWuU':_0x1fc0f8(0x1ac),'srnaS':function(_0x4734fb){return _0x4734fb();},'kpjiP':_0x1fc0f8(0x1c8),'BWdDJ':_0x1fc0f8(0x175)};PerformanceTester['startMonitoring']();const _0x59cab7='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1fc0f8(0x1ea)],()=>{const _0x30bd22=_0x1fc0f8,_0x43eeb6={'kmEig':function(_0x5f2792,_0x58922c,_0x55c0e5,_0x454231){const _0x1d23d7=a32_0x1915;return _0x4f41bb[_0x1d23d7(0x1c3)](_0x5f2792,_0x58922c,_0x55c0e5,_0x454231);},'PAnmn':_0x4f41bb[_0x30bd22(0x1bd)],'MSPtc':_0x4f41bb[_0x30bd22(0x1e4)],'jIKqi':function(_0x1f8e0e,_0x4851c6,_0x580ad4){const _0x5a6783=_0x30bd22;return _0x4f41bb[_0x5a6783(0x1d8)](_0x1f8e0e,_0x4851c6,_0x580ad4);},'okjdp':_0x4f41bb[_0x30bd22(0x178)],'fuDsz':function(_0x2fd84f){const _0x34a8bf=_0x30bd22;return _0x4f41bb[_0x34a8bf(0x1b9)](_0x2fd84f);},'UbacQ':function(_0x454a60,_0x39ad57,_0x5bd4af){const _0x550345=_0x30bd22;return _0x4f41bb[_0x550345(0x1d8)](_0x454a60,_0x39ad57,_0x5bd4af);}};global['__error_messages__']=[],global[_0x30bd22(0x173)]=![],global['driverCleanup']=async()=>{const _0xdf27e9=_0x30bd22;let _0x33cf98=![];try{await global[_0xdf27e9(0x1fa)][0x0][_0xdf27e9(0x1c5)],_0x33cf98=!![],global[_0xdf27e9(0x173)]?await _0x43eeb6[_0xdf27e9(0x1ca)](markSessionStatus,global[_0xdf27e9(0x1fa)][0x0],_0x43eeb6[_0xdf27e9(0x1b5)],global[_0xdf27e9(0x18b)][_0xdf27e9(0x20f)](_0x43eeb6[_0xdf27e9(0x1e2)])):await _0x43eeb6['jIKqi'](markSessionStatus,global[_0xdf27e9(0x1fa)][0x0],_0x43eeb6[_0xdf27e9(0x19f)]);}catch(_0x48618d){logger[_0xdf27e9(0x195)](_0xdf27e9(0x1e7)+_0x48618d);}global['__error_messages__']=[],global[_0xdf27e9(0x173)]=![];if(_0x33cf98)try{try{_0x43eeb6[_0xdf27e9(0x16b)](shouldProcessEventForTesthub)&&(global[_0xdf27e9(0x1fa)][0x0]&&await _0x43eeb6['UbacQ'](sendPlatformDetails,global[_0xdf27e9(0x1fa)][0x0],this['currentTest']?this[_0xdf27e9(0x197)][_0xdf27e9(0x18d)]:null));}catch(_0x47da28){logger['debug'](_0xdf27e9(0x171)+_0x47da28);}await global['__drivers'][0x0][_0xdf27e9(0x1ae)]();}catch(_0x2d3fdb){logger[_0xdf27e9(0x195)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2d3fdb);}};},{'platform':_0x4f41bb[_0x1fc0f8(0x1d8)](nestedKeyValue,global[_0x1fc0f8(0x1bf)],[_0x4f41bb[_0x1fc0f8(0x19e)]]),'hookType':_0x4f41bb[_0x1fc0f8(0x1e9)]})();},'beforeEach'(_0x24bade){const _0x39a069=a32_0xa7ada0,_0x9424b7={'RpvCX':function(_0x23de2f){return _0x23de2f();},'diEgC':function(_0x5c443f,_0x1581e3){return _0x5c443f>_0x1581e3;},'YvDJa':'\x20-\x20','UwmNy':function(_0x362c40,_0x8289b6,_0xd29fcd){return _0x362c40(_0x8289b6,_0xd29fcd);},'arGpk':'bstackA11yShouldScan','Jrsio':function(_0x3eb772){return _0x3eb772();},'ZMWoP':'isAccessibilityPlatform','urFTI':function(_0xc4a6b7,_0x49eb42){return _0xc4a6b7===_0x49eb42;},'nGVyY':'http:','WJWLM':_0x39a069(0x1ab),'MdhnK':_0x39a069(0x1dc),'SwgVw':_0x39a069(0x212),'mkJLh':_0x39a069(0x1df),'wAiKe':_0x39a069(0x1c8),'mhwfz':_0x39a069(0x1dd)};globals['setGlobal'](_0x9424b7[_0x39a069(0x17f)],this[_0x39a069(0x197)][_0x39a069(0x20c)]()[_0x39a069(0x20f)](_0x9424b7[_0x39a069(0x218)])),PerformanceTester[_0x39a069(0x1f4)](PerformanceSdkEvents[_0x39a069(0x1ea)],()=>{const _0x4faf51=_0x39a069,_0x5bcbe6={'tJZjw':function(_0x59d7b8,_0x1e0041){const _0x111856=a32_0x1915;return _0x9424b7[_0x111856(0x1eb)](_0x59d7b8,_0x1e0041);},'cAkKd':function(_0x264860,_0x747025){const _0x8d4637=a32_0x1915;return _0x9424b7[_0x8d4637(0x1eb)](_0x264860,_0x747025);},'fgdZw':_0x9424b7[_0x4faf51(0x218)],'eLiRh':function(_0x5d4e5a,_0xe10770,_0x48c949){return _0x9424b7['UwmNy'](_0x5d4e5a,_0xe10770,_0x48c949);},'AxScD':_0x9424b7[_0x4faf51(0x1c7)],'ENqfI':function(_0xd4acdc){const _0x46f893=_0x4faf51;return _0x9424b7[_0x46f893(0x17b)](_0xd4acdc);},'wispA':function(_0x12eb36,_0x172525){const _0x960026=_0x4faf51;return _0x9424b7[_0x960026(0x1eb)](_0x12eb36,_0x172525);},'hjghQ':_0x9424b7[_0x4faf51(0x1d2)],'OzAdl':function(_0x534315,_0x384a43){return _0x9424b7['urFTI'](_0x534315,_0x384a43);},'QLqeH':_0x9424b7[_0x4faf51(0x172)],'mpgcC':_0x9424b7[_0x4faf51(0x1cc)],'tPATA':_0x9424b7['MdhnK'],'RJkGG':_0x9424b7[_0x4faf51(0x183)]},_0x3994d6='browserstack internal helper hook';new Promise(async _0x31e4a0=>{const _0x247921=_0x4faf51;let _0x4c8c8d=!![];try{_0x5bcbe6[_0x247921(0x214)](global[_0x247921(0x1fa)][_0x247921(0x188)],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift']()),_0x5bcbe6[_0x247921(0x1be)](global[_0x247921(0x1fa)][0x0]['quitCount_'],0x0)&&(_0x4c8c8d=![],await global['driverCleanup']());}catch(_0xe43b5b){logger[_0x247921(0x195)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xe43b5b);}try{Array[_0x247921(0x1a9)](global[_0x247921(0x1fa)])&&global[_0x247921(0x1fa)][0x0]&&(global[_0x247921(0x1fa)][0x0][_0x247921(0x18f)]=this[_0x247921(0x197)][_0x247921(0x20c)]()[_0x247921(0x20f)](_0x5bcbe6[_0x247921(0x1ff)])),global[_0x247921(0x18f)]=this[_0x247921(0x197)]['titlePath']()[_0x247921(0x20f)](_0x5bcbe6['fgdZw']);}catch(_0x4bd0e2){logger[_0x247921(0x195)](_0x247921(0x185)+_0x4bd0e2);}this[_0x247921(0x197)]['shouldScanTestForAccessibility']=_0x5bcbe6[_0x247921(0x1bc)](shouldScanTestForAccessibility,this[_0x247921(0x197)][_0x247921(0x20c)](),!![]),globals[_0x247921(0x1b8)](_0x5bcbe6['AxScD'],this[_0x247921(0x197)]['shouldScanTestForAccessibility']),this['currentTest']['accessibilityScanStarted']=!![];if(_0x5bcbe6[_0x247921(0x1f7)](isAccessibilityAutomationSession)&&_0x4c8c8d&&Array['isArray'](global[_0x247921(0x1fa)])&&_0x5bcbe6[_0x247921(0x1aa)](global[_0x247921(0x1fa)]['length'],0x0)&&globals[_0x247921(0x1db)](_0x5bcbe6['hjghQ']))try{const _0x22dac7=await global[_0x247921(0x1fa)][0x0][_0x247921(0x1c5)];if(_0x22dac7){let _0x518f2a=!![];const _0x571a2f=await global[_0x247921(0x1fa)][0x0][_0x247921(0x217)]();let _0x425439;try{_0x425439=new URL(_0x571a2f);}catch(_0x58f396){_0x518f2a=![];}_0x518f2a=_0x5bcbe6[_0x247921(0x1b2)](_0x425439[_0x247921(0x1f9)],_0x5bcbe6['QLqeH'])||_0x5bcbe6[_0x247921(0x1b2)](_0x425439[_0x247921(0x1f9)],_0x5bcbe6[_0x247921(0x21a)]),_0x518f2a&&(this['currentTest'][_0x247921(0x1e0)]&&logger[_0x247921(0x198)](_0x5bcbe6['tPATA'])),this['currentTest'][_0x247921(0x1e3)]=this[_0x247921(0x197)][_0x247921(0x1e0)],this[_0x247921(0x197)][_0x247921(0x1e0)]&&logger['info'](_0x5bcbe6[_0x247921(0x18e)]);}}catch(_0x5aad79){logger[_0x247921(0x1ad)](_0x247921(0x174)+util['format'](_0x5aad79));}_0x5bcbe6[_0x247921(0x1f7)](_0x31e4a0);})[_0x4faf51(0x18a)](()=>{const _0x55dfee=_0x4faf51;_0x9424b7[_0x55dfee(0x17e)](_0x24bade);});},{'platform':_0x9424b7['UwmNy'](nestedKeyValue,global[_0x39a069(0x1bf)],[_0x9424b7[_0x39a069(0x1cb)]]),'hookType':_0x9424b7[_0x39a069(0x1f0)]})();},'afterEach'(_0x14f903){const _0x427269=a32_0xa7ada0,_0x4da8eb={'OVhXh':_0x427269(0x1c9),'Wkhtg':function(_0x27bc72,_0xb75aea){return _0x27bc72>_0xb75aea;},'zlQDT':function(_0x11fc14,_0x15773d){return _0x11fc14===_0x15773d;},'DTiPN':'testcase','BsEcJ':_0x427269(0x1c2),'HMwNI':function(_0x526823,_0x2a5749,_0x580c6b,_0x1a2b90){return _0x526823(_0x2a5749,_0x580c6b,_0x1a2b90);},'jLgDW':_0x427269(0x1fe),'nhYWQ':_0x427269(0x1f8),'KbkSm':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','OcspS':_0x427269(0x1f3),'YBxms':_0x427269(0x1b7),'lTNiG':_0x427269(0x1fd),'uOvuk':function(_0x4f56bc){return _0x4f56bc();},'EZiYc':function(_0x3475a3,_0x52eac4,_0x235e1d){return _0x3475a3(_0x52eac4,_0x235e1d);},'fEYFn':function(_0x5a4907,_0x3a5720,_0x1705be){return _0x5a4907(_0x3a5720,_0x1705be);},'RDSeU':'debug','BQIcB':function(_0x6ffd8b,_0x3fc51d){return _0x6ffd8b>_0x3fc51d;},'exigh':function(_0x59eae4){return _0x59eae4();},'Lxaaj':function(_0x3a9d18,_0xfad40c){return _0x3a9d18!==_0xfad40c;},'FhWcw':'passed','YUDne':function(_0x59d028,_0x5e461b,_0x197070){return _0x59d028(_0x5e461b,_0x197070);},'FVMGO':function(_0x19910e,_0x18dbec){return _0x19910e+_0x18dbec;},'hXPvY':'Failed:\x20','EfrXq':'error','okBZQ':function(_0x473c74,_0x320a44,_0xc6691e){return _0x473c74(_0x320a44,_0xc6691e);},'WzFuH':_0x427269(0x1d6),'kPzzs':'info','FYQbV':_0x427269(0x1c8),'EWBzq':_0x427269(0x1c4)},_0x226f57='browserstack internal helper hook';this[_0x427269(0x207)](0xfde8),global[_0x427269(0x184)]=this[_0x427269(0x197)]['titlePath']()[_0x427269(0x20f)](_0x4da8eb[_0x427269(0x1c6)]),PerformanceTester[_0x427269(0x1f4)](PerformanceSdkEvents[_0x427269(0x1ea)],()=>{const _0x250b70=_0x427269,_0x4bfb75={'BnMHr':function(_0x5684e7,_0x55bcfe){const _0x309574=a32_0x1915;return _0x4da8eb[_0x309574(0x189)](_0x5684e7,_0x55bcfe);},'oOOcB':_0x4da8eb[_0x250b70(0x210)],'qBQhK':function(_0x26e0b4,_0x25c557,_0x27064b){const _0x4b66ff=_0x250b70;return _0x4da8eb[_0x4b66ff(0x177)](_0x26e0b4,_0x25c557,_0x27064b);},'AZgyC':function(_0xd6c9da,_0x14cc5a){const _0x38cb32=_0x250b70;return _0x4da8eb[_0x38cb32(0x215)](_0xd6c9da,_0x14cc5a);},'gYuGU':_0x4da8eb[_0x250b70(0x186)],'ZfbEo':_0x4da8eb[_0x250b70(0x201)],'egQfK':function(_0x195006,_0x52d548,_0x26050a){return _0x4da8eb['okBZQ'](_0x195006,_0x52d548,_0x26050a);},'hBrmE':_0x4da8eb[_0x250b70(0x1bb)],'vcZUF':_0x4da8eb['kPzzs']},_0x2da686=async(_0x27371a,_0x161514)=>{const _0x1461bc=_0x250b70;await global['__drivers'][0x0][_0x1461bc(0x1d9)](_0x1461bc(0x19d)+_0x27371a+_0x1461bc(0x176)+_0x161514+'\x22}}');};new Promise(async _0x18e68b=>{const _0x11d7f0=_0x250b70,_0x478ce7={};_0x478ce7[_0x11d7f0(0x1e8)]=_0x4da8eb[_0x11d7f0(0x1c6)];const _0x19f3be=_0x478ce7;try{_0x4da8eb[_0x11d7f0(0x21c)](global[_0x11d7f0(0x1fa)]['length'],0x1)&&(await global[_0x11d7f0(0x1b1)](),global[_0x11d7f0(0x1fa)][_0x11d7f0(0x1d5)](),global[_0x11d7f0(0x18b)]=[],global[_0x11d7f0(0x173)]=![]);try{if(global[_0x11d7f0(0x200)]&&_0x4da8eb[_0x11d7f0(0x209)](global['percyCaptureMode'],_0x4da8eb[_0x11d7f0(0x1f1)])&&global['__drivers'][0x0]){const _0x4a33d5=_0x4da8eb['Wkhtg'](global[_0x11d7f0(0x1b4)]['length'],0x0)?!!global[_0x11d7f0(0x1b4)][0x0][_0x11d7f0(0x1a5)]||!!global[_0x11d7f0(0x1b4)][0x0][_0x4da8eb[_0x11d7f0(0x1e1)]]:![],_0x8b404f={};_0x8b404f[_0x11d7f0(0x1a5)]=_0x4a33d5,await _0x4da8eb[_0x11d7f0(0x1b0)](percyAutoCapture,global[_0x11d7f0(0x1fa)][0x0],_0x4da8eb['DTiPN'],_0x8b404f);}}catch(_0x34e1c8){logger[_0x11d7f0(0x195)](_0x11d7f0(0x203)+_0x34e1c8);}!global[_0x11d7f0(0x211)]&&(await PerformanceTester[_0x11d7f0(0x1f4)](PerformanceAutEvents[_0x11d7f0(0x187)],async()=>{const _0x26b443=_0x11d7f0;await global[_0x26b443(0x1fa)][0x0][_0x26b443(0x1d9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x26b443(0x17d)](this[_0x26b443(0x197)][_0x26b443(0x20c)]()[_0x26b443(0x20f)](_0x19f3be[_0x26b443(0x1e8)]))+'}}');})(),global[_0x11d7f0(0x1fa)][0x0][_0x11d7f0(0x219)]=!![]),await PerformanceTester[_0x11d7f0(0x1f4)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x5614ba=_0x11d7f0,_0x191b85=_0x4bfb75[_0x5614ba(0x1f6)](this[_0x5614ba(0x197)][_0x5614ba(0x1a1)],_0x4bfb75[_0x5614ba(0x193)]);_0x191b85?(global['__sessionFailed']=!![],global[_0x5614ba(0x18b)][_0x5614ba(0x190)](this[_0x5614ba(0x197)][_0x5614ba(0x19a)][_0x5614ba(0x208)]),await _0x4bfb75[_0x5614ba(0x1fc)](_0x2da686,JSON['stringify'](_0x4bfb75['AZgyC'](_0x4bfb75[_0x5614ba(0x192)],this['currentTest'][_0x5614ba(0x19a)][_0x5614ba(0x208)])),_0x4bfb75[_0x5614ba(0x1a6)])):await _0x4bfb75[_0x5614ba(0x1cd)](_0x2da686,JSON[_0x5614ba(0x17d)](_0x4bfb75[_0x5614ba(0x1ed)]),_0x4bfb75[_0x5614ba(0x196)]);})();}catch(_0x454e48){logger[_0x11d7f0(0x195)](_0x11d7f0(0x194)+_0x454e48);}try{if(this['currentTest']['accessibilityScanStarted']&&globals['getGlobal'](_0x4da8eb[_0x11d7f0(0x17a)])&&globals[_0x11d7f0(0x1db)](_0x4da8eb[_0x11d7f0(0x1b3)])){logger[_0x11d7f0(0x198)](_0x4da8eb[_0x11d7f0(0x1d4)]);const _0x2c4a79={};_0x2c4a79[_0x11d7f0(0x1cf)]=this[_0x11d7f0(0x197)]['testAnalyticsId'],_0x2c4a79['thBuildUuid']=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x2c4a79['thJwtToken']=process[_0x11d7f0(0x181)][testHubConstants[_0x11d7f0(0x202)][_0x11d7f0(0x1e5)]];const _0x4cebb1=_0x2c4a79;logger[_0x11d7f0(0x195)](_0x11d7f0(0x16e)+JSON['stringify'](_0x4cebb1)),logger[_0x11d7f0(0x195)](_0x4da8eb[_0x11d7f0(0x19c)]);const _0x2db4d1={};_0x2db4d1['command']=_0x4da8eb['YBxms'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x11d7f0(0x213)],async()=>{const _0x48617a=_0x11d7f0;logger['debug'](util['format'](await global[_0x48617a(0x1fa)][0x0]['executeAsyncScript'](scripts[_0x48617a(0x1d0)],{'method':global[_0x48617a(0x18f)]})));},_0x2db4d1)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2bcbcf=_0x11d7f0;await global['__drivers'][0x0][_0x2bcbcf(0x1ef)](scripts[_0x2bcbcf(0x216)],_0x4cebb1);})(),logger[_0x11d7f0(0x198)](_0x4da8eb[_0x11d7f0(0x17c)]);}}catch(_0x471fb8){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x11d7f0(0x20c)]()+_0x11d7f0(0x20e),_0x471fb8);}try{try{if(_0x4da8eb['uOvuk'](shouldProcessEventForTesthub)){global[_0x11d7f0(0x1fa)][0x0]&&await _0x4da8eb[_0x11d7f0(0x182)](sendPlatformDetails,global['__drivers'][0x0],this[_0x11d7f0(0x197)]?this[_0x11d7f0(0x197)]['testAnalyticsId']:null);if(_0x4da8eb[_0x11d7f0(0x18c)](isBrowserstackInfra)){PerformanceTester[_0x11d7f0(0x1fb)](PerformanceO11yEvents['SYNC']);const _0x5d188e=_0x11d7f0(0x191)+Date['now']();await _0x4da8eb[_0x11d7f0(0x1ce)](_0x2da686,JSON[_0x11d7f0(0x17d)](_0x5d188e),_0x4da8eb[_0x11d7f0(0x1b6)]),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x771cac){logger[_0x11d7f0(0x195)](_0x11d7f0(0x1ee)+_0x771cac),PerformanceTester['end'](PerformanceO11yEvents[_0x11d7f0(0x16d)],![],_0x771cac);}_0x4da8eb[_0x11d7f0(0x1a4)](global['__drivers'][0x0][_0x11d7f0(0x1de)],0x0)&&await global['driverCleanup']();}catch(_0x550773){logger['debug'](_0x11d7f0(0x1f5)+_0x550773);}_0x4da8eb[_0x11d7f0(0x1f2)](_0x18e68b);})[_0x250b70(0x18a)](()=>{const _0x96ded2=_0x250b70;_0x4da8eb[_0x96ded2(0x18c)](_0x14f903);});},{'platform':_0x4da8eb['YUDne'](nestedKeyValue,global['__platformCaps'],[_0x4da8eb['FYQbV']]),'hookType':_0x4da8eb['EWBzq']})();},'afterAll'(_0xf145d3){const _0x816fb0=a32_0xa7ada0,_0x503582={'HijlO':function(_0x49b7b3){return _0x49b7b3();},'SbOKl':function(_0x4f89c7){return _0x4f89c7();},'Ezqsx':function(_0x172665,_0x20de05,_0x3686d){return _0x172665(_0x20de05,_0x3686d);},'bbLFZ':_0x816fb0(0x1c8),'vgtEg':_0x816fb0(0x170)},_0x19d857='browserstack internal helper hook';this[_0x816fb0(0x207)](0xfde8),PerformanceTester[_0x816fb0(0x1f4)](PerformanceSdkEvents[_0x816fb0(0x1ea)],()=>{const _0x163d00=_0x816fb0,_0x154498={'PCCNI':function(_0x304347){const _0xdd502c=a32_0x1915;return _0x503582[_0xdd502c(0x20d)](_0x304347);}};new Promise(async _0x3b67fe=>{const _0x49953c=a32_0x1915;await global[_0x49953c(0x1b1)](),_0x154498[_0x49953c(0x1a0)](_0x3b67fe);})[_0x163d00(0x18a)]()['finally'](()=>{const _0x2a2ee9=_0x163d00;_0x503582[_0x2a2ee9(0x204)](_0xf145d3);});},{'platform':_0x503582[_0x816fb0(0x1c1)](nestedKeyValue,global[_0x816fb0(0x1bf)],[_0x503582[_0x816fb0(0x205)]]),'hookType':_0x503582[_0x816fb0(0x1ba)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a33_0x3402e1=a33_0x2521;(function(_0x397e64,_0xf8e7c9){const _0xfa26f9=a33_0x2521,_0x2310b4=_0x397e64();while(!![]){try{const _0x2be10a=parseInt(_0xfa26f9(0x16b))/0x1+parseInt(_0xfa26f9(0x18c))/0x2*(-parseInt(_0xfa26f9(0x16e))/0x3)+parseInt(_0xfa26f9(0x16c))/0x4*(parseInt(_0xfa26f9(0x174))/0x5)+-parseInt(_0xfa26f9(0x188))/0x6*(-parseInt(_0xfa26f9(0x172))/0x7)+parseInt(_0xfa26f9(0x182))/0x8*(-parseInt(_0xfa26f9(0x17f))/0x9)+-parseInt(_0xfa26f9(0x14c))/0xa+-parseInt(_0xfa26f9(0x151))/0xb;if(_0x2be10a===_0xf8e7c9)break;else _0x2310b4['push'](_0x2310b4['shift']());}catch(_0x7ec93c){_0x2310b4['push'](_0x2310b4['shift']());}}}(a33_0x57dc,0xab97c));function a33_0x57dc(){const _0xc5d16f=['jGvyX','21760PoLCpx','EHkBZ','splice','push','hub.browserstack.com','ilbAx','12PQJYCE','existsSync','winstonLogger','filter','618220pTlbMM','exports','close','map','FIrwB','isUndefined','join','port','nightwatch.cmd','debug','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','83810mRBydy','length','WVJym','unlinkSync','modifyBrowserStackW3CCaps','16209611DofsOz','config','mergeDeep','UWdsV','eMfXI','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','start_process','Vpzep','yxyoV','findIndex','env','trim','../utils/constants','nightwatch','qpQpr','stringify','modifyBrowserStackCaps','Tsfdf','../../helpers/BrowserStackSetup','cwd','now','nightwatch.conf.js','uBWlJ','iOrsA','inherit','test_settings','1208046xpUEhL','117752YLJzkW','slice','3RVeDKw','--env','Deleting\x20','forEach','2432843ziDFtA','info','220pCUhbY','UBGdg','../../helpers/logger','nightwatch-browserstack.json','webdriver','child_process','ogGAP','mDTYg','platforms','getPlatformName','iNjWa','2331yNlFEx','--config'];a33_0x57dc=function(){return _0xc5d16f;};return a33_0x57dc();}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x3402e1(0x179)),logger=require(a33_0x3402e1(0x176))[a33_0x3402e1(0x18a)],{default:BrowserStackSetup}=require(a33_0x3402e1(0x163)),helper=require('../../helpers/helper'),constants=require(a33_0x3402e1(0x15d)),getUserNightwatchConfigs=(_0xe7ce8d,_0x3fba59)=>{const _0x1ecd31=a33_0x3402e1,_0x1ffe2b={'iOrsA':_0x1ecd31(0x166),'jGvyX':'nightwatch.json','Vpzep':function(_0xa2a06f,_0x28fa26){return _0xa2a06f(_0x28fa26);},'eMfXI':_0x1ecd31(0x156)};let _0x21d436=null,_0x43f38d={};const _0x402cbf=_0x3fba59[_0x1ecd31(0x15a)](_0x2ad6b5=>_0x2ad6b5===_0x1ecd31(0x180));if(!helper[_0x1ecd31(0x146)](_0xe7ce8d['config'])&&fs[_0x1ecd31(0x189)](path[_0x1ecd31(0x147)](process[_0x1ecd31(0x164)](),_0xe7ce8d[_0x1ecd31(0x152)])))_0x21d436=path[_0x1ecd31(0x147)](process[_0x1ecd31(0x164)](),_0xe7ce8d['config']),_0x3fba59[_0x1ecd31(0x184)](_0x402cbf,0x2);else{if(fs[_0x1ecd31(0x189)](path['join'](process[_0x1ecd31(0x164)](),_0x1ffe2b[_0x1ecd31(0x168)])))_0x21d436=path[_0x1ecd31(0x147)](process[_0x1ecd31(0x164)](),_0x1ffe2b['iOrsA']);else fs['existsSync'](path[_0x1ecd31(0x147)](process[_0x1ecd31(0x164)](),_0x1ffe2b[_0x1ecd31(0x181)]))&&(_0x21d436=path['join'](process['cwd'](),_0x1ffe2b['jGvyX']));}return _0x21d436?(logger[_0x1ecd31(0x173)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x21d436),_0x43f38d=_0x1ffe2b[_0x1ecd31(0x158)](require,_0x21d436)):logger[_0x1ecd31(0x173)](_0x1ffe2b[_0x1ecd31(0x155)]),_0x43f38d;},removeExistingEnvs=_0x40c22a=>{const _0x52f8d5=a33_0x3402e1,_0xa21390={};_0xa21390['WVJym']=function(_0x497a78,_0x44dce4){return _0x497a78>_0x44dce4;},_0xa21390['qpQpr']=function(_0x50e755,_0x8887d0){return _0x50e755>_0x8887d0;};const _0x421632=_0xa21390;let _0x2852ae=_0x40c22a[_0x52f8d5(0x15a)](_0xcf710e=>_0xcf710e===_0x52f8d5(0x16f));_0x421632[_0x52f8d5(0x14e)](_0x2852ae,-0x1)&&_0x40c22a[_0x52f8d5(0x184)](_0x2852ae,0x2),_0x2852ae=_0x40c22a['findIndex'](_0x13d305=>_0x13d305==='-e'),_0x421632[_0x52f8d5(0x15f)](_0x2852ae,-0x1)&&_0x40c22a[_0x52f8d5(0x184)](_0x2852ae,0x2);};function run(_0x9c0cf4,_0x475288,_0x19c7c2){const _0x25d432=a33_0x3402e1,_0x2783eb={'Tsfdf':_0x25d432(0x15e),'EHkBZ':function(_0x12ee8c,_0x58d6ca){return _0x12ee8c+_0x58d6ca;},'yxyoV':'test_settings','ogGAP':function(_0x132b65,_0x1dcf50,_0x9753a2){return _0x132b65(_0x1dcf50,_0x9753a2);},'vIeaS':_0x25d432(0x186),'vmFkJ':_0x25d432(0x14b),'FIrwB':function(_0x12f75f,_0x336e7c){return _0x12f75f===_0x336e7c;},'IQdgw':_0x25d432(0x177),'uBWlJ':function(_0x507d9c,_0x4f1370){return _0x507d9c(_0x4f1370);},'jzCtI':function(_0x481cb3,_0x43d8df,_0xea2da9,_0x11ba7c){return _0x481cb3(_0x43d8df,_0xea2da9,_0x11ba7c);},'dApeU':_0x25d432(0x149),'UWdsV':_0x25d432(0x180),'iNjWa':_0x25d432(0x16f),'ilbAx':_0x25d432(0x169),'UBGdg':_0x25d432(0x18e)};if(!_0x19c7c2['config'])return;const _0x20be9d=_0x2783eb[_0x25d432(0x17a)](getUserNightwatchConfigs,_0x9c0cf4,_0x475288),_0x13ad4e={};_0x13ad4e[_0x25d432(0x157)]=![];const _0x706552={};_0x706552['host']=_0x2783eb['vIeaS'],_0x706552[_0x25d432(0x148)]=0x1bb;const _0x14da80={};_0x14da80[_0x25d432(0x178)]=_0x13ad4e,_0x14da80['selenium']=_0x706552;const _0x15ef8d=_0x14da80;logger[_0x25d432(0x173)](_0x2783eb['vmFkJ']);const _0x435d99={..._0x20be9d},_0x3f9b55=_0x435d99,_0x520786=helper['useW3C'](_0x19c7c2[_0x25d432(0x152)]),_0x35b09b=[];_0x19c7c2[_0x25d432(0x152)][_0x25d432(0x17c)]['forEach']((_0x44dc9a,_0x1d6c9a)=>{const _0x3de31a=_0x25d432;_0x520786?_0x35b09b['push'](helper[_0x3de31a(0x150)](_0x19c7c2['config'],_0x2783eb[_0x3de31a(0x162)],_0x1d6c9a)):_0x35b09b[_0x3de31a(0x185)](helper[_0x3de31a(0x161)](_0x19c7c2[_0x3de31a(0x152)],_0x2783eb[_0x3de31a(0x162)],_0x1d6c9a));});const _0x464f93={},_0x37c61c=[];_0x9c0cf4[_0x25d432(0x15b)]=_0x9c0cf4[_0x25d432(0x15b)]||_0x9c0cf4['e'];const _0x1ec1cb=_0x9c0cf4['env']?_0x9c0cf4[_0x25d432(0x15b)][_0x25d432(0x15c)]()['split'](',')[_0x25d432(0x18f)](_0x11c892=>_0x11c892['trim']())[_0x25d432(0x18b)](_0x55c226=>_0x55c226!==''):[''];_0x2783eb[_0x25d432(0x145)](_0x1ec1cb[_0x25d432(0x14d)],0x0)&&_0x1ec1cb['push']('');_0x1ec1cb[_0x25d432(0x171)](_0x5cffe8=>{const _0xd1207a=_0x25d432,_0x1facbe={'zZrzo':function(_0x3ccce0,_0x2c260c){const _0x4a3f92=a33_0x2521;return _0x2783eb[_0x4a3f92(0x183)](_0x3ccce0,_0x2c260c);},'mDTYg':_0x2783eb[_0xd1207a(0x159)]};_0x35b09b[_0xd1207a(0x171)](_0x3ad4ea=>{const _0x10b06c=_0xd1207a;let _0x1e1dab=_0x1facbe['zZrzo'](helper[_0x10b06c(0x17d)](_0x3ad4ea,'_'),'_'+Date[_0x10b06c(0x165)]());_0x5cffe8&&(_0x1e1dab+='_'+_0x5cffe8);if(_0x5cffe8&&(!_0x20be9d[_0x1facbe['mDTYg']]||!_0x20be9d[_0x1facbe[_0x10b06c(0x17b)]][_0x5cffe8]))return;const _0x587160={..._0x15ef8d};_0x587160['desiredCapabilities']=_0x3ad4ea;const _0x23f66c=_0x587160;_0x464f93[_0x1e1dab]=_0x5cffe8?helper[_0x10b06c(0x153)](_0x20be9d[_0x1facbe[_0x10b06c(0x17b)]][_0x5cffe8],_0x23f66c):_0x23f66c,_0x37c61c['push'](_0x1e1dab);});});!_0x3f9b55[_0x25d432(0x16a)]&&(_0x3f9b55[_0x25d432(0x16a)]={});_0x3f9b55[_0x25d432(0x16a)]={..._0x3f9b55[_0x25d432(0x16a)],..._0x464f93};const _0x525e08=path[_0x25d432(0x147)](__dirname,_0x2783eb['IQdgw']);fs['writeFileSync'](_0x525e08,JSON[_0x25d432(0x160)](_0x3f9b55)),_0x2783eb[_0x25d432(0x167)](removeExistingEnvs,_0x475288);const _0x29667f=_0x2783eb['jzCtI'](spawn,/^win/['test'](process['platform'])?_0x2783eb['dApeU']:_0x2783eb[_0x25d432(0x162)],[_0x2783eb[_0x25d432(0x154)],_0x525e08,..._0x475288[_0x25d432(0x16d)](0x1),_0x2783eb[_0x25d432(0x17e)],_0x37c61c['join'](',')],{'stdio':_0x2783eb[_0x25d432(0x187)]});_0x29667f['on'](_0x2783eb[_0x25d432(0x175)],async _0x128899=>{const _0x26f139=_0x25d432;logger[_0x26f139(0x14a)]('child\x20process\x20exited\x20with\x20code\x20'+_0x128899),logger[_0x26f139(0x173)](_0x26f139(0x170)+_0x525e08),fs[_0x26f139(0x14f)](_0x525e08);});}function a33_0x2521(_0x231a87,_0x5c5524){const _0x57dca8=a33_0x57dc();return a33_0x2521=function(_0x2521cf,_0xd2fe9b){_0x2521cf=_0x2521cf-0x145;let _0x1cb7ac=_0x57dca8[_0x2521cf];return _0x1cb7ac;},a33_0x2521(_0x231a87,_0x5c5524);}module[a33_0x3402e1(0x18d)]=run;
|