browserstack-node-sdk 1.35.7 → 1.35.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x4d6651=a28_0x2dea;(function(_0xf19449,_0x5b16e3){const _0xbe19c9=a28_0x2dea,_0x56d5e3=_0xf19449();while(!![]){try{const _0x465158=parseInt(_0xbe19c9(0x285))/0x1*(parseInt(_0xbe19c9(0x293))/0x2)+-parseInt(_0xbe19c9(0x215))/0x3+parseInt(_0xbe19c9(0x232))/0x4*(-parseInt(_0xbe19c9(0x277))/0x5)+-parseInt(_0xbe19c9(0x24a))/0x6+parseInt(_0xbe19c9(0x1cd))/0x7*(-parseInt(_0xbe19c9(0x297))/0x8)+-parseInt(_0xbe19c9(0x1d4))/0x9*(-parseInt(_0xbe19c9(0x281))/0xa)+-parseInt(_0xbe19c9(0x275))/0xb*(-parseInt(_0xbe19c9(0x25c))/0xc);if(_0x465158===_0x5b16e3)break;else _0x56d5e3['push'](_0x56d5e3['shift']());}catch(_0x351b3a){_0x56d5e3['push'](_0x56d5e3['shift']());}}}(a28_0x4aa8,0x2aa3e));const chalk=require('chalk'),logger=require(a28_0x4d6651(0x214))[a28_0x4d6651(0x20b)],helper=require('../../helpers/helper'),utilities=require(a28_0x4d6651(0x1d8)),testOpsHelper=require(a28_0x4d6651(0x238)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x4d6651(0x1ac)),{getPercyOptions}=require(a28_0x4d6651(0x1cb)),Base=requireModule(a28_0x4d6651(0x1b8),a28_0x4d6651(0x21f)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x4d6651(0x21f)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0x4d6651(0x1a4))['EVENTS'],centralScannerConstants=require('../../helpers/central-scanner/constants'),{FRAMEWORKS}=require(a28_0x4d6651(0x27c)),TestHubHandler=require(a28_0x4d6651(0x225));function a28_0x2dea(_0x36df6f,_0x1ef938){const _0x4aa83c=a28_0x4aa8();return a28_0x2dea=function(_0x2dea35,_0x4aae16){_0x2dea35=_0x2dea35-0x19f;let _0xfe493c=_0x4aa83c[_0x2dea35];return _0xfe493c;},a28_0x2dea(_0x36df6f,_0x1ef938);}function tag(_0x177065,_0x2ece99,_0x36949e,_0x2fb6fc){const _0x2905ba=a28_0x4d6651,_0x4279b7={'UJBlV':function(_0x15a1e3,_0x106055){return _0x15a1e3+_0x106055;},'XDtdI':function(_0x101b14,_0x768e5d){return _0x101b14+_0x768e5d;},'SQCqH':function(_0x468c96,_0x3be4f4){return _0x468c96(_0x3be4f4);}},_0x660e9e=_0x36949e?'/>':'>',_0x302fdc=[];let _0x33ee5e;for(const _0x2e1f4d in _0x2ece99){Object[_0x2905ba(0x280)][_0x2905ba(0x243)]['call'](_0x2ece99,_0x2e1f4d)&&_0x302fdc[_0x2905ba(0x23a)](_0x4279b7[_0x2905ba(0x24e)](_0x4279b7['UJBlV'](_0x4279b7['XDtdI'](_0x2e1f4d,'=\x22'),_0x4279b7[_0x2905ba(0x290)](escape,_0x2ece99[_0x2e1f4d])),'\x22'));}return _0x33ee5e=_0x4279b7[_0x2905ba(0x24e)](_0x4279b7[_0x2905ba(0x24e)](_0x4279b7[_0x2905ba(0x24e)]('<',_0x177065),_0x302fdc[_0x2905ba(0x218)]?_0x4279b7['UJBlV']('\x20',_0x302fdc[_0x2905ba(0x250)]('\x20')):''),_0x660e9e),_0x2fb6fc&&(_0x33ee5e+=_0x4279b7['XDtdI'](_0x4279b7['XDtdI'](_0x4279b7[_0x2905ba(0x24e)](_0x2fb6fc,'</'),_0x177065),_0x660e9e)),_0x33ee5e;}let xunitContent='';function xunitWrite(_0x56236f){xunitContent+=_0x56236f;}function xunitTest(_0x1dbda5,_0x4b9b9a){const _0x19a137=a28_0x4d6651,_0x2b4ff3={'BUphD':function(_0x437422,_0x52b4c4){return _0x437422/_0x52b4c4;},'eBUXf':function(_0x22cb72,_0x2a4fc1){return _0x22cb72===_0x2a4fc1;},'YwKng':_0x19a137(0x21e),'smKCK':function(_0x2f78f6,_0x3c600d){return _0x2f78f6+_0x3c600d;},'ONvnU':function(_0x574fc1,_0xe9fd74){return _0x574fc1(_0xe9fd74);},'xxRDA':function(_0x5d296b,_0x435cb8,_0x1c347f,_0x5e6efa,_0x42857c){return _0x5d296b(_0x435cb8,_0x1c347f,_0x5e6efa,_0x42857c);},'QwJFk':_0x19a137(0x20f),'ZlpiH':_0x19a137(0x1a1),'bqvba':function(_0x2dd5d7,_0x539b0e){return _0x2dd5d7+_0x539b0e;},'eGVyS':function(_0x59496c,_0x209081){return _0x59496c+_0x209081;},'mGzKk':function(_0x52d54f,_0x3a1358){return _0x52d54f+_0x3a1358;},'LgGSm':function(_0x45e002,_0x19c3cc){return _0x45e002(_0x19c3cc);},'SerxR':function(_0x4cce61,_0x2fba16){return _0x4cce61(_0x2fba16);},'Mkgww':function(_0x30b17a,_0x37da71){return _0x30b17a(_0x37da71);},'atihx':function(_0x53c568,_0x52a624,_0x55e2f4,_0x5191d5,_0x12d101){return _0x53c568(_0x52a624,_0x55e2f4,_0x5191d5,_0x12d101);},'tfarX':function(_0x457899,_0x51fcf4,_0x1bfdad,_0x2c73de){return _0x457899(_0x51fcf4,_0x1bfdad,_0x2c73de);},'xOKCu':_0x19a137(0x230),'ikuxd':function(_0x346577,_0x547c23){return _0x346577(_0x547c23);},'RinSV':function(_0x5c59fb,_0x59b31b,_0x39d4a1,_0x36844b){return _0x5c59fb(_0x59b31b,_0x39d4a1,_0x36844b);}};Base['useColors']=![];var _0x4ef4d8={'classname':_0x1dbda5[_0x19a137(0x222)],'name':_0x1dbda5['title'],'time':_0x2b4ff3['BUphD'](_0x1dbda5['duration'],0x3e8)||0x0,'platform':_0x4b9b9a};if(_0x2b4ff3[_0x19a137(0x237)](_0x1dbda5[_0x19a137(0x21c)],_0x2b4ff3[_0x19a137(0x1fc)])){var _0x463b17=_0x1dbda5[_0x19a137(0x1da)],_0x5aa73d=!Base['hideDiff']&&Base[_0x19a137(0x234)](_0x463b17)?_0x2b4ff3[_0x19a137(0x211)]('\x0a',Base[_0x19a137(0x1e4)](_0x463b17[_0x19a137(0x1fe)],_0x463b17[_0x19a137(0x268)])):'';_0x2b4ff3['ONvnU'](xunitWrite,_0x2b4ff3[_0x19a137(0x267)](tag,_0x2b4ff3[_0x19a137(0x1e8)],_0x4ef4d8,![],_0x2b4ff3[_0x19a137(0x267)](tag,_0x2b4ff3[_0x19a137(0x279)],{},![],_0x2b4ff3[_0x19a137(0x1d5)](_0x2b4ff3[_0x19a137(0x227)](_0x2b4ff3['mGzKk'](_0x2b4ff3[_0x19a137(0x1f1)](escape,_0x463b17[_0x19a137(0x1d3)]),_0x2b4ff3['LgGSm'](escape,_0x5aa73d)),'\x0a'),_0x2b4ff3[_0x19a137(0x1d9)](escape,_0x463b17[_0x19a137(0x1c9)])))));}else _0x1dbda5[_0x19a137(0x1d0)]?_0x2b4ff3['Mkgww'](xunitWrite,_0x2b4ff3[_0x19a137(0x264)](tag,_0x2b4ff3[_0x19a137(0x1e8)],_0x4ef4d8,![],_0x2b4ff3[_0x19a137(0x1bd)](tag,_0x2b4ff3[_0x19a137(0x25e)],{},!![]))):_0x2b4ff3[_0x19a137(0x231)](xunitWrite,_0x2b4ff3[_0x19a137(0x1a9)](tag,_0x2b4ff3[_0x19a137(0x1e8)],_0x4ef4d8,!![]));}function a28_0x4aa8(){const _0x2418eb=['FUOBN','bgRedBright','1288302wLufFP','parallelsPerPlatform','json','min','UJBlV','nVpMt','join','keys','EDCQP','MOCHA','validPlatformsPresent','cliConfig','recursive','Total\x20Suites:\x20','BROWSERSTACK_GRR_US_HUB_URL','yellow','tPJka','\x20failed','12VLrOGv','getCentralUser','xOKCu','getOwnPropertyNames','env','qZCQW','start','handleApp','atihx','ignore','Writing\x20xunit\x20result\x20to\x20file','xxRDA','expected','config','hxZLH','finally','debug','NKbuv','forEach','map','zSmem','OuNjG','Tests:\x20\x20\x20\x20\x20\x20\x20','fCNix','IIpGv','5141092RlJlNC','totalTests','5gezqtd','BROWSERSTACK_TEST_OBSERVABILITY_YML','ZlpiH','PclZW','lETpK','../../helpers/test-observability/constants','suite','file','VaiFM','prototype','10qcXXCj','testsPassed','framework','IEfRB','88007tzjpcM','ZbFTw','ZusSC','BROWSERSTACK_TEST_ACCESSIBILITY_YML','logLevel','riAna','xunit','Running\x20your\x20mocha\x20tests','jVadI','ItbUG','SDK_CLEANUP','SQCqH','MemsY','\x20total','2IVPgrt','unlinkSync','accessibilityOptions','extension','1110808SAgHfT','initialize','assign','hpNLu','useW3C','rerunTests','object','stringify','Writing\x20json\x20result\x20to\x20file','cdnqs','jSIZT','yyYQM','failure','mjs','platform','../../helpers/performance/constants','accessibility','testsPending','Couldn\x27t\x20write\x20json\x20result\x20to','gQSKH','RinSV','CtELG','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','../../helpers/helper','errorMessage','platforms','CWPub','iqHiq','failures','DnUvJ','Now,\x20showing\x20logs\x20from\x20mocha','Printing\x20stats\x20of\x20tests','launchBuild','stats','laJUz','mocha/lib/reporters/base.js','get','central_scanner','rootHooks','fireFunnelTestEvent','tfarX','output','BpUiz','passed','duration','shouldReRunObservabilityTests','gWNUI','BwVXq','isUndefined','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','kajPr','tNUat','stack','aXjuv','../../helpers/percy/utils','IUnaj','7BArkzt','Listing\x20all\x20the\x20failures','zRddV','isPending','oGCqw','FPwDB','message','1404099BQjkLS','bqvba','</testsuite>','reporter','../../helpers/utilities','SerxR','err','red','parseFileNames','mFSTX','MXSbS','ehpMl','paMQv','RPtvv','indexOf','passes','generateDiff','exports','CNRbp','KpUxn','QwJFk','upfie','YPyzM','UYrza','MuyLR','titlePath','error','aGmoG','isTestObservabilitySession','ONvnU','ZyzWC','YTQWV','YIyUU','****\x20FAILURES\x20****','BROWSERSTACK_RERUN_TESTS','bgBlueBright','kqZAi','list','hmFjk','setUserConfigPath','YwKng','testSuites','actual','NRRuk','writeFileSync','size','rmdirSync','printBuildLink','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','iiLmK','getPlatformName','testObservability','Running\x20your\x20mocha\x20tests\x20across\x20','add','hzcRh','winstonLogger','FdUmp','nEbMc','toUTCString','testcase','hydEr','smKCK','hcuIj','UDejX','../../helpers/logger','130965vzlkzJ','FRAMEWORKS','wmViU','length','YOSKK','\x0a\x0a\x0a','then','state','RRdLG','failed','mocha','DVjHF','Total\x20Platforms:\x20','fullTitle','proxySettings','spec','../../helpers/testhub/testhubHandler','\x20skipped','eGVyS','test','uQPIe','testsFailed','JAJuz','hmhVE','titlePathV','isBrowserstackInfra','testsuite','skipped','ikuxd','558052ivrxYc','gMapT','showDiff','\x20platforms','results','eBUXf','../../helpers/test-observability/utils','consoleLog','push','bold','oKYbz','cjs','SDKTestSuccessful','EZDBW','suiteName','reporter-option','log','hasOwnProperty','speed','green','getTCGConfigFilePaths','error\x20removing\x20tcg\x20config\x20file'];a28_0x4aa8=function(){return _0x2418eb;};return a28_0x4aa8();};function getStats(_0x3ebed3){const _0x25de01=a28_0x4d6651,_0x2792b5={};_0x2792b5[_0x25de01(0x1aa)]=_0x25de01(0x27d),_0x2792b5[_0x25de01(0x1bf)]=_0x25de01(0x1c0),_0x2792b5[_0x25de01(0x291)]=_0x25de01(0x21e),_0x2792b5['nEbMc']=_0x25de01(0x236);const _0x7a2e12=_0x2792b5,_0x6e62c7=Object[_0x25de01(0x251)](_0x3ebed3);let _0x36c16f=0x0,_0xb9d341=0x0,_0x2c7f0e=0x0,_0x35ec14=0x0;const _0x2aff5e=new Set();_0x6e62c7[_0x25de01(0x26e)](_0xc3b782=>{const _0x39f6ff=_0x25de01,_0x58257e={};_0x58257e[_0x39f6ff(0x1dd)]=_0x7a2e12['CtELG'],_0x58257e[_0x39f6ff(0x1e1)]=_0x7a2e12[_0x39f6ff(0x1bf)],_0x58257e[_0x39f6ff(0x220)]=_0x7a2e12[_0x39f6ff(0x291)];const _0x5be03b=_0x58257e;_0x3ebed3[_0xc3b782][_0x7a2e12[_0x39f6ff(0x20d)]][_0x39f6ff(0x26e)](_0x11ee6d=>{const _0x2cfac6=_0x39f6ff;_0x2aff5e[_0x2cfac6(0x209)](_0x11ee6d[_0x5be03b[_0x2cfac6(0x1dd)]]),_0x36c16f++;switch(_0x11ee6d[_0x2cfac6(0x21c)]){case _0x5be03b[_0x2cfac6(0x1e1)]:_0x2c7f0e++;break;case _0x5be03b[_0x2cfac6(0x220)]:_0xb9d341++;break;default:_0x35ec14++;}});});const _0x274ee3={};return _0x274ee3['testSuites']=_0x2aff5e[_0x25de01(0x201)],_0x274ee3['platforms']=_0x6e62c7,_0x274ee3[_0x25de01(0x276)]=_0x36c16f,_0x274ee3[_0x25de01(0x22a)]=_0xb9d341,_0x274ee3[_0x25de01(0x282)]=_0x2c7f0e,_0x274ee3[_0x25de01(0x1a6)]=_0x35ec14,_0x274ee3;}function errorJSON(_0x3ec943){const _0x171314=a28_0x4d6651;var _0x275bdb={};return Object[_0x171314(0x25f)](_0x3ec943)[_0x171314(0x26e)](function(_0x15c3e8){_0x275bdb[_0x15c3e8]=_0x3ec943[_0x15c3e8];},_0x3ec943),_0x275bdb;}function cleanCycles(_0xd5c708){const _0x8096a3=a28_0x4d6651,_0x270052={};_0x270052['NyhmT']=function(_0x3caeee,_0x4eb40c){return _0x3caeee===_0x4eb40c;},_0x270052[_0x8096a3(0x23f)]=_0x8096a3(0x29d),_0x270052[_0x8096a3(0x2a0)]=function(_0x4fea4a,_0x585f9a){return _0x4fea4a!==_0x585f9a;},_0x270052[_0x8096a3(0x1de)]=function(_0x3354d9,_0x1e993b){return _0x3354d9+_0x1e993b;};const _0x44bf4e=_0x270052;var _0x2f4a96=[];return JSON['parse'](JSON[_0x8096a3(0x29e)](_0xd5c708,function(_0x6b0628,_0x4748b7){const _0x54846f=_0x8096a3;if(_0x44bf4e['NyhmT'](typeof _0x4748b7,_0x44bf4e[_0x54846f(0x23f)])&&_0x44bf4e[_0x54846f(0x2a0)](_0x4748b7,null)){if(_0x44bf4e[_0x54846f(0x2a0)](_0x2f4a96[_0x54846f(0x1e2)](_0x4748b7),-0x1))return _0x44bf4e[_0x54846f(0x1de)]('',_0x4748b7);_0x2f4a96[_0x54846f(0x23a)](_0x4748b7);}return _0x4748b7;}));}function clean(_0x35a4ff){const _0xf1440b=a28_0x4d6651,_0x4c86a9={'dLrjN':function(_0x468127,_0xf5cd47){return _0x468127 instanceof _0xf5cd47;},'FUOBN':function(_0x48857b,_0x2c1bb9){return _0x48857b(_0x2c1bb9);}};var _0x5d016c=_0x35a4ff[_0xf1440b(0x1da)]||{};return _0x4c86a9['dLrjN'](_0x5d016c,Error)&&(_0x5d016c=_0x4c86a9[_0xf1440b(0x248)](errorJSON,_0x5d016c)),{'title':_0x35a4ff['title'],'fullTitle':_0x35a4ff[_0xf1440b(0x222)],'file':_0x35a4ff[_0xf1440b(0x27e)],'duration':_0x35a4ff[_0xf1440b(0x1c1)],'currentRetry':_0x35a4ff['currentRetry'],'speed':_0x35a4ff[_0xf1440b(0x244)],'err':_0x4c86a9[_0xf1440b(0x248)](cleanCycles,_0x5d016c)};}function printStats(_0x253468,_0x2364e0=a28_0x4d6651(0x224),_0x5e2a8e={}){const _0x5ef6de=a28_0x4d6651,_0x25350d={'prFeu':function(_0x4612eb,_0x4d036d){return _0x4612eb(_0x4d036d);},'iiLmK':function(_0x595ae7,_0x314359){return _0x595ae7===_0x314359;},'gQSKH':_0x5ef6de(0x1c0),'ItbUG':_0x5ef6de(0x1e3),'CWPub':function(_0x978fe1,_0x3a5622){return _0x978fe1===_0x3a5622;},'tPJka':_0x5ef6de(0x21e),'OuNjG':_0x5ef6de(0x1b1),'oqTbq':'pending','uQPIe':_0x5ef6de(0x236),'qZCQW':function(_0x270637,_0x3982c8){return _0x270637*_0x3982c8;},'aABpv':function(_0x17dcd9,_0x1a845c,_0x13e3c6){return _0x17dcd9(_0x1a845c,_0x13e3c6);},'oKYbz':function(_0x12fc8b,_0x42deb2){return _0x12fc8b===_0x42deb2;},'ZusSC':function(_0x28b158,_0x227923){return _0x28b158>_0x227923;},'YVFbg':function(_0x21a8f2){return _0x21a8f2();},'MuyLR':function(_0x348c4c,_0x594bfb){return _0x348c4c===_0x594bfb;},'qyPyD':'doc','IEfRB':function(_0x49e490,_0x2c2e7d){return _0x49e490(_0x2c2e7d);},'DESnh':function(_0x250379,_0x2cbf30){return _0x250379>_0x2cbf30;},'PclZW':'Setting\x20non\x20exit\x20code\x20for\x20failures','jVadI':_0x5ef6de(0x1b4),'zSmem':function(_0x25a84e,_0x5d57f6){return _0x25a84e+_0x5d57f6;},'vWaKs':_0x5ef6de(0x221),'kqZAi':function(_0x574065,_0x4ed446){return _0x574065+_0x4ed446;},'rsIgK':_0x5ef6de(0x257),'FdUmp':function(_0x441ed6,_0x3639bc){return _0x441ed6+_0x3639bc;},'riAna':function(_0x3e6fa1,_0x427327){return _0x3e6fa1+_0x427327;},'YTQWV':_0x5ef6de(0x272),'lETpK':function(_0x740f80,_0x13288f){return _0x740f80>_0x13288f;},'FPwDB':function(_0x34890a,_0x5f0920){return _0x34890a>_0x5f0920;},'EDCQP':function(_0x4cc37e,_0x2f96c3){return _0x4cc37e+_0x2f96c3;},'ZbFTw':function(_0x493f6e,_0x2fb865){return _0x493f6e+_0x2fb865;},'zRddV':_0x5ef6de(0x21a),'vnTjf':_0x5ef6de(0x24c),'RRdLG':_0x5ef6de(0x29f),'cfaQA':_0x5ef6de(0x1a7),'upfie':_0x5ef6de(0x1c6),'gWNUI':function(_0x12d1fb,_0x373db0){return _0x12d1fb===_0x373db0;},'hcuIj':_0x5ef6de(0x28b),'IUnaj':'Mocha\x20Tests','wSaSj':function(_0x1cab92,_0x3d55ce){return _0x1cab92||_0x3d55ce;},'yyYQM':function(_0x5d0d61,_0x10f838){return _0x5d0d61(_0x10f838);},'GDxDI':function(_0x380cbb,_0x5d3f04,_0x1cd824,_0x349e21){return _0x380cbb(_0x5d3f04,_0x1cd824,_0x349e21);},'fCNix':_0x5ef6de(0x22f),'VaiFM':function(_0x144627,_0x15d65e){return _0x144627-_0x15d65e;},'gMapT':function(_0x3709f0,_0x5ee069){return _0x3709f0-_0x5ee069;},'oGCqw':function(_0x14a67f,_0x5c7429){return _0x14a67f/_0x5c7429;},'JAJuz':function(_0xe242ea,_0x1f807f){return _0xe242ea(_0x1f807f);},'tNUat':_0x5ef6de(0x1d6),'hmhVE':_0x5ef6de(0x266),'EoLzp':'Couldn\x27t\x20write\x20xunit\x20result\x20to','ZyzWC':_0x5ef6de(0x1ab),'BwVXq':function(_0x3463ca,_0x16dc4e){return _0x3463ca===_0x16dc4e;},'UYrza':_0x5ef6de(0x1ce),'ehpMl':_0x5ef6de(0x1f5)};if(_0x25350d[_0x5ef6de(0x1ec)](_0x2364e0,_0x25350d['qyPyD']))return;const _0x56fa0c=0x0,_0x22ed1d=()=>{return _0x25350d['prFeu'](Array,_0x56fa0c)['join']('\x20\x20');},{testSuites:_0x1fbdfb,platforms:_0x40a265,totalTests:_0x2f1699,testsFailed:_0x158bc8,testsPassed:_0x30a3bd,testsPending:_0x2b9ea7}=_0x25350d[_0x5ef6de(0x284)](getStats,_0x253468);_0x25350d['DESnh'](_0x158bc8,0x0)&&(logger[_0x5ef6de(0x26c)](_0x25350d[_0x5ef6de(0x27a)]),process['exitCode']=Math[_0x5ef6de(0x24d)](_0x158bc8,0xff));logger[_0x5ef6de(0x26c)](_0x25350d[_0x5ef6de(0x28d)]);const _0x3df0cd=''+_0x25350d[_0x5ef6de(0x270)](chalk['bold'](_0x25350d['vWaKs']),_0x40a265[_0x5ef6de(0x218)]),_0x5695f3=''+_0x25350d[_0x5ef6de(0x1f8)](chalk[_0x5ef6de(0x23b)](_0x25350d['rsIgK']),_0x1fbdfb),_0x3fdb1d=''+_0x25350d[_0x5ef6de(0x20c)](_0x25350d[_0x5ef6de(0x28a)](_0x25350d[_0x5ef6de(0x20c)](chalk[_0x5ef6de(0x23b)](_0x25350d[_0x5ef6de(0x1f3)]),_0x25350d['ZusSC'](_0x158bc8,0x0)?chalk[_0x5ef6de(0x23b)][_0x5ef6de(0x1db)](_0x158bc8+_0x5ef6de(0x25b))+',\x20':''),_0x25350d[_0x5ef6de(0x27b)](_0x2b9ea7,0x0)?chalk[_0x5ef6de(0x23b)][_0x5ef6de(0x259)](_0x2b9ea7+_0x5ef6de(0x226))+',\x20':''),_0x25350d[_0x5ef6de(0x1d2)](_0x30a3bd,0x0)?chalk[_0x5ef6de(0x23b)][_0x5ef6de(0x245)](_0x30a3bd+'\x20passed')+',\x20':'')+_0x2f1699+_0x5ef6de(0x292);console[_0x5ef6de(0x242)](_0x25350d[_0x5ef6de(0x252)](_0x25350d[_0x5ef6de(0x270)](_0x25350d[_0x5ef6de(0x286)](_0x25350d[_0x5ef6de(0x252)](_0x25350d[_0x5ef6de(0x20c)](_0x25350d[_0x5ef6de(0x1cf)],_0x3df0cd),'\x0a'),_0x5695f3),'\x0a'),_0x3fdb1d));if(_0x25350d[_0x5ef6de(0x23c)](_0x2364e0,_0x25350d['vnTjf'])){const _0x3c2fe7={},_0x41278e={};_0x41278e[_0x5ef6de(0x1fd)]=_0x1fbdfb,_0x41278e[_0x5ef6de(0x1ae)]=_0x40a265,_0x41278e[_0x5ef6de(0x22a)]=_0x158bc8,_0x41278e[_0x5ef6de(0x282)]=_0x30a3bd,_0x41278e['testsPending']=_0x2b9ea7,_0x3c2fe7[_0x5ef6de(0x1b6)]=_0x41278e,_0x40a265[_0x5ef6de(0x26e)](_0x479d50=>{const _0xa2a948=_0x5ef6de,_0x45b46a={'IIpGv':function(_0x56f632,_0x2250f5){const _0x4377a1=a28_0x2dea;return _0x25350d[_0x4377a1(0x205)](_0x56f632,_0x2250f5);},'NRRuk':_0x25350d[_0xa2a948(0x1a8)],'hpNLu':_0x25350d[_0xa2a948(0x28e)],'AOdCi':function(_0x22becb,_0x32de27){return _0x25350d['prFeu'](_0x22becb,_0x32de27);},'YPyzM':function(_0x2d10c6,_0x2a9bea){const _0x4cfcf8=_0xa2a948;return _0x25350d[_0x4cfcf8(0x1af)](_0x2d10c6,_0x2a9bea);},'aXjuv':_0x25350d[_0xa2a948(0x25a)],'UDejX':_0x25350d[_0xa2a948(0x271)],'jSIZT':function(_0x51a4a7,_0x1b7c98){return _0x25350d['prFeu'](_0x51a4a7,_0x1b7c98);},'CNRbp':_0x25350d['oqTbq']};_0x3c2fe7[_0x479d50]={'pending':[],'failures':[],'passes':[],'tests':_0x253468[_0x479d50][_0x25350d['uQPIe']][_0xa2a948(0x26f)](clean)},_0x253468[_0x479d50][_0x25350d[_0xa2a948(0x229)]][_0xa2a948(0x26e)](_0x23db20=>{const _0x1926d7=_0xa2a948;if(_0x45b46a[_0x1926d7(0x274)](_0x23db20[_0x1926d7(0x21c)],_0x45b46a[_0x1926d7(0x1ff)]))_0x3c2fe7[_0x479d50][_0x45b46a[_0x1926d7(0x29a)]][_0x1926d7(0x23a)](_0x45b46a['AOdCi'](clean,_0x23db20));else _0x45b46a[_0x1926d7(0x1ea)](_0x23db20[_0x1926d7(0x21c)],_0x45b46a[_0x1926d7(0x1ca)])?_0x3c2fe7[_0x479d50][_0x45b46a[_0x1926d7(0x213)]][_0x1926d7(0x23a)](_0x45b46a[_0x1926d7(0x19f)](clean,_0x23db20)):_0x3c2fe7[_0x479d50][_0x45b46a[_0x1926d7(0x1e6)]][_0x1926d7(0x23a)](_0x45b46a['AOdCi'](clean,_0x23db20));});});if(_0x5e2a8e[_0x5ef6de(0x1be)])try{logger['debug'](_0x25350d[_0x5ef6de(0x21d)],_0x5e2a8e[_0x5ef6de(0x1be)]),fs['writeFileSync'](_0x5e2a8e[_0x5ef6de(0x1be)],JSON[_0x5ef6de(0x29e)](_0x3c2fe7,null,0x3));}catch(_0x406484){logger['error'](_0x25350d['cfaQA'],_0x5e2a8e[_0x5ef6de(0x1be)]),logger[_0x5ef6de(0x26c)](_0x406484);}else logger[_0x5ef6de(0x26c)](_0x25350d[_0x5ef6de(0x1e9)]),console[_0x5ef6de(0x242)](JSON['stringify'](_0x3c2fe7,null,0x3));}else{if(_0x25350d[_0x5ef6de(0x1c3)](_0x2364e0,_0x25350d[_0x5ef6de(0x212)])){let _0x338535;const _0x13c427=_0x25350d[_0x5ef6de(0x1cc)];_0x5e2a8e&&(_0x338535=_0x5e2a8e[_0x5ef6de(0x240)]);_0x338535=_0x25350d['wSaSj'](_0x338535,_0x13c427);let _0x248844=0x0,_0x58790e=0x0,_0x25f5e9=0x0,_0x32d9f8=0x0;_0x40a265[_0x5ef6de(0x26e)](_0x3f91cb=>{const _0x35c21b=_0x5ef6de;_0x253468[_0x3f91cb][_0x25350d[_0x35c21b(0x229)]][_0x35c21b(0x26e)](_0xc5f852=>{const _0x562b5f=_0x35c21b;if(_0x25350d[_0x562b5f(0x1af)](_0xc5f852[_0x562b5f(0x21c)],_0x25350d[_0x562b5f(0x1a8)]))_0x248844++;else _0x25350d[_0x562b5f(0x1af)](_0xc5f852[_0x562b5f(0x21c)],_0x25350d['tPJka'])&&_0x58790e++;_0x25f5e9++,_0x32d9f8+=_0x25350d[_0x562b5f(0x261)](_0xc5f852['duration'],0x1);});}),_0x25350d[_0x5ef6de(0x1a0)](xunitWrite,_0x25350d['GDxDI'](tag,_0x25350d[_0x5ef6de(0x273)],{'name':_0x338535,'tests':_0x25f5e9,'failures':0x0,'errors':_0x58790e,'skipped':_0x25350d[_0x5ef6de(0x27f)](_0x25350d[_0x5ef6de(0x233)](_0x25f5e9,_0x58790e),_0x248844),'timestamp':new Date()[_0x5ef6de(0x20e)](),'time':_0x25350d[_0x5ef6de(0x1d1)](_0x32d9f8,0x3e8)||0x0},![])),_0x40a265[_0x5ef6de(0x26e)](_0x47aeb5=>{const _0x442c1e=_0x5ef6de,_0x5f28a2={'eXXCW':function(_0x46ac13,_0x2968ec,_0x352a8e){return _0x25350d['aABpv'](_0x46ac13,_0x2968ec,_0x352a8e);}};_0x253468[_0x47aeb5][_0x25350d[_0x442c1e(0x229)]]['forEach'](_0x1e3390=>{_0x5f28a2['eXXCW'](xunitTest,_0x1e3390,_0x47aeb5);});}),_0x25350d[_0x5ef6de(0x22b)](xunitWrite,_0x25350d[_0x5ef6de(0x1c8)]);if(_0x5e2a8e['output'])try{logger[_0x5ef6de(0x26c)](_0x25350d[_0x5ef6de(0x22c)],_0x5e2a8e[_0x5ef6de(0x1be)]),fs[_0x5ef6de(0x200)](_0x5e2a8e[_0x5ef6de(0x1be)],xunitContent);}catch(_0x1be90e){logger[_0x5ef6de(0x1ee)](_0x25350d['EoLzp'],_0x5e2a8e[_0x5ef6de(0x1be)]),logger[_0x5ef6de(0x26c)](_0x1be90e);}else logger[_0x5ef6de(0x26c)](_0x25350d[_0x5ef6de(0x1f2)]),console[_0x5ef6de(0x242)](xunitContent);}else{if(_0x25350d[_0x5ef6de(0x1c4)](_0x158bc8,0x0))return;console['log'](),logger[_0x5ef6de(0x26c)](_0x25350d[_0x5ef6de(0x1eb)]),console[_0x5ef6de(0x242)](chalk[_0x5ef6de(0x23b)][_0x5ef6de(0x249)](_0x25350d[_0x5ef6de(0x1df)])),_0x40a265[_0x5ef6de(0x26e)](_0xb43e3e=>{const _0xfa3e53=_0x5ef6de,_0x34d96c=[];_0x253468[_0xb43e3e][_0x25350d[_0xfa3e53(0x229)]][_0xfa3e53(0x26e)](_0x4ff04b=>{const _0x246330=_0xfa3e53;_0x25350d[_0x246330(0x23c)](_0x4ff04b[_0x246330(0x21c)],_0x25350d[_0x246330(0x25a)])&&(_0x4ff04b[_0x246330(0x1ed)]=()=>_0x4ff04b[_0x246330(0x22d)],_0x34d96c[_0x246330(0x23a)](_0x4ff04b));}),_0x25350d[_0xfa3e53(0x287)](_0x34d96c[_0xfa3e53(0x218)],0x0)&&(Base['consoleLog'](),Base[_0xfa3e53(0x239)](_0x25350d['YVFbg'](_0x22ed1d),chalk[_0xfa3e53(0x23b)][_0xfa3e53(0x1f7)](_0xb43e3e)),Base[_0xfa3e53(0x1f9)](_0x34d96c));});}}}async function run(_0x9b5505,_0x1af93d,_0x3e34a3){const _0x54ade2=a28_0x4d6651,_0x1347da={'aGmoG':function(_0x2e7347,_0xda1e20,_0x5d610d,_0x16acfe){return _0x2e7347(_0xda1e20,_0x5d610d,_0x16acfe);},'hzcRh':_0x54ade2(0x241),'LWczl':_0x54ade2(0x247),'laJUz':_0x54ade2(0x23e),'wmViU':function(_0x12303b,_0x20c380,_0x503eaa,_0x12b83b){return _0x12303b(_0x20c380,_0x503eaa,_0x12b83b);},'aqAmk':'mocha','kajPr':function(_0x53ffe6,_0x17b00f){return _0x53ffe6!=_0x17b00f;},'YIyUU':_0x54ade2(0x23d),'hxZLH':_0x54ade2(0x1a2),'paMQv':_0x54ade2(0x228),'iqHiq':_0x54ade2(0x29c),'KBEWC':function(_0x425f17,_0x5128c4){return _0x425f17(_0x5128c4);},'hydEr':function(_0x4a89af,_0x28a586,_0x50545a){return _0x4a89af(_0x28a586,_0x50545a);},'DnUvJ':'files','nVpMt':_0x54ade2(0x28c),'YOSKK':_0x54ade2(0x1b3),'tSAZN':function(_0x3c7286,_0x42adc9,_0x46befd,_0x235e3e){return _0x3c7286(_0x42adc9,_0x46befd,_0x235e3e);},'hmFjk':function(_0x3a5a65,_0xa2a14e){return _0x3a5a65*_0xa2a14e;},'NKbuv':function(_0xe3353e,_0x4fb236){return _0xe3353e(_0x4fb236);},'KpUxn':function(_0x4b8a88,_0x282ab9){return _0x4b8a88!==_0x282ab9;},'jdrZq':function(_0x43c19b,_0x3abc06,_0x159240,_0x3ad523){return _0x43c19b(_0x3abc06,_0x159240,_0x3ad523);}};helper[_0x54ade2(0x1fb)](_0x3e34a3[_0x54ade2(0x283)],_0x9b5505);helper[_0x54ade2(0x22e)]()?(await _0x3e34a3[_0x54ade2(0x298)](_0x9b5505),await helper[_0x54ade2(0x263)](_0x3e34a3[_0x54ade2(0x269)])):await _0x3e34a3['setupTCGAuth']();const _0x48de0d=[];let _0x446958=[];if(!_0x3e34a3[_0x54ade2(0x269)])return;!helper[_0x54ade2(0x1c5)](_0x3e34a3[_0x54ade2(0x269)][_0x54ade2(0x295)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x3e34a3[_0x54ade2(0x269)][_0x54ade2(0x295)]));const _0x12ca38=await TestHubHandler[_0x54ade2(0x1b5)](FRAMEWORKS[_0x54ade2(0x253)],_0x3e34a3);_0x1347da[_0x54ade2(0x1c7)](_0x3e34a3[_0x54ade2(0x269)][_0x54ade2(0x207)],null)&&(process[_0x54ade2(0x260)][_0x54ade2(0x278)]=_0x3e34a3[_0x54ade2(0x269)][_0x54ade2(0x207)]);!helper[_0x54ade2(0x1c5)](_0x3e34a3['config'][_0x54ade2(0x1a5)])&&(process['env'][_0x54ade2(0x288)]=_0x3e34a3[_0x54ade2(0x269)]['accessibility']);const {extension:extension=['js',_0x1347da[_0x54ade2(0x1f4)],_0x1347da[_0x54ade2(0x26a)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x1347da[_0x54ade2(0x1e0)]]}=_0x9b5505,_0x80055a={..._0x9b5505};_0x80055a[_0x54ade2(0x1bb)]=null;const _0x5c4688=_0x80055a;let _0xa97e16;if(testOpsHelper[_0x54ade2(0x1f0)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x595006=process[_0x54ade2(0x260)][_0x54ade2(0x1f6)];!helper[_0x54ade2(0x1c5)](_0x3e34a3[_0x54ade2(0x255)])&&_0x3e34a3['cliConfig']['has'](_0x1347da[_0x54ade2(0x1b0)])&&(_0x595006=_0x3e34a3[_0x54ade2(0x255)][_0x54ade2(0x1b9)](_0x1347da['iqHiq'])),_0xa97e16=testOpsHelper[_0x54ade2(0x1dc)](_0x595006);}if(helper['isUndefined'](_0xa97e16)){const _0x149ec2={};_0x149ec2[_0x54ade2(0x265)]=ignore,_0x149ec2[_0x54ade2(0x296)]=extension,_0x149ec2[_0x54ade2(0x27e)]=file,_0x149ec2[_0x54ade2(0x256)]=recursive,_0x149ec2['sort']=sort,_0x149ec2[_0x54ade2(0x224)]=spec,_0xa97e16=_0x1347da['KBEWC'](collectFiles,_0x149ec2),_0x1347da[_0x54ade2(0x210)](nestedKeyValue,_0xa97e16,[_0x1347da[_0x54ade2(0x1b2)]])&&(_0xa97e16=_0xa97e16['files']);}if(!helper['isBrowserstackInfra']()){const _0x3cdf78=0x1,_0x13b1c9={..._0x5c4688};_0x13b1c9[_0x54ade2(0x224)]=[..._0xa97e16],_0x48de0d[_0x54ade2(0x23a)]({'mochaOpts':_0x13b1c9,'configuration':{'platform':os[_0x54ade2(0x1a3)]()}}),logger['info'](_0x1347da[_0x54ade2(0x24f)]),logger['info'](_0x1347da[_0x54ade2(0x219)]),_0x1347da['tSAZN'](parallelTestRun,_0x48de0d,_0x3cdf78,_0x3e34a3)[_0x54ade2(0x21b)](_0x5374d7=>{const _0x3c9c72=_0x54ade2;PerformanceTester[_0x3c9c72(0x262)](PerformanceEvents[_0x3c9c72(0x28f)]),_0x1347da[_0x3c9c72(0x1ef)](printStats,_0x5374d7,_0x9b5505[_0x3c9c72(0x1d7)],_0x9b5505['reporterOptions']||_0x9b5505[_0x1347da[_0x3c9c72(0x20a)]]);})[_0x54ade2(0x26b)](()=>{const _0x9b06e=_0x54ade2;PerformanceTester['start'](PerformanceEvents[_0x9b06e(0x28f)]);try{const {browserstackFolderPath:_0x56384d,tcgConfigPath:_0xb19017}=helper[_0x9b06e(0x246)]();fs[_0x9b06e(0x294)](_0xb19017),fs[_0x9b06e(0x202)](_0x56384d);}catch(_0x52be74){logger[_0x9b06e(0x26c)](_0x1347da['LWczl'],_0x52be74);}try{utilities[_0x9b06e(0x1bc)](_0x1347da[_0x9b06e(0x1b7)],{},_0x3e34a3['config'],_0x3e34a3[_0x9b06e(0x283)]);}catch(_0x42b2f3){logger[_0x9b06e(0x26c)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x42b2f3['stack']);}try{helper['notifyUpdate']();}catch(_0x471aa1){logger['debug'](_0x9b06e(0x204)+_0x471aa1);}testOpsHelper[_0x9b06e(0x203)]();});}else{const _0x191154=helper[_0x54ade2(0x29b)](_0x3e34a3[_0x54ade2(0x269)]);let _0xafbf98=helper['getHubUrl'](_0x3e34a3[_0x54ade2(0x269)]);_0x446958=helper['prepareCapabilities'](_0x3e34a3[_0x54ade2(0x269)],_0x191154,constants[_0x54ade2(0x216)][_0x54ade2(0x253)]);helper[_0x54ade2(0x25d)]()[_0x54ade2(0x1ba)]&&(_0xafbf98=centralScannerConstants[_0x54ade2(0x258)]);let _0x46cd30;const _0x263cef=_0x3e34a3['config'][_0x54ade2(0x24b)]||helper['getUserWorkerCount'](_0x9b5505,_0x1af93d,_0x3e34a3[_0x54ade2(0x269)],constants[_0x54ade2(0x216)][_0x54ade2(0x253)])||0x1;helper[_0x54ade2(0x254)](_0x3e34a3['config'])?_0x46cd30=_0x1347da[_0x54ade2(0x1fa)](_0x3e34a3[_0x54ade2(0x269)][_0x54ade2(0x1ae)][_0x54ade2(0x218)],_0x263cef):_0x46cd30=_0x263cef;const _0x39b381=_0x1347da[_0x54ade2(0x26d)](getPercyOptions,_0x3e34a3['config']);if(_0x1347da[_0x54ade2(0x1e7)](_0x3e34a3['config'][_0x54ade2(0x24b)],0x1))_0xa97e16['forEach'](_0x210a37=>{const _0x4ac1e2=_0x54ade2,_0x38b5f3=[];_0x446958[_0x4ac1e2(0x26e)]((_0x380b7a,_0x4b15c0)=>{const _0x267b9b=_0x4ac1e2,_0x157ae3={};_0x157ae3[_0x267b9b(0x224)]=[_0x210a37],_0x38b5f3[_0x267b9b(0x23a)]({'mochaOpts':Object[_0x267b9b(0x299)]({},_0x5c4688,_0x157ae3),'configuration':{'server':_0xafbf98,'capability':_0x380b7a,'proxySettings':_0x3e34a3[_0x267b9b(0x269)][_0x267b9b(0x223)],'platform':helper[_0x267b9b(0x206)](_0x380b7a),'browserStackLogLevel':_0x3e34a3[_0x267b9b(0x269)][_0x267b9b(0x289)],'platformIndex':_0x4b15c0,'browserStackPercyOptions':_0x39b381,'platformCaps':Object[_0x267b9b(0x299)]({'index':_0x4b15c0},_0x3e34a3[_0x267b9b(0x269)][_0x267b9b(0x1ae)][_0x4b15c0])}});}),_0x48de0d[_0x4ac1e2(0x23a)](..._0x38b5f3);});else{const _0x3eb5c6=[];_0x446958[_0x54ade2(0x26e)]((_0x403b86,_0x15d4a4)=>{const _0x58d784=_0x54ade2;let _0x308a35=Object[_0x58d784(0x299)]({},_0x5c4688);testOpsHelper[_0x58d784(0x1f0)]()&&testOpsHelper[_0x58d784(0x1c2)]()&&(_0x308a35={..._0x308a35,'spec':[..._0xa97e16]}),_0x3eb5c6['push']({'mochaOpts':_0x308a35,'configuration':{'server':_0xafbf98,'capability':_0x403b86,'proxySettings':_0x3e34a3['config'][_0x58d784(0x223)],'platform':helper['getPlatformName'](_0x403b86),'browserStackLogLevel':_0x3e34a3[_0x58d784(0x269)][_0x58d784(0x289)],'platformIndex':_0x15d4a4,'browserStackPercyOptions':_0x39b381,'platformCaps':Object['assign']({'index':_0x15d4a4},_0x3e34a3['config'][_0x58d784(0x1ae)][_0x15d4a4])}});}),_0x48de0d[_0x54ade2(0x23a)](..._0x3eb5c6);}logger['info'](_0x54ade2(0x208)+_0x3e34a3['config']['platforms'][_0x54ade2(0x218)]+_0x54ade2(0x235)),logger['info'](_0x1347da[_0x54ade2(0x219)]);let _0xe29541;_0x1347da['jdrZq'](parallelTestRun,_0x48de0d,_0x46cd30,_0x3e34a3)['then'](_0x1afd30=>{const _0x3fd41e=_0x54ade2;PerformanceTester[_0x3fd41e(0x262)](PerformanceEvents[_0x3fd41e(0x28f)]),_0xe29541=_0x1afd30,_0x1347da[_0x3fd41e(0x217)](printStats,_0x1afd30,_0x9b5505['reporter'],_0x9b5505['reporterOptions']||_0x9b5505[_0x1347da['hzcRh']]);})[_0x54ade2(0x26b)](async()=>{const _0x574c2e=_0x54ade2;PerformanceTester[_0x574c2e(0x262)](PerformanceEvents[_0x574c2e(0x28f)]),_0x3e34a3[_0x574c2e(0x1ad)]=helper['getErrorMessageFromResults'](_0xe29541,_0x1347da['aqAmk']),await utilities['finalExecution'](_0x3e34a3),testOpsHelper[_0x574c2e(0x203)]();});}}module[a28_0x4d6651(0x1e5)]=run;
|
|
2
|
+
'use strict';const a28_0x13c82e=a28_0x22e2;(function(_0x4299f9,_0x14fbd4){const _0x3e8283=a28_0x22e2,_0x33a9d6=_0x4299f9();while(!![]){try{const _0x328fe6=parseInt(_0x3e8283(0x161))/0x1*(parseInt(_0x3e8283(0x132))/0x2)+parseInt(_0x3e8283(0x155))/0x3+parseInt(_0x3e8283(0x1a1))/0x4+-parseInt(_0x3e8283(0x15b))/0x5*(parseInt(_0x3e8283(0x227))/0x6)+parseInt(_0x3e8283(0x184))/0x7*(-parseInt(_0x3e8283(0x1f3))/0x8)+-parseInt(_0x3e8283(0x1de))/0x9+-parseInt(_0x3e8283(0x192))/0xa*(-parseInt(_0x3e8283(0x1b3))/0xb);if(_0x328fe6===_0x14fbd4)break;else _0x33a9d6['push'](_0x33a9d6['shift']());}catch(_0x17c117){_0x33a9d6['push'](_0x33a9d6['shift']());}}}(a28_0x164e,0xddbd3));function a28_0x164e(){const _0xd1fdde=['Couldn\x27t\x20write\x20json\x20result\x20to','DkWkG','platform','vGoAj','ofHCQ','finalExecution','title','XHmCp','15795505wgjatu','StayV','getHubUrl','errorMessage','failure','isNotUndefined','error\x20removing\x20tcg\x20config\x20file','showDiff','testcase','info','syEsn','qZTJH','retryTestsOnFailure','OpHhi','ysHAd','fullTitle','testsPassed','parallelsPerPlatform','length','../../helpers/utilities','red','MOCHA','accessibilityOptions','yellow','forEach','testsFailed','suiteName','cjs','printBuildLink','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/performance/constants','list','log','testSuites','titlePath','cliConfig','env','exitCode','logLevel','BROWSERSTACK_RERUN_TESTS','iTlWP','TdbGO','add','16101558NDReNw','extension','Now,\x20showing\x20logs\x20from\x20mocha','../utils/constants','isBrowserstackInfra','vKYUT','stack','RpNrt','isPending','WgoOS','stats','NKcMK','drWBn','testsuite','results','teHCO','rmdirSync','\x20passed','qkDoy','FtQLm','****\x20FAILURES\x20****','14378248mQHyTB','start','Tkhzc','framework','oMfYJ','CNCNi','initialize','EbVco','error','spvIo','spec','jiIvd','getPlatformName','validPlatformsPresent','platforms','reporter-option','generateDiff','mjs','QZjTt','SWVAP','ZtGkT','state','Total\x20Platforms:\x20','useColors','rdUXf','pending','parseFileNames','BROWSERSTACK_GRR_US_HUB_URL','aRyUr','toUTCString','rxqXh','duration','Ylxic','totalTests','tnEwI','PSSia','accessibility','IyPsU','get','size','getTCGConfigFilePaths','grusv','test','tkMje','vXGMd','bold','rerunTests','Total\x20Suites:\x20','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','prototype','BNENU','assign','57030UFchvV','cSTFJ','PcYrR','useW3C','output','map','shouldReRunObservabilityTests','YoCiQ','testObservability','currentRetry','parse','aeAFi','reporterOptions','speed','Couldn\x27t\x20write\x20xunit\x20result\x20to','20KosrrN','consoleLog','testsPending','PrtGu','unlinkSync','eOVqI','kNsPI','Writing\x20json\x20result\x20to\x20file','HZnmb','soaLl','oCzjj','notifyUpdate','hasOwnProperty','hideDiff','FPrez','../../helpers/helper','RqDZG','DKWxE','JIEZD','Mocha\x20Tests','zRCME','getOwnPropertyNames','TuqHI','HOWEA','reporter','json','YLJtA','eqMMT','OOItN','qlxCK','\x0a\x0a\x0a','stringify','writeFileSync','call','xunit','2028549ApGpmo','tfjaW','err','vNHCR','file','../../helpers/central-scanner/constants','695IlAqqb','MsJrl','getCentralUser','Running\x20your\x20mocha\x20tests\x20across\x20','gvOHy','failed','138603LkIdiK','gHPgH','doc','DOBjn','config','kdxZA','\x20failed','../test-runner','push','hogcy','passed','expected','join','chalk','gwJJh','object','min','passes','lxpCO','isTestObservabilitySession','isEmpty','titlePathV','pqQVa','getUserWorkerCount','skipped','Writing\x20xunit\x20result\x20to\x20file','NOoaa','indexOf','../../helpers/percy/utils','Tests:\x20\x20\x20\x20\x20\x20\x20','rootHooks','LlMNH','debug','QDwQP','parseTestOrchestrationOptions','7mdqPhR','finally','../../helpers/test-observability/utils','isUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Setting\x20non\x20exit\x20code\x20for\x20failures','suite','files','nCurn','setUserConfigPath','proxySettings','Listing\x20all\x20the\x20failures','then','tHebN','20zbfExs','zSDWG','XyRGX','tEVbg','Printing\x20stats\x20of\x20tests','pnmoe','hIdyL','green','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','JKgkO','\x20skipped','wDsbV','SDK_CLEANUP','IVKUg','../../helpers/logger','3526632ZfggeO','</testsuite>','../../helpers/performance/performance-tester','exports','mocha/lib/cli/collect-files.js','SDKTestSuccessful','launchBuild','handleApp','mocha','FRAMEWORKS'];a28_0x164e=function(){return _0xd1fdde;};return a28_0x164e();}const chalk=require(a28_0x13c82e(0x16e)),logger=require(a28_0x13c82e(0x1a0))['winstonLogger'],helper=require(a28_0x13c82e(0x141)),utilities=require(a28_0x13c82e(0x1c6)),testOpsHelper=require(a28_0x13c82e(0x186)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x13c82e(0x168)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x13c82e(0x17d)),Base=requireModule('mocha/lib/reporters/base.js',a28_0x13c82e(0x1a9)),collectFiles=requireModule(a28_0x13c82e(0x1a5),a28_0x13c82e(0x1a9)),constants=require(a28_0x13c82e(0x1e1)),PerformanceTester=require(a28_0x13c82e(0x1a3)),PerformanceEvents=require(a28_0x13c82e(0x1d1))['EVENTS'],centralScannerConstants=require(a28_0x13c82e(0x15a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require('../../helpers/testhub/testhubHandler');function tag(_0x38e0e0,_0x36fd76,_0x1eee65,_0x3be511){const _0x79a5bc=a28_0x13c82e,_0x2194a4={'Ylxic':function(_0x52442d,_0x1d8792){return _0x52442d+_0x1d8792;},'tEVbg':function(_0x1f7e53,_0x24f86d){return _0x1f7e53(_0x24f86d);},'PcYrR':function(_0x50e9a6,_0x1e8996){return _0x50e9a6+_0x1e8996;},'XHmCp':function(_0x33aa83,_0x2666a3){return _0x33aa83+_0x2666a3;},'PSSia':function(_0x5640c3,_0x38d407){return _0x5640c3+_0x38d407;}},_0x50c3c4=_0x1eee65?'/>':'>',_0x1829e5=[];let _0x144ebb;for(const _0x558bea in _0x36fd76){Object[_0x79a5bc(0x224)][_0x79a5bc(0x13e)][_0x79a5bc(0x153)](_0x36fd76,_0x558bea)&&_0x1829e5[_0x79a5bc(0x169)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4[_0x79a5bc(0x213)](_0x558bea,'=\x22'),_0x2194a4[_0x79a5bc(0x195)](escape,_0x36fd76[_0x558bea])),'\x22'));}return _0x144ebb=_0x2194a4[_0x79a5bc(0x229)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4['PcYrR']('<',_0x38e0e0),_0x1829e5[_0x79a5bc(0x1c5)]?_0x2194a4[_0x79a5bc(0x1b2)]('\x20',_0x1829e5[_0x79a5bc(0x16d)]('\x20')):''),_0x50c3c4),_0x3be511&&(_0x144ebb+=_0x2194a4[_0x79a5bc(0x1b2)](_0x2194a4['Ylxic'](_0x2194a4[_0x79a5bc(0x216)](_0x3be511,'</'),_0x38e0e0),_0x50c3c4)),_0x144ebb;}let xunitContent='';function xunitWrite(_0x5f45d6){xunitContent+=_0x5f45d6;}function xunitTest(_0x1d502e,_0x398e26){const _0x22816e=a28_0x13c82e,_0x2fc47f={'Vinnf':function(_0x569e7e,_0x152d29){return _0x569e7e/_0x152d29;},'bgwlG':function(_0x2a0468,_0x5e66c7){return _0x2a0468===_0x5e66c7;},'StayV':_0x22816e(0x160),'CNCNi':function(_0xaeac7c,_0x47b548){return _0xaeac7c+_0x47b548;},'vNHCR':function(_0x46d4e9,_0x4e834a){return _0x46d4e9(_0x4e834a);},'teHCO':function(_0x232170,_0x314754,_0xfcb0e1,_0x298d2e,_0x240ac3){return _0x232170(_0x314754,_0xfcb0e1,_0x298d2e,_0x240ac3);},'ZtGkT':_0x22816e(0x1bb),'Tkhzc':_0x22816e(0x1b7),'TdbGO':function(_0x244416,_0x18981b){return _0x244416+_0x18981b;},'fiHbH':function(_0x1db35e,_0x3a44e5,_0x59040f,_0xf1a5df){return _0x1db35e(_0x3a44e5,_0x59040f,_0xf1a5df);},'RqDZG':_0x22816e(0x179),'ECdGS':function(_0x115c5d,_0x412954,_0x589ff4,_0x445783){return _0x115c5d(_0x412954,_0x589ff4,_0x445783);}};Base[_0x22816e(0x20a)]=![];var _0x497263={'classname':_0x1d502e[_0x22816e(0x1c2)],'name':_0x1d502e[_0x22816e(0x1b1)],'time':_0x2fc47f['Vinnf'](_0x1d502e[_0x22816e(0x212)],0x3e8)||0x0,'platform':_0x398e26};if(_0x2fc47f['bgwlG'](_0x1d502e[_0x22816e(0x208)],_0x2fc47f[_0x22816e(0x1b4)])){var _0x19e8f3=_0x1d502e[_0x22816e(0x157)],_0x58d1c4=!Base[_0x22816e(0x13f)]&&Base[_0x22816e(0x1ba)](_0x19e8f3)?_0x2fc47f['CNCNi']('\x0a',Base[_0x22816e(0x203)](_0x19e8f3['actual'],_0x19e8f3[_0x22816e(0x16c)])):'';_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f[_0x22816e(0x207)],_0x497263,![],_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f[_0x22816e(0x1f5)],{},![],_0x2fc47f['TdbGO'](_0x2fc47f[_0x22816e(0x1dc)](_0x2fc47f[_0x22816e(0x1f8)](_0x2fc47f[_0x22816e(0x158)](escape,_0x19e8f3['message']),_0x2fc47f[_0x22816e(0x158)](escape,_0x58d1c4)),'\x0a'),_0x2fc47f[_0x22816e(0x158)](escape,_0x19e8f3[_0x22816e(0x1e4)])))));}else _0x1d502e[_0x22816e(0x1e6)]?_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f['ZtGkT'],_0x497263,![],_0x2fc47f['fiHbH'](tag,_0x2fc47f[_0x22816e(0x142)],{},!![]))):_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f['ECdGS'](tag,_0x2fc47f['ZtGkT'],_0x497263,!![]));};function getStats(_0x1a2fd6){const _0x2abfa3=a28_0x13c82e,_0x2291d4={};_0x2291d4['NmeHT']=_0x2abfa3(0x18a),_0x2291d4[_0x2abfa3(0x205)]=_0x2abfa3(0x16b),_0x2291d4[_0x2abfa3(0x1e7)]=_0x2abfa3(0x160),_0x2291d4[_0x2abfa3(0x1c0)]=_0x2abfa3(0x1ec);const _0x449a63=_0x2291d4,_0xef3481=Object['keys'](_0x1a2fd6);let _0x4f8de9=0x0,_0x44898b=0x0,_0x488f45=0x0,_0x1d78a0=0x0;const _0x427c00=new Set();_0xef3481['forEach'](_0x5095b9=>{const _0x416168=_0x2abfa3,_0x64ed3e={};_0x64ed3e['oMfYJ']=_0x449a63['NmeHT'],_0x64ed3e[_0x416168(0x162)]=_0x449a63['QZjTt'],_0x64ed3e[_0x416168(0x218)]=_0x449a63[_0x416168(0x1e7)];const _0x422519=_0x64ed3e;_0x1a2fd6[_0x5095b9][_0x449a63[_0x416168(0x1c0)]]['forEach'](_0x4e6bb2=>{const _0x6a36f9=_0x416168;_0x427c00[_0x6a36f9(0x1dd)](_0x4e6bb2[_0x422519[_0x6a36f9(0x1f7)]]),_0x4f8de9++;switch(_0x4e6bb2[_0x6a36f9(0x208)]){case _0x422519[_0x6a36f9(0x162)]:_0x488f45++;break;case _0x422519[_0x6a36f9(0x218)]:_0x44898b++;break;default:_0x1d78a0++;}});});const _0x3daffe={};return _0x3daffe[_0x2abfa3(0x1d4)]=_0x427c00[_0x2abfa3(0x21a)],_0x3daffe[_0x2abfa3(0x201)]=_0xef3481,_0x3daffe[_0x2abfa3(0x214)]=_0x4f8de9,_0x3daffe[_0x2abfa3(0x1cc)]=_0x44898b,_0x3daffe['testsPassed']=_0x488f45,_0x3daffe[_0x2abfa3(0x134)]=_0x1d78a0,_0x3daffe;}function errorJSON(_0x46e488){const _0x4c5283=a28_0x13c82e;var _0x23fbd5={};return Object[_0x4c5283(0x147)](_0x46e488)[_0x4c5283(0x1cb)](function(_0x3e5462){_0x23fbd5[_0x3e5462]=_0x46e488[_0x3e5462];},_0x46e488),_0x23fbd5;}function a28_0x22e2(_0x2d22ea,_0x1b5245){const _0x164e33=a28_0x164e();return a28_0x22e2=function(_0x22e20d,_0x4d03fa){_0x22e20d=_0x22e20d-0x12c;let _0x5cf425=_0x164e33[_0x22e20d];return _0x5cf425;},a28_0x22e2(_0x2d22ea,_0x1b5245);}function cleanCycles(_0x26c342){const _0x1ed412=a28_0x13c82e,_0x36e6a5={};_0x36e6a5['HOWEA']=function(_0x5e4db8,_0x24ad96){return _0x5e4db8===_0x24ad96;},_0x36e6a5[_0x1ed412(0x17b)]=_0x1ed412(0x170),_0x36e6a5[_0x1ed412(0x14f)]=function(_0x555450,_0x74bcb9){return _0x555450!==_0x74bcb9;},_0x36e6a5['FHBLe']=function(_0x54db9b,_0x3f6c03){return _0x54db9b+_0x3f6c03;};const _0x26dcc9=_0x36e6a5;var _0x392988=[];return JSON[_0x1ed412(0x12d)](JSON['stringify'](_0x26c342,function(_0x54146a,_0x255f78){const _0x27bf94=_0x1ed412;if(_0x26dcc9[_0x27bf94(0x149)](typeof _0x255f78,_0x26dcc9[_0x27bf94(0x17b)])&&_0x26dcc9[_0x27bf94(0x14f)](_0x255f78,null)){if(_0x26dcc9[_0x27bf94(0x14f)](_0x392988[_0x27bf94(0x17c)](_0x255f78),-0x1))return _0x26dcc9['FHBLe']('',_0x255f78);_0x392988[_0x27bf94(0x169)](_0x255f78);}return _0x255f78;}));}function clean(_0x4a1a82){const _0x1bd810=a28_0x13c82e,_0x39a25e={'SWVAP':function(_0x50fab6,_0x40a4ad){return _0x50fab6 instanceof _0x40a4ad;},'pqQVa':function(_0x52fc48,_0x34e52f){return _0x52fc48(_0x34e52f);},'FPrez':function(_0x1d0462,_0x51761f){return _0x1d0462(_0x51761f);}};var _0x548815=_0x4a1a82[_0x1bd810(0x157)]||{};return _0x39a25e[_0x1bd810(0x206)](_0x548815,Error)&&(_0x548815=_0x39a25e[_0x1bd810(0x177)](errorJSON,_0x548815)),{'title':_0x4a1a82[_0x1bd810(0x1b1)],'fullTitle':_0x4a1a82[_0x1bd810(0x1c2)],'file':_0x4a1a82[_0x1bd810(0x159)],'duration':_0x4a1a82['duration'],'currentRetry':_0x4a1a82[_0x1bd810(0x12c)],'speed':_0x4a1a82[_0x1bd810(0x130)],'err':_0x39a25e[_0x1bd810(0x140)](cleanCycles,_0x548815)};}function printStats(_0x1d50a2,_0xd0c09=a28_0x13c82e(0x1fd),_0x59ef8c={}){const _0x2efe9c=a28_0x13c82e,_0x2d2982={'RpNrt':function(_0x2f10f2,_0x188d63){return _0x2f10f2(_0x188d63);},'tkMje':function(_0x1f2e2,_0x18fcaf){return _0x1f2e2===_0x18fcaf;},'JKgkO':_0x2efe9c(0x16b),'VklBF':_0x2efe9c(0x172),'TuqHI':_0x2efe9c(0x160),'qkDoy':'failures','FtQLm':_0x2efe9c(0x20c),'vGoAj':_0x2efe9c(0x1ec),'PrtGu':function(_0x194056,_0x2917c9){return _0x194056===_0x2917c9;},'BNENU':function(_0x253a45,_0xcda877){return _0x253a45*_0xcda877;},'oCzjj':function(_0x53332a,_0x453a42,_0x274672){return _0x53332a(_0x453a42,_0x274672);},'FMqpW':function(_0x4f8536,_0x8ae802){return _0x4f8536===_0x8ae802;},'soaLl':function(_0x4b5796,_0x290256){return _0x4b5796>_0x290256;},'gwJJh':function(_0x2b4bc8){return _0x2b4bc8();},'syEsn':function(_0x263d92,_0x6ad900){return _0x263d92===_0x6ad900;},'hIdyL':_0x2efe9c(0x163),'IVKUg':function(_0x128dbc,_0x5a2ab3){return _0x128dbc>_0x5a2ab3;},'ysHAd':_0x2efe9c(0x189),'qZTJH':_0x2efe9c(0x196),'tnEwI':function(_0x2d873d,_0x250355){return _0x2d873d+_0x250355;},'XyRGX':_0x2efe9c(0x209),'EcBNL':function(_0x15be2f,_0x2cac71){return _0x15be2f+_0x2cac71;},'eqMMT':_0x2efe9c(0x222),'MsJrl':function(_0x31c053,_0x5abb2f){return _0x31c053+_0x5abb2f;},'vXGMd':function(_0x54f98c,_0x4a5bbf){return _0x54f98c+_0x4a5bbf;},'kNsPI':_0x2efe9c(0x17e),'fRgxq':function(_0x3e1c4a,_0x4d8b22){return _0x3e1c4a>_0x4d8b22;},'cSTFJ':function(_0x56562e,_0x3cb1e2){return _0x56562e>_0x3cb1e2;},'lxpCO':function(_0x44c4b9,_0x4e9c40){return _0x44c4b9+_0x4e9c40;},'VmfZT':function(_0x39639a,_0x22965e){return _0x39639a+_0x22965e;},'HZnmb':function(_0x1db48a,_0x5513a5){return _0x1db48a+_0x5513a5;},'npXHA':function(_0x314169,_0x56fdaa){return _0x314169+_0x56fdaa;},'kBOXJ':function(_0x2ec8a7,_0x3c40b7){return _0x2ec8a7+_0x3c40b7;},'aRyUr':_0x2efe9c(0x150),'oHChg':_0x2efe9c(0x14b),'kCflf':_0x2efe9c(0x139),'yKvsL':_0x2efe9c(0x1ab),'wDsbV':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','ofHCQ':function(_0x3d8947,_0x141e23){return _0x3d8947===_0x141e23;},'GOgdO':_0x2efe9c(0x154),'JNkHB':_0x2efe9c(0x145),'spvIo':function(_0x21e7f3,_0x14435f){return _0x21e7f3||_0x14435f;},'zSDWG':function(_0x2e5546,_0x213959,_0x599954,_0x379a60){return _0x2e5546(_0x213959,_0x599954,_0x379a60);},'hogcy':_0x2efe9c(0x1eb),'gmBie':function(_0x24cb36,_0x576341){return _0x24cb36-_0x576341;},'jsKPu':function(_0x1403b7,_0x39a215){return _0x1403b7-_0x39a215;},'eOVqI':function(_0xd7eb74,_0x1063f4){return _0xd7eb74/_0x1063f4;},'YoCiQ':_0x2efe9c(0x1a2),'rdUXf':_0x2efe9c(0x17a),'aRhWY':_0x2efe9c(0x131),'loboQ':_0x2efe9c(0x19a),'DKWxE':function(_0x3d530c,_0x370d3c){return _0x3d530c===_0x370d3c;},'grusv':_0x2efe9c(0x18f),'WmfGL':_0x2efe9c(0x1f2)};if(_0x2d2982[_0x2efe9c(0x1bd)](_0xd0c09,_0x2d2982[_0x2efe9c(0x198)]))return;const _0x28ba53=0x0,_0xa2eb0f=()=>{const _0x16e3f3=_0x2efe9c;return _0x2d2982['RpNrt'](Array,_0x28ba53)[_0x16e3f3(0x16d)]('\x20\x20');},{testSuites:_0x3b5f70,platforms:_0x7aa0fe,totalTests:_0x752694,testsFailed:_0x4e9012,testsPassed:_0x381029,testsPending:_0x20d493}=_0x2d2982[_0x2efe9c(0x1e5)](getStats,_0x1d50a2);_0x2d2982[_0x2efe9c(0x19f)](_0x4e9012,0x0)&&(logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x1c1)]),process[_0x2efe9c(0x1d8)]=Math[_0x2efe9c(0x171)](_0x4e9012,0xff));logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x1be)]);const _0x425d7d=''+_0x2d2982[_0x2efe9c(0x215)](chalk[_0x2efe9c(0x220)](_0x2d2982[_0x2efe9c(0x194)]),_0x7aa0fe[_0x2efe9c(0x1c5)]),_0x4c0e21=''+_0x2d2982['EcBNL'](chalk[_0x2efe9c(0x220)](_0x2d2982[_0x2efe9c(0x14d)]),_0x3b5f70),_0x423040=''+_0x2d2982['MsJrl'](_0x2d2982[_0x2efe9c(0x21f)](_0x2d2982[_0x2efe9c(0x15c)](chalk['bold'](_0x2d2982[_0x2efe9c(0x138)]),_0x2d2982['fRgxq'](_0x4e9012,0x0)?chalk[_0x2efe9c(0x220)][_0x2efe9c(0x1c7)](_0x4e9012+_0x2efe9c(0x167))+',\x20':''),_0x2d2982[_0x2efe9c(0x13b)](_0x20d493,0x0)?chalk[_0x2efe9c(0x220)][_0x2efe9c(0x1ca)](_0x20d493+_0x2efe9c(0x19c))+',\x20':''),_0x2d2982[_0x2efe9c(0x228)](_0x381029,0x0)?chalk['bold'][_0x2efe9c(0x199)](_0x381029+_0x2efe9c(0x1ef))+',\x20':'')+_0x752694+'\x20total';console[_0x2efe9c(0x1d3)](_0x2d2982[_0x2efe9c(0x173)](_0x2d2982['VmfZT'](_0x2d2982[_0x2efe9c(0x13a)](_0x2d2982['npXHA'](_0x2d2982['kBOXJ'](_0x2d2982[_0x2efe9c(0x20f)],_0x425d7d),'\x0a'),_0x4c0e21),'\x0a'),_0x423040));if(_0x2d2982[_0x2efe9c(0x135)](_0xd0c09,_0x2d2982['oHChg'])){const _0x572ca0={},_0x20bd86={};_0x20bd86['testSuites']=_0x3b5f70,_0x20bd86[_0x2efe9c(0x201)]=_0x7aa0fe,_0x20bd86['testsFailed']=_0x4e9012,_0x20bd86[_0x2efe9c(0x1c3)]=_0x381029,_0x20bd86['testsPending']=_0x20d493,_0x572ca0[_0x2efe9c(0x1e8)]=_0x20bd86,_0x7aa0fe['forEach'](_0x2ac380=>{const _0x3e79d8=_0x2efe9c,_0x325e73={'tHebN':function(_0x5e098f,_0x161340){return _0x2d2982['tkMje'](_0x5e098f,_0x161340);},'nCurn':_0x2d2982[_0x3e79d8(0x19b)],'OOItN':_0x2d2982['VklBF'],'LlMNH':function(_0x34ff7f,_0x44b0a5){return _0x2d2982['RpNrt'](_0x34ff7f,_0x44b0a5);},'pnmoe':_0x2d2982['TuqHI'],'BWxju':_0x2d2982[_0x3e79d8(0x1f0)],'kdxZA':function(_0x388ab2,_0x17ea03){const _0x52c695=_0x3e79d8;return _0x2d2982[_0x52c695(0x1e5)](_0x388ab2,_0x17ea03);},'iTlWP':_0x2d2982[_0x3e79d8(0x1f1)]};_0x572ca0[_0x2ac380]={'pending':[],'failures':[],'passes':[],'tests':_0x1d50a2[_0x2ac380][_0x2d2982[_0x3e79d8(0x1ae)]][_0x3e79d8(0x22c)](clean)},_0x1d50a2[_0x2ac380][_0x2d2982[_0x3e79d8(0x1ae)]][_0x3e79d8(0x1cb)](_0x1c971f=>{const _0x15ff42=_0x3e79d8;if(_0x325e73['tHebN'](_0x1c971f[_0x15ff42(0x208)],_0x325e73[_0x15ff42(0x18c)]))_0x572ca0[_0x2ac380][_0x325e73[_0x15ff42(0x14e)]][_0x15ff42(0x169)](_0x325e73[_0x15ff42(0x180)](clean,_0x1c971f));else _0x325e73[_0x15ff42(0x191)](_0x1c971f['state'],_0x325e73[_0x15ff42(0x197)])?_0x572ca0[_0x2ac380][_0x325e73['BWxju']]['push'](_0x325e73[_0x15ff42(0x166)](clean,_0x1c971f)):_0x572ca0[_0x2ac380][_0x325e73[_0x15ff42(0x1db)]]['push'](_0x325e73['LlMNH'](clean,_0x1c971f));});});if(_0x59ef8c['output'])try{logger['debug'](_0x2d2982['kCflf'],_0x59ef8c[_0x2efe9c(0x22b)]),fs['writeFileSync'](_0x59ef8c[_0x2efe9c(0x22b)],JSON[_0x2efe9c(0x151)](_0x572ca0,null,0x3));}catch(_0x22bbfe){logger[_0x2efe9c(0x1fb)](_0x2d2982['yKvsL'],_0x59ef8c[_0x2efe9c(0x22b)]),logger[_0x2efe9c(0x181)](_0x22bbfe);}else logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x19d)]),console['log'](JSON[_0x2efe9c(0x151)](_0x572ca0,null,0x3));}else{if(_0x2d2982[_0x2efe9c(0x1af)](_0xd0c09,_0x2d2982['GOgdO'])){let _0x206337;const _0x26b21f=_0x2d2982['JNkHB'];_0x59ef8c&&(_0x206337=_0x59ef8c[_0x2efe9c(0x1cd)]);_0x206337=_0x2d2982[_0x2efe9c(0x1fc)](_0x206337,_0x26b21f);let _0x4df3d3=0x0,_0x20ebc6=0x0,_0x476e40=0x0,_0x427f46=0x0;_0x7aa0fe['forEach'](_0x4e3e32=>{const _0x2e58f6=_0x2efe9c;_0x1d50a2[_0x4e3e32][_0x2d2982['vGoAj']][_0x2e58f6(0x1cb)](_0x4c0f1e=>{const _0x2f93ae=_0x2e58f6;if(_0x2d2982[_0x2f93ae(0x21e)](_0x4c0f1e['state'],_0x2d2982[_0x2f93ae(0x19b)]))_0x4df3d3++;else _0x2d2982[_0x2f93ae(0x135)](_0x4c0f1e[_0x2f93ae(0x208)],_0x2d2982[_0x2f93ae(0x148)])&&_0x20ebc6++;_0x476e40++,_0x427f46+=_0x2d2982[_0x2f93ae(0x225)](_0x4c0f1e['duration'],0x1);});}),_0x2d2982[_0x2efe9c(0x1e5)](xunitWrite,_0x2d2982[_0x2efe9c(0x193)](tag,_0x2d2982[_0x2efe9c(0x16a)],{'name':_0x206337,'tests':_0x476e40,'failures':0x0,'errors':_0x20ebc6,'skipped':_0x2d2982['gmBie'](_0x2d2982['jsKPu'](_0x476e40,_0x20ebc6),_0x4df3d3),'timestamp':new Date()[_0x2efe9c(0x210)](),'time':_0x2d2982[_0x2efe9c(0x137)](_0x427f46,0x3e8)||0x0},![])),_0x7aa0fe[_0x2efe9c(0x1cb)](_0x15705e=>{const _0x51aaf8=_0x2efe9c,_0x4cf920={'EbVco':function(_0xc97684,_0x1a138d,_0x35f325){const _0x4826d0=a28_0x22e2;return _0x2d2982[_0x4826d0(0x13c)](_0xc97684,_0x1a138d,_0x35f325);}};_0x1d50a2[_0x15705e][_0x2d2982['vGoAj']][_0x51aaf8(0x1cb)](_0x16b883=>{const _0x56edf0=_0x51aaf8;_0x4cf920[_0x56edf0(0x1fa)](xunitTest,_0x16b883,_0x15705e);});}),_0x2d2982[_0x2efe9c(0x1e5)](xunitWrite,_0x2d2982[_0x2efe9c(0x22e)]);if(_0x59ef8c[_0x2efe9c(0x22b)])try{logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x20b)],_0x59ef8c['output']),fs[_0x2efe9c(0x152)](_0x59ef8c['output'],xunitContent);}catch(_0x3d501f){logger[_0x2efe9c(0x1fb)](_0x2d2982['aRhWY'],_0x59ef8c[_0x2efe9c(0x22b)]),logger['debug'](_0x3d501f);}else logger[_0x2efe9c(0x181)](_0x2d2982['loboQ']),console[_0x2efe9c(0x1d3)](xunitContent);}else{if(_0x2d2982[_0x2efe9c(0x143)](_0x4e9012,0x0))return;console[_0x2efe9c(0x1d3)](),logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x21c)]),console[_0x2efe9c(0x1d3)](chalk[_0x2efe9c(0x220)]['bgRedBright'](_0x2d2982['WmfGL'])),_0x7aa0fe[_0x2efe9c(0x1cb)](_0x592603=>{const _0x37c531=_0x2efe9c,_0x1fe124={'QDwQP':function(_0x518109,_0x414b98){return _0x2d2982['FMqpW'](_0x518109,_0x414b98);},'DOBjn':_0x2d2982[_0x37c531(0x148)]},_0x85116=[];_0x1d50a2[_0x592603][_0x2d2982[_0x37c531(0x1ae)]]['forEach'](_0x2614b2=>{const _0xdf2bf2=_0x37c531;_0x1fe124[_0xdf2bf2(0x182)](_0x2614b2[_0xdf2bf2(0x208)],_0x1fe124[_0xdf2bf2(0x164)])&&(_0x2614b2[_0xdf2bf2(0x1d5)]=()=>_0x2614b2[_0xdf2bf2(0x176)],_0x85116[_0xdf2bf2(0x169)](_0x2614b2));}),_0x2d2982[_0x37c531(0x13b)](_0x85116[_0x37c531(0x1c5)],0x0)&&(Base[_0x37c531(0x133)](),Base[_0x37c531(0x133)](_0x2d2982[_0x37c531(0x16f)](_0xa2eb0f),chalk[_0x37c531(0x220)]['bgBlueBright'](_0x592603)),Base[_0x37c531(0x1d2)](_0x85116));});}}}async function run(_0x5cc4cd,_0x28c961,_0x2fac3b){const _0x1ca1a2=a28_0x13c82e,_0x3a3f5b={'vKYUT':function(_0x521d26,_0x5c5ec3,_0x4064dc,_0x2325ef){return _0x521d26(_0x5c5ec3,_0x4064dc,_0x2325ef);},'YLJtA':_0x1ca1a2(0x202),'jnVea':_0x1ca1a2(0x1b9),'aeAFi':_0x1ca1a2(0x1a6),'ZzMej':'mocha','rxqXh':function(_0x3cd67a,_0x49f6c8){return _0x3cd67a!=_0x49f6c8;},'DkWkG':_0x1ca1a2(0x1ce),'gvOHy':_0x1ca1a2(0x204),'xYGRt':_0x1ca1a2(0x21d),'WrNjk':_0x1ca1a2(0x221),'NKcMK':function(_0x4ee594,_0x318922){return _0x4ee594(_0x318922);},'tfjaW':function(_0x5e7883,_0x255047,_0x51d023){return _0x5e7883(_0x255047,_0x51d023);},'jiIvd':_0x1ca1a2(0x18b),'drWBn':'Running\x20your\x20mocha\x20tests','zRCME':_0x1ca1a2(0x1e0),'qxIri':function(_0x3ba0d0,_0x2c5080,_0x4fb5eb,_0x49dd77){return _0x3ba0d0(_0x2c5080,_0x4fb5eb,_0x49dd77);},'JIEZD':function(_0x32b922,_0x1db56f){return _0x32b922*_0x1db56f;},'Gujyi':function(_0x155a38,_0x1f4a74){return _0x155a38(_0x1f4a74);},'OMPRt':function(_0x5b6fb0,_0x2b7fd6){return _0x5b6fb0!==_0x2b7fd6;},'hmjEw':function(_0xcd5a19,_0x218f04,_0x4e352c,_0x203ad4){return _0xcd5a19(_0x218f04,_0x4e352c,_0x203ad4);}};helper[_0x1ca1a2(0x18d)](_0x2fac3b['framework'],_0x5cc4cd);helper[_0x1ca1a2(0x1e2)]()?(await _0x2fac3b[_0x1ca1a2(0x1f9)](_0x5cc4cd),await helper[_0x1ca1a2(0x1a8)](_0x2fac3b[_0x1ca1a2(0x165)])):await _0x2fac3b['setupTCGAuth']();const _0x1729de=[];let _0x43f218=[];if(!_0x2fac3b[_0x1ca1a2(0x165)])return;!helper['isUndefined'](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c9)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1ca1a2(0x151)](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c9)]));const _0x524dc8=await TestHubHandler[_0x1ca1a2(0x1a7)](FRAMEWORKS[_0x1ca1a2(0x1c8)],_0x2fac3b);_0x3a3f5b[_0x1ca1a2(0x211)](_0x2fac3b[_0x1ca1a2(0x165)]['testObservability'],null)&&(process[_0x1ca1a2(0x1d7)][_0x1ca1a2(0x1d0)]=_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x22f)]);!helper['isUndefined'](_0x2fac3b['config'][_0x1ca1a2(0x217)])&&(process[_0x1ca1a2(0x1d7)][_0x1ca1a2(0x188)]=_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x217)]);const {extension:extension=['js',_0x3a3f5b[_0x1ca1a2(0x1ac)],_0x3a3f5b[_0x1ca1a2(0x15f)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3a3f5b['xYGRt']]}=_0x5cc4cd,_0x30b0d6={..._0x5cc4cd};_0x30b0d6[_0x1ca1a2(0x17f)]=null;const _0x373f8e=_0x30b0d6;let _0x149f6c;if(testOpsHelper[_0x1ca1a2(0x174)]()&&testOpsHelper[_0x1ca1a2(0x22d)]()){let _0x6a66cb=process['env'][_0x1ca1a2(0x1da)];!helper[_0x1ca1a2(0x187)](_0x2fac3b[_0x1ca1a2(0x1d6)])&&_0x2fac3b[_0x1ca1a2(0x1d6)]['has'](_0x3a3f5b['WrNjk'])&&(_0x6a66cb=_0x2fac3b[_0x1ca1a2(0x1d6)][_0x1ca1a2(0x219)](_0x3a3f5b['WrNjk'])),_0x149f6c=testOpsHelper[_0x1ca1a2(0x20d)](_0x6a66cb);}if(helper[_0x1ca1a2(0x187)](_0x149f6c)){const _0x440de4={};_0x440de4['ignore']=ignore,_0x440de4[_0x1ca1a2(0x1df)]=extension,_0x440de4[_0x1ca1a2(0x159)]=file,_0x440de4['recursive']=recursive,_0x440de4['sort']=sort,_0x440de4[_0x1ca1a2(0x1fd)]=spec,_0x149f6c=_0x3a3f5b[_0x1ca1a2(0x1e9)](collectFiles,_0x440de4),_0x3a3f5b[_0x1ca1a2(0x156)](nestedKeyValue,_0x149f6c,[_0x3a3f5b[_0x1ca1a2(0x1fe)]])&&(_0x149f6c=_0x149f6c['files']);}const _0x15036a=helper[_0x1ca1a2(0x183)](_0x2fac3b[_0x1ca1a2(0x165)]);!helper[_0x1ca1a2(0x175)](_0x15036a)&&helper[_0x1ca1a2(0x1b8)](_0x15036a[_0x1ca1a2(0x1bf)])&&(_0x373f8e['retries']=_0x15036a['retryTestsOnFailure']['maxRetries']);if(!helper[_0x1ca1a2(0x1e2)]()){const _0x5cd27d=0x1,_0x221826={..._0x373f8e};_0x221826[_0x1ca1a2(0x1fd)]=[..._0x149f6c],_0x1729de[_0x1ca1a2(0x169)]({'mochaOpts':_0x221826,'configuration':{'platform':os[_0x1ca1a2(0x1ad)]()}}),logger[_0x1ca1a2(0x1bc)](_0x3a3f5b[_0x1ca1a2(0x1ea)]),logger[_0x1ca1a2(0x1bc)](_0x3a3f5b[_0x1ca1a2(0x146)]),_0x3a3f5b['qxIri'](parallelTestRun,_0x1729de,_0x5cd27d,_0x2fac3b)[_0x1ca1a2(0x190)](_0x5864d5=>{const _0x45f1bf=_0x1ca1a2;PerformanceTester[_0x45f1bf(0x1f4)](PerformanceEvents[_0x45f1bf(0x19e)]),_0x3a3f5b['vKYUT'](printStats,_0x5864d5,_0x5cc4cd[_0x45f1bf(0x14a)],_0x5cc4cd[_0x45f1bf(0x12f)]||_0x5cc4cd[_0x3a3f5b[_0x45f1bf(0x14c)]]);})[_0x1ca1a2(0x185)](()=>{const _0x5c5b58=_0x1ca1a2;PerformanceTester[_0x5c5b58(0x1f4)](PerformanceEvents[_0x5c5b58(0x19e)]);try{const {browserstackFolderPath:_0x5910bf,tcgConfigPath:_0x386732}=helper[_0x5c5b58(0x21b)]();fs[_0x5c5b58(0x136)](_0x386732),fs[_0x5c5b58(0x1ee)](_0x5910bf);}catch(_0x214e19){logger[_0x5c5b58(0x181)](_0x3a3f5b['jnVea'],_0x214e19);}try{utilities['fireFunnelTestEvent'](_0x3a3f5b[_0x5c5b58(0x12e)],{},_0x2fac3b[_0x5c5b58(0x165)],_0x2fac3b[_0x5c5b58(0x1f6)]);}catch(_0x3e813c){logger[_0x5c5b58(0x181)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x3e813c['stack']);}try{helper[_0x5c5b58(0x13d)]();}catch(_0xfdc6dc){logger[_0x5c5b58(0x181)](_0x5c5b58(0x223)+_0xfdc6dc);}testOpsHelper['printBuildLink']();});}else{const _0x425f58=helper[_0x1ca1a2(0x22a)](_0x2fac3b[_0x1ca1a2(0x165)]);let _0x3e8d0f=helper[_0x1ca1a2(0x1b5)](_0x2fac3b[_0x1ca1a2(0x165)]);_0x43f218=helper['prepareCapabilities'](_0x2fac3b[_0x1ca1a2(0x165)],_0x425f58,constants[_0x1ca1a2(0x1aa)][_0x1ca1a2(0x1c8)]);helper[_0x1ca1a2(0x15d)]()['central_scanner']&&(_0x3e8d0f=centralScannerConstants[_0x1ca1a2(0x20e)]);let _0x28b02d;const _0x4c4050=_0x2fac3b['config'][_0x1ca1a2(0x1c4)]||helper[_0x1ca1a2(0x178)](_0x5cc4cd,_0x28c961,_0x2fac3b[_0x1ca1a2(0x165)],constants[_0x1ca1a2(0x1aa)]['MOCHA'])||0x1;helper[_0x1ca1a2(0x200)](_0x2fac3b[_0x1ca1a2(0x165)])?_0x28b02d=_0x3a3f5b[_0x1ca1a2(0x144)](_0x2fac3b['config'][_0x1ca1a2(0x201)][_0x1ca1a2(0x1c5)],_0x4c4050):_0x28b02d=_0x4c4050;const _0x295e33=_0x3a3f5b['Gujyi'](getPercyOptions,_0x2fac3b[_0x1ca1a2(0x165)]);if(_0x3a3f5b['OMPRt'](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c4)],0x1))_0x149f6c[_0x1ca1a2(0x1cb)](_0x23f590=>{const _0x5056da=_0x1ca1a2,_0xd1bca9=[];_0x43f218[_0x5056da(0x1cb)]((_0x1dc644,_0x3ed88c)=>{const _0x2f4aad=_0x5056da,_0x51eef0={};_0x51eef0[_0x2f4aad(0x1fd)]=[_0x23f590],_0xd1bca9[_0x2f4aad(0x169)]({'mochaOpts':Object['assign']({},_0x373f8e,_0x51eef0),'configuration':{'server':_0x3e8d0f,'capability':_0x1dc644,'proxySettings':_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x18e)],'platform':helper[_0x2f4aad(0x1ff)](_0x1dc644),'browserStackLogLevel':_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x1d9)],'platformIndex':_0x3ed88c,'browserStackPercyOptions':_0x295e33,'platformCaps':Object[_0x2f4aad(0x226)]({'index':_0x3ed88c},_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x201)][_0x3ed88c])}});}),_0x1729de[_0x5056da(0x169)](..._0xd1bca9);});else{const _0x2bf550=[];_0x43f218[_0x1ca1a2(0x1cb)]((_0x9c6031,_0x2779cc)=>{const _0x2ce00e=_0x1ca1a2;let _0x15b654=Object[_0x2ce00e(0x226)]({},_0x373f8e);testOpsHelper[_0x2ce00e(0x174)]()&&testOpsHelper[_0x2ce00e(0x22d)]()&&(_0x15b654={..._0x15b654,'spec':[..._0x149f6c]}),_0x2bf550[_0x2ce00e(0x169)]({'mochaOpts':_0x15b654,'configuration':{'server':_0x3e8d0f,'capability':_0x9c6031,'proxySettings':_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x18e)],'platform':helper[_0x2ce00e(0x1ff)](_0x9c6031),'browserStackLogLevel':_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x1d9)],'platformIndex':_0x2779cc,'browserStackPercyOptions':_0x295e33,'platformCaps':Object['assign']({'index':_0x2779cc},_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x201)][_0x2779cc])}});}),_0x1729de['push'](..._0x2bf550);}logger[_0x1ca1a2(0x1bc)](_0x1ca1a2(0x15e)+_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x201)][_0x1ca1a2(0x1c5)]+'\x20platforms'),logger['info'](_0x3a3f5b[_0x1ca1a2(0x146)]);let _0x5d9a6c;_0x3a3f5b['hmjEw'](parallelTestRun,_0x1729de,_0x28b02d,_0x2fac3b)[_0x1ca1a2(0x190)](_0x2eafe3=>{const _0x53b947=_0x1ca1a2;PerformanceTester[_0x53b947(0x1f4)](PerformanceEvents[_0x53b947(0x19e)]),_0x5d9a6c=_0x2eafe3,_0x3a3f5b[_0x53b947(0x1e3)](printStats,_0x2eafe3,_0x5cc4cd[_0x53b947(0x14a)],_0x5cc4cd[_0x53b947(0x12f)]||_0x5cc4cd[_0x3a3f5b[_0x53b947(0x14c)]]);})[_0x1ca1a2(0x185)](async()=>{const _0x501477=_0x1ca1a2;PerformanceTester[_0x501477(0x1f4)](PerformanceEvents[_0x501477(0x19e)]),_0x2fac3b[_0x501477(0x1b6)]=helper['getErrorMessageFromResults'](_0x5d9a6c,_0x3a3f5b['ZzMej']),await utilities[_0x501477(0x1b0)](_0x2fac3b),testOpsHelper[_0x501477(0x1cf)]();});}}module[a28_0x13c82e(0x1a4)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a29_0x14203d=a29_0x3ad8;function a29_0x3ad8(_0x3942e7,_0x70d72d){const _0x348277=a29_0x3482();return a29_0x3ad8=function(_0x3ad866,_0x124d70){_0x3ad866=_0x3ad866-0xf0;let _0x2a549f=_0x348277[_0x3ad866];return _0x2a549f;},a29_0x3ad8(_0x3942e7,_0x70d72d);}(function(_0x38b228,_0x23ece5){const _0x4c2d67=a29_0x3ad8,_0x4f8624=_0x38b228();while(!![]){try{const _0x421e6c=parseInt(_0x4c2d67(0x119))/0x1*(-parseInt(_0x4c2d67(0xfd))/0x2)+parseInt(_0x4c2d67(0x145))/0x3*(-parseInt(_0x4c2d67(0x117))/0x4)+-parseInt(_0x4c2d67(0x11d))/0x5+parseInt(_0x4c2d67(0x166))/0x6+-parseInt(_0x4c2d67(0x13c))/0x7*(parseInt(_0x4c2d67(0x137))/0x8)+parseInt(_0x4c2d67(0x125))/0x9+parseInt(_0x4c2d67(0x138))/0xa;if(_0x421e6c===_0x23ece5)break;else _0x4f8624['push'](_0x4f8624['shift']());}catch(_0x4b929a){_0x4f8624['push'](_0x4f8624['shift']());}}}(a29_0x3482,0xae58e));const logger=require(a29_0x14203d(0x129))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x14203d(0x130)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x14203d(0x13a)),{setAccessibilityCapabilities,setExtension}=require(a29_0x14203d(0x151)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x14203d(0x150)),globals=require(a29_0x14203d(0x158)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0xe65a4b,_0x1d1f99=null,_0x518c6b=![])=>{const _0x1e48dd=a29_0x14203d,_0x5ac1c0={'cPBKD':function(_0x12deea,_0x4f4044){return _0x12deea!==_0x4f4044;},'FdQja':_0x1e48dd(0x148),'Rzxuh':function(_0x3d4baf,_0x9cdd67){return _0x3d4baf+_0x9cdd67;},'emJpb':'https://','QBAuu':_0x1e48dd(0x134),'aLutq':_0x1e48dd(0x101),'fdOzR':_0x1e48dd(0xf0),'JTRti':_0x1e48dd(0x102),'zZfhJ':_0x1e48dd(0x163),'gYuDX':'moz:firefoxOptions','IsjtC':_0x1e48dd(0x126),'XFcox':_0x1e48dd(0x131),'zJARL':_0x1e48dd(0x136),'NIJDn':_0x1e48dd(0x114),'JRtrJ':function(_0x544427,_0x46a884){return _0x544427===_0x46a884;},'JlmmS':_0x1e48dd(0x12b),'Sufld':'Setting\x20Browserstack\x20capabilities','FFfIf':'optimalHubUrl','tOEuT':_0x1e48dd(0x112),'AkPfx':function(_0x3a4e3b,_0x4d79e2,_0x5533df){return _0x3a4e3b(_0x4d79e2,_0x5533df);},'LgSuS':function(_0x784103,_0x58a205,_0x4edf2f){return _0x784103(_0x58a205,_0x4edf2f);},'txigm':function(_0x2dfe48,_0x147a03){return _0x2dfe48(_0x147a03);},'osfCe':_0x1e48dd(0x14c),'srgkO':function(_0x25b71a){return _0x25b71a();},'xgopl':function(_0x5466e0,_0x25072e){return _0x5466e0(_0x25072e);},'UrdwE':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','FmJXH':_0x1e48dd(0x13e),'dXLRI':function(_0x32b664,_0x19e3b0,_0x3e0540){return _0x32b664(_0x19e3b0,_0x3e0540);},'IdLUa':function(_0x4b5053,_0x3a4825){return _0x4b5053(_0x3a4825);},'UcKQx':function(_0x4213ad,_0x57f930){return _0x4213ad(_0x57f930);},'WxVxQ':function(_0x538db7,_0x5d6e5a){return _0x538db7!==_0x5d6e5a;},'FUIDg':_0x1e48dd(0x106),'xMqVX':'Modifying\x20webdriver\x20builder'},_0x1d1cc6=helper[_0x1e48dd(0x107)]();let _0xef2621;try{_0xef2621=helper[_0x1e48dd(0x162)](),_0xef2621[_0x1e48dd(0x108)]&&(_0xef2621[_0x1e48dd(0xfc)]=_0xef2621[_0x1e48dd(0x108)]);}catch(_0x3ad39b){return;}if(helper[_0x1e48dd(0x118)]()){const _0x16b08a={};_0x16b08a[_0x1e48dd(0x15b)]=_0xe65a4b[_0x1e48dd(0x153)],helper[_0x1e48dd(0x100)](_0x16b08a,new Map(),new Map()),logger[_0x1e48dd(0x13d)](_0x5ac1c0[_0x1e48dd(0x10b)]),logger['debug'](_0x5ac1c0[_0x1e48dd(0x15e)]);}class _0x41b4a1 extends _0x1d1cc6['HttpClient']{[_0x1e48dd(0x132)](_0x425064){const _0x583b38=_0x1e48dd;if(_0x5ac1c0['cPBKD'](_0x425064[_0x583b38(0x11b)],_0x5ac1c0[_0x583b38(0x15a)])&&_0x5ac1c0[_0x583b38(0x12a)](global[_0x583b38(0x165)],''))try{global[_0x583b38(0x165)]=_0x5ac1c0[_0x583b38(0x168)](_0x5ac1c0['Rzxuh'](_0x5ac1c0[_0x583b38(0x11a)],global[_0x583b38(0x165)]),_0x5ac1c0['QBAuu']),this[_0x583b38(0x144)]=hubAllocator[_0x583b38(0x12c)](global[_0x583b38(0x165)]),logger[_0x583b38(0x141)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x583b38(0x165)]),global[_0x583b38(0x165)]='';}catch(_0x3e05cf){logger[_0x583b38(0x135)](_0x3e05cf);}return super['send'](_0x425064);}}class _0xafe76f extends _0xef2621[_0x1e48dd(0xfc)]{[_0x1e48dd(0x149)](){const _0x433944=_0x1e48dd;return this[_0x433944(0x14b)]=helper[_0x433944(0x143)](_0xe65a4b),logger[_0x433944(0x141)]('Hub\x20url\x20set\x20to\x20'+this[_0x433944(0x14b)]),this;}[_0x1e48dd(0xfa)](_0x156e02){const _0x4b35e0=_0x1e48dd;let _0x467692={};for(const _0x1b9d97 in _0x156e02){switch(_0x1b9d97){case _0x5ac1c0[_0x4b35e0(0x11e)]:case _0x5ac1c0[_0x4b35e0(0x10f)]:this['chromeOptions_']&&(_0x467692=this[_0x4b35e0(0x15f)]['get'](this[_0x4b35e0(0x15f)]['CAPABILITY_KEY'])||{},this[_0x4b35e0(0x15f)][_0x4b35e0(0x10e)](this[_0x4b35e0(0x15f)][_0x4b35e0(0x133)],helper['mergeDeep'](_0x467692,_0x156e02[_0x1b9d97])));break;case _0x5ac1c0['JTRti']:case _0x5ac1c0['zZfhJ']:this['edgeOptions_']&&(_0x467692=this[_0x4b35e0(0x103)][_0x4b35e0(0x14e)](this[_0x4b35e0(0x103)][_0x4b35e0(0x133)])||{},this[_0x4b35e0(0x103)][_0x4b35e0(0x10e)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x4b35e0(0xff)](_0x467692,_0x156e02[_0x1b9d97])));break;case _0x5ac1c0[_0x4b35e0(0xf9)]:case _0x5ac1c0[_0x4b35e0(0x111)]:this['firefoxOptions_']&&(_0x467692=this[_0x4b35e0(0x109)][_0x4b35e0(0x14e)](this[_0x4b35e0(0x109)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x4b35e0(0x10e)](this[_0x4b35e0(0x109)][_0x4b35e0(0x133)],helper[_0x4b35e0(0xff)](_0x467692,_0x156e02[_0x1b9d97])));break;case _0x5ac1c0[_0x4b35e0(0x156)]:this[_0x4b35e0(0x157)]&&(_0x467692=this[_0x4b35e0(0x157)]['get'](this[_0x4b35e0(0x157)][_0x4b35e0(0x133)])||{},this[_0x4b35e0(0x157)]['set'](this['safariOptions_'][_0x4b35e0(0x133)],helper['mergeDeep'](_0x467692,_0x156e02[_0x1b9d97])));break;case _0x5ac1c0[_0x4b35e0(0x154)]:case _0x5ac1c0[_0x4b35e0(0x14f)]:this['ieOptions_']&&(_0x467692=this[_0x4b35e0(0x124)][_0x4b35e0(0x14e)](this['ieOptions_'][_0x4b35e0(0x133)])||{},this[_0x4b35e0(0x124)]['set'](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x4b35e0(0xff)](_0x467692,_0x156e02[_0x1b9d97])));break;}}}[_0x1e48dd(0x12f)](){const _0x53acad=_0x1e48dd;return logger[_0x53acad(0x141)](_0x5ac1c0[_0x53acad(0x105)]),this[_0x53acad(0xfa)](_0xe65a4b[_0x53acad(0x11f)]),Object[_0x53acad(0x142)](_0xe65a4b['capability'])[_0x53acad(0xf8)](_0x59ba23=>{const _0x311c6b=_0x53acad,_0x4ca0cc=this[_0x311c6b(0xfb)][_0x311c6b(0x14e)](_0x59ba23);_0x5ac1c0['JRtrJ'](typeof _0x4ca0cc,_0x5ac1c0[_0x311c6b(0x15c)])?this['capabilities_'][_0x311c6b(0x10e)](_0x59ba23,helper[_0x311c6b(0xff)](_0x4ca0cc,_0xe65a4b[_0x311c6b(0x11f)][_0x59ba23])):this['capabilities_']['set'](_0x59ba23,_0xe65a4b['capability'][_0x59ba23]);}),this;}[_0x1e48dd(0xf7)](){const _0x2838d3=_0x1e48dd,_0x474655={'vVynh':function(_0x23b0f5,_0x255ea9,_0x52266f){const _0x321bc2=a29_0x3ad8;return _0x5ac1c0[_0x321bc2(0x160)](_0x23b0f5,_0x255ea9,_0x52266f);},'LmipN':function(_0x4cc3bb,_0x2271f4,_0x580385){return _0x5ac1c0['LgSuS'](_0x4cc3bb,_0x2271f4,_0x580385);},'YkRSZ':function(_0x12e865,_0x59b01d){const _0x4768d0=a29_0x3ad8;return _0x5ac1c0[_0x4768d0(0x14a)](_0x12e865,_0x59b01d);}};if(helper[_0x2838d3(0x118)]()){const _0x1415ec=_0x5ac1c0[_0x2838d3(0xfe)][_0x2838d3(0x120)]('|');let _0x3f7d24=0x0;while(!![]){switch(_0x1415ec[_0x3f7d24++]){case'0':this[_0x2838d3(0x12f)]();continue;case'1':_0x5ac1c0['srgkO'](isAccessibilityAutomationSession)&&_0x5ac1c0[_0x2838d3(0x110)](setAccessibilityCapabilities,_0xe65a4b);continue;case'2':logger[_0x2838d3(0x141)](_0x5ac1c0[_0x2838d3(0xf1)]);continue;case'3':globals[_0x2838d3(0x116)](_0x5ac1c0['FmJXH'])&&(!_0x5ac1c0['dXLRI'](setExtension,this,_0xe65a4b)&&globals['setGlobal'](_0x5ac1c0[_0x2838d3(0x12e)],![]));continue;case'4':if(helper[_0x2838d3(0x15d)](_0xe65a4b['proxySettings']['proxyUrl']))this[_0x2838d3(0x123)]=helper['getHttpAgent'](_0xe65a4b[_0x2838d3(0x10a)][_0x2838d3(0x14d)]);else _0xe65a4b[_0x2838d3(0x10a)][_0x2838d3(0x14d)]&&(this[_0x2838d3(0x139)]=_0xe65a4b[_0x2838d3(0x10a)][_0x2838d3(0x14d)],logger[_0x2838d3(0x141)](_0x2838d3(0xf3)+this[_0x2838d3(0x139)]));continue;case'5':this['setServer']();continue;}break;}}const _0x32b25a=super[_0x2838d3(0xf7)]();return _0x32b25a[_0x2838d3(0x140)][_0x2838d3(0x167)](_0x80e440=>{const _0x3438d4=_0x2838d3;try{const _0x2ac386=_0x80e440[_0x3438d4(0x128)][_0x3438d4(0x14e)](_0x5ac1c0[_0x3438d4(0x155)]);_0x2ac386?(logger['debug'](_0x3438d4(0x159)+_0x2ac386),hubAllocator[_0x3438d4(0x147)](_0x2ac386),helper[_0x3438d4(0x10c)](_0x2ac386)):logger[_0x3438d4(0x141)](_0x5ac1c0[_0x3438d4(0x146)]);}catch(_0x54133d){logger['debug'](_0x3438d4(0xf6)+_0x54133d);}}),_0x32b25a[_0x2838d3(0x161)]=0x0,_0x32b25a[_0x2838d3(0x167)]&&_0x32b25a[_0x2838d3(0x167)](_0x3df617=>{const _0x7a23e=_0x2838d3,_0x60dfef={'Dvcmb':function(_0x104602,_0x3d7f9f,_0x3a70cd){const _0x5cccc6=a29_0x3ad8;return _0x474655[_0x5cccc6(0x127)](_0x104602,_0x3d7f9f,_0x3a70cd);}};_0x474655[_0x7a23e(0xf4)](overrideQuit,_0x3df617,_0x32b25a),_0x474655['YkRSZ'](overrideTakeScreenshot,_0x3df617),helper[_0x7a23e(0x13f)](_0x3df617,_0xe65a4b),_0x474655['LmipN'](overrideExecute,_0x3df617,_0xe65a4b),_0x3df617[_0x7a23e(0x104)]=async()=>{const _0xd14d1=_0x7a23e;return await _0x60dfef[_0xd14d1(0x11c)](getAccessibilityResultsSummary,_0x3df617,global);},_0x3df617[_0x7a23e(0x121)]=async()=>{const _0x51d28d=_0x7a23e;return await _0x474655[_0x51d28d(0x127)](getAccessibilityResults,_0x3df617,global);};}),_0x32b25a[_0x2838d3(0x104)]=async()=>{const _0x50a0fa=_0x2838d3;return await _0x5ac1c0[_0x50a0fa(0x160)](getAccessibilityResultsSummary,_0x32b25a,global);},_0x32b25a[_0x2838d3(0x121)]=async()=>{const _0x1b0a63=_0x2838d3;return await _0x5ac1c0[_0x1b0a63(0x160)](getAccessibilityResults,_0x32b25a,global);},_0x5ac1c0['IdLUa'](overrideTakeScreenshot,_0x32b25a),_0x5ac1c0['UcKQx'](overrideQuit,_0x32b25a),helper[_0x2838d3(0x13f)](_0x32b25a,_0xe65a4b),_0x5ac1c0[_0x2838d3(0x12d)](overrideExecute,_0x32b25a,_0xe65a4b),helper[_0x2838d3(0x122)](global[_0x2838d3(0xf2)])&&(global['__driversArray']=[]),helper[_0x2838d3(0x122)](global['__drivers'])&&(global['__drivers']=[]),global[_0x2838d3(0xf2)][_0x2838d3(0x152)](_0x32b25a),global[_0x2838d3(0x115)]=_0x32b25a,_0x5ac1c0[_0x2838d3(0xf5)](global[_0x2838d3(0x113)],undefined)&&global[_0x2838d3(0x113)][_0x2838d3(0x152)](_0x32b25a),_0x1d1f99&&helper[_0x2838d3(0x122)](_0x1d1f99[_0x2838d3(0x164)][_0x2838d3(0xf2)])&&(_0x1d1f99[_0x2838d3(0x164)][_0x2838d3(0xf2)]=[]),_0x1d1f99&&_0x5ac1c0['WxVxQ'](_0x1d1f99[_0x2838d3(0x164)][_0x2838d3(0x113)],undefined)&&(_0x1d1f99[_0x2838d3(0x164)][_0x2838d3(0x113)][_0x2838d3(0x152)](_0x32b25a),_0x1d1f99[_0x2838d3(0x164)][_0x2838d3(0xf2)][_0x2838d3(0x152)](_0x32b25a)),_0x32b25a;}}return _0xef2621[_0x1e48dd(0x108)]=_0xef2621[_0x1e48dd(0xfc)],_0xef2621['Builder']=_0xafe76f,_0x1d1cc6['HttpClient']=_0x41b4a1,_0xef2621;};function a29_0x3482(){const _0x52b63f=['then','Rzxuh','chromeOptions','UrdwE','__driversArray','Proxy\x20set\x20to\x20','LmipN','WxVxQ','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','build','forEach','gYuDX','__setBrowserOptions','capabilities_','Builder','2obRQOS','osfCe','mergeDeep','setLogLevel','goog:chromeOptions','ms:edgeOptions','edgeOptions_','getAccessibilityResultsSummary','Sufld','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','requireHttpClient','originalBuilder','firefoxOptions_','proxySettings','FUIDg','storeOptimalHubUrl','exports','set','fdOzR','xgopl','IsjtC','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','__drivers','ieOptions','__driver','getGlobal','12764IZAujj','isBrowserstackInfra','669965ROVZbf','emJpb','path','Dvcmb','2299860XzntcG','aLutq','capability','split','getAccessibilityResults','isUndefined','agent_','ieOptions_','5063949dSdyLf','firefoxOptions','vVynh','caps_','../../../helpers/logger','cPBKD','object','getRequestOptions','LgSuS','FmJXH','setCapabilities','../../../hubAllocationMethods','safari.options','send','CAPABILITY_KEY','/wd/hub','error','se:ieOptions','56OyESmW','28628930SdhLjQ','proxy_','../../../helpers/patchHelpers','browserstackAgentObservability','994945ZRVRNG','info','isAccessibilityPlatform','overrideGet','session_','debug','keys','getHubUrl','options_','891KhLpwA','tOEuT','updateHubUrl','/session','setServer','txigm','url_','1|5|0|4|3|2','proxyUrl','get','NIJDn','../../../helpers/accessibility-automation/helper','../accessibility-automation/helper','push','browserStackLogLevel','zJARL','FFfIf','XFcox','safariOptions_','../../../helpers/globals','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','FdQja','logLevel','JlmmS','isPacProxy','xMqVX','chromeOptions_','AkPfx','quitCount_','requireSeleniumWebdriver','edgeOptions','global','newHubUrl','2167086DDgOgL'];a29_0x3482=function(){return _0x52b63f;};return a29_0x3482();}module[a29_0x14203d(0x10d)][a29_0x14203d(0x13b)]=modify;
|
|
1
|
+
function a29_0x5d61(_0x755f67,_0x2c7c8e){const _0x3e0bf1=a29_0x3e0b();return a29_0x5d61=function(_0x5d61be,_0x4878fa){_0x5d61be=_0x5d61be-0x1c5;let _0x394927=_0x3e0bf1[_0x5d61be];return _0x394927;},a29_0x5d61(_0x755f67,_0x2c7c8e);}const a29_0x12d926=a29_0x5d61;function a29_0x3e0b(){const _0x2e6e59=['proxyUrl','imTsR','error','rpZmh','optimalHubUrl','DRPHb','DPsFL','object','__driversArray','safariOptions_','getAccessibilityResults','moz:firefoxOptions','Hub\x20url\x20set\x20to\x20','keys','__driver','storeOptimalHubUrl','__setBrowserOptions','311624rzZBHW','PZOqv','mergeDeep','809794FadqHG','../accessibility-automation/helper','firefoxOptions_','GMBeq','KurZF','__drivers','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getGlobal','HttpClient','CAPABILITY_KEY','Ojcwo','1|0|2|4|5|3','chromeOptions','isAccessibilityPlatform','getRequestOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','setLogLevel','browserstackAgentObservability','requireHttpClient','370252cpZfuH','rUsvp','vAagb','qBkrF','quitCount_','capabilities_','Sfuoo','/session','capability','ZhSXN','originalBuilder','New\x20hub\x20url\x20set\x20to\x20','KKzUT','session_','requireSeleniumWebdriver','zhFgi','nvlFD','options_','getHttpAgent','info','UGtsY','pjXaM','1SSmfoL','split','edgeOptions_','get','goog:chromeOptions','send','../../../helpers/patchHelpers','proxySettings','../../../helpers/globals','fhSTg','chromeOptions_','overrideGet','KdWiN','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../../../bin/utils/constants','7uftGvx','push','getHubUrl','YDuoN','ZYXzJ','forEach','hMJFW','Setting\x20Browserstack\x20capabilities','set','Builder','FSBYh','ms:edgeOptions','setCapabilities','2703321cmHXqR','se:ieOptions','updateHubUrl','isPacProxy','setServer','jPind','1613670VzjkBV','newHubUrl','global','then','rJBOP','tdCAG','pLGax','XpSXZ','isBrowserstackInfra','./helpers/patchHelper','isUndefined','debug','proxy_','20spEBKA','vVCuS','ieOptions_','logLevel','../../../helpers/helper','ieOptions','build','safari.options','Proxy\x20set\x20to\x20','YXXfe','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','yddjT','QYjVA','agent_','11294250MeDvTv','10485TqMSLb','url_','getAccessibilityResultsSummary','../../../helpers/accessibility-automation/helper','exports'];a29_0x3e0b=function(){return _0x2e6e59;};return a29_0x3e0b();}(function(_0x3c4871,_0x27ef76){const _0x6fc6c8=a29_0x5d61,_0x58096d=_0x3c4871();while(!![]){try{const _0x212ae6=-parseInt(_0x6fc6c8(0x222))/0x1*(-parseInt(_0x6fc6c8(0x1f9))/0x2)+parseInt(_0x6fc6c8(0x1e0))/0x3+-parseInt(_0x6fc6c8(0x20c))/0x4*(-parseInt(_0x6fc6c8(0x1d1))/0x5)+parseInt(_0x6fc6c8(0x244))/0x6+parseInt(_0x6fc6c8(0x231))/0x7*(parseInt(_0x6fc6c8(0x1f6))/0x8)+parseInt(_0x6fc6c8(0x23e))/0x9+-parseInt(_0x6fc6c8(0x1df))/0xa;if(_0x212ae6===_0x27ef76)break;else _0x58096d['push'](_0x58096d['shift']());}catch(_0x517673){_0x58096d['push'](_0x58096d['shift']());}}}(a29_0x3e0b,0x3edce));const logger=require('../../../helpers/logger')['winstonLogger'],helper=require(a29_0x12d926(0x1d5)),constants=require(a29_0x12d926(0x230)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x12d926(0x228)),{setAccessibilityCapabilities,setExtension}=require(a29_0x12d926(0x1fa)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x12d926(0x1e3)),globals=require(a29_0x12d926(0x22a)),{overrideExecute}=require(a29_0x12d926(0x1cd)),modify=(_0x3a7723,_0x3032d3=null,_0x5531f9=![])=>{const _0x29943b=a29_0x12d926,_0x4054a4={'QYjVA':function(_0x13f59d,_0x4b1786){return _0x13f59d!==_0x4b1786;},'IafHP':_0x29943b(0x213),'imTsR':function(_0x5b0bd2,_0x1f884a){return _0x5b0bd2+_0x1f884a;},'nvlFD':'https://','Sfuoo':'/wd/hub','vAagb':_0x29943b(0x226),'DihjV':_0x29943b(0x205),'JEkvB':_0x29943b(0x23c),'ZhSXN':'edgeOptions','KdWiN':_0x29943b(0x1f0),'pjXaM':'firefoxOptions','fhSTg':_0x29943b(0x1d8),'UGtsY':_0x29943b(0x23f),'XpSXZ':_0x29943b(0x1d6),'vVCuS':function(_0xbbb3c7,_0x5691a1){return _0xbbb3c7===_0x5691a1;},'YDuoN':_0x29943b(0x1ec),'ZYXzJ':_0x29943b(0x238),'tdCAG':_0x29943b(0x1e9),'pLGax':_0x29943b(0x208),'qBkrF':function(_0x26f05c,_0x4e2ca5,_0x440c61){return _0x26f05c(_0x4e2ca5,_0x440c61);},'yddjT':function(_0x4e9fe6,_0x4a1c10,_0x559561){return _0x4e9fe6(_0x4a1c10,_0x559561);},'rirjE':function(_0x55d76a,_0x487149){return _0x55d76a(_0x487149);},'FSBYh':function(_0x4eb649,_0x3a40e6,_0x1957ff){return _0x4eb649(_0x3a40e6,_0x1957ff);},'rUsvp':_0x29943b(0x204),'zhFgi':function(_0x1bd44e){return _0x1bd44e();},'GMBeq':function(_0x38f14f,_0x2a1102){return _0x38f14f(_0x2a1102);},'rJBOP':_0x29943b(0x22f),'KurZF':_0x29943b(0x206),'YXXfe':function(_0x579789,_0x182571){return _0x579789(_0x182571);},'Ojcwo':function(_0x51aca6,_0x257dc6){return _0x51aca6(_0x257dc6);},'QvMkP':function(_0x4e7edf,_0x321ae6,_0x407d87){return _0x4e7edf(_0x321ae6,_0x407d87);},'hMJFW':_0x29943b(0x1ff),'PZOqv':'Modifying\x20webdriver\x20builder'},_0x5d17e5=helper[_0x29943b(0x20b)]();let _0x2a2415;try{_0x2a2415=helper[_0x29943b(0x21a)](),_0x2a2415[_0x29943b(0x216)]&&(_0x2a2415[_0x29943b(0x23a)]=_0x2a2415[_0x29943b(0x216)]);}catch(_0x14f4a6){return;}if(helper[_0x29943b(0x1cc)]()){const _0x466c57={};_0x466c57[_0x29943b(0x1d4)]=_0x3a7723['browserStackLogLevel'],helper[_0x29943b(0x209)](_0x466c57,new Map(),new Map()),logger[_0x29943b(0x21f)](_0x4054a4[_0x29943b(0x237)]),logger[_0x29943b(0x1cf)](_0x4054a4[_0x29943b(0x1f7)]);}class _0x31920f extends _0x5d17e5[_0x29943b(0x201)]{['send'](_0x154767){const _0x25c040=_0x29943b;if(_0x4054a4[_0x25c040(0x1dd)](_0x154767['path'],_0x4054a4['IafHP'])&&_0x4054a4[_0x25c040(0x1dd)](global['newHubUrl'],''))try{global[_0x25c040(0x1c5)]=_0x4054a4[_0x25c040(0x1e6)](_0x4054a4['imTsR'](_0x4054a4[_0x25c040(0x21c)],global['newHubUrl']),_0x4054a4[_0x25c040(0x212)]),this[_0x25c040(0x21d)]=hubAllocator[_0x25c040(0x207)](global[_0x25c040(0x1c5)]),logger['debug'](_0x25c040(0x217)+global[_0x25c040(0x1c5)]),global[_0x25c040(0x1c5)]='';}catch(_0x48b82f){logger[_0x25c040(0x1e7)](_0x48b82f);}return super[_0x25c040(0x227)](_0x154767);}}class _0x16b892 extends _0x2a2415[_0x29943b(0x23a)]{[_0x29943b(0x242)](){const _0x1ac29c=_0x29943b;return this[_0x1ac29c(0x1e1)]=helper[_0x1ac29c(0x233)](_0x3a7723),logger[_0x1ac29c(0x1cf)](_0x1ac29c(0x1f1)+this[_0x1ac29c(0x1e1)]),this;}['__setBrowserOptions'](_0x3cef05){const _0x49da2e=_0x29943b;let _0x9af1fc={};for(const _0x407a6c in _0x3cef05){switch(_0x407a6c){case _0x4054a4[_0x49da2e(0x20e)]:case _0x4054a4['DihjV']:this[_0x49da2e(0x22c)]&&(_0x9af1fc=this['chromeOptions_'][_0x49da2e(0x225)](this[_0x49da2e(0x22c)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x49da2e(0x239)](this['chromeOptions_'][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4['JEkvB']:case _0x4054a4[_0x49da2e(0x215)]:this[_0x49da2e(0x224)]&&(_0x9af1fc=this[_0x49da2e(0x224)][_0x49da2e(0x225)](this['edgeOptions_'][_0x49da2e(0x202)])||{},this['edgeOptions_'][_0x49da2e(0x239)](this[_0x49da2e(0x224)][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x22e)]:case _0x4054a4[_0x49da2e(0x221)]:this['firefoxOptions_']&&(_0x9af1fc=this[_0x49da2e(0x1fb)][_0x49da2e(0x225)](this[_0x49da2e(0x1fb)][_0x49da2e(0x202)])||{},this['firefoxOptions_'][_0x49da2e(0x239)](this[_0x49da2e(0x1fb)][_0x49da2e(0x202)],helper['mergeDeep'](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x22b)]:this[_0x49da2e(0x1ee)]&&(_0x9af1fc=this[_0x49da2e(0x1ee)][_0x49da2e(0x225)](this[_0x49da2e(0x1ee)][_0x49da2e(0x202)])||{},this[_0x49da2e(0x1ee)]['set'](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x220)]:case _0x4054a4[_0x49da2e(0x1cb)]:this[_0x49da2e(0x1d3)]&&(_0x9af1fc=this[_0x49da2e(0x1d3)][_0x49da2e(0x225)](this[_0x49da2e(0x1d3)][_0x49da2e(0x202)])||{},this[_0x49da2e(0x1d3)]['set'](this['ieOptions_'][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;}}}[_0x29943b(0x23d)](){const _0x1e4384=_0x29943b,_0x598051={'jPind':function(_0xf5c9b7,_0x2f74e1){const _0x218d05=a29_0x5d61;return _0x4054a4[_0x218d05(0x1d2)](_0xf5c9b7,_0x2f74e1);},'rpZmh':_0x4054a4[_0x1e4384(0x234)]};return logger[_0x1e4384(0x1cf)](_0x4054a4[_0x1e4384(0x235)]),this[_0x1e4384(0x1f5)](_0x3a7723[_0x1e4384(0x214)]),Object[_0x1e4384(0x1f2)](_0x3a7723[_0x1e4384(0x214)])[_0x1e4384(0x236)](_0x51d13a=>{const _0xd13c80=_0x1e4384,_0x115a99=this[_0xd13c80(0x211)][_0xd13c80(0x225)](_0x51d13a);_0x598051[_0xd13c80(0x243)](typeof _0x115a99,_0x598051[_0xd13c80(0x1e8)])?this[_0xd13c80(0x211)][_0xd13c80(0x239)](_0x51d13a,helper['mergeDeep'](_0x115a99,_0x3a7723[_0xd13c80(0x214)][_0x51d13a])):this['capabilities_'][_0xd13c80(0x239)](_0x51d13a,_0x3a7723[_0xd13c80(0x214)][_0x51d13a]);}),this;}[_0x29943b(0x1d7)](){const _0x41436e=_0x29943b,_0x580158={'DRPHb':function(_0x261188,_0x4644f9,_0x443057){const _0x509006=a29_0x5d61;return _0x4054a4[_0x509006(0x20f)](_0x261188,_0x4644f9,_0x443057);},'KKzUT':function(_0x335a60,_0x52c79b,_0x1b37c9){const _0x24964f=a29_0x5d61;return _0x4054a4[_0x24964f(0x20f)](_0x335a60,_0x52c79b,_0x1b37c9);}};if(helper['isBrowserstackInfra']()){const _0x51db2e=_0x4054a4[_0x41436e(0x20d)][_0x41436e(0x223)]('|');let _0x4112a6=0x0;while(!![]){switch(_0x51db2e[_0x4112a6++]){case'0':this[_0x41436e(0x242)]();continue;case'1':_0x4054a4[_0x41436e(0x21b)](isAccessibilityAutomationSession)&&_0x4054a4[_0x41436e(0x1fc)](setAccessibilityCapabilities,_0x3a7723);continue;case'2':this[_0x41436e(0x23d)]();continue;case'3':logger[_0x41436e(0x1cf)](_0x4054a4[_0x41436e(0x1c8)]);continue;case'4':if(helper[_0x41436e(0x241)](_0x3a7723[_0x41436e(0x229)][_0x41436e(0x1e5)]))this[_0x41436e(0x1de)]=helper[_0x41436e(0x21e)](_0x3a7723[_0x41436e(0x229)]['proxyUrl']);else _0x3a7723[_0x41436e(0x229)]['proxyUrl']&&(this['proxy_']=_0x3a7723['proxySettings'][_0x41436e(0x1e5)],logger[_0x41436e(0x1cf)](_0x41436e(0x1d9)+this[_0x41436e(0x1d0)]));continue;case'5':globals[_0x41436e(0x200)](_0x4054a4[_0x41436e(0x1fd)])&&(!_0x4054a4[_0x41436e(0x20f)](setExtension,this,_0x3a7723)&&globals['setGlobal'](_0x4054a4['KurZF'],![]));continue;}break;}}const _0x18c8ea=super[_0x41436e(0x1d7)]();return _0x18c8ea[_0x41436e(0x219)][_0x41436e(0x1c7)](_0x499f25=>{const _0x8e43d2=_0x41436e;try{const _0x23f348=_0x499f25['caps_'][_0x8e43d2(0x225)](_0x4054a4[_0x8e43d2(0x1c9)]);_0x23f348?(logger[_0x8e43d2(0x1cf)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x23f348),hubAllocator[_0x8e43d2(0x240)](_0x23f348),helper[_0x8e43d2(0x1f4)](_0x23f348)):logger[_0x8e43d2(0x1cf)](_0x4054a4[_0x8e43d2(0x1ca)]);}catch(_0x2e4b8c){logger[_0x8e43d2(0x1cf)](_0x8e43d2(0x1db)+_0x2e4b8c);}}),_0x18c8ea[_0x41436e(0x210)]=0x0,_0x18c8ea[_0x41436e(0x1c7)]&&_0x18c8ea[_0x41436e(0x1c7)](_0x24dbf7=>{const _0xf5f37b=_0x41436e,_0x22faf1={'DPsFL':function(_0x1d432d,_0x1e4b6d,_0x10bbf6){return _0x4054a4['qBkrF'](_0x1d432d,_0x1e4b6d,_0x10bbf6);}};_0x4054a4[_0xf5f37b(0x1dc)](overrideQuit,_0x24dbf7,_0x18c8ea),_0x4054a4['rirjE'](overrideTakeScreenshot,_0x24dbf7),helper[_0xf5f37b(0x22d)](_0x24dbf7,_0x3a7723),_0x4054a4[_0xf5f37b(0x23b)](overrideExecute,_0x24dbf7,_0x3a7723),_0x24dbf7['getAccessibilityResultsSummary']=async()=>{const _0x27bd78=_0xf5f37b;return await _0x22faf1[_0x27bd78(0x1eb)](getAccessibilityResultsSummary,_0x24dbf7,global);},_0x24dbf7['getAccessibilityResults']=async()=>{const _0x26e6dd=_0xf5f37b;return await _0x22faf1[_0x26e6dd(0x1eb)](getAccessibilityResults,_0x24dbf7,global);};}),_0x18c8ea[_0x41436e(0x1e2)]=async()=>{const _0x23b62a=_0x41436e;return await _0x580158[_0x23b62a(0x1ea)](getAccessibilityResultsSummary,_0x18c8ea,global);},_0x18c8ea[_0x41436e(0x1ef)]=async()=>{const _0x5f0867=_0x41436e;return await _0x580158[_0x5f0867(0x218)](getAccessibilityResults,_0x18c8ea,global);},_0x4054a4[_0x41436e(0x1da)](overrideTakeScreenshot,_0x18c8ea),_0x4054a4[_0x41436e(0x203)](overrideQuit,_0x18c8ea),helper[_0x41436e(0x22d)](_0x18c8ea,_0x3a7723),_0x4054a4['QvMkP'](overrideExecute,_0x18c8ea,_0x3a7723),helper[_0x41436e(0x1ce)](global[_0x41436e(0x1ed)])&&(global[_0x41436e(0x1ed)]=[]),helper[_0x41436e(0x1ce)](global[_0x41436e(0x1fe)])&&(global[_0x41436e(0x1fe)]=[]),global['__driversArray']['push'](_0x18c8ea),global[_0x41436e(0x1f3)]=_0x18c8ea,_0x4054a4[_0x41436e(0x1dd)](global['__drivers'],undefined)&&global['__drivers']['push'](_0x18c8ea),_0x3032d3&&helper[_0x41436e(0x1ce)](_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)])&&(_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)]=[]),_0x3032d3&&_0x4054a4['QYjVA'](_0x3032d3[_0x41436e(0x1c6)]['__drivers'],undefined)&&(_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1fe)][_0x41436e(0x232)](_0x18c8ea),_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)]['push'](_0x18c8ea)),_0x18c8ea;}}return _0x2a2415['originalBuilder']=_0x2a2415[_0x29943b(0x23a)],_0x2a2415['Builder']=_0x16b892,_0x5d17e5[_0x29943b(0x201)]=_0x31920f,_0x2a2415;};module[a29_0x12d926(0x1e4)][a29_0x12d926(0x20a)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x4daa23=a30_0x50f9;(function(_0x5a9a4a,_0x4d5d38){const _0x6dc131=a30_0x50f9,_0x22a4a3=_0x5a9a4a();while(!![]){try{const _0x1fcc55=parseInt(_0x6dc131(0x104))/0x1+-parseInt(_0x6dc131(0x10c))/0x2+parseInt(_0x6dc131(0x102))/0x3+parseInt(_0x6dc131(0x108))/0x4*(-parseInt(_0x6dc131(0x10d))/0x5)+parseInt(_0x6dc131(0x107))/0x6*(-parseInt(_0x6dc131(0x100))/0x7)+parseInt(_0x6dc131(0x10a))/0x8*(-parseInt(_0x6dc131(0x10e))/0x9)+parseInt(_0x6dc131(0x105))/0xa;if(_0x1fcc55===_0x4d5d38)break;else _0x22a4a3['push'](_0x22a4a3['shift']());}catch(_0x44e2f4){_0x22a4a3['push'](_0x22a4a3['shift']());}}}(a30_0x530f,0x96b95));function a30_0x50f9(_0x871a53,_0x164129){const _0x530f4a=a30_0x530f();return a30_0x50f9=function(_0x50f925,_0x2f7f82){_0x50f925=_0x50f925-0xff;let _0x23e20f=_0x530f4a[_0x50f925];return _0x23e20f;},a30_0x50f9(_0x871a53,_0x164129);}const requestSpy=require(a30_0x4daa23(0x101)),constants=require(a30_0x4daa23(0x103)),{addRequestSpy}=require(a30_0x4daa23(0x106));exports[a30_0x4daa23(0x109)]={'beforeAll'(){const _0x43d43c=a30_0x4daa23,_0x54a138={'xbouD':function(_0x4cb8f6){return _0x4cb8f6();}},_0x99348='browserstack internal helper hook';_0x54a138[_0x43d43c(0x10b)](addRequestSpy);},'afterAll'(){const _0x3f11ef=a30_0x4daa23,_0x51b79e='browserstack internal helper hook';this[_0x3f11ef(0xff)](0xea60),requestSpy[_0x3f11ef(0x10f)]();}};function a30_0x530f(){const _0x28f09a=['18474110xQIAKC','../../../helpers/test-observability/utils','1788558NtLjch','284UnrMfB','mochaHooks','40sJYNsh','xbouD','2243262DPceMq','4015aCUgYD','1222137Locoku','restore','timeout','14erqtrF','../../../helpers/request-spy','3391926eMiRJi','../../../bin/utils/constants','93107HVCQvH'];a30_0x530f=function(){return _0x28f09a;};return a30_0x530f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31_0x2a9a21=a31_0x3726;function a31_0x3726(_0xa5c050,_0x40c4f3){const _0x3908b4=a31_0x3908();return a31_0x3726=function(_0x3726b0,_0x387dd6){_0x3726b0=_0x3726b0-0x16b;let _0x5e26a4=_0x3908b4[_0x3726b0];return _0x5e26a4;},a31_0x3726(_0xa5c050,_0x40c4f3);}function a31_0x3908(){const _0x545a79=['UgttX','fromEntries','pid','indexOf','oIceF','passed','unknown_grid','17416LPyjqt','concat','filter','hookAnalyticsId','divFT','wtlvA','emit','zWRAj','failed','XfxnC','getBrowserVersion','string','_afterEach','1140194RBuFSX','../../../helpers/testhub/utils','kHaMt','KOsjB','jKUiy','getHookSkippedTests','_beforeAll','tFwih','getCapabilities','../../../helpers/test-observability/constants','getPlatform','../../utils/logPatcher','mapTestHooks','get','DLYAy','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','toJSON','substring','HWmAd','rLiFZ','getHooksForTest','getTestEnv','2850462bdOzFr','5287845fxwSfz','1530393NrpFrT','RFLDq','pending','_beforeEach','split','bLdVZ','markedStatus','lodash','IaQze','TsRlm','144382nyDHbY','bs:addPlatformDetails:','type','4rZlOPt','qogKc','tests','browserstack','AnTiE','WgQob','FcutS','suites','hook','30UhukUq','../../../helpers/helper','__cloud_provider___','FXGoe','MEtxR','xQqiW','getHookDetails','parent','state','NVyOM','TEST_PLATFORM','1337LWUbyt','UxDXf','7uWpByr','nsIjm','_afterAll','CdwiV','LRvPI','pdWTi','reduce','../../../helpers/test-observability/utils','toISOString','../../../../package.json','platformVersion','6849783nxLFYr','forEach','slice'];a31_0x3908=function(){return _0x545a79;};return a31_0x3908();}(function(_0x49754a,_0x8c7be5){const _0x2fdc99=a31_0x3726,_0x3203d3=_0x49754a();while(!![]){try{const _0x105d08=-parseInt(_0x2fdc99(0x193))/0x1*(parseInt(_0x2fdc99(0x17a))/0x2)+parseInt(_0x2fdc99(0x170))/0x3+-parseInt(_0x2fdc99(0x17d))/0x4*(-parseInt(_0x2fdc99(0x16f))/0x5)+-parseInt(_0x2fdc99(0x16e))/0x6+-parseInt(_0x2fdc99(0x191))/0x7*(-parseInt(_0x2fdc99(0x1a8))/0x8)+-parseInt(_0x2fdc99(0x19e))/0x9+parseInt(_0x2fdc99(0x186))/0xa*(parseInt(_0x2fdc99(0x1b5))/0xb);if(_0x105d08===_0x8c7be5)break;else _0x3203d3['push'](_0x3203d3['shift']());}catch(_0x5a81fa){_0x3203d3['push'](_0x3203d3['shift']());}}}(a31_0x3908,0x87008));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x2a9a21(0x19c)),logPatcher=require(a31_0x2a9a21(0x1c0)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x2a9a21(0x19a)),{consoleHolder}=require(a31_0x2a9a21(0x1be)),{getPlatformVersion}=require(a31_0x2a9a21(0x187)),{shouldProcessEventForTesthub}=require(a31_0x2a9a21(0x1b6)),{isFunction}=require(a31_0x2a9a21(0x177)),{patchConsoleLogger}=require(a31_0x2a9a21(0x19a));patchConsoleLogger(),exports[a31_0x2a9a21(0x16d)]=()=>{const _0x591c7a=a31_0x2a9a21,_0x3d6721={'pdWTi':'generic','CdwiV':function(_0x4089c4){return _0x4089c4();}};return{'ci':_0x3d6721[_0x591c7a(0x198)],'key':_0x3d6721[_0x591c7a(0x196)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x2a9a21(0x18c)]=_0x27417f=>{const _0x306ffe=a31_0x2a9a21,_0x57f288={};_0x57f288['zWRAj']=function(_0x489824,_0x47ef1d){return _0x489824!==_0x47ef1d;},_0x57f288['JGStE']=_0x306ffe(0x1b3),_0x57f288[_0x306ffe(0x178)]='hook:',_0x57f288[_0x306ffe(0x1b9)]=_0x306ffe(0x185);const _0x42119d=_0x57f288;if(!_0x27417f||_0x42119d[_0x306ffe(0x1af)](typeof _0x27417f,_0x42119d['JGStE']))return[null,null];if(_0x42119d[_0x306ffe(0x1af)](_0x27417f[_0x306ffe(0x1a4)](_0x42119d[_0x306ffe(0x178)]),-0x1)){const _0x32e3ac=_0x27417f['split'](_0x42119d['IaQze']);return[_0x32e3ac[0x0]['slice'](0x0,-0x1)[_0x306ffe(0x174)]('\x22')[0x1],_0x32e3ac[0x1][_0x306ffe(0x1c6)](0x1)];}else{if(_0x42119d[_0x306ffe(0x1af)](_0x27417f[_0x306ffe(0x1a4)](_0x42119d[_0x306ffe(0x1b9)]),-0x1)){const _0xb58966=_0x27417f[_0x306ffe(0x174)](_0x42119d[_0x306ffe(0x1b9)]);return[_0xb58966[0x0][_0x306ffe(0x1a0)](0x0,-0x1)[_0x306ffe(0x174)]('\x22')[0x1],_0x27417f];}}return[null,null];},exports[a31_0x2a9a21(0x16c)]=_0x5698e4=>{const _0x255545=a31_0x2a9a21,_0x2419fe={'WWZkz':function(_0x31505f,_0x4d54f3){return _0x31505f(_0x4d54f3);},'UxDXf':'_beforeAll','NVyOM':_0x255545(0x195),'FcutS':_0x255545(0x173),'MEtxR':_0x255545(0x1b4)};if(!_0x5698e4||!_0x5698e4['parent'])return[];const _0x12ed0d=[];return[_0x2419fe[_0x255545(0x192)],_0x2419fe[_0x255545(0x18f)],_0x2419fe[_0x255545(0x183)],_0x2419fe[_0x255545(0x18a)]]['forEach'](_0x252c70=>{const _0x517335=_0x255545,_0x2001b1=_0x5698e4[_0x517335(0x18d)][_0x252c70]||[];_0x2001b1['forEach'](_0x757e79=>{const _0x2d00eb=_0x517335;_0x757e79['hookAnalyticsId']&&!_0x2419fe['WWZkz'](isInternalHook,_0x757e79['fn'])&&_0x12ed0d['push'](_0x757e79[_0x2d00eb(0x1ab)]);});}),[..._0x12ed0d,...exports[_0x255545(0x16c)](_0x5698e4[_0x255545(0x18d)])];},exports['mapTestHooks']=_0x365c8e=>{const _0x5307c6=a31_0x2a9a21,_0x288600={'TsRlm':function(_0x4ff511){return _0x4ff511();},'FXGoe':function(_0x4dc0c9,_0x5a642f){return _0x4dc0c9===_0x5a642f;},'WgQob':_0x5307c6(0x1b4),'qogKc':function(_0x39214e){return _0x39214e();},'oIceF':_0x5307c6(0x1bb),'nsIjm':'_afterAll','rLiFZ':'_beforeEach'};if(!_0x365c8e||!_0x365c8e[_0x5307c6(0x18d)])return;[_0x288600[_0x5307c6(0x1a5)],_0x288600[_0x5307c6(0x194)],_0x288600[_0x5307c6(0x16b)],_0x288600['WgQob']][_0x5307c6(0x19f)](_0x2a0c44=>{const _0x19bf3f=_0x5307c6,_0x1b1dda=_0x365c8e[_0x19bf3f(0x18d)][_0x2a0c44]||[];_0x1b1dda[_0x19bf3f(0x19f)](_0x2ba60d=>{const _0x5a5f54=_0x19bf3f;if(!_0x2ba60d['hookAnalyticsId'])_0x2ba60d[_0x5a5f54(0x1ab)]=_0x288600[_0x5a5f54(0x179)](uuidv4);else _0x2ba60d[_0x5a5f54(0x176)]&&_0x288600[_0x5a5f54(0x189)](_0x2a0c44,_0x288600[_0x5a5f54(0x182)])&&(_0x2ba60d[_0x5a5f54(0x1ab)]=_0x288600[_0x5a5f54(0x17e)](uuidv4),delete _0x2ba60d[_0x5a5f54(0x176)]);});}),exports[_0x5307c6(0x1c1)](_0x365c8e[_0x5307c6(0x18d)]);},exports['sendPlatformDetails']=async(_0x2ac5ac,_0x306a58)=>{const _0x27ff5c=a31_0x2a9a21,_0x2db345={'xQqiW':function(_0x26cfa3){return _0x26cfa3();},'LRvPI':function(_0x5aa4ae,_0x3098c2){return _0x5aa4ae(_0x3098c2);},'bLdVZ':_0x27ff5c(0x19d),'tFwih':function(_0x4d84a2,_0x186719){return _0x4d84a2===_0x186719;},'wtlvA':_0x27ff5c(0x180),'KOsjB':_0x27ff5c(0x1a7),'XfxnC':_0x27ff5c(0x190),'UgttX':function(_0x48157d,_0x24947d){return _0x48157d(_0x24947d);}};try{if(!_0x2db345[_0x27ff5c(0x18b)](shouldProcessEventForTesthub))return;const _0x6a6239=await _0x2ac5ac[_0x27ff5c(0x1bd)](),_0x2b3a94=await _0x2ac5ac['getSession'](),_0x2341c3={},_0x5c8f57=Object[_0x27ff5c(0x1a2)](_0x2b3a94['getCapabilities']()['map_']),_0x21758e={'product':_0x2db345[_0x27ff5c(0x197)](getObservabilityLinkedProductName,_0x5c8f57),'capabilities':_0x5c8f57,'platform':_0x6a6239[_0x27ff5c(0x1bf)](),'platform_version':_0x6a6239[_0x27ff5c(0x1c2)](_0x2db345[_0x27ff5c(0x175)])?_0x6a6239['get'](_0x2db345[_0x27ff5c(0x175)]):_0x2db345[_0x27ff5c(0x197)](getPlatformVersion,_0x2db345[_0x27ff5c(0x1bc)](global[_0x27ff5c(0x188)],_0x2db345[_0x27ff5c(0x1ad)])),'browser':_0x6a6239['getBrowserName'](),'browser_version':_0x6a6239[_0x27ff5c(0x1b2)](),'session_id':_0x2b3a94[_0x27ff5c(0x1c5)]()};global[_0x27ff5c(0x188)]?_0x2341c3[global[_0x27ff5c(0x188)]]=_0x21758e:_0x2341c3[_0x2db345[_0x27ff5c(0x1b8)]]=_0x21758e,process[_0x27ff5c(0x1ae)](_0x27ff5c(0x17b)+process[_0x27ff5c(0x1a3)],{'timestamp':new Date()[_0x27ff5c(0x19b)](),'level':null,'message':null,'kind':_0x2db345[_0x27ff5c(0x1b1)],'http_response':_0x2341c3,'uuid':_0x306a58});}catch(_0xc8df14){_0x2db345[_0x27ff5c(0x1a1)](debug,_0x27ff5c(0x1c4)+_0xc8df14);}},exports[a31_0x2a9a21(0x1ba)]=_0xe8f0b6=>{const _0x4abdcb=a31_0x2a9a21,_0x8ec36e={};_0x8ec36e[_0x4abdcb(0x181)]=function(_0xf030fb,_0x26f362){return _0xf030fb!==_0x26f362;},_0x8ec36e['kHaMt']=_0x4abdcb(0x185),_0x8ec36e[_0x4abdcb(0x1c3)]=function(_0x5968ea,_0x51f0ec){return _0x5968ea!==_0x51f0ec;},_0x8ec36e[_0x4abdcb(0x1c7)]=_0x4abdcb(0x1a6),_0x8ec36e[_0x4abdcb(0x1ac)]=function(_0x30ce13,_0x55e18f){return _0x30ce13!==_0x55e18f;},_0x8ec36e[_0x4abdcb(0x171)]=_0x4abdcb(0x1b0);const _0x35ef8b=_0x8ec36e,_0x2d7f7d=_0xe8f0b6[_0x4abdcb(0x184)][_0x4abdcb(0x199)]((_0x3f8e48,_0x33073a)=>{const _0x1dc508=_0x4abdcb,_0x24c3e7=exports[_0x1dc508(0x1ba)](_0x33073a);return _0x24c3e7&&(_0x3f8e48=_0x3f8e48[_0x1dc508(0x1a9)](_0x24c3e7)),_0x3f8e48;},[]),_0x2524d0=_0xe8f0b6[_0x4abdcb(0x17f)][_0x4abdcb(0x1aa)](_0x1b46b3=>{const _0x10d310=_0x4abdcb,_0x4e9a6e=_0x35ef8b[_0x10d310(0x181)](_0x1b46b3[_0x10d310(0x17c)],_0x35ef8b[_0x10d310(0x1b7)])&&!_0x1b46b3[_0x10d310(0x176)]&&_0x35ef8b[_0x10d310(0x1c3)](_0x1b46b3[_0x10d310(0x18e)],_0x35ef8b[_0x10d310(0x1c7)])&&_0x35ef8b[_0x10d310(0x1ac)](_0x1b46b3[_0x10d310(0x18e)],_0x35ef8b[_0x10d310(0x171)])&&!_0x1b46b3[_0x10d310(0x172)];return _0x4e9a6e;});return _0x2524d0[_0x4abdcb(0x1a9)](_0x2d7f7d);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a32_0x55eb(){const _0x4672fb=['Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','GxSlA','uXcTK','shift','AOFOy','env','join','mktTN','thBuildUuid','shouldScanTestForAccessibility','\x22}}','tOUdc','72TLNpSD','browserstackSessionName','message','EaonJ','Failed:\x20','Failed\x20to\x20store\x20session\x20name:\x20','TlAWm','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','yawHk','lTXcC','EQrIr','nTuVp','measureWrapper','afterAll','ZhNDT','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','zrDcI','sessionName','quitCount_','lgcDq','index','jENJL','__drivers','end','executeScript',',\x22level\x22:\x20\x22','../../helpers/testhub/utils','CvZAT','isAccessibilityPlatform','SYNC','4788eTaEuV','percyCaptureMode','afterTest','TRgOF','../../helpers/logger','cQXED','capabilities','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','sessionNameSet__','agbFx','currentTest','now','push','wVeHP','cHlmG','bstackA11yShouldScan','YGqYT','RoLgz','info','passed','WEJVk','stringify','getCurrentUrl','TBcmN','KveTF','GNQDx','../../helpers/globals','WDTht','driverCleanup','10310xXgqQv','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','executeAsyncScript','titlePath','http:','VDJEQ','OpaIH','2503326ZRFjNc','err','cmtZb','eYtHo','__sessionFailed','state','setGlobal','error','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','SDK_HOOK','zqXSX','../../helpers/helper','command','__skipSessionName','startMonitoring','afterEach','__platformCaps','winstonLogger','timeout','kHVVP','tKfHh','jdZdy','aCrSw','1318380AicupU','GHCSl','sdlWT','UAFnO','9853688oftMVJ','dIABG','4317880sMnZBC','isArray','__error_messages__','14ZRMaZN','ckRxm','PERFORM_SCAN','77483DrLYNx','length','xlTSo','xWPMA','SESSION_NAME','protocol','appium:app','accessibilityScanStarted','NJYbR','start','xSwed','performScan','dvEPe','util','then','bpBmh','browserstackTestName','../../helpers/testhub/constants','QHCzf','lvzfB','thTestRunUuid','OMcQA','VdADM','../../helpers/performance/performance-tester','ENV_VAR','testAnalyticsId','IDmnj','getGlobal','BkYLS','testcase','nBBVv','QKtcq','29492AVwWLZ','format','yjcbK','\x20-\x20','debug','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Passed','initQuit','app','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','SAVE_RESULTS','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/accessibility-automation/helper','oCeoD','IdSoI','beforeEach','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'];a32_0x55eb=function(){return _0x4672fb;};return a32_0x55eb();}const a32_0x1f1248=a32_0x4be7;(function(_0x4e6ee5,_0x6b2c36){const _0x3b39fa=a32_0x4be7,_0x456a6d=_0x4e6ee5();while(!![]){try{const _0x2f696f=-parseInt(_0x3b39fa(0x213))/0x1*(-parseInt(_0x3b39fa(0x210))/0x2)+parseInt(_0x3b39fa(0x1ad))/0x3*(parseInt(_0x3b39fa(0x233))/0x4)+parseInt(_0x3b39fa(0x20d))/0x5+-parseInt(_0x3b39fa(0x1f0))/0x6+parseInt(_0x3b39fa(0x207))/0x7+-parseInt(_0x3b39fa(0x20b))/0x8+parseInt(_0x3b39fa(0x1cb))/0x9*(parseInt(_0x3b39fa(0x1e8))/0xa);if(_0x2f696f===_0x6b2c36)break;else _0x456a6d['push'](_0x456a6d['shift']());}catch(_0x27d284){_0x456a6d['push'](_0x456a6d['shift']());}}}(a32_0x55eb,0xa3c59));function a32_0x4be7(_0x56c972,_0x5af7a1){const _0x55eb79=a32_0x55eb();return a32_0x4be7=function(_0x4be7f7,_0x35dc79){_0x4be7f7=_0x4be7f7-0x198;let _0x16fc7b=_0x55eb79[_0x4be7f7];return _0x16fc7b;},a32_0x4be7(_0x56c972,_0x5af7a1);}const util=require(a32_0x1f1248(0x220)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x1f1248(0x19c)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x1f1248(0x1fb)),PerformanceTester=require(a32_0x1f1248(0x22a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x1f1248(0x1e5)),logger=require(a32_0x1f1248(0x1cf))[a32_0x1f1248(0x201)],{shouldProcessEventForTesthub}=require(a32_0x1f1248(0x1c7)),testHubConstants=require(a32_0x1f1248(0x224));exports['mochaHooks']={'beforeAll'(){const _0x4e0124=a32_0x1f1248,_0x1416e8={'GNQDx':function(_0x208eae,_0x2b2d65,_0x2cf36a,_0x144460){return _0x208eae(_0x2b2d65,_0x2cf36a,_0x144460);},'eYtHo':'failed','CBPqV':'\x20|\x20','IDmnj':function(_0x311c41,_0x9d588,_0x3b5809){return _0x311c41(_0x9d588,_0x3b5809);},'cHlmG':_0x4e0124(0x1de),'uXcTK':function(_0x23fe25){return _0x23fe25();},'rSIcQ':function(_0x222410,_0x31fab3,_0x259eb7){return _0x222410(_0x31fab3,_0x259eb7);},'OMcQA':'index','BGGRl':'beforeAll'};PerformanceTester[_0x4e0124(0x1fe)]();const _0x1f54f1='browserstack internal helper hook';PerformanceTester[_0x4e0124(0x1b9)](PerformanceSdkEvents[_0x4e0124(0x1f9)],()=>{const _0x29b364=_0x4e0124;global[_0x29b364(0x20f)]=[],global[_0x29b364(0x1f4)]=![],global[_0x29b364(0x1e7)]=async()=>{const _0x14c994=_0x29b364;let _0x696643=![];try{await global[_0x14c994(0x1c3)][0x0]['session_'],_0x696643=!![],global['__sessionFailed']?await _0x1416e8[_0x14c994(0x1e4)](markSessionStatus,global['__drivers'][0x0],_0x1416e8[_0x14c994(0x1f3)],global['__error_messages__'][_0x14c994(0x1a7)](_0x1416e8['CBPqV'])):await _0x1416e8['IDmnj'](markSessionStatus,global[_0x14c994(0x1c3)][0x0],_0x1416e8[_0x14c994(0x1d9)]);}catch(_0x4cd1b7){logger[_0x14c994(0x237)](_0x14c994(0x1d2)+_0x4cd1b7);}global[_0x14c994(0x20f)]=[],global['__sessionFailed']=![];if(_0x696643)try{try{_0x1416e8[_0x14c994(0x1a3)](shouldProcessEventForTesthub)&&(global[_0x14c994(0x1c3)][0x0]&&await _0x1416e8['rSIcQ'](sendPlatformDetails,global[_0x14c994(0x1c3)][0x0],this['currentTest']?this[_0x14c994(0x1d5)][_0x14c994(0x22c)]:null));}catch(_0x242e96){logger[_0x14c994(0x237)](_0x14c994(0x1a0)+_0x242e96);}await global[_0x14c994(0x1c3)][0x0][_0x14c994(0x23a)]();}catch(_0x270515){logger[_0x14c994(0x237)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x270515);}};},{'platform':_0x1416e8[_0x4e0124(0x22d)](nestedKeyValue,global[_0x4e0124(0x200)],[_0x1416e8[_0x4e0124(0x228)]]),'hookType':_0x1416e8['BGGRl']})();},'beforeEach'(_0x472b35){const _0x313a18=a32_0x1f1248,_0x1f6f69={'OpaIH':function(_0x35b2ea,_0x276036){return _0x35b2ea>_0x276036;},'ceYbc':function(_0x77ff0e,_0x490ce6){return _0x77ff0e>_0x490ce6;},'aCrSw':_0x313a18(0x236),'TlAWm':function(_0x4a0e45,_0x59fb60,_0x296eee){return _0x4a0e45(_0x59fb60,_0x296eee);},'lTXcC':_0x313a18(0x1da),'xWPMA':function(_0x38a409){return _0x38a409();},'WEJVk':_0x313a18(0x1c9),'GHCSl':function(_0x23313b,_0x4a1957){return _0x23313b===_0x4a1957;},'mktTN':_0x313a18(0x1ed),'VDJEQ':'https:','IDngs':_0x313a18(0x198),'iDVqr':'Automate\x20test\x20case\x20execution\x20has\x20started.','GxSlA':function(_0x52bce5){return _0x52bce5();},'UAFnO':_0x313a18(0x223),'cQXED':_0x313a18(0x1c1),'EQrIr':_0x313a18(0x19f)};globals['setGlobal'](_0x1f6f69[_0x313a18(0x20a)],this['currentTest'][_0x313a18(0x1ec)]()[_0x313a18(0x1a7)](_0x1f6f69[_0x313a18(0x206)])),PerformanceTester[_0x313a18(0x1b9)](PerformanceSdkEvents[_0x313a18(0x1f9)],()=>{const _0x8414e=_0x313a18,_0x1c1b89='browserstack internal helper hook';new Promise(async _0x9b533b=>{const _0x3ddd94=a32_0x4be7;let _0xcf92c3=!![];try{_0x1f6f69[_0x3ddd94(0x1ef)](global[_0x3ddd94(0x1c3)]['length'],0x1)&&(await global[_0x3ddd94(0x1e7)](),global['__drivers'][_0x3ddd94(0x1a4)]()),_0x1f6f69['ceYbc'](global[_0x3ddd94(0x1c3)][0x0][_0x3ddd94(0x1bf)],0x0)&&(_0xcf92c3=![],await global['driverCleanup']());}catch(_0x5f2b5c){logger[_0x3ddd94(0x237)](_0x3ddd94(0x19b)+_0x5f2b5c);}try{Array[_0x3ddd94(0x20e)](global['__drivers'])&&global[_0x3ddd94(0x1c3)][0x0]&&(global[_0x3ddd94(0x1c3)][0x0][_0x3ddd94(0x1ae)]=this[_0x3ddd94(0x1d5)][_0x3ddd94(0x1ec)]()[_0x3ddd94(0x1a7)](_0x1f6f69[_0x3ddd94(0x206)])),global[_0x3ddd94(0x1ae)]=this[_0x3ddd94(0x1d5)][_0x3ddd94(0x1ec)]()['join'](_0x1f6f69[_0x3ddd94(0x206)]);}catch(_0x28f280){logger['debug'](_0x3ddd94(0x1b2)+_0x28f280);}this[_0x3ddd94(0x1d5)]['shouldScanTestForAccessibility']=_0x1f6f69['TlAWm'](shouldScanTestForAccessibility,this[_0x3ddd94(0x1d5)]['titlePath'](),!![]),globals[_0x3ddd94(0x1f6)](_0x1f6f69[_0x3ddd94(0x1b6)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x3ddd94(0x1d5)][_0x3ddd94(0x21a)]=!![];if(_0x1f6f69['xWPMA'](isAccessibilityAutomationSession)&&_0xcf92c3&&Array[_0x3ddd94(0x20e)](global[_0x3ddd94(0x1c3)])&&_0x1f6f69[_0x3ddd94(0x1ef)](global[_0x3ddd94(0x1c3)]['length'],0x0)&&globals[_0x3ddd94(0x22e)](_0x1f6f69[_0x3ddd94(0x1df)]))try{const _0xfecbe0=await global['__drivers'][0x0]['session_'];if(_0xfecbe0){let _0x2be888=!![];const _0x4e58ef=await global[_0x3ddd94(0x1c3)][0x0][_0x3ddd94(0x1e1)]();let _0x4227f9;try{_0x4227f9=new URL(_0x4e58ef);}catch(_0x547164){_0x2be888=![];}_0x2be888=_0x1f6f69[_0x3ddd94(0x208)](_0x4227f9['protocol'],_0x1f6f69[_0x3ddd94(0x1a8)])||_0x1f6f69[_0x3ddd94(0x208)](_0x4227f9[_0x3ddd94(0x218)],_0x1f6f69[_0x3ddd94(0x1ee)]),_0x2be888&&(this['currentTest'][_0x3ddd94(0x1aa)]&&logger['info'](_0x1f6f69['IDngs'])),this[_0x3ddd94(0x1d5)][_0x3ddd94(0x21a)]=this[_0x3ddd94(0x1d5)]['shouldScanTestForAccessibility'],this['currentTest'][_0x3ddd94(0x1aa)]&&logger['info'](_0x1f6f69['iDVqr']);}}catch(_0x23c817){logger[_0x3ddd94(0x1f7)](_0x3ddd94(0x199)+util[_0x3ddd94(0x234)](_0x23c817));}_0x1f6f69[_0x3ddd94(0x1a2)](_0x9b533b);})[_0x8414e(0x221)](()=>{const _0x42247f=_0x8414e;_0x1f6f69[_0x42247f(0x216)](_0x472b35);});},{'platform':_0x1f6f69[_0x313a18(0x1b3)](nestedKeyValue,global[_0x313a18(0x200)],[_0x1f6f69[_0x313a18(0x1d0)]]),'hookType':_0x1f6f69[_0x313a18(0x1b7)]})();},'afterEach'(_0x164255){const _0x241fe1=a32_0x1f1248,_0x482b7a={'IdSoI':_0x241fe1(0x236),'cDINl':function(_0x371514,_0x222812){return _0x371514!==_0x222812;},'oCeoD':_0x241fe1(0x1de),'ckRxm':function(_0x39d17d,_0x5001c8,_0x47d52c){return _0x39d17d(_0x5001c8,_0x47d52c);},'VdADM':function(_0x3c82dc,_0x1d3812){return _0x3c82dc+_0x1d3812;},'WDTht':_0x241fe1(0x1b1),'TRgOF':_0x241fe1(0x1f7),'RZiYD':_0x241fe1(0x239),'pHOxu':'info','jdZdy':function(_0x3e4827,_0x54219c){return _0x3e4827>_0x54219c;},'UkgmC':function(_0x370422,_0xe910b5){return _0x370422===_0xe910b5;},'jENJL':_0x241fe1(0x230),'fiZRc':function(_0x53fbab,_0x10b71b){return _0x53fbab>_0x10b71b;},'CvZAT':_0x241fe1(0x219),'FdISS':function(_0x55bbd9,_0x196217,_0x2466db,_0x4b3219){return _0x55bbd9(_0x196217,_0x2466db,_0x4b3219);},'InWLI':_0x241fe1(0x1c9),'lgcDq':'bstackA11yShouldScan','tKfHh':_0x241fe1(0x1bc),'AOFOy':'Performing\x20scan\x20before\x20saving\x20results','wCVLS':_0x241fe1(0x1cd),'QHCzf':_0x241fe1(0x238),'BkYLS':function(_0x1526ef){return _0x1526ef();},'yjcbK':_0x241fe1(0x237),'nTuVp':function(_0x517a93,_0x5ee4c6){return _0x517a93>_0x5ee4c6;},'dvEPe':_0x241fe1(0x1c1),'EaonJ':_0x241fe1(0x1ff)},_0x4b18cf='browserstack internal helper hook';this[_0x241fe1(0x202)](0xfde8),global[_0x241fe1(0x1be)]=this[_0x241fe1(0x1d5)]['titlePath']()['join'](_0x482b7a[_0x241fe1(0x19e)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x241fe1(0x1f9)],()=>{const _0x4be7c1=_0x241fe1,_0x40f753={'xlTSo':_0x482b7a[_0x4be7c1(0x19e)],'TBcmN':function(_0xcd1738,_0x176ac8){return _0x482b7a['cDINl'](_0xcd1738,_0x176ac8);},'NJYbR':_0x482b7a[_0x4be7c1(0x19d)],'bpBmh':function(_0x279b5a,_0xc29307,_0x1bcb32){return _0x482b7a['ckRxm'](_0x279b5a,_0xc29307,_0x1bcb32);},'agbFx':function(_0x4f4fb8,_0x2932ed){const _0x226601=_0x4be7c1;return _0x482b7a[_0x226601(0x229)](_0x4f4fb8,_0x2932ed);},'yawHk':_0x482b7a[_0x4be7c1(0x1e6)],'wVeHP':_0x482b7a[_0x4be7c1(0x1ce)],'QlKOJ':_0x482b7a['RZiYD'],'SzEPN':_0x482b7a['pHOxu'],'HBTfz':function(_0x514e74,_0xfd0057){const _0x40c90=_0x4be7c1;return _0x482b7a[_0x40c90(0x205)](_0x514e74,_0xfd0057);},'nBBVv':function(_0x21152c,_0x1fd8f7){return _0x482b7a['UkgmC'](_0x21152c,_0x1fd8f7);},'KveTF':_0x482b7a[_0x4be7c1(0x1c2)],'RoLgz':function(_0x1a46db,_0x23cf07){return _0x482b7a['fiZRc'](_0x1a46db,_0x23cf07);},'puboM':_0x482b7a[_0x4be7c1(0x1c8)],'zqXSX':function(_0x5e7448,_0x1e073b,_0x5a06c6,_0x4bab6d){return _0x482b7a['FdISS'](_0x5e7448,_0x1e073b,_0x5a06c6,_0x4bab6d);},'AkbaZ':_0x482b7a['InWLI'],'WiqFb':_0x482b7a[_0x4be7c1(0x1c0)],'lvzfB':_0x482b7a[_0x4be7c1(0x204)],'ZhNDT':_0x482b7a[_0x4be7c1(0x1a5)],'zrDcI':_0x482b7a['wCVLS'],'QKtcq':_0x482b7a[_0x4be7c1(0x225)],'YGqYT':function(_0x323add){const _0x4d37a8=_0x4be7c1;return _0x482b7a[_0x4d37a8(0x22f)](_0x323add);},'xSwed':_0x482b7a[_0x4be7c1(0x235)],'tOUdc':function(_0x3a7bc3,_0x3891ed){const _0x516bd6=_0x4be7c1;return _0x482b7a[_0x516bd6(0x1b8)](_0x3a7bc3,_0x3891ed);},'dIABG':function(_0x4e1dc5){const _0x4b6a27=_0x4be7c1;return _0x482b7a[_0x4b6a27(0x22f)](_0x4e1dc5);}},_0x27e2b2=async(_0xcb36e1,_0x73f6a9)=>{const _0xc5ed91=_0x4be7c1;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xcb36e1+_0xc5ed91(0x1c6)+_0x73f6a9+_0xc5ed91(0x1ab));};new Promise(async _0xa27990=>{const _0x92a540=_0x4be7c1;try{_0x40f753['HBTfz'](global[_0x92a540(0x1c3)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x92a540(0x1c3)]['shift'](),global[_0x92a540(0x20f)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x40f753[_0x92a540(0x231)](global[_0x92a540(0x1cc)],_0x40f753[_0x92a540(0x1e3)])&&global[_0x92a540(0x1c3)][0x0]){const _0x3ab363=_0x40f753[_0x92a540(0x1dc)](global[_0x92a540(0x1d1)][_0x92a540(0x214)],0x0)?!!global[_0x92a540(0x1d1)][0x0][_0x92a540(0x23b)]||!!global[_0x92a540(0x1d1)][0x0][_0x40f753['puboM']]:![],_0x50cdfa={};_0x50cdfa[_0x92a540(0x23b)]=_0x3ab363,await _0x40f753[_0x92a540(0x1fa)](percyAutoCapture,global[_0x92a540(0x1c3)][0x0],_0x40f753[_0x92a540(0x1e3)],_0x50cdfa);}}catch(_0x55d941){logger[_0x92a540(0x237)](_0x92a540(0x1ea)+_0x55d941);}!global[_0x92a540(0x1fd)]&&(await PerformanceTester[_0x92a540(0x1b9)](PerformanceAutEvents[_0x92a540(0x217)],async()=>{const _0x13fa76=_0x92a540;await global['__drivers'][0x0][_0x13fa76(0x1c5)](_0x13fa76(0x1f8)+JSON[_0x13fa76(0x1e0)](this['currentTest'][_0x13fa76(0x1ec)]()[_0x13fa76(0x1a7)](_0x40f753[_0x13fa76(0x215)]))+'}}');})(),global['__drivers'][0x0][_0x92a540(0x1d3)]=!![]),await PerformanceTester[_0x92a540(0x1b9)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0xededd8=_0x92a540,_0x2391c0=_0x40f753[_0xededd8(0x1e2)](this['currentTest'][_0xededd8(0x1f5)],_0x40f753[_0xededd8(0x21b)]);_0x2391c0?(global[_0xededd8(0x1f4)]=!![],global[_0xededd8(0x20f)][_0xededd8(0x1d7)](this[_0xededd8(0x1d5)][_0xededd8(0x1f1)]['message']),await _0x40f753[_0xededd8(0x222)](_0x27e2b2,JSON[_0xededd8(0x1e0)](_0x40f753[_0xededd8(0x1d4)](_0x40f753[_0xededd8(0x1b5)],this[_0xededd8(0x1d5)][_0xededd8(0x1f1)][_0xededd8(0x1af)])),_0x40f753[_0xededd8(0x1d8)])):await _0x40f753['bpBmh'](_0x27e2b2,JSON[_0xededd8(0x1e0)](_0x40f753['QlKOJ']),_0x40f753['SzEPN']);})();}catch(_0x3000f9){logger[_0x92a540(0x237)](_0x92a540(0x1e9)+_0x3000f9);}try{if(this['currentTest'][_0x92a540(0x21a)]&&globals[_0x92a540(0x22e)](_0x40f753['AkbaZ'])&&globals['getGlobal'](_0x40f753['WiqFb'])){logger[_0x92a540(0x1dd)](_0x40f753[_0x92a540(0x226)]);const _0x24b866={};_0x24b866[_0x92a540(0x227)]=this[_0x92a540(0x1d5)]['testAnalyticsId'],_0x24b866[_0x92a540(0x1a9)]=process['env'][testHubConstants[_0x92a540(0x22b)]['BROWSERSTACK_TESTHUB_UUID']],_0x24b866['thJwtToken']=process[_0x92a540(0x1a6)][testHubConstants[_0x92a540(0x22b)]['BROWSERSTACK_TESTHUB_JWT']];const _0x36226b=_0x24b866;logger[_0x92a540(0x237)](_0x92a540(0x1b4)+JSON[_0x92a540(0x1e0)](_0x36226b)),logger['debug'](_0x40f753[_0x92a540(0x1bb)]);const _0x5a903f={};_0x5a903f[_0x92a540(0x1fc)]=_0x40f753[_0x92a540(0x1bd)],await PerformanceTester[_0x92a540(0x1b9)](PerformanceA11yEvents[_0x92a540(0x212)],async()=>{const _0x10dd4b=_0x92a540;logger[_0x10dd4b(0x237)](util[_0x10dd4b(0x234)](await global[_0x10dd4b(0x1c3)][0x0][_0x10dd4b(0x1eb)](scripts[_0x10dd4b(0x21e)],{'method':global[_0x10dd4b(0x1ae)]})));},_0x5a903f)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x92a540(0x19a)],async()=>{const _0x307742=_0x92a540;await global[_0x307742(0x1c3)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x36226b);})(),logger['info'](_0x40f753[_0x92a540(0x232)]);}}catch(_0x1988d8){logger[_0x92a540(0x1f7)](_0x92a540(0x1a1)+this['currentTest'][_0x92a540(0x1ec)]()+'.\x20Error\x20:',_0x1988d8);}try{try{if(_0x40f753['YGqYT'](shouldProcessEventForTesthub)){global[_0x92a540(0x1c3)][0x0]&&await _0x40f753[_0x92a540(0x222)](sendPlatformDetails,global[_0x92a540(0x1c3)][0x0],this[_0x92a540(0x1d5)]?this[_0x92a540(0x1d5)][_0x92a540(0x22c)]:null);if(_0x40f753['YGqYT'](isBrowserstackInfra)){PerformanceTester[_0x92a540(0x21c)](PerformanceO11yEvents[_0x92a540(0x1ca)]);const _0x4ffc9e='ObservabilitySync:'+Date[_0x92a540(0x1d6)]();await _0x40f753[_0x92a540(0x222)](_0x27e2b2,JSON[_0x92a540(0x1e0)](_0x4ffc9e),_0x40f753[_0x92a540(0x21d)]),PerformanceTester['end'](PerformanceO11yEvents[_0x92a540(0x1ca)]);}}}catch(_0x344d5c){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x344d5c),PerformanceTester[_0x92a540(0x1c4)](PerformanceO11yEvents['SYNC'],![],_0x344d5c);}_0x40f753[_0x92a540(0x1ac)](global[_0x92a540(0x1c3)][0x0][_0x92a540(0x1bf)],0x0)&&await global[_0x92a540(0x1e7)]();}catch(_0x323f80){logger[_0x92a540(0x237)](_0x92a540(0x19b)+_0x323f80);}_0x40f753[_0x92a540(0x1db)](_0xa27990);})[_0x4be7c1(0x221)](()=>{const _0x39e308=_0x4be7c1;_0x40f753[_0x39e308(0x20c)](_0x164255);});},{'platform':_0x482b7a[_0x241fe1(0x211)](nestedKeyValue,global['__platformCaps'],[_0x482b7a[_0x241fe1(0x21f)]]),'hookType':_0x482b7a[_0x241fe1(0x1b0)]})();},'afterAll'(_0x19e6b7){const _0x307f0b=a32_0x1f1248,_0x326f7a={'sdlWT':function(_0x520d51){return _0x520d51();},'SrYMd':function(_0x3b52d2,_0x1918d7,_0x3769f2){return _0x3b52d2(_0x1918d7,_0x3769f2);},'cmtZb':'index','kHVVP':_0x307f0b(0x1ba)},_0x3283a8='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester[_0x307f0b(0x1b9)](PerformanceSdkEvents[_0x307f0b(0x1f9)],()=>{const _0x5ad882=_0x307f0b,_0x12ffbf={'ycDQE':function(_0x10748b){const _0x16929a=a32_0x4be7;return _0x326f7a[_0x16929a(0x209)](_0x10748b);}};new Promise(async _0x1e0867=>{const _0x486feb=a32_0x4be7;await global[_0x486feb(0x1e7)](),_0x12ffbf['ycDQE'](_0x1e0867);})[_0x5ad882(0x221)]()['finally'](()=>{const _0x5b9e5e=_0x5ad882;_0x326f7a[_0x5b9e5e(0x209)](_0x19e6b7);});},{'platform':_0x326f7a['SrYMd'](nestedKeyValue,global[_0x307f0b(0x200)],[_0x326f7a[_0x307f0b(0x1f2)]]),'hookType':_0x326f7a[_0x307f0b(0x203)]})();}};
|
|
1
|
+
function a32_0x1d49(_0x1e6ce9,_0x51d5e7){const _0x343eb5=a32_0x343e();return a32_0x1d49=function(_0x1d49f4,_0x26b28c){_0x1d49f4=_0x1d49f4-0x150;let _0x4a2e3c=_0x343eb5[_0x1d49f4];return _0x4a2e3c;},a32_0x1d49(_0x1e6ce9,_0x51d5e7);}function a32_0x343e(){const _0x5f47ce=['beforeEach','beforeAll','iIWaT','Failed:\x20','XYYWF','wBrkR','sessionNameSet__','afterAll','qExrD','kcwHa','currentTest','laiQm','bDYaB','wcAYo','executeScript','oKaxp','hrrvA','EvQjK','thJwtToken','uMHwO','cDirk','end','debug','shift','isArray','SYNC','../../helpers/logger','MRVVM','testAnalyticsId','getCurrentUrl','44DzJfIf','uNkOO','JCPJe','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','HDcNM','passed','join','../../helpers/percy/utils','roCTO','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','LellA','info','failed','percy','measureWrapper','command','NKVdw','./test-observability/mochaUtils','13987812NwPouM','SApIc','timeout','finally','then','__drivers','thTestRunUuid','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','http:','.\x20Error\x20:','__error_messages__','accessibilityScanStarted','QFSjY','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','env','winstonLogger','NTxLC','SDK_HOOK','TIrdK','VRnoZ','SYYBv','2670765oQfsQp','fFBYq','util','__sessionFailed','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','SfjCP','ieRJX','yyVwI','Automate\x20test\x20case\x20execution\x20has\x20started.','TRRKs','hDcHh','__skipSessionName','857254tFsawb','capabilities','BROWSERSTACK_TESTHUB_UUID','afterTest','paFIg','session_','index','bsVKS','nANVa','bstackA11yShouldScan','xYmwX','error','ViKnV','UafBy','jGnEA','4641872hQLdzE','zXVOm','RQNRb','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','FbRaK','mPdOu','../../helpers/performance/performance-tester','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','qjbeQ','865FmrBWQ','stringify','quitCount_','executeAsyncScript','RbAZU','../../helpers/testhub/utils','18vkUqGu','HaiOd','message','push','CVzup','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','now','tLFzo','SESSION_STATUS','hSOgn','../../helpers/performance/constants','app','isAccessibilityPlatform','ZASjj','mochaHooks','Passed','getGlobal','FxZCB','sessionName','POVhh','KTrFq','start','https:','BcLuw','jAPCG','KHaYf','jwDhK','titlePath','DQBcs','JisaO','WiOuP','zjBnD','18892xeZkMh','state','length','qBXzn','KzblU','vXtIT','VUSQx','ObservabilitySync:','684CNPKPB','3ZfWBON','../../helpers/testhub/constants','testcase','protocol','\x22}}','qlmwu','WDgYl','format','lhRSC','DJAoG','ENV_VAR','Performing\x20scan\x20before\x20saving\x20results','olcVr','appium:app','\x20-\x20','KOHAi','yESUV','102942MOjTjL','mSfwj','JlKVW','zMQeB','SVlez','Iwhbd','browserstackSessionName','setGlobal','QpQwf','DBCBr','../../helpers/helper','shouldScanTestForAccessibility','7605610ASUVzW','driverCleanup','__platformCaps','KHBGD'];a32_0x343e=function(){return _0x5f47ce;};return a32_0x343e();}const a32_0x3e7385=a32_0x1d49;(function(_0x18c698,_0x6e6c53){const _0x36a22e=a32_0x1d49,_0x4915ad=_0x18c698();while(!![]){try{const _0x37d9f3=parseInt(_0x36a22e(0x18e))/0x1*(parseInt(_0x36a22e(0x201))/0x2)+parseInt(_0x36a22e(0x1f4))/0x3+parseInt(_0x36a22e(0x185))/0x4*(parseInt(_0x36a22e(0x15f))/0x5)+parseInt(_0x36a22e(0x18d))/0x6*(parseInt(_0x36a22e(0x19f))/0x7)+-parseInt(_0x36a22e(0x156))/0x8+-parseInt(_0x36a22e(0x165))/0x9*(-parseInt(_0x36a22e(0x1ab))/0xa)+-parseInt(_0x36a22e(0x1cd))/0xb*(parseInt(_0x36a22e(0x1df))/0xc);if(_0x37d9f3===_0x6e6c53)break;else _0x4915ad['push'](_0x4915ad['shift']());}catch(_0x28eaf0){_0x4915ad['push'](_0x4915ad['shift']());}}}(a32_0x343e,0xe770f));const util=require(a32_0x3e7385(0x1f6)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x3e7385(0x1d4)),{sendPlatformDetails}=require(a32_0x3e7385(0x1de)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x3e7385(0x1a9)),PerformanceTester=require(a32_0x3e7385(0x15c)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x3e7385(0x16f)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a32_0x3e7385(0x1c9))[a32_0x3e7385(0x1ee)],{shouldProcessEventForTesthub}=require(a32_0x3e7385(0x164)),testHubConstants=require(a32_0x3e7385(0x18f));exports[a32_0x3e7385(0x173)]={'beforeAll'(){const _0xc30d66=a32_0x3e7385,_0x490d05={'LellA':function(_0xe16f54,_0x5c7375,_0x222261,_0x487eec){return _0xe16f54(_0x5c7375,_0x222261,_0x487eec);},'VUSQx':_0xc30d66(0x1d9),'IJtSp':'\x20|\x20','NKVdw':function(_0x145542,_0x1b74e8,_0x2a3ee4){return _0x145542(_0x1b74e8,_0x2a3ee4);},'ViKnV':_0xc30d66(0x1d2),'WDgYl':function(_0x477d1f){return _0x477d1f();},'ZASjj':'index','POVhh':_0xc30d66(0x1b0)};PerformanceTester['startMonitoring']();const _0xdebf89='browserstack internal helper hook';PerformanceTester[_0xc30d66(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4ea537=_0xc30d66;global[_0x4ea537(0x1e9)]=[],global[_0x4ea537(0x1f7)]=![],global[_0x4ea537(0x1ac)]=async()=>{const _0x263840=_0x4ea537;let _0x370910=![];try{await global[_0x263840(0x1e4)][0x0]['session_'],_0x370910=!![],global[_0x263840(0x1f7)]?await _0x490d05[_0x263840(0x1d7)](markSessionStatus,global['__drivers'][0x0],_0x490d05[_0x263840(0x18b)],global[_0x263840(0x1e9)][_0x263840(0x1d3)](_0x490d05['IJtSp'])):await _0x490d05['NKVdw'](markSessionStatus,global[_0x263840(0x1e4)][0x0],_0x490d05[_0x263840(0x153)]);}catch(_0x10706a){logger[_0x263840(0x1c5)](_0x263840(0x1ec)+_0x10706a);}global[_0x263840(0x1e9)]=[],global[_0x263840(0x1f7)]=![];if(_0x370910)try{try{_0x490d05[_0x263840(0x194)](shouldProcessEventForTesthub)&&(global[_0x263840(0x1e4)][0x0]&&await _0x490d05[_0x263840(0x1dd)](sendPlatformDetails,global['__drivers'][0x0],this[_0x263840(0x1b9)]?this['currentTest'][_0x263840(0x1cb)]:null));}catch(_0x26b6f6){logger['debug'](_0x263840(0x15d)+_0x26b6f6);}await global[_0x263840(0x1e4)][0x0]['initQuit']();}catch(_0x1a1869){logger['debug'](_0x263840(0x1f8)+_0x1a1869);}};},{'platform':_0x490d05[_0xc30d66(0x1dd)](nestedKeyValue,global[_0xc30d66(0x1ad)],[_0x490d05[_0xc30d66(0x172)]]),'hookType':_0x490d05[_0xc30d66(0x178)]})();},'beforeEach'(_0x484062){const _0x655cbf=a32_0x3e7385,_0x3cbc31={'bsVKS':function(_0x5d21e1,_0x2f390d){return _0x5d21e1>_0x2f390d;},'MRVVM':_0x655cbf(0x19c),'laiQm':function(_0x39f632,_0x838169,_0x147bcf){return _0x39f632(_0x838169,_0x147bcf);},'DJAoG':'bstackA11yShouldScan','RbAZU':function(_0x3423a0){return _0x3423a0();},'JCPJe':_0x655cbf(0x171),'oKaxp':function(_0x2285ec,_0x34c6a3){return _0x2285ec===_0x34c6a3;},'wBrkR':_0x655cbf(0x1e7),'qExrD':_0x655cbf(0x17b),'uNkOO':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','uMHwO':_0x655cbf(0x1fd),'fKxYt':function(_0x8e1daa){return _0x8e1daa();},'TIrdK':'browserstackTestName','olcVr':function(_0x4545ec,_0x2805a5,_0x5274ac){return _0x4545ec(_0x2805a5,_0x5274ac);},'vXtIT':'index','QpQwf':_0x655cbf(0x1af)};globals[_0x655cbf(0x1a6)](_0x3cbc31[_0x655cbf(0x1f1)],this[_0x655cbf(0x1b9)][_0x655cbf(0x180)]()[_0x655cbf(0x1d3)](_0x3cbc31[_0x655cbf(0x1ca)])),PerformanceTester[_0x655cbf(0x1db)](PerformanceSdkEvents[_0x655cbf(0x1f0)],()=>{const _0x41e836=_0x655cbf,_0x2f576e={'tLFzo':function(_0x4db6ba,_0x5e6293){const _0x117968=a32_0x1d49;return _0x3cbc31[_0x117968(0x208)](_0x4db6ba,_0x5e6293);},'FxZCB':_0x3cbc31[_0x41e836(0x1ca)],'hDcHh':function(_0x11fd01,_0x5139ee,_0x25d8f6){const _0x4e31cb=_0x41e836;return _0x3cbc31[_0x4e31cb(0x1ba)](_0x11fd01,_0x5139ee,_0x25d8f6);},'iIWaT':_0x3cbc31[_0x41e836(0x197)],'DQBcs':function(_0x95ec54){const _0x148431=_0x41e836;return _0x3cbc31[_0x148431(0x163)](_0x95ec54);},'SfjCP':_0x3cbc31[_0x41e836(0x1cf)],'KTrFq':function(_0x266310,_0x4c0455){const _0x2edc99=_0x41e836;return _0x3cbc31[_0x2edc99(0x1be)](_0x266310,_0x4c0455);},'IpRlO':_0x3cbc31[_0x41e836(0x1b4)],'zMQeB':_0x3cbc31[_0x41e836(0x1b7)],'CVzup':_0x3cbc31[_0x41e836(0x1ce)],'FbRaK':_0x3cbc31[_0x41e836(0x1c2)],'nVibK':function(_0x3baded){return _0x3cbc31['fKxYt'](_0x3baded);}},_0x5c1971='browserstack internal helper hook';new Promise(async _0x3236c1=>{const _0x4bb58e=_0x41e836;let _0x5ad9d4=!![];try{_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][_0x4bb58e(0x187)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x4bb58e(0x1c6)]()),_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][0x0][_0x4bb58e(0x161)],0x0)&&(_0x5ad9d4=![],await global[_0x4bb58e(0x1ac)]());}catch(_0x10cba1){logger[_0x4bb58e(0x1c5)](_0x4bb58e(0x1f8)+_0x10cba1);}try{Array[_0x4bb58e(0x1c7)](global[_0x4bb58e(0x1e4)])&&global['__drivers'][0x0]&&(global[_0x4bb58e(0x1e4)][0x0][_0x4bb58e(0x1a5)]=this[_0x4bb58e(0x1b9)][_0x4bb58e(0x180)]()[_0x4bb58e(0x1d3)](_0x2f576e['FxZCB'])),global[_0x4bb58e(0x1a5)]=this[_0x4bb58e(0x1b9)]['titlePath']()['join'](_0x2f576e[_0x4bb58e(0x176)]);}catch(_0xaa8a4b){logger[_0x4bb58e(0x1c5)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0xaa8a4b);}this[_0x4bb58e(0x1b9)]['shouldScanTestForAccessibility']=_0x2f576e[_0x4bb58e(0x1ff)](shouldScanTestForAccessibility,this[_0x4bb58e(0x1b9)][_0x4bb58e(0x180)](),!![]),globals[_0x4bb58e(0x1a6)](_0x2f576e[_0x4bb58e(0x1b1)],this[_0x4bb58e(0x1b9)]['shouldScanTestForAccessibility']),this[_0x4bb58e(0x1b9)][_0x4bb58e(0x1ea)]=!![];if(_0x2f576e['DQBcs'](isAccessibilityAutomationSession)&&_0x5ad9d4&&Array['isArray'](global[_0x4bb58e(0x1e4)])&&_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][_0x4bb58e(0x187)],0x0)&&globals[_0x4bb58e(0x175)](_0x2f576e[_0x4bb58e(0x1fa)]))try{const _0x4ee27f=await global['__drivers'][0x0][_0x4bb58e(0x206)];if(_0x4ee27f){let _0xfa34fd=!![];const _0x364445=await global['__drivers'][0x0][_0x4bb58e(0x1cc)]();let _0x700f32;try{_0x700f32=new URL(_0x364445);}catch(_0x15503d){_0xfa34fd=![];}_0xfa34fd=_0x2f576e['KTrFq'](_0x700f32[_0x4bb58e(0x191)],_0x2f576e['IpRlO'])||_0x2f576e[_0x4bb58e(0x179)](_0x700f32[_0x4bb58e(0x191)],_0x2f576e[_0x4bb58e(0x1a2)]),_0xfa34fd&&(this[_0x4bb58e(0x1b9)][_0x4bb58e(0x1aa)]&&logger['info'](_0x2f576e[_0x4bb58e(0x169)])),this['currentTest'][_0x4bb58e(0x1ea)]=this['currentTest'][_0x4bb58e(0x1aa)],this['currentTest'][_0x4bb58e(0x1aa)]&&logger['info'](_0x2f576e[_0x4bb58e(0x15a)]);}}catch(_0x4ffdf3){logger[_0x4bb58e(0x152)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4bb58e(0x195)](_0x4ffdf3));}_0x2f576e[_0x4bb58e(0x181)](_0x3236c1);})[_0x41e836(0x1e3)](()=>{_0x2f576e['nVibK'](_0x484062);});},{'platform':_0x3cbc31[_0x655cbf(0x19a)](nestedKeyValue,global[_0x655cbf(0x1ad)],[_0x3cbc31[_0x655cbf(0x18a)]]),'hookType':_0x3cbc31[_0x655cbf(0x1a7)]})();},'afterEach'(_0x28941b){const _0x161a5e=a32_0x3e7385,_0xf104bc={'HaiOd':function(_0x5431ad){return _0x5431ad();},'mPdOu':function(_0x497ae8,_0x43dde1){return _0x497ae8!==_0x43dde1;},'BcLuw':'passed','qBXzn':function(_0x4474b2,_0x5361c6,_0x608ebb){return _0x4474b2(_0x5361c6,_0x608ebb);},'mSfwj':function(_0x21e5fe,_0x3f60a4){return _0x21e5fe+_0x3f60a4;},'ieRJX':_0x161a5e(0x1b2),'fFBYq':_0x161a5e(0x152),'JlKVW':function(_0x2dfe2a,_0x2c6f8e,_0x36b91){return _0x2dfe2a(_0x2c6f8e,_0x36b91);},'SYYBv':_0x161a5e(0x174),'yyVwI':'info','lhRSC':_0x161a5e(0x19c),'LAmSI':function(_0x11efaf,_0x4fb257){return _0x11efaf>_0x4fb257;},'yESUV':function(_0x34fc5d,_0x5652e0){return _0x34fc5d===_0x5652e0;},'nANVa':_0x161a5e(0x190),'kcwHa':function(_0x16e8a9,_0x4eba1e){return _0x16e8a9>_0x4eba1e;},'RQNRb':_0x161a5e(0x19b),'hrrvA':function(_0x8316b7,_0x436699,_0x3c4670,_0x1df82d){return _0x8316b7(_0x436699,_0x3c4670,_0x1df82d);},'DBCBr':_0x161a5e(0x171),'jAPCG':_0x161a5e(0x150),'QFSjY':_0x161a5e(0x1d0),'AkylL':_0x161a5e(0x199),'HDcNM':_0x161a5e(0x204),'UafBy':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sLMOR':function(_0x26d10d){return _0x26d10d();},'VRnoZ':'debug','cDirk':function(_0x283070,_0x308519,_0x2c9b20){return _0x283070(_0x308519,_0x2c9b20);},'MxaCQ':_0x161a5e(0x207),'XYYWF':'afterEach'},_0x2d897f='browserstack internal helper hook';this[_0x161a5e(0x1e1)](0xfde8),global[_0x161a5e(0x177)]=this['currentTest']['titlePath']()[_0x161a5e(0x1d3)](_0xf104bc['lhRSC']),PerformanceTester[_0x161a5e(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x12fd43=_0x161a5e,_0x24432b={'JcDYV':function(_0x3ae51e,_0x2c6faa){const _0xd3947=a32_0x1d49;return _0xf104bc[_0xd3947(0x15b)](_0x3ae51e,_0x2c6faa);},'Iwhbd':_0xf104bc[_0x12fd43(0x17c)],'Clqcn':function(_0x562337,_0x259365,_0x40a1fe){const _0x241e04=_0x12fd43;return _0xf104bc[_0x241e04(0x188)](_0x562337,_0x259365,_0x40a1fe);},'SApIc':function(_0x2c70ec,_0x15a7ec){const _0x85a22d=_0x12fd43;return _0xf104bc[_0x85a22d(0x1a0)](_0x2c70ec,_0x15a7ec);},'zjBnD':_0xf104bc[_0x12fd43(0x1fb)],'jGnEA':_0xf104bc[_0x12fd43(0x1f5)],'JisaO':function(_0x1877ba,_0x2177e6,_0x3e54b2){const _0x46f205=_0x12fd43;return _0xf104bc[_0x46f205(0x1a1)](_0x1877ba,_0x2177e6,_0x3e54b2);},'isciH':_0xf104bc[_0x12fd43(0x1f3)],'qlmwu':_0xf104bc[_0x12fd43(0x1fc)],'xsiLs':_0xf104bc[_0x12fd43(0x196)],'ZmVnE':function(_0x73848a,_0x1dd8a0){return _0xf104bc['LAmSI'](_0x73848a,_0x1dd8a0);},'jwDhK':function(_0x1de918,_0x485386){const _0x17b609=_0x12fd43;return _0xf104bc[_0x17b609(0x19e)](_0x1de918,_0x485386);},'wcAYo':_0xf104bc[_0x12fd43(0x209)],'NTxLC':function(_0x42886e,_0x3bb0f0){const _0x2f6ef9=_0x12fd43;return _0xf104bc[_0x2f6ef9(0x1b8)](_0x42886e,_0x3bb0f0);},'xYmwX':_0xf104bc[_0x12fd43(0x158)],'KOHAi':function(_0x8888d8,_0x3a5d36,_0x3a84c5,_0x255cce){const _0x3de732=_0x12fd43;return _0xf104bc[_0x3de732(0x1bf)](_0x8888d8,_0x3a5d36,_0x3a84c5,_0x255cce);},'ByAsa':_0xf104bc[_0x12fd43(0x1a8)],'roCTO':_0xf104bc[_0x12fd43(0x17d)],'EvQjK':_0xf104bc[_0x12fd43(0x1eb)],'xbvgo':_0xf104bc['AkylL'],'WiOuP':_0xf104bc[_0x12fd43(0x1d1)],'KzblU':_0xf104bc[_0x12fd43(0x154)],'hSOgn':function(_0x3b75c4){return _0xf104bc['sLMOR'](_0x3b75c4);},'SVlez':function(_0x32c65a,_0x57c920,_0x35909f){return _0xf104bc['JlKVW'](_0x32c65a,_0x57c920,_0x35909f);},'zXVOm':_0xf104bc[_0x12fd43(0x1f2)]},_0x760aa3=async(_0x5726be,_0x191d0e)=>{const _0x5a21cb=_0x12fd43;await global[_0x5a21cb(0x1e4)][0x0][_0x5a21cb(0x1bd)](_0x5a21cb(0x1f9)+_0x5726be+',\x22level\x22:\x20\x22'+_0x191d0e+_0x5a21cb(0x192));};new Promise(async _0xd3e74e=>{const _0x4c0047=_0x12fd43,_0x4d8b0c={};_0x4d8b0c['qjbeQ']=_0x24432b['xsiLs'];const _0x4b29d9=_0x4d8b0c;try{_0x24432b['ZmVnE'](global['__drivers']['length'],0x1)&&(await global[_0x4c0047(0x1ac)](),global[_0x4c0047(0x1e4)][_0x4c0047(0x1c6)](),global[_0x4c0047(0x1e9)]=[],global[_0x4c0047(0x1f7)]=![]);try{if(global[_0x4c0047(0x1da)]&&_0x24432b[_0x4c0047(0x17f)](global['percyCaptureMode'],_0x24432b[_0x4c0047(0x1bc)])&&global[_0x4c0047(0x1e4)][0x0]){const _0x3d20c7=_0x24432b['NTxLC'](global[_0x4c0047(0x202)][_0x4c0047(0x187)],0x0)?!!global[_0x4c0047(0x202)][0x0][_0x4c0047(0x170)]||!!global[_0x4c0047(0x202)][0x0][_0x24432b[_0x4c0047(0x151)]]:![],_0x573e6c={};_0x573e6c[_0x4c0047(0x170)]=_0x3d20c7,await _0x24432b[_0x4c0047(0x19d)](percyAutoCapture,global['__drivers'][0x0],_0x24432b[_0x4c0047(0x1bc)],_0x573e6c);}}catch(_0x31fbf6){logger[_0x4c0047(0x1c5)](_0x4c0047(0x159)+_0x31fbf6);}!global[_0x4c0047(0x200)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x7a0d52=_0x4c0047;await global[_0x7a0d52(0x1e4)][0x0]['executeScript'](_0x7a0d52(0x16a)+JSON[_0x7a0d52(0x160)](this[_0x7a0d52(0x1b9)][_0x7a0d52(0x180)]()[_0x7a0d52(0x1d3)](_0x4b29d9[_0x7a0d52(0x15e)]))+'}}');})(),global[_0x4c0047(0x1e4)][0x0][_0x4c0047(0x1b5)]=!![]),await PerformanceTester[_0x4c0047(0x1db)](PerformanceAutEvents[_0x4c0047(0x16d)],async()=>{const _0x48ba92=_0x4c0047,_0x1cf228=_0x24432b['JcDYV'](this[_0x48ba92(0x1b9)][_0x48ba92(0x186)],_0x24432b[_0x48ba92(0x1a4)]);_0x1cf228?(global['__sessionFailed']=!![],global[_0x48ba92(0x1e9)][_0x48ba92(0x168)](this['currentTest']['err'][_0x48ba92(0x167)]),await _0x24432b['Clqcn'](_0x760aa3,JSON[_0x48ba92(0x160)](_0x24432b[_0x48ba92(0x1e0)](_0x24432b[_0x48ba92(0x184)],this[_0x48ba92(0x1b9)]['err'][_0x48ba92(0x167)])),_0x24432b[_0x48ba92(0x155)])):await _0x24432b[_0x48ba92(0x182)](_0x760aa3,JSON[_0x48ba92(0x160)](_0x24432b['isciH']),_0x24432b[_0x48ba92(0x193)]);})();}catch(_0x5f0199){logger[_0x4c0047(0x1c5)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x5f0199);}try{if(this[_0x4c0047(0x1b9)]['accessibilityScanStarted']&&globals[_0x4c0047(0x175)](_0x24432b['ByAsa'])&&globals[_0x4c0047(0x175)](_0x24432b[_0x4c0047(0x1d5)])){logger[_0x4c0047(0x1d8)](_0x24432b[_0x4c0047(0x1c0)]);const _0x278628={};_0x278628[_0x4c0047(0x1e5)]=this[_0x4c0047(0x1b9)][_0x4c0047(0x1cb)],_0x278628['thBuildUuid']=process[_0x4c0047(0x1ed)][testHubConstants['ENV_VAR'][_0x4c0047(0x203)]],_0x278628[_0x4c0047(0x1c1)]=process[_0x4c0047(0x1ed)][testHubConstants[_0x4c0047(0x198)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5178f8=_0x278628;logger[_0x4c0047(0x1c5)](_0x4c0047(0x1d6)+JSON[_0x4c0047(0x160)](_0x5178f8)),logger['debug'](_0x24432b['xbvgo']);const _0x2d8769={};_0x2d8769[_0x4c0047(0x1dc)]=_0x24432b[_0x4c0047(0x183)],await PerformanceTester[_0x4c0047(0x1db)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x42baaf=_0x4c0047;logger[_0x42baaf(0x1c5)](util['format'](await global['__drivers'][0x0][_0x42baaf(0x162)](scripts['performScan'],{'method':global[_0x42baaf(0x1a5)]})));},_0x2d8769)(),await PerformanceTester[_0x4c0047(0x1db)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xb6f939=_0x4c0047;await global['__drivers'][0x0][_0xb6f939(0x162)](scripts['saveTestResults'],_0x5178f8);})(),logger[_0x4c0047(0x1d8)](_0x24432b[_0x4c0047(0x189)]);}}catch(_0x2a29b0){logger[_0x4c0047(0x152)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x4c0047(0x1b9)][_0x4c0047(0x180)]()+_0x4c0047(0x1e8),_0x2a29b0);}try{try{if(_0x24432b[_0x4c0047(0x16e)](shouldProcessEventForTesthub)){global[_0x4c0047(0x1e4)][0x0]&&await _0x24432b[_0x4c0047(0x1a3)](sendPlatformDetails,global[_0x4c0047(0x1e4)][0x0],this[_0x4c0047(0x1b9)]?this['currentTest'][_0x4c0047(0x1cb)]:null);if(_0x24432b['hSOgn'](isBrowserstackInfra)){PerformanceTester[_0x4c0047(0x17a)](PerformanceO11yEvents[_0x4c0047(0x1c8)]);const _0xfa6035=_0x4c0047(0x18c)+Date[_0x4c0047(0x16b)]();await _0x24432b[_0x4c0047(0x1a3)](_0x760aa3,JSON[_0x4c0047(0x160)](_0xfa6035),_0x24432b[_0x4c0047(0x157)]),PerformanceTester[_0x4c0047(0x1c4)](PerformanceO11yEvents[_0x4c0047(0x1c8)]);}}}catch(_0x7239fe){logger[_0x4c0047(0x1c5)](_0x4c0047(0x1e6)+_0x7239fe),PerformanceTester[_0x4c0047(0x1c4)](PerformanceO11yEvents[_0x4c0047(0x1c8)],![],_0x7239fe);}_0x24432b[_0x4c0047(0x1ef)](global[_0x4c0047(0x1e4)][0x0]['quitCount_'],0x0)&&await global[_0x4c0047(0x1ac)]();}catch(_0x3d8a3a){logger[_0x4c0047(0x1c5)](_0x4c0047(0x1f8)+_0x3d8a3a);}_0x24432b[_0x4c0047(0x16e)](_0xd3e74e);})['then'](()=>{const _0x28b8f9=_0x12fd43;_0xf104bc[_0x28b8f9(0x166)](_0x28941b);});},{'platform':_0xf104bc[_0x161a5e(0x1c3)](nestedKeyValue,global[_0x161a5e(0x1ad)],[_0xf104bc['MxaCQ']]),'hookType':_0xf104bc[_0x161a5e(0x1b3)]})();},'afterAll'(_0x1d8937){const _0x4a3c9a=a32_0x3e7385,_0xac9eb5={'KHBGD':function(_0x3a153e){return _0x3a153e();},'paFIg':function(_0x4a48ab,_0x36e327,_0x2df152){return _0x4a48ab(_0x36e327,_0x2df152);},'KHaYf':_0x4a3c9a(0x207),'TRRKs':_0x4a3c9a(0x1b6)},_0x361b42='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester[_0x4a3c9a(0x1db)](PerformanceSdkEvents[_0x4a3c9a(0x1f0)],()=>{const _0x2d6d89=_0x4a3c9a,_0x20b92f={'bDYaB':function(_0x4f9451){const _0x25e47f=a32_0x1d49;return _0xac9eb5[_0x25e47f(0x1ae)](_0x4f9451);}};new Promise(async _0x3a60b8=>{const _0x38918c=a32_0x1d49;await global[_0x38918c(0x1ac)](),_0x20b92f[_0x38918c(0x1bb)](_0x3a60b8);})[_0x2d6d89(0x1e3)]()[_0x2d6d89(0x1e2)](()=>{const _0x550a99=_0x2d6d89;_0x20b92f[_0x550a99(0x1bb)](_0x1d8937);});},{'platform':_0xac9eb5[_0x4a3c9a(0x205)](nestedKeyValue,global['__platformCaps'],[_0xac9eb5[_0x4a3c9a(0x17e)]]),'hookType':_0xac9eb5[_0x4a3c9a(0x1fe)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a33_0x2284fc=a33_0x415c;(function(_0x53c399,_0x2ad835){const _0xdba107=a33_0x415c,_0xfb69b7=_0x53c399();while(!![]){try{const _0x4cd4f2=parseInt(_0xdba107(0x171))/0x1+parseInt(_0xdba107(0x142))/0x2+parseInt(_0xdba107(0x13f))/0x3+parseInt(_0xdba107(0x136))/0x4+-parseInt(_0xdba107(0x141))/0x5*(parseInt(_0xdba107(0x166))/0x6)+parseInt(_0xdba107(0x13c))/0x7*(parseInt(_0xdba107(0x146))/0x8)+-parseInt(_0xdba107(0x173))/0x9;if(_0x4cd4f2===_0x2ad835)break;else _0xfb69b7['push'](_0xfb69b7['shift']());}catch(_0x382b74){_0xfb69b7['push'](_0xfb69b7['shift']());}}}(a33_0x4dc0,0xb8905));const fs=require('fs'),path=require(a33_0x2284fc(0x177)),{spawn}=require(a33_0x2284fc(0x16f)),logger=require(a33_0x2284fc(0x145))[a33_0x2284fc(0x156)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a33_0x2284fc(0x158)),getUserNightwatchConfigs=(_0x5518f4,_0x32aebd)=>{const _0x1e4bf6=a33_0x2284fc,_0x153cd3={'gIMhK':_0x1e4bf6(0x178),'VomFl':'nightwatch.json','lKSxc':function(_0xac2399,_0x593c0b){return _0xac2399(_0x593c0b);},'TXeQE':_0x1e4bf6(0x170)};let _0x15a3a7=null,_0x31bf0c={};const _0x15ce8e=_0x32aebd[_0x1e4bf6(0x149)](_0x144104=>_0x144104===_0x1e4bf6(0x15d));if(!helper[_0x1e4bf6(0x150)](_0x5518f4['config'])&&fs['existsSync'](path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x5518f4[_0x1e4bf6(0x14b)])))_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x5518f4[_0x1e4bf6(0x14b)]),_0x32aebd[_0x1e4bf6(0x165)](_0x15ce8e,0x2);else{if(fs['existsSync'](path[_0x1e4bf6(0x13d)](process['cwd'](),_0x153cd3[_0x1e4bf6(0x174)])))_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x153cd3['gIMhK']);else fs[_0x1e4bf6(0x13e)](path['join'](process[_0x1e4bf6(0x172)](),_0x153cd3[_0x1e4bf6(0x159)]))&&(_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x153cd3[_0x1e4bf6(0x159)]));}return _0x15a3a7?(logger[_0x1e4bf6(0x16c)](_0x1e4bf6(0x137)+_0x15a3a7),_0x31bf0c=_0x153cd3[_0x1e4bf6(0x164)](require,_0x15a3a7)):logger[_0x1e4bf6(0x16c)](_0x153cd3[_0x1e4bf6(0x14f)]),_0x31bf0c;},removeExistingEnvs=_0x6ac4=>{const _0x191d5c=a33_0x2284fc,_0x265298={};_0x265298['GDUng']=function(_0x533ee9,_0x40cfac){return _0x533ee9>_0x40cfac;};const _0xb02ce0=_0x265298;let _0x1e6391=_0x6ac4['findIndex'](_0x5ae285=>_0x5ae285==='--env');_0xb02ce0[_0x191d5c(0x160)](_0x1e6391,-0x1)&&_0x6ac4['splice'](_0x1e6391,0x2),_0x1e6391=_0x6ac4[_0x191d5c(0x149)](_0x13e1b6=>_0x13e1b6==='-e'),_0xb02ce0[_0x191d5c(0x160)](_0x1e6391,-0x1)&&_0x6ac4[_0x191d5c(0x165)](_0x1e6391,0x2);};function run(_0x5eca8e,_0x13e734,_0x2c2ec7){const _0x33127c=a33_0x2284fc,_0x9f0a54={'ICiLs':_0x33127c(0x176),'QbyEL':function(_0x43840a,_0x4bd41b){return _0x43840a+_0x4bd41b;},'OhHfK':_0x33127c(0x144),'Ffnbu':function(_0x4fba72,_0x5f5136,_0x1b426c){return _0x4fba72(_0x5f5136,_0x1b426c);},'lWPwA':_0x33127c(0x157),'sERUh':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SUPxN':function(_0x2f80eb,_0x1af113){return _0x2f80eb===_0x1af113;},'PjfZa':_0x33127c(0x13b),'MPceU':function(_0xd49cff,_0x4fa92c){return _0xd49cff(_0x4fa92c);},'rfHuZ':function(_0x3d0676,_0x48d425,_0x5772f8,_0x4122e0){return _0x3d0676(_0x48d425,_0x5772f8,_0x4122e0);},'FjcNo':_0x33127c(0x140),'AVVnT':_0x33127c(0x15d),'lTFFY':'--env','iddGj':_0x33127c(0x135),'utZnv':'close'};if(!_0x2c2ec7['config'])return;const _0x5f37cd=_0x9f0a54[_0x33127c(0x162)](getUserNightwatchConfigs,_0x5eca8e,_0x13e734),_0x5047bb={};_0x5047bb[_0x33127c(0x152)]=![];const _0x35d709={};_0x35d709[_0x33127c(0x17c)]=_0x9f0a54[_0x33127c(0x139)],_0x35d709['port']=0x1bb;const _0x56f769={};_0x56f769[_0x33127c(0x175)]=_0x5047bb,_0x56f769[_0x33127c(0x167)]=_0x35d709;const _0x26923e=_0x56f769;logger[_0x33127c(0x16c)](_0x9f0a54[_0x33127c(0x15f)]);const _0x45255e={..._0x5f37cd},_0x54aa95=_0x45255e,_0x3f779c=helper[_0x33127c(0x14a)](_0x2c2ec7[_0x33127c(0x14b)]),_0xecd564=[];_0x2c2ec7[_0x33127c(0x14b)][_0x33127c(0x15b)][_0x33127c(0x16e)]((_0x976811,_0x51e8b3)=>{const _0x25c603=_0x33127c;_0x3f779c?_0xecd564[_0x25c603(0x17a)](helper[_0x25c603(0x16a)](_0x2c2ec7['config'],_0x9f0a54[_0x25c603(0x13a)],_0x51e8b3)):_0xecd564[_0x25c603(0x17a)](helper[_0x25c603(0x17d)](_0x2c2ec7['config'],_0x9f0a54[_0x25c603(0x13a)],_0x51e8b3));});const _0x4cc0f2={},_0x2cd62a=[];_0x5eca8e[_0x33127c(0x147)]=_0x5eca8e[_0x33127c(0x147)]||_0x5eca8e['e'];const _0x238fc6=_0x5eca8e[_0x33127c(0x147)]?_0x5eca8e[_0x33127c(0x147)][_0x33127c(0x154)]()[_0x33127c(0x14d)](',')[_0x33127c(0x148)](_0x10c3b0=>_0x10c3b0[_0x33127c(0x154)]())[_0x33127c(0x143)](_0x8ad5a5=>_0x8ad5a5!==''):[''];_0x9f0a54[_0x33127c(0x153)](_0x238fc6[_0x33127c(0x16b)],0x0)&&_0x238fc6['push']('');_0x238fc6[_0x33127c(0x16e)](_0xec72b7=>{const _0x433231=_0x33127c;_0xecd564[_0x433231(0x16e)](_0x41d3d1=>{const _0x1a5f79=_0x433231;let _0x3fa4d1=_0x9f0a54['QbyEL'](helper[_0x1a5f79(0x151)](_0x41d3d1,'_'),'_'+Date[_0x1a5f79(0x168)]());_0xec72b7&&(_0x3fa4d1+='_'+_0xec72b7);if(_0xec72b7&&(!_0x5f37cd[_0x9f0a54[_0x1a5f79(0x14c)]]||!_0x5f37cd[_0x9f0a54['OhHfK']][_0xec72b7]))return;const _0x31bc7d={..._0x26923e};_0x31bc7d['desiredCapabilities']=_0x41d3d1;const _0x3f00f1=_0x31bc7d;_0x4cc0f2[_0x3fa4d1]=_0xec72b7?helper['mergeDeep'](_0x5f37cd[_0x9f0a54['OhHfK']][_0xec72b7],_0x3f00f1):_0x3f00f1,_0x2cd62a[_0x1a5f79(0x17a)](_0x3fa4d1);});});!_0x54aa95[_0x33127c(0x144)]&&(_0x54aa95[_0x33127c(0x144)]={});_0x54aa95[_0x33127c(0x144)]={..._0x54aa95[_0x33127c(0x144)],..._0x4cc0f2};const _0xbc756c=path[_0x33127c(0x13d)](__dirname,_0x9f0a54['PjfZa']);fs[_0x33127c(0x14e)](_0xbc756c,JSON[_0x33127c(0x15a)](_0x54aa95)),_0x9f0a54[_0x33127c(0x161)](removeExistingEnvs,_0x13e734);const _0x31c27=_0x9f0a54['rfHuZ'](spawn,/^win/[_0x33127c(0x169)](process[_0x33127c(0x163)])?_0x9f0a54[_0x33127c(0x134)]:_0x9f0a54[_0x33127c(0x13a)],[_0x9f0a54['AVVnT'],_0xbc756c,..._0x13e734[_0x33127c(0x179)](0x1),_0x9f0a54[_0x33127c(0x138)],_0x2cd62a[_0x33127c(0x13d)](',')],{'stdio':_0x9f0a54[_0x33127c(0x16d)]});_0x31c27['on'](_0x9f0a54['utZnv'],async _0x52e380=>{const _0x39fd71=_0x33127c;logger[_0x39fd71(0x155)](_0x39fd71(0x17b)+_0x52e380),logger['info']('Deleting\x20'+_0xbc756c),fs[_0x39fd71(0x15c)](_0xbc756c);});}function a33_0x415c(_0x28213c,_0x4ef03e){const _0x4dc040=a33_0x4dc0();return a33_0x415c=function(_0x415c2b,_0x4d0b32){_0x415c2b=_0x415c2b-0x134;let _0x27b96b=_0x4dc040[_0x415c2b];return _0x27b96b;},a33_0x415c(_0x28213c,_0x4ef03e);}function a33_0x4dc0(){const _0x504676=['filter','test_settings','../../helpers/logger','349224FvebKv','env','map','findIndex','useW3C','config','OhHfK','split','writeFileSync','TXeQE','isUndefined','getPlatformName','start_process','SUPxN','trim','debug','winstonLogger','hub.browserstack.com','../utils/constants','VomFl','stringify','platforms','unlinkSync','--config','exports','sERUh','GDUng','MPceU','Ffnbu','platform','lKSxc','splice','235362ViYshW','selenium','now','test','modifyBrowserStackW3CCaps','length','info','iddGj','forEach','child_process','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','309288AmCHrQ','cwd','17351865UZuPWA','gIMhK','webdriver','nightwatch','path','nightwatch.conf.js','slice','push','child\x20process\x20exited\x20with\x20code\x20','host','modifyBrowserStackCaps','FjcNo','inherit','3580012uUCJWT','Getting\x20your\x20nightwatch\x20configs\x20from\x20','lTFFY','lWPwA','ICiLs','nightwatch-browserstack.json','133YWbpfa','join','existsSync','961713CbgjEY','nightwatch.cmd','105pGBpul','2306912bfTIuc'];a33_0x4dc0=function(){return _0x504676;};return a33_0x4dc0();}module[a33_0x2284fc(0x15e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a34_0x18e6(_0x3c257b,_0xe5fae1){const _0x2bdd1d=a34_0x2bdd();return a34_0x18e6=function(_0x18e657,_0x319e31){_0x18e657=_0x18e657-0x141;let _0x12fe8a=_0x2bdd1d[_0x18e657];return _0x12fe8a;},a34_0x18e6(_0x3c257b,_0xe5fae1);}const a34_0x2a0b04=a34_0x18e6;function a34_0x2bdd(){const _0x27601b=['getAccessibilityResults','env','ylyOq','../../helpers/helper','PvMUX','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','../../helpers/performance/performance-tester','QnoEk','PcEeR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityResultsSummary','qUwrU','PVsxV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','FQhJw','../../helpers/accessibility-automation/helper','iauFY','browserName','deviceName','includeIssueType','2vCmxfj','executeAsyncScript','workerInfo','3210252CgdazY','FGTCi','measureWrapper','accessibilityOptions.authToken','bestPractice','scannerVersion','EqeWo','accessibilityOptions.scannerProcessingTimeout','use','browserStackEvaluate','ffIqV','DuyFy','KYYfk','command','testInfo','FfJmi','accessibilityOptions','warn','ZvMql','performScan','scannerProcessingTimeout','latest','evaluate','frksA','../../helpers/performance/constants','11066531TaKYxR','platformValidation','accessibilityOptions.includeIssueType.bestPractice','stringify','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','wsEndpoint','name','Playwright','OpbnK','needsReview','browser_version','pgTdH','../../helpers/logger','accessibilityOptions.scannerVersion','SIfxN','browserstack.accessibility','WJmBg','executeScript','playwright-chromium','BS_A11Y_JWT','util','yFKHA','6099592OjIVMY','setAccessibilityCapabilities','2474576QOTHMV','9099450gYRMJU','debug','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','eUDqR','chrome','format','FWLpk','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','PmuTU','MCiWp','BvUZY','gpYtf','pLuGx','connectOptions','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','bstackSdkArgs','accessibilityPlatform','error','SFrBH','TNAwt','1142322WuKqXY','../../helpers/accessibility-automation/scripts','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','rKDdQ','GJZvh','wcagVersion','No\x20accessibility\x20results\x20were\x20found.','browserStackExecuteDriver','uKKYC','constructor','940066xrTErF','project','replace','accessibilityOptions.wcagVersion','browser','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','accessibilityOptions.includeIssueType.needsReview'];a34_0x2bdd=function(){return _0x27601b;};return a34_0x2bdd();}(function(_0x1d803f,_0x57d9c7){const _0x21b5f2=a34_0x18e6,_0xc3991c=_0x1d803f();while(!![]){try{const _0x4fc8a2=parseInt(_0x21b5f2(0x152))/0x1*(-parseInt(_0x21b5f2(0x1a5))/0x2)+parseInt(_0x21b5f2(0x155))/0x3+parseInt(_0x21b5f2(0x184))/0x4+-parseInt(_0x21b5f2(0x187))/0x5+-parseInt(_0x21b5f2(0x19b))/0x6+parseInt(_0x21b5f2(0x16e))/0x7+-parseInt(_0x21b5f2(0x186))/0x8;if(_0x4fc8a2===_0x57d9c7)break;else _0xc3991c['push'](_0xc3991c['shift']());}catch(_0x317db8){_0xc3991c['push'](_0xc3991c['shift']());}}}(a34_0x2bdd,0xdfb1a));const util=require(a34_0x2a0b04(0x182)),logger=require(a34_0x2a0b04(0x17a))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x2a0b04(0x14d)),{isUndefined}=require(a34_0x2a0b04(0x1b0)),scripts=require(a34_0x2a0b04(0x19c)),PerformanceTester=require(a34_0x2a0b04(0x143)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2a0b04(0x16d));exports['browserStackEvaluate']=async(_0x5f3865,_0x4c7ed7,_0xcbc5d6={})=>{const _0x2b1bb5=a34_0x2a0b04,_0x3fba11={};_0x3fba11[_0x2b1bb5(0x17c)]=_0x2b1bb5(0x196);const _0x268156=_0x3fba11;return await _0x5f3865[_0x2b1bb5(0x16b)](_0x2b1bb5(0x18e)+_0x4c7ed7[_0x2b1bb5(0x1a7)](/arguments/g,_0x268156['SIfxN'])+_0x2b1bb5(0x142)+JSON[_0x2b1bb5(0x171)](_0xcbc5d6)+')');},exports[a34_0x2a0b04(0x1a2)]=async(_0x366721,_0x4845d0,_0x41ab96={})=>{const _0x34b9d7=a34_0x2a0b04,_0x5351ea={};_0x5351ea['MCiWp']=function(_0x328dd9,_0x26fea5){return _0x328dd9===_0x26fea5;},_0x5351ea[_0x34b9d7(0x167)]='WebDriver',_0x5351ea[_0x34b9d7(0x17e)]=_0x34b9d7(0x175),_0x5351ea[_0x34b9d7(0x15b)]=_0x34b9d7(0x196);const _0x1e9d9c=_0x5351ea;if(_0x1e9d9c[_0x34b9d7(0x190)](_0x366721[_0x34b9d7(0x1a4)][_0x34b9d7(0x174)],_0x1e9d9c[_0x34b9d7(0x167)]))return await _0x366721[_0x34b9d7(0x153)](_0x4845d0,_0x41ab96);else{if(_0x1e9d9c[_0x34b9d7(0x190)](_0x366721[_0x34b9d7(0x1a4)][_0x34b9d7(0x174)],_0x1e9d9c[_0x34b9d7(0x17e)]))return await _0x366721[_0x34b9d7(0x17f)](_0x34b9d7(0x189)+_0x4845d0[_0x34b9d7(0x1a7)](/arguments/g,_0x1e9d9c['EqeWo'])+_0x34b9d7(0x195)+JSON[_0x34b9d7(0x171)](_0x41ab96)+')');}},exports[a34_0x2a0b04(0x185)]=async _0x431797=>{const _0x5eb5f1=a34_0x2a0b04,_0x3defc6={};_0x3defc6[_0x5eb5f1(0x1a3)]=_0x5eb5f1(0x1a8),_0x3defc6[_0x5eb5f1(0x18f)]=_0x5eb5f1(0x15c),_0x3defc6['FQhJw']=_0x5eb5f1(0x170),_0x3defc6[_0x5eb5f1(0x149)]=_0x5eb5f1(0x1ac),_0x3defc6['OpbnK']=_0x5eb5f1(0x158),_0x3defc6[_0x5eb5f1(0x148)]=_0x5eb5f1(0x17b);const _0x58df83=_0x3defc6;_0x431797[_0x5eb5f1(0x165)]&&(_0x431797[_0x5eb5f1(0x165)][_0x5eb5f1(0x1a0)]&&(_0x431797[_0x58df83[_0x5eb5f1(0x1a3)]]=_0x431797[_0x5eb5f1(0x165)][_0x5eb5f1(0x1a0)]),_0x431797[_0x5eb5f1(0x165)][_0x5eb5f1(0x169)]&&(_0x431797[_0x58df83[_0x5eb5f1(0x18f)]]=_0x431797[_0x5eb5f1(0x165)][_0x5eb5f1(0x169)]),_0x431797[_0x5eb5f1(0x165)]['includeIssueType']&&(_0x431797[_0x58df83[_0x5eb5f1(0x14c)]]=_0x431797[_0x5eb5f1(0x165)][_0x5eb5f1(0x151)][_0x5eb5f1(0x159)],_0x431797[_0x58df83[_0x5eb5f1(0x149)]]=_0x431797[_0x5eb5f1(0x165)]['includeIssueType'][_0x5eb5f1(0x177)]));const _0x3c6256=JSON['parse'](process['env'][_0x5eb5f1(0x146)])[_0x5eb5f1(0x15a)];_0x431797[_0x58df83[_0x5eb5f1(0x176)]]=process[_0x5eb5f1(0x1ae)][_0x5eb5f1(0x181)],_0x431797[_0x58df83[_0x5eb5f1(0x148)]]=_0x3c6256,delete _0x431797['accessibilityOptions'];},exports[a34_0x2a0b04(0x1ad)]=async _0x1bf924=>{const _0x346b54=a34_0x2a0b04,_0x532071={};_0x532071[_0x346b54(0x191)]=_0x346b54(0x1a1),_0x532071[_0x346b54(0x15f)]=_0x346b54(0x14a);const _0x1ca779=_0x532071;if(global[_0x346b54(0x197)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x1bf924,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x1bf924,scripts.getResults);})();return res;}catch{return logger[_0x346b54(0x198)](_0x1ca779[_0x346b54(0x191)]),[];}else return logger[_0x346b54(0x166)](_0x1ca779[_0x346b54(0x15f)]),[];},exports[a34_0x2a0b04(0x168)]=async(_0x365b54,_0x5b67bc='')=>{const _0x1b7976=a34_0x2a0b04;if(global[_0x1b7976(0x197)])return await PerformanceTester[_0x1b7976(0x157)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x372276=_0x1b7976,_0x4f30fe={};_0x4f30fe[_0x372276(0x162)]=_0x5b67bc,await exports[_0x372276(0x15e)](_0x365b54,scripts[_0x372276(0x168)],_0x4f30fe);},{'command':_0x5b67bc})();},exports[a34_0x2a0b04(0x147)]=async _0x51bf9d=>{const _0x3249e7=a34_0x2a0b04,_0x3292b2={};_0x3292b2[_0x3249e7(0x18d)]='No\x20summaryResults\x20found.',_0x3292b2[_0x3249e7(0x141)]=_0x3249e7(0x1ab);const _0x54ecc3=_0x3292b2;if(global[_0x3249e7(0x197)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x51bf9d,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x51bf9d,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x3249e7(0x188)](_0x54ecc3[_0x3249e7(0x18d)]),{};}else return logger[_0x3249e7(0x166)](_0x54ecc3['PvMUX']),{};},exports[a34_0x2a0b04(0x16f)]=async _0x46a7ec=>{const _0x29a413=a34_0x2a0b04,_0x462d40={'PcEeR':function(_0x534603,_0x3ceff1){return _0x534603!==_0x3ceff1;},'iauFY':_0x29a413(0x19d),'pgTdH':function(_0x363d0c,_0x150e56){return _0x363d0c===_0x150e56;},'QnoEk':_0x29a413(0x18b),'TNAwt':function(_0x5a7363,_0x36be8a){return _0x5a7363===_0x36be8a;},'DuyFy':_0x29a413(0x180),'QgnsO':_0x29a413(0x14b),'JtHll':function(_0x45c96a,_0x31cc1d){return _0x45c96a(_0x31cc1d);},'ylyOq':'latest','SFrBH':function(_0xbcd1dc,_0x3e12f1){return _0xbcd1dc>_0x3e12f1;},'XRIFE':_0x29a413(0x172)};try{if(!_0x462d40[_0x29a413(0x145)](_0x46a7ec[_0x29a413(0x150)],''))return logger[_0x29a413(0x166)](_0x462d40[_0x29a413(0x14e)]),![];const _0x5c294b=_0x46a7ec[_0x29a413(0x1a9)];if(!(_0x462d40[_0x29a413(0x179)](_0x5c294b,_0x462d40[_0x29a413(0x144)])||_0x462d40[_0x29a413(0x19a)](_0x5c294b,_0x462d40[_0x29a413(0x160)])))return logger[_0x29a413(0x166)](_0x462d40['QgnsO']),![];const _0x43cfb6=_0x462d40['JtHll'](parseInt,_0x46a7ec['browser_version']);if(!(_0x462d40[_0x29a413(0x179)](_0x43cfb6,_0x462d40[_0x29a413(0x1af)])||_0x462d40[_0x29a413(0x199)](_0x43cfb6,0x5e)))return logger[_0x29a413(0x166)](_0x462d40['XRIFE']),![];}catch(_0x4783bc){logger[_0x29a413(0x188)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x4783bc));}return!![];},exports['processAccessibilityCaps']=(_0x5e9552,_0x5862b8,_0x81c26a)=>{const _0x4bf241=a34_0x2a0b04,_0x4ac8e2={'gpYtf':function(_0x28c4c9){return _0x28c4c9();},'eUDqR':_0x4bf241(0x17d),'rKDdQ':function(_0x4f5a73,_0x271213){return _0x4f5a73===_0x271213;},'NPczL':_0x4bf241(0x18b),'zlzNj':_0x4bf241(0x180),'frksA':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','pLuGx':function(_0x511764,_0xe6ff8b){return _0x511764===_0xe6ff8b;},'ydodz':_0x4bf241(0x16a),'yTzUZ':function(_0x2667ec,_0x23e9e7){return _0x2667ec>_0x23e9e7;},'FfJmi':_0x4bf241(0x172),'FGTCi':function(_0xbc7db0,_0xf0b779){return _0xbc7db0(_0xf0b779);},'GJZvh':_0x4bf241(0x19d),'KYYfk':function(_0x34f034,_0x45a757){return _0x34f034+_0x45a757;},'yFKHA':function(_0x4c6338,_0x4f895b){return _0x4c6338(_0x4f895b);}};try{if(_0x4ac8e2[_0x4bf241(0x192)](isAccessibilityAutomationSession)){global[_0x4bf241(0x197)]=!![];!_0x5e9552[_0x4ac8e2['eUDqR']]&&(global[_0x4bf241(0x197)]=![]);!(_0x4ac8e2[_0x4bf241(0x19e)](_0x5e9552[_0x4bf241(0x14f)],_0x4ac8e2['NPczL'])||_0x4ac8e2[_0x4bf241(0x19e)](_0x5e9552[_0x4bf241(0x14f)],_0x4ac8e2['zlzNj']))&&(logger[_0x4bf241(0x166)](_0x4ac8e2[_0x4bf241(0x16c)]),global[_0x4bf241(0x197)]=![]);!(_0x4ac8e2[_0x4bf241(0x193)](_0x5e9552[_0x4bf241(0x178)],_0x4ac8e2['ydodz'])||_0x4ac8e2['yTzUZ'](_0x5e9552['browser_version'],0x5e))&&(logger[_0x4bf241(0x166)](_0x4ac8e2[_0x4bf241(0x164)]),global[_0x4bf241(0x197)]=![]);!_0x4ac8e2[_0x4bf241(0x156)](isUndefined,_0x5e9552['deviceName'])&&(logger['warn'](_0x4ac8e2[_0x4bf241(0x19f)]),global[_0x4bf241(0x197)]=![]);if(!global[_0x4bf241(0x197)]){_0x5e9552[_0x4ac8e2[_0x4bf241(0x18a)]]=![];const _0x883eeb=_0x4ac8e2[_0x4bf241(0x161)](_0x5862b8,_0x4ac8e2[_0x4bf241(0x183)](encodeURIComponent,JSON['stringify'](_0x5e9552)));_0x81c26a&&(_0x81c26a['currentTest'][_0x4bf241(0x163)][_0x4bf241(0x1a6)][_0x4bf241(0x15d)][_0x4bf241(0x194)][_0x4bf241(0x173)]=_0x883eeb,_0x81c26a[_0x4bf241(0x154)][_0x4bf241(0x1a6)][_0x4bf241(0x15d)][_0x4bf241(0x194)][_0x4bf241(0x173)]=_0x883eeb);}}}catch(_0x7e3d88){logger[_0x4bf241(0x188)](_0x4bf241(0x1aa)+util[_0x4bf241(0x18c)](_0x7e3d88));}};
|
|
1
|
+
function a34_0x349f(){const _0x4feb5c=['26Efsevk','accessibilityOptions.scannerVersion','warn','13616230uZWcyb','deviceName','testInfo','browserStackExecuteDriver','ssVHM','includeIssueType','winstonLogger','ijrkY','WiSpk','ZfPxz','BS_A11Y_JWT','CVbdj','format','BWHeh','esJYw','ZhtWV','WgOEC','JfQyv','replace','playwright-chromium','env','../../helpers/performance/constants','browser_version','WgFOx','bstackSdkArgs','accessibilityOptions.scannerProcessingTimeout','GWzmk','RkyzZ','../../helpers/accessibility-automation/helper','sVruT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','PERFORM_SCAN','No\x20accessibility\x20results\x20were\x20found.','setAccessibilityCapabilities','DaOwQ','chrome','VHSED','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FXfdl','znTjw','bestPractice','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','project','evaluate','dlycd','ljGQr','LKvYR','SuMNm','name','accessibilityOptions','parse','processAccessibilityCaps','myDfJ','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','accessibilityOptions.authToken','executeScript','JtAWc','bLNUs','scannerVersion','browserStackEvaluate','69EhJCdY','accessibilityOptions.wcagVersion','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','stringify','ybRzU','QZEXO','JLQre','1435cNNlIm','232384uPnwGR','COVUf','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','latest','executeAsyncScript','measureWrapper','RQeis','wcagVersion','browserstack.accessibility','98577FrVWex','14322KKLAgp','currentTest','browser','Playwright','koXfY','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','performScan','error','scannerProcessingTimeout','VauzX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','constructor','accessibilityPlatform','KYUax','2096768OyOntN','wsEndpoint','debug','platformValidation','../../helpers/performance/performance-tester','7872851sWPSkh','accessibilityOptions.includeIssueType.bestPractice','5588964bfLNaj','getAccessibilityResults','connectOptions','../../helpers/logger','use'];a34_0x349f=function(){return _0x4feb5c;};return a34_0x349f();}const a34_0x538bac=a34_0x36c7;function a34_0x36c7(_0x354dc0,_0x234585){const _0x349fb3=a34_0x349f();return a34_0x36c7=function(_0x36c75d,_0x5dcf32){_0x36c75d=_0x36c75d-0x94;let _0x331e98=_0x349fb3[_0x36c75d];return _0x331e98;},a34_0x36c7(_0x354dc0,_0x234585);}(function(_0x3a9da6,_0x3820b3){const _0x546c11=a34_0x36c7,_0x14d7e6=_0x3a9da6();while(!![]){try{const _0x1cd092=-parseInt(_0x546c11(0xd8))/0x1*(-parseInt(_0x546c11(0xf4))/0x2)+-parseInt(_0x546c11(0xc7))/0x3*(parseInt(_0x546c11(0xcf))/0x4)+-parseInt(_0x546c11(0xce))/0x5*(-parseInt(_0x546c11(0xd9))/0x6)+parseInt(_0x546c11(0xed))/0x7+-parseInt(_0x546c11(0xe8))/0x8+parseInt(_0x546c11(0xef))/0x9+-parseInt(_0x546c11(0xf7))/0xa;if(_0x1cd092===_0x3820b3)break;else _0x14d7e6['push'](_0x14d7e6['shift']());}catch(_0x35f6dd){_0x14d7e6['push'](_0x14d7e6['shift']());}}}(a34_0x349f,0xb7acc));const util=require('util'),logger=require(a34_0x538bac(0xf2))[a34_0x538bac(0xfd)],{isAccessibilityAutomationSession}=require(a34_0x538bac(0xa6)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x538bac(0xec)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x538bac(0x9f));exports[a34_0x538bac(0xc6)]=async(_0x2638d4,_0x5231fb,_0x558117={})=>{const _0x4f60f4=a34_0x538bac,_0x3ae47d={};_0x3ae47d[_0x4f60f4(0xe7)]=_0x4f60f4(0xa2);const _0x24c629=_0x3ae47d;return await _0x2638d4[_0x4f60f4(0xb6)](_0x4f60f4(0xd1)+_0x5231fb[_0x4f60f4(0x9c)](/arguments/g,_0x24c629[_0x4f60f4(0xe7)])+_0x4f60f4(0xc9)+JSON['stringify'](_0x558117)+')');},exports[a34_0x538bac(0xfa)]=async(_0x47e303,_0x20cd70,_0x302cd8={})=>{const _0x23cbfc=a34_0x538bac,_0x340850={};_0x340850['GWzmk']=function(_0x5f2da1,_0xd65f6a){return _0x5f2da1===_0xd65f6a;},_0x340850[_0x23cbfc(0xc4)]=_0x23cbfc(0xde),_0x340850['LKvYR']=function(_0x44f4f0,_0x26adcd){return _0x44f4f0===_0x26adcd;},_0x340850[_0x23cbfc(0xa7)]=_0x23cbfc(0xdc),_0x340850[_0x23cbfc(0xfb)]=_0x23cbfc(0xa2);const _0x49c37f=_0x340850;if(_0x49c37f[_0x23cbfc(0xa4)](_0x47e303[_0x23cbfc(0xe5)][_0x23cbfc(0xbb)],_0x49c37f[_0x23cbfc(0xc4)]))return await _0x47e303[_0x23cbfc(0xd3)](_0x20cd70,_0x302cd8);else{if(_0x49c37f[_0x23cbfc(0xb9)](_0x47e303[_0x23cbfc(0xe5)]['name'],_0x49c37f[_0x23cbfc(0xa7)]))return await _0x47e303[_0x23cbfc(0xc2)](_0x23cbfc(0xc0)+_0x20cd70[_0x23cbfc(0x9c)](/arguments/g,_0x49c37f['ssVHM'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x23cbfc(0xca)](_0x302cd8)+')');}},exports[a34_0x538bac(0xab)]=async _0x53036e=>{const _0x294a5d=a34_0x538bac,_0x17cb00={};_0x17cb00[_0x294a5d(0x95)]=_0x294a5d(0xc8),_0x17cb00[_0x294a5d(0xcc)]=_0x294a5d(0xa3),_0x17cb00[_0x294a5d(0xbf)]=_0x294a5d(0xee),_0x17cb00[_0x294a5d(0xb1)]='accessibilityOptions.includeIssueType.needsReview',_0x17cb00[_0x294a5d(0xcd)]=_0x294a5d(0xc1),_0x17cb00[_0x294a5d(0xd5)]=_0x294a5d(0xf5);const _0x39424a=_0x17cb00;_0x53036e[_0x294a5d(0xbc)]&&(_0x53036e[_0x294a5d(0xbc)]['wcagVersion']&&(_0x53036e[_0x39424a[_0x294a5d(0x95)]]=_0x53036e[_0x294a5d(0xbc)][_0x294a5d(0xd6)]),_0x53036e[_0x294a5d(0xbc)][_0x294a5d(0xe2)]&&(_0x53036e[_0x39424a[_0x294a5d(0xcc)]]=_0x53036e[_0x294a5d(0xbc)]['scannerProcessingTimeout']),_0x53036e[_0x294a5d(0xbc)][_0x294a5d(0xfc)]&&(_0x53036e[_0x39424a[_0x294a5d(0xbf)]]=_0x53036e[_0x294a5d(0xbc)][_0x294a5d(0xfc)][_0x294a5d(0xb2)],_0x53036e[_0x39424a[_0x294a5d(0xb1)]]=_0x53036e[_0x294a5d(0xbc)][_0x294a5d(0xfc)]['needsReview']));const _0x2e31b8=JSON[_0x294a5d(0xbd)](process[_0x294a5d(0x9e)][_0x294a5d(0xb3)])[_0x294a5d(0xc5)];_0x53036e[_0x39424a['JLQre']]=process[_0x294a5d(0x9e)][_0x294a5d(0x94)],_0x53036e[_0x39424a[_0x294a5d(0xd5)]]=_0x2e31b8,delete _0x53036e[_0x294a5d(0xbc)];},exports[a34_0x538bac(0xf0)]=async _0x26d1b6=>{const _0x5961a9=a34_0x538bac,_0x3dd451={};_0x3dd451[_0x5961a9(0xa1)]=_0x5961a9(0xaa),_0x3dd451[_0x5961a9(0xc3)]=_0x5961a9(0xdf);const _0x5d4efe=_0x3dd451;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x26d1b6,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x26d1b6,scripts.getResults);})();return res;}catch{return logger[_0x5961a9(0xe1)](_0x5d4efe[_0x5961a9(0xa1)]),[];}else return logger[_0x5961a9(0xf6)](_0x5d4efe[_0x5961a9(0xc3)]),[];},exports[a34_0x538bac(0xe0)]=async(_0x9feef3,_0x2cf08c='')=>{const _0x14baf7=a34_0x538bac;if(global[_0x14baf7(0xe6)])return await PerformanceTester[_0x14baf7(0xd4)](PerformanceA11yEvents[_0x14baf7(0xa9)],async()=>{const _0x38a07a=_0x14baf7,_0x1c088f={};_0x1c088f['command']=_0x2cf08c,await exports[_0x38a07a(0xc6)](_0x9feef3,scripts[_0x38a07a(0xe0)],_0x1c088f);},{'command':_0x2cf08c})();},exports['getAccessibilityResultsSummary']=async _0x5a5371=>{const _0x497a81=a34_0x538bac,_0x321274={};_0x321274[_0x497a81(0xac)]='No\x20summaryResults\x20found.',_0x321274[_0x497a81(0x99)]=_0x497a81(0xa8);const _0x4b1282=_0x321274;if(global[_0x497a81(0xe6)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5a5371,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x5a5371,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x4b1282['DaOwQ']),{};}else return logger[_0x497a81(0xf6)](_0x4b1282[_0x497a81(0x99)]),{};},exports[a34_0x538bac(0xeb)]=async _0xd23715=>{const _0x4c826b=a34_0x538bac,_0x7af586={'VauzX':function(_0x39e8fb,_0x243ec0){return _0x39e8fb!==_0x243ec0;},'BWHeh':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ZfPxz':function(_0x2e2028,_0x10387f){return _0x2e2028===_0x10387f;},'YidRc':_0x4c826b(0xad),'esJYw':_0x4c826b(0x9d),'ybRzU':_0x4c826b(0xb4),'qOxVD':function(_0x47f23f,_0x499662){return _0x47f23f(_0x499662);},'WgOEC':_0x4c826b(0xd2),'VHSED':function(_0x3a5516,_0x55255d){return _0x3a5516>_0x55255d;},'WiSpk':_0x4c826b(0xaf)};try{if(!_0x7af586[_0x4c826b(0xe3)](_0xd23715[_0x4c826b(0xf8)],''))return logger[_0x4c826b(0xf6)](_0x7af586[_0x4c826b(0x97)]),![];const _0x141ea0=_0xd23715[_0x4c826b(0xdb)];if(!(_0x7af586['ZfPxz'](_0x141ea0,_0x7af586['YidRc'])||_0x7af586['ZfPxz'](_0x141ea0,_0x7af586[_0x4c826b(0x98)])))return logger['warn'](_0x7af586[_0x4c826b(0xcb)]),![];const _0x3d87d6=_0x7af586['qOxVD'](parseInt,_0xd23715['browser_version']);if(!(_0x7af586[_0x4c826b(0x100)](_0x3d87d6,_0x7af586[_0x4c826b(0x9a)])||_0x7af586[_0x4c826b(0xae)](_0x3d87d6,0x5e)))return logger['warn'](_0x7af586[_0x4c826b(0xff)]),![];}catch(_0x2df608){logger['debug'](_0x4c826b(0xe4)+util[_0x4c826b(0x96)](_0x2df608));}return!![];},exports[a34_0x538bac(0xbe)]=(_0x2d06a5,_0x1398b3,_0x3e4ea9)=>{const _0x505a0b=a34_0x538bac,_0x53c523={'RVPnU':function(_0x485ab3){return _0x485ab3();},'COVUf':_0x505a0b(0xd7),'wFJEW':function(_0x26149e,_0x4fca70){return _0x26149e===_0x4fca70;},'SuMNm':'chrome','DNvzq':function(_0x2ed471,_0x1e084e){return _0x2ed471===_0x1e084e;},'RkyzZ':_0x505a0b(0x9d),'AfUZw':_0x505a0b(0xb4),'ijrkY':function(_0x2bcafe,_0x9a96ea){return _0x2bcafe===_0x9a96ea;},'koXfY':'latest','dlycd':function(_0x780940,_0x46f7fb){return _0x780940>_0x46f7fb;},'ljGQr':_0x505a0b(0xaf),'JfQyv':function(_0x4c6670,_0x3508e2){return _0x4c6670(_0x3508e2);},'aeOWu':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','FXfdl':function(_0x2ef07b,_0x3dc217){return _0x2ef07b+_0x3dc217;}};try{if(_0x53c523['RVPnU'](isAccessibilityAutomationSession)){global[_0x505a0b(0xe6)]=!![];!_0x2d06a5[_0x53c523[_0x505a0b(0xd0)]]&&(global[_0x505a0b(0xe6)]=![]);!(_0x53c523['wFJEW'](_0x2d06a5['browserName'],_0x53c523[_0x505a0b(0xba)])||_0x53c523['DNvzq'](_0x2d06a5['browserName'],_0x53c523[_0x505a0b(0xa5)]))&&(logger[_0x505a0b(0xf6)](_0x53c523['AfUZw']),global[_0x505a0b(0xe6)]=![]);!(_0x53c523[_0x505a0b(0xfe)](_0x2d06a5['browser_version'],_0x53c523[_0x505a0b(0xdd)])||_0x53c523[_0x505a0b(0xb7)](_0x2d06a5[_0x505a0b(0xa0)],0x5e))&&(logger[_0x505a0b(0xf6)](_0x53c523[_0x505a0b(0xb8)]),global[_0x505a0b(0xe6)]=![]);!_0x53c523[_0x505a0b(0x9b)](isUndefined,_0x2d06a5[_0x505a0b(0xf8)])&&(logger[_0x505a0b(0xf6)](_0x53c523['aeOWu']),global[_0x505a0b(0xe6)]=![]);if(!global['accessibilityPlatform']){_0x2d06a5[_0x53c523[_0x505a0b(0xd0)]]=![];const _0x2b341a=_0x53c523[_0x505a0b(0xb0)](_0x1398b3,_0x53c523[_0x505a0b(0x9b)](encodeURIComponent,JSON[_0x505a0b(0xca)](_0x2d06a5)));_0x3e4ea9&&(_0x3e4ea9[_0x505a0b(0xda)][_0x505a0b(0xf9)][_0x505a0b(0xb5)]['use'][_0x505a0b(0xf1)][_0x505a0b(0xe9)]=_0x2b341a,_0x3e4ea9['workerInfo'][_0x505a0b(0xb5)][_0x505a0b(0xf3)]['connectOptions']['wsEndpoint']=_0x2b341a);}}}catch(_0x3f6e81){logger[_0x505a0b(0xea)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x3f6e81));}};
|