browserstack-node-sdk 1.42.1 → 1.42.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +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/cucumber-sessionDetails.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/playwright-patcher.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/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/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/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/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a33_0x4fa9dc=a33_0x5d29;(function(_0x567c65,_0x5a5e60){const _0x396e0f=a33_0x5d29,_0x36c5ab=_0x567c65();while(!![]){try{const _0x11283e=-parseInt(_0x396e0f(0x150))/0x1*(-parseInt(_0x396e0f(0xee))/0x2)+parseInt(_0x396e0f(0xdb))/0x3+-parseInt(_0x396e0f(0xf6))/0x4+parseInt(_0x396e0f(0x145))/0x5*(-parseInt(_0x396e0f(0x155))/0x6)+-parseInt(_0x396e0f(0x16a))/0x7*(parseInt(_0x396e0f(0x178))/0x8)+parseInt(_0x396e0f(0xdf))/0x9*(parseInt(_0x396e0f(0xd9))/0xa)+parseInt(_0x396e0f(0xde))/0xb;if(_0x11283e===_0x5a5e60)break;else _0x36c5ab['push'](_0x36c5ab['shift']());}catch(_0x4c6932){_0x36c5ab['push'](_0x36c5ab['shift']());}}}(a33_0x2e26,0x23142));const chalk=require(a33_0x4fa9dc(0xda)),logger=require(a33_0x4fa9dc(0xf5))[a33_0x4fa9dc(0x140)],helper=require(a33_0x4fa9dc(0x158)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a33_0x4fa9dc(0x158)),{getPercyOptions}=require(a33_0x4fa9dc(0x96)),Base=requireModule(a33_0x4fa9dc(0x89),a33_0x4fa9dc(0x172)),collectFiles=requireModule(a33_0x4fa9dc(0x18e),a33_0x4fa9dc(0x172)),constants=require(a33_0x4fa9dc(0xcc)),PerformanceTester=require(a33_0x4fa9dc(0x112)),PerformanceEvents=require(a33_0x4fa9dc(0xbc))[a33_0x4fa9dc(0x114)],centralScannerConstants=require(a33_0x4fa9dc(0x9b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a33_0x4fa9dc(0x12a));function a33_0x2e26(){const _0x37cdc3=['passes','Phozy','testSuites','failure','exitCode','join','513358WpjyrS','LkcuG','isBrowserstackInfra','tGkjh','useColors','excludeTagsInTestingScope','pGUFQ','../../helpers/logger','1123000yJprue','duration','MlgPx','cliConfig','forEach','jiTUQ','eEHxI','finalExecution','HlpVG','JINea','hideDiff','failed','CKyIN','GaITs','reporter-option','state','parse','getPlatformName','passed','LnLKb','mjs','MMlph','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iGOZs','tgBFD','map','FRAMEWORKS','hasOwnProperty','../../helpers/performance/performance-tester','isEmpty','EVENTS','VjXZb','SDKTestSuccessful','Now,\x20showing\x20logs\x20from\x20mocha','iCCOZ','totalTests','pending','gasoY','finally','doc','results','jNMfP','add','foNVR','isNotUndefined','framework','aEwsF','actual','JZufY','oWgJA','KRnco','BDfHs','../../helpers/testhub/testhubHandler','config','yKLuR','lhPBr','goGjY','cAIgh','PcEfN','MOCHA','rSYSP','recursive','rWMwi','error','spec','GWhEZ','xEIhM','cjs','title','keys','speed','AOgOu','proxySettings','object','winstonLogger','DGPRz','setupTCGAuth','accessibilityOptions','wfFFn','1010IfxsUv','stack','IDryL','bXXUG','getUserWorkerCount','Couldn\x27t\x20write\x20json\x20result\x20to','VVEmI','yyGTD','pUUwH','getTCGConfigFilePaths','ocYRx','1HkCBry','IAvAZ','testObservability','SuTJD','wuFPP','6432ciQYBM','jLXdt','isUndefined','../../helpers/helper','bold','testsPending','message','retries','jmawM','UgQhG','amYkR','initialize','Writing\x20xunit\x20result\x20to\x20file','BpsKg','\x20total','writeFileSync','vhdWo','testsuite','prepareCapabilities','SDK_CLEANUP','xunit','896BsxXKN','BioEb','FjQln','XNTvr','BROWSERSTACK_GRR_US_HUB_URL','yellow','BROWSERSTACK_TEST_OBSERVABILITY_YML','error\x20removing\x20tcg\x20config\x20file','mocha','fullTitle','BQPWh','indexOf','parseTestOrchestrationOptions','platform','6184sGdyAM','getOwnPropertyNames','XjlYR','start','hItWF','validPlatformsPresent','bgRedBright','JfRhx','consoleLog','GIDWe','suiteName','retryTestsOnFailure','err','generateDiff','assign','shouldReRunObservabilityTests','stats','stringify','PYGEk','isPending','call','aivrP','mocha/lib/cli/collect-files.js','green','kWICV','env','mocha/lib/reporters/base.js','getHubUrl','rerunTests','uXjZp','fLEcT','has','rmdirSync','SGSrR','\x0a\x0a\x0a','HSbJo','\x20skipped','eOdvB','zjHWo','../../helpers/percy/utils','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','length','useW3C','VYRqc','../../helpers/central-scanner/constants','toUTCString','fsgwJ','testcase','hkEgZ','log','testsFailed','pUrai','hKUQF','accessibility','expected','bstack:options','failures','debug','lpmxn','pMuMR','push','XpwjT','odUCJ','Mocha\x20Tests','</testsuite>','parseFileNames','platforms','notifyUpdate','configuration','rGPqO','info','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','yZZmn','getCentralUser','file','extension','iJhng','../../helpers/performance/constants','txSxe','Running\x20your\x20mocha\x20tests','unlinkSync','HrdSm','TGrwO','reporterOptions','ignore','json','red','Writing\x20json\x20result\x20to\x20file','Total\x20Suites:\x20','errorMessage','includeTagsInTestingScope','****\x20FAILURES\x20****','WgbzG','../utils/constants','DqtoG','files','NewxV','parallelsPerPlatform','VhDfi','launchBuild','Listing\x20all\x20the\x20failures','hRYlN','exports','central_scanner','AKHAP','printBuildLink','1670mjsSYK','chalk','544398uXhKaL','output','tkEwV','3049486bKLXyA','1323KiCRtr','setUserConfigPath','size','Running\x20your\x20mocha\x20tests\x20across\x20','VWift','ZkVJi','EfJjP','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','FjCIJ'];a33_0x2e26=function(){return _0x37cdc3;};return a33_0x2e26();}function tag(_0x28a3f6,_0x4cfb02,_0x596eae,_0x2f24b3){const _0x181022=a33_0x4fa9dc,_0x835da6={'lhPBr':function(_0xe9174c,_0x33b562){return _0xe9174c+_0x33b562;},'LnLKb':function(_0x35e609,_0x59fdd7){return _0x35e609+_0x59fdd7;},'iJhng':function(_0x3def9b,_0x4a9920){return _0x3def9b(_0x4a9920);},'Phozy':function(_0x41b999,_0x1f30df){return _0x41b999+_0x1f30df;},'aEwsF':function(_0x253273,_0x1d6296){return _0x253273+_0x1d6296;},'FjQln':function(_0x373a03,_0x59a6de){return _0x373a03+_0x59a6de;}},_0x27e5f1=_0x596eae?'/>':'>',_0x6e865=[];let _0x169e96;for(const _0x10e075 in _0x4cfb02){Object['prototype'][_0x181022(0x111)][_0x181022(0x18c)](_0x4cfb02,_0x10e075)&&_0x6e865['push'](_0x835da6[_0x181022(0x12d)](_0x835da6['lhPBr'](_0x835da6[_0x181022(0x109)](_0x10e075,'=\x22'),_0x835da6[_0x181022(0xbb)](escape,_0x4cfb02[_0x10e075])),'\x22'));}return _0x169e96=_0x835da6['LnLKb'](_0x835da6[_0x181022(0xe9)](_0x835da6['aEwsF']('<',_0x28a3f6),_0x6e865[_0x181022(0x98)]?_0x835da6[_0x181022(0x124)]('\x20',_0x6e865[_0x181022(0xed)]('\x20')):''),_0x27e5f1),_0x2f24b3&&(_0x169e96+=_0x835da6[_0x181022(0x16c)](_0x835da6[_0x181022(0x12d)](_0x835da6[_0x181022(0x109)](_0x2f24b3,'</'),_0x28a3f6),_0x27e5f1)),_0x169e96;}let xunitContent='';function xunitWrite(_0x4a7056){xunitContent+=_0x4a7056;}function xunitTest(_0x1d01fc,_0x969bf7){const _0x2dc2fa=a33_0x4fa9dc,_0x12ed85={'ipGOF':function(_0x16029c,_0x30656e){return _0x16029c/_0x30656e;},'yKLuR':function(_0x3dd811,_0x364a42){return _0x3dd811===_0x364a42;},'hkEgZ':_0x2dc2fa(0x101),'hKUQF':function(_0x1ac046,_0x218402){return _0x1ac046+_0x218402;},'GWAoO':function(_0x128bea,_0x44667d){return _0x128bea(_0x44667d);},'PYGEk':function(_0xb897d5,_0x236fff,_0x3e6ae5,_0x4ef822,_0x16ad8c){return _0xb897d5(_0x236fff,_0x3e6ae5,_0x4ef822,_0x16ad8c);},'BDfHs':_0x2dc2fa(0x9e),'eOdvB':function(_0x3c6999,_0xc3128f,_0xdc1ad9,_0x38c401,_0xbe2ba1){return _0x3c6999(_0xc3128f,_0xdc1ad9,_0x38c401,_0xbe2ba1);},'WgbzG':_0x2dc2fa(0xeb),'gasoY':function(_0x283bd0,_0x5c3b98){return _0x283bd0(_0x5c3b98);},'hRYlN':function(_0x248791,_0x25a49c){return _0x248791(_0x25a49c);},'diPgZ':function(_0x1b39c6,_0x5b1752,_0x58a6b2,_0x1c3173,_0x3984e8){return _0x1b39c6(_0x5b1752,_0x58a6b2,_0x1c3173,_0x3984e8);},'DGPRz':function(_0x2f641c,_0x477785,_0x3eb5c5,_0x1bc15d){return _0x2f641c(_0x477785,_0x3eb5c5,_0x1bc15d);},'wfFFn':'skipped','jmawM':function(_0x183790,_0x427e19,_0xeadd7c,_0x48a331){return _0x183790(_0x427e19,_0xeadd7c,_0x48a331);}};Base[_0x2dc2fa(0xf2)]=![];var _0x53844e={'classname':_0x1d01fc['fullTitle'],'name':_0x1d01fc[_0x2dc2fa(0x13a)],'time':_0x12ed85['ipGOF'](_0x1d01fc[_0x2dc2fa(0xf7)],0x3e8)||0x0,'platform':_0x969bf7};if(_0x12ed85[_0x2dc2fa(0x12c)](_0x1d01fc[_0x2dc2fa(0x105)],_0x12ed85[_0x2dc2fa(0x9f)])){var _0x4734cc=_0x1d01fc[_0x2dc2fa(0x184)],_0x2c83bb=!Base[_0x2dc2fa(0x100)]&&Base['showDiff'](_0x4734cc)?_0x12ed85[_0x2dc2fa(0xa3)]('\x0a',Base[_0x2dc2fa(0x185)](_0x4734cc[_0x2dc2fa(0x125)],_0x4734cc[_0x2dc2fa(0xa5)])):'';_0x12ed85['GWAoO'](xunitWrite,_0x12ed85[_0x2dc2fa(0x18a)](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,![],_0x12ed85[_0x2dc2fa(0x94)](tag,_0x12ed85[_0x2dc2fa(0xcb)],{},![],_0x12ed85[_0x2dc2fa(0xa3)](_0x12ed85['hKUQF'](_0x12ed85[_0x2dc2fa(0xa3)](_0x12ed85[_0x2dc2fa(0x11b)](escape,_0x4734cc[_0x2dc2fa(0x15b)]),_0x12ed85[_0x2dc2fa(0xd4)](escape,_0x2c83bb)),'\x0a'),_0x12ed85['GWAoO'](escape,_0x4734cc['stack'])))));}else _0x1d01fc[_0x2dc2fa(0x18b)]?_0x12ed85['hRYlN'](xunitWrite,_0x12ed85['diPgZ'](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,![],_0x12ed85[_0x2dc2fa(0x141)](tag,_0x12ed85[_0x2dc2fa(0x144)],{},!![]))):_0x12ed85[_0x2dc2fa(0x11b)](xunitWrite,_0x12ed85[_0x2dc2fa(0x15d)](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,!![]));};function a33_0x5d29(_0x2fd3b4,_0x3e8fe6){const _0x2e26b9=a33_0x2e26();return a33_0x5d29=function(_0x5d29fd,_0x358051){_0x5d29fd=_0x5d29fd-0x88;let _0x44aa94=_0x2e26b9[_0x5d29fd];return _0x44aa94;},a33_0x5d29(_0x2fd3b4,_0x3e8fe6);}function getStats(_0x5004f3){const _0x147c1e=a33_0x4fa9dc,_0x967c31={};_0x967c31['ZkVJi']='suite',_0x967c31[_0x147c1e(0xa9)]=_0x147c1e(0x108),_0x967c31[_0x147c1e(0x16d)]=_0x147c1e(0x101),_0x967c31[_0x147c1e(0xdd)]=_0x147c1e(0x11e);const _0x43a03c=_0x967c31,_0x30ebdf=Object[_0x147c1e(0x13b)](_0x5004f3);let _0x251fc8=0x0,_0xf69d74=0x0,_0x3aefb6=0x0,_0x3c10b0=0x0;const _0x38259f=new Set();_0x30ebdf[_0x147c1e(0xfa)](_0x44f9c0=>{const _0x5e080b=_0x147c1e;_0x5004f3[_0x44f9c0][_0x43a03c[_0x5e080b(0xdd)]][_0x5e080b(0xfa)](_0x3670ac=>{const _0x46cbd0=_0x5e080b;_0x38259f[_0x46cbd0(0x120)](_0x3670ac[_0x43a03c[_0x46cbd0(0xe4)]]),_0x251fc8++;switch(_0x3670ac[_0x46cbd0(0x105)]){case _0x43a03c[_0x46cbd0(0xa9)]:_0x3aefb6++;break;case _0x43a03c['XNTvr']:_0xf69d74++;break;default:_0x3c10b0++;}});});const _0x188ca4={};return _0x188ca4[_0x147c1e(0xea)]=_0x38259f[_0x147c1e(0xe1)],_0x188ca4[_0x147c1e(0xb1)]=_0x30ebdf,_0x188ca4[_0x147c1e(0x119)]=_0x251fc8,_0x188ca4[_0x147c1e(0xa1)]=_0xf69d74,_0x188ca4['testsPassed']=_0x3aefb6,_0x188ca4[_0x147c1e(0x15a)]=_0x3c10b0,_0x188ca4;}function errorJSON(_0x289685){const _0x47983c=a33_0x4fa9dc;var _0xd0bb0d={};return Object[_0x47983c(0x179)](_0x289685)['forEach'](function(_0x2c8bba){_0xd0bb0d[_0x2c8bba]=_0x289685[_0x2c8bba];},_0x289685),_0xd0bb0d;}function cleanCycles(_0x41b9a3){const _0x795389=a33_0x4fa9dc,_0x2cb640={};_0x2cb640[_0x795389(0x13d)]=function(_0x2ab8a3,_0x46b45b){return _0x2ab8a3===_0x46b45b;},_0x2cb640[_0x795389(0x10d)]=_0x795389(0x13f),_0x2cb640['amYkR']=function(_0x5a007a,_0x2dcb0a){return _0x5a007a!==_0x2dcb0a;},_0x2cb640['HSbJo']=function(_0x2312a2,_0x5905f1){return _0x2312a2!==_0x5905f1;},_0x2cb640[_0x795389(0x12f)]=function(_0x3e66b9,_0x2b595a){return _0x3e66b9+_0x2b595a;};const _0xea9c9b=_0x2cb640;var _0x2df08e=[];return JSON[_0x795389(0x106)](JSON[_0x795389(0x189)](_0x41b9a3,function(_0x5d5d7f,_0x4eb789){const _0x5c12d3=_0x795389;if(_0xea9c9b[_0x5c12d3(0x13d)](typeof _0x4eb789,_0xea9c9b[_0x5c12d3(0x10d)])&&_0xea9c9b[_0x5c12d3(0x15f)](_0x4eb789,null)){if(_0xea9c9b[_0x5c12d3(0x92)](_0x2df08e[_0x5c12d3(0x175)](_0x4eb789),-0x1))return _0xea9c9b['cAIgh']('',_0x4eb789);_0x2df08e[_0x5c12d3(0xab)](_0x4eb789);}return _0x4eb789;}));}function clean(_0x5d004e){const _0x542983=a33_0x4fa9dc,_0x192cd3={'Fxoqx':function(_0x2fef75,_0x4f07af){return _0x2fef75 instanceof _0x4f07af;},'HlpVG':function(_0x3b6dc8,_0x59df93){return _0x3b6dc8(_0x59df93);},'txSxe':function(_0x4a036f,_0x1d3cee){return _0x4a036f(_0x1d3cee);}};var _0x5ef92e=_0x5d004e[_0x542983(0x184)]||{};return _0x192cd3['Fxoqx'](_0x5ef92e,Error)&&(_0x5ef92e=_0x192cd3[_0x542983(0xfe)](errorJSON,_0x5ef92e)),{'title':_0x5d004e[_0x542983(0x13a)],'fullTitle':_0x5d004e[_0x542983(0x173)],'file':_0x5d004e[_0x542983(0xb9)],'duration':_0x5d004e[_0x542983(0xf7)],'currentRetry':_0x5d004e['currentRetry'],'speed':_0x5d004e[_0x542983(0x13c)],'err':_0x192cd3[_0x542983(0xbd)](cleanCycles,_0x5ef92e)};}function printStats(_0x2751bd,_0x45ce40=a33_0x4fa9dc(0x136),_0x1d4b98={}){const _0xf679f0=a33_0x4fa9dc,_0xe8ba6d={'VhDfi':function(_0x27427e,_0x5f54fe){return _0x27427e(_0x5f54fe);},'LkcuG':function(_0x5d2807,_0x24a89e){return _0x5d2807===_0x24a89e;},'GIDWe':_0xf679f0(0x108),'hItWF':_0xf679f0(0xe8),'FjCIJ':_0xf679f0(0x101),'ltFVS':_0xf679f0(0xa7),'VWift':_0xf679f0(0x11a),'tgBFD':_0xf679f0(0x11e),'odUCJ':function(_0x393038,_0xcc0f28){return _0x393038===_0xcc0f28;},'TGrwO':function(_0x4b4a22,_0x1dfaf3){return _0x4b4a22*_0x1dfaf3;},'BQPWh':function(_0x135ace,_0x2081a9,_0x567cdc){return _0x135ace(_0x2081a9,_0x567cdc);},'JfRhx':function(_0x252834,_0x5d89e9){return _0x252834>_0x5d89e9;},'GaITs':function(_0x3793e3){return _0x3793e3();},'IDryL':_0xf679f0(0x11d),'bXXUG':function(_0x4f6e3,_0x2220fc){return _0x4f6e3>_0x2220fc;},'yyGTD':'Setting\x20non\x20exit\x20code\x20for\x20failures','KRnco':'Printing\x20stats\x20of\x20tests','pUUwH':function(_0x184a57,_0x76cb54){return _0x184a57+_0x76cb54;},'uKIZA':'Total\x20Platforms:\x20','YFLWI':function(_0x23273e,_0x17e300){return _0x23273e+_0x17e300;},'JZufY':_0xf679f0(0xc7),'MlgPx':function(_0x521460,_0x1c47a1){return _0x521460+_0x1c47a1;},'MMlph':function(_0x163611,_0x36ea5d){return _0x163611+_0x36ea5d;},'yZZmn':function(_0x3041d7,_0x4a7af1){return _0x3041d7+_0x4a7af1;},'vhdWo':'Tests:\x20\x20\x20\x20\x20\x20\x20','pUrai':function(_0x2d7bd6,_0x2e4467){return _0x2d7bd6+_0x2e4467;},'zspzi':function(_0x5a1254,_0x460e15){return _0x5a1254+_0x460e15;},'jiTUQ':function(_0x13d4e3,_0x129f26){return _0x13d4e3+_0x129f26;},'GMbGE':_0xf679f0(0x91),'JINea':function(_0x4ee259,_0x4c3102){return _0x4ee259===_0x4c3102;},'ocYRx':_0xf679f0(0xc4),'Ovxos':_0xf679f0(0xc6),'AKHAP':_0xf679f0(0x14a),'XpwjT':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','fsgwJ':_0xf679f0(0x169),'BioEb':_0xf679f0(0xae),'VjXZb':function(_0x40f017,_0x52aee8){return _0x40f017||_0x52aee8;},'NewxV':function(_0x48677d,_0x5df113,_0x47b3f8,_0x301fd0){return _0x48677d(_0x5df113,_0x47b3f8,_0x301fd0);},'DqtoG':_0xf679f0(0x166),'jLXdt':function(_0x2be761,_0x860bff){return _0x2be761-_0x860bff;},'kWICV':function(_0x4720f8,_0x55eae5){return _0x4720f8/_0x55eae5;},'pGUFQ':_0xf679f0(0xaf),'dBWON':_0xf679f0(0x161),'VVEmI':'Couldn\x27t\x20write\x20xunit\x20result\x20to','rWMwi':_0xf679f0(0x97),'OQdgn':function(_0x12f08a,_0x385acb){return _0x12f08a===_0x385acb;},'IAvAZ':_0xf679f0(0xd3),'eEHxI':_0xf679f0(0xca)};if(_0xe8ba6d[_0xf679f0(0xef)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x147)]))return;const _0x319e92=0x0,_0x7518a4=()=>{const _0x2d56dd=_0xf679f0;return _0xe8ba6d[_0x2d56dd(0xd1)](Array,_0x319e92)[_0x2d56dd(0xed)]('\x20\x20');},{testSuites:_0x25fd28,platforms:_0x1b978a,totalTests:_0x490f89,testsFailed:_0x4e3e8d,testsPassed:_0x1d98c1,testsPending:_0x2aaa35}=_0xe8ba6d[_0xf679f0(0xd1)](getStats,_0x2751bd);_0xe8ba6d[_0xf679f0(0x148)](_0x4e3e8d,0x0)&&(logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x14c)]),process[_0xf679f0(0xec)]=Math['min'](_0x4e3e8d,0xff));logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x128)]);const _0x2a1d0c=''+_0xe8ba6d[_0xf679f0(0x14d)](chalk[_0xf679f0(0x159)](_0xe8ba6d['uKIZA']),_0x1b978a[_0xf679f0(0x98)]),_0x54db69=''+_0xe8ba6d['YFLWI'](chalk[_0xf679f0(0x159)](_0xe8ba6d[_0xf679f0(0x126)]),_0x25fd28),_0x235f6c=''+_0xe8ba6d[_0xf679f0(0xf8)](_0xe8ba6d[_0xf679f0(0x10b)](_0xe8ba6d[_0xf679f0(0xb7)](chalk['bold'](_0xe8ba6d[_0xf679f0(0x165)]),_0xe8ba6d[_0xf679f0(0x17f)](_0x4e3e8d,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0xc5)](_0x4e3e8d+'\x20failed')+',\x20':''),_0xe8ba6d['bXXUG'](_0x2aaa35,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0x16f)](_0x2aaa35+_0xf679f0(0x93))+',\x20':''),_0xe8ba6d[_0xf679f0(0x17f)](_0x1d98c1,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0x18f)](_0x1d98c1+'\x20passed')+',\x20':'')+_0x490f89+_0xf679f0(0x163);console[_0xf679f0(0xa0)](_0xe8ba6d['pUrai'](_0xe8ba6d[_0xf679f0(0xb7)](_0xe8ba6d['zspzi'](_0xe8ba6d[_0xf679f0(0xfb)](_0xe8ba6d[_0xf679f0(0xa2)](_0xe8ba6d['GMbGE'],_0x2a1d0c),'\x0a'),_0x54db69),'\x0a'),_0x235f6c));if(_0xe8ba6d[_0xf679f0(0xff)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x14f)])){const _0x1f90a5={},_0x48aa49={};_0x48aa49['testSuites']=_0x25fd28,_0x48aa49[_0xf679f0(0xb1)]=_0x1b978a,_0x48aa49['testsFailed']=_0x4e3e8d,_0x48aa49['testsPassed']=_0x1d98c1,_0x48aa49['testsPending']=_0x2aaa35,_0x1f90a5[_0xf679f0(0x188)]=_0x48aa49,_0x1b978a[_0xf679f0(0xfa)](_0x9352c5=>{const _0x430edf=_0xf679f0,_0x4a1fa0={'DCeSn':function(_0x2b3aa7,_0x150bf6){const _0x52cba9=a33_0x5d29;return _0xe8ba6d[_0x52cba9(0xef)](_0x2b3aa7,_0x150bf6);},'BpsKg':_0xe8ba6d[_0x430edf(0x181)],'SGSrR':_0xe8ba6d[_0x430edf(0x17c)],'IzGXN':function(_0x5d10c2,_0x17728b){return _0xe8ba6d['VhDfi'](_0x5d10c2,_0x17728b);},'oWgJA':function(_0x1a46af,_0x138714){const _0x31bd36=_0x430edf;return _0xe8ba6d[_0x31bd36(0xef)](_0x1a46af,_0x138714);},'wuFPP':_0xe8ba6d[_0x430edf(0xe7)],'EfJjP':_0xe8ba6d['ltFVS'],'QYqWa':function(_0xf8d7c9,_0x3f9e1d){const _0x5bf36e=_0x430edf;return _0xe8ba6d[_0x5bf36e(0xd1)](_0xf8d7c9,_0x3f9e1d);},'zjHWo':_0xe8ba6d[_0x430edf(0xe3)],'tGkjh':function(_0x4409a6,_0x218092){const _0x4befee=_0x430edf;return _0xe8ba6d[_0x4befee(0xd1)](_0x4409a6,_0x218092);}};_0x1f90a5[_0x9352c5]={'pending':[],'failures':[],'passes':[],'tests':_0x2751bd[_0x9352c5][_0xe8ba6d[_0x430edf(0x10e)]][_0x430edf(0x10f)](clean)},_0x2751bd[_0x9352c5][_0xe8ba6d[_0x430edf(0x10e)]]['forEach'](_0x4089d1=>{const _0x1c8986=_0x430edf;if(_0x4a1fa0['DCeSn'](_0x4089d1[_0x1c8986(0x105)],_0x4a1fa0[_0x1c8986(0x162)]))_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0x90)]][_0x1c8986(0xab)](_0x4a1fa0['IzGXN'](clean,_0x4089d1));else _0x4a1fa0[_0x1c8986(0x127)](_0x4089d1['state'],_0x4a1fa0[_0x1c8986(0x154)])?_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0xe5)]]['push'](_0x4a1fa0['QYqWa'](clean,_0x4089d1)):_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0x95)]]['push'](_0x4a1fa0[_0x1c8986(0xf1)](clean,_0x4089d1));});});if(_0x1d4b98[_0xf679f0(0xdc)])try{logger[_0xf679f0(0xa8)](_0xe8ba6d['Ovxos'],_0x1d4b98[_0xf679f0(0xdc)]),fs[_0xf679f0(0x164)](_0x1d4b98[_0xf679f0(0xdc)],JSON[_0xf679f0(0x189)](_0x1f90a5,null,0x3));}catch(_0x45f092){logger[_0xf679f0(0x135)](_0xe8ba6d[_0xf679f0(0xd7)],_0x1d4b98[_0xf679f0(0xdc)]),logger[_0xf679f0(0xa8)](_0x45f092);}else logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0xac)]),console[_0xf679f0(0xa0)](JSON[_0xf679f0(0x189)](_0x1f90a5,null,0x3));}else{if(_0xe8ba6d[_0xf679f0(0xad)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x9d)])){let _0x31393b;const _0x38bca3=_0xe8ba6d[_0xf679f0(0x16b)];_0x1d4b98&&(_0x31393b=_0x1d4b98[_0xf679f0(0x182)]);_0x31393b=_0xe8ba6d[_0xf679f0(0x115)](_0x31393b,_0x38bca3);let _0x1a3713=0x0,_0x39e3aa=0x0,_0x2210df=0x0,_0x483275=0x0;_0x1b978a[_0xf679f0(0xfa)](_0x22abff=>{const _0x517593=_0xf679f0;_0x2751bd[_0x22abff][_0xe8ba6d[_0x517593(0x10e)]]['forEach'](_0xd1ea42=>{const _0x269b49=_0x517593;if(_0xe8ba6d[_0x269b49(0xef)](_0xd1ea42['state'],_0xe8ba6d['GIDWe']))_0x1a3713++;else _0xe8ba6d['odUCJ'](_0xd1ea42[_0x269b49(0x105)],_0xe8ba6d['FjCIJ'])&&_0x39e3aa++;_0x2210df++,_0x483275+=_0xe8ba6d[_0x269b49(0xc1)](_0xd1ea42[_0x269b49(0xf7)],0x1);});}),_0xe8ba6d[_0xf679f0(0xd1)](xunitWrite,_0xe8ba6d[_0xf679f0(0xcf)](tag,_0xe8ba6d[_0xf679f0(0xcd)],{'name':_0x31393b,'tests':_0x2210df,'failures':0x0,'errors':_0x39e3aa,'skipped':_0xe8ba6d['jLXdt'](_0xe8ba6d[_0xf679f0(0x156)](_0x2210df,_0x39e3aa),_0x1a3713),'timestamp':new Date()[_0xf679f0(0x9c)](),'time':_0xe8ba6d[_0xf679f0(0x190)](_0x483275,0x3e8)||0x0},![])),_0x1b978a[_0xf679f0(0xfa)](_0x821b82=>{const _0x101569=_0xf679f0;_0x2751bd[_0x821b82][_0xe8ba6d['tgBFD']][_0x101569(0xfa)](_0x2c6b56=>{const _0x4497e5=_0x101569;_0xe8ba6d[_0x4497e5(0x174)](xunitTest,_0x2c6b56,_0x821b82);});}),_0xe8ba6d[_0xf679f0(0xd1)](xunitWrite,_0xe8ba6d[_0xf679f0(0xf4)]);if(_0x1d4b98[_0xf679f0(0xdc)])try{logger[_0xf679f0(0xa8)](_0xe8ba6d['dBWON'],_0x1d4b98['output']),fs['writeFileSync'](_0x1d4b98['output'],xunitContent);}catch(_0x2754b6){logger['error'](_0xe8ba6d[_0xf679f0(0x14b)],_0x1d4b98[_0xf679f0(0xdc)]),logger[_0xf679f0(0xa8)](_0x2754b6);}else logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x134)]),console[_0xf679f0(0xa0)](xunitContent);}else{if(_0xe8ba6d['OQdgn'](_0x4e3e8d,0x0))return;console['log'](),logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x151)]),console[_0xf679f0(0xa0)](chalk[_0xf679f0(0x159)][_0xf679f0(0x17e)](_0xe8ba6d[_0xf679f0(0xfc)])),_0x1b978a[_0xf679f0(0xfa)](_0x275bd1=>{const _0xe5af80=_0xf679f0,_0xfd15f5={'xdFTr':function(_0x213b85,_0x2658e3){return _0xe8ba6d['odUCJ'](_0x213b85,_0x2658e3);},'pMuMR':_0xe8ba6d[_0xe5af80(0xe7)]},_0x4a63b5=[];_0x2751bd[_0x275bd1][_0xe8ba6d[_0xe5af80(0x10e)]][_0xe5af80(0xfa)](_0x271ff4=>{const _0x116b65=_0xe5af80;_0xfd15f5['xdFTr'](_0x271ff4[_0x116b65(0x105)],_0xfd15f5[_0x116b65(0xaa)])&&(_0x271ff4['titlePath']=()=>_0x271ff4['titlePathV'],_0x4a63b5['push'](_0x271ff4));}),_0xe8ba6d[_0xe5af80(0x17f)](_0x4a63b5[_0xe5af80(0x98)],0x0)&&(Base[_0xe5af80(0x180)](),Base['consoleLog'](_0xe8ba6d[_0xe5af80(0x103)](_0x7518a4),chalk[_0xe5af80(0x159)]['bgBlueBright'](_0x275bd1)),Base['list'](_0x4a63b5));});}}}async function run(_0x3ec089,_0x26f5f9,_0x55f7e1){const _0x2b6979=a33_0x4fa9dc,_0x4f9bec={'uXjZp':function(_0x4e8a7a,_0x1cd877,_0x4c014b,_0x5d02a8){return _0x4e8a7a(_0x1cd877,_0x4c014b,_0x5d02a8);},'iCCOZ':_0x2b6979(0x104),'foNVR':_0x2b6979(0x171),'jNMfP':_0x2b6979(0x116),'aivrP':'mocha','SuTJD':function(_0x241c18,_0x4a8520){return _0x241c18!=_0x4a8520;},'UgQhG':_0x2b6979(0x139),'eSvbn':_0x2b6979(0x10a),'goGjY':'test','rGPqO':_0x2b6979(0x8b),'fLEcT':function(_0x2b1b27,_0x306601){return _0x2b1b27(_0x306601);},'rSYSP':function(_0x320196,_0x21ab51,_0x4b06b9){return _0x320196(_0x21ab51,_0x4b06b9);},'utkWw':_0x2b6979(0xce),'PcEfN':_0x2b6979(0xc9),'GWhEZ':_0x2b6979(0xf3),'HrdSm':'includeEncodedExtension','CKyIN':_0x2b6979(0xbe),'XjlYR':_0x2b6979(0x117),'VYRqc':function(_0x49c99d,_0x226898){return _0x49c99d*_0x226898;},'xEIhM':function(_0x57ea5f,_0x272066){return _0x57ea5f!==_0x272066;}};helper[_0x2b6979(0xe0)](_0x55f7e1[_0x2b6979(0x123)],_0x3ec089),await _0x55f7e1[_0x2b6979(0x160)](_0x3ec089);helper[_0x2b6979(0xf0)]()?await helper['handleApp'](_0x55f7e1[_0x2b6979(0x12b)]):await _0x55f7e1[_0x2b6979(0x142)]();const _0x546c2a=[];let _0x29cb10=[];if(!_0x55f7e1[_0x2b6979(0x12b)])return;!helper['isUndefined'](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2b6979(0x189)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)]));const _0x4d2f0f=await TestHubHandler[_0x2b6979(0xd2)](FRAMEWORKS[_0x2b6979(0x131)],_0x55f7e1);_0x4f9bec[_0x2b6979(0x153)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x152)],null)&&(process[_0x2b6979(0x88)][_0x2b6979(0x170)]=_0x55f7e1[_0x2b6979(0x12b)]['testObservability']);!helper[_0x2b6979(0x157)](_0x55f7e1[_0x2b6979(0x12b)]['accessibility'])&&(process[_0x2b6979(0x88)][_0x2b6979(0x10c)]=_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xa4)]);const {extension:extension=['js',_0x4f9bec[_0x2b6979(0x15e)],_0x4f9bec['eSvbn']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4f9bec[_0x2b6979(0x12e)]]}=_0x3ec089,_0x255561={..._0x3ec089};_0x255561['rootHooks']=null;const _0x15b910=_0x255561;let _0x166c35;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x22c643=process[_0x2b6979(0x88)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x2b6979(0x157)](_0x55f7e1[_0x2b6979(0xf9)])&&_0x55f7e1[_0x2b6979(0xf9)][_0x2b6979(0x8e)](_0x4f9bec[_0x2b6979(0xb4)])&&(_0x22c643=_0x55f7e1[_0x2b6979(0xf9)]['get'](_0x4f9bec[_0x2b6979(0xb4)])),_0x166c35=testOpsHelper[_0x2b6979(0xb0)](_0x22c643);}if(helper[_0x2b6979(0x157)](_0x166c35)){const _0x931ddc={};_0x931ddc[_0x2b6979(0xc3)]=ignore,_0x931ddc[_0x2b6979(0xba)]=extension,_0x931ddc[_0x2b6979(0xb9)]=file,_0x931ddc[_0x2b6979(0x133)]=recursive,_0x931ddc['sort']=sort,_0x931ddc['spec']=spec,_0x166c35=_0x4f9bec[_0x2b6979(0x8d)](collectFiles,_0x931ddc),_0x4f9bec[_0x2b6979(0x132)](nestedKeyValue,_0x166c35,[_0x4f9bec['utkWw']])&&(_0x166c35=_0x166c35[_0x2b6979(0xce)]);}const _0x1502c9=helper[_0x2b6979(0x176)](_0x55f7e1[_0x2b6979(0x12b)]);!helper[_0x2b6979(0x113)](_0x1502c9)&&helper[_0x2b6979(0x122)](_0x1502c9[_0x2b6979(0x183)])&&(_0x15b910[_0x2b6979(0x15c)]=_0x1502c9[_0x2b6979(0x183)]['maxRetries']);if(!helper[_0x2b6979(0xf0)]()){const _0x187f6f=0x1,_0x490174={..._0x15b910};_0x490174['spec']=[..._0x166c35],_0x546c2a[_0x2b6979(0xab)]({'mochaOpts':_0x490174,'configuration':{'platform':os[_0x2b6979(0x177)]()}});if(_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xa4)]){const _0x59964d={};_0x59964d['accessibility']=!![];const _0x437ba0=_0x59964d;_0x4f9bec[_0x2b6979(0x153)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)],null)&&(_0x437ba0['accessibilityOptions']=_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)],delete _0x437ba0[_0x2b6979(0x143)][_0x4f9bec[_0x2b6979(0x130)]],delete _0x437ba0[_0x2b6979(0x143)][_0x4f9bec[_0x2b6979(0x137)]],delete _0x437ba0['accessibilityOptions'][_0x4f9bec[_0x2b6979(0xc0)]]);const _0x2abcf9={};_0x2abcf9[_0x2b6979(0xa6)]=_0x437ba0,_0x546c2a[0x0][_0x2b6979(0xb3)]['capability']=_0x2abcf9;}logger[_0x2b6979(0xb5)](_0x4f9bec[_0x2b6979(0x102)]),logger['info'](_0x4f9bec[_0x2b6979(0x17a)]),_0x4f9bec[_0x2b6979(0x8c)](parallelTestRun,_0x546c2a,_0x187f6f,_0x55f7e1)['then'](_0x19ea00=>{const _0x2f2083=_0x2b6979;PerformanceTester['start'](PerformanceEvents[_0x2f2083(0x168)]),_0x4f9bec[_0x2f2083(0x8c)](printStats,_0x19ea00,_0x3ec089['reporter'],_0x3ec089[_0x2f2083(0xc2)]||_0x3ec089[_0x4f9bec[_0x2f2083(0x118)]]);})[_0x2b6979(0x11c)](()=>{const _0x200c3f=_0x2b6979;PerformanceTester[_0x200c3f(0x17b)](PerformanceEvents[_0x200c3f(0x168)]);try{const {browserstackFolderPath:_0x261d56,tcgConfigPath:_0x3f408c}=helper[_0x200c3f(0x14e)]();fs[_0x200c3f(0xbf)](_0x3f408c),fs[_0x200c3f(0x8f)](_0x261d56);}catch(_0x50358b){logger['debug'](_0x4f9bec[_0x200c3f(0x121)],_0x50358b);}try{utilities['fireFunnelTestEvent'](_0x4f9bec[_0x200c3f(0x11f)],{},_0x55f7e1['config'],_0x55f7e1[_0x200c3f(0x123)]);}catch(_0xdef6a4){logger['debug'](_0x200c3f(0xb6)+_0xdef6a4[_0x200c3f(0x146)]);}try{helper[_0x200c3f(0xb2)]();}catch(_0x8f0266){logger[_0x200c3f(0xa8)](_0x200c3f(0xe6)+_0x8f0266);}testOpsHelper[_0x200c3f(0xd8)]();});}else{const _0x4a8c89=helper[_0x2b6979(0x99)](_0x55f7e1[_0x2b6979(0x12b)]);let _0x3836b3=helper[_0x2b6979(0x8a)](_0x55f7e1['config']);_0x29cb10=helper[_0x2b6979(0x167)](_0x55f7e1['config'],_0x4a8c89,constants[_0x2b6979(0x110)][_0x2b6979(0x131)]);helper[_0x2b6979(0xb8)]()[_0x2b6979(0xd6)]&&(_0x3836b3=centralScannerConstants[_0x2b6979(0x16e)]);let _0x56914c;const _0x337e59=_0x55f7e1[_0x2b6979(0x12b)]['parallelsPerPlatform']||helper[_0x2b6979(0x149)](_0x3ec089,_0x26f5f9,_0x55f7e1['config'],constants[_0x2b6979(0x110)][_0x2b6979(0x131)])||0x1;helper[_0x2b6979(0x17d)](_0x55f7e1['config'])?_0x56914c=_0x4f9bec[_0x2b6979(0x9a)](_0x55f7e1['config']['platforms']['length'],_0x337e59):_0x56914c=_0x337e59;const _0x487d98=_0x4f9bec[_0x2b6979(0x8d)](getPercyOptions,_0x55f7e1[_0x2b6979(0x12b)]);if(_0x4f9bec[_0x2b6979(0x138)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xd0)],0x1))_0x166c35[_0x2b6979(0xfa)](_0x2fd523=>{const _0x55fb61=_0x2b6979,_0x409bdc=[];_0x29cb10[_0x55fb61(0xfa)]((_0x20c732,_0x3a0880)=>{const _0x5cfa85=_0x55fb61,_0x353e85={};_0x353e85[_0x5cfa85(0x136)]=[_0x2fd523],_0x409bdc[_0x5cfa85(0xab)]({'mochaOpts':Object[_0x5cfa85(0x186)]({},_0x15b910,_0x353e85),'configuration':{'server':_0x3836b3,'capability':_0x20c732,'proxySettings':_0x55f7e1['config'][_0x5cfa85(0x13e)],'platform':helper[_0x5cfa85(0x107)](_0x20c732),'browserStackLogLevel':_0x55f7e1[_0x5cfa85(0x12b)]['logLevel'],'platformIndex':_0x3a0880,'browserStackPercyOptions':_0x487d98,'platformCaps':Object[_0x5cfa85(0x186)]({'index':_0x3a0880},_0x55f7e1[_0x5cfa85(0x12b)][_0x5cfa85(0xb1)][_0x3a0880])}});}),_0x546c2a[_0x55fb61(0xab)](..._0x409bdc);});else{const _0x42aea2=[];_0x29cb10[_0x2b6979(0xfa)]((_0x128655,_0x4b5a5d)=>{const _0x1b59a0=_0x2b6979;let _0x4169b5=Object[_0x1b59a0(0x186)]({},_0x15b910);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x1b59a0(0x187)]()&&(_0x4169b5={..._0x4169b5,'spec':[..._0x166c35]}),_0x42aea2[_0x1b59a0(0xab)]({'mochaOpts':_0x4169b5,'configuration':{'server':_0x3836b3,'capability':_0x128655,'proxySettings':_0x55f7e1[_0x1b59a0(0x12b)][_0x1b59a0(0x13e)],'platform':helper[_0x1b59a0(0x107)](_0x128655),'browserStackLogLevel':_0x55f7e1[_0x1b59a0(0x12b)]['logLevel'],'platformIndex':_0x4b5a5d,'browserStackPercyOptions':_0x487d98,'platformCaps':Object['assign']({'index':_0x4b5a5d},_0x55f7e1[_0x1b59a0(0x12b)][_0x1b59a0(0xb1)][_0x4b5a5d])}});}),_0x546c2a['push'](..._0x42aea2);}logger[_0x2b6979(0xb5)](_0x2b6979(0xe2)+_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xb1)][_0x2b6979(0x98)]+'\x20platforms'),logger['info'](_0x4f9bec[_0x2b6979(0x17a)]);let _0x35fed7;_0x4f9bec[_0x2b6979(0x8c)](parallelTestRun,_0x546c2a,_0x56914c,_0x55f7e1)['then'](_0x48c35a=>{const _0x407ee2=_0x2b6979;PerformanceTester[_0x407ee2(0x17b)](PerformanceEvents['SDK_CLEANUP']),_0x35fed7=_0x48c35a,_0x4f9bec['uXjZp'](printStats,_0x48c35a,_0x3ec089['reporter'],_0x3ec089[_0x407ee2(0xc2)]||_0x3ec089[_0x4f9bec[_0x407ee2(0x118)]]);})[_0x2b6979(0x11c)](async()=>{const _0x2be29b=_0x2b6979;PerformanceTester[_0x2be29b(0x17b)](PerformanceEvents[_0x2be29b(0x168)]),_0x55f7e1[_0x2be29b(0xc8)]=helper['getErrorMessageFromResults'](_0x35fed7,_0x4f9bec[_0x2be29b(0x18d)]),await utilities[_0x2be29b(0xfd)](_0x55f7e1),testOpsHelper[_0x2be29b(0xd8)]();});}}module[a33_0x4fa9dc(0xd5)]=run;
|
|
2
|
+
'use strict';const a33_0x113849=a33_0x3b84;(function(_0x47e0c1,_0x3bc922){const _0x2ea2fd=a33_0x3b84,_0x23ad7b=_0x47e0c1();while(!![]){try{const _0x1410b7=-parseInt(_0x2ea2fd(0xf3))/0x1*(parseInt(_0x2ea2fd(0x1a6))/0x2)+-parseInt(_0x2ea2fd(0x134))/0x3*(-parseInt(_0x2ea2fd(0x107))/0x4)+-parseInt(_0x2ea2fd(0xde))/0x5*(-parseInt(_0x2ea2fd(0x193))/0x6)+parseInt(_0x2ea2fd(0xd8))/0x7*(parseInt(_0x2ea2fd(0x186))/0x8)+parseInt(_0x2ea2fd(0x156))/0x9*(-parseInt(_0x2ea2fd(0xfe))/0xa)+-parseInt(_0x2ea2fd(0x177))/0xb+parseInt(_0x2ea2fd(0x1bf))/0xc;if(_0x1410b7===_0x3bc922)break;else _0x23ad7b['push'](_0x23ad7b['shift']());}catch(_0x405b18){_0x23ad7b['push'](_0x23ad7b['shift']());}}}(a33_0x4d30,0xe2979));const chalk=require(a33_0x113849(0x1ce)),logger=require(a33_0x113849(0x1a0))[a33_0x113849(0x185)],helper=require(a33_0x113849(0x14c)),utilities=require(a33_0x113849(0x12a)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a33_0x113849(0x17a)),{requireModule,nestedKeyValue}=require(a33_0x113849(0x14c)),{getPercyOptions}=require(a33_0x113849(0x188)),Base=requireModule('mocha/lib/reporters/base.js',a33_0x113849(0x1af)),collectFiles=requireModule('mocha/lib/cli/collect-files.js','mocha'),constants=require(a33_0x113849(0x1c3)),PerformanceTester=require(a33_0x113849(0xdf)),PerformanceEvents=require('../../helpers/performance/constants')[a33_0x113849(0xfd)],centralScannerConstants=require('../../helpers/central-scanner/constants'),{FRAMEWORKS}=require(a33_0x113849(0x180)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function tag(_0x6ebb8a,_0x88578b,_0x4041b8,_0x760af9){const _0xa0d0b2=a33_0x113849,_0x527c50={'IQGnN':function(_0x3fa4e7,_0x5117f4){return _0x3fa4e7+_0x5117f4;},'Iugpt':function(_0x2ec748,_0x32c728){return _0x2ec748+_0x32c728;},'hOjdp':function(_0x3af7a4,_0x20bb27){return _0x3af7a4+_0x20bb27;},'mhCLS':function(_0x4c93fe,_0x29749e){return _0x4c93fe(_0x29749e);},'PFnXs':function(_0x53ca04,_0x2fdb89){return _0x53ca04+_0x2fdb89;},'eAukb':function(_0x2db2e6,_0xe10f36){return _0x2db2e6+_0xe10f36;},'lVSNc':function(_0x82fa92,_0x2bef7e){return _0x82fa92+_0x2bef7e;},'yAARf':function(_0x243fd3,_0x26685f){return _0x243fd3+_0x26685f;}},_0x4fb4eb=_0x4041b8?'/>':'>',_0x42dab9=[];let _0x142adc;for(const _0x2292ba in _0x88578b){Object['prototype'][_0xa0d0b2(0x173)][_0xa0d0b2(0x1bb)](_0x88578b,_0x2292ba)&&_0x42dab9['push'](_0x527c50['IQGnN'](_0x527c50[_0xa0d0b2(0x19b)](_0x527c50[_0xa0d0b2(0xe8)](_0x2292ba,'=\x22'),_0x527c50[_0xa0d0b2(0x118)](escape,_0x88578b[_0x2292ba])),'\x22'));}return _0x142adc=_0x527c50[_0xa0d0b2(0x128)](_0x527c50['eAukb'](_0x527c50[_0xa0d0b2(0x19b)]('<',_0x6ebb8a),_0x42dab9['length']?_0x527c50[_0xa0d0b2(0xe8)]('\x20',_0x42dab9['join']('\x20')):''),_0x4fb4eb),_0x760af9&&(_0x142adc+=_0x527c50[_0xa0d0b2(0x19b)](_0x527c50[_0xa0d0b2(0xf1)](_0x527c50[_0xa0d0b2(0x117)](_0x760af9,'</'),_0x6ebb8a),_0x4fb4eb)),_0x142adc;}let xunitContent='';function xunitWrite(_0x4b602d){xunitContent+=_0x4b602d;}function a33_0x4d30(){const _0x1e9be8=['stats','6cYMxeQ','rerunTests','logLevel','assign','lEVdp','lAXBc','titlePath','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','Iugpt','log','notifyUpdate','state','IDjZt','../../helpers/logger','Vnnqb','env','setUserConfigPath','Zqtyx','testsuite','2QxGInu','testsFailed','fullTitle','useColors','AuqMl','bstack:options','setupTCGAuth','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','ymfjO','mocha','isPending','ZLDUb','yBWUA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','FRAMEWORKS','speed','getOwnPropertyNames','xXPGA','bZsMl','ophFz','maxRetries','call','SJOiq','tFfNa','szROj','33271296qkJVrP','getHubUrl','\x20skipped','fMqgc','../utils/constants','object','start','stringify','uBiaN','red','testsPassed','bheQm','add','RrCzj','then','chalk','BROWSERSTACK_GRR_US_HUB_URL','exitCode','TQKvM','qctAp','showDiff','cliConfig','getPlatformName','Couldn\x27t\x20write\x20json\x20result\x20to','retries','\x20total','iHriK','WXkTL','suite','7303891LdYSkq','cjs','ugOfZ','size','uigZt','zzjmK','1919030YPHZKo','../../helpers/performance/performance-tester','consoleLog','Writing\x20xunit\x20result\x20to\x20file','BROWSERSTACK_TEST_OBSERVABILITY_YML','has','IuDBU','FDCEH','isUndefined','mrVAV','hOjdp','central_scanner','XWWuJ','LAzRC','eZjQD','finally','length','hideDiff','generateDiff','lVSNc','ekRPN','1713029kOhBQl','handleApp','EmcpC','LcjdP','get','nCWKq','finalExecution','xunit','includeTagsInTestingScope','json','EVENTS','158960RtAiWg','wBoCB','accessibility','sort','uZXmY','mxlLW','FlphX','nZuuW','aqQnq','103280ePFyaZ','toUTCString','config','testcase','orraF','failures','VLtkh','indexOf','bgBlueBright','PmtGw','Tests:\x20\x20\x20\x20\x20\x20\x20','nUGcl','IaNRg','file','isNotUndefined','skipped','yAARf','mhCLS','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','rmdirSync','cuKIe','getTCGConfigFilePaths','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','qWGyP','map','Pejql','HgFKV','UKdFw','useW3C','oNKAC','\x20passed','failed','PFnXs','recursive','../../helpers/utilities','reporterOptions','title','platforms','UkCBN','MOCHA','printBuildLink','Mocha\x20Tests','czPak','dbsJD','15HmjYct','reporter','egnag','tldkn','parse','BDlUi','WgbTS','expected','ljvNL','isTestObservabilitySession','YysBW','parallelsPerPlatform','mcwfJ','mSsHj','capability','XSNQd','YGcnM','min','shouldReRunObservabilityTests','prepareCapabilities','launchBuild','suiteName','error','BROWSERSTACK_RERUN_TESTS','../../helpers/helper','passed','getUserWorkerCount','nYKNa','totalTests','NwjGu','spec','extension','forEach','err','54nWXtZN','lpjuL','errorMessage','testsPending','test','****\x20FAILURES\x20****','results','ZBfzu','reporter-option','bold','</testsuite>','giEUO','QRZrn','push','message','stack','duration','EAbQq','Vbtcg','\x0a\x0a\x0a','debug','writeFileSync','TjCFP','yellow','retryTestsOnFailure','\x20failed','proxySettings','fireFunnelTestEvent','VfGRd','hasOwnProperty','failure','parseFileNames','DftVn','17516411wnEYty','THDtH','SDK_CLEANUP','../test-runner','getCentralUser','info','unlinkSync','parseTestOrchestrationOptions','EvskO','../../helpers/test-observability/constants','initialize','testObservability','lDWHe','output','winstonLogger','8drRjQw','files','../../helpers/percy/utils','rootHooks','list','Nhadg','Listing\x20all\x20the\x20failures','qaYuG','iKLrW','Running\x20your\x20mocha\x20tests\x20across\x20','testSuites','PKbfx'];a33_0x4d30=function(){return _0x1e9be8;};return a33_0x4d30();}function a33_0x3b84(_0x457659,_0x459727){const _0x4d3009=a33_0x4d30();return a33_0x3b84=function(_0x3b84cc,_0x177326){_0x3b84cc=_0x3b84cc-0xd0;let _0x3a2530=_0x4d3009[_0x3b84cc];return _0x3a2530;},a33_0x3b84(_0x457659,_0x459727);}function xunitTest(_0x506777,_0x46378f){const _0x1ed7bc=a33_0x113849,_0x52bbf7={'zzjmK':function(_0x611972,_0xf7126a){return _0x611972/_0xf7126a;},'ophFz':function(_0x204e1a,_0x5086b1){return _0x204e1a===_0x5086b1;},'QRZrn':_0x1ed7bc(0x127),'SJOiq':function(_0x906058,_0x3e8013){return _0x906058+_0x3e8013;},'IaNRg':function(_0x5f323d,_0x5ce4dc){return _0x5f323d(_0x5ce4dc);},'fMqgc':function(_0x3c1374,_0x29a4bc,_0x5a0d29,_0x23d94b,_0x159641){return _0x3c1374(_0x29a4bc,_0x5a0d29,_0x23d94b,_0x159641);},'wBoCB':_0x1ed7bc(0x10a),'hYXhe':_0x1ed7bc(0x174),'iHriK':function(_0x50149f,_0x349fd2){return _0x50149f+_0x349fd2;},'IuDBU':function(_0x144496,_0x5191f1){return _0x144496(_0x5191f1);},'opiZe':function(_0x29fffa,_0x3d83dc,_0x12d10f,_0x57efb7,_0x206c93){return _0x29fffa(_0x3d83dc,_0x12d10f,_0x57efb7,_0x206c93);},'rhSOG':function(_0x48a7ca,_0x104d37,_0x58c6fd,_0x3da7a2){return _0x48a7ca(_0x104d37,_0x58c6fd,_0x3da7a2);},'bZsMl':_0x1ed7bc(0x116),'HgFKV':function(_0x36f558,_0x385c7b){return _0x36f558(_0x385c7b);},'qaYuG':function(_0x279def,_0x4514ab,_0x5e47ea,_0x16a178){return _0x279def(_0x4514ab,_0x5e47ea,_0x16a178);}};Base[_0x1ed7bc(0x1a9)]=![];var _0x4a870b={'classname':_0x506777[_0x1ed7bc(0x1a8)],'name':_0x506777[_0x1ed7bc(0x12c)],'time':_0x52bbf7[_0x1ed7bc(0xdd)](_0x506777[_0x1ed7bc(0x166)],0x3e8)||0x0,'platform':_0x46378f};if(_0x52bbf7[_0x1ed7bc(0x1b9)](_0x506777[_0x1ed7bc(0x19e)],_0x52bbf7[_0x1ed7bc(0x162)])){var _0x2adc2a=_0x506777[_0x1ed7bc(0x155)],_0x22b34c=!Base[_0x1ed7bc(0xef)]&&Base[_0x1ed7bc(0x1d3)](_0x2adc2a)?_0x52bbf7[_0x1ed7bc(0x1bc)]('\x0a',Base[_0x1ed7bc(0xf0)](_0x2adc2a['actual'],_0x2adc2a[_0x1ed7bc(0x13b)])):'';_0x52bbf7['IaNRg'](xunitWrite,_0x52bbf7['fMqgc'](tag,_0x52bbf7['wBoCB'],_0x4a870b,![],_0x52bbf7[_0x1ed7bc(0x1c2)](tag,_0x52bbf7['hYXhe'],{},![],_0x52bbf7[_0x1ed7bc(0x1bc)](_0x52bbf7[_0x1ed7bc(0xd5)](_0x52bbf7[_0x1ed7bc(0x1bc)](_0x52bbf7[_0x1ed7bc(0x113)](escape,_0x2adc2a[_0x1ed7bc(0x164)]),_0x52bbf7[_0x1ed7bc(0xe4)](escape,_0x22b34c)),'\x0a'),_0x52bbf7[_0x1ed7bc(0xe4)](escape,_0x2adc2a[_0x1ed7bc(0x165)])))));}else _0x506777[_0x1ed7bc(0x1b0)]?_0x52bbf7[_0x1ed7bc(0x113)](xunitWrite,_0x52bbf7['opiZe'](tag,_0x52bbf7[_0x1ed7bc(0xff)],_0x4a870b,![],_0x52bbf7['rhSOG'](tag,_0x52bbf7[_0x1ed7bc(0x1b8)],{},!![]))):_0x52bbf7[_0x1ed7bc(0x122)](xunitWrite,_0x52bbf7[_0x1ed7bc(0x18d)](tag,_0x52bbf7[_0x1ed7bc(0xff)],_0x4a870b,!![]));};function getStats(_0x1a238d){const _0x2d481f=a33_0x113849,_0x26679c={};_0x26679c[_0x2d481f(0x13e)]=_0x2d481f(0xd7),_0x26679c['Pejql']=_0x2d481f(0x14d),_0x26679c[_0x2d481f(0xf5)]=_0x2d481f(0x127),_0x26679c[_0x2d481f(0x18e)]=_0x2d481f(0x15c);const _0x237beb=_0x26679c,_0x1ba569=Object['keys'](_0x1a238d);let _0x198c04=0x0,_0x10a454=0x0,_0x2eb90b=0x0,_0x183236=0x0;const _0xba54cf=new Set();_0x1ba569[_0x2d481f(0x154)](_0x553bf2=>{const _0x19e9c0=_0x2d481f;_0x1a238d[_0x553bf2][_0x237beb[_0x19e9c0(0x18e)]][_0x19e9c0(0x154)](_0x595c00=>{const _0x741486=_0x19e9c0;_0xba54cf[_0x741486(0x1cb)](_0x595c00[_0x237beb[_0x741486(0x13e)]]),_0x198c04++;switch(_0x595c00[_0x741486(0x19e)]){case _0x237beb[_0x741486(0x121)]:_0x2eb90b++;break;case _0x237beb[_0x741486(0xf5)]:_0x10a454++;break;default:_0x183236++;}});});const _0xce5f9f={};return _0xce5f9f[_0x2d481f(0x190)]=_0xba54cf[_0x2d481f(0xdb)],_0xce5f9f[_0x2d481f(0x12d)]=_0x1ba569,_0xce5f9f[_0x2d481f(0x150)]=_0x198c04,_0xce5f9f['testsFailed']=_0x10a454,_0xce5f9f[_0x2d481f(0x1c9)]=_0x2eb90b,_0xce5f9f[_0x2d481f(0x159)]=_0x183236,_0xce5f9f;}function errorJSON(_0x50fe99){const _0x408148=a33_0x113849;var _0x2847a1={};return Object[_0x408148(0x1b6)](_0x50fe99)[_0x408148(0x154)](function(_0x4cf5f6){_0x2847a1[_0x4cf5f6]=_0x50fe99[_0x4cf5f6];},_0x50fe99),_0x2847a1;}function cleanCycles(_0x55977e){const _0x421320=a33_0x113849,_0xe11d03={};_0xe11d03[_0x421320(0xf6)]=function(_0x485944,_0x33c958){return _0x485944===_0x33c958;},_0xe11d03['nYKNa']=_0x421320(0x1c4),_0xe11d03['Vbtcg']=function(_0x22ef71,_0xdcbbe3){return _0x22ef71!==_0xdcbbe3;},_0xe11d03[_0x421320(0x13a)]=function(_0x13d7b9,_0x3f23bb){return _0x13d7b9!==_0x3f23bb;},_0xe11d03[_0x421320(0x1c7)]=function(_0x5913c6,_0xfc4a37){return _0x5913c6+_0xfc4a37;};const _0x20ba72=_0xe11d03;var _0x2dc9ea=[];return JSON[_0x421320(0x138)](JSON['stringify'](_0x55977e,function(_0x3fb83a,_0x1f8e53){const _0x280f97=_0x421320;if(_0x20ba72['LcjdP'](typeof _0x1f8e53,_0x20ba72[_0x280f97(0x14f)])&&_0x20ba72[_0x280f97(0x168)](_0x1f8e53,null)){if(_0x20ba72[_0x280f97(0x13a)](_0x2dc9ea[_0x280f97(0x10e)](_0x1f8e53),-0x1))return _0x20ba72[_0x280f97(0x1c7)]('',_0x1f8e53);_0x2dc9ea[_0x280f97(0x163)](_0x1f8e53);}return _0x1f8e53;}));}function clean(_0x5aa2cf){const _0x27e202=a33_0x113849,_0x2aadfd={'oAAaG':function(_0x4eba64,_0x5d65ff){return _0x4eba64 instanceof _0x5d65ff;},'ekRPN':function(_0x1682eb,_0x3810f6){return _0x1682eb(_0x3810f6);},'UyHWR':function(_0x56238e,_0x4f07b9){return _0x56238e(_0x4f07b9);}};var _0x2df332=_0x5aa2cf[_0x27e202(0x155)]||{};return _0x2aadfd['oAAaG'](_0x2df332,Error)&&(_0x2df332=_0x2aadfd[_0x27e202(0xf2)](errorJSON,_0x2df332)),{'title':_0x5aa2cf['title'],'fullTitle':_0x5aa2cf[_0x27e202(0x1a8)],'file':_0x5aa2cf[_0x27e202(0x114)],'duration':_0x5aa2cf[_0x27e202(0x166)],'currentRetry':_0x5aa2cf['currentRetry'],'speed':_0x5aa2cf[_0x27e202(0x1b5)],'err':_0x2aadfd['UyHWR'](cleanCycles,_0x2df332)};}function printStats(_0x177fe4,_0x1596bd='spec',_0x164be7={}){const _0x39291f=a33_0x113849,_0x3251df={'TQKvM':function(_0x3d36c3,_0x568a8f){return _0x3d36c3(_0x568a8f);},'orraF':function(_0x25afb1,_0x51608d){return _0x25afb1===_0x51608d;},'tldkn':_0x39291f(0x14d),'nCWKq':'passes','Zqtyx':'failed','aqQnq':_0x39291f(0x10c),'AuqMl':'pending','mSsHj':'results','ugOfZ':function(_0x49badf,_0x57e494){return _0x49badf===_0x57e494;},'lEVdp':function(_0x535461,_0x2cc0af){return _0x535461===_0x2cc0af;},'kwFOT':function(_0x187261,_0x16c5e5){return _0x187261*_0x16c5e5;},'irBkI':function(_0x512a3f,_0x303ee2,_0x53367c){return _0x512a3f(_0x303ee2,_0x53367c);},'DbvJr':function(_0x525033,_0x8b75f4){return _0x525033===_0x8b75f4;},'egnag':function(_0x602a47,_0x2494ce){return _0x602a47>_0x2494ce;},'UKdFw':function(_0x2ebf69){return _0x2ebf69();},'qctAp':function(_0x2cf84d,_0x548512){return _0x2cf84d===_0x548512;},'OKveI':'doc','uZXmY':function(_0x48e22d,_0x5cbc60){return _0x48e22d(_0x5cbc60);},'mxlLW':function(_0x2d1484,_0x532fe6){return _0x2d1484>_0x532fe6;},'lAXBc':'Setting\x20non\x20exit\x20code\x20for\x20failures','qWGyP':'Printing\x20stats\x20of\x20tests','XWWuJ':function(_0xd88fe3,_0x3ef1bf){return _0xd88fe3+_0x3ef1bf;},'ljvNL':'Total\x20Platforms:\x20','giEUO':function(_0x18e9e4,_0x14beba){return _0x18e9e4+_0x14beba;},'OnxkO':'Total\x20Suites:\x20','Vnnqb':_0x39291f(0x111),'RrCzj':function(_0x457bf5,_0x399c0d){return _0x457bf5>_0x399c0d;},'bheQm':function(_0x56406b,_0x4044e4){return _0x56406b+_0x4044e4;},'mrVAV':function(_0x3e4cbf,_0x421e35){return _0x3e4cbf+_0x421e35;},'czPak':function(_0x1cd476,_0x5a4bbc){return _0x1cd476+_0x5a4bbc;},'EAbQq':function(_0x5c5ef0,_0x53086c){return _0x5c5ef0+_0x53086c;},'nUGcl':_0x39291f(0x169),'CnKhg':_0x39291f(0xfc),'dGgqx':'Writing\x20json\x20result\x20to\x20file','FlphX':_0x39291f(0xd2),'nZuuW':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','ymfjO':_0x39291f(0xfa),'WXkTL':_0x39291f(0x131),'VLtkh':function(_0x4741f4,_0x1b1c68){return _0x4741f4||_0x1b1c68;},'oNKAC':function(_0x4b865b,_0x55a588){return _0x4b865b(_0x55a588);},'DftVn':function(_0x55c9d1,_0x364fbf,_0x2d1f87,_0xd8734){return _0x55c9d1(_0x364fbf,_0x2d1f87,_0xd8734);},'IDjZt':_0x39291f(0x1a5),'uigZt':function(_0x407cee,_0x5ebca5){return _0x407cee-_0x5ebca5;},'TjCFP':function(_0x5ca3d3,_0x556401){return _0x5ca3d3-_0x556401;},'GRMGk':function(_0x365f54,_0x57dcb3){return _0x365f54/_0x57dcb3;},'UkCBN':_0x39291f(0x160),'YGcnM':_0x39291f(0xe1),'JcdAd':'Couldn\x27t\x20write\x20xunit\x20result\x20to','EqmkN':_0x39291f(0x19a),'lDWHe':_0x39291f(0x18c),'yBWUA':_0x39291f(0x15b)};if(_0x3251df[_0x39291f(0x1d2)](_0x1596bd,_0x3251df['OKveI']))return;const _0x2711fb=0x0,_0x1e9623=()=>{return _0x3251df['TQKvM'](Array,_0x2711fb)['join']('\x20\x20');},{testSuites:_0x3de51f,platforms:_0x266c5e,totalTests:_0x35370a,testsFailed:_0x58be76,testsPassed:_0x133027,testsPending:_0x5bc05c}=_0x3251df['uZXmY'](getStats,_0x177fe4);_0x3251df[_0x39291f(0x103)](_0x58be76,0x0)&&(logger[_0x39291f(0x16a)](_0x3251df[_0x39291f(0x198)]),process[_0x39291f(0x1d0)]=Math[_0x39291f(0x145)](_0x58be76,0xff));logger[_0x39291f(0x16a)](_0x3251df[_0x39291f(0x11f)]);const _0x4a4ea7=''+_0x3251df[_0x39291f(0xea)](chalk[_0x39291f(0x15f)](_0x3251df[_0x39291f(0x13c)]),_0x266c5e[_0x39291f(0xee)]),_0x17a9e8=''+_0x3251df[_0x39291f(0x161)](chalk['bold'](_0x3251df['OnxkO']),_0x3de51f),_0x2d532d=''+_0x3251df[_0x39291f(0xea)](_0x3251df[_0x39291f(0xea)](_0x3251df['giEUO'](chalk['bold'](_0x3251df[_0x39291f(0x1a1)]),_0x3251df[_0x39291f(0x136)](_0x58be76,0x0)?chalk[_0x39291f(0x15f)][_0x39291f(0x1c8)](_0x58be76+_0x39291f(0x16f))+',\x20':''),_0x3251df[_0x39291f(0x1cc)](_0x5bc05c,0x0)?chalk[_0x39291f(0x15f)][_0x39291f(0x16d)](_0x5bc05c+_0x39291f(0x1c1))+',\x20':''),_0x3251df[_0x39291f(0x103)](_0x133027,0x0)?chalk[_0x39291f(0x15f)]['green'](_0x133027+_0x39291f(0x126))+',\x20':'')+_0x35370a+_0x39291f(0xd4);console[_0x39291f(0x19c)](_0x3251df[_0x39291f(0x1ca)](_0x3251df['bheQm'](_0x3251df[_0x39291f(0xe7)](_0x3251df[_0x39291f(0x132)](_0x3251df[_0x39291f(0x167)](_0x3251df[_0x39291f(0x112)],_0x4a4ea7),'\x0a'),_0x17a9e8),'\x0a'),_0x2d532d));if(_0x3251df[_0x39291f(0x1d2)](_0x1596bd,_0x3251df['CnKhg'])){const _0x4702a0={},_0x268645={};_0x268645[_0x39291f(0x190)]=_0x3de51f,_0x268645['platforms']=_0x266c5e,_0x268645[_0x39291f(0x1a7)]=_0x58be76,_0x268645[_0x39291f(0x1c9)]=_0x133027,_0x268645['testsPending']=_0x5bc05c,_0x4702a0[_0x39291f(0x192)]=_0x268645,_0x266c5e[_0x39291f(0x154)](_0x1dffeb=>{const _0x2a4b72=_0x39291f,_0x53dda1={'ZBfzu':function(_0x2f67c,_0x45446f){const _0x5d34c9=a33_0x3b84;return _0x3251df[_0x5d34c9(0x10b)](_0x2f67c,_0x45446f);},'lpjuL':_0x3251df['tldkn'],'doZsK':_0x3251df[_0x2a4b72(0xf8)],'PmtGw':function(_0x27ffa8,_0x5de466){const _0xeb616d=_0x2a4b72;return _0x3251df[_0xeb616d(0x1d1)](_0x27ffa8,_0x5de466);},'vTsWV':function(_0x30f361,_0x443a53){const _0xbb94d=_0x2a4b72;return _0x3251df[_0xbb94d(0x10b)](_0x30f361,_0x443a53);},'eZjQD':_0x3251df[_0x2a4b72(0x1a4)],'ZLDUb':_0x3251df[_0x2a4b72(0x106)],'mcwfJ':_0x3251df[_0x2a4b72(0x1aa)]};_0x4702a0[_0x1dffeb]={'pending':[],'failures':[],'passes':[],'tests':_0x177fe4[_0x1dffeb][_0x3251df['mSsHj']][_0x2a4b72(0x120)](clean)},_0x177fe4[_0x1dffeb][_0x3251df['mSsHj']][_0x2a4b72(0x154)](_0x26cf63=>{const _0x4333f7=_0x2a4b72;if(_0x53dda1[_0x4333f7(0x15d)](_0x26cf63[_0x4333f7(0x19e)],_0x53dda1[_0x4333f7(0x157)]))_0x4702a0[_0x1dffeb][_0x53dda1['doZsK']]['push'](_0x53dda1[_0x4333f7(0x110)](clean,_0x26cf63));else _0x53dda1['vTsWV'](_0x26cf63['state'],_0x53dda1[_0x4333f7(0xec)])?_0x4702a0[_0x1dffeb][_0x53dda1[_0x4333f7(0x1b1)]]['push'](_0x53dda1[_0x4333f7(0x110)](clean,_0x26cf63)):_0x4702a0[_0x1dffeb][_0x53dda1[_0x4333f7(0x140)]][_0x4333f7(0x163)](_0x53dda1[_0x4333f7(0x110)](clean,_0x26cf63));});});if(_0x164be7['output'])try{logger['debug'](_0x3251df['dGgqx'],_0x164be7[_0x39291f(0x184)]),fs[_0x39291f(0x16b)](_0x164be7['output'],JSON[_0x39291f(0x1c6)](_0x4702a0,null,0x3));}catch(_0x41f579){logger[_0x39291f(0x14a)](_0x3251df[_0x39291f(0x104)],_0x164be7[_0x39291f(0x184)]),logger[_0x39291f(0x16a)](_0x41f579);}else logger['debug'](_0x3251df[_0x39291f(0x105)]),console['log'](JSON[_0x39291f(0x1c6)](_0x4702a0,null,0x3));}else{if(_0x3251df['lEVdp'](_0x1596bd,_0x3251df[_0x39291f(0x1ae)])){let _0x4eff52;const _0x42eaa3=_0x3251df[_0x39291f(0xd6)];_0x164be7&&(_0x4eff52=_0x164be7[_0x39291f(0x149)]);_0x4eff52=_0x3251df[_0x39291f(0x10d)](_0x4eff52,_0x42eaa3);let _0x361cd6=0x0,_0x7b7535=0x0,_0xd2da=0x0,_0x53d018=0x0;_0x266c5e[_0x39291f(0x154)](_0x3284d6=>{const _0x21f601=_0x39291f;_0x177fe4[_0x3284d6][_0x3251df[_0x21f601(0x141)]][_0x21f601(0x154)](_0x6467b2=>{const _0x58442d=_0x21f601;if(_0x3251df[_0x58442d(0xda)](_0x6467b2[_0x58442d(0x19e)],_0x3251df[_0x58442d(0x137)]))_0x361cd6++;else _0x3251df[_0x58442d(0x197)](_0x6467b2[_0x58442d(0x19e)],_0x3251df[_0x58442d(0x1a4)])&&_0x7b7535++;_0xd2da++,_0x53d018+=_0x3251df['kwFOT'](_0x6467b2['duration'],0x1);});}),_0x3251df[_0x39291f(0x125)](xunitWrite,_0x3251df[_0x39291f(0x176)](tag,_0x3251df[_0x39291f(0x19f)],{'name':_0x4eff52,'tests':_0xd2da,'failures':0x0,'errors':_0x7b7535,'skipped':_0x3251df[_0x39291f(0xdc)](_0x3251df[_0x39291f(0x16c)](_0xd2da,_0x7b7535),_0x361cd6),'timestamp':new Date()[_0x39291f(0x108)](),'time':_0x3251df['GRMGk'](_0x53d018,0x3e8)||0x0},![])),_0x266c5e['forEach'](_0x144ede=>{const _0x127f34=_0x39291f;_0x177fe4[_0x144ede][_0x3251df[_0x127f34(0x141)]][_0x127f34(0x154)](_0x140737=>{_0x3251df['irBkI'](xunitTest,_0x140737,_0x144ede);});}),_0x3251df[_0x39291f(0x102)](xunitWrite,_0x3251df[_0x39291f(0x12e)]);if(_0x164be7[_0x39291f(0x184)])try{logger[_0x39291f(0x16a)](_0x3251df[_0x39291f(0x144)],_0x164be7[_0x39291f(0x184)]),fs['writeFileSync'](_0x164be7[_0x39291f(0x184)],xunitContent);}catch(_0x37286c){logger['error'](_0x3251df['JcdAd'],_0x164be7['output']),logger[_0x39291f(0x16a)](_0x37286c);}else logger[_0x39291f(0x16a)](_0x3251df['EqmkN']),console['log'](xunitContent);}else{if(_0x3251df['orraF'](_0x58be76,0x0))return;console[_0x39291f(0x19c)](),logger[_0x39291f(0x16a)](_0x3251df[_0x39291f(0x183)]),console[_0x39291f(0x19c)](chalk[_0x39291f(0x15f)]['bgRedBright'](_0x3251df[_0x39291f(0x1b2)])),_0x266c5e[_0x39291f(0x154)](_0x12296f=>{const _0x11748b=_0x39291f,_0x330155=[];_0x177fe4[_0x12296f][_0x3251df[_0x11748b(0x141)]][_0x11748b(0x154)](_0x437193=>{const _0x30dd80=_0x11748b;_0x3251df['DbvJr'](_0x437193[_0x30dd80(0x19e)],_0x3251df[_0x30dd80(0x1a4)])&&(_0x437193[_0x30dd80(0x199)]=()=>_0x437193['titlePathV'],_0x330155[_0x30dd80(0x163)](_0x437193));}),_0x3251df['egnag'](_0x330155[_0x11748b(0xee)],0x0)&&(Base['consoleLog'](),Base[_0x11748b(0xe0)](_0x3251df[_0x11748b(0x123)](_0x1e9623),chalk[_0x11748b(0x15f)][_0x11748b(0x10f)](_0x12296f)),Base[_0x11748b(0x18a)](_0x330155));});}}}async function run(_0xe3a29a,_0x38a735,_0x298b6d){const _0x5c62a9=a33_0x113849,_0x23cf00={'cuKIe':function(_0xd6e9bc,_0x88ef1f,_0x26c70c,_0x5965a7){return _0xd6e9bc(_0x88ef1f,_0x26c70c,_0x5965a7);},'JRKfY':_0x5c62a9(0x15e),'CvcRu':'error\x20removing\x20tcg\x20config\x20file','xXPGA':'SDKTestSuccessful','ZvkZT':'mocha','THDtH':function(_0x11b5dd,_0x2ac36d){return _0x11b5dd!=_0x2ac36d;},'XSNQd':_0x5c62a9(0xd9),'BDlUi':'mjs','kapQC':_0x5c62a9(0x15a),'Nhadg':_0x5c62a9(0x194),'tFfNa':function(_0x4e5ce8,_0x2a9e5a){return _0x4e5ce8(_0x2a9e5a);},'NwjGu':function(_0x571213,_0x271389,_0x42094d){return _0x571213(_0x271389,_0x42094d);},'PKbfx':_0x5c62a9(0x187),'fEMLP':_0x5c62a9(0xfb),'lUlQn':'excludeTagsInTestingScope','LAzRC':'includeEncodedExtension','FDCEH':'Running\x20your\x20mocha\x20tests','VfGRd':'Now,\x20showing\x20logs\x20from\x20mocha','EvskO':function(_0x5d9706,_0x143ff3){return _0x5d9706*_0x143ff3;},'szROj':function(_0x2b932c,_0x605d98){return _0x2b932c(_0x605d98);},'dbsJD':function(_0x104e39,_0x1a2de9){return _0x104e39!==_0x1a2de9;}};helper[_0x5c62a9(0x1a3)](_0x298b6d['framework'],_0xe3a29a),await _0x298b6d[_0x5c62a9(0x181)](_0xe3a29a);helper['isBrowserstackInfra']()?await helper[_0x5c62a9(0xf4)](_0x298b6d[_0x5c62a9(0x109)]):await _0x298b6d[_0x5c62a9(0x1ac)]();const _0x1c5125=[];let _0x32d37b=[];if(!_0x298b6d[_0x5c62a9(0x109)])return;!helper['isUndefined'](_0x298b6d['config'][_0x5c62a9(0x119)])&&(process[_0x5c62a9(0x1a2)][_0x5c62a9(0x11a)]=JSON[_0x5c62a9(0x1c6)](_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x119)]));const _0x4340ff=await TestHubHandler[_0x5c62a9(0x148)](FRAMEWORKS[_0x5c62a9(0x12f)],_0x298b6d);_0x23cf00[_0x5c62a9(0x178)](_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x182)],null)&&(process['env'][_0x5c62a9(0xe2)]=_0x298b6d['config'][_0x5c62a9(0x182)]);!helper[_0x5c62a9(0xe6)](_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x100)])&&(process[_0x5c62a9(0x1a2)][_0x5c62a9(0x1b3)]=_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x100)]);const {extension:extension=['js',_0x23cf00[_0x5c62a9(0x143)],_0x23cf00[_0x5c62a9(0x139)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x23cf00['kapQC']]}=_0xe3a29a,_0x45d14d={..._0xe3a29a};_0x45d14d[_0x5c62a9(0x189)]=null;const _0x15ee2c=_0x45d14d;let _0x5aa0cb;if(testOpsHelper[_0x5c62a9(0x13d)]()&&testOpsHelper[_0x5c62a9(0x146)]()){let _0x1e0dd8=process[_0x5c62a9(0x1a2)][_0x5c62a9(0x14b)];!helper[_0x5c62a9(0xe6)](_0x298b6d['cliConfig'])&&_0x298b6d[_0x5c62a9(0xd0)][_0x5c62a9(0xe3)](_0x23cf00['Nhadg'])&&(_0x1e0dd8=_0x298b6d[_0x5c62a9(0xd0)][_0x5c62a9(0xf7)](_0x23cf00[_0x5c62a9(0x18b)])),_0x5aa0cb=testOpsHelper[_0x5c62a9(0x175)](_0x1e0dd8);}if(helper[_0x5c62a9(0xe6)](_0x5aa0cb)){const _0x505fcb={};_0x505fcb['ignore']=ignore,_0x505fcb[_0x5c62a9(0x153)]=extension,_0x505fcb[_0x5c62a9(0x114)]=file,_0x505fcb[_0x5c62a9(0x129)]=recursive,_0x505fcb[_0x5c62a9(0x101)]=sort,_0x505fcb[_0x5c62a9(0x152)]=spec,_0x5aa0cb=_0x23cf00[_0x5c62a9(0x1bd)](collectFiles,_0x505fcb),_0x23cf00[_0x5c62a9(0x151)](nestedKeyValue,_0x5aa0cb,[_0x23cf00[_0x5c62a9(0x191)]])&&(_0x5aa0cb=_0x5aa0cb[_0x5c62a9(0x187)]);}const _0x541d61=helper[_0x5c62a9(0x17e)](_0x298b6d[_0x5c62a9(0x109)]);!helper['isEmpty'](_0x541d61)&&helper[_0x5c62a9(0x115)](_0x541d61[_0x5c62a9(0x16e)])&&(_0x15ee2c[_0x5c62a9(0xd3)]=_0x541d61[_0x5c62a9(0x16e)][_0x5c62a9(0x1ba)]);if(!helper['isBrowserstackInfra']()){const _0x363e86=0x1,_0xafad66={..._0x15ee2c};_0xafad66[_0x5c62a9(0x152)]=[..._0x5aa0cb],_0x1c5125[_0x5c62a9(0x163)]({'mochaOpts':_0xafad66,'configuration':{'platform':os['platform']()}});if(_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x100)]){const _0x15cba4={};_0x15cba4[_0x5c62a9(0x100)]=!![];const _0xb909ab=_0x15cba4;_0x23cf00[_0x5c62a9(0x178)](_0x298b6d['config']['accessibilityOptions'],null)&&(_0xb909ab[_0x5c62a9(0x119)]=_0x298b6d['config'][_0x5c62a9(0x119)],delete _0xb909ab[_0x5c62a9(0x119)][_0x23cf00['fEMLP']],delete _0xb909ab[_0x5c62a9(0x119)][_0x23cf00['lUlQn']],delete _0xb909ab[_0x5c62a9(0x119)][_0x23cf00[_0x5c62a9(0xeb)]]);const _0x3b9ccc={};_0x3b9ccc[_0x5c62a9(0x1ab)]=_0xb909ab,_0x1c5125[0x0]['configuration'][_0x5c62a9(0x142)]=_0x3b9ccc;}logger['info'](_0x23cf00[_0x5c62a9(0xe5)]),logger[_0x5c62a9(0x17c)](_0x23cf00[_0x5c62a9(0x172)]),_0x23cf00['cuKIe'](parallelTestRun,_0x1c5125,_0x363e86,_0x298b6d)[_0x5c62a9(0x1cd)](_0x582a72=>{const _0x32a617=_0x5c62a9;PerformanceTester[_0x32a617(0x1c5)](PerformanceEvents[_0x32a617(0x179)]),_0x23cf00['cuKIe'](printStats,_0x582a72,_0xe3a29a[_0x32a617(0x135)],_0xe3a29a[_0x32a617(0x12b)]||_0xe3a29a[_0x23cf00['JRKfY']]);})[_0x5c62a9(0xed)](()=>{const _0x392915=_0x5c62a9;PerformanceTester[_0x392915(0x1c5)](PerformanceEvents[_0x392915(0x179)]);try{const {browserstackFolderPath:_0x52fa2a,tcgConfigPath:_0x4754a2}=helper[_0x392915(0x11d)]();fs[_0x392915(0x17d)](_0x4754a2),fs[_0x392915(0x11b)](_0x52fa2a);}catch(_0x3b46e7){logger[_0x392915(0x16a)](_0x23cf00['CvcRu'],_0x3b46e7);}try{utilities[_0x392915(0x171)](_0x23cf00[_0x392915(0x1b7)],{},_0x298b6d[_0x392915(0x109)],_0x298b6d['framework']);}catch(_0x14a972){logger[_0x392915(0x16a)](_0x392915(0x1ad)+_0x14a972[_0x392915(0x165)]);}try{helper[_0x392915(0x19d)]();}catch(_0x37cf4a){logger[_0x392915(0x16a)](_0x392915(0x11e)+_0x37cf4a);}testOpsHelper['printBuildLink']();});}else{const _0x5bb2ac=helper[_0x5c62a9(0x124)](_0x298b6d[_0x5c62a9(0x109)]);let _0x9c49e0=helper[_0x5c62a9(0x1c0)](_0x298b6d['config']);_0x32d37b=helper[_0x5c62a9(0x147)](_0x298b6d['config'],_0x5bb2ac,constants[_0x5c62a9(0x1b4)][_0x5c62a9(0x12f)]);helper[_0x5c62a9(0x17b)]()[_0x5c62a9(0xe9)]&&(_0x9c49e0=centralScannerConstants[_0x5c62a9(0x1cf)]);let _0x10240e;const _0x5bae95=_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x13f)]||helper[_0x5c62a9(0x14e)](_0xe3a29a,_0x38a735,_0x298b6d[_0x5c62a9(0x109)],constants[_0x5c62a9(0x1b4)][_0x5c62a9(0x12f)])||0x1;helper['validPlatformsPresent'](_0x298b6d[_0x5c62a9(0x109)])?_0x10240e=_0x23cf00[_0x5c62a9(0x17f)](_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x12d)]['length'],_0x5bae95):_0x10240e=_0x5bae95;const _0x7f6713=_0x23cf00[_0x5c62a9(0x1be)](getPercyOptions,_0x298b6d[_0x5c62a9(0x109)]);if(_0x23cf00[_0x5c62a9(0x133)](_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x13f)],0x1))_0x5aa0cb[_0x5c62a9(0x154)](_0x557ba7=>{const _0x5151cf=_0x5c62a9,_0x5381b3=[];_0x32d37b[_0x5151cf(0x154)]((_0x231ac9,_0x3acd35)=>{const _0x313e87=_0x5151cf,_0x1d8814={};_0x1d8814[_0x313e87(0x152)]=[_0x557ba7],_0x5381b3[_0x313e87(0x163)]({'mochaOpts':Object['assign']({},_0x15ee2c,_0x1d8814),'configuration':{'server':_0x9c49e0,'capability':_0x231ac9,'proxySettings':_0x298b6d[_0x313e87(0x109)][_0x313e87(0x170)],'platform':helper[_0x313e87(0xd1)](_0x231ac9),'browserStackLogLevel':_0x298b6d[_0x313e87(0x109)]['logLevel'],'platformIndex':_0x3acd35,'browserStackPercyOptions':_0x7f6713,'platformCaps':Object[_0x313e87(0x196)]({'index':_0x3acd35},_0x298b6d[_0x313e87(0x109)][_0x313e87(0x12d)][_0x3acd35])}});}),_0x1c5125['push'](..._0x5381b3);});else{const _0x47d10d=[];_0x32d37b['forEach']((_0xb7adaa,_0x24a4ba)=>{const _0x3415ea=_0x5c62a9;let _0x30ff37=Object[_0x3415ea(0x196)]({},_0x15ee2c);testOpsHelper[_0x3415ea(0x13d)]()&&testOpsHelper[_0x3415ea(0x146)]()&&(_0x30ff37={..._0x30ff37,'spec':[..._0x5aa0cb]}),_0x47d10d[_0x3415ea(0x163)]({'mochaOpts':_0x30ff37,'configuration':{'server':_0x9c49e0,'capability':_0xb7adaa,'proxySettings':_0x298b6d['config'][_0x3415ea(0x170)],'platform':helper['getPlatformName'](_0xb7adaa),'browserStackLogLevel':_0x298b6d[_0x3415ea(0x109)][_0x3415ea(0x195)],'platformIndex':_0x24a4ba,'browserStackPercyOptions':_0x7f6713,'platformCaps':Object[_0x3415ea(0x196)]({'index':_0x24a4ba},_0x298b6d[_0x3415ea(0x109)][_0x3415ea(0x12d)][_0x24a4ba])}});}),_0x1c5125[_0x5c62a9(0x163)](..._0x47d10d);}logger[_0x5c62a9(0x17c)](_0x5c62a9(0x18f)+_0x298b6d[_0x5c62a9(0x109)][_0x5c62a9(0x12d)][_0x5c62a9(0xee)]+'\x20platforms'),logger[_0x5c62a9(0x17c)](_0x23cf00[_0x5c62a9(0x172)]);let _0x3dd30a;_0x23cf00[_0x5c62a9(0x11c)](parallelTestRun,_0x1c5125,_0x10240e,_0x298b6d)[_0x5c62a9(0x1cd)](_0x1cf3a3=>{const _0x32b73=_0x5c62a9;PerformanceTester[_0x32b73(0x1c5)](PerformanceEvents[_0x32b73(0x179)]),_0x3dd30a=_0x1cf3a3,_0x23cf00[_0x32b73(0x11c)](printStats,_0x1cf3a3,_0xe3a29a[_0x32b73(0x135)],_0xe3a29a[_0x32b73(0x12b)]||_0xe3a29a[_0x23cf00['JRKfY']]);})[_0x5c62a9(0xed)](async()=>{const _0x57230f=_0x5c62a9;PerformanceTester[_0x57230f(0x1c5)](PerformanceEvents[_0x57230f(0x179)]),_0x298b6d[_0x57230f(0x158)]=helper['getErrorMessageFromResults'](_0x3dd30a,_0x23cf00['ZvkZT']),await utilities[_0x57230f(0xf9)](_0x298b6d),testOpsHelper[_0x57230f(0x130)]();});}}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34_0x55232e=a34_0x50b4;(function(_0x262634,_0xd0dcd1){const _0x414757=a34_0x50b4,_0x311894=_0x262634();while(!![]){try{const _0xf932c9=parseInt(_0x414757(0x266))/0x1*(-parseInt(_0x414757(0x1fa))/0x2)+-parseInt(_0x414757(0x232))/0x3+-parseInt(_0x414757(0x22c))/0x4+parseInt(_0x414757(0x1fb))/0x5+-parseInt(_0x414757(0x24a))/0x6+parseInt(_0x414757(0x259))/0x7*(-parseInt(_0x414757(0x239))/0x8)+parseInt(_0x414757(0x22b))/0x9;if(_0xf932c9===_0xd0dcd1)break;else _0x311894['push'](_0x311894['shift']());}catch(_0x4d8fdc){_0x311894['push'](_0x311894['shift']());}}}(a34_0x4bbd,0x35dc6));function a34_0x4bbd(){const _0x38f6ed=['BwMiJ','BuWMH','originalBuilder','580131JZfoGK','split','capabilities_','OPBvc','opYex','exports','../../../helpers/patchHelpers','16iVDyNS','__driversArray','isBrowserstackInfra','debug','updateHubUrl','edgeOptions_','set','safari.options','WzlRZ','build','firefoxOptions','CAPABILITY_KEY','push','ieOptions_','__drivers','global','PeYbz','2338266iCdyyS','YnHPD','isUndefined','ZYHRG','plAHT','mEhPq','setCapabilities','se:ieOptions','/wd/hub','bzFOb','options_','AEoKe','keys','HFDwr','overrideGet','1268911oSgxua','chromeOptions_','chromeOptions','../../../bin/utils/constants','5|3|0|4|2|1','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getAccessibilityResults','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','caps_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','TyzXh','safariOptions_','requireSeleniumWebdriver','5QZIzcX','proxyUrl','browserstackAgentObservability','mergeDeep','Proxy\x20set\x20to\x20','https://','__driver','New\x20hub\x20url\x20set\x20to\x20','../../../helpers/accessibility-automation/helper','tekAN','requireHttpClient','52674TAbjlc','216470epDltb','wTdlN','QHgns','ztOfF','newHubUrl','proxySettings','sAQir','getHubUrl','LrecN','Modifying\x20webdriver\x20builder','bBaYq','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','goog:chromeOptions','session_','winstonLogger','getGlobal','../../../hubAllocationMethods','get','uvKtM','GUHnu','Setting\x20Browserstack\x20capabilities','getRequestOptions','error','iKXrK','__setBrowserOptions','info','agent_','capability','proxy_','optimalHubUrl','Rvzxb','kFZNP','getAccessibilityResultsSummary','updAx','cJKJK','../accessibility-automation/helper','send','TkGVR','path','CSVev','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','forEach','HttpClient','gqSAw','then','Builder','../../../helpers/helper','url_','14568363ZIsebJ','1456272RmzyaF','firefoxOptions_','mplop'];a34_0x4bbd=function(){return _0x38f6ed;};return a34_0x4bbd();}function a34_0x50b4(_0x37631f,_0x28fa22){const _0x4bbdbe=a34_0x4bbd();return a34_0x50b4=function(_0x50b419,_0x132147){_0x50b419=_0x50b419-0x1f2;let _0x3bf7a6=_0x4bbdbe[_0x50b419];return _0x3bf7a6;},a34_0x50b4(_0x37631f,_0x28fa22);}const logger=require('../../../helpers/logger')[a34_0x55232e(0x209)],helper=require(a34_0x55232e(0x229)),constants=require(a34_0x55232e(0x25c)),hubAllocator=require(a34_0x55232e(0x20b)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x55232e(0x238)),{setAccessibilityCapabilities,setExtension}=require(a34_0x55232e(0x21e)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x55232e(0x1f7)),globals=require('../../../helpers/globals'),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x4fa8a7,_0x1d0258=null,_0x2807f2=![])=>{const _0x6f1d8a=a34_0x55232e,_0x269e13={'mplop':function(_0x53a755,_0x385d79){return _0x53a755!==_0x385d79;},'Rvzxb':'/session','GUHnu':function(_0x2463c6,_0x177a86){return _0x2463c6!==_0x177a86;},'AEoKe':function(_0x2ab166,_0x5d4b2c){return _0x2ab166+_0x5d4b2c;},'sAQir':function(_0x5946e7,_0xf25267){return _0x5946e7+_0xf25267;},'YnHPD':_0x6f1d8a(0x1f4),'swmQx':_0x6f1d8a(0x252),'eILga':_0x6f1d8a(0x207),'PeYbz':_0x6f1d8a(0x25b),'MJrIH':'ms:edgeOptions','plAHT':'edgeOptions','wTdlN':'moz:firefoxOptions','mEhPq':_0x6f1d8a(0x243),'bzFOb':_0x6f1d8a(0x240),'CSVev':_0x6f1d8a(0x251),'btAXm':'ieOptions','gqSAw':function(_0x471023,_0x43ac4b){return _0x471023===_0x43ac4b;},'Ukdqd':'object','BwMiJ':_0x6f1d8a(0x20f),'TyzXh':_0x6f1d8a(0x218),'opYex':_0x6f1d8a(0x223),'OPBvc':function(_0x2815fb,_0x1e789a,_0x5a4fa9){return _0x2815fb(_0x1e789a,_0x5a4fa9);},'tekAN':function(_0x1e9af5,_0x305a13,_0x504f49){return _0x1e9af5(_0x305a13,_0x504f49);},'iKXrK':function(_0x1ad4b9,_0xf7df09){return _0x1ad4b9(_0xf7df09);},'zDwEW':function(_0x452987,_0x549d77,_0x19f310){return _0x452987(_0x549d77,_0x19f310);},'TkGVR':function(_0x583813,_0x56a181,_0x1362db){return _0x583813(_0x56a181,_0x1362db);},'QHgns':_0x6f1d8a(0x25d),'cJKJK':_0x6f1d8a(0x260),'kFZNP':'isAccessibilityPlatform','WzlRZ':function(_0x8cb1c0){return _0x8cb1c0();},'HFDwr':function(_0x559b57,_0x2e2e0b){return _0x559b57(_0x2e2e0b);},'ztOfF':function(_0x469ab2,_0x222ed9){return _0x469ab2(_0x222ed9);},'bBaYq':function(_0x46e2be,_0x3b7fd0){return _0x46e2be(_0x3b7fd0);},'LrecN':function(_0x5b2dc4,_0x1a9504){return _0x5b2dc4!==_0x1a9504;},'OBhrF':_0x6f1d8a(0x25e),'BuWMH':_0x6f1d8a(0x204)},_0x54cf21=helper[_0x6f1d8a(0x1f9)]();let _0x29172e;try{_0x29172e=helper[_0x6f1d8a(0x265)](),_0x29172e[_0x6f1d8a(0x231)]&&(_0x29172e[_0x6f1d8a(0x228)]=_0x29172e[_0x6f1d8a(0x231)]);}catch(_0x1d0fa1){return;}if(helper[_0x6f1d8a(0x23b)]()){const _0x47d76d={};_0x47d76d['logLevel']=_0x4fa8a7['browserStackLogLevel'],helper['setLogLevel'](_0x47d76d,new Map(),new Map()),logger[_0x6f1d8a(0x214)](_0x269e13['OBhrF']),logger[_0x6f1d8a(0x23c)](_0x269e13[_0x6f1d8a(0x230)]);}class _0x42e89b extends _0x54cf21[_0x6f1d8a(0x225)]{[_0x6f1d8a(0x21f)](_0x4a377a){const _0x3fca46=_0x6f1d8a;if(_0x269e13[_0x3fca46(0x22e)](_0x4a377a[_0x3fca46(0x221)],_0x269e13[_0x3fca46(0x219)])&&_0x269e13[_0x3fca46(0x20e)](global[_0x3fca46(0x1ff)],''))try{global[_0x3fca46(0x1ff)]=_0x269e13[_0x3fca46(0x255)](_0x269e13[_0x3fca46(0x201)](_0x269e13[_0x3fca46(0x24b)],global['newHubUrl']),_0x269e13['swmQx']),this[_0x3fca46(0x254)]=hubAllocator[_0x3fca46(0x210)](global[_0x3fca46(0x1ff)]),logger[_0x3fca46(0x23c)](_0x3fca46(0x1f6)+global[_0x3fca46(0x1ff)]),global[_0x3fca46(0x1ff)]='';}catch(_0x442669){logger[_0x3fca46(0x211)](_0x442669);}return super[_0x3fca46(0x21f)](_0x4a377a);}}class _0x1053ff extends _0x29172e['Builder']{['setServer'](){const _0x58d311=_0x6f1d8a;return this[_0x58d311(0x22a)]=helper[_0x58d311(0x202)](_0x4fa8a7),logger[_0x58d311(0x23c)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x6f1d8a(0x213)](_0x314a48){const _0x459a24=_0x6f1d8a;let _0x1129fd={};for(const _0x2a9e14 in _0x314a48){switch(_0x2a9e14){case _0x269e13['eILga']:case _0x269e13[_0x459a24(0x249)]:this['chromeOptions_']&&(_0x1129fd=this[_0x459a24(0x25a)][_0x459a24(0x20c)](this[_0x459a24(0x25a)][_0x459a24(0x244)])||{},this[_0x459a24(0x25a)][_0x459a24(0x23f)](this['chromeOptions_'][_0x459a24(0x244)],helper['mergeDeep'](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13['MJrIH']:case _0x269e13[_0x459a24(0x24e)]:this[_0x459a24(0x23e)]&&(_0x1129fd=this[_0x459a24(0x23e)][_0x459a24(0x20c)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this['edgeOptions_']['set'](this[_0x459a24(0x23e)][_0x459a24(0x244)],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x1fc)]:case _0x269e13[_0x459a24(0x24f)]:this[_0x459a24(0x22d)]&&(_0x1129fd=this['firefoxOptions_'][_0x459a24(0x20c)](this[_0x459a24(0x22d)][_0x459a24(0x244)])||{},this[_0x459a24(0x22d)]['set'](this[_0x459a24(0x22d)]['CAPABILITY_KEY'],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x253)]:this[_0x459a24(0x264)]&&(_0x1129fd=this[_0x459a24(0x264)][_0x459a24(0x20c)](this[_0x459a24(0x264)]['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x459a24(0x264)]['CAPABILITY_KEY'],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x222)]:case _0x269e13['btAXm']:this[_0x459a24(0x246)]&&(_0x1129fd=this[_0x459a24(0x246)][_0x459a24(0x20c)](this[_0x459a24(0x246)][_0x459a24(0x244)])||{},this['ieOptions_'][_0x459a24(0x23f)](this[_0x459a24(0x246)][_0x459a24(0x244)],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;}}}[_0x6f1d8a(0x250)](){const _0x10a028=_0x6f1d8a,_0x34cb12={'bJHYW':function(_0x3b3bd3,_0x31eeab){const _0x548e24=a34_0x50b4;return _0x269e13[_0x548e24(0x226)](_0x3b3bd3,_0x31eeab);},'updAx':_0x269e13['Ukdqd']};return logger[_0x10a028(0x23c)](_0x269e13[_0x10a028(0x22f)]),this[_0x10a028(0x213)](_0x4fa8a7[_0x10a028(0x216)]),Object[_0x10a028(0x256)](_0x4fa8a7[_0x10a028(0x216)])[_0x10a028(0x224)](_0x3e48da=>{const _0x32dc06=_0x10a028,_0x3d85f8=this[_0x32dc06(0x234)]['get'](_0x3e48da);_0x34cb12['bJHYW'](typeof _0x3d85f8,_0x34cb12[_0x32dc06(0x21c)])?this['capabilities_'][_0x32dc06(0x23f)](_0x3e48da,helper[_0x32dc06(0x1f2)](_0x3d85f8,_0x4fa8a7[_0x32dc06(0x216)][_0x3e48da])):this[_0x32dc06(0x234)]['set'](_0x3e48da,_0x4fa8a7['capability'][_0x3e48da]);}),this;}[_0x6f1d8a(0x242)](){const _0x58bf68=_0x6f1d8a,_0x48845e={'ZYHRG':function(_0x16cf6e,_0x5ca231,_0x3bbd75){const _0x5cf7bf=a34_0x50b4;return _0x269e13[_0x5cf7bf(0x220)](_0x16cf6e,_0x5ca231,_0x3bbd75);}};if(helper[_0x58bf68(0x23b)]()){const _0x1f0649=_0x269e13[_0x58bf68(0x1fd)][_0x58bf68(0x233)]('|');let _0x1578c4=0x0;while(!![]){switch(_0x1f0649[_0x1578c4++]){case'0':this['setCapabilities']();continue;case'1':logger[_0x58bf68(0x23c)](_0x269e13[_0x58bf68(0x21d)]);continue;case'2':globals[_0x58bf68(0x20a)](_0x269e13[_0x58bf68(0x21a)])&&(!_0x269e13[_0x58bf68(0x235)](setExtension,this,_0x4fa8a7)&&globals['setGlobal'](_0x269e13[_0x58bf68(0x21a)],![]));continue;case'3':this['setServer']();continue;case'4':if(helper['isPacProxy'](_0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)]))this[_0x58bf68(0x215)]=helper['getHttpAgent'](_0x4fa8a7[_0x58bf68(0x200)]['proxyUrl']);else _0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)]&&(this[_0x58bf68(0x217)]=_0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)],logger[_0x58bf68(0x23c)](_0x58bf68(0x1f3)+this[_0x58bf68(0x217)]));continue;case'5':_0x269e13[_0x58bf68(0x241)](isAccessibilityAutomationSession)&&_0x269e13[_0x58bf68(0x257)](setAccessibilityCapabilities,_0x4fa8a7);continue;}break;}}const _0x5efe4f=super['build']();return _0x5efe4f[_0x58bf68(0x208)][_0x58bf68(0x227)](_0x292342=>{const _0x2603ea=_0x58bf68;try{const _0x59d0a7=_0x292342[_0x2603ea(0x261)][_0x2603ea(0x20c)](_0x269e13[_0x2603ea(0x263)]);_0x59d0a7?(logger['debug'](_0x2603ea(0x206)+_0x59d0a7),hubAllocator[_0x2603ea(0x23d)](_0x59d0a7),helper['storeOptimalHubUrl'](_0x59d0a7)):logger[_0x2603ea(0x23c)](_0x269e13[_0x2603ea(0x236)]);}catch(_0x48c3e0){logger['debug'](_0x2603ea(0x262)+_0x48c3e0);}}),_0x5efe4f['quitCount_']=0x0,_0x5efe4f['then']&&_0x5efe4f[_0x58bf68(0x227)](_0xf21044=>{const _0xfa6ca=_0x58bf68,_0x29e8af={'uvKtM':function(_0x4becda,_0x1629fa,_0x4f8fbb){return _0x269e13['OPBvc'](_0x4becda,_0x1629fa,_0x4f8fbb);}};_0x269e13['tekAN'](overrideQuit,_0xf21044,_0x5efe4f),_0x269e13[_0xfa6ca(0x212)](overrideTakeScreenshot,_0xf21044),helper['overrideGet'](_0xf21044,_0x4fa8a7),_0x269e13[_0xfa6ca(0x1f8)](overrideExecute,_0xf21044,_0x4fa8a7),_0xf21044[_0xfa6ca(0x21b)]=async()=>{const _0x304912=_0xfa6ca;return await _0x29e8af[_0x304912(0x20d)](getAccessibilityResultsSummary,_0xf21044,global);},_0xf21044[_0xfa6ca(0x25f)]=async()=>{const _0x306e64=_0xfa6ca;return await _0x48845e[_0x306e64(0x24d)](getAccessibilityResults,_0xf21044,global);};}),_0x5efe4f['getAccessibilityResultsSummary']=async()=>{const _0xf0ebe=_0x58bf68;return await _0x48845e[_0xf0ebe(0x24d)](getAccessibilityResultsSummary,_0x5efe4f,global);},_0x5efe4f['getAccessibilityResults']=async()=>{return await _0x269e13['zDwEW'](getAccessibilityResults,_0x5efe4f,global);},_0x269e13[_0x58bf68(0x1fe)](overrideTakeScreenshot,_0x5efe4f),_0x269e13[_0x58bf68(0x205)](overrideQuit,_0x5efe4f),helper[_0x58bf68(0x258)](_0x5efe4f,_0x4fa8a7),_0x269e13['TkGVR'](overrideExecute,_0x5efe4f,_0x4fa8a7),helper[_0x58bf68(0x24c)](global[_0x58bf68(0x23a)])&&(global[_0x58bf68(0x23a)]=[]),helper[_0x58bf68(0x24c)](global[_0x58bf68(0x247)])&&(global[_0x58bf68(0x247)]=[]),global[_0x58bf68(0x23a)]['push'](_0x5efe4f),global[_0x58bf68(0x1f5)]=_0x5efe4f,_0x269e13['GUHnu'](global[_0x58bf68(0x247)],undefined)&&global[_0x58bf68(0x247)]['push'](_0x5efe4f),_0x1d0258&&helper['isUndefined'](_0x1d0258[_0x58bf68(0x248)]['__driversArray'])&&(_0x1d0258[_0x58bf68(0x248)]['__driversArray']=[]),_0x1d0258&&_0x269e13[_0x58bf68(0x203)](_0x1d0258[_0x58bf68(0x248)][_0x58bf68(0x247)],undefined)&&(_0x1d0258['global'][_0x58bf68(0x247)][_0x58bf68(0x245)](_0x5efe4f),_0x1d0258['global'][_0x58bf68(0x23a)][_0x58bf68(0x245)](_0x5efe4f)),_0x5efe4f;}}return _0x29172e[_0x6f1d8a(0x231)]=_0x29172e['Builder'],_0x29172e[_0x6f1d8a(0x228)]=_0x1053ff,_0x54cf21[_0x6f1d8a(0x225)]=_0x42e89b,_0x29172e;};module[a34_0x55232e(0x237)][a34_0x55232e(0x268)]=modify;
|
|
1
|
+
function a34_0x793a(){const _0x1dc908=['setCapabilities','__driversArray','mVsgj','nqZgy','DoFWn','__setBrowserOptions','ABGqG','proxy_','12rQgrbN','NglVj','edgeOptions','qMCvG','quitCount_','logLevel','mAfMn','set','2387732dniIcr','split','nCjpn','CVimq','Proxy\x20set\x20to\x20','setLogLevel','../../../helpers/logger','New\x20hub\x20url\x20set\x20to\x20','ieOptions','pMFzY','firefoxOptions_','FuBWg','KzDJE','getAccessibilityResultsSummary','url_','send','HttpClient','5503715BGMlqo','Setting\x20Browserstack\x20capabilities','__drivers','chromeOptions_','setGlobal','caps_','proxySettings','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','storeOptimalHubUrl','setServer','requireSeleniumWebdriver','zXqGa','PScRt','../../../helpers/helper','getRequestOptions','isPacProxy','wzjSQ','17851750jSCKlM','getHubUrl','1692052NIIBag','originalBuilder','EeItT','edgeOptions_','../../../helpers/globals','itPAe','vxDBO','../../../bin/utils/constants','newHubUrl','584781VeaNvs','overrideGet','options_','GEAzK','liSEo','/session','WEUBn','EBxgn','winstonLogger','288054msmXDX','debug','isBrowserstackInfra','./helpers/patchHelper','optimalHubUrl','capability','Builder','CAPABILITY_KEY','object','NQDZX','ziaqS','getAccessibilityResults','mergeDeep','forEach','dFZql','updateHubUrl','agent_','getGlobal','uLJiI','315680uLUHQU','Hub\x20url\x20set\x20to\x20','KDbdA','build','5|4|2|0|3|1','proxyUrl','jcCMd','global','ms:edgeOptions','capabilities_','NiiUY','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','get','then','info','BKksc','kCXqO','isUndefined','Modifying\x20webdriver\x20builder','ieOptions_','ftbXY','path','goog:chromeOptions','moz:firefoxOptions','error','https://','VFJGl','../../../helpers/patchHelpers','WZfLE','keys','306rwRnaQ','154fbsfoh','push','safariOptions_'];a34_0x793a=function(){return _0x1dc908;};return a34_0x793a();}const a34_0x98ad22=a34_0x5585;(function(_0x11ac1a,_0x2ea09c){const _0x579e0d=a34_0x5585,_0x172354=_0x11ac1a();while(!![]){try{const _0x182121=parseInt(_0x579e0d(0x130))/0x1+parseInt(_0x579e0d(0x103))/0x2+-parseInt(_0x579e0d(0xfb))/0x3*(-parseInt(_0x579e0d(0x127))/0x4)+-parseInt(_0x579e0d(0x114))/0x5+parseInt(_0x579e0d(0x139))/0x6*(-parseInt(_0x579e0d(0x16b))/0x7)+-parseInt(_0x579e0d(0x14c))/0x8*(-parseInt(_0x579e0d(0x16a))/0x9)+-parseInt(_0x579e0d(0x125))/0xa;if(_0x182121===_0x2ea09c)break;else _0x172354['push'](_0x172354['shift']());}catch(_0x2b36ba){_0x172354['push'](_0x172354['shift']());}}}(a34_0x793a,0xd474f));const logger=require(a34_0x98ad22(0x109))[a34_0x98ad22(0x138)],helper=require(a34_0x98ad22(0x121)),constants=require(a34_0x98ad22(0x12e)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x98ad22(0x167)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a34_0x98ad22(0x12b)),{overrideExecute}=require(a34_0x98ad22(0x13c)),modify=(_0x2416d1,_0x2d8a9e=null,_0x2bcda1=![])=>{const _0x53c875=a34_0x98ad22,_0x3f261a={'PScRt':function(_0x30884b,_0x4b1e87){return _0x30884b!==_0x4b1e87;},'dFZql':_0x53c875(0x135),'KzDJE':function(_0x5701a9,_0x4a0416){return _0x5701a9+_0x4a0416;},'kCXqO':_0x53c875(0x165),'EBxgn':'/wd/hub','NQDZX':_0x53c875(0x162),'WEUBn':'chromeOptions','gYGsG':_0x53c875(0x154),'FuBWg':_0x53c875(0xfd),'KDbdA':_0x53c875(0x163),'LlfdL':'firefoxOptions','CVimq':'safari.options','VFJGl':'se:ieOptions','liSEo':_0x53c875(0x10b),'vxDBO':function(_0x1be9ac,_0x237cc0){return _0x1be9ac===_0x237cc0;},'qMCvG':_0x53c875(0x141),'pMFzY':_0x53c875(0x115),'nCjpn':_0x53c875(0x13d),'BKksc':_0x53c875(0x11b),'itPAe':function(_0x4f3846,_0x3416d8,_0x31018e){return _0x4f3846(_0x3416d8,_0x31018e);},'jcCMd':function(_0x4c1dfa,_0x342abd,_0x366aa8){return _0x4c1dfa(_0x342abd,_0x366aa8);},'ABGqG':function(_0x157a61,_0x4b6934){return _0x157a61(_0x4b6934);},'uLJiI':_0x53c875(0x150),'NiiUY':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','zXqGa':'isAccessibilityPlatform','DoFWn':function(_0x452629){return _0x452629();},'ftbXY':function(_0xf754f9,_0xf4b608){return _0xf754f9(_0xf4b608);},'NglVj':function(_0x30551c,_0x128303,_0x11bab5){return _0x30551c(_0x128303,_0x11bab5);},'ziaqS':function(_0x42ac57,_0x57dd95){return _0x42ac57!==_0x57dd95;},'WZfLE':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','wuZMR':_0x53c875(0x15e)},_0x1e0a60=helper['requireHttpClient']();let _0x2e6589;try{_0x2e6589=helper[_0x53c875(0x11e)](),_0x2e6589[_0x53c875(0x128)]&&(_0x2e6589[_0x53c875(0x13f)]=_0x2e6589[_0x53c875(0x128)]);}catch(_0x138227){return;}if(helper[_0x53c875(0x13b)]()){const _0x24f6fb={};_0x24f6fb[_0x53c875(0x100)]=_0x2416d1['browserStackLogLevel'],helper[_0x53c875(0x108)](_0x24f6fb,new Map(),new Map()),logger[_0x53c875(0x15a)](_0x3f261a[_0x53c875(0x168)]),logger[_0x53c875(0x13a)](_0x3f261a['wuZMR']);}class _0x43c469 extends _0x1e0a60[_0x53c875(0x113)]{[_0x53c875(0x112)](_0x29c287){const _0x1350c7=_0x53c875;if(_0x3f261a[_0x1350c7(0x120)](_0x29c287[_0x1350c7(0x161)],_0x3f261a[_0x1350c7(0x147)])&&_0x3f261a[_0x1350c7(0x120)](global['newHubUrl'],''))try{global[_0x1350c7(0x12f)]=_0x3f261a['KzDJE'](_0x3f261a[_0x1350c7(0x10f)](_0x3f261a[_0x1350c7(0x15c)],global['newHubUrl']),_0x3f261a[_0x1350c7(0x137)]),this[_0x1350c7(0x132)]=hubAllocator[_0x1350c7(0x122)](global[_0x1350c7(0x12f)]),logger[_0x1350c7(0x13a)](_0x1350c7(0x10a)+global[_0x1350c7(0x12f)]),global[_0x1350c7(0x12f)]='';}catch(_0x1bcddc){logger[_0x1350c7(0x164)](_0x1bcddc);}return super[_0x1350c7(0x112)](_0x29c287);}}class _0x4d1be7 extends _0x2e6589[_0x53c875(0x13f)]{[_0x53c875(0x11d)](){const _0x3b0df7=_0x53c875;return this[_0x3b0df7(0x111)]=helper[_0x3b0df7(0x126)](_0x2416d1),logger[_0x3b0df7(0x13a)](_0x3b0df7(0x14d)+this[_0x3b0df7(0x111)]),this;}[_0x53c875(0xf8)](_0x3c4d02){const _0x58ca0b=_0x53c875;let _0x39a4e3={};for(const _0x47672f in _0x3c4d02){switch(_0x47672f){case _0x3f261a[_0x58ca0b(0x142)]:case _0x3f261a[_0x58ca0b(0x136)]:this[_0x58ca0b(0x117)]&&(_0x39a4e3=this[_0x58ca0b(0x117)][_0x58ca0b(0x158)](this[_0x58ca0b(0x117)][_0x58ca0b(0x140)])||{},this[_0x58ca0b(0x117)][_0x58ca0b(0x102)](this['chromeOptions_'][_0x58ca0b(0x140)],helper['mergeDeep'](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a['gYGsG']:case _0x3f261a[_0x58ca0b(0x10e)]:this[_0x58ca0b(0x12a)]&&(_0x39a4e3=this[_0x58ca0b(0x12a)]['get'](this['edgeOptions_'][_0x58ca0b(0x140)])||{},this['edgeOptions_']['set'](this[_0x58ca0b(0x12a)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a[_0x58ca0b(0x14e)]:case _0x3f261a['LlfdL']:this[_0x58ca0b(0x10d)]&&(_0x39a4e3=this[_0x58ca0b(0x10d)][_0x58ca0b(0x158)](this[_0x58ca0b(0x10d)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x58ca0b(0x102)](this[_0x58ca0b(0x10d)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a[_0x58ca0b(0x106)]:this[_0x58ca0b(0x16d)]&&(_0x39a4e3=this[_0x58ca0b(0x16d)]['get'](this[_0x58ca0b(0x16d)]['CAPABILITY_KEY'])||{},this[_0x58ca0b(0x16d)][_0x58ca0b(0x102)](this[_0x58ca0b(0x16d)][_0x58ca0b(0x140)],helper[_0x58ca0b(0x145)](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a[_0x58ca0b(0x166)]:case _0x3f261a[_0x58ca0b(0x134)]:this[_0x58ca0b(0x15f)]&&(_0x39a4e3=this[_0x58ca0b(0x15f)][_0x58ca0b(0x158)](this[_0x58ca0b(0x15f)][_0x58ca0b(0x140)])||{},this[_0x58ca0b(0x15f)]['set'](this['ieOptions_'][_0x58ca0b(0x140)],helper[_0x58ca0b(0x145)](_0x39a4e3,_0x3c4d02[_0x47672f])));break;}}}[_0x53c875(0x16e)](){const _0x30cee0=_0x53c875,_0x2f8a65={'mAfMn':function(_0x4c0313,_0x3f5fbb){const _0x31f03a=a34_0x5585;return _0x3f261a[_0x31f03a(0x12d)](_0x4c0313,_0x3f5fbb);},'nqZgy':_0x3f261a[_0x30cee0(0xfe)]};return logger[_0x30cee0(0x13a)](_0x3f261a[_0x30cee0(0x10c)]),this[_0x30cee0(0xf8)](_0x2416d1[_0x30cee0(0x13e)]),Object[_0x30cee0(0x169)](_0x2416d1['capability'])[_0x30cee0(0x146)](_0x4a4271=>{const _0xa71aa4=_0x30cee0,_0x522c08=this[_0xa71aa4(0x155)][_0xa71aa4(0x158)](_0x4a4271);_0x2f8a65[_0xa71aa4(0x101)](typeof _0x522c08,_0x2f8a65[_0xa71aa4(0x171)])?this[_0xa71aa4(0x155)][_0xa71aa4(0x102)](_0x4a4271,helper[_0xa71aa4(0x145)](_0x522c08,_0x2416d1[_0xa71aa4(0x13e)][_0x4a4271])):this[_0xa71aa4(0x155)][_0xa71aa4(0x102)](_0x4a4271,_0x2416d1['capability'][_0x4a4271]);}),this;}[_0x53c875(0x14f)](){const _0x58a13e=_0x53c875,_0x2c8ac6={'GEAzK':function(_0xe7282f,_0x28532d,_0x5d5250){return _0x3f261a['itPAe'](_0xe7282f,_0x28532d,_0x5d5250);},'EeItT':function(_0x8491a9,_0x5090a0,_0x5ae004){const _0x198d1c=a34_0x5585;return _0x3f261a[_0x198d1c(0x152)](_0x8491a9,_0x5090a0,_0x5ae004);},'wzjSQ':function(_0x5d42b3,_0x27dbeb){const _0x2f0e56=a34_0x5585;return _0x3f261a[_0x2f0e56(0xf9)](_0x5d42b3,_0x27dbeb);}};if(helper[_0x58a13e(0x13b)]()){const _0x47ad51=_0x3f261a[_0x58a13e(0x14b)][_0x58a13e(0x104)]('|');let _0x39b490=0x0;while(!![]){switch(_0x47ad51[_0x39b490++]){case'0':if(helper[_0x58a13e(0x123)](_0x2416d1['proxySettings'][_0x58a13e(0x151)]))this[_0x58a13e(0x149)]=helper['getHttpAgent'](_0x2416d1[_0x58a13e(0x11a)][_0x58a13e(0x151)]);else _0x2416d1[_0x58a13e(0x11a)][_0x58a13e(0x151)]&&(this[_0x58a13e(0xfa)]=_0x2416d1['proxySettings']['proxyUrl'],logger[_0x58a13e(0x13a)](_0x58a13e(0x107)+this['proxy_']));continue;case'1':logger[_0x58a13e(0x13a)](_0x3f261a[_0x58a13e(0x156)]);continue;case'2':this[_0x58a13e(0x16e)]();continue;case'3':globals[_0x58a13e(0x14a)](_0x3f261a[_0x58a13e(0x11f)])&&(!_0x3f261a['jcCMd'](setExtension,this,_0x2416d1)&&globals[_0x58a13e(0x118)](_0x3f261a[_0x58a13e(0x11f)],![]));continue;case'4':this[_0x58a13e(0x11d)]();continue;case'5':_0x3f261a[_0x58a13e(0x172)](isAccessibilityAutomationSession)&&_0x3f261a['ABGqG'](setAccessibilityCapabilities,_0x2416d1);continue;}break;}}const _0xa0b8ef=super[_0x58a13e(0x14f)]();return _0xa0b8ef['session_'][_0x58a13e(0x159)](_0x13e559=>{const _0xebf0ca=_0x58a13e;try{const _0x2506c2=_0x13e559[_0xebf0ca(0x119)][_0xebf0ca(0x158)](_0x3f261a[_0xebf0ca(0x105)]);_0x2506c2?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x2506c2),hubAllocator[_0xebf0ca(0x148)](_0x2506c2),helper[_0xebf0ca(0x11c)](_0x2506c2)):logger[_0xebf0ca(0x13a)](_0x3f261a[_0xebf0ca(0x15b)]);}catch(_0x53d008){logger[_0xebf0ca(0x13a)](_0xebf0ca(0x157)+_0x53d008);}}),_0xa0b8ef[_0x58a13e(0xff)]=0x0,_0xa0b8ef[_0x58a13e(0x159)]&&_0xa0b8ef[_0x58a13e(0x159)](_0x302c02=>{const _0x851748=_0x58a13e,_0x2e6f10={'mVsgj':function(_0x439579,_0x28c90e,_0x3d5776){const _0x4ee86e=a34_0x5585;return _0x2c8ac6[_0x4ee86e(0x129)](_0x439579,_0x28c90e,_0x3d5776);}};_0x2c8ac6['GEAzK'](overrideQuit,_0x302c02,_0xa0b8ef),_0x2c8ac6[_0x851748(0x124)](overrideTakeScreenshot,_0x302c02),helper[_0x851748(0x131)](_0x302c02,_0x2416d1),_0x2c8ac6[_0x851748(0x133)](overrideExecute,_0x302c02,_0x2416d1),_0x302c02[_0x851748(0x110)]=async()=>{const _0xe8bf28=_0x851748;return await _0x2c8ac6[_0xe8bf28(0x133)](getAccessibilityResultsSummary,_0x302c02,global);},_0x302c02['getAccessibilityResults']=async()=>{const _0x194f6e=_0x851748;return await _0x2e6f10[_0x194f6e(0x170)](getAccessibilityResults,_0x302c02,global);};}),_0xa0b8ef[_0x58a13e(0x110)]=async()=>{const _0x179557=_0x58a13e;return await _0x2c8ac6[_0x179557(0x133)](getAccessibilityResultsSummary,_0xa0b8ef,global);},_0xa0b8ef[_0x58a13e(0x144)]=async()=>{const _0x5a4ccd=_0x58a13e;return await _0x3f261a[_0x5a4ccd(0x12c)](getAccessibilityResults,_0xa0b8ef,global);},_0x3f261a['ABGqG'](overrideTakeScreenshot,_0xa0b8ef),_0x3f261a[_0x58a13e(0x160)](overrideQuit,_0xa0b8ef),helper[_0x58a13e(0x131)](_0xa0b8ef,_0x2416d1),_0x3f261a[_0x58a13e(0xfc)](overrideExecute,_0xa0b8ef,_0x2416d1),helper[_0x58a13e(0x15d)](global[_0x58a13e(0x16f)])&&(global[_0x58a13e(0x16f)]=[]),helper[_0x58a13e(0x15d)](global[_0x58a13e(0x116)])&&(global[_0x58a13e(0x116)]=[]),global[_0x58a13e(0x16f)][_0x58a13e(0x16c)](_0xa0b8ef),global['__driver']=_0xa0b8ef,_0x3f261a[_0x58a13e(0x120)](global[_0x58a13e(0x116)],undefined)&&global[_0x58a13e(0x116)]['push'](_0xa0b8ef),_0x2d8a9e&&helper[_0x58a13e(0x15d)](_0x2d8a9e[_0x58a13e(0x153)]['__driversArray'])&&(_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x16f)]=[]),_0x2d8a9e&&_0x3f261a[_0x58a13e(0x143)](_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x116)],undefined)&&(_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x116)][_0x58a13e(0x16c)](_0xa0b8ef),_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x16f)]['push'](_0xa0b8ef)),_0xa0b8ef;}}return _0x2e6589[_0x53c875(0x128)]=_0x2e6589[_0x53c875(0x13f)],_0x2e6589[_0x53c875(0x13f)]=_0x4d1be7,_0x1e0a60[_0x53c875(0x113)]=_0x43c469,_0x2e6589;};function a34_0x5585(_0x113373,_0x2ad682){const _0x793a3a=a34_0x793a();return a34_0x5585=function(_0x5585d1,_0x2f1cf3){_0x5585d1=_0x5585d1-0xf8;let _0x479b1d=_0x793a3a[_0x5585d1];return _0x479b1d;},a34_0x5585(_0x113373,_0x2ad682);}module['exports']['browserstackAgentObservability']=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x51a4cf=a35_0x4b64;function a35_0x47ce(){const _0x1a03aa=['../../../helpers/request-spy','13059ZgWhOq','11NoUgOq','397847cRFyNp','6370390egRGBO','15910YYXcYO','../../../bin/utils/constants','79989bCYovg','restore','344MowapA','4XEiQxB','timeout','NuqYy','9ivkaet','mochaHooks','5904522zbghVT','../../../helpers/test-observability/utils','2311368bukyts','1518AocMCd','224qaiOIJ'];a35_0x47ce=function(){return _0x1a03aa;};return a35_0x47ce();}(function(_0x154b6a,_0x4f4ab3){const _0x5c6615=a35_0x4b64,_0x1cb563=_0x154b6a();while(!![]){try{const _0x146666=parseInt(_0x5c6615(0x1d4))/0x1*(parseInt(_0x5c6615(0x1db))/0x2)+parseInt(_0x5c6615(0x1d2))/0x3*(-parseInt(_0x5c6615(0x1d0))/0x4)+parseInt(_0x5c6615(0x1d6))/0x5*(parseInt(_0x5c6615(0x1cf))/0x6)+-parseInt(_0x5c6615(0x1d8))/0x7*(-parseInt(_0x5c6615(0x1da))/0x8)+-parseInt(_0x5c6615(0x1de))/0x9*(parseInt(_0x5c6615(0x1d5))/0xa)+parseInt(_0x5c6615(0x1d3))/0xb*(-parseInt(_0x5c6615(0x1ce))/0xc)+-parseInt(_0x5c6615(0x1cc))/0xd;if(_0x146666===_0x4f4ab3)break;else _0x1cb563['push'](_0x1cb563['shift']());}catch(_0xbf0454){_0x1cb563['push'](_0x1cb563['shift']());}}}(a35_0x47ce,0x89d06));function a35_0x4b64(_0x59f3af,_0x2746e6){const _0x47cec7=a35_0x47ce();return a35_0x4b64=function(_0x4b6420,_0x3bcd2c){_0x4b6420=_0x4b6420-0x1cb;let _0x493af0=_0x47cec7[_0x4b6420];return _0x493af0;},a35_0x4b64(_0x59f3af,_0x2746e6);}const requestSpy=require(a35_0x51a4cf(0x1d1)),constants=require(a35_0x51a4cf(0x1d7)),{addRequestSpy}=require(a35_0x51a4cf(0x1cd));exports[a35_0x51a4cf(0x1cb)]={'beforeAll'(){const _0x1584a4=a35_0x51a4cf,_0x34bf36={'NuqYy':function(_0x5936bf){return _0x5936bf();}},_0x537f05='browserstack internal helper hook';_0x34bf36[_0x1584a4(0x1dd)](addRequestSpy);},'afterAll'(){const _0x488de3=a35_0x51a4cf,_0xdb8390='browserstack internal helper hook';this[_0x488de3(0x1dc)](0xea60),requestSpy[_0x488de3(0x1d9)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36_0x82bc80=a36_0xef87;function a36_0x5002(){const _0x39d6d7=['hook','GEXDI','344326vTcAhj','_beforeEach','4AHKmtp','1390835oclHKO','RyfDd','generic','757420qbgKsH','jvqaS','SaOdh','4973464MNCvbg','vSSqi','browserstack','rROSo','_afterAll','markedStatus','concat','getHookSkippedTests','getBrowserVersion','hook:','parent','DQdvW','getHooksForTest','map_','getHookDetails','mapTestHooks','DHDoi','failed','rIsBL','dXzlg','reduce','get','platformVersion','JftxJ','nakQP','YcAqX','AWCPj','ewylw','hookAnalyticsId','VIyCN','3618588AGEHqA','MCuOw','tAfxT','KeGGC','bs:addPlatformDetails:','Mksvc','state','ejqWA','../../../../package.json','1037877QggzvW','uuid','emit','OvcNY','__cloud_provider___','QHLmA','ZPhGR','_afterEach','forEach','PGOpT','unknown_grid','GgPWL','2213470lDJwCx','OdLzQ','kQKtb','passed','_beforeAll','TEST_PLATFORM','toJSON','../../../helpers/test-observability/constants','tests','sendPlatformDetails','../../../helpers/test-observability/utils','split','../../../helpers/helper','getCapabilities','RtBpS','slice','indexOf'];a36_0x5002=function(){return _0x39d6d7;};return a36_0x5002();}function a36_0xef87(_0x25f584,_0x2a1de5){const _0x50023d=a36_0x5002();return a36_0xef87=function(_0xef87cf,_0x6c63e){_0xef87cf=_0xef87cf-0x19c;let _0x756f9d=_0x50023d[_0xef87cf];return _0x756f9d;},a36_0xef87(_0x25f584,_0x2a1de5);}(function(_0x894bb,_0x25d2df){const _0x3a4658=a36_0xef87,_0x39eefe=_0x894bb();while(!![]){try{const _0x420777=-parseInt(_0x3a4658(0x1ea))/0x1+parseInt(_0x3a4658(0x1a1))/0x2+parseInt(_0x3a4658(0x1cb))/0x3*(parseInt(_0x3a4658(0x19d))/0x4)+parseInt(_0x3a4658(0x19e))/0x5+parseInt(_0x3a4658(0x1c2))/0x6+-parseInt(_0x3a4658(0x1d7))/0x7+-parseInt(_0x3a4658(0x1a4))/0x8;if(_0x420777===_0x25d2df)break;else _0x39eefe['push'](_0x39eefe['shift']());}catch(_0xfa698b){_0x39eefe['push'](_0x39eefe['shift']());}}}(a36_0x5002,0x4f083));const {v4:uuidv4}=require(a36_0x82bc80(0x1cc)),{name,version}=require(a36_0x82bc80(0x1ca)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x82bc80(0x1e1)),{consoleHolder}=require(a36_0x82bc80(0x1de)),{getPlatformVersion}=require(a36_0x82bc80(0x1e3)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a36_0x82bc80(0x1e1));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x277b9c=a36_0x82bc80,_0x2964db={'DHDoi':_0x277b9c(0x1a0),'sklKK':function(_0x4229e3){return _0x4229e3();}};return{'ci':_0x2964db[_0x277b9c(0x1b4)],'key':_0x2964db['sklKK'](uuidv4),'version':version,'collector':'js-'+name};},exports[a36_0x82bc80(0x1b2)]=_0x113056=>{const _0x27d4f9=a36_0x82bc80,_0xfc82cb={};_0xfc82cb[_0x27d4f9(0x1bd)]=function(_0x122b8a,_0x2e468c){return _0x122b8a!==_0x2e468c;},_0xfc82cb['AWCPj']='string',_0xfc82cb[_0x27d4f9(0x1bf)]=function(_0x11b838,_0x3802d8){return _0x11b838!==_0x3802d8;},_0xfc82cb[_0x27d4f9(0x1a3)]=_0x27d4f9(0x1ad),_0xfc82cb['vSSqi']=function(_0x7249f4,_0x2698ad){return _0x7249f4!==_0x2698ad;},_0xfc82cb[_0x27d4f9(0x1c7)]=_0x27d4f9(0x1e8);const _0x4de810=_0xfc82cb;if(!_0x113056||_0x4de810[_0x27d4f9(0x1bd)](typeof _0x113056,_0x4de810[_0x27d4f9(0x1be)]))return[null,null];if(_0x4de810[_0x27d4f9(0x1bf)](_0x113056[_0x27d4f9(0x1e7)](_0x4de810[_0x27d4f9(0x1a3)]),-0x1)){const _0x4c0468=_0x113056[_0x27d4f9(0x1e2)](_0x4de810[_0x27d4f9(0x1a3)]);return[_0x4c0468[0x0][_0x27d4f9(0x1e6)](0x0,-0x1)[_0x27d4f9(0x1e2)]('\x22')[0x1],_0x4c0468[0x1]['substring'](0x1)];}else{if(_0x4de810[_0x27d4f9(0x1a5)](_0x113056[_0x27d4f9(0x1e7)](_0x4de810[_0x27d4f9(0x1c7)]),-0x1)){const _0x14ba0a=_0x113056[_0x27d4f9(0x1e2)](_0x4de810['Mksvc']);return[_0x14ba0a[0x0][_0x27d4f9(0x1e6)](0x0,-0x1)['split']('\x22')[0x1],_0x113056];}}return[null,null];},exports[a36_0x82bc80(0x1b0)]=_0x387f79=>{const _0x3e6ddf=a36_0x82bc80,_0x5301e8={'OvcNY':function(_0x4aada6,_0x152d0d){return _0x4aada6(_0x152d0d);},'GgPWL':'_beforeAll','DQdvW':_0x3e6ddf(0x1a8),'tAfxT':_0x3e6ddf(0x19c),'RyfDd':'_afterEach'};if(!_0x387f79||!_0x387f79[_0x3e6ddf(0x1ae)])return[];const _0xd4fbdd=[];return[_0x5301e8[_0x3e6ddf(0x1d6)],_0x5301e8[_0x3e6ddf(0x1af)],_0x5301e8[_0x3e6ddf(0x1c4)],_0x5301e8[_0x3e6ddf(0x19f)]][_0x3e6ddf(0x1d3)](_0xd46d5b=>{const _0x399651=_0x3e6ddf,_0x32f688=_0x387f79[_0x399651(0x1ae)][_0xd46d5b]||[];_0x32f688[_0x399651(0x1d3)](_0x385c0d=>{const _0x2e3317=_0x399651;_0x385c0d['hookAnalyticsId']&&!_0x5301e8[_0x2e3317(0x1ce)](isInternalHook,_0x385c0d['fn'])&&_0xd4fbdd['push'](_0x385c0d[_0x2e3317(0x1c0)]);});}),[..._0xd4fbdd,...exports[_0x3e6ddf(0x1b0)](_0x387f79[_0x3e6ddf(0x1ae)])];},exports['mapTestHooks']=_0x67c8f2=>{const _0x7bda51=a36_0x82bc80,_0x9a98cc={'KeGGC':function(_0x4c599d){return _0x4c599d();},'rIsBL':function(_0x1f1525,_0x222b19){return _0x1f1525===_0x222b19;},'PGOpT':_0x7bda51(0x1d2),'dXzlg':function(_0x5cd79b){return _0x5cd79b();},'SIBPL':_0x7bda51(0x1db),'ZPhGR':'_afterAll','OdLzQ':_0x7bda51(0x19c)};if(!_0x67c8f2||!_0x67c8f2[_0x7bda51(0x1ae)])return;[_0x9a98cc['SIBPL'],_0x9a98cc[_0x7bda51(0x1d1)],_0x9a98cc[_0x7bda51(0x1d8)],_0x9a98cc['PGOpT']][_0x7bda51(0x1d3)](_0x1f8cab=>{const _0x36533a=_0x7bda51,_0x113328=_0x67c8f2[_0x36533a(0x1ae)][_0x1f8cab]||[];_0x113328['forEach'](_0x59eb14=>{const _0x513e06=_0x36533a;if(!_0x59eb14['hookAnalyticsId'])_0x59eb14[_0x513e06(0x1c0)]=_0x9a98cc[_0x513e06(0x1c5)](uuidv4);else _0x59eb14[_0x513e06(0x1a9)]&&_0x9a98cc[_0x513e06(0x1b6)](_0x1f8cab,_0x9a98cc[_0x513e06(0x1d4)])&&(_0x59eb14[_0x513e06(0x1c0)]=_0x9a98cc[_0x513e06(0x1b7)](uuidv4),delete _0x59eb14[_0x513e06(0x1a9)]);});}),exports[_0x7bda51(0x1b3)](_0x67c8f2[_0x7bda51(0x1ae)]);},exports[a36_0x82bc80(0x1e0)]=async(_0xc1f1de,_0x562d4f)=>{const _0x2ec330=a36_0x82bc80,_0xa3dc54={'bSoqq':function(_0x1c5fd9){return _0x1c5fd9();},'RtBpS':function(_0x169f68,_0xbf1b06){return _0x169f68(_0xbf1b06);},'jvqaS':_0x2ec330(0x1ba),'QHLmA':function(_0x3307e7,_0x56e921){return _0x3307e7===_0x56e921;},'JftxJ':_0x2ec330(0x1a6),'rROSo':_0x2ec330(0x1d5),'ejqWA':_0x2ec330(0x1dc)};try{if(!_0xa3dc54['bSoqq'](shouldProcessEventForTesthub))return;const _0x550f03=await _0xc1f1de[_0x2ec330(0x1e4)](),_0x431a53=await _0xc1f1de['getSession'](),_0x13cd6f={},_0x21527e=Object['fromEntries'](_0x431a53[_0x2ec330(0x1e4)]()[_0x2ec330(0x1b1)]),_0x15cc7f={'product':_0xa3dc54['RtBpS'](getObservabilityLinkedProductName,_0x21527e),'capabilities':_0x21527e,'platform':_0x550f03['getPlatform'](),'platform_version':_0x550f03[_0x2ec330(0x1b9)](_0xa3dc54[_0x2ec330(0x1a2)])?_0x550f03[_0x2ec330(0x1b9)](_0xa3dc54[_0x2ec330(0x1a2)]):_0xa3dc54[_0x2ec330(0x1e5)](getPlatformVersion,_0xa3dc54[_0x2ec330(0x1d0)](global[_0x2ec330(0x1cf)],_0xa3dc54[_0x2ec330(0x1bb)])),'browser':_0x550f03['getBrowserName'](),'browser_version':_0x550f03[_0x2ec330(0x1ac)](),'session_id':_0x431a53[_0x2ec330(0x1dd)]()};global[_0x2ec330(0x1cf)]?_0x13cd6f[global[_0x2ec330(0x1cf)]]=_0x15cc7f:_0x13cd6f[_0xa3dc54[_0x2ec330(0x1a7)]]=_0x15cc7f,process[_0x2ec330(0x1cd)](_0x2ec330(0x1c6)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0xa3dc54[_0x2ec330(0x1c9)],'http_response':_0x13cd6f,'uuid':_0x562d4f});}catch(_0x5d513d){_0xa3dc54[_0x2ec330(0x1e5)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5d513d);}},exports['getHookSkippedTests']=_0x67854e=>{const _0x6efd5=a36_0x82bc80,_0x1de42f={};_0x1de42f[_0x6efd5(0x1c3)]=function(_0xc7397,_0x507e31){return _0xc7397!==_0x507e31;},_0x1de42f[_0x6efd5(0x1e9)]=_0x6efd5(0x1e8),_0x1de42f['kQKtb']=_0x6efd5(0x1da),_0x1de42f[_0x6efd5(0x1c1)]=function(_0x1d25c7,_0x3a8a5d){return _0x1d25c7!==_0x3a8a5d;},_0x1de42f[_0x6efd5(0x1bc)]=_0x6efd5(0x1b5);const _0x3f881b=_0x1de42f,_0x11840b=_0x67854e['suites'][_0x6efd5(0x1b8)]((_0xfb4747,_0x9a84cc)=>{const _0x1765b0=_0x6efd5,_0x1ea64f=exports[_0x1765b0(0x1ab)](_0x9a84cc);return _0x1ea64f&&(_0xfb4747=_0xfb4747[_0x1765b0(0x1aa)](_0x1ea64f)),_0xfb4747;},[]),_0x3812b2=_0x67854e[_0x6efd5(0x1df)]['filter'](_0x429a18=>{const _0x309001=_0x6efd5,_0x310f21=_0x3f881b['MCuOw'](_0x429a18['type'],_0x3f881b['GEXDI'])&&!_0x429a18[_0x309001(0x1a9)]&&_0x3f881b[_0x309001(0x1c3)](_0x429a18[_0x309001(0x1c8)],_0x3f881b[_0x309001(0x1d9)])&&_0x3f881b[_0x309001(0x1c1)](_0x429a18['state'],_0x3f881b[_0x309001(0x1bc)])&&!_0x429a18['pending'];return _0x310f21;});return _0x3812b2[_0x6efd5(0x1aa)](_0x11840b);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a37_0x2ea0(_0x7b13d5,_0x3f1a33){const _0x4764ef=a37_0x4764();return a37_0x2ea0=function(_0x2ea0d1,_0x197cac){_0x2ea0d1=_0x2ea0d1-0xd4;let _0x5b54cd=_0x4764ef[_0x2ea0d1];return _0x5b54cd;},a37_0x2ea0(_0x7b13d5,_0x3f1a33);}function a37_0x4764(){const _0x29b2eb=['getCurrentUrl','__error_messages__','../../helpers/logger','7555GAiWDa','lWYGH','isAccessibilityPlatform','ogFvR','err','Failed:\x20','60ULnUKh','shouldScanTestForAccessibility','driverCleanup','BROWSERSTACK_TESTHUB_JWT','app','state','../../helpers/helper','finally','OgqPj','shift','../../helpers/testhub/constants','7148730fNlBMH','SeLug','../../helpers/performance/performance-tester','AnwJM','BROWSERSTACK_TESTHUB_UUID','IQSZG','BZZuB','Aoshi','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OpZkD','fvwAC','index','gGbCa','3728bFFRoo','\x22}}','QEiGO','setGlobal','saveTestResults','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','caRgG','Automate\x20test\x20case\x20execution\x20has\x20started.','getGlobal','qwABZ','protocol','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','stringify','TBUNt','__drivers','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','percyCaptureMode','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','QPaeA','afterAll','OAVey','SdoFe','WnRRV','executeAsyncScript','./test-observability/mochaUtils','DcXEv','message','beforeEach','testcase','start','error','3570292GogmmV','length','currentTest','session_','SESSION_STATUS','TWftN','mGSXA','VIKcs','KKPZZ','rNsXD','SYNC','PYPTJ','env','ZZkXi','fYqwK','PcWyX','http:','NNrby','join','../../helpers/performance/constants','287829ovbKoW','ENV_VAR','sjquG','passed','browserstackSessionName','GnuKy','afterEach','1552BFATHB','urqHP','format','__skipSessionName','../utils/constants','../../helpers/accessibility-automation/scripts','ExqUe','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','TZipa','\x20-\x20','ieJLh','539ytOcTC','performScan','gUIzE','7XbbOFe','now','then','FycLr','CVaUP','PERFORM_SCAN','koPHM','debug','yTICg','isArray','afterTest','testAnalyticsId','eYLAv','RqKpJ','IYUwC','initQuit','command','jfKWp','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','2720976eMbrOI','wszmi','ZYtQL','TGbCX','capabilities','info','KnjOl','titlePath','Lvetr','ejtKI','eyQAT','FhBYT','TKOay','end','qHaIc','bstackA11yShouldScan','.\x20Error\x20:','VRyew','1209999uzBbNI','timeout','daeXN','ikUgK','measureWrapper','SESSION_NAME','daDiy','winstonLogger','BCoKU','OOkXh','SDK_HOOK','util','ZrybZ','TNOSo','__platformCaps','LqWjT','ddEad','sessionName','__sessionFailed','appium:app','uCxpN','startMonitoring','xEJJd','Mocha'];a37_0x4764=function(){return _0x29b2eb;};return a37_0x4764();}const a37_0x145fec=a37_0x2ea0;(function(_0x355d87,_0x2430e2){const _0x435207=a37_0x2ea0,_0x5f1670=_0x355d87();while(!![]){try{const _0x3c312d=-parseInt(_0x435207(0x105))/0x1*(-parseInt(_0x435207(0xfa))/0x2)+parseInt(_0x435207(0x12d))/0x3+-parseInt(_0x435207(0x166))/0x4*(parseInt(_0x435207(0x148))/0x5)+parseInt(_0x435207(0x159))/0x6+-parseInt(_0x435207(0x108))/0x7*(parseInt(_0x435207(0x11b))/0x8)+-parseInt(_0x435207(0xf3))/0x9*(-parseInt(_0x435207(0x14e))/0xa)+parseInt(_0x435207(0xdf))/0xb;if(_0x3c312d===_0x2430e2)break;else _0x5f1670['push'](_0x5f1670['shift']());}catch(_0x190a28){_0x5f1670['push'](_0x5f1670['shift']());}}}(a37_0x4764,0xbeb50));const util=require(a37_0x145fec(0x138)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x145fec(0xfe)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a37_0x145fec(0xd8)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x145fec(0x154)),PerformanceTester=require(a37_0x145fec(0x15b)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x145fec(0xf2)),scripts=require(a37_0x145fec(0xff)),globals=require('../../helpers/globals'),logger=require(a37_0x145fec(0x147))[a37_0x145fec(0x134)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a37_0x145fec(0x158));exports['mochaHooks']={'beforeAll'(){const _0xe37d04=a37_0x145fec,_0x21749c={'scDuG':function(_0x134f61,_0x34b310,_0x3734f3,_0x321d9f){return _0x134f61(_0x34b310,_0x3734f3,_0x321d9f);},'FycLr':'failed','ddEad':'\x20|\x20','ikUgK':function(_0x412f09,_0x11188e,_0x16c617){return _0x412f09(_0x11188e,_0x16c617);},'lWYGH':_0xe37d04(0xf6),'mGSXA':function(_0x1ae373){return _0x1ae373();},'GnuKy':_0xe37d04(0x164),'caRgG':'beforeAll'};PerformanceTester[_0xe37d04(0x142)]();const _0x3b1c18='browserstack internal helper hook';PerformanceTester[_0xe37d04(0x131)](PerformanceSdkEvents[_0xe37d04(0x137)],()=>{const _0x516c72=_0xe37d04,_0x46851b={'sjquG':function(_0x19d18a,_0x148453,_0x1bed46,_0x28a66d){return _0x21749c['scDuG'](_0x19d18a,_0x148453,_0x1bed46,_0x28a66d);},'BZZuB':_0x21749c[_0x516c72(0x10b)],'daDiy':_0x21749c[_0x516c72(0x13d)],'TGbCX':function(_0x23cdc5,_0x2e8adc,_0x4b0435){const _0xd56e99=_0x516c72;return _0x21749c[_0xd56e99(0x130)](_0x23cdc5,_0x2e8adc,_0x4b0435);},'CVaUP':_0x21749c[_0x516c72(0x149)],'TZipa':function(_0x94a0d6){const _0x3fd5a5=_0x516c72;return _0x21749c[_0x3fd5a5(0xe5)](_0x94a0d6);}};global[_0x516c72(0x146)]=[],global['__sessionFailed']=![],global[_0x516c72(0x150)]=async()=>{const _0x37a32d=_0x516c72;let _0x222c9c=![];try{await global[_0x37a32d(0x176)][0x0][_0x37a32d(0xe2)],_0x222c9c=!![],global[_0x37a32d(0x13f)]?await _0x46851b[_0x37a32d(0xf5)](markSessionStatus,global['__drivers'][0x0],_0x46851b[_0x37a32d(0x15f)],global[_0x37a32d(0x146)][_0x37a32d(0xf1)](_0x46851b[_0x37a32d(0x133)])):await _0x46851b['TGbCX'](markSessionStatus,global[_0x37a32d(0x176)][0x0],_0x46851b[_0x37a32d(0x10c)]);}catch(_0x114a80){logger['debug'](_0x37a32d(0x173)+_0x114a80);}global[_0x37a32d(0x146)]=[],global['__sessionFailed']=![];if(_0x222c9c)try{try{_0x46851b[_0x37a32d(0x102)](shouldProcessEventForTesthub)&&(global[_0x37a32d(0x176)][0x0]&&await _0x46851b[_0x37a32d(0x11e)](sendPlatformDetails,global[_0x37a32d(0x176)][0x0],this[_0x37a32d(0xe1)]?this[_0x37a32d(0xe1)][_0x37a32d(0x113)]:null));}catch(_0x23008a){logger[_0x37a32d(0x10f)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x23008a);}await global[_0x37a32d(0x176)][0x0][_0x37a32d(0x117)]();}catch(_0x2e5c1b){logger[_0x37a32d(0x10f)](_0x37a32d(0x101)+_0x2e5c1b);}};},{'platform':_0x21749c[_0xe37d04(0x130)](nestedKeyValue,global['__platformCaps'],[_0x21749c[_0xe37d04(0xf8)]]),'hookType':_0x21749c[_0xe37d04(0x16e)]})();},'beforeEach'(_0x1da152){const _0x135b8c=a37_0x145fec,_0x5daa46={'VRyew':function(_0x4f2d48,_0x471410){return _0x4f2d48>_0x471410;},'qwABZ':_0x135b8c(0x103),'QPaeA':function(_0x332163,_0x577a92,_0x5d81c4){return _0x332163(_0x577a92,_0x5d81c4);},'SeAVD':_0x135b8c(0x12a),'wszmi':function(_0x4b2011){return _0x4b2011();},'IQSZG':_0x135b8c(0x14a),'OgqPj':function(_0x1c7562,_0x55b56c){return _0x1c7562===_0x55b56c;},'IYUwC':_0x135b8c(0xef),'ejtKI':function(_0x64068b,_0x3fbf26){return _0x64068b===_0x3fbf26;},'vBPYn':'https:','TsZiF':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','urqHP':_0x135b8c(0x16f),'TWftN':function(_0x4d0991){return _0x4d0991();},'irgzh':function(_0x1a4571){return _0x1a4571();},'PcWyX':'browserstackTestName','qHaIc':_0x135b8c(0x164),'DcXEv':_0x135b8c(0xdb)};globals['setGlobal'](_0x5daa46[_0x135b8c(0xee)],this['currentTest'][_0x135b8c(0x122)]()[_0x135b8c(0xf1)](_0x5daa46[_0x135b8c(0x171)])),PerformanceTester[_0x135b8c(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2fa10e=_0x135b8c,_0x2741d2={'Lvetr':function(_0x5612bd){return _0x5daa46['irgzh'](_0x5612bd);}},_0x258714='browserstack internal helper hook';new Promise(async _0x34840e=>{const _0x21fcde=a37_0x2ea0;let _0x4bbf28=!![];try{_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)][_0x21fcde(0xe0)],0x1)&&(await global[_0x21fcde(0x150)](),global[_0x21fcde(0x176)][_0x21fcde(0x157)]()),_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)][0x0]['quitCount_'],0x0)&&(_0x4bbf28=![],await global['driverCleanup']());}catch(_0x1cd501){logger['debug'](_0x21fcde(0x101)+_0x1cd501);}try{Array[_0x21fcde(0x111)](global[_0x21fcde(0x176)])&&global[_0x21fcde(0x176)][0x0]&&(global[_0x21fcde(0x176)][0x0][_0x21fcde(0xf7)]=this['currentTest']['titlePath']()[_0x21fcde(0xf1)](_0x5daa46[_0x21fcde(0x171)])),global[_0x21fcde(0xf7)]=this[_0x21fcde(0xe1)][_0x21fcde(0x122)]()[_0x21fcde(0xf1)](_0x5daa46[_0x21fcde(0x171)]);}catch(_0x143e12){logger[_0x21fcde(0x10f)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x143e12);}this[_0x21fcde(0xe1)]['shouldScanTestForAccessibility']=_0x5daa46[_0x21fcde(0x17b)](shouldScanTestForAccessibility,this['currentTest'][_0x21fcde(0x122)](),!![]),globals[_0x21fcde(0x169)](_0x5daa46['SeAVD'],this[_0x21fcde(0xe1)][_0x21fcde(0x14f)]),this[_0x21fcde(0xe1)]['accessibilityScanStarted']=!![];if(_0x5daa46[_0x21fcde(0x11c)](isAccessibilityAutomationSession)&&_0x4bbf28&&Array[_0x21fcde(0x111)](global[_0x21fcde(0x176)])&&_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)]['length'],0x0)&&globals[_0x21fcde(0x170)](_0x5daa46[_0x21fcde(0x15e)]))try{const _0x245668=await global[_0x21fcde(0x176)][0x0][_0x21fcde(0xe2)];if(_0x245668){let _0x1f06ed=!![];const _0x414860=await global[_0x21fcde(0x176)][0x0][_0x21fcde(0x145)]();let _0x3d52bb;try{_0x3d52bb=new URL(_0x414860);}catch(_0x2baea0){_0x1f06ed=![];}_0x1f06ed=_0x5daa46[_0x21fcde(0x156)](_0x3d52bb[_0x21fcde(0x172)],_0x5daa46[_0x21fcde(0x116)])||_0x5daa46[_0x21fcde(0x124)](_0x3d52bb[_0x21fcde(0x172)],_0x5daa46['vBPYn']),_0x1f06ed&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x21fcde(0x120)](_0x5daa46['TsZiF'])),this[_0x21fcde(0xe1)]['accessibilityScanStarted']=this['currentTest'][_0x21fcde(0x14f)],this[_0x21fcde(0xe1)][_0x21fcde(0x14f)]&&logger[_0x21fcde(0x120)](_0x5daa46[_0x21fcde(0xfb)]);}}catch(_0x419204){logger[_0x21fcde(0xde)](_0x21fcde(0x17a)+util[_0x21fcde(0xfc)](_0x419204));}_0x5daa46[_0x21fcde(0xe4)](_0x34840e);})[_0x2fa10e(0x10a)](()=>{const _0x5995aa=_0x2fa10e;_0x2741d2[_0x5995aa(0x123)](_0x1da152);});},{'platform':_0x5daa46[_0x135b8c(0x17b)](nestedKeyValue,global[_0x135b8c(0x13b)],[_0x5daa46[_0x135b8c(0x129)]]),'hookType':_0x5daa46[_0x135b8c(0xd9)]})();},'afterEach'(_0x1cbe2d){const _0x2d01e4=a37_0x145fec,_0x1ceb9b={'SeLug':function(_0x40703a){return _0x40703a();},'OAVey':function(_0x52e18f,_0x63f5ac){return _0x52e18f!==_0x63f5ac;},'BCoKU':'passed','AnwJM':function(_0x2f7f44,_0x3d3be5,_0x150474){return _0x2f7f44(_0x3d3be5,_0x150474);},'KKPZZ':function(_0x344a66,_0x5c6880){return _0x344a66+_0x5c6880;},'USHEr':_0x2d01e4(0x14d),'bckYQ':'error','xEJJd':'Passed','SdoFe':'info','EsAaL':_0x2d01e4(0x103),'KnjOl':function(_0x3e8c00,_0x26dbf3){return _0x3e8c00>_0x26dbf3;},'gGbCa':function(_0x37778a,_0x395c04){return _0x37778a===_0x395c04;},'YhwGL':_0x2d01e4(0xdc),'yTICg':_0x2d01e4(0x140),'PGSZr':function(_0x3082e2,_0x5a0d63,_0x3cc5f1,_0x3eed1d){return _0x3082e2(_0x5a0d63,_0x3cc5f1,_0x3eed1d);},'pmmLh':'isAccessibilityPlatform','rNsXD':_0x2d01e4(0x12a),'uFHPO':_0x2d01e4(0x177),'WPZHy':'Performing\x20scan\x20before\x20saving\x20results','UrnQa':_0x2d01e4(0x112),'jfKWp':_0x2d01e4(0x161),'koPHM':function(_0x1496c9,_0x3a85c7,_0x17e220){return _0x1496c9(_0x3a85c7,_0x17e220);},'gUIzE':_0x2d01e4(0x10f),'QEiGO':_0x2d01e4(0x144),'UNpMy':'index','NNrby':_0x2d01e4(0xf9)},_0x5ce97e='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1ceb9b[_0x2d01e4(0x168)]]),global[_0x2d01e4(0x13e)]=this[_0x2d01e4(0xe1)]['titlePath']()[_0x2d01e4(0xf1)](_0x1ceb9b['EsAaL']),PerformanceTester[_0x2d01e4(0x131)](PerformanceSdkEvents[_0x2d01e4(0x137)],()=>{const _0x387e21=_0x2d01e4,_0x2d9c16={'daeXN':function(_0x471ba3,_0x394c58){const _0x1cad21=a37_0x2ea0;return _0x1ceb9b[_0x1cad21(0xd4)](_0x471ba3,_0x394c58);},'ieJLh':_0x1ceb9b[_0x387e21(0x135)],'RqKpJ':function(_0x5e455a,_0x3db393,_0x1c9297){const _0x48d1e5=_0x387e21;return _0x1ceb9b[_0x48d1e5(0x15c)](_0x5e455a,_0x3db393,_0x1c9297);},'AJoox':function(_0x2f4566,_0x5e7858){const _0x32a3f2=_0x387e21;return _0x1ceb9b[_0x32a3f2(0xe7)](_0x2f4566,_0x5e7858);},'Aoshi':_0x1ceb9b['USHEr'],'FhBYT':_0x1ceb9b['bckYQ'],'ZZkXi':_0x1ceb9b[_0x387e21(0x143)],'nQIYh':_0x1ceb9b[_0x387e21(0xd5)],'ExqUe':_0x1ceb9b['EsAaL'],'TNOSo':function(_0x156749,_0x3a668a){const _0x5339de=_0x387e21;return _0x1ceb9b[_0x5339de(0x121)](_0x156749,_0x3a668a);},'TKOay':function(_0x345dec,_0x2781a0){const _0x275208=_0x387e21;return _0x1ceb9b[_0x275208(0x165)](_0x345dec,_0x2781a0);},'WnRRV':_0x1ceb9b['YhwGL'],'LqWjT':_0x1ceb9b[_0x387e21(0x110)],'eyQAT':function(_0x4a717a,_0x15c526,_0x5aa334,_0x398567){return _0x1ceb9b['PGSZr'](_0x4a717a,_0x15c526,_0x5aa334,_0x398567);},'ogFvR':_0x1ceb9b['pmmLh'],'OpZkD':_0x1ceb9b[_0x387e21(0xe8)],'FBbSh':_0x1ceb9b['uFHPO'],'MLmPA':_0x1ceb9b['WPZHy'],'ZrybZ':_0x1ceb9b['UrnQa'],'TBUNt':_0x1ceb9b[_0x387e21(0x119)],'eYLAv':function(_0xf1fa0){const _0x1e5110=_0x387e21;return _0x1ceb9b[_0x1e5110(0x15a)](_0xf1fa0);},'uCxpN':function(_0x1c76ab,_0x2f5d7e,_0x1de055){const _0x572ed8=_0x387e21;return _0x1ceb9b[_0x572ed8(0x10e)](_0x1c76ab,_0x2f5d7e,_0x1de055);},'fvwAC':_0x1ceb9b[_0x387e21(0x107)]},_0x3d6e02=async(_0x5d5ed0,_0x1c567f)=>{const _0xcea062=_0x387e21;await global[_0xcea062(0x176)][0x0][_0xcea062(0x16b)](_0xcea062(0x11a)+_0x5d5ed0+',\x22level\x22:\x20\x22'+_0x1c567f+_0xcea062(0x167));};new Promise(async _0x31d7a8=>{const _0x31c0a9=_0x387e21,_0x30df42={};_0x30df42[_0x31c0a9(0xed)]=_0x2d9c16[_0x31c0a9(0x100)];const _0x18e3c9=_0x30df42;try{_0x2d9c16[_0x31c0a9(0x13a)](global['__drivers'][_0x31c0a9(0xe0)],0x1)&&(await global[_0x31c0a9(0x150)](),global['__drivers'][_0x31c0a9(0x157)](),global[_0x31c0a9(0x146)]=[],global[_0x31c0a9(0x13f)]=![]);try{if(global['percy']&&_0x2d9c16[_0x31c0a9(0x127)](global[_0x31c0a9(0x179)],_0x2d9c16[_0x31c0a9(0xd6)])&&global[_0x31c0a9(0x176)][0x0]){const _0x1a7742=_0x2d9c16[_0x31c0a9(0x13a)](global['capabilities']['length'],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x31c0a9(0x11f)][0x0][_0x2d9c16[_0x31c0a9(0x13c)]]:![],_0x4241f3={};_0x4241f3[_0x31c0a9(0x152)]=_0x1a7742,await _0x2d9c16[_0x31c0a9(0x125)](percyAutoCapture,global[_0x31c0a9(0x176)][0x0],_0x2d9c16['WnRRV'],_0x4241f3);}}catch(_0x2072a9){logger['debug'](_0x31c0a9(0x178)+_0x2072a9);}!global[_0x31c0a9(0xfd)]&&(await PerformanceTester[_0x31c0a9(0x131)](PerformanceAutEvents[_0x31c0a9(0x132)],async()=>{const _0x214029=_0x31c0a9;await global[_0x214029(0x176)][0x0][_0x214029(0x16b)](_0x214029(0x16c)+JSON['stringify'](this[_0x214029(0xe1)][_0x214029(0x122)]()[_0x214029(0xf1)](_0x18e3c9[_0x214029(0xed)]))+'}}');})(),global[_0x31c0a9(0x176)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x31c0a9(0x131)](PerformanceAutEvents[_0x31c0a9(0xe3)],async()=>{const _0x189d73=_0x31c0a9,_0x3648d0=_0x2d9c16[_0x189d73(0x12f)](this[_0x189d73(0xe1)][_0x189d73(0x153)],_0x2d9c16[_0x189d73(0x104)]);_0x3648d0?(global[_0x189d73(0x13f)]=!![],global[_0x189d73(0x146)]['push'](this[_0x189d73(0xe1)][_0x189d73(0x14c)][_0x189d73(0xda)]),await _0x2d9c16[_0x189d73(0x115)](_0x3d6e02,JSON['stringify'](_0x2d9c16['AJoox'](_0x2d9c16[_0x189d73(0x160)],this[_0x189d73(0xe1)]['err'][_0x189d73(0xda)])),_0x2d9c16[_0x189d73(0x126)])):await _0x2d9c16['RqKpJ'](_0x3d6e02,JSON[_0x189d73(0x174)](_0x2d9c16[_0x189d73(0xec)]),_0x2d9c16['nQIYh']);})();}catch(_0x50e10b){logger['debug'](_0x31c0a9(0x16d)+_0x50e10b);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x31c0a9(0x170)](_0x2d9c16[_0x31c0a9(0x14b)])&&globals[_0x31c0a9(0x170)](_0x2d9c16[_0x31c0a9(0x162)])){logger[_0x31c0a9(0x120)](_0x2d9c16['FBbSh']);const _0x2ced87={};_0x2ced87['thTestRunUuid']=this[_0x31c0a9(0xe1)][_0x31c0a9(0x113)],_0x2ced87['thBuildUuid']=process['env'][testHubConstants[_0x31c0a9(0xf4)][_0x31c0a9(0x15d)]],_0x2ced87['thJwtToken']=process[_0x31c0a9(0xeb)][testHubConstants[_0x31c0a9(0xf4)][_0x31c0a9(0x151)]];const _0x5a346f=_0x2ced87;logger[_0x31c0a9(0x10f)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x5a346f)),logger[_0x31c0a9(0x10f)](_0x2d9c16['MLmPA']);const _0x4d17e9={};_0x4d17e9[_0x31c0a9(0x118)]=_0x2d9c16[_0x31c0a9(0x139)],await PerformanceTester[_0x31c0a9(0x131)](PerformanceA11yEvents[_0x31c0a9(0x10d)],async()=>{const _0x2142e2=_0x31c0a9;logger[_0x2142e2(0x10f)](util[_0x2142e2(0xfc)](await global[_0x2142e2(0x176)][0x0][_0x2142e2(0xd7)](scripts[_0x2142e2(0x106)],{'method':global[_0x2142e2(0xf7)]})));},_0x4d17e9)(),await PerformanceTester[_0x31c0a9(0x131)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2e97e0=_0x31c0a9;await global[_0x2e97e0(0x176)][0x0]['executeAsyncScript'](scripts[_0x2e97e0(0x16a)],_0x5a346f);})(),logger[_0x31c0a9(0x120)](_0x2d9c16[_0x31c0a9(0x175)]);}}catch(_0x5a9f86){logger[_0x31c0a9(0xde)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x31c0a9(0xe1)][_0x31c0a9(0x122)]()+_0x31c0a9(0x12b),_0x5a9f86);}try{try{if(_0x2d9c16[_0x31c0a9(0x114)](shouldProcessEventForTesthub)){global[_0x31c0a9(0x176)][0x0]&&await _0x2d9c16[_0x31c0a9(0x141)](sendPlatformDetails,global[_0x31c0a9(0x176)][0x0],this[_0x31c0a9(0xe1)]?this['currentTest']['testAnalyticsId']:null);if(_0x2d9c16[_0x31c0a9(0x114)](isBrowserstackInfra)){PerformanceTester[_0x31c0a9(0xdd)](PerformanceO11yEvents[_0x31c0a9(0xe9)]);const _0x41a0dd='ObservabilitySync:'+Date[_0x31c0a9(0x109)]();await _0x2d9c16[_0x31c0a9(0x115)](_0x3d6e02,JSON[_0x31c0a9(0x174)](_0x41a0dd),_0x2d9c16[_0x31c0a9(0x163)]),PerformanceTester[_0x31c0a9(0x128)](PerformanceO11yEvents['SYNC']);}}}catch(_0x519e2d){logger[_0x31c0a9(0x10f)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x519e2d),PerformanceTester[_0x31c0a9(0x128)](PerformanceO11yEvents['SYNC'],![],_0x519e2d);}_0x2d9c16[_0x31c0a9(0x13a)](global[_0x31c0a9(0x176)][0x0]['quitCount_'],0x0)&&await global[_0x31c0a9(0x150)]();}catch(_0xb9e372){logger[_0x31c0a9(0x10f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xb9e372);}_0x2d9c16[_0x31c0a9(0x114)](_0x31d7a8);})['then'](()=>{const _0x4ba59e=_0x387e21;_0x1ceb9b[_0x4ba59e(0x15a)](_0x1cbe2d);});},{'platform':_0x1ceb9b[_0x2d01e4(0x15c)](nestedKeyValue,global['__platformCaps'],[_0x1ceb9b['UNpMy']]),'hookType':_0x1ceb9b[_0x2d01e4(0xf0)]})();},'afterAll'(_0x42a5d7){const _0x5d9876=a37_0x145fec,_0xc1d4d9={'OOkXh':function(_0x5ae69d){return _0x5ae69d();},'ZYtQL':_0x5d9876(0x144),'PYPTJ':function(_0x35be71,_0x3d22e5,_0x4dddc3){return _0x35be71(_0x3d22e5,_0x4dddc3);},'zkEby':'index','xPpCI':_0x5d9876(0x17c)},_0x35f570='browserstack internal helper hook';this[_0x5d9876(0x12e)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xc1d4d9[_0x5d9876(0x11d)]]),PerformanceTester[_0x5d9876(0x131)](PerformanceSdkEvents[_0x5d9876(0x137)],()=>{const _0x6d3668=_0x5d9876,_0x3b814e={'VIKcs':function(_0xbe1361){const _0x2d08fa=a37_0x2ea0;return _0xc1d4d9[_0x2d08fa(0x136)](_0xbe1361);}};new Promise(async _0x1a8a01=>{const _0x5d9479=a37_0x2ea0;await global[_0x5d9479(0x150)](),_0x3b814e[_0x5d9479(0xe6)](_0x1a8a01);})[_0x6d3668(0x10a)]()[_0x6d3668(0x155)](()=>{_0x3b814e['VIKcs'](_0x42a5d7);});},{'platform':_0xc1d4d9[_0x5d9876(0xea)](nestedKeyValue,global[_0x5d9876(0x13b)],[_0xc1d4d9['zkEby']]),'hookType':_0xc1d4d9['xPpCI']})();}};
|
|
1
|
+
function a37_0x3057(_0x5d8d26,_0x15c3c1){const _0x2ff004=a37_0x2ff0();return a37_0x3057=function(_0x305754,_0x3aaf7b){_0x305754=_0x305754-0x8d;let _0x5adc04=_0x2ff004[_0x305754];return _0x5adc04;},a37_0x3057(_0x5d8d26,_0x15c3c1);}const a37_0x27f424=a37_0x3057;(function(_0x171f3d,_0x1aeea0){const _0x493cbe=a37_0x3057,_0x589714=_0x171f3d();while(!![]){try{const _0x1388a0=-parseInt(_0x493cbe(0x90))/0x1+parseInt(_0x493cbe(0xf0))/0x2*(parseInt(_0x493cbe(0x92))/0x3)+parseInt(_0x493cbe(0xe8))/0x4+parseInt(_0x493cbe(0xa0))/0x5+-parseInt(_0x493cbe(0x125))/0x6+parseInt(_0x493cbe(0x12c))/0x7+parseInt(_0x493cbe(0x95))/0x8;if(_0x1388a0===_0x1aeea0)break;else _0x589714['push'](_0x589714['shift']());}catch(_0x52e9a3){_0x589714['push'](_0x589714['shift']());}}}(a37_0x2ff0,0x3b4f4));function a37_0x2ff0(){const _0x328bb3=['SESSION_STATUS','RcEVq','vsTni','HbDJR','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','__drivers','winstonLogger','message','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','IvVlA','KAvFG','XVuEn','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','info','measureWrapper','../../helpers/logger','fodhA','uCmii','CFPRa','BYUeC','isArray','bIXgS','eOpfK','Passed','afterEach','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','thTestRunUuid','afterAll','percyCaptureMode','fiOuQ','iNQoj','Zuaua','FaPdU','error','UMwUR','PERFORM_SCAN','executeScript','afterTest','CCMOt','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LleVr','mochaHooks','../utils/constants','hrmhz','MTzty','TafZZ','DQgip','sessionNameSet__','executeAsyncScript','MTnPG','Performing\x20scan\x20before\x20saving\x20results','../../helpers/globals','nRsUT','length','NQXAX','app','YrweN','vXGkG','.\x20Error\x20:','Failed:\x20','shouldScanTestForAccessibility','start','percy','morxK','ObservabilitySync:','794752YvKAHF','zPDPC','zlJSE','end','aKnlW','KdeUs','util','WCauU','190CciKwY','appium:app','PyyIZ','currentTest','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','jeMTT','state','aEUfO','protocol','GAEkB','OrMki','\x20-\x20','Failed\x20to\x20store\x20session\x20name:\x20','GtQot','shift','BROWSERSTACK_TESTHUB_UUID','ncEvh','then','Mocha','jkZcf','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/percy/utils','LjnNB','WIKyi','iHyBa',',\x22level\x22:\x20\x22','Kobkz','titlePath','GNrEN','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','BROWSERSTACK_TESTHUB_JWT','JeqLd','finally','debug','oiAzv','fmsNs','NTyFn','oQOxQ','getGlobal','err','EJaXE','__platformCaps','kvOFy','UVOzH','performScan','env','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','xqLTQ','testAnalyticsId','../../helpers/testhub/utils','__error_messages__','command','1098900UVFUVD','isAccessibilityPlatform','../../helpers/helper','KNEPp','browserstackSessionName','setGlobal','initQuit','1590764dLRjnO','LZWig','https:','rzHkN','LAZAF','wETpq','SYNC','../../helpers/performance/performance-tester','capabilities','./test-observability/mochaUtils','ulFgs','../../helpers/performance/constants','driverCleanup','http:','\x22}}','session_','browserstackTestName','quitCount_','rmoFI','format','471226CyvdXv','SDK_HOOK','1752UbYzvY','accessibilityScanStarted','index','2180424HQDBYp','timeout','sessionName','thBuildUuid','saveTestResults','hwWyZ','__sessionFailed','stringify','push','beforeEach','ZLPxO','716675oezckg','ENV_VAR','QuqWV','lakNW','SDkHG','join'];a37_0x2ff0=function(){return _0x328bb3;};return a37_0x2ff0();}const util=require(a37_0x27f424(0xee)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x27f424(0xd1)),{percyAutoCapture}=require(a37_0x27f424(0x105)),{sendPlatformDetails}=require(a37_0x27f424(0x135)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x27f424(0x127)),PerformanceTester=require(a37_0x27f424(0x133)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x27f424(0x137)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a37_0x27f424(0xda)),logger=require(a37_0x27f424(0xb6))[a37_0x27f424(0xad)],{shouldProcessEventForTesthub}=require(a37_0x27f424(0x122)),testHubConstants=require('../../helpers/testhub/constants');exports[a37_0x27f424(0xd0)]={'beforeAll'(){const _0x2512f5=a37_0x27f424,_0x3379c0={'BYUeC':function(_0xcc1ae2,_0x33826e,_0x26335d,_0x5ec5a7){return _0xcc1ae2(_0x33826e,_0x26335d,_0x5ec5a7);},'ulFgs':'failed','duyZs':'\x20|\x20','aKnlW':function(_0x30264b,_0x4f337b,_0x24c247){return _0x30264b(_0x4f337b,_0x24c247);},'UVOzH':'passed','fmsNs':function(_0x31da69){return _0x31da69();},'KNEPp':function(_0x431da1,_0x44a098,_0x442e68){return _0x431da1(_0x44a098,_0x442e68);},'vsTni':'index','kvOFy':'beforeAll'};PerformanceTester['startMonitoring']();const _0x73fa9e='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2512f5(0x91)],()=>{const _0x5f4bbb=_0x2512f5;global[_0x5f4bbb(0x123)]=[],global[_0x5f4bbb(0x9b)]=![],global[_0x5f4bbb(0x138)]=async()=>{const _0x14a13a=_0x5f4bbb;let _0x573b72=![];try{await global[_0x14a13a(0xac)][0x0][_0x14a13a(0x13b)],_0x573b72=!![],global[_0x14a13a(0x9b)]?await _0x3379c0[_0x14a13a(0xba)](markSessionStatus,global[_0x14a13a(0xac)][0x0],_0x3379c0[_0x14a13a(0x136)],global[_0x14a13a(0x123)]['join'](_0x3379c0['duyZs'])):await _0x3379c0[_0x14a13a(0xec)](markSessionStatus,global[_0x14a13a(0xac)][0x0],_0x3379c0[_0x14a13a(0x11c)]);}catch(_0x23343c){logger[_0x14a13a(0x112)](_0x14a13a(0x10e)+_0x23343c);}global[_0x14a13a(0x123)]=[],global[_0x14a13a(0x9b)]=![];if(_0x573b72)try{try{_0x3379c0[_0x14a13a(0x114)](shouldProcessEventForTesthub)&&(global[_0x14a13a(0xac)][0x0]&&await _0x3379c0[_0x14a13a(0xec)](sendPlatformDetails,global[_0x14a13a(0xac)][0x0],this[_0x14a13a(0xf3)]?this[_0x14a13a(0xf3)]['testAnalyticsId']:null));}catch(_0x1a4a20){logger[_0x14a13a(0x112)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x1a4a20);}await global[_0x14a13a(0xac)][0x0][_0x14a13a(0x12b)]();}catch(_0x3c6375){logger['debug'](_0x14a13a(0xaf)+_0x3c6375);}};},{'platform':_0x3379c0[_0x2512f5(0x128)](nestedKeyValue,global[_0x2512f5(0x11a)],[_0x3379c0[_0x2512f5(0xa8)]]),'hookType':_0x3379c0[_0x2512f5(0x11b)]})();},'beforeEach'(_0x3b4398){const _0x5bb323=a37_0x27f424,_0x3a13a4={'aEUfO':function(_0x17fe53){return _0x17fe53();},'Kobkz':function(_0x48c911,_0x4e968f){return _0x48c911>_0x4e968f;},'ZLPxO':_0x5bb323(0xfb),'iHyBa':function(_0x42202d,_0x4a86e7,_0x34cd33){return _0x42202d(_0x4a86e7,_0x34cd33);},'ncEvh':'bstackA11yShouldScan','hrmhz':function(_0x2588fc){return _0x2588fc();},'jkZcf':_0x5bb323(0x126),'Zuaua':function(_0x4b9b28,_0x8fd46f){return _0x4b9b28===_0x8fd46f;},'BZFgx':_0x5bb323(0x139),'LjnNB':_0x5bb323(0x12e),'MfyXu':_0x5bb323(0x104),'NTyFn':_0x5bb323(0x10d),'HbDJR':function(_0x182b58){return _0x182b58();},'ROEsS':_0x5bb323(0x13c),'vXGkG':function(_0x424b88,_0x41d595,_0x45eb57){return _0x424b88(_0x41d595,_0x45eb57);},'CFPRa':_0x5bb323(0x94),'MTnPG':_0x5bb323(0x9e)};globals[_0x5bb323(0x12a)](_0x3a13a4['ROEsS'],this['currentTest'][_0x5bb323(0x10b)]()[_0x5bb323(0xa5)](_0x3a13a4[_0x5bb323(0x9f)])),PerformanceTester[_0x5bb323(0xb5)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x19dac3=_0x5bb323,_0x24a1d1={'PyyIZ':function(_0x3d62c8,_0x14bc53){const _0x639604=a37_0x3057;return _0x3a13a4[_0x639604(0x10a)](_0x3d62c8,_0x14bc53);},'fodhA':function(_0x122519,_0x4f9777){const _0x531d85=a37_0x3057;return _0x3a13a4[_0x531d85(0x10a)](_0x122519,_0x4f9777);},'LZWig':_0x3a13a4[_0x19dac3(0x9f)],'LleVr':function(_0x551927,_0x3573cf,_0xa8ff5e){const _0xa2d35d=_0x19dac3;return _0x3a13a4[_0xa2d35d(0x108)](_0x551927,_0x3573cf,_0xa8ff5e);},'hRvUG':_0x3a13a4[_0x19dac3(0x100)],'eOpfK':function(_0x4daec1){const _0x1ef14e=_0x19dac3;return _0x3a13a4[_0x1ef14e(0xd2)](_0x4daec1);},'JZJge':_0x3a13a4[_0x19dac3(0x103)],'MTzty':function(_0x1670f6,_0x3aa0bd){const _0x4e2236=_0x19dac3;return _0x3a13a4[_0x4e2236(0xc6)](_0x1670f6,_0x3aa0bd);},'WIKyi':_0x3a13a4['BZFgx'],'okWvB':_0x3a13a4[_0x19dac3(0x106)],'ZrKeN':_0x3a13a4['MfyXu'],'OrMki':_0x3a13a4[_0x19dac3(0x115)],'FaPdU':function(_0x2c2473){const _0x24ea1a=_0x19dac3;return _0x3a13a4[_0x24ea1a(0xa9)](_0x2c2473);}},_0x3dad13='browserstack internal helper hook';new Promise(async _0x3c84d0=>{const _0x5de492=_0x19dac3;let _0x39f997=!![];try{_0x24a1d1[_0x5de492(0xf2)](global[_0x5de492(0xac)][_0x5de492(0xdc)],0x1)&&(await global[_0x5de492(0x138)](),global[_0x5de492(0xac)]['shift']()),_0x24a1d1['fodhA'](global[_0x5de492(0xac)][0x0][_0x5de492(0x8d)],0x0)&&(_0x39f997=![],await global[_0x5de492(0x138)]());}catch(_0x2a00ea){logger['debug'](_0x5de492(0xaf)+_0x2a00ea);}try{Array[_0x5de492(0xbb)](global[_0x5de492(0xac)])&&global[_0x5de492(0xac)][0x0]&&(global[_0x5de492(0xac)][0x0][_0x5de492(0x129)]=this[_0x5de492(0xf3)][_0x5de492(0x10b)]()['join'](_0x24a1d1[_0x5de492(0x12d)])),global[_0x5de492(0x129)]=this[_0x5de492(0xf3)]['titlePath']()['join'](_0x24a1d1[_0x5de492(0x12d)]);}catch(_0x4a2b69){logger[_0x5de492(0x112)](_0x5de492(0xfc)+_0x4a2b69);}this['currentTest'][_0x5de492(0xe3)]=_0x24a1d1[_0x5de492(0xcf)](shouldScanTestForAccessibility,this[_0x5de492(0xf3)][_0x5de492(0x10b)](),!![]),globals[_0x5de492(0x12a)](_0x24a1d1['hRvUG'],this[_0x5de492(0xf3)][_0x5de492(0xe3)]),this[_0x5de492(0xf3)]['accessibilityScanStarted']=!![];if(_0x24a1d1[_0x5de492(0xbd)](isAccessibilityAutomationSession)&&_0x39f997&&Array[_0x5de492(0xbb)](global[_0x5de492(0xac)])&&_0x24a1d1[_0x5de492(0xb7)](global[_0x5de492(0xac)]['length'],0x0)&&globals['getGlobal'](_0x24a1d1['JZJge']))try{const _0x3c3b8d=await global['__drivers'][0x0]['session_'];if(_0x3c3b8d){let _0x44dfa7=!![];const _0x3e954d=await global[_0x5de492(0xac)][0x0]['getCurrentUrl']();let _0x58a3ad;try{_0x58a3ad=new URL(_0x3e954d);}catch(_0x4932ab){_0x44dfa7=![];}_0x44dfa7=_0x24a1d1['MTzty'](_0x58a3ad[_0x5de492(0xf8)],_0x24a1d1[_0x5de492(0x107)])||_0x24a1d1[_0x5de492(0xd3)](_0x58a3ad[_0x5de492(0xf8)],_0x24a1d1['okWvB']),_0x44dfa7&&(this[_0x5de492(0xf3)][_0x5de492(0xe3)]&&logger['info'](_0x24a1d1['ZrKeN'])),this[_0x5de492(0xf3)][_0x5de492(0x93)]=this[_0x5de492(0xf3)][_0x5de492(0xe3)],this[_0x5de492(0xf3)][_0x5de492(0xe3)]&&logger[_0x5de492(0xb4)](_0x24a1d1[_0x5de492(0xfa)]);}}catch(_0x575be3){logger[_0x5de492(0xc8)](_0x5de492(0xf4)+util[_0x5de492(0x8f)](_0x575be3));}_0x24a1d1[_0x5de492(0xc7)](_0x3c84d0);})[_0x19dac3(0x101)](()=>{const _0x5f18b9=_0x19dac3;_0x3a13a4[_0x5f18b9(0xf7)](_0x3b4398);});},{'platform':_0x3a13a4[_0x5bb323(0xe0)](nestedKeyValue,global[_0x5bb323(0x11a)],[_0x3a13a4[_0x5bb323(0xb9)]]),'hookType':_0x3a13a4[_0x5bb323(0xd8)]})();},'afterEach'(_0x3969ee){const _0x2f4af2=a37_0x27f424,_0xbcd95f={'wETpq':'\x20-\x20','RcEVq':function(_0x54ee93,_0x52fe2e){return _0x54ee93!==_0x52fe2e;},'DcYsE':'passed','morxK':function(_0x46a58e,_0x1ba198,_0x4c5e44){return _0x46a58e(_0x1ba198,_0x4c5e44);},'rmoFI':function(_0x4f8820,_0x38ea8e){return _0x4f8820+_0x38ea8e;},'KAvFG':_0x2f4af2(0xe2),'WCauU':_0x2f4af2(0xc8),'JeqLd':_0x2f4af2(0xbe),'CCMOt':_0x2f4af2(0xb4),'oQOxQ':function(_0x3b86f7,_0x378410){return _0x3b86f7>_0x378410;},'eccSb':function(_0x2d77bd,_0x5d9011){return _0x2d77bd===_0x5d9011;},'UMwUR':'testcase','jeMTT':_0x2f4af2(0xf1),'hwWyZ':function(_0x3133d3,_0x218957,_0x1b0fe3,_0x46281f){return _0x3133d3(_0x218957,_0x1b0fe3,_0x46281f);},'GAEkB':_0x2f4af2(0x126),'bIXgS':'bstackA11yShouldScan','oiAzv':_0x2f4af2(0xb3),'lakNW':_0x2f4af2(0xd9),'zpwBy':_0x2f4af2(0xcc),'ZcVfP':_0x2f4af2(0xce),'XVuEn':function(_0x474eaf){return _0x474eaf();},'DQgip':function(_0x323f60,_0x112184,_0x396ed1){return _0x323f60(_0x112184,_0x396ed1);},'GtQot':function(_0x55c0e8,_0x509f82,_0x5038e7){return _0x55c0e8(_0x509f82,_0x5038e7);},'fvmeI':_0x2f4af2(0x112),'QuqWV':function(_0xdcdbc8){return _0xdcdbc8();},'fiOuQ':'Mocha','rzHkN':function(_0x5401f5,_0x34dbec,_0x32aa3d){return _0x5401f5(_0x34dbec,_0x32aa3d);},'EJaXE':_0x2f4af2(0x94),'zlJSE':_0x2f4af2(0xbf)},_0xe2817b='browserstack internal helper hook';this[_0x2f4af2(0x96)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xbcd95f[_0x2f4af2(0xc4)]]),global[_0x2f4af2(0x97)]=this[_0x2f4af2(0xf3)][_0x2f4af2(0x10b)]()[_0x2f4af2(0xa5)](_0xbcd95f[_0x2f4af2(0x131)]),PerformanceTester[_0x2f4af2(0xb5)](PerformanceSdkEvents[_0x2f4af2(0x91)],()=>{const _0x215a60=_0x2f4af2,_0xefebae=async(_0x3a383b,_0x2b5a6c)=>{const _0x5204b0=a37_0x3057;await global[_0x5204b0(0xac)][0x0][_0x5204b0(0xcb)](_0x5204b0(0xc0)+_0x3a383b+_0x5204b0(0x109)+_0x2b5a6c+_0x5204b0(0x13a));};new Promise(async _0x31a133=>{const _0x12ffd8=a37_0x3057,_0x13990b={'RWfGp':_0xbcd95f[_0x12ffd8(0x131)],'iNQoj':function(_0x257b54,_0x553599){const _0x2f2d5d=_0x12ffd8;return _0xbcd95f[_0x2f2d5d(0xa7)](_0x257b54,_0x553599);},'TafZZ':_0xbcd95f['DcYsE'],'IvVlA':function(_0x8b7e90,_0x26c7c6,_0x29be46){const _0x3cf069=_0x12ffd8;return _0xbcd95f[_0x3cf069(0xe6)](_0x8b7e90,_0x26c7c6,_0x29be46);},'KdeUs':function(_0x28c74b,_0x6edcf3){const _0x17cbc0=_0x12ffd8;return _0xbcd95f[_0x17cbc0(0x8e)](_0x28c74b,_0x6edcf3);},'TwoTA':_0xbcd95f[_0x12ffd8(0xb1)],'xqLTQ':_0xbcd95f[_0x12ffd8(0xef)],'nRsUT':_0xbcd95f[_0x12ffd8(0x110)],'LAZAF':_0xbcd95f[_0x12ffd8(0xcd)]};try{_0xbcd95f[_0x12ffd8(0x116)](global['__drivers'][_0x12ffd8(0xdc)],0x1)&&(await global[_0x12ffd8(0x138)](),global[_0x12ffd8(0xac)][_0x12ffd8(0xfe)](),global[_0x12ffd8(0x123)]=[],global[_0x12ffd8(0x9b)]=![]);try{if(global[_0x12ffd8(0xe5)]&&_0xbcd95f['eccSb'](global[_0x12ffd8(0xc3)],_0xbcd95f[_0x12ffd8(0xc9)])&&global[_0x12ffd8(0xac)][0x0]){const _0x38bda7=_0xbcd95f['oQOxQ'](global['capabilities'][_0x12ffd8(0xdc)],0x0)?!!global[_0x12ffd8(0x134)][0x0][_0x12ffd8(0xde)]||!!global[_0x12ffd8(0x134)][0x0][_0xbcd95f[_0x12ffd8(0xf5)]]:![],_0x2dc1ba={};_0x2dc1ba[_0x12ffd8(0xde)]=_0x38bda7,await _0xbcd95f[_0x12ffd8(0x9a)](percyAutoCapture,global['__drivers'][0x0],_0xbcd95f[_0x12ffd8(0xc9)],_0x2dc1ba);}}catch(_0x4bed92){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x4bed92);}!global['__skipSessionName']&&(await PerformanceTester[_0x12ffd8(0xb5)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x3672c6=_0x12ffd8;await global[_0x3672c6(0xac)][0x0][_0x3672c6(0xcb)](_0x3672c6(0x11f)+JSON[_0x3672c6(0x9c)](this[_0x3672c6(0xf3)][_0x3672c6(0x10b)]()[_0x3672c6(0xa5)](_0x13990b['RWfGp']))+'}}');})(),global['__drivers'][0x0][_0x12ffd8(0xd6)]=!![]),await PerformanceTester[_0x12ffd8(0xb5)](PerformanceAutEvents[_0x12ffd8(0xa6)],async()=>{const _0x253065=_0x12ffd8,_0x2ab47f=_0x13990b[_0x253065(0xc5)](this[_0x253065(0xf3)][_0x253065(0xf6)],_0x13990b[_0x253065(0xd4)]);_0x2ab47f?(global[_0x253065(0x9b)]=!![],global['__error_messages__'][_0x253065(0x9d)](this['currentTest'][_0x253065(0x118)][_0x253065(0xae)]),await _0x13990b['IvVlA'](_0xefebae,JSON[_0x253065(0x9c)](_0x13990b[_0x253065(0xed)](_0x13990b['TwoTA'],this['currentTest'][_0x253065(0x118)][_0x253065(0xae)])),_0x13990b[_0x253065(0x120)])):await _0x13990b[_0x253065(0xb0)](_0xefebae,JSON[_0x253065(0x9c)](_0x13990b[_0x253065(0xdb)]),_0x13990b[_0x253065(0x130)]);})();}catch(_0x45a875){logger[_0x12ffd8(0x112)](_0x12ffd8(0xaa)+_0x45a875);}try{if(this[_0x12ffd8(0xf3)][_0x12ffd8(0x93)]&&globals['getGlobal'](_0xbcd95f[_0x12ffd8(0xf9)])&&globals[_0x12ffd8(0x117)](_0xbcd95f[_0x12ffd8(0xbc)])){logger[_0x12ffd8(0xb4)](_0xbcd95f[_0x12ffd8(0x113)]);const _0x52e5a5={};_0x52e5a5[_0x12ffd8(0xc1)]=this[_0x12ffd8(0xf3)][_0x12ffd8(0x121)],_0x52e5a5[_0x12ffd8(0x98)]=process['env'][testHubConstants[_0x12ffd8(0xa1)][_0x12ffd8(0xff)]],_0x52e5a5['thJwtToken']=process[_0x12ffd8(0x11e)][testHubConstants[_0x12ffd8(0xa1)][_0x12ffd8(0x10f)]];const _0x2dae6e=_0x52e5a5;logger[_0x12ffd8(0x112)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x12ffd8(0x9c)](_0x2dae6e)),logger[_0x12ffd8(0x112)](_0xbcd95f[_0x12ffd8(0xa3)]);const _0x8a96d7={};_0x8a96d7[_0x12ffd8(0x124)]=_0xbcd95f['zpwBy'],await PerformanceTester[_0x12ffd8(0xb5)](PerformanceA11yEvents[_0x12ffd8(0xca)],async()=>{const _0x445560=_0x12ffd8;logger[_0x445560(0x112)](util[_0x445560(0x8f)](await global[_0x445560(0xac)][0x0][_0x445560(0xd7)](scripts[_0x445560(0x11d)],{'method':global[_0x445560(0x129)]})));},_0x8a96d7)(),await PerformanceTester[_0x12ffd8(0xb5)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x3806f9=_0x12ffd8;await global[_0x3806f9(0xac)][0x0]['executeAsyncScript'](scripts[_0x3806f9(0x99)],_0x2dae6e);})(),logger['info'](_0xbcd95f['ZcVfP']);}}catch(_0x1fcdc7){logger[_0x12ffd8(0xc8)](_0x12ffd8(0xab)+this[_0x12ffd8(0xf3)]['titlePath']()+_0x12ffd8(0xe1),_0x1fcdc7);}try{try{if(_0xbcd95f[_0x12ffd8(0xb2)](shouldProcessEventForTesthub)){global[_0x12ffd8(0xac)][0x0]&&await _0xbcd95f[_0x12ffd8(0xd5)](sendPlatformDetails,global[_0x12ffd8(0xac)][0x0],this['currentTest']?this[_0x12ffd8(0xf3)][_0x12ffd8(0x121)]:null);if(_0xbcd95f[_0x12ffd8(0xb2)](isBrowserstackInfra)){PerformanceTester[_0x12ffd8(0xe4)](PerformanceO11yEvents['SYNC']);const _0x12ff85=_0x12ffd8(0xe7)+Date['now']();await _0xbcd95f[_0x12ffd8(0xfd)](_0xefebae,JSON[_0x12ffd8(0x9c)](_0x12ff85),_0xbcd95f['fvmeI']),PerformanceTester[_0x12ffd8(0xeb)](PerformanceO11yEvents[_0x12ffd8(0x132)]);}}}catch(_0x3a6fbf){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x3a6fbf),PerformanceTester[_0x12ffd8(0xeb)](PerformanceO11yEvents[_0x12ffd8(0x132)],![],_0x3a6fbf);}_0xbcd95f['oQOxQ'](global[_0x12ffd8(0xac)][0x0][_0x12ffd8(0x8d)],0x0)&&await global[_0x12ffd8(0x138)]();}catch(_0x4dc69d){logger[_0x12ffd8(0x112)](_0x12ffd8(0xaf)+_0x4dc69d);}_0xbcd95f[_0x12ffd8(0xa2)](_0x31a133);})[_0x215a60(0x101)](()=>{const _0x391def=_0x215a60;_0xbcd95f[_0x391def(0xa2)](_0x3969ee);});},{'platform':_0xbcd95f[_0x2f4af2(0x12f)](nestedKeyValue,global[_0x2f4af2(0x11a)],[_0xbcd95f[_0x2f4af2(0x119)]]),'hookType':_0xbcd95f[_0x2f4af2(0xea)]})();},'afterAll'(_0x5e53a2){const _0x480466=a37_0x27f424,_0x5b20d7={'uCmii':function(_0x23f9d6){return _0x23f9d6();},'vUgab':function(_0x5795f1){return _0x5795f1();},'zPDPC':_0x480466(0x102),'YrweN':function(_0x50d3c1,_0x37f265,_0x366e4f){return _0x50d3c1(_0x37f265,_0x366e4f);},'GNrEN':'index','NQXAX':_0x480466(0xc2)},_0x36810d='browserstack internal helper hook';this[_0x480466(0x96)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5b20d7[_0x480466(0xe9)]]),PerformanceTester[_0x480466(0xb5)](PerformanceSdkEvents[_0x480466(0x91)],()=>{const _0x390ab5=_0x480466,_0x1c803a={'SDkHG':function(_0x3c59b2){return _0x5b20d7['vUgab'](_0x3c59b2);}};new Promise(async _0x33ee70=>{const _0x2a44e4=a37_0x3057;await global[_0x2a44e4(0x138)](),_0x1c803a[_0x2a44e4(0xa4)](_0x33ee70);})['then']()[_0x390ab5(0x111)](()=>{const _0x24e382=_0x390ab5;_0x5b20d7[_0x24e382(0xb8)](_0x5e53a2);});},{'platform':_0x5b20d7[_0x480466(0xdf)](nestedKeyValue,global[_0x480466(0x11a)],[_0x5b20d7[_0x480466(0x10c)]]),'hookType':_0x5b20d7[_0x480466(0xdd)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a38_0x1b5ad1=a38_0x5a87;(function(_0x5060fb,_0x5e44d1){const _0x36c1be=a38_0x5a87,_0x53447e=_0x5060fb();while(!![]){try{const _0x4f5630=-parseInt(_0x36c1be(0xa7))/0x1*(parseInt(_0x36c1be(0x88))/0x2)+parseInt(_0x36c1be(0xc5))/0x3*(-parseInt(_0x36c1be(0xb7))/0x4)+-parseInt(_0x36c1be(0x8a))/0x5*(-parseInt(_0x36c1be(0x8b))/0x6)+-parseInt(_0x36c1be(0x9f))/0x7*(-parseInt(_0x36c1be(0xd5))/0x8)+-parseInt(_0x36c1be(0xaa))/0x9+-parseInt(_0x36c1be(0xc3))/0xa+parseInt(_0x36c1be(0xa1))/0xb*(parseInt(_0x36c1be(0xa0))/0xc);if(_0x4f5630===_0x5e44d1)break;else _0x53447e['push'](_0x53447e['shift']());}catch(_0x294d7b){_0x53447e['push'](_0x53447e['shift']());}}}(a38_0x499e,0xb7d5a));function a38_0x5a87(_0x2f061e,_0x204ac5){const _0x499e43=a38_0x499e();return a38_0x5a87=function(_0x5a87ea,_0x22eac5){_0x5a87ea=_0x5a87ea-0x87;let _0x27284a=_0x499e43[_0x5a87ea];return _0x27284a;},a38_0x5a87(_0x2f061e,_0x204ac5);}function a38_0x499e(){const _0x3fb583=['winstonLogger','stringify','MUqOc','hub.browserstack.com','split','test_settings','4cSRZqL','test','child\x20process\x20exited\x20with\x20code\x20','cwd','now','path','Qnmoy','inherit','close','xbNcb','getPlatformName','DhTcO','11873780qeukmT','atOrx','402228YIIdKk','exports','platform','push','--env','OYkFr','uAiJY','host','nightwatch.conf.js','govMA','useW3C','findIndex','NqTMP','join','../utils/constants','splice','16712AAObPW','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','info','../../helpers/BrowserStackSetup','config','existsSync','2615516TvTsEY','--config','5fbVtUH','7260222kAbThT','csbeX','writeFileSync','length','OIKZX','nightwatch.cmd','env','../../helpers/helper','forEach','HPJwE','unlinkSync','debug','trim','webdriver','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mergeDeep','platforms','nightwatch','SFtOy','CnYqT','1890RJxJoc','2896788qeeTPI','121xSTZku','wSZzn','WOVrV','slice','yhQOp','selenium','1CFZJoc','iOGiF','dJyXy','9425322RMNevC','map','modifyBrowserStackCaps','GgbKI','start_process','caQvc','child_process'];a38_0x499e=function(){return _0x3fb583;};return a38_0x499e();}const fs=require('fs'),path=require(a38_0x1b5ad1(0xbc)),{spawn}=require(a38_0x1b5ad1(0xb0)),logger=require('../../helpers/logger')[a38_0x1b5ad1(0xb1)],{default:BrowserStackSetup}=require(a38_0x1b5ad1(0xd8)),helper=require(a38_0x1b5ad1(0x92)),constants=require(a38_0x1b5ad1(0xd3)),getUserNightwatchConfigs=(_0x80407b,_0x1bd5fa)=>{const _0x4745a8=a38_0x1b5ad1,_0x3e9fc3={'Qnmoy':_0x4745a8(0xcd),'DhTcO':'nightwatch.json','xbNcb':function(_0x38a3ad,_0x4f8ddd){return _0x38a3ad(_0x4f8ddd);},'HPJwE':_0x4745a8(0x99)};let _0x1eb354=null,_0x51879b={};const _0x33dde9=_0x1bd5fa[_0x4745a8(0xd0)](_0x1cdc9c=>_0x1cdc9c===_0x4745a8(0x89));if(!helper['isUndefined'](_0x80407b[_0x4745a8(0xd9)])&&fs[_0x4745a8(0x87)](path['join'](process['cwd'](),_0x80407b[_0x4745a8(0xd9)])))_0x1eb354=path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x80407b[_0x4745a8(0xd9)]),_0x1bd5fa['splice'](_0x33dde9,0x2);else{if(fs['existsSync'](path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x3e9fc3[_0x4745a8(0xbd)])))_0x1eb354=path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x3e9fc3['Qnmoy']);else fs[_0x4745a8(0x87)](path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x3e9fc3[_0x4745a8(0xc2)]))&&(_0x1eb354=path[_0x4745a8(0xd2)](process['cwd'](),_0x3e9fc3['DhTcO']));}return _0x1eb354?(logger[_0x4745a8(0xd7)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x1eb354),_0x51879b=_0x3e9fc3[_0x4745a8(0xc0)](require,_0x1eb354)):logger['info'](_0x3e9fc3[_0x4745a8(0x94)]),_0x51879b;},removeExistingEnvs=_0x21aa88=>{const _0x3bc81c=a38_0x1b5ad1,_0x3cf58e={};_0x3cf58e['cBNSJ']=function(_0x10a43e,_0x2940cc){return _0x10a43e>_0x2940cc;},_0x3cf58e[_0x3bc81c(0xa5)]=function(_0x400d88,_0x4349a9){return _0x400d88>_0x4349a9;};const _0x504269=_0x3cf58e;let _0x227251=_0x21aa88[_0x3bc81c(0xd0)](_0x38ce7d=>_0x38ce7d===_0x3bc81c(0xc9));_0x504269['cBNSJ'](_0x227251,-0x1)&&_0x21aa88['splice'](_0x227251,0x2),_0x227251=_0x21aa88[_0x3bc81c(0xd0)](_0x5b2906=>_0x5b2906==='-e'),_0x504269[_0x3bc81c(0xa5)](_0x227251,-0x1)&&_0x21aa88[_0x3bc81c(0xd4)](_0x227251,0x2);};function run(_0x25e03e,_0x32360d,_0x109f25){const _0x5eadde=a38_0x1b5ad1,_0xd0df09={'NqTMP':_0x5eadde(0x9c),'uAiJY':function(_0x217775,_0x450c8a){return _0x217775+_0x450c8a;},'OIKZX':_0x5eadde(0xb6),'WOVrV':function(_0xabf07c,_0x5e3d5e,_0x4d60c4){return _0xabf07c(_0x5e3d5e,_0x4d60c4);},'dJyXy':_0x5eadde(0xb4),'SFtOy':_0x5eadde(0xd6),'govMA':function(_0x3ccf07,_0x101f5a){return _0x3ccf07===_0x101f5a;},'mVGuY':'nightwatch-browserstack.json','csbeX':function(_0x245b0d,_0x4a9606){return _0x245b0d(_0x4a9606);},'atOrx':function(_0x3d33d5,_0x162b76,_0x3979f0,_0x14adc6){return _0x3d33d5(_0x162b76,_0x3979f0,_0x14adc6);},'GgbKI':_0x5eadde(0x90),'OYkFr':_0x5eadde(0x89),'CnYqT':_0x5eadde(0xc9),'iOGiF':_0x5eadde(0xbe),'MUqOc':_0x5eadde(0xbf)};if(!_0x109f25[_0x5eadde(0xd9)])return;const _0x3f30cf=_0xd0df09[_0x5eadde(0xa3)](getUserNightwatchConfigs,_0x25e03e,_0x32360d),_0x51b6a4={};_0x51b6a4[_0x5eadde(0xae)]=![];const _0x5c6278={};_0x5c6278[_0x5eadde(0xcc)]=_0xd0df09[_0x5eadde(0xa9)],_0x5c6278['port']=0x1bb;const _0x44c968={};_0x44c968[_0x5eadde(0x98)]=_0x51b6a4,_0x44c968[_0x5eadde(0xa6)]=_0x5c6278;const _0x5b5575=_0x44c968;logger[_0x5eadde(0xd7)](_0xd0df09[_0x5eadde(0x9d)]);const _0x481ef={..._0x3f30cf},_0x86d273=_0x481ef,_0x57ee02=helper[_0x5eadde(0xcf)](_0x109f25['config']),_0x4148d7=[];_0x109f25[_0x5eadde(0xd9)][_0x5eadde(0x9b)][_0x5eadde(0x93)]((_0x130600,_0x5237ea)=>{const _0x261761=_0x5eadde;_0x57ee02?_0x4148d7[_0x261761(0xc8)](helper['modifyBrowserStackW3CCaps'](_0x109f25[_0x261761(0xd9)],_0xd0df09[_0x261761(0xd1)],_0x5237ea)):_0x4148d7[_0x261761(0xc8)](helper[_0x261761(0xac)](_0x109f25[_0x261761(0xd9)],_0xd0df09[_0x261761(0xd1)],_0x5237ea));});const _0x5591af={},_0x3c4a4a=[];_0x25e03e[_0x5eadde(0x91)]=_0x25e03e[_0x5eadde(0x91)]||_0x25e03e['e'];const _0x39f68c=_0x25e03e[_0x5eadde(0x91)]?_0x25e03e['env']['trim']()[_0x5eadde(0xb5)](',')[_0x5eadde(0xab)](_0x534adb=>_0x534adb[_0x5eadde(0x97)]())['filter'](_0x47c49f=>_0x47c49f!==''):[''];_0xd0df09[_0x5eadde(0xce)](_0x39f68c[_0x5eadde(0x8e)],0x0)&&_0x39f68c[_0x5eadde(0xc8)]('');_0x39f68c[_0x5eadde(0x93)](_0x49e547=>{const _0x3074f7=_0x5eadde,_0x34befe={'caQvc':function(_0x2de553,_0x1c697b){const _0x86364d=a38_0x5a87;return _0xd0df09[_0x86364d(0xcb)](_0x2de553,_0x1c697b);},'wSZzn':_0xd0df09[_0x3074f7(0x8f)]};_0x4148d7[_0x3074f7(0x93)](_0x47847f=>{const _0x3fd449=_0x3074f7;let _0xf08d6b=_0x34befe[_0x3fd449(0xaf)](helper[_0x3fd449(0xc1)](_0x47847f,'_'),'_'+Date[_0x3fd449(0xbb)]());_0x49e547&&(_0xf08d6b+='_'+_0x49e547);if(_0x49e547&&(!_0x3f30cf[_0x34befe[_0x3fd449(0xa2)]]||!_0x3f30cf[_0x34befe['wSZzn']][_0x49e547]))return;const _0x5a3c0c={..._0x5b5575};_0x5a3c0c['desiredCapabilities']=_0x47847f;const _0x5cc042=_0x5a3c0c;_0x5591af[_0xf08d6b]=_0x49e547?helper[_0x3fd449(0x9a)](_0x3f30cf[_0x34befe[_0x3fd449(0xa2)]][_0x49e547],_0x5cc042):_0x5cc042,_0x3c4a4a[_0x3fd449(0xc8)](_0xf08d6b);});});!_0x86d273[_0x5eadde(0xb6)]&&(_0x86d273[_0x5eadde(0xb6)]={});_0x86d273[_0x5eadde(0xb6)]={..._0x86d273[_0x5eadde(0xb6)],..._0x5591af};const _0x55584d=path['join'](__dirname,_0xd0df09['mVGuY']);fs[_0x5eadde(0x8d)](_0x55584d,JSON[_0x5eadde(0xb2)](_0x86d273)),_0xd0df09[_0x5eadde(0x8c)](removeExistingEnvs,_0x32360d);const _0x42a6a2=_0xd0df09[_0x5eadde(0xc4)](spawn,/^win/[_0x5eadde(0xb8)](process[_0x5eadde(0xc7)])?_0xd0df09[_0x5eadde(0xad)]:_0xd0df09[_0x5eadde(0xd1)],[_0xd0df09[_0x5eadde(0xca)],_0x55584d,..._0x32360d[_0x5eadde(0xa4)](0x1),_0xd0df09[_0x5eadde(0x9e)],_0x3c4a4a[_0x5eadde(0xd2)](',')],{'stdio':_0xd0df09[_0x5eadde(0xa8)]});_0x42a6a2['on'](_0xd0df09[_0x5eadde(0xb3)],async _0x4b5a78=>{const _0x380d74=_0x5eadde;logger[_0x380d74(0x96)](_0x380d74(0xb9)+_0x4b5a78),logger[_0x380d74(0xd7)]('Deleting\x20'+_0x55584d),fs[_0x380d74(0x95)](_0x55584d);});}module[a38_0x1b5ad1(0xc6)]=run;
|