browserstack-node-sdk 1.32.9 → 1.32.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/CFTemplates/aws-eks-cluster-dep.yaml +6 -1
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/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.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/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/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40_0x1e91dc=a40_0x55d0;function a40_0x55d0(_0x430ade,_0x577484){const _0x2fdfd2=a40_0x2fdf();return a40_0x55d0=function(_0x55d05f,_0x2bde8e){_0x55d05f=_0x55d05f-0x74;let _0x37cc26=_0x2fdfd2[_0x55d05f];return _0x37cc26;},a40_0x55d0(_0x430ade,_0x577484);}(function(_0x408134,_0x58457d){const _0x20d706=a40_0x55d0,_0x831577=_0x408134();while(!![]){try{const _0x321563=parseInt(_0x20d706(0xdc))/0x1+parseInt(_0x20d706(0x96))/0x2*(parseInt(_0x20d706(0x94))/0x3)+-parseInt(_0x20d706(0xdb))/0x4+parseInt(_0x20d706(0x9f))/0x5*(parseInt(_0x20d706(0xa9))/0x6)+-parseInt(_0x20d706(0x93))/0x7+-parseInt(_0x20d706(0x9d))/0x8*(parseInt(_0x20d706(0xdf))/0x9)+parseInt(_0x20d706(0xc0))/0xa;if(_0x321563===_0x58457d)break;else _0x831577['push'](_0x831577['shift']());}catch(_0x4cda98){_0x831577['push'](_0x831577['shift']());}}}(a40_0x2fdf,0xbdd7d));function a40_0x2fdf(){const _0x588465=['yTzSM','Failed\x20to\x20perform\x20scan\x20','product','VCKBT','_connection','automate','oEygJ','Error\x20in\x20importing\x20crConnection','local_grid','browserName','nxHzf','debug','Connection','bDxXj','bULpo','getDetails','juJMY','platform_version','15996690IMLWyz','../../helpers/logger','__workerDetails','../../helpers/test-observability/utils','wGuqG','ljwaD','cexhU','iCiPy','SHzpQ','CRConnection','zNwiA','toLowerCase','JBaZm','edRRA','platformName','bstackPerformA11yScan','_browserType','Error\x20in\x20importing\x20connection\x20','setupBrowserDetails','_onMessage','_type','dispatch','cloudProvider','firefox','tMENO','chromium','bsSessionId','3608460pZRETk','624618VweFds','titlePath','Wvtxn','9679041rkaZEk','../../helpers/accessibility-automation/helper','testInfo','hHXBF','includes','hiEtS','../../bin/playwright/accessibility-helper','VDBqg','client','EKMLI','RlyqM','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','winstonLogger','bciUY','channel','jUSZQ','WoeqQ','patchCRConnection','tIDwN','jTyyC','server','aeKFX','format','parse','platform','EwaJN','browserstack.com','AErBm','platformDetails','caps','performScan','IqYpI','../../helpers/helper','method','bStackParams','lib','dNTFI','platformVersion','BROWSERSTACK_TEST_OBSERVABILITY','sendMessageToServer','sessionId','currentTest','version','connectOptions','browser','join','isRemote','path','Uloqk','SWNhs','ZacxY','ORfXw','safari','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','bsParams','Error\x20in\x20finding\x20platform\x20details\x20','oLbyv','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','unknown_grid','sWJor','wsEndpoint','currentSessionDetails','_name','project','pwJDZ','EAKFA','accessibilityPlatform','apply','pageFixture','nBuaq','PVJxF','QiQFZ','mlWGu','params','toString','mrsbG','Setting\x20session\x20id\x20received\x20from\x20BS\x20','./accessibility-helper','patch','dBPhT','browser_version','FZGxc','__driver','QYogu','use','Tbprq','defineProperty','7029876EwgaEM','12Dcqtre','capabilities','274502pLoPZv','sessionError','woSeG','_defaultConnectOptions','HLzVq','patchConnection','entries','8DhTjWS','url','2465345EJaEkN','CLNjA','eJfTl','LtcqF','shouldWrapCommand','fNuBc','TtlWX','Page','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','ymhSh','12lJQzkS','prototype','browserstack','connection.js','ZKVci'];a40_0x2fdf=function(){return _0x588465;};return a40_0x2fdf();}const path=require(a40_0x1e91dc(0x10e)),url=require(a40_0x1e91dc(0x9e)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a40_0x1e91dc(0xff)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a40_0x1e91dc(0xc3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a40_0x1e91dc(0xe0)),logger=require(a40_0x1e91dc(0xc1))[a40_0x1e91dc(0xeb)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a40_0x1e91dc(0xe5)),AccessibilityHelper=require(a40_0x1e91dc(0x89)),getBrowserNameFromChannel=_0x49a42d=>{const _0x1d9efb=a40_0x1e91dc,_0x409688={};_0x409688[_0x1d9efb(0x7d)]='chrome',_0x409688['CLNjA']='edge',_0x409688[_0x1d9efb(0xd8)]=_0x1d9efb(0xd7),_0x409688[_0x1d9efb(0x9a)]=_0x1d9efb(0x113);const _0xe2af5b=_0x409688;if(_0x49a42d[_0x1d9efb(0xe3)](_0xe2af5b[_0x1d9efb(0x7d)]))return _0xe2af5b['EAKFA'];if(_0x49a42d['includes'](_0xe2af5b['CLNjA']))return _0xe2af5b[_0x1d9efb(0xa0)];if(_0x49a42d['includes'](_0xe2af5b[_0x1d9efb(0xd8)]))return _0xe2af5b[_0x1d9efb(0xd8)];if(_0x49a42d[_0x1d9efb(0xe3)](_0xe2af5b[_0x1d9efb(0x9a)]))return _0xe2af5b['HLzVq'];},getBrowserFromWSEndpoint=_0x264e53=>{const _0x12886d=a40_0x1e91dc,_0x4991f8={'ORfXw':'chrome','PVJxF':function(_0x3399ae,_0x4b3cb5){return _0x3399ae(_0x4b3cb5);}};try{const _0x25f75f=url[_0x12886d(0xf6)](_0x264e53),_0x4d66cf=new URLSearchParams(_0x25f75f['query']),_0x563e13=Object['fromEntries'](_0x4d66cf[_0x12886d(0x9c)]()),_0x4c02ac=JSON[_0x12886d(0xf6)](_0x563e13[_0x12886d(0xfc)]);if(_0x4c02ac&&(_0x4c02ac[_0x12886d(0x10b)]||_0x4c02ac[_0x12886d(0xb7)]))return _0x4c02ac[_0x12886d(0x10b)]||_0x4c02ac[_0x12886d(0xb7)];return _0x4991f8[_0x12886d(0x112)];}catch(_0x262678){_0x4991f8[_0x12886d(0x82)](debug,_0x12886d(0xa7)+_0x262678[_0x12886d(0x86)]());}},getCloudProviderFromWsEndpoint=_0x59da14=>{const _0x5e95e4=a40_0x1e91dc,_0x17293d={};_0x17293d[_0x5e95e4(0xa4)]=_0x5e95e4(0xf9),_0x17293d[_0x5e95e4(0xe6)]=_0x5e95e4(0xab),_0x17293d[_0x5e95e4(0xc8)]=_0x5e95e4(0x76);const _0x1b4420=_0x17293d;if(_0x59da14[_0x5e95e4(0xe3)](_0x1b4420[_0x5e95e4(0xa4)]))return _0x1b4420[_0x5e95e4(0xe6)];return _0x1b4420[_0x5e95e4(0xc8)];},a40_0x1ca264={};a40_0x1ca264[a40_0x1e91dc(0xd6)]=undefined,a40_0x1ca264[a40_0x1e91dc(0xda)]=undefined,a40_0x1ca264[a40_0x1e91dc(0x10b)]=undefined,a40_0x1ca264[a40_0x1e91dc(0x8c)]=undefined,a40_0x1ca264[a40_0x1e91dc(0xf7)]=undefined,a40_0x1ca264[a40_0x1e91dc(0xbf)]=undefined,a40_0x1ca264[a40_0x1e91dc(0xb0)]=undefined,a40_0x1ca264[a40_0x1e91dc(0x95)]={};class PlaywrightSessionDetails{static [a40_0x1e91dc(0x79)]=a40_0x1ca264;constructor(){const _0xf827b5=a40_0x1e91dc,_0x6f21b7={};_0x6f21b7[_0xf827b5(0x81)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x2d16bd=_0x6f21b7;throw new Error(_0x2d16bd[_0xf827b5(0x81)]);}static [a40_0x1e91dc(0x97)]=null;static[a40_0x1e91dc(0xd2)](_0x3959b6,_0x9e1012,_0x20a813=null){const _0x36efcc=a40_0x1e91dc,_0x5068ab={'hiEtS':_0x36efcc(0xb6),'bciUY':function(_0x31a0aa,_0x4455e4,_0x4a442e){return _0x31a0aa(_0x4455e4,_0x4a442e);},'mrsbG':_0x36efcc(0x7b),'bdfpo':_0x36efcc(0x90),'FZGxc':_0x36efcc(0x10a),'NYZoV':function(_0x36cedd,_0x56295c){return _0x36cedd(_0x56295c);},'RlyqM':function(_0x3ea706,_0x59ef5c){return _0x3ea706===_0x59ef5c;},'Uloqk':_0x36efcc(0xab),'JBaZm':_0x36efcc(0xb3),'SWNhs':function(_0x54fa97,_0xd12f7d){return _0x54fa97(_0xd12f7d);},'ZKVci':function(_0x3b7929,_0x916fea){return _0x3b7929+_0x916fea;},'Wvtxn':'playwright-','QYogu':function(_0x12f90f){return _0x12f90f();},'zLoIX':function(_0x28d0c0,_0x785ebd){return _0x28d0c0(_0x785ebd);}},_0x54784b=this;return _0x5068ab['zLoIX'](o11yErrorHandler,async function _0x45e93f(_0x37570d,_0x3af118,_0x5c558f=null){const _0x417d9e=_0x36efcc;let _0xb5b2e9=_0x37570d[_0x417d9e(0x7a)];const _0x39f491=_0x37570d[_0x417d9e(0x109)]();let _0x4740e1=null,_0xc368f4=null,_0x3adab4=null,_0x25f3ee=_0x5068ab[_0x417d9e(0xe4)];if(_0x37570d[_0x417d9e(0xb2)][_0x417d9e(0x10d)]()||global[_0x417d9e(0x7e)]){const _0x22eccb=_0x37570d[_0x417d9e(0xd0)][_0x417d9e(0x99)]||_0x5068ab[_0x417d9e(0xec)](nestedKeyValue,_0x3af118,[_0x5068ab[_0x417d9e(0x87)],_0x5068ab['bdfpo'],_0x5068ab[_0x417d9e(0x8d)]]),_0x7fabeb=_0x5c558f||_0x22eccb&&_0x22eccb[_0x417d9e(0x78)];_0x7fabeb&&(_0x25f3ee=_0x5068ab['NYZoV'](getCloudProviderFromWsEndpoint,_0x7fabeb),_0x5068ab[_0x417d9e(0xe9)](_0x25f3ee,_0x5068ab[_0x417d9e(0x10f)])&&(_0x3adab4=_0x5068ab[_0x417d9e(0xcc)],_0xb5b2e9=_0x5068ab[_0x417d9e(0x110)](getBrowserFromWSEndpoint,_0x7fabeb)||_0xb5b2e9,_0x4740e1=_0x54784b[_0x417d9e(0x79)]['platform'],_0xc368f4=_0x54784b[_0x417d9e(0x79)][_0x417d9e(0xbf)]));}else{_0x3af118&&_0x3af118['project'][_0x417d9e(0x90)]['channel']?_0xb5b2e9=_0x5068ab['NYZoV'](getBrowserNameFromChannel,_0x3af118['project'][_0x417d9e(0x90)][_0x417d9e(0xed)]):_0xb5b2e9=_0x5068ab[_0x417d9e(0xad)](_0x5068ab[_0x417d9e(0xde)],_0xb5b2e9[_0x417d9e(0xcb)]());const _0x37f4a5=await _0x5068ab[_0x417d9e(0x8f)](getPlatformDetails);_0x4740e1=_0x37f4a5[_0x417d9e(0xce)],_0xc368f4=_0x37f4a5[_0x417d9e(0x104)];}const _0x478af3={};_0x478af3['browser']=_0xb5b2e9,_0x478af3[_0x417d9e(0x8c)]=_0x39f491,_0x478af3[_0x417d9e(0x95)]={},_0x478af3['platform']=_0x4740e1,_0x478af3['platform_version']=_0xc368f4,_0x478af3[_0x417d9e(0xb0)]=_0x3adab4;const _0x4aa08a=_0x478af3,_0x369766={};_0x369766['cloudProvider']=_0x25f3ee,_0x54784b[_0x417d9e(0x79)]=Object['assign']({},_0x54784b[_0x417d9e(0x79)],_0x369766,_0x4aa08a);})(_0x3959b6,_0x9e1012,_0x20a813);}static[a40_0x1e91dc(0x8a)](){const _0x166f54=a40_0x1e91dc;this[_0x166f54(0x9b)](),this[_0x166f54(0xf0)]();}static[a40_0x1e91dc(0x9b)](){const _0x47c97c=a40_0x1e91dc,_0x37367f={'bULpo':function(_0x5f4c39,_0xdf6c17,_0x3e4d5f){return _0x5f4c39(_0xdf6c17,_0x3e4d5f);},'EKMLI':_0x47c97c(0x108),'aeKFX':_0x47c97c(0xe1),'jUSZQ':_0x47c97c(0xdd),'tIDwN':function(_0x189f46,_0x3b9ec3,_0x184e2a){return _0x189f46(_0x3b9ec3,_0x184e2a);},'oLbyv':function(_0x2fb8e8,_0x96d774){return _0x2fb8e8===_0x96d774;},'dNTFI':_0x47c97c(0xa6),'IqYpI':function(_0x1a21f8,_0x5ec934,_0x52b1d8,_0x173bd8){return _0x1a21f8(_0x5ec934,_0x52b1d8,_0x173bd8);},'eJfTl':function(_0x459e11,_0x375e70){return _0x459e11(_0x375e70);},'EwaJN':_0x47c97c(0x102),'TtlWX':_0x47c97c(0xe7),'SnELv':_0x47c97c(0xac),'WoeqQ':function(_0x379ef2,_0xb47736){return _0x379ef2(_0xb47736);},'LtcqF':'Not\x20able\x20to\x20import\x20Connection','mlWGu':function(_0x3d331b,_0x3ec60b){return _0x3d331b(_0x3ec60b);},'ljwaD':function(_0x8d3bfd,_0x5a09cb){return _0x8d3bfd!=_0x5a09cb;},'uUfIb':function(_0x363689){return _0x363689();},'BoyQn':_0x47c97c(0x106),'nxHzf':function(_0x348e1d,_0x28cdc1){return _0x348e1d(_0x28cdc1);},'ymhSh':_0x47c97c(0xd5),'Tbprq':function(_0x5df817,_0x5432b2){return _0x5df817(_0x5432b2);}},_0x45052b=this;if(!this[_0x47c97c(0xba)])try{const _0x46c92e=path['join'](_0x37367f[_0x47c97c(0xf8)],_0x37367f[_0x47c97c(0xa5)],_0x37367f['SnELv']),_0x47b5a1=_0x37367f[_0x47c97c(0xef)](importFileFromPWCore,_0x46c92e);!_0x47b5a1?_0x37367f['WoeqQ'](debug,_0x37367f[_0x47c97c(0xa2)]):this[_0x47c97c(0xba)]=_0x47b5a1[_0x47c97c(0xba)];}catch(_0x344828){_0x37367f[_0x47c97c(0x84)](debug,_0x47c97c(0xd1)+_0x344828[_0x47c97c(0x86)]());}const _0x1e7928=this['Connection'];try{if(_0x37367f[_0x47c97c(0xc5)](_0x1e7928,null)){const _0x41b185=_0x1e7928[_0x47c97c(0xaa)]['dispatch'],_0x36da7b=_0x1e7928[_0x47c97c(0xaa)][_0x47c97c(0x106)];_0x37367f['uUfIb'](isAccessibilityAutomationSession)&&Object[_0x47c97c(0x92)](_0x1e7928['prototype'],_0x37367f['BoyQn'],{'get':function(){const _0x59928f=_0x47c97c,_0x35477d={'TpTtr':function(_0x4a2480,_0x4db078,_0x4d91be){const _0x5451d0=a40_0x55d0;return _0x37367f[_0x5451d0(0xbc)](_0x4a2480,_0x4db078,_0x4d91be);},'XlbJm':_0x37367f[_0x59928f(0xe8)],'QQHsR':_0x37367f[_0x59928f(0xf4)],'hHXBF':_0x37367f[_0x59928f(0xee)],'edRRA':function(_0x4c99fc,_0x5286e0,_0x98b8e7){const _0x201d84=_0x59928f;return _0x37367f[_0x201d84(0xf1)](_0x4c99fc,_0x5286e0,_0x98b8e7);},'oEygJ':function(_0x17d468,_0x54e0d5){const _0x7f17f7=_0x59928f;return _0x37367f[_0x7f17f7(0x74)](_0x17d468,_0x54e0d5);},'lcdfm':_0x37367f[_0x59928f(0x103)],'sWJor':function(_0x461163,_0x189310,_0x198e98,_0x10b6e0){const _0x4ec343=_0x59928f;return _0x37367f[_0x4ec343(0xfe)](_0x461163,_0x189310,_0x198e98,_0x10b6e0);}};return async function(){const _0x14200d=_0x59928f;try{if(!global[_0x14200d(0xcf)]&&global[_0x14200d(0x7e)]&&_0x35477d['TpTtr'](nestedKeyValue,global[_0x14200d(0xc2)],[_0x35477d['XlbJm'],_0x35477d['QQHsR'],_0x35477d[_0x14200d(0xe2)]])&&_0x35477d[_0x14200d(0xcd)](shouldScanTestForAccessibility,global[_0x14200d(0xc2)]['currentTest'][_0x14200d(0xe1)][_0x14200d(0xdd)],!![])&&scripts[_0x14200d(0xa3)](arguments[0x1])){logger[_0x14200d(0xb9)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x14200d(0xcf)]=!![];const _0xfcac73={};_0xfcac73[_0x14200d(0x100)]=arguments[0x1],global[_0x14200d(0x80)]&&logger[_0x14200d(0xb9)](util[_0x14200d(0xf5)](await AccessibilityHelper[_0x14200d(0xfd)](global[_0x14200d(0x80)],_0xfcac73)));if(_0x35477d[_0x14200d(0xb4)](arguments[0x0][_0x14200d(0xd4)],_0x35477d['lcdfm'])&&global[_0x14200d(0x8e)]){const _0x2260ab={};_0x2260ab[_0x14200d(0x100)]=arguments[0x1],await _0x35477d[_0x14200d(0x77)](browserStackExecuteDriver,global[_0x14200d(0x8e)],scripts[_0x14200d(0xfd)],_0x2260ab);}}}catch(_0xe03029){logger[_0x14200d(0xb9)](_0x14200d(0xaf)+util[_0x14200d(0xf5)](_0xe03029));}return global['bstackPerformA11yScan']=![],_0x36da7b['apply'](this,arguments);};}}),!_0x37367f[_0x47c97c(0xb8)](isFalse,process['env'][_0x47c97c(0x105)])&&Object[_0x47c97c(0x92)](_0x1e7928['prototype'],_0x37367f[_0x47c97c(0xa8)],{'get':function(){return function _0x5262bf(_0x2bbf0e){const _0x1af267=a40_0x55d0,_0x3410a9=_0x2bbf0e&&_0x2bbf0e['params']&&_0x2bbf0e[_0x1af267(0x85)][_0x1af267(0x116)];if(_0x3410a9){const _0x5a2b3b=_0x3410a9[_0x1af267(0x107)],_0x5d5349=_0x3410a9['platformDetails'];_0x5d5349&&(_0x37367f['eJfTl'](debug,_0x1af267(0xea)+_0x5d5349[_0x1af267(0x86)]()),_0x45052b[_0x1af267(0x79)]['platform']=_0x5d5349[_0x1af267(0xce)],_0x45052b[_0x1af267(0x79)][_0x1af267(0xbf)]=_0x5d5349[_0x1af267(0x104)]),_0x5a2b3b&&(_0x37367f[_0x1af267(0xa1)](debug,_0x1af267(0x88)+_0x5a2b3b),_0x45052b[_0x1af267(0x79)]['bsSessionId']=_0x5a2b3b);}return _0x41b185['apply'](this,arguments);};}});}}catch(_0x14556b){_0x37367f[_0x47c97c(0x91)](debug,_0x47c97c(0x75)+_0x14556b),_0x45052b[_0x47c97c(0x97)]=_0x14556b[_0x47c97c(0x86)]();}}static[a40_0x1e91dc(0xf0)](){const _0x576b01=a40_0x1e91dc,_0x19fdc={'pwJDZ':function(_0x4abfb8,_0x3f990e){return _0x4abfb8(_0x3f990e);},'cexhU':function(_0x3bdf8d,_0x13f90e){return _0x3bdf8d(_0x13f90e);},'iCiPy':function(_0x5ea0da,_0x3b33c5){return _0x5ea0da(_0x3b33c5);},'ZacxY':function(_0x559493){return _0x559493();},'bDxXj':_0x576b01(0x102),'uDiZb':_0x576b01(0xf3),'QiQFZ':_0x576b01(0xd9),'jTyyC':'crConnection.js','zNwiA':'Not\x20able\x20to\x20import\x20crConnection','dBPhT':function(_0x2ac841,_0x3186d2){return _0x2ac841(_0x3186d2);},'wGuqG':_0x576b01(0xb5),'AErBm':function(_0x491e55,_0x11675d){return _0x491e55!=_0x11675d;},'woSeG':_0x576b01(0xd3),'VCKBT':function(_0x583efd,_0x597e8e){return _0x583efd(_0x597e8e);}},_0x8f14d3=this;if(_0x19fdc[_0x576b01(0x111)](isAccessibilityAutomationSession)){let _0x26912a=null;try{const _0x3bd5ad=path[_0x576b01(0x10c)](_0x19fdc[_0x576b01(0xbb)],_0x19fdc['uDiZb'],_0x19fdc[_0x576b01(0x83)],_0x19fdc[_0x576b01(0xf2)]),_0x10633f=_0x19fdc['iCiPy'](importFileFromPWCore,_0x3bd5ad);!_0x10633f?_0x19fdc[_0x576b01(0x7c)](debug,_0x19fdc[_0x576b01(0xca)]):_0x26912a=_0x10633f[_0x576b01(0xc9)];}catch(_0x5ba01d){_0x19fdc[_0x576b01(0x8b)](debug,_0x19fdc[_0x576b01(0xc4)]);}try{if(_0x19fdc[_0x576b01(0xfa)](_0x26912a,null)){const _0x5646ac=_0x26912a[_0x576b01(0xaa)][_0x576b01(0xd3)];Object[_0x576b01(0x92)](_0x26912a[_0x576b01(0xaa)],_0x19fdc[_0x576b01(0x98)],{'get':function(){const _0x58b316={'rsafl':function(_0xeb8afe,_0x3719b4){return _0x19fdc['pwJDZ'](_0xeb8afe,_0x3719b4);},'juJMY':function(_0x18135a,_0x1b8770){const _0x286234=a40_0x55d0;return _0x19fdc[_0x286234(0xc6)](_0x18135a,_0x1b8770);},'yTzSM':function(_0x47597a,_0x23ba50){const _0x1bc52a=a40_0x55d0;return _0x19fdc[_0x1bc52a(0xc7)](_0x47597a,_0x23ba50);}};return function _0x4ee8d5(_0xb97260){const _0x36de97=a40_0x55d0;try{const _0x500ab2=_0xb97260[_0x36de97(0x101)];if(_0x500ab2){delete _0xb97260[_0x36de97(0x101)];const _0x593e9a=_0x500ab2[_0x36de97(0x107)],_0x1f6f74=_0x500ab2[_0x36de97(0xfb)];_0x1f6f74&&(_0x58b316['rsafl'](debug,_0x36de97(0x114)+_0x1f6f74[_0x36de97(0x86)]()),_0x8f14d3[_0x36de97(0x79)]['platform']=_0x1f6f74[_0x36de97(0xce)],_0x8f14d3['currentSessionDetails'][_0x36de97(0xbf)]=_0x1f6f74[_0x36de97(0x104)]),_0x593e9a&&(_0x58b316[_0x36de97(0xbe)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x593e9a),_0x8f14d3[_0x36de97(0x79)]['bsSessionId']=_0x593e9a);}}catch(_0x2c67f0){_0x58b316[_0x36de97(0xae)](debug,_0x36de97(0x117)+_0x2c67f0[_0x36de97(0x86)]());}return _0x5646ac[_0x36de97(0x7f)](this,arguments);};}});}}catch(_0x56c763){_0x19fdc[_0x576b01(0xb1)](debug,_0x576b01(0x115)+_0x56c763),_0x8f14d3[_0x576b01(0x97)]=_0x56c763[_0x576b01(0x86)]();}}}static[a40_0x1e91dc(0xbd)](){return this['currentSessionDetails'];}}module['exports']=PlaywrightSessionDetails;
|
|
1
|
+
const a40_0x1e9a6a=a40_0x17b4;(function(_0x451320,_0xcf977b){const _0x13965d=a40_0x17b4,_0x24077f=_0x451320();while(!![]){try{const _0x399563=parseInt(_0x13965d(0x1a2))/0x1*(-parseInt(_0x13965d(0x1fe))/0x2)+-parseInt(_0x13965d(0x188))/0x3*(-parseInt(_0x13965d(0x1c0))/0x4)+parseInt(_0x13965d(0x1cd))/0x5+parseInt(_0x13965d(0x1b9))/0x6+-parseInt(_0x13965d(0x203))/0x7+-parseInt(_0x13965d(0x216))/0x8+-parseInt(_0x13965d(0x1bb))/0x9*(-parseInt(_0x13965d(0x1b6))/0xa);if(_0x399563===_0xcf977b)break;else _0x24077f['push'](_0x24077f['shift']());}catch(_0x228aab){_0x24077f['push'](_0x24077f['shift']());}}}(a40_0x591d,0xc77c7));const path=require(a40_0x1e9a6a(0x1ea)),url=require('url'),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a40_0x1e9a6a(0x1f7)),{o11yErrorHandler}=require(a40_0x1e9a6a(0x1fb)),{debug,getPlatformDetails}=require(a40_0x1e9a6a(0x1f0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a40_0x1e9a6a(0x1f4)),logger=require(a40_0x1e9a6a(0x19a))[a40_0x1e9a6a(0x1d6)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require('./accessibility-helper'),getBrowserNameFromChannel=_0x5315b8=>{const _0xf7d32c=a40_0x1e9a6a,_0x2c7d4f={};_0x2c7d4f[_0xf7d32c(0x1db)]=_0xf7d32c(0x1bc),_0x2c7d4f[_0xf7d32c(0x1ef)]=_0xf7d32c(0x1e2),_0x2c7d4f['JdnRc']=_0xf7d32c(0x1c7),_0x2c7d4f[_0xf7d32c(0x190)]=_0xf7d32c(0x1ad);const _0x4f7328=_0x2c7d4f;if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x1db)]))return _0x4f7328[_0xf7d32c(0x1db)];if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x1ef)]))return _0x4f7328[_0xf7d32c(0x1ef)];if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x1e4)]))return _0x4f7328[_0xf7d32c(0x1e4)];if(_0x5315b8[_0xf7d32c(0x204)](_0x4f7328[_0xf7d32c(0x190)]))return _0x4f7328[_0xf7d32c(0x190)];},getBrowserFromWSEndpoint=_0x318eb2=>{const _0x4b7fad=a40_0x1e9a6a,_0x18d8fb={'JdqZb':'chrome','RYqvi':function(_0x2844d0,_0x35f552){return _0x2844d0(_0x35f552);}};try{const _0x2fbc41=url[_0x4b7fad(0x1c8)](_0x318eb2),_0x494177=new URLSearchParams(_0x2fbc41[_0x4b7fad(0x1d2)]),_0x44a987=Object[_0x4b7fad(0x19f)](_0x494177[_0x4b7fad(0x197)]()),_0x5cfdcf=JSON[_0x4b7fad(0x1c8)](_0x44a987['caps']);if(_0x5cfdcf&&(_0x5cfdcf['browser']||_0x5cfdcf[_0x4b7fad(0x208)]))return _0x5cfdcf[_0x4b7fad(0x19c)]||_0x5cfdcf[_0x4b7fad(0x208)];return _0x18d8fb[_0x4b7fad(0x20a)];}catch(_0x14c262){_0x18d8fb[_0x4b7fad(0x1aa)](debug,_0x4b7fad(0x20d)+_0x14c262[_0x4b7fad(0x217)]());}},getCloudProviderFromWsEndpoint=_0x314ca8=>{const _0x3515a7=a40_0x1e9a6a,_0x22a712={};_0x22a712[_0x3515a7(0x1b8)]=_0x3515a7(0x1f1),_0x22a712['eOwdV']=_0x3515a7(0x218),_0x22a712[_0x3515a7(0x1bd)]='unknown_grid';const _0x3b62f6=_0x22a712;if(_0x314ca8[_0x3515a7(0x204)](_0x3b62f6[_0x3515a7(0x1b8)]))return _0x3b62f6['eOwdV'];return _0x3b62f6['gBFOJ'];},a40_0x58b354={};a40_0x58b354[a40_0x1e9a6a(0x1ac)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x202)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x19c)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x206)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x1c5)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x192)]=undefined,a40_0x58b354[a40_0x1e9a6a(0x182)]=undefined,a40_0x58b354['capabilities']={};function a40_0x17b4(_0x582b92,_0x5abeb2){const _0x591d5d=a40_0x591d();return a40_0x17b4=function(_0x17b467,_0x3b0843){_0x17b467=_0x17b467-0x181;let _0x43fda8=_0x591d5d[_0x17b467];return _0x43fda8;},a40_0x17b4(_0x582b92,_0x5abeb2);}class PlaywrightSessionDetails{static [a40_0x1e9a6a(0x193)]=a40_0x58b354;constructor(){const _0x13f2d9=a40_0x1e9a6a,_0x5531ac={};_0x5531ac[_0x13f2d9(0x1c6)]=_0x13f2d9(0x1d5);const _0x345d4c=_0x5531ac;throw new Error(_0x345d4c[_0x13f2d9(0x1c6)]);}static [a40_0x1e9a6a(0x1ae)]=null;static[a40_0x1e9a6a(0x1d4)](_0x3ca5a7,_0x6b6e29,_0x2e2d45=null){const _0x2fe624=a40_0x1e9a6a,_0x71c737={'jracV':'local_grid','wBwAb':function(_0x4f9081,_0x223795,_0x1e1c2a){return _0x4f9081(_0x223795,_0x1e1c2a);},'CxPcg':_0x2fe624(0x1e6),'oDAgu':'use','YHfcg':_0x2fe624(0x1a7),'iYxWw':function(_0x5460cf,_0x2b2b7e){return _0x5460cf(_0x2b2b7e);},'SlKEp':function(_0x1d0d4c,_0x43fb4a){return _0x1d0d4c===_0x43fb4a;},'dHMMm':'browserstack','rEoua':_0x2fe624(0x1c2),'AcBYC':function(_0x84046e,_0x2fcc17){return _0x84046e(_0x2fcc17);},'epYyX':function(_0x5911aa,_0x2c9a00){return _0x5911aa(_0x2c9a00);},'yVyYL':function(_0x2fb9fa,_0x139fb5){return _0x2fb9fa+_0x139fb5;},'MNXsO':'playwright-','KDpsi':function(_0x1ad417){return _0x1ad417();}},_0x46b0f7=this;return _0x71c737['epYyX'](o11yErrorHandler,async function _0x5852fc(_0xb68edd,_0x1cd6bc,_0x549ba3=null){const _0x578c0b=_0x2fe624;let _0xe75274=_0xb68edd['_name'];const _0x1b4cc0=_0xb68edd['version']();let _0x19c816=null,_0x3b3860=null,_0x21b521=null,_0x1af86c=_0x71c737[_0x578c0b(0x1ab)];if(_0xb68edd[_0x578c0b(0x1a5)][_0x578c0b(0x1a4)]()||global['accessibilityPlatform']){const _0x297305=_0xb68edd[_0x578c0b(0x21d)][_0x578c0b(0x1d0)]||_0x71c737[_0x578c0b(0x1a1)](nestedKeyValue,_0x1cd6bc,[_0x71c737[_0x578c0b(0x1df)],_0x71c737['oDAgu'],_0x71c737[_0x578c0b(0x201)]]),_0x56731a=_0x549ba3||_0x297305&&_0x297305[_0x578c0b(0x1d9)];_0x56731a&&(_0x1af86c=_0x71c737[_0x578c0b(0x19e)](getCloudProviderFromWsEndpoint,_0x56731a),_0x71c737[_0x578c0b(0x207)](_0x1af86c,_0x71c737[_0x578c0b(0x21b)])&&(_0x21b521=_0x71c737[_0x578c0b(0x1d3)],_0xe75274=_0x71c737['AcBYC'](getBrowserFromWSEndpoint,_0x56731a)||_0xe75274,_0x19c816=_0x46b0f7[_0x578c0b(0x193)][_0x578c0b(0x1c5)],_0x3b3860=_0x46b0f7[_0x578c0b(0x193)][_0x578c0b(0x192)]));}else{_0x1cd6bc&&_0x1cd6bc['project'][_0x578c0b(0x212)][_0x578c0b(0x1d1)]?_0xe75274=_0x71c737[_0x578c0b(0x1e9)](getBrowserNameFromChannel,_0x1cd6bc[_0x578c0b(0x1e6)][_0x578c0b(0x212)]['channel']):_0xe75274=_0x71c737[_0x578c0b(0x1d8)](_0x71c737['MNXsO'],_0xe75274[_0x578c0b(0x213)]());const _0x22da4d=await _0x71c737['KDpsi'](getPlatformDetails);_0x19c816=_0x22da4d[_0x578c0b(0x1be)],_0x3b3860=_0x22da4d[_0x578c0b(0x1c4)];}const _0x6300e3={};_0x6300e3['browser']=_0xe75274,_0x6300e3['browser_version']=_0x1b4cc0,_0x6300e3[_0x578c0b(0x1e0)]={},_0x6300e3[_0x578c0b(0x1c5)]=_0x19c816,_0x6300e3[_0x578c0b(0x192)]=_0x3b3860,_0x6300e3[_0x578c0b(0x182)]=_0x21b521;const _0x14b53d=_0x6300e3,_0x6a81ea={};_0x6a81ea[_0x578c0b(0x1ac)]=_0x1af86c,_0x46b0f7[_0x578c0b(0x193)]=Object[_0x578c0b(0x20b)]({},_0x46b0f7[_0x578c0b(0x193)],_0x6a81ea,_0x14b53d);})(_0x3ca5a7,_0x6b6e29,_0x2e2d45);}static[a40_0x1e9a6a(0x1ff)](){const _0x55b4dd=a40_0x1e9a6a;this[_0x55b4dd(0x18a)](),this[_0x55b4dd(0x1c1)]();}static[a40_0x1e9a6a(0x18a)](){const _0x55b8ca=a40_0x1e9a6a,_0x5dd929={'owjKO':function(_0x2395bc,_0x1c3eaf,_0x8e83e1){return _0x2395bc(_0x1c3eaf,_0x8e83e1);},'XVShX':_0x55b8ca(0x1f9),'RCyTT':_0x55b8ca(0x215),'IEVJj':_0x55b8ca(0x200),'PsjxX':function(_0xe2bdce,_0x5a3a8f){return _0xe2bdce===_0x5a3a8f;},'ajzPd':_0x55b8ca(0x1fa),'VwNvl':function(_0x3a9d6e,_0x1a64dd,_0x240e54,_0x4807da){return _0x3a9d6e(_0x1a64dd,_0x240e54,_0x4807da);},'crIKg':function(_0x5d4ded,_0x4208a0){return _0x5d4ded(_0x4208a0);},'XpjFe':function(_0x9e05b7,_0x1a0693){return _0x9e05b7(_0x1a0693);},'MqTnb':_0x55b8ca(0x1f3),'XZqtf':_0x55b8ca(0x191),'pqlWL':_0x55b8ca(0x20f),'LUqWX':function(_0x2a7f1e,_0x3de178){return _0x2a7f1e(_0x3de178);},'dYHOc':_0x55b8ca(0x1ce),'FXEzc':function(_0x205c43,_0xbaa969){return _0x205c43!=_0xbaa969;},'WNFdZ':function(_0x371c9b){return _0x371c9b();},'dBLBe':_0x55b8ca(0x1fc),'DXJhC':function(_0x4f80ad,_0x5bddb0){return _0x4f80ad(_0x5bddb0);},'bIJhH':_0x55b8ca(0x1d7),'vrMsM':function(_0x269153,_0x2b5101){return _0x269153(_0x2b5101);}},_0x3632fd=this;if(!this[_0x55b8ca(0x195)])try{const _0x287f4c=path['join'](_0x5dd929['MqTnb'],_0x5dd929[_0x55b8ca(0x194)],_0x5dd929[_0x55b8ca(0x185)]),_0x156a3e=_0x5dd929['LUqWX'](importFileFromPWCore,_0x287f4c);!_0x156a3e?_0x5dd929[_0x55b8ca(0x1da)](debug,_0x5dd929[_0x55b8ca(0x21a)]):this[_0x55b8ca(0x195)]=_0x156a3e[_0x55b8ca(0x195)];}catch(_0x2e0e0d){_0x5dd929[_0x55b8ca(0x1da)](debug,_0x55b8ca(0x20c)+_0x2e0e0d[_0x55b8ca(0x217)]());}const _0xe9f087=this[_0x55b8ca(0x195)];try{if(_0x5dd929[_0x55b8ca(0x1b3)](_0xe9f087,null)){const _0x2bff8f=_0xe9f087['prototype'][_0x55b8ca(0x1d7)],_0x1b69e2=_0xe9f087[_0x55b8ca(0x1e8)]['sendMessageToServer'];_0x5dd929[_0x55b8ca(0x1ca)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0xe9f087[_0x55b8ca(0x1e8)],_0x5dd929['dBLBe'],{'get':function(){const _0x343316=_0x55b8ca,_0x160a97={'wNOEv':function(_0x310e53,_0x468eef,_0x3ecf65){return _0x5dd929['owjKO'](_0x310e53,_0x468eef,_0x3ecf65);},'KroZf':_0x5dd929[_0x343316(0x1ec)],'ATYPS':_0x5dd929[_0x343316(0x1a3)],'OYvTI':_0x5dd929['IEVJj'],'PCQAc':function(_0x34ba9d,_0x1f99d8){const _0xcaed31=_0x343316;return _0x5dd929[_0xcaed31(0x1ba)](_0x34ba9d,_0x1f99d8);},'UtgYo':_0x5dd929[_0x343316(0x1e3)],'GvIOD':function(_0xdd248e,_0x164093,_0x47ade0,_0x1d6b43){const _0x1cf66f=_0x343316;return _0x5dd929[_0x1cf66f(0x1ed)](_0xdd248e,_0x164093,_0x47ade0,_0x1d6b43);}};return async function(){const _0x3f1b89=_0x343316;try{if(!global[_0x3f1b89(0x205)]&&global['accessibilityPlatform']&&_0x160a97[_0x3f1b89(0x1de)](nestedKeyValue,global[_0x3f1b89(0x1af)],[_0x160a97[_0x3f1b89(0x18f)],_0x160a97['ATYPS'],_0x160a97['OYvTI']])&&_0x160a97[_0x3f1b89(0x1de)](shouldScanTestForAccessibility,global['__workerDetails'][_0x3f1b89(0x1f9)][_0x3f1b89(0x215)][_0x3f1b89(0x200)],!![])&&scripts[_0x3f1b89(0x1b0)](arguments[0x1])){logger[_0x3f1b89(0x1b5)](_0x3f1b89(0x20e)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x20b0cb={};_0x20b0cb[_0x3f1b89(0x211)]=arguments[0x1],global[_0x3f1b89(0x189)]&&logger[_0x3f1b89(0x1b5)](util[_0x3f1b89(0x1c3)](await AccessibilityHelper[_0x3f1b89(0x198)](global[_0x3f1b89(0x189)],_0x20b0cb)));if(_0x160a97['PCQAc'](arguments[0x0][_0x3f1b89(0x1e7)],_0x160a97[_0x3f1b89(0x1ee)])&&global[_0x3f1b89(0x1a8)]){const _0x23b2ed={};_0x23b2ed[_0x3f1b89(0x211)]=arguments[0x1],await _0x160a97[_0x3f1b89(0x1b7)](browserStackExecuteDriver,global[_0x3f1b89(0x1a8)],scripts[_0x3f1b89(0x198)],_0x23b2ed);}}}catch(_0x2e112d){logger['debug'](_0x3f1b89(0x1b4)+util['format'](_0x2e112d));}return global[_0x3f1b89(0x205)]=![],_0x1b69e2['apply'](this,arguments);};}}),!_0x5dd929[_0x55b8ca(0x18d)](isFalse,process[_0x55b8ca(0x1a6)][_0x55b8ca(0x21c)])&&Object[_0x55b8ca(0x1c9)](_0xe9f087['prototype'],_0x5dd929[_0x55b8ca(0x183)],{'get':function(){const _0x7e85c5={'xLJbL':function(_0x589ae8,_0x1751e2){return _0x5dd929['crIKg'](_0x589ae8,_0x1751e2);},'sHPgD':function(_0x39bf9b,_0x509985){const _0x3538d2=a40_0x17b4;return _0x5dd929[_0x3538d2(0x1f6)](_0x39bf9b,_0x509985);}};return function _0x3e581f(_0x86d25e){const _0x500e1f=a40_0x17b4,_0x252dce=_0x86d25e&&_0x86d25e[_0x500e1f(0x181)]&&_0x86d25e[_0x500e1f(0x181)][_0x500e1f(0x1bf)];if(_0x252dce){const _0x96adaa=_0x252dce[_0x500e1f(0x18b)],_0x29f0c5=_0x252dce[_0x500e1f(0x196)];_0x29f0c5&&(_0x7e85c5['xLJbL'](debug,_0x500e1f(0x1a9)+_0x29f0c5[_0x500e1f(0x217)]()),_0x3632fd[_0x500e1f(0x193)][_0x500e1f(0x1c5)]=_0x29f0c5[_0x500e1f(0x1be)],_0x3632fd[_0x500e1f(0x193)][_0x500e1f(0x192)]=_0x29f0c5[_0x500e1f(0x1c4)]),_0x96adaa&&(_0x7e85c5[_0x500e1f(0x1dd)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x96adaa),_0x3632fd[_0x500e1f(0x193)][_0x500e1f(0x202)]=_0x96adaa);}return _0x2bff8f['apply'](this,arguments);};}});}}catch(_0x43cb7c){_0x5dd929[_0x55b8ca(0x18e)](debug,_0x55b8ca(0x1fd)+_0x43cb7c),_0x3632fd['sessionError']=_0x43cb7c[_0x55b8ca(0x217)]();}}static[a40_0x1e9a6a(0x1c1)](){const _0x441f3c=a40_0x1e9a6a,_0x51c31e={'sqofu':function(_0x1ef306,_0xd2dc69){return _0x1ef306(_0xd2dc69);},'yaUKR':function(_0x3530eb,_0x24024f){return _0x3530eb(_0x24024f);},'MLcwS':function(_0x504dc5){return _0x504dc5();},'hmdsb':_0x441f3c(0x1f3),'Rgpoq':_0x441f3c(0x219),'kXNck':_0x441f3c(0x1f5),'zeSSF':_0x441f3c(0x199),'EbBKc':_0x441f3c(0x19b),'zdIqi':_0x441f3c(0x1b1),'cQUyt':function(_0x3a17a7,_0x57be33){return _0x3a17a7!=_0x57be33;},'GnbPF':_0x441f3c(0x1e1)},_0x3ecae6=this;if(_0x51c31e[_0x441f3c(0x187)](isAccessibilityAutomationSession)){let _0x423c7d=null;try{const _0x13855a=path[_0x441f3c(0x209)](_0x51c31e[_0x441f3c(0x1dc)],_0x51c31e[_0x441f3c(0x186)],_0x51c31e[_0x441f3c(0x210)],_0x51c31e[_0x441f3c(0x1a0)]),_0x1aa7f9=_0x51c31e[_0x441f3c(0x19d)](importFileFromPWCore,_0x13855a);!_0x1aa7f9?_0x51c31e[_0x441f3c(0x1cf)](debug,_0x51c31e['EbBKc']):_0x423c7d=_0x1aa7f9[_0x441f3c(0x1cc)];}catch(_0x455f11){_0x51c31e[_0x441f3c(0x1cf)](debug,_0x51c31e[_0x441f3c(0x1f2)]);}try{if(_0x51c31e['cQUyt'](_0x423c7d,null)){const _0x13d392=_0x423c7d['prototype'][_0x441f3c(0x1e1)];Object[_0x441f3c(0x1c9)](_0x423c7d[_0x441f3c(0x1e8)],_0x51c31e['GnbPF'],{'get':function(){const _0x5ad7e4={'eagoP':function(_0x50f63e,_0x2f379f){const _0x360cbc=a40_0x17b4;return _0x51c31e[_0x360cbc(0x1cf)](_0x50f63e,_0x2f379f);},'GySEH':function(_0x31e231,_0x489079){const _0x249af6=a40_0x17b4;return _0x51c31e[_0x249af6(0x1cf)](_0x31e231,_0x489079);},'zlmzg':function(_0x22878d,_0x468794){const _0x542cb3=a40_0x17b4;return _0x51c31e[_0x542cb3(0x19d)](_0x22878d,_0x468794);}};return function _0x480200(_0xb164df){const _0x508ec1=a40_0x17b4;try{const _0x58a5ba=_0xb164df[_0x508ec1(0x1cb)];if(_0x58a5ba){delete _0xb164df['bStackParams'];const _0x263fac=_0x58a5ba['sessionId'],_0x163ba9=_0x58a5ba[_0x508ec1(0x196)];_0x163ba9&&(_0x5ad7e4[_0x508ec1(0x1b2)](debug,_0x508ec1(0x18c)+_0x163ba9[_0x508ec1(0x217)]()),_0x3ecae6[_0x508ec1(0x193)][_0x508ec1(0x1c5)]=_0x163ba9[_0x508ec1(0x1be)],_0x3ecae6[_0x508ec1(0x193)][_0x508ec1(0x192)]=_0x163ba9['platformVersion']),_0x263fac&&(_0x5ad7e4['GySEH'](debug,_0x508ec1(0x1f8)+_0x263fac),_0x3ecae6[_0x508ec1(0x193)][_0x508ec1(0x202)]=_0x263fac);}}catch(_0x598ee6){_0x5ad7e4[_0x508ec1(0x214)](debug,_0x508ec1(0x184)+_0x598ee6[_0x508ec1(0x217)]());}return _0x13d392['apply'](this,arguments);};}});}}catch(_0x1f5444){_0x51c31e[_0x441f3c(0x1cf)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1f5444),_0x3ecae6[_0x441f3c(0x1ae)]=_0x1f5444['toString']();}}}static[a40_0x1e9a6a(0x1eb)](){const _0x55d692=a40_0x1e9a6a;return this[_0x55d692(0x193)];}}module[a40_0x1e9a6a(0x1e5)]=PlaywrightSessionDetails;function a40_0x591d(){const _0x310b00=['winstonLogger','dispatch','yVyYL','wsEndpoint','crIKg','rqPvY','hmdsb','sHPgD','wNOEv','CxPcg','capabilities','_onMessage','edge','ajzPd','JdnRc','exports','project','_type','prototype','epYyX','path','getDetails','XVShX','VwNvl','UtgYo','fNrVG','../../helpers/test-observability/utils','browserstack.com','zdIqi','lib','../../helpers/accessibility-automation/helper','chromium','XpjFe','../../helpers/helper','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','currentTest','Page','../../helpers/test-observability/error-handler','sendMessageToServer','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','620696qpWRpW','patch','titlePath','YHfcg','bsSessionId','2512916ckkHBT','includes','bstackPerformA11yScan','browser_version','SlKEp','browserName','join','JdqZb','assign','Error\x20in\x20importing\x20connection\x20','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Performing\x20scan\x20for\x20','connection.js','kXNck','method','use','toLowerCase','zlmzg','testInfo','6803136OboBWf','toString','browserstack','server','dYHOc','dHMMm','BROWSERSTACK_TEST_OBSERVABILITY','_browserType','params','product','bIJhH','Error\x20in\x20finding\x20platform\x20details\x20','pqlWL','Rgpoq','MLcwS','3LxyTkQ','pageFixture','patchConnection','sessionId','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','DXJhC','vrMsM','KroZf','OdQij','client','platform_version','currentSessionDetails','XZqtf','Connection','platformDetails','entries','performScan','crConnection.js','../../helpers/logger','Not\x20able\x20to\x20import\x20crConnection','browser','yaUKR','iYxWw','fromEntries','zeSSF','wBwAb','2iMdVaG','RCyTT','isRemote','_connection','env','connectOptions','__driver','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','RYqvi','jracV','cloudProvider','safari','sessionError','__workerDetails','shouldWrapCommand','Error\x20in\x20importing\x20crConnection','eagoP','FXEzc','Failed\x20to\x20perform\x20scan\x20','debug','6849100bAkTFn','GvIOD','Huntt','9232164JCMubF','PsjxX','9nHlpqz','chrome','gBFOJ','platformName','bsParams','313064vAtUha','patchCRConnection','automate','format','platformVersion','platform','ZcgAF','firefox','parse','defineProperty','WNFdZ','bStackParams','CRConnection','1726505GXXmdZ','Not\x20able\x20to\x20import\x20Connection','sqofu','_defaultConnectOptions','channel','query','rEoua','setupBrowserDetails','Invalid\x20constructor,\x20please\x20use\x20static\x20methods'];a40_0x591d=function(){return _0x310b00;};return a40_0x591d();}
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a41_0x3aca48=a41_0xa3ca;function a41_0xa3ca(_0xb32745,_0x4e7bde){const _0x18d0d4=a41_0x18d0();return a41_0xa3ca=function(_0xa3ca5,_0x7fc637){_0xa3ca5=_0xa3ca5-0x1e6;let _0x1dcbdb=_0x18d0d4[_0xa3ca5];return _0x1dcbdb;},a41_0xa3ca(_0xb32745,_0x4e7bde);}(function(_0x1fbc40,_0x543012){const _0x4b6e46=a41_0xa3ca,_0x5240da=_0x1fbc40();while(!![]){try{const _0x146d06=parseInt(_0x4b6e46(0x23e))/0x1+-parseInt(_0x4b6e46(0x223))/0x2*(parseInt(_0x4b6e46(0x20d))/0x3)+parseInt(_0x4b6e46(0x233))/0x4+parseInt(_0x4b6e46(0x204))/0x5+-parseInt(_0x4b6e46(0x243))/0x6*(parseInt(_0x4b6e46(0x208))/0x7)+-parseInt(_0x4b6e46(0x21f))/0x8*(parseInt(_0x4b6e46(0x24b))/0x9)+parseInt(_0x4b6e46(0x210))/0xa;if(_0x146d06===_0x543012)break;else _0x5240da['push'](_0x5240da['shift']());}catch(_0x68f58a){_0x5240da['push'](_0x5240da['shift']());}}}(a41_0x18d0,0x2dc56));const fs=require('fs'),path=require(a41_0x3aca48(0x24c)),util=require(a41_0x3aca48(0x236)),{performance}=require(a41_0x3aca48(0x206)),{requireModule}=require(a41_0x3aca48(0x221)),helper=require(a41_0x3aca48(0x221)),runIntegrations=require(a41_0x3aca48(0x22f)),captureError=async(_0x3fce52,_0x4d1d63,_0x168502=null)=>{const _0x54b51f=a41_0x3aca48,_0x4a72c5={'TTSdc':function(_0x5d9d8e,_0x3b2cc0,_0x45e4a9){return _0x5d9d8e(_0x3b2cc0,_0x45e4a9);},'qxmzZ':'SDKTestSuccessful'};try{await _0x4a72c5[_0x54b51f(0x1f0)](_0x3fce52,_0x4d1d63,_0x168502);}catch(_0xd6ce85){process[_0x54b51f(0x20e)]=0x1,logger[_0x54b51f(0x1e7)](util['format'](_0xd6ce85));const _0x2ebd9f={};_0x2ebd9f['globalException']=_0xd6ce85['message'];const _0x1a9f13=_0x2ebd9f;if(helper[_0x54b51f(0x202)](global[_0x54b51f(0x216)])&&helper['isUndefined'](global[_0x54b51f(0x23c)]))return;try{helper['fireFunnelTestEvent'](_0x4a72c5['qxmzZ'],_0x1a9f13,global['config'],global[_0x54b51f(0x23c)]);}catch(_0x34c60a){logger[_0x54b51f(0x1e9)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x34c60a);}}};try{const browserstackFolderPath=path['join'](helper[a41_0x3aca48(0x224)](),a41_0x3aca48(0x22d));if(fs[a41_0x3aca48(0x248)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,'.local-not-set.json');fs[a41_0x3aca48(0x248)](filePath)&&fs[a41_0x3aca48(0x200)](filePath);}}catch(a41_0x32fa4e){logger[a41_0x3aca48(0x1e9)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a41_0x32fa4e[a41_0x3aca48(0x220)]);}process[a41_0x3aca48(0x239)][a41_0x3aca48(0x1fd)](a41_0x3aca48(0x1ea))&&(!process[a41_0x3aca48(0x239)][a41_0x3aca48(0x1fd)](a41_0x3aca48(0x234))&&process['argv']['push'](a41_0x3aca48(0x1f1)),!process[a41_0x3aca48(0x239)]['includes'](a41_0x3aca48(0x22a))&&process[a41_0x3aca48(0x239)][a41_0x3aca48(0x1fb)](a41_0x3aca48(0x219)),!process[a41_0x3aca48(0x239)]['includes']('--package')&&process['argv']['push'](a41_0x3aca48(0x1fc)));const yargs=require(a41_0x3aca48(0x242)),Constants=require('./utils/constants'),PerformanceTester=require(a41_0x3aca48(0x228)),logger=require(a41_0x3aca48(0x1f3))[a41_0x3aca48(0x245)];function a41_0x18d0(){const _0x15a5a1=['tTKqJ','isUndefined','NIGHTWATCH','1084235btwpdF','mark','perf_hooks','CGEuH','1442203noDLUr','CPlGj','ats','CUCUMBER','./playwright/command','3Vhfrmb','exitCode','dot-notation','3151690vPrYav','iTfak','HELP','jEbCq','JEST','describe','config','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','cucumber-js','--no-config','ymeif','jest','mocha/lib/cli/commands.js','DYGtk','mocha/lib/cli/cli.js','136ZQTjhz','message','../helpers/helper','wrap','506058PHgaWX','homedir','VKJzd','ZpVUK','MEIIL','../helpers/performance-tester','DVzXl','--config','usage:\x20$0\x20<command>\x20[args]','./jest/command','.browserstack','help','./integrations/command','wNerV','zQjyD','INTEGRATIONS','176168RNOcHP','--opts','command','util','cswim','integrations','argv','VERSION','./cucumber-js/command','framework','rztnW','242773OUFbVI','codeceptjs','setBrowserStackAutomationDisable','handler','yargs','6nOdJkg','IDpyT','winstonLogger','kUHux','alias','existsSync','demandCommand','nKBVt','91215hRDKit','path','Parsing\x20command\x20line\x20arguements','./nightwatch/command','vsAZY','error','hyiLB','debug','mocha','INFO','startMonitoring','./vanilla-js/command','QfNPo','PLAYWRIGHT','TTSdc','--no-opts','hIIWY','../helpers/logger','./mocha/command','CODECEPTJS','VkMlo','JHrdq','showHelpOnFail','slice','VANILLA','push','--no-package','includes','playwright','QDEmB','unlinkSync'];a41_0x18d0=function(){return _0x15a5a1;};return a41_0x18d0();}PerformanceTester[a41_0x3aca48(0x1ec)](),performance[a41_0x3aca48(0x205)]('sdk:setup-start');const a41_0xe0defe={};a41_0xe0defe[a41_0x3aca48(0x20f)]=![];const argv=yargs['parserConfiguration'](a41_0xe0defe)['usage'](a41_0x3aca48(0x22b))['alias']('v','version')[a41_0x3aca48(0x215)]('v')[a41_0x3aca48(0x247)]('h','help')[a41_0x3aca48(0x22e)](a41_0x3aca48(0x22e))[a41_0x3aca48(0x1f8)](!![],Constants[a41_0x3aca48(0x23a)][a41_0x3aca48(0x212)])[a41_0x3aca48(0x235)](a41_0x3aca48(0x21b),Constants[a41_0x3aca48(0x214)][a41_0x3aca48(0x1eb)],function(_0x5b1170){const _0x37ab50=a41_0x3aca48,_0x37af4e={'wNerV':function(_0x44f595,_0x1e297d,_0x45ffed,_0x49417b){return _0x44f595(_0x1e297d,_0x45ffed,_0x49417b);},'bjOpG':function(_0x59fc57,_0x20b242){return _0x59fc57(_0x20b242);},'rztnW':_0x37ab50(0x22c)};helper['setTestObservabilityDisable'](),helper[_0x37ab50(0x240)]();const _0x2fd43f=process[_0x37ab50(0x239)][_0x37ab50(0x1f9)](0x2);return _0x37af4e[_0x37ab50(0x230)](captureError,_0x37af4e['bjOpG'](require,_0x37af4e[_0x37ab50(0x23d)]),_0x5b1170[_0x37ab50(0x239)],_0x2fd43f);})[a41_0x3aca48(0x235)]('mocha',Constants['MOCHA']['INFO'],_0x1a7b9f=>{const _0x55230a=a41_0x3aca48,_0x5861c4={'nKBVt':function(_0x19be18,_0x5d307c,_0x3038dd){return _0x19be18(_0x5d307c,_0x3038dd);},'MRHJR':function(_0x197876,_0x39f8eb){return _0x197876(_0x39f8eb);},'cswim':_0x55230a(0x1f4),'QfNPo':_0x55230a(0x24d),'QDEmB':function(_0x1b625a,_0x104f95){return _0x1b625a(_0x104f95);},'JHrdq':'mocha/lib/cli/run.js','tTKqJ':_0x55230a(0x21c),'CGEuH':function(_0x9b1516,_0x12d315){return _0x9b1516(_0x12d315);},'zQjyD':_0x55230a(0x21e),'kPBKe':function(_0x1fc51d){return _0x1fc51d();}};logger[_0x55230a(0x1e9)](_0x5861c4[_0x55230a(0x1ee)]);const _0x3c1072=_0x5861c4[_0x55230a(0x1ff)](requireModule,_0x5861c4[_0x55230a(0x1f7)]),_0x989085=_0x5861c4[_0x55230a(0x1ff)](requireModule,_0x5861c4[_0x55230a(0x201)]);process['argv']=process[_0x55230a(0x239)][_0x55230a(0x1f9)](0x1),delete _0x3c1072[_0x55230a(0x241)],_0x3c1072[_0x55230a(0x241)]=function(_0x4b1f79){const _0x3fcf96=_0x55230a;return _0x5861c4[_0x3fcf96(0x24a)](captureError,_0x5861c4['MRHJR'](require,_0x5861c4[_0x3fcf96(0x237)]),_0x4b1f79);},_0x989085['run']=_0x3c1072;const {main:_0x341c40}=_0x5861c4[_0x55230a(0x207)](requireModule,_0x5861c4[_0x55230a(0x231)]);_0x5861c4['kPBKe'](_0x341c40);})[a41_0x3aca48(0x235)](a41_0x3aca48(0x218),Constants[a41_0x3aca48(0x20b)][a41_0x3aca48(0x1eb)],function(_0x128333){const _0xf79679=a41_0x3aca48,_0x41fb6d={'DYGtk':function(_0x62d7b9,_0x1ed77f,_0x1cd306,_0x2f7510){return _0x62d7b9(_0x1ed77f,_0x1cd306,_0x2f7510);},'ymeif':function(_0x433c76,_0x14bfc6){return _0x433c76(_0x14bfc6);},'hIIWY':_0xf79679(0x23b)},_0x4df9c2=process[_0xf79679(0x239)]['slice'](0x2);return _0x41fb6d[_0xf79679(0x21d)](captureError,_0x41fb6d[_0xf79679(0x21a)](require,_0x41fb6d[_0xf79679(0x1f2)]),_0x128333['argv'],_0x4df9c2);})[a41_0x3aca48(0x235)]('node',Constants[a41_0x3aca48(0x1fa)][a41_0x3aca48(0x1eb)],function(_0x461616){const _0x492e83=a41_0x3aca48,_0x1e4fa9={'VJXoz':function(_0xf301ae,_0x2b30e5,_0x42d61f,_0x35e599){return _0xf301ae(_0x2b30e5,_0x42d61f,_0x35e599);},'lVXRp':function(_0xb0a96e,_0x42adaf){return _0xb0a96e(_0x42adaf);},'VKJzd':_0x492e83(0x1ed)},_0x12ff49=process[_0x492e83(0x239)][_0x492e83(0x1f9)](0x2);return _0x1e4fa9['VJXoz'](captureError,_0x1e4fa9['lVXRp'](require,_0x1e4fa9[_0x492e83(0x225)]),_0x461616[_0x492e83(0x239)],_0x12ff49);})['command']('nightwatch',Constants[a41_0x3aca48(0x203)]['INFO'],function(_0x10835e){const _0x40c5cc=a41_0x3aca48,_0x319631={'IDpyT':function(_0x1e3d67,_0x34850e,_0x2daeea,_0x534952){return _0x1e3d67(_0x34850e,_0x2daeea,_0x534952);},'kUHux':function(_0x5da249,_0x4684a9){return _0x5da249(_0x4684a9);},'vsAZY':_0x40c5cc(0x24e)},_0x1e5df6=process[_0x40c5cc(0x239)][_0x40c5cc(0x1f9)](0x2);return _0x319631[_0x40c5cc(0x244)](captureError,_0x319631[_0x40c5cc(0x246)](require,_0x319631[_0x40c5cc(0x1e6)]),_0x10835e[_0x40c5cc(0x239)],_0x1e5df6);})[a41_0x3aca48(0x235)](a41_0x3aca48(0x23f),Constants[a41_0x3aca48(0x1f5)][a41_0x3aca48(0x1eb)],function(_0x401d55){const _0x266853=a41_0x3aca48,_0x54e8c5={'VkMlo':function(_0x3618fa,_0x383e93,_0x46e1a5,_0x5bf92f){return _0x3618fa(_0x383e93,_0x46e1a5,_0x5bf92f);},'DVzXl':function(_0x58a5a7,_0xcde92e){return _0x58a5a7(_0xcde92e);},'hyiLB':'./codeceptjs/command'},_0x3ee651=process['argv']['slice'](0x2);return _0x54e8c5[_0x266853(0x1f6)](captureError,_0x54e8c5[_0x266853(0x229)](require,_0x54e8c5[_0x266853(0x1e8)]),_0x401d55[_0x266853(0x239)],_0x3ee651);})[a41_0x3aca48(0x235)](a41_0x3aca48(0x20a),Constants['HST'][a41_0x3aca48(0x1eb)],function(_0x175202){const _0x44b4ea=a41_0x3aca48,_0x35e056={'jEbCq':function(_0x469024,_0x3bb8b0,_0x2f3ac5){return _0x469024(_0x3bb8b0,_0x2f3ac5);},'ZpVUK':function(_0x5eb603,_0x362647){return _0x5eb603(_0x362647);},'NAcLS':'../../ats/src/index'},_0x100793=process[_0x44b4ea(0x239)][_0x44b4ea(0x1f9)](0x2);return _0x35e056[_0x44b4ea(0x213)](captureError,_0x35e056[_0x44b4ea(0x226)](require,_0x35e056['NAcLS']),_0x175202);})[a41_0x3aca48(0x235)](a41_0x3aca48(0x238),Constants[a41_0x3aca48(0x232)][a41_0x3aca48(0x1eb)],function(_0x1ccf18){const _0x298a32={'BeRaf':function(_0x1efd9f,_0x54205f){return _0x1efd9f(_0x54205f);}};return _0x298a32['BeRaf'](runIntegrations,_0x1ccf18);})[a41_0x3aca48(0x235)](a41_0x3aca48(0x1fe),Constants[a41_0x3aca48(0x1ef)][a41_0x3aca48(0x1eb)],function(_0x1e2f4a){const _0xbbd288=a41_0x3aca48,_0xca3f9b={'CPlGj':function(_0x51edcd,_0x351f75,_0xc91e1e,_0x3ed623){return _0x51edcd(_0x351f75,_0xc91e1e,_0x3ed623);},'MEIIL':function(_0x314128,_0xe4ac19){return _0x314128(_0xe4ac19);},'iTfak':_0xbbd288(0x20c)},_0x496994=process[_0xbbd288(0x239)][_0xbbd288(0x1f9)](0x2);return _0xca3f9b[_0xbbd288(0x209)](captureError,_0xca3f9b[_0xbbd288(0x227)](require,_0xca3f9b[_0xbbd288(0x211)]),_0x1e2f4a[_0xbbd288(0x239)],_0x496994);})[a41_0x3aca48(0x249)](0x1,a41_0x3aca48(0x217))[a41_0x3aca48(0x222)](null)['argv'];!helper[a41_0x3aca48(0x202)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a41_0x3aca48(0x20a)&&console['error']('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a41_0x5d92d7=a41_0x52d4;(function(_0x538d8c,_0x427f3f){const _0x424f78=a41_0x52d4,_0x168b76=_0x538d8c();while(!![]){try{const _0x1a0e04=-parseInt(_0x424f78(0x1aa))/0x1*(parseInt(_0x424f78(0x1b3))/0x2)+parseInt(_0x424f78(0x1c3))/0x3+-parseInt(_0x424f78(0x1c9))/0x4*(parseInt(_0x424f78(0x1ce))/0x5)+parseInt(_0x424f78(0x1c0))/0x6+-parseInt(_0x424f78(0x18a))/0x7+-parseInt(_0x424f78(0x198))/0x8+-parseInt(_0x424f78(0x1e3))/0x9*(-parseInt(_0x424f78(0x187))/0xa);if(_0x1a0e04===_0x427f3f)break;else _0x168b76['push'](_0x168b76['shift']());}catch(_0x321456){_0x168b76['push'](_0x168b76['shift']());}}}(a41_0xd90d,0x64fcc));const fs=require('fs'),path=require(a41_0x5d92d7(0x1cf)),util=require('util'),{performance}=require(a41_0x5d92d7(0x1a3)),{requireModule}=require(a41_0x5d92d7(0x18e)),helper=require(a41_0x5d92d7(0x18e)),runIntegrations=require('./integrations/command'),captureError=async(_0x2d79dd,_0x1595b4,_0x56f0b4=null)=>{const _0x3d7802=a41_0x5d92d7,_0x12ec5a={'rsfwb':function(_0x5f5b44,_0x4ed2b4,_0x3da9f6){return _0x5f5b44(_0x4ed2b4,_0x3da9f6);},'puXcb':_0x3d7802(0x1a2)};try{await _0x12ec5a[_0x3d7802(0x1cb)](_0x2d79dd,_0x1595b4,_0x56f0b4);}catch(_0x4a004a){process['exitCode']=0x1,logger[_0x3d7802(0x1bd)](util[_0x3d7802(0x1e6)](_0x4a004a));const _0xb7b034={};_0xb7b034[_0x3d7802(0x1c1)]=_0x4a004a['message'];const _0x44a34e=_0xb7b034;if(helper[_0x3d7802(0x1d4)](global['config'])&&helper[_0x3d7802(0x1d4)](global[_0x3d7802(0x1e5)]))return;try{helper['fireFunnelTestEvent'](_0x12ec5a[_0x3d7802(0x1c2)],_0x44a34e,global[_0x3d7802(0x1dd)],global[_0x3d7802(0x1e5)]);}catch(_0x84b04c){logger[_0x3d7802(0x1a7)](_0x3d7802(0x1d8)+_0x84b04c);}}};function a41_0x52d4(_0x421392,_0x391f98){const _0xd90dd7=a41_0xd90d();return a41_0x52d4=function(_0x52d47f,_0x189d4f){_0x52d47f=_0x52d47f-0x182;let _0x32b14b=_0xd90dd7[_0x52d47f];return _0x32b14b;},a41_0x52d4(_0x421392,_0x391f98);}try{const browserstackFolderPath=path['join'](helper[a41_0x5d92d7(0x1a4)](),a41_0x5d92d7(0x188));if(fs[a41_0x5d92d7(0x1dc)](browserstackFolderPath)){const filePath=path[a41_0x5d92d7(0x196)](browserstackFolderPath,'.local-not-set.json');fs[a41_0x5d92d7(0x1dc)](filePath)&&fs[a41_0x5d92d7(0x1de)](filePath);}}catch(a41_0x45ab9d){logger[a41_0x5d92d7(0x1a7)](a41_0x5d92d7(0x1d7)+a41_0x45ab9d[a41_0x5d92d7(0x1a9)]);}process[a41_0x5d92d7(0x18b)]['includes'](a41_0x5d92d7(0x1a1))&&(!process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x19b)](a41_0x5d92d7(0x1d2))&&process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x18d)](a41_0x5d92d7(0x19e)),!process[a41_0x5d92d7(0x18b)]['includes']('--config')&&process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x18d)]('--no-config'),!process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x19b)](a41_0x5d92d7(0x1ba))&&process[a41_0x5d92d7(0x18b)][a41_0x5d92d7(0x18d)](a41_0x5d92d7(0x1bc)));const yargs=require(a41_0x5d92d7(0x1b1)),Constants=require(a41_0x5d92d7(0x195)),PerformanceTester=require('../helpers/performance-tester'),logger=require(a41_0x5d92d7(0x1b8))[a41_0x5d92d7(0x1ac)];PerformanceTester[a41_0x5d92d7(0x18c)](),performance[a41_0x5d92d7(0x1d3)]('sdk:setup-start');const a41_0x43681e={};a41_0x43681e['dot-notation']=![];function a41_0xd90d(){const _0x449e9c=['existsSync','config','unlinkSync','./cucumber-js/command','parserConfiguration','VERSION','AARze','18589707VFdKeI','HxCKV','framework','format','describe','HOUti','wrap','nightwatch','handler','./mocha/command','10cbypMZ','.browserstack','XOBYT','3916059SXNxRQ','argv','startMonitoring','push','../helpers/helper','./codeceptjs/command','ats','mocha/lib/cli/commands.js','TytAj','showHelpOnFail','CUCUMBER','./utils/constants','join','alias','3113616tfQEHc','jest','HELP','includes','nsnmQ','mocha/lib/cli/run.js','--no-opts','jQGtz','mocha/lib/cli/cli.js','mocha','SDKTestSuccessful','perf_hooks','homedir','./playwright/command','smrkE','debug','HST','message','83JLJXxJ','command','winstonLogger','JWzrP','version','bcCyg','NnMnt','yargs','NIGHTWATCH','17858tAsxtv','GmXHp','./nightwatch/command','niITs','QCHEV','../helpers/logger','cucumber-js','--package','NXmFa','--no-package','error','IBqUh','yTQSn','3342384PayRSC','globalException','puXcb','864636WdWTBz','help','PLAYWRIGHT','CnNZX','Imctg','VANILLA','3229636DfBQZG','../../ats/src/index','rsfwb','CyxHi','integrations','5fbaqkW','path','./jest/command','INFO','--opts','mark','isUndefined','DtbxM','JEST','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','KtpgE','slice','codeceptjs'];a41_0xd90d=function(){return _0x449e9c;};return a41_0xd90d();}const argv=yargs[a41_0x5d92d7(0x1e0)](a41_0x43681e)['usage']('usage:\x20$0\x20<command>\x20[args]')[a41_0x5d92d7(0x197)]('v',a41_0x5d92d7(0x1ae))[a41_0x5d92d7(0x1e7)]('v')[a41_0x5d92d7(0x197)]('h',a41_0x5d92d7(0x1c4))[a41_0x5d92d7(0x1c4)](a41_0x5d92d7(0x1c4))[a41_0x5d92d7(0x193)](!![],Constants[a41_0x5d92d7(0x1e1)][a41_0x5d92d7(0x19a)])[a41_0x5d92d7(0x1ab)](a41_0x5d92d7(0x199),Constants[a41_0x5d92d7(0x1d6)][a41_0x5d92d7(0x1d1)],function(_0xde2a6){const _0x4cceae=a41_0x5d92d7,_0x202d7b={'AxFXh':function(_0x761192,_0x416281,_0x2d6239,_0x47d8fd){return _0x761192(_0x416281,_0x2d6239,_0x47d8fd);},'bcCyg':function(_0x113ddd,_0x5aa388){return _0x113ddd(_0x5aa388);},'XOJIo':_0x4cceae(0x1d0)};helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x1713f5=process[_0x4cceae(0x18b)][_0x4cceae(0x1da)](0x2);return _0x202d7b['AxFXh'](captureError,_0x202d7b[_0x4cceae(0x1af)](require,_0x202d7b['XOJIo']),_0xde2a6['argv'],_0x1713f5);})['command'](a41_0x5d92d7(0x1a1),Constants['MOCHA'][a41_0x5d92d7(0x1d1)],_0x481655=>{const _0x10a303=a41_0x5d92d7,_0x26c891={'LGpGT':function(_0x4767a2,_0x1d2f62,_0x3c3dcc){return _0x4767a2(_0x1d2f62,_0x3c3dcc);},'TxaFT':function(_0x1f5d2e,_0x2e3716){return _0x1f5d2e(_0x2e3716);},'QCHEV':_0x10a303(0x186),'smrkE':'Parsing\x20command\x20line\x20arguements','HxCKV':function(_0x5a5082,_0x35a030){return _0x5a5082(_0x35a030);},'NXmFa':_0x10a303(0x19d),'XOBYT':function(_0x3d49ec,_0x3497b8){return _0x3d49ec(_0x3497b8);},'TytAj':_0x10a303(0x191),'GmXHp':_0x10a303(0x1a0),'yTQSn':function(_0x1cd037){return _0x1cd037();}};logger[_0x10a303(0x1a7)](_0x26c891[_0x10a303(0x1a6)]);const _0x2b0954=_0x26c891[_0x10a303(0x1e4)](requireModule,_0x26c891[_0x10a303(0x1bb)]),_0x37b563=_0x26c891[_0x10a303(0x189)](requireModule,_0x26c891[_0x10a303(0x192)]);process[_0x10a303(0x18b)]=process[_0x10a303(0x18b)][_0x10a303(0x1da)](0x1),delete _0x2b0954[_0x10a303(0x185)],_0x2b0954['handler']=function(_0x4ff097){const _0x4cbce2=_0x10a303;return _0x26c891['LGpGT'](captureError,_0x26c891['TxaFT'](require,_0x26c891[_0x4cbce2(0x1b7)]),_0x4ff097);},_0x37b563['run']=_0x2b0954;const {main:_0x505db8}=_0x26c891[_0x10a303(0x189)](requireModule,_0x26c891[_0x10a303(0x1b4)]);_0x26c891[_0x10a303(0x1bf)](_0x505db8);})[a41_0x5d92d7(0x1ab)](a41_0x5d92d7(0x1b9),Constants[a41_0x5d92d7(0x194)][a41_0x5d92d7(0x1d1)],function(_0x307c28){const _0x24a556=a41_0x5d92d7,_0x16afa9={'JWzrP':function(_0x18d94c,_0x559b25,_0x448c30,_0x440500){return _0x18d94c(_0x559b25,_0x448c30,_0x440500);},'YmxxR':function(_0x2a0ae1,_0x4435c6){return _0x2a0ae1(_0x4435c6);},'CnNZX':_0x24a556(0x1df)},_0x3f1812=process[_0x24a556(0x18b)][_0x24a556(0x1da)](0x2);return _0x16afa9[_0x24a556(0x1ad)](captureError,_0x16afa9['YmxxR'](require,_0x16afa9[_0x24a556(0x1c6)]),_0x307c28[_0x24a556(0x18b)],_0x3f1812);})[a41_0x5d92d7(0x1ab)]('node',Constants[a41_0x5d92d7(0x1c8)][a41_0x5d92d7(0x1d1)],function(_0x492f4e){const _0x3c8981=a41_0x5d92d7,_0x5d5d92={'dSdBn':function(_0x276ec0,_0x719535,_0x56c91b,_0x204380){return _0x276ec0(_0x719535,_0x56c91b,_0x204380);},'jQGtz':function(_0x206656,_0x9bf697){return _0x206656(_0x9bf697);},'nsnmQ':'./vanilla-js/command'},_0x5ea32e=process[_0x3c8981(0x18b)]['slice'](0x2);return _0x5d5d92['dSdBn'](captureError,_0x5d5d92[_0x3c8981(0x19f)](require,_0x5d5d92[_0x3c8981(0x19c)]),_0x492f4e[_0x3c8981(0x18b)],_0x5ea32e);})['command'](a41_0x5d92d7(0x184),Constants[a41_0x5d92d7(0x1b2)][a41_0x5d92d7(0x1d1)],function(_0x251ed0){const _0x3a351f=a41_0x5d92d7,_0x5e48b7={'HOUti':function(_0x1aadcd,_0x230ba9,_0x3f1412,_0x3e4c1a){return _0x1aadcd(_0x230ba9,_0x3f1412,_0x3e4c1a);},'codis':function(_0x553ff8,_0x163072){return _0x553ff8(_0x163072);},'AARze':_0x3a351f(0x1b5)},_0x1d6557=process[_0x3a351f(0x18b)][_0x3a351f(0x1da)](0x2);return _0x5e48b7[_0x3a351f(0x182)](captureError,_0x5e48b7['codis'](require,_0x5e48b7[_0x3a351f(0x1e2)]),_0x251ed0[_0x3a351f(0x18b)],_0x1d6557);})['command'](a41_0x5d92d7(0x1db),Constants['CODECEPTJS'][a41_0x5d92d7(0x1d1)],function(_0x5f8929){const _0x22cf92=a41_0x5d92d7,_0x11d200={'DtbxM':function(_0xcb211e,_0x2d1901,_0x3cfea6,_0x10358f){return _0xcb211e(_0x2d1901,_0x3cfea6,_0x10358f);},'KtpgE':function(_0x528a8a,_0x528f89){return _0x528a8a(_0x528f89);},'ViVot':_0x22cf92(0x18f)},_0x1c03c8=process[_0x22cf92(0x18b)][_0x22cf92(0x1da)](0x2);return _0x11d200[_0x22cf92(0x1d5)](captureError,_0x11d200[_0x22cf92(0x1d9)](require,_0x11d200['ViVot']),_0x5f8929[_0x22cf92(0x18b)],_0x1c03c8);})['command']('ats',Constants[a41_0x5d92d7(0x1a8)][a41_0x5d92d7(0x1d1)],function(_0x821dd5){const _0x2f280d=a41_0x5d92d7,_0x304314={'oYjDF':function(_0x3036be,_0x4f4eab,_0x3cb24a){return _0x3036be(_0x4f4eab,_0x3cb24a);},'IBqUh':function(_0x1d3dc0,_0x429d9b){return _0x1d3dc0(_0x429d9b);},'Imctg':_0x2f280d(0x1ca)},_0x1f6eee=process[_0x2f280d(0x18b)][_0x2f280d(0x1da)](0x2);return _0x304314['oYjDF'](captureError,_0x304314[_0x2f280d(0x1be)](require,_0x304314[_0x2f280d(0x1c7)]),_0x821dd5);})[a41_0x5d92d7(0x1ab)](a41_0x5d92d7(0x1cd),Constants['INTEGRATIONS'][a41_0x5d92d7(0x1d1)],function(_0x41d223){const _0x2b797b=a41_0x5d92d7,_0x4889f2={'CyxHi':function(_0x5b8588,_0x50a57d){return _0x5b8588(_0x50a57d);}};return _0x4889f2[_0x2b797b(0x1cc)](runIntegrations,_0x41d223);})[a41_0x5d92d7(0x1ab)]('playwright',Constants[a41_0x5d92d7(0x1c5)]['INFO'],function(_0x4119e6){const _0xb06839=a41_0x5d92d7,_0x222fa6={'NnMnt':function(_0x261e2b,_0x1d457d,_0x23d0ad,_0xa6f696){return _0x261e2b(_0x1d457d,_0x23d0ad,_0xa6f696);},'niITs':function(_0x4083a7,_0x53fd28){return _0x4083a7(_0x53fd28);},'qIhUi':_0xb06839(0x1a5)},_0x3d51e6=process[_0xb06839(0x18b)][_0xb06839(0x1da)](0x2);return _0x222fa6[_0xb06839(0x1b0)](captureError,_0x222fa6[_0xb06839(0x1b6)](require,_0x222fa6['qIhUi']),_0x4119e6[_0xb06839(0x18b)],_0x3d51e6);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a41_0x5d92d7(0x183)](null)[a41_0x5d92d7(0x18b)];!helper[a41_0x5d92d7(0x1d4)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a41_0x5d92d7(0x190)&&console[a41_0x5d92d7(0x1bd)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
function a42_0x16b6(){const _0x597125=['join','push','parse','source','cwd','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','zniBF','tZBPw','entries','/package.json','2410872rdXsdt','indexOf','/browserstack.yml','load','replace','ALSTB','Skwey','cucumber-js','SqPos','QIPtn','scripts','ofGhz','3908855xvnyix','VttMR','utf8','/../../browserstack.pw.yml.sample','DBTgs','username','js-yaml','yTdCN','YOUR_USERNAME','readFileSync','node','SDKSetup','2987180NSlfYm','splice','isUndefined','debug','TvkAk','wQNkV','oRKnz','codeceptjs','length','playwright','Setup\x20completed','fireFunnelTestEvent','writeFileSync','../helpers/logger','15qkCfNu','split','info','XLFLg','argv','20ycbkZr','Adding\x20new\x20script(s)\x20in\x20package.json...','pmijd','winstonLogger','mocha','browserstack-node-sdk\x20','yargs','node-setup','19370628BgdyDs','browserstack-node-sdk','error','126972hMApeD','stringify','npm\x20update\x20browserstack-node-sdk','postinstall','448296gtpKIl','233505hwWRbK','includes','322dQSGZJ','LKnCz','key','jest','Creating\x20configuration\x20file...'];a42_0x16b6=function(){return _0x597125;};return a42_0x16b6();}const a42_0x4c2050=a42_0x497e;(function(_0x23fed9,_0x491074){const _0x45437b=a42_0x497e,_0x5300fc=_0x23fed9();while(!![]){try{const _0x203030=-parseInt(_0x45437b(0xde))/0x1+-parseInt(_0x45437b(0xdd))/0x2*(parseInt(_0x45437b(0xc9))/0x3)+-parseInt(_0x45437b(0xbb))/0x4+-parseInt(_0x45437b(0xfb))/0x5+parseInt(_0x45437b(0xd9))/0x6*(-parseInt(_0x45437b(0xe0))/0x7)+parseInt(_0x45437b(0xef))/0x8+-parseInt(_0x45437b(0xd6))/0x9*(-parseInt(_0x45437b(0xce))/0xa);if(_0x203030===_0x491074)break;else _0x5300fc['push'](_0x5300fc['shift']());}catch(_0x51a664){_0x5300fc['push'](_0x5300fc['shift']());}}}(a42_0x16b6,0xb7070));const fs=require('fs'),helper=require('../helpers/helper'),yaml=require(a42_0x4c2050(0xb5)),yargs=require(a42_0x4c2050(0xd4)),logger=require(a42_0x4c2050(0xc8))[a42_0x4c2050(0xd1)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a42_0x4c2050(0xb2),configFile=process[a42_0x4c2050(0xe9)]()+a42_0x4c2050(0xf1),packageFile=process['cwd']()+a42_0x4c2050(0xee),frameworks=[a42_0x4c2050(0xd2),a42_0x4c2050(0xe3),a42_0x4c2050(0xf6),a42_0x4c2050(0xb9),'nightwatch',a42_0x4c2050(0xc2),a42_0x4c2050(0xc4)];let config;function a42_0x497e(_0x304761,_0x1854d3){const _0x16b6b6=a42_0x16b6();return a42_0x497e=function(_0x497ef2,_0x3be7b3){_0x497ef2=_0x497ef2-0xb0;let _0x1865a3=_0x16b6b6[_0x497ef2];return _0x1865a3;},a42_0x497e(_0x304761,_0x1854d3);}logger[a42_0x4c2050(0xcb)](a42_0x4c2050(0xe4)),createConfigurationFile(yargs[a42_0x4c2050(0xcd)][a42_0x4c2050(0xb4)],yargs['argv'][a42_0x4c2050(0xe2)],yargs[a42_0x4c2050(0xcd)]['playwright']);try{sdkSetup();}catch(a42_0x388ddd){logger[a42_0x4c2050(0xbe)](a42_0x4c2050(0xea)+a42_0x388ddd);}addScriptInPackageJson();function createConfigurationFile(_0x2af992,_0x55522e,_0x4817b3=![]){const _0x5cba9a=a42_0x4c2050,_0x7c30fb={};_0x7c30fb[_0x5cba9a(0xeb)]='utf8',_0x7c30fb[_0x5cba9a(0xf7)]=_0x5cba9a(0xb7),_0x7c30fb['VttMR']='YOUR_ACCESS_KEY';const _0x21ee0e=_0x7c30fb;try{let _0x212632=fs['readFileSync'](_0x4817b3?configFileTemplatePW:configFileTemplate,_0x21ee0e[_0x5cba9a(0xeb)]);_0x2af992&&(_0x212632=_0x212632[_0x5cba9a(0xf3)](_0x21ee0e[_0x5cba9a(0xf7)],_0x2af992)),_0x55522e&&(_0x212632=_0x212632[_0x5cba9a(0xf3)](_0x21ee0e[_0x5cba9a(0xb0)],_0x55522e)),config=yaml[_0x5cba9a(0xf2)](_0x212632),fs[_0x5cba9a(0xc7)](configFile,_0x212632,_0x4ad8ee=>{_0x4ad8ee&&logger['error'](_0x4ad8ee);});}catch(_0x4e8498){logger[_0x5cba9a(0xd8)](_0x4e8498);}}function addPostInstallScript(_0x198c34,_0x390498){const _0xc6bf99=a42_0x4c2050,_0x5200fa={};_0x5200fa[_0xc6bf99(0xb6)]=_0xc6bf99(0xdc),_0x5200fa['oKWRv']=_0xc6bf99(0xdb),_0x5200fa[_0xc6bf99(0xfa)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x1f1380=_0x5200fa;let _0x1adbba=_0x198c34[_0x1f1380[_0xc6bf99(0xb6)]];if(_0x1adbba&&_0x1adbba[_0xc6bf99(0xdf)](_0x1f1380['oKWRv']))return;!_0x1adbba?_0x1adbba=_0x1f1380['oKWRv']:_0x1adbba+=_0x1f1380[_0xc6bf99(0xfa)],_0x390498[_0xc6bf99(0xe6)]([_0x1f1380[_0xc6bf99(0xb6)],_0x1adbba]);}function addScriptInPackageJson(){const _0x12c99a=a42_0x4c2050,_0x16900f={'hNkGl':_0x12c99a(0xb1),'Skwey':function(_0x38f636,_0x1fee8f){return _0x38f636<_0x1fee8f;},'wQNkV':function(_0xa15dea,_0x366b83,_0x103800){return _0xa15dea(_0x366b83,_0x103800);},'ALSTB':function(_0x2a0d8a,_0x23fdfa){return _0x2a0d8a<_0x23fdfa;},'XLFLg':function(_0x2fdc5d,_0x598845){return _0x2fdc5d!==_0x598845;},'CDLur':_0x12c99a(0xcf)},_0x222ec3=JSON[_0x12c99a(0xe7)](fs[_0x12c99a(0xb8)](packageFile,_0x16900f['hNkGl'])),_0x2d45ac=[];for(let _0x91a8e=0x0;_0x16900f[_0x12c99a(0xf5)](_0x91a8e,frameworks[_0x12c99a(0xc3)]);_0x91a8e+=0x1){const _0x4c9bab=_0x16900f['wQNkV'](findScriptsWithFramework,_0x222ec3['scripts'],frameworks[_0x91a8e]);for(let _0xf6b244=0x0;_0x16900f[_0x12c99a(0xf5)](_0xf6b244,_0x4c9bab[_0x12c99a(0xc3)]);_0xf6b244+=0x1){_0x2d45ac['push'](_0x16900f[_0x12c99a(0xc0)](getUpdatedCommand,_0x222ec3[_0x12c99a(0xf9)],_0x4c9bab[_0xf6b244]));}_0x16900f[_0x12c99a(0xc0)](addPostInstallScript,_0x222ec3[_0x12c99a(0xf9)],_0x2d45ac);}const _0x2cf715={..._0x222ec3[_0x12c99a(0xf9)]},_0x1b1f4a=_0x2cf715;for(let _0x3fefdc=0x0;_0x16900f[_0x12c99a(0xf4)](_0x3fefdc,_0x2d45ac[_0x12c99a(0xc3)]);_0x3fefdc+=0x1){_0x1b1f4a[_0x2d45ac[_0x3fefdc][0x0]]=_0x2d45ac[_0x3fefdc][0x1];}_0x16900f[_0x12c99a(0xcc)](JSON[_0x12c99a(0xda)](_0x222ec3[_0x12c99a(0xf9)]),JSON[_0x12c99a(0xda)](_0x1b1f4a))&&(logger[_0x12c99a(0xcb)](_0x16900f['CDLur']),_0x222ec3['scripts']=_0x1b1f4a,fs[_0x12c99a(0xc7)](packageFile,JSON[_0x12c99a(0xda)](_0x222ec3,null,0x2),_0x58b688=>{const _0x4ae14a=_0x12c99a;_0x58b688&&logger[_0x4ae14a(0xd8)](_0x58b688);}));};function findScriptsWithFramework(_0x5151ee,_0x4d5572){const _0x3410ef=a42_0x4c2050,_0xd6a48a={};_0xd6a48a[_0x3410ef(0xc1)]=function(_0x2f03de,_0x2e9251){return _0x2f03de<_0x2e9251;},_0xd6a48a[_0x3410ef(0xec)]=_0x3410ef(0xd7);const _0x2959ff=_0xd6a48a,_0x4e603d=[],_0x1e85b9=Object[_0x3410ef(0xed)](_0x5151ee);for(let _0x13ea62=0x0;_0x2959ff[_0x3410ef(0xc1)](_0x13ea62,_0x1e85b9[_0x3410ef(0xc3)]);_0x13ea62+=0x1){_0x1e85b9[_0x13ea62][0x1][_0x3410ef(0xdf)](_0x4d5572)&&!_0x1e85b9[_0x13ea62][0x1][_0x3410ef(0xdf)](_0x2959ff[_0x3410ef(0xec)])&&_0x4e603d[_0x3410ef(0xe6)](_0x1e85b9[_0x13ea62][0x0]);}return _0x4e603d;}function getUpdatedCommand(_0x2e32a5,_0xd619aa){const _0x58afb2=a42_0x4c2050,_0x2c653d={};_0x2c653d[_0x58afb2(0xbf)]=function(_0x36dc98,_0x298944){return _0x36dc98!==_0x298944;},_0x2c653d[_0x58afb2(0xb3)]=_0x58afb2(0xd7),_0x2c653d[_0x58afb2(0xe1)]=function(_0x1fd1cb,_0x556c49){return _0x1fd1cb===_0x556c49;};const _0x51b89e=_0x2c653d,_0x50657f=_0xd619aa+'-browserstack',_0x4ce19a=_0x2e32a5[_0xd619aa],_0x4a265a=_0x4ce19a[_0x58afb2(0xca)]('\x20');for(const _0x1a0723 of frameworks){if(_0x51b89e[_0x58afb2(0xbf)](_0x4a265a[_0x58afb2(0xf0)](_0x1a0723),-0x1)){_0x4a265a[_0x58afb2(0xbc)](_0x4a265a[_0x58afb2(0xf0)](_0x1a0723),0x0,_0x51b89e[_0x58afb2(0xb3)]);break;}}let _0x3dcd69=_0x4a265a[_0x58afb2(0xe5)]('\x20');return _0x51b89e[_0x58afb2(0xe1)](_0x3dcd69,_0x4ce19a)&&(_0x3dcd69=_0x58afb2(0xd3)+_0x4ce19a),[_0x50657f,_0x3dcd69];}function sdkSetup(){const _0x431aca=a42_0x4c2050,_0x568284={};_0x568284[_0x431aca(0xd0)]=_0x431aca(0xd5),_0x568284[_0x431aca(0xf8)]=_0x431aca(0xba);const _0x17f3c8=_0x568284;if(helper[_0x431aca(0xbd)](config))return;config[_0x431aca(0xe8)]=_0x17f3c8[_0x431aca(0xd0)];try{helper[_0x431aca(0xc6)](_0x17f3c8['QIPtn'],{},config,'');}catch(_0x457ceb){logger[_0x431aca(0xbe)](_0x431aca(0xea)+_0x457ceb);}}logger[a42_0x4c2050(0xcb)](a42_0x4c2050(0xc5));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0xb24961=a43_0x5bdd;(function(_0x5c4590,_0xd41b13){const _0x1529a3=a43_0x5bdd,_0x41449a=_0x5c4590();while(!![]){try{const _0x9a1219=-parseInt(_0x1529a3(0x123))/0x1*(-parseInt(_0x1529a3(0x14b))/0x2)+-parseInt(_0x1529a3(0x13a))/0x3*(parseInt(_0x1529a3(0x132))/0x4)+parseInt(_0x1529a3(0x142))/0x5*(parseInt(_0x1529a3(0x13e))/0x6)+-parseInt(_0x1529a3(0x188))/0x7*(parseInt(_0x1529a3(0x139))/0x8)+parseInt(_0x1529a3(0x15b))/0x9+parseInt(_0x1529a3(0x153))/0xa+-parseInt(_0x1529a3(0x169))/0xb;if(_0x9a1219===_0xd41b13)break;else _0x41449a['push'](_0x41449a['shift']());}catch(_0x25c859){_0x41449a['push'](_0x41449a['shift']());}}}(a43_0xd84a,0x1be44));const Worker=require('jest-worker')['Worker'],Emittery=require(a43_0xb24961(0x171)),pLimit=require(a43_0xb24961(0x151)),util=require('util'),logger=require(a43_0xb24961(0x14a))[a43_0xb24961(0x165)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a43_0xb24961(0x18c)),SessionHandler=require(a43_0xb24961(0x175)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a43_0xb24961(0x145)),checkAccessibility=_0x3331a7=>{const _0x216156=a43_0xb24961,_0x2f8868={};_0x2f8868[_0x216156(0x18a)]=function(_0xfb77bf,_0x5877ca){return _0xfb77bf===_0x5877ca;};const _0x58fd3a=_0x2f8868;let _0x124aa2=![];try{_0x3331a7[_0x216156(0x127)]['forEach'](_0x277483=>{const _0x5ae05e=_0x216156;if(_0x58fd3a[_0x5ae05e(0x18a)](_0x277483[_0x5ae05e(0x166)],!![]))return _0x124aa2=!![],!![];});}catch(_0x4a92eb){logger['debug'](_0x216156(0x182)+_0x4a92eb);}return _0x124aa2;};exports[a43_0xb24961(0x12d)]=(_0x588f70,_0x16b124,_0x56de2c)=>new Promise(async _0x45d18d=>{const _0x1afc2f=a43_0xb24961,_0xd3e274={'jCuct':_0x1afc2f(0x15d),'Esnqq':function(_0x57de77,_0x2a2d6b){return _0x57de77+_0x2a2d6b;},'rDxQo':'results','heWcQ':_0x1afc2f(0x17f),'nUMvq':function(_0x575b76){return _0x575b76();},'IjPvX':function(_0x3e022d,_0x3058a2){return _0x3e022d(_0x3058a2);},'cQVyn':function(_0x53ad1f){return _0x53ad1f();},'wZlGe':_0x1afc2f(0x137),'iltwp':_0x1afc2f(0x15f),'hgybE':function(_0x132b2f,_0x385866){return _0x132b2f===_0x385866;},'asKDj':_0x1afc2f(0x18b),'gwATl':function(_0x1de8ae,_0x15512d){return _0x1de8ae(_0x15512d);},'YiakD':function(_0x53a23e,_0x2c35b0){return _0x53a23e===_0x2c35b0;},'GWBUx':function(_0x3802a6,_0x36421f,_0x4ae9fc){return _0x3802a6(_0x36421f,_0x4ae9fc);},'BjKGX':'./testWorker.js','yticC':'worker','fICDt':_0x1afc2f(0x16b),'GhhaY':_0x1afc2f(0x12b),'jdJSH':function(_0x586ccf,_0x15a2c0){return _0x586ccf*_0x15a2c0;},'IRoam':_0x1afc2f(0x179),'OvrzX':'test-file-failure','Xdfdt':function(_0xbef4b8,_0x55d71b){return _0xbef4b8(_0x55d71b);}},_0x469f4a={},_0x24ccc7={..._0x56de2c};_0x24ccc7[_0x1afc2f(0x15c)]='',await SessionHandler['launch'](_0x24ccc7,{'frameworkName':_0xd3e274[_0x1afc2f(0x122)],'frameworkVersion':_0xd3e274['IjPvX'](getFrameworkVersion,_0xd3e274['iltwp'])});let _0x11144a=_0xd3e274[_0x1afc2f(0x17e)](process[_0x1afc2f(0x11d)][_0x1afc2f(0x167)],_0xd3e274[_0x1afc2f(0x125)]);process[_0x1afc2f(0x11d)][_0x1afc2f(0x13c)]=_0xd3e274['gwATl'](checkAccessibility,_0x56de2c),_0x11144a=_0x11144a||_0xd3e274[_0x1afc2f(0x12f)](process[_0x1afc2f(0x11d)][_0x1afc2f(0x13c)],_0xd3e274[_0x1afc2f(0x125)]);if(_0x11144a){const [_0xd3f5c2,_0x5d5342]=await _0xd3e274['GWBUx'](createAccessibilityTestRun,_0x56de2c,_0xd3e274[_0x1afc2f(0x122)]);logger['debug'](_0x1afc2f(0x14d)+_0x5d5342),process['env'][_0x1afc2f(0x136)]=_0xd3f5c2,process[_0x1afc2f(0x11d)][_0x1afc2f(0x14f)]=_0x5d5342;}const _0x249c1c=new Worker(require[_0x1afc2f(0x129)](_0xd3e274[_0x1afc2f(0x14c)]),{'exposedMethods':[_0xd3e274['yticC']],'forkOptions':{'serialization':_0xd3e274['fICDt'],'stdio':_0xd3e274[_0x1afc2f(0x128)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0xd3e274[_0x1afc2f(0x177)](_0x16b124,0x1),'enableWorkerThreads':!![]}),_0x2130db=new Emittery();_0x2130db['on'](_0xd3e274['IRoam'],_0x504a61=>{const _0x58abc8=_0x1afc2f;_0x469f4a[_0x504a61[0x0]]?(_0x469f4a[_0x504a61[0x0]][_0xd3e274[_0x58abc8(0x11f)]]=_0xd3e274[_0x58abc8(0x130)](_0x469f4a[_0x504a61[0x0]][_0xd3e274[_0x58abc8(0x11f)]],_0x504a61[0x1][_0xd3e274[_0x58abc8(0x11f)]]),_0x469f4a[_0x504a61[0x0]][_0xd3e274[_0x58abc8(0x133)]]=[..._0x469f4a[_0x504a61[0x0]][_0xd3e274[_0x58abc8(0x133)]],..._0x504a61[0x1][_0xd3e274['rDxQo']]]):_0x469f4a[_0x504a61[0x0]]={'failureCount':_0x504a61[0x1][_0xd3e274[_0x58abc8(0x11f)]],'results':[..._0x504a61[0x1][_0xd3e274[_0x58abc8(0x133)]]]};}),_0x2130db['on'](_0xd3e274[_0x1afc2f(0x134)],_0x4ddfd7=>console[_0x1afc2f(0x16d)](_0x4ddfd7[0x1]));_0x249c1c[_0x1afc2f(0x124)]()&&_0x249c1c[_0x1afc2f(0x124)]()[_0x1afc2f(0x12b)](process[_0x1afc2f(0x146)]);_0x249c1c['getStderr']()&&_0x249c1c[_0x1afc2f(0x12e)]()['pipe'](process[_0x1afc2f(0x120)]);const _0x287a08=async()=>{const _0x3e9198=_0x1afc2f,{forceExited:_0x827e9d}=await _0x249c1c[_0x3e9198(0x162)]();_0x827e9d&&console[_0x3e9198(0x16c)](_0xd3e274[_0x3e9198(0x121)]);_0xd3e274[_0x3e9198(0x186)](isAccessibilityAutomationSession)&&await _0xd3e274['IjPvX'](stopAccessibilityTestRun,_0x56de2c)[_0x3e9198(0x126)](_0x2af744=>{const _0x13b91d=_0x3e9198;logger[_0x13b91d(0x16c)](_0x13b91d(0x163)+util[_0x13b91d(0x17a)](_0x2af744));});if(_0xd3e274[_0x3e9198(0x161)](isTestObservabilitySession))try{await SessionHandler['stop']();}catch(_0x4f6ac9){_0xd3e274[_0x3e9198(0x18d)](debug,_0x3e9198(0x181)+_0x4f6ac9);}_0xd3e274['IjPvX'](_0x45d18d,_0x469f4a);},_0x294ae2=_0xd3e274[_0x1afc2f(0x164)](pLimit,_0xd3e274[_0x1afc2f(0x177)](_0x16b124,0x1)),_0x366fd4=_0x28f6de=>_0x294ae2(async()=>{const _0x3aa248=_0x1afc2f;return await _0x2130db[_0x3aa248(0x170)](_0xd3e274['wZlGe'],_0x28f6de),_0x249c1c[_0x3aa248(0x178)](_0x28f6de,_0x56de2c);});Promise[_0x1afc2f(0x159)](_0x588f70[_0x1afc2f(0x13b)](_0x4d9d17=>_0x366fd4(_0x4d9d17)['then'](_0x40528a=>_0x2130db['emit'](_0x1afc2f(0x179),[_0x4d9d17[_0x1afc2f(0x176)][_0x1afc2f(0x172)],_0x40528a]),_0x3b7b72=>_0x2130db['emit'](_0x1afc2f(0x154),[_0x4d9d17,_0x3b7b72]))))[_0x1afc2f(0x16e)](_0x287a08,_0x287a08);}),exports[a43_0xb24961(0x15e)]=(_0x364799,_0x252578,_0x5477b2,_0x42d531,_0x2e0ce2)=>{const _0x250489=a43_0xb24961,_0xa8bac5={'jYhTm':_0x250489(0x17f),'lJWVm':function(_0x574698,_0xd4264e){return _0x574698(_0xd4264e);},'eSIkW':_0x250489(0x141),'ggiek':_0x250489(0x131),'ZlHUI':_0x250489(0x150),'RbaoQ':'json','oQRNe':_0x250489(0x12b),'VFgTX':_0x250489(0x17d),'aPgOG':'platform-run-failure','snoyW':function(_0x2a240e,_0x12dca1){return _0x2a240e(_0x12dca1);}};return new Promise(_0x12b9dc=>{const _0x3f0867=_0x250489,_0x982459={'jtWsL':_0xa8bac5[_0x3f0867(0x183)],'ybmff':function(_0x450b3f,_0x212137){const _0x21d257=_0x3f0867;return _0xa8bac5[_0x21d257(0x180)](_0x450b3f,_0x212137);},'gUzSt':_0xa8bac5['eSIkW']},_0x10241b=[],_0x306c71=new Worker(require['resolve'](_0xa8bac5[_0x3f0867(0x138)]),{'exposedMethods':[_0xa8bac5[_0x3f0867(0x12a)]],'forkOptions':{'serialization':_0xa8bac5[_0x3f0867(0x148)],'stdio':_0xa8bac5['oQRNe']},'numWorkers':_0x364799[_0x3f0867(0x185)],'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x12262f=new Emittery();_0x12262f['on'](_0xa8bac5[_0x3f0867(0x17b)],_0x2e7751=>{_0x10241b['push']([_0x2e7751[0x0],_0x2e7751[0x1]]);}),_0x12262f['on'](_0xa8bac5['aPgOG'],_0x440bb8=>console['log'](_0x440bb8[0x1]));_0x306c71[_0x3f0867(0x124)]()&&_0x306c71[_0x3f0867(0x124)]()[_0x3f0867(0x12b)](process['stdout']);_0x306c71[_0x3f0867(0x12e)]()&&_0x306c71[_0x3f0867(0x12e)]()[_0x3f0867(0x12b)](process[_0x3f0867(0x120)]);const _0x5a154b=async()=>{const _0x24add5=_0x3f0867,{forceExited:_0x8c1bef}=await _0x306c71['end']();_0x8c1bef&&console['error'](_0x982459['jtWsL']),_0x982459[_0x24add5(0x16f)](_0x12b9dc,_0x10241b);},_0x20653d=_0xa8bac5[_0x3f0867(0x12c)](pLimit,_0x364799[_0x3f0867(0x185)]),_0x50f92e=(_0x57251a,_0x52e9fc)=>_0x20653d(async()=>{const _0xfca57b=_0x3f0867;return await _0x12262f[_0xfca57b(0x170)](_0x982459[_0xfca57b(0x184)],_0x57251a),_0x252578[_0xfca57b(0x157)]=_0x5477b2[_0xfca57b(0x127)][_0x52e9fc],_0x306c71['cucumberWorker'](_0x57251a,_0x252578,_0x5477b2,_0x42d531,_0x2e0ce2);});Promise[_0x3f0867(0x159)](_0x364799[_0x3f0867(0x13b)]((_0x38fe3d,_0x17b3ce)=>_0x50f92e(_0x38fe3d,_0x17b3ce)['then'](_0x9e1239=>_0x12262f['emit']('platform-run-success',[_0x38fe3d,_0x9e1239]),_0x14da9a=>_0x12262f[_0x3f0867(0x170)](_0x3f0867(0x140),[_0x38fe3d,_0x14da9a]))))[_0x3f0867(0x16e)](_0x5a154b,_0x5a154b);});},exports[a43_0xb24961(0x17c)]=(_0x408a64,_0xec00e0)=>new Promise(_0x5d8685=>{const _0x4e35b9=a43_0xb24961,_0x3c4fc2={'SdJlO':_0x4e35b9(0x187),'EnBXw':function(_0x13f4e6,_0x11efd4){return _0x13f4e6===_0x11efd4;},'MBdEU':function(_0x1bfb00,_0xbd9437){return _0x1bfb00!==_0xbd9437;},'aIfIa':_0x4e35b9(0x17f),'TnUFd':function(_0x5588e0,_0x7f5eed){return _0x5588e0(_0x7f5eed);},'FPWkK':_0x4e35b9(0x131),'ZdEpy':_0x4e35b9(0x13d),'aNnFy':'json','GdYAO':_0x4e35b9(0x12b),'DCEcv':_0x4e35b9(0x179),'BdItg':'test-file-failure','GOJCE':function(_0x28fc0d,_0x31b418){return _0x28fc0d(_0x31b418);}},_0x6bd9aa={},_0x314de4=new Worker(require[_0x4e35b9(0x129)](_0x3c4fc2[_0x4e35b9(0x160)]),{'exposedMethods':[_0x3c4fc2['ZdEpy']],'forkOptions':{'serialization':_0x3c4fc2[_0x4e35b9(0x174)],'stdio':_0x3c4fc2[_0x4e35b9(0x147)]},'numWorkers':_0xec00e0,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x553647=new Emittery();_0x553647['on'](_0x3c4fc2[_0x4e35b9(0x173)],_0x13cce4=>{const _0x5d89a0=_0x4e35b9;_0x13cce4[0x0]&&logger[_0x5d89a0(0x11e)]('Running\x20'+_0x13cce4[0x1]+_0x5d89a0(0x135),_0x13cce4[0x0]);}),_0x553647['on'](_0x3c4fc2[_0x4e35b9(0x13f)],_0x53fc24=>{const _0x595559=_0x4e35b9;process[_0x595559(0x11c)]=0x1;});_0x314de4[_0x4e35b9(0x124)]()&&_0x314de4['getStdout']()[_0x4e35b9(0x12b)](process['stdout']);_0x314de4[_0x4e35b9(0x12e)]()&&_0x314de4['getStderr']()[_0x4e35b9(0x12b)](process[_0x4e35b9(0x120)]);const _0x22b683=async()=>{const _0x5e3bd5=_0x4e35b9,_0x4232d4={'zYCAv':function(_0x183ebb,_0x31b2c4){const _0x95b473=a43_0x5bdd;return _0x3c4fc2[_0x95b473(0x15a)](_0x183ebb,_0x31b2c4);},'WNhtf':function(_0x3bf5e2,_0x490889){const _0x8eec4b=a43_0x5bdd;return _0x3c4fc2[_0x8eec4b(0x158)](_0x3bf5e2,_0x490889);}};let _0x2befef=0x0;const _0x1dfb47=_0x314de4[_0x5e3bd5(0x16a)]['getWorkers'](),_0x3ebb7b=()=>{},_0x2a12f3=_0x1dfb47['map'](async _0x3f4bd7=>{const _0x2c3980=_0x5e3bd5;_0x3f4bd7[_0x2c3980(0x149)]([0x2,![]],_0x3ebb7b,_0x3ebb7b,_0x3ebb7b),_0x3f4bd7[_0x2c3980(0x152)]['on'](_0x3c4fc2[_0x2c3980(0x156)],_0x445127=>{const _0xca2172=_0x2c3980;_0x4232d4[_0xca2172(0x189)](_0x2befef,0x0)&&_0x4232d4[_0xca2172(0x144)](_0x445127,0x0)&&(_0x2befef=_0x445127);}),await _0x3f4bd7[_0x2c3980(0x155)]();});await Promise[_0x5e3bd5(0x159)](_0x2a12f3),process[_0x5e3bd5(0x11c)]=_0x2befef;const {forceExited:_0x3dc89c}=await _0x314de4[_0x5e3bd5(0x162)]();_0x3dc89c&&console[_0x5e3bd5(0x16c)](_0x3c4fc2[_0x5e3bd5(0x168)]),_0x3c4fc2[_0x5e3bd5(0x143)](_0x5d8685,_0x6bd9aa);},_0x36cc7e=_0x3c4fc2['GOJCE'](pLimit,_0xec00e0),_0x3f4af8=_0x135c9a=>_0x36cc7e(async()=>{const _0x2d3da7=_0x4e35b9;return _0x314de4[_0x2d3da7(0x13d)](_0x135c9a);});Promise[_0x4e35b9(0x159)](_0x408a64[_0x4e35b9(0x13b)](_0x22e994=>_0x3f4af8(_0x22e994)[_0x4e35b9(0x16e)](_0x55692d=>_0x553647[_0x4e35b9(0x170)]('test-file-success',[_0x22e994[_0x4e35b9(0x176)][_0x4e35b9(0x172)],_0x22e994['configuration'][_0x4e35b9(0x14e)]]),_0x3e831d=>_0x553647['emit']('test-file-failure',[_0x22e994,_0x3e831d]))))[_0x4e35b9(0x16e)](_0x22b683,_0x22b683);});function a43_0x5bdd(_0x16a7d8,_0x2c9a37){const _0xd84a6b=a43_0xd84a();return a43_0x5bdd=function(_0x5bdde9,_0x59efff){_0x5bdde9=_0x5bdde9-0x11c;let _0x1f949e=_0xd84a6b[_0x5bdde9];return _0x1f949e;},a43_0x5bdd(_0x16a7d8,_0x2c9a37);}function a43_0xd84a(){const _0x48e4bf=['BjKGX','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','file','BS_A11Y_TEST_RUN_ID','cucumberWorker','p-limit','_child','1143970Bdxfks','test-file-failure','waitForExit','SdJlO','platformCaps','MBdEU','all','EnBXw','1772982nPsgor','root_dir_path','failureCount','parallelCucumberRun','mocha','FPWkK','cQVyn','end','Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20','Xdfdt','winstonLogger','accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_YML','aIfIa','134453ghhbfA','_workerPool','json','error','log','then','ybmff','emit','emittery','platform','DCEcv','aNnFy','../../helpers/test-observability/sessionHandler','configuration','jdJSH','worker','test-file-success','format','VFgTX','parallelVanillaRun','platform-run-success','hgybE','Workers\x20failed\x20to\x20exit\x20gracefully','lJWVm','Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','jYhTm','gUzSt','length','nUMvq','exit','117061EwvLna','zYCAv','bnxhH','true','../../helpers/accessibility-automation/helper','IjPvX','exitCode','env','info','jCuct','stderr','heWcQ','iltwp','5moalzZ','getStdout','asKDj','catch','platforms','GhhaY','resolve','ZlHUI','pipe','snoyW','parallelTestRun','getStderr','YiakD','Esnqq','./testWorker.js','4DeIeOV','rDxQo','OvrzX','\x20for','BS_A11Y_JWT','test-file-start','ggiek','96LLhWmB','82935IXNPwp','map','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','vanillaWorker','6MypPHl','BdItg','platform-run-failure','platform-run-start','193665ajvmJc','TnUFd','WNhtf','../../helpers/test-observability/utils','stdout','GdYAO','RbaoQ','send','../../helpers/logger','1864vKmzST'];a43_0xd84a=function(){return _0x48e4bf;};return a43_0xd84a();}
|
|
1
|
+
function a43_0x3cf1(_0x52df81,_0x5cf891){const _0x1426b7=a43_0x1426();return a43_0x3cf1=function(_0x3cf146,_0x30f034){_0x3cf146=_0x3cf146-0x1ee;let _0x407942=_0x1426b7[_0x3cf146];return _0x407942;},a43_0x3cf1(_0x52df81,_0x5cf891);}function a43_0x1426(){const _0x48f96e=['3715935gzsEzH','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','ilLFu','env','worker','2955807AsfVxX','getStdout','gKUqS','Workers\x20failed\x20to\x20exit\x20gracefully','then','log','platform','root_dir_path','ybDpz','file','Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20','test-file-start','launch','6MBoqKP','YgIAZ','waitForExit','283874sSMsmw','platformCaps','ohNJq','json','uadDO','debug','mCIGR','test-file-failure','vanillaWorker','yvMGP','ZYgkF','uYKpZ','8xhoQpo','exitCode','end','hGFit','Worker','getStderr','BROWSERSTACK_TEST_ACCESSIBILITY_YML','AUGMv','./testWorker.js','qkdap','length','cucumberWorker','zZCpU','platforms','test-file-success','4066510ThYtBM','GqhKe','vwRpi','3176484nFdAYA','Running\x20','parallelVanillaRun','6pRwrbF','_child','all','nFNRv','XNrTS','OafbU','WHZFU','WCCzq','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','nchzV','true','UmgIK','KKqKt','failureCount','configuration','4122995CbtoFM','mocha','error','emittery','ZiSli','jrtqX','info','catch','jest-worker','stdout','util','stderr','kzuOY','platform-run-success','QECcu','resolve','parallelTestRun','exit','format','platform-run-failure','bxxTo','_workerPool','tPbAC','../../helpers/logger','4214567MGhIiz','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','tZKEQ','qFJKn','jQRJK','send','platform-run-start','BS_A11Y_TEST_RUN_ID','omnuM','../../helpers/test-observability/sessionHandler','accessibility','map','emit','getWorkers','pipe','push','p-limit','ytoHh','QHzYy','stop','UMYYS'];a43_0x1426=function(){return _0x48f96e;};return a43_0x1426();}const a43_0x24f219=a43_0x3cf1;(function(_0x5bf10f,_0x4dabb6){const _0x43c7f9=a43_0x3cf1,_0x51cfeb=_0x5bf10f();while(!![]){try{const _0x13cd41=parseInt(_0x43c7f9(0x212))/0x1*(parseInt(_0x43c7f9(0x1f1))/0x2)+-parseInt(_0x43c7f9(0x24e))/0x3+parseInt(_0x43c7f9(0x20f))/0x4+-parseInt(_0x43c7f9(0x221))/0x5*(-parseInt(_0x43c7f9(0x1ee))/0x6)+parseInt(_0x43c7f9(0x239))/0x7*(-parseInt(_0x43c7f9(0x1fd))/0x8)+-parseInt(_0x43c7f9(0x253))/0x9+parseInt(_0x43c7f9(0x20c))/0xa;if(_0x13cd41===_0x4dabb6)break;else _0x51cfeb['push'](_0x51cfeb['shift']());}catch(_0x35bf0f){_0x51cfeb['push'](_0x51cfeb['shift']());}}}(a43_0x1426,0xacd04));const Worker=require(a43_0x24f219(0x229))[a43_0x24f219(0x201)],Emittery=require(a43_0x24f219(0x224)),pLimit=require(a43_0x24f219(0x249)),util=require(a43_0x24f219(0x22b)),logger=require(a43_0x24f219(0x238))['winstonLogger'],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),SessionHandler=require(a43_0x24f219(0x242)),{getFrameworkVersion,isTestObservabilitySession,debug}=require('../../helpers/test-observability/utils'),checkAccessibility=_0x2b73bc=>{const _0x34959d=a43_0x24f219,_0x5c56db={};_0x5c56db[_0x34959d(0x1fb)]=function(_0x31fc15,_0x39aa8c){return _0x31fc15===_0x39aa8c;};const _0x42b7cd=_0x5c56db;let _0x2683d0=![];try{_0x2b73bc[_0x34959d(0x20a)]['forEach'](_0x5df3df=>{const _0x268b2a=_0x34959d;if(_0x42b7cd[_0x268b2a(0x1fb)](_0x5df3df[_0x268b2a(0x243)],!![]))return _0x2683d0=!![],!![];});}catch(_0x146410){logger[_0x34959d(0x1f6)](_0x34959d(0x21a)+_0x146410);}return _0x2683d0;};exports[a43_0x24f219(0x231)]=(_0x263f7c,_0x5eab92,_0x4b3df0)=>new Promise(async _0x2b1161=>{const _0x37ffa6=a43_0x24f219,_0x287ae4={'GqhKe':_0x37ffa6(0x21f),'mCIGR':function(_0x4faa0c,_0x3ffecd){return _0x4faa0c+_0x3ffecd;},'zZCpU':'results','nFNRv':_0x37ffa6(0x256),'EDBIX':function(_0x114c79){return _0x114c79();},'uYKpZ':function(_0x2b9205,_0x548485){return _0x2b9205(_0x548485);},'uadDO':_0x37ffa6(0x25e),'XNrTS':_0x37ffa6(0x222),'AwkXV':function(_0x9acbdd,_0x33deb4){return _0x9acbdd(_0x33deb4);},'WHZFU':function(_0x12f3b7,_0x262913){return _0x12f3b7===_0x262913;},'tZKEQ':_0x37ffa6(0x21c),'tPbAC':function(_0x171d8a,_0x34d4e6){return _0x171d8a(_0x34d4e6);},'OafbU':function(_0x147df9,_0x10deb0){return _0x147df9===_0x10deb0;},'jrtqX':function(_0x7c8ab9,_0xf28249,_0x2a4561){return _0x7c8ab9(_0xf28249,_0x2a4561);},'yUPkf':'./testWorker.js','DKWQG':_0x37ffa6(0x252),'xHKgb':_0x37ffa6(0x1f4),'gKUqS':_0x37ffa6(0x247),'WCCzq':function(_0x13231f,_0x3bc067){return _0x13231f*_0x3bc067;},'qFJKn':'test-file-success','AUGMv':_0x37ffa6(0x1f8),'UMYYS':function(_0x3a8199,_0x58fc49){return _0x3a8199*_0x58fc49;}},_0x4c38ab={},_0x381f2c={..._0x4b3df0};_0x381f2c[_0x37ffa6(0x25a)]='',await SessionHandler[_0x37ffa6(0x25f)](_0x381f2c,{'frameworkName':_0x287ae4[_0x37ffa6(0x216)],'frameworkVersion':_0x287ae4['AwkXV'](getFrameworkVersion,_0x287ae4[_0x37ffa6(0x216)])});let _0x5dd236=_0x287ae4[_0x37ffa6(0x218)](process[_0x37ffa6(0x251)][_0x37ffa6(0x203)],_0x287ae4[_0x37ffa6(0x23b)]);process[_0x37ffa6(0x251)][_0x37ffa6(0x23a)]=_0x287ae4[_0x37ffa6(0x237)](checkAccessibility,_0x4b3df0),_0x5dd236=_0x5dd236||_0x287ae4[_0x37ffa6(0x217)](process[_0x37ffa6(0x251)][_0x37ffa6(0x23a)],_0x287ae4[_0x37ffa6(0x23b)]);if(_0x5dd236){const [_0x295ec9,_0x21a551]=await _0x287ae4[_0x37ffa6(0x226)](createAccessibilityTestRun,_0x4b3df0,_0x287ae4['XNrTS']);logger[_0x37ffa6(0x1f6)](_0x37ffa6(0x24f)+_0x21a551),process[_0x37ffa6(0x251)]['BS_A11Y_JWT']=_0x295ec9,process[_0x37ffa6(0x251)][_0x37ffa6(0x240)]=_0x21a551;}const _0x50963f=new Worker(require['resolve'](_0x287ae4['yUPkf']),{'exposedMethods':[_0x287ae4['DKWQG']],'forkOptions':{'serialization':_0x287ae4['xHKgb'],'stdio':_0x287ae4[_0x37ffa6(0x255)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x287ae4[_0x37ffa6(0x219)](_0x5eab92,0x1),'enableWorkerThreads':!![]}),_0x3f0080=new Emittery();_0x3f0080['on'](_0x287ae4[_0x37ffa6(0x23c)],_0x53f9fd=>{const _0x537e84=_0x37ffa6;_0x4c38ab[_0x53f9fd[0x0]]?(_0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x20d)]]=_0x287ae4[_0x537e84(0x1f7)](_0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x20d)]],_0x53f9fd[0x1][_0x287ae4[_0x537e84(0x20d)]]),_0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x209)]]=[..._0x4c38ab[_0x53f9fd[0x0]][_0x287ae4[_0x537e84(0x209)]],..._0x53f9fd[0x1][_0x287ae4[_0x537e84(0x209)]]]):_0x4c38ab[_0x53f9fd[0x0]]={'failureCount':_0x53f9fd[0x1][_0x287ae4['GqhKe']],'results':[..._0x53f9fd[0x1][_0x287ae4[_0x537e84(0x209)]]]};}),_0x3f0080['on'](_0x287ae4[_0x37ffa6(0x204)],_0x462d0a=>console[_0x37ffa6(0x258)](_0x462d0a[0x1]));_0x50963f['getStdout']()&&_0x50963f[_0x37ffa6(0x254)]()[_0x37ffa6(0x247)](process['stdout']);_0x50963f[_0x37ffa6(0x202)]()&&_0x50963f[_0x37ffa6(0x202)]()['pipe'](process['stderr']);const _0x2a9bb2=async()=>{const _0x16ee5a=_0x37ffa6,{forceExited:_0x15cb5d}=await _0x50963f[_0x16ee5a(0x1ff)]();_0x15cb5d&&console[_0x16ee5a(0x223)](_0x287ae4[_0x16ee5a(0x215)]);_0x287ae4['EDBIX'](isAccessibilityAutomationSession)&&await _0x287ae4['uYKpZ'](stopAccessibilityTestRun,_0x4b3df0)[_0x16ee5a(0x228)](_0x5829dc=>{const _0x474598=_0x16ee5a;logger[_0x474598(0x223)](_0x474598(0x25d)+util[_0x474598(0x233)](_0x5829dc));});if(_0x287ae4['EDBIX'](isTestObservabilitySession))try{await SessionHandler[_0x16ee5a(0x24c)]();}catch(_0x5b1c36){_0x287ae4[_0x16ee5a(0x1fc)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20'+_0x5b1c36);}_0x287ae4[_0x16ee5a(0x1fc)](_0x2b1161,_0x4c38ab);},_0x404042=_0x287ae4[_0x37ffa6(0x1fc)](pLimit,_0x287ae4[_0x37ffa6(0x24d)](_0x5eab92,0x1)),_0x2df56c=_0x1349b8=>_0x404042(async()=>{const _0x414adf=_0x37ffa6;return await _0x3f0080[_0x414adf(0x245)](_0x287ae4[_0x414adf(0x1f5)],_0x1349b8),_0x50963f[_0x414adf(0x252)](_0x1349b8,_0x4b3df0);});Promise[_0x37ffa6(0x214)](_0x263f7c[_0x37ffa6(0x244)](_0x86d79=>_0x2df56c(_0x86d79)[_0x37ffa6(0x257)](_0x5ec183=>_0x3f0080[_0x37ffa6(0x245)]('test-file-success',[_0x86d79[_0x37ffa6(0x220)]['platform'],_0x5ec183]),_0x3bbbab=>_0x3f0080[_0x37ffa6(0x245)](_0x37ffa6(0x1f8),[_0x86d79,_0x3bbbab]))))[_0x37ffa6(0x257)](_0x2a9bb2,_0x2a9bb2);}),exports['parallelCucumberRun']=(_0x338396,_0xb42cd1,_0x5a0cd0,_0x876070,_0x2c1ae8)=>{const _0x30e01a=a43_0x24f219,_0xf6947e={'ilLFu':_0x30e01a(0x256),'QHzYy':function(_0x485056,_0x2c9dc6){return _0x485056(_0x2c9dc6);},'QECcu':_0x30e01a(0x23f),'vwRpi':_0x30e01a(0x205),'qkdap':_0x30e01a(0x208),'ZiSli':_0x30e01a(0x1f4),'nchzV':_0x30e01a(0x247),'hGFit':_0x30e01a(0x22e),'ybDpz':_0x30e01a(0x234),'ohNJq':function(_0x464b1d,_0x5542fb){return _0x464b1d(_0x5542fb);}};return new Promise(_0x54c242=>{const _0x21edeb=_0x30e01a,_0x417d8e=[],_0x26ddc7=new Worker(require[_0x21edeb(0x230)](_0xf6947e[_0x21edeb(0x20e)]),{'exposedMethods':[_0xf6947e[_0x21edeb(0x206)]],'forkOptions':{'serialization':_0xf6947e[_0x21edeb(0x225)],'stdio':_0xf6947e[_0x21edeb(0x21b)]},'numWorkers':_0x338396['length'],'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0xda2f60=new Emittery();_0xda2f60['on'](_0xf6947e[_0x21edeb(0x200)],_0x11cadd=>{const _0x272ccf=_0x21edeb;_0x417d8e[_0x272ccf(0x248)]([_0x11cadd[0x0],_0x11cadd[0x1]]);}),_0xda2f60['on'](_0xf6947e[_0x21edeb(0x25b)],_0x208f48=>console[_0x21edeb(0x258)](_0x208f48[0x1]));_0x26ddc7['getStdout']()&&_0x26ddc7[_0x21edeb(0x254)]()[_0x21edeb(0x247)](process[_0x21edeb(0x22a)]);_0x26ddc7['getStderr']()&&_0x26ddc7[_0x21edeb(0x202)]()[_0x21edeb(0x247)](process['stderr']);const _0x57e463=async()=>{const _0x56e886=_0x21edeb,{forceExited:_0x5f2b74}=await _0x26ddc7[_0x56e886(0x1ff)]();_0x5f2b74&&console['error'](_0xf6947e[_0x56e886(0x250)]),_0xf6947e[_0x56e886(0x24b)](_0x54c242,_0x417d8e);},_0x3040a9=_0xf6947e[_0x21edeb(0x1f3)](pLimit,_0x338396[_0x21edeb(0x207)]),_0x1b8aea=(_0x142192,_0x21ef31)=>_0x3040a9(async()=>{const _0x580cdf=_0x21edeb;return await _0xda2f60['emit'](_0xf6947e[_0x580cdf(0x22f)],_0x142192),_0xb42cd1[_0x580cdf(0x1f2)]=_0x5a0cd0['platforms'][_0x21ef31],_0x26ddc7[_0x580cdf(0x208)](_0x142192,_0xb42cd1,_0x5a0cd0,_0x876070,_0x2c1ae8);});Promise[_0x21edeb(0x214)](_0x338396[_0x21edeb(0x244)]((_0x337063,_0x106e37)=>_0x1b8aea(_0x337063,_0x106e37)['then'](_0xdeb5c=>_0xda2f60[_0x21edeb(0x245)]('platform-run-success',[_0x337063,_0xdeb5c]),_0x31b640=>_0xda2f60[_0x21edeb(0x245)](_0x21edeb(0x234),[_0x337063,_0x31b640]))))['then'](_0x57e463,_0x57e463);});},exports[a43_0x24f219(0x211)]=(_0x21289e,_0xc60a78)=>new Promise(_0x305280=>{const _0x4b807c=a43_0x24f219,_0x3cfced={'jQRJK':function(_0x4e0fc9,_0x3b4c79){return _0x4e0fc9===_0x3b4c79;},'bxxTo':function(_0x641128,_0x154c8f){return _0x641128!==_0x154c8f;},'UmgIK':_0x4b807c(0x232),'YgIAZ':_0x4b807c(0x256),'dBaqR':function(_0x1faa3f,_0xb90ea5){return _0x1faa3f(_0xb90ea5);},'ytoHh':_0x4b807c(0x205),'kzuOY':_0x4b807c(0x1f9),'omnuM':_0x4b807c(0x1f4),'IZiMs':_0x4b807c(0x247),'EGBxz':_0x4b807c(0x20b),'KKqKt':_0x4b807c(0x1f8),'yvMGP':function(_0x4ba50c,_0x2cdfad){return _0x4ba50c(_0x2cdfad);}},_0x4056cd={},_0x5e8f03=new Worker(require['resolve'](_0x3cfced[_0x4b807c(0x24a)]),{'exposedMethods':[_0x3cfced[_0x4b807c(0x22d)]],'forkOptions':{'serialization':_0x3cfced[_0x4b807c(0x241)],'stdio':_0x3cfced['IZiMs']},'numWorkers':_0xc60a78,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x4580a5=new Emittery();_0x4580a5['on'](_0x3cfced['EGBxz'],_0x2fc6cb=>{const _0x154230=_0x4b807c;_0x2fc6cb[0x0]&&logger[_0x154230(0x227)](_0x154230(0x210)+_0x2fc6cb[0x1]+'\x20for',_0x2fc6cb[0x0]);}),_0x4580a5['on'](_0x3cfced[_0x4b807c(0x21e)],_0x509bcc=>{const _0x3da16f=_0x4b807c;process[_0x3da16f(0x1fe)]=0x1;});_0x5e8f03[_0x4b807c(0x254)]()&&_0x5e8f03['getStdout']()[_0x4b807c(0x247)](process['stdout']);_0x5e8f03[_0x4b807c(0x202)]()&&_0x5e8f03[_0x4b807c(0x202)]()['pipe'](process[_0x4b807c(0x22c)]);const _0x153c0e=async()=>{const _0x291cd0=_0x4b807c;let _0x28d0a7=0x0;const _0x14ce9c=_0x5e8f03[_0x291cd0(0x236)][_0x291cd0(0x246)](),_0x229011=()=>{},_0x1fcc31=_0x14ce9c['map'](async _0x660005=>{const _0x5c3a15=_0x291cd0,_0xc6d9dc={'RwaNw':function(_0x546371,_0x575319){const _0x5648e4=a43_0x3cf1;return _0x3cfced[_0x5648e4(0x23d)](_0x546371,_0x575319);},'WuKtK':function(_0x5344f5,_0x2f8550){const _0x12bd9b=a43_0x3cf1;return _0x3cfced[_0x12bd9b(0x235)](_0x5344f5,_0x2f8550);}};_0x660005[_0x5c3a15(0x23e)]([0x2,![]],_0x229011,_0x229011,_0x229011),_0x660005[_0x5c3a15(0x213)]['on'](_0x3cfced[_0x5c3a15(0x21d)],_0x4bb99e=>{_0xc6d9dc['RwaNw'](_0x28d0a7,0x0)&&_0xc6d9dc['WuKtK'](_0x4bb99e,0x0)&&(_0x28d0a7=_0x4bb99e);}),await _0x660005[_0x5c3a15(0x1f0)]();});await Promise[_0x291cd0(0x214)](_0x1fcc31),process[_0x291cd0(0x1fe)]=_0x28d0a7;const {forceExited:_0x85bc3e}=await _0x5e8f03[_0x291cd0(0x1ff)]();_0x85bc3e&&console['error'](_0x3cfced[_0x291cd0(0x1ef)]),_0x3cfced['dBaqR'](_0x305280,_0x4056cd);},_0x569fef=_0x3cfced[_0x4b807c(0x1fa)](pLimit,_0xc60a78),_0x16f0de=_0x42fc6d=>_0x569fef(async()=>{const _0x48a1c1=_0x4b807c;return _0x5e8f03[_0x48a1c1(0x1f9)](_0x42fc6d);});Promise['all'](_0x21289e[_0x4b807c(0x244)](_0x1e7f2f=>_0x16f0de(_0x1e7f2f)[_0x4b807c(0x257)](_0x4e226a=>_0x4580a5[_0x4b807c(0x245)]('test-file-success',[_0x1e7f2f[_0x4b807c(0x220)][_0x4b807c(0x259)],_0x1e7f2f[_0x4b807c(0x220)][_0x4b807c(0x25c)]]),_0x432a29=>_0x4580a5[_0x4b807c(0x245)]('test-file-failure',[_0x1e7f2f,_0x432a29]))))[_0x4b807c(0x257)](_0x153c0e,_0x153c0e);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a44_0x3192(_0x204b63,_0x191ff8){const _0x1b89c0=a44_0x1b89();return a44_0x3192=function(_0x3192b7,_0xe9f301){_0x3192b7=_0x3192b7-0x176;let _0x3f3fdd=_0x1b89c0[_0x3192b7];return _0x3f3fdd;},a44_0x3192(_0x204b63,_0x191ff8);}const a44_0x11f61e=a44_0x3192;(function(_0x2c2b81,_0x37286c){const _0x571da9=a44_0x3192,_0x40a205=_0x2c2b81();while(!![]){try{const _0x149d7d=-parseInt(_0x571da9(0x18c))/0x1+parseInt(_0x571da9(0x17a))/0x2*(-parseInt(_0x571da9(0x17c))/0x3)+parseInt(_0x571da9(0x18b))/0x4*(-parseInt(_0x571da9(0x189))/0x5)+-parseInt(_0x571da9(0x184))/0x6*(-parseInt(_0x571da9(0x190))/0x7)+-parseInt(_0x571da9(0x183))/0x8*(-parseInt(_0x571da9(0x176))/0x9)+-parseInt(_0x571da9(0x185))/0xa+parseInt(_0x571da9(0x187))/0xb;if(_0x149d7d===_0x37286c)break;else _0x40a205['push'](_0x40a205['shift']());}catch(_0x5f14c7){_0x40a205['push'](_0x40a205['shift']());}}}(a44_0x1b89,0x5d50d),exports[a44_0x11f61e(0x188)]=async(_0x22dbfe,_0x46199e)=>{const _0x4bc9ce=a44_0x11f61e,_0x32cee0={'mpjAr':function(_0x58ef31,_0x45cc42){return _0x58ef31(_0x45cc42);},'TsgbV':_0x4bc9ce(0x180),'vxNSj':_0x4bc9ce(0x178)},_0x244c78=_0x32cee0[_0x4bc9ce(0x181)](require,_0x32cee0[_0x4bc9ce(0x17b)]),_0x260618=new _0x244c78(_0x32cee0[_0x4bc9ce(0x17e)],_0x22dbfe,_0x46199e);return await _0x260618[_0x4bc9ce(0x182)]();},exports[a44_0x11f61e(0x18e)]=async(_0x53e3dc,_0x30e247,_0x3e4bac,_0x1ec373,_0x43206a)=>{const _0x9aa7ae=a44_0x11f61e,_0xf5754b={'kGlJb':function(_0x1edfb3,_0x29a54c){return _0x1edfb3(_0x29a54c);},'QBEuC':_0x9aa7ae(0x180),'uLjRk':_0x9aa7ae(0x17d)},_0x4d1dce={'capability':_0x53e3dc,..._0x30e247},_0xe1d5c2={};_0xe1d5c2[_0x9aa7ae(0x179)]=_0x4d1dce,_0xe1d5c2[_0x9aa7ae(0x17f)]=_0x43206a;const _0x279b14=_0xe1d5c2,_0x269161=_0xf5754b['kGlJb'](require,_0xf5754b[_0x9aa7ae(0x186)]),_0x3d178d=new _0x269161(_0xf5754b['uLjRk'],_0x279b14,_0x3e4bac,_0x1ec373);return await _0x3d178d[_0x9aa7ae(0x182)]();},exports['runVanillaTest']=async _0xbf68e0=>{const _0x7f9eba=a44_0x11f61e,_0x24dc37={'KYyCF':function(_0x2f1eea,_0x42cb0c){return _0x2f1eea(_0x42cb0c);},'HIDfP':'../launcher/launcher','UcLZd':_0x7f9eba(0x18a)},_0x1b9d9a=_0x24dc37[_0x7f9eba(0x177)](require,_0x24dc37[_0x7f9eba(0x18d)]),_0x65aec8=new _0x1b9d9a(_0x24dc37[_0x7f9eba(0x18f)],_0xbf68e0);return await _0x65aec8[_0x7f9eba(0x182)]();});function a44_0x1b89(){const _0x3832ee=['vanilla','469928AeZieS','249799GnCrju','HIDfP','runCucumberTest','UcLZd','7sSwPSg','206649QsUUwi','KYyCF','mocha','configuration','8542oQjRAo','TsgbV','306oIXzUB','cucumber-js','vxNSj','formatter','../launcher/launcher','mpjAr','run','136GCqTPz','907134vLfFAO','4707830TpSPQA','QBEuC','18719921jZCvQw','runTest','30xupXpH'];a44_0x1b89=function(){return _0x3832ee;};return a44_0x1b89();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45_0x57de2c=a45_0x1532;(function(_0x2556f9,_0xd03b27){const _0x3cee94=a45_0x1532,_0x590e86=_0x2556f9();while(!![]){try{const _0x1d1da6=parseInt(_0x3cee94(0xf1))/0x1*(parseInt(_0x3cee94(0xf8))/0x2)+parseInt(_0x3cee94(0xf6))/0x3*(-parseInt(_0x3cee94(0xf0))/0x4)+-parseInt(_0x3cee94(0xed))/0x5+-parseInt(_0x3cee94(0xf9))/0x6+parseInt(_0x3cee94(0xf5))/0x7*(-parseInt(_0x3cee94(0xee))/0x8)+-parseInt(_0x3cee94(0xf2))/0x9+-parseInt(_0x3cee94(0xf3))/0xa*(-parseInt(_0x3cee94(0xec))/0xb);if(_0x1d1da6===_0xd03b27)break;else _0x590e86['push'](_0x590e86['shift']());}catch(_0x4d3ba1){_0x590e86['push'](_0x590e86['shift']());}}}(a45_0x1767,0x21867));function a45_0x1767(){const _0x1172b4=['851837qyfyLc','69333KzbSkQ','./runTest','58rJerUu','1256166UIgWlW','cucumberWorker','worker','2134DtaXLy','372855AuTdTX','8BDqrth','TLyHH','44EsRNAn','5587tUvCnu','1456308KeCAww','41080ZIbrZx','uJGSl'];a45_0x1767=function(){return _0x1172b4;};return a45_0x1767();}function a45_0x1532(_0xa62a08,_0x3a456d){const _0x176708=a45_0x1767();return a45_0x1532=function(_0x153272,_0x5b124c){_0x153272=_0x153272-0xea;let _0xb42494=_0x176708[_0x153272];return _0xb42494;},a45_0x1532(_0xa62a08,_0x3a456d);}const {runTest,runCucumberTest,runVanillaTest}=require(a45_0x57de2c(0xf7));exports[a45_0x57de2c(0xeb)]=async(_0x7d5935,_0x66d6a9)=>{const _0x56e948={'WWVhG':function(_0x432c3c,_0x5b0815,_0x2d70a5){return _0x432c3c(_0x5b0815,_0x2d70a5);}};return await _0x56e948['WWVhG'](runTest,_0x7d5935,_0x66d6a9);},exports[a45_0x57de2c(0xea)]=async(_0x3f735f,_0x56737b,_0x53a97a,_0x3f426,_0x235b27)=>{const _0x4e7025=a45_0x57de2c,_0x2d1986={'uJGSl':function(_0x51eab9,_0xd0a27a,_0x5d121d,_0xdebb93,_0x4db739,_0x58b894){return _0x51eab9(_0xd0a27a,_0x5d121d,_0xdebb93,_0x4db739,_0x58b894);}};return await _0x2d1986[_0x4e7025(0xf4)](runCucumberTest,_0x3f735f,_0x56737b,_0x53a97a,_0x3f426,_0x235b27);},exports['vanillaWorker']=async _0x6caf3e=>{const _0x28ce44=a45_0x57de2c,_0x4e7318={'TLyHH':function(_0x3c3622,_0x2879ac){return _0x3c3622(_0x2879ac);}};return await _0x4e7318[_0x28ce44(0xef)](runVanillaTest,_0x6caf3e);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a46_0x5b8d21=a46_0x2905;(function(_0x523413,_0x5eac15){var _0x2ef1cf=a46_0x2905,_0x168a26=_0x523413();while(!![]){try{var _0x151713=parseInt(_0x2ef1cf(0x1ab))/0x1+parseInt(_0x2ef1cf(0x1cf))/0x2+parseInt(_0x2ef1cf(0x1e9))/0x3+parseInt(_0x2ef1cf(0x1d8))/0x4*(parseInt(_0x2ef1cf(0x1d0))/0x5)+parseInt(_0x2ef1cf(0x1af))/0x6+parseInt(_0x2ef1cf(0x1a5))/0x7*(-parseInt(_0x2ef1cf(0x1ed))/0x8)+-parseInt(_0x2ef1cf(0x1f2))/0x9;if(_0x151713===_0x5eac15)break;else _0x168a26['push'](_0x168a26['shift']());}catch(_0x3da497){_0x168a26['push'](_0x168a26['shift']());}}}(a46_0x5054,0xca0aa));var a46_0x39f306={};a46_0x39f306['INFO']=a46_0x5b8d21(0x1db),a46_0x39f306[a46_0x5b8d21(0x1dd)]=a46_0x5b8d21(0x1fc);var a46_0x466646={};a46_0x466646['INFO']='Run\x20jest\x20tests\x20on\x20browserstack';var a46_0x621342={};a46_0x621342[a46_0x5b8d21(0x1b4)]=a46_0x5b8d21(0x1c7);var a46_0x371724={};a46_0x371724[a46_0x5b8d21(0x1b4)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a46_0x1bf0c4={};a46_0x1bf0c4['INFO']=a46_0x5b8d21(0x1b5);var a46_0x1bf8b6={};a46_0x1bf8b6[a46_0x5b8d21(0x1b4)]=a46_0x5b8d21(0x1e3);var a46_0x79958={};a46_0x79958[a46_0x5b8d21(0x1b4)]=a46_0x5b8d21(0x1d7);function a46_0x5054(){var _0x454062=['CI_ARTIFACTS_PATH','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','Specify\x20--help\x20for\x20available\x20options','VERSION','jest','JEST','14HVPyrp','HST','wss://cdp.browserstack.com/playwright?caps=','ERR_CONNECTION_TIMED_OUT','COMMONJS','https://hub.browserstack.com/wd/hub','614565Vkjumq','ERR_TIMED_OUT','ERR_CONNECTION_FAILED','Run\x20codeceptjs\x20tests\x20on\x20browserstack','6809994KqMULP','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','automate','mandatoryDependency','strictFileInteractability','INFO','Run\x20js\x20tests\x20on\x20browserstack','sdk/v1/event','https://api.browserstack.com','commonjs','acceptInsecureCerts','unhandledPromptBehavior','ERR_TUNNEL_CONNECTION_FAILED','AUTOMATE_PRODUCTS','MODULE','ERR_CONNECTION_RESET','ERR_CONNECTION_REFUSED','module','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','PERCY_SUPPORTED_FRAMEWORKS','MOCHA','acceptSslCerts','SHAREABLE_ID_REGEX','Run\x20mocha\x20tests\x20on\x20browserstack','Playwright','https://upload-observability.browserstack.com','browserVersion','ERR_SOCKS_CONNECTION_FAILED','ERR_BLOCKED_BY_CLIENT','observability','AUTOLOGCAPTURE_NOTIFICATION','1589398YXtGyR','7074070wPsWGx','app-automate','PLAYWRIGHT_HUB_URL','APP_AUTOMATE_PRODUCTS','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','ERR_CONNECTION_CLOSED','ERR_SOCKET_NOT_CONNECTED','Run\x20playwright\x20tests\x20on\x20Browserstack','4DpUjle','timeouts','ROOT_CAPS','shows\x20version\x20information','invalidTestInputType','HELP','.apk','ERR_ADDRESS_INVALID','VALID_APP_EXTENSION','BSTACK_DELTA','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','Run\x20nightwatch\x20tests\x20on\x20browserstack','CUCUMBER','^[a-zA-Z0-9_.-]*$','edgeOptions','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','mocha','1913094KOJtTx','pageLoadStrategy','https://api-cloud.browserstack.com','OBSERVABILITY_UPLOAD_URL','5138600AdDuGY','acceptSslCert','FUNNEL_INSTRUMENTATION_API_URL','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','CODECEPTJS','22361067QVxoRE','CUSTOM_ID_REGEX','ROOT_REGEX','FRAMEWORKS','ERR_ADDRESS_UNREACHABLE','ERR_FAILED','.ipa','PLAYWRIGHT'];a46_0x5054=function(){return _0x454062;};return a46_0x5054();}var a46_0xa4ae51={};a46_0xa4ae51[a46_0x5b8d21(0x1b4)]=a46_0x5b8d21(0x1ae);var a46_0x591f8d={};a46_0x591f8d[a46_0x5b8d21(0x1b4)]=a46_0x5b8d21(0x1e2);var a46_0x99ae0a={};a46_0x99ae0a[a46_0x5b8d21(0x1b4)]=a46_0x5b8d21(0x1b0);var a46_0x45aad1={};a46_0x45aad1[a46_0x5b8d21(0x1f9)]=a46_0x5b8d21(0x1c8),a46_0x45aad1[a46_0x5b8d21(0x1c4)]=a46_0x5b8d21(0x1e8),a46_0x45aad1[a46_0x5b8d21(0x1ff)]=a46_0x5b8d21(0x1fe);var a46_0x571a2a={};a46_0x571a2a['invalidKeys']='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a46_0x571a2a['uniqueDependency']='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a46_0x571a2a[a46_0x5b8d21(0x1b2)]=a46_0x5b8d21(0x1c1),a46_0x571a2a[a46_0x5b8d21(0x1dc)]=a46_0x5b8d21(0x1c2);var a46_0x347fcb={};a46_0x347fcb[a46_0x5b8d21(0x1a9)]=a46_0x5b8d21(0x1b8),a46_0x347fcb[a46_0x5b8d21(0x1bd)]=a46_0x5b8d21(0x1c0);var a46_0x1c67c2={};function a46_0x2905(_0x588eae,_0x27707d){var _0x505448=a46_0x5054();return a46_0x2905=function(_0x2905f1,_0x1c814d){_0x2905f1=_0x2905f1-0x1a5;var _0x167181=_0x505448[_0x2905f1];return _0x167181;},a46_0x2905(_0x588eae,_0x27707d);}a46_0x1c67c2[a46_0x5b8d21(0x1fd)]=a46_0x39f306,a46_0x1c67c2[a46_0x5b8d21(0x1ff)]=a46_0x466646,a46_0x1c67c2[a46_0x5b8d21(0x1c4)]=a46_0x621342,a46_0x1c67c2[a46_0x5b8d21(0x1e4)]=a46_0x371724,a46_0x1c67c2['VANILLA']=a46_0x1bf0c4,a46_0x1c67c2['NIGHTWATCH']=a46_0x1bf8b6,a46_0x1c67c2[a46_0x5b8d21(0x1f9)]=a46_0x79958,a46_0x1c67c2[a46_0x5b8d21(0x1f1)]=a46_0xa4ae51,a46_0x1c67c2[a46_0x5b8d21(0x1a6)]=a46_0x591f8d,a46_0x1c67c2['INTEGRATIONS']=a46_0x99ae0a,a46_0x1c67c2[a46_0x5b8d21(0x1e1)]=0xf*0x3c*0x3e8,a46_0x1c67c2['hubUrl']=a46_0x5b8d21(0x1aa),a46_0x1c67c2['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a46_0x1c67c2[a46_0x5b8d21(0x1da)]=[a46_0x5b8d21(0x1b9),a46_0x5b8d21(0x1ea),a46_0x5b8d21(0x1b3),a46_0x5b8d21(0x1ba),a46_0x5b8d21(0x1d9),'browserName',a46_0x5b8d21(0x1ca),a46_0x5b8d21(0x1c5),a46_0x5b8d21(0x1ee),'chromeOptions','firefoxOptions',a46_0x5b8d21(0x1e6),'ieOptions'],a46_0x1c67c2[a46_0x5b8d21(0x1f4)]=/^[\w-]+:.*$/,a46_0x1c67c2['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a46_0x1c67c2['BROWSERSTACK_API_URL']=a46_0x5b8d21(0x1b7),a46_0x1c67c2['APP_UPLOAD_URL']=a46_0x5b8d21(0x1eb),a46_0x1c67c2[a46_0x5b8d21(0x1ef)]=a46_0x5b8d21(0x1b6),a46_0x1c67c2[a46_0x5b8d21(0x1bc)]=[a46_0x5b8d21(0x1b1),'observability'],a46_0x1c67c2[a46_0x5b8d21(0x1d3)]=['app-automate',a46_0x5b8d21(0x1cd)],a46_0x1c67c2[a46_0x5b8d21(0x1d4)]=['observability'],a46_0x1c67c2[a46_0x5b8d21(0x1ec)]=a46_0x5b8d21(0x1c9),a46_0x1c67c2['OBSERVABILITY_SUPPORTED_FWS']=[a46_0x5b8d21(0x1e8),a46_0x5b8d21(0x1c8)],a46_0x1c67c2['AUTOMATE']=['automate'],a46_0x1c67c2['APP_AUTOMATE']=[a46_0x5b8d21(0x1d1)],a46_0x1c67c2['NUDGE_LOCAL_ERRORS']=[a46_0x5b8d21(0x1f7),a46_0x5b8d21(0x1ac),a46_0x5b8d21(0x1cc),'ERR_NETWORK_CHANGED',a46_0x5b8d21(0x1d6),a46_0x5b8d21(0x1d5),a46_0x5b8d21(0x1be),a46_0x5b8d21(0x1bf),'ERR_CONNECTION_ABORTED',a46_0x5b8d21(0x1ad),'ERR_NAME_NOT_RESOLVED',a46_0x5b8d21(0x1df),a46_0x5b8d21(0x1f6),a46_0x5b8d21(0x1bb),a46_0x5b8d21(0x1a8),a46_0x5b8d21(0x1cb),a46_0x5b8d21(0x1f0),'ERR_PROXY_CONNECTION_FAILED','ERR_NAME_NOT_RESOLVED','ERR_NAME_RESOLUTION_FAILED',a46_0x5b8d21(0x1fb)],a46_0x1c67c2[a46_0x5b8d21(0x1e0)]=[a46_0x5b8d21(0x1de),'.aab',a46_0x5b8d21(0x1f8)],a46_0x1c67c2[a46_0x5b8d21(0x1f3)]=a46_0x5b8d21(0x1e5),a46_0x1c67c2[a46_0x5b8d21(0x1c6)]=a46_0x5b8d21(0x1e7),a46_0x1c67c2[a46_0x5b8d21(0x1fa)]='./browserstack-artifacts/',a46_0x1c67c2[a46_0x5b8d21(0x1d2)]=a46_0x5b8d21(0x1a7),a46_0x1c67c2[a46_0x5b8d21(0x1f5)]=a46_0x45aad1,a46_0x1c67c2[a46_0x5b8d21(0x1c3)]=[a46_0x5b8d21(0x1fe),a46_0x5b8d21(0x1e8)],a46_0x1c67c2['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a46_0x571a2a,a46_0x1c67c2[a46_0x5b8d21(0x1ce)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a46_0x1c67c2['PACKAGE_TYPE']=a46_0x347fcb,module['exports']=a46_0x1c67c2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a47_0x31f8db=a47_0x28fe;function a47_0xece1(){const _0x2d077d=['timezoneOffset','5537376cCkucE','levelStr','2629065BSKZla','1144666LustgI','54sbwfQT','colouredLayout','./logReportingAPI','layout','6633mSIbql','4254852hgZhxe','2OgYAwD','3YDExMg','28330QTGVLT','5332719SnULmr','30592aAvDfH','data','log','level'];a47_0xece1=function(){return _0x2d077d;};return a47_0xece1();}(function(_0x3c5d1d,_0x209495){const _0x2c4397=a47_0x28fe,_0xdab299=_0x3c5d1d();while(!![]){try{const _0x202acd=-parseInt(_0x2c4397(0x75))/0x1*(parseInt(_0x2c4397(0x81))/0x2)+-parseInt(_0x2c4397(0x76))/0x3*(parseInt(_0x2c4397(0x74))/0x4)+-parseInt(_0x2c4397(0x80))/0x5+parseInt(_0x2c4397(0x7e))/0x6+parseInt(_0x2c4397(0x78))/0x7+-parseInt(_0x2c4397(0x79))/0x8*(parseInt(_0x2c4397(0x82))/0x9)+-parseInt(_0x2c4397(0x77))/0xa*(-parseInt(_0x2c4397(0x73))/0xb);if(_0x202acd===_0x209495)break;else _0xdab299['push'](_0xdab299['shift']());}catch(_0x5e23d7){_0xdab299['push'](_0xdab299['shift']());}}}(a47_0xece1,0x9b3e4));const logReportingAPI=require(a47_0x31f8db(0x71)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x2d68a4,_0x1ba760){return _0x41879b=>{const _0x4c892e=a47_0x28fe;BSTestOpsLogger[_0x4c892e(0x7b)]({'level':_0x41879b[_0x4c892e(0x7c)]?_0x41879b['level'][_0x4c892e(0x7f)]:null,'message':_0x41879b['data']?_0x41879b[_0x4c892e(0x7a)]['join']('\x20'):null});};}function a47_0x28fe(_0x107aeb,_0x3d8a7e){const _0xece147=a47_0xece1();return a47_0x28fe=function(_0x28fea9,_0x1fbdb2){_0x28fea9=_0x28fea9-0x70;let _0x11a34b=_0xece147[_0x28fea9];return _0x11a34b;},a47_0x28fe(_0x107aeb,_0x3d8a7e);}exports['configure']=(_0xbfb6d3,_0x433b0a)=>{const _0x15932c=a47_0x31f8db,_0x27710f={'MalJy':function(_0x26cc20,_0x129dd8,_0x7bf69a){return _0x26cc20(_0x129dd8,_0x7bf69a);}};let _0x4ea687=_0x433b0a[_0x15932c(0x70)];return _0xbfb6d3['layout']&&(_0x4ea687=_0x433b0a['layout'](_0xbfb6d3[_0x15932c(0x72)]['type'],_0xbfb6d3[_0x15932c(0x72)])),_0x27710f['MalJy'](BSTestOpsLog4JSAppender,_0x4ea687,_0xbfb6d3[_0x15932c(0x7d)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a48_0x217eda=a48_0x5861;function a48_0x4e2b(){const _0x1af7d7=['4653lmvHKz','TRACE','4980wyRKna','error','winston-transport','toISOString','311949gHcWlN','562672DvinxL','TEST_LOG','INFO','toUpperCase','trace','1154109ZtBZDk','ERROR','logToTestOps','NVNMc','603czpqqA','4LxifmS','106674OwRrWs','231akxpve','log','pid','info','bs:addLog:','emit','warn','14584VTzmba','851805MHiekG','toLowerCase','DEBUG'];a48_0x4e2b=function(){return _0x1af7d7;};return a48_0x4e2b();}(function(_0x2b94a4,_0x782f3c){const _0x240b6b=a48_0x5861,_0x303086=_0x2b94a4();while(!![]){try{const _0x45ba3b=parseInt(_0x240b6b(0x109))/0x1+-parseInt(_0x240b6b(0x10a))/0x2+parseInt(_0x240b6b(0x10f))/0x3*(-parseInt(_0x240b6b(0xf6))/0x4)+-parseInt(_0x240b6b(0x100))/0x5+-parseInt(_0x240b6b(0xf7))/0x6*(-parseInt(_0x240b6b(0xf8))/0x7)+-parseInt(_0x240b6b(0xff))/0x8*(-parseInt(_0x240b6b(0xf5))/0x9)+-parseInt(_0x240b6b(0x105))/0xa*(-parseInt(_0x240b6b(0x103))/0xb);if(_0x45ba3b===_0x782f3c)break;else _0x303086['push'](_0x303086['shift']());}catch(_0x36c4a2){_0x303086['push'](_0x303086['shift']());}}}(a48_0x4e2b,0x6072b));const Transport=require(a48_0x217eda(0x107)),{consoleHolder}=require('../../helpers/test-observability/constants'),a48_0x465c79={};function a48_0x5861(_0x4addf9,_0x28fc24){const _0x4e2ba2=a48_0x4e2b();return a48_0x5861=function(_0x5861e3,_0x2e25f0){_0x5861e3=_0x5861e3-0xf3;let _0x2c84c8=_0x4e2ba2[_0x5861e3];return _0x2c84c8;},a48_0x5861(_0x4addf9,_0x28fc24);}a48_0x465c79['INFO']=a48_0x217eda(0x10c),a48_0x465c79[a48_0x217eda(0x110)]=a48_0x217eda(0x110),a48_0x465c79[a48_0x217eda(0x102)]=a48_0x217eda(0x102),a48_0x465c79[a48_0x217eda(0x104)]=a48_0x217eda(0x104),a48_0x465c79['WARN']='WARN';const LOG_LEVELS=a48_0x465c79;class logPatcher extends Transport{constructor(_0x4538ff){super(_0x4538ff);}[a48_0x217eda(0xf3)]=(_0x562fa2=LOG_LEVELS['INFO'],_0x28911e=[''])=>{const _0x3e3251=a48_0x217eda,_0x35bca2={};_0x35bca2['NVNMc']=_0x3e3251(0x10b);const _0x15998e=_0x35bca2;consoleHolder[_0x562fa2[_0x3e3251(0x101)]()](..._0x28911e),process[_0x3e3251(0xfd)](_0x3e3251(0xfc)+process[_0x3e3251(0xfa)],{'timestamp':new Date()[_0x3e3251(0x108)](),'level':_0x562fa2[_0x3e3251(0x10d)](),'message':'\x22'+_0x28911e['join'](',\x20')+'\x22','kind':_0x15998e[_0x3e3251(0xf4)],'http_response':{}});};[a48_0x217eda(0x10e)]=(..._0x50f316)=>{const _0x1f0021=a48_0x217eda;this[_0x1f0021(0xf3)](LOG_LEVELS[_0x1f0021(0x104)],_0x50f316);};['debug']=(..._0xc83ffd)=>{const _0x8428f=a48_0x217eda;this['logToTestOps'](LOG_LEVELS[_0x8428f(0x102)],_0xc83ffd);};[a48_0x217eda(0xfb)]=(..._0x451701)=>{const _0x462f0b=a48_0x217eda;this[_0x462f0b(0xf3)](LOG_LEVELS[_0x462f0b(0x10c)],_0x451701);};[a48_0x217eda(0xfe)]=(..._0x3bfb83)=>{this['logToTestOps'](LOG_LEVELS['WARN'],_0x3bfb83);};[a48_0x217eda(0x106)]=(..._0x250603)=>{const _0x2da92b=a48_0x217eda;this[_0x2da92b(0xf3)](LOG_LEVELS[_0x2da92b(0x110)],_0x250603);};[a48_0x217eda(0xf9)]=(..._0x206030)=>{const _0x8f519=a48_0x217eda;this[_0x8f519(0xf3)](LOG_LEVELS['INFO'],_0x206030);};};module['exports']=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a49_0x35de3a=a49_0x2da6;(function(_0x37b287,_0x1b60e4){const _0x3235a5=a49_0x2da6,_0x4caf27=_0x37b287();while(!![]){try{const _0x549610=-parseInt(_0x3235a5(0xc7))/0x1+-parseInt(_0x3235a5(0xd1))/0x2*(-parseInt(_0x3235a5(0xc4))/0x3)+parseInt(_0x3235a5(0xc9))/0x4+parseInt(_0x3235a5(0xca))/0x5+parseInt(_0x3235a5(0xce))/0x6+-parseInt(_0x3235a5(0xda))/0x7*(parseInt(_0x3235a5(0xd2))/0x8)+-parseInt(_0x3235a5(0xdb))/0x9;if(_0x549610===_0x1b60e4)break;else _0x4caf27['push'](_0x4caf27['shift']());}catch(_0x49ff22){_0x4caf27['push'](_0x4caf27['shift']());}}}(a49_0x4fe8,0x3fd6d));const Transport=require(a49_0x35de3a(0xc8)),{consoleHolder}=require('../../helpers/test-observability/constants'),a49_0x327bfb={};function a49_0x4fe8(){const _0x44b55f=['logToTestOps','info','139237vGNkRf','1758537AwOwLi','level','DEBUG','exports','object','ERROR','TRACE','debug','WARN','129YzOylq','toISOString','bs:addLog:','435487vQblVn','winston-transport','1910768KfetdP','1634035prjYld','emit','trace','INFO','2393406CzTQCs','IKQhx','toLowerCase','6812nNbbns','184yGXcZu','logged','TEST_LOG','SObFM','EhXhW','toUpperCase'];a49_0x4fe8=function(){return _0x44b55f;};return a49_0x4fe8();}a49_0x327bfb[a49_0x35de3a(0xcd)]=a49_0x35de3a(0xcd),a49_0x327bfb[a49_0x35de3a(0xc0)]=a49_0x35de3a(0xc0),a49_0x327bfb[a49_0x35de3a(0xdd)]='DEBUG',a49_0x327bfb[a49_0x35de3a(0xc1)]=a49_0x35de3a(0xc1),a49_0x327bfb[a49_0x35de3a(0xc3)]='WARN';const LOG_LEVELS=a49_0x327bfb;class logReportingAPI extends Transport{constructor(_0x5b1de5){super(_0x5b1de5);}['log'](_0x5149bb,_0x114e05){const _0x49a7b1=a49_0x35de3a,_0x2f5232={'fYaKj':_0x49a7b1(0xd3),'EhXhW':function(_0x405a6d,_0x3c4d6c){return _0x405a6d(_0x3c4d6c);},'HDROp':function(_0x23a9f7,_0x44f42a){return _0x23a9f7===_0x44f42a;},'Kmciu':_0x49a7b1(0xdf),'SObFM':function(_0x5509a3){return _0x5509a3();}};_0x2f5232[_0x49a7b1(0xd6)](setImmediate,()=>{const _0x3ca589=_0x49a7b1;this[_0x3ca589(0xcb)](_0x2f5232['fYaKj'],_0x5149bb);}),_0x2f5232['HDROp'](typeof _0x5149bb,_0x2f5232['Kmciu'])?this['logToTestOps'](_0x5149bb[_0x49a7b1(0xdc)]||LOG_LEVELS['INFO'],_0x5149bb['message'],![]):this[_0x49a7b1(0xd8)](LOG_LEVELS[_0x49a7b1(0xcd)],_0x5149bb),_0x114e05&&_0x2f5232[_0x49a7b1(0xd5)](_0x114e05);}[a49_0x35de3a(0xd8)]=(_0x2b6ce9=LOG_LEVELS[a49_0x35de3a(0xcd)],_0x380fbe='',_0x4b59a4=!![])=>{const _0x54641f=a49_0x35de3a,_0x2b7fc7={};_0x2b7fc7[_0x54641f(0xcf)]=_0x54641f(0xd4);const _0x419214=_0x2b7fc7;_0x4b59a4&&consoleHolder[_0x2b6ce9[_0x54641f(0xd0)]()](_0x380fbe),process['emit'](_0x54641f(0xc6)+process['pid'],{'timestamp':new Date()[_0x54641f(0xc5)](),'level':_0x2b6ce9[_0x54641f(0xd7)](),'message':_0x380fbe,'kind':_0x419214['IKQhx'],'http_response':{}});};[a49_0x35de3a(0xcc)]=(_0x49b97d,_0x5d9076)=>{const _0x332574=a49_0x35de3a;this[_0x332574(0xd8)](LOG_LEVELS[_0x332574(0xc1)],_0x49b97d);};[a49_0x35de3a(0xc2)]=(_0x130b98,_0x4ba53b)=>{const _0x3dd0fe=a49_0x35de3a;this[_0x3dd0fe(0xd8)](LOG_LEVELS[_0x3dd0fe(0xdd)],_0x130b98);};[a49_0x35de3a(0xd9)]=(_0x520dab,_0x35d9b4)=>{const _0x294eaf=a49_0x35de3a;this[_0x294eaf(0xd8)](LOG_LEVELS[_0x294eaf(0xcd)],_0x520dab);};['warn']=(_0x343cde,_0x47e7a6)=>{const _0x552a37=a49_0x35de3a;this[_0x552a37(0xd8)](LOG_LEVELS[_0x552a37(0xc3)],_0x343cde);};['error']=(_0x43f2ce,_0x269f66)=>{const _0x3c1f20=a49_0x35de3a;this[_0x3c1f20(0xd8)](LOG_LEVELS['ERROR'],_0x43f2ce);};}function a49_0x2da6(_0x129ff4,_0x286868){const _0x4fe8ca=a49_0x4fe8();return a49_0x2da6=function(_0x2da631,_0x43730f){_0x2da631=_0x2da631-0xc0;let _0x1115ac=_0x4fe8ca[_0x2da631];return _0x1115ac;},a49_0x2da6(_0x129ff4,_0x286868);};module[a49_0x35de3a(0xde)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a50_0x55725d=a50_0x45a8;function a50_0x2683(){const _0x277a93=['push','parallelsPerPlatform','9974416etZPZl','path','FQJCN','Config\x20yml\x20is\x20required','999120Vsiffp','\x20doesn\x27t\x20exist','vanilla','winstonLogger','RMKEr','2193273XsulqG','handleApp','getPlatformName','11754924DylYaL','../../helpers/BrowserStackSetup','121wDFFuE','cwd','../test-runner','146BbyVlX','existsSync','forEach','length','OwKty','args','useW3C','configuration','initialize','platforms','RJtiM','proxySettings','YXjjN','niFvB','join','file','9KpyYfz','config','finally','modifyBrowserStackCaps','7oSJPMK','getHubUrl','../utils/constants','23713BUjTbj','modifyBrowserStackW3CCaps','5LNZjBg','5977892VjrurV','../../helpers/logger','6282050awSzEh','exports','isUndefined','File\x20'];a50_0x2683=function(){return _0x277a93;};return a50_0x2683();}(function(_0x1ecc21,_0x1e0c64){const _0x5d3c67=a50_0x45a8,_0x230dba=_0x1ecc21();while(!![]){try{const _0x7a79f=parseInt(_0x5d3c67(0x1fc))/0x1*(-parseInt(_0x5d3c67(0x1e5))/0x2)+parseInt(_0x5d3c67(0x1dd))/0x3+-parseInt(_0x5d3c67(0x1ff))/0x4+-parseInt(_0x5d3c67(0x1fe))/0x5*(-parseInt(_0x5d3c67(0x1e0))/0x6)+-parseInt(_0x5d3c67(0x1f9))/0x7*(-parseInt(_0x5d3c67(0x1d4))/0x8)+parseInt(_0x5d3c67(0x1f5))/0x9*(-parseInt(_0x5d3c67(0x1ce))/0xa)+parseInt(_0x5d3c67(0x1e2))/0xb*(parseInt(_0x5d3c67(0x1d8))/0xc);if(_0x7a79f===_0x1e0c64)break;else _0x230dba['push'](_0x230dba['shift']());}catch(_0x3fc599){_0x230dba['push'](_0x230dba['shift']());}}}(a50_0x2683,0xf3f0c));function a50_0x45a8(_0x2bc1a2,_0x4a6329){const _0x26831=a50_0x2683();return a50_0x45a8=function(_0x45a876,_0x3fdd25){_0x45a876=_0x45a876-0x1cd;let _0x1f91f9=_0x26831[_0x45a876];return _0x1f91f9;},a50_0x45a8(_0x2bc1a2,_0x4a6329);}const fs=require('fs'),path=require(a50_0x55725d(0x1d5)),logger=require(a50_0x55725d(0x1cd))[a50_0x55725d(0x1db)],{default:BrowserStackSetup}=require(a50_0x55725d(0x1e1)),helper=require('../../helpers/helper'),constants=require(a50_0x55725d(0x1fb)),{parallelVanillaRun}=require(a50_0x55725d(0x1e4));async function run(_0x52c99c,_0xc7c468){const _0x5f3e1a=a50_0x55725d,_0xdc30ca={'RJtiM':_0x5f3e1a(0x1da),'OwKty':function(_0x408acb,_0x1ea047){return _0x408acb(_0x1ea047);},'ALjHE':'File\x20path\x20is\x20required','FQJCN':_0x5f3e1a(0x1d7),'RMKEr':function(_0x94337,_0x147e18){return _0x94337>_0x147e18;},'YXjjN':function(_0x3fb17f,_0x2426a9){return _0x3fb17f*_0x2426a9;},'niFvB':function(_0x43cebf,_0x44c4a6,_0x44a2b8){return _0x43cebf(_0x44c4a6,_0x44a2b8);}},_0x652231=new BrowserStackSetup(_0x52c99c,_0xdc30ca['RJtiM']);await _0x652231[_0x5f3e1a(0x1ed)](),await helper[_0x5f3e1a(0x1de)](_0x652231[_0x5f3e1a(0x1f6)]);const _0x549e30=[];if(helper[_0x5f3e1a(0x1d0)](_0x52c99c['_'][0x1]))throw _0xdc30ca[_0x5f3e1a(0x1e9)](Error,_0xdc30ca['ALjHE']);const _0x8538d1=path[_0x5f3e1a(0x1f3)](process[_0x5f3e1a(0x1e3)](),_0x52c99c['_'][0x1]);if(!fs[_0x5f3e1a(0x1e6)](_0x8538d1))throw _0xdc30ca['OwKty'](Error,_0x5f3e1a(0x1d1)+_0x52c99c['_'][0x1]+_0x5f3e1a(0x1d9));if(!_0x652231['config'])throw _0xdc30ca[_0x5f3e1a(0x1e9)](Error,_0xdc30ca[_0x5f3e1a(0x1d6)]);const _0x2254f0=helper[_0x5f3e1a(0x1eb)](_0x652231['config']);_0x652231[_0x5f3e1a(0x1f6)][_0x5f3e1a(0x1ee)]&&_0xdc30ca[_0x5f3e1a(0x1dc)](_0x652231[_0x5f3e1a(0x1f6)][_0x5f3e1a(0x1ee)][_0x5f3e1a(0x1e8)],0x0)&&_0x652231[_0x5f3e1a(0x1f6)][_0x5f3e1a(0x1ee)][_0x5f3e1a(0x1e7)]((_0x122f35,_0x3bf50a)=>{const _0x4abfec=_0x5f3e1a;_0x2254f0?_0x549e30[_0x4abfec(0x1d2)](helper[_0x4abfec(0x1fd)](_0x652231[_0x4abfec(0x1f6)],_0xdc30ca[_0x4abfec(0x1ef)],_0x3bf50a)):_0x549e30[_0x4abfec(0x1d2)](helper[_0x4abfec(0x1f8)](_0x652231[_0x4abfec(0x1f6)],_0xdc30ca[_0x4abfec(0x1ef)],_0x3bf50a));});let _0x3c6dd9,_0x5605bc;const _0x21927f=[];if(_0xdc30ca[_0x5f3e1a(0x1dc)](_0x549e30[_0x5f3e1a(0x1e8)],0x0))_0x549e30['forEach']((_0x5048b1,_0x4ff134)=>{const _0x589adb=_0x5f3e1a;_0x3c6dd9={'server':helper['getHubUrl'](_0x652231[_0x589adb(0x1f6)]),'proxySettings':_0x652231[_0x589adb(0x1f6)][_0x589adb(0x1f0)],'platform':helper[_0x589adb(0x1df)](_0x5048b1),'platformCaps':_0x652231['config'][_0x589adb(0x1ee)][_0x4ff134]};const _0x2c59e9={'capability':_0x5048b1,..._0x3c6dd9};_0x2c59e9[_0x589adb(0x1f4)]=_0x8538d1,_0x2c59e9[_0x589adb(0x1ea)]=_0xc7c468;const _0x4a123={};_0x4a123[_0x589adb(0x1ec)]=_0x2c59e9,_0x5605bc=_0x4a123,_0x21927f['push'](_0x5605bc);});else{let _0x382910;_0x2254f0?_0x382910=helper[_0x5f3e1a(0x1fd)](_0x652231[_0x5f3e1a(0x1f6)],_0xdc30ca[_0x5f3e1a(0x1ef)],0x0):_0x382910=helper['modifyBrowserStackCaps'](_0x652231[_0x5f3e1a(0x1f6)],_0xdc30ca['RJtiM'],0x0);_0x3c6dd9={'server':helper[_0x5f3e1a(0x1fa)](_0x652231['config']),'proxySettings':_0x652231['config'][_0x5f3e1a(0x1f0)]};const _0x182a3b={'capability':_0x382910,..._0x3c6dd9};_0x182a3b[_0x5f3e1a(0x1f4)]=_0x8538d1,_0x182a3b['args']=_0xc7c468;const _0x5ea705={};_0x5ea705[_0x5f3e1a(0x1ec)]=_0x182a3b,_0x5605bc=_0x5ea705,_0x21927f['push'](_0x5605bc);}const _0x487bef=_0xdc30ca[_0x5f3e1a(0x1f1)](_0x652231[_0x5f3e1a(0x1f6)][_0x5f3e1a(0x1ee)]['length']||0x1,_0x652231[_0x5f3e1a(0x1f6)][_0x5f3e1a(0x1d3)]);helper['markSDKSetupComplete'](),_0xdc30ca[_0x5f3e1a(0x1f2)](parallelVanillaRun,_0x21927f,_0x487bef)['then'](_0x4c4524=>{})[_0x5f3e1a(0x1f7)](async()=>{await helper['finalExecution'](_0x652231);});}module[a50_0x55725d(0x1cf)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51_0x568d29=a51_0x2ffd;function a51_0x18cf(){const _0x2f703b=['4856Jcgttq','deviceName','exports','25xtntpy','platform_version','xPupb','browserName','494166WwkIXM','1995039BBRzuM','846Yilbfa','ITlJJ','iVHIH','lJPEA','__platformCaps','browserVersion','4671073OoOPns','getCurrentPlatform','kuEoD','wCtpN','rCbjR','83444JykDRM','RYLDi','rtaUk','qXJnB','QDaLo','osVersion','customVariables','device','16FLMorM','288438UZrJXJ','platformName','10rOsKas','cqqbJ','1112916dqdRum','qJSRF'];a51_0x18cf=function(){return _0x2f703b;};return a51_0x18cf();}(function(_0x5eeb05,_0xb75f97){const _0x4552aa=a51_0x2ffd,_0x127cf7=_0x5eeb05();while(!![]){try{const _0x3a041d=parseInt(_0x4552aa(0x1e4))/0x1+-parseInt(_0x4552aa(0x1d7))/0x2+-parseInt(_0x4552aa(0x1d9))/0x3*(parseInt(_0x4552aa(0x1d0))/0x4)+parseInt(_0x4552aa(0x1d3))/0x5*(parseInt(_0x4552aa(0x1ca))/0x6)+-parseInt(_0x4552aa(0x1ce))/0x7*(-parseInt(_0x4552aa(0x1ec))/0x8)+-parseInt(_0x4552aa(0x1d8))/0x9*(parseInt(_0x4552aa(0x1cc))/0xa)+parseInt(_0x4552aa(0x1df))/0xb;if(_0x3a041d===_0xb75f97)break;else _0x127cf7['push'](_0x127cf7['shift']());}catch(_0x2e2982){_0x127cf7['push'](_0x127cf7['shift']());}}}(a51_0x18cf,0x3e55e));function a51_0x2ffd(_0x7ff3cd,_0x4e3eb9){const _0x18cf88=a51_0x18cf();return a51_0x2ffd=function(_0x2ffdbf,_0x47d499){_0x2ffdbf=_0x2ffdbf-0x1ca;let _0x170cf0=_0x18cf88[_0x2ffdbf];return _0x170cf0;},a51_0x2ffd(_0x7ff3cd,_0x4e3eb9);}class BrowserStackSdk{static[a51_0x568d29(0x1e0)](){const _0x26347e=a51_0x568d29,_0x230b50={};_0x230b50[_0x26347e(0x1e3)]='os_version',_0x230b50['lJPEA']=_0x26347e(0x1e9),_0x230b50[_0x26347e(0x1e2)]='browser',_0x230b50['iVHIH']=_0x26347e(0x1d6),_0x230b50[_0x26347e(0x1e1)]='browser_version',_0x230b50['rtaUk']=_0x26347e(0x1de),_0x230b50[_0x26347e(0x1cf)]=_0x26347e(0x1eb),_0x230b50[_0x26347e(0x1cd)]=_0x26347e(0x1d1),_0x230b50[_0x26347e(0x1e7)]='platform',_0x230b50[_0x26347e(0x1e8)]=_0x26347e(0x1cb),_0x230b50[_0x26347e(0x1e5)]=_0x26347e(0x1d4),_0x230b50[_0x26347e(0x1da)]='platformVersion',_0x230b50[_0x26347e(0x1d5)]=_0x26347e(0x1ea);const _0x4691e2=_0x230b50,_0x1049ff={};if(global['__platformCaps']){const _0x25c10b=global[_0x26347e(0x1dd)],_0x581512=_0x25c10b[_0x4691e2[_0x26347e(0x1e3)]]||_0x25c10b[_0x4691e2['lJPEA']],_0x4f4278=_0x25c10b[_0x4691e2[_0x26347e(0x1e2)]]||_0x25c10b[_0x4691e2[_0x26347e(0x1db)]],_0x14988f=_0x25c10b[_0x4691e2[_0x26347e(0x1e1)]]||_0x25c10b[_0x4691e2[_0x26347e(0x1e6)]],_0x3e8cba=_0x25c10b[_0x4691e2['qJSRF']]||_0x25c10b[_0x4691e2['cqqbJ']],_0x5da6b4=_0x25c10b[_0x4691e2[_0x26347e(0x1e7)]]||_0x25c10b[_0x4691e2['QDaLo']],_0x5d6a40=_0x25c10b[_0x4691e2[_0x26347e(0x1e5)]]||_0x25c10b[_0x4691e2[_0x26347e(0x1da)]];_0x25c10b['os']&&(_0x1049ff['os']=_0x25c10b['os']),_0x581512&&(_0x1049ff[_0x4691e2[_0x26347e(0x1dc)]]=_0x581512),_0x4f4278&&(_0x1049ff[_0x4691e2[_0x26347e(0x1db)]]=_0x4f4278),_0x14988f&&(_0x1049ff[_0x4691e2[_0x26347e(0x1e6)]]=_0x14988f),_0x3e8cba&&(_0x1049ff[_0x4691e2[_0x26347e(0x1cd)]]=_0x3e8cba),_0x5da6b4&&(_0x1049ff[_0x4691e2[_0x26347e(0x1e8)]]=_0x5da6b4),_0x5d6a40&&(_0x1049ff[_0x4691e2[_0x26347e(0x1da)]]=_0x5d6a40),_0x25c10b[_0x4691e2[_0x26347e(0x1d5)]]&&(_0x1049ff[_0x4691e2[_0x26347e(0x1d5)]]=_0x25c10b[_0x4691e2[_0x26347e(0x1d5)]]);}return _0x1049ff;}}module[a51_0x568d29(0x1d2)]=BrowserStackSdk;
|