browserstack-node-sdk 1.32.9 → 1.32.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.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_0xfd3883=a40_0x2529;function a40_0x2595(){const _0x1e62f2=['env','unknown_grid','shouldWrapCommand','connectOptions','RwOSp','bStackParams','5212160dktJvT','entries','TsIIV','platformName','nWgeW','browser_version','defineProperty','lppnd','currentSessionDetails','16538pvmaik','../../helpers/accessibility-automation/helper','../../helpers/accessibility-automation/scripts','CRConnection','params','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','project','XzLxh','cloudProvider','awOSb','server','../../helpers/helper','Error\x20in\x20finding\x20platform\x20details\x20','browserName','5353794DGYwXV','join','patchConnection','LendH','3423627OfxEkZ','accessibilityPlatform','viYpy','LWiZO','ZEtDR','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','vebhB','sessionError','32vApJgA','CYZUT','XckPe','FxGXs','Error\x20in\x20importing\x20crConnection','apply','product','ydZMB','platformDetails','jyksW','_type','exports','GXXzd','firefox','browser','bsSessionId','hlIPq','viTvX','XAPhU','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','crConnection.js','_onMessage','pageFixture','BwumL','Connection','CfHrB','debug','yrWdR','platform_version','sessionId','StbQb','bsParams','dispatch','VdpdB','capabilities','lKmHa','_browserType','pBvWn','wkhZG','Setting\x20session\x20id\x20received\x20from\x20BS\x20','browserstack.com','bstackPerformA11yScan','nJjaG','_connection','_defaultConnectOptions','16919064sWnZVc','util','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','currentTest','setupBrowserDetails','FbPtn','channel','connection.js','Error\x20in\x20importing\x20connection\x20','sendMessageToServer','TFmVM','version','safari','XKeSX','1WuIYEG','KyXhT','LtbiK','playwright-','xXVBr','./accessibility-helper','2806408UODcOu','eECAF','local_grid','winstonLogger','parse','titlePath','zsmGR','ckGNz','wsEndpoint','eDjqK','UIgOx','url','1350951RRWJhd','UXJtC','../../helpers/test-observability/error-handler','testInfo','eZQtf','krJGr','patchCRConnection','browserstack','path','__driver','_name','performScan','query','DmgJC','kxBCe','../../bin/playwright/accessibility-helper','format','toString','cLzMD','__workerDetails','assign','wdSNA','getDetails','cMwAM','iZuvQ','chromium','fFcWZ','prototype','FWcsX','CmmgD','includes','client','platform','../../helpers/logger','lib','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','use','iqRMK','axujI','PDoth','automate'];a40_0x2595=function(){return _0x1e62f2;};return a40_0x2595();}(function(_0x4fcbb7,_0xfcb8c5){const _0x548dab=a40_0x2529,_0x3f38be=_0x4fcbb7();while(!![]){try{const _0x4193b5=parseInt(_0x548dab(0xea))/0x1*(-parseInt(_0x548dab(0x134))/0x2)+parseInt(_0x548dab(0xa7))/0x3+parseInt(_0x548dab(0xf0))/0x4+-parseInt(_0x548dab(0x12b))/0x5+parseInt(_0x548dab(0xa3))/0x6+parseInt(_0x548dab(0xfc))/0x7*(parseInt(_0x548dab(0xaf))/0x8)+-parseInt(_0x548dab(0xdc))/0x9;if(_0x4193b5===_0xfcb8c5)break;else _0x3f38be['push'](_0x3f38be['shift']());}catch(_0x3cae1b){_0x3f38be['push'](_0x3f38be['shift']());}}}(a40_0x2595,0x8cbe5));function a40_0x2529(_0x1df0b8,_0x4c8e03){const _0x259555=a40_0x2595();return a40_0x2529=function(_0x2529a2,_0x154a8e){_0x2529a2=_0x2529a2-0x9b;let _0x4a9a23=_0x259555[_0x2529a2];return _0x4a9a23;},a40_0x2529(_0x1df0b8,_0x4c8e03);}const path=require(a40_0xfd3883(0x104)),url=require(a40_0xfd3883(0xfb)),util=require(a40_0xfd3883(0xdd)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a40_0xfd3883(0xa0)),{o11yErrorHandler}=require(a40_0xfd3883(0xfe)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a40_0xfd3883(0x135)),logger=require(a40_0xfd3883(0x11d))[a40_0xfd3883(0xf3)],scripts=require(a40_0xfd3883(0x136)),{browserStackExecuteDriver}=require(a40_0xfd3883(0x10b)),AccessibilityHelper=require(a40_0xfd3883(0xef)),getBrowserNameFromChannel=_0x5a5870=>{const _0x106f52=a40_0xfd3883,_0x5dab42={};_0x5dab42[_0x106f52(0x100)]='chrome',_0x5dab42['hlIPq']='edge',_0x5dab42['eECAF']=_0x106f52(0xbc),_0x5dab42[_0x106f52(0xca)]=_0x106f52(0xe8);const _0x1e4248=_0x5dab42;if(_0x5a5870[_0x106f52(0x11a)](_0x1e4248[_0x106f52(0x100)]))return _0x1e4248[_0x106f52(0x100)];if(_0x5a5870[_0x106f52(0x11a)](_0x1e4248['hlIPq']))return _0x1e4248[_0x106f52(0xbf)];if(_0x5a5870[_0x106f52(0x11a)](_0x1e4248[_0x106f52(0xf1)]))return _0x1e4248['eECAF'];if(_0x5a5870[_0x106f52(0x11a)](_0x1e4248[_0x106f52(0xca)]))return _0x1e4248['yrWdR'];},getBrowserFromWSEndpoint=_0x3d21cc=>{const _0xfc2613=a40_0xfd3883,_0x54f7ab={'ydZMB':'chrome','FbPtn':function(_0x542f59,_0x413d34){return _0x542f59(_0x413d34);}};try{const _0x5a8988=url[_0xfc2613(0xf4)](_0x3d21cc),_0x6c076a=new URLSearchParams(_0x5a8988[_0xfc2613(0x108)]),_0x25fb2a=Object['fromEntries'](_0x6c076a[_0xfc2613(0x12c)]()),_0x5c7b47=JSON[_0xfc2613(0xf4)](_0x25fb2a['caps']);if(_0x5c7b47&&(_0x5c7b47[_0xfc2613(0xbd)]||_0x5c7b47[_0xfc2613(0xa2)]))return _0x5c7b47[_0xfc2613(0xbd)]||_0x5c7b47['browserName'];return _0x54f7ab[_0xfc2613(0xb6)];}catch(_0xc959c0){_0x54f7ab[_0xfc2613(0xe1)](debug,_0xfc2613(0xc2)+_0xc959c0[_0xfc2613(0x10d)]());}},getCloudProviderFromWsEndpoint=_0x34f57e=>{const _0x14648b=a40_0xfd3883,_0x3988a1={};_0x3988a1['yuVRe']=_0x14648b(0xd7),_0x3988a1[_0x14648b(0x116)]=_0x14648b(0x103),_0x3988a1['wkhZG']=_0x14648b(0x126);const _0x5a26e=_0x3988a1;if(_0x34f57e[_0x14648b(0x11a)](_0x5a26e['yuVRe']))return _0x5a26e[_0x14648b(0x116)];return _0x5a26e[_0x14648b(0xd5)];},a40_0x38ff69={};a40_0x38ff69[a40_0xfd3883(0x9d)]=undefined,a40_0x38ff69[a40_0xfd3883(0xbe)]=undefined,a40_0x38ff69[a40_0xfd3883(0xbd)]=undefined,a40_0x38ff69[a40_0xfd3883(0x130)]=undefined,a40_0x38ff69[a40_0xfd3883(0x11c)]=undefined,a40_0x38ff69[a40_0xfd3883(0xcb)]=undefined,a40_0x38ff69[a40_0xfd3883(0xb5)]=undefined,a40_0x38ff69[a40_0xfd3883(0xd1)]={};class PlaywrightSessionDetails{static [a40_0xfd3883(0x133)]=a40_0x38ff69;constructor(){const _0x1552a7=a40_0xfd3883,_0x411646={};_0x411646['wdSNA']=_0x1552a7(0xde);const _0x47cc02=_0x411646;throw new Error(_0x47cc02[_0x1552a7(0x111)]);}static [a40_0xfd3883(0xae)]=null;static[a40_0xfd3883(0xe0)](_0x257e52,_0x253983,_0x55c0d7=null){const _0x3223f9=a40_0xfd3883,_0x184eab={'PDoth':_0x3223f9(0xf2),'iqRMK':function(_0x3b2d67,_0x558718,_0x57fb0f){return _0x3b2d67(_0x558718,_0x57fb0f);},'XckPe':_0x3223f9(0x9b),'xXVBr':_0x3223f9(0x120),'viYpy':_0x3223f9(0x128),'eDjqK':function(_0x505be7,_0x3ce43c){return _0x505be7(_0x3ce43c);},'TFmVM':function(_0x539667,_0x25a947){return _0x539667===_0x25a947;},'XKeSX':_0x3223f9(0x103),'UIgOx':_0x3223f9(0x124),'cLzMD':function(_0x158834,_0xeda4b3){return _0x158834(_0xeda4b3);},'kxBCe':function(_0x44c8df,_0x5cdd12){return _0x44c8df+_0x5cdd12;},'LWiZO':_0x3223f9(0xed),'GXXzd':function(_0x1695e8){return _0x1695e8();},'lKmHa':function(_0x37a0c1,_0x327406){return _0x37a0c1(_0x327406);}},_0x4ecb12=this;return _0x184eab[_0x3223f9(0xd2)](o11yErrorHandler,async function _0x425ddf(_0x43ab8c,_0x30f2f5,_0x299540=null){const _0x4e1a15=_0x3223f9;let _0x4db580=_0x43ab8c[_0x4e1a15(0x106)];const _0x4ad27b=_0x43ab8c[_0x4e1a15(0xe7)]();let _0x445a0d=null,_0x5d0520=null,_0xc2962d=null,_0x11aaec=_0x184eab[_0x4e1a15(0x123)];if(_0x43ab8c[_0x4e1a15(0xda)]['isRemote']()||global['accessibilityPlatform']){const _0x5bf5fe=_0x43ab8c[_0x4e1a15(0xd3)][_0x4e1a15(0xdb)]||_0x184eab[_0x4e1a15(0x121)](nestedKeyValue,_0x30f2f5,[_0x184eab[_0x4e1a15(0xb1)],_0x184eab[_0x4e1a15(0xee)],_0x184eab[_0x4e1a15(0xa9)]]),_0x1ec6f0=_0x299540||_0x5bf5fe&&_0x5bf5fe[_0x4e1a15(0xf8)];_0x1ec6f0&&(_0x11aaec=_0x184eab[_0x4e1a15(0xf9)](getCloudProviderFromWsEndpoint,_0x1ec6f0),_0x184eab[_0x4e1a15(0xe6)](_0x11aaec,_0x184eab[_0x4e1a15(0xe9)])&&(_0xc2962d=_0x184eab[_0x4e1a15(0xfa)],_0x4db580=_0x184eab[_0x4e1a15(0x10e)](getBrowserFromWSEndpoint,_0x1ec6f0)||_0x4db580,_0x445a0d=_0x4ecb12[_0x4e1a15(0x133)][_0x4e1a15(0x11c)],_0x5d0520=_0x4ecb12['currentSessionDetails'][_0x4e1a15(0xcb)]));}else{_0x30f2f5&&_0x30f2f5[_0x4e1a15(0x9b)][_0x4e1a15(0x120)][_0x4e1a15(0xe2)]?_0x4db580=_0x184eab[_0x4e1a15(0xf9)](getBrowserNameFromChannel,_0x30f2f5[_0x4e1a15(0x9b)][_0x4e1a15(0x120)][_0x4e1a15(0xe2)]):_0x4db580=_0x184eab[_0x4e1a15(0x10a)](_0x184eab[_0x4e1a15(0xaa)],_0x4db580['toLowerCase']());const _0x58bfe2=await _0x184eab[_0x4e1a15(0xbb)](getPlatformDetails);_0x445a0d=_0x58bfe2[_0x4e1a15(0x12e)],_0x5d0520=_0x58bfe2['platformVersion'];}const _0x46b1ee={};_0x46b1ee[_0x4e1a15(0xbd)]=_0x4db580,_0x46b1ee['browser_version']=_0x4ad27b,_0x46b1ee['capabilities']={},_0x46b1ee[_0x4e1a15(0x11c)]=_0x445a0d,_0x46b1ee['platform_version']=_0x5d0520,_0x46b1ee[_0x4e1a15(0xb5)]=_0xc2962d;const _0x51fead=_0x46b1ee,_0x11dc51={};_0x11dc51[_0x4e1a15(0x9d)]=_0x11aaec,_0x4ecb12[_0x4e1a15(0x133)]=Object[_0x4e1a15(0x110)]({},_0x4ecb12['currentSessionDetails'],_0x11dc51,_0x51fead);})(_0x257e52,_0x253983,_0x55c0d7);}static['patch'](){const _0x438f73=a40_0xfd3883;this['patchConnection'](),this[_0x438f73(0x102)]();}static[a40_0xfd3883(0xa5)](){const _0x2128aa=a40_0xfd3883,_0x2916de={'QvSCq':function(_0x4a400a,_0x11ea0d,_0x2489b2){return _0x4a400a(_0x11ea0d,_0x2489b2);},'jyksW':'currentTest','krJGr':_0x2128aa(0xff),'lppnd':_0x2128aa(0xf5),'FxGXs':function(_0x749732,_0x5e38fd){return _0x749732===_0x5e38fd;},'DmgJC':'Page','qIfck':function(_0x5e6124,_0x11321e,_0x234f24,_0x27fc5f){return _0x5e6124(_0x11321e,_0x234f24,_0x27fc5f);},'LtbiK':function(_0x38522c,_0x3a92f5){return _0x38522c(_0x3a92f5);},'nWgeW':function(_0x2fbb09,_0x4a9b35){return _0x2fbb09(_0x4a9b35);},'StbQb':_0x2128aa(0x11e),'viTvX':_0x2128aa(0x11b),'cMwAM':_0x2128aa(0xe3),'KyXhT':function(_0x753b10,_0x1e0eee){return _0x753b10(_0x1e0eee);},'ckGNz':function(_0x530300,_0x3f7a7b){return _0x530300(_0x3f7a7b);},'pBvWn':'Not\x20able\x20to\x20import\x20Connection','UXJtC':function(_0x143e79,_0x56a897){return _0x143e79!=_0x56a897;},'nJjaG':function(_0x574e13){return _0x574e13();},'RpstW':_0x2128aa(0xe5),'XzLxh':_0x2128aa(0xcf)},_0x12fa1b=this;if(!this[_0x2128aa(0xc7)])try{const _0x43ee64=path[_0x2128aa(0xa4)](_0x2916de[_0x2128aa(0xcd)],_0x2916de[_0x2128aa(0xc0)],_0x2916de[_0x2128aa(0x113)]),_0x1e8ee1=_0x2916de[_0x2128aa(0xeb)](importFileFromPWCore,_0x43ee64);!_0x1e8ee1?_0x2916de['ckGNz'](debug,_0x2916de[_0x2128aa(0xd4)]):this[_0x2128aa(0xc7)]=_0x1e8ee1[_0x2128aa(0xc7)];}catch(_0x10d6d9){_0x2916de[_0x2128aa(0xf7)](debug,_0x2128aa(0xe4)+_0x10d6d9[_0x2128aa(0x10d)]());}const _0x241654=this[_0x2128aa(0xc7)];try{if(_0x2916de[_0x2128aa(0xfd)](_0x241654,null)){const _0x278ba2=_0x241654[_0x2128aa(0x117)][_0x2128aa(0xcf)],_0x5f2143=_0x241654[_0x2128aa(0x117)][_0x2128aa(0xe5)];_0x2916de[_0x2128aa(0xd9)](isAccessibilityAutomationSession)&&Object[_0x2128aa(0x131)](_0x241654[_0x2128aa(0x117)],_0x2916de['RpstW'],{'get':function(){const _0x2c383f=_0x2128aa,_0x576da8={'CmmgD':function(_0x5a858b,_0x30fa2a,_0x842dd){return _0x2916de['QvSCq'](_0x5a858b,_0x30fa2a,_0x842dd);},'jvzUz':_0x2916de[_0x2c383f(0xb8)],'Fmysr':_0x2916de[_0x2c383f(0x101)],'TbscS':_0x2916de[_0x2c383f(0x132)],'vebhB':function(_0x5e1b35,_0xefc21b){const _0x3fa40f=_0x2c383f;return _0x2916de[_0x3fa40f(0xb2)](_0x5e1b35,_0xefc21b);},'VdpdB':_0x2916de[_0x2c383f(0x109)],'FWcsX':function(_0x4df81b,_0x467e2f,_0x2aa54e,_0x5e5299){return _0x2916de['qIfck'](_0x4df81b,_0x467e2f,_0x2aa54e,_0x5e5299);}};return async function(){const _0x14a897=_0x2c383f;try{if(!global[_0x14a897(0xd8)]&&global[_0x14a897(0xa8)]&&_0x576da8[_0x14a897(0x119)](nestedKeyValue,global[_0x14a897(0x10f)],[_0x576da8['jvzUz'],_0x576da8['Fmysr'],_0x576da8['TbscS']])&&_0x576da8[_0x14a897(0x119)](shouldScanTestForAccessibility,global[_0x14a897(0x10f)][_0x14a897(0xdf)][_0x14a897(0xff)][_0x14a897(0xf5)],!![])&&scripts[_0x14a897(0x127)](arguments[0x1])){logger[_0x14a897(0xc9)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x14a897(0xd8)]=!![];const _0x10596b={};_0x10596b['method']=arguments[0x1],global[_0x14a897(0xc5)]&&logger['debug'](util[_0x14a897(0x10c)](await AccessibilityHelper[_0x14a897(0x107)](global[_0x14a897(0xc5)],_0x10596b)));if(_0x576da8[_0x14a897(0xad)](arguments[0x0][_0x14a897(0xb9)],_0x576da8[_0x14a897(0xd0)])&&global['__driver']){const _0x357f95={};_0x357f95['method']=arguments[0x1],await _0x576da8[_0x14a897(0x118)](browserStackExecuteDriver,global[_0x14a897(0x105)],scripts[_0x14a897(0x107)],_0x357f95);}}}catch(_0x2d8972){logger[_0x14a897(0xc9)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x14a897(0x10c)](_0x2d8972));}return global['bstackPerformA11yScan']=![],_0x5f2143['apply'](this,arguments);};}}),!_0x2916de['ckGNz'](isFalse,process[_0x2128aa(0x125)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x2128aa(0x131)](_0x241654[_0x2128aa(0x117)],_0x2916de[_0x2128aa(0x9c)],{'get':function(){return function _0x3ec8e4(_0x1c9d11){const _0x9ea761=a40_0x2529,_0x5699ab=_0x1c9d11&&_0x1c9d11[_0x9ea761(0x138)]&&_0x1c9d11[_0x9ea761(0x138)][_0x9ea761(0xce)];if(_0x5699ab){const _0x1b7d56=_0x5699ab['sessionId'],_0x31304d=_0x5699ab[_0x9ea761(0xb7)];_0x31304d&&(_0x2916de[_0x9ea761(0xec)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x31304d[_0x9ea761(0x10d)]()),_0x12fa1b['currentSessionDetails'][_0x9ea761(0x11c)]=_0x31304d[_0x9ea761(0x12e)],_0x12fa1b[_0x9ea761(0x133)][_0x9ea761(0xcb)]=_0x31304d['platformVersion']),_0x1b7d56&&(_0x2916de[_0x9ea761(0x12f)](debug,_0x9ea761(0xd6)+_0x1b7d56),_0x12fa1b[_0x9ea761(0x133)]['bsSessionId']=_0x1b7d56);}return _0x278ba2[_0x9ea761(0xb4)](this,arguments);};}});}}catch(_0x15c318){_0x2916de[_0x2128aa(0xf7)](debug,_0x2128aa(0x11f)+_0x15c318),_0x12fa1b[_0x2128aa(0xae)]=_0x15c318[_0x2128aa(0x10d)]();}}static[a40_0xfd3883(0x102)](){const _0x135b08=a40_0xfd3883,_0x4b28e7={'ZEtDR':function(_0x3db462,_0x8efb2d){return _0x3db462(_0x8efb2d);},'awOSb':function(_0x352456,_0x574500){return _0x352456(_0x574500);},'RwOSp':function(_0x2f411f){return _0x2f411f();},'iZuvQ':'lib','LendH':_0x135b08(0x9f),'aIAmP':_0x135b08(0x115),'BwumL':_0x135b08(0xc3),'zsmGR':function(_0x40401e,_0x35c5f9){return _0x40401e(_0x35c5f9);},'OXjXQ':'Not\x20able\x20to\x20import\x20crConnection','XAPhU':function(_0x121fee,_0x5d10c6){return _0x121fee(_0x5d10c6);},'CYZUT':_0x135b08(0xb3),'axujI':function(_0x338f96,_0x25d804){return _0x338f96!=_0x25d804;},'TsIIV':_0x135b08(0xc4),'CfHrB':function(_0x83435d,_0x296305){return _0x83435d(_0x296305);}},_0x2740a0=this;if(_0x4b28e7[_0x135b08(0x129)](isAccessibilityAutomationSession)){let _0x52e3e1=null;try{const _0x6382b2=path[_0x135b08(0xa4)](_0x4b28e7[_0x135b08(0x114)],_0x4b28e7[_0x135b08(0xa6)],_0x4b28e7['aIAmP'],_0x4b28e7[_0x135b08(0xc6)]),_0x19f8dd=_0x4b28e7[_0x135b08(0xf6)](importFileFromPWCore,_0x6382b2);!_0x19f8dd?_0x4b28e7[_0x135b08(0xf6)](debug,_0x4b28e7['OXjXQ']):_0x52e3e1=_0x19f8dd[_0x135b08(0x137)];}catch(_0x5c70a1){_0x4b28e7[_0x135b08(0xc1)](debug,_0x4b28e7[_0x135b08(0xb0)]);}try{if(_0x4b28e7[_0x135b08(0x122)](_0x52e3e1,null)){const _0x515d00=_0x52e3e1[_0x135b08(0x117)][_0x135b08(0xc4)];Object[_0x135b08(0x131)](_0x52e3e1['prototype'],_0x4b28e7[_0x135b08(0x12d)],{'get':function(){return function _0x159c23(_0x411520){const _0x465c0c=a40_0x2529;try{const _0xacbd9b=_0x411520[_0x465c0c(0x12a)];if(_0xacbd9b){delete _0x411520[_0x465c0c(0x12a)];const _0x54a7e4=_0xacbd9b[_0x465c0c(0xcc)],_0x4e1a87=_0xacbd9b[_0x465c0c(0xb7)];_0x4e1a87&&(_0x4b28e7[_0x465c0c(0xab)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x4e1a87[_0x465c0c(0x10d)]()),_0x2740a0[_0x465c0c(0x133)][_0x465c0c(0x11c)]=_0x4e1a87[_0x465c0c(0x12e)],_0x2740a0[_0x465c0c(0x133)]['platform_version']=_0x4e1a87['platformVersion']),_0x54a7e4&&(_0x4b28e7[_0x465c0c(0xab)](debug,_0x465c0c(0x139)+_0x54a7e4),_0x2740a0['currentSessionDetails'][_0x465c0c(0xbe)]=_0x54a7e4);}}catch(_0x2be803){_0x4b28e7[_0x465c0c(0x9e)](debug,_0x465c0c(0xa1)+_0x2be803[_0x465c0c(0x10d)]());}return _0x515d00[_0x465c0c(0xb4)](this,arguments);};}});}}catch(_0x57d5ec){_0x4b28e7[_0x135b08(0xc8)](debug,_0x135b08(0xac)+_0x57d5ec),_0x2740a0[_0x135b08(0xae)]=_0x57d5ec[_0x135b08(0x10d)]();}}}static[a40_0xfd3883(0x112)](){const _0xefd588=a40_0xfd3883;return this[_0xefd588(0x133)];}}module[a40_0xfd3883(0xba)]=PlaywrightSessionDetails;
|
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_0x142bd5=a41_0x5049;(function(_0x2a6c2d,_0x4446de){const _0x303778=a41_0x5049,_0x5ac631=_0x2a6c2d();while(!![]){try{const _0x291336=-parseInt(_0x303778(0xbb))/0x1*(parseInt(_0x303778(0x110))/0x2)+parseInt(_0x303778(0xcc))/0x3+-parseInt(_0x303778(0xa6))/0x4+-parseInt(_0x303778(0xad))/0x5+parseInt(_0x303778(0xf2))/0x6+parseInt(_0x303778(0xb9))/0x7*(parseInt(_0x303778(0x10c))/0x8)+parseInt(_0x303778(0xf5))/0x9;if(_0x291336===_0x4446de)break;else _0x5ac631['push'](_0x5ac631['shift']());}catch(_0x517c80){_0x5ac631['push'](_0x5ac631['shift']());}}}(a41_0x4c34,0x4ae96));const fs=require('fs'),path=require(a41_0x142bd5(0xf0)),util=require(a41_0x142bd5(0xdf)),{performance}=require(a41_0x142bd5(0xc1)),{requireModule}=require(a41_0x142bd5(0x10f)),helper=require(a41_0x142bd5(0x10f)),runIntegrations=require(a41_0x142bd5(0xcb)),captureError=async(_0xd0a639,_0x262a9b,_0x260f70=null)=>{const _0x3ecd54=a41_0x142bd5,_0x4939da={'iCAWN':function(_0x4b4c85,_0x1337c5,_0x1822ec){return _0x4b4c85(_0x1337c5,_0x1822ec);},'ZWztw':'SDKTestSuccessful'};try{await _0x4939da[_0x3ecd54(0xbc)](_0xd0a639,_0x262a9b,_0x260f70);}catch(_0x4bffec){process[_0x3ecd54(0xf4)]=0x1,logger['error'](util[_0x3ecd54(0xef)](_0x4bffec));const _0x33c0f2={};_0x33c0f2[_0x3ecd54(0xf3)]=_0x4bffec['message'];const _0x394edf=_0x33c0f2;if(helper[_0x3ecd54(0xda)](global[_0x3ecd54(0xeb)])&&helper['isUndefined'](global[_0x3ecd54(0xff)]))return;try{helper[_0x3ecd54(0xbe)](_0x4939da['ZWztw'],_0x394edf,global[_0x3ecd54(0xeb)],global[_0x3ecd54(0xff)]);}catch(_0x58efff){logger[_0x3ecd54(0xb3)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x58efff);}}};try{const browserstackFolderPath=path[a41_0x142bd5(0xe6)](helper['homedir'](),a41_0x142bd5(0xf9));if(fs[a41_0x142bd5(0xbf)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a41_0x142bd5(0xf6));fs[a41_0x142bd5(0xbf)](filePath)&&fs[a41_0x142bd5(0xb0)](filePath);}}catch(a41_0x5a9f37){logger[a41_0x142bd5(0xb3)](a41_0x142bd5(0xb6)+a41_0x5a9f37[a41_0x142bd5(0xfe)]);}function a41_0x5049(_0x1e28f0,_0x10d609){const _0x4c34e7=a41_0x4c34();return a41_0x5049=function(_0x5049db,_0x583e12){_0x5049db=_0x5049db-0xa6;let _0xe816ca=_0x4c34e7[_0x5049db];return _0xe816ca;},a41_0x5049(_0x1e28f0,_0x10d609);}process['argv'][a41_0x142bd5(0xe7)](a41_0x142bd5(0xb2))&&(!process[a41_0x142bd5(0xe3)][a41_0x142bd5(0xe7)](a41_0x142bd5(0xfd))&&process[a41_0x142bd5(0xe3)][a41_0x142bd5(0x112)](a41_0x142bd5(0xe0)),!process['argv'][a41_0x142bd5(0xe7)](a41_0x142bd5(0x111))&&process['argv'][a41_0x142bd5(0x112)]('--no-config'),!process[a41_0x142bd5(0xe3)]['includes'](a41_0x142bd5(0xfb))&&process[a41_0x142bd5(0xe3)][a41_0x142bd5(0x112)](a41_0x142bd5(0xc3)));const yargs=require('yargs'),Constants=require(a41_0x142bd5(0x103)),PerformanceTester=require('../helpers/performance-tester'),logger=require(a41_0x142bd5(0xd4))[a41_0x142bd5(0xaa)];PerformanceTester['startMonitoring'](),performance['mark']('sdk:setup-start');const a41_0x16b8a8={};a41_0x16b8a8[a41_0x142bd5(0xd9)]=![];const argv=yargs[a41_0x142bd5(0xdb)](a41_0x16b8a8)[a41_0x142bd5(0xe2)]('usage:\x20$0\x20<command>\x20[args]')['alias']('v',a41_0x142bd5(0x108))[a41_0x142bd5(0xcd)]('v')['alias']('h',a41_0x142bd5(0xd0))[a41_0x142bd5(0xd0)](a41_0x142bd5(0xd0))['showHelpOnFail'](!![],Constants[a41_0x142bd5(0xbd)]['HELP'])[a41_0x142bd5(0xe4)](a41_0x142bd5(0xb4),Constants[a41_0x142bd5(0xd3)]['INFO'],function(_0x4b08f5){const _0x35109f=a41_0x142bd5,_0x3a3e17={'FEtAb':function(_0x55ec55,_0x49d071,_0xd7c818,_0x840b1a){return _0x55ec55(_0x49d071,_0xd7c818,_0x840b1a);},'xsldE':function(_0x133c85,_0x3e8d81){return _0x133c85(_0x3e8d81);},'otwCt':_0x35109f(0xce)};helper[_0x35109f(0xd8)](),helper[_0x35109f(0xed)]();const _0x4f2fea=process[_0x35109f(0xe3)]['slice'](0x2);return _0x3a3e17[_0x35109f(0xe8)](captureError,_0x3a3e17[_0x35109f(0xdd)](require,_0x3a3e17[_0x35109f(0x101)]),_0x4b08f5[_0x35109f(0xe3)],_0x4f2fea);})[a41_0x142bd5(0xe4)](a41_0x142bd5(0xb2),Constants[a41_0x142bd5(0xa8)]['INFO'],_0x474008=>{const _0x541699=a41_0x142bd5,_0x4f2834={'ALsXB':function(_0x4f6b30,_0x3cba11,_0x31e193){return _0x4f6b30(_0x3cba11,_0x31e193);},'PxGZZ':function(_0x4604f5,_0x3c49f0){return _0x4604f5(_0x3c49f0);},'qDSYZ':_0x541699(0xd7),'TviKW':_0x541699(0x109),'rJoLi':function(_0x383024,_0x43652b){return _0x383024(_0x43652b);},'RuiOW':_0x541699(0xe9),'QIqDW':function(_0x483cfd,_0x581cb3){return _0x483cfd(_0x581cb3);},'aCJqV':_0x541699(0xab),'DYPQJ':_0x541699(0xb5),'LTXfB':function(_0x558e3d){return _0x558e3d();}};logger['debug'](_0x4f2834[_0x541699(0xac)]);const _0x44022f=_0x4f2834[_0x541699(0x100)](requireModule,_0x4f2834[_0x541699(0x107)]),_0x4cbc8b=_0x4f2834[_0x541699(0xcf)](requireModule,_0x4f2834[_0x541699(0xfa)]);process['argv']=process[_0x541699(0xe3)]['slice'](0x1),delete _0x44022f[_0x541699(0xfc)],_0x44022f['handler']=function(_0x104a3d){const _0xc25371=_0x541699;return _0x4f2834[_0xc25371(0xd5)](captureError,_0x4f2834[_0xc25371(0x105)](require,_0x4f2834['qDSYZ']),_0x104a3d);},_0x4cbc8b['run']=_0x44022f;const {main:_0x129a99}=_0x4f2834[_0x541699(0x105)](requireModule,_0x4f2834[_0x541699(0xe1)]);_0x4f2834[_0x541699(0xd2)](_0x129a99);})[a41_0x142bd5(0xe4)](a41_0x142bd5(0xf8),Constants[a41_0x142bd5(0xdc)][a41_0x142bd5(0xba)],function(_0x252c7b){const _0x1e9295=a41_0x142bd5,_0x110f44={'oTYPU':function(_0x25de51,_0x1e7aa5,_0x251620,_0x2b9d23){return _0x25de51(_0x1e7aa5,_0x251620,_0x2b9d23);},'jIYva':function(_0x5dd8e9,_0x1c17f8){return _0x5dd8e9(_0x1c17f8);},'DSsUi':_0x1e9295(0xae)},_0x439f8a=process[_0x1e9295(0xe3)][_0x1e9295(0xd6)](0x2);return _0x110f44['oTYPU'](captureError,_0x110f44[_0x1e9295(0xd1)](require,_0x110f44['DSsUi']),_0x252c7b['argv'],_0x439f8a);})['command'](a41_0x142bd5(0x106),Constants[a41_0x142bd5(0xc9)]['INFO'],function(_0x29bac2){const _0x6b3fc2=a41_0x142bd5,_0xdb9dec={'gHmxH':function(_0x332e0d,_0xb47cda,_0x462dd8,_0x229dba){return _0x332e0d(_0xb47cda,_0x462dd8,_0x229dba);},'jEHhi':function(_0x19e72c,_0x1f9c22){return _0x19e72c(_0x1f9c22);},'hThQb':'./vanilla-js/command'},_0x367938=process[_0x6b3fc2(0xe3)][_0x6b3fc2(0xd6)](0x2);return _0xdb9dec[_0x6b3fc2(0xea)](captureError,_0xdb9dec[_0x6b3fc2(0xf1)](require,_0xdb9dec[_0x6b3fc2(0xc2)]),_0x29bac2[_0x6b3fc2(0xe3)],_0x367938);})[a41_0x142bd5(0xe4)]('nightwatch',Constants[a41_0x142bd5(0xb8)][a41_0x142bd5(0xba)],function(_0x3159f1){const _0x49ecff=a41_0x142bd5,_0x567702={'FYqmn':function(_0x1f9a56,_0x4b251f,_0x25c331,_0x90db51){return _0x1f9a56(_0x4b251f,_0x25c331,_0x90db51);},'FDFoa':function(_0x5c5d3e,_0x1bcdee){return _0x5c5d3e(_0x1bcdee);},'UqRiV':'./nightwatch/command'},_0x25a5f2=process[_0x49ecff(0xe3)]['slice'](0x2);return _0x567702[_0x49ecff(0xc8)](captureError,_0x567702['FDFoa'](require,_0x567702[_0x49ecff(0xb7)]),_0x3159f1[_0x49ecff(0xe3)],_0x25a5f2);})['command'](a41_0x142bd5(0x104),Constants[a41_0x142bd5(0xaf)][a41_0x142bd5(0xba)],function(_0x518a1b){const _0x51da34=a41_0x142bd5,_0x30e263={'Ipcev':function(_0x26450c,_0x446b95,_0x2ed5c5,_0x5b75d8){return _0x26450c(_0x446b95,_0x2ed5c5,_0x5b75d8);},'Xbeyh':function(_0x4a9639,_0x507f1b){return _0x4a9639(_0x507f1b);},'TuFfQ':_0x51da34(0xc5)},_0x22f81d=process['argv'][_0x51da34(0xd6)](0x2);return _0x30e263[_0x51da34(0x10e)](captureError,_0x30e263['Xbeyh'](require,_0x30e263[_0x51da34(0xe5)]),_0x518a1b['argv'],_0x22f81d);})[a41_0x142bd5(0xe4)](a41_0x142bd5(0x10a),Constants[a41_0x142bd5(0x102)][a41_0x142bd5(0xba)],function(_0x3c3cbb){const _0x23ea4b=a41_0x142bd5,_0x55fa01={'qkhJg':function(_0x5a29e5,_0x4dd97e,_0x4da301){return _0x5a29e5(_0x4dd97e,_0x4da301);},'IDgtC':function(_0x544f73,_0x794d04){return _0x544f73(_0x794d04);},'GBSfU':_0x23ea4b(0xc7)},_0x286b88=process[_0x23ea4b(0xe3)][_0x23ea4b(0xd6)](0x2);return _0x55fa01[_0x23ea4b(0xa7)](captureError,_0x55fa01[_0x23ea4b(0xa9)](require,_0x55fa01[_0x23ea4b(0xde)]),_0x3c3cbb);})[a41_0x142bd5(0xe4)]('integrations',Constants[a41_0x142bd5(0x10b)]['INFO'],function(_0x376dbc){const _0x4d52a9=a41_0x142bd5,_0x3edff5={'ADgTV':function(_0xc0138c,_0x11eab4){return _0xc0138c(_0x11eab4);}};return _0x3edff5[_0x4d52a9(0xee)](runIntegrations,_0x376dbc);})[a41_0x142bd5(0xe4)](a41_0x142bd5(0xec),Constants[a41_0x142bd5(0x10d)][a41_0x142bd5(0xba)],function(_0x3fbaf9){const _0x4ee7db=a41_0x142bd5,_0x43cf08={'OemPT':function(_0x266ff3,_0x25a2a6,_0x5c123a,_0x418eaf){return _0x266ff3(_0x25a2a6,_0x5c123a,_0x418eaf);},'iJxKK':function(_0x4104f8,_0x120be7){return _0x4104f8(_0x120be7);},'pFAZF':_0x4ee7db(0xc6)},_0x1d1ea8=process[_0x4ee7db(0xe3)][_0x4ee7db(0xd6)](0x2);return _0x43cf08['OemPT'](captureError,_0x43cf08['iJxKK'](require,_0x43cf08[_0x4ee7db(0xf7)]),_0x3fbaf9[_0x4ee7db(0xe3)],_0x1d1ea8);})[a41_0x142bd5(0xca)](0x1,a41_0x142bd5(0xc0))[a41_0x142bd5(0xb1)](null)[a41_0x142bd5(0xe3)];!helper[a41_0x142bd5(0xda)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a41_0x142bd5(0x10a)&&console[a41_0x142bd5(0xc4)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');function a41_0x4c34(){const _0x1bddfd=['iCAWN','VERSION','fireFunnelTestEvent','existsSync','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','perf_hooks','hThQb','--no-package','error','./codeceptjs/command','./playwright/command','../../ats/src/index','FYqmn','VANILLA','demandCommand','./integrations/command','634644blSbgs','describe','./jest/command','QIqDW','help','jIYva','LTXfB','JEST','../helpers/logger','ALsXB','slice','./mocha/command','setTestObservabilityDisable','dot-notation','isUndefined','parserConfiguration','CUCUMBER','xsldE','GBSfU','util','--no-opts','DYPQJ','usage','argv','command','TuFfQ','join','includes','FEtAb','mocha/lib/cli/run.js','gHmxH','config','playwright','setBrowserStackAutomationDisable','ADgTV','format','path','jEHhi','2137050kypVzr','globalException','exitCode','5252697mLiogy','.local-not-set.json','pFAZF','cucumber-js','.browserstack','aCJqV','--package','handler','--opts','message','framework','rJoLi','otwCt','HST','./utils/constants','codeceptjs','PxGZZ','node','RuiOW','version','Parsing\x20command\x20line\x20arguements','ats','INTEGRATIONS','206152zCLTjF','PLAYWRIGHT','Ipcev','../helpers/helper','34cugkwz','--config','push','2397448eqTYYt','qkhJg','MOCHA','IDgtC','winstonLogger','mocha/lib/cli/commands.js','TviKW','3067250gRKSOn','./cucumber-js/command','CODECEPTJS','unlinkSync','wrap','mocha','debug','jest','mocha/lib/cli/cli.js','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','UqRiV','NIGHTWATCH','105xNoTGN','INFO','1073FcNZkB'];a41_0x4c34=function(){return _0x1bddfd;};return a41_0x4c34();}
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a42_0x56988b=a42_0x39cf;(function(_0x4a6b2d,_0xdf2321){const _0x2a1d55=a42_0x39cf,_0x1a6fd6=_0x4a6b2d();while(!![]){try{const _0x4690d6=parseInt(_0x2a1d55(0x16b))/0x1+parseInt(_0x2a1d55(0x16f))/0x2*(parseInt(_0x2a1d55(0x154))/0x3)+parseInt(_0x2a1d55(0x15e))/0x4*(parseInt(_0x2a1d55(0x144))/0x5)+-parseInt(_0x2a1d55(0x14a))/0x6+-parseInt(_0x2a1d55(0x159))/0x7*(parseInt(_0x2a1d55(0x156))/0x8)+-parseInt(_0x2a1d55(0x153))/0x9*(parseInt(_0x2a1d55(0x161))/0xa)+parseInt(_0x2a1d55(0x150))/0xb;if(_0x4690d6===_0xdf2321)break;else _0x1a6fd6['push'](_0x1a6fd6['shift']());}catch(_0x5da5be){_0x1a6fd6['push'](_0x1a6fd6['shift']());}}}(a42_0x482c,0xa231c));const fs=require('fs'),helper=require(a42_0x56988b(0x132)),yaml=require('js-yaml'),yargs=require('yargs'),logger=require('../helpers/logger')[a42_0x56988b(0x15f)],configFileTemplate=__dirname+a42_0x56988b(0x14c),configFileTemplatePW=__dirname+a42_0x56988b(0x125),configFile=process['cwd']()+a42_0x56988b(0x145),packageFile=process[a42_0x56988b(0x143)]()+a42_0x56988b(0x140),frameworks=[a42_0x56988b(0x157),a42_0x56988b(0x13b),'cucumber-js',a42_0x56988b(0x169),a42_0x56988b(0x15d),a42_0x56988b(0x12a),a42_0x56988b(0x139)];let config;logger[a42_0x56988b(0x15c)](a42_0x56988b(0x14d)),createConfigurationFile(yargs[a42_0x56988b(0x14f)][a42_0x56988b(0x152)],yargs[a42_0x56988b(0x14f)][a42_0x56988b(0x13d)],yargs[a42_0x56988b(0x14f)]['playwright']);try{sdkSetup();}catch(a42_0x3cfb73){logger['debug'](a42_0x56988b(0x16e)+a42_0x3cfb73);}addScriptInPackageJson();function createConfigurationFile(_0x34121a,_0x16ac67,_0x200d61=![]){const _0x3b9141=a42_0x56988b,_0x422436={};_0x422436['DKpkM']=_0x3b9141(0x138),_0x422436[_0x3b9141(0x163)]='YOUR_USERNAME',_0x422436['ZmNuM']=_0x3b9141(0x15a);const _0xa8e80d=_0x422436;try{let _0x238adb=fs['readFileSync'](_0x200d61?configFileTemplatePW:configFileTemplate,_0xa8e80d[_0x3b9141(0x147)]);_0x34121a&&(_0x238adb=_0x238adb[_0x3b9141(0x136)](_0xa8e80d['rTSMf'],_0x34121a)),_0x16ac67&&(_0x238adb=_0x238adb['replace'](_0xa8e80d[_0x3b9141(0x16a)],_0x16ac67)),config=yaml['load'](_0x238adb),fs[_0x3b9141(0x15b)](configFile,_0x238adb,_0x4d42be=>{const _0x531624=_0x3b9141;_0x4d42be&&logger[_0x531624(0x128)](_0x4d42be);});}catch(_0x3fd273){logger[_0x3b9141(0x128)](_0x3fd273);}}function addPostInstallScript(_0x179fe1,_0x471b57){const _0x31e361=a42_0x56988b,_0x5a9061={};_0x5a9061[_0x31e361(0x129)]=_0x31e361(0x149),_0x5a9061[_0x31e361(0x16d)]=_0x31e361(0x151),_0x5a9061[_0x31e361(0x130)]=_0x31e361(0x160);const _0x2ac631=_0x5a9061;let _0x4ec98b=_0x179fe1[_0x2ac631[_0x31e361(0x129)]];if(_0x4ec98b&&_0x4ec98b[_0x31e361(0x127)](_0x2ac631[_0x31e361(0x16d)]))return;!_0x4ec98b?_0x4ec98b=_0x2ac631['Kpxpm']:_0x4ec98b+=_0x2ac631[_0x31e361(0x130)],_0x471b57['push']([_0x2ac631['FRyKy'],_0x4ec98b]);}function addScriptInPackageJson(){const _0x40d87b=a42_0x56988b,_0x5c24ac={'gUPwx':_0x40d87b(0x138),'oDtdy':function(_0x300342,_0x26cf98){return _0x300342<_0x26cf98;},'ufven':function(_0x1e559f,_0xc087e,_0x46f417){return _0x1e559f(_0xc087e,_0x46f417);},'kFhyU':function(_0x20cf7c,_0x97fbf8){return _0x20cf7c<_0x97fbf8;},'laGmd':function(_0x54255c,_0x1c2d2d){return _0x54255c<_0x1c2d2d;},'fuPfm':function(_0x31fad6,_0x2a5ae7){return _0x31fad6!==_0x2a5ae7;},'nJPWy':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x2e9e0c=JSON[_0x40d87b(0x142)](fs[_0x40d87b(0x12d)](packageFile,_0x5c24ac[_0x40d87b(0x167)])),_0x496c3a=[];for(let _0x1c9b5e=0x0;_0x5c24ac[_0x40d87b(0x135)](_0x1c9b5e,frameworks['length']);_0x1c9b5e+=0x1){const _0x233f4e=_0x5c24ac[_0x40d87b(0x126)](findScriptsWithFramework,_0x2e9e0c[_0x40d87b(0x162)],frameworks[_0x1c9b5e]);for(let _0xc015c0=0x0;_0x5c24ac[_0x40d87b(0x13c)](_0xc015c0,_0x233f4e['length']);_0xc015c0+=0x1){_0x496c3a[_0x40d87b(0x170)](_0x5c24ac[_0x40d87b(0x126)](getUpdatedCommand,_0x2e9e0c[_0x40d87b(0x162)],_0x233f4e[_0xc015c0]));}_0x5c24ac[_0x40d87b(0x126)](addPostInstallScript,_0x2e9e0c[_0x40d87b(0x162)],_0x496c3a);}const _0x96a0cd={..._0x2e9e0c[_0x40d87b(0x162)]},_0x57d64e=_0x96a0cd;for(let _0x4c450d=0x0;_0x5c24ac['laGmd'](_0x4c450d,_0x496c3a['length']);_0x4c450d+=0x1){_0x57d64e[_0x496c3a[_0x4c450d][0x0]]=_0x496c3a[_0x4c450d][0x1];}_0x5c24ac[_0x40d87b(0x12e)](JSON[_0x40d87b(0x12b)](_0x2e9e0c['scripts']),JSON[_0x40d87b(0x12b)](_0x57d64e))&&(logger[_0x40d87b(0x15c)](_0x5c24ac[_0x40d87b(0x148)]),_0x2e9e0c['scripts']=_0x57d64e,fs[_0x40d87b(0x15b)](packageFile,JSON[_0x40d87b(0x12b)](_0x2e9e0c,null,0x2),_0x112e44=>{const _0x3eab84=_0x40d87b;_0x112e44&&logger[_0x3eab84(0x128)](_0x112e44);}));}function a42_0x39cf(_0x39a75b,_0x188ffc){const _0x482cdd=a42_0x482c();return a42_0x39cf=function(_0x39cf4b,_0x4b2c50){_0x39cf4b=_0x39cf4b-0x125;let _0x1c9e9d=_0x482cdd[_0x39cf4b];return _0x1c9e9d;},a42_0x39cf(_0x39a75b,_0x188ffc);}function a42_0x482c(){const _0x307d86=['username','99mHecie','3htwzFq','fireFunnelTestEvent','56dvMeFF','mocha','indexOf','606452dVwXNI','YOUR_ACCESS_KEY','writeFileSync','info','nightwatch','93320LBznqW','winstonLogger','\x20&&\x20npm\x20update\x20browserstack-node-sdk','916660yGEgLp','scripts','rTSMf','qOVJE','browserstack-node-sdk','Setup\x20completed','gUPwx','XyBXQ','node','ZmNuM','1209386eRmFmf','wRqZb','Kpxpm','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','1154534aQZpBU','push','/../../browserstack.pw.yml.sample','ufven','includes','error','FRyKy','codeceptjs','stringify','node-setup','readFileSync','fuPfm','uxjlM','CghQk','HfGyf','../helpers/helper','source','-browserstack','oDtdy','replace','mBHls','utf8','playwright','wWQlO','jest','kFhyU','key','split','entries','/package.json','browserstack-node-sdk\x20','parse','cwd','30HNXHFC','/browserstack.yml','debug','DKpkM','nJPWy','postinstall','1127502eHMfjS','splice','/../../browserstack.yml.sample','Creating\x20configuration\x20file...','length','argv','5944510hkQQsp','npm\x20update\x20browserstack-node-sdk'];a42_0x482c=function(){return _0x307d86;};return a42_0x482c();};function findScriptsWithFramework(_0x526653,_0x157842){const _0x11e3ef=a42_0x56988b,_0x2c3e0d={};_0x2c3e0d[_0x11e3ef(0x13a)]=function(_0x2a777e,_0x5f16f1){return _0x2a777e<_0x5f16f1;},_0x2c3e0d[_0x11e3ef(0x164)]=_0x11e3ef(0x165);const _0x34ff87=_0x2c3e0d,_0x41e18c=[],_0x19dba0=Object[_0x11e3ef(0x13f)](_0x526653);for(let _0x2b2765=0x0;_0x34ff87[_0x11e3ef(0x13a)](_0x2b2765,_0x19dba0[_0x11e3ef(0x14e)]);_0x2b2765+=0x1){_0x19dba0[_0x2b2765][0x1][_0x11e3ef(0x127)](_0x157842)&&!_0x19dba0[_0x2b2765][0x1][_0x11e3ef(0x127)](_0x34ff87[_0x11e3ef(0x164)])&&_0x41e18c[_0x11e3ef(0x170)](_0x19dba0[_0x2b2765][0x0]);}return _0x41e18c;}function getUpdatedCommand(_0x340887,_0x45737c){const _0x246a00=a42_0x56988b,_0xd91bc1={};_0xd91bc1[_0x246a00(0x168)]=function(_0x3ec227,_0xcd2655){return _0x3ec227!==_0xcd2655;},_0xd91bc1['wRqZb']='browserstack-node-sdk',_0xd91bc1[_0x246a00(0x137)]=function(_0x18341f,_0x451267){return _0x18341f===_0x451267;};const _0x151253=_0xd91bc1,_0x21c443=_0x45737c+_0x246a00(0x134),_0x44701f=_0x340887[_0x45737c],_0x3aeccd=_0x44701f[_0x246a00(0x13e)]('\x20');for(const _0x1a9381 of frameworks){if(_0x151253[_0x246a00(0x168)](_0x3aeccd[_0x246a00(0x158)](_0x1a9381),-0x1)){_0x3aeccd[_0x246a00(0x14b)](_0x3aeccd['indexOf'](_0x1a9381),0x0,_0x151253[_0x246a00(0x16c)]);break;}}let _0x25c4e4=_0x3aeccd['join']('\x20');return _0x151253[_0x246a00(0x137)](_0x25c4e4,_0x44701f)&&(_0x25c4e4=_0x246a00(0x141)+_0x44701f),[_0x21c443,_0x25c4e4];}function sdkSetup(){const _0x157b6c=a42_0x56988b,_0x165411={};_0x165411[_0x157b6c(0x131)]=_0x157b6c(0x12c),_0x165411[_0x157b6c(0x12f)]='SDKSetup';const _0x5a3465=_0x165411;if(helper['isUndefined'](config))return;config[_0x157b6c(0x133)]=_0x5a3465[_0x157b6c(0x131)];try{helper[_0x157b6c(0x155)](_0x5a3465[_0x157b6c(0x12f)],{},config,'');}catch(_0x173c9c){logger[_0x157b6c(0x146)](_0x157b6c(0x16e)+_0x173c9c);}}logger[a42_0x56988b(0x15c)](a42_0x56988b(0x166));
|
|
@@ -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
|
+
const a43_0x2434b5=a43_0x43f3;function a43_0x43f3(_0x24ab42,_0x5b390f){const _0x4e3007=a43_0x4e30();return a43_0x43f3=function(_0x43f3a4,_0x471fd9){_0x43f3a4=_0x43f3a4-0x9c;let _0x21980a=_0x4e3007[_0x43f3a4];return _0x21980a;},a43_0x43f3(_0x24ab42,_0x5b390f);}(function(_0x1af950,_0x591f80){const _0x1349d3=a43_0x43f3,_0x94b5d3=_0x1af950();while(!![]){try{const _0x34167c=-parseInt(_0x1349d3(0xc0))/0x1*(-parseInt(_0x1349d3(0xa2))/0x2)+-parseInt(_0x1349d3(0xd2))/0x3+-parseInt(_0x1349d3(0xc7))/0x4+parseInt(_0x1349d3(0xea))/0x5+-parseInt(_0x1349d3(0xf8))/0x6*(parseInt(_0x1349d3(0xa8))/0x7)+-parseInt(_0x1349d3(0xad))/0x8+parseInt(_0x1349d3(0x105))/0x9*(parseInt(_0x1349d3(0xed))/0xa);if(_0x34167c===_0x591f80)break;else _0x94b5d3['push'](_0x94b5d3['shift']());}catch(_0x240cfe){_0x94b5d3['push'](_0x94b5d3['shift']());}}}(a43_0x4e30,0x9c753));const Worker=require(a43_0x2434b5(0x10e))[a43_0x2434b5(0xe0)],Emittery=require(a43_0x2434b5(0xe7)),pLimit=require(a43_0x2434b5(0xec)),util=require(a43_0x2434b5(0xcb)),logger=require(a43_0x2434b5(0xc1))[a43_0x2434b5(0xd0)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a43_0x2434b5(0xa6)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a43_0x2434b5(0xe5)),checkAccessibility=_0x5ec871=>{const _0x45e1b8=a43_0x2434b5,_0x5d6ae7={};_0x5d6ae7[_0x45e1b8(0xc8)]=function(_0x1d7cd7,_0x57559a){return _0x1d7cd7===_0x57559a;};const _0x23ed6a=_0x5d6ae7;let _0x40181c=![];try{_0x5ec871['platforms'][_0x45e1b8(0xfa)](_0xf8ed44=>{const _0x2e0c77=_0x45e1b8;if(_0x23ed6a[_0x2e0c77(0xc8)](_0xf8ed44[_0x2e0c77(0xae)],!![]))return _0x40181c=!![],!![];});}catch(_0x470467){logger[_0x45e1b8(0xf7)](_0x45e1b8(0xda)+_0x470467);}return _0x40181c;};exports[a43_0x2434b5(0xa5)]=(_0x1fc329,_0x4da067,_0x5eae35)=>new Promise(async _0x108fd5=>{const _0x52f53b=a43_0x2434b5,_0x548446={'DmJfx':'failureCount','UubZP':function(_0x5c4cc0,_0x5b7d09){return _0x5c4cc0+_0x5b7d09;},'vPBef':_0x52f53b(0xc4),'fmvcl':'Workers\x20failed\x20to\x20exit\x20gracefully','TcdWF':function(_0x1cc3bb){return _0x1cc3bb();},'Zdnrb':function(_0x5d3a31,_0x5c8ecc){return _0x5d3a31(_0x5c8ecc);},'XUdPl':function(_0x3b79ad){return _0x3b79ad();},'XSnMh':function(_0x1b5abe,_0x390e7a){return _0x1b5abe(_0x390e7a);},'BgUDf':_0x52f53b(0xbe),'YFjYM':'mocha','GIUPi':function(_0xec4e88,_0x3e8d30){return _0xec4e88===_0x3e8d30;},'sNpnH':_0x52f53b(0xba),'pohiT':function(_0xca148d,_0x51b45b,_0x3a7c47){return _0xca148d(_0x51b45b,_0x3a7c47);},'VUDJZ':_0x52f53b(0xd1),'WVCDN':_0x52f53b(0xe1),'OtQWq':_0x52f53b(0xdb),'PJISO':_0x52f53b(0xb2),'BSJUK':function(_0x3167dc,_0x27a478){return _0x3167dc*_0x27a478;},'TuQvZ':_0x52f53b(0xe3),'nGIUz':'test-file-failure','eIPYw':function(_0x440f4c,_0x4967e5){return _0x440f4c(_0x4967e5);},'YJDIc':function(_0x4d756e,_0x5415f8){return _0x4d756e*_0x5415f8;}},_0x509bb6={},_0x547a87={..._0x5eae35};_0x547a87[_0x52f53b(0x104)]='',await SessionHandler[_0x52f53b(0xcd)](_0x547a87,{'frameworkName':_0x548446['YFjYM'],'frameworkVersion':_0x548446[_0x52f53b(0xe6)](getFrameworkVersion,_0x548446[_0x52f53b(0xe9)])});let _0xeca8f6=_0x548446['GIUPi'](process[_0x52f53b(0x9c)][_0x52f53b(0xf9)],_0x548446[_0x52f53b(0xef)]);process[_0x52f53b(0x9c)][_0x52f53b(0xaa)]=_0x548446[_0x52f53b(0x10a)](checkAccessibility,_0x5eae35),_0xeca8f6=_0xeca8f6||_0x548446[_0x52f53b(0xa4)](process[_0x52f53b(0x9c)][_0x52f53b(0xaa)],_0x548446[_0x52f53b(0xef)]);if(_0xeca8f6){const [_0x5a8d57,_0x1c0eee]=await _0x548446['pohiT'](createAccessibilityTestRun,_0x5eae35,_0x548446[_0x52f53b(0xe9)]);logger['debug'](_0x52f53b(0xe8)+_0x1c0eee),process[_0x52f53b(0x9c)][_0x52f53b(0xb3)]=_0x5a8d57,process[_0x52f53b(0x9c)][_0x52f53b(0x100)]=_0x1c0eee;}const _0x5be559=new Worker(require[_0x52f53b(0xcc)](_0x548446['VUDJZ']),{'exposedMethods':[_0x548446[_0x52f53b(0x10d)]],'forkOptions':{'serialization':_0x548446['OtQWq'],'stdio':_0x548446['PJISO']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x548446[_0x52f53b(0xbd)](_0x4da067,0x1),'enableWorkerThreads':!![]}),_0x2487d1=new Emittery();_0x2487d1['on'](_0x548446[_0x52f53b(0xf4)],_0x45cbbf=>{const _0x315906=_0x52f53b;_0x509bb6[_0x45cbbf[0x0]]?(_0x509bb6[_0x45cbbf[0x0]][_0x548446[_0x315906(0xa9)]]=_0x548446[_0x315906(0xaf)](_0x509bb6[_0x45cbbf[0x0]][_0x548446[_0x315906(0xa9)]],_0x45cbbf[0x1][_0x548446[_0x315906(0xa9)]]),_0x509bb6[_0x45cbbf[0x0]][_0x548446[_0x315906(0xf6)]]=[..._0x509bb6[_0x45cbbf[0x0]][_0x548446[_0x315906(0xf6)]],..._0x45cbbf[0x1][_0x548446[_0x315906(0xf6)]]]):_0x509bb6[_0x45cbbf[0x0]]={'failureCount':_0x45cbbf[0x1][_0x548446[_0x315906(0xa9)]],'results':[..._0x45cbbf[0x1][_0x548446['vPBef']]]};}),_0x2487d1['on'](_0x548446[_0x52f53b(0xa7)],_0x4928ee=>console['log'](_0x4928ee[0x1]));_0x5be559[_0x52f53b(0x9d)]()&&_0x5be559[_0x52f53b(0x9d)]()['pipe'](process['stdout']);_0x5be559[_0x52f53b(0xe4)]()&&_0x5be559[_0x52f53b(0xe4)]()[_0x52f53b(0xb2)](process[_0x52f53b(0xac)]);const _0x43e2f4=async()=>{const _0x2d0dde=_0x52f53b,{forceExited:_0x137536}=await _0x5be559[_0x2d0dde(0xbf)]();_0x137536&&console['error'](_0x548446[_0x2d0dde(0xa3)]);_0x548446[_0x2d0dde(0xc6)](isAccessibilityAutomationSession)&&await _0x548446[_0x2d0dde(0xe6)](stopAccessibilityTestRun,_0x5eae35)[_0x2d0dde(0xfe)](_0x42c080=>{const _0x21a91e=_0x2d0dde;logger[_0x21a91e(0xb0)]('Exception\x20in\x20stop\x20accessibility\x20test\x20run:\x20'+util[_0x21a91e(0xb7)](_0x42c080));});if(_0x548446['XUdPl'](isTestObservabilitySession))try{await SessionHandler[_0x2d0dde(0x106)]();}catch(_0x4ebcfd){_0x548446[_0x2d0dde(0x10a)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Observability\x20:\x20'+_0x4ebcfd);}_0x548446[_0x2d0dde(0x10a)](_0x108fd5,_0x509bb6);},_0x5b5148=_0x548446[_0x52f53b(0xd4)](pLimit,_0x548446[_0x52f53b(0xd6)](_0x4da067,0x1)),_0x5f0f9f=_0x1c7d78=>_0x5b5148(async()=>{const _0x6677f1=_0x52f53b;return await _0x2487d1[_0x6677f1(0xfd)](_0x548446[_0x6677f1(0x10b)],_0x1c7d78),_0x5be559['worker'](_0x1c7d78,_0x5eae35);});Promise[_0x52f53b(0xa0)](_0x1fc329[_0x52f53b(0x9e)](_0x8d2dcc=>_0x5f0f9f(_0x8d2dcc)[_0x52f53b(0xde)](_0x2ce4a5=>_0x2487d1[_0x52f53b(0xfd)]('test-file-success',[_0x8d2dcc[_0x52f53b(0x107)][_0x52f53b(0xfc)],_0x2ce4a5]),_0x53bad8=>_0x2487d1[_0x52f53b(0xfd)](_0x52f53b(0xdf),[_0x8d2dcc,_0x53bad8]))))[_0x52f53b(0xde)](_0x43e2f4,_0x43e2f4);}),exports['parallelCucumberRun']=(_0x368c68,_0x3dd080,_0x4918b9,_0x92fc96,_0xb1987c)=>{const _0x426349=a43_0x2434b5,_0x47cc6d={'WXnAl':'platform-run-start','AbqWt':_0x426349(0xf3),'lkiqi':function(_0x3b46b5,_0x569e1c){return _0x3b46b5(_0x569e1c);},'BEtPw':_0x426349(0xd1),'SZPzy':'cucumberWorker','cIHmM':_0x426349(0xdb),'TEwRc':_0x426349(0xb2),'hUIPc':_0x426349(0xf1),'wsjjf':_0x426349(0xbc),'OFqjX':function(_0x5be2ad,_0x2bfff8){return _0x5be2ad(_0x2bfff8);}};return new Promise(_0x1fa8b2=>{const _0x292e33=_0x426349,_0x3f2804={'tfXvC':_0x47cc6d[_0x292e33(0xd3)],'JlBLR':function(_0x3d866a,_0x251d8f){return _0x47cc6d['lkiqi'](_0x3d866a,_0x251d8f);}},_0x221c38=[],_0x11c3b9=new Worker(require['resolve'](_0x47cc6d[_0x292e33(0x109)]),{'exposedMethods':[_0x47cc6d[_0x292e33(0xdd)]],'forkOptions':{'serialization':_0x47cc6d['cIHmM'],'stdio':_0x47cc6d['TEwRc']},'numWorkers':_0x368c68[_0x292e33(0xc2)],'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x40e009=new Emittery();_0x40e009['on'](_0x47cc6d[_0x292e33(0x9f)],_0x629444=>{const _0x4659c8=_0x292e33;_0x221c38[_0x4659c8(0xfb)]([_0x629444[0x0],_0x629444[0x1]]);}),_0x40e009['on'](_0x47cc6d[_0x292e33(0xd7)],_0xa163f0=>console[_0x292e33(0xb5)](_0xa163f0[0x1]));_0x11c3b9[_0x292e33(0x9d)]()&&_0x11c3b9[_0x292e33(0x9d)]()['pipe'](process[_0x292e33(0xee)]);_0x11c3b9[_0x292e33(0xe4)]()&&_0x11c3b9[_0x292e33(0xe4)]()[_0x292e33(0xb2)](process['stderr']);const _0x502de8=async()=>{const _0x27c2ab=_0x292e33,{forceExited:_0x40ffe8}=await _0x11c3b9[_0x27c2ab(0xbf)]();_0x40ffe8&&console[_0x27c2ab(0xb0)](_0x3f2804[_0x27c2ab(0xd9)]),_0x3f2804[_0x27c2ab(0xb9)](_0x1fa8b2,_0x221c38);},_0x2b969c=_0x47cc6d[_0x292e33(0xe2)](pLimit,_0x368c68['length']),_0x44284c=(_0x217062,_0x376d15)=>_0x2b969c(async()=>{const _0x207230=_0x292e33;return await _0x40e009[_0x207230(0xfd)](_0x47cc6d[_0x207230(0xcf)],_0x217062),_0x3dd080[_0x207230(0xf5)]=_0x4918b9[_0x207230(0x103)][_0x376d15],_0x11c3b9[_0x207230(0xff)](_0x217062,_0x3dd080,_0x4918b9,_0x92fc96,_0xb1987c);});Promise[_0x292e33(0xa0)](_0x368c68[_0x292e33(0x9e)]((_0x88b922,_0x16e39f)=>_0x44284c(_0x88b922,_0x16e39f)[_0x292e33(0xde)](_0x4f3052=>_0x40e009[_0x292e33(0xfd)](_0x292e33(0xf1),[_0x88b922,_0x4f3052]),_0x4e90b8=>_0x40e009[_0x292e33(0xfd)](_0x292e33(0xbc),[_0x88b922,_0x4e90b8]))))[_0x292e33(0xde)](_0x502de8,_0x502de8);});},exports[a43_0x2434b5(0x102)]=(_0x54e4c9,_0x459db7)=>new Promise(_0x254b27=>{const _0x58f8ca=a43_0x2434b5,_0x70483f={'rwzZm':function(_0x3ecefe,_0x5a9f03){return _0x3ecefe===_0x5a9f03;},'RyCXu':function(_0x34a585,_0x28c049){return _0x34a585!==_0x28c049;},'wcRnb':_0x58f8ca(0xa1),'pyhYF':_0x58f8ca(0xf3),'iURVa':function(_0x5eed9b,_0x2222e5){return _0x5eed9b(_0x2222e5);},'IyuEK':'./testWorker.js','ognqd':_0x58f8ca(0xd8),'Pzmdt':_0x58f8ca(0xdb),'crzfu':_0x58f8ca(0xb2),'ielit':_0x58f8ca(0xe3),'nyZtC':_0x58f8ca(0xdf),'JrxQY':function(_0xa279f,_0x2992ba){return _0xa279f(_0x2992ba);}},_0x35373f={},_0x24510a=new Worker(require['resolve'](_0x70483f[_0x58f8ca(0xab)]),{'exposedMethods':[_0x70483f['ognqd']],'forkOptions':{'serialization':_0x70483f[_0x58f8ca(0xdc)],'stdio':_0x70483f[_0x58f8ca(0xc5)]},'numWorkers':_0x459db7,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x121bf6=new Emittery();_0x121bf6['on'](_0x70483f[_0x58f8ca(0xb8)],_0x218ad3=>{const _0x1ea378=_0x58f8ca;_0x218ad3[0x0]&&logger[_0x1ea378(0xca)](_0x1ea378(0xb1)+_0x218ad3[0x1]+_0x1ea378(0xbb),_0x218ad3[0x0]);}),_0x121bf6['on'](_0x70483f[_0x58f8ca(0xf0)],_0x1d45ba=>{const _0x337aaa=_0x58f8ca;process[_0x337aaa(0x10f)]=0x1;});_0x24510a['getStdout']()&&_0x24510a[_0x58f8ca(0x9d)]()['pipe'](process['stdout']);_0x24510a[_0x58f8ca(0xe4)]()&&_0x24510a['getStderr']()[_0x58f8ca(0xb2)](process[_0x58f8ca(0xac)]);const _0x20a7eb=async()=>{const _0x2d10a3=_0x58f8ca;let _0x31f95e=0x0;const _0x9abd21=_0x24510a[_0x2d10a3(0x108)]['getWorkers'](),_0x874d4f=()=>{},_0x5432c4=_0x9abd21[_0x2d10a3(0x9e)](async _0x311c89=>{const _0x863e7=_0x2d10a3,_0x3abe0d={'xESUp':function(_0x61a7ed,_0x2bdee3){return _0x70483f['rwzZm'](_0x61a7ed,_0x2bdee3);},'kjUld':function(_0x18b927,_0x197156){const _0x1aadaa=a43_0x43f3;return _0x70483f[_0x1aadaa(0xce)](_0x18b927,_0x197156);}};_0x311c89[_0x863e7(0x10c)]([0x2,![]],_0x874d4f,_0x874d4f,_0x874d4f),_0x311c89[_0x863e7(0xf2)]['on'](_0x70483f[_0x863e7(0xb4)],_0xeb6555=>{const _0x37d952=_0x863e7;_0x3abe0d['xESUp'](_0x31f95e,0x0)&&_0x3abe0d[_0x37d952(0x101)](_0xeb6555,0x0)&&(_0x31f95e=_0xeb6555);}),await _0x311c89[_0x863e7(0xeb)]();});await Promise[_0x2d10a3(0xa0)](_0x5432c4),process[_0x2d10a3(0x10f)]=_0x31f95e;const {forceExited:_0x4eceae}=await _0x24510a['end']();_0x4eceae&&console[_0x2d10a3(0xb0)](_0x70483f[_0x2d10a3(0xc9)]),_0x70483f[_0x2d10a3(0xc3)](_0x254b27,_0x35373f);},_0x2d862d=_0x70483f[_0x58f8ca(0xb6)](pLimit,_0x459db7),_0x241c89=_0x308981=>_0x2d862d(async()=>{return _0x24510a['vanillaWorker'](_0x308981);});Promise[_0x58f8ca(0xa0)](_0x54e4c9[_0x58f8ca(0x9e)](_0x4a7360=>_0x241c89(_0x4a7360)[_0x58f8ca(0xde)](_0xaa4d30=>_0x121bf6[_0x58f8ca(0xfd)](_0x58f8ca(0xe3),[_0x4a7360['configuration']['platform'],_0x4a7360[_0x58f8ca(0x107)][_0x58f8ca(0xd5)]]),_0x4e56a3=>_0x121bf6[_0x58f8ca(0xfd)](_0x58f8ca(0xdf),[_0x4a7360,_0x4e56a3]))))['then'](_0x20a7eb,_0x20a7eb);});function a43_0x4e30(){const _0x83c18c=['UubZP','error','Running\x20','pipe','BS_A11Y_JWT','wcRnb','log','JrxQY','format','ielit','JlBLR','true','\x20for','platform-run-failure','BSJUK','test-file-start','end','31ObhRyv','../../helpers/logger','length','iURVa','results','crzfu','TcdWF','4794496OoZMRS','wiAhL','pyhYF','info','util','resolve','launch','RyCXu','WXnAl','winstonLogger','./testWorker.js','1618242SDYmGr','AbqWt','eIPYw','file','YJDIc','wsjjf','vanillaWorker','tfXvC','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','json','Pzmdt','SZPzy','then','test-file-failure','Worker','worker','OFqjX','test-file-success','getStderr','../../helpers/test-observability/utils','Zdnrb','emittery','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','YFjYM','3274015qdhNQC','waitForExit','p-limit','190cpoobp','stdout','sNpnH','nyZtC','platform-run-success','_child','Workers\x20failed\x20to\x20exit\x20gracefully','TuQvZ','platformCaps','vPBef','debug','143016ClRiSG','BROWSERSTACK_TEST_ACCESSIBILITY_YML','forEach','push','platform','emit','catch','cucumberWorker','BS_A11Y_TEST_RUN_ID','kjUld','parallelVanillaRun','platforms','root_dir_path','1110231wRtJnZ','stop','configuration','_workerPool','BEtPw','XSnMh','BgUDf','send','WVCDN','jest-worker','exitCode','env','getStdout','map','hUIPc','all','exit','49794mfUKwH','fmvcl','GIUPi','parallelTestRun','../../helpers/accessibility-automation/helper','nGIUz','329Rbfzkr','DmJfx','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','IyuEK','stderr','2170000zPZoyF','accessibility'];a43_0x4e30=function(){return _0x83c18c;};return a43_0x4e30();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a44_0x27a6(){const _0x11fa4e=['runTest','645636kTyBtL','RfNLn','85270gdZLBt','../launcher/launcher','eWOzI','runVanillaTest','1630108ttvOsW','93450bzelJY','80gzGFBA','rzjmu','692071DQYrtA','819eiKcDZ','cTJjB','mocha','3384065REDuOK','44NkNAEG','run','6simQtt','cucumber-js','40yCawIv','runCucumberTest','611422jnwOdZ','gztWW','WMlZI','formatter','KEQCp'];a44_0x27a6=function(){return _0x11fa4e;};return a44_0x27a6();}const a44_0x577e6a=a44_0x3017;function a44_0x3017(_0x1ea5c7,_0x30e757){const _0x27a6fa=a44_0x27a6();return a44_0x3017=function(_0x301700,_0x20376a){_0x301700=_0x301700-0x6d;let _0x22504d=_0x27a6fa[_0x301700];return _0x22504d;},a44_0x3017(_0x1ea5c7,_0x30e757);}(function(_0x3ee3b0,_0x1372a3){const _0x53d843=a44_0x3017,_0x5aaf9f=_0x3ee3b0();while(!![]){try{const _0x5e01ff=parseInt(_0x53d843(0x72))/0x1+parseInt(_0x53d843(0x6e))/0x2+parseInt(_0x53d843(0x6f))/0x3*(parseInt(_0x53d843(0x70))/0x4)+parseInt(_0x53d843(0x76))/0x5*(-parseInt(_0x53d843(0x79))/0x6)+parseInt(_0x53d843(0x7d))/0x7*(-parseInt(_0x53d843(0x7b))/0x8)+-parseInt(_0x53d843(0x73))/0x9*(parseInt(_0x53d843(0x85))/0xa)+-parseInt(_0x53d843(0x77))/0xb*(-parseInt(_0x53d843(0x83))/0xc);if(_0x5e01ff===_0x1372a3)break;else _0x5aaf9f['push'](_0x5aaf9f['shift']());}catch(_0x276fbf){_0x5aaf9f['push'](_0x5aaf9f['shift']());}}}(a44_0x27a6,0x6f49d),exports[a44_0x577e6a(0x82)]=async(_0x7bdc28,_0x4281ce)=>{const _0x54036e=a44_0x577e6a,_0x12ae5d={'WMlZI':function(_0x36562f,_0x3fea7e){return _0x36562f(_0x3fea7e);},'rzjmu':_0x54036e(0x86),'eWOzI':_0x54036e(0x75)},_0x2e84e4=_0x12ae5d[_0x54036e(0x7f)](require,_0x12ae5d[_0x54036e(0x71)]),_0x2f2bbe=new _0x2e84e4(_0x12ae5d[_0x54036e(0x87)],_0x7bdc28,_0x4281ce);return await _0x2f2bbe[_0x54036e(0x78)]();},exports[a44_0x577e6a(0x7c)]=async(_0xd79b3,_0x5e7854,_0x3dc97b,_0x37ee94,_0x3c8536)=>{const _0x239727=a44_0x577e6a,_0xaf9558={'MFYVK':function(_0x251015,_0x4a86c6){return _0x251015(_0x4a86c6);},'SXzmy':_0x239727(0x86),'KEQCp':_0x239727(0x7a)},_0x154780={'capability':_0xd79b3,..._0x5e7854},_0x4db885={};_0x4db885['configuration']=_0x154780,_0x4db885[_0x239727(0x80)]=_0x3c8536;const _0x1ae525=_0x4db885,_0x4ed731=_0xaf9558['MFYVK'](require,_0xaf9558['SXzmy']),_0x2eb3c6=new _0x4ed731(_0xaf9558[_0x239727(0x81)],_0x1ae525,_0x3dc97b,_0x37ee94);return await _0x2eb3c6[_0x239727(0x78)]();},exports[a44_0x577e6a(0x6d)]=async _0x34ddd3=>{const _0x3167e0=a44_0x577e6a,_0x52c256={'cTJjB':function(_0x240b1e,_0x26d70b){return _0x240b1e(_0x26d70b);},'gztWW':'../launcher/launcher','RfNLn':'vanilla'},_0x10e49d=_0x52c256[_0x3167e0(0x74)](require,_0x52c256[_0x3167e0(0x7e)]),_0x4710ff=new _0x10e49d(_0x52c256[_0x3167e0(0x84)],_0x34ddd3);return await _0x4710ff[_0x3167e0(0x78)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a45_0x4837(_0x52542d,_0x58ca52){const _0x3db720=a45_0x3db7();return a45_0x4837=function(_0x483748,_0x2c2213){_0x483748=_0x483748-0x108;let _0x48988e=_0x3db720[_0x483748];return _0x48988e;},a45_0x4837(_0x52542d,_0x58ca52);}function a45_0x3db7(){const _0x1f1dea=['10TtPbMu','DkZYR','471110BWpgwb','worker','3tUXKep','vanillaWorker','6228343YBawWY','2440nZsdhX','1515150LouGnF','701796hXuEdd','6PgrUAA','./runTest','cucumberWorker','98209jIKGrF','12951jHrSlF','JTVsi','1864476MFbmMi'];a45_0x3db7=function(){return _0x1f1dea;};return a45_0x3db7();}const a45_0x415faa=a45_0x4837;(function(_0x40f8c0,_0xfe9d6b){const _0x461f40=a45_0x4837,_0x474d44=_0x40f8c0();while(!![]){try{const _0x5157e3=parseInt(_0x461f40(0x108))/0x1*(-parseInt(_0x461f40(0x116))/0x2)+-parseInt(_0x461f40(0x110))/0x3*(parseInt(_0x461f40(0x10b))/0x4)+-parseInt(_0x461f40(0x10e))/0x5+parseInt(_0x461f40(0x115))/0x6+parseInt(_0x461f40(0x114))/0x7+-parseInt(_0x461f40(0x113))/0x8*(-parseInt(_0x461f40(0x109))/0x9)+parseInt(_0x461f40(0x10c))/0xa*(parseInt(_0x461f40(0x112))/0xb);if(_0x5157e3===_0xfe9d6b)break;else _0x474d44['push'](_0x474d44['shift']());}catch(_0xff615a){_0x474d44['push'](_0x474d44['shift']());}}}(a45_0x3db7,0x760e4));const {runTest,runCucumberTest,runVanillaTest}=require(a45_0x415faa(0x117));exports[a45_0x415faa(0x10f)]=async(_0x3549f1,_0x5568dc)=>{const _0x47824c=a45_0x415faa,_0x4b8a61={'DkZYR':function(_0x3fbb73,_0x332ac7,_0x613cca){return _0x3fbb73(_0x332ac7,_0x613cca);}};return await _0x4b8a61[_0x47824c(0x10d)](runTest,_0x3549f1,_0x5568dc);},exports[a45_0x415faa(0x118)]=async(_0xcff5f2,_0x3bf00b,_0xd2904e,_0x1c6766,_0x1cc31a)=>{const _0x456206=a45_0x415faa,_0x4f2d35={'JTVsi':function(_0x3f78f4,_0x5f4768,_0xcd018,_0x3652be,_0x947a26,_0x176b5a){return _0x3f78f4(_0x5f4768,_0xcd018,_0x3652be,_0x947a26,_0x176b5a);}};return await _0x4f2d35[_0x456206(0x10a)](runCucumberTest,_0xcff5f2,_0x3bf00b,_0xd2904e,_0x1c6766,_0x1cc31a);},exports[a45_0x415faa(0x111)]=async _0xbacf1=>{const _0x510957={'eGGtz':function(_0x21b71c,_0x4e2b91){return _0x21b71c(_0x4e2b91);}};return await _0x510957['eGGtz'](runVanillaTest,_0xbacf1);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a46_0xe259eb=a46_0x34f2;(function(_0x188811,_0x7ecf2a){var _0x2bb8d1=a46_0x34f2,_0x238db4=_0x188811();while(!![]){try{var _0x58c49b=-parseInt(_0x2bb8d1(0x214))/0x1*(parseInt(_0x2bb8d1(0x219))/0x2)+parseInt(_0x2bb8d1(0x22c))/0x3+-parseInt(_0x2bb8d1(0x1ef))/0x4+parseInt(_0x2bb8d1(0x201))/0x5*(-parseInt(_0x2bb8d1(0x23b))/0x6)+-parseInt(_0x2bb8d1(0x1eb))/0x7+parseInt(_0x2bb8d1(0x222))/0x8+parseInt(_0x2bb8d1(0x1ed))/0x9*(parseInt(_0x2bb8d1(0x21c))/0xa);if(_0x58c49b===_0x7ecf2a)break;else _0x238db4['push'](_0x238db4['shift']());}catch(_0x100593){_0x238db4['push'](_0x238db4['shift']());}}}(a46_0x5ea8,0xb9e4d));var a46_0x2ea274={};a46_0x2ea274['INFO']=a46_0xe259eb(0x1f9),a46_0x2ea274[a46_0xe259eb(0x209)]=a46_0xe259eb(0x206);var a46_0x3ac22d={};a46_0x3ac22d[a46_0xe259eb(0x249)]=a46_0xe259eb(0x202);function a46_0x34f2(_0x1657c6,_0x21b1cc){var _0x5ea881=a46_0x5ea8();return a46_0x34f2=function(_0x34f2f8,_0x3f4234){_0x34f2f8=_0x34f2f8-0x1e9;var _0x98ab1d=_0x5ea881[_0x34f2f8];return _0x98ab1d;},a46_0x34f2(_0x1657c6,_0x21b1cc);}var a46_0x2f664a={};a46_0x2f664a['INFO']=a46_0xe259eb(0x225);var a46_0x135164={};a46_0x135164[a46_0xe259eb(0x249)]=a46_0xe259eb(0x234);var a46_0x3d6e2f={};a46_0x3d6e2f[a46_0xe259eb(0x249)]=a46_0xe259eb(0x207);var a46_0x4dfe40={};a46_0x4dfe40['INFO']=a46_0xe259eb(0x20a);var a46_0x1ea78d={};a46_0x1ea78d['INFO']=a46_0xe259eb(0x23e);var a46_0x40980c={};a46_0x40980c[a46_0xe259eb(0x249)]=a46_0xe259eb(0x23d);var a46_0x16f09b={};a46_0x16f09b[a46_0xe259eb(0x249)]=a46_0xe259eb(0x20c);var a46_0x5bee33={};a46_0x5bee33[a46_0xe259eb(0x249)]=a46_0xe259eb(0x1fd);var a46_0x3d1e6f={};a46_0x3d1e6f[a46_0xe259eb(0x210)]=a46_0xe259eb(0x22f),a46_0x3d1e6f[a46_0xe259eb(0x245)]=a46_0xe259eb(0x220),a46_0x3d1e6f[a46_0xe259eb(0x1f8)]=a46_0xe259eb(0x242);var a46_0x30064={};a46_0x30064[a46_0xe259eb(0x216)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a46_0x30064[a46_0xe259eb(0x247)]=a46_0xe259eb(0x232),a46_0x30064[a46_0xe259eb(0x205)]=a46_0xe259eb(0x24d),a46_0x30064[a46_0xe259eb(0x1f7)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';var a46_0x3146a8={};a46_0x3146a8[a46_0xe259eb(0x236)]=a46_0xe259eb(0x248),a46_0x3146a8[a46_0xe259eb(0x1f3)]=a46_0xe259eb(0x1fb);var a46_0x20e773={};function a46_0x5ea8(){var _0x363346=['INFO','ROOT_CAPS','ERR_ADDRESS_UNREACHABLE','INTEGRATIONS','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','app-automate','ERR_BLOCKED_BY_CLIENT','ERR_CONNECTION_CLOSED','ERR_CONNECTION_FAILED','6198367opHshl','ERR_CONNECTION_ABORTED','33942717JVgntO','HST','5445376lJWzRm','ERR_NAME_NOT_RESOLVED','acceptSslCert','PACKAGE_TYPE','MODULE','SHAREABLE_ID_REGEX','hubUrl','exports','invalidTestInputType','JEST','shows\x20version\x20information','AUTOMATE','module','AUTOMATE_PRODUCTS','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','ERR_PROXY_CONNECTION_FAILED','APP_UPLOAD_URL','PRIVATE_DOMAIN_OR_IP_REGEX','65kBDoPn','Run\x20jest\x20tests\x20on\x20browserstack','OBSERVABILITY_UPLOAD_URL','VANILLA','mandatoryDependency','Specify\x20--help\x20for\x20available\x20options','Run\x20js\x20tests\x20on\x20browserstack','pageLoadStrategy','HELP','Run\x20nightwatch\x20tests\x20on\x20browserstack','^[a-zA-Z0-9_.-]*$','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','.apk','ERR_TUNNEL_CONNECTION_FAILED','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','PLAYWRIGHT','ieOptions','VERSION','https://upload-observability.browserstack.com','51BKbORV','PERCY_SUPPORTED_FRAMEWORKS','invalidKeys','ERR_CONNECTION_RESET','AUTOLOGCAPTURE_NOTIFICATION','53054rNAayS','ERR_SOCKET_NOT_CONNECTED','HUB_URL_REGEX','10HYNXLu','VALID_APP_EXTENSION','PLAYWRIGHT_CONFIG_OPTION_ERRORS','observability','mocha','edgeOptions','2864448lPmwID','ERR_CONNECTION_TIMED_OUT','ERR_ADDRESS_INVALID','Run\x20mocha\x20tests\x20on\x20browserstack','https://api.browserstack.com','ROOT_REGEX','APP_AUTOMATE_PRODUCTS','unhandledPromptBehavior','sdk/v1/event','https://api-cloud.browserstack.com','3028449IyABGJ','FRAMEWORKS','APP_AUTOMATE','Playwright','BSTACK_DELTA','timeouts','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','acceptInsecureCerts','Run\x20cucumber-js\x20tests\x20on\x20browserstack','CODECEPTJS','COMMONJS','OBSERVABILITY_SUPPORTED_FWS','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','browserVersion','automate','358998AVmSeD','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','Run\x20codeceptjs\x20tests\x20on\x20browserstack','Run\x20playwright\x20tests\x20on\x20Browserstack','https://hub.browserstack.com/wd/hub','CUSTOM_ID_REGEX','ERR_SOCKS_CONNECTION_FAILED','jest','ERR_CONNECTION_REFUSED','wss://cdp.browserstack.com/playwright?caps=','MOCHA','ERR_FAILED','uniqueDependency','commonjs'];a46_0x5ea8=function(){return _0x363346;};return a46_0x5ea8();}a46_0x20e773[a46_0xe259eb(0x212)]=a46_0x2ea274,a46_0x20e773[a46_0xe259eb(0x1f8)]=a46_0x3ac22d,a46_0x20e773[a46_0xe259eb(0x245)]=a46_0x2f664a,a46_0x20e773['CUCUMBER']=a46_0x135164,a46_0x20e773[a46_0xe259eb(0x204)]=a46_0x3d6e2f,a46_0x20e773['NIGHTWATCH']=a46_0x4dfe40,a46_0x20e773['PLAYWRIGHT']=a46_0x1ea78d,a46_0x20e773[a46_0xe259eb(0x235)]=a46_0x40980c,a46_0x20e773[a46_0xe259eb(0x1ee)]=a46_0x16f09b,a46_0x20e773[a46_0xe259eb(0x24c)]=a46_0x5bee33,a46_0x20e773[a46_0xe259eb(0x230)]=0xf*0x3c*0x3e8,a46_0x20e773[a46_0xe259eb(0x1f5)]=a46_0xe259eb(0x23f),a46_0x20e773[a46_0xe259eb(0x21b)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a46_0x20e773[a46_0xe259eb(0x24a)]=[a46_0xe259eb(0x233),a46_0xe259eb(0x208),'strictFileInteractability',a46_0xe259eb(0x229),a46_0xe259eb(0x231),'browserName',a46_0xe259eb(0x239),'acceptSslCerts',a46_0xe259eb(0x1f1),'chromeOptions','firefoxOptions',a46_0xe259eb(0x221),a46_0xe259eb(0x211)],a46_0x20e773[a46_0xe259eb(0x227)]=/^[\w-]+:.*$/,a46_0x20e773[a46_0xe259eb(0x200)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a46_0x20e773['BROWSERSTACK_API_URL']=a46_0xe259eb(0x226),a46_0x20e773[a46_0xe259eb(0x1ff)]=a46_0xe259eb(0x22b),a46_0x20e773['FUNNEL_INSTRUMENTATION_API_URL']=a46_0xe259eb(0x22a),a46_0x20e773[a46_0xe259eb(0x1fc)]=[a46_0xe259eb(0x23a),a46_0xe259eb(0x21f)],a46_0x20e773[a46_0xe259eb(0x228)]=[a46_0xe259eb(0x24e),a46_0xe259eb(0x21f)],a46_0x20e773[a46_0xe259eb(0x20f)]=[a46_0xe259eb(0x21f)],a46_0x20e773[a46_0xe259eb(0x203)]=a46_0xe259eb(0x213),a46_0x20e773[a46_0xe259eb(0x237)]=[a46_0xe259eb(0x220),a46_0xe259eb(0x22f)],a46_0x20e773[a46_0xe259eb(0x1fa)]=[a46_0xe259eb(0x23a)],a46_0x20e773[a46_0xe259eb(0x22e)]=[a46_0xe259eb(0x24e)],a46_0x20e773['NUDGE_LOCAL_ERRORS']=[a46_0xe259eb(0x246),'ERR_TIMED_OUT',a46_0xe259eb(0x24f),'ERR_NETWORK_CHANGED',a46_0xe259eb(0x21a),a46_0xe259eb(0x1e9),a46_0xe259eb(0x217),a46_0xe259eb(0x243),a46_0xe259eb(0x1ec),a46_0xe259eb(0x1ea),a46_0xe259eb(0x1f0),a46_0xe259eb(0x224),a46_0xe259eb(0x24b),a46_0xe259eb(0x20e),a46_0xe259eb(0x223),a46_0xe259eb(0x241),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a46_0xe259eb(0x1fe),a46_0xe259eb(0x1f0),'ERR_NAME_RESOLUTION_FAILED',a46_0xe259eb(0x23c)],a46_0x20e773[a46_0xe259eb(0x21d)]=[a46_0xe259eb(0x20d),'.aab','.ipa'],a46_0x20e773[a46_0xe259eb(0x240)]=a46_0xe259eb(0x20b),a46_0x20e773[a46_0xe259eb(0x1f4)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a46_0x20e773['CI_ARTIFACTS_PATH']='./browserstack-artifacts/',a46_0x20e773['PLAYWRIGHT_HUB_URL']=a46_0xe259eb(0x244),a46_0x20e773[a46_0xe259eb(0x22d)]=a46_0x3d1e6f,a46_0x20e773[a46_0xe259eb(0x215)]=['jest',a46_0xe259eb(0x220)],a46_0x20e773[a46_0xe259eb(0x21e)]=a46_0x30064,a46_0x20e773[a46_0xe259eb(0x218)]=a46_0xe259eb(0x238),a46_0x20e773[a46_0xe259eb(0x1f2)]=a46_0x3146a8,module[a46_0xe259eb(0x1f6)]=a46_0x20e773;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a47_0x3e53da=a47_0x41c7;function a47_0x1c15(){const _0x3f75f2=['join','./logReportingAPI','2381052nOiEjg','55CIANOX','1947642cXMOys','data','118xmnMTt','levelStr','210hsLvaC','level','log','colouredLayout','timezoneOffset','182135nywkMx','layout','4698064nXfchD','3377710deYtrW','type','55287OTgyaA','328CNnCWn','configure','3216WNvPlX','pOXfI'];a47_0x1c15=function(){return _0x3f75f2;};return a47_0x1c15();}(function(_0x2ba0a0,_0x4eea4f){const _0x517112=a47_0x41c7,_0x1fa49f=_0x2ba0a0();while(!![]){try{const _0x2d0769=parseInt(_0x517112(0x1fc))/0x1*(parseInt(_0x517112(0x1f4))/0x2)+-parseInt(_0x517112(0x1fa))/0x3+parseInt(_0x517112(0x1f8))/0x4+-parseInt(_0x517112(0x1ec))/0x5*(-parseInt(_0x517112(0x1fe))/0x6)+parseInt(_0x517112(0x1ee))/0x7+-parseInt(_0x517112(0x1f2))/0x8*(-parseInt(_0x517112(0x1f1))/0x9)+-parseInt(_0x517112(0x1ef))/0xa*(parseInt(_0x517112(0x1f9))/0xb);if(_0x2d0769===_0x4eea4f)break;else _0x1fa49f['push'](_0x1fa49f['shift']());}catch(_0x387bba){_0x1fa49f['push'](_0x1fa49f['shift']());}}}(a47_0x1c15,0x9d722));const logReportingAPI=require(a47_0x3e53da(0x1f7)),BSTestOpsLogger=new logReportingAPI({});function a47_0x41c7(_0x386ea0,_0x329740){const _0x1c1519=a47_0x1c15();return a47_0x41c7=function(_0x41c7be,_0x16198e){_0x41c7be=_0x41c7be-0x1ec;let _0x18640c=_0x1c1519[_0x41c7be];return _0x18640c;},a47_0x41c7(_0x386ea0,_0x329740);}function BSTestOpsLog4JSAppender(_0x2b8c45,_0x5626ed){return _0xbec8c2=>{const _0x4a89d2=a47_0x41c7;BSTestOpsLogger[_0x4a89d2(0x200)]({'level':_0xbec8c2[_0x4a89d2(0x1ff)]?_0xbec8c2[_0x4a89d2(0x1ff)][_0x4a89d2(0x1fd)]:null,'message':_0xbec8c2[_0x4a89d2(0x1fb)]?_0xbec8c2[_0x4a89d2(0x1fb)][_0x4a89d2(0x1f6)]('\x20'):null});};}exports[a47_0x3e53da(0x1f3)]=(_0x48c4de,_0x55878c)=>{const _0x411d95=a47_0x3e53da,_0x39b943={'pOXfI':function(_0x18fc6d,_0x1310df,_0x5d18e8){return _0x18fc6d(_0x1310df,_0x5d18e8);}};let _0x5eab81=_0x55878c[_0x411d95(0x201)];return _0x48c4de[_0x411d95(0x1ed)]&&(_0x5eab81=_0x55878c[_0x411d95(0x1ed)](_0x48c4de[_0x411d95(0x1ed)][_0x411d95(0x1f0)],_0x48c4de[_0x411d95(0x1ed)])),_0x39b943[_0x411d95(0x1f5)](BSTestOpsLog4JSAppender,_0x5eab81,_0x48c4de[_0x411d95(0x202)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a48_0x56514a=a48_0x5b7d;(function(_0x198ddb,_0x49de1c){const _0x3feee1=a48_0x5b7d,_0x348d1a=_0x198ddb();while(!![]){try{const _0x484878=-parseInt(_0x3feee1(0xa8))/0x1+-parseInt(_0x3feee1(0x96))/0x2*(parseInt(_0x3feee1(0x95))/0x3)+parseInt(_0x3feee1(0x92))/0x4+-parseInt(_0x3feee1(0x97))/0x5+-parseInt(_0x3feee1(0xa3))/0x6+parseInt(_0x3feee1(0x8c))/0x7*(parseInt(_0x3feee1(0x98))/0x8)+parseInt(_0x3feee1(0xa5))/0x9*(parseInt(_0x3feee1(0x9b))/0xa);if(_0x484878===_0x49de1c)break;else _0x348d1a['push'](_0x348d1a['shift']());}catch(_0x375239){_0x348d1a['push'](_0x348d1a['shift']());}}}(a48_0x4c05,0x9945f));const Transport=require(a48_0x56514a(0xa6)),{consoleHolder}=require(a48_0x56514a(0x91)),a48_0x30f603={};function a48_0x4c05(){const _0x5624df=['DEBUG','warn','join','trace','../../helpers/test-observability/constants','3152660eLSoyZ','pid','exports','399kecBZN','17506GwDTaQ','5141595RNiEhZ','16FJaSRl','INFO','TEST_LOG','6985450RNhRDy','WARN','emit','log','TRACE','toLowerCase','NmDZQ','toUpperCase','2988726lqfJuf','ERROR','27PkYHTH','winston-transport','logToTestOps','403564TDYEUy','2933560BMZEXB'];a48_0x4c05=function(){return _0x5624df;};return a48_0x4c05();}a48_0x30f603[a48_0x56514a(0x99)]=a48_0x56514a(0x99),a48_0x30f603['ERROR']='ERROR',a48_0x30f603[a48_0x56514a(0x8d)]='DEBUG',a48_0x30f603['TRACE']=a48_0x56514a(0x9f),a48_0x30f603['WARN']=a48_0x56514a(0x9c);function a48_0x5b7d(_0x5e860c,_0x21e417){const _0x4c0540=a48_0x4c05();return a48_0x5b7d=function(_0x5b7dd3,_0x4bf8bb){_0x5b7dd3=_0x5b7dd3-0x8c;let _0x36c885=_0x4c0540[_0x5b7dd3];return _0x36c885;},a48_0x5b7d(_0x5e860c,_0x21e417);}const LOG_LEVELS=a48_0x30f603;class logPatcher extends Transport{constructor(_0x403cbf){super(_0x403cbf);}['logToTestOps']=(_0x3cdde2=LOG_LEVELS[a48_0x56514a(0x99)],_0x3fca42=[''])=>{const _0x4a1972=a48_0x56514a,_0x214987={};_0x214987[_0x4a1972(0xa1)]=_0x4a1972(0x9a);const _0x58abb5=_0x214987;consoleHolder[_0x3cdde2[_0x4a1972(0xa0)]()](..._0x3fca42),process[_0x4a1972(0x9d)]('bs:addLog:'+process[_0x4a1972(0x93)],{'timestamp':new Date()['toISOString'](),'level':_0x3cdde2[_0x4a1972(0xa2)](),'message':'\x22'+_0x3fca42[_0x4a1972(0x8f)](',\x20')+'\x22','kind':_0x58abb5['NmDZQ'],'http_response':{}});};[a48_0x56514a(0x90)]=(..._0x51073b)=>{const _0x33ad5f=a48_0x56514a;this[_0x33ad5f(0xa7)](LOG_LEVELS[_0x33ad5f(0x9f)],_0x51073b);};['debug']=(..._0x3ed56c)=>{const _0x153c22=a48_0x56514a;this[_0x153c22(0xa7)](LOG_LEVELS[_0x153c22(0x8d)],_0x3ed56c);};['info']=(..._0x50d46d)=>{const _0x1f4baa=a48_0x56514a;this[_0x1f4baa(0xa7)](LOG_LEVELS[_0x1f4baa(0x99)],_0x50d46d);};[a48_0x56514a(0x8e)]=(..._0x3e89ef)=>{const _0x156180=a48_0x56514a;this['logToTestOps'](LOG_LEVELS[_0x156180(0x9c)],_0x3e89ef);};['error']=(..._0x6f9794)=>{const _0x3ea111=a48_0x56514a;this[_0x3ea111(0xa7)](LOG_LEVELS[_0x3ea111(0xa4)],_0x6f9794);};[a48_0x56514a(0x9e)]=(..._0x23ae42)=>{const _0x210583=a48_0x56514a;this['logToTestOps'](LOG_LEVELS[_0x210583(0x99)],_0x23ae42);};};module[a48_0x56514a(0x94)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a49_0x474e2a=a49_0x5875;function a49_0x574e(){const _0x15e84b=['322248HYjwsA','36fCOeGu','49QoOHys','896135HRiytF','jRFOn','3077055kioIuQ','DEBUG','debug','bs:addLog:','195448nMeYfm','logToTestOps','toLowerCase','../../helpers/test-observability/constants','info','object','ERROR','emit','logged','WARN','INFO','GVxaD','error','toUpperCase','trace','message','toISOString','pid','4258980hQmsQE','level','3898242Kboife','wZILZ','884006clUYmu','IaDcb','dZzWF','TRACE','exports'];a49_0x574e=function(){return _0x15e84b;};return a49_0x574e();}(function(_0x338765,_0x3fd9f6){const _0x1c3507=a49_0x5875,_0xfd685d=_0x338765();while(!![]){try{const _0x5a7926=parseInt(_0x1c3507(0x1a1))/0x1+parseInt(_0x1c3507(0x199))/0x2+parseInt(_0x1c3507(0x19f))/0x3*(parseInt(_0x1c3507(0x1a7))/0x4)+-parseInt(_0x1c3507(0x1a3))/0x5+-parseInt(_0x1c3507(0x1bb))/0x6+parseInt(_0x1c3507(0x1a0))/0x7*(parseInt(_0x1c3507(0x19e))/0x8)+-parseInt(_0x1c3507(0x1b9))/0x9;if(_0x5a7926===_0x3fd9f6)break;else _0xfd685d['push'](_0xfd685d['shift']());}catch(_0x1cc7ac){_0xfd685d['push'](_0xfd685d['shift']());}}}(a49_0x574e,0x7248f));function a49_0x5875(_0x362d88,_0x51b624){const _0x574e73=a49_0x574e();return a49_0x5875=function(_0x5875e5,_0x2ef274){_0x5875e5=_0x5875e5-0x198;let _0x3a57dd=_0x574e73[_0x5875e5];return _0x3a57dd;},a49_0x5875(_0x362d88,_0x51b624);}const Transport=require('winston-transport'),{consoleHolder}=require(a49_0x474e2a(0x1aa)),a49_0x41bbc7={};a49_0x41bbc7['INFO']='INFO',a49_0x41bbc7['ERROR']=a49_0x474e2a(0x1ad),a49_0x41bbc7[a49_0x474e2a(0x1a4)]=a49_0x474e2a(0x1a4),a49_0x41bbc7[a49_0x474e2a(0x19c)]='TRACE',a49_0x41bbc7['WARN']=a49_0x474e2a(0x1b0);const LOG_LEVELS=a49_0x41bbc7;class logReportingAPI extends Transport{constructor(_0x17d10a){super(_0x17d10a);}['log'](_0x46c09b,_0x498dbe){const _0x394570=a49_0x474e2a,_0x201e1c={'dZzWF':_0x394570(0x1af),'GVxaD':function(_0x112161,_0x26f4ef){return _0x112161(_0x26f4ef);},'wZILZ':function(_0x556105,_0x75b33a){return _0x556105===_0x75b33a;},'jRFOn':_0x394570(0x1ac),'qUwqi':function(_0x57beca){return _0x57beca();}};_0x201e1c[_0x394570(0x1b2)](setImmediate,()=>{const _0x4fa8ae=_0x394570;this[_0x4fa8ae(0x1ae)](_0x201e1c[_0x4fa8ae(0x19b)],_0x46c09b);}),_0x201e1c[_0x394570(0x198)](typeof _0x46c09b,_0x201e1c[_0x394570(0x1a2)])?this[_0x394570(0x1a8)](_0x46c09b[_0x394570(0x1ba)]||LOG_LEVELS[_0x394570(0x1b1)],_0x46c09b[_0x394570(0x1b6)],![]):this[_0x394570(0x1a8)](LOG_LEVELS[_0x394570(0x1b1)],_0x46c09b),_0x498dbe&&_0x201e1c['qUwqi'](_0x498dbe);}[a49_0x474e2a(0x1a8)]=(_0x49b1cf=LOG_LEVELS[a49_0x474e2a(0x1b1)],_0x3b384a='',_0x330dde=!![])=>{const _0x5adcbc=a49_0x474e2a,_0x212e4e={};_0x212e4e[_0x5adcbc(0x19a)]='TEST_LOG';const _0x77a8af=_0x212e4e;_0x330dde&&consoleHolder[_0x49b1cf[_0x5adcbc(0x1a9)]()](_0x3b384a),process[_0x5adcbc(0x1ae)](_0x5adcbc(0x1a6)+process[_0x5adcbc(0x1b8)],{'timestamp':new Date()[_0x5adcbc(0x1b7)](),'level':_0x49b1cf[_0x5adcbc(0x1b4)](),'message':_0x3b384a,'kind':_0x77a8af[_0x5adcbc(0x19a)],'http_response':{}});};[a49_0x474e2a(0x1b5)]=(_0x491ed3,_0x40ce46)=>{const _0x3b1584=a49_0x474e2a;this[_0x3b1584(0x1a8)](LOG_LEVELS[_0x3b1584(0x19c)],_0x491ed3);};[a49_0x474e2a(0x1a5)]=(_0xbc40ae,_0x288d41)=>{const _0x5a137e=a49_0x474e2a;this['logToTestOps'](LOG_LEVELS[_0x5a137e(0x1a4)],_0xbc40ae);};[a49_0x474e2a(0x1ab)]=(_0x396d26,_0xe4ca23)=>{const _0x3539fc=a49_0x474e2a;this[_0x3539fc(0x1a8)](LOG_LEVELS[_0x3539fc(0x1b1)],_0x396d26);};['warn']=(_0x256097,_0x36800a)=>{const _0x4765ef=a49_0x474e2a;this[_0x4765ef(0x1a8)](LOG_LEVELS[_0x4765ef(0x1b0)],_0x256097);};[a49_0x474e2a(0x1b3)]=(_0x183ad7,_0x5e0955)=>{const _0x736f5d=a49_0x474e2a;this[_0x736f5d(0x1a8)](LOG_LEVELS[_0x736f5d(0x1ad)],_0x183ad7);};};module[a49_0x474e2a(0x19d)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a50_0x50bba0=a50_0x27d9;(function(_0x455ac4,_0x593f45){const _0xac582f=a50_0x27d9,_0x5dc028=_0x455ac4();while(!![]){try{const _0x5821b1=parseInt(_0xac582f(0x1a4))/0x1+parseInt(_0xac582f(0x1a9))/0x2*(-parseInt(_0xac582f(0x1a6))/0x3)+parseInt(_0xac582f(0x197))/0x4+parseInt(_0xac582f(0x1a8))/0x5*(parseInt(_0xac582f(0x1a1))/0x6)+parseInt(_0xac582f(0x1ab))/0x7*(-parseInt(_0xac582f(0x1a2))/0x8)+parseInt(_0xac582f(0x18e))/0x9+parseInt(_0xac582f(0x1ae))/0xa*(-parseInt(_0xac582f(0x1af))/0xb);if(_0x5821b1===_0x593f45)break;else _0x5dc028['push'](_0x5dc028['shift']());}catch(_0x43affe){_0x5dc028['push'](_0x5dc028['shift']());}}}(a50_0x2abe,0xeed07));function a50_0x2abe(){const _0x202bcb=['tmUTL','forEach','getPlatformName','134676MnkarX','Config\x20yml\x20is\x20required','args','../../helpers/logger','finally','handleApp','\x20doesn\x27t\x20exist','getHubUrl','isUndefined','3205308BxpAUv','modifyBrowserStackW3CCaps','config','length','push','join','../../helpers/BrowserStackSetup','vNtLB','existsSync','initialize','93996bOtQpY','344NoXVIk','vanilla','1884150IMJyFt','finalExecution','2994VegrVp','file','130FYNgPH','382XfsCGJ','configuration','25249zXvMUK','sPtqp','../test-runner','414850beJtIH','473ILbjiA','FvJKR','cwd','then','winstonLogger','modifyBrowserStackCaps','useW3C','parallelsPerPlatform','File\x20path\x20is\x20required','../utils/constants','lAVNE','platforms','MtuVt','File\x20'];a50_0x2abe=function(){return _0x202bcb;};return a50_0x2abe();}const fs=require('fs'),path=require('path'),logger=require(a50_0x50bba0(0x191))[a50_0x50bba0(0x1b3)],{default:BrowserStackSetup}=require(a50_0x50bba0(0x19d)),helper=require('../../helpers/helper'),constants=require(a50_0x50bba0(0x186)),{parallelVanillaRun}=require(a50_0x50bba0(0x1ad));function a50_0x27d9(_0x519efc,_0xbcb3b3){const _0x2abeb3=a50_0x2abe();return a50_0x27d9=function(_0x27d99b,_0x48bb23){_0x27d99b=_0x27d99b-0x185;let _0x4cc522=_0x2abeb3[_0x27d99b];return _0x4cc522;},a50_0x27d9(_0x519efc,_0xbcb3b3);}async function run(_0x3bb28d,_0x3b3cd7){const _0x461126=a50_0x50bba0,_0x426855={'vNtLB':_0x461126(0x1a3),'sPtqp':function(_0xb4eb4f,_0x11b616){return _0xb4eb4f(_0x11b616);},'BCJGB':_0x461126(0x185),'lAVNE':function(_0x180e4e,_0x1d8593){return _0x180e4e(_0x1d8593);},'MtuVt':_0x461126(0x18f),'FvJKR':function(_0x3d2578,_0x3234d0){return _0x3d2578>_0x3234d0;},'Zfwxh':function(_0x202566,_0x47118d){return _0x202566>_0x47118d;},'tmUTL':function(_0x2200e8,_0x339485){return _0x2200e8*_0x339485;},'rvICJ':function(_0xe079d2,_0xdc4e6c,_0x392b97){return _0xe079d2(_0xdc4e6c,_0x392b97);}},_0x21fd8e=new BrowserStackSetup(_0x3bb28d,_0x426855[_0x461126(0x19e)]);await _0x21fd8e[_0x461126(0x1a0)](),await helper[_0x461126(0x193)](_0x21fd8e['config']);const _0xac3a82=[];if(helper[_0x461126(0x196)](_0x3bb28d['_'][0x1]))throw _0x426855[_0x461126(0x1ac)](Error,_0x426855['BCJGB']);const _0xe0e08c=path[_0x461126(0x19c)](process[_0x461126(0x1b1)](),_0x3bb28d['_'][0x1]);if(!fs[_0x461126(0x19f)](_0xe0e08c))throw _0x426855[_0x461126(0x187)](Error,_0x461126(0x18a)+_0x3bb28d['_'][0x1]+_0x461126(0x194));if(!_0x21fd8e['config'])throw _0x426855[_0x461126(0x187)](Error,_0x426855[_0x461126(0x189)]);const _0x440468=helper[_0x461126(0x1b5)](_0x21fd8e[_0x461126(0x199)]);_0x21fd8e[_0x461126(0x199)][_0x461126(0x188)]&&_0x426855[_0x461126(0x1b0)](_0x21fd8e[_0x461126(0x199)][_0x461126(0x188)]['length'],0x0)&&_0x21fd8e['config'][_0x461126(0x188)][_0x461126(0x18c)]((_0x1e51ef,_0x26a1e4)=>{const _0x2b68e5=_0x461126;_0x440468?_0xac3a82[_0x2b68e5(0x19b)](helper[_0x2b68e5(0x198)](_0x21fd8e[_0x2b68e5(0x199)],_0x426855['vNtLB'],_0x26a1e4)):_0xac3a82[_0x2b68e5(0x19b)](helper[_0x2b68e5(0x1b4)](_0x21fd8e[_0x2b68e5(0x199)],_0x426855[_0x2b68e5(0x19e)],_0x26a1e4));});let _0x906a15,_0x2206f1;const _0x887019=[];if(_0x426855['Zfwxh'](_0xac3a82[_0x461126(0x19a)],0x0))_0xac3a82[_0x461126(0x18c)]((_0x31642d,_0x18eb02)=>{const _0x4301d9=_0x461126;_0x906a15={'server':helper['getHubUrl'](_0x21fd8e[_0x4301d9(0x199)]),'proxySettings':_0x21fd8e[_0x4301d9(0x199)]['proxySettings'],'platform':helper[_0x4301d9(0x18d)](_0x31642d),'platformCaps':_0x21fd8e[_0x4301d9(0x199)][_0x4301d9(0x188)][_0x18eb02]};const _0x2d0868={'capability':_0x31642d,..._0x906a15};_0x2d0868['file']=_0xe0e08c,_0x2d0868[_0x4301d9(0x190)]=_0x3b3cd7;const _0x557b5a={};_0x557b5a[_0x4301d9(0x1aa)]=_0x2d0868,_0x2206f1=_0x557b5a,_0x887019['push'](_0x2206f1);});else{let _0x3c0454;_0x440468?_0x3c0454=helper[_0x461126(0x198)](_0x21fd8e[_0x461126(0x199)],_0x426855['vNtLB'],0x0):_0x3c0454=helper['modifyBrowserStackCaps'](_0x21fd8e[_0x461126(0x199)],_0x426855[_0x461126(0x19e)],0x0);_0x906a15={'server':helper[_0x461126(0x195)](_0x21fd8e[_0x461126(0x199)]),'proxySettings':_0x21fd8e['config']['proxySettings']};const _0x19b0f6={'capability':_0x3c0454,..._0x906a15};_0x19b0f6[_0x461126(0x1a7)]=_0xe0e08c,_0x19b0f6[_0x461126(0x190)]=_0x3b3cd7;const _0x179c8b={};_0x179c8b[_0x461126(0x1aa)]=_0x19b0f6,_0x2206f1=_0x179c8b,_0x887019[_0x461126(0x19b)](_0x2206f1);}const _0x61724a=_0x426855[_0x461126(0x18b)](_0x21fd8e['config'][_0x461126(0x188)][_0x461126(0x19a)]||0x1,_0x21fd8e['config'][_0x461126(0x1b6)]);helper['markSDKSetupComplete'](),_0x426855['rvICJ'](parallelVanillaRun,_0x887019,_0x61724a)[_0x461126(0x1b2)](_0x8b6927=>{})[_0x461126(0x192)](async()=>{const _0x18434b=_0x461126;await helper[_0x18434b(0x1a5)](_0x21fd8e);});}module['exports']=run;
|