browserstack-node-sdk 1.33.7 → 1.34.0
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/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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/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 -0
- 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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.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/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-tester.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/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 a26_0x4141f2=a26_0x5d2c;function a26_0x17b4(){const _0x3dd19d=['SPhUB','accessibilityOptions','vuCjN','json','RzSpk','Now,\x20showing\x20logs\x20from\x20mocha','XaxYH','state','upGbv','../../helpers/helper','mocha/lib/cli/collect-files.js','JkNQG','debug','Printing\x20stats\x20of\x20tests','TVYJT','useW3C','IXibh','36xaXKIv','oNgSs','reporter-option','currentRetry','6803934lkIMkC','ignore','NyJZc','MHaYO','expected','getOwnPropertyNames','platforms','bjSoO','testsPassed','muRWQ','CPMJZ','hideDiff','mLqju','eeshW','mocha/lib/reporters/base.js','kUURI','min','jcgjz','IqAwU','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','45599KjrPqS','accessibility','testsPending','iqMCh','\x0a\x0a\x0a','testcase','actual','proxySettings','JMSia','NOTQk','failures','4112NSceEX','duration','iKBxm','vbPPX','UwRnS','fyjhn','fullTitle','isUndefined','DgYXJ','then','titlePath','generateDiff','../../helpers/test-observability/utils','BROWSERSTACK_TEST_OBSERVABILITY','handleApp','rhutG','logLevel','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','totalTests','hasOwnProperty','Dzijn','err','gcnXB','Jzvrh','****\x20FAILURES\x20****','zmlPU','DmGsS','MOCHA','testsuite','exitCode','WZwfD','FNsyw','titlePathV','RwlIx','tQpqk','Couldn\x27t\x20write\x20json\x20result\x20to','error','notifyUpdate','list','xdCQc','info','xGaQh','awQZs','spec','green','buKLI','yellow','chalk','stats','config','Total\x20Suites:\x20','padwf','isBrowserstackInfra','KRSZU','tjTSK','mjs','output','winstonLogger','results','RoOMe','SDKTestSuccessful','sort','fdHyl','testsFailed','../test-runner','ikMXO','doc','join','FckDb','suiteName','argv','--disable-test-observability','BROWSERSTACK_RERUN_TESTS','isTestObservabilitySession','includes','GMsQq','\x20failed','cqfWt','call','lCxxu','zhTgz','YOgAz','\x20total','length','suite','failed','push','etRLz','IbbJS','CWobK','\x20passed','KLjCJ','Writing\x20xunit\x20result\x20to\x20file','parallelsPerPlatform','OullT','PYzhC','--disable-browserstack-automation','Couldn\x27t\x20write\x20xunit\x20result\x20to','stringify','IjUxJ','testObservability','MVlxr','../../helpers/BrowserStackSetup','567888KMxXqD','Nzadd','1841XoXMub','qWpvT','map','cliConfig','getHubUrl','OLWXA','Vfods','Mocha\x20Tests','</testsuite>','getPlatformName','skipped','BROWSERSTACK_TEST_ACCESSIBILITY_YML','title','keys','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','iIByX','jVpmC','add','stack','object','bold','testSuites','red','YbaiZ','fuDmj','silmR','tPtbF','forEach','gEZBY','../../helpers/logger','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','hYdJu','izcHv','get','passed','jJwlp','BROWSERSTACK_AUTOMATION','iQGwG','3QPbUdc','recursive','WisLC','uUyQh','message','Setting\x20non\x20exit\x20code\x20for\x20failures','Total\x20Platforms:\x20','speed','ZKVNa','ozrmy','passes','Running\x20your\x20mocha\x20tests','ttdOn','195psBnkK','ZWUFE','initialize','nLqXe','prototype','shouldReRunObservabilityTests','exports','fireFunnelTestEvent','Listing\x20all\x20the\x20failures','nvuYj','errorMessage','UUnMT','26aNEFIM','cjs','reporterOptions','QLeLc','finally','rootHooks','rerunTests','AdfQe','HkFwy','markSDKSetupComplete','InVzz','reporter','prepareCapabilities','DPVBk','cBnJJ','lWXLc','JGtef','FRAMEWORKS','platform','assign','zPVlw','validPlatformsPresent','5chINjW','WqZDl','../../helpers/percy/utils','CuTcA','MOkRJ','EqPwj','finalExecution','Writing\x20json\x20result\x20to\x20file','310620EJgJDG','\x20platforms','xunit','failure','log','bgBlueBright','uTIkD','printBuildLink','framework','getErrorMessageFromResults','VoJSX','fHEnw','1880932mUjxvn','BROWSERSTACK_TEST_OBSERVABILITY_YML','env','file','consoleLog','9879474mxHtNm','../utils/constants','ePFWT','writeFileSync','BOlcl','parseFileNames','mocha','isPending'];a26_0x17b4=function(){return _0x3dd19d;};return a26_0x17b4();}(function(_0x5eaa7e,_0x457fc2){const _0x22da97=a26_0x5d2c,_0x5ed381=_0x5eaa7e();while(!![]){try{const _0x5b8b0e=-parseInt(_0x22da97(0x1e0))/0x1*(-parseInt(_0x22da97(0x293))/0x2)+-parseInt(_0x22da97(0x27a))/0x3*(parseInt(_0x22da97(0x2bd))/0x4)+parseInt(_0x22da97(0x2a9))/0x5*(-parseInt(_0x22da97(0x1cc))/0x6)+-parseInt(_0x22da97(0x254))/0x7*(-parseInt(_0x22da97(0x1eb))/0x8)+parseInt(_0x22da97(0x1c8))/0x9*(-parseInt(_0x22da97(0x2b1))/0xa)+parseInt(_0x22da97(0x2c2))/0xb+-parseInt(_0x22da97(0x252))/0xc*(-parseInt(_0x22da97(0x287))/0xd);if(_0x5b8b0e===_0x457fc2)break;else _0x5ed381['push'](_0x5ed381['shift']());}catch(_0x348e01){_0x5ed381['push'](_0x5ed381['shift']());}}}(a26_0x17b4,0x94505));const chalk=require(a26_0x4141f2(0x21a)),logger=require(a26_0x4141f2(0x271))[a26_0x4141f2(0x224)],{default:BrowserStackSetup}=require(a26_0x4141f2(0x251)),helper=require(a26_0x4141f2(0x2d3)),testOpsHelper=require(a26_0x4141f2(0x1f7)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x4141f2(0x22b)),{requireModule}=require('../../helpers/helper'),{getPercyOptions}=require(a26_0x4141f2(0x2ab)),Base=requireModule(a26_0x4141f2(0x1da)),collectFiles=requireModule(a26_0x4141f2(0x2d4)),constants=require(a26_0x4141f2(0x2c3));function tag(_0x1c30ba,_0x2e63ed,_0x195a63,_0x4d456b){const _0x354fa0=a26_0x4141f2,_0x4485b2={'fdHyl':function(_0x2f1639,_0x4da6cb){return _0x2f1639+_0x4da6cb;},'uTIkD':function(_0x601095,_0x210ff6){return _0x601095(_0x210ff6);},'UwRnS':function(_0x70405b,_0x56349d){return _0x70405b+_0x56349d;},'ePFWT':function(_0x21b21b,_0x32f7e5){return _0x21b21b+_0x32f7e5;},'WZwfD':function(_0xb98c8e,_0x176153){return _0xb98c8e+_0x176153;},'ZWUFE':function(_0x1e6e3c,_0xace1e4){return _0x1e6e3c+_0xace1e4;}},_0x1acfc2=_0x195a63?'/>':'>',_0x5ec0ef=[];let _0x2a545a;for(const _0xe7adbb in _0x2e63ed){Object[_0x354fa0(0x28b)][_0x354fa0(0x1fe)][_0x354fa0(0x239)](_0x2e63ed,_0xe7adbb)&&_0x5ec0ef[_0x354fa0(0x241)](_0x4485b2['fdHyl'](_0x4485b2[_0x354fa0(0x229)](_0x4485b2['fdHyl'](_0xe7adbb,'=\x22'),_0x4485b2[_0x354fa0(0x2b7)](escape,_0x2e63ed[_0xe7adbb])),'\x22'));}return _0x2a545a=_0x4485b2['UwRnS'](_0x4485b2[_0x354fa0(0x2c4)](_0x4485b2[_0x354fa0(0x1ef)]('<',_0x1c30ba),_0x5ec0ef['length']?_0x4485b2[_0x354fa0(0x2c4)]('\x20',_0x5ec0ef[_0x354fa0(0x22e)]('\x20')):''),_0x1acfc2),_0x4d456b&&(_0x2a545a+=_0x4485b2[_0x354fa0(0x209)](_0x4485b2[_0x354fa0(0x229)](_0x4485b2[_0x354fa0(0x288)](_0x4d456b,'</'),_0x1c30ba),_0x1acfc2)),_0x2a545a;}let xunitContent='';function xunitWrite(_0x225c46){xunitContent+=_0x225c46;}function xunitTest(_0x1cb7d4,_0x289b6e){const _0x245841=a26_0x4141f2,_0x3edc78={'oNgSs':function(_0x647d0a,_0x1d4a0f){return _0x647d0a/_0x1d4a0f;},'IbbJS':function(_0x8a380d,_0x58aa7e){return _0x8a380d===_0x58aa7e;},'DgYXJ':_0x245841(0x240),'FNsyw':function(_0xa5f9b7,_0x1e2a5b){return _0xa5f9b7+_0x1e2a5b;},'qWpvT':function(_0x1b7686,_0x5254bb){return _0x1b7686(_0x5254bb);},'RzSpk':function(_0x5f19e4,_0x4ddafa,_0x2ac1ee,_0x360bc7,_0x84d5af){return _0x5f19e4(_0x4ddafa,_0x2ac1ee,_0x360bc7,_0x84d5af);},'awQZs':_0x245841(0x1e5),'InVzz':function(_0x2f6df2,_0x46a50e,_0x4f2b77,_0x26df42,_0x2c4ecc){return _0x2f6df2(_0x46a50e,_0x4f2b77,_0x26df42,_0x2c4ecc);},'bjSoO':_0x245841(0x2b4),'zPVlw':function(_0x2ee223,_0x25c558){return _0x2ee223+_0x25c558;},'dSgIc':function(_0x558fd1,_0x5ce281){return _0x558fd1(_0x5ce281);},'AdfQe':function(_0x59956a,_0x52d087){return _0x59956a(_0x52d087);},'fyjhn':function(_0x159d0d,_0x477bce){return _0x159d0d(_0x477bce);},'EqPwj':function(_0x5c8506,_0x476f70){return _0x5c8506(_0x476f70);},'jJwlp':function(_0x269f94,_0x2fd689,_0x4ee784,_0x1ebc93){return _0x269f94(_0x2fd689,_0x4ee784,_0x1ebc93);},'KRSZU':_0x245841(0x25e),'iQGwG':function(_0x178aef,_0x3a744b,_0x4dfc61,_0x48de48){return _0x178aef(_0x3a744b,_0x4dfc61,_0x48de48);}};Base['useColors']=![];var _0x3836d3={'classname':_0x1cb7d4[_0x245841(0x1f1)],'name':_0x1cb7d4[_0x245841(0x260)],'time':_0x3edc78[_0x245841(0x1c9)](_0x1cb7d4['duration'],0x3e8)||0x0,'platform':_0x289b6e};if(_0x3edc78[_0x245841(0x243)](_0x1cb7d4[_0x245841(0x2d1)],_0x3edc78[_0x245841(0x1f3)])){var _0x1f3b61=_0x1cb7d4[_0x245841(0x200)],_0x2da678=!Base[_0x245841(0x1d7)]&&Base['showDiff'](_0x1f3b61)?_0x3edc78['FNsyw']('\x0a',Base[_0x245841(0x1f6)](_0x1f3b61[_0x245841(0x1e6)],_0x1f3b61[_0x245841(0x1d0)])):'';_0x3edc78[_0x245841(0x255)](xunitWrite,_0x3edc78[_0x245841(0x2ce)](tag,_0x3edc78[_0x245841(0x215)],_0x3836d3,![],_0x3edc78[_0x245841(0x29d)](tag,_0x3edc78[_0x245841(0x1d3)],{},![],_0x3edc78[_0x245841(0x20a)](_0x3edc78[_0x245841(0x2a7)](_0x3edc78[_0x245841(0x20a)](_0x3edc78['dSgIc'](escape,_0x1f3b61[_0x245841(0x27e)]),_0x3edc78[_0x245841(0x29a)](escape,_0x2da678)),'\x0a'),_0x3edc78[_0x245841(0x1f0)](escape,_0x1f3b61[_0x245841(0x266)])))));}else _0x1cb7d4[_0x245841(0x2c9)]?_0x3edc78[_0x245841(0x2ae)](xunitWrite,_0x3edc78['InVzz'](tag,_0x3edc78[_0x245841(0x215)],_0x3836d3,![],_0x3edc78[_0x245841(0x277)](tag,_0x3edc78[_0x245841(0x220)],{},!![]))):_0x3edc78[_0x245841(0x255)](xunitWrite,_0x3edc78[_0x245841(0x279)](tag,_0x3edc78['awQZs'],_0x3836d3,!![]));};function a26_0x5d2c(_0x45a449,_0x2f7430){const _0x17b4c1=a26_0x17b4();return a26_0x5d2c=function(_0x5d2c58,_0x8a8634){_0x5d2c58=_0x5d2c58-0x1c6;let _0x479465=_0x17b4c1[_0x5d2c58];return _0x479465;},a26_0x5d2c(_0x45a449,_0x2f7430);}function getStats(_0x164479){const _0x56db7c=a26_0x4141f2,_0x3d0be7={};_0x3d0be7[_0x56db7c(0x1e9)]=_0x56db7c(0x23f),_0x3d0be7[_0x56db7c(0x25a)]=_0x56db7c(0x276),_0x3d0be7[_0x56db7c(0x1de)]=_0x56db7c(0x240),_0x3d0be7[_0x56db7c(0x249)]=_0x56db7c(0x225);const _0x46cfa3=_0x3d0be7,_0x35612c=Object[_0x56db7c(0x261)](_0x164479);let _0x3c802f=0x0,_0x510edf=0x0,_0x419b14=0x0,_0x313e1d=0x0;const _0x5cb09c=new Set();_0x35612c[_0x56db7c(0x26f)](_0x5b2ebe=>{const _0x3bbf0f=_0x56db7c;_0x164479[_0x5b2ebe][_0x46cfa3[_0x3bbf0f(0x249)]][_0x3bbf0f(0x26f)](_0x21e89b=>{const _0x5ef887=_0x3bbf0f;_0x5cb09c[_0x5ef887(0x265)](_0x21e89b[_0x46cfa3['NOTQk']]),_0x3c802f++;switch(_0x21e89b[_0x5ef887(0x2d1)]){case _0x46cfa3[_0x5ef887(0x25a)]:_0x419b14++;break;case _0x46cfa3['IqAwU']:_0x510edf++;break;default:_0x313e1d++;}});});const _0x1feb8c={};return _0x1feb8c[_0x56db7c(0x269)]=_0x5cb09c['size'],_0x1feb8c['platforms']=_0x35612c,_0x1feb8c[_0x56db7c(0x1fd)]=_0x3c802f,_0x1feb8c[_0x56db7c(0x22a)]=_0x510edf,_0x1feb8c[_0x56db7c(0x1d4)]=_0x419b14,_0x1feb8c[_0x56db7c(0x1e2)]=_0x313e1d,_0x1feb8c;}function errorJSON(_0x3d8a80){const _0x4fc47a=a26_0x4141f2;var _0x5ca29e={};return Object[_0x4fc47a(0x1d1)](_0x3d8a80)['forEach'](function(_0x3ec5e4){_0x5ca29e[_0x3ec5e4]=_0x3d8a80[_0x3ec5e4];},_0x3d8a80),_0x5ca29e;}function cleanCycles(_0x509167){const _0x19dbf3=a26_0x4141f2,_0x2ce470={};_0x2ce470['gcnXB']=function(_0x3cbbd7,_0x5c520d){return _0x3cbbd7===_0x5c520d;},_0x2ce470[_0x19dbf3(0x2d5)]=_0x19dbf3(0x267),_0x2ce470[_0x19dbf3(0x253)]=function(_0x1b2e04,_0x534ae5){return _0x1b2e04!==_0x534ae5;},_0x2ce470[_0x19dbf3(0x24a)]=function(_0x294b88,_0x59c310){return _0x294b88+_0x59c310;};const _0xaef2a9=_0x2ce470;var _0x51a1c3=[];return JSON['parse'](JSON['stringify'](_0x509167,function(_0x56b06b,_0x327554){const _0x2802bd=_0x19dbf3;if(_0xaef2a9[_0x2802bd(0x201)](typeof _0x327554,_0xaef2a9['JkNQG'])&&_0xaef2a9[_0x2802bd(0x253)](_0x327554,null)){if(_0xaef2a9[_0x2802bd(0x253)](_0x51a1c3['indexOf'](_0x327554),-0x1))return _0xaef2a9[_0x2802bd(0x24a)]('',_0x327554);_0x51a1c3[_0x2802bd(0x241)](_0x327554);}return _0x327554;}));}function clean(_0x341684){const _0x1b80ff=a26_0x4141f2,_0x4fa393={'OLWXA':function(_0x5664af,_0x532fe4){return _0x5664af instanceof _0x532fe4;},'pQjLn':function(_0x25fabf,_0x4f73b7){return _0x25fabf(_0x4f73b7);},'pqQkv':function(_0x2b8ec2,_0x30e2b5){return _0x2b8ec2(_0x30e2b5);}};var _0x3b81bd=_0x341684[_0x1b80ff(0x200)]||{};return _0x4fa393[_0x1b80ff(0x259)](_0x3b81bd,Error)&&(_0x3b81bd=_0x4fa393['pQjLn'](errorJSON,_0x3b81bd)),{'title':_0x341684['title'],'fullTitle':_0x341684[_0x1b80ff(0x1f1)],'file':_0x341684[_0x1b80ff(0x2c0)],'duration':_0x341684[_0x1b80ff(0x1ec)],'currentRetry':_0x341684[_0x1b80ff(0x1cb)],'speed':_0x341684[_0x1b80ff(0x281)],'err':_0x4fa393['pqQkv'](cleanCycles,_0x3b81bd)};}function printStats(_0x243e2e,_0x5845f9=a26_0x4141f2(0x216),_0x17dac7={}){const _0x19f624=a26_0x4141f2,_0x158205={'JMSia':function(_0x3c955f,_0x40cd25){return _0x3c955f(_0x40cd25);},'XaxYH':function(_0x7bf500,_0x238f34){return _0x7bf500===_0x238f34;},'YOgAz':_0x19f624(0x276),'iIByX':_0x19f624(0x284),'jVpmC':function(_0x247a96,_0x2c1746){return _0x247a96===_0x2c1746;},'lWXLc':'failed','padwf':_0x19f624(0x1ea),'tjTSK':'pending','IXibh':function(_0x2f3160,_0x515957){return _0x2f3160(_0x515957);},'UUnMT':_0x19f624(0x225),'tBKoE':function(_0x38a342,_0x53130a){return _0x38a342===_0x53130a;},'tYTft':function(_0x42b9a0,_0x226382){return _0x42b9a0===_0x226382;},'jcgjz':function(_0x13b829,_0x10ba5c){return _0x13b829*_0x10ba5c;},'Dzijn':function(_0x245783,_0x4127f5,_0x349034){return _0x245783(_0x4127f5,_0x349034);},'mLqju':function(_0x5ef6ae,_0x37b4a8){return _0x5ef6ae>_0x37b4a8;},'HkFwy':function(_0x3321a7){return _0x3321a7();},'MOkRJ':function(_0x3154e7,_0x120ca0){return _0x3154e7===_0x120ca0;},'xdCQc':_0x19f624(0x22d),'iKBxm':function(_0x39e19e,_0x1d44dc){return _0x39e19e>_0x1d44dc;},'RoOMe':_0x19f624(0x27f),'rhutG':_0x19f624(0x2d7),'MHaYO':function(_0x24a95c,_0x43317e){return _0x24a95c+_0x43317e;},'gEZBY':_0x19f624(0x280),'vbPPX':_0x19f624(0x21d),'NyJZc':function(_0x5ba839,_0x5933ce){return _0x5ba839+_0x5933ce;},'bNFrH':'Tests:\x20\x20\x20\x20\x20\x20\x20','nLqXe':function(_0x569cda,_0x449c28){return _0x569cda>_0x449c28;},'CWobK':function(_0x596c32,_0x113886){return _0x596c32+_0x113886;},'tPtbF':function(_0x567cb7,_0x1a746b){return _0x567cb7+_0x1a746b;},'kUURI':function(_0x2d2856,_0x35c73d){return _0x2d2856+_0x35c73d;},'DmGsS':_0x19f624(0x1e4),'muRWQ':_0x19f624(0x2cd),'nvuYj':_0x19f624(0x2b0),'SPhUB':_0x19f624(0x20e),'VoJSX':_0x19f624(0x1fc),'ttdOn':function(_0x3ee01e,_0x29c7e7){return _0x3ee01e===_0x29c7e7;},'iqMCh':_0x19f624(0x2b3),'UPGDH':_0x19f624(0x25b),'YbaiZ':function(_0x40a379,_0x2fc615){return _0x40a379||_0x2fc615;},'egbgg':function(_0x54088a,_0x47c820,_0x47b326,_0x10c35c){return _0x54088a(_0x47c820,_0x47b326,_0x10c35c);},'EzRnM':_0x19f624(0x207),'eeshW':function(_0x2ebbe1,_0x3ea4fc){return _0x2ebbe1-_0x3ea4fc;},'vuCjN':function(_0x45705e,_0x54a347){return _0x45705e/_0x54a347;},'WisLC':function(_0x44129f,_0x42c290){return _0x44129f(_0x42c290);},'eJlWU':_0x19f624(0x25c),'CPMJZ':_0x19f624(0x247),'silmR':_0x19f624(0x24c),'CuTcA':_0x19f624(0x272),'KLjCJ':function(_0x40234f,_0x4934a1){return _0x40234f===_0x4934a1;},'RwlIx':_0x19f624(0x28f),'Jzvrh':_0x19f624(0x203)};if(_0x158205[_0x19f624(0x2ad)](_0x5845f9,_0x158205[_0x19f624(0x212)]))return;const _0xc8e6ee=0x0,_0x2f5dff=()=>{const _0x5ddb3e=_0x19f624;return _0x158205[_0x5ddb3e(0x1e8)](Array,_0xc8e6ee)[_0x5ddb3e(0x22e)]('\x20\x20');},{testSuites:_0x4b7535,platforms:_0x1ba714,totalTests:_0xf3e687,testsFailed:_0x499b03,testsPassed:_0x29e013,testsPending:_0x3c4c60}=_0x158205[_0x19f624(0x1e8)](getStats,_0x243e2e);_0x158205[_0x19f624(0x1ed)](_0x499b03,0x0)&&(logger[_0x19f624(0x2d6)](_0x158205[_0x19f624(0x226)]),process[_0x19f624(0x208)]=Math[_0x19f624(0x1dc)](_0x499b03,0xff));logger[_0x19f624(0x2d6)](_0x158205[_0x19f624(0x1fa)]);const _0x2dc38d=''+_0x158205[_0x19f624(0x1cf)](chalk[_0x19f624(0x268)](_0x158205[_0x19f624(0x270)]),_0x1ba714['length']),_0x5c2343=''+_0x158205[_0x19f624(0x1cf)](chalk[_0x19f624(0x268)](_0x158205[_0x19f624(0x1ee)]),_0x4b7535),_0x4ac3fc=''+_0x158205[_0x19f624(0x1cf)](_0x158205[_0x19f624(0x1cf)](_0x158205[_0x19f624(0x1ce)](chalk[_0x19f624(0x268)](_0x158205['bNFrH']),_0x158205[_0x19f624(0x28a)](_0x499b03,0x0)?chalk['bold'][_0x19f624(0x26a)](_0x499b03+_0x19f624(0x237))+',\x20':''),_0x158205['mLqju'](_0x3c4c60,0x0)?chalk[_0x19f624(0x268)][_0x19f624(0x219)](_0x3c4c60+'\x20skipped')+',\x20':''),_0x158205['nLqXe'](_0x29e013,0x0)?chalk[_0x19f624(0x268)][_0x19f624(0x217)](_0x29e013+_0x19f624(0x245))+',\x20':'')+_0xf3e687+_0x19f624(0x23d);console[_0x19f624(0x2b5)](_0x158205[_0x19f624(0x244)](_0x158205[_0x19f624(0x244)](_0x158205[_0x19f624(0x244)](_0x158205[_0x19f624(0x26e)](_0x158205[_0x19f624(0x1db)](_0x158205[_0x19f624(0x205)],_0x2dc38d),'\x0a'),_0x5c2343),'\x0a'),_0x4ac3fc));if(_0x158205['MOkRJ'](_0x5845f9,_0x158205[_0x19f624(0x1d5)])){const _0x5146d7={},_0xcb6e21={};_0xcb6e21[_0x19f624(0x269)]=_0x4b7535,_0xcb6e21[_0x19f624(0x1d2)]=_0x1ba714,_0xcb6e21[_0x19f624(0x22a)]=_0x499b03,_0xcb6e21['testsPassed']=_0x29e013,_0xcb6e21[_0x19f624(0x1e2)]=_0x3c4c60,_0x5146d7[_0x19f624(0x21b)]=_0xcb6e21,_0x1ba714['forEach'](_0x4498e1=>{const _0x9d528b=_0x19f624,_0x35da7c={'DPVBk':function(_0x198e5e,_0x16aa6a){const _0x11ba80=a26_0x5d2c;return _0x158205[_0x11ba80(0x2d0)](_0x198e5e,_0x16aa6a);},'zhTgz':_0x158205[_0x9d528b(0x23c)],'tMGFy':_0x158205[_0x9d528b(0x263)],'buKLI':function(_0xa375bb,_0x18a847){const _0x4f6fbd=_0x9d528b;return _0x158205[_0x4f6fbd(0x1e8)](_0xa375bb,_0x18a847);},'BOlcl':function(_0x5957f4,_0x1b1330){const _0x51b388=_0x9d528b;return _0x158205[_0x51b388(0x264)](_0x5957f4,_0x1b1330);},'fuDmj':_0x158205['lWXLc'],'TVYJT':_0x158205[_0x9d528b(0x21e)],'uUyQh':_0x158205[_0x9d528b(0x221)],'izcHv':function(_0x16b7d4,_0x2ab5d3){const _0x4e21b9=_0x9d528b;return _0x158205[_0x4e21b9(0x1c7)](_0x16b7d4,_0x2ab5d3);}};_0x5146d7[_0x4498e1]={'pending':[],'failures':[],'passes':[],'tests':_0x243e2e[_0x4498e1][_0x158205[_0x9d528b(0x292)]][_0x9d528b(0x256)](clean)},_0x243e2e[_0x4498e1][_0x158205[_0x9d528b(0x292)]]['forEach'](_0x43a268=>{const _0xdc8e15=_0x9d528b;if(_0x35da7c[_0xdc8e15(0x2a0)](_0x43a268[_0xdc8e15(0x2d1)],_0x35da7c[_0xdc8e15(0x23b)]))_0x5146d7[_0x4498e1][_0x35da7c['tMGFy']][_0xdc8e15(0x241)](_0x35da7c[_0xdc8e15(0x218)](clean,_0x43a268));else _0x35da7c[_0xdc8e15(0x2c6)](_0x43a268[_0xdc8e15(0x2d1)],_0x35da7c[_0xdc8e15(0x26c)])?_0x5146d7[_0x4498e1][_0x35da7c[_0xdc8e15(0x2d8)]]['push'](_0x35da7c[_0xdc8e15(0x218)](clean,_0x43a268)):_0x5146d7[_0x4498e1][_0x35da7c[_0xdc8e15(0x27d)]]['push'](_0x35da7c[_0xdc8e15(0x274)](clean,_0x43a268));});});if(_0x17dac7[_0x19f624(0x223)])try{logger[_0x19f624(0x2d6)](_0x158205[_0x19f624(0x290)],_0x17dac7[_0x19f624(0x223)]),fs[_0x19f624(0x2c5)](_0x17dac7['output'],JSON[_0x19f624(0x24d)](_0x5146d7,null,0x3));}catch(_0x56b5a2){logger[_0x19f624(0x20f)](_0x158205[_0x19f624(0x2ca)],_0x17dac7[_0x19f624(0x223)]),logger[_0x19f624(0x2d6)](_0x56b5a2);}else logger[_0x19f624(0x2d6)](_0x158205[_0x19f624(0x2bb)]),console[_0x19f624(0x2b5)](JSON['stringify'](_0x5146d7,null,0x3));}else{if(_0x158205[_0x19f624(0x286)](_0x5845f9,_0x158205[_0x19f624(0x1e3)])){let _0x28f2dc;const _0x40b740=_0x158205['UPGDH'];_0x17dac7&&(_0x28f2dc=_0x17dac7[_0x19f624(0x230)]);_0x28f2dc=_0x158205[_0x19f624(0x26b)](_0x28f2dc,_0x40b740);let _0xe08cc=0x0,_0x20a55d=0x0,_0xa60bee=0x0,_0x491a09=0x0;_0x1ba714[_0x19f624(0x26f)](_0x52bd06=>{const _0x535d32=_0x19f624,_0x3b7910={'tQpqk':function(_0x4ef1ea,_0x3a6279){return _0x158205['tBKoE'](_0x4ef1ea,_0x3a6279);},'etRLz':_0x158205[_0x535d32(0x23c)],'fHEnw':function(_0x264286,_0x1cbb8b){return _0x158205['tYTft'](_0x264286,_0x1cbb8b);},'ozrmy':_0x158205[_0x535d32(0x2a2)],'GMsQq':function(_0x32f51a,_0x5405eb){const _0x243635=_0x535d32;return _0x158205[_0x243635(0x1dd)](_0x32f51a,_0x5405eb);}};_0x243e2e[_0x52bd06][_0x158205['UUnMT']][_0x535d32(0x26f)](_0x42899b=>{const _0x52f486=_0x535d32;if(_0x3b7910[_0x52f486(0x20d)](_0x42899b['state'],_0x3b7910[_0x52f486(0x242)]))_0xe08cc++;else _0x3b7910[_0x52f486(0x2bc)](_0x42899b[_0x52f486(0x2d1)],_0x3b7910[_0x52f486(0x283)])&&_0x20a55d++;_0xa60bee++,_0x491a09+=_0x3b7910[_0x52f486(0x236)](_0x42899b['duration'],0x1);});}),_0x158205[_0x19f624(0x1c7)](xunitWrite,_0x158205['egbgg'](tag,_0x158205['EzRnM'],{'name':_0x28f2dc,'tests':_0xa60bee,'failures':0x0,'errors':_0x20a55d,'skipped':_0x158205[_0x19f624(0x1d9)](_0x158205[_0x19f624(0x1d9)](_0xa60bee,_0x20a55d),_0xe08cc),'timestamp':new Date()['toUTCString'](),'time':_0x158205[_0x19f624(0x2cc)](_0x491a09,0x3e8)||0x0},![])),_0x1ba714[_0x19f624(0x26f)](_0x313ab7=>{const _0x29967c=_0x19f624;_0x243e2e[_0x313ab7][_0x158205[_0x29967c(0x292)]]['forEach'](_0x2ee46d=>{const _0x2d22b1=_0x29967c;_0x158205[_0x2d22b1(0x1ff)](xunitTest,_0x2ee46d,_0x313ab7);});}),_0x158205[_0x19f624(0x27c)](xunitWrite,_0x158205['eJlWU']);if(_0x17dac7[_0x19f624(0x223)])try{logger[_0x19f624(0x2d6)](_0x158205[_0x19f624(0x1d6)],_0x17dac7[_0x19f624(0x223)]),fs[_0x19f624(0x2c5)](_0x17dac7[_0x19f624(0x223)],xunitContent);}catch(_0x39fe67){logger['error'](_0x158205[_0x19f624(0x26d)],_0x17dac7[_0x19f624(0x223)]),logger[_0x19f624(0x2d6)](_0x39fe67);}else logger[_0x19f624(0x2d6)](_0x158205[_0x19f624(0x2ac)]),console[_0x19f624(0x2b5)](xunitContent);}else{if(_0x158205[_0x19f624(0x246)](_0x499b03,0x0))return;console[_0x19f624(0x2b5)](),logger[_0x19f624(0x2d6)](_0x158205[_0x19f624(0x20c)]),console[_0x19f624(0x2b5)](chalk['bold']['bgRedBright'](_0x158205[_0x19f624(0x202)])),_0x1ba714['forEach'](_0x22f485=>{const _0x5036c3=_0x19f624,_0x333306=[];_0x243e2e[_0x22f485][_0x158205[_0x5036c3(0x292)]][_0x5036c3(0x26f)](_0x4c0e9e=>{const _0x1e3945=_0x5036c3;_0x158205[_0x1e3945(0x2d0)](_0x4c0e9e[_0x1e3945(0x2d1)],_0x158205[_0x1e3945(0x2a2)])&&(_0x4c0e9e[_0x1e3945(0x1f5)]=()=>_0x4c0e9e[_0x1e3945(0x20b)],_0x333306['push'](_0x4c0e9e));}),_0x158205[_0x5036c3(0x1d8)](_0x333306[_0x5036c3(0x23e)],0x0)&&(Base[_0x5036c3(0x2c1)](),Base[_0x5036c3(0x2c1)](_0x158205[_0x5036c3(0x29b)](_0x2f5dff),chalk[_0x5036c3(0x268)][_0x5036c3(0x2b6)](_0x22f485)),Base[_0x5036c3(0x211)](_0x333306));});}}}async function run(_0x1e42cc,_0x3b5f81){const _0x1e8454=a26_0x4141f2,_0x34ede9={'zmlPU':function(_0x552437,_0x6aeaec,_0xc4c4c7,_0x2b0b0c){return _0x552437(_0x6aeaec,_0xc4c4c7,_0x2b0b0c);},'hYdJu':_0x1e8454(0x1ca),'JGtef':_0x1e8454(0x227),'QLeLc':_0x1e8454(0x2c8),'IjUxJ':_0x1e8454(0x232),'upGbv':_0x1e8454(0x24b),'xGaQh':function(_0x1c239c,_0x1ff2cd){return _0x1c239c!=_0x1ff2cd;},'MVlxr':_0x1e8454(0x294),'SXvBU':_0x1e8454(0x222),'cqfWt':'test','ikMXO':_0x1e8454(0x299),'WqZDl':function(_0x1f1567,_0xb862ec){return _0x1f1567(_0xb862ec);},'GOmoJ':_0x1e8454(0x285),'lCxxu':_0x1e8454(0x2cf),'cBnJJ':function(_0x137ccb,_0x38a1d6){return _0x137ccb*_0x38a1d6;},'FckDb':function(_0x14fce1,_0x38505f){return _0x14fce1!==_0x38505f;},'ZKVNa':function(_0x254dee,_0x4a79e6,_0x353467,_0x1b9658){return _0x254dee(_0x4a79e6,_0x353467,_0x1b9658);}};process[_0x1e8454(0x231)][_0x1e8454(0x235)](_0x34ede9[_0x1e8454(0x24e)])&&(process[_0x1e8454(0x2bf)][_0x1e8454(0x1f8)]=![]);process['argv'][_0x1e8454(0x235)](_0x34ede9[_0x1e8454(0x2d2)])&&(process[_0x1e8454(0x2bf)][_0x1e8454(0x278)]=![]);const _0x5cd8b9=new BrowserStackSetup(_0x1e42cc,_0x34ede9[_0x1e8454(0x296)]);helper[_0x1e8454(0x21f)]()&&(await _0x5cd8b9[_0x1e8454(0x289)](),await helper[_0x1e8454(0x1f9)](_0x5cd8b9[_0x1e8454(0x21c)]));const _0xf9406f=[];let _0x3b58e3=[];if(!_0x5cd8b9[_0x1e8454(0x21c)])return;_0x34ede9[_0x1e8454(0x214)](_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x24f)],null)&&(process[_0x1e8454(0x2bf)][_0x1e8454(0x2be)]=_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x24f)]);!helper[_0x1e8454(0x1f2)](_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x1e1)])&&(process[_0x1e8454(0x2bf)][_0x1e8454(0x25f)]=_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x1e1)]);!helper['isUndefined'](_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x2cb)])&&(process[_0x1e8454(0x2bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1e8454(0x24d)](_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x2cb)]));const {extension:extension=['js',_0x34ede9[_0x1e8454(0x250)],_0x34ede9['SXvBU']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x34ede9[_0x1e8454(0x238)]]}=_0x1e42cc,_0x155cef={..._0x1e42cc};_0x155cef[_0x1e8454(0x298)]=null;const _0x2aa9c6=_0x155cef;let _0x2d6bb3;if(testOpsHelper[_0x1e8454(0x234)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x56bd4b=process[_0x1e8454(0x2bf)][_0x1e8454(0x233)];!helper['isUndefined'](_0x5cd8b9[_0x1e8454(0x257)])&&_0x5cd8b9[_0x1e8454(0x257)]['has'](_0x34ede9[_0x1e8454(0x22c)])&&(_0x56bd4b=_0x5cd8b9[_0x1e8454(0x257)][_0x1e8454(0x275)](_0x34ede9['ikMXO'])),_0x2d6bb3=testOpsHelper[_0x1e8454(0x2c7)](_0x56bd4b);}if(helper[_0x1e8454(0x1f2)](_0x2d6bb3)){const _0xcd11c6={};_0xcd11c6[_0x1e8454(0x1cd)]=ignore,_0xcd11c6['extension']=extension,_0xcd11c6[_0x1e8454(0x2c0)]=file,_0xcd11c6[_0x1e8454(0x27b)]=recursive,_0xcd11c6[_0x1e8454(0x228)]=sort,_0xcd11c6['spec']=spec,_0x2d6bb3=_0x34ede9[_0x1e8454(0x2aa)](collectFiles,_0xcd11c6);}helper[_0x1e8454(0x29c)]();if(!helper[_0x1e8454(0x21f)]()){const _0x1c9121=0x1,_0x53ff75={..._0x2aa9c6};_0x53ff75[_0x1e8454(0x216)]=[..._0x2d6bb3],_0xf9406f[_0x1e8454(0x241)]({'mochaOpts':_0x53ff75,'configuration':{'platform':os[_0x1e8454(0x2a5)]()}}),logger[_0x1e8454(0x213)](_0x34ede9['GOmoJ']),logger[_0x1e8454(0x213)](_0x34ede9['lCxxu']),_0x34ede9[_0x1e8454(0x204)](parallelTestRun,_0xf9406f,_0x1c9121,_0x5cd8b9)[_0x1e8454(0x1f4)](_0x3e3d39=>{const _0x11f468=_0x1e8454;_0x34ede9[_0x11f468(0x204)](printStats,_0x3e3d39,_0x1e42cc[_0x11f468(0x29e)],_0x1e42cc[_0x11f468(0x295)]||_0x1e42cc[_0x34ede9['hYdJu']]);})[_0x1e8454(0x297)](()=>{const _0x4351a9=_0x1e8454;try{helper[_0x4351a9(0x28e)](_0x34ede9[_0x4351a9(0x2a3)],{},_0x5cd8b9[_0x4351a9(0x21c)],_0x5cd8b9[_0x4351a9(0x2b9)]);}catch(_0x1e24b7){logger['debug'](_0x4351a9(0x262)+_0x1e24b7);}try{helper[_0x4351a9(0x210)]();}catch(_0x56f340){logger[_0x4351a9(0x2d6)](_0x4351a9(0x1df)+_0x56f340);}testOpsHelper[_0x4351a9(0x2b8)]();});}else{const _0x16dba3=helper[_0x1e8454(0x1c6)](_0x5cd8b9[_0x1e8454(0x21c)]),_0x3b2c9e=helper[_0x1e8454(0x258)](_0x5cd8b9[_0x1e8454(0x21c)]);_0x3b58e3=helper[_0x1e8454(0x29f)](_0x5cd8b9['config'],_0x16dba3,constants[_0x1e8454(0x2a4)][_0x1e8454(0x206)]);let _0x300c09;const _0x3ed229=_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x248)]||helper['getUserWorkerCount'](_0x1e42cc,_0x3b5f81,_0x5cd8b9[_0x1e8454(0x21c)],constants[_0x1e8454(0x2a4)][_0x1e8454(0x206)])||0x1;helper[_0x1e8454(0x2a8)](_0x5cd8b9[_0x1e8454(0x21c)])?_0x300c09=_0x34ede9[_0x1e8454(0x2a1)](_0x5cd8b9['config'][_0x1e8454(0x1d2)][_0x1e8454(0x23e)],_0x3ed229):_0x300c09=_0x3ed229;const _0x2b8211=_0x34ede9[_0x1e8454(0x2aa)](getPercyOptions,_0x5cd8b9[_0x1e8454(0x21c)]);if(_0x34ede9[_0x1e8454(0x22f)](_0x5cd8b9[_0x1e8454(0x21c)][_0x1e8454(0x248)],0x1))_0x2d6bb3[_0x1e8454(0x26f)](_0x58938c=>{const _0x2f9e48=_0x1e8454,_0x4edcdf=[];_0x3b58e3[_0x2f9e48(0x26f)]((_0x978b2d,_0x4d66e6)=>{const _0x444cfc=_0x2f9e48,_0x1f7778={};_0x1f7778[_0x444cfc(0x216)]=[_0x58938c],_0x4edcdf[_0x444cfc(0x241)]({'mochaOpts':Object['assign']({},_0x2aa9c6,_0x1f7778),'configuration':{'server':_0x3b2c9e,'capability':_0x978b2d,'proxySettings':_0x5cd8b9[_0x444cfc(0x21c)][_0x444cfc(0x1e7)],'platform':helper[_0x444cfc(0x25d)](_0x978b2d),'browserStackLogLevel':_0x5cd8b9[_0x444cfc(0x21c)][_0x444cfc(0x1fb)],'platformIndex':_0x4d66e6,'browserStackPercyOptions':_0x2b8211,'platformCaps':_0x5cd8b9[_0x444cfc(0x21c)][_0x444cfc(0x1d2)][_0x4d66e6]}});}),_0xf9406f['push'](..._0x4edcdf);});else{const _0x59feec=[];_0x3b58e3[_0x1e8454(0x26f)]((_0x19924d,_0x110d4b)=>{const _0x25c1b9=_0x1e8454;let _0x20a35f=Object[_0x25c1b9(0x2a6)]({},_0x2aa9c6);testOpsHelper[_0x25c1b9(0x234)]()&&testOpsHelper[_0x25c1b9(0x28c)]()&&(_0x20a35f={..._0x20a35f,'spec':[..._0x2d6bb3]}),_0x59feec['push']({'mochaOpts':_0x20a35f,'configuration':{'server':_0x3b2c9e,'capability':_0x19924d,'proxySettings':_0x5cd8b9[_0x25c1b9(0x21c)]['proxySettings'],'platform':helper[_0x25c1b9(0x25d)](_0x19924d),'browserStackLogLevel':_0x5cd8b9['config'][_0x25c1b9(0x1fb)],'platformIndex':_0x110d4b,'browserStackPercyOptions':_0x2b8211,'platformCaps':_0x5cd8b9['config'][_0x25c1b9(0x1d2)][_0x110d4b]}});}),_0xf9406f[_0x1e8454(0x241)](..._0x59feec);}logger[_0x1e8454(0x213)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x5cd8b9[_0x1e8454(0x21c)]['platforms']['length']+_0x1e8454(0x2b2)),logger[_0x1e8454(0x213)](_0x34ede9[_0x1e8454(0x23a)]);let _0x1bcabf;_0x34ede9[_0x1e8454(0x282)](parallelTestRun,_0xf9406f,_0x300c09,_0x5cd8b9)['then'](_0x5b8d32=>{const _0x50e7cd=_0x1e8454;_0x1bcabf=_0x5b8d32,_0x34ede9[_0x50e7cd(0x204)](printStats,_0x5b8d32,_0x1e42cc[_0x50e7cd(0x29e)],_0x1e42cc[_0x50e7cd(0x295)]||_0x1e42cc[_0x34ede9[_0x50e7cd(0x273)]]);})[_0x1e8454(0x297)](async()=>{const _0x33f965=_0x1e8454;_0x5cd8b9[_0x33f965(0x291)]=helper[_0x33f965(0x2ba)](_0x1bcabf,_0x34ede9[_0x33f965(0x296)]),await helper[_0x33f965(0x2af)](_0x5cd8b9),testOpsHelper['printBuildLink']();});}}module[a26_0x4141f2(0x28d)]=run;
|
|
2
|
+
'use strict';function a27_0x38cb(_0x2be466,_0x3bbf29){const _0x89e7a1=a27_0x89e7();return a27_0x38cb=function(_0x38cb56,_0x4b5d66){_0x38cb56=_0x38cb56-0x149;let _0x4ec8a5=_0x89e7a1[_0x38cb56];return _0x4ec8a5;},a27_0x38cb(_0x2be466,_0x3bbf29);}const a27_0x1d77e5=a27_0x38cb;(function(_0x3a9ba1,_0xd9b5b5){const _0x222862=a27_0x38cb,_0x37da4f=_0x3a9ba1();while(!![]){try{const _0x1d4271=-parseInt(_0x222862(0x1d3))/0x1+parseInt(_0x222862(0x1fe))/0x2*(-parseInt(_0x222862(0x1d2))/0x3)+parseInt(_0x222862(0x20c))/0x4+-parseInt(_0x222862(0x198))/0x5*(-parseInt(_0x222862(0x1d8))/0x6)+-parseInt(_0x222862(0x20f))/0x7+-parseInt(_0x222862(0x19d))/0x8*(-parseInt(_0x222862(0x178))/0x9)+parseInt(_0x222862(0x1b5))/0xa;if(_0x1d4271===_0xd9b5b5)break;else _0x37da4f['push'](_0x37da4f['shift']());}catch(_0x4937f6){_0x37da4f['push'](_0x37da4f['shift']());}}}(a27_0x89e7,0xd1344));const chalk=require('chalk'),logger=require('../../helpers/logger')[a27_0x1d77e5(0x19b)],{default:BrowserStackSetup}=require(a27_0x1d77e5(0x176)),helper=require(a27_0x1d77e5(0x194)),testOpsHelper=require(a27_0x1d77e5(0x1c5)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule}=require(a27_0x1d77e5(0x194)),{getPercyOptions}=require(a27_0x1d77e5(0x195)),Base=requireModule(a27_0x1d77e5(0x217)),collectFiles=requireModule(a27_0x1d77e5(0x197)),constants=require(a27_0x1d77e5(0x22f));function tag(_0x1d04f2,_0x86bad6,_0x3357da,_0x2981c5){const _0x3e70ef=a27_0x1d77e5,_0x13d9e5={'rGNHA':function(_0x1398ba,_0x5d527e){return _0x1398ba+_0x5d527e;},'yRWmL':function(_0x119812,_0x11ca8c){return _0x119812+_0x11ca8c;},'IZdaV':function(_0x1c0cbe,_0x39858e){return _0x1c0cbe(_0x39858e);},'ZquHC':function(_0x43a441,_0x2f618a){return _0x43a441+_0x2f618a;},'pORfx':function(_0x5b4096,_0x2fc134){return _0x5b4096+_0x2fc134;},'QFuyb':function(_0x264e73,_0xb3df5f){return _0x264e73+_0xb3df5f;}},_0x3536c6=_0x3357da?'/>':'>',_0x544f5b=[];let _0x5d8299;for(const _0x4486cd in _0x86bad6){Object[_0x3e70ef(0x209)][_0x3e70ef(0x1df)][_0x3e70ef(0x182)](_0x86bad6,_0x4486cd)&&_0x544f5b[_0x3e70ef(0x1a8)](_0x13d9e5[_0x3e70ef(0x1aa)](_0x13d9e5['yRWmL'](_0x13d9e5[_0x3e70ef(0x1a4)](_0x4486cd,'=\x22'),_0x13d9e5[_0x3e70ef(0x16c)](escape,_0x86bad6[_0x4486cd])),'\x22'));}return _0x5d8299=_0x13d9e5[_0x3e70ef(0x1a4)](_0x13d9e5[_0x3e70ef(0x233)](_0x13d9e5[_0x3e70ef(0x233)]('<',_0x1d04f2),_0x544f5b['length']?_0x13d9e5[_0x3e70ef(0x14c)]('\x20',_0x544f5b[_0x3e70ef(0x17c)]('\x20')):''),_0x3536c6),_0x2981c5&&(_0x5d8299+=_0x13d9e5[_0x3e70ef(0x1a4)](_0x13d9e5[_0x3e70ef(0x227)](_0x13d9e5[_0x3e70ef(0x1aa)](_0x2981c5,'</'),_0x1d04f2),_0x3536c6)),_0x5d8299;}let xunitContent='';function xunitWrite(_0x12668e){xunitContent+=_0x12668e;}function xunitTest(_0x1ed26f,_0x6d8ea1){const _0x28be74=a27_0x1d77e5,_0x19d58d={'pYmWM':function(_0x31c26a,_0x545177){return _0x31c26a/_0x545177;},'qDaGD':function(_0x2b2e3a,_0x4fe3be){return _0x2b2e3a===_0x4fe3be;},'AZkzQ':_0x28be74(0x220),'rJcRk':function(_0x57eac7,_0x33b7f7){return _0x57eac7+_0x33b7f7;},'ZqPaR':function(_0x3a17cc,_0x3ce68e){return _0x3a17cc(_0x3ce68e);},'LzZhc':function(_0x4ccbc6,_0x48e1b2,_0x4af907,_0x5f03ea,_0x25f0c0){return _0x4ccbc6(_0x48e1b2,_0x4af907,_0x5f03ea,_0x25f0c0);},'HPGmC':_0x28be74(0x17d),'vxkjf':_0x28be74(0x14b),'FTgAg':function(_0x5c3766,_0x42e92c){return _0x5c3766+_0x42e92c;},'uoAWc':function(_0x24fa4f,_0x275b64){return _0x24fa4f+_0x275b64;},'IcEio':function(_0x14b354,_0x1b1227){return _0x14b354+_0x1b1227;},'USypF':function(_0x242ab7,_0xbae864){return _0x242ab7(_0xbae864);},'hzNvq':function(_0x4b8d56,_0x357ace,_0x41958c,_0x2d13f2){return _0x4b8d56(_0x357ace,_0x41958c,_0x2d13f2);},'MNSRX':'skipped','LyXLC':function(_0x416f37,_0x338b1d,_0x4fa2d3,_0x4d0a99){return _0x416f37(_0x338b1d,_0x4fa2d3,_0x4d0a99);}};Base[_0x28be74(0x21c)]=![];var _0xc0f5c={'classname':_0x1ed26f[_0x28be74(0x14d)],'name':_0x1ed26f[_0x28be74(0x1a1)],'time':_0x19d58d[_0x28be74(0x200)](_0x1ed26f[_0x28be74(0x1ad)],0x3e8)||0x0,'platform':_0x6d8ea1};if(_0x19d58d[_0x28be74(0x22e)](_0x1ed26f[_0x28be74(0x180)],_0x19d58d[_0x28be74(0x223)])){var _0x10bf9d=_0x1ed26f[_0x28be74(0x153)],_0xa4adc=!Base[_0x28be74(0x1b6)]&&Base[_0x28be74(0x19e)](_0x10bf9d)?_0x19d58d[_0x28be74(0x1f3)]('\x0a',Base['generateDiff'](_0x10bf9d[_0x28be74(0x1ab)],_0x10bf9d[_0x28be74(0x165)])):'';_0x19d58d[_0x28be74(0x226)](xunitWrite,_0x19d58d[_0x28be74(0x17e)](tag,_0x19d58d[_0x28be74(0x20b)],_0xc0f5c,![],_0x19d58d['LzZhc'](tag,_0x19d58d[_0x28be74(0x170)],{},![],_0x19d58d[_0x28be74(0x199)](_0x19d58d[_0x28be74(0x183)](_0x19d58d[_0x28be74(0x1d6)](_0x19d58d[_0x28be74(0x226)](escape,_0x10bf9d['message']),_0x19d58d[_0x28be74(0x226)](escape,_0xa4adc)),'\x0a'),_0x19d58d[_0x28be74(0x226)](escape,_0x10bf9d[_0x28be74(0x201)])))));}else _0x1ed26f[_0x28be74(0x1ee)]?_0x19d58d[_0x28be74(0x214)](xunitWrite,_0x19d58d[_0x28be74(0x17e)](tag,_0x19d58d['HPGmC'],_0xc0f5c,![],_0x19d58d['hzNvq'](tag,_0x19d58d[_0x28be74(0x22a)],{},!![]))):_0x19d58d[_0x28be74(0x214)](xunitWrite,_0x19d58d[_0x28be74(0x1e8)](tag,_0x19d58d[_0x28be74(0x20b)],_0xc0f5c,!![]));};function getStats(_0x311a62){const _0x4fdf60=a27_0x1d77e5,_0xdc2323={};_0xdc2323['XNonp']='suite',_0xdc2323[_0x4fdf60(0x189)]=_0x4fdf60(0x1ec),_0xdc2323['kNtJR']='failed',_0xdc2323['uvJJL']=_0x4fdf60(0x1a6);const _0xc248b8=_0xdc2323,_0x25d412=Object[_0x4fdf60(0x173)](_0x311a62);let _0x4432d5=0x0,_0x4f1f37=0x0,_0x379aea=0x0,_0x3bb8f3=0x0;const _0x359f86=new Set();_0x25d412[_0x4fdf60(0x16b)](_0x20a927=>{const _0x48e356=_0x4fdf60,_0x245432={};_0x245432[_0x48e356(0x15e)]=_0xc248b8[_0x48e356(0x1bf)],_0x245432[_0x48e356(0x1ed)]=_0xc248b8[_0x48e356(0x189)],_0x245432[_0x48e356(0x1a0)]=_0xc248b8[_0x48e356(0x184)];const _0x4c8585=_0x245432;_0x311a62[_0x20a927][_0xc248b8[_0x48e356(0x1fa)]]['forEach'](_0x3e70da=>{const _0x432bf0=_0x48e356;_0x359f86['add'](_0x3e70da[_0x4c8585['RKluX']]),_0x4432d5++;switch(_0x3e70da[_0x432bf0(0x180)]){case _0x4c8585['VZtBe']:_0x379aea++;break;case _0x4c8585[_0x432bf0(0x1a0)]:_0x4f1f37++;break;default:_0x3bb8f3++;}});});const _0x3c5cf5={};return _0x3c5cf5[_0x4fdf60(0x19f)]=_0x359f86['size'],_0x3c5cf5[_0x4fdf60(0x15a)]=_0x25d412,_0x3c5cf5[_0x4fdf60(0x149)]=_0x4432d5,_0x3c5cf5['testsFailed']=_0x4f1f37,_0x3c5cf5['testsPassed']=_0x379aea,_0x3c5cf5[_0x4fdf60(0x20e)]=_0x3bb8f3,_0x3c5cf5;}function errorJSON(_0x56b062){const _0x4c2058=a27_0x1d77e5;var _0x3cf0d3={};return Object[_0x4c2058(0x1dc)](_0x56b062)[_0x4c2058(0x16b)](function(_0x2c404d){_0x3cf0d3[_0x2c404d]=_0x56b062[_0x2c404d];},_0x56b062),_0x3cf0d3;}function cleanCycles(_0xe9c617){const _0x4f7086=a27_0x1d77e5,_0x4eb7eb={};_0x4eb7eb['ZHdsL']=function(_0x343e5b,_0x4245c3){return _0x343e5b===_0x4245c3;},_0x4eb7eb['uwTKd']=_0x4f7086(0x177),_0x4eb7eb['HceKy']=function(_0x46bece,_0x465cff){return _0x46bece!==_0x465cff;},_0x4eb7eb[_0x4f7086(0x1a7)]=function(_0x3fbd20,_0x591270){return _0x3fbd20!==_0x591270;},_0x4eb7eb[_0x4f7086(0x1ac)]=function(_0x1adb20,_0x4d6120){return _0x1adb20+_0x4d6120;};const _0xbb3d7d=_0x4eb7eb;var _0x2e50ae=[];return JSON[_0x4f7086(0x22c)](JSON[_0x4f7086(0x190)](_0xe9c617,function(_0x2430de,_0x2a8a01){const _0x90ef59=_0x4f7086;if(_0xbb3d7d['ZHdsL'](typeof _0x2a8a01,_0xbb3d7d[_0x90ef59(0x1c0)])&&_0xbb3d7d[_0x90ef59(0x18d)](_0x2a8a01,null)){if(_0xbb3d7d[_0x90ef59(0x1a7)](_0x2e50ae['indexOf'](_0x2a8a01),-0x1))return _0xbb3d7d[_0x90ef59(0x1ac)]('',_0x2a8a01);_0x2e50ae[_0x90ef59(0x1a8)](_0x2a8a01);}return _0x2a8a01;}));}function clean(_0x5c968b){const _0x56ca98=a27_0x1d77e5,_0x51e7f9={'qtOCL':function(_0x1eb3a9,_0x4d1ce7){return _0x1eb3a9 instanceof _0x4d1ce7;},'qkBUX':function(_0x5b83ee,_0x16d310){return _0x5b83ee(_0x16d310);}};var _0x1d5154=_0x5c968b['err']||{};return _0x51e7f9[_0x56ca98(0x1f0)](_0x1d5154,Error)&&(_0x1d5154=_0x51e7f9[_0x56ca98(0x207)](errorJSON,_0x1d5154)),{'title':_0x5c968b[_0x56ca98(0x1a1)],'fullTitle':_0x5c968b[_0x56ca98(0x14d)],'file':_0x5c968b['file'],'duration':_0x5c968b['duration'],'currentRetry':_0x5c968b[_0x56ca98(0x208)],'speed':_0x5c968b[_0x56ca98(0x175)],'err':_0x51e7f9[_0x56ca98(0x207)](cleanCycles,_0x1d5154)};}function printStats(_0x3f9d90,_0x4dca8c=a27_0x1d77e5(0x1e7),_0x578a9b={}){const _0x514ff6=a27_0x1d77e5,_0x42a980={'lpaKF':function(_0x247ac8,_0x1e823a){return _0x247ac8(_0x1e823a);},'kpzGH':function(_0x335df4,_0x162a8a){return _0x335df4===_0x162a8a;},'zogpT':_0x514ff6(0x1ec),'dlYNX':_0x514ff6(0x219),'ydxxR':function(_0x149436,_0x251f06){return _0x149436(_0x251f06);},'Dsiyd':_0x514ff6(0x220),'SYjWQ':'failures','zYLeE':function(_0x46ee56,_0x13fbd2){return _0x46ee56(_0x13fbd2);},'ZKtjD':_0x514ff6(0x21e),'bBOgT':function(_0x50465d,_0x2b7462){return _0x50465d(_0x2b7462);},'bcQmJ':_0x514ff6(0x1a6),'LYXTW':function(_0x47d27d,_0x5145af){return _0x47d27d===_0x5145af;},'svVbx':function(_0x216ba0,_0x330b3e){return _0x216ba0*_0x330b3e;},'jvDZW':function(_0x28bba6,_0x2c74a3,_0xc3a3f5){return _0x28bba6(_0x2c74a3,_0xc3a3f5);},'jKRTm':function(_0x2e7d74,_0x2667f2){return _0x2e7d74>_0x2667f2;},'VusZT':function(_0x4bbfe2){return _0x4bbfe2();},'jnBBB':_0x514ff6(0x1c7),'wfJJo':function(_0x41f7a2,_0x291376){return _0x41f7a2(_0x291376);},'muntt':function(_0x13858d,_0x1f5e1f){return _0x13858d>_0x1f5e1f;},'rcsll':_0x514ff6(0x1e9),'ItbDt':_0x514ff6(0x1af),'Qjgoj':function(_0x89ae15,_0x24cd61){return _0x89ae15+_0x24cd61;},'LGtab':_0x514ff6(0x1e3),'eupEx':_0x514ff6(0x1de),'ugNtK':function(_0x1c9936,_0x37775d){return _0x1c9936+_0x37775d;},'BSxsl':'Tests:\x20\x20\x20\x20\x20\x20\x20','Idhmg':function(_0x11694a,_0x577b64){return _0x11694a>_0x577b64;},'EBooR':function(_0x527bf3,_0x86b42a){return _0x527bf3>_0x86b42a;},'ieIEn':function(_0x20a35e,_0x127deb){return _0x20a35e+_0x127deb;},'WdlXO':function(_0x26337c,_0x3a803f){return _0x26337c+_0x3a803f;},'WuIDB':_0x514ff6(0x1ff),'XXDlh':_0x514ff6(0x216),'KHwXh':'Writing\x20json\x20result\x20to\x20file','XKzZM':'Couldn\x27t\x20write\x20json\x20result\x20to','rFFag':_0x514ff6(0x19a),'hgizy':function(_0x378c96,_0x2875fe){return _0x378c96===_0x2875fe;},'coqLq':_0x514ff6(0x218),'AqWWC':_0x514ff6(0x205),'CxGdu':function(_0x21caae,_0x928cd6){return _0x21caae||_0x928cd6;},'IPHTm':function(_0x9d8fe0,_0x2415a4,_0x2e3879,_0x8e19e7){return _0x9d8fe0(_0x2415a4,_0x2e3879,_0x8e19e7);},'vYdOR':_0x514ff6(0x187),'yfjTm':function(_0x4a5c9f,_0x2e2374){return _0x4a5c9f-_0x2e2374;},'XhPrK':function(_0x308b58,_0x13a9b0){return _0x308b58-_0x13a9b0;},'Szkyy':function(_0xa68b4,_0xf6b43b){return _0xa68b4/_0xf6b43b;},'TiTuu':_0x514ff6(0x1eb),'UquIj':_0x514ff6(0x230),'RsRhb':_0x514ff6(0x21a),'sXFJS':_0x514ff6(0x1ef),'IxAQC':_0x514ff6(0x235),'hbEAx':_0x514ff6(0x1bd)};if(_0x42a980[_0x514ff6(0x18e)](_0x4dca8c,_0x42a980[_0x514ff6(0x19c)]))return;const _0x115ee2=0x0,_0x350242=()=>{const _0x105c4e=_0x514ff6;return _0x42a980[_0x105c4e(0x191)](Array,_0x115ee2)[_0x105c4e(0x17c)]('\x20\x20');},{testSuites:_0x2846a2,platforms:_0x567c11,totalTests:_0x4f486a,testsFailed:_0x478752,testsPassed:_0xb18120,testsPending:_0x580a50}=_0x42a980[_0x514ff6(0x1ce)](getStats,_0x3f9d90);_0x42a980[_0x514ff6(0x1fb)](_0x478752,0x0)&&(logger['debug'](_0x42a980['rcsll']),process[_0x514ff6(0x1f7)]=Math[_0x514ff6(0x163)](_0x478752,0xff));logger['debug'](_0x42a980[_0x514ff6(0x1b9)]);const _0x10d60b=''+_0x42a980[_0x514ff6(0x1e2)](chalk[_0x514ff6(0x1d5)](_0x42a980[_0x514ff6(0x22b)]),_0x567c11[_0x514ff6(0x154)]),_0x2ff6d2=''+_0x42a980['Qjgoj'](chalk[_0x514ff6(0x1d5)](_0x42a980[_0x514ff6(0x1bb)]),_0x2846a2),_0x32208d=''+_0x42a980['Qjgoj'](_0x42a980[_0x514ff6(0x232)](_0x42a980[_0x514ff6(0x1e2)](chalk[_0x514ff6(0x1d5)](_0x42a980[_0x514ff6(0x18b)]),_0x42a980['Idhmg'](_0x478752,0x0)?chalk[_0x514ff6(0x1d5)][_0x514ff6(0x1c6)](_0x478752+_0x514ff6(0x236))+',\x20':''),_0x42a980[_0x514ff6(0x202)](_0x580a50,0x0)?chalk['bold'][_0x514ff6(0x1b4)](_0x580a50+_0x514ff6(0x225))+',\x20':''),_0x42a980['EBooR'](_0xb18120,0x0)?chalk['bold'][_0x514ff6(0x15c)](_0xb18120+_0x514ff6(0x229))+',\x20':'')+_0x4f486a+_0x514ff6(0x186);console['log'](_0x42a980[_0x514ff6(0x232)](_0x42a980[_0x514ff6(0x1e2)](_0x42a980[_0x514ff6(0x1ea)](_0x42a980[_0x514ff6(0x1ea)](_0x42a980[_0x514ff6(0x1f9)](_0x42a980[_0x514ff6(0x1c2)],_0x10d60b),'\x0a'),_0x2ff6d2),'\x0a'),_0x32208d));if(_0x42a980[_0x514ff6(0x1e1)](_0x4dca8c,_0x42a980[_0x514ff6(0x18a)])){const _0x242b82={},_0x3c00db={};_0x3c00db[_0x514ff6(0x19f)]=_0x2846a2,_0x3c00db[_0x514ff6(0x15a)]=_0x567c11,_0x3c00db['testsFailed']=_0x478752,_0x3c00db[_0x514ff6(0x1a5)]=_0xb18120,_0x3c00db['testsPending']=_0x580a50,_0x242b82[_0x514ff6(0x21d)]=_0x3c00db,_0x567c11['forEach'](_0x643ee9=>{const _0xe6d031=_0x514ff6,_0x174ae3={'QUgbn':function(_0x4cc894,_0x293869){const _0x445454=a27_0x38cb;return _0x42a980[_0x445454(0x18e)](_0x4cc894,_0x293869);},'gLExS':_0x42a980[_0xe6d031(0x152)],'jfeEb':_0x42a980[_0xe6d031(0x18c)],'wDDbW':function(_0x136e93,_0x309236){const _0x52e8d6=_0xe6d031;return _0x42a980[_0x52e8d6(0x171)](_0x136e93,_0x309236);},'Fnrra':_0x42a980[_0xe6d031(0x1be)],'DnUPr':_0x42a980[_0xe6d031(0x166)],'goBfV':function(_0x5e573e,_0x1f1017){return _0x42a980['zYLeE'](_0x5e573e,_0x1f1017);},'KgyiU':_0x42a980['ZKtjD'],'OoNmd':function(_0x1dbb75,_0x12fba7){const _0x17cc62=_0xe6d031;return _0x42a980[_0x17cc62(0x168)](_0x1dbb75,_0x12fba7);}};_0x242b82[_0x643ee9]={'pending':[],'failures':[],'passes':[],'tests':_0x3f9d90[_0x643ee9][_0x42a980[_0xe6d031(0x1c1)]]['map'](clean)},_0x3f9d90[_0x643ee9][_0x42a980[_0xe6d031(0x1c1)]][_0xe6d031(0x16b)](_0x24f2de=>{const _0x1389bb=_0xe6d031;if(_0x174ae3[_0x1389bb(0x157)](_0x24f2de[_0x1389bb(0x180)],_0x174ae3[_0x1389bb(0x1f8)]))_0x242b82[_0x643ee9][_0x174ae3[_0x1389bb(0x1b7)]]['push'](_0x174ae3[_0x1389bb(0x1db)](clean,_0x24f2de));else _0x174ae3['QUgbn'](_0x24f2de['state'],_0x174ae3[_0x1389bb(0x1ae)])?_0x242b82[_0x643ee9][_0x174ae3['DnUPr']][_0x1389bb(0x1a8)](_0x174ae3['goBfV'](clean,_0x24f2de)):_0x242b82[_0x643ee9][_0x174ae3[_0x1389bb(0x1b0)]][_0x1389bb(0x1a8)](_0x174ae3['OoNmd'](clean,_0x24f2de));});});if(_0x578a9b['output'])try{logger[_0x514ff6(0x221)](_0x42a980[_0x514ff6(0x1f2)],_0x578a9b['output']),fs['writeFileSync'](_0x578a9b[_0x514ff6(0x1b3)],JSON[_0x514ff6(0x190)](_0x242b82,null,0x3));}catch(_0x286e07){logger[_0x514ff6(0x1bc)](_0x42a980[_0x514ff6(0x196)],_0x578a9b['output']),logger[_0x514ff6(0x221)](_0x286e07);}else logger['debug'](_0x42a980['rFFag']),console[_0x514ff6(0x15f)](JSON['stringify'](_0x242b82,null,0x3));}else{if(_0x42a980[_0x514ff6(0x188)](_0x4dca8c,_0x42a980['coqLq'])){let _0x2b0472;const _0xd329e9=_0x42a980[_0x514ff6(0x1ca)];_0x578a9b&&(_0x2b0472=_0x578a9b['suiteName']);_0x2b0472=_0x42a980[_0x514ff6(0x193)](_0x2b0472,_0xd329e9);let _0x2015d1=0x0,_0x17e902=0x0,_0x2765fe=0x0,_0x4d3da7=0x0;_0x567c11[_0x514ff6(0x16b)](_0x4fd746=>{const _0x1b6189=_0x514ff6,_0x3abd6c={'CyeGI':function(_0x3a6743,_0x38976a){return _0x42a980['LYXTW'](_0x3a6743,_0x38976a);},'rSNZl':_0x42a980[_0x1b6189(0x152)],'ryOKJ':_0x42a980[_0x1b6189(0x1be)],'sIKmp':function(_0x25eeaf,_0x377604){const _0x5b22f9=_0x1b6189;return _0x42a980[_0x5b22f9(0x1d1)](_0x25eeaf,_0x377604);}};_0x3f9d90[_0x4fd746][_0x42a980['bcQmJ']]['forEach'](_0x4d2a53=>{const _0x2cc18e=_0x1b6189;if(_0x3abd6c[_0x2cc18e(0x1fd)](_0x4d2a53[_0x2cc18e(0x180)],_0x3abd6c[_0x2cc18e(0x1fc)]))_0x2015d1++;else _0x3abd6c[_0x2cc18e(0x1fd)](_0x4d2a53[_0x2cc18e(0x180)],_0x3abd6c[_0x2cc18e(0x234)])&&_0x17e902++;_0x2765fe++,_0x4d3da7+=_0x3abd6c[_0x2cc18e(0x22d)](_0x4d2a53[_0x2cc18e(0x1ad)],0x1);});}),_0x42a980[_0x514ff6(0x168)](xunitWrite,_0x42a980['IPHTm'](tag,_0x42a980[_0x514ff6(0x1a2)],{'name':_0x2b0472,'tests':_0x2765fe,'failures':0x0,'errors':_0x17e902,'skipped':_0x42a980['yfjTm'](_0x42a980['XhPrK'](_0x2765fe,_0x17e902),_0x2015d1),'timestamp':new Date()['toUTCString'](),'time':_0x42a980['Szkyy'](_0x4d3da7,0x3e8)||0x0},![])),_0x567c11[_0x514ff6(0x16b)](_0x4565d2=>{const _0xb9eba2=_0x514ff6;_0x3f9d90[_0x4565d2][_0x42a980['bcQmJ']][_0xb9eba2(0x16b)](_0x42c0c2=>{_0x42a980['jvDZW'](xunitTest,_0x42c0c2,_0x4565d2);});}),_0x42a980[_0x514ff6(0x171)](xunitWrite,_0x42a980['TiTuu']);if(_0x578a9b['output'])try{logger[_0x514ff6(0x221)](_0x42a980['UquIj'],_0x578a9b[_0x514ff6(0x1b3)]),fs[_0x514ff6(0x1f5)](_0x578a9b[_0x514ff6(0x1b3)],xunitContent);}catch(_0x2a37bd){logger[_0x514ff6(0x1bc)](_0x42a980[_0x514ff6(0x206)],_0x578a9b[_0x514ff6(0x1b3)]),logger[_0x514ff6(0x221)](_0x2a37bd);}else logger[_0x514ff6(0x221)](_0x42a980[_0x514ff6(0x1d4)]),console[_0x514ff6(0x15f)](xunitContent);}else{if(_0x42a980[_0x514ff6(0x1e1)](_0x478752,0x0))return;console['log'](),logger['debug'](_0x42a980[_0x514ff6(0x1c4)]),console[_0x514ff6(0x15f)](chalk[_0x514ff6(0x1d5)]['bgRedBright'](_0x42a980[_0x514ff6(0x1e0)])),_0x567c11[_0x514ff6(0x16b)](_0x480ca8=>{const _0x1b4064=_0x514ff6,_0xf8c3bd=[];_0x3f9d90[_0x480ca8][_0x42a980[_0x1b4064(0x1c1)]][_0x1b4064(0x16b)](_0xded236=>{const _0x2d2245=_0x1b4064;_0x42a980['kpzGH'](_0xded236[_0x2d2245(0x180)],_0x42a980[_0x2d2245(0x1be)])&&(_0xded236['titlePath']=()=>_0xded236[_0x2d2245(0x1cd)],_0xf8c3bd[_0x2d2245(0x1a8)](_0xded236));}),_0x42a980['jKRTm'](_0xf8c3bd[_0x1b4064(0x154)],0x0)&&(Base[_0x1b4064(0x1a3)](),Base[_0x1b4064(0x1a3)](_0x42a980['VusZT'](_0x350242),chalk['bold'][_0x1b4064(0x231)](_0x480ca8)),Base['list'](_0xf8c3bd));});}}}function a27_0x89e7(){const _0x51935a=['push','hJcNY','rGNHA','actual','YIKvC','duration','Fnrra','Printing\x20stats\x20of\x20tests','KgyiU','parallelsPerPlatform','errorMessage','output','yellow','12396530UMfEcX','hideDiff','jfeEb','BROWSERSTACK_RERUN_TESTS','ItbDt','BROWSERSTACK_TEST_ACCESSIBILITY_YML','eupEx','error','****\x20FAILURES\x20****','Dsiyd','XNonp','uwTKd','bcQmJ','WuIDB','reporter-option','IxAQC','../../helpers/test-observability/utils','red','doc','BROWSERSTACK_AUTOMATION','rootHooks','AqWWC','chRvq','cjs','titlePathV','wfJJo','cliConfig','lsTfc','svVbx','369318fgaJSO','637630oVihJi','sXFJS','bold','IcEio','info','654582KSlwLk','--disable-test-observability','FRAMEWORKS','wDDbW','getOwnPropertyNames','fireFunnelTestEvent','Total\x20Suites:\x20','hasOwnProperty','hbEAx','LYXTW','Qjgoj','Total\x20Platforms:\x20','proxySettings','exports','gJPgX','spec','LyXLC','Setting\x20non\x20exit\x20code\x20for\x20failures','ieIEn','</testsuite>','passed','VZtBe','isPending','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','qtOCL','has','KHwXh','rJcRk','handleApp','writeFileSync','extension','exitCode','gLExS','WdlXO','uvJJL','muntt','rSNZl','CyeGI','20dVkaAg','\x0a\x0a\x0a','pYmWM','stack','Idhmg','isTestObservabilitySession','shouldReRunObservabilityTests','Mocha\x20Tests','RsRhb','qkBUX','currentRetry','prototype','finally','HPGmC','3373444SdDWCP','includes','testsPending','6314868JhJUNH','lFBAD','mjs','logLevel','reporter','USypF','framework','json','mocha/lib/reporters/base.js','xunit','passes','Couldn\x27t\x20write\x20xunit\x20result\x20to','--disable-browserstack-automation','useColors','stats','pending','QOcjC','failed','debug','platform','AZkzQ','printBuildLink','\x20skipped','ZqPaR','QFuyb','getHubUrl','\x20passed','MNSRX','LGtab','parse','sIKmp','qDaGD','../utils/constants','Writing\x20xunit\x20result\x20to\x20file','bgBlueBright','ugNtK','ZquHC','ryOKJ','Listing\x20all\x20the\x20failures','\x20failed','accessibilityOptions','getPlatformName','totalTests','aVEri','failure','pORfx','fullTitle','Now,\x20showing\x20logs\x20from\x20mocha','notifyUpdate','UZfKQ','ugxbG','zogpT','err','length','argv','then','QUgbn','rerunTests','accessibility','platforms','MOCHA','green','AeVbq','RKluX','log','initialize','getErrorMessageFromResults','tomNr','min','test','expected','SYjWQ','cwrHk','bBOgT','env','parseFileNames','forEach','IZdaV','sort','testObservability','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','vxkjf','ydxxR','config','keys','isUndefined','speed','../../helpers/BrowserStackSetup','object','72GjjkCY','OyAZo','MnKIN','assign','join','testcase','LzZhc','isBrowserstackInfra','state','BROWSERSTACK_TEST_OBSERVABILITY','call','uoAWc','kNtJR','qpwlm','\x20total','testsuite','hgizy','rJyfP','XXDlh','BSxsl','dlYNX','HceKy','kpzGH','get','stringify','lpaKF','validPlatformsPresent','CxGdu','../../helpers/helper','../../helpers/percy/utils','XKzZM','mocha/lib/cli/collect-files.js','20egAPJH','FTgAg','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','winstonLogger','jnBBB','1108312FjcPuP','showDiff','testSuites','yTmuJ','title','vYdOR','consoleLog','yRWmL','testsPassed','results','mMmQi'];a27_0x89e7=function(){return _0x51935a;};return a27_0x89e7();}async function run(_0x330a6c,_0x1e0cf7){const _0x324650=a27_0x1d77e5,_0x39f159={'tomNr':function(_0x560b24,_0x481e2c,_0xff4bad,_0x41bfe7){return _0x560b24(_0x481e2c,_0xff4bad,_0x41bfe7);},'MnKIN':_0x324650(0x1c3),'YbtQv':'SDKTestSuccessful','QOcjC':function(_0x5d97ed,_0x3e162b,_0xe0875d,_0x550d9a){return _0x5d97ed(_0x3e162b,_0xe0875d,_0x550d9a);},'chRvq':'mocha','wUYfp':_0x324650(0x1d9),'NdKfF':_0x324650(0x21b),'aVEri':function(_0x4e76b7,_0x39a628){return _0x4e76b7!=_0x39a628;},'UZfKQ':_0x324650(0x1cc),'lsTfc':_0x324650(0x211),'hJcNY':_0x324650(0x164),'qpwlm':_0x324650(0x158),'ugxbG':function(_0x49227a,_0xd1c2ec){return _0x49227a(_0xd1c2ec);},'AeVbq':'Running\x20your\x20mocha\x20tests','OyAZo':_0x324650(0x14e),'sNrqQ':function(_0x10391d,_0x563b89,_0x45286b,_0x15dbf0){return _0x10391d(_0x563b89,_0x45286b,_0x15dbf0);},'lFBAD':function(_0x24e413,_0x3e7eef){return _0x24e413*_0x3e7eef;},'gJPgX':function(_0x43a9c2,_0x44ad13){return _0x43a9c2(_0x44ad13);},'cwrHk':function(_0x3c1618,_0x1e41ee){return _0x3c1618!==_0x1e41ee;}};process[_0x324650(0x155)][_0x324650(0x20d)](_0x39f159['wUYfp'])&&(process['env'][_0x324650(0x181)]=![]);process[_0x324650(0x155)][_0x324650(0x20d)](_0x39f159['NdKfF'])&&(process[_0x324650(0x169)][_0x324650(0x1c8)]=![]);const _0x377802=new BrowserStackSetup(_0x330a6c,_0x39f159[_0x324650(0x1cb)]);helper[_0x324650(0x17f)]()&&(await _0x377802[_0x324650(0x160)](),await helper[_0x324650(0x1f4)](_0x377802[_0x324650(0x172)]));const _0x227810=[];let _0x283e4b=[];if(!_0x377802['config'])return;_0x39f159[_0x324650(0x14a)](_0x377802[_0x324650(0x172)]['testObservability'],null)&&(process[_0x324650(0x169)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x377802[_0x324650(0x172)][_0x324650(0x16e)]);!helper[_0x324650(0x174)](_0x377802[_0x324650(0x172)][_0x324650(0x159)])&&(process[_0x324650(0x169)][_0x324650(0x1ba)]=_0x377802[_0x324650(0x172)][_0x324650(0x159)]);!helper[_0x324650(0x174)](_0x377802['config']['accessibilityOptions'])&&(process[_0x324650(0x169)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x324650(0x190)](_0x377802[_0x324650(0x172)][_0x324650(0x237)]));const {extension:extension=['js',_0x39f159[_0x324650(0x150)],_0x39f159[_0x324650(0x1d0)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x39f159[_0x324650(0x1a9)]]}=_0x330a6c,_0x424094={..._0x330a6c};_0x424094[_0x324650(0x1c9)]=null;const _0x24d379=_0x424094;let _0x51549a;if(testOpsHelper[_0x324650(0x203)]()&&testOpsHelper[_0x324650(0x204)]()){let _0xfac45b=process[_0x324650(0x169)][_0x324650(0x1b8)];!helper[_0x324650(0x174)](_0x377802[_0x324650(0x1cf)])&&_0x377802['cliConfig'][_0x324650(0x1f1)](_0x39f159[_0x324650(0x185)])&&(_0xfac45b=_0x377802['cliConfig'][_0x324650(0x18f)](_0x39f159[_0x324650(0x185)])),_0x51549a=testOpsHelper[_0x324650(0x16a)](_0xfac45b);}if(helper[_0x324650(0x174)](_0x51549a)){const _0x4affb2={};_0x4affb2['ignore']=ignore,_0x4affb2[_0x324650(0x1f6)]=extension,_0x4affb2['file']=file,_0x4affb2['recursive']=recursive,_0x4affb2[_0x324650(0x16d)]=sort,_0x4affb2[_0x324650(0x1e7)]=spec,_0x51549a=_0x39f159[_0x324650(0x151)](collectFiles,_0x4affb2);}helper['markSDKSetupComplete']();if(!helper['isBrowserstackInfra']()){const _0x232507=0x1,_0x14a1d0={..._0x24d379};_0x14a1d0[_0x324650(0x1e7)]=[..._0x51549a],_0x227810['push']({'mochaOpts':_0x14a1d0,'configuration':{'platform':os[_0x324650(0x222)]()}}),logger[_0x324650(0x1d7)](_0x39f159[_0x324650(0x15d)]),logger[_0x324650(0x1d7)](_0x39f159[_0x324650(0x179)]),_0x39f159['sNrqQ'](parallelTestRun,_0x227810,_0x232507,_0x377802)['then'](_0x4c9d1a=>{const _0xca6a42=_0x324650;_0x39f159[_0xca6a42(0x162)](printStats,_0x4c9d1a,_0x330a6c[_0xca6a42(0x213)],_0x330a6c['reporterOptions']||_0x330a6c[_0x39f159[_0xca6a42(0x17a)]]);})[_0x324650(0x20a)](()=>{const _0x3c98c3=_0x324650;try{helper[_0x3c98c3(0x1dd)](_0x39f159['YbtQv'],{},_0x377802['config'],_0x377802[_0x3c98c3(0x215)]);}catch(_0x785463){logger[_0x3c98c3(0x221)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x785463);}try{helper[_0x3c98c3(0x14f)]();}catch(_0x46abfe){logger[_0x3c98c3(0x221)](_0x3c98c3(0x16f)+_0x46abfe);}testOpsHelper[_0x3c98c3(0x224)]();});}else{const _0x46cd14=helper['useW3C'](_0x377802[_0x324650(0x172)]),_0x250f48=helper[_0x324650(0x228)](_0x377802['config']);_0x283e4b=helper['prepareCapabilities'](_0x377802[_0x324650(0x172)],_0x46cd14,constants[_0x324650(0x1da)]['MOCHA']);let _0x3c7715;const _0x1b4b58=_0x377802['config'][_0x324650(0x1b1)]||helper['getUserWorkerCount'](_0x330a6c,_0x1e0cf7,_0x377802[_0x324650(0x172)],constants[_0x324650(0x1da)][_0x324650(0x15b)])||0x1;helper[_0x324650(0x192)](_0x377802[_0x324650(0x172)])?_0x3c7715=_0x39f159[_0x324650(0x210)](_0x377802['config'][_0x324650(0x15a)][_0x324650(0x154)],_0x1b4b58):_0x3c7715=_0x1b4b58;const _0x5d86d7=_0x39f159[_0x324650(0x1e6)](getPercyOptions,_0x377802['config']);if(_0x39f159[_0x324650(0x167)](_0x377802[_0x324650(0x172)]['parallelsPerPlatform'],0x1))_0x51549a['forEach'](_0x52b9bd=>{const _0x283e73=_0x324650,_0x4a98f0=[];_0x283e4b[_0x283e73(0x16b)]((_0xe7e02d,_0x3de21d)=>{const _0x37108d=_0x283e73,_0x418bbb={};_0x418bbb[_0x37108d(0x1e7)]=[_0x52b9bd],_0x4a98f0['push']({'mochaOpts':Object[_0x37108d(0x17b)]({},_0x24d379,_0x418bbb),'configuration':{'server':_0x250f48,'capability':_0xe7e02d,'proxySettings':_0x377802['config'][_0x37108d(0x1e4)],'platform':helper[_0x37108d(0x238)](_0xe7e02d),'browserStackLogLevel':_0x377802['config']['logLevel'],'platformIndex':_0x3de21d,'browserStackPercyOptions':_0x5d86d7,'platformCaps':_0x377802['config'][_0x37108d(0x15a)][_0x3de21d]}});}),_0x227810['push'](..._0x4a98f0);});else{const _0x3d5f99=[];_0x283e4b[_0x324650(0x16b)]((_0x47bbaa,_0x552d27)=>{const _0x527aa3=_0x324650;let _0x35eaab=Object[_0x527aa3(0x17b)]({},_0x24d379);testOpsHelper[_0x527aa3(0x203)]()&&testOpsHelper[_0x527aa3(0x204)]()&&(_0x35eaab={..._0x35eaab,'spec':[..._0x51549a]}),_0x3d5f99[_0x527aa3(0x1a8)]({'mochaOpts':_0x35eaab,'configuration':{'server':_0x250f48,'capability':_0x47bbaa,'proxySettings':_0x377802[_0x527aa3(0x172)][_0x527aa3(0x1e4)],'platform':helper[_0x527aa3(0x238)](_0x47bbaa),'browserStackLogLevel':_0x377802[_0x527aa3(0x172)][_0x527aa3(0x212)],'platformIndex':_0x552d27,'browserStackPercyOptions':_0x5d86d7,'platformCaps':_0x377802[_0x527aa3(0x172)][_0x527aa3(0x15a)][_0x552d27]}});}),_0x227810[_0x324650(0x1a8)](..._0x3d5f99);}logger[_0x324650(0x1d7)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x377802[_0x324650(0x172)][_0x324650(0x15a)][_0x324650(0x154)]+'\x20platforms'),logger['info'](_0x39f159[_0x324650(0x179)]);let _0x328660;_0x39f159[_0x324650(0x162)](parallelTestRun,_0x227810,_0x3c7715,_0x377802)[_0x324650(0x156)](_0x582669=>{const _0x1f2a43=_0x324650;_0x328660=_0x582669,_0x39f159[_0x1f2a43(0x21f)](printStats,_0x582669,_0x330a6c['reporter'],_0x330a6c['reporterOptions']||_0x330a6c[_0x39f159['MnKIN']]);})[_0x324650(0x20a)](async()=>{const _0x24c0e0=_0x324650;_0x377802[_0x24c0e0(0x1b2)]=helper[_0x24c0e0(0x161)](_0x328660,_0x39f159[_0x24c0e0(0x1cb)]),await helper['finalExecution'](_0x377802),testOpsHelper[_0x24c0e0(0x224)]();});}}module[a27_0x1d77e5(0x1e5)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x31b9f2=a27_0x279d;(function(_0x1f394c,_0x532201){const _0x524c1e=a27_0x279d,_0xebbbb3=_0x1f394c();while(!![]){try{const _0x2c2c3a=parseInt(_0x524c1e(0xe6))/0x1*(parseInt(_0x524c1e(0xa3))/0x2)+-parseInt(_0x524c1e(0xff))/0x3+parseInt(_0x524c1e(0xb3))/0x4*(parseInt(_0x524c1e(0x9c))/0x5)+parseInt(_0x524c1e(0xe5))/0x6*(-parseInt(_0x524c1e(0xae))/0x7)+parseInt(_0x524c1e(0x10a))/0x8*(parseInt(_0x524c1e(0xdd))/0x9)+parseInt(_0x524c1e(0xf4))/0xa*(-parseInt(_0x524c1e(0xea))/0xb)+parseInt(_0x524c1e(0xf2))/0xc*(parseInt(_0x524c1e(0xd1))/0xd);if(_0x2c2c3a===_0x532201)break;else _0xebbbb3['push'](_0xebbbb3['shift']());}catch(_0x26db43){_0xebbbb3['push'](_0xebbbb3['shift']());}}}(a27_0x5b55,0x5130d));const logger=require(a27_0x31b9f2(0x10c))[a27_0x31b9f2(0xc2)],helper=require(a27_0x31b9f2(0xc9)),constants=require(a27_0x31b9f2(0xba)),hubAllocator=require(a27_0x31b9f2(0xd5)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x31b9f2(0xe2)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x31b9f2(0xd9)),globals=require(a27_0x31b9f2(0xdf)),modify=(_0x1bf90a,_0x114d28=null,_0x19529b=![])=>{const _0x227b58=a27_0x31b9f2,_0x548cae={'GmtGr':function(_0x3e0c49,_0x41df3c){return _0x3e0c49!==_0x41df3c;},'FOerP':_0x227b58(0xa9),'jjkFm':function(_0x510ef7,_0x280da6){return _0x510ef7+_0x280da6;},'mLGhA':function(_0x1855f8,_0x3ee571){return _0x1855f8+_0x3ee571;},'WEoUn':'https://','TNlhC':_0x227b58(0x109),'saIsb':_0x227b58(0xb8),'hPDoI':'chromeOptions','zvZgw':_0x227b58(0xa4),'DkSLJ':_0x227b58(0xd3),'HZqZU':_0x227b58(0x114),'GQqyo':'firefoxOptions','uootX':_0x227b58(0xc7),'yrvOK':_0x227b58(0xe1),'ygjEj':_0x227b58(0xb6),'xItiA':function(_0x3bcebc,_0x176f82){return _0x3bcebc===_0x176f82;},'ZrBPn':_0x227b58(0xbe),'apguO':_0x227b58(0xc6),'DCcrW':function(_0x4a1350,_0x169611,_0x18fa10){return _0x4a1350(_0x169611,_0x18fa10);},'DrQJA':_0x227b58(0x100),'tuDUK':_0x227b58(0xdc),'HSqah':function(_0x250f63,_0x4f19ef,_0x4df613){return _0x250f63(_0x4f19ef,_0x4df613);},'bTCeu':function(_0x526527,_0x56d303){return _0x526527(_0x56d303);},'unoHG':'4|3|1|2|5|0','QFoZz':_0x227b58(0xac),'jADAL':function(_0x32df4c){return _0x32df4c();},'AdyZM':_0x227b58(0xe7),'BKcvk':function(_0x5878cd,_0x52b1e9){return _0x5878cd(_0x52b1e9);},'udbQk':function(_0x105bc2,_0x3ebdfd){return _0x105bc2!==_0x3ebdfd;},'OrRGG':function(_0x16170f,_0x47cd1e){return _0x16170f!==_0x47cd1e;},'AzSHh':_0x227b58(0xa1),'rnBBP':_0x227b58(0x9f)},_0x141de5=helper['requireHttpClient']();let _0x1def82;try{_0x1def82=helper[_0x227b58(0xb1)](),_0x1def82[_0x227b58(0xcf)]&&(_0x1def82[_0x227b58(0xcc)]=_0x1def82[_0x227b58(0xcf)]);}catch(_0x223586){return;}if(helper[_0x227b58(0x119)]()){const _0x226bbc={};_0x226bbc[_0x227b58(0x10b)]=_0x1bf90a[_0x227b58(0xab)],helper['setLogLevel'](_0x226bbc,new Map(),new Map()),logger['info'](_0x548cae['AzSHh']),logger['debug'](_0x548cae[_0x227b58(0xef)]);}class _0x10637b extends _0x141de5[_0x227b58(0xa5)]{[_0x227b58(0xc0)](_0x23a4f2){const _0x5ef765=_0x227b58;if(_0x548cae[_0x5ef765(0xfb)](_0x23a4f2['path'],_0x548cae['FOerP'])&&_0x548cae[_0x5ef765(0xfb)](global['newHubUrl'],''))try{global[_0x5ef765(0xda)]=_0x548cae[_0x5ef765(0x115)](_0x548cae[_0x5ef765(0x117)](_0x548cae[_0x5ef765(0xe8)],global['newHubUrl']),_0x548cae['TNlhC']),this[_0x5ef765(0x104)]=hubAllocator[_0x5ef765(0xde)](global[_0x5ef765(0xda)]),logger[_0x5ef765(0xb7)](_0x5ef765(0xd0)+global[_0x5ef765(0xda)]),global['newHubUrl']='';}catch(_0x3856ff){logger[_0x5ef765(0xa2)](_0x3856ff);}return super[_0x5ef765(0xc0)](_0x23a4f2);}}class _0x7e805 extends _0x1def82[_0x227b58(0xcc)]{[_0x227b58(0xbc)](){const _0x28d5e3=_0x227b58;return this[_0x28d5e3(0xe0)]=helper[_0x28d5e3(0x107)](_0x1bf90a),logger[_0x28d5e3(0xb7)](_0x28d5e3(0xe9)+this[_0x28d5e3(0xe0)]),this;}[_0x227b58(0x10e)](_0x46a4ce){const _0x4196d6=_0x227b58;let _0xc104f9={};for(const _0x1ee1c6 in _0x46a4ce){switch(_0x1ee1c6){case _0x548cae[_0x4196d6(0xe4)]:case _0x548cae['hPDoI']:this[_0x4196d6(0xc8)]&&(_0xc104f9=this[_0x4196d6(0xc8)][_0x4196d6(0xd8)](this[_0x4196d6(0xc8)][_0x4196d6(0x112)])||{},this[_0x4196d6(0xc8)][_0x4196d6(0xb9)](this[_0x4196d6(0xc8)][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae[_0x4196d6(0xb4)]:case _0x548cae[_0x4196d6(0x111)]:this[_0x4196d6(0x101)]&&(_0xc104f9=this[_0x4196d6(0x101)][_0x4196d6(0xd8)](this[_0x4196d6(0x101)]['CAPABILITY_KEY'])||{},this[_0x4196d6(0x101)]['set'](this['edgeOptions_'][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae[_0x4196d6(0xf6)]:case _0x548cae[_0x4196d6(0xd6)]:this[_0x4196d6(0xce)]&&(_0xc104f9=this['firefoxOptions_'][_0x4196d6(0xd8)](this[_0x4196d6(0xce)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x4196d6(0xb9)](this[_0x4196d6(0xce)][_0x4196d6(0x112)],helper['mergeDeep'](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae['uootX']:this[_0x4196d6(0xf5)]&&(_0xc104f9=this[_0x4196d6(0xf5)]['get'](this[_0x4196d6(0xf5)][_0x4196d6(0x112)])||{},this[_0x4196d6(0xf5)][_0x4196d6(0xb9)](this['safariOptions_'][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;case _0x548cae[_0x4196d6(0xbb)]:case _0x548cae[_0x4196d6(0x118)]:this[_0x4196d6(0xc5)]&&(_0xc104f9=this[_0x4196d6(0xc5)][_0x4196d6(0xd8)](this['ieOptions_'][_0x4196d6(0x112)])||{},this[_0x4196d6(0xc5)]['set'](this[_0x4196d6(0xc5)][_0x4196d6(0x112)],helper[_0x4196d6(0xed)](_0xc104f9,_0x46a4ce[_0x1ee1c6])));break;}}}[_0x227b58(0xbd)](){const _0x8b5c1e=_0x227b58,_0x21834e={'lFKco':function(_0x39b6e3,_0x4b491a){return _0x548cae['xItiA'](_0x39b6e3,_0x4b491a);},'qNfRV':_0x548cae[_0x8b5c1e(0xc4)]};return logger[_0x8b5c1e(0xb7)](_0x548cae[_0x8b5c1e(0xad)]),this[_0x8b5c1e(0x10e)](_0x1bf90a['capability']),Object[_0x8b5c1e(0xfd)](_0x1bf90a[_0x8b5c1e(0xd7)])[_0x8b5c1e(0xeb)](_0x967725=>{const _0x346087=_0x8b5c1e,_0x70c00a=this[_0x346087(0xf1)][_0x346087(0xd8)](_0x967725);_0x21834e[_0x346087(0xc3)](typeof _0x70c00a,_0x21834e['qNfRV'])?this['capabilities_'][_0x346087(0xb9)](_0x967725,helper[_0x346087(0xed)](_0x70c00a,_0x1bf90a['capability'][_0x967725])):this['capabilities_'][_0x346087(0xb9)](_0x967725,_0x1bf90a[_0x346087(0xd7)][_0x967725]);}),this;}[_0x227b58(0x10d)](){const _0x3be73=_0x227b58,_0x2414c8={'Pmudm':_0x548cae[_0x3be73(0x9d)],'AEVzV':_0x548cae['tuDUK'],'nxpBf':function(_0x4f4032,_0x3b8839,_0x18b707){return _0x548cae['DCcrW'](_0x4f4032,_0x3b8839,_0x18b707);},'PahCo':function(_0x25b07c,_0x36461a,_0x10c195){const _0x50e830=_0x3be73;return _0x548cae[_0x50e830(0xb0)](_0x25b07c,_0x36461a,_0x10c195);},'OVxqt':function(_0x41674f,_0x53e3d3){return _0x548cae['bTCeu'](_0x41674f,_0x53e3d3);}};if(helper['isBrowserstackInfra']()){const _0x4557ed=_0x548cae['unoHG'][_0x3be73(0xbf)]('|');let _0x1de5d7=0x0;while(!![]){switch(_0x4557ed[_0x1de5d7++]){case'0':logger[_0x3be73(0xb7)](_0x548cae[_0x3be73(0x106)]);continue;case'1':this[_0x3be73(0xbd)]();continue;case'2':if(helper[_0x3be73(0xcb)](_0x1bf90a[_0x3be73(0xf9)][_0x3be73(0x10f)]))this[_0x3be73(0x105)]=helper[_0x3be73(0xf7)](_0x1bf90a[_0x3be73(0xf9)]['proxyUrl']);else _0x1bf90a[_0x3be73(0xf9)]['proxyUrl']&&(this['proxy_']=_0x1bf90a[_0x3be73(0xf9)]['proxyUrl'],logger['debug'](_0x3be73(0x108)+this[_0x3be73(0xd2)]));continue;case'3':this['setServer']();continue;case'4':_0x548cae[_0x3be73(0xca)](isAccessibilityAutomationSession)&&_0x548cae[_0x3be73(0x110)](setAccessibilityCapabilities,_0x1bf90a);continue;case'5':globals[_0x3be73(0xfa)](_0x548cae['AdyZM'])&&(!_0x548cae[_0x3be73(0xfe)](setExtension,this,_0x1bf90a)&&globals[_0x3be73(0xa6)](_0x548cae[_0x3be73(0x103)],![]));continue;}break;}}const _0x2bb844=super[_0x3be73(0x10d)]();return _0x2bb844[_0x3be73(0xee)]['then'](_0x482ec1=>{const _0x5c6430=_0x3be73;try{const _0x193fe1=_0x482ec1['caps_'][_0x5c6430(0xd8)](_0x2414c8[_0x5c6430(0xcd)]);_0x193fe1?(logger[_0x5c6430(0xb7)](_0x5c6430(0x113)+_0x193fe1),hubAllocator['updateHubUrl'](_0x193fe1),helper[_0x5c6430(0x9e)](_0x193fe1)):logger[_0x5c6430(0xb7)](_0x2414c8[_0x5c6430(0xb5)]);}catch(_0x43bb1e){logger[_0x5c6430(0xb7)](_0x5c6430(0xa0)+_0x43bb1e);}}),_0x2bb844['quitCount_']=0x0,_0x2bb844['then']&&_0x2bb844[_0x3be73(0xd4)](_0x5da3ae=>{const _0x2e1d59=_0x3be73,_0x42d402={'OaEiE':function(_0x3a14f2,_0x33a428,_0x50b3db){const _0x10e1ff=a27_0x279d;return _0x2414c8[_0x10e1ff(0xaa)](_0x3a14f2,_0x33a428,_0x50b3db);}};_0x2414c8[_0x2e1d59(0xaa)](overrideQuit,_0x5da3ae,_0x2bb844),_0x2414c8['OVxqt'](overrideTakeScreenshot,_0x5da3ae),helper[_0x2e1d59(0x116)](_0x5da3ae,_0x1bf90a),helper[_0x2e1d59(0xb2)](_0x5da3ae,_0x1bf90a),_0x5da3ae[_0x2e1d59(0xa7)]=async()=>{const _0x50c7ce=_0x2e1d59;return await _0x2414c8[_0x50c7ce(0xa8)](getAccessibilityResultsSummary,_0x5da3ae,global);},_0x5da3ae[_0x2e1d59(0xf3)]=async()=>{const _0x11f774=_0x2e1d59;return await _0x42d402[_0x11f774(0xf8)](getAccessibilityResults,_0x5da3ae,global);};}),_0x2bb844[_0x3be73(0xa7)]=async()=>{const _0x44f049=_0x3be73;return await _0x548cae[_0x44f049(0xfe)](getAccessibilityResultsSummary,_0x2bb844,global);},_0x2bb844[_0x3be73(0xf3)]=async()=>{const _0x5ea796=_0x3be73;return await _0x548cae[_0x5ea796(0xfe)](getAccessibilityResults,_0x2bb844,global);},_0x548cae[_0x3be73(0x110)](overrideTakeScreenshot,_0x2bb844),_0x548cae['BKcvk'](overrideQuit,_0x2bb844),helper['overrideGet'](_0x2bb844,_0x1bf90a),helper[_0x3be73(0xb2)](_0x2bb844,_0x1bf90a),helper[_0x3be73(0xdb)](global['__driversArray'])&&(global[_0x3be73(0xf0)]=[]),helper['isUndefined'](global[_0x3be73(0xaf)])&&(global[_0x3be73(0xaf)]=[]),global[_0x3be73(0xf0)][_0x3be73(0xfc)](_0x2bb844),global[_0x3be73(0xec)]=_0x2bb844,_0x548cae['udbQk'](global[_0x3be73(0xaf)],undefined)&&global['__drivers'][_0x3be73(0xfc)](_0x2bb844),_0x114d28&&helper['isUndefined'](_0x114d28[_0x3be73(0xc1)][_0x3be73(0xf0)])&&(_0x114d28[_0x3be73(0xc1)][_0x3be73(0xf0)]=[]),_0x114d28&&_0x548cae['OrRGG'](_0x114d28[_0x3be73(0xc1)][_0x3be73(0xaf)],undefined)&&(_0x114d28[_0x3be73(0xc1)][_0x3be73(0xaf)]['push'](_0x2bb844),_0x114d28[_0x3be73(0xc1)][_0x3be73(0xf0)]['push'](_0x2bb844)),_0x2bb844;}}return _0x1def82[_0x227b58(0xcf)]=_0x1def82[_0x227b58(0xcc)],_0x1def82[_0x227b58(0xcc)]=_0x7e805,_0x141de5[_0x227b58(0xa5)]=_0x10637b,_0x1def82;};function a27_0x279d(_0x402936,_0x4b88b6){const _0x5b55c5=a27_0x5b55();return a27_0x279d=function(_0x279d82,_0x121444){_0x279d82=_0x279d82-0x9c;let _0x9e3641=_0x5b55c5[_0x279d82];return _0x9e3641;},a27_0x279d(_0x402936,_0x4b88b6);}module[a27_0x31b9f2(0x102)][a27_0x31b9f2(0xe3)]=modify;function a27_0x5b55(){const _0x98e458=['rnBBP','__driversArray','capabilities_','12JxrsFT','getAccessibilityResults','10IGGKvu','safariOptions_','HZqZU','getHttpAgent','OaEiE','proxySettings','getGlobal','GmtGr','push','keys','DCcrW','749094aobVWx','optimalHubUrl','edgeOptions_','exports','AdyZM','options_','agent_','QFoZz','getHubUrl','Proxy\x20set\x20to\x20','/wd/hub','15752kgaquC','logLevel','../../../helpers/logger','build','__setBrowserOptions','proxyUrl','bTCeu','DkSLJ','CAPABILITY_KEY','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','moz:firefoxOptions','jjkFm','overrideGet','mLGhA','ygjEj','isBrowserstackInfra','95TbbllD','DrQJA','storeOptimalHubUrl','Modifying\x20webdriver\x20builder','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','error','2kqHkNh','ms:edgeOptions','HttpClient','setGlobal','getAccessibilityResultsSummary','nxpBf','/session','PahCo','browserStackLogLevel','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','apguO','3995789BBwGbZ','__drivers','HSqah','requireSeleniumWebdriver','overrideExecute','44252zQBxJI','zvZgw','AEVzV','ieOptions','debug','goog:chromeOptions','set','../../../bin/utils/constants','yrvOK','setServer','setCapabilities','object','split','send','global','winstonLogger','lFKco','ZrBPn','ieOptions_','Setting\x20Browserstack\x20capabilities','safari.options','chromeOptions_','../../../helpers/helper','jADAL','isPacProxy','Builder','Pmudm','firefoxOptions_','originalBuilder','New\x20hub\x20url\x20set\x20to\x20','6966167nSewHv','proxy_','edgeOptions','then','../../../hubAllocationMethods','GQqyo','capability','get','../../../helpers/accessibility-automation/helper','newHubUrl','isUndefined','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','1395nGJFIb','getRequestOptions','../../../helpers/globals','url_','se:ieOptions','../../../helpers/patchHelpers','browserstackAgentObservability','saIsb','6CvuxNL','507112KmRNLd','isAccessibilityPlatform','WEoUn','Hub\x20url\x20set\x20to\x20','4458091xYNwvv','forEach','__driver','mergeDeep','session_'];a27_0x5b55=function(){return _0x98e458;};return a27_0x5b55();}
|
|
1
|
+
const a28_0x50a861=a28_0x41db;function a28_0x41db(_0x12cb5f,_0x183c4a){const _0x5e606e=a28_0x5e60();return a28_0x41db=function(_0x41dbf2,_0x294798){_0x41dbf2=_0x41dbf2-0x175;let _0x5923cf=_0x5e606e[_0x41dbf2];return _0x5923cf;},a28_0x41db(_0x12cb5f,_0x183c4a);}(function(_0xbe64e5,_0xfb4179){const _0xf52bbd=a28_0x41db,_0x4fd78d=_0xbe64e5();while(!![]){try{const _0x1fdd75=-parseInt(_0xf52bbd(0x1e1))/0x1+parseInt(_0xf52bbd(0x1cb))/0x2+parseInt(_0xf52bbd(0x1d0))/0x3*(-parseInt(_0xf52bbd(0x1b5))/0x4)+-parseInt(_0xf52bbd(0x17b))/0x5*(parseInt(_0xf52bbd(0x1af))/0x6)+parseInt(_0xf52bbd(0x190))/0x7+-parseInt(_0xf52bbd(0x1bc))/0x8+-parseInt(_0xf52bbd(0x1bb))/0x9*(-parseInt(_0xf52bbd(0x188))/0xa);if(_0x1fdd75===_0xfb4179)break;else _0x4fd78d['push'](_0x4fd78d['shift']());}catch(_0x4e6017){_0x4fd78d['push'](_0x4fd78d['shift']());}}}(a28_0x5e60,0xc7397));const logger=require(a28_0x50a861(0x1b0))[a28_0x50a861(0x1d6)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a28_0x50a861(0x19f)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a28_0x50a861(0x1b9)),{setAccessibilityCapabilities,setExtension}=require(a28_0x50a861(0x1e9)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a28_0x50a861(0x1a1)),modify=(_0x36a837,_0x328c45=null,_0x1c746e=![])=>{const _0x125649=a28_0x50a861,_0x4e3a1e={'GnFId':function(_0x4e9d00,_0x224877){return _0x4e9d00!==_0x224877;},'FiBLS':_0x125649(0x1ca),'iLyxk':function(_0x2d0824,_0x3a7325){return _0x2d0824!==_0x3a7325;},'pVRCX':function(_0x7508bf,_0x4f15bb){return _0x7508bf+_0x4f15bb;},'UKNqP':'https://','tQiVV':_0x125649(0x189),'kvKlY':_0x125649(0x1d5),'RSEuI':_0x125649(0x1ad),'FEHJh':'ms:edgeOptions','MlBUd':_0x125649(0x1eb),'UOUlj':_0x125649(0x1d1),'FiUfG':_0x125649(0x191),'ntNbS':_0x125649(0x1a5),'NtYHk':_0x125649(0x1e4),'EMdeZ':_0x125649(0x193),'FxwJO':function(_0x33fe7d,_0x495236){return _0x33fe7d===_0x495236;},'hDhRj':_0x125649(0x18a),'MObrp':'Setting\x20Browserstack\x20capabilities','ZXZbF':_0x125649(0x195),'LyxAh':_0x125649(0x1b6),'KxXDE':_0x125649(0x1c9),'UdhPc':function(_0x3f25a9,_0x43c22c,_0x5b6737){return _0x3f25a9(_0x43c22c,_0x5b6737);},'VehPe':function(_0x22cbdc,_0x3d3df9){return _0x22cbdc(_0x3d3df9);},'lqEvi':function(_0x3e692b,_0x1c09e8,_0x1ea871){return _0x3e692b(_0x1c09e8,_0x1ea871);},'hqiyO':_0x125649(0x1dc),'GyoMV':_0x125649(0x1dd),'jYlex':function(_0x3f785e){return _0x3f785e();},'uSKDH':function(_0x21090a,_0x33749c){return _0x21090a(_0x33749c);},'xhICG':_0x125649(0x19e),'NtmOO':function(_0x468bf2,_0x3724c2){return _0x468bf2(_0x3724c2);},'Aqpcp':_0x125649(0x1c0),'WoRil':'Modifying\x20webdriver\x20builder'},_0x5460ef=helper['requireHttpClient']();let _0x5737ca;try{_0x5737ca=helper['requireSeleniumWebdriver'](),_0x5737ca['originalBuilder']&&(_0x5737ca[_0x125649(0x178)]=_0x5737ca['originalBuilder']);}catch(_0x2ba335){return;}if(helper['isBrowserstackInfra']()){const _0x5942de={};_0x5942de[_0x125649(0x182)]=_0x36a837[_0x125649(0x1c1)],helper['setLogLevel'](_0x5942de,new Map(),new Map()),logger['info'](_0x4e3a1e[_0x125649(0x18e)]),logger['debug'](_0x4e3a1e[_0x125649(0x1ac)]);}class _0x4f63e8 extends _0x5460ef[_0x125649(0x1db)]{[_0x125649(0x1a7)](_0x3bf88d){const _0x92099=_0x125649;if(_0x4e3a1e[_0x92099(0x1c2)](_0x3bf88d[_0x92099(0x1e3)],_0x4e3a1e[_0x92099(0x1d9)])&&_0x4e3a1e[_0x92099(0x1ea)](global[_0x92099(0x180)],''))try{global[_0x92099(0x180)]=_0x4e3a1e[_0x92099(0x1e8)](_0x4e3a1e[_0x92099(0x1e8)](_0x4e3a1e[_0x92099(0x1cf)],global[_0x92099(0x180)]),_0x4e3a1e[_0x92099(0x1d3)]),this[_0x92099(0x1e7)]=hubAllocator['getRequestOptions'](global['newHubUrl']),logger[_0x92099(0x18d)](_0x92099(0x1d2)+global[_0x92099(0x180)]),global[_0x92099(0x180)]='';}catch(_0x1f4de1){logger[_0x92099(0x1c4)](_0x1f4de1);}return super['send'](_0x3bf88d);}}class _0x3dad5f extends _0x5737ca[_0x125649(0x178)]{[_0x125649(0x199)](){const _0x44cc76=_0x125649;return this[_0x44cc76(0x1b8)]=helper[_0x44cc76(0x1c6)](_0x36a837),logger[_0x44cc76(0x18d)](_0x44cc76(0x1da)+this['url_']),this;}['__setBrowserOptions'](_0x4cdd59){const _0x26e492=_0x125649;let _0x202d48={};for(const _0x222d80 in _0x4cdd59){switch(_0x222d80){case _0x4e3a1e['kvKlY']:case _0x4e3a1e[_0x26e492(0x1bf)]:this[_0x26e492(0x1a0)]&&(_0x202d48=this[_0x26e492(0x1a0)][_0x26e492(0x1bd)](this[_0x26e492(0x1a0)][_0x26e492(0x192)])||{},this[_0x26e492(0x1a0)]['set'](this[_0x26e492(0x1a0)][_0x26e492(0x192)],helper[_0x26e492(0x1a3)](_0x202d48,_0x4cdd59[_0x222d80])));break;case _0x4e3a1e[_0x26e492(0x186)]:case _0x4e3a1e[_0x26e492(0x1ba)]:this[_0x26e492(0x1b3)]&&(_0x202d48=this[_0x26e492(0x1b3)]['get'](this[_0x26e492(0x1b3)][_0x26e492(0x192)])||{},this['edgeOptions_']['set'](this['edgeOptions_'][_0x26e492(0x192)],helper[_0x26e492(0x1a3)](_0x202d48,_0x4cdd59[_0x222d80])));break;case _0x4e3a1e[_0x26e492(0x1a4)]:case _0x4e3a1e[_0x26e492(0x1e5)]:this['firefoxOptions_']&&(_0x202d48=this[_0x26e492(0x1cc)]['get'](this['firefoxOptions_'][_0x26e492(0x192)])||{},this[_0x26e492(0x1cc)][_0x26e492(0x17a)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x26e492(0x1a3)](_0x202d48,_0x4cdd59[_0x222d80])));break;case _0x4e3a1e[_0x26e492(0x184)]:this[_0x26e492(0x18f)]&&(_0x202d48=this[_0x26e492(0x18f)][_0x26e492(0x1bd)](this[_0x26e492(0x18f)][_0x26e492(0x192)])||{},this[_0x26e492(0x18f)][_0x26e492(0x17a)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x26e492(0x1a3)](_0x202d48,_0x4cdd59[_0x222d80])));break;case _0x4e3a1e[_0x26e492(0x1d8)]:case _0x4e3a1e[_0x26e492(0x1ae)]:this[_0x26e492(0x1a6)]&&(_0x202d48=this[_0x26e492(0x1a6)]['get'](this[_0x26e492(0x1a6)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x26e492(0x17a)](this[_0x26e492(0x1a6)][_0x26e492(0x192)],helper['mergeDeep'](_0x202d48,_0x4cdd59[_0x222d80])));break;}}}[_0x125649(0x17c)](){const _0x4509c0=_0x125649,_0x5889d6={'YGqxd':function(_0x5e9557,_0x22f377){const _0x3eea2e=a28_0x41db;return _0x4e3a1e[_0x3eea2e(0x18c)](_0x5e9557,_0x22f377);},'OgfmW':_0x4e3a1e[_0x4509c0(0x1b4)]};return logger['debug'](_0x4e3a1e['MObrp']),this['__setBrowserOptions'](_0x36a837[_0x4509c0(0x177)]),Object[_0x4509c0(0x179)](_0x36a837['capability'])['forEach'](_0x478fd8=>{const _0x4ace4e=_0x4509c0,_0x19a9f0=this[_0x4ace4e(0x1e0)][_0x4ace4e(0x1bd)](_0x478fd8);_0x5889d6[_0x4ace4e(0x194)](typeof _0x19a9f0,_0x5889d6['OgfmW'])?this[_0x4ace4e(0x1e0)][_0x4ace4e(0x17a)](_0x478fd8,helper['mergeDeep'](_0x19a9f0,_0x36a837[_0x4ace4e(0x177)][_0x478fd8])):this['capabilities_'][_0x4ace4e(0x17a)](_0x478fd8,_0x36a837['capability'][_0x478fd8]);}),this;}[_0x125649(0x17d)](){const _0x33ae87=_0x125649,_0x958181={'Fnjyv':function(_0x51e0ff,_0x2ff31c,_0x4caab2){return _0x4e3a1e['lqEvi'](_0x51e0ff,_0x2ff31c,_0x4caab2);}};if(helper['isBrowserstackInfra']()){const _0x3d13a3=_0x4e3a1e[_0x33ae87(0x183)]['split']('|');let _0x14b93c=0x0;while(!![]){switch(_0x3d13a3[_0x14b93c++]){case'0':logger[_0x33ae87(0x18d)](_0x4e3a1e['GyoMV']);continue;case'1':if(helper[_0x33ae87(0x1e6)](_0x36a837[_0x33ae87(0x198)][_0x33ae87(0x19b)]))this[_0x33ae87(0x1df)]=helper['getHttpAgent'](_0x36a837['proxySettings'][_0x33ae87(0x19b)]);else _0x36a837[_0x33ae87(0x198)][_0x33ae87(0x19b)]&&(this[_0x33ae87(0x19d)]=_0x36a837[_0x33ae87(0x198)][_0x33ae87(0x19b)],logger[_0x33ae87(0x18d)](_0x33ae87(0x185)+this[_0x33ae87(0x19d)]));continue;case'2':_0x4e3a1e[_0x33ae87(0x1be)](isAccessibilityAutomationSession)&&_0x4e3a1e[_0x33ae87(0x187)](setAccessibilityCapabilities,_0x36a837);continue;case'3':globals['getGlobal'](_0x4e3a1e['xhICG'])&&(!_0x4e3a1e['UdhPc'](setExtension,this,_0x36a837)&&globals[_0x33ae87(0x197)](_0x4e3a1e[_0x33ae87(0x175)],![]));continue;case'4':this[_0x33ae87(0x17c)]();continue;case'5':this['setServer']();continue;}break;}}const _0x40d623=super[_0x33ae87(0x17d)]();return _0x40d623[_0x33ae87(0x176)][_0x33ae87(0x1d7)](_0x1a008e=>{const _0x176d15=_0x33ae87;try{const _0x2ccb8b=_0x1a008e[_0x176d15(0x1c8)][_0x176d15(0x1bd)](_0x4e3a1e[_0x176d15(0x19a)]);_0x2ccb8b?(logger[_0x176d15(0x18d)](_0x176d15(0x1cd)+_0x2ccb8b),hubAllocator[_0x176d15(0x17e)](_0x2ccb8b),helper[_0x176d15(0x196)](_0x2ccb8b)):logger[_0x176d15(0x18d)](_0x4e3a1e[_0x176d15(0x1b7)]);}catch(_0x3de716){logger[_0x176d15(0x18d)](_0x176d15(0x1de)+_0x3de716);}}),_0x40d623['quitCount_']=0x0,_0x40d623[_0x33ae87(0x1d7)]&&_0x40d623[_0x33ae87(0x1d7)](_0x261c43=>{const _0x148a71=_0x33ae87,_0x8916f4=_0x4e3a1e['KxXDE'][_0x148a71(0x1ce)]('|');let _0x4085c6=0x0;while(!![]){switch(_0x8916f4[_0x4085c6++]){case'0':_0x261c43[_0x148a71(0x181)]=async()=>{const _0x15f2c6=_0x148a71;return await _0x958181[_0x15f2c6(0x1a8)](getAccessibilityResults,_0x261c43,global);};continue;case'1':_0x4e3a1e[_0x148a71(0x1a2)](overrideQuit,_0x261c43,_0x40d623);continue;case'2':helper[_0x148a71(0x1b2)](_0x261c43,_0x36a837);continue;case'3':_0x261c43[_0x148a71(0x19c)]=async()=>{const _0x2c3f4f=_0x148a71;return await _0x958181[_0x2c3f4f(0x1a8)](getAccessibilityResultsSummary,_0x261c43,global);};continue;case'4':helper['overrideGet'](_0x261c43,_0x36a837);continue;case'5':_0x4e3a1e[_0x148a71(0x1a9)](overrideTakeScreenshot,_0x261c43);continue;}break;}}),_0x40d623[_0x33ae87(0x19c)]=async()=>{const _0x356a03=_0x33ae87;return await _0x4e3a1e[_0x356a03(0x1a2)](getAccessibilityResultsSummary,_0x40d623,global);},_0x40d623['getAccessibilityResults']=async()=>{const _0x43a78b=_0x33ae87;return await _0x4e3a1e[_0x43a78b(0x1a2)](getAccessibilityResults,_0x40d623,global);},_0x4e3a1e[_0x33ae87(0x1c3)](overrideTakeScreenshot,_0x40d623),_0x4e3a1e['NtmOO'](overrideQuit,_0x40d623),helper[_0x33ae87(0x1aa)](_0x40d623,_0x36a837),helper[_0x33ae87(0x1b2)](_0x40d623,_0x36a837),helper[_0x33ae87(0x18b)](global['__driversArray'])&&(global[_0x33ae87(0x1ab)]=[]),helper[_0x33ae87(0x18b)](global[_0x33ae87(0x1c7)])&&(global[_0x33ae87(0x1c7)]=[]),global[_0x33ae87(0x1ab)]['push'](_0x40d623),global['__driver']=_0x40d623,_0x4e3a1e[_0x33ae87(0x1ea)](global[_0x33ae87(0x1c7)],undefined)&&global[_0x33ae87(0x1c7)][_0x33ae87(0x1b1)](_0x40d623),_0x328c45&&helper[_0x33ae87(0x18b)](_0x328c45[_0x33ae87(0x1c5)][_0x33ae87(0x1ab)])&&(_0x328c45[_0x33ae87(0x1c5)][_0x33ae87(0x1ab)]=[]),_0x328c45&&_0x4e3a1e['GnFId'](_0x328c45[_0x33ae87(0x1c5)][_0x33ae87(0x1c7)],undefined)&&(_0x328c45[_0x33ae87(0x1c5)]['__drivers'][_0x33ae87(0x1b1)](_0x40d623),_0x328c45[_0x33ae87(0x1c5)][_0x33ae87(0x1ab)][_0x33ae87(0x1b1)](_0x40d623)),_0x40d623;}}return _0x5737ca[_0x125649(0x1d4)]=_0x5737ca[_0x125649(0x178)],_0x5737ca[_0x125649(0x178)]=_0x3dad5f,_0x5460ef[_0x125649(0x1db)]=_0x4f63e8,_0x5737ca;};module[a28_0x50a861(0x1e2)][a28_0x50a861(0x17f)]=modify;function a28_0x5e60(){const _0x45629b=['send','Fnjyv','VehPe','overrideGet','__driversArray','WoRil','chromeOptions','EMdeZ','36nxRIFR','../../../helpers/logger','push','overrideExecute','edgeOptions_','hDhRj','2628SMUTTt','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','LyxAh','url_','../../../helpers/patchHelpers','MlBUd','13121397khbxQk','4888816BeFaZd','get','jYlex','RSEuI','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','browserStackLogLevel','GnFId','NtmOO','error','global','getHubUrl','__drivers','caps_','1|5|4|2|3|0','/session','3146242wJGSWr','firefoxOptions_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','split','UKNqP','219cAhCdK','moz:firefoxOptions','New\x20hub\x20url\x20set\x20to\x20','tQiVV','originalBuilder','goog:chromeOptions','winstonLogger','then','NtYHk','FiBLS','Hub\x20url\x20set\x20to\x20','HttpClient','2|5|4|1|3|0','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','agent_','capabilities_','384376OpQnZC','exports','path','se:ieOptions','FiUfG','isPacProxy','options_','pVRCX','../accessibility-automation/helper','iLyxk','edgeOptions','xhICG','session_','capability','Builder','keys','set','1104155SuDAmY','setCapabilities','build','updateHubUrl','browserstackAgentObservability','newHubUrl','getAccessibilityResults','logLevel','hqiyO','ntNbS','Proxy\x20set\x20to\x20','FEHJh','uSKDH','10oDwwWC','/wd/hub','object','isUndefined','FxwJO','debug','Aqpcp','safariOptions_','1073758xFVsaA','firefoxOptions','CAPABILITY_KEY','ieOptions','YGqxd','optimalHubUrl','storeOptimalHubUrl','setGlobal','proxySettings','setServer','ZXZbF','proxyUrl','getAccessibilityResultsSummary','proxy_','isAccessibilityPlatform','../../../hubAllocationMethods','chromeOptions_','../../../helpers/globals','UdhPc','mergeDeep','UOUlj','safari.options','ieOptions_'];a28_0x5e60=function(){return _0x45629b;};return a28_0x5e60();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a29_0x19c9b3=a29_0xe301;(function(_0x58d0ab,_0x411133){const _0x190aef=a29_0xe301,_0x1328fe=_0x58d0ab();while(!![]){try{const _0x11e4b6=-parseInt(_0x190aef(0x18f))/0x1*(-parseInt(_0x190aef(0x18e))/0x2)+parseInt(_0x190aef(0x189))/0x3*(parseInt(_0x190aef(0x185))/0x4)+parseInt(_0x190aef(0x190))/0x5+-parseInt(_0x190aef(0x18c))/0x6+parseInt(_0x190aef(0x192))/0x7*(parseInt(_0x190aef(0x191))/0x8)+-parseInt(_0x190aef(0x188))/0x9+parseInt(_0x190aef(0x18b))/0xa*(-parseInt(_0x190aef(0x193))/0xb);if(_0x11e4b6===_0x411133)break;else _0x1328fe['push'](_0x1328fe['shift']());}catch(_0x2a578d){_0x1328fe['push'](_0x1328fe['shift']());}}}(a29_0x31d2,0xd709c));function a29_0xe301(_0x8498e8,_0x5d92d3){const _0x31d299=a29_0x31d2();return a29_0xe301=function(_0xe3017f,_0x57faf7){_0xe3017f=_0xe3017f-0x185;let _0x524f78=_0x31d299[_0xe3017f];return _0x524f78;},a29_0xe301(_0x8498e8,_0x5d92d3);}const requestSpy=require(a29_0x19c9b3(0x18a)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a29_0x19c9b3(0x186)]={'beforeAll'(){const _0x516b0c=a29_0x19c9b3,_0x3b5bdc={'mfCYG':function(_0x1de93d){return _0x1de93d();}},_0x55fdcd='browserstack internal helper hook';_0x3b5bdc[_0x516b0c(0x187)](addRequestSpy);},'afterAll'(){const _0x2d0114=a29_0x19c9b3,_0x464eef='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x2d0114(0x18d)]();}};function a29_0x31d2(){const _0x26e513=['mochaHooks','mfCYG','12338514jgeRdd','2894907FaFeIp','../../../helpers/request-spy','30MGDnOv','1571154tOsvie','restore','18ZgZMNM','174121IKCVjx','4860630rciuQF','4120PitGnm','1498brWjqb','4036241loQvPi','4mHxgsg'];a29_0x31d2=function(){return _0x26e513;};return a29_0x31d2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a30_0x5e0b86=a30_0x4394;(function(_0x18a251,_0xaae676){const _0x99158f=a30_0x4394,_0x1fb567=_0x18a251();while(!![]){try{const _0x41bd24=parseInt(_0x99158f(0x1e6))/0x1+parseInt(_0x99158f(0x1dc))/0x2*(parseInt(_0x99158f(0x200))/0x3)+-parseInt(_0x99158f(0x1ec))/0x4+-parseInt(_0x99158f(0x1e5))/0x5+-parseInt(_0x99158f(0x1c1))/0x6+-parseInt(_0x99158f(0x1d3))/0x7*(-parseInt(_0x99158f(0x1d5))/0x8)+parseInt(_0x99158f(0x1ae))/0x9;if(_0x41bd24===_0xaae676)break;else _0x1fb567['push'](_0x1fb567['shift']());}catch(_0x214cae){_0x1fb567['push'](_0x1fb567['shift']());}}}(a30_0x1972,0x49435));function a30_0x1972(){const _0x340855=['mrzjq','qybvG','pkiKY','hook','getCapabilities','parent','reduce','VkCFz','../../../helpers/test-observability/utils','getHookSkippedTests','browserstack','3105924xcVpQI','sendPlatformDetails','WCVyd','automate','split','getHookDetails','_afterAll','VDJzu','markedStatus','hookAnalyticsId','slice','VlsRf','tests','CnCPy','EvPiG','jkkXI','UuJxs','generic','260715ygHxrw','getBrowserVersion','8cWbqtR','js-','VABqs','CJQpv','_beforeEach','suites','JwCqv','137202WoBtlb','getPlatform','QayRM','PylQg','unknown_grid','app-automate','state','yNjvh','_afterEach','2010430eciAlf','214253zQulRj','hook:','cWcsQ','indexOf','mapTestHooks','BKRDh','1656772xagSBD','../../utils/logPatcher','ckLTg','keys','getBrowserName','pending','yumXC','CGvFD','passed','auTlL','_beforeAll','bs:addPlatformDetails:','__cloud_provider___','concat','Eahgm','HGZrg','app','forEach','GwbNs','../../../helpers/helper','24ZkSWwO','../../../../package.json','appium:app','fromEntries','push','getHooksForTest','getTestEnv','FUPOs','xPRTY','OyYah','7503408CKDrWO','uuid','pid','type','failed','../../../helpers/testhub/utils','ImtSa','getSession'];a30_0x1972=function(){return _0x340855;};return a30_0x1972();}function a30_0x4394(_0x26afde,_0x4a2ec3){const _0x19720a=a30_0x1972();return a30_0x4394=function(_0x4394bd,_0x3dc3d7){_0x4394bd=_0x4394bd-0x1aa;let _0x1d81c0=_0x19720a[_0x4394bd];return _0x1d81c0;},a30_0x4394(_0x26afde,_0x4a2ec3);}const {v4:uuidv4}=require(a30_0x5e0b86(0x1af)),{name,version}=require(a30_0x5e0b86(0x201)),logPatcher=require(a30_0x5e0b86(0x1ed)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a30_0x5e0b86(0x1be)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a30_0x5e0b86(0x1ff)),{shouldProcessEventForTesthub}=require(a30_0x5e0b86(0x1b3));console={},Object[a30_0x5e0b86(0x1ef)](consoleHolder)[a30_0x5e0b86(0x1fd)](_0x5b3bf0=>{console[_0x5b3bf0]=(..._0x3888ef)=>{BSTestOpsPatcher[_0x5b3bf0](..._0x3888ef);};}),exports[a30_0x5e0b86(0x1aa)]=()=>{const _0x228193=a30_0x5e0b86,_0x2d9eb3={'CJQpv':_0x228193(0x1d2),'Eahgm':function(_0x2c4649){return _0x2c4649();}};return{'ci':_0x2d9eb3[_0x228193(0x1d8)],'key':_0x2d9eb3[_0x228193(0x1fa)](uuidv4),'version':version,'collector':_0x228193(0x1d6)+name};},exports[a30_0x5e0b86(0x1c6)]=_0x2d77ee=>{const _0x34233c=a30_0x5e0b86,_0x149f5b={};_0x149f5b[_0x34233c(0x1b8)]=function(_0x18738f,_0x547112){return _0x18738f!==_0x547112;},_0x149f5b['EgCFT']='string',_0x149f5b[_0x34233c(0x1ac)]=_0x34233c(0x1e7),_0x149f5b[_0x34233c(0x1e3)]=function(_0x44963c,_0x329c51){return _0x44963c!==_0x329c51;},_0x149f5b[_0x34233c(0x1db)]=_0x34233c(0x1b9);const _0x32c8d7=_0x149f5b;if(!_0x2d77ee||_0x32c8d7[_0x34233c(0x1b8)](typeof _0x2d77ee,_0x32c8d7['EgCFT']))return[null,null];if(_0x32c8d7['pkiKY'](_0x2d77ee[_0x34233c(0x1e9)](_0x32c8d7[_0x34233c(0x1ac)]),-0x1)){const _0x358fdd=_0x2d77ee['split'](_0x32c8d7[_0x34233c(0x1ac)]);return[_0x358fdd[0x0][_0x34233c(0x1cb)](0x0,-0x1)[_0x34233c(0x1c5)]('\x22')[0x1],_0x358fdd[0x1]['substring'](0x1)];}else{if(_0x32c8d7[_0x34233c(0x1e3)](_0x2d77ee[_0x34233c(0x1e9)](_0x32c8d7[_0x34233c(0x1db)]),-0x1)){const _0x29a1fb=_0x2d77ee[_0x34233c(0x1c5)](_0x32c8d7[_0x34233c(0x1db)]);return[_0x29a1fb[0x0]['slice'](0x0,-0x1)[_0x34233c(0x1c5)]('\x22')[0x1],_0x2d77ee];}}return[null,null];},exports[a30_0x5e0b86(0x205)]=_0x12314f=>{const _0x4334f8=a30_0x5e0b86,_0x1c614d={'qybvG':function(_0x27537f,_0x4c722d){return _0x27537f(_0x4c722d);},'NKoxb':'_beforeAll','ImtSa':_0x4334f8(0x1c7),'yumXC':_0x4334f8(0x1d9),'PylQg':_0x4334f8(0x1e4)};if(!_0x12314f||!_0x12314f[_0x4334f8(0x1bb)])return[];const _0x26752c=[];return[_0x1c614d['NKoxb'],_0x1c614d[_0x4334f8(0x1b4)],_0x1c614d[_0x4334f8(0x1f2)],_0x1c614d[_0x4334f8(0x1df)]][_0x4334f8(0x1fd)](_0x1b79a8=>{const _0x1d8969=_0x4334f8,_0x573703={'auTlL':function(_0x3afe8b,_0x4329cf){const _0x11ee44=a30_0x4394;return _0x1c614d[_0x11ee44(0x1b7)](_0x3afe8b,_0x4329cf);}},_0x45e3f5=_0x12314f[_0x1d8969(0x1bb)][_0x1b79a8]||[];_0x45e3f5['forEach'](_0x39d8d0=>{const _0x131160=_0x1d8969;_0x39d8d0[_0x131160(0x1ca)]&&!_0x573703[_0x131160(0x1f5)](isInternalHook,_0x39d8d0['fn'])&&_0x26752c[_0x131160(0x204)](_0x39d8d0[_0x131160(0x1ca)]);});}),[..._0x26752c,...exports[_0x4334f8(0x205)](_0x12314f[_0x4334f8(0x1bb)])];},exports[a30_0x5e0b86(0x1ea)]=_0x331e11=>{const _0x4edb63=a30_0x5e0b86,_0x4b18bf={'VABqs':function(_0x3a8e4d){return _0x3a8e4d();},'OyYah':function(_0x37b1a3,_0x3457ac){return _0x37b1a3===_0x3457ac;},'CnCPy':_0x4edb63(0x1e4),'yrcbV':_0x4edb63(0x1f6),'QayRM':_0x4edb63(0x1c7),'EvPiG':_0x4edb63(0x1d9)};if(!_0x331e11||!_0x331e11[_0x4edb63(0x1bb)])return;[_0x4b18bf['yrcbV'],_0x4b18bf[_0x4edb63(0x1de)],_0x4b18bf[_0x4edb63(0x1cf)],_0x4b18bf[_0x4edb63(0x1ce)]][_0x4edb63(0x1fd)](_0x4e4132=>{const _0xb73a62=_0x4edb63,_0x54ed15={'VkCFz':function(_0x331a5b){const _0x144c0c=a30_0x4394;return _0x4b18bf[_0x144c0c(0x1d7)](_0x331a5b);},'McAIU':function(_0x540670,_0x4f6dad){const _0x1d3203=a30_0x4394;return _0x4b18bf[_0x1d3203(0x1ad)](_0x540670,_0x4f6dad);},'HGZrg':_0x4b18bf[_0xb73a62(0x1ce)],'RYhzI':function(_0x5b39b0){const _0x470abe=_0xb73a62;return _0x4b18bf[_0x470abe(0x1d7)](_0x5b39b0);}},_0x1fc7a9=_0x331e11['parent'][_0x4e4132]||[];_0x1fc7a9[_0xb73a62(0x1fd)](_0x7eccbb=>{const _0x49fc67=_0xb73a62;if(!_0x7eccbb[_0x49fc67(0x1ca)])_0x7eccbb[_0x49fc67(0x1ca)]=_0x54ed15[_0x49fc67(0x1bd)](uuidv4);else _0x7eccbb[_0x49fc67(0x1c9)]&&_0x54ed15['McAIU'](_0x4e4132,_0x54ed15[_0x49fc67(0x1fb)])&&(_0x7eccbb[_0x49fc67(0x1ca)]=_0x54ed15['RYhzI'](uuidv4),delete _0x7eccbb['markedStatus']);});}),exports[_0x4edb63(0x1ea)](_0x331e11[_0x4edb63(0x1bb)]);},exports[a30_0x5e0b86(0x1c2)]=async(_0x2dc1e1,_0x387b22)=>{const _0x470b61=a30_0x5e0b86,_0x27a4f9={'JXkNN':function(_0xe7a3ac){return _0xe7a3ac();},'jKKmx':function(_0xd52e7f,_0x3c55a2){return _0xd52e7f===_0x3c55a2;},'mrzjq':_0x470b61(0x1c0),'WCVyd':_0x470b61(0x202),'VlsRf':_0x470b61(0x1fc),'GwbNs':_0x470b61(0x1e1),'zkGVX':_0x470b61(0x1c4),'Mafby':function(_0x2d8764,_0x41c53a){return _0x2d8764(_0x41c53a);},'cWcsQ':_0x470b61(0x1e0),'BKRDh':'TEST_PLATFORM','CGvFD':function(_0x5bf306,_0x275641){return _0x5bf306(_0x275641);}};try{if(!_0x27a4f9['JXkNN'](shouldProcessEventForTesthub))return;const _0xb58b29=await _0x2dc1e1[_0x470b61(0x1ba)](),_0xb79c4c=await _0x2dc1e1[_0x470b61(0x1b5)](),_0x34bf62={},_0x282d3f=Object[_0x470b61(0x203)](_0xb79c4c['getCapabilities']()['map_']),_0x2a7a59={'product':_0x27a4f9['jKKmx'](global[_0x470b61(0x1f8)],_0x27a4f9[_0x470b61(0x1b6)])?_0x282d3f[_0x27a4f9[_0x470b61(0x1c3)]]||_0x282d3f[_0x27a4f9[_0x470b61(0x1cc)]]?_0x27a4f9[_0x470b61(0x1fe)]:_0x27a4f9['zkGVX']:null,'capabilities':_0x282d3f,'platform':_0xb58b29[_0x470b61(0x1dd)](),'platform_version':_0x27a4f9['Mafby'](getPlatformVersion,_0x27a4f9['jKKmx'](global[_0x470b61(0x1f8)],_0x27a4f9[_0x470b61(0x1b6)])),'browser':_0xb58b29[_0x470b61(0x1f0)](),'browser_version':_0xb58b29[_0x470b61(0x1d4)](),'session_id':_0xb79c4c['toJSON']()};global[_0x470b61(0x1f8)]?_0x34bf62[global[_0x470b61(0x1f8)]]=_0x2a7a59:_0x34bf62[_0x27a4f9[_0x470b61(0x1e8)]]=_0x2a7a59,process['emit'](_0x470b61(0x1f7)+process[_0x470b61(0x1b0)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x27a4f9[_0x470b61(0x1eb)],'http_response':_0x34bf62,'uuid':_0x387b22});}catch(_0x10c435){_0x27a4f9[_0x470b61(0x1f3)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x10c435);}},exports[a30_0x5e0b86(0x1bf)]=_0x23879b=>{const _0x4900e8=a30_0x5e0b86,_0x3e2f72={};_0x3e2f72[_0x4900e8(0x1d0)]=function(_0x460381,_0xe8c2d0){return _0x460381!==_0xe8c2d0;},_0x3e2f72[_0x4900e8(0x1c8)]=_0x4900e8(0x1b9),_0x3e2f72[_0x4900e8(0x1ee)]=function(_0x182fe0,_0x75e381){return _0x182fe0!==_0x75e381;},_0x3e2f72['wtwBR']=_0x4900e8(0x1f4),_0x3e2f72['FUPOs']=function(_0x13efa3,_0x5aa583){return _0x13efa3!==_0x5aa583;},_0x3e2f72[_0x4900e8(0x1d1)]=_0x4900e8(0x1b2);const _0x14b89e=_0x3e2f72,_0x1b335d=_0x23879b[_0x4900e8(0x1da)][_0x4900e8(0x1bc)]((_0x14f05f,_0x5517f8)=>{const _0x4683ed=_0x4900e8,_0x5ac00e=exports[_0x4683ed(0x1bf)](_0x5517f8);return _0x5ac00e&&(_0x14f05f=_0x14f05f[_0x4683ed(0x1f9)](_0x5ac00e)),_0x14f05f;},[]),_0x52dd70=_0x23879b[_0x4900e8(0x1cd)]['filter'](_0x42f99a=>{const _0x449cc4=_0x4900e8,_0x109038=_0x14b89e[_0x449cc4(0x1d0)](_0x42f99a[_0x449cc4(0x1b1)],_0x14b89e[_0x449cc4(0x1c8)])&&!_0x42f99a[_0x449cc4(0x1c9)]&&_0x14b89e[_0x449cc4(0x1ee)](_0x42f99a[_0x449cc4(0x1e2)],_0x14b89e['wtwBR'])&&_0x14b89e[_0x449cc4(0x1ab)](_0x42f99a['state'],_0x14b89e['UuJxs'])&&!_0x42f99a[_0x449cc4(0x1f1)];return _0x109038;});return _0x52dd70[_0x4900e8(0x1f9)](_0x1b335d);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a30_0x385fb9=a30_0x20a1;(function(_0x160349,_0x499943){const _0x41f920=a30_0x20a1,_0x30b586=_0x160349();while(!![]){try{const _0x5b805d=-parseInt(_0x41f920(0x15d))/0x1*(parseInt(_0x41f920(0x180))/0x2)+parseInt(_0x41f920(0x178))/0x3*(parseInt(_0x41f920(0x13e))/0x4)+parseInt(_0x41f920(0x13d))/0x5+parseInt(_0x41f920(0x153))/0x6+parseInt(_0x41f920(0x192))/0x7+parseInt(_0x41f920(0x19f))/0x8+-parseInt(_0x41f920(0x182))/0x9;if(_0x5b805d===_0x499943)break;else _0x30b586['push'](_0x30b586['shift']());}catch(_0xd3d04d){_0x30b586['push'](_0x30b586['shift']());}}}(a30_0x1449,0x33f69));const util=require('util'),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x385fb9(0x181)),{percyAutoCapture}=require(a30_0x385fb9(0x183)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x385fb9(0x19e)),{isTestObservabilitySession}=require(a30_0x385fb9(0x194)),PerformanceTester=require(a30_0x385fb9(0x197)),scripts=require(a30_0x385fb9(0x157)),globals=require(a30_0x385fb9(0x19c)),logger=require('../../helpers/logger')[a30_0x385fb9(0x18f)],{shouldProcessEventForTesthub}=require(a30_0x385fb9(0x17e)),testHubConstants=require('../../helpers/testhub/constants');exports[a30_0x385fb9(0x16c)]={'beforeAll'(){const _0x4f2cc9=a30_0x385fb9,_0x101aca={'vnNSb':function(_0x469bd8,_0x204f04,_0x578cdd,_0x521c56){return _0x469bd8(_0x204f04,_0x578cdd,_0x521c56);},'cgnRI':_0x4f2cc9(0x1a2),'VIukY':_0x4f2cc9(0x141),'vwdCB':function(_0x47e588,_0x40cd9b,_0x440810){return _0x47e588(_0x40cd9b,_0x440810);},'XSqbi':_0x4f2cc9(0x156),'BhLUI':function(_0x1c6a96){return _0x1c6a96();},'wkMPW':function(_0xb50909,_0xeb0a29,_0x46982f){return _0xb50909(_0xeb0a29,_0x46982f);}};PerformanceTester[_0x4f2cc9(0x138)]();const _0x199906='browserstack internal helper hook';global[_0x4f2cc9(0x177)]=[],global['__sessionFailed']=![],global[_0x4f2cc9(0x162)]=async()=>{const _0x4a2e1c=_0x4f2cc9;let _0x4494a3=![];try{await global[_0x4a2e1c(0x176)][0x0][_0x4a2e1c(0x13c)],_0x4494a3=!![],global[_0x4a2e1c(0x14f)]?await _0x101aca[_0x4a2e1c(0x137)](markSessionStatus,global[_0x4a2e1c(0x176)][0x0],_0x101aca[_0x4a2e1c(0x184)],global[_0x4a2e1c(0x177)][_0x4a2e1c(0x1a8)](_0x101aca['VIukY'])):await _0x101aca[_0x4a2e1c(0x18b)](markSessionStatus,global[_0x4a2e1c(0x176)][0x0],_0x101aca['XSqbi']);}catch(_0x2f3468){}global[_0x4a2e1c(0x177)]=[],global[_0x4a2e1c(0x14f)]=![];if(_0x4494a3)try{try{_0x101aca[_0x4a2e1c(0x158)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x101aca['wkMPW'](sendPlatformDetails,global[_0x4a2e1c(0x176)][0x0],this[_0x4a2e1c(0x17b)]?this[_0x4a2e1c(0x17b)]['testAnalyticsId']:null));}catch{}await global[_0x4a2e1c(0x176)][0x0][_0x4a2e1c(0x185)]();}catch(_0x1f40e2){}};},'beforeEach'(_0x7797d3){const _0x922765=a30_0x385fb9,_0x2a4cb6={'sbhdF':function(_0x50fb8a,_0x4fc33c){return _0x50fb8a>_0x4fc33c;},'mrmfT':_0x922765(0x161),'kAkOw':function(_0x286758,_0x55987b,_0x11e01e){return _0x286758(_0x55987b,_0x11e01e);},'umggA':_0x922765(0x1a1),'egBzj':function(_0x13d3b0){return _0x13d3b0();},'OiFxW':'isAccessibilityPlatform','TnCil':function(_0x4a65a0,_0x235201){return _0x4a65a0===_0x235201;},'Jtrzg':_0x922765(0x159),'uDtAw':_0x922765(0x164),'SaYDX':_0x922765(0x14a),'AYcwp':_0x922765(0x175)};new Promise(async _0x496c1c=>{const _0x254f8c=_0x922765,_0xbee5b8='browserstack internal helper hook';let _0x494ede=!![];try{_0x2a4cb6[_0x254f8c(0x174)](global[_0x254f8c(0x176)][_0x254f8c(0x16e)],0x1)&&(await global['driverCleanup'](),global[_0x254f8c(0x176)][_0x254f8c(0x13b)]()),_0x2a4cb6[_0x254f8c(0x174)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x494ede=![],await global['driverCleanup']());}catch{}try{Array['isArray'](global[_0x254f8c(0x176)])&&global[_0x254f8c(0x176)][0x0]&&(global[_0x254f8c(0x176)][0x0]['browserstackSessionName']=this['currentTest'][_0x254f8c(0x149)]()[_0x254f8c(0x1a8)](_0x2a4cb6[_0x254f8c(0x17c)])),global['browserstackSessionName']=this[_0x254f8c(0x17b)]['titlePath']()[_0x254f8c(0x1a8)](_0x2a4cb6['mrmfT']);}catch(_0x19f797){logger[_0x254f8c(0x133)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x19f797);}this[_0x254f8c(0x17b)][_0x254f8c(0x140)]=_0x2a4cb6[_0x254f8c(0x134)](shouldScanTestForAccessibility,this['currentTest'][_0x254f8c(0x149)](),!![]),globals[_0x254f8c(0x13f)](_0x2a4cb6['umggA'],this[_0x254f8c(0x17b)][_0x254f8c(0x140)]),this['currentTest'][_0x254f8c(0x19b)]=!![];if(_0x2a4cb6[_0x254f8c(0x147)](isAccessibilityAutomationSession)&&_0x494ede&&Array[_0x254f8c(0x173)](global[_0x254f8c(0x176)])&&_0x2a4cb6[_0x254f8c(0x174)](global[_0x254f8c(0x176)][_0x254f8c(0x16e)],0x0)&&globals[_0x254f8c(0x160)](_0x2a4cb6[_0x254f8c(0x18a)]))try{const _0xbd30f4=await global[_0x254f8c(0x176)][0x0]['session_'];if(_0xbd30f4){let _0x4fec30=!![];const _0x55b2d5=await global[_0x254f8c(0x176)][0x0][_0x254f8c(0x186)]();let _0x2f733b;try{_0x2f733b=new URL(_0x55b2d5);}catch(_0x19f2ef){_0x4fec30=![];}_0x4fec30=_0x2a4cb6[_0x254f8c(0x196)](_0x2f733b[_0x254f8c(0x19d)],_0x2a4cb6[_0x254f8c(0x17d)])||_0x2a4cb6[_0x254f8c(0x196)](_0x2f733b[_0x254f8c(0x19d)],_0x2a4cb6['uDtAw']),_0x4fec30&&(this[_0x254f8c(0x17b)]['shouldScanTestForAccessibility']&&logger[_0x254f8c(0x1a0)](_0x2a4cb6['SaYDX'])),this[_0x254f8c(0x17b)][_0x254f8c(0x19b)]=this[_0x254f8c(0x17b)][_0x254f8c(0x140)],this[_0x254f8c(0x17b)][_0x254f8c(0x140)]&&logger['info'](_0x2a4cb6[_0x254f8c(0x151)]);}}catch(_0x363f47){logger[_0x254f8c(0x17a)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x254f8c(0x187)](_0x363f47));}_0x2a4cb6[_0x254f8c(0x147)](_0x496c1c);})[_0x922765(0x146)](_0x7797d3);},'afterEach'(_0x19a792){const _0x3e2392=a30_0x385fb9,_0x1c1c23={'PElQg':function(_0x1e35d7,_0x21fdb1){return _0x1e35d7>_0x21fdb1;},'FMhOF':function(_0x30a173,_0x7bd038){return _0x30a173===_0x7bd038;},'MlOXi':_0x3e2392(0x14c),'SdDpH':'appium:app','tjCnK':function(_0x5cd029,_0x2fe55f,_0x44695f,_0x4de4e5){return _0x5cd029(_0x2fe55f,_0x44695f,_0x4de4e5);},'ltnuv':'\x20-\x20','Egvzf':function(_0x40ee0b,_0x1b6613){return _0x40ee0b!==_0x1b6613;},'kgdtg':'passed','WiVVx':function(_0x4eef7d,_0x201384,_0x552d75){return _0x4eef7d(_0x201384,_0x552d75);},'nMdYf':function(_0x39787c,_0x4ac8fb){return _0x39787c+_0x4ac8fb;},'DRrca':_0x3e2392(0x188),'yGoxE':_0x3e2392(0x17a),'NRLsT':_0x3e2392(0x142),'wTbIX':_0x3e2392(0x1a0),'PDAtu':_0x3e2392(0x18e),'zsJVT':_0x3e2392(0x1a1),'Pjmak':_0x3e2392(0x189),'AJdUW':_0x3e2392(0x168),'ttGCm':_0x3e2392(0x199),'nVkPG':function(_0x452ac1){return _0x452ac1();},'pMzxK':function(_0x5cfd0d){return _0x5cfd0d();},'MPLVd':_0x3e2392(0x133),'yWmUC':function(_0x1d77fb,_0x1db630){return _0x1d77fb>_0x1db630;},'yuDRK':function(_0x1e66ec){return _0x1e66ec();}},_0x45d0bd='browserstack internal helper hook';this['timeout'](0xfde8);const _0x134f20=async(_0x28dcd1,_0x27b337)=>{const _0x158ea2=_0x3e2392;await global[_0x158ea2(0x176)][0x0][_0x158ea2(0x18d)](_0x158ea2(0x135)+_0x28dcd1+_0x158ea2(0x16f)+_0x27b337+'\x22}}');};new Promise(async _0x29839b=>{const _0x46fbe6=_0x3e2392;try{_0x1c1c23[_0x46fbe6(0x1a9)](global['__drivers'][_0x46fbe6(0x16e)],0x1)&&(await global[_0x46fbe6(0x162)](),global[_0x46fbe6(0x176)][_0x46fbe6(0x13b)](),global[_0x46fbe6(0x177)]=[],global[_0x46fbe6(0x14f)]=![]);try{if(global[_0x46fbe6(0x15f)]&&_0x1c1c23[_0x46fbe6(0x150)](global[_0x46fbe6(0x166)],_0x1c1c23[_0x46fbe6(0x16b)])&&global[_0x46fbe6(0x176)][0x0]){const _0x2227dd=_0x1c1c23[_0x46fbe6(0x1a9)](global[_0x46fbe6(0x13a)][_0x46fbe6(0x16e)],0x0)?!!global[_0x46fbe6(0x13a)][0x0][_0x46fbe6(0x179)]||!!global[_0x46fbe6(0x13a)][0x0][_0x1c1c23['SdDpH']]:![],_0x2d6c6d={};_0x2d6c6d[_0x46fbe6(0x179)]=_0x2227dd,await _0x1c1c23['tjCnK'](percyAutoCapture,global[_0x46fbe6(0x176)][0x0],_0x1c1c23['MlOXi'],_0x2d6c6d);}}catch(_0x252f88){}!global[_0x46fbe6(0x1a6)]&&(await global[_0x46fbe6(0x176)][0x0][_0x46fbe6(0x18d)](_0x46fbe6(0x198)+JSON[_0x46fbe6(0x19a)](this[_0x46fbe6(0x17b)]['titlePath']()[_0x46fbe6(0x1a8)](_0x1c1c23[_0x46fbe6(0x193)]))+'}}'),global[_0x46fbe6(0x176)][0x0]['sessionNameSet__']=!![]);const _0x1429ee=_0x1c1c23[_0x46fbe6(0x167)](this[_0x46fbe6(0x17b)][_0x46fbe6(0x1a3)],_0x1c1c23[_0x46fbe6(0x139)]);_0x1429ee?(global[_0x46fbe6(0x14f)]=!![],global[_0x46fbe6(0x177)][_0x46fbe6(0x144)](this['currentTest']['err'][_0x46fbe6(0x14e)]),await _0x1c1c23[_0x46fbe6(0x171)](_0x134f20,JSON['stringify'](_0x1c1c23[_0x46fbe6(0x1a4)](_0x1c1c23[_0x46fbe6(0x172)],this[_0x46fbe6(0x17b)][_0x46fbe6(0x165)][_0x46fbe6(0x14e)])),_0x1c1c23['yGoxE'])):await _0x1c1c23['WiVVx'](_0x134f20,JSON['stringify'](_0x1c1c23[_0x46fbe6(0x169)]),_0x1c1c23[_0x46fbe6(0x148)]);}catch(_0x41fc8a){}try{if(this['currentTest'][_0x46fbe6(0x19b)]&&globals[_0x46fbe6(0x160)](_0x1c1c23['PDAtu'])&&globals[_0x46fbe6(0x160)](_0x1c1c23[_0x46fbe6(0x163)])){logger['info'](_0x1c1c23[_0x46fbe6(0x16d)]);const _0x57b7ad={};_0x57b7ad[_0x46fbe6(0x190)]=this[_0x46fbe6(0x17b)][_0x46fbe6(0x17f)],_0x57b7ad['thBuildUuid']=process[_0x46fbe6(0x1a7)][testHubConstants[_0x46fbe6(0x152)]['BROWSERSTACK_TESTHUB_UUID']],_0x57b7ad[_0x46fbe6(0x155)]=process[_0x46fbe6(0x1a7)][testHubConstants[_0x46fbe6(0x152)][_0x46fbe6(0x195)]];const _0x3f8b07=_0x57b7ad;logger[_0x46fbe6(0x133)](_0x46fbe6(0x143)+JSON[_0x46fbe6(0x19a)](_0x3f8b07)),logger[_0x46fbe6(0x133)](_0x1c1c23[_0x46fbe6(0x16a)]),logger[_0x46fbe6(0x133)](util[_0x46fbe6(0x187)](await global[_0x46fbe6(0x176)][0x0][_0x46fbe6(0x15c)](scripts['performScan'],{'method':global[_0x46fbe6(0x18c)]}))),await global[_0x46fbe6(0x176)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x3f8b07),logger[_0x46fbe6(0x1a0)](_0x1c1c23[_0x46fbe6(0x15e)]);}}catch(_0x19c60e){logger['error'](_0x46fbe6(0x191)+this[_0x46fbe6(0x17b)][_0x46fbe6(0x149)]()+_0x46fbe6(0x15a),_0x19c60e);}try{try{if(_0x1c1c23[_0x46fbe6(0x14d)](shouldProcessEventForTesthub)){global[_0x46fbe6(0x176)][0x0]&&await _0x1c1c23[_0x46fbe6(0x171)](sendPlatformDetails,global[_0x46fbe6(0x176)][0x0],this[_0x46fbe6(0x17b)]?this[_0x46fbe6(0x17b)][_0x46fbe6(0x17f)]:null);if(_0x1c1c23['pMzxK'](isBrowserstackInfra)){const _0x37228c='ObservabilitySync:'+Date[_0x46fbe6(0x170)]();await _0x1c1c23[_0x46fbe6(0x171)](_0x134f20,JSON[_0x46fbe6(0x19a)](_0x37228c),_0x1c1c23['MPLVd']);}}}catch{}_0x1c1c23[_0x46fbe6(0x14b)](global[_0x46fbe6(0x176)][0x0][_0x46fbe6(0x136)],0x0)&&await global[_0x46fbe6(0x162)]();}catch(_0x134d31){}_0x1c1c23[_0x46fbe6(0x154)](_0x29839b);})[_0x3e2392(0x146)](()=>_0x19a792());},'afterAll'(_0x3e2498){const _0x46dc0d=a30_0x385fb9,_0x3ee7a7={'EGxKM':function(_0x4bfe57){return _0x4bfe57();}},_0x2de900='browserstack internal helper hook';this[_0x46dc0d(0x15b)](0xfde8),new Promise(async _0x854191=>{const _0x3fdb1c=_0x46dc0d;PerformanceTester[_0x3fdb1c(0x1a5)](),await global['driverCleanup'](),_0x3ee7a7[_0x3fdb1c(0x145)](_0x854191);})[_0x46dc0d(0x146)](()=>_0x3e2498());}};function a30_0x20a1(_0x41fb27,_0x3fb192){const _0x14490c=a30_0x1449();return a30_0x20a1=function(_0x20a139,_0x410f0a){_0x20a139=_0x20a139-0x133;let _0x1c5e18=_0x14490c[_0x20a139];return _0x1c5e18;},a30_0x20a1(_0x41fb27,_0x3fb192);}function a30_0x1449(){const _0x3048e3=['419628ISheUV','yuDRK','thJwtToken','passed','../../helpers/accessibility-automation/scripts','BhLUI','http:','.\x20Error\x20:','timeout','executeAsyncScript','330043PRESwU','ttGCm','percy','getGlobal','\x20-\x20','driverCleanup','zsJVT','https:','err','percyCaptureMode','Egvzf','Performing\x20scan\x20before\x20saving\x20results','NRLsT','AJdUW','MlOXi','mochaHooks','Pjmak','length',',\x22level\x22:\x20\x22','now','WiVVx','DRrca','isArray','sbhdF','Automate\x20test\x20case\x20execution\x20has\x20started.','__drivers','__error_messages__','198wyufno','app','error','currentTest','mrmfT','Jtrzg','../../helpers/testhub/utils','testAnalyticsId','2xgOPFP','../../helpers/accessibility-automation/helper','4099923qCgWyA','../../helpers/percy/utils','cgnRI','initQuit','getCurrentUrl','format','Failed:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','OiFxW','vwdCB','browserstackSessionName','executeScript','isAccessibilityPlatform','winstonLogger','thTestRunUuid','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','2923256noFLwp','ltnuv','../../helpers/test-observability/utils','BROWSERSTACK_TESTHUB_JWT','TnCil','../../helpers/performance-tester','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','stringify','accessibilityScanStarted','../../helpers/globals','protocol','../../helpers/helper','2165008QBWSdz','info','bstackA11yShouldScan','failed','state','nMdYf','stopMonitoring','__skipSessionName','env','join','PElQg','debug','kAkOw','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','quitCount_','vnNSb','startMonitoring','kgdtg','capabilities','shift','session_','808595paXJsa','4760BwkwEd','setGlobal','shouldScanTestForAccessibility','\x20|\x20','Passed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','push','EGxKM','then','egBzj','wTbIX','titlePath','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','yWmUC','testcase','nVkPG','message','__sessionFailed','FMhOF','AYcwp','ENV_VAR'];a30_0x1449=function(){return _0x3048e3;};return a30_0x1449();}
|
|
1
|
+
const a31_0x2052c7=a31_0x423d;(function(_0x21c7ef,_0x55cf91){const _0x342d3a=a31_0x423d,_0x33bd71=_0x21c7ef();while(!![]){try{const _0x44af24=parseInt(_0x342d3a(0x1db))/0x1+parseInt(_0x342d3a(0x1ed))/0x2*(parseInt(_0x342d3a(0x21c))/0x3)+parseInt(_0x342d3a(0x1f3))/0x4*(-parseInt(_0x342d3a(0x212))/0x5)+parseInt(_0x342d3a(0x1e3))/0x6*(-parseInt(_0x342d3a(0x1e4))/0x7)+-parseInt(_0x342d3a(0x1f2))/0x8+-parseInt(_0x342d3a(0x1cf))/0x9+-parseInt(_0x342d3a(0x1c7))/0xa*(-parseInt(_0x342d3a(0x1ee))/0xb);if(_0x44af24===_0x55cf91)break;else _0x33bd71['push'](_0x33bd71['shift']());}catch(_0x1679c7){_0x33bd71['push'](_0x33bd71['shift']());}}}(a31_0x26b1,0x37e09));function a31_0x423d(_0x20ebd5,_0x53a398){const _0x26b1a7=a31_0x26b1();return a31_0x423d=function(_0x423d66,_0x4cf2c3){_0x423d66=_0x423d66-0x1c6;let _0x546146=_0x26b1a7[_0x423d66];return _0x546146;},a31_0x423d(_0x20ebd5,_0x53a398);}function a31_0x26b1(){const _0x5c9a39=['info','LdHvm','getCurrentUrl','vEvol','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','10900vZAgTz','DxpPT','HCRiM','pLLhF','shift',',\x22level\x22:\x20\x22','executeAsyncScript','__sessionFailed','4101714dicPWU','message','EhTDz','BFUbX','__drivers','testcase','FVUCm','failed','\x20|\x20','ObservabilitySync:','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','DEXjf','428103EYejVj','format','capabilities','isArray','aHSGO','BROWSERSTACK_TESTHUB_JWT','protocol','isAccessibilityPlatform','1614xSihFW','5327xnOGOB','__skipSessionName','mCayh','err','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LfdCr','setGlobal','thJwtToken','titlePath','2szaxDR','9834WCXKQy','currentTest','SVOYJ','../../helpers/globals','2792464gmArVW','108aPXukW','BROWSERSTACK_TESTHUB_UUID','testAnalyticsId','FDubD','quitCount_','../../helpers/performance-tester','mochaHooks','ETiCz','Failed\x20to\x20store\x20session\x20name:\x20','Ydwgv','join','bstackA11yShouldScan','app','../../helpers/helper','Failed:\x20','performScan','../../helpers/testhub/utils','../../helpers/percy/utils','XJcWk','YelDz','SwbBF','shouldScanTestForAccessibility','env','getGlobal','\x20-\x20','kgNUq','http:','timeout','fSdof','https:','\x22}}','56855yNvPtM','then','appium:app','debug','winstonLogger','../../helpers/logger','../../helpers/accessibility-automation/helper','./test-observability/mochaUtils','length','uQrTF','428520UIlZCx','smsEj','fEZdJ','gXWhK','push','percy','ujeKD','ENV_VAR','ictUX','browserstackSessionName','error','accessibilityScanStarted','ZdZEe','rCVAi','MUeoV','stringify','pjiDo','driverCleanup','percyCaptureMode','session_','__error_messages__'];a31_0x26b1=function(){return _0x5c9a39;};return a31_0x26b1();}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a31_0x2052c7(0x218)),{percyAutoCapture}=require(a31_0x2052c7(0x204)),{sendPlatformDetails}=require(a31_0x2052c7(0x219)),{isBrowserstackInfra,markSessionStatus}=require(a31_0x2052c7(0x200)),PerformanceTester=require(a31_0x2052c7(0x1f8)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a31_0x2052c7(0x1f1)),logger=require(a31_0x2052c7(0x217))[a31_0x2052c7(0x216)],{shouldProcessEventForTesthub}=require(a31_0x2052c7(0x203)),testHubConstants=require('../../helpers/testhub/constants');exports[a31_0x2052c7(0x1f9)]={'beforeAll'(){const _0x5a59db=a31_0x2052c7,_0x1c394e={'uQrTF':function(_0x5a2924,_0x66ed3c,_0x1e5122,_0x2ad160){return _0x5a2924(_0x66ed3c,_0x1e5122,_0x2ad160);},'BFUbX':_0x5a59db(0x1d6),'dYdcx':_0x5a59db(0x1d7),'pjiDo':function(_0x557be8,_0x2cc924,_0x1b4c47){return _0x557be8(_0x2cc924,_0x1b4c47);},'SVOYJ':'passed','YelDz':function(_0x5bd2f0){return _0x5bd2f0();},'FDubD':function(_0x196e90,_0x4fb20b,_0x32594b){return _0x196e90(_0x4fb20b,_0x32594b);}};PerformanceTester['startMonitoring']();const _0xf9b5da='browserstack internal helper hook';global[_0x5a59db(0x230)]=[],global[_0x5a59db(0x1ce)]=![],global[_0x5a59db(0x22d)]=async()=>{const _0x167d44=_0x5a59db;let _0x424881=![];try{await global[_0x167d44(0x1d3)][0x0][_0x167d44(0x22f)],_0x424881=!![],global[_0x167d44(0x1ce)]?await _0x1c394e[_0x167d44(0x21b)](markSessionStatus,global[_0x167d44(0x1d3)][0x0],_0x1c394e[_0x167d44(0x1d2)],global['__error_messages__'][_0x167d44(0x1fd)](_0x1c394e['dYdcx'])):await _0x1c394e[_0x167d44(0x22c)](markSessionStatus,global[_0x167d44(0x1d3)][0x0],_0x1c394e[_0x167d44(0x1f0)]);}catch(_0x4d0487){}global[_0x167d44(0x230)]=[],global[_0x167d44(0x1ce)]=![];if(_0x424881)try{try{_0x1c394e[_0x167d44(0x206)](shouldProcessEventForTesthub)&&(global[_0x167d44(0x1d3)][0x0]&&await _0x1c394e[_0x167d44(0x1f6)](sendPlatformDetails,global[_0x167d44(0x1d3)][0x0],this[_0x167d44(0x1ef)]?this['currentTest']['testAnalyticsId']:null));}catch{}await global[_0x167d44(0x1d3)][0x0]['initQuit']();}catch(_0x58f20e){}};},'beforeEach'(_0x3a77ed){const _0x472a65=a31_0x2052c7,_0x1389a6={'kgNUq':function(_0x172be4,_0x2fb8c4){return _0x172be4>_0x2fb8c4;},'LdHvm':'\x20-\x20','hmVnq':function(_0x42c57e,_0x11e16b,_0x5cca99){return _0x42c57e(_0x11e16b,_0x5cca99);},'mCayh':_0x472a65(0x1fe),'ictUX':function(_0x1bf752){return _0x1bf752();},'GPNBA':function(_0x3fba64,_0x412bdb){return _0x3fba64>_0x412bdb;},'gXWhK':_0x472a65(0x1e2),'DxpPT':function(_0x3cc5e0,_0x244876){return _0x3cc5e0===_0x244876;},'ZBzic':_0x472a65(0x20d),'DuyBL':function(_0x56858a,_0x54ec26){return _0x56858a===_0x54ec26;},'SmqUO':_0x472a65(0x210),'ETiCz':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','WZqko':'Automate\x20test\x20case\x20execution\x20has\x20started.','XJcWk':function(_0x32dd86){return _0x32dd86();}};new Promise(async _0x31d14e=>{const _0x2aa25c=_0x472a65,_0x28e43a='browserstack internal helper hook';let _0xf26285=!![];try{_0x1389a6[_0x2aa25c(0x20c)](global['__drivers'][_0x2aa25c(0x21a)],0x1)&&(await global[_0x2aa25c(0x22d)](),global[_0x2aa25c(0x1d3)][_0x2aa25c(0x1cb)]()),_0x1389a6[_0x2aa25c(0x20c)](global[_0x2aa25c(0x1d3)][0x0]['quitCount_'],0x0)&&(_0xf26285=![],await global[_0x2aa25c(0x22d)]());}catch{}try{Array[_0x2aa25c(0x1de)](global['__drivers'])&&global[_0x2aa25c(0x1d3)][0x0]&&(global[_0x2aa25c(0x1d3)][0x0][_0x2aa25c(0x225)]=this[_0x2aa25c(0x1ef)][_0x2aa25c(0x1ec)]()[_0x2aa25c(0x1fd)](_0x1389a6[_0x2aa25c(0x232)])),global[_0x2aa25c(0x225)]=this[_0x2aa25c(0x1ef)]['titlePath']()['join'](_0x1389a6['LdHvm']);}catch(_0x5c672d){logger[_0x2aa25c(0x215)](_0x2aa25c(0x1fb)+_0x5c672d);}this[_0x2aa25c(0x1ef)][_0x2aa25c(0x208)]=_0x1389a6['hmVnq'](shouldScanTestForAccessibility,this['currentTest'][_0x2aa25c(0x1ec)](),!![]),globals[_0x2aa25c(0x1ea)](_0x1389a6[_0x2aa25c(0x1e6)],this[_0x2aa25c(0x1ef)][_0x2aa25c(0x208)]),this[_0x2aa25c(0x1ef)][_0x2aa25c(0x227)]=!![];if(_0x1389a6[_0x2aa25c(0x224)](isAccessibilityAutomationSession)&&_0xf26285&&Array[_0x2aa25c(0x1de)](global[_0x2aa25c(0x1d3)])&&_0x1389a6['GPNBA'](global[_0x2aa25c(0x1d3)][_0x2aa25c(0x21a)],0x0)&&globals['getGlobal'](_0x1389a6[_0x2aa25c(0x21f)]))try{const _0x2dea11=await global['__drivers'][0x0][_0x2aa25c(0x22f)];if(_0x2dea11){let _0x1f0872=!![];const _0x2d6454=await global[_0x2aa25c(0x1d3)][0x0][_0x2aa25c(0x233)]();let _0x40fc07;try{_0x40fc07=new URL(_0x2d6454);}catch(_0x48d79d){_0x1f0872=![];}_0x1f0872=_0x1389a6[_0x2aa25c(0x1c8)](_0x40fc07[_0x2aa25c(0x1e1)],_0x1389a6['ZBzic'])||_0x1389a6['DuyBL'](_0x40fc07[_0x2aa25c(0x1e1)],_0x1389a6['SmqUO']),_0x1f0872&&(this[_0x2aa25c(0x1ef)]['shouldScanTestForAccessibility']&&logger[_0x2aa25c(0x231)](_0x1389a6[_0x2aa25c(0x1fa)])),this['currentTest'][_0x2aa25c(0x227)]=this[_0x2aa25c(0x1ef)][_0x2aa25c(0x208)],this[_0x2aa25c(0x1ef)]['shouldScanTestForAccessibility']&&logger[_0x2aa25c(0x231)](_0x1389a6['WZqko']);}}catch(_0xf8399d){logger[_0x2aa25c(0x226)](_0x2aa25c(0x1d9)+util[_0x2aa25c(0x1dc)](_0xf8399d));}_0x1389a6[_0x2aa25c(0x205)](_0x31d14e);})[_0x472a65(0x213)](_0x3a77ed);},'afterEach'(_0x52d8c8){const _0x5b360f=a31_0x2052c7,_0x3bd50d={'rCVAi':function(_0x5d5ffa,_0x115a60){return _0x5d5ffa>_0x115a60;},'LfdCr':function(_0x19050c,_0x44397e){return _0x19050c===_0x44397e;},'ujeKD':_0x5b360f(0x1d4),'KPvWS':function(_0x13bc87,_0x4d1513){return _0x13bc87>_0x4d1513;},'JjKIU':_0x5b360f(0x214),'SwbBF':function(_0x4d021d,_0x45f6a3,_0x215409,_0x4994c1){return _0x4d021d(_0x45f6a3,_0x215409,_0x4994c1);},'fEZdJ':_0x5b360f(0x20b),'HCRiM':function(_0x130845,_0x2501a0){return _0x130845!==_0x2501a0;},'fSdof':'passed','aHSGO':function(_0x57b111,_0x212da9,_0x189bb0){return _0x57b111(_0x212da9,_0x189bb0);},'Ydwgv':function(_0x1a2d14,_0x532ca4){return _0x1a2d14+_0x532ca4;},'rhHqH':_0x5b360f(0x201),'ZdZEe':'error','vyGJA':'Passed','pLLhF':_0x5b360f(0x231),'smsEj':_0x5b360f(0x1e2),'MUeoV':_0x5b360f(0x1fe),'TcHYv':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','vEvol':'Performing\x20scan\x20before\x20saving\x20results','FVUCm':_0x5b360f(0x1e8),'EhTDz':function(_0x47e717){return _0x47e717();},'voxwm':function(_0x2045f5,_0x4399b1,_0x360ee4){return _0x2045f5(_0x4399b1,_0x360ee4);},'DEXjf':'debug','hKlov':function(_0x2fd0d5,_0x580c96){return _0x2fd0d5>_0x580c96;}},_0x3dd00c='browserstack internal helper hook';this[_0x5b360f(0x20e)](0xfde8);const _0xf83c5c=async(_0x24ab3a,_0x7a36bb)=>{const _0x389265=_0x5b360f;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x24ab3a+_0x389265(0x1cc)+_0x7a36bb+_0x389265(0x211));};new Promise(async _0xf21ad3=>{const _0x2f5438=_0x5b360f;try{_0x3bd50d[_0x2f5438(0x229)](global[_0x2f5438(0x1d3)][_0x2f5438(0x21a)],0x1)&&(await global[_0x2f5438(0x22d)](),global[_0x2f5438(0x1d3)][_0x2f5438(0x1cb)](),global['__error_messages__']=[],global[_0x2f5438(0x1ce)]=![]);try{if(global[_0x2f5438(0x221)]&&_0x3bd50d[_0x2f5438(0x1e9)](global[_0x2f5438(0x22e)],_0x3bd50d[_0x2f5438(0x222)])&&global[_0x2f5438(0x1d3)][0x0]){const _0x256c50=_0x3bd50d['KPvWS'](global[_0x2f5438(0x1dd)][_0x2f5438(0x21a)],0x0)?!!global[_0x2f5438(0x1dd)][0x0][_0x2f5438(0x1ff)]||!!global[_0x2f5438(0x1dd)][0x0][_0x3bd50d['JjKIU']]:![],_0x2094c7={};_0x2094c7[_0x2f5438(0x1ff)]=_0x256c50,await _0x3bd50d[_0x2f5438(0x207)](percyAutoCapture,global[_0x2f5438(0x1d3)][0x0],_0x3bd50d['ujeKD'],_0x2094c7);}}catch(_0x522012){}!global[_0x2f5438(0x1e5)]&&(await global[_0x2f5438(0x1d3)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x2f5438(0x22b)](this[_0x2f5438(0x1ef)]['titlePath']()[_0x2f5438(0x1fd)](_0x3bd50d[_0x2f5438(0x21e)]))+'}}'),global[_0x2f5438(0x1d3)][0x0]['sessionNameSet__']=!![]);const _0x5cd2ad=_0x3bd50d[_0x2f5438(0x1c9)](this['currentTest']['state'],_0x3bd50d[_0x2f5438(0x20f)]);_0x5cd2ad?(global[_0x2f5438(0x1ce)]=!![],global[_0x2f5438(0x230)][_0x2f5438(0x220)](this[_0x2f5438(0x1ef)][_0x2f5438(0x1e7)][_0x2f5438(0x1d0)]),await _0x3bd50d[_0x2f5438(0x1df)](_0xf83c5c,JSON[_0x2f5438(0x22b)](_0x3bd50d[_0x2f5438(0x1fc)](_0x3bd50d['rhHqH'],this[_0x2f5438(0x1ef)][_0x2f5438(0x1e7)]['message'])),_0x3bd50d[_0x2f5438(0x228)])):await _0x3bd50d[_0x2f5438(0x1df)](_0xf83c5c,JSON[_0x2f5438(0x22b)](_0x3bd50d['vyGJA']),_0x3bd50d[_0x2f5438(0x1ca)]);}catch(_0xcba3a6){}try{if(this['currentTest'][_0x2f5438(0x227)]&&globals[_0x2f5438(0x20a)](_0x3bd50d[_0x2f5438(0x21d)])&&globals[_0x2f5438(0x20a)](_0x3bd50d[_0x2f5438(0x22a)])){logger['info'](_0x3bd50d['TcHYv']);const _0x3e6a2a={};_0x3e6a2a['thTestRunUuid']=this['currentTest']['testAnalyticsId'],_0x3e6a2a['thBuildUuid']=process[_0x2f5438(0x209)][testHubConstants[_0x2f5438(0x223)][_0x2f5438(0x1f4)]],_0x3e6a2a[_0x2f5438(0x1eb)]=process[_0x2f5438(0x209)][testHubConstants[_0x2f5438(0x223)][_0x2f5438(0x1e0)]];const _0x4c3049=_0x3e6a2a;logger['debug'](_0x2f5438(0x1c6)+JSON[_0x2f5438(0x22b)](_0x4c3049)),logger[_0x2f5438(0x215)](_0x3bd50d[_0x2f5438(0x234)]),logger[_0x2f5438(0x215)](util[_0x2f5438(0x1dc)](await global[_0x2f5438(0x1d3)][0x0][_0x2f5438(0x1cd)](scripts[_0x2f5438(0x202)],{'method':global[_0x2f5438(0x225)]}))),await global['__drivers'][0x0][_0x2f5438(0x1cd)](scripts['saveTestResults'],_0x4c3049),logger[_0x2f5438(0x231)](_0x3bd50d[_0x2f5438(0x1d5)]);}}catch(_0x563e4f){logger[_0x2f5438(0x226)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x2f5438(0x1ef)][_0x2f5438(0x1ec)]()+'.\x20Error\x20:',_0x563e4f);}try{try{if(_0x3bd50d[_0x2f5438(0x1d1)](shouldProcessEventForTesthub)){global[_0x2f5438(0x1d3)][0x0]&&await _0x3bd50d['voxwm'](sendPlatformDetails,global['__drivers'][0x0],this[_0x2f5438(0x1ef)]?this['currentTest'][_0x2f5438(0x1f5)]:null);if(_0x3bd50d['EhTDz'](isBrowserstackInfra)){const _0x3689c6=_0x2f5438(0x1d8)+Date['now']();await _0x3bd50d[_0x2f5438(0x1df)](_0xf83c5c,JSON[_0x2f5438(0x22b)](_0x3689c6),_0x3bd50d[_0x2f5438(0x1da)]);}}}catch{}_0x3bd50d['hKlov'](global['__drivers'][0x0][_0x2f5438(0x1f7)],0x0)&&await global[_0x2f5438(0x22d)]();}catch(_0xfe7f16){}_0x3bd50d[_0x2f5438(0x1d1)](_0xf21ad3);})['then'](()=>_0x52d8c8());},'afterAll'(_0x5d4f2f){const _0x3b89d0=a31_0x2052c7,_0x33d629={'fYvEj':function(_0x571fb7){return _0x571fb7();}},_0x3ba103='browserstack internal helper hook';this[_0x3b89d0(0x20e)](0xfde8),new Promise(async _0x328137=>{const _0x10c441=_0x3b89d0;PerformanceTester['stopMonitoring'](),await global[_0x10c441(0x22d)](),_0x33d629['fYvEj'](_0x328137);})[_0x3b89d0(0x213)](()=>_0x5d4f2f());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function
|
|
2
|
+
'use strict';function a32_0x7925(_0x50a5d7,_0x4c67af){const _0x4de6fe=a32_0x4de6();return a32_0x7925=function(_0x79253b,_0x3d5cd9){_0x79253b=_0x79253b-0x1eb;let _0x13e490=_0x4de6fe[_0x79253b];return _0x13e490;},a32_0x7925(_0x50a5d7,_0x4c67af);}const a32_0x17f4b2=a32_0x7925;function a32_0x4de6(){const _0x505555=['OzYSh','now','nightwatch','length','webdriver','nightwatch-browserstack.json','Getting\x20your\x20nightwatch\x20configs\x20from\x20','69382InvgOU','filter','../../helpers/logger','Mlwfh','cwd','oqWvR','126135czqDLp','PnTdX','vByLZ','writeFileSync','UcpQM','platform','81EbSBAo','host','200501fwzGTA','findIndex','--env','5MESWvz','../../helpers/helper','child_process','11dwQFDm','nightwatch.cmd','useW3C','platforms','info','EFJum','rGNEY','port','config','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','child\x20process\x20exited\x20with\x20code\x20','selenium','stringify','aSBIh','modifyBrowserStackCaps','417476fYBuIT','forEach','1984392SBezVY','join','dzEkI','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','splice','Deleting\x20','getPlatformName','winstonLogger','nightwatch.conf.js','inherit','isUndefined','map','186odgTQF','790396KKNNXe','inutX','NeWmD','push','trim','XusQc','test_settings','existsSync','../../helpers/BrowserStackSetup','start_process','debug','modifyBrowserStackW3CCaps','nightwatch.json','--config','test','yrMEk','env','jmZtV','13934170jZpmfv'];a32_0x4de6=function(){return _0x505555;};return a32_0x4de6();}(function(_0x2bb24e,_0x5644fb){const _0x179f00=a32_0x7925,_0x1cc201=_0x2bb24e();while(!![]){try{const _0x13d7f9=-parseInt(_0x179f00(0x212))/0x1+parseInt(_0x179f00(0x1ef))/0x2*(-parseInt(_0x179f00(0x1fb))/0x3)+parseInt(_0x179f00(0x221))/0x4*(-parseInt(_0x179f00(0x200))/0x5)+-parseInt(_0x179f00(0x220))/0x6*(-parseInt(_0x179f00(0x1fd))/0x7)+-parseInt(_0x179f00(0x214))/0x8+parseInt(_0x179f00(0x1f5))/0x9+parseInt(_0x179f00(0x233))/0xa*(parseInt(_0x179f00(0x203))/0xb);if(_0x13d7f9===_0x5644fb)break;else _0x1cc201['push'](_0x1cc201['shift']());}catch(_0x3fa411){_0x1cc201['push'](_0x1cc201['shift']());}}}(a32_0x4de6,0x78fe0));const fs=require('fs'),path=require('path'),{spawn}=require(a32_0x17f4b2(0x202)),logger=require(a32_0x17f4b2(0x1f1))[a32_0x17f4b2(0x21b)],{default:BrowserStackSetup}=require(a32_0x17f4b2(0x229)),helper=require(a32_0x17f4b2(0x201)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x40544e,_0x2ae39c)=>{const _0x292f82=a32_0x17f4b2,_0xfb48f={'yrMEk':_0x292f82(0x21c),'UcpQM':_0x292f82(0x22d),'rGNEY':function(_0x45d9ab,_0x34463b){return _0x45d9ab(_0x34463b);},'Mlwfh':_0x292f82(0x20c)};let _0x4fb5af=null,_0x5826e4={};const _0x1cdf58=_0x2ae39c[_0x292f82(0x1fe)](_0x443b8a=>_0x443b8a==='--config');if(!helper[_0x292f82(0x21e)](_0x40544e[_0x292f82(0x20b)])&&fs[_0x292f82(0x228)](path['join'](process[_0x292f82(0x1f3)](),_0x40544e[_0x292f82(0x20b)])))_0x4fb5af=path[_0x292f82(0x215)](process[_0x292f82(0x1f3)](),_0x40544e[_0x292f82(0x20b)]),_0x2ae39c['splice'](_0x1cdf58,0x2);else{if(fs[_0x292f82(0x228)](path[_0x292f82(0x215)](process[_0x292f82(0x1f3)](),_0xfb48f[_0x292f82(0x230)])))_0x4fb5af=path['join'](process[_0x292f82(0x1f3)](),_0xfb48f[_0x292f82(0x230)]);else fs['existsSync'](path['join'](process[_0x292f82(0x1f3)](),_0xfb48f[_0x292f82(0x1f9)]))&&(_0x4fb5af=path[_0x292f82(0x215)](process[_0x292f82(0x1f3)](),_0xfb48f['UcpQM']));}return _0x4fb5af?(logger[_0x292f82(0x207)](_0x292f82(0x1ee)+_0x4fb5af),_0x5826e4=_0xfb48f[_0x292f82(0x209)](require,_0x4fb5af)):logger['info'](_0xfb48f[_0x292f82(0x1f2)]),_0x5826e4;},removeExistingEnvs=_0xebf52d=>{const _0x41053e=a32_0x17f4b2,_0x43b9a4={};_0x43b9a4[_0x41053e(0x223)]=function(_0x37f7be,_0x42561b){return _0x37f7be>_0x42561b;},_0x43b9a4[_0x41053e(0x232)]=function(_0x18bfd3,_0x3b2b59){return _0x18bfd3>_0x3b2b59;};const _0x468cce=_0x43b9a4;let _0x34d453=_0xebf52d[_0x41053e(0x1fe)](_0x2e5b71=>_0x2e5b71===_0x41053e(0x1ff));_0x468cce[_0x41053e(0x223)](_0x34d453,-0x1)&&_0xebf52d['splice'](_0x34d453,0x2),_0x34d453=_0xebf52d[_0x41053e(0x1fe)](_0x2c51ad=>_0x2c51ad==='-e'),_0x468cce['jmZtV'](_0x34d453,-0x1)&&_0xebf52d[_0x41053e(0x218)](_0x34d453,0x2);};function run(_0x511861,_0x1a2d3e){const _0x43011a=a32_0x17f4b2,_0x2e6588={'oqWvR':_0x43011a(0x236),'dzEkI':function(_0x397086,_0x1767e5){return _0x397086+_0x1767e5;},'EFJum':'test_settings','XusQc':function(_0x366155,_0x498083,_0x33a286){return _0x366155(_0x498083,_0x33a286);},'aSBIh':'hub.browserstack.com','OHOnY':_0x43011a(0x217),'vByLZ':function(_0x2c225a,_0x3e903f){return _0x2c225a===_0x3e903f;},'inutX':_0x43011a(0x1ed),'CjVVa':function(_0x497f37,_0x14a5cb){return _0x497f37(_0x14a5cb);},'TLsYH':function(_0x37ad3f,_0x14652a,_0x57ca28,_0x273fe3){return _0x37ad3f(_0x14652a,_0x57ca28,_0x273fe3);},'OwrHe':_0x43011a(0x204),'jOBrY':_0x43011a(0x22e),'PnTdX':_0x43011a(0x1ff),'ygNIc':_0x43011a(0x21d),'OzYSh':'close'},_0x235cae=new BrowserStackSetup(_0x511861);if(!_0x235cae['config'])return;const _0x231594=_0x2e6588[_0x43011a(0x226)](getUserNightwatchConfigs,_0x511861,_0x1a2d3e),_0x2945b2={};_0x2945b2[_0x43011a(0x22a)]=![];const _0x3ccabd={};_0x3ccabd[_0x43011a(0x1fc)]=_0x2e6588[_0x43011a(0x210)],_0x3ccabd[_0x43011a(0x20a)]=0x1bb;const _0x10d769={};_0x10d769[_0x43011a(0x1ec)]=_0x2945b2,_0x10d769[_0x43011a(0x20e)]=_0x3ccabd;const _0x5e15ba=_0x10d769;logger[_0x43011a(0x207)](_0x2e6588['OHOnY']);const _0x5e5010={..._0x231594},_0x45955d=_0x5e5010,_0x54a5fa=helper[_0x43011a(0x205)](_0x235cae[_0x43011a(0x20b)]),_0x47ac0b=[];_0x235cae[_0x43011a(0x20b)][_0x43011a(0x206)][_0x43011a(0x213)]((_0x51e485,_0x8630eb)=>{const _0x49a395=_0x43011a;_0x54a5fa?_0x47ac0b[_0x49a395(0x224)](helper[_0x49a395(0x22c)](_0x235cae[_0x49a395(0x20b)],_0x2e6588['oqWvR'],_0x8630eb)):_0x47ac0b[_0x49a395(0x224)](helper[_0x49a395(0x211)](_0x235cae[_0x49a395(0x20b)],_0x2e6588[_0x49a395(0x1f4)],_0x8630eb));});const _0x20da66={},_0x3286d7=[];_0x511861[_0x43011a(0x231)]=_0x511861['env']||_0x511861['e'];const _0x2d4dbe=_0x511861[_0x43011a(0x231)]?_0x511861[_0x43011a(0x231)][_0x43011a(0x225)]()['split'](',')[_0x43011a(0x21f)](_0x395a2f=>_0x395a2f[_0x43011a(0x225)]())[_0x43011a(0x1f0)](_0x522bf0=>_0x522bf0!==''):[''];_0x2e6588[_0x43011a(0x1f7)](_0x2d4dbe[_0x43011a(0x1eb)],0x0)&&_0x2d4dbe[_0x43011a(0x224)]('');_0x2d4dbe[_0x43011a(0x213)](_0x2c516d=>{const _0x93f6e3=_0x43011a;_0x47ac0b[_0x93f6e3(0x213)](_0x3b77f9=>{const _0x4b3976=_0x93f6e3;let _0x289f3e=_0x2e6588[_0x4b3976(0x216)](helper[_0x4b3976(0x21a)](_0x3b77f9,'_'),'_'+Date[_0x4b3976(0x235)]());_0x2c516d&&(_0x289f3e+='_'+_0x2c516d);if(_0x2c516d&&(!_0x231594[_0x2e6588['EFJum']]||!_0x231594[_0x2e6588['EFJum']][_0x2c516d]))return;const _0x1434f={..._0x5e15ba};_0x1434f['desiredCapabilities']=_0x3b77f9;const _0x2748c0=_0x1434f;_0x20da66[_0x289f3e]=_0x2c516d?helper['mergeDeep'](_0x231594[_0x2e6588[_0x4b3976(0x208)]][_0x2c516d],_0x2748c0):_0x2748c0,_0x3286d7[_0x4b3976(0x224)](_0x289f3e);});});!_0x45955d[_0x43011a(0x227)]&&(_0x45955d[_0x43011a(0x227)]={});_0x45955d[_0x43011a(0x227)]={..._0x45955d[_0x43011a(0x227)],..._0x20da66};const _0x47b880=path[_0x43011a(0x215)](__dirname,_0x2e6588[_0x43011a(0x222)]);fs[_0x43011a(0x1f8)](_0x47b880,JSON[_0x43011a(0x20f)](_0x45955d)),_0x2e6588['CjVVa'](removeExistingEnvs,_0x1a2d3e);const _0x5a71cb=_0x2e6588['TLsYH'](spawn,/^win/[_0x43011a(0x22f)](process[_0x43011a(0x1fa)])?_0x2e6588['OwrHe']:_0x2e6588['oqWvR'],[_0x2e6588['jOBrY'],_0x47b880,..._0x1a2d3e['slice'](0x1),_0x2e6588[_0x43011a(0x1f6)],_0x3286d7[_0x43011a(0x215)](',')],{'stdio':_0x2e6588['ygNIc']});_0x5a71cb['on'](_0x2e6588[_0x43011a(0x234)],async _0x361c59=>{const _0x26cc20=_0x43011a;logger[_0x26cc20(0x22b)](_0x26cc20(0x20d)+_0x361c59),logger['info'](_0x26cc20(0x219)+_0x47b880),fs['unlinkSync'](_0x47b880);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x5834a0=a32_0x13bf;(function(_0x2623d6,_0x342c90){const _0x398008=a32_0x13bf,_0x2f9e7c=_0x2623d6();while(!![]){try{const _0x20ed6d=parseInt(_0x398008(0x1fc))/0x1*(-parseInt(_0x398008(0x24a))/0x2)+-parseInt(_0x398008(0x252))/0x3+-parseInt(_0x398008(0x1f9))/0x4+parseInt(_0x398008(0x1f4))/0x5+parseInt(_0x398008(0x241))/0x6+parseInt(_0x398008(0x245))/0x7+parseInt(_0x398008(0x213))/0x8*(parseInt(_0x398008(0x207))/0x9);if(_0x20ed6d===_0x342c90)break;else _0x2f9e7c['push'](_0x2f9e7c['shift']());}catch(_0x5a4191){_0x2f9e7c['push'](_0x2f9e7c['shift']());}}}(a32_0x238d,0x6f39b));function a32_0x238d(){const _0x5e78c1=['ZNiGk','playwright-chromium','thIiY','error','bprpR','87712ggbNNg','browserStackEvaluate','project','uTsBp','dDNAh','leTvN','executeAsyncScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','(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','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','executeScript','tfPTg','hqEUF','setAccessibilityCapabilities','VaSwb','../../helpers/logger','fvnMZ','replace','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','WExqg','rNCGe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','constructor','bstackSdkArgs','ovvVX','wcagVersion','pAVwO','stringify','dANTC','DfOmG','njDcg','scannerVersion','Playwright','nBdxQ','KDnkI','zhbEQ','accessibilityOptions.wcagVersion','method','chrome','../../helpers/helper','deviceName','../../helpers/accessibility-automation/helper','browserName','evaluate','getAccessibilityResults','2401860gEOSDF','needsReview','bestPractice','warn','1427216lTthla','WebDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','No\x20summaryResults\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','36364jRQwgT','yrQDH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','includeIssueType','name','cmEzC','izOyk','YMjhv','232731XlnGvo','accessibilityOptions.scannerProcessingTimeout','parse','LAJOz','use','uPWSR','format','browser','testInfo','connectOptions','browserStackExecuteDriver','1032965yinqIm','gbrpH','VdeKG','scannerProcessingTimeout','wsEndpoint','2816900oaANvH','BS_A11Y_JWT','latest','29pkebyp','accessibilityPlatform','GAIXt','browserstack.accessibility','accessibilityOptions.includeIssueType.needsReview','debug','No\x20accessibility\x20results\x20were\x20found.','env','winstonLogger','accessibilityOptions','jBaxe','783CsbVgh','BBSWM','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','hYVac','ZbGjr','browser_version','getAccessibilityResultsSummary'];a32_0x238d=function(){return _0x5e78c1;};return a32_0x238d();}const util=require('util'),logger=require(a32_0x5834a0(0x223))[a32_0x5834a0(0x204)],{isAccessibilityAutomationSession}=require(a32_0x5834a0(0x23d)),{isUndefined}=require(a32_0x5834a0(0x23b)),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x13bf(_0xd56386,_0x143b1a){const _0x238d75=a32_0x238d();return a32_0x13bf=function(_0x13bfac,_0x25286f){_0x13bfac=_0x13bfac-0x1ed;let _0x330bc7=_0x238d75[_0x13bfac];return _0x330bc7;},a32_0x13bf(_0xd56386,_0x143b1a);}exports[a32_0x5834a0(0x214)]=async(_0x40dbf1,_0x760564,_0x5cbf85={})=>{const _0x3063d1=a32_0x5834a0,_0x4033d1={};_0x4033d1[_0x3063d1(0x1ee)]=_0x3063d1(0x22b);const _0x3a8b91=_0x4033d1;return await _0x40dbf1[_0x3063d1(0x23f)]('(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'+_0x760564[_0x3063d1(0x225)](/arguments/g,_0x3a8b91[_0x3063d1(0x1ee)])+_0x3063d1(0x247)+JSON['stringify'](_0x5cbf85)+')');},exports[a32_0x5834a0(0x1f3)]=async(_0xd32eb2,_0x3e98bc,_0x45b9b2={})=>{const _0x411fe0=a32_0x5834a0,_0x5207bf={};_0x5207bf[_0x411fe0(0x208)]=function(_0x3b3ea7,_0x411536){return _0x3b3ea7===_0x411536;},_0x5207bf['pAVwO']=_0x411fe0(0x246),_0x5207bf[_0x411fe0(0x206)]=function(_0x111dc3,_0xfe11f){return _0x111dc3===_0xfe11f;},_0x5207bf[_0x411fe0(0x255)]=_0x411fe0(0x234),_0x5207bf[_0x411fe0(0x217)]=_0x411fe0(0x22b);const _0x19be1f=_0x5207bf;if(_0x19be1f[_0x411fe0(0x208)](_0xd32eb2['constructor'][_0x411fe0(0x24e)],_0x19be1f[_0x411fe0(0x22e)]))return await _0xd32eb2[_0x411fe0(0x219)](_0x3e98bc,_0x45b9b2);else{if(_0x19be1f['jBaxe'](_0xd32eb2[_0x411fe0(0x22a)]['name'],_0x19be1f[_0x411fe0(0x255)]))return await _0xd32eb2[_0x411fe0(0x21e)](_0x411fe0(0x21c)+_0x3e98bc[_0x411fe0(0x225)](/arguments/g,_0x19be1f[_0x411fe0(0x217)])+_0x411fe0(0x226)+JSON[_0x411fe0(0x22f)](_0x45b9b2)+')');}},exports[a32_0x5834a0(0x221)]=async _0x1aba8f=>{const _0x5f67c7=a32_0x5834a0,_0x55c80c={};_0x55c80c[_0x5f67c7(0x212)]=_0x5f67c7(0x238),_0x55c80c[_0x5f67c7(0x232)]=_0x5f67c7(0x253),_0x55c80c[_0x5f67c7(0x236)]='accessibilityOptions.includeIssueType.bestPractice',_0x55c80c[_0x5f67c7(0x24b)]=_0x5f67c7(0x200),_0x55c80c[_0x5f67c7(0x20b)]='accessibilityOptions.authToken',_0x55c80c[_0x5f67c7(0x22c)]='accessibilityOptions.scannerVersion';const _0x4864b4=_0x55c80c;_0x1aba8f['accessibilityOptions']&&(_0x1aba8f[_0x5f67c7(0x205)]['wcagVersion']&&(_0x1aba8f[_0x4864b4[_0x5f67c7(0x212)]]=_0x1aba8f[_0x5f67c7(0x205)][_0x5f67c7(0x22d)]),_0x1aba8f[_0x5f67c7(0x205)]['scannerProcessingTimeout']&&(_0x1aba8f[_0x4864b4[_0x5f67c7(0x232)]]=_0x1aba8f['accessibilityOptions'][_0x5f67c7(0x1f7)]),_0x1aba8f[_0x5f67c7(0x205)]['includeIssueType']&&(_0x1aba8f[_0x4864b4[_0x5f67c7(0x236)]]=_0x1aba8f[_0x5f67c7(0x205)][_0x5f67c7(0x24d)][_0x5f67c7(0x243)],_0x1aba8f[_0x4864b4['yrQDH']]=_0x1aba8f[_0x5f67c7(0x205)][_0x5f67c7(0x24d)][_0x5f67c7(0x242)]));const _0x276855=JSON[_0x5f67c7(0x254)](process['env'][_0x5f67c7(0x24c)])[_0x5f67c7(0x233)];_0x1aba8f[_0x4864b4['ZbGjr']]=process[_0x5f67c7(0x203)][_0x5f67c7(0x1fa)],_0x1aba8f[_0x4864b4[_0x5f67c7(0x22c)]]=_0x276855,delete _0x1aba8f['accessibilityOptions'];},exports[a32_0x5834a0(0x240)]=async _0x17c230=>{const _0x250971=a32_0x5834a0,_0x3b459f={};_0x3b459f[_0x250971(0x210)]=_0x250971(0x202),_0x3b459f['DfOmG']=_0x250971(0x21b);const _0x4b669a=_0x3b459f;if(global[_0x250971(0x1fd)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x17c230,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x17c230,scripts.getResults);return res;}catch{return logger[_0x250971(0x211)](_0x4b669a['thIiY']),[];}else return logger[_0x250971(0x244)](_0x4b669a[_0x250971(0x231)]),[];},exports['performScan']=async(_0x4deddd,_0x2b2e57='')=>{const _0x2cb4ec=a32_0x5834a0;if(global[_0x2cb4ec(0x1fd)]){const _0x2e6d4e={};return _0x2e6d4e[_0x2cb4ec(0x239)]=_0x2b2e57,await exports['browserStackEvaluate'](_0x4deddd,scripts['performScan'],_0x2e6d4e);}},exports[a32_0x5834a0(0x20d)]=async _0x53b562=>{const _0x3c2d9f=a32_0x5834a0,_0xd161dc={};_0xd161dc['gbrpH']=_0x3c2d9f(0x248),_0xd161dc['zhbEQ']=_0x3c2d9f(0x229);const _0x3d39ca=_0xd161dc;if(global[_0x3c2d9f(0x1fd)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x53b562,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x53b562,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x3d39ca[_0x3c2d9f(0x1f5)]),{};}else return logger['warn'](_0x3d39ca[_0x3c2d9f(0x237)]),{};},exports['platformValidation']=async _0x4ebb1e=>{const _0x153da6=a32_0x5834a0,_0x515d20={'hYVac':function(_0x29b028,_0x123f0c){return _0x29b028!==_0x123f0c;},'VaSwb':_0x153da6(0x21a),'uTsBp':function(_0x2c9604,_0x485f72){return _0x2c9604===_0x485f72;},'leTvN':_0x153da6(0x23a),'VdeKG':_0x153da6(0x20f),'ZNiGk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','jaCRv':function(_0x39e07f,_0xfedfa5){return _0x39e07f(_0xfedfa5);},'izOyk':function(_0x4e5aa9,_0x1494e8){return _0x4e5aa9===_0x1494e8;},'dANTC':_0x153da6(0x1fb),'vITiX':function(_0xc6bd61,_0x5b8954){return _0xc6bd61>_0x5b8954;},'fvnMZ':_0x153da6(0x21d)};try{if(!_0x515d20[_0x153da6(0x20a)](_0x4ebb1e['deviceName'],''))return logger[_0x153da6(0x244)](_0x515d20[_0x153da6(0x222)]),![];const _0x207730=_0x4ebb1e[_0x153da6(0x1f0)];if(!(_0x515d20[_0x153da6(0x216)](_0x207730,_0x515d20[_0x153da6(0x218)])||_0x515d20[_0x153da6(0x216)](_0x207730,_0x515d20[_0x153da6(0x1f6)])))return logger[_0x153da6(0x244)](_0x515d20[_0x153da6(0x20e)]),![];const _0x2ad93c=_0x515d20['jaCRv'](parseInt,_0x4ebb1e[_0x153da6(0x20c)]);if(!(_0x515d20[_0x153da6(0x250)](_0x2ad93c,_0x515d20[_0x153da6(0x230)])||_0x515d20['vITiX'](_0x2ad93c,0x5e)))return logger[_0x153da6(0x244)](_0x515d20[_0x153da6(0x224)]),![];}catch(_0x16fb23){logger[_0x153da6(0x201)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x153da6(0x1ef)](_0x16fb23));}return!![];},exports['processAccessibilityCaps']=(_0x54c5be,_0x4f97f6,_0x21cf23)=>{const _0x30d3e7=a32_0x5834a0,_0xf7bafc={'YMjhv':function(_0x1f68ee){return _0x1f68ee();},'tfPTg':_0x30d3e7(0x1ff),'WExqg':function(_0x173996,_0x423791){return _0x173996===_0x423791;},'ukDNk':_0x30d3e7(0x23a),'zCSGo':_0x30d3e7(0x20f),'GAIXt':_0x30d3e7(0x249),'laiSY':function(_0x45932b,_0x5580ef){return _0x45932b===_0x5580ef;},'nBdxQ':_0x30d3e7(0x1fb),'EruFd':function(_0x5d650a,_0x3f7a1e){return _0x5d650a>_0x3f7a1e;},'hqEUF':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','rNCGe':function(_0x1d94a5,_0xb3682d){return _0x1d94a5(_0xb3682d);},'cmEzC':_0x30d3e7(0x21a),'MIxHA':function(_0x25823e,_0x195f71){return _0x25823e+_0x195f71;}};try{if(_0xf7bafc[_0x30d3e7(0x251)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x54c5be[_0xf7bafc['tfPTg']]&&(global['accessibilityPlatform']=![]);!(_0xf7bafc[_0x30d3e7(0x227)](_0x54c5be[_0x30d3e7(0x23e)],_0xf7bafc['ukDNk'])||_0xf7bafc['WExqg'](_0x54c5be['browserName'],_0xf7bafc['zCSGo']))&&(logger[_0x30d3e7(0x244)](_0xf7bafc[_0x30d3e7(0x1fe)]),global['accessibilityPlatform']=![]);!(_0xf7bafc['laiSY'](_0x54c5be[_0x30d3e7(0x20c)],_0xf7bafc[_0x30d3e7(0x235)])||_0xf7bafc['EruFd'](_0x54c5be['browser_version'],0x5e))&&(logger[_0x30d3e7(0x244)](_0xf7bafc[_0x30d3e7(0x220)]),global['accessibilityPlatform']=![]);!_0xf7bafc[_0x30d3e7(0x228)](isUndefined,_0x54c5be[_0x30d3e7(0x23c)])&&(logger[_0x30d3e7(0x244)](_0xf7bafc[_0x30d3e7(0x24f)]),global[_0x30d3e7(0x1fd)]=![]);if(!global['accessibilityPlatform']){_0x54c5be[_0xf7bafc[_0x30d3e7(0x21f)]]=![];const _0x1b832c=_0xf7bafc['MIxHA'](_0x4f97f6,_0xf7bafc[_0x30d3e7(0x228)](encodeURIComponent,JSON[_0x30d3e7(0x22f)](_0x54c5be)));_0x21cf23&&(_0x21cf23['currentTest'][_0x30d3e7(0x1f1)][_0x30d3e7(0x215)][_0x30d3e7(0x1ed)][_0x30d3e7(0x1f2)][_0x30d3e7(0x1f8)]=_0x1b832c);}}}catch(_0xc63881){logger[_0x30d3e7(0x201)](_0x30d3e7(0x209)+util[_0x30d3e7(0x1ef)](_0xc63881));}};
|
|
1
|
+
const a33_0x2d24b2=a33_0x3a5e;(function(_0x5e9d84,_0x4c7195){const _0x5539be=a33_0x3a5e,_0x5d5b13=_0x5e9d84();while(!![]){try{const _0x378599=-parseInt(_0x5539be(0x132))/0x1*(parseInt(_0x5539be(0x141))/0x2)+-parseInt(_0x5539be(0x160))/0x3+parseInt(_0x5539be(0x131))/0x4+parseInt(_0x5539be(0x158))/0x5+parseInt(_0x5539be(0x15b))/0x6+parseInt(_0x5539be(0x15a))/0x7+-parseInt(_0x5539be(0x17f))/0x8*(-parseInt(_0x5539be(0x159))/0x9);if(_0x378599===_0x4c7195)break;else _0x5d5b13['push'](_0x5d5b13['shift']());}catch(_0x3708a3){_0x5d5b13['push'](_0x5d5b13['shift']());}}}(a33_0x4609,0xdbb80));const util=require(a33_0x2d24b2(0x151)),logger=require(a33_0x2d24b2(0x163))[a33_0x2d24b2(0x13b)],{isAccessibilityAutomationSession}=require(a33_0x2d24b2(0x173)),{isUndefined}=require(a33_0x2d24b2(0x14e)),scripts=require(a33_0x2d24b2(0x150));function a33_0x4609(){const _0x40e333=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserName','browserstack.accessibility','accessibilityOptions.scannerVersion','processAccessibilityCaps','(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','ESlbv','bestPractice','accessibilityOptions.wcagVersion','NKFNj','accessibilityOptions.includeIssueType.bestPractice','NRuGY','1596584jKQCZH','2vgctDt','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','format','currentTest','stringify','AKWPa','method','accessibilityOptions.authToken','YMWSZ','winstonLogger','bstackSdkArgs','wcagVersion','project','MvQEy','elAfo','749326smPHdF','accessibilityOptions','accessibilityPlatform','wsEndpoint','jXXTf','(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','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','gGPjS','Yuanf','browser_version','includeIssueType','accessibilityOptions.includeIssueType.needsReview','rIQUy','../../helpers/helper','vALDm','../../helpers/accessibility-automation/scripts','util','JgvAi','debug','UsLWr','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','use','DiJjf','3690550RrNayV','9NVOeAj','10953985rnLZOy','102042KFxmKq','No\x20accessibility\x20results\x20were\x20found.','No\x20summaryResults\x20found.','error','deviceName','5341548vywuJe','eKotk','iJlRI','../../helpers/logger','platformValidation','Playwright','WJdRF','executeScript','scannerProcessingTimeout','env','AbuIS','playwright-chromium','warn','XAMOv','BS_A11Y_JWT','DJaFW','browserStackExecuteDriver','AlvxV','replace','../../helpers/accessibility-automation/helper','latest','browserStackEvaluate','CXoYc','LlxdT','accessibilityOptions.scannerProcessingTimeout','chrome','UEshF','ltaLD','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','CIlXG','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','5685536ZBOmNE','testInfo','getAccessibilityResultsSummary','WWjOD','performScan','constructor','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','vEwrn','WebDriver','parse'];a33_0x4609=function(){return _0x40e333;};return a33_0x4609();}function a33_0x3a5e(_0x1d1d7b,_0x457274){const _0x460931=a33_0x4609();return a33_0x3a5e=function(_0x3a5e09,_0x5c8c7b){_0x3a5e09=_0x3a5e09-0x128;let _0x4eee7e=_0x460931[_0x3a5e09];return _0x4eee7e;},a33_0x3a5e(_0x1d1d7b,_0x457274);}exports[a33_0x2d24b2(0x175)]=async(_0x52aa52,_0xdf2d3,_0x25275c={})=>{const _0x3e5005=a33_0x2d24b2,_0x5e0f54={};_0x5e0f54[_0x3e5005(0x162)]=_0x3e5005(0x13c);const _0x6f3fd3=_0x5e0f54;return await _0x52aa52['evaluate'](_0x3e5005(0x146)+_0xdf2d3[_0x3e5005(0x172)](/arguments/g,_0x6f3fd3[_0x3e5005(0x162)])+_0x3e5005(0x17e)+JSON[_0x3e5005(0x136)](_0x25275c)+')');},exports[a33_0x2d24b2(0x170)]=async(_0x26818d,_0xaaa19f,_0xc5b4c7={})=>{const _0x4c8456=a33_0x2d24b2,_0x3ddca8={};_0x3ddca8[_0x4c8456(0x14f)]=function(_0x4a475e,_0x2dac0e){return _0x4a475e===_0x2dac0e;},_0x3ddca8[_0x4c8456(0x14d)]=_0x4c8456(0x187),_0x3ddca8['AbuIS']=_0x4c8456(0x165),_0x3ddca8[_0x4c8456(0x166)]='bstackSdkArgs';const _0x1b98a5=_0x3ddca8;if(_0x1b98a5[_0x4c8456(0x14f)](_0x26818d['constructor']['name'],_0x1b98a5[_0x4c8456(0x14d)]))return await _0x26818d['executeAsyncScript'](_0xaaa19f,_0xc5b4c7);else{if(_0x1b98a5['vALDm'](_0x26818d[_0x4c8456(0x184)]['name'],_0x1b98a5[_0x4c8456(0x16a)]))return await _0x26818d[_0x4c8456(0x167)](_0x4c8456(0x12a)+_0xaaa19f['replace'](/arguments/g,_0x1b98a5['WJdRF'])+_0x4c8456(0x155)+JSON[_0x4c8456(0x136)](_0xc5b4c7)+')');}},exports['setAccessibilityCapabilities']=async _0x8913d2=>{const _0x422cd4=a33_0x2d24b2,_0x586b31={};_0x586b31[_0x422cd4(0x177)]=_0x422cd4(0x12d),_0x586b31[_0x422cd4(0x145)]=_0x422cd4(0x178),_0x586b31[_0x422cd4(0x12e)]=_0x422cd4(0x12f),_0x586b31[_0x422cd4(0x12b)]=_0x422cd4(0x14c),_0x586b31['ltaLD']=_0x422cd4(0x139),_0x586b31[_0x422cd4(0x137)]=_0x422cd4(0x128);const _0x15cd19=_0x586b31;_0x8913d2[_0x422cd4(0x142)]&&(_0x8913d2['accessibilityOptions'][_0x422cd4(0x13d)]&&(_0x8913d2[_0x15cd19[_0x422cd4(0x177)]]=_0x8913d2['accessibilityOptions'][_0x422cd4(0x13d)]),_0x8913d2[_0x422cd4(0x142)][_0x422cd4(0x168)]&&(_0x8913d2[_0x15cd19['jXXTf']]=_0x8913d2['accessibilityOptions'][_0x422cd4(0x168)]),_0x8913d2[_0x422cd4(0x142)][_0x422cd4(0x14b)]&&(_0x8913d2[_0x15cd19['NKFNj']]=_0x8913d2[_0x422cd4(0x142)]['includeIssueType'][_0x422cd4(0x12c)],_0x8913d2[_0x15cd19[_0x422cd4(0x12b)]]=_0x8913d2[_0x422cd4(0x142)][_0x422cd4(0x14b)]['needsReview']));const _0x2f3981=JSON[_0x422cd4(0x188)](process[_0x422cd4(0x169)][_0x422cd4(0x189)])['scannerVersion'];_0x8913d2[_0x15cd19[_0x422cd4(0x17b)]]=process['env'][_0x422cd4(0x16e)],_0x8913d2[_0x15cd19[_0x422cd4(0x137)]]=_0x2f3981,delete _0x8913d2[_0x422cd4(0x142)];},exports['getAccessibilityResults']=async _0x44d8bd=>{const _0x28b297=a33_0x2d24b2,_0x5f44cd={};_0x5f44cd['WPJaz']=_0x28b297(0x15c),_0x5f44cd['eKotk']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0xdd02f1=_0x5f44cd;if(global[_0x28b297(0x143)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x44d8bd,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x44d8bd,scripts.getResults);return res;}catch{return logger[_0x28b297(0x15e)](_0xdd02f1['WPJaz']),[];}else return logger['warn'](_0xdd02f1[_0x28b297(0x161)]),[];},exports[a33_0x2d24b2(0x183)]=async(_0x216ad0,_0x4765cf='')=>{const _0x3297e4=a33_0x2d24b2;if(global[_0x3297e4(0x143)]){const _0x386b58={};return _0x386b58[_0x3297e4(0x138)]=_0x4765cf,await exports[_0x3297e4(0x175)](_0x216ad0,scripts[_0x3297e4(0x183)],_0x386b58);}},exports[a33_0x2d24b2(0x181)]=async _0x54a7ce=>{const _0x102166=a33_0x2d24b2,_0x53e412={};_0x53e412['JgvAi']=_0x102166(0x15d),_0x53e412[_0x102166(0x130)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x413d91=_0x53e412;if(global[_0x102166(0x143)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x54a7ce,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x54a7ce,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x102166(0x153)](_0x413d91[_0x102166(0x152)]),{};}else return logger[_0x102166(0x16c)](_0x413d91[_0x102166(0x130)]),{};},exports[a33_0x2d24b2(0x164)]=async _0x3c56a4=>{const _0x330044=a33_0x2d24b2,_0x454624={'kvOxX':function(_0x398d49,_0x5e4d62){return _0x398d49!==_0x5e4d62;},'elAfo':_0x330044(0x17c),'YMWSZ':function(_0x6bb715,_0x323164){return _0x6bb715===_0x323164;},'CIlXG':'chrome','UsLWr':_0x330044(0x16b),'WWjOD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','CXoYc':function(_0x4aa0c9,_0x13009d){return _0x4aa0c9(_0x13009d);},'uMruA':function(_0x3f20f5,_0x5abc4d){return _0x3f20f5===_0x5abc4d;},'MvQEy':'latest','DJaFW':function(_0x4163fa,_0x217de7){return _0x4163fa>_0x217de7;},'AlvxV':_0x330044(0x133)};try{if(!_0x454624['kvOxX'](_0x3c56a4[_0x330044(0x15f)],''))return logger[_0x330044(0x16c)](_0x454624[_0x330044(0x140)]),![];const _0x55f77c=_0x3c56a4['browser'];if(!(_0x454624['YMWSZ'](_0x55f77c,_0x454624[_0x330044(0x17d)])||_0x454624[_0x330044(0x13a)](_0x55f77c,_0x454624[_0x330044(0x154)])))return logger[_0x330044(0x16c)](_0x454624[_0x330044(0x182)]),![];const _0x2b0706=_0x454624[_0x330044(0x176)](parseInt,_0x3c56a4[_0x330044(0x14a)]);if(!(_0x454624['uMruA'](_0x2b0706,_0x454624[_0x330044(0x13f)])||_0x454624[_0x330044(0x16f)](_0x2b0706,0x5e)))return logger[_0x330044(0x16c)](_0x454624[_0x330044(0x171)]),![];}catch(_0x2ca58b){logger[_0x330044(0x153)](_0x330044(0x185)+util[_0x330044(0x134)](_0x2ca58b));}return!![];},exports[a33_0x2d24b2(0x129)]=(_0x19a29a,_0x49fc8f,_0x57820c)=>{const _0x51be19=a33_0x2d24b2,_0x56bb4f={'vEwrn':function(_0x460c19){return _0x460c19();},'DiJjf':_0x51be19(0x18b),'HoIJR':function(_0x507155,_0x31bb04){return _0x507155===_0x31bb04;},'Yuanf':_0x51be19(0x179),'UEshF':function(_0x2c52d3,_0x294b59){return _0x2c52d3===_0x294b59;},'OMagP':_0x51be19(0x16b),'OTvqb':_0x51be19(0x147),'gGPjS':_0x51be19(0x174),'XAMOv':function(_0x518cf5,_0x477ef1){return _0x518cf5>_0x477ef1;},'SDKeX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','CpikB':function(_0x1412cf,_0x540333){return _0x1412cf(_0x540333);},'dIWAg':_0x51be19(0x17c),'hqUUW':function(_0x16d341,_0x31dfdb){return _0x16d341+_0x31dfdb;}};try{if(_0x56bb4f[_0x51be19(0x186)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x19a29a[_0x56bb4f[_0x51be19(0x157)]]&&(global['accessibilityPlatform']=![]);!(_0x56bb4f['HoIJR'](_0x19a29a[_0x51be19(0x18a)],_0x56bb4f[_0x51be19(0x149)])||_0x56bb4f['UEshF'](_0x19a29a[_0x51be19(0x18a)],_0x56bb4f['OMagP']))&&(logger[_0x51be19(0x16c)](_0x56bb4f['OTvqb']),global[_0x51be19(0x143)]=![]);!(_0x56bb4f[_0x51be19(0x17a)](_0x19a29a[_0x51be19(0x14a)],_0x56bb4f[_0x51be19(0x148)])||_0x56bb4f[_0x51be19(0x16d)](_0x19a29a[_0x51be19(0x14a)],0x5e))&&(logger[_0x51be19(0x16c)](_0x56bb4f['SDKeX']),global['accessibilityPlatform']=![]);!_0x56bb4f['CpikB'](isUndefined,_0x19a29a[_0x51be19(0x15f)])&&(logger[_0x51be19(0x16c)](_0x56bb4f['dIWAg']),global[_0x51be19(0x143)]=![]);if(!global[_0x51be19(0x143)]){_0x19a29a[_0x56bb4f[_0x51be19(0x157)]]=![];const _0x36a6b7=_0x56bb4f['hqUUW'](_0x49fc8f,_0x56bb4f['CpikB'](encodeURIComponent,JSON[_0x51be19(0x136)](_0x19a29a)));_0x57820c&&(_0x57820c[_0x51be19(0x135)][_0x51be19(0x180)][_0x51be19(0x13e)][_0x51be19(0x156)]['connectOptions'][_0x51be19(0x144)]=_0x36a6b7);}}}catch(_0x21cdc9){logger[_0x51be19(0x153)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x51be19(0x134)](_0x21cdc9));}};
|