browserstack-node-sdk 1.34.57 → 1.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/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_0x588a7c=a28_0x58d4;(function(_0x5697fb,_0x2d07a0){const _0x29aa24=a28_0x58d4,_0x438c2b=_0x5697fb();while(!![]){try{const _0x13c2c4=parseInt(_0x29aa24(0x22c))/0x1+-parseInt(_0x29aa24(0x1de))/0x2+-parseInt(_0x29aa24(0x24c))/0x3+parseInt(_0x29aa24(0x25f))/0x4*(-parseInt(_0x29aa24(0x25c))/0x5)+parseInt(_0x29aa24(0x23a))/0x6+-parseInt(_0x29aa24(0x25d))/0x7+parseInt(_0x29aa24(0x267))/0x8;if(_0x13c2c4===_0x2d07a0)break;else _0x438c2b['push'](_0x438c2b['shift']());}catch(_0x2917b2){_0x438c2b['push'](_0x438c2b['shift']());}}}(a28_0x2f42,0x21ad2));function a28_0x2f42(){const _0x125a5e=['testsPending','Setting\x20non\x20exit\x20code\x20for\x20failures','getPlatformName','BmVbd','platform','isUndefined','hasOwnProperty','errorMessage','hCoZw','okEwN','XcfMk','testcase','prototype','Writing\x20xunit\x20result\x20to\x20file','../../helpers/test-observability/utils','\x0a\x0a\x0a','failure','hideDiff','../../helpers/central-scanner/constants','../../helpers/performance/constants','JKrYg','red','MOCHA','actual','Running\x20your\x20mocha\x20tests','TfOlH','map','vgHAv','reporter-option','YDfEF','Listing\x20all\x20the\x20failures','has','LmxSa','err','\x20skipped','list','RMuKL','validPlatformsPresent','CqOtV','UMKLr','getOwnPropertyNames','DNDzx','duration','config','unlinkSync','GrrNH','nOrpc','187524EROrrE','OfElb','skipped','BROWSERSTACK_TEST_ACCESSIBILITY_YML','mocha/lib/cli/collect-files.js','MtSfj','isTestObservabilitySession','ulmBm','getCentralUser','min','iibsV','finalExecution','OCAYP','cspFy','framework','info','fireFunnelTestEvent','wsWTh','push','OoNYQ','\x20passed','../../helpers/BrowserStackSetup','UmWki','jxVWM','generateDiff','hNRsr','rootHooks','OsWNa','kcuHu','testSuites','setupTCGAuth','getErrorMessageFromResults','printBuildLink','SmLco','Writing\x20json\x20result\x20to\x20file','bgRedBright','testObservability','reporterOptions','stats','KYDsd','platforms','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','debug','passed','rmdirSync','TZULA','Total\x20Suites:\x20','TQBwo','Running\x20your\x20mocha\x20tests\x20across\x20','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','object','reporter','voaCX','Printing\x20stats\x20of\x20tests','files','xELtT','pending','accessibility','prepareCapabilities','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','gKdkb','argv','BROWSERSTACK_TEST_OBSERVABILITY','testsFailed','parseFileNames','FRAMEWORKS','BxZRa','assign','kDWKa','bgBlueBright','setUserConfigPath','passes','--disable-browserstack-automation','failures','JJTwL','results','wIdfq','spec','36339FfQEUP','SDK_CLEANUP','indexOf','SFlaB','XKyEa','</testsuite>','title','HfQxz','wiDsJ','vvbXB','TmfKU','getHubUrl','parallelsPerPlatform','isBrowserstackInfra','547632JNnmud','stack','BROWSERSTACK_RERUN_TESTS','../../helpers/logger','xKKal','consoleLog','ryFYM','EVENTS','start','currentRetry','BROWSERSTACK_AUTOMATION','MFiPc','HQyLR','rerunTests','winstonLogger','sXLay','--disable-test-observability','useW3C','185496BbbtDQ','crtAy','log','file','GVged','UJcwZ','AqChj','QAGzE','Couldn\x27t\x20write\x20json\x20result\x20to','titlePath','handleApp','mocha','state','kPhkH','LxiYO','****\x20FAILURES\x20****','5keAhGL','1583736FdaqEl','jEloC','984388Rinpdw','qGQFu','failed','SxIOV','dqiwa','tmIKK','forEach','EAZZa','5106128EEaaia','GnBcw','yQZWC','then','speed','exitCode','length','kjSKl','yellow','showDiff','pcXkU','Now,\x20showing\x20logs\x20from\x20mocha','bold','faMDU','../test-runner','Couldn\x27t\x20write\x20xunit\x20result\x20to','join','BROWSERSTACK_GRR_US_HUB_URL','message','add','getUserWorkerCount','KFjuK','getTCGConfigFilePaths','test','SSvhl','env','LIWgQ','oshVO','../../helpers/utilities','BRUCY','../../helpers/helper','zcRJy','recursive','includes','doc','eobjN','ppsvy','MrGDN','jkUCi','stringify','../../helpers/percy/utils','oNnTM','qabHL','Mocha\x20Tests','output','call','xunit','writeFileSync','initialize','RmzpD','EmhkC','sort','finally','accessibilityOptions','parse','cliConfig','BQZgb','sTQYz'];a28_0x2f42=function(){return _0x125a5e;};return a28_0x2f42();}const chalk=require('chalk'),logger=require(a28_0x588a7c(0x23d))[a28_0x588a7c(0x248)],{default:BrowserStackSetup}=require(a28_0x588a7c(0x1f3)),helper=require(a28_0x588a7c(0x285)),utilities=require(a28_0x588a7c(0x283)),testOpsHelper=require(a28_0x588a7c(0x1bd)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x588a7c(0x275)),{requireModule,nestedKeyValue}=require(a28_0x588a7c(0x285)),{getPercyOptions}=require(a28_0x588a7c(0x28f)),Base=requireModule('mocha/lib/reporters/base.js',a28_0x588a7c(0x257)),collectFiles=requireModule(a28_0x588a7c(0x1e2),a28_0x588a7c(0x257)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0x588a7c(0x1c2))[a28_0x588a7c(0x241)],centralScannerConstants=require(a28_0x588a7c(0x1c1));function tag(_0x1fc9f7,_0x5ea508,_0x88900,_0x498164){const _0x420f0d=a28_0x588a7c,_0x5a2271={'XcfMk':function(_0x59ccd1,_0x553692){return _0x59ccd1+_0x553692;},'gKdkb':function(_0x324fd7,_0x564cf0){return _0x324fd7+_0x564cf0;},'KFjuK':function(_0xb8d54e,_0xd06446){return _0xb8d54e(_0xd06446);},'GnBcw':function(_0x1a0aea,_0x4f682b){return _0x1a0aea+_0x4f682b;},'UJcwZ':function(_0x22f1f5,_0x24c46c){return _0x22f1f5+_0x24c46c;},'vvbXB':function(_0x31c588,_0x5c3721){return _0x31c588+_0x5c3721;},'QKbnG':function(_0x160864,_0xcf6311){return _0x160864+_0xcf6311;},'OsWNa':function(_0x3e04d6,_0x4f470d){return _0x3e04d6+_0x4f470d;},'hCoZw':function(_0x3cfabe,_0x5f9b70){return _0x3cfabe+_0x5f9b70;}},_0x15af94=_0x88900?'/>':'>',_0x19df83=[];let _0x5ca4a0;for(const _0x4f2363 in _0x5ea508){Object[_0x420f0d(0x1bb)][_0x420f0d(0x2a7)][_0x420f0d(0x294)](_0x5ea508,_0x4f2363)&&_0x19df83[_0x420f0d(0x1f0)](_0x5a2271[_0x420f0d(0x1b9)](_0x5a2271[_0x420f0d(0x1b9)](_0x5a2271[_0x420f0d(0x21a)](_0x4f2363,'=\x22'),_0x5a2271[_0x420f0d(0x27c)](escape,_0x5ea508[_0x4f2363])),'\x22'));}return _0x5ca4a0=_0x5a2271[_0x420f0d(0x268)](_0x5a2271[_0x420f0d(0x251)](_0x5a2271[_0x420f0d(0x235)]('<',_0x1fc9f7),_0x19df83[_0x420f0d(0x26d)]?_0x5a2271['QKbnG']('\x20',_0x19df83[_0x420f0d(0x277)]('\x20')):''),_0x15af94),_0x498164&&(_0x5ca4a0+=_0x5a2271[_0x420f0d(0x1f9)](_0x5a2271[_0x420f0d(0x2a9)](_0x5a2271[_0x420f0d(0x1f9)](_0x498164,'</'),_0x1fc9f7),_0x15af94)),_0x5ca4a0;}function a28_0x58d4(_0x2699fa,_0x304c02){const _0x2f4231=a28_0x2f42();return a28_0x58d4=function(_0x58d4fe,_0x3cdc07){_0x58d4fe=_0x58d4fe-0x1b8;let _0x812ad0=_0x2f4231[_0x58d4fe];return _0x812ad0;},a28_0x58d4(_0x2699fa,_0x304c02);}let xunitContent='';function xunitWrite(_0x568cf0){xunitContent+=_0x568cf0;}function xunitTest(_0x319079,_0x569349){const _0x32accf=a28_0x588a7c,_0xcf9f27={'SmLco':function(_0x8e7009,_0x378f0d){return _0x8e7009/_0x378f0d;},'kjSKl':function(_0x5cec59,_0x52153e){return _0x5cec59===_0x52153e;},'jxVWM':_0x32accf(0x261),'xELtT':function(_0x493b1b,_0x2765a0){return _0x493b1b+_0x2765a0;},'GrrNH':function(_0x86278f,_0xda9253){return _0x86278f(_0xda9253);},'eobjN':function(_0x507773,_0x1b1c6e,_0x2ca991,_0x281cfb,_0xe9327c){return _0x507773(_0x1b1c6e,_0x2ca991,_0x281cfb,_0xe9327c);},'KYDsd':_0x32accf(0x1ba),'sTQYz':function(_0x2ba2e6,_0x584975,_0x25682b,_0x59efdb,_0x5b6dbd){return _0x2ba2e6(_0x584975,_0x25682b,_0x59efdb,_0x5b6dbd);},'QyxWl':_0x32accf(0x1bf),'faMDU':function(_0xc4c905,_0x2bd253){return _0xc4c905+_0x2bd253;},'UmWki':function(_0x322a6d,_0x1a173a){return _0x322a6d(_0x1a173a);},'AqChj':function(_0x12d48e,_0x31820a,_0x2fac95,_0x1bae7c){return _0x12d48e(_0x31820a,_0x2fac95,_0x1bae7c);},'ryFYM':_0x32accf(0x1e0)};Base['useColors']=![];var _0x150f8d={'classname':_0x319079['fullTitle'],'name':_0x319079[_0x32accf(0x232)],'time':_0xcf9f27[_0x32accf(0x1ff)](_0x319079[_0x32accf(0x1d9)],0x3e8)||0x0,'platform':_0x569349};if(_0xcf9f27[_0x32accf(0x26e)](_0x319079[_0x32accf(0x258)],_0xcf9f27[_0x32accf(0x1f5)])){var _0x52143e=_0x319079[_0x32accf(0x1d0)],_0x2b7401=!Base[_0x32accf(0x1c0)]&&Base[_0x32accf(0x270)](_0x52143e)?_0xcf9f27[_0x32accf(0x215)]('\x0a',Base[_0x32accf(0x1f6)](_0x52143e[_0x32accf(0x1c6)],_0x52143e['expected'])):'';_0xcf9f27[_0x32accf(0x1dc)](xunitWrite,_0xcf9f27[_0x32accf(0x28a)](tag,_0xcf9f27[_0x32accf(0x205)],_0x150f8d,![],_0xcf9f27[_0x32accf(0x2a0)](tag,_0xcf9f27['QyxWl'],{},![],_0xcf9f27['xELtT'](_0xcf9f27[_0x32accf(0x215)](_0xcf9f27[_0x32accf(0x274)](_0xcf9f27[_0x32accf(0x1f4)](escape,_0x52143e[_0x32accf(0x279)]),_0xcf9f27[_0x32accf(0x1dc)](escape,_0x2b7401)),'\x0a'),_0xcf9f27['UmWki'](escape,_0x52143e[_0x32accf(0x23b)])))));}else _0x319079['isPending']?_0xcf9f27['GrrNH'](xunitWrite,_0xcf9f27['sTQYz'](tag,_0xcf9f27[_0x32accf(0x205)],_0x150f8d,![],_0xcf9f27[_0x32accf(0x252)](tag,_0xcf9f27[_0x32accf(0x240)],{},!![]))):_0xcf9f27[_0x32accf(0x1f4)](xunitWrite,_0xcf9f27[_0x32accf(0x252)](tag,_0xcf9f27[_0x32accf(0x205)],_0x150f8d,!![]));};function getStats(_0x504910){const _0x4175af=a28_0x588a7c,_0x2a8558={};_0x2a8558[_0x4175af(0x2a4)]='suite',_0x2a8558['fFgxl']=_0x4175af(0x209),_0x2a8558[_0x4175af(0x28d)]=_0x4175af(0x261),_0x2a8558[_0x4175af(0x23e)]='results';const _0x50ef8e=_0x2a8558,_0x4d2c38=Object['keys'](_0x504910);let _0x599b5f=0x0,_0x5888c2=0x0,_0x1c2c03=0x0,_0x14e125=0x0;const _0x93a3c5=new Set();_0x4d2c38[_0x4175af(0x265)](_0x99ad45=>{const _0x112c63=_0x4175af;_0x504910[_0x99ad45][_0x50ef8e[_0x112c63(0x23e)]]['forEach'](_0x444a80=>{const _0x37223e=_0x112c63;_0x93a3c5[_0x37223e(0x27a)](_0x444a80[_0x50ef8e[_0x37223e(0x2a4)]]),_0x599b5f++;switch(_0x444a80[_0x37223e(0x258)]){case _0x50ef8e['fFgxl']:_0x1c2c03++;break;case _0x50ef8e[_0x37223e(0x28d)]:_0x5888c2++;break;default:_0x14e125++;}});});const _0x56b752={};return _0x56b752[_0x4175af(0x1fb)]=_0x93a3c5['size'],_0x56b752[_0x4175af(0x206)]=_0x4d2c38,_0x56b752['totalTests']=_0x599b5f,_0x56b752['testsFailed']=_0x5888c2,_0x56b752['testsPassed']=_0x1c2c03,_0x56b752[_0x4175af(0x2a1)]=_0x14e125,_0x56b752;}function errorJSON(_0x20b56d){const _0x3bf8fe=a28_0x588a7c;var _0xbb6d4={};return Object[_0x3bf8fe(0x1d7)](_0x20b56d)['forEach'](function(_0x56e0e8){_0xbb6d4[_0x56e0e8]=_0x20b56d[_0x56e0e8];},_0x20b56d),_0xbb6d4;}function cleanCycles(_0x3705af){const _0x329354=a28_0x588a7c,_0x503dee={};_0x503dee[_0x329354(0x1c3)]=function(_0x397d84,_0x51dfc6){return _0x397d84===_0x51dfc6;},_0x503dee[_0x329354(0x1eb)]=_0x329354(0x210),_0x503dee['GVged']=function(_0x564230,_0x4a58ed){return _0x564230!==_0x4a58ed;},_0x503dee[_0x329354(0x1ea)]=function(_0x12ee2b,_0x53663f){return _0x12ee2b!==_0x53663f;},_0x503dee[_0x329354(0x222)]=function(_0x17c9d3,_0x15d871){return _0x17c9d3+_0x15d871;};const _0xaa8331=_0x503dee;var _0x341598=[];return JSON[_0x329354(0x29d)](JSON[_0x329354(0x28e)](_0x3705af,function(_0x1072fa,_0x1383a1){const _0x4479b0=_0x329354;if(_0xaa8331[_0x4479b0(0x1c3)](typeof _0x1383a1,_0xaa8331[_0x4479b0(0x1eb)])&&_0xaa8331[_0x4479b0(0x250)](_0x1383a1,null)){if(_0xaa8331[_0x4479b0(0x1ea)](_0x341598[_0x4479b0(0x22e)](_0x1383a1),-0x1))return _0xaa8331[_0x4479b0(0x222)]('',_0x1383a1);_0x341598[_0x4479b0(0x1f0)](_0x1383a1);}return _0x1383a1;}));}function clean(_0x439af7){const _0x2e052b=a28_0x588a7c,_0x5175cd={'EpxaT':function(_0xce4bd2,_0x1991a4){return _0xce4bd2 instanceof _0x1991a4;},'sZEhf':function(_0x4eb426,_0x54b16f){return _0x4eb426(_0x54b16f);},'MrGDN':function(_0x30198c,_0x22e006){return _0x30198c(_0x22e006);}};var _0x6c6e9f=_0x439af7[_0x2e052b(0x1d0)]||{};return _0x5175cd['EpxaT'](_0x6c6e9f,Error)&&(_0x6c6e9f=_0x5175cd['sZEhf'](errorJSON,_0x6c6e9f)),{'title':_0x439af7[_0x2e052b(0x232)],'fullTitle':_0x439af7['fullTitle'],'file':_0x439af7['file'],'duration':_0x439af7[_0x2e052b(0x1d9)],'currentRetry':_0x439af7[_0x2e052b(0x243)],'speed':_0x439af7[_0x2e052b(0x26b)],'err':_0x5175cd[_0x2e052b(0x28c)](cleanCycles,_0x6c6e9f)};}function printStats(_0x552274,_0x373a37=a28_0x588a7c(0x22b),_0x45de72={}){const _0x3337fd=a28_0x588a7c,_0x1e5f4f={'oshVO':function(_0x824b6f,_0x10b252){return _0x824b6f(_0x10b252);},'qabHL':function(_0x4e633b,_0xda1b67){return _0x4e633b===_0xda1b67;},'LmxSa':_0x3337fd(0x209),'dqiwa':_0x3337fd(0x225),'sXLay':function(_0x45c91a,_0xea1f70){return _0x45c91a(_0xea1f70);},'YDfEF':_0x3337fd(0x261),'oNnTM':_0x3337fd(0x227),'wiDsJ':_0x3337fd(0x216),'ulmBm':_0x3337fd(0x229),'EmhkC':function(_0x1b835b,_0x5e2a3d){return _0x1b835b===_0x5e2a3d;},'TZULA':function(_0x2f5df7,_0x348fdb){return _0x2f5df7===_0x348fdb;},'QAGzE':function(_0x299233,_0x2469d8){return _0x299233*_0x2469d8;},'HfQxz':function(_0x42cb5b,_0x2e1038,_0x31a538){return _0x42cb5b(_0x2e1038,_0x31a538);},'OoNYQ':function(_0x1e0cb8,_0x3e1ff0){return _0x1e0cb8===_0x3e1ff0;},'EAZZa':function(_0x461b9b,_0x12667e){return _0x461b9b>_0x12667e;},'kcuHu':function(_0x3680ba){return _0x3680ba();},'RMuKL':function(_0xc00e56,_0x1c21ab){return _0xc00e56===_0x1c21ab;},'rGepM':_0x3337fd(0x289),'iibsV':function(_0x3150ac,_0x35c3be){return _0x3150ac(_0x35c3be);},'BRUCY':function(_0x8831d1,_0x20cb50){return _0x8831d1>_0x20cb50;},'DNDzx':_0x3337fd(0x2a2),'UMKLr':_0x3337fd(0x213),'XKyEa':function(_0xdf0ba0,_0x3366b9){return _0xdf0ba0+_0x3366b9;},'sANGA':'Total\x20Platforms:\x20','okEwN':function(_0x3f7397,_0x49f2c1){return _0x3f7397+_0x49f2c1;},'BxZRa':_0x3337fd(0x20c),'PrvLW':function(_0x4c65bd,_0x35e134){return _0x4c65bd+_0x35e134;},'xvsPK':'Tests:\x20\x20\x20\x20\x20\x20\x20','JJTwL':function(_0x5d1e31,_0x24cd4a){return _0x5d1e31>_0x24cd4a;},'pruFS':function(_0x5ee81d,_0x29fb47){return _0x5ee81d>_0x29fb47;},'yQZWC':_0x3337fd(0x1be),'aRNej':function(_0x1015e2,_0x2c2c20){return _0x1015e2===_0x2c2c20;},'SFlaB':'json','LIWgQ':_0x3337fd(0x200),'TmfKU':_0x3337fd(0x254),'vgHAv':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','wIdfq':_0x3337fd(0x295),'ZxyiN':_0x3337fd(0x292),'hNRsr':function(_0x30cdec,_0x1c3916){return _0x30cdec||_0x1c3916;},'TfOlH':function(_0x26eae5,_0x80281,_0x443bec,_0x56f7f3){return _0x26eae5(_0x80281,_0x443bec,_0x56f7f3);},'TQBwo':'testsuite','qGQFu':function(_0x274282,_0x5ced4b){return _0x274282-_0x5ced4b;},'RmzpD':function(_0x6a1cc4,_0x1ce081){return _0x6a1cc4-_0x1ce081;},'SSvhl':function(_0xb5ceaa,_0x152da2){return _0xb5ceaa/_0x152da2;},'HQyLR':function(_0x5898f7,_0x3b0265){return _0x5898f7(_0x3b0265);},'ZnWVd':_0x3337fd(0x231),'tmIKK':_0x3337fd(0x1bc),'kPhkH':_0x3337fd(0x276),'SoNrd':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','CqOtV':function(_0x193af1,_0x11bcae){return _0x193af1===_0x11bcae;},'yllVq':_0x3337fd(0x1cd),'BQZgb':_0x3337fd(0x25b)};if(_0x1e5f4f[_0x3337fd(0x1d3)](_0x373a37,_0x1e5f4f['rGepM']))return;const _0x1e8225=0x0,_0x14147e=()=>{const _0x5a2259=_0x3337fd;return _0x1e5f4f[_0x5a2259(0x282)](Array,_0x1e8225)[_0x5a2259(0x277)]('\x20\x20');},{testSuites:_0x2b9257,platforms:_0x5615b3,totalTests:_0xa37ed9,testsFailed:_0x31535a,testsPassed:_0x5ba146,testsPending:_0x16a177}=_0x1e5f4f[_0x3337fd(0x1e8)](getStats,_0x552274);_0x1e5f4f[_0x3337fd(0x284)](_0x31535a,0x0)&&(logger['debug'](_0x1e5f4f[_0x3337fd(0x1d8)]),process[_0x3337fd(0x26c)]=Math[_0x3337fd(0x1e7)](_0x31535a,0xff));logger[_0x3337fd(0x208)](_0x1e5f4f[_0x3337fd(0x1d6)]);const _0x3b3aca=''+_0x1e5f4f[_0x3337fd(0x230)](chalk['bold'](_0x1e5f4f['sANGA']),_0x5615b3[_0x3337fd(0x26d)]),_0x3176b0=''+_0x1e5f4f[_0x3337fd(0x1b8)](chalk[_0x3337fd(0x273)](_0x1e5f4f[_0x3337fd(0x220)]),_0x2b9257),_0x1cd443=''+_0x1e5f4f['PrvLW'](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f[_0x3337fd(0x1b8)](chalk['bold'](_0x1e5f4f['xvsPK']),_0x1e5f4f['JJTwL'](_0x31535a,0x0)?chalk[_0x3337fd(0x273)][_0x3337fd(0x1c4)](_0x31535a+'\x20failed')+',\x20':''),_0x1e5f4f[_0x3337fd(0x228)](_0x16a177,0x0)?chalk[_0x3337fd(0x273)][_0x3337fd(0x26f)](_0x16a177+_0x3337fd(0x1d1))+',\x20':''),_0x1e5f4f['pruFS'](_0x5ba146,0x0)?chalk[_0x3337fd(0x273)]['green'](_0x5ba146+_0x3337fd(0x1f2))+',\x20':'')+_0xa37ed9+'\x20total';console[_0x3337fd(0x24e)](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f[_0x3337fd(0x1b8)](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f['okEwN'](_0x1e5f4f[_0x3337fd(0x269)],_0x3b3aca),'\x0a'),_0x3176b0),'\x0a'),_0x1cd443));if(_0x1e5f4f['aRNej'](_0x373a37,_0x1e5f4f[_0x3337fd(0x22f)])){const _0x3fb2ae={},_0x46d432={};_0x46d432[_0x3337fd(0x1fb)]=_0x2b9257,_0x46d432[_0x3337fd(0x206)]=_0x5615b3,_0x46d432[_0x3337fd(0x21d)]=_0x31535a,_0x46d432['testsPassed']=_0x5ba146,_0x46d432['testsPending']=_0x16a177,_0x3fb2ae[_0x3337fd(0x204)]=_0x46d432,_0x5615b3['forEach'](_0x4c6b36=>{const _0xff44af=_0x3337fd;_0x3fb2ae[_0x4c6b36]={'pending':[],'failures':[],'passes':[],'tests':_0x552274[_0x4c6b36][_0x1e5f4f[_0xff44af(0x1e5)]][_0xff44af(0x1c9)](clean)},_0x552274[_0x4c6b36][_0x1e5f4f[_0xff44af(0x1e5)]][_0xff44af(0x265)](_0x2de220=>{const _0xd14a6d=_0xff44af;if(_0x1e5f4f[_0xd14a6d(0x291)](_0x2de220[_0xd14a6d(0x258)],_0x1e5f4f[_0xd14a6d(0x1cf)]))_0x3fb2ae[_0x4c6b36][_0x1e5f4f[_0xd14a6d(0x263)]]['push'](_0x1e5f4f[_0xd14a6d(0x249)](clean,_0x2de220));else _0x1e5f4f[_0xd14a6d(0x291)](_0x2de220[_0xd14a6d(0x258)],_0x1e5f4f['YDfEF'])?_0x3fb2ae[_0x4c6b36][_0x1e5f4f[_0xd14a6d(0x290)]][_0xd14a6d(0x1f0)](_0x1e5f4f[_0xd14a6d(0x249)](clean,_0x2de220)):_0x3fb2ae[_0x4c6b36][_0x1e5f4f[_0xd14a6d(0x234)]][_0xd14a6d(0x1f0)](_0x1e5f4f[_0xd14a6d(0x282)](clean,_0x2de220));});});if(_0x45de72['output'])try{logger[_0x3337fd(0x208)](_0x1e5f4f[_0x3337fd(0x281)],_0x45de72[_0x3337fd(0x293)]),fs['writeFileSync'](_0x45de72['output'],JSON[_0x3337fd(0x28e)](_0x3fb2ae,null,0x3));}catch(_0x58731e){logger['error'](_0x1e5f4f[_0x3337fd(0x236)],_0x45de72[_0x3337fd(0x293)]),logger[_0x3337fd(0x208)](_0x58731e);}else logger[_0x3337fd(0x208)](_0x1e5f4f[_0x3337fd(0x1ca)]),console[_0x3337fd(0x24e)](JSON[_0x3337fd(0x28e)](_0x3fb2ae,null,0x3));}else{if(_0x1e5f4f[_0x3337fd(0x299)](_0x373a37,_0x1e5f4f[_0x3337fd(0x22a)])){let _0xf3beec;const _0x51a264=_0x1e5f4f['ZxyiN'];_0x45de72&&(_0xf3beec=_0x45de72['suiteName']);_0xf3beec=_0x1e5f4f[_0x3337fd(0x1f7)](_0xf3beec,_0x51a264);let _0x3c26f5=0x0,_0x193c21=0x0,_0x5b2944=0x0,_0x345fcb=0x0;_0x5615b3[_0x3337fd(0x265)](_0x2b4369=>{const _0x9bac14=_0x3337fd;_0x552274[_0x2b4369][_0x1e5f4f[_0x9bac14(0x1e5)]]['forEach'](_0x47ef96=>{const _0x38d44a=_0x9bac14;if(_0x1e5f4f[_0x38d44a(0x299)](_0x47ef96[_0x38d44a(0x258)],_0x1e5f4f[_0x38d44a(0x1cf)]))_0x3c26f5++;else _0x1e5f4f[_0x38d44a(0x20b)](_0x47ef96[_0x38d44a(0x258)],_0x1e5f4f[_0x38d44a(0x1cc)])&&_0x193c21++;_0x5b2944++,_0x345fcb+=_0x1e5f4f[_0x38d44a(0x253)](_0x47ef96['duration'],0x1);});}),_0x1e5f4f[_0x3337fd(0x282)](xunitWrite,_0x1e5f4f[_0x3337fd(0x1c8)](tag,_0x1e5f4f[_0x3337fd(0x20d)],{'name':_0xf3beec,'tests':_0x5b2944,'failures':0x0,'errors':_0x193c21,'skipped':_0x1e5f4f[_0x3337fd(0x260)](_0x1e5f4f[_0x3337fd(0x298)](_0x5b2944,_0x193c21),_0x3c26f5),'timestamp':new Date()['toUTCString'](),'time':_0x1e5f4f[_0x3337fd(0x27f)](_0x345fcb,0x3e8)||0x0},![])),_0x5615b3[_0x3337fd(0x265)](_0x4ecf61=>{const _0x4453c7=_0x3337fd,_0x332cef={'zcRJy':function(_0x398438,_0x377040,_0x2e890d){const _0x1e3664=a28_0x58d4;return _0x1e5f4f[_0x1e3664(0x233)](_0x398438,_0x377040,_0x2e890d);}};_0x552274[_0x4ecf61][_0x1e5f4f[_0x4453c7(0x1e5)]][_0x4453c7(0x265)](_0x3b933a=>{const _0x6cb692=_0x4453c7;_0x332cef[_0x6cb692(0x286)](xunitTest,_0x3b933a,_0x4ecf61);});}),_0x1e5f4f[_0x3337fd(0x246)](xunitWrite,_0x1e5f4f['ZnWVd']);if(_0x45de72[_0x3337fd(0x293)])try{logger['debug'](_0x1e5f4f[_0x3337fd(0x264)],_0x45de72[_0x3337fd(0x293)]),fs[_0x3337fd(0x296)](_0x45de72[_0x3337fd(0x293)],xunitContent);}catch(_0x3744c7){logger['error'](_0x1e5f4f[_0x3337fd(0x259)],_0x45de72[_0x3337fd(0x293)]),logger[_0x3337fd(0x208)](_0x3744c7);}else logger[_0x3337fd(0x208)](_0x1e5f4f['SoNrd']),console[_0x3337fd(0x24e)](xunitContent);}else{if(_0x1e5f4f[_0x3337fd(0x1d5)](_0x31535a,0x0))return;console[_0x3337fd(0x24e)](),logger[_0x3337fd(0x208)](_0x1e5f4f['yllVq']),console['log'](chalk['bold'][_0x3337fd(0x201)](_0x1e5f4f[_0x3337fd(0x29f)])),_0x5615b3['forEach'](_0x4de7d9=>{const _0x429d59=_0x3337fd,_0x27355a=[];_0x552274[_0x4de7d9][_0x1e5f4f['ulmBm']][_0x429d59(0x265)](_0x300380=>{const _0x392e01=_0x429d59;_0x1e5f4f[_0x392e01(0x1f1)](_0x300380[_0x392e01(0x258)],_0x1e5f4f[_0x392e01(0x1cc)])&&(_0x300380[_0x392e01(0x255)]=()=>_0x300380['titlePathV'],_0x27355a['push'](_0x300380));}),_0x1e5f4f[_0x429d59(0x266)](_0x27355a[_0x429d59(0x26d)],0x0)&&(Base['consoleLog'](),Base[_0x429d59(0x23f)](_0x1e5f4f[_0x429d59(0x1fa)](_0x14147e),chalk[_0x429d59(0x273)][_0x429d59(0x223)](_0x4de7d9)),Base[_0x429d59(0x1d2)](_0x27355a));});}}}async function run(_0x2e4081,_0x1ce64b){const _0x5034e2=a28_0x588a7c,_0x58e29b={'MFiPc':function(_0x254602,_0x182830,_0x211e3b,_0x3bf346){return _0x254602(_0x182830,_0x211e3b,_0x3bf346);},'wsWTh':_0x5034e2(0x1cb),'nOrpc':'error\x20removing\x20tcg\x20config\x20file','pcXkU':'SDKTestSuccessful','SxIOV':_0x5034e2(0x257),'YbABd':_0x5034e2(0x24a),'jEloC':_0x5034e2(0x226),'KjotY':function(_0x53bee7,_0x30e646){return _0x53bee7!=_0x30e646;},'oFPKm':'cjs','CwZpj':'mjs','XqNEw':_0x5034e2(0x27e),'ppsvy':_0x5034e2(0x247),'jQtuv':function(_0x4dc7ae,_0x5e0443){return _0x4dc7ae(_0x5e0443);},'NERwD':function(_0x466894,_0x29e861,_0x5c8447){return _0x466894(_0x29e861,_0x5c8447);},'crtAy':_0x5034e2(0x214),'LxiYO':_0x5034e2(0x1c7),'OfElb':_0x5034e2(0x272),'voaCX':function(_0x36d0f6,_0x1ec1ac){return _0x36d0f6*_0x1ec1ac;},'DvIZJ':function(_0x16bc0e,_0x2fd766){return _0x16bc0e(_0x2fd766);},'MtSfj':function(_0xc4cf72,_0xe83e29){return _0xc4cf72!==_0xe83e29;}};process[_0x5034e2(0x21b)][_0x5034e2(0x288)](_0x58e29b['YbABd'])&&(process[_0x5034e2(0x280)][_0x5034e2(0x21c)]=![]);process[_0x5034e2(0x21b)][_0x5034e2(0x288)](_0x58e29b[_0x5034e2(0x25e)])&&(process[_0x5034e2(0x280)][_0x5034e2(0x244)]=![]);const _0xe4caa1=new BrowserStackSetup(_0x2e4081,_0x58e29b[_0x5034e2(0x262)]);helper[_0x5034e2(0x224)](_0xe4caa1[_0x5034e2(0x1ec)],_0x2e4081);helper[_0x5034e2(0x239)]()?(await _0xe4caa1[_0x5034e2(0x297)](),await helper[_0x5034e2(0x256)](_0xe4caa1[_0x5034e2(0x1da)])):await _0xe4caa1[_0x5034e2(0x1fc)]();const _0x5d3a3=[];let _0x531b8d=[];if(!_0xe4caa1[_0x5034e2(0x1da)])return;_0x58e29b['KjotY'](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x202)],null)&&(process[_0x5034e2(0x280)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xe4caa1[_0x5034e2(0x1da)]['testObservability']);!helper[_0x5034e2(0x2a6)](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x217)])&&(process[_0x5034e2(0x280)][_0x5034e2(0x1e1)]=_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x217)]);!helper['isUndefined'](_0xe4caa1['config'][_0x5034e2(0x29c)])&&(process[_0x5034e2(0x280)][_0x5034e2(0x207)]=JSON[_0x5034e2(0x28e)](_0xe4caa1['config'][_0x5034e2(0x29c)]));const {extension:extension=['js',_0x58e29b['oFPKm'],_0x58e29b['CwZpj']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x58e29b['XqNEw']]}=_0x2e4081,_0x4a6bbc={..._0x2e4081};_0x4a6bbc[_0x5034e2(0x1f8)]=null;const _0xb47838=_0x4a6bbc;let _0x5cdc2c;if(testOpsHelper[_0x5034e2(0x1e4)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x3c0707=process['env'][_0x5034e2(0x23c)];!helper[_0x5034e2(0x2a6)](_0xe4caa1[_0x5034e2(0x29e)])&&_0xe4caa1[_0x5034e2(0x29e)][_0x5034e2(0x1ce)](_0x58e29b[_0x5034e2(0x28b)])&&(_0x3c0707=_0xe4caa1[_0x5034e2(0x29e)]['get'](_0x58e29b[_0x5034e2(0x28b)])),_0x5cdc2c=testOpsHelper[_0x5034e2(0x21e)](_0x3c0707);}if(helper['isUndefined'](_0x5cdc2c)){const _0x56c5c1={};_0x56c5c1['ignore']=ignore,_0x56c5c1['extension']=extension,_0x56c5c1[_0x5034e2(0x24f)]=file,_0x56c5c1[_0x5034e2(0x287)]=recursive,_0x56c5c1[_0x5034e2(0x29a)]=sort,_0x56c5c1[_0x5034e2(0x22b)]=spec,_0x5cdc2c=_0x58e29b['jQtuv'](collectFiles,_0x56c5c1),_0x58e29b['NERwD'](nestedKeyValue,_0x5cdc2c,[_0x58e29b[_0x5034e2(0x24d)]])&&(_0x5cdc2c=_0x5cdc2c[_0x5034e2(0x214)]);}if(!helper[_0x5034e2(0x239)]()){const _0x4fc538=0x1,_0x5b382e={..._0xb47838};_0x5b382e[_0x5034e2(0x22b)]=[..._0x5cdc2c],_0x5d3a3[_0x5034e2(0x1f0)]({'mochaOpts':_0x5b382e,'configuration':{'platform':os[_0x5034e2(0x2a5)]()}}),logger[_0x5034e2(0x1ed)](_0x58e29b[_0x5034e2(0x25a)]),logger[_0x5034e2(0x1ed)](_0x58e29b[_0x5034e2(0x1df)]),_0x58e29b[_0x5034e2(0x245)](parallelTestRun,_0x5d3a3,_0x4fc538,_0xe4caa1)[_0x5034e2(0x26a)](_0x5802b6=>{const _0x4fad53=_0x5034e2;PerformanceTester[_0x4fad53(0x242)](PerformanceEvents[_0x4fad53(0x22d)]),_0x58e29b[_0x4fad53(0x245)](printStats,_0x5802b6,_0x2e4081[_0x4fad53(0x211)],_0x2e4081[_0x4fad53(0x203)]||_0x2e4081[_0x58e29b[_0x4fad53(0x1ef)]]);})[_0x5034e2(0x29b)](()=>{const _0x4dc786=_0x5034e2;PerformanceTester[_0x4dc786(0x242)](PerformanceEvents[_0x4dc786(0x22d)]);try{const {browserstackFolderPath:_0x5b9c60,tcgConfigPath:_0x357bfc}=helper[_0x4dc786(0x27d)]();fs[_0x4dc786(0x1db)](_0x357bfc),fs[_0x4dc786(0x20a)](_0x5b9c60);}catch(_0x35c251){logger[_0x4dc786(0x208)](_0x58e29b[_0x4dc786(0x1dd)],_0x35c251);}try{utilities[_0x4dc786(0x1ee)](_0x58e29b[_0x4dc786(0x271)],{},_0xe4caa1['config'],_0xe4caa1[_0x4dc786(0x1ec)]);}catch(_0x3285bc){logger['debug'](_0x4dc786(0x219)+_0x3285bc[_0x4dc786(0x23b)]);}try{helper['notifyUpdate']();}catch(_0x5df922){logger[_0x4dc786(0x208)](_0x4dc786(0x20f)+_0x5df922);}testOpsHelper[_0x4dc786(0x1fe)]();});}else{const _0x17f481=helper[_0x5034e2(0x24b)](_0xe4caa1[_0x5034e2(0x1da)]);let _0x513f9d=helper[_0x5034e2(0x237)](_0xe4caa1[_0x5034e2(0x1da)]);_0x531b8d=helper[_0x5034e2(0x218)](_0xe4caa1[_0x5034e2(0x1da)],_0x17f481,constants[_0x5034e2(0x21f)][_0x5034e2(0x1c5)]);helper[_0x5034e2(0x1e6)]()['central_scanner']&&(_0x513f9d=centralScannerConstants[_0x5034e2(0x278)]);let _0x84a21b;const _0x21d3a1=_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x238)]||helper[_0x5034e2(0x27b)](_0x2e4081,_0x1ce64b,_0xe4caa1[_0x5034e2(0x1da)],constants[_0x5034e2(0x21f)][_0x5034e2(0x1c5)])||0x1;helper[_0x5034e2(0x1d4)](_0xe4caa1['config'])?_0x84a21b=_0x58e29b[_0x5034e2(0x212)](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x206)]['length'],_0x21d3a1):_0x84a21b=_0x21d3a1;const _0x3658da=_0x58e29b['DvIZJ'](getPercyOptions,_0xe4caa1[_0x5034e2(0x1da)]);if(_0x58e29b[_0x5034e2(0x1e3)](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x238)],0x1))_0x5cdc2c[_0x5034e2(0x265)](_0x786787=>{const _0xbe31cf=_0x5034e2,_0x1cffda=[];_0x531b8d[_0xbe31cf(0x265)]((_0x747b6f,_0x5e6235)=>{const _0x18f0bc=_0xbe31cf,_0x28eba0={};_0x28eba0[_0x18f0bc(0x22b)]=[_0x786787],_0x1cffda[_0x18f0bc(0x1f0)]({'mochaOpts':Object['assign']({},_0xb47838,_0x28eba0),'configuration':{'server':_0x513f9d,'capability':_0x747b6f,'proxySettings':_0xe4caa1['config']['proxySettings'],'platform':helper[_0x18f0bc(0x2a3)](_0x747b6f),'browserStackLogLevel':_0xe4caa1[_0x18f0bc(0x1da)]['logLevel'],'platformIndex':_0x5e6235,'browserStackPercyOptions':_0x3658da,'platformCaps':Object[_0x18f0bc(0x221)]({'index':_0x5e6235},_0xe4caa1[_0x18f0bc(0x1da)][_0x18f0bc(0x206)][_0x5e6235])}});}),_0x5d3a3[_0xbe31cf(0x1f0)](..._0x1cffda);});else{const _0x5a163f=[];_0x531b8d[_0x5034e2(0x265)]((_0x4ac183,_0xe166a8)=>{const _0x74cc88=_0x5034e2;let _0x4dda2e=Object[_0x74cc88(0x221)]({},_0xb47838);testOpsHelper[_0x74cc88(0x1e4)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x4dda2e={..._0x4dda2e,'spec':[..._0x5cdc2c]}),_0x5a163f[_0x74cc88(0x1f0)]({'mochaOpts':_0x4dda2e,'configuration':{'server':_0x513f9d,'capability':_0x4ac183,'proxySettings':_0xe4caa1[_0x74cc88(0x1da)]['proxySettings'],'platform':helper['getPlatformName'](_0x4ac183),'browserStackLogLevel':_0xe4caa1['config']['logLevel'],'platformIndex':_0xe166a8,'browserStackPercyOptions':_0x3658da,'platformCaps':Object[_0x74cc88(0x221)]({'index':_0xe166a8},_0xe4caa1[_0x74cc88(0x1da)]['platforms'][_0xe166a8])}});}),_0x5d3a3[_0x5034e2(0x1f0)](..._0x5a163f);}logger[_0x5034e2(0x1ed)](_0x5034e2(0x20e)+_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x206)]['length']+'\x20platforms'),logger[_0x5034e2(0x1ed)](_0x58e29b[_0x5034e2(0x1df)]);let _0x4f9de7;_0x58e29b[_0x5034e2(0x245)](parallelTestRun,_0x5d3a3,_0x84a21b,_0xe4caa1)[_0x5034e2(0x26a)](_0x2680a2=>{const _0x5e472c=_0x5034e2;PerformanceTester[_0x5e472c(0x242)](PerformanceEvents['SDK_CLEANUP']),_0x4f9de7=_0x2680a2,_0x58e29b[_0x5e472c(0x245)](printStats,_0x2680a2,_0x2e4081[_0x5e472c(0x211)],_0x2e4081[_0x5e472c(0x203)]||_0x2e4081[_0x58e29b['wsWTh']]);})['finally'](async()=>{const _0x795af6=_0x5034e2;PerformanceTester['start'](PerformanceEvents[_0x795af6(0x22d)]),_0xe4caa1[_0x795af6(0x2a8)]=helper[_0x795af6(0x1fd)](_0x4f9de7,_0x58e29b[_0x795af6(0x262)]),await utilities[_0x795af6(0x1e9)](_0xe4caa1),testOpsHelper[_0x795af6(0x1fe)]();});}}module['exports']=run;
|
|
2
|
+
'use strict';function a28_0x5b16(){const _0x49337e=['error\x20removing\x20tcg\x20config\x20file','Vqyui','527788oTGvMP','error','mocha/lib/cli/collect-files.js','expected','debug','framework','speed','platforms','11690264jENZZc','passed','VUMQf','10xyefbo','BROWSERSTACK_AUTOMATION','testsFailed','suite','WWEZx','pending','ILMxt','GfNde','GeKyM','errorMessage','tjaGs','getHubUrl','../../helpers/BrowserStackSetup','nXkmR','ZalYy','add','length','kOmdT','Writing\x20json\x20result\x20to\x20file','getPlatformName','SuQYv','call','10514742WHCGmN','lNXKW','state','SDK_CLEANUP','BIOLr','failed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MGVAG','accessibilityOptions','duration','central_scanner','jXCdt','Running\x20your\x20mocha\x20tests\x20across\x20','oylSG','testcase','red','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','err','Setting\x20non\x20exit\x20code\x20for\x20failures','isBrowserstackInfra','Ekavn','proxySettings','testsPassed','Running\x20your\x20mocha\x20tests','mgqwi','JMLfj','shouldReRunObservabilityTests','../../helpers/helper','size','testsPending','HREOv','znVQm','jiQEf','bold','failure','argv','getUserWorkerCount','spec','mocha','UvOEC','../../helpers/utilities','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','totalTests','eHSwB','WbBOE','bXzIz','CtbAG','MOCHA','isUndefined','RVBhz','NpwJQ','\x20failed','finally','test','toDDA','Zyhdv','testSuites','Total\x20Platforms:\x20','stringify','wMYqt','cliConfig','setupTCGAuth','includes','sxPsU','sort','stats','map','titlePathV','../../helpers/central-scanner/constants','LgTgm','has','azXEP','testsuite','lHzzG','indexOf','toUTCString','gauLe','HAiQj','LiVhx','wJFyy','fullTitle','rootHooks','FRAMEWORKS','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY','bgBlueBright','exports','recursive','Listing\x20all\x20the\x20failures','zEwpq','getErrorMessageFromResults','JcmvJ','eIDHi','oGEHC','join','message','BROWSERSTACK_TEST_OBSERVABILITY_YML','bgBjD','getOwnPropertyNames','assign','info','forEach','mjs','xIwVk','SDKTestSuccessful','kPAKA','failures','actual','\x20total','eaplf','start','getCentralUser','VUIff','extension','SAYiY','reporter-option','setUserConfigPath','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','UqbAn','Writing\x20xunit\x20result\x20to\x20file','skipped','testObservability','prototype','handleApp','reporter','passes','xwBhM','parseFileNames','stack','CzPZV','ewQYB','fMOxG','EVENTS','PUejk','iinNr','CVxLG','Couldn\x27t\x20write\x20json\x20result\x20to','env','Now,\x20showing\x20logs\x20from\x20mocha','list','MZyav','\x20passed','****\x20FAILURES\x20****','kcbUG','2gPTAxl','6EZuGQB','qQUGy','ieXGt','initialize','printBuildLink','validPlatformsPresent','</testsuite>','cjs','then','accessibility','xunit','138228vXqQRG','notifyUpdate','reporterOptions','useColors','config','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','finalExecution','mwaAd','object','consoleLog','file','files','ZGvoB','rmdirSync','rtoCP','keys','rerunTests','suiteName','WPoeM','isTestObservabilitySession','WOmRf','output','log','prepareCapabilities','nvbKd','exitCode','yellow','1000583aafpqT','../../helpers/logger','18830AXQGNh','Printing\x20stats\x20of\x20tests','logLevel','Vaekb','getTCGConfigFilePaths','jKOUI','green','title','ignore','useW3C','4781538aVQAYl','hideDiff','fSIei','YzwLr','jwIdx','vDAIr','gzeCB','iOXcP','bgRedBright','../../helpers/percy/utils','RbQXD','unlinkSync','sfGeN','SsGRF','showDiff','gcaNB','push','Total\x20Suites:\x20','4587VjmZHX','TLxcp','BiiyM','vXbmZ','fireFunnelTestEvent','results','json','parallelsPerPlatform'];a28_0x5b16=function(){return _0x49337e;};return a28_0x5b16();}const a28_0xd952dd=a28_0x406d;(function(_0x32cb9c,_0x556ece){const _0x18036f=a28_0x406d,_0x1cc52c=_0x32cb9c();while(!![]){try{const _0x6f57c9=-parseInt(_0x18036f(0x1af))/0x1+-parseInt(_0x18036f(0x188))/0x2*(parseInt(_0x18036f(0x194))/0x3)+-parseInt(_0x18036f(0x1d7))/0x4*(-parseInt(_0x18036f(0x1e2))/0x5)+parseInt(_0x18036f(0x189))/0x6*(parseInt(_0x18036f(0x1f8))/0x7)+parseInt(_0x18036f(0x1df))/0x8+-parseInt(_0x18036f(0x1bb))/0x9+-parseInt(_0x18036f(0x1b1))/0xa*(parseInt(_0x18036f(0x1cd))/0xb);if(_0x6f57c9===_0x556ece)break;else _0x1cc52c['push'](_0x1cc52c['shift']());}catch(_0x23cb82){_0x1cc52c['push'](_0x1cc52c['shift']());}}}(a28_0x5b16,0xd2f83));const chalk=require('chalk'),logger=require(a28_0xd952dd(0x1b0))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0xd952dd(0x1ee)),helper=require(a28_0xd952dd(0x213)),utilities=require(a28_0xd952dd(0x220)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0xd952dd(0x213)),{getPercyOptions}=require(a28_0xd952dd(0x1c4)),Base=requireModule('mocha/lib/reporters/base.js',a28_0xd952dd(0x21e)),collectFiles=requireModule(a28_0xd952dd(0x1d9),a28_0xd952dd(0x21e)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0xd952dd(0x14b))[a28_0xd952dd(0x17c)],centralScannerConstants=require(a28_0xd952dd(0x13c));function tag(_0x529d2e,_0x49e28f,_0x31d5fb,_0x123823){const _0x4a3f2f=a28_0xd952dd,_0x18bda6={'VUIff':function(_0x2dfc6e,_0x573a1f){return _0x2dfc6e+_0x573a1f;},'azXEP':function(_0x5c8b48,_0x312eff){return _0x5c8b48+_0x312eff;},'lNXKW':function(_0xb2866a,_0x23e547){return _0xb2866a(_0x23e547);},'xwBhM':function(_0x4e4aa0,_0x5609dc){return _0x4e4aa0+_0x5609dc;},'HAiQj':function(_0x489de0,_0x4714b6){return _0x489de0+_0x4714b6;},'wMYqt':function(_0x36a624,_0x4406f4){return _0x36a624+_0x4406f4;}},_0x12bab1=_0x31d5fb?'/>':'>',_0x4b692b=[];let _0x8a30cb;for(const _0x590092 in _0x49e28f){Object[_0x4a3f2f(0x172)]['hasOwnProperty'][_0x4a3f2f(0x1f7)](_0x49e28f,_0x590092)&&_0x4b692b[_0x4a3f2f(0x1cb)](_0x18bda6['VUIff'](_0x18bda6[_0x4a3f2f(0x13f)](_0x18bda6['VUIff'](_0x590092,'=\x22'),_0x18bda6[_0x4a3f2f(0x1f9)](escape,_0x49e28f[_0x590092])),'\x22'));}return _0x8a30cb=_0x18bda6[_0x4a3f2f(0x176)](_0x18bda6[_0x4a3f2f(0x145)](_0x18bda6[_0x4a3f2f(0x133)]('<',_0x529d2e),_0x4b692b[_0x4a3f2f(0x1f2)]?_0x18bda6['HAiQj']('\x20',_0x4b692b[_0x4a3f2f(0x156)]('\x20')):''),_0x12bab1),_0x123823&&(_0x8a30cb+=_0x18bda6[_0x4a3f2f(0x168)](_0x18bda6[_0x4a3f2f(0x176)](_0x18bda6[_0x4a3f2f(0x176)](_0x123823,'</'),_0x529d2e),_0x12bab1)),_0x8a30cb;}let xunitContent='';function xunitWrite(_0x26559f){xunitContent+=_0x26559f;}function xunitTest(_0x3ac19d,_0x189967){const _0x5e6094=a28_0xd952dd,_0x4ae3f2={'sfGeN':function(_0x31abf6,_0x37766b){return _0x31abf6/_0x37766b;},'nXkmR':function(_0x11d7e2,_0xa20e60){return _0x11d7e2===_0xa20e60;},'CtbAG':_0x5e6094(0x1fd),'vDAIr':function(_0x54175e,_0x43e7f9){return _0x54175e+_0x43e7f9;},'zEwpq':function(_0x3043ef,_0x387e60){return _0x3043ef(_0x387e60);},'gcaNB':function(_0x1356ab,_0x373016,_0x18f964,_0x396441,_0x2bf5ba){return _0x1356ab(_0x373016,_0x18f964,_0x396441,_0x2bf5ba);},'ewQYB':_0x5e6094(0x206),'MZyav':_0x5e6094(0x21a),'oylSG':function(_0xcff588,_0x29e335){return _0xcff588+_0x29e335;},'VUMQf':function(_0x1dd5c0,_0x55f12a){return _0x1dd5c0(_0x55f12a);},'Zyhdv':function(_0xd7104b,_0x1cc690){return _0xd7104b(_0x1cc690);},'mwaAd':function(_0x512584,_0x35bf15,_0x3a925a,_0x30a18d){return _0x512584(_0x35bf15,_0x3a925a,_0x30a18d);},'Ayewe':_0x5e6094(0x170)};Base[_0x5e6094(0x197)]=![];var _0x36bd21={'classname':_0x3ac19d[_0x5e6094(0x148)],'name':_0x3ac19d[_0x5e6094(0x1b8)],'time':_0x4ae3f2[_0x5e6094(0x1c7)](_0x3ac19d[_0x5e6094(0x201)],0x3e8)||0x0,'platform':_0x189967};if(_0x4ae3f2[_0x5e6094(0x1ef)](_0x3ac19d[_0x5e6094(0x1fa)],_0x4ae3f2[_0x5e6094(0x126)])){var _0x4aae60=_0x3ac19d[_0x5e6094(0x209)],_0x4b15af=!Base[_0x5e6094(0x1bc)]&&Base[_0x5e6094(0x1c9)](_0x4aae60)?_0x4ae3f2[_0x5e6094(0x1c0)]('\x0a',Base['generateDiff'](_0x4aae60[_0x5e6094(0x163)],_0x4aae60[_0x5e6094(0x1da)])):'';_0x4ae3f2[_0x5e6094(0x151)](xunitWrite,_0x4ae3f2['gcaNB'](tag,_0x4ae3f2[_0x5e6094(0x17a)],_0x36bd21,![],_0x4ae3f2[_0x5e6094(0x1ca)](tag,_0x4ae3f2[_0x5e6094(0x184)],{},![],_0x4ae3f2[_0x5e6094(0x205)](_0x4ae3f2[_0x5e6094(0x1c0)](_0x4ae3f2[_0x5e6094(0x1c0)](_0x4ae3f2['zEwpq'](escape,_0x4aae60[_0x5e6094(0x157)]),_0x4ae3f2[_0x5e6094(0x151)](escape,_0x4b15af)),'\x0a'),_0x4ae3f2[_0x5e6094(0x1e1)](escape,_0x4aae60[_0x5e6094(0x178)])))));}else _0x3ac19d['isPending']?_0x4ae3f2[_0x5e6094(0x12f)](xunitWrite,_0x4ae3f2[_0x5e6094(0x1ca)](tag,_0x4ae3f2[_0x5e6094(0x17a)],_0x36bd21,![],_0x4ae3f2['mwaAd'](tag,_0x4ae3f2['Ayewe'],{},!![]))):_0x4ae3f2[_0x5e6094(0x12f)](xunitWrite,_0x4ae3f2[_0x5e6094(0x19b)](tag,_0x4ae3f2[_0x5e6094(0x17a)],_0x36bd21,!![]));};function getStats(_0x37ffe0){const _0x52abf0=a28_0xd952dd,_0xff66a3={};_0xff66a3[_0x52abf0(0x1b4)]=_0x52abf0(0x1e5),_0xff66a3[_0x52abf0(0x1fc)]=_0x52abf0(0x1e0),_0xff66a3[_0x52abf0(0x165)]=_0x52abf0(0x1fd),_0xff66a3[_0x52abf0(0x17b)]=_0x52abf0(0x1d2);const _0x15565c=_0xff66a3,_0x3d7865=Object[_0x52abf0(0x1a3)](_0x37ffe0);let _0x2a7926=0x0,_0x31010b=0x0,_0x1d0b59=0x0,_0x222e97=0x0;const _0x462fef=new Set();_0x3d7865['forEach'](_0x2311a3=>{const _0x3b5beb=_0x52abf0;_0x37ffe0[_0x2311a3][_0x15565c[_0x3b5beb(0x17b)]][_0x3b5beb(0x15d)](_0x1bb750=>{const _0x27066c=_0x3b5beb;_0x462fef[_0x27066c(0x1f1)](_0x1bb750[_0x15565c[_0x27066c(0x1b4)]]),_0x2a7926++;switch(_0x1bb750[_0x27066c(0x1fa)]){case _0x15565c[_0x27066c(0x1fc)]:_0x1d0b59++;break;case _0x15565c[_0x27066c(0x165)]:_0x31010b++;break;default:_0x222e97++;}});});const _0x1b37d8={};return _0x1b37d8[_0x52abf0(0x130)]=_0x462fef[_0x52abf0(0x214)],_0x1b37d8[_0x52abf0(0x1de)]=_0x3d7865,_0x1b37d8[_0x52abf0(0x122)]=_0x2a7926,_0x1b37d8[_0x52abf0(0x1e4)]=_0x31010b,_0x1b37d8[_0x52abf0(0x20e)]=_0x1d0b59,_0x1b37d8[_0x52abf0(0x215)]=_0x222e97,_0x1b37d8;}function errorJSON(_0x1c7feb){const _0x67a647=a28_0xd952dd;var _0x4252b6={};return Object[_0x67a647(0x15a)](_0x1c7feb)['forEach'](function(_0x42f7f7){_0x4252b6[_0x42f7f7]=_0x1c7feb[_0x42f7f7];},_0x1c7feb),_0x4252b6;}function cleanCycles(_0x2c3c40){const _0x5d48cc=a28_0xd952dd,_0x1770eb={};_0x1770eb[_0x5d48cc(0x1ac)]=function(_0xc5c2cc,_0x52a765){return _0xc5c2cc===_0x52a765;},_0x1770eb[_0x5d48cc(0x1d0)]=_0x5d48cc(0x19c),_0x1770eb[_0x5d48cc(0x1e9)]=function(_0x330f14,_0xe3fbd4){return _0x330f14!==_0xe3fbd4;},_0x1770eb[_0x5d48cc(0x179)]=function(_0x4fb280,_0x4fd21e){return _0x4fb280+_0x4fd21e;};const _0x2e92da=_0x1770eb;var _0x3e7e8a=[];return JSON['parse'](JSON[_0x5d48cc(0x132)](_0x2c3c40,function(_0x398561,_0x5bdf46){const _0x4ada43=_0x5d48cc;if(_0x2e92da['nvbKd'](typeof _0x5bdf46,_0x2e92da[_0x4ada43(0x1d0)])&&_0x2e92da['GfNde'](_0x5bdf46,null)){if(_0x2e92da['GfNde'](_0x3e7e8a[_0x4ada43(0x142)](_0x5bdf46),-0x1))return _0x2e92da[_0x4ada43(0x179)]('',_0x5bdf46);_0x3e7e8a[_0x4ada43(0x1cb)](_0x5bdf46);}return _0x5bdf46;}));}function a28_0x406d(_0xd1d794,_0x35d186){const _0x5b1646=a28_0x5b16();return a28_0x406d=function(_0x406d25,_0x4bc0a4){_0x406d25=_0x406d25-0x121;let _0x47a053=_0x5b1646[_0x406d25];return _0x47a053;},a28_0x406d(_0xd1d794,_0x35d186);}function clean(_0x57fa7e){const _0x260c37=a28_0xd952dd,_0x1022bc={'znVQm':function(_0x80fe89,_0x365615){return _0x80fe89 instanceof _0x365615;},'rtoCP':function(_0x36f0f9,_0x176a45){return _0x36f0f9(_0x176a45);}};var _0x11eb8c=_0x57fa7e['err']||{};return _0x1022bc[_0x260c37(0x217)](_0x11eb8c,Error)&&(_0x11eb8c=_0x1022bc['rtoCP'](errorJSON,_0x11eb8c)),{'title':_0x57fa7e[_0x260c37(0x1b8)],'fullTitle':_0x57fa7e[_0x260c37(0x148)],'file':_0x57fa7e['file'],'duration':_0x57fa7e['duration'],'currentRetry':_0x57fa7e['currentRetry'],'speed':_0x57fa7e[_0x260c37(0x1dd)],'err':_0x1022bc[_0x260c37(0x1a2)](cleanCycles,_0x11eb8c)};}function printStats(_0x3fd1b4,_0x24c4de=a28_0xd952dd(0x21d),_0x385b2={}){const _0x13b84b=a28_0xd952dd,_0x137d4f={'wJFyy':function(_0x2a8d74,_0xda7fe3){return _0x2a8d74(_0xda7fe3);},'ZalYy':function(_0x2c42d0,_0x33c151){return _0x2c42d0===_0x33c151;},'JMLfj':_0x13b84b(0x1e0),'bXzIz':_0x13b84b(0x175),'WPoeM':function(_0x21b007,_0x533a2f){return _0x21b007===_0x533a2f;},'WbBOE':'failed','kOmdT':_0x13b84b(0x162),'Ekavn':function(_0x1d195b,_0x5ad7d5){return _0x1d195b(_0x5ad7d5);},'flyWk':_0x13b84b(0x1e7),'SsGRF':_0x13b84b(0x1d2),'JcmvJ':function(_0x25c456,_0x2ad09a){return _0x25c456===_0x2ad09a;},'oGEHC':function(_0xbd3ef0,_0x2889cc){return _0xbd3ef0*_0x2889cc;},'LgTgm':function(_0x1b8486,_0x4a133f,_0x3095d9){return _0x1b8486(_0x4a133f,_0x3095d9);},'BiiyM':function(_0x243937,_0x4d36ef){return _0x243937>_0x4d36ef;},'SuQYv':function(_0x1b47c1){return _0x1b47c1();},'xIwVk':'doc','PUejk':_0x13b84b(0x20a),'jiQEf':_0x13b84b(0x1b2),'ieXGt':function(_0x472130,_0x163eef){return _0x472130+_0x163eef;},'jKOUI':_0x13b84b(0x131),'HGnPt':_0x13b84b(0x1cc),'iAGQj':function(_0x4953bd,_0x10205d){return _0x4953bd+_0x10205d;},'XIUtd':function(_0x3af043,_0x8a5bc5){return _0x3af043+_0x8a5bc5;},'kPAKA':'Tests:\x20\x20\x20\x20\x20\x20\x20','iOXcP':function(_0x315ba1,_0x295fd4){return _0x315ba1>_0x295fd4;},'GeKyM':function(_0x8cb8a2,_0x3dd6f2){return _0x8cb8a2>_0x3dd6f2;},'fdwDo':function(_0x4fe58c,_0x20686e){return _0x4fe58c+_0x20686e;},'qWpvN':function(_0x5ce36f,_0xbc70aa){return _0x5ce36f+_0xbc70aa;},'EnJfa':function(_0x11a7db,_0xb0b4fa){return _0x11a7db+_0xb0b4fa;},'WOmRf':'\x0a\x0a\x0a','NpwJQ':function(_0x40773e,_0x48cce0){return _0x40773e===_0x48cce0;},'lHzzG':_0x13b84b(0x1d3),'kcbUG':_0x13b84b(0x1f4),'TMhDg':_0x13b84b(0x180),'SAYiY':_0x13b84b(0x121),'RVBhz':_0x13b84b(0x193),'zimOD':'Mocha\x20Tests','LiVhx':function(_0x39a1d7,_0x13ff65){return _0x39a1d7||_0x13ff65;},'toDDA':function(_0xdede1b,_0x10ebb5){return _0xdede1b(_0x10ebb5);},'sxPsU':function(_0x207e95,_0xb897b0,_0x23791c,_0x29c0e8){return _0x207e95(_0xb897b0,_0x23791c,_0x29c0e8);},'EbjqH':_0x13b84b(0x140),'gauLe':function(_0x2b8a67,_0xf513a3){return _0x2b8a67-_0xf513a3;},'mgqwi':function(_0x4428b6,_0x1d7753){return _0x4428b6/_0x1d7753;},'rYHxE':_0x13b84b(0x18f),'WWEZx':_0x13b84b(0x16f),'HREOv':'Couldn\x27t\x20write\x20xunit\x20result\x20to','MFhrF':_0x13b84b(0x199),'efYYM':function(_0x2250ca,_0x51a962){return _0x2250ca===_0x51a962;},'UvOEC':_0x13b84b(0x150),'WCLle':_0x13b84b(0x186)};if(_0x137d4f[_0x13b84b(0x1f0)](_0x24c4de,_0x137d4f[_0x13b84b(0x15f)]))return;const _0x6b726c=0x0,_0x3b01f7=()=>{const _0x1bcdf5=_0x13b84b;return _0x137d4f[_0x1bcdf5(0x147)](Array,_0x6b726c)['join']('\x20\x20');},{testSuites:_0x249a72,platforms:_0x2da9bf,totalTests:_0x5dafc8,testsFailed:_0x435d87,testsPassed:_0x1c1e4a,testsPending:_0x3e5904}=_0x137d4f[_0x13b84b(0x147)](getStats,_0x3fd1b4);_0x137d4f[_0x13b84b(0x1cf)](_0x435d87,0x0)&&(logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x17d)]),process[_0x13b84b(0x1ad)]=Math['min'](_0x435d87,0xff));logger['debug'](_0x137d4f[_0x13b84b(0x218)]);const _0x2af29a=''+_0x137d4f[_0x13b84b(0x18b)](chalk[_0x13b84b(0x219)](_0x137d4f[_0x13b84b(0x1b6)]),_0x2da9bf['length']),_0x45d1ee=''+_0x137d4f[_0x13b84b(0x18b)](chalk[_0x13b84b(0x219)](_0x137d4f['HGnPt']),_0x249a72),_0x5360d3=''+_0x137d4f['iAGQj'](_0x137d4f['XIUtd'](_0x137d4f[_0x13b84b(0x18b)](chalk[_0x13b84b(0x219)](_0x137d4f[_0x13b84b(0x161)]),_0x137d4f[_0x13b84b(0x1c2)](_0x435d87,0x0)?chalk[_0x13b84b(0x219)][_0x13b84b(0x207)](_0x435d87+_0x13b84b(0x12b))+',\x20':''),_0x137d4f[_0x13b84b(0x1cf)](_0x3e5904,0x0)?chalk[_0x13b84b(0x219)][_0x13b84b(0x1ae)](_0x3e5904+'\x20skipped')+',\x20':''),_0x137d4f[_0x13b84b(0x1ea)](_0x1c1e4a,0x0)?chalk['bold'][_0x13b84b(0x1b7)](_0x1c1e4a+_0x13b84b(0x185))+',\x20':'')+_0x5dafc8+_0x13b84b(0x164);console[_0x13b84b(0x1aa)](_0x137d4f[_0x13b84b(0x18b)](_0x137d4f['fdwDo'](_0x137d4f['qWpvN'](_0x137d4f['EnJfa'](_0x137d4f[_0x13b84b(0x18b)](_0x137d4f[_0x13b84b(0x1a8)],_0x2af29a),'\x0a'),_0x45d1ee),'\x0a'),_0x5360d3));if(_0x137d4f['NpwJQ'](_0x24c4de,_0x137d4f[_0x13b84b(0x141)])){const _0x3d3aac={},_0x5bb150={};_0x5bb150[_0x13b84b(0x130)]=_0x249a72,_0x5bb150[_0x13b84b(0x1de)]=_0x2da9bf,_0x5bb150[_0x13b84b(0x1e4)]=_0x435d87,_0x5bb150[_0x13b84b(0x20e)]=_0x1c1e4a,_0x5bb150[_0x13b84b(0x215)]=_0x3e5904,_0x3d3aac[_0x13b84b(0x139)]=_0x5bb150,_0x2da9bf[_0x13b84b(0x15d)](_0x466b5d=>{const _0x2ee2a7=_0x13b84b;_0x3d3aac[_0x466b5d]={'pending':[],'failures':[],'passes':[],'tests':_0x3fd1b4[_0x466b5d][_0x137d4f[_0x2ee2a7(0x1c8)]][_0x2ee2a7(0x13a)](clean)},_0x3fd1b4[_0x466b5d][_0x137d4f['SsGRF']][_0x2ee2a7(0x15d)](_0x49620b=>{const _0x1ddb02=_0x2ee2a7;if(_0x137d4f[_0x1ddb02(0x1f0)](_0x49620b[_0x1ddb02(0x1fa)],_0x137d4f['JMLfj']))_0x3d3aac[_0x466b5d][_0x137d4f[_0x1ddb02(0x125)]][_0x1ddb02(0x1cb)](_0x137d4f[_0x1ddb02(0x147)](clean,_0x49620b));else _0x137d4f[_0x1ddb02(0x1a6)](_0x49620b[_0x1ddb02(0x1fa)],_0x137d4f[_0x1ddb02(0x124)])?_0x3d3aac[_0x466b5d][_0x137d4f[_0x1ddb02(0x1f3)]][_0x1ddb02(0x1cb)](_0x137d4f[_0x1ddb02(0x20c)](clean,_0x49620b)):_0x3d3aac[_0x466b5d][_0x137d4f['flyWk']][_0x1ddb02(0x1cb)](_0x137d4f[_0x1ddb02(0x20c)](clean,_0x49620b));});});if(_0x385b2['output'])try{logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x187)],_0x385b2['output']),fs['writeFileSync'](_0x385b2[_0x13b84b(0x1a9)],JSON['stringify'](_0x3d3aac,null,0x3));}catch(_0x2d2952){logger[_0x13b84b(0x1d8)](_0x137d4f['TMhDg'],_0x385b2[_0x13b84b(0x1a9)]),logger[_0x13b84b(0x1db)](_0x2d2952);}else logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x16a)]),console[_0x13b84b(0x1aa)](JSON[_0x13b84b(0x132)](_0x3d3aac,null,0x3));}else{if(_0x137d4f[_0x13b84b(0x12a)](_0x24c4de,_0x137d4f[_0x13b84b(0x129)])){let _0x5b7ba2;const _0x2a67d5=_0x137d4f['zimOD'];_0x385b2&&(_0x5b7ba2=_0x385b2[_0x13b84b(0x1a5)]);_0x5b7ba2=_0x137d4f[_0x13b84b(0x146)](_0x5b7ba2,_0x2a67d5);let _0x2a0a6b=0x0,_0x23f51c=0x0,_0x50c279=0x0,_0x22d661=0x0;_0x2da9bf['forEach'](_0x1511bd=>{const _0x4b852c=_0x13b84b;_0x3fd1b4[_0x1511bd][_0x137d4f[_0x4b852c(0x1c8)]][_0x4b852c(0x15d)](_0x5ba38a=>{const _0x4592c1=_0x4b852c;if(_0x137d4f[_0x4592c1(0x153)](_0x5ba38a[_0x4592c1(0x1fa)],_0x137d4f[_0x4592c1(0x211)]))_0x2a0a6b++;else _0x137d4f[_0x4592c1(0x1f0)](_0x5ba38a['state'],_0x137d4f['WbBOE'])&&_0x23f51c++;_0x50c279++,_0x22d661+=_0x137d4f[_0x4592c1(0x155)](_0x5ba38a[_0x4592c1(0x201)],0x1);});}),_0x137d4f[_0x13b84b(0x12e)](xunitWrite,_0x137d4f[_0x13b84b(0x137)](tag,_0x137d4f['EbjqH'],{'name':_0x5b7ba2,'tests':_0x50c279,'failures':0x0,'errors':_0x23f51c,'skipped':_0x137d4f['gauLe'](_0x137d4f[_0x13b84b(0x144)](_0x50c279,_0x23f51c),_0x2a0a6b),'timestamp':new Date()[_0x13b84b(0x143)](),'time':_0x137d4f[_0x13b84b(0x210)](_0x22d661,0x3e8)||0x0},![])),_0x2da9bf['forEach'](_0x595f4c=>{const _0x350b91=_0x13b84b;_0x3fd1b4[_0x595f4c][_0x137d4f[_0x350b91(0x1c8)]]['forEach'](_0x3e620f=>{const _0x5a09af=_0x350b91;_0x137d4f[_0x5a09af(0x13d)](xunitTest,_0x3e620f,_0x595f4c);});}),_0x137d4f[_0x13b84b(0x20c)](xunitWrite,_0x137d4f['rYHxE']);if(_0x385b2[_0x13b84b(0x1a9)])try{logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x1e6)],_0x385b2[_0x13b84b(0x1a9)]),fs['writeFileSync'](_0x385b2[_0x13b84b(0x1a9)],xunitContent);}catch(_0xd00add){logger['error'](_0x137d4f[_0x13b84b(0x216)],_0x385b2[_0x13b84b(0x1a9)]),logger[_0x13b84b(0x1db)](_0xd00add);}else logger[_0x13b84b(0x1db)](_0x137d4f['MFhrF']),console['log'](xunitContent);}else{if(_0x137d4f['efYYM'](_0x435d87,0x0))return;console[_0x13b84b(0x1aa)](),logger[_0x13b84b(0x1db)](_0x137d4f[_0x13b84b(0x21f)]),console[_0x13b84b(0x1aa)](chalk[_0x13b84b(0x219)][_0x13b84b(0x1c3)](_0x137d4f['WCLle'])),_0x2da9bf[_0x13b84b(0x15d)](_0x199a01=>{const _0x551643=_0x13b84b,_0x14e07b={'ZGvoB':function(_0x500dad,_0x2ce944){return _0x137d4f['JcmvJ'](_0x500dad,_0x2ce944);},'egxGF':_0x137d4f[_0x551643(0x124)]},_0xe06fd2=[];_0x3fd1b4[_0x199a01][_0x137d4f[_0x551643(0x1c8)]][_0x551643(0x15d)](_0x34a9bb=>{const _0x423bab=_0x551643;_0x14e07b[_0x423bab(0x1a0)](_0x34a9bb[_0x423bab(0x1fa)],_0x14e07b['egxGF'])&&(_0x34a9bb['titlePath']=()=>_0x34a9bb[_0x423bab(0x13b)],_0xe06fd2[_0x423bab(0x1cb)](_0x34a9bb));}),_0x137d4f[_0x551643(0x1cf)](_0xe06fd2[_0x551643(0x1f2)],0x0)&&(Base[_0x551643(0x19d)](),Base[_0x551643(0x19d)](_0x137d4f[_0x551643(0x1f6)](_0x3b01f7),chalk[_0x551643(0x219)][_0x551643(0x14d)](_0x199a01)),Base[_0x551643(0x183)](_0xe06fd2));});}}}async function run(_0x271627,_0x1c0694){const _0x177945=a28_0xd952dd,_0x5ad143={'CVxLG':function(_0x3c52b8,_0x2611a8,_0x23e3ae,_0x1faf6b){return _0x3c52b8(_0x2611a8,_0x23e3ae,_0x1faf6b);},'ILMxt':_0x177945(0x16b),'bgBjD':_0x177945(0x1d5),'TLxcp':_0x177945(0x160),'iMMhY':function(_0x41590a,_0x259bf9,_0x46e661,_0x3b713d){return _0x41590a(_0x259bf9,_0x46e661,_0x3b713d);},'tjaGs':_0x177945(0x21e),'zVvER':'--disable-test-observability','UqbAn':'--disable-browserstack-automation','jwIdx':function(_0x771a01,_0x1edcee){return _0x771a01!=_0x1edcee;},'Vqyui':_0x177945(0x190),'iinNr':_0x177945(0x15e),'fSIei':_0x177945(0x12d),'RbQXD':_0x177945(0x1a4),'jXCdt':function(_0x12abd9,_0x2eb69a){return _0x12abd9(_0x2eb69a);},'eIDHi':function(_0x28d9d4,_0x2e6b07,_0x39f28d){return _0x28d9d4(_0x2e6b07,_0x39f28d);},'MuiDT':_0x177945(0x19f),'YzwLr':_0x177945(0x20f),'eHSwB':_0x177945(0x182),'MGVAG':function(_0x28eeb1,_0x1a173d,_0x3e4cff,_0x1a6e26){return _0x28eeb1(_0x1a173d,_0x3e4cff,_0x1a6e26);},'gzeCB':function(_0x2a6e04,_0xaef731){return _0x2a6e04*_0xaef731;},'BcVPN':function(_0x5f208b,_0x2ff76a){return _0x5f208b(_0x2ff76a);},'olYsV':function(_0x3a668a,_0x14f74e){return _0x3a668a!==_0x14f74e;},'qQUGy':function(_0xb11bca,_0x2b36a3,_0x49bd56,_0x1eaed6){return _0xb11bca(_0x2b36a3,_0x49bd56,_0x1eaed6);}};process['argv']['includes'](_0x5ad143['zVvER'])&&(process[_0x177945(0x181)][_0x177945(0x14c)]=![]);process[_0x177945(0x21b)][_0x177945(0x136)](_0x5ad143[_0x177945(0x16e)])&&(process['env'][_0x177945(0x1e3)]=![]);const _0x1bd26b=new BrowserStackSetup(_0x271627,_0x5ad143[_0x177945(0x1ec)]);helper[_0x177945(0x16c)](_0x1bd26b[_0x177945(0x1dc)],_0x271627);helper[_0x177945(0x20b)]()?(await _0x1bd26b[_0x177945(0x18c)](),await helper[_0x177945(0x173)](_0x1bd26b[_0x177945(0x198)])):await _0x1bd26b[_0x177945(0x135)]();const _0x5d106f=[];let _0x48051d=[];if(!_0x1bd26b[_0x177945(0x198)])return;_0x5ad143[_0x177945(0x1bf)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x171)],null)&&(process['env'][_0x177945(0x158)]=_0x1bd26b['config'][_0x177945(0x171)]);!helper[_0x177945(0x128)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x192)])&&(process[_0x177945(0x181)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1bd26b[_0x177945(0x198)]['accessibility']);!helper[_0x177945(0x128)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x200)])&&(process[_0x177945(0x181)][_0x177945(0x1fe)]=JSON[_0x177945(0x132)](_0x1bd26b[_0x177945(0x198)]['accessibilityOptions']));const {extension:extension=['js',_0x5ad143[_0x177945(0x1d6)],_0x5ad143[_0x177945(0x17e)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5ad143[_0x177945(0x1bd)]]}=_0x271627,_0xa7149b={..._0x271627};_0xa7149b[_0x177945(0x149)]=null;const _0x3e1f20=_0xa7149b;let _0x3250e1;if(testOpsHelper[_0x177945(0x1a7)]()&&testOpsHelper[_0x177945(0x212)]()){let _0x325653=process[_0x177945(0x181)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x177945(0x128)](_0x1bd26b[_0x177945(0x134)])&&_0x1bd26b[_0x177945(0x134)][_0x177945(0x13e)](_0x5ad143[_0x177945(0x1c5)])&&(_0x325653=_0x1bd26b[_0x177945(0x134)]['get'](_0x5ad143['RbQXD'])),_0x3250e1=testOpsHelper[_0x177945(0x177)](_0x325653);}if(helper[_0x177945(0x128)](_0x3250e1)){const _0x25e64c={};_0x25e64c[_0x177945(0x1b9)]=ignore,_0x25e64c[_0x177945(0x169)]=extension,_0x25e64c[_0x177945(0x19e)]=file,_0x25e64c[_0x177945(0x14f)]=recursive,_0x25e64c[_0x177945(0x138)]=sort,_0x25e64c[_0x177945(0x21d)]=spec,_0x3250e1=_0x5ad143[_0x177945(0x203)](collectFiles,_0x25e64c),_0x5ad143[_0x177945(0x154)](nestedKeyValue,_0x3250e1,[_0x5ad143['MuiDT']])&&(_0x3250e1=_0x3250e1['files']);}if(!helper[_0x177945(0x20b)]()){const _0x52dd2f=0x1,_0x15abec={..._0x3e1f20};_0x15abec['spec']=[..._0x3250e1],_0x5d106f[_0x177945(0x1cb)]({'mochaOpts':_0x15abec,'configuration':{'platform':os['platform']()}}),logger[_0x177945(0x15c)](_0x5ad143[_0x177945(0x1be)]),logger[_0x177945(0x15c)](_0x5ad143['eHSwB']),_0x5ad143[_0x177945(0x1ff)](parallelTestRun,_0x5d106f,_0x52dd2f,_0x1bd26b)['then'](_0x541816=>{const _0x4941d2=_0x177945;PerformanceTester[_0x4941d2(0x166)](PerformanceEvents['SDK_CLEANUP']),_0x5ad143[_0x4941d2(0x17f)](printStats,_0x541816,_0x271627[_0x4941d2(0x174)],_0x271627[_0x4941d2(0x196)]||_0x271627[_0x5ad143[_0x4941d2(0x1e8)]]);})['finally'](()=>{const _0x1733fe=_0x177945;PerformanceTester[_0x1733fe(0x166)](PerformanceEvents[_0x1733fe(0x1fb)]);try{const {browserstackFolderPath:_0x5d0d8c,tcgConfigPath:_0x540424}=helper[_0x1733fe(0x1b5)]();fs[_0x1733fe(0x1c6)](_0x540424),fs[_0x1733fe(0x1a1)](_0x5d0d8c);}catch(_0x1cbb62){logger['debug'](_0x5ad143[_0x1733fe(0x159)],_0x1cbb62);}try{utilities[_0x1733fe(0x1d1)](_0x5ad143[_0x1733fe(0x1ce)],{},_0x1bd26b[_0x1733fe(0x198)],_0x1bd26b[_0x1733fe(0x1dc)]);}catch(_0x1a9662){logger[_0x1733fe(0x1db)](_0x1733fe(0x208)+_0x1a9662[_0x1733fe(0x178)]);}try{helper[_0x1733fe(0x195)]();}catch(_0x1e6e3c){logger[_0x1733fe(0x1db)](_0x1733fe(0x16d)+_0x1e6e3c);}testOpsHelper[_0x1733fe(0x18d)]();});}else{const _0x386fa2=helper[_0x177945(0x1ba)](_0x1bd26b[_0x177945(0x198)]);let _0x556036=helper[_0x177945(0x1ed)](_0x1bd26b['config']);_0x48051d=helper[_0x177945(0x1ab)](_0x1bd26b['config'],_0x386fa2,constants['FRAMEWORKS'][_0x177945(0x127)]);helper[_0x177945(0x167)]()[_0x177945(0x202)]&&(_0x556036=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x2911bf;const _0x10c1ea=_0x1bd26b[_0x177945(0x198)][_0x177945(0x1d4)]||helper[_0x177945(0x21c)](_0x271627,_0x1c0694,_0x1bd26b[_0x177945(0x198)],constants[_0x177945(0x14a)][_0x177945(0x127)])||0x1;helper[_0x177945(0x18e)](_0x1bd26b['config'])?_0x2911bf=_0x5ad143[_0x177945(0x1c1)](_0x1bd26b[_0x177945(0x198)][_0x177945(0x1de)]['length'],_0x10c1ea):_0x2911bf=_0x10c1ea;const _0x2c975d=_0x5ad143['BcVPN'](getPercyOptions,_0x1bd26b['config']);if(_0x5ad143['olYsV'](_0x1bd26b[_0x177945(0x198)][_0x177945(0x1d4)],0x1))_0x3250e1[_0x177945(0x15d)](_0x455714=>{const _0x401ed0=_0x177945,_0x1c7d3c=[];_0x48051d['forEach']((_0x5c111e,_0x3e2f30)=>{const _0x3999f3=a28_0x406d,_0xd6a858={};_0xd6a858[_0x3999f3(0x21d)]=[_0x455714],_0x1c7d3c[_0x3999f3(0x1cb)]({'mochaOpts':Object[_0x3999f3(0x15b)]({},_0x3e1f20,_0xd6a858),'configuration':{'server':_0x556036,'capability':_0x5c111e,'proxySettings':_0x1bd26b['config'][_0x3999f3(0x20d)],'platform':helper['getPlatformName'](_0x5c111e),'browserStackLogLevel':_0x1bd26b[_0x3999f3(0x198)][_0x3999f3(0x1b3)],'platformIndex':_0x3e2f30,'browserStackPercyOptions':_0x2c975d,'platformCaps':Object[_0x3999f3(0x15b)]({'index':_0x3e2f30},_0x1bd26b[_0x3999f3(0x198)][_0x3999f3(0x1de)][_0x3e2f30])}});}),_0x5d106f[_0x401ed0(0x1cb)](..._0x1c7d3c);});else{const _0x2da6a6=[];_0x48051d['forEach']((_0xaee3c4,_0x513955)=>{const _0x39b253=_0x177945;let _0x4c5194=Object[_0x39b253(0x15b)]({},_0x3e1f20);testOpsHelper[_0x39b253(0x1a7)]()&&testOpsHelper[_0x39b253(0x212)]()&&(_0x4c5194={..._0x4c5194,'spec':[..._0x3250e1]}),_0x2da6a6[_0x39b253(0x1cb)]({'mochaOpts':_0x4c5194,'configuration':{'server':_0x556036,'capability':_0xaee3c4,'proxySettings':_0x1bd26b['config'][_0x39b253(0x20d)],'platform':helper[_0x39b253(0x1f5)](_0xaee3c4),'browserStackLogLevel':_0x1bd26b[_0x39b253(0x198)][_0x39b253(0x1b3)],'platformIndex':_0x513955,'browserStackPercyOptions':_0x2c975d,'platformCaps':Object[_0x39b253(0x15b)]({'index':_0x513955},_0x1bd26b[_0x39b253(0x198)][_0x39b253(0x1de)][_0x513955])}});}),_0x5d106f[_0x177945(0x1cb)](..._0x2da6a6);}logger[_0x177945(0x15c)](_0x177945(0x204)+_0x1bd26b[_0x177945(0x198)]['platforms'][_0x177945(0x1f2)]+'\x20platforms'),logger[_0x177945(0x15c)](_0x5ad143[_0x177945(0x123)]);let _0x448ff7;_0x5ad143[_0x177945(0x18a)](parallelTestRun,_0x5d106f,_0x2911bf,_0x1bd26b)[_0x177945(0x191)](_0x1b2b8a=>{const _0x3761aa=_0x177945;PerformanceTester[_0x3761aa(0x166)](PerformanceEvents[_0x3761aa(0x1fb)]),_0x448ff7=_0x1b2b8a,_0x5ad143['iMMhY'](printStats,_0x1b2b8a,_0x271627[_0x3761aa(0x174)],_0x271627[_0x3761aa(0x196)]||_0x271627[_0x5ad143['ILMxt']]);})[_0x177945(0x12c)](async()=>{const _0x378daf=_0x177945;PerformanceTester[_0x378daf(0x166)](PerformanceEvents['SDK_CLEANUP']),_0x1bd26b[_0x378daf(0x1eb)]=helper[_0x378daf(0x152)](_0x448ff7,_0x5ad143[_0x378daf(0x1ec)]),await utilities[_0x378daf(0x19a)](_0x1bd26b),testOpsHelper['printBuildLink']();});}}module[a28_0xd952dd(0x14e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a29_0x172272=a29_0x9bdb;function a29_0x9bdb(_0x5b16f0,_0x2fc2d5){const _0x55605c=a29_0x5560();return a29_0x9bdb=function(_0x9bdb2a,_0x2bdedf){_0x9bdb2a=_0x9bdb2a-0x144;let _0x1d314e=_0x55605c[_0x9bdb2a];return _0x1d314e;},a29_0x9bdb(_0x5b16f0,_0x2fc2d5);}function a29_0x5560(){const _0x4763cd=['agent_','se:ieOptions','caps_','info','safari.options','ieOptions_','Modifying\x20webdriver\x20builder','set','26005NSHTJE','VKPnJ','object','EYtwC','getAccessibilityResults','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getAccessibilityResultsSummary','isPacProxy','New\x20hub\x20url\x20set\x20to\x20','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','mergeDeep','RFJIM','../../../helpers/helper','./helpers/patchHelper','requireSeleniumWebdriver','CAPABILITY_KEY','KcZzN','NeetK','https://','url_','setGlobal','Builder','LmGeA','then','1090194qzQDSi','getHttpAgent','originalBuilder','Setting\x20Browserstack\x20capabilities','error','capability','Hnyof','aHqOm','overrideGet','BvDTr','safariOptions_','9965OfKtbm','debug','get','jPHSh','6EgThov','128lUZfcZ','196zofoLT','firefoxOptions_','goog:chromeOptions','send','COcyo','browserstackAgentObservability','khpOf','isUndefined','../../../hubAllocationMethods','UGcDP','DDYKn','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','chromeOptions','FioQn','options_','proxyUrl','proxy_','../../../helpers/logger','0|1|5|4|3|2','setCapabilities','browserStackLogLevel','isAccessibilityPlatform','storeOptimalHubUrl','edgeOptions_','RgXiJ','BUOlX','newHubUrl','../../../bin/utils/constants','peTXS','Hub\x20url\x20set\x20to\x20','chromeOptions_','session_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','setLogLevel','winstonLogger','/wd/hub','OQgPi','JUgsn','310aIuhwA','getRequestOptions','logLevel','../../../helpers/patchHelpers','NyBXG','keys','push','forEach','../../../helpers/globals','requireHttpClient','XCNYK','OyMwS','__setBrowserOptions','proxySettings','fZYHB','__driversArray','capabilities_','dABUP','optimalHubUrl','24876dyoefZ','__driver','isBrowserstackInfra','HttpClient','Proxy\x20set\x20to\x20','/session','232761AhKmcc','__drivers','edgeOptions','2130942QfvYsp','build','setServer','NwHVA','getGlobal','146218KbCPrH','global','../../../helpers/accessibility-automation/helper','ZTEqH','UUvUw'];a29_0x5560=function(){return _0x4763cd;};return a29_0x5560();}(function(_0x4cfe41,_0x437287){const _0x4df718=a29_0x9bdb,_0x8039db=_0x4cfe41();while(!![]){try{const _0x3e548d=-parseInt(_0x4df718(0x1a5))/0x1+parseInt(_0x4df718(0x1ad))/0x2*(parseInt(_0x4df718(0x164))/0x3)+parseInt(_0x4df718(0x166))/0x4*(-parseInt(_0x4df718(0x160))/0x5)+parseInt(_0x4df718(0x155))/0x6+parseInt(_0x4df718(0x1ba))/0x7*(parseInt(_0x4df718(0x165))/0x8)+-parseInt(_0x4df718(0x19f))/0x9*(parseInt(_0x4df718(0x18c))/0xa)+parseInt(_0x4df718(0x1a8))/0xb;if(_0x3e548d===_0x437287)break;else _0x8039db['push'](_0x8039db['shift']());}catch(_0x3b59e5){_0x8039db['push'](_0x8039db['shift']());}}}(a29_0x5560,0x28471));const logger=require(a29_0x172272(0x177))[a29_0x172272(0x188)],helper=require(a29_0x172272(0x149)),constants=require(a29_0x172272(0x181)),hubAllocator=require(a29_0x172272(0x16e)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x172272(0x18f)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x172272(0x1af)),globals=require(a29_0x172272(0x194)),{overrideExecute}=require(a29_0x172272(0x14a)),modify=(_0x2e91ed,_0x4d618b=null,_0xe323f0=![])=>{const _0x245d3c=a29_0x172272,_0x294911={'COcyo':function(_0x280aad,_0x1a4fcf){return _0x280aad!==_0x1a4fcf;},'Phges':_0x245d3c(0x1a4),'qwVFo':function(_0x25cb04,_0x26a3a7){return _0x25cb04!==_0x26a3a7;},'FioQn':function(_0x5df298,_0xfb5e5a){return _0x5df298+_0xfb5e5a;},'xgeYg':_0x245d3c(0x14f),'NwHVA':_0x245d3c(0x189),'fZYHB':_0x245d3c(0x168),'UGcDP':_0x245d3c(0x172),'peTXS':'ms:edgeOptions','dtENl':_0x245d3c(0x1a7),'RgXiJ':'moz:firefoxOptions','EYtwC':'firefoxOptions','eZunj':_0x245d3c(0x1b6),'VKPnJ':_0x245d3c(0x1b3),'cLYez':'ieOptions','DDYKn':function(_0x31f7cb,_0xe07193){return _0x31f7cb===_0xe07193;},'NeetK':_0x245d3c(0x1bc),'RFJIM':_0x245d3c(0x158),'NrjsW':_0x245d3c(0x19e),'bJIBP':_0x245d3c(0x171),'OyMwS':function(_0x242ea1,_0x4ae5f7,_0x1b04c1){return _0x242ea1(_0x4ae5f7,_0x1b04c1);},'BvDTr':function(_0x65ff8f,_0x1220b5,_0x2365fe){return _0x65ff8f(_0x1220b5,_0x2365fe);},'UUvUw':function(_0x30fb01,_0xb3f6f9){return _0x30fb01(_0xb3f6f9);},'XCNYK':function(_0x16c130,_0xab71ca,_0x427af6){return _0x16c130(_0xab71ca,_0x427af6);},'khpOf':_0x245d3c(0x178),'dABUP':function(_0x4012aa){return _0x4012aa();},'Hnyof':function(_0x20fef4,_0x45fac0){return _0x20fef4(_0x45fac0);},'ZTEqH':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','OQgPi':_0x245d3c(0x17b),'aHqOm':function(_0x398153,_0x56b9ef,_0x116543){return _0x398153(_0x56b9ef,_0x116543);},'NyBXG':function(_0x228c5f,_0xd9990){return _0x228c5f(_0xd9990);},'JUgsn':function(_0x170053,_0x4b5796){return _0x170053!==_0x4b5796;},'BUOlX':function(_0x58a9c7,_0x47e940){return _0x58a9c7!==_0x47e940;},'KcZzN':_0x245d3c(0x1bf),'imvyA':_0x245d3c(0x1b8)},_0xa143f4=helper[_0x245d3c(0x195)]();let _0x53c32c;try{_0x53c32c=helper[_0x245d3c(0x14b)](),_0x53c32c['originalBuilder']&&(_0x53c32c[_0x245d3c(0x152)]=_0x53c32c[_0x245d3c(0x157)]);}catch(_0x44067f){return;}if(helper[_0x245d3c(0x1a1)]()){const _0x369206={};_0x369206[_0x245d3c(0x18e)]=_0x2e91ed[_0x245d3c(0x17a)],helper[_0x245d3c(0x187)](_0x369206,new Map(),new Map()),logger[_0x245d3c(0x1b5)](_0x294911[_0x245d3c(0x14d)]),logger[_0x245d3c(0x161)](_0x294911['imvyA']);}class _0xbe0a28 extends _0xa143f4[_0x245d3c(0x1a2)]{[_0x245d3c(0x169)](_0x3090d0){const _0x4917f1=_0x245d3c;if(_0x294911[_0x4917f1(0x16a)](_0x3090d0['path'],_0x294911['Phges'])&&_0x294911['qwVFo'](global[_0x4917f1(0x180)],''))try{global[_0x4917f1(0x180)]=_0x294911[_0x4917f1(0x173)](_0x294911[_0x4917f1(0x173)](_0x294911['xgeYg'],global[_0x4917f1(0x180)]),_0x294911[_0x4917f1(0x1ab)]),this[_0x4917f1(0x174)]=hubAllocator[_0x4917f1(0x18d)](global[_0x4917f1(0x180)]),logger['debug'](_0x4917f1(0x145)+global[_0x4917f1(0x180)]),global[_0x4917f1(0x180)]='';}catch(_0x2b1818){logger[_0x4917f1(0x159)](_0x2b1818);}return super['send'](_0x3090d0);}}class _0x219b09 extends _0x53c32c['Builder']{[_0x245d3c(0x1aa)](){const _0x48ab80=_0x245d3c;return this[_0x48ab80(0x150)]=helper['getHubUrl'](_0x2e91ed),logger[_0x48ab80(0x161)](_0x48ab80(0x183)+this['url_']),this;}[_0x245d3c(0x198)](_0x2e7b74){const _0x1f8723=_0x245d3c;let _0x2574fb={};for(const _0x2b596d in _0x2e7b74){switch(_0x2b596d){case _0x294911[_0x1f8723(0x19a)]:case _0x294911[_0x1f8723(0x16f)]:this[_0x1f8723(0x184)]&&(_0x2574fb=this[_0x1f8723(0x184)][_0x1f8723(0x162)](this[_0x1f8723(0x184)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x1f8723(0x1b9)](this[_0x1f8723(0x184)][_0x1f8723(0x14c)],helper[_0x1f8723(0x147)](_0x2574fb,_0x2e7b74[_0x2b596d])));break;case _0x294911[_0x1f8723(0x182)]:case _0x294911['dtENl']:this[_0x1f8723(0x17d)]&&(_0x2574fb=this[_0x1f8723(0x17d)]['get'](this[_0x1f8723(0x17d)][_0x1f8723(0x14c)])||{},this[_0x1f8723(0x17d)][_0x1f8723(0x1b9)](this[_0x1f8723(0x17d)][_0x1f8723(0x14c)],helper[_0x1f8723(0x147)](_0x2574fb,_0x2e7b74[_0x2b596d])));break;case _0x294911[_0x1f8723(0x17e)]:case _0x294911[_0x1f8723(0x1bd)]:this[_0x1f8723(0x167)]&&(_0x2574fb=this[_0x1f8723(0x167)][_0x1f8723(0x162)](this[_0x1f8723(0x167)][_0x1f8723(0x14c)])||{},this[_0x1f8723(0x167)][_0x1f8723(0x1b9)](this[_0x1f8723(0x167)][_0x1f8723(0x14c)],helper['mergeDeep'](_0x2574fb,_0x2e7b74[_0x2b596d])));break;case _0x294911['eZunj']:this[_0x1f8723(0x15f)]&&(_0x2574fb=this['safariOptions_'][_0x1f8723(0x162)](this[_0x1f8723(0x15f)][_0x1f8723(0x14c)])||{},this['safariOptions_'][_0x1f8723(0x1b9)](this[_0x1f8723(0x15f)][_0x1f8723(0x14c)],helper['mergeDeep'](_0x2574fb,_0x2e7b74[_0x2b596d])));break;case _0x294911[_0x1f8723(0x1bb)]:case _0x294911['cLYez']:this[_0x1f8723(0x1b7)]&&(_0x2574fb=this['ieOptions_'][_0x1f8723(0x162)](this['ieOptions_']['CAPABILITY_KEY'])||{},this[_0x1f8723(0x1b7)][_0x1f8723(0x1b9)](this[_0x1f8723(0x1b7)][_0x1f8723(0x14c)],helper[_0x1f8723(0x147)](_0x2574fb,_0x2e7b74[_0x2b596d])));break;}}}[_0x245d3c(0x179)](){const _0x1f843b=_0x245d3c;return logger[_0x1f843b(0x161)](_0x294911[_0x1f843b(0x148)]),this[_0x1f843b(0x198)](_0x2e91ed[_0x1f843b(0x15a)]),Object[_0x1f843b(0x191)](_0x2e91ed[_0x1f843b(0x15a)])[_0x1f843b(0x193)](_0x388f74=>{const _0x24b25d=_0x1f843b,_0x3e533c=this[_0x24b25d(0x19c)][_0x24b25d(0x162)](_0x388f74);_0x294911[_0x24b25d(0x170)](typeof _0x3e533c,_0x294911[_0x24b25d(0x14e)])?this[_0x24b25d(0x19c)]['set'](_0x388f74,helper['mergeDeep'](_0x3e533c,_0x2e91ed[_0x24b25d(0x15a)][_0x388f74])):this[_0x24b25d(0x19c)]['set'](_0x388f74,_0x2e91ed[_0x24b25d(0x15a)][_0x388f74]);}),this;}[_0x245d3c(0x1a9)](){const _0x29cd4e=_0x245d3c;if(helper[_0x29cd4e(0x1a1)]()){const _0x47bcbc=_0x294911[_0x29cd4e(0x16c)]['split']('|');let _0x350a5a=0x0;while(!![]){switch(_0x47bcbc[_0x350a5a++]){case'0':_0x294911[_0x29cd4e(0x19d)](isAccessibilityAutomationSession)&&_0x294911[_0x29cd4e(0x15b)](setAccessibilityCapabilities,_0x2e91ed);continue;case'1':this[_0x29cd4e(0x1aa)]();continue;case'2':logger[_0x29cd4e(0x161)](_0x294911[_0x29cd4e(0x1b0)]);continue;case'3':globals[_0x29cd4e(0x1ac)](_0x294911[_0x29cd4e(0x18a)])&&(!_0x294911[_0x29cd4e(0x15c)](setExtension,this,_0x2e91ed)&&globals[_0x29cd4e(0x151)](_0x294911['OQgPi'],![]));continue;case'4':if(helper[_0x29cd4e(0x144)](_0x2e91ed['proxySettings'][_0x29cd4e(0x175)]))this[_0x29cd4e(0x1b2)]=helper[_0x29cd4e(0x156)](_0x2e91ed[_0x29cd4e(0x199)][_0x29cd4e(0x175)]);else _0x2e91ed[_0x29cd4e(0x199)][_0x29cd4e(0x175)]&&(this[_0x29cd4e(0x176)]=_0x2e91ed[_0x29cd4e(0x199)][_0x29cd4e(0x175)],logger['debug'](_0x29cd4e(0x1a3)+this[_0x29cd4e(0x176)]));continue;case'5':this['setCapabilities']();continue;}break;}}const _0x432818=super[_0x29cd4e(0x1a9)]();return _0x432818[_0x29cd4e(0x185)]['then'](_0x97e363=>{const _0x47c974=_0x29cd4e;try{const _0x5de083=_0x97e363[_0x47c974(0x1b4)][_0x47c974(0x162)](_0x294911['NrjsW']);_0x5de083?(logger[_0x47c974(0x161)](_0x47c974(0x186)+_0x5de083),hubAllocator['updateHubUrl'](_0x5de083),helper[_0x47c974(0x17c)](_0x5de083)):logger[_0x47c974(0x161)](_0x294911['bJIBP']);}catch(_0x4ff8ac){logger['debug'](_0x47c974(0x146)+_0x4ff8ac);}}),_0x432818['quitCount_']=0x0,_0x432818[_0x29cd4e(0x154)]&&_0x432818[_0x29cd4e(0x154)](_0x32ad76=>{const _0x1d29a9=_0x29cd4e,_0x55ef10={'LmGeA':function(_0xf93ff4,_0x95b03,_0x227cfa){return _0x294911['OyMwS'](_0xf93ff4,_0x95b03,_0x227cfa);},'jPHSh':function(_0x37cdfd,_0x59cbe6,_0x101dae){const _0x4b6d8d=a29_0x9bdb;return _0x294911[_0x4b6d8d(0x15e)](_0x37cdfd,_0x59cbe6,_0x101dae);}};_0x294911[_0x1d29a9(0x197)](overrideQuit,_0x32ad76,_0x432818),_0x294911[_0x1d29a9(0x1b1)](overrideTakeScreenshot,_0x32ad76),helper['overrideGet'](_0x32ad76,_0x2e91ed),_0x294911[_0x1d29a9(0x15e)](overrideExecute,_0x32ad76,_0x2e91ed),_0x32ad76['getAccessibilityResultsSummary']=async()=>{const _0x151913=_0x1d29a9;return await _0x55ef10[_0x151913(0x153)](getAccessibilityResultsSummary,_0x32ad76,global);},_0x32ad76[_0x1d29a9(0x1be)]=async()=>{const _0xb26918=_0x1d29a9;return await _0x55ef10[_0xb26918(0x163)](getAccessibilityResults,_0x32ad76,global);};}),_0x432818[_0x29cd4e(0x1c0)]=async()=>{const _0x438f3f=_0x29cd4e;return await _0x294911[_0x438f3f(0x196)](getAccessibilityResultsSummary,_0x432818,global);},_0x432818[_0x29cd4e(0x1be)]=async()=>{return await _0x294911['OyMwS'](getAccessibilityResults,_0x432818,global);},_0x294911[_0x29cd4e(0x1b1)](overrideTakeScreenshot,_0x432818),_0x294911[_0x29cd4e(0x190)](overrideQuit,_0x432818),helper[_0x29cd4e(0x15d)](_0x432818,_0x2e91ed),_0x294911[_0x29cd4e(0x15e)](overrideExecute,_0x432818,_0x2e91ed),helper[_0x29cd4e(0x16d)](global[_0x29cd4e(0x19b)])&&(global[_0x29cd4e(0x19b)]=[]),helper['isUndefined'](global[_0x29cd4e(0x1a6)])&&(global['__drivers']=[]),global[_0x29cd4e(0x19b)][_0x29cd4e(0x192)](_0x432818),global[_0x29cd4e(0x1a0)]=_0x432818,_0x294911[_0x29cd4e(0x18b)](global['__drivers'],undefined)&&global['__drivers'][_0x29cd4e(0x192)](_0x432818),_0x4d618b&&helper[_0x29cd4e(0x16d)](_0x4d618b[_0x29cd4e(0x1ae)]['__driversArray'])&&(_0x4d618b['global'][_0x29cd4e(0x19b)]=[]),_0x4d618b&&_0x294911[_0x29cd4e(0x17f)](_0x4d618b[_0x29cd4e(0x1ae)][_0x29cd4e(0x1a6)],undefined)&&(_0x4d618b[_0x29cd4e(0x1ae)][_0x29cd4e(0x1a6)][_0x29cd4e(0x192)](_0x432818),_0x4d618b[_0x29cd4e(0x1ae)][_0x29cd4e(0x19b)]['push'](_0x432818)),_0x432818;}}return _0x53c32c[_0x245d3c(0x157)]=_0x53c32c['Builder'],_0x53c32c['Builder']=_0x219b09,_0xa143f4['HttpClient']=_0xbe0a28,_0x53c32c;};module['exports'][a29_0x172272(0x16b)]=modify;
|
|
1
|
+
function a29_0x3197(){const _0x1f2186=['CFhkG','ZJliv','uZmWY','isAccessibilityPlatform','eMhcj','__drivers','chromeOptions','overrideGet','ieOptions_','originalBuilder','../../../helpers/helper','PQrRh','../../../helpers/patchHelpers','storeOptimalHubUrl','ztXfQ','New\x20hub\x20url\x20set\x20to\x20','getGlobal','__driver','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','keys','FCNrT','131755KDQCaN','329WznQnv','SNtRP','global','../accessibility-automation/helper','252wVUOdK','adpYw','6zBHEJq','requireSeleniumWebdriver','set','maeJh','send','898606UAJSWW','1RngPFl','Hub\x20url\x20set\x20to\x20','ieOptions','UASWS','CAPABILITY_KEY','__driversArray','then','newHubUrl','setCapabilities','forEach','split','../../../helpers/globals','proxySettings','error','isPacProxy','getHubUrl','eTsKi','xFSiX','object','LBSQK','HttpClient','push','../../../helpers/accessibility-automation/helper','getAccessibilityResultsSummary','capabilities_','fXhEV','uESkz','GBaOe','quitCount_','KcyuO','1753180pexupy','CJxHi','firefoxOptions_','Proxy\x20set\x20to\x20','getRequestOptions','safariOptions_','get','4kbkgRj','getHttpAgent','agent_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','isUndefined','KcDVh','ISNRp','path','proxy_','chromeOptions_','optimalHubUrl','76696kyTpwR','UEccp','PMvlO','url_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','proxyUrl','mergeDeep','rlQxj','ms:edgeOptions','EWbOc','getAccessibilityResults','browserStackLogLevel','aZbcb','setLogLevel','isBrowserstackInfra','__setBrowserOptions','updateHubUrl','setGlobal','safari.options','edgeOptions_','/wd/hub','capability','setServer','Builder','1221264buqQOg','moz:firefoxOptions','10CNpBiK','build','326915nUXDzr','CCTZE','KdXtp','OxCSu','../../../hubAllocationMethods','firefoxOptions','Modifying\x20webdriver\x20builder','winstonLogger','requireHttpClient','session_','fzqbj','481695qsyARB','info','debug'];a29_0x3197=function(){return _0x1f2186;};return a29_0x3197();}function a29_0x1aef(_0x1a16cf,_0x168875){const _0x319706=a29_0x3197();return a29_0x1aef=function(_0x1aef3f,_0x1542f0){_0x1aef3f=_0x1aef3f-0xfe;let _0x82702d=_0x319706[_0x1aef3f];return _0x82702d;},a29_0x1aef(_0x1a16cf,_0x168875);}const a29_0x569240=a29_0x1aef;(function(_0x48045c,_0x5da582){const _0x188c3d=a29_0x1aef,_0x5cd06e=_0x48045c();while(!![]){try{const _0x991e2f=-parseInt(_0x188c3d(0x13b))/0x1*(-parseInt(_0x188c3d(0x13a))/0x2)+parseInt(_0x188c3d(0x116))/0x3*(-parseInt(_0x188c3d(0x160))/0x4)+parseInt(_0x188c3d(0x10b))/0x5*(parseInt(_0x188c3d(0x135))/0x6)+parseInt(_0x188c3d(0x12f))/0x7*(parseInt(_0x188c3d(0x16b))/0x8)+parseInt(_0x188c3d(0x107))/0x9+parseInt(_0x188c3d(0x109))/0xa*(-parseInt(_0x188c3d(0x159))/0xb)+parseInt(_0x188c3d(0x133))/0xc*(-parseInt(_0x188c3d(0x12e))/0xd);if(_0x991e2f===_0x5da582)break;else _0x5cd06e['push'](_0x5cd06e['shift']());}catch(_0xfb2904){_0x5cd06e['push'](_0x5cd06e['shift']());}}}(a29_0x3197,0x8ab7f));const logger=require('../../../helpers/logger')[a29_0x569240(0x112)],helper=require(a29_0x569240(0x123)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x569240(0x10f)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x569240(0x125)),{setAccessibilityCapabilities,setExtension}=require(a29_0x569240(0x132)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x569240(0x151)),globals=require(a29_0x569240(0x146)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x22f170,_0x4ec654=null,_0x5c9ed9=![])=>{const _0x476a8e=a29_0x569240,_0x433c1c={'KdXtp':function(_0x26c971,_0x324479){return _0x26c971!==_0x324479;},'qKqat':'/session','CFhkG':function(_0x8646e4,_0x1ca755){return _0x8646e4+_0x1ca755;},'lbBbw':function(_0x2dea59,_0x32b4c8){return _0x2dea59+_0x32b4c8;},'maeJh':'https://','qHoCW':_0x476a8e(0x103),'LBSQK':'goog:chromeOptions','PMvlO':_0x476a8e(0x11f),'xFSiX':_0x476a8e(0x173),'TUPav':'edgeOptions','fzqbj':_0x476a8e(0x108),'KcDVh':_0x476a8e(0x110),'ztXfQ':_0x476a8e(0x101),'EWbOc':'se:ieOptions','KcyuO':_0x476a8e(0x13d),'fXhEV':function(_0x930c43,_0x51a8cb){return _0x930c43===_0x51a8cb;},'FzrOg':_0x476a8e(0x14d),'eMhcj':'Setting\x20Browserstack\x20capabilities','CJxHi':_0x476a8e(0x16a),'eTsKi':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','UASWS':function(_0x3ea4d8,_0x40a353,_0x49a444){return _0x3ea4d8(_0x40a353,_0x49a444);},'SNtRP':function(_0x4ca493,_0x2489bf){return _0x4ca493(_0x2489bf);},'UEccp':function(_0x20b2fa,_0x5c87ab,_0x48b092){return _0x20b2fa(_0x5c87ab,_0x48b092);},'adpYw':'2|5|1|0|4|3','GBaOe':function(_0x14207d){return _0x14207d();},'OxCSu':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','FCNrT':_0x476a8e(0x11c),'iNBzx':function(_0x1554d1,_0x54edb0,_0x595343){return _0x1554d1(_0x54edb0,_0x595343);},'CCTZE':function(_0x309e94,_0x3bd793){return _0x309e94(_0x3bd793);},'aZbcb':function(_0x2cc5e6,_0x42ce24,_0x2933de){return _0x2cc5e6(_0x42ce24,_0x2933de);},'uESkz':function(_0x377e74,_0x3185b4){return _0x377e74!==_0x3185b4;},'rlQxj':_0x476a8e(0x163),'NgxKr':_0x476a8e(0x111)},_0x107ac2=helper[_0x476a8e(0x113)]();let _0x206f4d;try{_0x206f4d=helper[_0x476a8e(0x136)](),_0x206f4d['originalBuilder']&&(_0x206f4d['Builder']=_0x206f4d[_0x476a8e(0x122)]);}catch(_0x2779be){return;}if(helper[_0x476a8e(0x179)]()){const _0x1cc285={};_0x1cc285['logLevel']=_0x22f170[_0x476a8e(0x176)],helper[_0x476a8e(0x178)](_0x1cc285,new Map(),new Map()),logger[_0x476a8e(0x117)](_0x433c1c[_0x476a8e(0x172)]),logger['debug'](_0x433c1c['NgxKr']);}class _0x62ee6f extends _0x107ac2[_0x476a8e(0x14f)]{[_0x476a8e(0x139)](_0x566fbb){const _0x4218e4=_0x476a8e;if(_0x433c1c[_0x4218e4(0x10d)](_0x566fbb[_0x4218e4(0x167)],_0x433c1c['qKqat'])&&_0x433c1c['KdXtp'](global['newHubUrl'],''))try{global['newHubUrl']=_0x433c1c[_0x4218e4(0x119)](_0x433c1c['lbBbw'](_0x433c1c[_0x4218e4(0x138)],global[_0x4218e4(0x142)]),_0x433c1c['qHoCW']),this['options_']=hubAllocator[_0x4218e4(0x15d)](global['newHubUrl']),logger[_0x4218e4(0x118)](_0x4218e4(0x128)+global['newHubUrl']),global[_0x4218e4(0x142)]='';}catch(_0x589f5b){logger[_0x4218e4(0x148)](_0x589f5b);}return super[_0x4218e4(0x139)](_0x566fbb);}}class _0x5deafc extends _0x206f4d[_0x476a8e(0x106)]{[_0x476a8e(0x105)](){const _0x508679=_0x476a8e;return this[_0x508679(0x16e)]=helper[_0x508679(0x14a)](_0x22f170),logger[_0x508679(0x118)](_0x508679(0x13c)+this[_0x508679(0x16e)]),this;}[_0x476a8e(0xfe)](_0x5064c0){const _0x302eac=_0x476a8e;let _0x3fd6e6={};for(const _0x2ae464 in _0x5064c0){switch(_0x2ae464){case _0x433c1c[_0x302eac(0x14e)]:case _0x433c1c[_0x302eac(0x16d)]:this[_0x302eac(0x169)]&&(_0x3fd6e6=this[_0x302eac(0x169)][_0x302eac(0x15f)](this[_0x302eac(0x169)][_0x302eac(0x13f)])||{},this[_0x302eac(0x169)][_0x302eac(0x137)](this['chromeOptions_'][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x14c)]:case _0x433c1c['TUPav']:this[_0x302eac(0x102)]&&(_0x3fd6e6=this[_0x302eac(0x102)][_0x302eac(0x15f)](this[_0x302eac(0x102)][_0x302eac(0x13f)])||{},this[_0x302eac(0x102)][_0x302eac(0x137)](this[_0x302eac(0x102)][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x115)]:case _0x433c1c[_0x302eac(0x165)]:this['firefoxOptions_']&&(_0x3fd6e6=this['firefoxOptions_'][_0x302eac(0x15f)](this[_0x302eac(0x15b)][_0x302eac(0x13f)])||{},this[_0x302eac(0x15b)]['set'](this[_0x302eac(0x15b)][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x127)]:this[_0x302eac(0x15e)]&&(_0x3fd6e6=this[_0x302eac(0x15e)][_0x302eac(0x15f)](this[_0x302eac(0x15e)][_0x302eac(0x13f)])||{},this['safariOptions_']['set'](this[_0x302eac(0x15e)][_0x302eac(0x13f)],helper[_0x302eac(0x171)](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;case _0x433c1c[_0x302eac(0x174)]:case _0x433c1c[_0x302eac(0x158)]:this[_0x302eac(0x121)]&&(_0x3fd6e6=this[_0x302eac(0x121)][_0x302eac(0x15f)](this[_0x302eac(0x121)][_0x302eac(0x13f)])||{},this[_0x302eac(0x121)]['set'](this['ieOptions_'][_0x302eac(0x13f)],helper['mergeDeep'](_0x3fd6e6,_0x5064c0[_0x2ae464])));break;}}}[_0x476a8e(0x143)](){const _0x1dc7bb=_0x476a8e;return logger['debug'](_0x433c1c[_0x1dc7bb(0x11d)]),this['__setBrowserOptions'](_0x22f170[_0x1dc7bb(0x104)]),Object[_0x1dc7bb(0x12c)](_0x22f170['capability'])[_0x1dc7bb(0x144)](_0x35526a=>{const _0x3fff07=_0x1dc7bb,_0x58866c=this[_0x3fff07(0x153)][_0x3fff07(0x15f)](_0x35526a);_0x433c1c[_0x3fff07(0x154)](typeof _0x58866c,_0x433c1c['FzrOg'])?this['capabilities_'][_0x3fff07(0x137)](_0x35526a,helper[_0x3fff07(0x171)](_0x58866c,_0x22f170[_0x3fff07(0x104)][_0x35526a])):this[_0x3fff07(0x153)][_0x3fff07(0x137)](_0x35526a,_0x22f170[_0x3fff07(0x104)][_0x35526a]);}),this;}[_0x476a8e(0x10a)](){const _0x2305fc=_0x476a8e,_0x352ac7={'PQrRh':function(_0x176530,_0x5e6e1c,_0x35f6d9){const _0xd48ba7=a29_0x1aef;return _0x433c1c[_0xd48ba7(0x13e)](_0x176530,_0x5e6e1c,_0x35f6d9);},'ZJliv':function(_0x23227e,_0x5645c0){const _0x5d6df2=a29_0x1aef;return _0x433c1c[_0x5d6df2(0x130)](_0x23227e,_0x5645c0);},'uZmWY':function(_0x76bdbf,_0x174fbc,_0x2eda99){const _0x1a5043=a29_0x1aef;return _0x433c1c[_0x1a5043(0x13e)](_0x76bdbf,_0x174fbc,_0x2eda99);},'oUJSX':function(_0x433370,_0x189048,_0x2145a5){const _0x226c07=a29_0x1aef;return _0x433c1c[_0x226c07(0x16c)](_0x433370,_0x189048,_0x2145a5);}};if(helper['isBrowserstackInfra']()){const _0x197bae=_0x433c1c[_0x2305fc(0x134)][_0x2305fc(0x145)]('|');let _0x191929=0x0;while(!![]){switch(_0x197bae[_0x191929++]){case'0':if(helper[_0x2305fc(0x149)](_0x22f170['proxySettings']['proxyUrl']))this[_0x2305fc(0x162)]=helper[_0x2305fc(0x161)](_0x22f170['proxySettings'][_0x2305fc(0x170)]);else _0x22f170[_0x2305fc(0x147)][_0x2305fc(0x170)]&&(this[_0x2305fc(0x168)]=_0x22f170[_0x2305fc(0x147)][_0x2305fc(0x170)],logger[_0x2305fc(0x118)](_0x2305fc(0x15c)+this[_0x2305fc(0x168)]));continue;case'1':this['setCapabilities']();continue;case'2':_0x433c1c[_0x2305fc(0x156)](isAccessibilityAutomationSession)&&_0x433c1c[_0x2305fc(0x130)](setAccessibilityCapabilities,_0x22f170);continue;case'3':logger['debug'](_0x433c1c[_0x2305fc(0x10e)]);continue;case'4':globals[_0x2305fc(0x129)](_0x433c1c[_0x2305fc(0x12d)])&&(!_0x433c1c['iNBzx'](setExtension,this,_0x22f170)&&globals[_0x2305fc(0x100)](_0x433c1c[_0x2305fc(0x12d)],![]));continue;case'5':this[_0x2305fc(0x105)]();continue;}break;}}const _0x120ffd=super[_0x2305fc(0x10a)]();return _0x120ffd[_0x2305fc(0x114)][_0x2305fc(0x141)](_0x34015b=>{const _0x526c03=_0x2305fc;try{const _0x38c2fd=_0x34015b['caps_'][_0x526c03(0x15f)](_0x433c1c[_0x526c03(0x15a)]);_0x38c2fd?(logger[_0x526c03(0x118)](_0x526c03(0x12b)+_0x38c2fd),hubAllocator[_0x526c03(0xff)](_0x38c2fd),helper[_0x526c03(0x126)](_0x38c2fd)):logger[_0x526c03(0x118)](_0x433c1c[_0x526c03(0x14b)]);}catch(_0x45a6a5){logger[_0x526c03(0x118)](_0x526c03(0x16f)+_0x45a6a5);}}),_0x120ffd[_0x2305fc(0x157)]=0x0,_0x120ffd['then']&&_0x120ffd[_0x2305fc(0x141)](_0x33e8e0=>{const _0xd0fdcb=_0x2305fc,_0x2c32ef={'ISNRp':function(_0x436466,_0x32f6d0,_0x3d0ba4){const _0x4681d0=a29_0x1aef;return _0x352ac7[_0x4681d0(0x124)](_0x436466,_0x32f6d0,_0x3d0ba4);}};_0x352ac7[_0xd0fdcb(0x124)](overrideQuit,_0x33e8e0,_0x120ffd),_0x352ac7[_0xd0fdcb(0x11a)](overrideTakeScreenshot,_0x33e8e0),helper['overrideGet'](_0x33e8e0,_0x22f170),_0x352ac7[_0xd0fdcb(0x124)](overrideExecute,_0x33e8e0,_0x22f170),_0x33e8e0[_0xd0fdcb(0x152)]=async()=>{const _0x4df6a2=_0xd0fdcb;return await _0x352ac7[_0x4df6a2(0x124)](getAccessibilityResultsSummary,_0x33e8e0,global);},_0x33e8e0[_0xd0fdcb(0x175)]=async()=>{const _0x4f526e=_0xd0fdcb;return await _0x2c32ef[_0x4f526e(0x166)](getAccessibilityResults,_0x33e8e0,global);};}),_0x120ffd[_0x2305fc(0x152)]=async()=>{const _0x4bc567=_0x2305fc;return await _0x352ac7[_0x4bc567(0x11b)](getAccessibilityResultsSummary,_0x120ffd,global);},_0x120ffd[_0x2305fc(0x175)]=async()=>{return await _0x352ac7['oUJSX'](getAccessibilityResults,_0x120ffd,global);},_0x433c1c[_0x2305fc(0x130)](overrideTakeScreenshot,_0x120ffd),_0x433c1c[_0x2305fc(0x10c)](overrideQuit,_0x120ffd),helper[_0x2305fc(0x120)](_0x120ffd,_0x22f170),_0x433c1c[_0x2305fc(0x177)](overrideExecute,_0x120ffd,_0x22f170),helper[_0x2305fc(0x164)](global[_0x2305fc(0x140)])&&(global['__driversArray']=[]),helper[_0x2305fc(0x164)](global[_0x2305fc(0x11e)])&&(global[_0x2305fc(0x11e)]=[]),global[_0x2305fc(0x140)]['push'](_0x120ffd),global[_0x2305fc(0x12a)]=_0x120ffd,_0x433c1c[_0x2305fc(0x10d)](global[_0x2305fc(0x11e)],undefined)&&global[_0x2305fc(0x11e)][_0x2305fc(0x150)](_0x120ffd),_0x4ec654&&helper['isUndefined'](_0x4ec654['global'][_0x2305fc(0x140)])&&(_0x4ec654[_0x2305fc(0x131)]['__driversArray']=[]),_0x4ec654&&_0x433c1c[_0x2305fc(0x155)](_0x4ec654[_0x2305fc(0x131)][_0x2305fc(0x11e)],undefined)&&(_0x4ec654[_0x2305fc(0x131)][_0x2305fc(0x11e)][_0x2305fc(0x150)](_0x120ffd),_0x4ec654[_0x2305fc(0x131)][_0x2305fc(0x140)][_0x2305fc(0x150)](_0x120ffd)),_0x120ffd;}}return _0x206f4d[_0x476a8e(0x122)]=_0x206f4d[_0x476a8e(0x106)],_0x206f4d[_0x476a8e(0x106)]=_0x5deafc,_0x107ac2[_0x476a8e(0x14f)]=_0x62ee6f,_0x206f4d;};module['exports']['browserstackAgentObservability']=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a30_0x12056a=a30_0x5992;function a30_0x2f0f(){const _0x29456f=['../../../helpers/test-observability/utils','6258789KCgJYu','120456coVbjP','1DLFnyt','218394UgZPdV','16MOWeuA','79341KnBFTy','120514bRXAtv','483KRofFj','60BRDKRs','UaxOM','../../../helpers/request-spy','948uJEpcs','timeout','restore','../../../bin/utils/constants','14128480FnMYMO','1350170HcZhrs'];a30_0x2f0f=function(){return _0x29456f;};return a30_0x2f0f();}(function(_0x5b306b,_0x2dadb5){const _0x3eee9b=a30_0x5992,_0x42eaea=_0x5b306b();while(!![]){try{const _0x108680=parseInt(_0x3eee9b(0xeb))/0x1*(-parseInt(_0x3eee9b(0xdd))/0x2)+parseInt(_0x3eee9b(0xdc))/0x3*(parseInt(_0x3eee9b(0xdf))/0x4)+parseInt(_0x3eee9b(0xe7))/0x5+parseInt(_0x3eee9b(0xea))/0x6*(parseInt(_0x3eee9b(0xde))/0x7)+parseInt(_0x3eee9b(0xed))/0x8*(-parseInt(_0x3eee9b(0xe9))/0x9)+-parseInt(_0x3eee9b(0xe6))/0xa+parseInt(_0x3eee9b(0xec))/0xb*(parseInt(_0x3eee9b(0xe2))/0xc);if(_0x108680===_0x2dadb5)break;else _0x42eaea['push'](_0x42eaea['shift']());}catch(_0x5e1952){_0x42eaea['push'](_0x42eaea['shift']());}}}(a30_0x2f0f,0xb8b16));function a30_0x5992(_0x1e235b,_0x4d1be7){const _0x2f0f5c=a30_0x2f0f();return a30_0x5992=function(_0x599225,_0x47b105){_0x599225=_0x599225-0xdc;let _0xf61940=_0x2f0f5c[_0x599225];return _0xf61940;},a30_0x5992(_0x1e235b,_0x4d1be7);}const requestSpy=require(a30_0x12056a(0xe1)),constants=require(a30_0x12056a(0xe5)),{addRequestSpy}=require(a30_0x12056a(0xe8));exports['mochaHooks']={'beforeAll'(){const _0x381970=a30_0x12056a,_0x2c8b97={'UaxOM':function(_0x5df219){return _0x5df219();}},_0x1e3b5e='browserstack internal helper hook';_0x2c8b97[_0x381970(0xe0)](addRequestSpy);},'afterAll'(){const _0x22734a=a30_0x12056a,_0x58394a='browserstack internal helper hook';this[_0x22734a(0xe3)](0xea60),requestSpy[_0x22734a(0xe4)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x4ea8(_0x38061c,_0x5fb7d6){const _0x2ef027=a31_0x2ef0();return a31_0x4ea8=function(_0x4ea87c,_0x3bd80a){_0x4ea87c=_0x4ea87c-0x104;let _0x46927c=_0x2ef027[_0x4ea87c];return _0x46927c;},a31_0x4ea8(_0x38061c,_0x5fb7d6);}const a31_0x1b7a08=a31_0x4ea8;(function(_0x20e6a5,_0x1e87c6){const _0x2deaa9=a31_0x4ea8,_0x365634=_0x20e6a5();while(!![]){try{const _0x1284b2=parseInt(_0x2deaa9(0x14d))/0x1*(-parseInt(_0x2deaa9(0x145))/0x2)+-parseInt(_0x2deaa9(0x141))/0x3*(-parseInt(_0x2deaa9(0x112))/0x4)+parseInt(_0x2deaa9(0x12d))/0x5*(parseInt(_0x2deaa9(0x139))/0x6)+parseInt(_0x2deaa9(0x130))/0x7+parseInt(_0x2deaa9(0x104))/0x8*(parseInt(_0x2deaa9(0x12c))/0x9)+parseInt(_0x2deaa9(0x140))/0xa*(-parseInt(_0x2deaa9(0x128))/0xb)+parseInt(_0x2deaa9(0x10c))/0xc*(-parseInt(_0x2deaa9(0x10f))/0xd);if(_0x1284b2===_0x1e87c6)break;else _0x365634['push'](_0x365634['shift']());}catch(_0x229fde){_0x365634['push'](_0x365634['shift']());}}}(a31_0x2ef0,0x47fbd));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x1b7a08(0x15b)),logPatcher=require(a31_0x1b7a08(0x107)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x1b7a08(0x115)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x1b7a08(0x131)),{patchConsoleLogger}=require(a31_0x1b7a08(0x10b));function a31_0x2ef0(){const _0x5f0ca1=['QexaH','FxVTk','30fEBxNf','filter','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','Raszs','parent','toISOString','push','10ApRfxj','5427pdufpV','epijr','_beforeAll','__cloud_provider___','4TjSATo','cjfnx','vMgBj','hook','string','oZuBB','toJSON','sulbA','28643rUTtKB','bsqVO','pending','cukHz','APRoB','js-','vUnjn','mapTestHooks','yVoOt','platformVersion','state','suites','get','KIfON','../../../../package.json','qbokQ','tests','twLMS','hook:','AwpQl','pid','56ttlhRq','vXzjm','getHooksForTest','../../utils/logPatcher','browserstack','UEaQn','getTestEnv','../../../helpers/test-observability/utils','296052IqeLEF','map_','kQLYz','52gprarv','concat','forEach','428NbIMmD','_beforeEach','oiBPO','../../../helpers/helper','reduce','substring','split','getHookSkippedTests','eDEmE','QLrjY','unknown_grid','sendPlatformDetails','Cvixd','getPlatform','_afterEach','type','_afterAll','TEST_PLATFORM','ocPED','fromEntries','ograO','Wxahc','2448545fiSjLW','indexOf','slice','failed','318555gItfHV','211065Vagszj','emit','NEXwa','147119jayOBS','lodash','fABlG','nmeiE','markedStatus','hookAnalyticsId','getCapabilities'];a31_0x2ef0=function(){return _0x5f0ca1;};return a31_0x2ef0();}patchConsoleLogger(),exports[a31_0x1b7a08(0x10a)]=()=>{const _0x4991df=a31_0x1b7a08,_0x3c28e9={'KIfON':'generic','vUnjn':function(_0x1ed02b){return _0x1ed02b();}};return{'ci':_0x3c28e9[_0x4991df(0x15a)],'key':_0x3c28e9[_0x4991df(0x153)](uuidv4),'version':version,'collector':_0x4991df(0x152)+name};},exports['getHookDetails']=_0x106673=>{const _0x50d43e=a31_0x1b7a08,_0x22e0b5={};_0x22e0b5['Raszs']=function(_0x50c7b6,_0x29a6d1){return _0x50c7b6!==_0x29a6d1;},_0x22e0b5[_0x50d43e(0x14e)]=_0x50d43e(0x149),_0x22e0b5[_0x50d43e(0x126)]=_0x50d43e(0x15f),_0x22e0b5['oiBPO']=function(_0x307e80,_0x19596d){return _0x307e80!==_0x19596d;},_0x22e0b5[_0x50d43e(0x11a)]=_0x50d43e(0x148);const _0x344844=_0x22e0b5;if(!_0x106673||_0x344844[_0x50d43e(0x13c)](typeof _0x106673,_0x344844[_0x50d43e(0x14e)]))return[null,null];if(_0x344844['Raszs'](_0x106673[_0x50d43e(0x129)](_0x344844['ograO']),-0x1)){const _0x2d8ded=_0x106673[_0x50d43e(0x118)](_0x344844[_0x50d43e(0x126)]);return[_0x2d8ded[0x0][_0x50d43e(0x12a)](0x0,-0x1)[_0x50d43e(0x118)]('\x22')[0x1],_0x2d8ded[0x1][_0x50d43e(0x117)](0x1)];}else{if(_0x344844[_0x50d43e(0x114)](_0x106673[_0x50d43e(0x129)](_0x344844[_0x50d43e(0x11a)]),-0x1)){const _0x4aed23=_0x106673[_0x50d43e(0x118)](_0x344844[_0x50d43e(0x11a)]);return[_0x4aed23[0x0][_0x50d43e(0x12a)](0x0,-0x1)['split']('\x22')[0x1],_0x106673];}}return[null,null];},exports['getHooksForTest']=_0x5144df=>{const _0x4960ee=a31_0x1b7a08,_0x593194={'vMgBj':function(_0x5eeae7,_0x24678a){return _0x5eeae7(_0x24678a);},'CITbR':_0x4960ee(0x143),'OdqFM':'_afterAll','sulbA':_0x4960ee(0x113),'BVisL':'_afterEach'};if(!_0x5144df||!_0x5144df[_0x4960ee(0x13d)])return[];const _0x3b2f34=[];return[_0x593194['CITbR'],_0x593194['OdqFM'],_0x593194[_0x4960ee(0x14c)],_0x593194['BVisL']][_0x4960ee(0x111)](_0x318f47=>{const _0x4be221=_0x5144df['parent'][_0x318f47]||[];_0x4be221['forEach'](_0x3e5cde=>{const _0x2b10ab=a31_0x4ea8;_0x3e5cde['hookAnalyticsId']&&!_0x593194[_0x2b10ab(0x147)](isInternalHook,_0x3e5cde['fn'])&&_0x3b2f34[_0x2b10ab(0x13f)](_0x3e5cde[_0x2b10ab(0x135)]);});}),[..._0x3b2f34,...exports[_0x4960ee(0x106)](_0x5144df[_0x4960ee(0x13d)])];},exports[a31_0x1b7a08(0x154)]=_0x309046=>{const _0xc8f06c=a31_0x1b7a08,_0x236115={'fABlG':function(_0x4ac3e4){return _0x4ac3e4();},'UEaQn':function(_0x11af45,_0x59a664){return _0x11af45===_0x59a664;},'QexaH':_0xc8f06c(0x120),'ocPED':function(_0xa9f809){return _0xa9f809();},'cjfnx':_0xc8f06c(0x143),'nmeiE':_0xc8f06c(0x122),'hTzBh':_0xc8f06c(0x113)};if(!_0x309046||!_0x309046[_0xc8f06c(0x13d)])return;[_0x236115[_0xc8f06c(0x146)],_0x236115[_0xc8f06c(0x133)],_0x236115['hTzBh'],_0x236115[_0xc8f06c(0x137)]][_0xc8f06c(0x111)](_0x22a001=>{const _0x11cce2=_0xc8f06c,_0x13f871={'twLMS':function(_0x263fd1){const _0x4d5fb7=a31_0x4ea8;return _0x236115[_0x4d5fb7(0x132)](_0x263fd1);},'oZuBB':function(_0x4efbd4,_0x13bfa3){const _0x1001f9=a31_0x4ea8;return _0x236115[_0x1001f9(0x109)](_0x4efbd4,_0x13bfa3);},'dWrGc':_0x236115[_0x11cce2(0x137)],'yVoOt':function(_0x35fb7e){const _0x5510cb=_0x11cce2;return _0x236115[_0x5510cb(0x124)](_0x35fb7e);}},_0x9c78c6=_0x309046[_0x11cce2(0x13d)][_0x22a001]||[];_0x9c78c6[_0x11cce2(0x111)](_0x51fc53=>{const _0x14b128=_0x11cce2;if(!_0x51fc53[_0x14b128(0x135)])_0x51fc53[_0x14b128(0x135)]=_0x13f871[_0x14b128(0x15e)](uuidv4);else _0x51fc53[_0x14b128(0x134)]&&_0x13f871[_0x14b128(0x14a)](_0x22a001,_0x13f871['dWrGc'])&&(_0x51fc53['hookAnalyticsId']=_0x13f871[_0x14b128(0x155)](uuidv4),delete _0x51fc53[_0x14b128(0x134)]);});}),exports['mapTestHooks'](_0x309046[_0xc8f06c(0x13d)]);},exports[a31_0x1b7a08(0x11d)]=async(_0x2ae6ec,_0x33d209)=>{const _0x117711=a31_0x1b7a08,_0x3db6fc={'CoDXg':function(_0x59c63f){return _0x59c63f();},'AwpQl':function(_0x368d5d,_0x845618){return _0x368d5d(_0x845618);},'cukHz':_0x117711(0x156),'QLrjY':function(_0x29040a,_0x287d93){return _0x29040a===_0x287d93;},'Wxahc':_0x117711(0x108),'FxVTk':_0x117711(0x11c),'APRoB':_0x117711(0x123)};try{if(!_0x3db6fc['CoDXg'](shouldProcessEventForTesthub))return;const _0x1686cf=await _0x2ae6ec[_0x117711(0x136)](),_0x780412=await _0x2ae6ec['getSession'](),_0x3994ea={},_0x3b3b35=Object[_0x117711(0x125)](_0x780412[_0x117711(0x136)]()[_0x117711(0x10d)]),_0x365f8e={'product':_0x3db6fc['AwpQl'](getObservabilityLinkedProductName,_0x3b3b35),'capabilities':_0x3b3b35,'platform':_0x1686cf[_0x117711(0x11f)](),'platform_version':_0x1686cf['get'](_0x3db6fc[_0x117711(0x150)])?_0x1686cf[_0x117711(0x159)](_0x3db6fc[_0x117711(0x150)]):_0x3db6fc[_0x117711(0x160)](getPlatformVersion,_0x3db6fc[_0x117711(0x11b)](global[_0x117711(0x144)],_0x3db6fc[_0x117711(0x127)])),'browser':_0x1686cf['getBrowserName'](),'browser_version':_0x1686cf['getBrowserVersion'](),'session_id':_0x780412[_0x117711(0x14b)]()};global[_0x117711(0x144)]?_0x3994ea[global[_0x117711(0x144)]]=_0x365f8e:_0x3994ea[_0x3db6fc[_0x117711(0x138)]]=_0x365f8e,process[_0x117711(0x12e)]('bs:addPlatformDetails:'+process[_0x117711(0x161)],{'timestamp':new Date()[_0x117711(0x13e)](),'level':null,'message':null,'kind':_0x3db6fc[_0x117711(0x151)],'http_response':_0x3994ea,'uuid':_0x33d209});}catch(_0x3d636d){_0x3db6fc['AwpQl'](debug,_0x117711(0x13b)+_0x3d636d);}},exports['getHookSkippedTests']=_0x15a966=>{const _0xc8e17d=a31_0x1b7a08,_0xfa80a0={};_0xfa80a0[_0xc8e17d(0x10e)]=function(_0x67b0ba,_0x19c491){return _0x67b0ba!==_0x19c491;},_0xfa80a0[_0xc8e17d(0x105)]=_0xc8e17d(0x148),_0xfa80a0[_0xc8e17d(0x11e)]=function(_0x222b88,_0x20cb2d){return _0x222b88!==_0x20cb2d;},_0xfa80a0[_0xc8e17d(0x15c)]='passed',_0xfa80a0['NEXwa']=function(_0x3a8571,_0x3d82fc){return _0x3a8571!==_0x3d82fc;},_0xfa80a0[_0xc8e17d(0x142)]=_0xc8e17d(0x12b);const _0x3143ef=_0xfa80a0,_0x4720bf=_0x15a966[_0xc8e17d(0x158)][_0xc8e17d(0x116)]((_0x4b705c,_0x28e6ff)=>{const _0x4e394a=_0xc8e17d,_0x2f1c52=exports[_0x4e394a(0x119)](_0x28e6ff);return _0x2f1c52&&(_0x4b705c=_0x4b705c['concat'](_0x2f1c52)),_0x4b705c;},[]),_0x5f592a=_0x15a966[_0xc8e17d(0x15d)][_0xc8e17d(0x13a)](_0x168044=>{const _0x39aed3=_0xc8e17d,_0x23a77e=_0x3143ef['kQLYz'](_0x168044[_0x39aed3(0x121)],_0x3143ef[_0x39aed3(0x105)])&&!_0x168044[_0x39aed3(0x134)]&&_0x3143ef['Cvixd'](_0x168044[_0x39aed3(0x157)],_0x3143ef[_0x39aed3(0x15c)])&&_0x3143ef[_0x39aed3(0x12f)](_0x168044[_0x39aed3(0x157)],_0x3143ef[_0x39aed3(0x142)])&&!_0x168044[_0x39aed3(0x14f)];return _0x23a77e;});return _0x5f592a[_0xc8e17d(0x110)](_0x4720bf);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x6cfb7c=a32_0x3fcc;(function(_0x40826b,_0x28d974){const _0x43642d=a32_0x3fcc,_0x110121=_0x40826b();while(!![]){try{const _0x568788=parseInt(_0x43642d(0x16c))/0x1*(parseInt(_0x43642d(0x197))/0x2)+-parseInt(_0x43642d(0x181))/0x3+parseInt(_0x43642d(0x12a))/0x4*(-parseInt(_0x43642d(0x1b9))/0x5)+parseInt(_0x43642d(0x162))/0x6+parseInt(_0x43642d(0x159))/0x7+-parseInt(_0x43642d(0x179))/0x8+parseInt(_0x43642d(0x188))/0x9;if(_0x568788===_0x28d974)break;else _0x110121['push'](_0x110121['shift']());}catch(_0x4d7eca){_0x110121['push'](_0x110121['shift']());}}}(a32_0x2c94,0x8fee5));const util=require(a32_0x6cfb7c(0x191)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x6cfb7c(0x16e)),{percyAutoCapture}=require(a32_0x6cfb7c(0x182)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x6cfb7c(0x19f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x6cfb7c(0x1ae)),globals=require(a32_0x6cfb7c(0x164)),logger=require('../../helpers/logger')[a32_0x6cfb7c(0x16a)],{shouldProcessEventForTesthub}=require(a32_0x6cfb7c(0x1aa)),testHubConstants=require(a32_0x6cfb7c(0x18c));exports[a32_0x6cfb7c(0x1ab)]={'beforeAll'(){const _0x1b1b8d=a32_0x6cfb7c,_0x16eb96={'XdSHY':function(_0x43c4a5,_0x29500b,_0x23e2a4,_0x56209e){return _0x43c4a5(_0x29500b,_0x23e2a4,_0x56209e);},'jVpcH':_0x1b1b8d(0x1bc),'BeFnz':_0x1b1b8d(0x132),'raheD':function(_0x2fd828,_0x47b7f7,_0xc2c281){return _0x2fd828(_0x47b7f7,_0xc2c281);},'JCPCB':_0x1b1b8d(0x194),'wKFAP':function(_0x445832){return _0x445832();},'ObrZh':'index','cHUMZ':_0x1b1b8d(0x15b)};PerformanceTester['startMonitoring']();const _0x127b3c='browserstack internal helper hook';PerformanceTester[_0x1b1b8d(0x13e)](PerformanceSdkEvents[_0x1b1b8d(0x15f)],()=>{const _0x2e6c7a=_0x1b1b8d;global[_0x2e6c7a(0x18e)]=[],global[_0x2e6c7a(0x17a)]=![],global['driverCleanup']=async()=>{const _0x174d02=_0x2e6c7a;let _0x5687e6=![];try{await global[_0x174d02(0x1c2)][0x0][_0x174d02(0x157)],_0x5687e6=!![],global[_0x174d02(0x17a)]?await _0x16eb96[_0x174d02(0x1b5)](markSessionStatus,global['__drivers'][0x0],_0x16eb96[_0x174d02(0x155)],global[_0x174d02(0x18e)][_0x174d02(0x171)](_0x16eb96[_0x174d02(0x149)])):await _0x16eb96[_0x174d02(0x183)](markSessionStatus,global[_0x174d02(0x1c2)][0x0],_0x16eb96[_0x174d02(0x15a)]);}catch(_0x5a85a7){logger[_0x174d02(0x184)](_0x174d02(0x199)+_0x5a85a7);}global['__error_messages__']=[],global[_0x174d02(0x17a)]=![];if(_0x5687e6)try{try{_0x16eb96['wKFAP'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x16eb96[_0x174d02(0x183)](sendPlatformDetails,global['__drivers'][0x0],this[_0x174d02(0x192)]?this['currentTest']['testAnalyticsId']:null));}catch(_0x1ff0bd){logger[_0x174d02(0x184)](_0x174d02(0x165)+_0x1ff0bd);}await global[_0x174d02(0x1c2)][0x0][_0x174d02(0x18a)]();}catch(_0x48221a){logger[_0x174d02(0x184)](_0x174d02(0x1b4)+_0x48221a);}};},{'platform':_0x16eb96[_0x1b1b8d(0x183)](nestedKeyValue,global[_0x1b1b8d(0x136)],[_0x16eb96['ObrZh']]),'hookType':_0x16eb96[_0x1b1b8d(0x1b0)]})();},'beforeEach'(_0xa551e5){const _0x230d21=a32_0x6cfb7c,_0x17e654={'ZfbBE':function(_0x421c54,_0x4ab432){return _0x421c54>_0x4ab432;},'mXVmZ':function(_0x2969c1,_0x439f43){return _0x2969c1>_0x439f43;},'oDpeB':_0x230d21(0x168),'cKRTp':function(_0x5aca0b,_0x2faa03,_0xf770f9){return _0x5aca0b(_0x2faa03,_0xf770f9);},'oLdPj':_0x230d21(0x1c3),'shScA':function(_0x54af24){return _0x54af24();},'qormg':function(_0x5e4f85,_0x330c1a){return _0x5e4f85>_0x330c1a;},'HjowX':_0x230d21(0x17f),'zroyT':function(_0x1d5c05,_0x134b9b){return _0x1d5c05===_0x134b9b;},'oYRZB':_0x230d21(0x14e),'qLSDr':function(_0x524027,_0x48f016){return _0x524027===_0x48f016;},'qJfck':_0x230d21(0x123),'wIBus':_0x230d21(0x13c),'zrjbS':_0x230d21(0x137),'tShjV':function(_0x21d788){return _0x21d788();},'KBkGF':_0x230d21(0x12c),'vIvUr':_0x230d21(0x19c),'HFnTk':_0x230d21(0x190)};globals[_0x230d21(0x1a4)](_0x17e654[_0x230d21(0x18d)],this['currentTest'][_0x230d21(0x13d)]()['join'](_0x17e654['oDpeB'])),PerformanceTester[_0x230d21(0x13e)](PerformanceSdkEvents[_0x230d21(0x15f)],()=>{const _0x959eed=_0x230d21,_0x6c8d64='browserstack internal helper hook';new Promise(async _0x54efdb=>{const _0x1a4aaf=a32_0x3fcc;let _0x1c093a=!![];try{_0x17e654['ZfbBE'](global[_0x1a4aaf(0x1c2)][_0x1a4aaf(0x14c)],0x1)&&(await global[_0x1a4aaf(0x18f)](),global[_0x1a4aaf(0x1c2)][_0x1a4aaf(0x11f)]()),_0x17e654[_0x1a4aaf(0x1a3)](global[_0x1a4aaf(0x1c2)][0x0][_0x1a4aaf(0x17d)],0x0)&&(_0x1c093a=![],await global[_0x1a4aaf(0x18f)]());}catch(_0x5a1e86){logger[_0x1a4aaf(0x184)](_0x1a4aaf(0x1b4)+_0x5a1e86);}try{Array[_0x1a4aaf(0x1c4)](global[_0x1a4aaf(0x1c2)])&&global[_0x1a4aaf(0x1c2)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x1a4aaf(0x192)][_0x1a4aaf(0x13d)]()[_0x1a4aaf(0x171)](_0x17e654[_0x1a4aaf(0x152)])),global['browserstackSessionName']=this[_0x1a4aaf(0x192)][_0x1a4aaf(0x13d)]()[_0x1a4aaf(0x171)](_0x17e654[_0x1a4aaf(0x152)]);}catch(_0x2e501e){logger['debug'](_0x1a4aaf(0x141)+_0x2e501e);}this[_0x1a4aaf(0x192)][_0x1a4aaf(0x186)]=_0x17e654['cKRTp'](shouldScanTestForAccessibility,this[_0x1a4aaf(0x192)]['titlePath'](),!![]),globals[_0x1a4aaf(0x1a4)](_0x17e654[_0x1a4aaf(0x16f)],this[_0x1a4aaf(0x192)]['shouldScanTestForAccessibility']),this[_0x1a4aaf(0x192)][_0x1a4aaf(0x178)]=!![];if(_0x17e654[_0x1a4aaf(0x193)](isAccessibilityAutomationSession)&&_0x1c093a&&Array[_0x1a4aaf(0x1c4)](global[_0x1a4aaf(0x1c2)])&&_0x17e654[_0x1a4aaf(0x126)](global[_0x1a4aaf(0x1c2)][_0x1a4aaf(0x14c)],0x0)&&globals[_0x1a4aaf(0x161)](_0x17e654[_0x1a4aaf(0x144)]))try{const _0x3a689d=await global['__drivers'][0x0][_0x1a4aaf(0x157)];if(_0x3a689d){let _0x156774=!![];const _0x28bbc7=await global[_0x1a4aaf(0x1c2)][0x0]['getCurrentUrl']();let _0xfbc951;try{_0xfbc951=new URL(_0x28bbc7);}catch(_0x487bcd){_0x156774=![];}_0x156774=_0x17e654['zroyT'](_0xfbc951[_0x1a4aaf(0x15c)],_0x17e654[_0x1a4aaf(0x145)])||_0x17e654[_0x1a4aaf(0x1a9)](_0xfbc951[_0x1a4aaf(0x15c)],_0x17e654[_0x1a4aaf(0x12b)]),_0x156774&&(this[_0x1a4aaf(0x192)][_0x1a4aaf(0x186)]&&logger['info'](_0x17e654['wIBus'])),this['currentTest'][_0x1a4aaf(0x178)]=this[_0x1a4aaf(0x192)][_0x1a4aaf(0x186)],this[_0x1a4aaf(0x192)][_0x1a4aaf(0x186)]&&logger[_0x1a4aaf(0x19b)](_0x17e654[_0x1a4aaf(0x1bf)]);}}catch(_0x39709e){logger[_0x1a4aaf(0x12f)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x39709e));}_0x17e654[_0x1a4aaf(0x139)](_0x54efdb);})[_0x959eed(0x1af)](()=>{_0x17e654['shScA'](_0xa551e5);});},{'platform':_0x17e654['cKRTp'](nestedKeyValue,global[_0x230d21(0x136)],[_0x17e654[_0x230d21(0x1a1)]]),'hookType':_0x17e654[_0x230d21(0x14a)]})();},'afterEach'(_0x1fbd51){const _0x30c4e3=a32_0x6cfb7c,_0x1f9c37={'xtRpL':function(_0x2b53b2,_0x129354){return _0x2b53b2!==_0x129354;},'PLjbn':_0x30c4e3(0x194),'fDfMM':function(_0x3662c8,_0x2da85d,_0x4491e0){return _0x3662c8(_0x2da85d,_0x4491e0);},'lItdO':function(_0x481989,_0x146d51){return _0x481989+_0x146d51;},'iGvri':_0x30c4e3(0x195),'juxqb':_0x30c4e3(0x12f),'qPhQw':function(_0x597b26,_0x223546,_0x25d353){return _0x597b26(_0x223546,_0x25d353);},'sQBsq':_0x30c4e3(0x140),'oggIA':_0x30c4e3(0x19b),'pMfbe':function(_0x43da58,_0x1ea4c5){return _0x43da58>_0x1ea4c5;},'vYpWF':function(_0x128f64,_0x3c0523){return _0x128f64===_0x3c0523;},'hHdjE':_0x30c4e3(0x17e),'FzhrR':function(_0xcf7f71,_0x5130e1){return _0xcf7f71>_0x5130e1;},'IwckO':_0x30c4e3(0x166),'QRrJt':function(_0xe64154,_0x56c135,_0x5aad5e,_0x2240e1){return _0xe64154(_0x56c135,_0x5aad5e,_0x2240e1);},'AkruO':_0x30c4e3(0x17f),'XhHGj':_0x30c4e3(0x1c3),'AWGVx':_0x30c4e3(0x1a2),'BHnOz':'Performing\x20scan\x20before\x20saving\x20results','vPXdF':'afterTest','RkFrC':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','IKRVT':function(_0x1704f3){return _0x1704f3();},'BHmoG':function(_0x47507d,_0x24aec6,_0x5c6318){return _0x47507d(_0x24aec6,_0x5c6318);},'UpwYd':function(_0x5a91c6){return _0x5a91c6();},'jDXdW':_0x30c4e3(0x184),'litDH':function(_0x1d5ff3,_0x31f686){return _0x1d5ff3>_0x31f686;},'NrRqG':function(_0x470312){return _0x470312();},'yRBlr':function(_0x9cdc50){return _0x9cdc50();},'UkTRp':_0x30c4e3(0x168),'BpmAT':_0x30c4e3(0x19c),'CZxRq':_0x30c4e3(0x14d)},_0x583778='browserstack internal helper hook';this[_0x30c4e3(0x130)](0xfde8),global[_0x30c4e3(0x17b)]=this['currentTest'][_0x30c4e3(0x13d)]()[_0x30c4e3(0x171)](_0x1f9c37[_0x30c4e3(0x198)]),PerformanceTester[_0x30c4e3(0x13e)](PerformanceSdkEvents[_0x30c4e3(0x15f)],()=>{const _0x5f2a91=_0x30c4e3,_0x26391b={};_0x26391b[_0x5f2a91(0x1b6)]=_0x1f9c37['UkTRp'];const _0x4b245a=_0x26391b,_0x1dc1fc=async(_0x68fcc4,_0x37cd6f)=>{const _0x2090ed=_0x5f2a91;await global[_0x2090ed(0x1c2)][0x0][_0x2090ed(0x189)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x68fcc4+_0x2090ed(0x17c)+_0x37cd6f+'\x22}}');};new Promise(async _0x1fcedc=>{const _0x2fdeea=_0x5f2a91,_0xaa0083={'RaBfI':function(_0x6506ba,_0x38d991){return _0x1f9c37['xtRpL'](_0x6506ba,_0x38d991);},'PRuWR':_0x1f9c37[_0x2fdeea(0x156)],'kqmfK':function(_0x24c9b8,_0x782f70,_0x352a84){return _0x1f9c37['fDfMM'](_0x24c9b8,_0x782f70,_0x352a84);},'rdOUb':function(_0x33f319,_0x5b9ab6){const _0x11f0aa=_0x2fdeea;return _0x1f9c37[_0x11f0aa(0x1ba)](_0x33f319,_0x5b9ab6);},'GIDKn':_0x1f9c37[_0x2fdeea(0x151)],'KRwKL':_0x1f9c37[_0x2fdeea(0x124)],'TqLaa':function(_0x372dde,_0x15a880,_0x4c6bdd){const _0x2d5e3c=_0x2fdeea;return _0x1f9c37[_0x2d5e3c(0x138)](_0x372dde,_0x15a880,_0x4c6bdd);},'sAlaE':_0x1f9c37['sQBsq'],'GPFMp':_0x1f9c37[_0x2fdeea(0x19a)]};try{_0x1f9c37[_0x2fdeea(0x14b)](global[_0x2fdeea(0x1c2)][_0x2fdeea(0x14c)],0x1)&&(await global[_0x2fdeea(0x18f)](),global[_0x2fdeea(0x1c2)][_0x2fdeea(0x11f)](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x1f9c37[_0x2fdeea(0x135)](global['percyCaptureMode'],_0x1f9c37[_0x2fdeea(0x148)])&&global[_0x2fdeea(0x1c2)][0x0]){const _0x7c2336=_0x1f9c37[_0x2fdeea(0x16b)](global[_0x2fdeea(0x1be)][_0x2fdeea(0x14c)],0x0)?!!global[_0x2fdeea(0x1be)][0x0][_0x2fdeea(0x1c1)]||!!global[_0x2fdeea(0x1be)][0x0][_0x1f9c37[_0x2fdeea(0x176)]]:![],_0x1a874f={};_0x1a874f[_0x2fdeea(0x1c1)]=_0x7c2336,await _0x1f9c37[_0x2fdeea(0x19d)](percyAutoCapture,global[_0x2fdeea(0x1c2)][0x0],_0x1f9c37[_0x2fdeea(0x148)],_0x1a874f);}}catch(_0x59a468){logger[_0x2fdeea(0x184)](_0x2fdeea(0x1b2)+_0x59a468);}!global[_0x2fdeea(0x12e)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2fdeea(0x143)],async()=>{const _0x511913=_0x2fdeea;await global[_0x511913(0x1c2)][0x0][_0x511913(0x189)](_0x511913(0x121)+JSON[_0x511913(0x1a5)](this[_0x511913(0x192)][_0x511913(0x13d)]()[_0x511913(0x171)](_0x4b245a[_0x511913(0x1b6)]))+'}}');})(),global['__drivers'][0x0][_0x2fdeea(0x19e)]=!![]),await PerformanceTester[_0x2fdeea(0x13e)](PerformanceAutEvents[_0x2fdeea(0x177)],async()=>{const _0x3d41d0=_0x2fdeea,_0x35e9bb=_0xaa0083[_0x3d41d0(0x180)](this['currentTest'][_0x3d41d0(0x1a0)],_0xaa0083[_0x3d41d0(0x1c0)]);_0x35e9bb?(global[_0x3d41d0(0x17a)]=!![],global[_0x3d41d0(0x18e)][_0x3d41d0(0x133)](this[_0x3d41d0(0x192)][_0x3d41d0(0x153)]['message']),await _0xaa0083[_0x3d41d0(0x172)](_0x1dc1fc,JSON[_0x3d41d0(0x1a5)](_0xaa0083[_0x3d41d0(0x150)](_0xaa0083[_0x3d41d0(0x13b)],this[_0x3d41d0(0x192)]['err'][_0x3d41d0(0x175)])),_0xaa0083[_0x3d41d0(0x14f)])):await _0xaa0083[_0x3d41d0(0x1a8)](_0x1dc1fc,JSON['stringify'](_0xaa0083[_0x3d41d0(0x1bb)]),_0xaa0083['GPFMp']);})();}catch(_0x3015b1){logger[_0x2fdeea(0x184)](_0x2fdeea(0x15e)+_0x3015b1);}try{if(this['currentTest'][_0x2fdeea(0x178)]&&globals[_0x2fdeea(0x161)](_0x1f9c37[_0x2fdeea(0x1ad)])&&globals[_0x2fdeea(0x161)](_0x1f9c37[_0x2fdeea(0x187)])){logger[_0x2fdeea(0x19b)](_0x1f9c37[_0x2fdeea(0x131)]);const _0x34761c={};_0x34761c[_0x2fdeea(0x160)]=this[_0x2fdeea(0x192)][_0x2fdeea(0x12d)],_0x34761c[_0x2fdeea(0x169)]=process['env'][testHubConstants[_0x2fdeea(0x154)][_0x2fdeea(0x127)]],_0x34761c[_0x2fdeea(0x163)]=process[_0x2fdeea(0x1b3)][testHubConstants[_0x2fdeea(0x154)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5680a0=_0x34761c;logger[_0x2fdeea(0x184)](_0x2fdeea(0x15d)+JSON[_0x2fdeea(0x1a5)](_0x5680a0)),logger['debug'](_0x1f9c37[_0x2fdeea(0x1a7)]);const _0x3edcf9={};_0x3edcf9[_0x2fdeea(0x142)]=_0x1f9c37[_0x2fdeea(0x185)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1e96c5=_0x2fdeea;logger[_0x1e96c5(0x184)](util[_0x1e96c5(0x170)](await global[_0x1e96c5(0x1c2)][0x0][_0x1e96c5(0x146)](scripts[_0x1e96c5(0x18b)],{'method':global['browserstackSessionName']})));},_0x3edcf9)(),await PerformanceTester[_0x2fdeea(0x13e)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x563252=_0x2fdeea;await global[_0x563252(0x1c2)][0x0][_0x563252(0x146)](scripts[_0x563252(0x173)],_0x5680a0);})(),logger[_0x2fdeea(0x19b)](_0x1f9c37[_0x2fdeea(0x122)]);}}catch(_0x4d8b0e){logger['error'](_0x2fdeea(0x13f)+this['currentTest'][_0x2fdeea(0x13d)]()+_0x2fdeea(0x13a),_0x4d8b0e);}try{try{if(_0x1f9c37[_0x2fdeea(0x1b8)](shouldProcessEventForTesthub)){global[_0x2fdeea(0x1c2)][0x0]&&await _0x1f9c37['BHmoG'](sendPlatformDetails,global[_0x2fdeea(0x1c2)][0x0],this[_0x2fdeea(0x192)]?this[_0x2fdeea(0x192)]['testAnalyticsId']:null);if(_0x1f9c37[_0x2fdeea(0x174)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x2fdeea(0x1bd)]);const _0x32d6f6=_0x2fdeea(0x134)+Date[_0x2fdeea(0x1b1)]();await _0x1f9c37['BHmoG'](_0x1dc1fc,JSON[_0x2fdeea(0x1a5)](_0x32d6f6),_0x1f9c37[_0x2fdeea(0x1ac)]),PerformanceTester[_0x2fdeea(0x1b7)](PerformanceO11yEvents[_0x2fdeea(0x1bd)]);}}}catch(_0x59117d){logger[_0x2fdeea(0x184)](_0x2fdeea(0x158)+_0x59117d),PerformanceTester[_0x2fdeea(0x1b7)](PerformanceO11yEvents['SYNC'],![],_0x59117d);}_0x1f9c37[_0x2fdeea(0x129)](global[_0x2fdeea(0x1c2)][0x0][_0x2fdeea(0x17d)],0x0)&&await global[_0x2fdeea(0x18f)]();}catch(_0xf49b88){logger['debug'](_0x2fdeea(0x1b4)+_0xf49b88);}_0x1f9c37['NrRqG'](_0x1fcedc);})['then'](()=>{const _0x21739c=_0x5f2a91;_0x1f9c37[_0x21739c(0x128)](_0x1fbd51);});},{'platform':_0x1f9c37[_0x30c4e3(0x196)](nestedKeyValue,global['__platformCaps'],[_0x1f9c37[_0x30c4e3(0x125)]]),'hookType':_0x1f9c37[_0x30c4e3(0x120)]})();},'afterAll'(_0x178da4){const _0x5f59d3=a32_0x6cfb7c,_0x2bf912={'jcIFN':function(_0x4236a7){return _0x4236a7();},'jkZjX':function(_0x1de038){return _0x1de038();},'BlIyj':function(_0x80ddac,_0x5069ef,_0x27b31c){return _0x80ddac(_0x5069ef,_0x27b31c);},'LheaS':_0x5f59d3(0x19c),'vXWIT':'afterAll'},_0x1bee8e='browserstack internal helper hook';this[_0x5f59d3(0x130)](0xfde8),PerformanceTester[_0x5f59d3(0x13e)](PerformanceSdkEvents[_0x5f59d3(0x15f)],()=>{const _0x4fcba8=_0x5f59d3,_0x18ee7e={'GGvYS':function(_0x58af7a){const _0x5bd8e4=a32_0x3fcc;return _0x2bf912[_0x5bd8e4(0x147)](_0x58af7a);}};new Promise(async _0x43da64=>{const _0x157818=a32_0x3fcc;await global[_0x157818(0x18f)](),_0x2bf912['jcIFN'](_0x43da64);})[_0x4fcba8(0x1af)]()[_0x4fcba8(0x167)](()=>{const _0x4453a9=_0x4fcba8;_0x18ee7e[_0x4453a9(0x16d)](_0x178da4);});},{'platform':_0x2bf912['BlIyj'](nestedKeyValue,global[_0x5f59d3(0x136)],[_0x2bf912['LheaS']]),'hookType':_0x2bf912[_0x5f59d3(0x1a6)]})();}};function a32_0x3fcc(_0x411e01,_0x2e2653){const _0x2c94de=a32_0x2c94();return a32_0x3fcc=function(_0x3fcc4f,_0x4b14ad){_0x3fcc4f=_0x3fcc4f-0x11f;let _0x1183e5=_0x2c94de[_0x3fcc4f];return _0x1183e5;},a32_0x3fcc(_0x411e01,_0x2e2653);}function a32_0x2c94(){const _0x3cdb0e=['afterEach','http:','KRwKL','rdOUb','iGvri','oDpeB','err','ENV_VAR','jVpcH','PLjbn','session_','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','936439IJrMUK','JCPCB','beforeAll','protocol','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','SDK_HOOK','thTestRunUuid','getGlobal','5478150XBYLpT','thJwtToken','../../helpers/globals','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','appium:app','finally','\x20-\x20','thBuildUuid','winstonLogger','FzhrR','821yQkrmI','GGvYS','../../helpers/accessibility-automation/helper','oLdPj','format','join','kqmfK','saveTestResults','UpwYd','message','IwckO','SESSION_STATUS','accessibilityScanStarted','6760032QNXDEx','__sessionFailed','sessionName',',\x22level\x22:\x20\x22','quitCount_','testcase','isAccessibilityPlatform','RaBfI','1368843keUUfr','../../helpers/percy/utils','raheD','debug','vPXdF','shouldScanTestForAccessibility','XhHGj','7537761tIZzEc','executeScript','initQuit','performScan','../../helpers/testhub/constants','KBkGF','__error_messages__','driverCleanup','beforeEach','util','currentTest','shScA','passed','Failed:\x20','BHmoG','2734rVawWn','UkTRp','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','oggIA','info','index','QRrJt','sessionNameSet__','../../helpers/performance/performance-tester','state','vIvUr','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','mXVmZ','setGlobal','stringify','vXWIT','BHnOz','TqLaa','qLSDr','../../helpers/testhub/utils','mochaHooks','jDXdW','AkruO','../../helpers/accessibility-automation/scripts','then','cHUMZ','now','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','env','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','XdSHY','FWJfk','end','IKRVT','1345ZDQKJy','lItdO','sAlaE','failed','SYNC','capabilities','zrjbS','PRuWR','app','__drivers','bstackA11yShouldScan','isArray','shift','CZxRq','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','RkFrC','https:','juxqb','BpmAT','qormg','BROWSERSTACK_TESTHUB_UUID','yRBlr','litDH','16592Laoyqf','qJfck','browserstackTestName','testAnalyticsId','__skipSessionName','error','timeout','AWGVx','\x20|\x20','push','ObservabilitySync:','vYpWF','__platformCaps','Automate\x20test\x20case\x20execution\x20has\x20started.','qPhQw','tShjV','.\x20Error\x20:','GIDKn','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','titlePath','measureWrapper','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Passed','Failed\x20to\x20store\x20session\x20name:\x20','command','SESSION_NAME','HjowX','oYRZB','executeAsyncScript','jkZjX','hHdjE','BeFnz','HFnTk','pMfbe','length'];a32_0x2c94=function(){return _0x3cdb0e;};return a32_0x2c94();}
|
|
1
|
+
function a32_0xe504(_0x48b672,_0x544a1b){const _0x5a5129=a32_0x5a51();return a32_0xe504=function(_0xe50410,_0x34dd48){_0xe50410=_0xe50410-0xe5;let _0x38adbb=_0x5a5129[_0xe50410];return _0x38adbb;},a32_0xe504(_0x48b672,_0x544a1b);}function a32_0x5a51(){const _0x4de96b=['bnsvo','115518KsmdHh','error','thTestRunUuid','../../helpers/helper','passed','lvCOu','err','4KXaHgB','PERFORM_SCAN','performScan','http:','Performing\x20scan\x20before\x20saving\x20results','5179188fYwayP','thBuildUuid','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20',',\x22level\x22:\x20\x22','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','cVYbJ','isAccessibilityPlatform','gMdVx','444536wgLTPA','\x20|\x20','lAiXH','sessionName','awmjs','shouldScanTestForAccessibility','app','BCrti','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','then','CJVrB','RKISZ','beforeAll','ObservabilitySync:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','juaXM','ENV_VAR','join','203lOruKa','failed','__error_messages__','ufTkU','isArray','\x20-\x20','__skipSessionName','GOLFs','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Failed:\x20','afterAll','sdQJy','SYNC','../../helpers/testhub/utils','SESSION_NAME','81PBCyiH','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','thJwtToken','startMonitoring','executeAsyncScript','vrRbc','bTLgx','xgIgc','zEuzz','start','sYQUR','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','XgXLi','WprAi','winstonLogger','percyCaptureMode','./test-observability/mochaUtils','../../helpers/performance/performance-tester','stringify','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','titlePath','FDfMf','pNGVM','https:','BROWSERSTACK_TESTHUB_UUID','rfzwN','push','ejmyz','timeout','afterTest','capabilities','UojyA','WGNbU','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','FmRyU','.\x20Error\x20:','gFrfZ','afterEach','length','mrBwZ','../../helpers/percy/utils','mochaHooks','gDYNM','getCurrentUrl','__sessionFailed','vDxUG','PJqBr','SmikL','spbJY','__platformCaps','SAVE_RESULTS','VuyYu','FavRy','dHmUK','SESSION_STATUS','beforeEach','getGlobal','xFIRk','testAnalyticsId','executeScript','browserstackSessionName','initQuit','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','821844flUHtD','end','driverCleanup','jzFZi','now','protocol','xaiaX','percy','27082935MGdvnf','MvEUQ','KzwGu','DAjiy','../../helpers/performance/constants','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ujqXe','QAoDi','gGjXE','sessionNameSet__','message','bstackA11yShouldScan','measureWrapper','PYUYt','509485YjjPDL','PdvGn','XvFHO','IrKzT','usptV','testcase','debug','format','setGlobal','accessibilityScanStarted','session_','util','index','932190gfvJIE','WOBtd','\x22}}','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','quitCount_','NeWOh','command','SDK_HOOK','yCFKF','../../helpers/testhub/constants','finally','rqhJu','UtZsG','18YdamCP','info','cdhvV','currentTest','browserstackTestName','KdpAB','tVhjJ','grUlG','__drivers','env'];a32_0x5a51=function(){return _0x4de96b;};return a32_0x5a51();}const a32_0x1f79fa=a32_0xe504;(function(_0x567b45,_0x2151a6){const _0x401422=a32_0xe504,_0x1def07=_0x567b45();while(!![]){try{const _0x3e5443=-parseInt(_0x401422(0xf3))/0x1+parseInt(_0x401422(0x12e))/0x2*(parseInt(_0x401422(0x164))/0x3)+-parseInt(_0x401422(0x135))/0x4*(parseInt(_0x401422(0x109))/0x5)+parseInt(_0x401422(0x13a))/0x6+parseInt(_0x401422(0x154))/0x7*(parseInt(_0x401422(0x142))/0x8)+-parseInt(_0x401422(0x123))/0x9*(-parseInt(_0x401422(0x116))/0xa)+-parseInt(_0x401422(0xfb))/0xb;if(_0x3e5443===_0x2151a6)break;else _0x1def07['push'](_0x1def07['shift']());}catch(_0x588cd2){_0x1def07['push'](_0x1def07['shift']());}}}(a32_0x5a51,0xcbcba));const util=require(a32_0x1f79fa(0x114)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x1f79fa(0x18c)),{sendPlatformDetails}=require(a32_0x1f79fa(0x174)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x1f79fa(0x131)),PerformanceTester=require(a32_0x1f79fa(0x175)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x1f79fa(0xff)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require('../../helpers/logger')[a32_0x1f79fa(0x172)],{shouldProcessEventForTesthub}=require(a32_0x1f79fa(0x162)),testHubConstants=require(a32_0x1f79fa(0x11f));exports[a32_0x1f79fa(0x18d)]={'beforeAll'(){const _0x16988f=a32_0x1f79fa,_0x2cfdca={'bnsvo':function(_0x532abb,_0x2b4373,_0x4121e4,_0x2c4cd8){return _0x532abb(_0x2b4373,_0x4121e4,_0x2c4cd8);},'WprAi':_0x16988f(0x155),'gFrfZ':_0x16988f(0x143),'GOLFs':function(_0x45d583,_0x5bc800,_0x314701){return _0x45d583(_0x5bc800,_0x314701);},'rWFMC':_0x16988f(0x132),'PYUYt':function(_0x5104d1){return _0x5104d1();},'PJqBr':function(_0x5a1804,_0x322baa,_0xc28d6e){return _0x5a1804(_0x322baa,_0xc28d6e);},'yhXIT':_0x16988f(0x115),'bTLgx':_0x16988f(0x14e)};PerformanceTester[_0x16988f(0x167)]();const _0x12c8c1='browserstack internal helper hook';PerformanceTester[_0x16988f(0x107)](PerformanceSdkEvents[_0x16988f(0x11d)],()=>{const _0x3c8548=_0x16988f,_0x2d4f0d={'JOYQF':function(_0x7ec96e,_0x3c363c,_0x416736,_0x3134de){const _0x6080dc=a32_0xe504;return _0x2cfdca[_0x6080dc(0x12d)](_0x7ec96e,_0x3c363c,_0x416736,_0x3134de);},'VuyYu':_0x2cfdca[_0x3c8548(0x171)],'XgXLi':_0x2cfdca[_0x3c8548(0x188)],'vDxUG':function(_0x20c2ff,_0x1afd7c,_0x4d4a0a){const _0x35b92e=_0x3c8548;return _0x2cfdca[_0x35b92e(0x15b)](_0x20c2ff,_0x1afd7c,_0x4d4a0a);},'juaXM':_0x2cfdca['rWFMC'],'yCFKF':function(_0x3e90ea){const _0x423183=_0x3c8548;return _0x2cfdca[_0x423183(0x108)](_0x3e90ea);},'XvFHO':function(_0x5426f3,_0x5e6e9c,_0x400eab){return _0x2cfdca['GOLFs'](_0x5426f3,_0x5e6e9c,_0x400eab);}};global[_0x3c8548(0x156)]=[],global['__sessionFailed']=![],global[_0x3c8548(0xf5)]=async()=>{const _0x5d0042=_0x3c8548;let _0x148eec=![];try{await global['__drivers'][0x0][_0x5d0042(0x113)],_0x148eec=!![],global[_0x5d0042(0x190)]?await _0x2d4f0d['JOYQF'](markSessionStatus,global[_0x5d0042(0x12b)][0x0],_0x2d4f0d[_0x5d0042(0xe7)],global[_0x5d0042(0x156)][_0x5d0042(0x153)](_0x2d4f0d[_0x5d0042(0x170)])):await _0x2d4f0d[_0x5d0042(0x191)](markSessionStatus,global['__drivers'][0x0],_0x2d4f0d[_0x5d0042(0x151)]);}catch(_0x4a32ba){logger[_0x5d0042(0x10f)](_0x5d0042(0x16f)+_0x4a32ba);}global['__error_messages__']=[],global[_0x5d0042(0x190)]=![];if(_0x148eec)try{try{_0x2d4f0d[_0x5d0042(0x11e)](shouldProcessEventForTesthub)&&(global[_0x5d0042(0x12b)][0x0]&&await _0x2d4f0d[_0x5d0042(0x10b)](sendPlatformDetails,global[_0x5d0042(0x12b)][0x0],this[_0x5d0042(0x126)]?this[_0x5d0042(0x126)]['testAnalyticsId']:null));}catch(_0x5abde1){logger[_0x5d0042(0x10f)](_0x5d0042(0x13c)+_0x5abde1);}await global[_0x5d0042(0x12b)][0x0][_0x5d0042(0xf1)]();}catch(_0x12b8a9){logger['debug'](_0x5d0042(0x150)+_0x12b8a9);}};},{'platform':_0x2cfdca[_0x16988f(0x192)](nestedKeyValue,global['__platformCaps'],[_0x2cfdca['yhXIT']]),'hookType':_0x2cfdca[_0x16988f(0x16a)]})();},'beforeEach'(_0x36b691){const _0x14daec=a32_0x1f79fa,_0x2f5219={'zTFba':function(_0x4b4374,_0x4da47e){return _0x4b4374>_0x4da47e;},'NeWOh':function(_0x13fec9,_0x2aebdf){return _0x13fec9>_0x2aebdf;},'dHmUK':_0x14daec(0x159),'FmRyU':function(_0x3b0ac6,_0x19851b,_0x1b4b1a){return _0x3b0ac6(_0x19851b,_0x1b4b1a);},'ujqXe':_0x14daec(0x106),'sdQJy':function(_0x34155a){return _0x34155a();},'FavRy':function(_0x1a6038,_0x4255c7){return _0x1a6038>_0x4255c7;},'zEuzz':_0x14daec(0x140),'pNGVM':function(_0x1432ff,_0x11bf07){return _0x1432ff===_0x11bf07;},'bjViR':_0x14daec(0x138),'xgIgc':function(_0x4758db,_0x338bd4){return _0x4758db===_0x338bd4;},'gGjXE':_0x14daec(0x17b),'xaiaX':_0x14daec(0x119),'hSGHd':'Automate\x20test\x20case\x20execution\x20has\x20started.','xFIRk':_0x14daec(0x127),'CfonJ':_0x14daec(0x115),'spbJY':_0x14daec(0xeb)};globals['setGlobal'](_0x2f5219[_0x14daec(0xed)],this[_0x14daec(0x126)][_0x14daec(0x178)]()[_0x14daec(0x153)](_0x2f5219[_0x14daec(0xe9)])),PerformanceTester[_0x14daec(0x107)](PerformanceSdkEvents[_0x14daec(0x11d)],()=>{const _0xdd065e=_0x14daec,_0x21ed44={'awmjs':function(_0x436757){const _0x6e7f37=a32_0xe504;return _0x2f5219[_0x6e7f37(0x160)](_0x436757);}},_0x1f6a90='browserstack internal helper hook';new Promise(async _0x1fa3c2=>{const _0x2f66bf=a32_0xe504;let _0x2f06e1=!![];try{_0x2f5219['zTFba'](global[_0x2f66bf(0x12b)]['length'],0x1)&&(await global[_0x2f66bf(0xf5)](),global[_0x2f66bf(0x12b)]['shift']()),_0x2f5219[_0x2f66bf(0x11b)](global[_0x2f66bf(0x12b)][0x0][_0x2f66bf(0x11a)],0x0)&&(_0x2f06e1=![],await global[_0x2f66bf(0xf5)]());}catch(_0x4f5b17){logger['debug'](_0x2f66bf(0x150)+_0x4f5b17);}try{Array[_0x2f66bf(0x158)](global[_0x2f66bf(0x12b)])&&global[_0x2f66bf(0x12b)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x2f66bf(0x126)][_0x2f66bf(0x178)]()['join'](_0x2f5219[_0x2f66bf(0xe9)])),global['browserstackSessionName']=this[_0x2f66bf(0x126)][_0x2f66bf(0x178)]()[_0x2f66bf(0x153)](_0x2f5219[_0x2f66bf(0xe9)]);}catch(_0x5b0092){logger[_0x2f66bf(0x10f)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5b0092);}this['currentTest'][_0x2f66bf(0x147)]=_0x2f5219['FmRyU'](shouldScanTestForAccessibility,this[_0x2f66bf(0x126)][_0x2f66bf(0x178)](),!![]),globals[_0x2f66bf(0x111)](_0x2f5219[_0x2f66bf(0x101)],this[_0x2f66bf(0x126)][_0x2f66bf(0x147)]),this['currentTest'][_0x2f66bf(0x112)]=!![];if(_0x2f5219[_0x2f66bf(0x160)](isAccessibilityAutomationSession)&&_0x2f06e1&&Array[_0x2f66bf(0x158)](global[_0x2f66bf(0x12b)])&&_0x2f5219[_0x2f66bf(0xe8)](global['__drivers'][_0x2f66bf(0x18a)],0x0)&&globals['getGlobal'](_0x2f5219[_0x2f66bf(0x16c)]))try{const _0x4eb341=await global[_0x2f66bf(0x12b)][0x0][_0x2f66bf(0x113)];if(_0x4eb341){let _0x54e8b7=!![];const _0x54d415=await global['__drivers'][0x0][_0x2f66bf(0x18f)]();let _0x254c96;try{_0x254c96=new URL(_0x54d415);}catch(_0x2ca87e){_0x54e8b7=![];}_0x54e8b7=_0x2f5219[_0x2f66bf(0x17a)](_0x254c96[_0x2f66bf(0xf8)],_0x2f5219['bjViR'])||_0x2f5219[_0x2f66bf(0x16b)](_0x254c96['protocol'],_0x2f5219[_0x2f66bf(0x103)]),_0x54e8b7&&(this[_0x2f66bf(0x126)][_0x2f66bf(0x147)]&&logger['info'](_0x2f5219[_0x2f66bf(0xf9)])),this['currentTest'][_0x2f66bf(0x112)]=this[_0x2f66bf(0x126)][_0x2f66bf(0x147)],this[_0x2f66bf(0x126)][_0x2f66bf(0x147)]&&logger[_0x2f66bf(0x124)](_0x2f5219['hSGHd']);}}catch(_0x120caf){logger[_0x2f66bf(0x12f)](_0x2f66bf(0x15d)+util['format'](_0x120caf));}_0x2f5219['sdQJy'](_0x1fa3c2);})[_0xdd065e(0x14b)](()=>{const _0x412301=_0xdd065e;_0x21ed44[_0x412301(0x146)](_0x36b691);});},{'platform':_0x2f5219[_0x14daec(0x186)](nestedKeyValue,global['__platformCaps'],[_0x2f5219['CfonJ']]),'hookType':_0x2f5219[_0x14daec(0x194)]})();},'afterEach'(_0x4e6d0f){const _0x237d0c=a32_0x1f79fa,_0x9fc301={'grUlG':function(_0x92dd38,_0x5d9349){return _0x92dd38>_0x5d9349;},'WOBtd':function(_0x2eb286,_0x3fdd18){return _0x2eb286===_0x3fdd18;},'jzFZi':_0x237d0c(0x10e),'bWoLc':'appium:app','mrBwZ':function(_0x559967,_0xcefcc6,_0x2977e4,_0x9cab16){return _0x559967(_0xcefcc6,_0x2977e4,_0x9cab16);},'KdpAB':'isAccessibilityPlatform','tVhjJ':_0x237d0c(0x106),'PdvGn':_0x237d0c(0xf2),'FDfMf':_0x237d0c(0x139),'QAoDi':_0x237d0c(0x181),'sYQUR':_0x237d0c(0x15c),'DAjiy':function(_0xafd7){return _0xafd7();},'cdhvV':function(_0x1a816f,_0x195b1a,_0x3a2c03){return _0x1a816f(_0x195b1a,_0x3a2c03);},'UtZsG':function(_0x4e7b31){return _0x4e7b31();},'gMdVx':_0x237d0c(0x10f),'vrRbc':function(_0x208c70){return _0x208c70();},'UojyA':_0x237d0c(0x159),'KzwGu':function(_0x1422af,_0x6091e0){return _0x1422af!==_0x6091e0;},'uFFTx':_0x237d0c(0x132),'cVYbJ':function(_0x19587d,_0x192383,_0x15378c){return _0x19587d(_0x192383,_0x15378c);},'zlXKA':function(_0x5f414f,_0x219257){return _0x5f414f+_0x219257;},'gDYNM':_0x237d0c(0x15e),'ejmyz':_0x237d0c(0x12f),'mBIll':function(_0x176a8f,_0x261d91,_0xa0aaaa){return _0x176a8f(_0x261d91,_0xa0aaaa);},'rfzwN':'Passed','WGNbU':_0x237d0c(0x124),'kSyMb':function(_0x58fc99,_0x3d6237,_0xfc5fd){return _0x58fc99(_0x3d6237,_0xfc5fd);},'RKISZ':_0x237d0c(0x115),'ufTkU':_0x237d0c(0x189)},_0x225c9f='browserstack internal helper hook';this[_0x237d0c(0x180)](0xfde8),global[_0x237d0c(0x145)]=this[_0x237d0c(0x126)][_0x237d0c(0x178)]()[_0x237d0c(0x153)](_0x9fc301[_0x237d0c(0x183)]),PerformanceTester[_0x237d0c(0x107)](PerformanceSdkEvents[_0x237d0c(0x11d)],()=>{const _0x2a9b41=_0x237d0c,_0x5dc59b={'dNCZb':_0x9fc301[_0x2a9b41(0x183)],'lAiXH':function(_0x5848ff,_0x5def12){const _0x4fd622=_0x2a9b41;return _0x9fc301[_0x4fd622(0xfd)](_0x5848ff,_0x5def12);},'SmikL':_0x9fc301['uFFTx'],'rqhJu':function(_0x195d77,_0x5d03e5,_0x3ac516){const _0x282da7=_0x2a9b41;return _0x9fc301[_0x282da7(0x13f)](_0x195d77,_0x5d03e5,_0x3ac516);},'CJVrB':function(_0x2987e9,_0x1b0260){return _0x9fc301['zlXKA'](_0x2987e9,_0x1b0260);},'IobNk':_0x9fc301[_0x2a9b41(0x18e)],'MvEUQ':_0x9fc301[_0x2a9b41(0x17f)],'TvxlP':function(_0x588308,_0x12ec75,_0x5d7767){return _0x9fc301['mBIll'](_0x588308,_0x12ec75,_0x5d7767);},'BCrti':_0x9fc301[_0x2a9b41(0x17d)],'hFVfc':_0x9fc301[_0x2a9b41(0x184)]},_0x5b0c92=async(_0x15f82d,_0x5634ee)=>{const _0x53f386=_0x2a9b41;await global[_0x53f386(0x12b)][0x0][_0x53f386(0xef)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x15f82d+_0x53f386(0x13d)+_0x5634ee+_0x53f386(0x118));};new Promise(async _0x57cccf=>{const _0x44f32f=_0x2a9b41;try{_0x9fc301[_0x44f32f(0x12a)](global[_0x44f32f(0x12b)]['length'],0x1)&&(await global[_0x44f32f(0xf5)](),global[_0x44f32f(0x12b)]['shift'](),global[_0x44f32f(0x156)]=[],global[_0x44f32f(0x190)]=![]);try{if(global[_0x44f32f(0xfa)]&&_0x9fc301[_0x44f32f(0x117)](global[_0x44f32f(0x173)],_0x9fc301['jzFZi'])&&global[_0x44f32f(0x12b)][0x0]){const _0x2015bd=_0x9fc301[_0x44f32f(0x12a)](global[_0x44f32f(0x182)][_0x44f32f(0x18a)],0x0)?!!global['capabilities'][0x0][_0x44f32f(0x148)]||!!global['capabilities'][0x0][_0x9fc301['bWoLc']]:![],_0x183fc0={};_0x183fc0[_0x44f32f(0x148)]=_0x2015bd,await _0x9fc301[_0x44f32f(0x18b)](percyAutoCapture,global[_0x44f32f(0x12b)][0x0],_0x9fc301[_0x44f32f(0xf6)],_0x183fc0);}}catch(_0x2ceb29){logger[_0x44f32f(0x10f)](_0x44f32f(0x177)+_0x2ceb29);}!global[_0x44f32f(0x15a)]&&(await PerformanceTester[_0x44f32f(0x107)](PerformanceAutEvents[_0x44f32f(0x163)],async()=>{const _0x153f83=_0x44f32f;await global['__drivers'][0x0][_0x153f83(0xef)](_0x153f83(0x13e)+JSON[_0x153f83(0x176)](this[_0x153f83(0x126)][_0x153f83(0x178)]()[_0x153f83(0x153)](_0x5dc59b['dNCZb']))+'}}');})(),global['__drivers'][0x0][_0x44f32f(0x104)]=!![]),await PerformanceTester[_0x44f32f(0x107)](PerformanceAutEvents[_0x44f32f(0xea)],async()=>{const _0x446476=_0x44f32f,_0x2541be=_0x5dc59b[_0x446476(0x144)](this[_0x446476(0x126)]['state'],_0x5dc59b[_0x446476(0x193)]);_0x2541be?(global['__sessionFailed']=!![],global[_0x446476(0x156)][_0x446476(0x17e)](this[_0x446476(0x126)][_0x446476(0x134)][_0x446476(0x105)]),await _0x5dc59b[_0x446476(0x121)](_0x5b0c92,JSON[_0x446476(0x176)](_0x5dc59b[_0x446476(0x14c)](_0x5dc59b['IobNk'],this['currentTest']['err'][_0x446476(0x105)])),_0x5dc59b[_0x446476(0xfc)])):await _0x5dc59b['TvxlP'](_0x5b0c92,JSON[_0x446476(0x176)](_0x5dc59b[_0x446476(0x149)]),_0x5dc59b['hFVfc']);})();}catch(_0xf66550){logger[_0x44f32f(0x10f)](_0x44f32f(0x185)+_0xf66550);}try{if(this[_0x44f32f(0x126)][_0x44f32f(0x112)]&&globals[_0x44f32f(0xec)](_0x9fc301[_0x44f32f(0x128)])&&globals[_0x44f32f(0xec)](_0x9fc301[_0x44f32f(0x129)])){logger[_0x44f32f(0x124)](_0x9fc301[_0x44f32f(0x10a)]);const _0x333683={};_0x333683[_0x44f32f(0x130)]=this[_0x44f32f(0x126)][_0x44f32f(0xee)],_0x333683[_0x44f32f(0x13b)]=process[_0x44f32f(0x12c)][testHubConstants[_0x44f32f(0x152)][_0x44f32f(0x17c)]],_0x333683[_0x44f32f(0x166)]=process[_0x44f32f(0x12c)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2d2713=_0x333683;logger[_0x44f32f(0x10f)](_0x44f32f(0x100)+JSON[_0x44f32f(0x176)](_0x2d2713)),logger[_0x44f32f(0x10f)](_0x9fc301[_0x44f32f(0x179)]);const _0x187fb8={};_0x187fb8[_0x44f32f(0x11c)]=_0x9fc301[_0x44f32f(0x102)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x44f32f(0x136)],async()=>{const _0x3b57f7=_0x44f32f;logger['debug'](util[_0x3b57f7(0x110)](await global[_0x3b57f7(0x12b)][0x0][_0x3b57f7(0x168)](scripts[_0x3b57f7(0x137)],{'method':global[_0x3b57f7(0xf0)]})));},_0x187fb8)(),await PerformanceTester[_0x44f32f(0x107)](PerformanceA11yEvents[_0x44f32f(0xe6)],async()=>{const _0x3999e4=_0x44f32f;await global[_0x3999e4(0x12b)][0x0][_0x3999e4(0x168)](scripts['saveTestResults'],_0x2d2713);})(),logger[_0x44f32f(0x124)](_0x9fc301[_0x44f32f(0x16e)]);}}catch(_0x4406bb){logger[_0x44f32f(0x12f)](_0x44f32f(0x165)+this['currentTest'][_0x44f32f(0x178)]()+_0x44f32f(0x187),_0x4406bb);}try{try{if(_0x9fc301[_0x44f32f(0xfe)](shouldProcessEventForTesthub)){global[_0x44f32f(0x12b)][0x0]&&await _0x9fc301['cdhvV'](sendPlatformDetails,global['__drivers'][0x0],this[_0x44f32f(0x126)]?this[_0x44f32f(0x126)]['testAnalyticsId']:null);if(_0x9fc301[_0x44f32f(0x122)](isBrowserstackInfra)){PerformanceTester[_0x44f32f(0x16d)](PerformanceO11yEvents[_0x44f32f(0x161)]);const _0x3a3987=_0x44f32f(0x14f)+Date[_0x44f32f(0xf7)]();await _0x9fc301[_0x44f32f(0x125)](_0x5b0c92,JSON[_0x44f32f(0x176)](_0x3a3987),_0x9fc301[_0x44f32f(0x141)]),PerformanceTester[_0x44f32f(0xf4)](PerformanceO11yEvents['SYNC']);}}}catch(_0x36996e){logger['debug'](_0x44f32f(0x14a)+_0x36996e),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x36996e);}_0x9fc301[_0x44f32f(0x12a)](global[_0x44f32f(0x12b)][0x0][_0x44f32f(0x11a)],0x0)&&await global[_0x44f32f(0xf5)]();}catch(_0x5c54bf){logger[_0x44f32f(0x10f)](_0x44f32f(0x150)+_0x5c54bf);}_0x9fc301['UtZsG'](_0x57cccf);})[_0x2a9b41(0x14b)](()=>{const _0x532ad3=_0x2a9b41;_0x9fc301[_0x532ad3(0x169)](_0x4e6d0f);});},{'platform':_0x9fc301['kSyMb'](nestedKeyValue,global[_0x237d0c(0xe5)],[_0x9fc301[_0x237d0c(0x14d)]]),'hookType':_0x9fc301[_0x237d0c(0x157)]})();},'afterAll'(_0x1eae9b){const _0x59226e=a32_0x1f79fa,_0x2e8690={'usptV':function(_0x58ce80){return _0x58ce80();},'lvCOu':function(_0x18e6fa,_0x59aad6,_0x36bffe){return _0x18e6fa(_0x59aad6,_0x36bffe);},'picZb':_0x59226e(0x115),'IrKzT':_0x59226e(0x15f)},_0x3b1e2c='browserstack internal helper hook';this[_0x59226e(0x180)](0xfde8),PerformanceTester[_0x59226e(0x107)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xf2d0cc=_0x59226e;new Promise(async _0x17c65e=>{const _0xd1d5f5=a32_0xe504;await global[_0xd1d5f5(0xf5)](),_0x2e8690[_0xd1d5f5(0x10d)](_0x17c65e);})[_0xf2d0cc(0x14b)]()[_0xf2d0cc(0x120)](()=>{_0x2e8690['usptV'](_0x1eae9b);});},{'platform':_0x2e8690[_0x59226e(0x133)](nestedKeyValue,global[_0x59226e(0xe5)],[_0x2e8690['picZb']]),'hookType':_0x2e8690[_0x59226e(0x10c)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a33_0x212338=a33_0x40ee;(function(_0xc295e5,_0x1daea7){const _0x385a01=a33_0x40ee,_0x27470d=_0xc295e5();while(!![]){try{const _0x2e7eac=-parseInt(_0x385a01(0x1a2))/0x1+-parseInt(_0x385a01(0x1c5))/0x2+parseInt(_0x385a01(0x1c4))/0x3+-parseInt(_0x385a01(0x1ab))/0x4+parseInt(_0x385a01(0x1b2))/0x5+-parseInt(_0x385a01(0x1a0))/0x6+parseInt(_0x385a01(0x1cf))/0x7*(parseInt(_0x385a01(0x1bd))/0x8);if(_0x2e7eac===_0x1daea7)break;else _0x27470d['push'](_0x27470d['shift']());}catch(_0x564b8e){_0x27470d['push'](_0x27470d['shift']());}}}(a33_0x9e99,0x7ba99));function a33_0x9e99(){const _0x6d1259=['EBWVP','uurAe','useW3C','../utils/constants','port','TFGCQ','platforms','RlzGK','selenium','trim','path','findIndex','winstonLogger','child\x20process\x20exited\x20with\x20code\x20','nightwatch.conf.js','unlinkSync','getPlatformName','nightwatch-browserstack.json','length','webdriver','hub.browserstack.com','cwd','3704070Ceuaqa','join','276568OaNlol','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mergeDeep','start_process','map','exports','wtVlW','slice','existsSync','1908768QMboLZ','config','modifyBrowserStackW3CCaps','sKFEX','azzUz','ETgcD','test_settings','4844585xuWBTQ','splice','laQDd','nightwatch.json','now','ktTQS','--config','inherit','xMQtb','child_process','modifyBrowserStackCaps','216ivLzPH','info','nightwatch','nvOzL','Getting\x20your\x20nightwatch\x20configs\x20from\x20','../../helpers/logger','../../helpers/helper','2057877vNJBxs','970758JbHumj','PiSHg','isUndefined','debug','platform','filter','forEach','tmAzK','AsNsP','env','183589RoWGXw','NWGhC','OnqSJ','--env','stringify','test','push'];a33_0x9e99=function(){return _0x6d1259;};return a33_0x9e99();}const fs=require('fs'),path=require(a33_0x212338(0x194)),{spawn}=require(a33_0x212338(0x1bb)),logger=require(a33_0x212338(0x1c2))[a33_0x212338(0x196)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x212338(0x1c3)),constants=require(a33_0x212338(0x18d)),getUserNightwatchConfigs=(_0x9ae90d,_0x2f772e)=>{const _0x35155a=a33_0x212338,_0x5e1d0d={'OnqSJ':_0x35155a(0x198),'xuzpR':_0x35155a(0x1b5),'bGLBx':function(_0x1e7d6d,_0x27ac5d){return _0x1e7d6d(_0x27ac5d);},'llfDQ':_0x35155a(0x1a3)};let _0x51b5b2=null,_0x8c4abf={};const _0x1f455d=_0x2f772e[_0x35155a(0x195)](_0x477a2b=>_0x477a2b==='--config');if(!helper[_0x35155a(0x1c7)](_0x9ae90d[_0x35155a(0x1ac)])&&fs['existsSync'](path['join'](process[_0x35155a(0x19f)](),_0x9ae90d[_0x35155a(0x1ac)])))_0x51b5b2=path[_0x35155a(0x1a1)](process[_0x35155a(0x19f)](),_0x9ae90d[_0x35155a(0x1ac)]),_0x2f772e[_0x35155a(0x1b3)](_0x1f455d,0x2);else{if(fs[_0x35155a(0x1aa)](path['join'](process[_0x35155a(0x19f)](),_0x5e1d0d[_0x35155a(0x1d1)])))_0x51b5b2=path[_0x35155a(0x1a1)](process[_0x35155a(0x19f)](),_0x5e1d0d['OnqSJ']);else fs[_0x35155a(0x1aa)](path['join'](process[_0x35155a(0x19f)](),_0x5e1d0d['xuzpR']))&&(_0x51b5b2=path[_0x35155a(0x1a1)](process['cwd'](),_0x5e1d0d['xuzpR']));}return _0x51b5b2?(logger['info'](_0x35155a(0x1c1)+_0x51b5b2),_0x8c4abf=_0x5e1d0d['bGLBx'](require,_0x51b5b2)):logger[_0x35155a(0x1be)](_0x5e1d0d['llfDQ']),_0x8c4abf;},removeExistingEnvs=_0x52ed1b=>{const _0x1fc134=a33_0x212338,_0x3fe4af={};_0x3fe4af[_0x1fc134(0x1cc)]=function(_0x1ce352,_0x103d5e){return _0x1ce352>_0x103d5e;},_0x3fe4af['xAmpv']=function(_0x245b06,_0x7c7d7f){return _0x245b06>_0x7c7d7f;};const _0x10afd0=_0x3fe4af;let _0x20932c=_0x52ed1b['findIndex'](_0x26cfff=>_0x26cfff===_0x1fc134(0x1d2));_0x10afd0[_0x1fc134(0x1cc)](_0x20932c,-0x1)&&_0x52ed1b[_0x1fc134(0x1b3)](_0x20932c,0x2),_0x20932c=_0x52ed1b[_0x1fc134(0x195)](_0x114edf=>_0x114edf==='-e'),_0x10afd0['xAmpv'](_0x20932c,-0x1)&&_0x52ed1b[_0x1fc134(0x1b3)](_0x20932c,0x2);};function run(_0x176dad,_0x133d9e){const _0x52e21d=a33_0x212338,_0x172dd4={'nvOzL':_0x52e21d(0x1bf),'ETgcD':function(_0x2f6d9f,_0x13cdc6){return _0x2f6d9f+_0x13cdc6;},'ktTQS':_0x52e21d(0x1b1),'xMQtb':function(_0x590b4b,_0x453f01,_0x4cf172){return _0x590b4b(_0x453f01,_0x4cf172);},'NWGhC':_0x52e21d(0x19e),'azzUz':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','MGDpB':function(_0x131bce,_0x9163ed){return _0x131bce===_0x9163ed;},'uDvjU':_0x52e21d(0x19b),'RlzGK':function(_0x1b67b8,_0x1e9630){return _0x1b67b8(_0x1e9630);},'laQDd':function(_0x18853e,_0x13474d,_0x509980,_0x5cae25){return _0x18853e(_0x13474d,_0x509980,_0x5cae25);},'sKFEX':'nightwatch.cmd','EBWVP':_0x52e21d(0x1b8),'wtVlW':_0x52e21d(0x1d2),'AsNsP':_0x52e21d(0x1b9),'PiSHg':'close'},_0x1d54ba=new BrowserStackSetup(_0x176dad);if(!_0x1d54ba[_0x52e21d(0x1ac)])return;const _0x188ae3=_0x172dd4[_0x52e21d(0x1ba)](getUserNightwatchConfigs,_0x176dad,_0x133d9e),_0x2c5a13={};_0x2c5a13[_0x52e21d(0x1a5)]=![];const _0x291227={};_0x291227['host']=_0x172dd4[_0x52e21d(0x1d0)],_0x291227[_0x52e21d(0x18e)]=0x1bb;const _0x4ef704={};_0x4ef704[_0x52e21d(0x19d)]=_0x2c5a13,_0x4ef704[_0x52e21d(0x192)]=_0x291227;const _0x1051d3=_0x4ef704;logger[_0x52e21d(0x1be)](_0x172dd4[_0x52e21d(0x1af)]);const _0x15d162={..._0x188ae3},_0x65bdd1=_0x15d162,_0x342830=helper[_0x52e21d(0x18c)](_0x1d54ba[_0x52e21d(0x1ac)]),_0xa3718f=[];_0x1d54ba[_0x52e21d(0x1ac)][_0x52e21d(0x190)][_0x52e21d(0x1cb)]((_0x651a26,_0x1b7eba)=>{const _0x3b7f2f=_0x52e21d;_0x342830?_0xa3718f[_0x3b7f2f(0x1d5)](helper[_0x3b7f2f(0x1ad)](_0x1d54ba[_0x3b7f2f(0x1ac)],_0x172dd4[_0x3b7f2f(0x1c0)],_0x1b7eba)):_0xa3718f[_0x3b7f2f(0x1d5)](helper[_0x3b7f2f(0x1bc)](_0x1d54ba[_0x3b7f2f(0x1ac)],_0x172dd4['nvOzL'],_0x1b7eba));});const _0x18715f={},_0x3824b2=[];_0x176dad['env']=_0x176dad[_0x52e21d(0x1ce)]||_0x176dad['e'];const _0x36fb5d=_0x176dad['env']?_0x176dad[_0x52e21d(0x1ce)]['trim']()['split'](',')[_0x52e21d(0x1a6)](_0x298be5=>_0x298be5[_0x52e21d(0x193)]())[_0x52e21d(0x1ca)](_0x230357=>_0x230357!==''):[''];_0x172dd4['MGDpB'](_0x36fb5d[_0x52e21d(0x19c)],0x0)&&_0x36fb5d['push']('');_0x36fb5d['forEach'](_0x1f9739=>{const _0x5f2270=_0x52e21d,_0x36859c={'TFGCQ':function(_0x18bc0c,_0x43a3f1){const _0x30ae0b=a33_0x40ee;return _0x172dd4[_0x30ae0b(0x1b0)](_0x18bc0c,_0x43a3f1);},'uurAe':_0x172dd4[_0x5f2270(0x1b7)]};_0xa3718f[_0x5f2270(0x1cb)](_0x18a9d7=>{const _0x60cabf=_0x5f2270;let _0x3b41c7=_0x36859c[_0x60cabf(0x18f)](helper[_0x60cabf(0x19a)](_0x18a9d7,'_'),'_'+Date[_0x60cabf(0x1b6)]());_0x1f9739&&(_0x3b41c7+='_'+_0x1f9739);if(_0x1f9739&&(!_0x188ae3[_0x36859c['uurAe']]||!_0x188ae3[_0x36859c[_0x60cabf(0x18b)]][_0x1f9739]))return;const _0x55238b={..._0x1051d3};_0x55238b['desiredCapabilities']=_0x18a9d7;const _0x28ed8a=_0x55238b;_0x18715f[_0x3b41c7]=_0x1f9739?helper[_0x60cabf(0x1a4)](_0x188ae3[_0x36859c[_0x60cabf(0x18b)]][_0x1f9739],_0x28ed8a):_0x28ed8a,_0x3824b2['push'](_0x3b41c7);});});!_0x65bdd1[_0x52e21d(0x1b1)]&&(_0x65bdd1['test_settings']={});_0x65bdd1[_0x52e21d(0x1b1)]={..._0x65bdd1[_0x52e21d(0x1b1)],..._0x18715f};const _0x44b5a8=path[_0x52e21d(0x1a1)](__dirname,_0x172dd4['uDvjU']);fs['writeFileSync'](_0x44b5a8,JSON[_0x52e21d(0x1d3)](_0x65bdd1)),_0x172dd4[_0x52e21d(0x191)](removeExistingEnvs,_0x133d9e);const _0x30f896=_0x172dd4[_0x52e21d(0x1b4)](spawn,/^win/[_0x52e21d(0x1d4)](process[_0x52e21d(0x1c9)])?_0x172dd4[_0x52e21d(0x1ae)]:_0x172dd4[_0x52e21d(0x1c0)],[_0x172dd4[_0x52e21d(0x18a)],_0x44b5a8,..._0x133d9e[_0x52e21d(0x1a9)](0x1),_0x172dd4[_0x52e21d(0x1a8)],_0x3824b2[_0x52e21d(0x1a1)](',')],{'stdio':_0x172dd4[_0x52e21d(0x1cd)]});_0x30f896['on'](_0x172dd4[_0x52e21d(0x1c6)],async _0x526963=>{const _0x2dc62a=_0x52e21d;logger[_0x2dc62a(0x1c8)](_0x2dc62a(0x197)+_0x526963),logger[_0x2dc62a(0x1be)]('Deleting\x20'+_0x44b5a8),fs[_0x2dc62a(0x199)](_0x44b5a8);});}function a33_0x40ee(_0x1416c6,_0x546e89){const _0x9e9963=a33_0x9e99();return a33_0x40ee=function(_0x40eea7,_0x238b82){_0x40eea7=_0x40eea7-0x18a;let _0x2e0e63=_0x9e9963[_0x40eea7];return _0x2e0e63;},a33_0x40ee(_0x1416c6,_0x546e89);}module[a33_0x212338(0x1a7)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34_0x2828c8=a34_0x1afb;(function(_0x127476,_0x581e9a){const _0x21a5eb=a34_0x1afb,_0x18fa67=_0x127476();while(!![]){try{const _0x550b1a=parseInt(_0x21a5eb(0xbc))/0x1+-parseInt(_0x21a5eb(0xd1))/0x2*(parseInt(_0x21a5eb(0xa6))/0x3)+-parseInt(_0x21a5eb(0xd8))/0x4*(-parseInt(_0x21a5eb(0xcf))/0x5)+-parseInt(_0x21a5eb(0xbf))/0x6+parseInt(_0x21a5eb(0xae))/0x7*(parseInt(_0x21a5eb(0xc3))/0x8)+parseInt(_0x21a5eb(0xbb))/0x9*(-parseInt(_0x21a5eb(0xd6))/0xa)+parseInt(_0x21a5eb(0x89))/0xb;if(_0x550b1a===_0x581e9a)break;else _0x18fa67['push'](_0x18fa67['shift']());}catch(_0x34c0b7){_0x18fa67['push'](_0x18fa67['shift']());}}}(a34_0x60bc,0xd385c));function a34_0x1afb(_0x402831,_0x47ac99){const _0x60bc3b=a34_0x60bc();return a34_0x1afb=function(_0x1afb11,_0x568314){_0x1afb11=_0x1afb11-0x7b;let _0x1ed365=_0x60bc3b[_0x1afb11];return _0x1ed365;},a34_0x1afb(_0x402831,_0x47ac99);}const util=require('util'),logger=require(a34_0x2828c8(0x83))[a34_0x2828c8(0xc8)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x2828c8(0xe0)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2828c8(0x90));exports[a34_0x2828c8(0xcd)]=async(_0x121016,_0x521feb,_0x3fd454={})=>{const _0x372ea4=a34_0x2828c8,_0x431a5f={};_0x431a5f['zFgEJ']=_0x372ea4(0x8b);const _0xb75e76=_0x431a5f;return await _0x121016[_0x372ea4(0x82)]('(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'+_0x521feb[_0x372ea4(0x8c)](/arguments/g,_0xb75e76[_0x372ea4(0xd2)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x3fd454)+')');},exports[a34_0x2828c8(0xaf)]=async(_0x3bef66,_0x55d87a,_0x9d953c={})=>{const _0x562a38=a34_0x2828c8,_0x3364d1={};_0x3364d1['Mjvmm']=function(_0x3c56a1,_0x28d7e1){return _0x3c56a1===_0x28d7e1;},_0x3364d1[_0x562a38(0x93)]=_0x562a38(0xd0),_0x3364d1[_0x562a38(0x9a)]=_0x562a38(0xb5),_0x3364d1['srFaz']=_0x562a38(0x8b);const _0x598170=_0x3364d1;if(_0x598170['Mjvmm'](_0x3bef66['constructor'][_0x562a38(0xa8)],_0x598170[_0x562a38(0x93)]))return await _0x3bef66[_0x562a38(0xce)](_0x55d87a,_0x9d953c);else{if(_0x598170[_0x562a38(0x9f)](_0x3bef66[_0x562a38(0xb8)][_0x562a38(0xa8)],_0x598170[_0x562a38(0x9a)]))return await _0x3bef66['executeScript'](_0x562a38(0xac)+_0x55d87a[_0x562a38(0x8c)](/arguments/g,_0x598170[_0x562a38(0xaa)])+_0x562a38(0x8e)+JSON['stringify'](_0x9d953c)+')');}},exports[a34_0x2828c8(0x8a)]=async _0x1229ec=>{const _0x17335e=a34_0x2828c8,_0x149c1d={};_0x149c1d['DQpCi']='accessibilityOptions.wcagVersion',_0x149c1d[_0x17335e(0xe4)]=_0x17335e(0xc9),_0x149c1d[_0x17335e(0xe3)]='accessibilityOptions.includeIssueType.bestPractice',_0x149c1d['qHPRj']=_0x17335e(0x94),_0x149c1d[_0x17335e(0xba)]=_0x17335e(0x9c),_0x149c1d[_0x17335e(0xd3)]='accessibilityOptions.scannerVersion';const _0x48eb8c=_0x149c1d;_0x1229ec[_0x17335e(0xdd)]&&(_0x1229ec[_0x17335e(0xdd)][_0x17335e(0x9d)]&&(_0x1229ec[_0x48eb8c[_0x17335e(0x85)]]=_0x1229ec[_0x17335e(0xdd)][_0x17335e(0x9d)]),_0x1229ec[_0x17335e(0xdd)][_0x17335e(0xb2)]&&(_0x1229ec[_0x48eb8c[_0x17335e(0xe4)]]=_0x1229ec['accessibilityOptions'][_0x17335e(0xb2)]),_0x1229ec['accessibilityOptions'][_0x17335e(0x86)]&&(_0x1229ec[_0x48eb8c[_0x17335e(0xe3)]]=_0x1229ec[_0x17335e(0xdd)][_0x17335e(0x86)][_0x17335e(0xc4)],_0x1229ec[_0x48eb8c[_0x17335e(0xde)]]=_0x1229ec['accessibilityOptions'][_0x17335e(0x86)][_0x17335e(0xb3)]));const _0x3511dd=JSON[_0x17335e(0xe2)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x17335e(0xdb)];_0x1229ec[_0x48eb8c['rRrPq']]=process[_0x17335e(0xc0)][_0x17335e(0x95)],_0x1229ec[_0x48eb8c[_0x17335e(0xd3)]]=_0x3511dd,delete _0x1229ec[_0x17335e(0xdd)];},exports[a34_0x2828c8(0xe1)]=async _0x46db75=>{const _0x59edad=a34_0x2828c8,_0x412c9c={};_0x412c9c['qesGf']=_0x59edad(0xdc),_0x412c9c[_0x59edad(0x84)]=_0x59edad(0xca);const _0x3634=_0x412c9c;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x46db75,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x46db75,scripts.getResults);})();return res;}catch{return logger[_0x59edad(0xb4)](_0x3634['qesGf']),[];}else return logger[_0x59edad(0xb7)](_0x3634[_0x59edad(0x84)]),[];},exports['performScan']=async(_0x5281d1,_0x346647='')=>{const _0x479207=a34_0x2828c8;if(global[_0x479207(0x88)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x479207(0xa9)],async()=>{const _0x2ab182=_0x479207,_0x55919f={};_0x55919f[_0x2ab182(0xa0)]=_0x346647,await exports[_0x2ab182(0xcd)](_0x5281d1,scripts['performScan'],_0x55919f);},{'command':_0x346647})();},exports['getAccessibilityResultsSummary']=async _0x25baf3=>{const _0x410f8e=a34_0x2828c8,_0x5facb8={};_0x5facb8[_0x410f8e(0xda)]=_0x410f8e(0x92),_0x5facb8[_0x410f8e(0xa2)]=_0x410f8e(0xcb);const _0x15e5b6=_0x5facb8;if(global[_0x410f8e(0x88)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x25baf3,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x25baf3,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x15e5b6['xmYNk']),{};}else return logger['warn'](_0x15e5b6['mwYYp']),{};},exports['platformValidation']=async _0x2c99fa=>{const _0x39efcd=a34_0x2828c8,_0x4c7ca8={'zVsXd':function(_0x4bef3b,_0x2aeb61){return _0x4bef3b!==_0x2aeb61;},'BhQFv':_0x39efcd(0x81),'YdcqL':function(_0x3b2dc7,_0x54c814){return _0x3b2dc7===_0x54c814;},'KUGmV':_0x39efcd(0xe5),'huwkr':_0x39efcd(0xad),'fqWQc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','XKfTz':function(_0x18b110,_0x3ecbe3){return _0x18b110(_0x3ecbe3);},'XDLVZ':function(_0x516376,_0x4b2af6){return _0x516376===_0x4b2af6;},'PzrjX':'latest','mFeql':function(_0x3e1fdb,_0xce0b29){return _0x3e1fdb>_0xce0b29;},'dEycr':_0x39efcd(0xc2)};try{if(!_0x4c7ca8[_0x39efcd(0xbd)](_0x2c99fa['deviceName'],''))return logger[_0x39efcd(0xb7)](_0x4c7ca8[_0x39efcd(0x97)]),![];const _0x2e84cd=_0x2c99fa[_0x39efcd(0xd9)];if(!(_0x4c7ca8[_0x39efcd(0xc1)](_0x2e84cd,_0x4c7ca8[_0x39efcd(0xb6)])||_0x4c7ca8[_0x39efcd(0xc1)](_0x2e84cd,_0x4c7ca8['huwkr'])))return logger['warn'](_0x4c7ca8[_0x39efcd(0xcc)]),![];const _0x5d1c02=_0x4c7ca8[_0x39efcd(0x9b)](parseInt,_0x2c99fa[_0x39efcd(0x99)]);if(!(_0x4c7ca8[_0x39efcd(0xb9)](_0x5d1c02,_0x4c7ca8['PzrjX'])||_0x4c7ca8[_0x39efcd(0xd7)](_0x5d1c02,0x5e)))return logger[_0x39efcd(0xb7)](_0x4c7ca8['dEycr']),![];}catch(_0x3861e6){logger[_0x39efcd(0xa1)](_0x39efcd(0xa3)+util[_0x39efcd(0x8d)](_0x3861e6));}return!![];},exports[a34_0x2828c8(0x7b)]=(_0x3b583d,_0x3761a9,_0x140c9a)=>{const _0x3fd539=a34_0x2828c8,_0x47a7bf={'ufvdR':function(_0x3e0ee3){return _0x3e0ee3();},'ktwmC':'browserstack.accessibility','GvIYy':function(_0x294393,_0x5a6b57){return _0x294393===_0x5a6b57;},'YfEfX':_0x3fd539(0xe5),'PQnRU':function(_0x43b49d,_0x1b96c6){return _0x43b49d===_0x1b96c6;},'UbDwR':'playwright-chromium','DOAfH':_0x3fd539(0xd4),'WUWyx':function(_0x50a8e9,_0x52b5c6){return _0x50a8e9===_0x52b5c6;},'ikEgQ':'latest','NOwrj':function(_0x56adb1,_0x595ffd){return _0x56adb1>_0x595ffd;},'dZrvk':_0x3fd539(0xc2),'enodu':function(_0x2ac5bf,_0x4b9115){return _0x2ac5bf(_0x4b9115);},'TUAQs':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','RLWQv':function(_0x222757,_0x1a2497){return _0x222757+_0x1a2497;}};try{if(_0x47a7bf[_0x3fd539(0xbe)](isAccessibilityAutomationSession)){global[_0x3fd539(0x88)]=!![];!_0x3b583d[_0x47a7bf['ktwmC']]&&(global[_0x3fd539(0x88)]=![]);!(_0x47a7bf[_0x3fd539(0x96)](_0x3b583d['browserName'],_0x47a7bf[_0x3fd539(0x8f)])||_0x47a7bf[_0x3fd539(0x9e)](_0x3b583d[_0x3fd539(0x87)],_0x47a7bf[_0x3fd539(0x7d)]))&&(logger['warn'](_0x47a7bf[_0x3fd539(0xb0)]),global[_0x3fd539(0x88)]=![]);!(_0x47a7bf[_0x3fd539(0xa5)](_0x3b583d[_0x3fd539(0x99)],_0x47a7bf[_0x3fd539(0xb1)])||_0x47a7bf[_0x3fd539(0xa4)](_0x3b583d['browser_version'],0x5e))&&(logger[_0x3fd539(0xb7)](_0x47a7bf[_0x3fd539(0xd5)]),global[_0x3fd539(0x88)]=![]);!_0x47a7bf[_0x3fd539(0x7f)](isUndefined,_0x3b583d[_0x3fd539(0xc5)])&&(logger[_0x3fd539(0xb7)](_0x47a7bf[_0x3fd539(0x98)]),global['accessibilityPlatform']=![]);if(!global[_0x3fd539(0x88)]){_0x3b583d[_0x47a7bf[_0x3fd539(0x7e)]]=![];const _0x2fbbe1=_0x47a7bf[_0x3fd539(0xc7)](_0x3761a9,_0x47a7bf[_0x3fd539(0x7f)](encodeURIComponent,JSON[_0x3fd539(0xdf)](_0x3b583d)));_0x140c9a&&(_0x140c9a[_0x3fd539(0xc6)]['testInfo'][_0x3fd539(0xab)]['use'][_0x3fd539(0x7c)][_0x3fd539(0x80)]=_0x2fbbe1,_0x140c9a[_0x3fd539(0xa7)][_0x3fd539(0xab)]['use'][_0x3fd539(0x7c)][_0x3fd539(0x80)]=_0x2fbbe1);}}}catch(_0x16d204){logger['debug'](_0x3fd539(0x91)+util[_0x3fd539(0x8d)](_0x16d204));}};function a34_0x60bc(){const _0x389167=['name','PERFORM_SCAN','srFaz','project','(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','playwright-chromium','7omdmaG','browserStackExecuteDriver','DOAfH','ikEgQ','scannerProcessingTimeout','needsReview','error','Playwright','KUGmV','warn','constructor','XDLVZ','rRrPq','50751VOkCUC','838281VZaLNT','zVsXd','ufvdR','9846588aUrAJN','env','YdcqL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','1397096ssxJlm','bestPractice','deviceName','currentTest','RLWQv','winstonLogger','accessibilityOptions.scannerProcessingTimeout','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','fqWQc','browserStackEvaluate','executeAsyncScript','25UOQMKJ','WebDriver','1238iicTvW','zFgEJ','QsJOV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','dZrvk','310cnPvvo','mFeql','1173036npAsGk','browser','xmYNk','scannerVersion','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions','qHPRj','stringify','../../helpers/performance/performance-tester','getAccessibilityResults','parse','dWpby','aBzCn','chrome','processAccessibilityCaps','connectOptions','UbDwR','ktwmC','enodu','wsEndpoint','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','evaluate','../../helpers/logger','zvtmZ','DQpCi','includeIssueType','browserName','accessibilityPlatform','7837797wHalzx','setAccessibilityCapabilities','bstackSdkArgs','replace','format','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','YfEfX','../../helpers/performance/constants','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','No\x20summaryResults\x20found.','PsJHr','accessibilityOptions.includeIssueType.needsReview','BS_A11Y_JWT','GvIYy','BhQFv','TUAQs','browser_version','APcqG','XKfTz','accessibilityOptions.authToken','wcagVersion','PQnRU','Mjvmm','command','debug','mwYYp','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','NOwrj','WUWyx','2469nECclo','workerInfo'];a34_0x60bc=function(){return _0x389167;};return a34_0x60bc();}
|
|
1
|
+
function a34_0x24fb(){const _0x4e849d=['debug','accessibilityOptions.authToken','setAccessibilityCapabilities','DUOLR','(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','7219805JVBUIL','5956907qUEQwH','4tRXhZJ','7508550FDyBRK','734QdUMNe','dMwzl','executeScript','108hbppBC','browser','zgeie','../../helpers/helper','chrome','needsReview','accessibilityOptions','BCJSx','WEHQm','browserstack.accessibility','fPCSL','jkerN','includeIssueType','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1041537hTKpeN','warn','getAccessibilityResultsSummary','No\x20accessibility\x20results\x20were\x20found.','constructor','deviceName','currentTest','YVTqD','winstonLogger','LHzeC','yDHsL','parse','790AdcrTr','bZbcj','command','lGoQj','LWdNw','KoEJP','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','8YQsssi','evaluate','ZMcOa','wsEndpoint','IwYbP','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','bstackSdkArgs','latest','name','format','util','../../helpers/accessibility-automation/scripts','wcagVersion','playwright-chromium','error','YUFNT','sHuWY','scannerProcessingTimeout','SuNcF','YFytg','sjfBW','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','csFka','performScan','browser_version','80fGxIMI','processAccessibilityCaps','YBykZ','replace','../../helpers/performance/performance-tester','RrQsO','PERFORM_SCAN','accessibilityOptions.scannerVersion','1090827QMzqXw','accessibilityOptions.scannerProcessingTimeout','waEyQ','TwvZI','../../helpers/logger','browserStackEvaluate','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','IGMWP','stringify','PwyBQ','FPvvn','No\x20summaryResults\x20found.','BS_A11Y_JWT','browserName','GGzAn','use','(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','scannerVersion','odfcl','bestPractice','biKNR','connectOptions','WCKkR','project','1540602lVKiZC','DhToG','measureWrapper'];a34_0x24fb=function(){return _0x4e849d;};return a34_0x24fb();}const a34_0xa631d3=a34_0xe347;(function(_0x5ac833,_0x1b32c4){const _0x5cb58d=a34_0xe347,_0x47a881=_0x5ac833();while(!![]){try{const _0x3fee3b=parseInt(_0x5cb58d(0x245))/0x1*(parseInt(_0x5cb58d(0x1f9))/0x2)+-parseInt(_0x5cb58d(0x239))/0x3+-parseInt(_0x5cb58d(0x243))/0x4*(parseInt(_0x5cb58d(0x241))/0x5)+-parseInt(_0x5cb58d(0x244))/0x6+-parseInt(_0x5cb58d(0x1ed))/0x7*(parseInt(_0x5cb58d(0x200))/0x8)+-parseInt(_0x5cb58d(0x221))/0x9*(parseInt(_0x5cb58d(0x219))/0xa)+-parseInt(_0x5cb58d(0x242))/0xb*(-parseInt(_0x5cb58d(0x248))/0xc);if(_0x3fee3b===_0x1b32c4)break;else _0x47a881['push'](_0x47a881['shift']());}catch(_0x20de93){_0x47a881['push'](_0x47a881['shift']());}}}(a34_0x24fb,0xcc34c));function a34_0xe347(_0x36b393,_0x3896f6){const _0x24fb8e=a34_0x24fb();return a34_0xe347=function(_0xe34769,_0x3225e0){_0xe34769=_0xe34769-0x1e9;let _0x17539c=_0x24fb8e[_0xe34769];return _0x17539c;},a34_0xe347(_0x36b393,_0x3896f6);}const util=require(a34_0xa631d3(0x20a)),logger=require(a34_0xa631d3(0x225))[a34_0xa631d3(0x1f5)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a34_0xa631d3(0x24b)),scripts=require(a34_0xa631d3(0x20b)),PerformanceTester=require(a34_0xa631d3(0x21d)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a34_0xa631d3(0x226)]=async(_0x3134f8,_0x20b8b7,_0xd2cbc1={})=>{const _0xa3698b=a34_0xa631d3,_0x1e129e={};_0x1e129e[_0xa3698b(0x23f)]=_0xa3698b(0x206);const _0x6337eb=_0x1e129e;return await _0x3134f8[_0xa3698b(0x201)](_0xa3698b(0x231)+_0x20b8b7[_0xa3698b(0x21c)](/arguments/g,_0x6337eb['DUOLR'])+_0xa3698b(0x215)+JSON['stringify'](_0xd2cbc1)+')');},exports['browserStackExecuteDriver']=async(_0xf6ad6,_0x2ff5f2,_0x3b91b9={})=>{const _0x5d9904=a34_0xa631d3,_0x5ae5c4={};_0x5ae5c4[_0x5d9904(0x252)]=function(_0x2e7749,_0x276c05){return _0x2e7749===_0x276c05;},_0x5ae5c4[_0x5d9904(0x1fc)]='WebDriver',_0x5ae5c4[_0x5d9904(0x210)]=function(_0x27569d,_0x93013b){return _0x27569d===_0x93013b;},_0x5ae5c4['YUFNT']='Playwright',_0x5ae5c4[_0x5d9904(0x1f6)]='bstackSdkArgs';const _0x5a345b=_0x5ae5c4;if(_0x5a345b[_0x5d9904(0x252)](_0xf6ad6[_0x5d9904(0x1f1)][_0x5d9904(0x208)],_0x5a345b[_0x5d9904(0x1fc)]))return await _0xf6ad6['executeAsyncScript'](_0x2ff5f2,_0x3b91b9);else{if(_0x5a345b[_0x5d9904(0x210)](_0xf6ad6['constructor'][_0x5d9904(0x208)],_0x5a345b[_0x5d9904(0x20f)]))return await _0xf6ad6[_0x5d9904(0x247)](_0x5d9904(0x240)+_0x2ff5f2[_0x5d9904(0x21c)](/arguments/g,_0x5a345b[_0x5d9904(0x1f6)])+_0x5d9904(0x227)+JSON[_0x5d9904(0x229)](_0x3b91b9)+')');}},exports[a34_0xa631d3(0x23e)]=async _0x22a9fa=>{const _0x98ebf5=a34_0xa631d3,_0x35c36e={};_0x35c36e[_0x98ebf5(0x233)]='accessibilityOptions.wcagVersion',_0x35c36e[_0x98ebf5(0x253)]=_0x98ebf5(0x222),_0x35c36e[_0x98ebf5(0x212)]='accessibilityOptions.includeIssueType.bestPractice',_0x35c36e[_0x98ebf5(0x1fe)]='accessibilityOptions.includeIssueType.needsReview',_0x35c36e['YVTqD']=_0x98ebf5(0x23d),_0x35c36e['waEyQ']=_0x98ebf5(0x220);const _0x4bd931=_0x35c36e;_0x22a9fa['accessibilityOptions']&&(_0x22a9fa[_0x98ebf5(0x24e)][_0x98ebf5(0x20c)]&&(_0x22a9fa[_0x4bd931[_0x98ebf5(0x233)]]=_0x22a9fa[_0x98ebf5(0x24e)][_0x98ebf5(0x20c)]),_0x22a9fa['accessibilityOptions'][_0x98ebf5(0x211)]&&(_0x22a9fa[_0x4bd931[_0x98ebf5(0x253)]]=_0x22a9fa[_0x98ebf5(0x24e)][_0x98ebf5(0x211)]),_0x22a9fa[_0x98ebf5(0x24e)][_0x98ebf5(0x1e9)]&&(_0x22a9fa[_0x4bd931[_0x98ebf5(0x212)]]=_0x22a9fa['accessibilityOptions']['includeIssueType'][_0x98ebf5(0x234)],_0x22a9fa[_0x4bd931[_0x98ebf5(0x1fe)]]=_0x22a9fa[_0x98ebf5(0x24e)][_0x98ebf5(0x1e9)][_0x98ebf5(0x24d)]));const _0x2e18f0=JSON[_0x98ebf5(0x1f8)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x98ebf5(0x232)];_0x22a9fa[_0x4bd931[_0x98ebf5(0x1f4)]]=process['env'][_0x98ebf5(0x22d)],_0x22a9fa[_0x4bd931[_0x98ebf5(0x223)]]=_0x2e18f0,delete _0x22a9fa['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x196178=>{const _0x5198b0=a34_0xa631d3,_0x37376a={};_0x37376a[_0x5198b0(0x1fd)]=_0x5198b0(0x1f0),_0x37376a['WCKkR']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x6fbf70=_0x37376a;if(global[_0x5198b0(0x1eb)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x196178,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x196178,scripts.getResults);})();return res;}catch{return logger[_0x5198b0(0x20e)](_0x6fbf70[_0x5198b0(0x1fd)]),[];}else return logger[_0x5198b0(0x1ee)](_0x6fbf70[_0x5198b0(0x237)]),[];},exports[a34_0xa631d3(0x217)]=async(_0x47c365,_0x55b2f2='')=>{const _0x40371e=a34_0xa631d3;if(global['accessibilityPlatform'])return await PerformanceTester[_0x40371e(0x23b)](PerformanceA11yEvents[_0x40371e(0x21f)],async()=>{const _0x3c3f3f=_0x40371e,_0x22ea03={};_0x22ea03[_0x3c3f3f(0x1fb)]=_0x55b2f2,await exports[_0x3c3f3f(0x226)](_0x47c365,scripts[_0x3c3f3f(0x217)],_0x22ea03);},{'command':_0x55b2f2})();},exports[a34_0xa631d3(0x1ef)]=async _0x2a091e=>{const _0x5d33f8=a34_0xa631d3,_0x3558d8={};_0x3558d8[_0x5d33f8(0x24f)]=_0x5d33f8(0x22c),_0x3558d8[_0x5d33f8(0x21e)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x16f490=_0x3558d8;if(global[_0x5d33f8(0x1eb)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2a091e,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2a091e,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5d33f8(0x23c)](_0x16f490['BCJSx']),{};}else return logger['warn'](_0x16f490[_0x5d33f8(0x21e)]),{};},exports['platformValidation']=async _0x161264=>{const _0x174a0b=a34_0xa631d3,_0x18cd03={'bZbcj':function(_0xa21626,_0x1e812c){return _0xa21626!==_0x1e812c;},'EFGuT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','IwYbP':function(_0x4ace2e,_0x468e7d){return _0x4ace2e===_0x468e7d;},'bALkj':_0x174a0b(0x24c),'PwyBQ':function(_0x417688,_0x57592a){return _0x417688===_0x57592a;},'zgeie':_0x174a0b(0x20d),'WEHQm':_0x174a0b(0x1ec),'BvyBH':function(_0x204e83,_0x400875){return _0x204e83(_0x400875);},'SiBaQ':_0x174a0b(0x207),'yDHsL':function(_0x4208c1,_0xd3cbae){return _0x4208c1>_0xd3cbae;},'DhToG':_0x174a0b(0x1ff)};try{if(!_0x18cd03[_0x174a0b(0x1fa)](_0x161264[_0x174a0b(0x1f2)],''))return logger['warn'](_0x18cd03['EFGuT']),![];const _0x23591b=_0x161264[_0x174a0b(0x249)];if(!(_0x18cd03[_0x174a0b(0x204)](_0x23591b,_0x18cd03['bALkj'])||_0x18cd03[_0x174a0b(0x22a)](_0x23591b,_0x18cd03[_0x174a0b(0x24a)])))return logger[_0x174a0b(0x1ee)](_0x18cd03[_0x174a0b(0x250)]),![];const _0x41a5e7=_0x18cd03['BvyBH'](parseInt,_0x161264[_0x174a0b(0x218)]);if(!(_0x18cd03[_0x174a0b(0x204)](_0x41a5e7,_0x18cd03['SiBaQ'])||_0x18cd03[_0x174a0b(0x1f7)](_0x41a5e7,0x5e)))return logger[_0x174a0b(0x1ee)](_0x18cd03[_0x174a0b(0x23a)]),![];}catch(_0x17a85f){logger['debug'](_0x174a0b(0x1ea)+util[_0x174a0b(0x209)](_0x17a85f));}return!![];},exports[a34_0xa631d3(0x21a)]=(_0x816d98,_0x54be2b,_0x3348a5)=>{const _0x25d2b7=a34_0xa631d3,_0x20de2b={'ItMVj':function(_0x4b9f46){return _0x4b9f46();},'dMwzl':_0x25d2b7(0x251),'csFka':function(_0x3044f5,_0x560b7f){return _0x3044f5===_0x560b7f;},'sjfBW':_0x25d2b7(0x24c),'YBykZ':function(_0x38f38e,_0x4c4eb1){return _0x38f38e===_0x4c4eb1;},'FPvvn':'playwright-chromium','hpQEB':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','YFytg':'latest','ZMcOa':function(_0x35ddf4,_0x1bab93){return _0x35ddf4>_0x1bab93;},'IGMWP':_0x25d2b7(0x1ff),'TwvZI':function(_0x39f682,_0x5d25bb){return _0x39f682(_0x5d25bb);},'biKNR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','hgTPV':function(_0x45cd85,_0x2bf9c0){return _0x45cd85+_0x2bf9c0;},'GGzAn':function(_0x43ce1a,_0x17c525){return _0x43ce1a(_0x17c525);}};try{if(_0x20de2b['ItMVj'](isAccessibilityAutomationSession)){global[_0x25d2b7(0x1eb)]=!![];!_0x816d98[_0x20de2b[_0x25d2b7(0x246)]]&&(global[_0x25d2b7(0x1eb)]=![]);!(_0x20de2b[_0x25d2b7(0x216)](_0x816d98[_0x25d2b7(0x22e)],_0x20de2b[_0x25d2b7(0x214)])||_0x20de2b[_0x25d2b7(0x21b)](_0x816d98['browserName'],_0x20de2b[_0x25d2b7(0x22b)]))&&(logger[_0x25d2b7(0x1ee)](_0x20de2b['hpQEB']),global[_0x25d2b7(0x1eb)]=![]);!(_0x20de2b[_0x25d2b7(0x216)](_0x816d98[_0x25d2b7(0x218)],_0x20de2b[_0x25d2b7(0x213)])||_0x20de2b[_0x25d2b7(0x202)](_0x816d98[_0x25d2b7(0x218)],0x5e))&&(logger[_0x25d2b7(0x1ee)](_0x20de2b[_0x25d2b7(0x228)]),global[_0x25d2b7(0x1eb)]=![]);!_0x20de2b[_0x25d2b7(0x224)](isUndefined,_0x816d98[_0x25d2b7(0x1f2)])&&(logger[_0x25d2b7(0x1ee)](_0x20de2b[_0x25d2b7(0x235)]),global['accessibilityPlatform']=![]);if(!global[_0x25d2b7(0x1eb)]){_0x816d98[_0x20de2b['dMwzl']]=![];const _0x1c2645=_0x20de2b['hgTPV'](_0x54be2b,_0x20de2b[_0x25d2b7(0x22f)](encodeURIComponent,JSON[_0x25d2b7(0x229)](_0x816d98)));_0x3348a5&&(_0x3348a5[_0x25d2b7(0x1f3)]['testInfo'][_0x25d2b7(0x238)]['use']['connectOptions'][_0x25d2b7(0x203)]=_0x1c2645,_0x3348a5['workerInfo'][_0x25d2b7(0x238)][_0x25d2b7(0x230)][_0x25d2b7(0x236)][_0x25d2b7(0x203)]=_0x1c2645);}}}catch(_0x3d7e1f){logger['debug'](_0x25d2b7(0x205)+util[_0x25d2b7(0x209)](_0x3d7e1f));}};
|