browserstack-node-sdk 1.26.2 → 1.26.4
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 -0
- package/ats/src/cloudproviders/Azure.js +1 -0
- package/ats/src/cloudproviders/CloudProvider.js +1 -0
- package/ats/src/cloudproviders/utils.js +1 -0
- 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/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/templates/azureresources/akscluster.json +127 -0
- package/ats/src/templates/azureresources/azureInstancetypes.json +759 -0
- package/ats/src/templates/azureresources/federatedidentityhub.json +50 -0
- package/ats/src/templates/azureresources/federatedidentitynode.json +50 -0
- package/ats/src/templates/azureresources/managedidentity.json +49 -0
- package/ats/src/templates/azureresources/storageaccount.json +92 -0
- package/ats/src/templates/default-service-account.yaml +5 -0
- 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/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/jest/command.js +1 -1
- package/src/bin/jest/customEnvironment.js +1 -1
- package/src/bin/jest/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.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/constants.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/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/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/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/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/capsMapping.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/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/performance-tester.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
|
-
function a21_0x24ba(_0x5475bd,_0x47e0ee){const _0x571bee=a21_0x571b();return a21_0x24ba=function(_0x24bad3,_0x1bfcb6){_0x24bad3=_0x24bad3-0x145;let _0x2ed28f=_0x571bee[_0x24bad3];return _0x2ed28f;},a21_0x24ba(_0x5475bd,_0x47e0ee);}const a21_0x2926a4=a21_0x24ba;(function(_0x42875a,_0x4d7303){const _0x22428d=a21_0x24ba,_0x372b7a=_0x42875a();while(!![]){try{const _0x30574c=-parseInt(_0x22428d(0x1ae))/0x1+-parseInt(_0x22428d(0x17c))/0x2+-parseInt(_0x22428d(0x1a4))/0x3+parseInt(_0x22428d(0x157))/0x4*(-parseInt(_0x22428d(0x177))/0x5)+parseInt(_0x22428d(0x158))/0x6*(parseInt(_0x22428d(0x187))/0x7)+parseInt(_0x22428d(0x1b6))/0x8*(-parseInt(_0x22428d(0x14f))/0x9)+parseInt(_0x22428d(0x19a))/0xa;if(_0x30574c===_0x4d7303)break;else _0x372b7a['push'](_0x372b7a['shift']());}catch(_0x3931b2){_0x372b7a['push'](_0x372b7a['shift']());}}}(a21_0x571b,0xc464b));function a21_0x571b(){const _0x155aeb=['9sHtVcs','BLbhP','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','aSKZb','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','debug','join','testAnalyticsId','1052jULXIt','3168570NczDhR','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20e\x20=\x20new\x20CustomEvent(\x27A11Y_FORCE_STOP\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.dispatchEvent(e);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','__drivers','accessibilityScanStarted','passed','erksZ','message','enwqc','dElWG','QKham','titlePath','rfhOX','PrISx','ObservabilitySync:','hFJPe','UPooL','bWrWM','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case','Passed','ccEGs','ULWhc','AdUhq','executeScript','http:','error','env','aUAbr','QhqvN','WXNzV','jYeUe','jXumK','18035lauaNi','WAjDX','isAccessibilityPlatform','OOYFu','UhqYM','1058498GHtyxj','getCurrentUrl','__error_messages__','mOIUS','currentTest','stringify','KAqUA','HVJMc','initQuit','vgedQ','Automate\x20test\x20case\x20execution\x20has\x20started.','7jcQzDp','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20callback\x20=\x20arguments[arguments.length\x20-\x201];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20fn\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.addEventListener(\x27A11Y_TAP_STARTED\x27,\x20fn2);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20e\x20=\x20new\x20CustomEvent(\x27A11Y_FORCE_START\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.dispatchEvent(e);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20fn2\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27A11Y_TAP_STARTED\x27,\x20fn);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callback();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fn();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','uvxon','push','__skipSessionName','hagRM','err','quitCount_','bRDcD','shouldScanTestForAccessibility','https:','XyGTQ','jNnMj','BmjPk','../mocha/accessibility-automation/helper','info','__sessionFailed','MATWl','sessionNameSet__','39313330FBXhPB','HJZRM','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','qsNpP','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','sPbuZ','haCJt',',\x22level\x22:\x20\x22','.\x20Error\x20:','shift','2930877VIlJCx','ghqeQ','fDJjl','session_','protocol','mochaHooks','\x22}}','JhDwP','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','FlWyt','877335LfoOIK','xhyJh','lfEFU','EUFsu','../../helpers/helper','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','../../helpers/test-observability/utils','title','2582536nHjpSQ','QbsBQ','GhOxR','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','./test-observability/mochaUtils','then','BIPFZ','executeAsyncScript','file','driverCleanup','lxSBu','length','xUDZM','zYhuV','ANuOJ'];a21_0x571b=function(){return _0x155aeb;};return a21_0x571b();}const {isAccessibilityAutomationSession,shouldScanTestForAccessibility,fetchPlatformDetails}=require(a21_0x2926a4(0x195)),{sendPlatformDetails}=require(a21_0x2926a4(0x1ba)),{isBrowserstackInfra}=require(a21_0x2926a4(0x1b2)),{isTestObservabilitySession}=require(a21_0x2926a4(0x1b4));exports[a21_0x2926a4(0x1a9)]={'beforeAll'(){const _0x32045d=a21_0x2926a4,_0xbfff30={'QhqvN':_0x32045d(0x169),'QbsBQ':_0x32045d(0x186),'DTzxs':_0x32045d(0x151),'zYhuV':_0x32045d(0x19c),'UPooL':function(_0x5dd0ba,_0x2161f1){return _0x5dd0ba===_0x2161f1;},'lxSBu':_0x32045d(0x1a0),'QKham':'lnyiA','aSKZb':function(_0x24c0a4,_0x11218c){return _0x24c0a4!==_0x11218c;},'jYeUe':_0x32045d(0x168),'MATWl':'\x20|\x20','vgedQ':function(_0x49c88b,_0x3c192e){return _0x49c88b!==_0x3c192e;},'dElWG':_0x32045d(0x1b1),'lfEFU':'XLRue','JMmpR':function(_0x227dc4,_0x4214ad){return _0x227dc4!==_0x4214ad;},'fDJjl':_0x32045d(0x174),'enwqc':function(_0x1845a8,_0x5ca8e5){return _0x1845a8!==_0x5ca8e5;},'FlWyt':_0x32045d(0x164),'sPbuZ':function(_0x451f0b){return _0x451f0b();},'HJZRM':_0x32045d(0x172),'bRDcD':function(_0x20d0d9,_0x337943,_0x32e83b){return _0x20d0d9(_0x337943,_0x32e83b);}},_0x4821f1='browserstack internal helper hook';global[_0x32045d(0x17e)]=[],global[_0x32045d(0x197)]=![],global[_0x32045d(0x149)]=async()=>{const _0x1f4371=_0x32045d,_0x167584={};_0x167584[_0x1f4371(0x192)]=_0xbfff30[_0x1f4371(0x14d)];const _0x284629=_0x167584;let _0x345ab8=![];try{_0xbfff30[_0x1f4371(0x167)](_0xbfff30[_0x1f4371(0x14a)],_0xbfff30[_0x1f4371(0x161)])?_0xbe8f6c['error'](_0x1f4371(0x1b3)+this[_0x1f4371(0x180)][_0x1f4371(0x162)]()+_0x1f4371(0x1a2),_0x3309bc):(await global['__drivers'][0x0][_0x1f4371(0x1a7)],_0x345ab8=!![],global[_0x1f4371(0x197)]?_0xbfff30[_0x1f4371(0x152)](_0xbfff30[_0x1f4371(0x175)],_0xbfff30[_0x1f4371(0x175)])?_0x53be60[_0x1f4371(0x196)](_0x284629[_0x1f4371(0x192)]):await global[_0x1f4371(0x15a)][0x0][_0x1f4371(0x16e)](_0x1f4371(0x19e)+JSON['stringify'](global[_0x1f4371(0x17e)][_0x1f4371(0x155)](_0xbfff30[_0x1f4371(0x198)]))+'}}'):_0xbfff30['vgedQ'](_0xbfff30[_0x1f4371(0x160)],_0xbfff30[_0x1f4371(0x160)])?_0x9df64b[_0x1f4371(0x170)](_0xbfff30[_0x1f4371(0x173)],_0x52614d):await global[_0x1f4371(0x15a)][0x0]['executeScript'](_0x1f4371(0x1b9)));}catch(_0x48eec7){}global[_0x1f4371(0x17e)]=[],global[_0x1f4371(0x197)]=![];if(_0x345ab8){if(_0xbfff30[_0x1f4371(0x185)](_0xbfff30['lfEFU'],_0xbfff30[_0x1f4371(0x1b0)]))_0x2a045f=new _0xd30962(_0x398be9);else try{if(_0xbfff30['JMmpR'](_0xbfff30[_0x1f4371(0x1a6)],_0xbfff30[_0x1f4371(0x1a6)]))_0xace659=![];else{try{if(_0xbfff30[_0x1f4371(0x15f)](_0xbfff30[_0x1f4371(0x1ad)],_0xbfff30[_0x1f4371(0x1ad)]))_0x1baceb[_0x1f4371(0x196)](_0xbfff30[_0x1f4371(0x1b7)]);else{if(_0xbfff30[_0x1f4371(0x19f)](isTestObservabilitySession)){if(_0xbfff30['UPooL'](_0xbfff30[_0x1f4371(0x19b)],_0xbfff30['HJZRM'])){if(global[_0x1f4371(0x15a)][0x0])await _0xbfff30[_0x1f4371(0x18f)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1f4371(0x180)]?this[_0x1f4371(0x180)][_0x1f4371(0x156)]:null);}else _0x37156b['info'](_0xbfff30['DTzxs']);}}}catch{}await global[_0x1f4371(0x15a)][0x0][_0x1f4371(0x184)]();}}catch(_0x25b2f6){}}};},'beforeEach'(_0x1beb97){const _0xd1153c=a21_0x2926a4,_0x36f867={'ccEGs':function(_0x20e6da,_0x359670){return _0x20e6da>_0x359670;},'xhyJh':function(_0x5e3596,_0x216748){return _0x5e3596>_0x216748;},'jNnMj':function(_0x4ae39b,_0x5d7be3){return _0x4ae39b(_0x5d7be3);},'BmjPk':function(_0x3291dc){return _0x3291dc();},'KAqUA':function(_0x2d5228,_0x5654f1){return _0x2d5228===_0x5654f1;},'AdUhq':_0xd1153c(0x16f),'BIPFZ':_0xd1153c(0x191),'ghqeQ':_0xd1153c(0x153),'rsXYT':'Automate\x20test\x20case\x20execution\x20has\x20started.','hFJPe':'Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case','mOIUS':function(_0x52344d){return _0x52344d();}};new Promise(async _0x1f2772=>{const _0x1dae04=_0xd1153c,_0x29f753='browserstack internal helper hook';let _0x2419a3=!![];try{_0x36f867[_0x1dae04(0x16b)](global[_0x1dae04(0x15a)][_0x1dae04(0x14b)],0x1)&&(await global['driverCleanup'](),global[_0x1dae04(0x15a)]['shift']()),_0x36f867[_0x1dae04(0x1af)](global['__drivers'][0x0][_0x1dae04(0x18e)],0x0)&&(_0x2419a3=![],await global[_0x1dae04(0x149)]());}catch{}this[_0x1dae04(0x180)][_0x1dae04(0x190)]=_0x36f867[_0x1dae04(0x193)](shouldScanTestForAccessibility,this[_0x1dae04(0x180)]),this[_0x1dae04(0x180)][_0x1dae04(0x15b)]=!![];if(_0x36f867[_0x1dae04(0x194)](isAccessibilityAutomationSession)&&_0x2419a3&&Array['isArray'](global[_0x1dae04(0x15a)])&&_0x36f867[_0x1dae04(0x1af)](global[_0x1dae04(0x15a)][_0x1dae04(0x14b)],0x0)&&global[_0x1dae04(0x179)])try{let _0x16bcbd=await global['__drivers'][0x0][_0x1dae04(0x1a7)];if(_0x16bcbd){let _0x4b82d8=!![],_0x4a0173=await global[_0x1dae04(0x15a)][0x0][_0x1dae04(0x17d)](),_0x9ca203;try{_0x9ca203=new URL(_0x4a0173);}catch(_0x578352){_0x4b82d8=![];}_0x4b82d8=_0x36f867[_0x1dae04(0x182)](_0x9ca203[_0x1dae04(0x1a8)],_0x36f867[_0x1dae04(0x16d)])||_0x36f867['KAqUA'](_0x9ca203[_0x1dae04(0x1a8)],_0x36f867[_0x1dae04(0x146)]),_0x4b82d8&&(this['currentTest'][_0x1dae04(0x190)]?(logger[_0x1dae04(0x196)](_0x36f867[_0x1dae04(0x1a5)]),await global[_0x1dae04(0x15a)][0x0][_0x1dae04(0x147)](_0x1dae04(0x188))):await global[_0x1dae04(0x15a)][0x0][_0x1dae04(0x16e)](_0x1dae04(0x159))),this[_0x1dae04(0x180)][_0x1dae04(0x15b)]=this['currentTest'][_0x1dae04(0x190)],this[_0x1dae04(0x180)][_0x1dae04(0x190)]&&logger[_0x1dae04(0x196)](_0x36f867['rsXYT']);}}catch(_0x38ef01){logger[_0x1dae04(0x170)](_0x36f867[_0x1dae04(0x166)],_0x38ef01);}_0x36f867[_0x1dae04(0x17f)](_0x1f2772);})[_0xd1153c(0x145)](_0x1beb97);},'afterEach'(_0x4abd62){const _0x3496f1=a21_0x2926a4,_0xd4c52={'erksZ':function(_0x5271ae,_0x283907){return _0x5271ae>_0x283907;},'gsMBR':'\x20-\x20','GhOxR':function(_0x432655,_0x152710){return _0x432655!==_0x152710;},'jXumK':_0x3496f1(0x15c),'TbvXt':function(_0x1b019c,_0x3c5fce,_0x20ef9e){return _0x1b019c(_0x3c5fce,_0x20ef9e);},'uvxon':function(_0x3488cd,_0x2fe9de){return _0x3488cd+_0x2fe9de;},'RGLNZ':'Failed:\x20','xUDZM':_0x3496f1(0x170),'BLbhP':function(_0x111a4c,_0x2a2f94,_0x1cb1fb){return _0x111a4c(_0x2a2f94,_0x1cb1fb);},'JhDwP':_0x3496f1(0x16a),'OOYFu':_0x3496f1(0x196),'rfhOX':_0x3496f1(0x151),'qsNpP':function(_0x5254dd,_0x162a6f){return _0x5254dd(_0x162a6f);},'ZojzP':_0x3496f1(0x19c),'UhqYM':function(_0x5a68fc){return _0x5a68fc();},'HVJMc':function(_0x2a1aad){return _0x2a1aad();},'ANuOJ':function(_0x46b5b8,_0x3f211a,_0x2e449d){return _0x46b5b8(_0x3f211a,_0x2e449d);},'WAjDX':_0x3496f1(0x154),'hagRM':function(_0x369887){return _0x369887();}},_0x170954='browserstack internal helper hook';this['timeout'](0xfde8);const _0x30cf35=async(_0x4163cd,_0x12f854)=>{const _0x41bfb4=_0x3496f1;await global[_0x41bfb4(0x15a)][0x0]['executeScript'](_0x41bfb4(0x1ac)+_0x4163cd+_0x41bfb4(0x1a1)+_0x12f854+_0x41bfb4(0x1aa));};new Promise(async _0x5946fb=>{const _0x35f643=_0x3496f1;try{_0xd4c52[_0x35f643(0x15d)](global['__drivers'][_0x35f643(0x14b)],0x1)&&(await global[_0x35f643(0x149)](),global[_0x35f643(0x15a)][_0x35f643(0x1a3)](),global[_0x35f643(0x17e)]=[],global[_0x35f643(0x197)]=![]);!global[_0x35f643(0x18b)]&&(await global[_0x35f643(0x15a)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x35f643(0x181)](this[_0x35f643(0x180)][_0x35f643(0x162)]()[_0x35f643(0x155)](_0xd4c52['gsMBR']))+'}}'),global[_0x35f643(0x15a)][0x0][_0x35f643(0x199)]=!![]);const _0x1230ca=_0xd4c52[_0x35f643(0x1b8)](this[_0x35f643(0x180)]['state'],_0xd4c52[_0x35f643(0x176)]);_0x1230ca?(global[_0x35f643(0x197)]=!![],global[_0x35f643(0x17e)][_0x35f643(0x18a)](this[_0x35f643(0x180)][_0x35f643(0x18d)][_0x35f643(0x15e)]),await _0xd4c52['TbvXt'](_0x30cf35,JSON[_0x35f643(0x181)](_0xd4c52[_0x35f643(0x189)](_0xd4c52['RGLNZ'],this[_0x35f643(0x180)][_0x35f643(0x18d)][_0x35f643(0x15e)])),_0xd4c52[_0x35f643(0x14c)])):await _0xd4c52['BLbhP'](_0x30cf35,JSON['stringify'](_0xd4c52[_0x35f643(0x1ab)]),_0xd4c52[_0x35f643(0x17a)]);}catch(_0x57414b){}try{if(this[_0x35f643(0x180)][_0x35f643(0x15b)]&&global[_0x35f643(0x179)]){this[_0x35f643(0x180)][_0x35f643(0x190)]&&logger[_0x35f643(0x196)](_0xd4c52[_0x35f643(0x163)]);const _0x4f7eb3={'saveResults':this[_0x35f643(0x180)][_0x35f643(0x190)],'testDetails':{'name':this[_0x35f643(0x180)][_0x35f643(0x1b5)],'testRunId':process[_0x35f643(0x171)]['BS_A11Y_TEST_RUN_ID'],'filePath':this['currentTest'][_0x35f643(0x148)],'scopeList':this[_0x35f643(0x180)][_0x35f643(0x162)]()},'platform':await _0xd4c52[_0x35f643(0x19d)](fetchPlatformDetails,global['__drivers'][0x0])};final_res=await global[_0x35f643(0x15a)][0x0][_0x35f643(0x147)]('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20callback\x20=\x20arguments[arguments.length\x20-\x201];\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.res\x20=\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(arguments[0].saveResults)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.addEventListener(\x27A11Y_TAP_TRANSPORTER\x27,\x20(event)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.tapTransporterData\x20=\x20event.detail;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.res\x20=\x20window.tapTransporterData;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callback(this.res);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20e\x20=\x20new\x20CustomEvent(\x27A11Y_TEST_END\x27,\x20{detail:\x20arguments[0]});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.dispatchEvent(e);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(arguments[0].saveResults\x20!==\x20true\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callback();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x4f7eb3),this[_0x35f643(0x180)][_0x35f643(0x190)]&&logger[_0x35f643(0x196)](_0xd4c52['ZojzP']);}}catch(_0x545000){logger[_0x35f643(0x170)](_0x35f643(0x1b3)+this[_0x35f643(0x180)][_0x35f643(0x162)]()+_0x35f643(0x1a2),_0x545000);}try{try{if(_0xd4c52[_0x35f643(0x17b)](isTestObservabilitySession)){if(global[_0x35f643(0x15a)][0x0])await _0xd4c52[_0x35f643(0x150)](sendPlatformDetails,global[_0x35f643(0x15a)][0x0],this[_0x35f643(0x180)]?this[_0x35f643(0x180)]['testAnalyticsId']:null);if(_0xd4c52[_0x35f643(0x183)](isBrowserstackInfra)){const _0x4eb70c=_0x35f643(0x165)+Date['now']();await _0xd4c52[_0x35f643(0x14e)](_0x30cf35,JSON[_0x35f643(0x181)](_0x4eb70c),_0xd4c52[_0x35f643(0x178)]);}}}catch{}if(_0xd4c52[_0x35f643(0x15d)](global[_0x35f643(0x15a)][0x0][_0x35f643(0x18e)],0x0))await global['driverCleanup']();}catch(_0x2db77a){}_0xd4c52[_0x35f643(0x18c)](_0x5946fb);})[_0x3496f1(0x145)](()=>_0x4abd62());},'afterAll'(_0x406ef1){const _0x46db7f=a21_0x2926a4,_0x5e3949={'ULWhc':function(_0x3e6989){return _0x3e6989();}},_0x3f13e5='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x48b73c=>{const _0x369eba=a21_0x24ba;await global['driverCleanup'](),_0x5e3949[_0x369eba(0x16c)](_0x48b73c);})[_0x46db7f(0x145)](()=>_0x406ef1());}};
|
|
1
|
+
function a21_0x1583(){const _0x33468f=['OQkcf','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','BwcEc','\x22}}','tfzxt','title','__sessionFailed','DVLFJ','SrVrq','state','currentTest','push','__error_messages__','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Failed:\x20','then','agOnD','timeout','tSlCG','368FfbEUs','err','driverCleanup','PLZpv','IvbXf','6087imEwag','protocol','JbNCE','isAccessibilityPlatform','passed','executeAsyncScript','info','Zncwy','Dbykr','.\x20Error\x20:','asyHm','error','https:','Automate\x20test\x20case\x20execution\x20has\x20started.','mnrDf','__drivers','CRgBc','hGxmT','EyluT','kQChQ','yjzQp','ljNhF','initQuit','titlePath','mochaHooks','vgEKN','\x20-\x20','cpaQF','env','RizwF','Iyksr','hsHhY','message','3670YKGjoT','yjpnn','7812IeuCXC','stringify','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20e\x20=\x20new\x20CustomEvent(\x27A11Y_FORCE_STOP\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.dispatchEvent(e);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','570siTYYU','154vXiYZX','11451hRvjQr','rCAyP','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','now','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20callback\x20=\x20arguments[arguments.length\x20-\x201];\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.res\x20=\x20null;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(arguments[0].saveResults)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.addEventListener(\x27A11Y_TAP_TRANSPORTER\x27,\x20(event)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.tapTransporterData\x20=\x20event.detail;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20this.res\x20=\x20window.tapTransporterData;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callback(this.res);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20e\x20=\x20new\x20CustomEvent(\x27A11Y_TEST_END\x27,\x20{detail:\x20arguments[0]});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.dispatchEvent(e);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(arguments[0].saveResults\x20!==\x20true\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callback();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','OXDty','debug','executeScript','shouldScanTestForAccessibility','GvEOQ','isArray','\x20|\x20','AIQgU','19384NiOwCz','join','http:','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','hDHNJ','../mocha/accessibility-automation/helper','lVWmd','178419CZlZYn','ihckB','getCurrentUrl','quitCount_','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','AnKYF','psfch','LnVaD','../../helpers/test-observability/utils','ObservabilitySync:','shift','fIQgh','YcPEv','369862eZZPSn','ezzjt','file','373599kvBeKv','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__skipSessionName','ZwhCa','TAfTz','YCwGm','KfPMa','length','mTAQI','WUGzc','AcGmg','iqviV','yeebO','FCBEj','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20callback\x20=\x20arguments[arguments.length\x20-\x201];\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20fn\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.addEventListener(\x27A11Y_TAP_STARTED\x27,\x20fn2);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20e\x20=\x20new\x20CustomEvent(\x27A11Y_FORCE_START\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.dispatchEvent(e);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20fn2\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.removeEventListener(\x27A11Y_TAP_STARTED\x27,\x20fn);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callback();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fn();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','vPYTb','AQFzd','session_'];a21_0x1583=function(){return _0x33468f;};return a21_0x1583();}function a21_0x9526(_0x5e8d4c,_0x1ffbfb){const _0x158316=a21_0x1583();return a21_0x9526=function(_0x952681,_0x5bd711){_0x952681=_0x952681-0x190;let _0x291acc=_0x158316[_0x952681];return _0x291acc;},a21_0x9526(_0x5e8d4c,_0x1ffbfb);}const a21_0x25dce0=a21_0x9526;(function(_0x4bb8e5,_0x185612){const _0x36708c=a21_0x9526,_0x4b543d=_0x4bb8e5();while(!![]){try{const _0x171d07=parseInt(_0x36708c(0x1f9))/0x1+-parseInt(_0x36708c(0x190))/0x2+-parseInt(_0x36708c(0x1bd))/0x3*(parseInt(_0x36708c(0x1b8))/0x4)+-parseInt(_0x36708c(0x1e3))/0x5*(parseInt(_0x36708c(0x1e0))/0x6)+parseInt(_0x36708c(0x1e4))/0x7*(parseInt(_0x36708c(0x1f2))/0x8)+parseInt(_0x36708c(0x193))/0x9+parseInt(_0x36708c(0x1de))/0xa*(parseInt(_0x36708c(0x1e5))/0xb);if(_0x171d07===_0x185612)break;else _0x4b543d['push'](_0x4b543d['shift']());}catch(_0x350832){_0x4b543d['push'](_0x4b543d['shift']());}}}(a21_0x1583,0x21058));const {isAccessibilityAutomationSession,shouldScanTestForAccessibility,fetchPlatformDetails}=require(a21_0x25dce0(0x1f7)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a21_0x25dce0(0x201));exports[a21_0x25dce0(0x1d5)]={'beforeAll'(){const _0x2d5624=a21_0x25dce0,_0x5c2024={'oHRfZ':_0x2d5624(0x1b2),'hDHNJ':_0x2d5624(0x1ca),'JbNCE':'Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case','RCTXy':_0x2d5624(0x1f5),'mTAQI':function(_0x177590,_0x1f7f6a){return _0x177590===_0x1f7f6a;},'YcPEv':_0x2d5624(0x1ac),'NSJBI':'czYnk','ZwhCa':function(_0x4c764b,_0x1ff30f){return _0x4c764b!==_0x1ff30f;},'OXDty':'YnSDO','YHnyg':_0x2d5624(0x1cb),'ezzjt':_0x2d5624(0x1f0),'iqviV':function(_0x86e761,_0x551bbb){return _0x86e761!==_0x551bbb;},'ljNhF':_0x2d5624(0x1a3),'xpoSn':_0x2d5624(0x1c4),'hGxmT':_0x2d5624(0x1ee),'CRgBc':function(_0x461f58,_0x323903){return _0x461f58!==_0x323903;},'kQChQ':_0x2d5624(0x1cf),'ihckB':function(_0x1491ae,_0x1a9737){return _0x1491ae!==_0x1a9737;},'RizwF':_0x2d5624(0x1df),'IZgou':function(_0x14a0b9){return _0x14a0b9();},'aPzBr':_0x2d5624(0x1a2),'LnVaD':_0x2d5624(0x1bc),'lVWmd':function(_0x3987ac,_0x1991cb,_0x26d803){return _0x3987ac(_0x1991cb,_0x26d803);}},_0x494f09='browserstack internal helper hook';global[_0x2d5624(0x1b1)]=[],global[_0x2d5624(0x1ab)]=![],global['driverCleanup']=async()=>{const _0x22d617=_0x2d5624,_0xac1329={};_0xac1329[_0x22d617(0x204)]=_0x5c2024['RCTXy'];const _0x285ff4=_0xac1329;let _0x20f3ce=![];try{_0x5c2024[_0x22d617(0x19b)](_0x5c2024[_0x22d617(0x205)],_0x5c2024['NSJBI'])?_0x4c2680=new _0x100f50(_0x4112bf):(await global[_0x22d617(0x1cc)][0x0][_0x22d617(0x1a4)],_0x20f3ce=!![],global['__sessionFailed']?_0x5c2024['ZwhCa'](_0x5c2024[_0x22d617(0x1ea)],_0x5c2024['YHnyg'])?await global[_0x22d617(0x1cc)][0x0]['executeScript'](_0x22d617(0x1e7)+JSON[_0x22d617(0x1e1)](global[_0x22d617(0x1b1)][_0x22d617(0x1f3)](_0x5c2024[_0x22d617(0x191)]))+'}}'):_0x316a24=![]:_0x5c2024[_0x22d617(0x19e)](_0x5c2024[_0x22d617(0x1d2)],_0x5c2024[_0x22d617(0x1d2)])?_0x5c7362[_0x22d617(0x1c3)](_0x5c2024['oHRfZ']):await global[_0x22d617(0x1cc)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}'));}catch(_0x2dd24e){}global[_0x22d617(0x1b1)]=[],global['__sessionFailed']=![];if(_0x20f3ce){if(_0x5c2024[_0x22d617(0x196)](_0x5c2024['xpoSn'],_0x5c2024[_0x22d617(0x1ce)]))try{if(_0x5c2024['CRgBc'](_0x5c2024[_0x22d617(0x1d0)],_0x5c2024[_0x22d617(0x1d0)]))_0x41c56c['info'](_0x5c2024[_0x22d617(0x1f6)]);else{try{if(_0x5c2024[_0x22d617(0x1fa)](_0x5c2024[_0x22d617(0x1da)],_0x5c2024[_0x22d617(0x1da)]))_0x286fa7[_0x22d617(0x1c3)](_0x285ff4['fIQgh']);else{if(_0x5c2024['IZgou'](isTestObservabilitySession)){if(_0x5c2024[_0x22d617(0x1cd)](_0x5c2024['aPzBr'],_0x5c2024[_0x22d617(0x200)])){if(global[_0x22d617(0x1cc)][0x0])await _0x5c2024[_0x22d617(0x1f8)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x22d617(0x1af)]['testAnalyticsId']:null);}else _0x32b35b[_0x22d617(0x1c8)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x22d617(0x1af)][_0x22d617(0x1d4)]()+_0x22d617(0x1c6),_0x563eb7);}}}catch{}await global[_0x22d617(0x1cc)][0x0][_0x22d617(0x1d3)]();}}catch(_0x4108a9){}else _0x5c5ea1['error'](_0x5c2024[_0x22d617(0x1bf)],_0x5b750d);}};},'beforeEach'(_0x4e1362){const _0x5d9198=a21_0x25dce0,_0x1d9eba={'zfIgN':function(_0x33c86c,_0x26e78a){return _0x33c86c>_0x26e78a;},'fPYSM':function(_0x1142e4,_0x936296){return _0x1142e4>_0x936296;},'Iyksr':function(_0x419ee9,_0x3a3b42){return _0x419ee9(_0x3a3b42);},'tfzxt':function(_0x39b585){return _0x39b585();},'vgEKN':function(_0x406686,_0x3c0220){return _0x406686===_0x3c0220;},'psfch':_0x5d9198(0x1f4),'FCBEj':_0x5d9198(0x1c9),'yeebO':_0x5d9198(0x1a6),'Dbykr':_0x5d9198(0x1ca),'asyHm':'Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case','PLZpv':function(_0x3c8e5b){return _0x3c8e5b();}};new Promise(async _0x5747f7=>{const _0x294697=_0x5d9198,_0x3e938f='browserstack internal helper hook';let _0x524c44=!![];try{_0x1d9eba['zfIgN'](global[_0x294697(0x1cc)][_0x294697(0x19a)],0x1)&&(await global['driverCleanup'](),global[_0x294697(0x1cc)][_0x294697(0x203)]()),_0x1d9eba['fPYSM'](global['__drivers'][0x0][_0x294697(0x1fc)],0x0)&&(_0x524c44=![],await global[_0x294697(0x1ba)]());}catch{}this[_0x294697(0x1af)][_0x294697(0x1ed)]=_0x1d9eba[_0x294697(0x1db)](shouldScanTestForAccessibility,this[_0x294697(0x1af)]),this['currentTest']['accessibilityScanStarted']=!![];if(_0x1d9eba[_0x294697(0x1a9)](isAccessibilityAutomationSession)&&_0x524c44&&Array[_0x294697(0x1ef)](global[_0x294697(0x1cc)])&&_0x1d9eba['fPYSM'](global[_0x294697(0x1cc)][_0x294697(0x19a)],0x0)&&global[_0x294697(0x1c0)])try{let _0x3da66e=await global[_0x294697(0x1cc)][0x0][_0x294697(0x1a4)];if(_0x3da66e){let _0x4e5e96=!![],_0x5d0d80=await global['__drivers'][0x0][_0x294697(0x1fb)](),_0x33ead0;try{_0x33ead0=new URL(_0x5d0d80);}catch(_0x26c735){_0x4e5e96=![];}_0x4e5e96=_0x1d9eba[_0x294697(0x1d6)](_0x33ead0[_0x294697(0x1be)],_0x1d9eba[_0x294697(0x1ff)])||_0x1d9eba[_0x294697(0x1d6)](_0x33ead0[_0x294697(0x1be)],_0x1d9eba[_0x294697(0x1a0)]),_0x4e5e96&&(this['currentTest'][_0x294697(0x1ed)]?(logger[_0x294697(0x1c3)](_0x1d9eba[_0x294697(0x19f)]),await global[_0x294697(0x1cc)][0x0][_0x294697(0x1c2)](_0x294697(0x1a1))):await global[_0x294697(0x1cc)][0x0][_0x294697(0x1ec)](_0x294697(0x1e2))),this['currentTest']['accessibilityScanStarted']=this[_0x294697(0x1af)][_0x294697(0x1ed)],this[_0x294697(0x1af)][_0x294697(0x1ed)]&&logger[_0x294697(0x1c3)](_0x1d9eba[_0x294697(0x1c5)]);}}catch(_0x8b5650){logger['error'](_0x1d9eba[_0x294697(0x1c7)],_0x8b5650);}_0x1d9eba[_0x294697(0x1bb)](_0x5747f7);})[_0x5d9198(0x1b4)](_0x4e1362);},'afterEach'(_0x459594){const _0x405c16=a21_0x25dce0,_0x5b0814={'TAfTz':function(_0x34a6eb,_0x4de9b6){return _0x34a6eb>_0x4de9b6;},'cpaQF':_0x405c16(0x1d7),'KfPMa':function(_0x1d7ed5,_0x32b736){return _0x1d7ed5!==_0x32b736;},'YCwGm':_0x405c16(0x1c1),'RkKLk':function(_0x4972bc,_0x3020ff,_0x10fdd3){return _0x4972bc(_0x3020ff,_0x10fdd3);},'rCAyP':function(_0x2c6218,_0x1b3820){return _0x2c6218+_0x1b3820;},'hsHhY':_0x405c16(0x1b3),'tSlCG':_0x405c16(0x1c8),'BwcEc':'Passed','NxvuT':'info','WUGzc':_0x405c16(0x1b2),'AcGmg':function(_0x431ada,_0x3cfcbc){return _0x431ada(_0x3cfcbc);},'SrVrq':_0x405c16(0x1f5),'OQkcf':function(_0x149309){return _0x149309();},'AIQgU':function(_0x552ba9,_0x31dd78,_0x42c147){return _0x552ba9(_0x31dd78,_0x42c147);},'UxRGQ':function(_0x2773df){return _0x2773df();},'agOnD':function(_0xd24ce8,_0x2a88e2,_0xda2bf1){return _0xd24ce8(_0x2a88e2,_0xda2bf1);},'yjzQp':_0x405c16(0x1eb),'AnKYF':function(_0x35659d,_0x1d91f3){return _0x35659d>_0x1d91f3;},'UxZda':function(_0x2064cb){return _0x2064cb();}},_0x3f65b1='browserstack internal helper hook';this[_0x405c16(0x1b6)](0xfde8);const _0x17d9b3=async(_0xe5f71b,_0x563705)=>{const _0x3995c0=_0x405c16;await global[_0x3995c0(0x1cc)][0x0][_0x3995c0(0x1ec)](_0x3995c0(0x194)+_0xe5f71b+',\x22level\x22:\x20\x22'+_0x563705+_0x3995c0(0x1a8));};new Promise(async _0x1bf351=>{const _0x113244=_0x405c16;try{_0x5b0814[_0x113244(0x197)](global[_0x113244(0x1cc)][_0x113244(0x19a)],0x1)&&(await global[_0x113244(0x1ba)](),global['__drivers'][_0x113244(0x203)](),global[_0x113244(0x1b1)]=[],global['__sessionFailed']=![]);!global[_0x113244(0x195)]&&(await global[_0x113244(0x1cc)][0x0][_0x113244(0x1ec)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x113244(0x1e1)](this['currentTest']['titlePath']()['join'](_0x5b0814[_0x113244(0x1d8)]))+'}}'),global[_0x113244(0x1cc)][0x0]['sessionNameSet__']=!![]);const _0x3ae545=_0x5b0814[_0x113244(0x199)](this[_0x113244(0x1af)][_0x113244(0x1ae)],_0x5b0814[_0x113244(0x198)]);_0x3ae545?(global[_0x113244(0x1ab)]=!![],global['__error_messages__'][_0x113244(0x1b0)](this['currentTest'][_0x113244(0x1b9)][_0x113244(0x1dd)]),await _0x5b0814['RkKLk'](_0x17d9b3,JSON['stringify'](_0x5b0814[_0x113244(0x1e6)](_0x5b0814[_0x113244(0x1dc)],this[_0x113244(0x1af)]['err']['message'])),_0x5b0814[_0x113244(0x1b7)])):await _0x5b0814['RkKLk'](_0x17d9b3,JSON[_0x113244(0x1e1)](_0x5b0814[_0x113244(0x1a7)]),_0x5b0814['NxvuT']);}catch(_0x5ec73c){}try{if(this[_0x113244(0x1af)]['accessibilityScanStarted']&&global[_0x113244(0x1c0)]){this['currentTest'][_0x113244(0x1ed)]&&logger[_0x113244(0x1c3)](_0x5b0814[_0x113244(0x19c)]);const _0x30242a={'saveResults':this[_0x113244(0x1af)][_0x113244(0x1ed)],'testDetails':{'name':this['currentTest'][_0x113244(0x1aa)],'testRunId':process[_0x113244(0x1d9)]['BS_A11Y_TEST_RUN_ID'],'filePath':this[_0x113244(0x1af)][_0x113244(0x192)],'scopeList':this['currentTest'][_0x113244(0x1d4)]()},'platform':await _0x5b0814[_0x113244(0x19d)](fetchPlatformDetails,global[_0x113244(0x1cc)][0x0])};final_res=await global['__drivers'][0x0][_0x113244(0x1c2)](_0x113244(0x1e9),_0x30242a),this[_0x113244(0x1af)][_0x113244(0x1ed)]&&logger['info'](_0x5b0814[_0x113244(0x1ad)]);}}catch(_0x133a22){logger[_0x113244(0x1c8)](_0x113244(0x1fd)+this[_0x113244(0x1af)][_0x113244(0x1d4)]()+_0x113244(0x1c6),_0x133a22);}try{try{if(_0x5b0814[_0x113244(0x1a5)](isTestObservabilitySession)){if(global[_0x113244(0x1cc)][0x0])await _0x5b0814[_0x113244(0x1f1)](sendPlatformDetails,global['__drivers'][0x0],this[_0x113244(0x1af)]?this[_0x113244(0x1af)]['testAnalyticsId']:null);if(_0x5b0814['UxRGQ'](isBrowserstackInfra)){const _0x6fd6bf=_0x113244(0x202)+Date[_0x113244(0x1e8)]();await _0x5b0814[_0x113244(0x1b5)](_0x17d9b3,JSON[_0x113244(0x1e1)](_0x6fd6bf),_0x5b0814[_0x113244(0x1d1)]);}}}catch{}if(_0x5b0814[_0x113244(0x1fe)](global[_0x113244(0x1cc)][0x0]['quitCount_'],0x0))await global[_0x113244(0x1ba)]();}catch(_0x2d01f0){}_0x5b0814['UxZda'](_0x1bf351);})['then'](()=>_0x459594());},'afterAll'(_0x4a8eea){const _0x2b75f5=a21_0x25dce0,_0x557235={'woeuf':function(_0x2dacf5){return _0x2dacf5();}},_0x530acc='browserstack internal helper hook';this[_0x2b75f5(0x1b6)](0xfde8),new Promise(async _0x2eed18=>{const _0x354354=_0x2b75f5;await global[_0x354354(0x1ba)](),_0x557235['woeuf'](_0x2eed18);})[_0x2b75f5(0x1b4)](()=>_0x4a8eea());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a22_0x318c8c=a22_0x3233;(function(_0x58ba9b,_0x293ab7){const _0x476287=a22_0x3233,_0x306843=_0x58ba9b();while(!![]){try{const _0x1b6753=-parseInt(_0x476287(0xf7))/0x1+parseInt(_0x476287(0x11c))/0x2+parseInt(_0x476287(0x14e))/0x3+parseInt(_0x476287(0x10d))/0x4*(-parseInt(_0x476287(0x13b))/0x5)+parseInt(_0x476287(0x16b))/0x6*(parseInt(_0x476287(0x11a))/0x7)+-parseInt(_0x476287(0x13a))/0x8*(-parseInt(_0x476287(0xfe))/0x9)+-parseInt(_0x476287(0x103))/0xa;if(_0x1b6753===_0x293ab7)break;else _0x306843['push'](_0x306843['shift']());}catch(_0x43979b){_0x306843['push'](_0x306843['shift']());}}}(a22_0x7539,0x63e10));function a22_0x7539(){const _0x4743ce=['682548NjRiDw','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','findIndex','TpXIi','AbwGz','stringify','kfFHm','filter','../../helpers/BrowserStackSetup','MjvMr','YcerW','platforms','eowmz','11221RfLPhR','splice','1331082rRDdCu','Getting\x20your\x20nightwatch\x20configs\x20from\x20','rvwRC','modifyBrowserStackCaps','slice','winstonLogger','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','close','JKEpT','zDeEe','HPWon','oyGBK','oaxcS','host','BpbHl','isUndefined','nightwatch.json','join','Deleting\x20','fenhv','tYpni','modifyBrowserStackW3CCaps','length','getPlatformName','yLofR','../../helpers/helper','jJrXo','kukNL','nEbBj','exports','2328gWgEIk','15ftdNrw','Kbilh','wMhKD','Jsdyh','AkLTW','port','AYUHW','SiHPa','selenium','grYfl','zXOax','existsSync','info','nRxzo','config','../utils/constants','lkQaL','ciNnJ','env','238041NvcGjC','fwTJK','sVcFw','wBFsj','nightwatch','XSRNe','push','MTctC','desiredCapabilities','../../helpers/logger','KvEmt','webdriver','cwd','unlinkSync','start_process','cwAZm','FSnQX','Bjcdc','iVQec','ozxUB','map','fpuDa','KSoVV','trim','test','mxwPM','YJhiA','aorUn','LOxTG','2010IdqRrl','EktHq','pWbdU','--env','hEwCe','now','qKIee','BdiEN','--config','azJcT','290644tEGpjd','NGeNx','test_settings','mergeDeep','gbAVd','kmEZt','platform','1233HLuEls','forEach','gpUcH','child\x20process\x20exited\x20with\x20code\x20','debug','1101010geVHSu','DkxsU','AUTRv','WBHCU','YvovA','FpLxl','RCHoK','xkzds','fbGmf','fMTsj'];a22_0x7539=function(){return _0x4743ce;};return a22_0x7539();}function a22_0x3233(_0x47c255,_0x2b3e5f){const _0x75394f=a22_0x7539();return a22_0x3233=function(_0x3233e8,_0x2abda5){_0x3233e8=_0x3233e8-0xf7;let _0x5a5988=_0x75394f[_0x3233e8];return _0x5a5988;},a22_0x3233(_0x47c255,_0x2b3e5f);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a22_0x318c8c(0x157))[a22_0x318c8c(0x121)],{default:BrowserStackSetup}=require(a22_0x318c8c(0x115)),helper=require(a22_0x318c8c(0x135)),constants=require(a22_0x318c8c(0x14a)),getUserNightwatchConfigs=(_0x16f59b,_0x3869e3)=>{const _0x454cb5=a22_0x318c8c,_0x38507f={'FpLxl':'nightwatch.conf.js','xkzds':function(_0x2ad4b1,_0x14dded){return _0x2ad4b1>_0x14dded;},'MjvMr':function(_0x411cde,_0x28102c){return _0x411cde(_0x28102c);},'zDeEe':function(_0x3216d5,_0x3638c6){return _0x3216d5!==_0x3638c6;},'Jsdyh':_0x454cb5(0x164),'eowmz':_0x454cb5(0x172),'pWbdU':_0x454cb5(0x12a),'LOxTG':_0x454cb5(0x104),'RCHoK':_0x454cb5(0x12c),'zXOax':function(_0x38033c,_0x3e7407){return _0x38033c!==_0x3e7407;},'oyGBK':_0x454cb5(0x150),'MISmX':_0x454cb5(0x148),'YJhiA':_0x454cb5(0x169),'XSRNe':function(_0x119054,_0x24dede){return _0x119054===_0x24dede;},'fenhv':_0x454cb5(0x160),'kfFHm':_0x454cb5(0x174),'kukNL':_0x454cb5(0x122)};let _0x46d730=null,_0x549fde={};const _0x538774=_0x3869e3['findIndex'](_0x18a88e=>_0x18a88e==_0x454cb5(0x173));if(!helper[_0x454cb5(0x12b)](_0x16f59b[_0x454cb5(0x149)])&&fs[_0x454cb5(0x146)](path[_0x454cb5(0x12d)](process[_0x454cb5(0x15a)](),_0x16f59b[_0x454cb5(0x149)])))_0x38507f[_0x454cb5(0x125)](_0x38507f[_0x454cb5(0x13e)],_0x38507f[_0x454cb5(0x119)])?(_0x46d730=path[_0x454cb5(0x12d)](process[_0x454cb5(0x15a)](),_0x16f59b[_0x454cb5(0x149)]),_0x3869e3[_0x454cb5(0x11b)](_0x538774,0x2)):(_0x4463c4[_0x454cb5(0x102)](_0x454cb5(0x101)+_0x1851b5),_0x1a6fbc[_0x454cb5(0x147)](_0x454cb5(0x12e)+_0xa3ae1b),_0xa77fce[_0x454cb5(0x15b)](_0x225348));else{if(_0x38507f[_0x454cb5(0x125)](_0x38507f[_0x454cb5(0x16d)],_0x38507f[_0x454cb5(0x16d)]))_0x3591c7=_0x35e777[_0x454cb5(0x12d)](_0x27752f[_0x454cb5(0x15a)](),_0x38507f[_0x454cb5(0x108)]);else{if(fs[_0x454cb5(0x146)](path[_0x454cb5(0x12d)](process[_0x454cb5(0x15a)](),_0x38507f['FpLxl']))){if(_0x38507f[_0x454cb5(0x125)](_0x38507f[_0x454cb5(0x16a)],_0x38507f[_0x454cb5(0x16a)])){let _0x30e679=_0x125b07[_0x454cb5(0x10f)](_0x1d7853=>_0x1d7853=='--env');_0x38507f[_0x454cb5(0x10a)](_0x30e679,-0x1)&&_0x5c8501['splice'](_0x30e679,0x2),_0x30e679=_0x4ef64d[_0x454cb5(0x10f)](_0x4fed70=>_0x4fed70=='-e'),_0x38507f[_0x454cb5(0x10a)](_0x30e679,-0x1)&&_0x4ad3be[_0x454cb5(0x11b)](_0x30e679,0x2);}else _0x46d730=path[_0x454cb5(0x12d)](process[_0x454cb5(0x15a)](),_0x38507f[_0x454cb5(0x108)]);}else fs[_0x454cb5(0x146)](path[_0x454cb5(0x12d)](process['cwd'](),_0x38507f[_0x454cb5(0x109)]))&&(_0x38507f[_0x454cb5(0x145)](_0x38507f[_0x454cb5(0x127)],_0x38507f['MISmX'])?_0x46d730=path[_0x454cb5(0x12d)](process['cwd'](),_0x38507f[_0x454cb5(0x109)]):(_0x2fdd23['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x34cc60),_0x49d547=_0x38507f[_0x454cb5(0x116)](_0xaa188f,_0x39b00c)));}}return _0x46d730?_0x38507f['zXOax'](_0x38507f['YJhiA'],_0x38507f[_0x454cb5(0x168)])?_0x1512c5['splice'](_0x2b18ea,0x2):(logger['info'](_0x454cb5(0x11d)+_0x46d730),_0x549fde=_0x38507f[_0x454cb5(0x116)](require,_0x46d730)):_0x38507f[_0x454cb5(0x153)](_0x38507f[_0x454cb5(0x12f)],_0x38507f[_0x454cb5(0x113)])?_0x12be32['splice'](_0x29b867,0x2):logger['info'](_0x38507f[_0x454cb5(0x137)]),_0x549fde;},removeExistingEnvs=_0x2cfe85=>{const _0x49af59=a22_0x318c8c,_0x1cd0c3={};_0x1cd0c3[_0x49af59(0x138)]=_0x49af59(0x12c),_0x1cd0c3[_0x49af59(0x15e)]=function(_0x49b86b,_0xcac6ba){return _0x49b86b>_0xcac6ba;},_0x1cd0c3[_0x49af59(0x16c)]=function(_0x150a13,_0x1d1d9e){return _0x150a13!==_0x1d1d9e;},_0x1cd0c3[_0x49af59(0x13d)]='egwml',_0x1cd0c3[_0x49af59(0x14f)]=function(_0x4678b3,_0x3742a2){return _0x4678b3>_0x3742a2;},_0x1cd0c3['cwAZm']=function(_0x433cfb,_0x5dd03b){return _0x433cfb===_0x5dd03b;},_0x1cd0c3['pQNXC']=_0x49af59(0x126);const _0x24e9d5=_0x1cd0c3;let _0x306a72=_0x2cfe85[_0x49af59(0x10f)](_0x3ba0c7=>_0x3ba0c7==_0x49af59(0x16e));_0x24e9d5[_0x49af59(0x15e)](_0x306a72,-0x1)&&(_0x24e9d5[_0x49af59(0x16c)](_0x24e9d5['wMhKD'],_0x24e9d5[_0x49af59(0x13d)])?(_0x2d67c2=_0x31b444[_0x49af59(0x12d)](_0x12800f[_0x49af59(0x15a)](),_0x29b3ff[_0x49af59(0x149)]),_0x37a94b[_0x49af59(0x11b)](_0x37ec98,0x2)):_0x2cfe85['splice'](_0x306a72,0x2)),_0x306a72=_0x2cfe85['findIndex'](_0x225756=>_0x225756=='-e'),_0x24e9d5[_0x49af59(0x14f)](_0x306a72,-0x1)&&(_0x24e9d5[_0x49af59(0x15d)](_0x24e9d5['pQNXC'],_0x24e9d5['pQNXC'])?_0x2cfe85[_0x49af59(0x11b)](_0x306a72,0x2):_0x3fa9df=_0x5b5f98[_0x49af59(0x12d)](_0x23e72a[_0x49af59(0x15a)](),_0x24e9d5[_0x49af59(0x138)]));};function run(_0x7f24eb,_0x5d32a2){const _0x26e570=a22_0x318c8c,_0x2dc6c7={'fbGmf':function(_0x14ce8e,_0xf939cf){return _0x14ce8e+_0xf939cf;},'Kbilh':_0x26e570(0xf9),'KvEmt':function(_0x2a9a73,_0x233064){return _0x2a9a73!==_0x233064;},'NGeNx':_0x26e570(0x14c),'SiHPa':_0x26e570(0xfc),'mxwPM':_0x26e570(0x152),'ozxUB':'nightwatch.conf.js','rvwRC':_0x26e570(0x12c),'hEwCe':_0x26e570(0x15f),'AbwGz':function(_0x1e0a8e,_0x481947){return _0x1e0a8e===_0x481947;},'AUTRv':_0x26e570(0x128),'wBFsj':_0x26e570(0x141),'TpXIi':function(_0x44b032,_0x214bbc){return _0x44b032+_0x214bbc;},'XJYfK':_0x26e570(0x117),'gpUcH':_0x26e570(0x13f),'MTctC':function(_0x524fdb,_0x2423b7,_0x15f302){return _0x524fdb(_0x2423b7,_0x15f302);},'ABRaL':'hub.browserstack.com','yLofR':_0x26e570(0x10e),'lkQaL':function(_0x591200,_0x303319){return _0x591200==_0x303319;},'fpuDa':'nightwatch-browserstack.json','cfNir':function(_0x29e600,_0x40770c){return _0x29e600(_0x40770c);},'grYfl':function(_0x3de0dc,_0x2c7488,_0xbd009e,_0x4b87ce){return _0x3de0dc(_0x2c7488,_0xbd009e,_0x4b87ce);},'tYpni':'nightwatch.cmd','fMTsj':_0x26e570(0x173),'qKIee':_0x26e570(0x16e),'WBHCU':'inherit','jJrXo':_0x26e570(0x123)},_0x29eb5b=new BrowserStackSetup(_0x7f24eb);if(!_0x29eb5b['config'])return;const _0x653495=_0x2dc6c7[_0x26e570(0x155)](getUserNightwatchConfigs,_0x7f24eb,_0x5d32a2),_0x48c6e7={};_0x48c6e7[_0x26e570(0x15c)]=![];const _0x4c0bca={};_0x4c0bca[_0x26e570(0x129)]=_0x2dc6c7['ABRaL'],_0x4c0bca[_0x26e570(0x140)]=0x1bb;const _0x13afb2={};_0x13afb2[_0x26e570(0x159)]=_0x48c6e7,_0x13afb2[_0x26e570(0x143)]=_0x4c0bca;const _0x1019a8=_0x13afb2;logger[_0x26e570(0x147)](_0x2dc6c7[_0x26e570(0x134)]);const _0xb8b102={..._0x653495},_0x4f3af6=_0xb8b102;let _0x4e982e=helper['useW3C'](_0x29eb5b[_0x26e570(0x149)]);const _0x169c2b=[];_0x29eb5b[_0x26e570(0x149)][_0x26e570(0x118)][_0x26e570(0xff)]((_0x5977f1,_0x16c3e0)=>{const _0x1c83b0=_0x26e570,_0x6e2da4={'HFlSk':function(_0x1664de,_0x3bcd9a){const _0x548261=a22_0x3233;return _0x2dc6c7[_0x548261(0x10b)](_0x1664de,_0x3bcd9a);},'YvovA':_0x2dc6c7['Kbilh']};if(_0x2dc6c7[_0x1c83b0(0x158)](_0x2dc6c7[_0x1c83b0(0xf8)],_0x2dc6c7[_0x1c83b0(0x142)])){if(_0x4e982e)_0x169c2b['push'](helper[_0x1c83b0(0x131)](_0x29eb5b[_0x1c83b0(0x149)],_0x2dc6c7[_0x1c83b0(0x167)],_0x16c3e0));else _0x169c2b[_0x1c83b0(0x154)](helper['modifyBrowserStackCaps'](_0x29eb5b[_0x1c83b0(0x149)],_0x2dc6c7[_0x1c83b0(0x167)],_0x16c3e0));}else{const _0xd5c53={'VQRTO':function(_0x4d5ecf,_0x581dd4){return _0x6e2da4['HFlSk'](_0x4d5ecf,_0x581dd4);},'gbAVd':_0x6e2da4[_0x1c83b0(0x107)]};_0xaa9860['forEach'](_0x617429=>{const _0x457728=_0x1c83b0;let _0x35c21b=_0xd5c53['VQRTO'](_0x1edd92[_0x457728(0x133)](_0x617429,'_'),'_'+_0x188dd0[_0x457728(0x170)]());if(_0x8656f5)_0x35c21b+='_'+_0x102e52;if(_0x2e4fd6&&(!_0x2d18e6[_0xd5c53['gbAVd']]||!_0x17fa53[_0xd5c53[_0x457728(0xfb)]][_0x54af00]))return;const _0x4f8279={..._0x1befec};_0x4f8279[_0x457728(0x156)]=_0x617429;const _0x292433=_0x4f8279;_0x294e0b[_0x35c21b]=_0x1d8d1f?_0x4b3dd8[_0x457728(0xfa)](_0x3e8207[_0xd5c53['gbAVd']][_0x46d121],_0x292433):_0x292433,_0x39ddcd['push'](_0x35c21b);});}});const _0x25fee3={},_0x5db734=[];_0x7f24eb[_0x26e570(0x14d)]=_0x7f24eb[_0x26e570(0x14d)]||_0x7f24eb['e'];const _0x8fb418=_0x7f24eb[_0x26e570(0x14d)]?_0x7f24eb['env']['trim']()['split'](',')[_0x26e570(0x162)](_0xb50284=>_0xb50284[_0x26e570(0x165)]())[_0x26e570(0x114)](_0x38f8c9=>_0x38f8c9!=''):[''];if(_0x2dc6c7[_0x26e570(0x14b)](_0x8fb418[_0x26e570(0x132)],0x0))_0x8fb418[_0x26e570(0x154)]('');_0x8fb418[_0x26e570(0xff)](_0x509377=>{const _0x560aad=_0x26e570;if(_0x2dc6c7[_0x560aad(0x111)](_0x2dc6c7[_0x560aad(0x105)],_0x2dc6c7[_0x560aad(0x151)])){if(_0x39dde9[_0x560aad(0x146)](_0x5ef7db[_0x560aad(0x12d)](_0x54f163['cwd'](),_0x2dc6c7[_0x560aad(0x161)])))_0xe26b7e=_0x58d848[_0x560aad(0x12d)](_0x269bd5[_0x560aad(0x15a)](),_0x2dc6c7[_0x560aad(0x161)]);else _0x5424c9[_0x560aad(0x146)](_0x13189c[_0x560aad(0x12d)](_0x44d265[_0x560aad(0x15a)](),_0x2dc6c7[_0x560aad(0x11e)]))&&(_0x3006ba=_0x13a8da[_0x560aad(0x12d)](_0xac948f[_0x560aad(0x15a)](),_0x2dc6c7[_0x560aad(0x11e)]));}else _0x169c2b[_0x560aad(0xff)](_0x349825=>{const _0x1af8d7=_0x560aad,_0x1727f8={};_0x1727f8[_0x1af8d7(0x124)]=_0x2dc6c7[_0x1af8d7(0x167)];const _0x323a88=_0x1727f8;if(_0x2dc6c7[_0x1af8d7(0x158)](_0x2dc6c7[_0x1af8d7(0x16f)],_0x2dc6c7[_0x1af8d7(0x16f)])){if(_0x2685a0)_0x3345dd['push'](_0x34c398[_0x1af8d7(0x131)](_0xb0d1a1['config'],_0x323a88[_0x1af8d7(0x124)],_0x5acc36));else _0x252f6e[_0x1af8d7(0x154)](_0x2c8877[_0x1af8d7(0x11f)](_0xe976a1[_0x1af8d7(0x149)],_0x323a88[_0x1af8d7(0x124)],_0x2e9a32));}else{let _0x422b66=_0x2dc6c7[_0x1af8d7(0x10b)](helper[_0x1af8d7(0x133)](_0x349825,'_'),'_'+Date[_0x1af8d7(0x170)]());if(_0x509377)_0x422b66+='_'+_0x509377;if(_0x509377&&(!_0x653495[_0x2dc6c7[_0x1af8d7(0x13c)]]||!_0x653495[_0x2dc6c7[_0x1af8d7(0x13c)]][_0x509377]))return;const _0x237acc={..._0x1019a8};_0x237acc['desiredCapabilities']=_0x349825;const _0x817b25=_0x237acc;_0x25fee3[_0x422b66]=_0x509377?helper[_0x1af8d7(0xfa)](_0x653495[_0x2dc6c7[_0x1af8d7(0x13c)]][_0x509377],_0x817b25):_0x817b25,_0x5db734[_0x1af8d7(0x154)](_0x422b66);}});});if(!_0x4f3af6[_0x26e570(0xf9)])_0x4f3af6['test_settings']={};_0x4f3af6['test_settings']={..._0x4f3af6[_0x26e570(0xf9)],..._0x25fee3};const _0x2a0258=path[_0x26e570(0x12d)](__dirname,_0x2dc6c7[_0x26e570(0x163)]);fs['writeFileSync'](_0x2a0258,JSON[_0x26e570(0x112)](_0x4f3af6)),_0x2dc6c7['cfNir'](removeExistingEnvs,_0x5d32a2);const _0x4bc845=_0x2dc6c7[_0x26e570(0x144)](spawn,/^win/[_0x26e570(0x166)](process[_0x26e570(0xfd)])?_0x2dc6c7[_0x26e570(0x130)]:_0x2dc6c7[_0x26e570(0x167)],[_0x2dc6c7[_0x26e570(0x10c)],_0x2a0258,..._0x5d32a2[_0x26e570(0x120)](0x1),_0x2dc6c7[_0x26e570(0x171)],_0x5db734[_0x26e570(0x12d)](',')],{'stdio':_0x2dc6c7[_0x26e570(0x106)]});_0x4bc845['on'](_0x2dc6c7[_0x26e570(0x136)],async _0x1eab75=>{const _0x4b3447=_0x26e570;if(_0x2dc6c7['KvEmt'](_0x2dc6c7['XJYfK'],_0x2dc6c7[_0x4b3447(0x100)]))logger[_0x4b3447(0x102)](_0x4b3447(0x101)+_0x1eab75),logger[_0x4b3447(0x147)](_0x4b3447(0x12e)+_0x2a0258),fs[_0x4b3447(0x15b)](_0x2a0258);else{let _0x2b4d2a=_0x2dc6c7[_0x4b3447(0x110)](_0x2a173f[_0x4b3447(0x133)](_0x457859,'_'),'_'+_0x418699[_0x4b3447(0x170)]());if(_0x9368a2)_0x2b4d2a+='_'+_0x606705;if(_0x2d4b8e&&(!_0x165572[_0x2dc6c7[_0x4b3447(0x13c)]]||!_0x19cc98[_0x2dc6c7[_0x4b3447(0x13c)]][_0x1d66bb]))return;const _0x432f5c={..._0x13b841};_0x432f5c[_0x4b3447(0x156)]=_0x382d8c;const _0x52c4bc=_0x432f5c;_0x4b897d[_0x2b4d2a]=_0x282af3?_0x32df3d[_0x4b3447(0xfa)](_0x5f3150[_0x2dc6c7[_0x4b3447(0x13c)]][_0x22feb5],_0x52c4bc):_0x52c4bc,_0x7f34b0['push'](_0x2b4d2a);}});}module[a22_0x318c8c(0x139)]=run;
|
|
2
|
+
'use strict';const a22_0x250e46=a22_0x4581;function a22_0x3ec7(){const _0x4b0b35=['KEuSI','iQOJt','QqDws','804hZUdDO','GYsZS','MwifK','test','4tqXyOQ','wfSum','push','21wMpfcV','hub.browserstack.com','iFKrD','AylqR','nightwatch.cmd','--config','EgAek','NgyGF','LFxAy','mihyL','inherit','existsSync','unlinkSync','eytWI','AQHUo','lgkCO','forEach','WVVzW','Ghopu','gmUDf','LYLkc','Vypho','Getting\x20your\x20nightwatch\x20configs\x20from\x20','close','desiredCapabilities','hkOsX','filter','YQrEv','tcZJb','phYkc','965310jqnRlO','vnVBh','aHdtn','mergeDeep','port','5676900ZXLGwS','now','findIndex','cwd','RFYpg','1534404GFTFuI','yiGmG','WMwgO','config','aLsbt','491467NxwOjz','304623SxrQev','AwqAo','ethyT','uCeKY','selenium','map','info','fxpZE','webdriver','test_settings','ziIVp','rkJmu','isUndefined','join','nightwatch.conf.js','AuzzA','modifyBrowserStackCaps','aQnHd','Deleting\x20','kairz','nightwatch','46607qbMwuc','168dCrlkO','lqVOG','Hhpry','GMagF','ohouX','KBlXF','lzwuC','modifyBrowserStackW3CCaps','qbsTh','icYcl','QImMf','xZnnO','exVeh','splice','getPlatformName','dDYxp','slice','env','winstonLogger','Zrpio','TqHSB','TcOHw','debug','VazpY','514923vlIqJf','child\x20process\x20exited\x20with\x20code\x20','2FbQdmX','XEESC','WyMBc','child_process','--env','trim','nightwatch-browserstack.json','JwiJe','platform','PKuUZ','SrmSb','../../helpers/helper','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack'];a22_0x3ec7=function(){return _0x4b0b35;};return a22_0x3ec7();}(function(_0x33860d,_0x1b217a){const _0x27ef7e=a22_0x4581,_0x77ac76=_0x33860d();while(!![]){try{const _0x459f72=-parseInt(_0x27ef7e(0x162))/0x1*(-parseInt(_0x27ef7e(0x11e))/0x2)+parseInt(_0x27ef7e(0x191))/0x3*(parseInt(_0x27ef7e(0x132))/0x4)+parseInt(_0x27ef7e(0x153))/0x5+parseInt(_0x27ef7e(0x15d))/0x6*(-parseInt(_0x27ef7e(0x135))/0x7)+parseInt(_0x27ef7e(0x179))/0x8*(parseInt(_0x27ef7e(0x163))/0x9)+-parseInt(_0x27ef7e(0x158))/0xa+parseInt(_0x27ef7e(0x178))/0xb*(parseInt(_0x27ef7e(0x12e))/0xc);if(_0x459f72===_0x1b217a)break;else _0x77ac76['push'](_0x77ac76['shift']());}catch(_0x578093){_0x77ac76['push'](_0x77ac76['shift']());}}}(a22_0x3ec7,0x7df68));function a22_0x4581(_0x58cd87,_0x32e010){const _0x3ec7c8=a22_0x3ec7();return a22_0x4581=function(_0x458158,_0xf88634){_0x458158=_0x458158-0x11e;let _0x1de03e=_0x3ec7c8[_0x458158];return _0x1de03e;},a22_0x4581(_0x58cd87,_0x32e010);}const fs=require('fs'),path=require('path'),{spawn}=require(a22_0x250e46(0x121)),logger=require('../../helpers/logger')[a22_0x250e46(0x18b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a22_0x250e46(0x129)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x21c70c,_0xe5aa28)=>{const _0x56c8c7=a22_0x250e46,_0x5694b1={'EgAek':function(_0x3f8f17,_0x3902e4){return _0x3f8f17+_0x3902e4;},'aLsbt':'test_settings','mihyL':_0x56c8c7(0x171),'GYsZS':'nightwatch.json','JwiJe':function(_0x5a45a9,_0x121062){return _0x5a45a9!==_0x121062;},'uCeKY':_0x56c8c7(0x17e),'RFYpg':_0x56c8c7(0x15f),'aHdtn':_0x56c8c7(0x151),'vnVBh':function(_0x5ad55d,_0x4f8df8){return _0x5ad55d===_0x4f8df8;},'ohouX':_0x56c8c7(0x11f),'SrmSb':function(_0x87ef8f,_0x3db404){return _0x87ef8f===_0x3db404;},'exVeh':_0x56c8c7(0x12b),'MwifK':function(_0x5d9b5b,_0x37d218){return _0x5d9b5b(_0x37d218);},'VazpY':'yucpx','iFKrD':'EglAp','AQHUo':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x42cdce=null,_0x51082d={};const _0xf37647=_0xe5aa28[_0x56c8c7(0x15a)](_0x470e9d=>_0x470e9d==_0x56c8c7(0x13a));if(!helper[_0x56c8c7(0x16f)](_0x21c70c[_0x56c8c7(0x160)])&&fs[_0x56c8c7(0x140)](path['join'](process[_0x56c8c7(0x15b)](),_0x21c70c['config'])))_0x5694b1[_0x56c8c7(0x125)](_0x5694b1[_0x56c8c7(0x166)],_0x5694b1[_0x56c8c7(0x166)])?(_0x3dba12=_0x592346['join'](_0x403e7d[_0x56c8c7(0x15b)](),_0x1d4194[_0x56c8c7(0x160)]),_0x18182c[_0x56c8c7(0x186)](_0x2cf668,0x2)):(_0x42cdce=path[_0x56c8c7(0x170)](process[_0x56c8c7(0x15b)](),_0x21c70c[_0x56c8c7(0x160)]),_0xe5aa28[_0x56c8c7(0x186)](_0xf37647,0x2));else{if(_0x5694b1['JwiJe'](_0x5694b1[_0x56c8c7(0x15c)],_0x5694b1['RFYpg'])){let _0x9c1bbf=_0x5694b1[_0x56c8c7(0x13b)](_0x1356c7[_0x56c8c7(0x187)](_0x438b96,'_'),'_'+_0x3e17b0['now']());if(_0x3f9b02)_0x9c1bbf+='_'+_0x44d4d2;if(_0x3c1902&&(!_0xb3a287[_0x5694b1[_0x56c8c7(0x161)]]||!_0x581cd9[_0x5694b1[_0x56c8c7(0x161)]][_0x1e7c50]))return;const _0x263bbf={..._0x42ada6};_0x263bbf['desiredCapabilities']=_0x828963;const _0x5c91ae=_0x263bbf;_0x542721[_0x9c1bbf]=_0x175931?_0x2b4962['mergeDeep'](_0x1a1a20[_0x5694b1[_0x56c8c7(0x161)]][_0x2b5a66],_0x5c91ae):_0x5c91ae,_0xcbb30[_0x56c8c7(0x134)](_0x9c1bbf);}else{if(fs[_0x56c8c7(0x140)](path['join'](process['cwd'](),_0x5694b1[_0x56c8c7(0x13e)]))){if(_0x5694b1[_0x56c8c7(0x125)](_0x5694b1['aHdtn'],_0x5694b1[_0x56c8c7(0x155)])){const _0x5714fa={'Zrpio':function(_0x563a24,_0x1af9bb){const _0x37e8ff=_0x56c8c7;return _0x5694b1[_0x37e8ff(0x13b)](_0x563a24,_0x1af9bb);},'wfSum':_0x5694b1[_0x56c8c7(0x161)]};_0x15bf7c[_0x56c8c7(0x145)](_0x572af7=>{const _0x6e8ae2=_0x56c8c7;let _0xfeade5=_0x5714fa[_0x6e8ae2(0x18c)](_0x166a58[_0x6e8ae2(0x187)](_0x572af7,'_'),'_'+_0x5b0eee[_0x6e8ae2(0x159)]());if(_0x6300a0)_0xfeade5+='_'+_0x5bb2ca;if(_0x410fae&&(!_0x13211e[_0x5714fa[_0x6e8ae2(0x133)]]||!_0x11655c[_0x5714fa['wfSum']][_0x263497]))return;const _0x8e2ee={..._0x2ab35f};_0x8e2ee[_0x6e8ae2(0x14d)]=_0x572af7;const _0x357bed=_0x8e2ee;_0x12d53e[_0xfeade5]=_0x35844a?_0x55a5d5['mergeDeep'](_0x329d54[_0x5714fa['wfSum']][_0x1210f5],_0x357bed):_0x357bed,_0x20f02c[_0x6e8ae2(0x134)](_0xfeade5);});}else _0x42cdce=path[_0x56c8c7(0x170)](process[_0x56c8c7(0x15b)](),_0x5694b1[_0x56c8c7(0x13e)]);}else{if(fs[_0x56c8c7(0x140)](path[_0x56c8c7(0x170)](process[_0x56c8c7(0x15b)](),_0x5694b1[_0x56c8c7(0x12f)]))){if(_0x5694b1[_0x56c8c7(0x154)](_0x5694b1[_0x56c8c7(0x17d)],_0x5694b1['ohouX']))_0x42cdce=path[_0x56c8c7(0x170)](process[_0x56c8c7(0x15b)](),_0x5694b1[_0x56c8c7(0x12f)]);else{if(_0x2f1fde[_0x56c8c7(0x140)](_0x24c7c1[_0x56c8c7(0x170)](_0x51041c[_0x56c8c7(0x15b)](),_0x5694b1[_0x56c8c7(0x13e)])))_0x1a4701=_0x3f3113[_0x56c8c7(0x170)](_0x30de4a[_0x56c8c7(0x15b)](),_0x5694b1[_0x56c8c7(0x13e)]);else _0x15d7e9[_0x56c8c7(0x140)](_0xf767f3['join'](_0x1f8f2f[_0x56c8c7(0x15b)](),_0x5694b1['GYsZS']))&&(_0x4a7b20=_0x5a20dc[_0x56c8c7(0x170)](_0x439be7[_0x56c8c7(0x15b)](),_0x5694b1['GYsZS']));}}}}}return _0x42cdce?_0x5694b1['SrmSb'](_0x5694b1[_0x56c8c7(0x185)],_0x5694b1[_0x56c8c7(0x185)])?(logger[_0x56c8c7(0x169)](_0x56c8c7(0x14b)+_0x42cdce),_0x51082d=_0x5694b1[_0x56c8c7(0x130)](require,_0x42cdce)):_0x4788a7[_0x56c8c7(0x186)](_0x348564,0x2):_0x5694b1[_0x56c8c7(0x128)](_0x5694b1[_0x56c8c7(0x190)],_0x5694b1[_0x56c8c7(0x137)])?_0x5d88d1=_0x3321e6[_0x56c8c7(0x170)](_0x53d938[_0x56c8c7(0x15b)](),_0x5694b1[_0x56c8c7(0x13e)]):logger[_0x56c8c7(0x169)](_0x5694b1[_0x56c8c7(0x143)]),_0x51082d;},removeExistingEnvs=_0x15d73f=>{const _0x363cc4=a22_0x250e46,_0x6f8977={};_0x6f8977['IGzdu']='Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file',_0x6f8977['gmUDf']=function(_0x5e13e8,_0x2418a3){return _0x5e13e8>_0x2418a3;},_0x6f8977[_0x363cc4(0x174)]=function(_0x5069e0,_0x3b48df){return _0x5069e0!==_0x3b48df;},_0x6f8977[_0x363cc4(0x146)]='lifWV',_0x6f8977[_0x363cc4(0x164)]=_0x363cc4(0x188),_0x6f8977[_0x363cc4(0x142)]=_0x363cc4(0x18d);const _0x57a476=_0x6f8977;let _0x46d2e8=_0x15d73f[_0x363cc4(0x15a)](_0x342494=>_0x342494==_0x363cc4(0x122));_0x57a476[_0x363cc4(0x148)](_0x46d2e8,-0x1)&&(_0x57a476[_0x363cc4(0x174)](_0x57a476[_0x363cc4(0x146)],_0x57a476[_0x363cc4(0x164)])?_0x15d73f[_0x363cc4(0x186)](_0x46d2e8,0x2):_0x108022[_0x363cc4(0x169)](_0x57a476['IGzdu'])),_0x46d2e8=_0x15d73f[_0x363cc4(0x15a)](_0x2c94f6=>_0x2c94f6=='-e'),_0x57a476[_0x363cc4(0x148)](_0x46d2e8,-0x1)&&(_0x57a476[_0x363cc4(0x174)](_0x57a476[_0x363cc4(0x142)],_0x57a476[_0x363cc4(0x142)])?(_0x3a2d7b[_0x363cc4(0x18f)](_0x363cc4(0x192)+_0x5340b5),_0x3f3faa[_0x363cc4(0x169)](_0x363cc4(0x175)+_0x4ff775),_0x4b0341[_0x363cc4(0x141)](_0x18347d)):_0x15d73f[_0x363cc4(0x186)](_0x46d2e8,0x2));};function run(_0x77aa4a,_0x263b9a){const _0x19c96f=a22_0x250e46,_0x46c8ed={'rkJmu':_0x19c96f(0x177),'TcOHw':function(_0x47283a,_0x500a7e){return _0x47283a===_0x500a7e;},'BfIxP':'AVath','CTIHF':_0x19c96f(0x152),'LYLkc':function(_0x577755,_0x3483fc){return _0x577755>_0x3483fc;},'LFxAy':function(_0x3588e4,_0xc1a9a){return _0x3588e4!==_0xc1a9a;},'fxpZE':_0x19c96f(0x12d),'GMagF':function(_0x355a64,_0x89e106){return _0x355a64+_0x89e106;},'lgkCO':_0x19c96f(0x16c),'lzwuC':'nightwatch.json','PifeW':_0x19c96f(0x138),'GVJiS':_0x19c96f(0x147),'QImMf':function(_0x1fbbbf,_0x11ba3c){return _0x1fbbbf(_0x11ba3c);},'kairz':function(_0x5b9b4a,_0x46e6bc){return _0x5b9b4a===_0x46e6bc;},'AuzzA':_0x19c96f(0x182),'qbsTh':'FoetN','NgyGF':function(_0x3ae6a7,_0x905722,_0x59ff59){return _0x3ae6a7(_0x905722,_0x59ff59);},'YQrEv':_0x19c96f(0x136),'Vypho':_0x19c96f(0x12a),'ethyT':function(_0x69fc5,_0x2d568a){return _0x69fc5==_0x2d568a;},'ziIVp':_0x19c96f(0x124),'JfbPx':function(_0x27875a,_0x5eb633){return _0x27875a(_0x5eb633);},'yiGmG':function(_0x1e1472,_0x236c7c,_0xf10e97,_0x191875){return _0x1e1472(_0x236c7c,_0xf10e97,_0x191875);},'PKuUZ':_0x19c96f(0x139),'hkOsX':'--config','xZnnO':'--env','lqVOG':_0x19c96f(0x13f),'iQOJt':_0x19c96f(0x14c)},_0x357a5e=new BrowserStackSetup(_0x77aa4a);if(!_0x357a5e[_0x19c96f(0x160)])return;const _0x19b3f2=_0x46c8ed[_0x19c96f(0x13c)](getUserNightwatchConfigs,_0x77aa4a,_0x263b9a),_0x2f61ac={};_0x2f61ac['start_process']=![];const _0x11ceaf={};_0x11ceaf['host']=_0x46c8ed[_0x19c96f(0x150)],_0x11ceaf[_0x19c96f(0x157)]=0x1bb;const _0xff7f91={};_0xff7f91[_0x19c96f(0x16b)]=_0x2f61ac,_0xff7f91[_0x19c96f(0x167)]=_0x11ceaf;const _0x5a44b8=_0xff7f91;logger['info'](_0x46c8ed[_0x19c96f(0x14a)]);const _0x9042e9={..._0x19b3f2},_0x4bd1fb=_0x9042e9;let _0x4049c3=helper['useW3C'](_0x357a5e[_0x19c96f(0x160)]);const _0x57dcb6=[];_0x357a5e[_0x19c96f(0x160)]['platforms'][_0x19c96f(0x145)]((_0x432d73,_0x113aea)=>{const _0x59d749=_0x19c96f;if(_0x46c8ed[_0x59d749(0x18e)](_0x46c8ed['BfIxP'],_0x46c8ed['CTIHF'])){if(_0x56ac11)_0x5e2127[_0x59d749(0x134)](_0x7050a9['modifyBrowserStackW3CCaps'](_0x4d39d0[_0x59d749(0x160)],_0x46c8ed[_0x59d749(0x16e)],_0x3c2059));else _0x4cd89e['push'](_0x4bd52a['modifyBrowserStackCaps'](_0x606217['config'],_0x46c8ed[_0x59d749(0x16e)],_0x2f4c78));}else{if(_0x4049c3)_0x57dcb6[_0x59d749(0x134)](helper[_0x59d749(0x180)](_0x357a5e[_0x59d749(0x160)],_0x46c8ed[_0x59d749(0x16e)],_0x113aea));else _0x57dcb6[_0x59d749(0x134)](helper[_0x59d749(0x173)](_0x357a5e[_0x59d749(0x160)],_0x46c8ed['rkJmu'],_0x113aea));}});const _0x24012a={},_0x913410=[];_0x77aa4a[_0x19c96f(0x18a)]=_0x77aa4a['env']||_0x77aa4a['e'];const _0x4d71a5=_0x77aa4a[_0x19c96f(0x18a)]?_0x77aa4a[_0x19c96f(0x18a)][_0x19c96f(0x123)]()['split'](',')[_0x19c96f(0x168)](_0x6ada55=>_0x6ada55['trim']())[_0x19c96f(0x14f)](_0x2d106b=>_0x2d106b!=''):[''];if(_0x46c8ed[_0x19c96f(0x165)](_0x4d71a5['length'],0x0))_0x4d71a5[_0x19c96f(0x134)]('');_0x4d71a5[_0x19c96f(0x145)](_0x895085=>{const _0x138eee=_0x19c96f,_0x10136c={};_0x10136c['WyMBc']=_0x46c8ed[_0x138eee(0x17f)];const _0x20a4bb=_0x10136c;_0x46c8ed[_0x138eee(0x13d)](_0x46c8ed['PifeW'],_0x46c8ed['GVJiS'])?_0x57dcb6[_0x138eee(0x145)](_0x105a70=>{const _0x47acc0=_0x138eee,_0x3afa42={'Hhpry':function(_0x2d9f68,_0x173f07){const _0x469f8d=a22_0x4581;return _0x46c8ed[_0x469f8d(0x149)](_0x2d9f68,_0x173f07);}};if(_0x46c8ed[_0x47acc0(0x13d)](_0x46c8ed[_0x47acc0(0x16a)],_0x46c8ed[_0x47acc0(0x16a)])){let _0x5d72d2=_0x7c6c05[_0x47acc0(0x15a)](_0x2f6bd2=>_0x2f6bd2==_0x47acc0(0x122));_0x3afa42[_0x47acc0(0x17b)](_0x5d72d2,-0x1)&&_0x17253a[_0x47acc0(0x186)](_0x5d72d2,0x2),_0x5d72d2=_0x1d2849['findIndex'](_0x4aeab7=>_0x4aeab7=='-e'),_0x3afa42['Hhpry'](_0x5d72d2,-0x1)&&_0x3624ba[_0x47acc0(0x186)](_0x5d72d2,0x2);}else{let _0x1757a5=_0x46c8ed[_0x47acc0(0x17c)](helper[_0x47acc0(0x187)](_0x105a70,'_'),'_'+Date[_0x47acc0(0x159)]());if(_0x895085)_0x1757a5+='_'+_0x895085;if(_0x895085&&(!_0x19b3f2[_0x46c8ed[_0x47acc0(0x144)]]||!_0x19b3f2[_0x46c8ed[_0x47acc0(0x144)]][_0x895085]))return;const _0x5139d2={..._0x5a44b8};_0x5139d2[_0x47acc0(0x14d)]=_0x105a70;const _0x3cad20=_0x5139d2;_0x24012a[_0x1757a5]=_0x895085?helper[_0x47acc0(0x156)](_0x19b3f2[_0x46c8ed[_0x47acc0(0x144)]][_0x895085],_0x3cad20):_0x3cad20,_0x913410[_0x47acc0(0x134)](_0x1757a5);}}):_0x82409=_0x56effa['join'](_0x49bde5['cwd'](),_0x20a4bb[_0x138eee(0x120)]);});if(!_0x4bd1fb['test_settings'])_0x4bd1fb[_0x19c96f(0x16c)]={};_0x4bd1fb['test_settings']={..._0x4bd1fb[_0x19c96f(0x16c)],..._0x24012a};const _0x3a6533=path['join'](__dirname,_0x46c8ed[_0x19c96f(0x16d)]);fs['writeFileSync'](_0x3a6533,JSON['stringify'](_0x4bd1fb)),_0x46c8ed['JfbPx'](removeExistingEnvs,_0x263b9a);const _0x516658=_0x46c8ed[_0x19c96f(0x15e)](spawn,/^win/[_0x19c96f(0x131)](process[_0x19c96f(0x126)])?_0x46c8ed[_0x19c96f(0x127)]:_0x46c8ed['rkJmu'],[_0x46c8ed[_0x19c96f(0x14e)],_0x3a6533,..._0x263b9a[_0x19c96f(0x189)](0x1),_0x46c8ed[_0x19c96f(0x184)],_0x913410['join'](',')],{'stdio':_0x46c8ed[_0x19c96f(0x17a)]});_0x516658['on'](_0x46c8ed[_0x19c96f(0x12c)],async _0x3626b2=>{const _0x2156e0=_0x19c96f;_0x46c8ed[_0x2156e0(0x176)](_0x46c8ed[_0x2156e0(0x172)],_0x46c8ed[_0x2156e0(0x181)])?(_0x45288c[_0x2156e0(0x169)](_0x2156e0(0x14b)+_0x57ad70),_0x3d8f5d=_0x46c8ed[_0x2156e0(0x183)](_0x1b89e7,_0x375a79)):(logger[_0x2156e0(0x18f)](_0x2156e0(0x192)+_0x3626b2),logger['info'](_0x2156e0(0x175)+_0x3a6533),fs['unlinkSync'](_0x3a6533));});}module['exports']=run;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a23_0x5d1e9d=a23_0x5025;function a23_0x9015(){const _0x1930c6=['wmQRI','KjfWl','gObcl','platforms','jSHKb','FtEyG','INTNy','inherit','findIndex','raBZo','../../helpers/test-observability/sessionHandler','OHfwd','BvXkC','filter','pObFh','JnSED','forEach','VkaAa','globalSetup','project','agUAa','info','TmzsB','omOoK','Lmtro','--config=','UcPaO','use','Gjobg','pXtGQ','includes','startsWith','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','ACuNb','foWbE','BLsZj','indexOf','map','YfQRd','7gGHMPb','Ytmue','--disable-browserstack-automation','sUVZa','VNhJI','erSyB','platform','close','DqurQ','hbvlE','jIUyD','unlinkSync','vKyQA','SepDq','MTUAJ','obsZt','xdiVz','getConfigPath','ipcrc','false','gwNtW','TRieJ','path','./reporter/reporter.js','paths','thhPu','BHsIi','BROWSERSTACK_AUTOMATION','KkUmm','../../helpers/helper','BKPBW','lfsmc','JWiUP','bMBUY','JvpBe','pqhrs','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','0|1|4|2|3','fjkrr','oGUNL','OhHly','MsMzX','projects','modifyBrowserStackCaps','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','--disable-test-observability','bcUAM','DtWoh','ZBJee','./globalSetup.js','YwTHo','../../bin/utils/constants','HJLXM','KwVWm','xgAfs','YxQzg','getProxyUrl','null','exitCode','push','lgNXN','LMTlX','jcGRw','TRzFq','kiYEY','319270BgszyP','DOAvw','EuRim','BvgRM','rMvVk','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','yxOjp','XSRzF','mHWNA','LwLGF','CWSBY','gBaVW','Symbol(defineConfigWasUsed)]','respectGitIgnore','filterBrowserstackConfig','module.exports\x20=\x20','cliConfig','debug','qhGcK','USNvg','CkPAo','psgud','dWDaY','wZonJ','hRxMW','zkzsD','hnXsV','YDLGB','oVwVE','spRFv','KpNzJ','eHypU','BsfhM','PLAYWRIGHT','JqOBq','1819484hWUpaT','iRnwv','bbBTS','length','xdKeN','gQjOe','trim','breakLength','JBDaR','VVlKa','jayXq','IdkyA','QqPmz','resolve','wSpBQ','JczXC','--config','RYypc','split','isFalse','FjpXa','rBCZv','splice','testIgnore','existsSync','DMyDp','3210296FyyASa','DlZop','uKNyH','4607094AQXWvJ','\x22;const\x20{\x20bootstrap\x20}\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22);bootstrap();','bfGXW','../utils/constants','initialize','--grep','testObservability','PWrDh','miZqc','UiTSF','Deleting\x20','nxpVS','dDJYi','BrowserStack\x20config\x20file\x20not\x20found.','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright','MtLSS','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','aOVjs','PPmQG','DFEbN','isTrue','workers','Symbol(\x27defineConfigWasUsed\x27)]','isYvW','182930tTkrpN','YUreF','vqSdn','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','sWWbE','get','parallelsPerPlatform','fUBmq','oSSjP','FZcbr','object','../../helpers/BrowserStackSetup','koqOP','vneRz','FhXXh','playwright','icysm','XZtGz','wiXKD','uakFL','vIYnI','fGmBJ','jpFmk','DgLBm','5suAjwi','MPWLL','gzEGg','depth','gOvZx','isUndefined','NNqPt','@playwright/test/lib/common/configLoader.js','automation','npx','LTmoj','TUkPz','testMatch','concat','Bezow','McbLU','xwxqz','jcQZv','oOiCB','mlaiD','LhQeX','slice','WkUlu','VWEfY','pLdio','OgITt','dVRnp','Zvonb','util','uHQNu','ZpWGH','uoOhj','LXUcK','JJrVM','lzoJI','iwTrn','cwd','xPeBd','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_OBSERVABILITY','nORnm','ZLBbd','JFpWp','child_process','../../helpers/logger','../../helpers/test-observability/utils','hnmzW','qrkWy','qksXA','knfgy','writeFileSync','UXpDS','ChKJD','VejlS','test','PyIMX','fLHUz','join','aQrYo','hJUvi','IecUX','mNDCm','tEdDr','OizNG','Getting\x20your\x20playwright\x20config\x20from\x20','HJVnR','RDzgA','env','fHjXM','requireModule','xCLqt','jdGDp','eeNcF','qPaNI','qNYaz','iqDWy','UQjdu','sRvyI','knVdr','TOcNT','GrraK','SsSnt','NxmzU','UIVLe','stringify','216RrXjak','config','eqBAl','BCLdq','mPQkq','argv','NAsiN','rjfoj','reporter','error','aqxpL','qvjLi','IFqnP','RJQKQ','osUFF','ispFW','TcZXq','testDir','yFrNJ','usFPM','BFOwD','zUSbb','BROWSERSTACK_RERUN','RdTqc','launch','bidBA','bZfAY','itJGQ','NGKjC','LPqph','IEdmU','CCuHv','xGyEU','compact','lEJcq','GONat','VMoOC','showHidden','SkydO','string','dirname','hWytM','1117221QkSUXs','exports','win32','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','201896qYEggx','TnuqC','plMiv','hIkRA','TLwCm','AioWV','rFZGj','MOvEH'];a23_0x9015=function(){return _0x1930c6;};return a23_0x9015();}(function(_0xf08c00,_0x392761){const _0x444ebe=a23_0x5025,_0x33f747=_0xf08c00();while(!![]){try{const _0x279926=parseInt(_0x444ebe(0x222))/0x1+-parseInt(_0x444ebe(0x2ea))/0x2+parseInt(_0x444ebe(0x21e))/0x3+-parseInt(_0x444ebe(0x2b5))/0x4+-parseInt(_0x444ebe(0x302))/0x5*(-parseInt(_0x444ebe(0x2d2))/0x6)+parseInt(_0x444ebe(0x251))/0x7*(parseInt(_0x444ebe(0x2cf))/0x8)+parseInt(_0x444ebe(0x1f4))/0x9*(-parseInt(_0x444ebe(0x292))/0xa);if(_0x279926===_0x392761)break;else _0x33f747['push'](_0x33f747['shift']());}catch(_0x1beb8b){_0x33f747['push'](_0x33f747['shift']());}}}(a23_0x9015,0x69307));const fs=require('fs'),path=require(a23_0x5d1e9d(0x267)),{spawn}=require(a23_0x5d1e9d(0x1ca)),{inspect,format}=require(a23_0x5d1e9d(0x31e)),logger=require(a23_0x5d1e9d(0x1cb))['winstonLogger'],{default:BrowserStackSetup}=require(a23_0x5d1e9d(0x2f5)),helper=require(a23_0x5d1e9d(0x26e)),constants=require(a23_0x5d1e9d(0x2d5)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath}=require('./reporter/pwUtils'),{CrashReporter,o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a23_0x5d1e9d(0x1cc)),{PLAYWRIGHT_HUB_URL}=require(a23_0x5d1e9d(0x284)),SessionHandler=require(a23_0x5d1e9d(0x234));function a23_0x5025(_0x36a2a3,_0x49f746){const _0x9015cd=a23_0x9015();return a23_0x5025=function(_0x502598,_0x577de4){_0x502598=_0x502598-0x1c9;let _0x2de3bc=_0x9015cd[_0x502598];return _0x2de3bc;},a23_0x5025(_0x36a2a3,_0x49f746);}async function requireOrImportDefaultObject(_0x33ef48){const _0x3dda46=a23_0x5d1e9d,_0x270b9d={'FeeaU':function(_0x5a6aa2){return _0x5a6aa2();},'CIyUB':function(_0x200b0a,_0x3dcce0){return _0x200b0a(_0x3dcce0);},'wiXKD':function(_0x40239c,_0x267483){return _0x40239c===_0x267483;},'raBZo':_0x3dda46(0x2f4),'OHfwd':function(_0x58c064,_0x272694){return _0x58c064 in _0x272694;},'TLwCm':'default'},{requireOrImport:_0x1e08fb}=helper['requireModule'](_0x270b9d['FeeaU'](getTransformPath));let _0x268ecd=await _0x270b9d['CIyUB'](_0x1e08fb,_0x33ef48);if(_0x268ecd&&_0x270b9d[_0x3dda46(0x2fc)](typeof _0x268ecd,_0x270b9d[_0x3dda46(0x233)])&&_0x270b9d[_0x3dda46(0x235)](_0x270b9d[_0x3dda46(0x226)],_0x268ecd))_0x268ecd=_0x268ecd[_0x270b9d['TLwCm']];return _0x268ecd;}const getUserPlaywrightConfig=async(_0x36f451,_0x5ca5f3)=>{const _0x4fb187=a23_0x5d1e9d,_0x547b76={'gOvZx':function(_0x286487,_0xd59659){return _0x286487>_0xd59659;},'zkzsD':function(_0x32619b,_0xf1a741){return _0x32619b===_0xf1a741;},'sRvyI':'test','HJLXM':_0x4fb187(0x245),'BCLdq':function(_0x2e888f,_0x1dc11e){return _0x2e888f+_0x1dc11e;},'xPeBd':function(_0x598f94,_0x1907eb){return _0x598f94(_0x1907eb);},'uakFL':_0x4fb187(0x30e),'hJUvi':'projects','lfsmc':'testIgnore','isYvW':_0x4fb187(0x2f9),'rjfoj':function(_0x5a43c6,_0xbcc773){return _0x5a43c6(_0xbcc773);},'LPqph':_0x4fb187(0x309),'iwTrn':'qfPTo','MsMzX':function(_0x226089,_0x5e25aa){return _0x226089!==_0x5e25aa;},'jIUyD':_0x4fb187(0x229),'UXpDS':function(_0x35cffb,_0x4a6de9){return _0x35cffb===_0x4a6de9;},'zUSbb':'hdURt','IEdmU':_0x4fb187(0x297),'CkPAo':function(_0x9fb0d5,_0x1e55c1){return _0x9fb0d5!==_0x1e55c1;},'FhXXh':_0x4fb187(0x208),'Bezow':_0x4fb187(0x221),'xwxqz':'KCZzq','aqxpL':_0x4fb187(0x303),'HLVAq':_0x4fb187(0x243)},_0x103baf=!helper[_0x4fb187(0x307)](_0x36f451['config']),_0x540026=_0x103baf?path['resolve'](process[_0x4fb187(0x326)](),_0x36f451[_0x4fb187(0x1f5)]):process['cwd'](),{resolveConfigFile:_0x16802a}=helper[_0x4fb187(0x1e4)](_0x547b76[_0x4fb187(0x211)]),_0x3bc2c3=_0x547b76[_0x4fb187(0x327)](_0x16802a,_0x540026);let _0x117f2e={};if(_0x3bc2c3){if(_0x547b76[_0x4fb187(0x2ab)](_0x547b76[_0x4fb187(0x325)],_0x547b76[_0x4fb187(0x325)])){logger[_0x4fb187(0x23f)](_0x4fb187(0x1df)+_0x3bc2c3);try{if(_0x547b76[_0x4fb187(0x27a)](_0x547b76['jIUyD'],_0x547b76[_0x4fb187(0x25b)])){if(_0x547b76[_0x4fb187(0x306)](_0x43c79b[_0x4fb187(0x2b8)],0x1)&&_0x547b76['zkzsD'](_0x29de1e[0x1],_0x547b76[_0x4fb187(0x1ec)]))return!![];return![];}else _0x117f2e=await _0x547b76[_0x4fb187(0x1fb)](requireOrImportDefaultObject,_0x3bc2c3);}catch(_0x28baca){if(_0x547b76[_0x4fb187(0x1d2)](_0x547b76['zUSbb'],_0x547b76[_0x4fb187(0x209)]))return logger[_0x4fb187(0x1fd)](_0x547b76[_0x4fb187(0x212)],_0x28baca),null;else{const _0x67da16={};_0x67da16[_0x547b76[_0x4fb187(0x285)]]={'connectOptions':{'wsEndpoint':_0x547b76[_0x4fb187(0x1f7)](_0x10f9ae,_0x547b76['xPeBd'](_0x14f6d7,_0x334f17[_0x4fb187(0x1f3)](_0x10577e)))}},_0x67da16[_0x547b76[_0x4fb187(0x2fd)]]=_0x4b9a5d,_0x2482d4[_0x547b76[_0x4fb187(0x1da)]][_0x4fb187(0x28c)](_0x67da16);}}}else _0x1d84e5[_0x4fb187(0x23d)][_0x547b76[_0x4fb187(0x270)]]=_0x26946f[_0x547b76['lfsmc']];}else _0x547b76[_0x4fb187(0x2a6)](_0x547b76[_0x4fb187(0x2f8)],_0x547b76[_0x4fb187(0x2f8)])?_0x68c93c[_0x4fb187(0x28c)](_0x50d460[_0x4fb187(0x27c)](_0x223ba4[_0x4fb187(0x1f5)],_0x547b76[_0x4fb187(0x2e9)],_0x4bf487)):logger[_0x4fb187(0x23f)](_0x547b76[_0x4fb187(0x310)]);if(_0x103baf){if(_0x547b76[_0x4fb187(0x1d2)](_0x547b76[_0x4fb187(0x312)],_0x547b76[_0x4fb187(0x1fe)])){const _0x237bdd={'frameworkName':_0x40abee[_0x4fb187(0x2b3)],'frameworkVersion':_0x547b76[_0x4fb187(0x1fb)](_0x2a84ed,_0xc56890[_0x4fb187(0x2b3)])};_0x258192[_0x4fb187(0x2d6)](_0x237bdd,_0x58bca3,_0x4f7cf9);}else{const _0x39e2a7=_0x5ca5f3['findIndex'](_0x27b60b=>_0x27b60b===_0x4fb187(0x2c5)||_0x27b60b==='-c'||_0x27b60b['startsWith'](_0x4fb187(0x243)));_0x5ca5f3[_0x4fb187(0x2cb)](_0x39e2a7,_0x5ca5f3[_0x39e2a7][_0x4fb187(0x249)](_0x547b76['HLVAq'])?0x1:0x2);}}const _0x512319={};return _0x512319[_0x4fb187(0x267)]=_0x3bc2c3,_0x512319[_0x4fb187(0x1f5)]=_0x117f2e,_0x512319;},setGlobalSetup=(_0x4abd0e,_0x3e98a7)=>{const _0xc057df=a23_0x5d1e9d,_0x20456b={'Ytmue':function(_0x70f4a5,_0x242c5f){return _0x70f4a5+_0x242c5f;},'JFpWp':_0xc057df(0x23c),'ispFW':_0xc057df(0x275),'erSyB':function(_0x5cd0fa,_0x2f343f){return _0x5cd0fa(_0x2f343f);},'PPmQG':function(_0x4feff3,_0x551b3c){return _0x4feff3!==_0x551b3c;},'dybou':_0xc057df(0x28a),'LhQeX':_0xc057df(0x2d7),'fGmBJ':'AfgRX','vKyQA':_0xc057df(0x1fa),'uKNyH':function(_0x574020,_0x4d6760){return _0x574020===_0x4d6760;},'TmzsB':_0xc057df(0x266),'DMyDp':_0xc057df(0x2d4),'gObcl':function(_0x209c03,_0x12dff9){return _0x209c03!==_0x12dff9;},'BsfhM':_0xc057df(0x324),'ewjri':'PQZIU','sUVZa':function(_0x226e70,_0x1417ec){return _0x226e70===_0x1417ec;},'YDLGB':_0xc057df(0x1f1),'cNrEL':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','uHQNu':_0xc057df(0x282)};if(!_0x4abd0e)return![];try{if(_0x20456b['PPmQG'](_0x20456b[_0xc057df(0x2ff)],_0x20456b[_0xc057df(0x25d)])){if(_0x4abd0e[_0xc057df(0x23c)]){if(_0x20456b[_0xc057df(0x2d1)](_0x20456b[_0xc057df(0x240)],_0x20456b[_0xc057df(0x2ce)]))_0x42fc02=_0x20456b[_0xc057df(0x252)](_0xc057df(0x27d)+_0x433e54+_0xc057df(0x2d3),_0xba7c81);else{let _0x5a1220;const _0x5ba4e3=path[_0xc057df(0x2c2)](_0x3e98a7,_0x4abd0e[_0x20456b[_0xc057df(0x1c9)]]);if(fs[_0xc057df(0x2cd)](_0x5ba4e3)){if(_0x20456b[_0xc057df(0x22c)](_0x20456b['BsfhM'],_0x20456b[_0xc057df(0x2b2)])){let _0x164279;const _0x119d95=_0x11d6cc[_0xc057df(0x2c2)](_0x33347c,_0x39b7fe[_0x20456b[_0xc057df(0x1c9)]]);if(_0x2ff152[_0xc057df(0x2cd)](_0x119d95))_0x164279=_0x119d95;else{const _0x35f049={};_0x35f049[_0xc057df(0x269)]=[_0x151918],_0x164279=_0x3b9b3c[_0xc057df(0x2c2)](_0x27741d[_0x20456b['JFpWp']],_0x35f049);}if(!_0x164279)throw new _0xe78bcc(_0x20456b[_0xc057df(0x203)]);_0x5cd69e[_0xc057df(0x1e2)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']=_0x164279;}else _0x5a1220=_0x5ba4e3;}else{if(_0x20456b[_0xc057df(0x2e4)](_0x20456b['ewjri'],_0x20456b['ewjri'])){_0x20456b[_0xc057df(0x256)](_0x47a753,_0x1b8c1e);return;}else{const _0x102242={};_0x102242[_0xc057df(0x269)]=[_0x3e98a7],_0x5a1220=require['resolve'](_0x4abd0e[_0x20456b[_0xc057df(0x1c9)]],_0x102242);}}if(!_0x5a1220)throw new Error(_0x20456b[_0xc057df(0x203)]);process['env'][_0xc057df(0x2e2)]=_0x5a1220;}}}else _0x26559a['split'](',')[_0xc057df(0x24f)](_0x403d96=>{const _0x2b5c7c=_0xc057df;_0x27241a[_0x2b5c7c(0x28c)]('('+_0x403d96[_0x2b5c7c(0x2bb)]()+')');});}catch(_0x59b885){if(_0x20456b[_0xc057df(0x254)](_0x20456b[_0xc057df(0x2ad)],_0x20456b['YDLGB']))logger[_0xc057df(0x1fd)](_0x20456b['Ytmue'](_0x20456b['cNrEL'],_0x20456b['erSyB'](format,_0x59b885)));else{const _0x21ffe2=_0x3b39a9[_0xc057df(0x1e2)][_0xc057df(0x328)],_0xcee737=[];_0x20456b[_0xc057df(0x2e4)](_0x21ffe2,_0x20456b['dybou'])&&_0x20456b[_0xc057df(0x2e4)](_0x21ffe2,null)&&_0x21ffe2[_0xc057df(0x2c7)](',')['map'](_0x584969=>{const _0x380bea=_0xc057df;_0xcee737[_0x380bea(0x28c)]('('+_0x584969[_0x380bea(0x2bb)]()+')');});const _0x21afdd='^'+_0xcee737[_0xc057df(0x1d8)]('|')+'$';_0x2128db[_0xc057df(0x28c)](_0x20456b[_0xc057df(0x316)],_0x21afdd);}}return _0x4abd0e[_0xc057df(0x23c)]=require[_0xc057df(0x2c2)](_0x20456b[_0xc057df(0x31f)]),!![];},addReporter=_0x5d8c26=>{const _0x19a895=a23_0x5d1e9d,_0x29ec73={'oGUNL':_0x19a895(0x245),'pLdio':function(_0x5486dd,_0x2c6150){return _0x5486dd+_0x2c6150;},'icysm':function(_0x1073ee,_0x551fa5){return _0x1073ee(_0x551fa5);},'bbBTS':_0x19a895(0x27b),'YUreF':_0x19a895(0x2df),'CCuHv':function(_0xf6eca0,_0x34e660){return _0xf6eca0+_0x34e660;},'uoOhj':_0x19a895(0x24a),'bMBUY':function(_0x4dd6b3,_0x364e2a){return _0x4dd6b3(_0x364e2a);},'TUkPz':_0x19a895(0x268),'jdGDp':_0x19a895(0x1fc),'hWytM':function(_0x1cb914,_0x56a01f){return _0x1cb914!==_0x56a01f;},'UHHCg':'VHGXt','AsYMe':'UQnZh','deLFU':function(_0x423c60,_0x2f2cc4){return _0x423c60===_0x2f2cc4;},'QqPmz':_0x19a895(0x21b),'qvjLi':_0x19a895(0x2f6),'vCqlU':_0x19a895(0x2a8),'PyIMX':function(_0x14b892,_0x49d44a){return _0x14b892===_0x49d44a;},'xGyEU':_0x19a895(0x2f4),'MtLSS':_0x19a895(0x260),'sWWbE':_0x19a895(0x2d0)},_0x5b265f=path['join'](__dirname,_0x29ec73[_0x19a895(0x30d)]),_0x3aaaab=[_0x5b265f];if(helper['isUndefined'](_0x5d8c26[_0x29ec73[_0x19a895(0x1e6)]])){if(_0x29ec73[_0x19a895(0x21d)](_0x29ec73['UHHCg'],_0x29ec73['AsYMe']))_0x5d8c26[_0x29ec73[_0x19a895(0x1e6)]]=[_0x3aaaab];else{const _0x21a862={};_0x21a862[_0x29ec73[_0x19a895(0x278)]]={'connectOptions':{'wsEndpoint':_0x29ec73[_0x19a895(0x31a)](_0x285fc2,_0x29ec73[_0x19a895(0x2fa)](_0x536e3d,_0x32a585[_0x19a895(0x1f3)](_0x26dc42)))}},_0x5b5a03[_0x29ec73[_0x19a895(0x2b7)]][_0x19a895(0x28c)](_0x21a862);}}else{if(_0x29ec73['deLFU'](typeof _0x5d8c26[_0x29ec73[_0x19a895(0x1e6)]],_0x29ec73[_0x19a895(0x2c1)])){if(_0x29ec73[_0x19a895(0x21d)](_0x29ec73[_0x19a895(0x1ff)],_0x29ec73['vCqlU']))_0x5d8c26[_0x29ec73['jdGDp']]=[[_0x5d8c26[_0x29ec73[_0x19a895(0x1e6)]]],_0x3aaaab];else{_0x3ed19f[_0x19a895(0x1fd)](_0x29ec73[_0x19a895(0x2eb)]);return;}}else _0x29ec73[_0x19a895(0x1d6)](typeof _0x5d8c26[_0x29ec73[_0x19a895(0x1e6)]],_0x29ec73[_0x19a895(0x214)])&&(_0x29ec73[_0x19a895(0x1d6)](_0x29ec73[_0x19a895(0x2e1)],_0x29ec73[_0x19a895(0x2ee)])?_0x56b6b6['error'](_0x29ec73[_0x19a895(0x213)](_0x29ec73[_0x19a895(0x321)],_0x29ec73[_0x19a895(0x272)](_0x20bf22,_0x582940))):_0x5d8c26[_0x29ec73[_0x19a895(0x1e6)]]['push'](_0x3aaaab));}},handleO11yRerun=_0x3746aa=>{const _0x252064=a23_0x5d1e9d,_0x39db49={'sbsvv':'reporter','SuFrg':function(_0xcc3d35,_0x3f1ce1){return _0xcc3d35(_0x3f1ce1);},'UcPaO':function(_0x2ea7a2,_0x3e4547){return _0x2ea7a2!==_0x3e4547;},'bZfAY':_0x252064(0x319),'qPaNI':'Symbol(defineConfigWasUsed)]','KSvNB':_0x252064(0x2e8),'vWmVG':function(_0x2399f9,_0x5aa2b4){return _0x2399f9===_0x5aa2b4;},'wVyKX':_0x252064(0x25f),'ubLDq':'null','bRPGM':function(_0xa313e8,_0x1752b1){return _0xa313e8!==_0x1752b1;},'JBDaR':function(_0x978e8a,_0x1389b0){return _0x978e8a===_0x1389b0;},'TRzFq':'qiKzA','qNYaz':'ZDWAN','BLsZj':'--grep'},_0x552490=helper[_0x252064(0x2e6)](process[_0x252064(0x1e2)]['BROWSERSTACK_RERUN']);if(_0x552490){if(_0x39db49['vWmVG'](_0x39db49['wVyKX'],_0x39db49['wVyKX'])){const _0x19e8ba=process['env'][_0x252064(0x328)],_0x1d5712=[];_0x39db49[_0x252064(0x244)](_0x19e8ba,_0x39db49['ubLDq'])&&_0x39db49['bRPGM'](_0x19e8ba,null)&&(_0x39db49[_0x252064(0x2bd)](_0x39db49[_0x252064(0x290)],_0x39db49[_0x252064(0x1e9)])?_0x803296[_0x39db49['sbsvv']]['push'](_0x14ca83):_0x19e8ba[_0x252064(0x2c7)](',')[_0x252064(0x24f)](_0x3ea181=>{const _0x166cc7=_0x252064,_0x17c1a1={'VejlS':function(_0x3fce1d,_0x23fd45){return _0x39db49['SuFrg'](_0x3fce1d,_0x23fd45);}};if(_0x39db49['UcPaO'](_0x39db49[_0x166cc7(0x20e)],_0x39db49[_0x166cc7(0x20e)])){_0x17c1a1[_0x166cc7(0x1d4)](_0x245493,_0x4a537f);return;}else _0x1d5712['push']('('+_0x3ea181[_0x166cc7(0x2bb)]()+')');}));const _0x302e5f='^'+_0x1d5712[_0x252064(0x1d8)]('|')+'$';_0x3746aa[_0x252064(0x28c)](_0x39db49[_0x252064(0x24d)],_0x302e5f);}else _0x308492=_0x31c7e4['replace'](_0x39db49[_0x252064(0x1e8)],_0x39db49['KSvNB']);}},spawnOriginalProcess=_0x517682=>{const _0x5e29e2=a23_0x5d1e9d,_0x21ce21={'qVymM':function(_0x119e84,_0x5c0f01,_0x1f611d,_0x4e3f12){return _0x119e84(_0x5c0f01,_0x1f611d,_0x4e3f12);},'RYypc':'npx','VNhJI':_0x5e29e2(0x2f9),'SsSnt':function(_0x5651d8,_0x39421b){return _0x5651d8===_0x39421b;},'hIkRA':'win32','xgAfs':'inherit'};_0x21ce21['qVymM'](spawn,_0x21ce21[_0x5e29e2(0x2c6)],[_0x21ce21[_0x5e29e2(0x255)],..._0x517682[_0x5e29e2(0x317)](0x1)],{'shell':_0x21ce21[_0x5e29e2(0x1f0)](process[_0x5e29e2(0x257)],_0x21ce21[_0x5e29e2(0x225)]),'stdio':_0x21ce21[_0x5e29e2(0x287)],'cwd':process[_0x5e29e2(0x326)]()});},isTestCommand=(_0x4d45aa,_0x43fcdf)=>{const _0x362841=a23_0x5d1e9d,_0x5f7815={'ITFas':_0x362841(0x245),'aQrYo':function(_0x183e43,_0x520678){return _0x183e43+_0x520678;},'KpNzJ':function(_0x145cd7,_0x1d3b02){return _0x145cd7(_0x1d3b02);},'ssIVu':_0x362841(0x30e),'DSRLV':_0x362841(0x27b),'IFqnP':function(_0x423c53,_0x197c57){return _0x423c53>_0x197c57;},'FlcPV':function(_0xc8717,_0x4b8ab1){return _0xc8717===_0x4b8ab1;},'xptne':_0x362841(0x1d5),'USNvg':function(_0x1f6b2b,_0x4e2aa1){return _0x1f6b2b===_0x4e2aa1;},'TnuqC':_0x362841(0x259),'xgpHx':'ukgMN'};if(_0x5f7815[_0x362841(0x200)](_0x43fcdf[_0x362841(0x2b8)],0x1)&&_0x5f7815['FlcPV'](_0x43fcdf[0x1],_0x5f7815['xptne'])){if(_0x5f7815[_0x362841(0x2a5)](_0x5f7815[_0x362841(0x223)],_0x5f7815['xgpHx'])){const _0x458f3e={'ZpWGH':_0x5f7815['ITFas'],'YwTHo':function(_0x314b06,_0x3a9756){const _0xa693dc=_0x362841;return _0x5f7815[_0xa693dc(0x1d9)](_0x314b06,_0x3a9756);},'usFPM':function(_0x1aa53b,_0x4d329f){const _0x23a4d3=_0x362841;return _0x5f7815[_0x23a4d3(0x2b0)](_0x1aa53b,_0x4d329f);},'oSSjP':_0x5f7815['ssIVu'],'BKPBW':_0x5f7815['DSRLV']};_0x36b37a[_0x362841(0x23a)](_0x21aa11=>{const _0x4c3cbf=_0x362841,_0x4e1973={};_0x4e1973[_0x458f3e[_0x4c3cbf(0x320)]]={'connectOptions':{'wsEndpoint':_0x458f3e[_0x4c3cbf(0x283)](_0x37d444,_0x458f3e[_0x4c3cbf(0x207)](_0x52778e,_0x502221[_0x4c3cbf(0x1f3)](_0x21aa11)))}},_0x4e1973[_0x458f3e[_0x4c3cbf(0x2f2)]]=_0x326fad,_0x4b3484[_0x458f3e[_0x4c3cbf(0x26f)]][_0x4c3cbf(0x28c)](_0x4e1973);});}else return!![];}return![];},initO11yCrashReporter=(_0x3d50e7,_0x3d7e38)=>{const _0x277402=a23_0x5d1e9d,_0xf13d7={'DtWoh':function(_0x423d18,_0x199d9d){return _0x423d18(_0x199d9d);}},_0x13f14d={'frameworkName':FRAMEWORKS[_0x277402(0x2b3)],'frameworkVersion':_0xf13d7[_0x277402(0x280)](getFrameworkVersion,FRAMEWORKS[_0x277402(0x2b3)])};CrashReporter['initialize'](_0x13f14d,_0x3d50e7,_0x3d7e38);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x1f5cee){const _0x3250c4=a23_0x5d1e9d,_0x4fad4e={'ACuNb':function(_0x1665a3,_0x5e5a18){return _0x1665a3(_0x5e5a18);},'yFrNJ':function(_0x3bd43d,_0x1bcddc){return _0x3bd43d>_0x1bcddc;},'LXUcK':function(_0x46a55c,_0x54147a){return _0x46a55c===_0x54147a;},'nxpVS':function(_0x540e79,_0x55eb00){return _0x540e79===_0x55eb00;},'VMoOC':_0x3250c4(0x293)},_0x477ab2=await SessionHandler[_0x3250c4(0x20c)](_0x1f5cee,{'frameworkName':FRAMEWORKS[_0x3250c4(0x2b3)],'frameworkVersion':_0x4fad4e[_0x3250c4(0x24b)](getFrameworkVersion,FRAMEWORKS[_0x3250c4(0x2b3)])});if(!_0x477ab2||_0x4fad4e[_0x3250c4(0x206)](_0x477ab2['length'],0x1)&&_0x4fad4e[_0x3250c4(0x322)](_0x477ab2[0x0],null)){if(_0x4fad4e[_0x3250c4(0x2dd)](_0x4fad4e[_0x3250c4(0x218)],_0x4fad4e[_0x3250c4(0x218)]))return process['env'][_0x3250c4(0x329)]=![],![];else _0x348ccf[_0x3250c4(0x1e2)][_0x3250c4(0x26c)]=!![];}return!![];});async function run(_0x48f1bd,_0x24460f){const _0x5906f7=a23_0x5d1e9d,_0x111fc4={'McbLU':_0x5906f7(0x264),'GONat':_0x5906f7(0x205),'UQjdu':_0x5906f7(0x245),'knfgy':function(_0x342654,_0x39ab70){return _0x342654+_0x39ab70;},'rFZGj':function(_0xf4c4ab,_0x1231d2){return _0xf4c4ab(_0x1231d2);},'KwVWm':'testMatch','fjkrr':_0x5906f7(0x27b),'DFEbN':_0x5906f7(0x243),'FtEyG':function(_0x2c5eb5,_0x1e7bd0){return _0x2c5eb5(_0x1e7bd0);},'bidBA':_0x5906f7(0x297),'TVsAF':_0x5906f7(0x2e0),'bcUAM':_0x5906f7(0x1fc),'oOiCB':function(_0x2e881a,_0x582e16){return _0x2e881a!==_0x582e16;},'gBaVW':'RsLnU','OhHly':_0x5906f7(0x2da),'ChKJD':_0x5906f7(0x2f9),'GrraK':_0x5906f7(0x23c),'JjAcj':_0x5906f7(0x275),'CCBJD':'./reporter/reporter.js','knVdr':function(_0x5dbd8d,_0x5931e9){return _0x5dbd8d===_0x5931e9;},'aOVjs':_0x5906f7(0x21b),'FZcbr':_0x5906f7(0x2f4),'hRxMW':_0x5906f7(0x221),'osUFF':function(_0x465e53,_0x348313){return _0x465e53+_0x348313;},'mNDCm':function(_0x13474e,_0x5e05a0){return _0x13474e(_0x5e05a0);},'rMvVk':function(_0x1bd93a,_0x384c5d){return _0x1bd93a===_0x384c5d;},'uJYUF':_0x5906f7(0x216),'fHjXM':function(_0x1c2992,_0x173273){return _0x1c2992+_0x173273;},'NBCbN':function(_0x3ed5d6,_0x549835){return _0x3ed5d6(_0x549835);},'qrkWy':_0x5906f7(0x30a),'LTmoj':function(_0x2689b9,_0x11e3e1){return _0x2689b9!==_0x11e3e1;},'tEdDr':_0x5906f7(0x230),'GtLSA':'bPcoa','Gjobg':function(_0x42a419,_0x540275,_0x1f5de6,_0xc7c8a8){return _0x42a419(_0x540275,_0x1f5de6,_0xc7c8a8);},'hnmzW':_0x5906f7(0x30b),'vqSdn':function(_0x510b12,_0x2d38f6){return _0x510b12===_0x2d38f6;},'XJKQB':_0x5906f7(0x220),'KjfWl':_0x5906f7(0x231),'kiYEY':_0x5906f7(0x227),'VVlKa':_0x5906f7(0x28a),'nORnm':_0x5906f7(0x2d7),'wZonJ':'0|2|4|1|3','NNqPt':_0x5906f7(0x2fe),'agUAa':_0x5906f7(0x28d),'JvpBe':_0x5906f7(0x253),'eeNcF':function(_0x2f39a1,_0x146add){return _0x2f39a1===_0x146add;},'IecUX':_0x5906f7(0x261),'mlaiD':_0x5906f7(0x271),'oDFWn':_0x5906f7(0x27e),'jpFmk':function(_0x109beb,_0x5c3640){return _0x109beb>=_0x5c3640;},'HMJDA':function(_0x178773,_0x1ad5b4){return _0x178773!==_0x1ad5b4;},'dGiDq':'ypPlQ','xmpED':_0x5906f7(0x201),'Lmtro':function(_0x75f75,_0x435377,_0x31c90a){return _0x75f75(_0x435377,_0x31c90a);},'jSHKb':function(_0x35c2be,_0x41f2b4){return _0x35c2be!==_0x41f2b4;},'plMiv':'mToOJ','vneRz':function(_0x2c8981,_0x212f16){return _0x2c8981(_0x212f16);},'YfQRd':function(_0x1d3871,_0x208ab0){return _0x1d3871!==_0x208ab0;},'SepDq':'LjmSi','aUAnk':'dpatG','XSRzF':_0x5906f7(0x2df),'ipcrc':_0x5906f7(0x1ee),'ZBJee':_0x5906f7(0x239),'xCLqt':function(_0x21def1,_0x4d0346){return _0x21def1!=_0x4d0346;},'Zvonb':_0x5906f7(0x298),'fBtBq':_0x5906f7(0x2de),'BewzH':function(_0x4059a3,_0x8d1aea){return _0x4059a3!==_0x8d1aea;},'YxQzg':_0x5906f7(0x29a),'JqOBq':_0x5906f7(0x2af),'rohCG':function(_0x38f21b,_0x31af8a){return _0x38f21b!==_0x31af8a;},'dVRnp':_0x5906f7(0x2ba),'foWbE':'vyoEA','wSpBQ':_0x5906f7(0x276),'fLHUz':_0x5906f7(0x2ed),'TCrFO':function(_0x267ec4,_0x1c6126,_0x495b33){return _0x267ec4(_0x1c6126,_0x495b33);},'hnXsV':function(_0x4d79f2,_0x1a0635){return _0x4d79f2(_0x1a0635);},'IdkyA':function(_0x47cb41,_0x27b79e){return _0x47cb41===_0x27b79e;},'jayXq':function(_0x545c1f,_0x544dc8){return _0x545c1f===_0x544dc8;},'DgLBm':'vacMU','jcQZv':'zwZeH','xdKeN':_0x5906f7(0x29c),'iolTU':'@playwright/test/lib/runner/projectUtils.js','OizNG':function(_0x519716,_0x246c70){return _0x519716===_0x246c70;},'JczXC':_0x5906f7(0x22a),'RDzgA':'riRcd','omOoK':function(_0x53ce09,_0x701f78){return _0x53ce09===_0x701f78;},'SkydO':_0x5906f7(0x236),'psgud':_0x5906f7(0x2b1),'BvgRM':'testIgnore','oJwfw':function(_0x49ef5e,_0x3f5493){return _0x49ef5e!==_0x3f5493;},'OgITt':_0x5906f7(0x25a),'PaBZU':_0x5906f7(0x265),'mPQkq':_0x5906f7(0x1f6),'jcGRw':_0x5906f7(0x26a),'ikYLT':'jGPnR','IiqqF':_0x5906f7(0x210),'wtsOK':_0x5906f7(0x2db),'ziHQi':function(_0x1651d0,_0x3ca646){return _0x1651d0*_0x3ca646;},'KkUmm':_0x5906f7(0x2e7),'gUFvu':'playwright-browserstack-sdk.config.js','VkaAa':_0x5906f7(0x29e),'FmLzJ':function(_0x495227,_0x4da9ce){return _0x495227!==_0x4da9ce;},'pXtGQ':_0x5906f7(0x2c9),'IdvZp':'LYHBW','qksXA':'Symbol(\x27defineConfigWasUsed\x27)]','EuRim':_0x5906f7(0x2a1),'BHsIi':function(_0x5e4ac6,_0x2d059f){return _0x5e4ac6!==_0x2d059f;},'itJGQ':'GWQAE','pqhrs':function(_0x180e60,_0x31e816){return _0x180e60+_0x31e816;},'fUBmq':function(_0x2c9741,_0x4538fe){return _0x2c9741+_0x4538fe;},'RdTqc':_0x5906f7(0x1d5),'tvNzX':_0x5906f7(0x2c5),'DiXuR':function(_0x22b214,_0x1afd18){return _0x22b214===_0x1afd18;},'CMFNz':_0x5906f7(0x258)};!helper['isFalse'](process['env'][_0x5906f7(0x26c)])&&(_0x111fc4[_0x5906f7(0x1ed)](_0x111fc4[_0x5906f7(0x308)],_0x111fc4[_0x5906f7(0x23e)])?(_0x4d8023[_0x5906f7(0x1e2)][_0x5906f7(0x26c)]=_0x111fc4[_0x5906f7(0x311)],_0x10442f=_0x1a205b[_0x5906f7(0x237)](_0x43c314=>_0x43c314!=='--disable-browserstack-automation')):process[_0x5906f7(0x1e2)][_0x5906f7(0x26c)]=!![]);process[_0x5906f7(0x1f9)][_0x5906f7(0x248)](_0x111fc4[_0x5906f7(0x273)])&&(_0x111fc4[_0x5906f7(0x1e7)](_0x111fc4[_0x5906f7(0x1db)],_0x111fc4[_0x5906f7(0x315)])?(_0xb8d48[_0x5906f7(0x1e2)][_0x5906f7(0x329)]=_0x111fc4[_0x5906f7(0x311)],_0x125342=_0x1d0483['filter'](_0x178503=>_0x178503!==_0x5906f7(0x27e))):(process[_0x5906f7(0x1e2)]['BROWSERSTACK_AUTOMATION']=_0x111fc4[_0x5906f7(0x311)],_0x24460f=_0x24460f[_0x5906f7(0x237)](_0x311da0=>_0x311da0!==_0x5906f7(0x253))));const _0x34abb6=_0x24460f[_0x5906f7(0x24e)](_0x111fc4['oDFWn']);if(_0x111fc4[_0x5906f7(0x300)](_0x34abb6,0x0)){if(_0x111fc4['HMJDA'](_0x111fc4['dGiDq'],_0x111fc4['xmpED']))process['env'][_0x5906f7(0x329)]=_0x111fc4['McbLU'],_0x24460f=_0x24460f[_0x5906f7(0x237)](_0x261b92=>_0x261b92!=='--disable-test-observability');else return!![];}if(!_0x111fc4[_0x5906f7(0x242)](isTestCommand,_0x48f1bd,_0x24460f)){if(_0x111fc4[_0x5906f7(0x22e)](_0x111fc4[_0x5906f7(0x224)],_0x111fc4[_0x5906f7(0x224)]))_0x35f911[_0x5906f7(0x28c)]('('+_0x14f347[_0x5906f7(0x2bb)]()+')');else{_0x111fc4['vneRz'](spawnOriginalProcess,_0x24460f);return;}}const _0xae5f5=new BrowserStackSetup(_0x48f1bd,FRAMEWORKS[_0x5906f7(0x2b3)]);if(!_0xae5f5['config']){if(_0x111fc4[_0x5906f7(0x250)](_0x111fc4[_0x5906f7(0x25e)],_0x111fc4['aUAnk'])){logger[_0x5906f7(0x1fd)](_0x111fc4[_0x5906f7(0x299)]);return;}else _0x264378[_0x5906f7(0x23d)][_0x111fc4[_0x5906f7(0x217)]]=_0x1b243f[_0x111fc4[_0x5906f7(0x217)]];}await _0xae5f5['initialize']();if(!helper['isUndefined'](_0xae5f5[_0x5906f7(0x2a2)])&&_0xae5f5[_0x5906f7(0x2a2)]['has'](_0x111fc4[_0x5906f7(0x1ce)])){if(_0x111fc4[_0x5906f7(0x1ed)](_0x111fc4[_0x5906f7(0x263)],_0x111fc4[_0x5906f7(0x281)])){const _0x348262={'DrczW':_0x111fc4[_0x5906f7(0x1eb)],'iRnwv':function(_0x365c14,_0xc95e86){const _0x22abac=_0x5906f7;return _0x111fc4[_0x22abac(0x1d0)](_0x365c14,_0xc95e86);},'eJeOq':function(_0x4c6398,_0x2766a2){const _0x532976=_0x5906f7;return _0x111fc4[_0x532976(0x228)](_0x4c6398,_0x2766a2);},'LMTlX':_0x111fc4['KwVWm'],'PWrDh':_0x111fc4[_0x5906f7(0x277)]};_0x209ef1[_0x5906f7(0x23a)](_0x528ab1=>{const _0x51f21b=_0x5906f7,_0x58a6e4={'HJVnR':_0x348262['DrczW'],'oVwVE':function(_0x31dddb,_0x56228a){const _0x40b12b=a23_0x5025;return _0x348262[_0x40b12b(0x2b6)](_0x31dddb,_0x56228a);},'UIVLe':function(_0xa9dc22,_0x46ac50){return _0x348262['eJeOq'](_0xa9dc22,_0x46ac50);},'eYbwK':_0x348262[_0x51f21b(0x28e)],'LwLGF':_0x348262[_0x51f21b(0x2d9)]};_0x2660a4[_0x51f21b(0x23a)](_0x133944=>{const _0x427d4a=_0x51f21b,_0x369934={};_0x369934[_0x58a6e4[_0x427d4a(0x1e0)]]={'connectOptions':{'wsEndpoint':_0x58a6e4[_0x427d4a(0x2ae)](_0x2115cd,_0x58a6e4[_0x427d4a(0x1f2)](_0x2ce897,_0x5236a0[_0x427d4a(0x1f3)](_0x133944)))}},_0x369934[_0x58a6e4['eYbwK']]=_0x528ab1,_0x3bec26[_0x58a6e4[_0x427d4a(0x29b)]][_0x427d4a(0x28c)](_0x369934);});}),_0x221b34[_0x111fc4[_0x5906f7(0x286)]]='',_0xc15cae[_0x111fc4[_0x5906f7(0x217)]]='';}else process['env'][_0x5906f7(0x26c)]=_0xae5f5[_0x5906f7(0x2a2)][_0x5906f7(0x2ef)](_0x111fc4['qrkWy'])||!![];}if(_0x111fc4[_0x5906f7(0x1e5)](_0xae5f5['config'][_0x5906f7(0x2d8)],null)&&!helper[_0x5906f7(0x2e6)](process[_0x5906f7(0x1e2)]['BROWSERSTACK_TEST_OBSERVABILITY'])){if(_0x111fc4[_0x5906f7(0x1ed)](_0x111fc4[_0x5906f7(0x31d)],_0x111fc4['fBtBq'])){const _0x4fc54f=_0x42a39b[_0x5906f7(0x232)](_0x59b5be=>_0x59b5be===_0x5906f7(0x2c5)||_0x59b5be==='-c'||_0x59b5be[_0x5906f7(0x249)](_0x5906f7(0x243)));_0x48cd70['splice'](_0x4fc54f,_0x1d7238[_0x4fc54f][_0x5906f7(0x249)](_0x111fc4[_0x5906f7(0x2e5)])?0x1:0x2);}else process['env'][_0x5906f7(0x329)]=process['env'][_0x5906f7(0x329)]||_0xae5f5[_0x5906f7(0x1f5)]['testObservability'];}const _0x4edc3f=!helper[_0x5906f7(0x2c8)](process['env'][_0x5906f7(0x329)]),_0x568943=_0x24460f[_0x5906f7(0x30f)](),_0x43b20b=await _0x111fc4[_0x5906f7(0x242)](getUserPlaywrightConfig,_0x48f1bd,_0x24460f);if(helper[_0x5906f7(0x307)](_0x43b20b)){if(_0x111fc4['BewzH'](_0x111fc4[_0x5906f7(0x288)],_0x111fc4[_0x5906f7(0x2b4)])){_0x111fc4[_0x5906f7(0x2f7)](spawnOriginalProcess,_0x568943);return;}else{_0x111fc4['FtEyG'](_0x57baf1,_0x224db9);return;}}const _0x5598e3={..._0x43b20b[_0x5906f7(0x1f5)]},_0xc97d5a=_0x5598e3,_0x7ed4d9=_0x43b20b[_0x5906f7(0x267)]?path[_0x5906f7(0x21c)](_0x43b20b[_0x5906f7(0x267)]):process['cwd']();if(!_0x111fc4[_0x5906f7(0x242)](setGlobalSetup,_0xc97d5a,_0x7ed4d9)){if(_0x111fc4['rohCG'](_0x111fc4[_0x5906f7(0x31c)],_0x111fc4[_0x5906f7(0x31c)]))return _0x1859b2[_0x5906f7(0x1fd)](_0x111fc4[_0x5906f7(0x20d)],_0x54a10f),null;else{_0x111fc4[_0x5906f7(0x1dc)](spawnOriginalProcess,_0x568943);return;}}if(_0x4edc3f){if(_0x111fc4[_0x5906f7(0x22e)](_0x111fc4[_0x5906f7(0x24c)],_0x111fc4[_0x5906f7(0x24c)]))_0x4d61b1[_0x5906f7(0x2a3)](_0x111fc4['TVsAF']);else{const _0x1eb9a6=_0x111fc4[_0x5906f7(0x2c3)][_0x5906f7(0x2c7)]('|');let _0xae79cb=0x0;while(!![]){switch(_0x1eb9a6[_0xae79cb++]){case'0':logger[_0x5906f7(0x23f)](_0x111fc4[_0x5906f7(0x1d7)]);continue;case'1':_0x111fc4['TCrFO'](initO11yCrashReporter,_0xc97d5a,_0xae5f5[_0x5906f7(0x1f5)]);continue;case'2':_0x111fc4[_0x5906f7(0x2f7)](handleO11yRerun,_0x24460f);continue;case'3':await _0x111fc4[_0x5906f7(0x2ac)](launchO11ySession,_0xae5f5[_0x5906f7(0x1f5)]);continue;case'4':_0x111fc4[_0x5906f7(0x2f7)](addReporter,_0xc97d5a);continue;}break;}}}(helper[_0x5906f7(0x307)](_0xae5f5[_0x5906f7(0x1f5)]['platforms'])||_0x111fc4[_0x5906f7(0x2c0)](_0xae5f5[_0x5906f7(0x1f5)]['platforms']['length'],0x0))&&(_0x111fc4[_0x5906f7(0x2bf)](_0x111fc4[_0x5906f7(0x301)],_0x111fc4[_0x5906f7(0x301)])?process['env'][_0x5906f7(0x26c)]=![]:_0x3e928a['env'][_0x5906f7(0x26c)]=![]);if(helper[_0x5906f7(0x2e6)](process['env'][_0x5906f7(0x26c)])){if(_0x111fc4[_0x5906f7(0x22e)](_0x111fc4[_0x5906f7(0x313)],_0x111fc4[_0x5906f7(0x313)]))_0x10cdca[_0x111fc4['bcUAM']]=[[_0x2830d3[_0x111fc4[_0x5906f7(0x27f)]]],_0xb3cf3f];else{_0xc97d5a[_0x111fc4[_0x5906f7(0x277)]]=[];const _0x18e869=[];_0xae5f5[_0x5906f7(0x1f5)][_0x5906f7(0x22d)]['forEach']((_0x235867,_0xc601ed)=>{const _0x4040f5=_0x5906f7;if(_0x111fc4[_0x4040f5(0x314)](_0x111fc4[_0x4040f5(0x29d)],_0x111fc4[_0x4040f5(0x279)]))_0x18e869[_0x4040f5(0x28c)](helper['modifyBrowserStackCaps'](_0xae5f5[_0x4040f5(0x1f5)],_0x111fc4[_0x4040f5(0x1d3)],_0xc601ed));else return _0x5a7bbf[_0x4040f5(0x1e2)][_0x4040f5(0x329)]=![],![];});let _0x1d590f=[];try{if(_0x111fc4[_0x5906f7(0x2ec)](_0x111fc4[_0x5906f7(0x2b9)],_0x111fc4[_0x5906f7(0x2b9)])){const _0x5d36d5=helper[_0x5906f7(0x1e4)](_0x111fc4['iolTU']),_0x3a4052={};_0x3a4052[_0x5906f7(0x29f)]=!![],_0x3a4052[_0x5906f7(0x205)]='',_0x3a4052[_0x5906f7(0x30e)]='',_0x3a4052[_0x5906f7(0x2cc)]='';const _0x12f5a1={};_0x12f5a1[_0x5906f7(0x23d)]=_0x3a4052;const _0x5c0d72=_0x12f5a1;if(_0xc97d5a[_0x111fc4['GONat']]){if(_0x111fc4[_0x5906f7(0x1de)](_0x111fc4[_0x5906f7(0x2c4)],_0x111fc4[_0x5906f7(0x1e1)])){if(_0x3cd6b7['globalSetup']){let _0x56aa9f;const _0x47aa58=_0x4de054[_0x5906f7(0x2c2)](_0x2a3c71,_0x36e94c[_0x111fc4[_0x5906f7(0x1ef)]]);if(_0x11314e[_0x5906f7(0x2cd)](_0x47aa58))_0x56aa9f=_0x47aa58;else{const _0x76f00d={};_0x76f00d[_0x5906f7(0x269)]=[_0x2bdfde],_0x56aa9f=_0x1005d9[_0x5906f7(0x2c2)](_0x160551[_0x111fc4[_0x5906f7(0x1ef)]],_0x76f00d);}if(!_0x56aa9f)throw new _0x3790d5(_0x111fc4['JjAcj']);_0x34937d['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']=_0x56aa9f;}}else _0x5c0d72[_0x5906f7(0x23d)][_0x111fc4[_0x5906f7(0x217)]]=_0xc97d5a[_0x111fc4[_0x5906f7(0x217)]];}_0xc97d5a[_0x111fc4[_0x5906f7(0x286)]]&&(_0x111fc4[_0x5906f7(0x241)](_0x111fc4[_0x5906f7(0x21a)],_0x111fc4[_0x5906f7(0x2a7)])?_0x30e44d['project'][_0x111fc4[_0x5906f7(0x286)]]=_0x56d68f[_0x111fc4[_0x5906f7(0x286)]]:_0x5c0d72[_0x5906f7(0x23d)][_0x111fc4['KwVWm']]=_0xc97d5a[_0x111fc4[_0x5906f7(0x286)]]);if(_0xc97d5a[_0x111fc4['BvgRM']]){if(_0x111fc4['oJwfw'](_0x111fc4[_0x5906f7(0x31b)],_0x111fc4['PaBZU']))_0x5c0d72[_0x5906f7(0x23d)][_0x111fc4[_0x5906f7(0x295)]]=_0xc97d5a[_0x111fc4[_0x5906f7(0x295)]];else{const _0x5aaad1=_0x2055f4[_0x5906f7(0x1d8)](_0x283fe8,_0x111fc4['CCBJD']),_0xac8d29=[_0x5aaad1];if(_0x36a913['isUndefined'](_0x834dc7[_0x111fc4[_0x5906f7(0x27f)]]))_0x5d6aca[_0x111fc4[_0x5906f7(0x27f)]]=[_0xac8d29];else{if(_0x111fc4[_0x5906f7(0x1ed)](typeof _0x5b540b[_0x111fc4[_0x5906f7(0x27f)]],_0x111fc4[_0x5906f7(0x2e3)]))_0x4f989e[_0x111fc4[_0x5906f7(0x27f)]]=[[_0x240675[_0x111fc4[_0x5906f7(0x27f)]]],_0xac8d29];else _0x111fc4[_0x5906f7(0x1ed)](typeof _0x5310da[_0x111fc4[_0x5906f7(0x27f)]],_0x111fc4[_0x5906f7(0x2f3)])&&_0x4bd78a[_0x111fc4[_0x5906f7(0x27f)]][_0x5906f7(0x28c)](_0xac8d29);}}}_0x1d590f=await _0x5d36d5['collectFilesForProject'](_0x5c0d72);}else{const _0x1e468d={};_0x1e468d[_0x5906f7(0x269)]=[_0x996c51],_0x5965a8=_0x1b6b18['resolve'](_0xae50db[_0x111fc4[_0x5906f7(0x1ef)]],_0x1e468d);}}catch(_0x567fdc){_0x111fc4['rMvVk'](_0x111fc4[_0x5906f7(0x1f8)],_0x111fc4[_0x5906f7(0x1f8)])?logger[_0x5906f7(0x2a3)](_0x111fc4['TVsAF']):_0x217fc1[_0x5906f7(0x23f)](_0x111fc4[_0x5906f7(0x2aa)]);}_0x1d590f['length']?_0x111fc4[_0x5906f7(0x296)](_0x111fc4[_0x5906f7(0x28f)],_0x111fc4['ikYLT'])?_0x545524[_0x5906f7(0x1e2)][_0x5906f7(0x329)]=_0x2c27b5['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x1e8c6['config'][_0x5906f7(0x2d8)]:(_0x1d590f[_0x5906f7(0x23a)](_0x419e5c=>{const _0x3c75b2=_0x5906f7;_0x111fc4[_0x3c75b2(0x30c)](_0x111fc4[_0x3c75b2(0x1dd)],_0x111fc4['GtLSA'])?_0x18e869[_0x3c75b2(0x23a)](_0x4cf9bd=>{const _0x7075c2=_0x3c75b2,_0x599cb3={'rBCZv':_0x111fc4[_0x7075c2(0x1eb)],'kmXsq':function(_0x2a05ef,_0x390fa8){const _0x1dd50f=_0x7075c2;return _0x111fc4[_0x1dd50f(0x202)](_0x2a05ef,_0x390fa8);},'TcZXq':function(_0x4ee85d,_0x174ea8){const _0x25616c=_0x7075c2;return _0x111fc4[_0x25616c(0x1dc)](_0x4ee85d,_0x174ea8);},'kvPFG':_0x111fc4[_0x7075c2(0x277)]};if(_0x111fc4[_0x7075c2(0x296)](_0x111fc4['uJYUF'],_0x111fc4['uJYUF'])){const _0x4e8cfe={};_0x4e8cfe[_0x111fc4[_0x7075c2(0x1eb)]]={'connectOptions':{'wsEndpoint':_0x111fc4[_0x7075c2(0x1e3)](PLAYWRIGHT_HUB_URL,_0x111fc4['NBCbN'](encodeURIComponent,JSON[_0x7075c2(0x1f3)](_0x4cf9bd)))}},_0x4e8cfe[_0x111fc4[_0x7075c2(0x286)]]=_0x419e5c,_0xc97d5a[_0x111fc4[_0x7075c2(0x277)]]['push'](_0x4e8cfe);}else{const _0x49dcc7={'CJLle':_0x599cb3[_0x7075c2(0x2ca)],'qhGcK':function(_0x26ff25,_0x3a3094){return _0x599cb3['kmXsq'](_0x26ff25,_0x3a3094);},'XZtGz':function(_0x150e13,_0x4ce80d){const _0xdba8fa=_0x7075c2;return _0x599cb3[_0xdba8fa(0x204)](_0x150e13,_0x4ce80d);},'WkUlu':_0x599cb3['kvPFG']};_0x2d57cb['forEach'](_0x1c62dc=>{const _0x2e00ce=_0x7075c2,_0x1498d7={};_0x1498d7[_0x49dcc7['CJLle']]={'connectOptions':{'wsEndpoint':_0x49dcc7[_0x2e00ce(0x2a4)](_0x3ca85e,_0x49dcc7[_0x2e00ce(0x2fb)](_0x569118,_0x569be4[_0x2e00ce(0x1f3)](_0x1c62dc)))}},_0x20756c[_0x49dcc7[_0x2e00ce(0x318)]]['push'](_0x1498d7);});}}):_0xe8604a[_0x3c75b2(0x1e2)][_0x3c75b2(0x26c)]=_0x11079d['cliConfig'][_0x3c75b2(0x2ef)](_0x111fc4[_0x3c75b2(0x1ce)])||!![];}),_0xc97d5a[_0x111fc4['KwVWm']]='',_0xc97d5a[_0x111fc4[_0x5906f7(0x217)]]=''):_0x111fc4[_0x5906f7(0x250)](_0x111fc4['IiqqF'],_0x111fc4['wtsOK'])?_0x18e869['forEach'](_0x1d3bb8=>{const _0x247e96=_0x5906f7,_0x3f063f={'JJrVM':function(_0x18e38a,_0x3c42a3,_0x239aa9,_0x49b5ec){const _0x2cc472=a23_0x5025;return _0x111fc4[_0x2cc472(0x246)](_0x18e38a,_0x3c42a3,_0x239aa9,_0x49b5ec);},'XhXPp':_0x111fc4[_0x247e96(0x1cd)],'ZLBbd':_0x111fc4[_0x247e96(0x1d3)],'iqDWy':function(_0x46d300,_0x51007f){const _0xac2315=_0x247e96;return _0x111fc4[_0xac2315(0x2ec)](_0x46d300,_0x51007f);},'pObFh':_0x111fc4['XJKQB'],'gzEGg':_0x111fc4[_0x247e96(0x22b)]};if(_0x111fc4[_0x247e96(0x30c)](_0x111fc4[_0x247e96(0x291)],_0x111fc4[_0x247e96(0x291)]))_0x3f063f[_0x247e96(0x323)](_0x1c60bc,_0x3f063f['XhXPp'],[_0x3f063f[_0x247e96(0x32b)],..._0x45a00a[_0x247e96(0x317)](0x1)],{'shell':_0x3f063f[_0x247e96(0x1ea)](_0x5d3090[_0x247e96(0x257)],_0x3f063f[_0x247e96(0x238)]),'stdio':_0x3f063f[_0x247e96(0x304)],'cwd':_0xc05f6d['cwd']()});else{const _0x52c7e1={};_0x52c7e1[_0x111fc4['UQjdu']]={'connectOptions':{'wsEndpoint':_0x111fc4[_0x247e96(0x202)](PLAYWRIGHT_HUB_URL,_0x111fc4[_0x247e96(0x22f)](encodeURIComponent,JSON['stringify'](_0x1d3bb8)))}},_0xc97d5a[_0x111fc4[_0x247e96(0x277)]][_0x247e96(0x28c)](_0x52c7e1);}}):_0x5a107c=_0x3d0114;const _0x4f0a60=_0x111fc4['ziHQi'](_0xae5f5[_0x5906f7(0x1f5)][_0x5906f7(0x22d)][_0x5906f7(0x2b8)]||0x1,_0xae5f5[_0x5906f7(0x1f5)][_0x5906f7(0x2f0)]);_0xc97d5a[_0x111fc4[_0x5906f7(0x26d)]]=_0x4f0a60;}}const _0x59f330=path['join'](_0x43b20b[_0x5906f7(0x267)]?path[_0x5906f7(0x21c)](_0x43b20b[_0x5906f7(0x267)]):process[_0x5906f7(0x326)](),_0x111fc4['gUFvu']),_0x16e589={};_0x16e589[_0x5906f7(0x305)]=null,_0x16e589[_0x5906f7(0x215)]=!![],_0x16e589[_0x5906f7(0x2bc)]=Infinity,_0x16e589[_0x5906f7(0x219)]=![];let _0x1cc6ed=_0x111fc4[_0x5906f7(0x242)](inspect,_0xc97d5a,_0x16e589);_0x1cc6ed[_0x5906f7(0x248)](_0x111fc4['VkaAa'])&&(_0x111fc4['FmLzJ'](_0x111fc4[_0x5906f7(0x247)],_0x111fc4['IdvZp'])?_0x1cc6ed=_0x1cc6ed['replace'](_0x111fc4[_0x5906f7(0x23b)],_0x111fc4[_0x5906f7(0x1cf)]):_0x2bdebb[_0x111fc4[_0x5906f7(0x27f)]]=[_0x2475e0]);let _0x5e5898=_0x111fc4[_0x5906f7(0x294)];const _0x4064ba=helper[_0x5906f7(0x289)](_0xae5f5[_0x5906f7(0x1f5)]);if(_0x4064ba){if(_0x111fc4[_0x5906f7(0x26b)](_0x111fc4['itJGQ'],_0x111fc4[_0x5906f7(0x20f)])){const _0x34384c=_0x50e27c['isTrue'](_0x55044a[_0x5906f7(0x1e2)][_0x5906f7(0x20a)]);if(_0x34384c){const _0x1cdcc4=_0x1216e9['env'][_0x5906f7(0x328)],_0x29bc14=[];_0x111fc4[_0x5906f7(0x30c)](_0x1cdcc4,_0x111fc4[_0x5906f7(0x2be)])&&_0x111fc4[_0x5906f7(0x30c)](_0x1cdcc4,null)&&_0x1cdcc4['split'](',')[_0x5906f7(0x24f)](_0xd79c7c=>{const _0x4e5d0e=_0x5906f7;_0x29bc14[_0x4e5d0e(0x28c)]('('+_0xd79c7c[_0x4e5d0e(0x2bb)]()+')');});const _0x5ef5f8='^'+_0x29bc14[_0x5906f7(0x1d8)]('|')+'$';_0x1b4898[_0x5906f7(0x28c)](_0x111fc4[_0x5906f7(0x32a)],_0x5ef5f8);}}else _0x5e5898=_0x111fc4[_0x5906f7(0x274)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x4064ba+_0x5906f7(0x2d3),_0x5e5898);}helper[_0x5906f7(0x2a0)]({},_0x24460f),fs[_0x5906f7(0x1d1)](_0x59f330,_0x111fc4[_0x5906f7(0x2f1)](_0x5e5898,_0x1cc6ed));const _0xdbc8dc=_0x111fc4[_0x5906f7(0x246)](spawn,_0x111fc4[_0x5906f7(0x1cd)],[_0x111fc4[_0x5906f7(0x1d3)],_0x111fc4[_0x5906f7(0x20b)],_0x111fc4['tvNzX'],_0x59f330,..._0x24460f[_0x5906f7(0x317)](0x2)],{'shell':_0x111fc4['DiXuR'](process[_0x5906f7(0x257)],_0x111fc4['XJKQB']),'stdio':_0x111fc4[_0x5906f7(0x22b)],'cwd':process[_0x5906f7(0x326)](),'env':{...process[_0x5906f7(0x1e2)],'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5906f7(0x262)](_0x48f1bd)}});_0xdbc8dc['on'](_0x111fc4['CMFNz'],async _0x4f307d=>{const _0x4ee89b=_0x5906f7,_0x300c1b=_0x111fc4[_0x4ee89b(0x2a9)]['split']('|');let _0x26734c=0x0;while(!![]){switch(_0x300c1b[_0x26734c++]){case'0':await helper['finalExecution'](_0xae5f5);continue;case'1':logger[_0x4ee89b(0x23f)](_0x4ee89b(0x2dc)+_0x59f330);continue;case'2':process[_0x4ee89b(0x28b)]=_0x4f307d;continue;case'3':fs[_0x4ee89b(0x25c)](_0x59f330);continue;case'4':logger[_0x4ee89b(0x2a3)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x4f307d);continue;}break;}});}module[a23_0x5d1e9d(0x21f)]=run;
|
|
2
|
+
'use strict';const a23_0x2c6450=a23_0x14e8;(function(_0x12b1a4,_0x1b943b){const _0x21378e=a23_0x14e8,_0x40b732=_0x12b1a4();while(!![]){try{const _0x563561=parseInt(_0x21378e(0x21f))/0x1*(-parseInt(_0x21378e(0x105))/0x2)+parseInt(_0x21378e(0x228))/0x3+parseInt(_0x21378e(0x1e4))/0x4+-parseInt(_0x21378e(0x1d4))/0x5*(-parseInt(_0x21378e(0x1c6))/0x6)+-parseInt(_0x21378e(0x13f))/0x7+-parseInt(_0x21378e(0x22d))/0x8*(parseInt(_0x21378e(0x16c))/0x9)+-parseInt(_0x21378e(0x201))/0xa;if(_0x563561===_0x1b943b)break;else _0x40b732['push'](_0x40b732['shift']());}catch(_0x2f6f92){_0x40b732['push'](_0x40b732['shift']());}}}(a23_0x158f,0xd9138));const fs=require('fs'),path=require(a23_0x2c6450(0x11c)),{spawn}=require('child_process'),{inspect,format}=require(a23_0x2c6450(0x126)),logger=require(a23_0x2c6450(0x19d))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a23_0x2c6450(0x194)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath}=require(a23_0x2c6450(0x129)),{CrashReporter,o11yErrorHandler}=require(a23_0x2c6450(0x145)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{PLAYWRIGHT_HUB_URL}=require(a23_0x2c6450(0x1d0)),SessionHandler=require('../../helpers/test-observability/sessionHandler');function a23_0x14e8(_0x422de6,_0x123bc8){const _0x158f9f=a23_0x158f();return a23_0x14e8=function(_0x14e892,_0x5b9456){_0x14e892=_0x14e892-0x103;let _0x57825e=_0x158f9f[_0x14e892];return _0x57825e;},a23_0x14e8(_0x422de6,_0x123bc8);}async function requireOrImportDefaultObject(_0x28c9e8){const _0x3c14da=a23_0x2c6450,_0x7884f4={'Fosrn':function(_0x2d9666){return _0x2d9666();},'NFJFL':function(_0x1c5321,_0x17482c){return _0x1c5321(_0x17482c);},'lVNSo':function(_0x4d05d1,_0x2fb28c){return _0x4d05d1===_0x2fb28c;},'EizAr':_0x3c14da(0x24d),'BbRbN':function(_0x288134,_0x100671){return _0x288134 in _0x100671;},'tovpW':_0x3c14da(0x21d)},{requireOrImport:_0x5bdb05}=helper['requireModule'](_0x7884f4[_0x3c14da(0x143)](getTransformPath));let _0x76202d=await _0x7884f4['NFJFL'](_0x5bdb05,_0x28c9e8);if(_0x76202d&&_0x7884f4[_0x3c14da(0x1fd)](typeof _0x76202d,_0x7884f4['EizAr'])&&_0x7884f4['BbRbN'](_0x7884f4['tovpW'],_0x76202d))_0x76202d=_0x76202d[_0x7884f4[_0x3c14da(0x1f9)]];return _0x76202d;}const getUserPlaywrightConfig=async(_0x53b577,_0x494736)=>{const _0x2feaa5=a23_0x2c6450,_0x883a99={'MvLPJ':_0x2feaa5(0x1da),'bplFu':'reporter','XrNFn':function(_0x31cb52,_0xe9fa54){return _0x31cb52!==_0xe9fa54;},'qZjXU':_0x2feaa5(0x157),'NjOuv':function(_0x4d54a9,_0x33ce6e){return _0x4d54a9!==_0x33ce6e;},'botkh':_0x2feaa5(0x15c),'sPdiG':function(_0x382b72,_0x107484){return _0x382b72!==_0x107484;},'YPZbl':function(_0x4c3f1c,_0x3997c7){return _0x4c3f1c+_0x3997c7;},'rKByc':_0x2feaa5(0x1c2),'gmjyh':function(_0x5c051a,_0x4280a1){return _0x5c051a(_0x4280a1);},'oPfqs':_0x2feaa5(0x214),'VKpcv':function(_0x3da6f2,_0x1da21a){return _0x3da6f2(_0x1da21a);},'DKCjR':function(_0x208da6,_0x52b6e3){return _0x208da6===_0x52b6e3;},'rRFcA':_0x2feaa5(0x12d),'gvrAP':'bpamA','PqPXy':_0x2feaa5(0x18b),'enYYK':function(_0x5a8292,_0x562d91){return _0x5a8292(_0x562d91);},'KJufR':_0x2feaa5(0x1c9),'Voxrh':_0x2feaa5(0x133),'achGT':_0x2feaa5(0x1d6),'JCric':'woowX','ozTLC':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hUurG':_0x2feaa5(0x200),'MenCZ':_0x2feaa5(0x125)},_0x435380=!helper['isUndefined'](_0x53b577['config']),_0x8775bf=_0x435380?path[_0x2feaa5(0x1ba)](process[_0x2feaa5(0x123)](),_0x53b577[_0x2feaa5(0x17d)]):process[_0x2feaa5(0x123)](),{resolveConfigFile:_0x14b3cc}=helper[_0x2feaa5(0x1b0)](_0x883a99['oPfqs']),_0x1d8e9c=_0x883a99[_0x2feaa5(0x22c)](_0x14b3cc,_0x8775bf);let _0x28543f={};if(_0x1d8e9c){if(_0x883a99['DKCjR'](_0x883a99[_0x2feaa5(0x1e1)],_0x883a99[_0x2feaa5(0x229)]))_0x2db65e[_0x2feaa5(0x22f)](_0x883a99[_0x2feaa5(0x1ab)]);else{logger[_0x2feaa5(0x15d)](_0x2feaa5(0x16e)+_0x1d8e9c);try{_0x883a99[_0x2feaa5(0x11a)](_0x883a99['PqPXy'],_0x883a99['PqPXy'])?_0xf77445[_0x883a99[_0x2feaa5(0x218)]][_0x2feaa5(0x16b)](_0x3a5d6d):_0x28543f=await _0x883a99[_0x2feaa5(0x169)](requireOrImportDefaultObject,_0x1d8e9c);}catch(_0xbc3709){if(_0x883a99[_0x2feaa5(0x23b)](_0x883a99['KJufR'],_0x883a99[_0x2feaa5(0x22b)]))return logger[_0x2feaa5(0x1d9)](_0x883a99[_0x2feaa5(0x11e)],_0xbc3709),null;else{const _0x2b6d62=_0x361e0a[_0x2feaa5(0x176)][_0x2feaa5(0x213)],_0x51344f=[];_0x883a99[_0x2feaa5(0x119)](_0x2b6d62,_0x883a99[_0x2feaa5(0x23a)])&&_0x883a99[_0x2feaa5(0x1ae)](_0x2b6d62,null)&&_0x2b6d62[_0x2feaa5(0x1a5)](',')[_0x2feaa5(0x186)](_0x1b0d14=>{const _0x462a7d=_0x2feaa5;_0x51344f[_0x462a7d(0x16b)]('('+_0x1b0d14['trim']()+')');});const _0x2a29c8='^'+_0x51344f[_0x2feaa5(0x115)]('|')+'$';_0x4ebda7[_0x2feaa5(0x16b)](_0x883a99['botkh'],_0x2a29c8);}}}}else{if(_0x883a99[_0x2feaa5(0x119)](_0x883a99[_0x2feaa5(0x1ce)],_0x883a99[_0x2feaa5(0x1e8)]))logger[_0x2feaa5(0x15d)](_0x883a99[_0x2feaa5(0x1ff)]);else{const _0x4bbd8=_0x2e4638[_0x2feaa5(0x179)](_0x45847d[_0x2feaa5(0x176)]['BROWSERSTACK_RERUN']);if(_0x4bbd8){const _0x5f186b=_0x48d60a['env'][_0x2feaa5(0x213)],_0x4fcd84=[];_0x883a99['NjOuv'](_0x5f186b,_0x883a99['qZjXU'])&&_0x883a99['sPdiG'](_0x5f186b,null)&&_0x5f186b[_0x2feaa5(0x1a5)](',')[_0x2feaa5(0x186)](_0x344252=>{const _0xe85b05=_0x2feaa5;_0x4fcd84[_0xe85b05(0x16b)]('('+_0x344252[_0xe85b05(0x132)]()+')');});const _0x2995b3='^'+_0x4fcd84[_0x2feaa5(0x115)]('|')+'$';_0x46c260[_0x2feaa5(0x16b)](_0x883a99['botkh'],_0x2995b3);}}}if(_0x435380){if(_0x883a99[_0x2feaa5(0x23b)](_0x883a99[_0x2feaa5(0x1ad)],_0x883a99['hUurG'])){const _0x16ccb0=_0x494736['findIndex'](_0x428dec=>_0x428dec===_0x2feaa5(0x256)||_0x428dec==='-c'||_0x428dec[_0x2feaa5(0x135)](_0x2feaa5(0x125)));_0x494736['splice'](_0x16ccb0,_0x494736[_0x16ccb0][_0x2feaa5(0x135)](_0x883a99['MenCZ'])?0x1:0x2);}else _0x456e1f[_0x2feaa5(0x1d9)](_0x883a99[_0x2feaa5(0x110)](_0x883a99['rKByc'],_0x883a99[_0x2feaa5(0x151)](_0x5f648f,_0x4618ad)));}const _0x4365df={};return _0x4365df[_0x2feaa5(0x11c)]=_0x1d8e9c,_0x4365df[_0x2feaa5(0x17d)]=_0x28543f,_0x4365df;},setGlobalSetup=(_0x1b9906,_0x5edeac)=>{const _0x2ca4db=a23_0x2c6450,_0x22f958={'TmUjn':function(_0x4342ce,_0x5e0073){return _0x4342ce(_0x5e0073);},'QKwiZ':_0x2ca4db(0x164),'IPHwf':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','tulUQ':_0x2ca4db(0x139),'EcEmX':'reporter','uWKMV':function(_0x586086,_0x501caa){return _0x586086===_0x501caa;},'dBoAQ':_0x2ca4db(0x24b),'LhSfO':function(_0x1f0b13,_0x3d10d5){return _0x1f0b13===_0x3d10d5;},'oCmFy':'object','Kfiye':function(_0x53c8b7,_0x544643){return _0x53c8b7!==_0x544643;},'ZrvNA':'wGMwG','NXnWQ':_0x2ca4db(0x20c),'yGfYG':function(_0x451e0a,_0x1c3434){return _0x451e0a===_0x1c3434;},'npZhE':'MsJeQ','ppinY':_0x2ca4db(0x187),'WnaGu':'raPSX','cKFJM':_0x2ca4db(0x1f4),'AlMDJ':function(_0x1705b7,_0x1f6b89){return _0x1705b7+_0x1f6b89;},'ofYDx':_0x2ca4db(0x1c2),'xXScS':function(_0xe573b,_0xa14ca5){return _0xe573b(_0xa14ca5);},'LDPWw':'./globalSetup.js'};if(!_0x1b9906)return![];try{if(_0x22f958[_0x2ca4db(0x211)](_0x22f958[_0x2ca4db(0x11b)],_0x22f958[_0x2ca4db(0x11b)]))_0x5f4455['env'][_0x2ca4db(0x206)]=!![];else{if(_0x1b9906[_0x2ca4db(0x164)]){if(_0x22f958[_0x2ca4db(0x211)](_0x22f958[_0x2ca4db(0x1a7)],_0x22f958[_0x2ca4db(0x1a7)])){_0x22f958[_0x2ca4db(0x1c3)](_0x298771,_0x4ed340);return;}else{let _0xceb15f;const _0x1f5aae=path['resolve'](_0x5edeac,_0x1b9906[_0x22f958[_0x2ca4db(0x1ed)]]);if(fs[_0x2ca4db(0x197)](_0x1f5aae)){if(_0x22f958['yGfYG'](_0x22f958[_0x2ca4db(0x189)],_0x22f958[_0x2ca4db(0x189)]))_0xceb15f=_0x1f5aae;else{let _0x5e8b8c;const _0x26aed6=_0x55b0a6[_0x2ca4db(0x1ba)](_0x4ef0dc,_0x181b2b[_0x22f958[_0x2ca4db(0x1ed)]]);if(_0x1770cb['existsSync'](_0x26aed6))_0x5e8b8c=_0x26aed6;else{const _0x2647e1={};_0x2647e1['paths']=[_0x5662b9],_0x5e8b8c=_0x1477eb['resolve'](_0x433e3d[_0x22f958[_0x2ca4db(0x1ed)]],_0x2647e1);}if(!_0x5e8b8c)throw new _0x5acbd0(_0x22f958['IPHwf']);_0x3fb8a9['env'][_0x2ca4db(0x10b)]=_0x5e8b8c;}}else{if(_0x22f958[_0x2ca4db(0x211)](_0x22f958[_0x2ca4db(0x23c)],_0x22f958[_0x2ca4db(0x23c)]))return!![];else{const _0x40c24f={};_0x40c24f[_0x2ca4db(0x16d)]=[_0x5edeac],_0xceb15f=require[_0x2ca4db(0x1ba)](_0x1b9906[_0x22f958[_0x2ca4db(0x1ed)]],_0x40c24f);}}if(!_0xceb15f)throw new Error(_0x22f958[_0x2ca4db(0x1a6)]);process['env'][_0x2ca4db(0x10b)]=_0xceb15f;}}}}catch(_0x4c2489){if(_0x22f958[_0x2ca4db(0x171)](_0x22f958[_0x2ca4db(0x1c4)],_0x22f958['cKFJM'])){const _0x13042f=_0x1b905[_0x2ca4db(0x115)](_0xd8a375,_0x22f958[_0x2ca4db(0x1b7)]),_0x2b3a9d=[_0x13042f];if(_0x401e87[_0x2ca4db(0x14b)](_0x3a58e4[_0x22f958[_0x2ca4db(0x1a2)]]))_0x464b05[_0x22f958[_0x2ca4db(0x1a2)]]=[_0x2b3a9d];else{if(_0x22f958['uWKMV'](typeof _0x4af799[_0x22f958['EcEmX']],_0x22f958[_0x2ca4db(0x134)]))_0x172d7e[_0x22f958[_0x2ca4db(0x1a2)]]=[[_0x4f0aca[_0x22f958[_0x2ca4db(0x1a2)]]],_0x2b3a9d];else _0x22f958[_0x2ca4db(0x171)](typeof _0x556d68[_0x22f958[_0x2ca4db(0x1a2)]],_0x22f958[_0x2ca4db(0x1c8)])&&_0x43e0a3[_0x22f958[_0x2ca4db(0x1a2)]][_0x2ca4db(0x16b)](_0x2b3a9d);}}else logger['error'](_0x22f958[_0x2ca4db(0x182)](_0x22f958[_0x2ca4db(0x178)],_0x22f958[_0x2ca4db(0x1f7)](format,_0x4c2489)));}return _0x1b9906[_0x2ca4db(0x164)]=require[_0x2ca4db(0x1ba)](_0x22f958['LDPWw']),!![];},addReporter=_0xe08120=>{const _0x7ae77b=a23_0x2c6450,_0x4852c6={};_0x4852c6['vuUZv']=_0x7ae77b(0x13d),_0x4852c6['oAtjl']=_0x7ae77b(0x1cb),_0x4852c6['GUoNF']='./reporter/reporter.js',_0x4852c6[_0x7ae77b(0x222)]='reporter',_0x4852c6[_0x7ae77b(0x19b)]=function(_0x4f1de2,_0xa7f9e4){return _0x4f1de2!==_0xa7f9e4;},_0x4852c6[_0x7ae77b(0x147)]='sSaEB',_0x4852c6[_0x7ae77b(0x242)]='rfQxx',_0x4852c6['bupyC']=function(_0x3adbc8,_0x105c8d){return _0x3adbc8===_0x105c8d;},_0x4852c6[_0x7ae77b(0x1af)]=_0x7ae77b(0x24b),_0x4852c6[_0x7ae77b(0x21c)]=_0x7ae77b(0x244),_0x4852c6['BbEZU']=function(_0x9db19b,_0x173371){return _0x9db19b===_0x173371;},_0x4852c6[_0x7ae77b(0x156)]=_0x7ae77b(0x24d),_0x4852c6[_0x7ae77b(0x172)]=function(_0x1555b3,_0x3b3cfa){return _0x1555b3===_0x3b3cfa;},_0x4852c6[_0x7ae77b(0x14c)]='AELoS';const _0x221610=_0x4852c6,_0x20ed47=path[_0x7ae77b(0x115)](__dirname,_0x221610['GUoNF']),_0x3af833=[_0x20ed47];if(helper[_0x7ae77b(0x14b)](_0xe08120[_0x221610[_0x7ae77b(0x222)]]))_0x221610['uloLw'](_0x221610['hTcxM'],_0x221610[_0x7ae77b(0x242)])?_0xe08120[_0x221610[_0x7ae77b(0x222)]]=[_0x3af833]:_0x14e21e[_0x7ae77b(0x196)][_0x221610[_0x7ae77b(0x10d)]]=_0xb76bda[_0x221610[_0x7ae77b(0x10d)]];else{if(_0x221610[_0x7ae77b(0x1be)](typeof _0xe08120[_0x221610[_0x7ae77b(0x222)]],_0x221610[_0x7ae77b(0x1af)]))_0x221610['bupyC'](_0x221610[_0x7ae77b(0x21c)],_0x221610[_0x7ae77b(0x21c)])?_0xe08120[_0x221610[_0x7ae77b(0x222)]]=[[_0xe08120[_0x221610[_0x7ae77b(0x222)]]],_0x3af833]:_0x5e923d[_0x7ae77b(0x176)][_0x7ae77b(0x206)]=_0x1b0ff3['cliConfig']['get'](_0x221610[_0x7ae77b(0x21e)])||!![];else _0x221610['BbEZU'](typeof _0xe08120[_0x221610[_0x7ae77b(0x222)]],_0x221610[_0x7ae77b(0x156)])&&(_0x221610[_0x7ae77b(0x172)](_0x221610[_0x7ae77b(0x14c)],_0x221610['jMHlJ'])?_0xe08120[_0x221610[_0x7ae77b(0x222)]][_0x7ae77b(0x16b)](_0x3af833):_0x65a62d[_0x7ae77b(0x16b)]('('+_0x336b88[_0x7ae77b(0x132)]()+')'));}},handleO11yRerun=_0x3d8218=>{const _0x4ea0df=a23_0x2c6450,_0x12b938={};_0x12b938[_0x4ea0df(0x173)]='false',_0x12b938[_0x4ea0df(0x20a)]=function(_0x1adda5,_0xb55fef){return _0x1adda5===_0xb55fef;},_0x12b938['bzKEX']=_0x4ea0df(0x113),_0x12b938[_0x4ea0df(0x18e)]=_0x4ea0df(0x138),_0x12b938[_0x4ea0df(0x203)]=function(_0x28dcb4,_0x1b5062){return _0x28dcb4!==_0x1b5062;},_0x12b938['NBJUA']='CDAGG',_0x12b938[_0x4ea0df(0x18d)]=_0x4ea0df(0x14a),_0x12b938[_0x4ea0df(0x249)]=_0x4ea0df(0x157),_0x12b938[_0x4ea0df(0x237)]=function(_0xb4de1f,_0x456715){return _0xb4de1f!==_0x456715;},_0x12b938[_0x4ea0df(0x112)]=function(_0x49a474,_0x5ef31a){return _0x49a474!==_0x5ef31a;},_0x12b938[_0x4ea0df(0x106)]=_0x4ea0df(0x158),_0x12b938[_0x4ea0df(0x251)]='--grep';const _0x11bfc7=_0x12b938,_0x32ef91=helper[_0x4ea0df(0x179)](process['env']['BROWSERSTACK_RERUN']);if(_0x32ef91){if(_0x11bfc7[_0x4ea0df(0x203)](_0x11bfc7[_0x4ea0df(0x1a3)],_0x11bfc7[_0x4ea0df(0x18d)])){const _0x5c2490=process[_0x4ea0df(0x176)][_0x4ea0df(0x213)],_0x19b0a2=[];_0x11bfc7['UPaLT'](_0x5c2490,_0x11bfc7[_0x4ea0df(0x249)])&&_0x11bfc7['frjVv'](_0x5c2490,null)&&(_0x11bfc7[_0x4ea0df(0x112)](_0x11bfc7[_0x4ea0df(0x106)],_0x11bfc7['twllZ'])?_0x2fec55[_0x4ea0df(0x176)][_0x4ea0df(0x1e2)]=_0x3d6150[_0x4ea0df(0x176)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x1c4179[_0x4ea0df(0x17d)][_0x4ea0df(0x235)]:_0x5c2490[_0x4ea0df(0x1a5)](',')[_0x4ea0df(0x186)](_0x20844e=>{const _0x15ff28=_0x4ea0df;_0x11bfc7[_0x15ff28(0x20a)](_0x11bfc7[_0x15ff28(0x168)],_0x11bfc7[_0x15ff28(0x168)])?_0x19b0a2[_0x15ff28(0x16b)]('('+_0x20844e['trim']()+')'):(_0x3d48a4[_0x15ff28(0x176)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x11bfc7[_0x15ff28(0x173)],_0x253493=_0x282fa5[_0x15ff28(0x252)](_0x41ae0d=>_0x41ae0d!==_0x15ff28(0x109)));}));const _0x32c762='^'+_0x19b0a2[_0x4ea0df(0x115)]('|')+'$';_0x3d8218[_0x4ea0df(0x16b)](_0x11bfc7[_0x4ea0df(0x251)],_0x32c762);}else _0x51483d[_0x11bfc7[_0x4ea0df(0x18e)]]=[[_0xfe574f[_0x11bfc7[_0x4ea0df(0x18e)]]],_0x24b2e7];}},spawnOriginalProcess=_0x3bfec4=>{const _0x1b9273=a23_0x2c6450,_0x13dbfd={'bEUqw':function(_0x49690e,_0x2a622a,_0x4c81de,_0x57c36c){return _0x49690e(_0x2a622a,_0x4c81de,_0x57c36c);},'HJVnr':_0x1b9273(0x231),'vThHe':_0x1b9273(0x23d),'qdKxN':function(_0x22db49,_0x558101){return _0x22db49===_0x558101;},'CDKVZ':_0x1b9273(0x15f),'GGOts':_0x1b9273(0x1a4)};_0x13dbfd[_0x1b9273(0x199)](spawn,_0x13dbfd[_0x1b9273(0x198)],[_0x13dbfd['vThHe'],..._0x3bfec4[_0x1b9273(0x210)](0x1)],{'shell':_0x13dbfd['qdKxN'](process[_0x1b9273(0x146)],_0x13dbfd[_0x1b9273(0x13a)]),'stdio':_0x13dbfd[_0x1b9273(0x165)],'cwd':process[_0x1b9273(0x123)]()});},isTestCommand=(_0x236c49,_0x1f9913)=>{const _0x1401a5=a23_0x2c6450,_0x57730d={};_0x57730d[_0x1401a5(0x24e)]='Error\x20in\x20importing\x20your\x20playwright\x20config:\x20',_0x57730d[_0x1401a5(0x190)]=function(_0x40adb6,_0x25a3e6){return _0x40adb6>_0x25a3e6;},_0x57730d[_0x1401a5(0x1b4)]=function(_0xcde533,_0x480469){return _0xcde533===_0x480469;},_0x57730d[_0x1401a5(0x212)]=_0x1401a5(0x1b3),_0x57730d[_0x1401a5(0x11f)]=function(_0x5babc4,_0x5f3447){return _0x5babc4!==_0x5f3447;},_0x57730d[_0x1401a5(0x1f2)]=_0x1401a5(0x117);const _0x38d415=_0x57730d;if(_0x38d415['QkERo'](_0x1f9913['length'],0x1)&&_0x38d415[_0x1401a5(0x1b4)](_0x1f9913[0x1],_0x38d415[_0x1401a5(0x212)]))return _0x38d415[_0x1401a5(0x11f)](_0x38d415[_0x1401a5(0x1f2)],_0x38d415[_0x1401a5(0x1f2)])?(_0x5b8c3d[_0x1401a5(0x1d9)](_0x38d415['gZEkZ'],_0x355f7b),null):!![];return![];},initO11yCrashReporter=(_0x4c99e1,_0x5435bd)=>{const _0x26fd4a=a23_0x2c6450,_0x57e79d={'QRbeI':function(_0x53735e,_0x112450){return _0x53735e(_0x112450);}},_0x18900b={'frameworkName':FRAMEWORKS[_0x26fd4a(0x142)],'frameworkVersion':_0x57e79d['QRbeI'](getFrameworkVersion,FRAMEWORKS[_0x26fd4a(0x142)])};CrashReporter['initialize'](_0x18900b,_0x4c99e1,_0x5435bd);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x183cdb){const _0x1b3333=a23_0x2c6450,_0x33f099={'mPlnS':'--config=','zwMCp':function(_0x571a60,_0x324eb2){return _0x571a60(_0x324eb2);},'ZMUMg':function(_0x63c186,_0x1420bb){return _0x63c186>_0x1420bb;},'TYjZR':function(_0x297ef1,_0x2901a6){return _0x297ef1===_0x2901a6;},'cRaqX':_0x1b3333(0x1d3)},_0x4a26da=await SessionHandler[_0x1b3333(0x230)](_0x183cdb,{'frameworkName':FRAMEWORKS[_0x1b3333(0x142)],'frameworkVersion':_0x33f099[_0x1b3333(0x1d2)](getFrameworkVersion,FRAMEWORKS[_0x1b3333(0x142)])});if(!_0x4a26da||_0x33f099[_0x1b3333(0x1de)](_0x4a26da['length'],0x1)&&_0x33f099[_0x1b3333(0x1ef)](_0x4a26da[0x0],null)){if(_0x33f099[_0x1b3333(0x1ef)](_0x33f099[_0x1b3333(0x120)],_0x33f099[_0x1b3333(0x120)]))return process[_0x1b3333(0x176)][_0x1b3333(0x1e2)]=![],![];else{const _0x3a927a=_0x420ecf[_0x1b3333(0x144)](_0x4d8b89=>_0x4d8b89===_0x1b3333(0x256)||_0x4d8b89==='-c'||_0x4d8b89['startsWith'](_0x1b3333(0x125)));_0x2c1f8e[_0x1b3333(0x1ca)](_0x3a927a,_0x4672f5[_0x3a927a][_0x1b3333(0x135)](_0x33f099[_0x1b3333(0x1f8)])?0x1:0x2);}}return!![];});function a23_0x158f(){const _0x4dbd85=['WNeTj','LXODi','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','globalSetup','GGOts','SpcLN','IpEgn','bzKEX','enYYK','eKDet','push','18BIqmeZ','paths','Getting\x20your\x20playwright\x20config\x20from\x20','ekKQb','tEIHH','LhSfO','HDgYS','CXtWz','PAuks','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','env','RwRfM','ofYDx','isTrue','AbmyW','jMVHz','length','config','TGLDY','OudyO','get','HgQbt','AlMDJ','4|0|1|2|3','hFUKu','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','map','dlEWZ','filterBrowserstackConfig','npZhE','DImkO','kFHUN','yQtBN','fIbfJ','btaZH','kaHnT','QkERo','writeFileSync','cWCYo','--disable-browserstack-automation','../../helpers/helper','1|0|4|3|2','project','existsSync','HJVnr','bEUqw','hpTvC','uloLw','Symbol(\x27defineConfigWasUsed\x27)]','../../helpers/logger','SAlui','stringify','zgIXs','ZycpA','EcEmX','NBJUA','inherit','split','IPHwf','NXnWQ','zbhLZ','XrtNr','niHzN','MvLPJ','gekty','hUurG','NjOuv','AraFn','requireModule','EezEi','showHidden','test','kfgpw','THDTy','collectFilesForProject','tulUQ','YKNIT','mLcef','resolve','concat','Deleting\x20','Mbivw','bupyC','IxOSY','avXuf','modifyBrowserStackCaps','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','TmUjn','WnaGu','cliConfig','332442mefDkY','tWKQQ','oCmFy','pUoqQ','splice','automation','includes','use','achGT','Symbol(defineConfigWasUsed)]','../../bin/utils/constants','@playwright/test/lib/runner/projectUtils.js','zwMCp','MPguS','125XmMdEW','rAMZX','tunAj','MKIZK','FrBim','error','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright','tVUNx','OtkwF','fzfWC','ZMUMg','fHlbm','RSDzD','rRFcA','BROWSERSTACK_TEST_OBSERVABILITY','ldJhc','6885572oCPUMH','workers','hEIkJ','RLjNz','JCric','yiveF','FRkML','lStdB','TCVgL','QKwiZ','dirname','TYjZR','qZTAE','hVxMW','UIgmG','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','MkkLX','testDir','UBscT','xXScS','mPlnS','tovpW','gOore','exitCode','zLBla','lVNSo','opmJi','ozTLC','WnVZi','9888170LRtHGw','platforms','UPaLT','VfRiA','GkWRz','BROWSERSTACK_AUTOMATION','IsyGR','respectGitIgnore','YsNEC','msDtx','LOUho','edgyq','YbjqB','rEcvX','jxFaY','slice','Kfiye','DFStz','BROWSERSTACK_RERUN_TESTS','@playwright/test/lib/common/configLoader.js','LlQmm','MCofZ','NgXCF','bplFu','BwyVo','HxVkW','ouSAm','clivV','default','oAtjl','109kCtsJy','SSkPN','bhOOX','oKhez','muNuB','ieApc','Playwright\x20process\x20exited\x20with\x20code\x20','bvSoB','eiTPl','753009mqpqgp','gvrAP','hIxXf','KJufR','VKpcv','580792RGgNCL','MqJUI','debug','launch','npx','jJJzy','GUdbb','ZoKfh','testObservability','ltIwa','frjVv','sbryV','forEach','qZjXU','DKCjR','ppinY','playwright','\x22;const\x20{\x20bootstrap\x20}\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22);bootstrap();','jrDze','compact','aIcaf','mgvOz','rEkNF','XcspQ','GblBz','ugLRy','depth','Hyobd','jtYiq','testIgnore','string','getConfigPath','object','gZEkZ','sfbeD','Mslmj','dSKlP','filter','nXjDF','UHiMc','SHNlZ','--config','close','BDUnC','DLQEk','breakLength','154UGuSqJ','twllZ','BxUcv','module.exports\x20=\x20','--disable-test-observability','xCkIt','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','QhBjk','vuUZv','fMCDw','VXBgB','YPZbl','Dtvwf','ujoVY','YBupj','PcsOG','join','ziLUQ','sdhlS','kWXee','XrNFn','sPdiG','ZrvNA','path','indexOf','Voxrh','JfOHt','cRaqX','Cxhea','initialize','cwd','ZRbXc','--config=','util','RynBQ','replace','./reporter/pwUtils','projects','kmYhM','EXkSn','JzCzA','isFalse','uqPYu','aexiW','ppRCs','trim','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','dBoAQ','startsWith','MlJrC','odIkq','reporter','./reporter/reporter.js','CDKVZ','XEVki','KpWOT','testMatch','kIZmp','9282133StBBlL','unlinkSync','wpKwY','PLAYWRIGHT','Fosrn','findIndex','../../helpers/test-observability/error-handler','platform','hTcxM','xGRpJ','PFUoc','cySCE','isUndefined','jMHlJ','KQvHx','gRYlN','SkUWx','xNoyB','gmjyh','jxlJG','LiXhZ','xYSiG','IuYYV','Jnqoy','null','IoEeh','exports','jpxej','SeXkS','--grep','info','jAKod','win32','nBrMF'];a23_0x158f=function(){return _0x4dbd85;};return a23_0x158f();}async function run(_0x3b6c79,_0xde0286){const _0x4a486c=a23_0x2c6450,_0x4995a5={'SAlui':_0x4a486c(0x175),'jMVHz':_0x4a486c(0x24a),'XEVki':function(_0x418f68,_0x3685ec){return _0x418f68+_0x3685ec;},'gOore':function(_0x1377ed,_0x1cecda,_0x353dfb,_0x20b393){return _0x1377ed(_0x1cecda,_0x353dfb,_0x20b393);},'ouSAm':'npx','IsyGR':_0x4a486c(0x23d),'ViIYy':function(_0x1842f4,_0x3cf5cd){return _0x1842f4===_0x3cf5cd;},'wpKwY':_0x4a486c(0x15f),'PFUoc':_0x4a486c(0x1a4),'VXBgB':function(_0x2e06e7,_0x5898cd){return _0x2e06e7(_0x5898cd);},'RLjNz':_0x4a486c(0x1cd),'fMCDw':_0x4a486c(0x13d),'GblBz':_0x4a486c(0x12a),'aexiW':function(_0x1565b7,_0x44acc4){return _0x1565b7(_0x44acc4);},'rYgoE':'BrowserStack\x20config\x20file\x20not\x20found.','eKDet':function(_0x25fe22,_0x29c334){return _0x25fe22===_0x29c334;},'Hyobd':_0x4a486c(0x114),'Mslmj':_0x4a486c(0x1cf),'jxlJG':_0x4a486c(0x19c),'bhOOX':function(_0x44651b,_0x320a65){return _0x44651b+_0x320a65;},'MKIZK':function(_0x37a4a5,_0x2dc169){return _0x37a4a5(_0x2dc169);},'hIxXf':_0x4a486c(0x1f5),'Mbivw':_0x4a486c(0x164),'zgIXs':_0x4a486c(0x1f3),'VfRiA':'false','eiTPl':function(_0x6167ee,_0x3d9bcf){return _0x6167ee===_0x3d9bcf;},'IuYYV':_0x4a486c(0x1a8),'OtkwF':_0x4a486c(0x215),'tEIHH':function(_0x3483ef,_0xe3be1c){return _0x3483ef(_0xe3be1c);},'hEIkJ':function(_0x4b3dc2,_0x58fea1){return _0x4b3dc2!==_0x58fea1;},'bvSoB':_0x4a486c(0x22e),'BwyVo':'jyJrG','WNeTj':_0x4a486c(0x138),'IpEgn':function(_0x2a73d9,_0x13e5b7){return _0x2a73d9>_0x13e5b7;},'kaHnT':function(_0x540fbf,_0x5c90e4){return _0x540fbf===_0x5c90e4;},'YbjqB':_0x4a486c(0x1b3),'GUdbb':function(_0x42d2da,_0x2c55c8){return _0x42d2da!==_0x2c55c8;},'hpTvC':_0x4a486c(0x1c0),'jJJzy':'TYwmP','MCofZ':function(_0x4eeeb3,_0x426d17){return _0x4eeeb3(_0x426d17);},'ZoKfh':function(_0x50d44f,_0x353e4c){return _0x50d44f+_0x353e4c;},'AnOow':function(_0x1d3d97,_0x2efdb1){return _0x1d3d97(_0x2efdb1);},'zSZlG':_0x4a486c(0x183),'THDTy':function(_0x24b824,_0x1d7274){return _0x24b824===_0x1d7274;},'yiveF':_0x4a486c(0x154),'ieApc':_0x4a486c(0x193),'LXODi':_0x4a486c(0x14e),'RwRfM':_0x4a486c(0x1b9),'FRkML':_0x4a486c(0x109),'HgQbt':function(_0x4d1c2c,_0x25d113){return _0x4d1c2c>=_0x25d113;},'AbmyW':function(_0x214ceb,_0x70b029){return _0x214ceb!==_0x70b029;},'IxOSY':_0x4a486c(0x153),'PAuks':function(_0x1cfdab,_0x3211f1,_0x3b4f05){return _0x1cfdab(_0x3211f1,_0x3b4f05);},'SkUWx':_0x4a486c(0x13c),'SHNlZ':function(_0x27c2ca,_0x49a2a5){return _0x27c2ca(_0x49a2a5);},'SSkPN':'diQlV','Dtvwf':_0x4a486c(0x1cb),'iLbNo':_0x4a486c(0x209),'TGLDY':'TUpxI','jpxej':function(_0x4c5de8,_0x25cc81){return _0x4c5de8!=_0x25cc81;},'ugLRy':_0x4a486c(0x24f),'eYfuw':_0x4a486c(0x10a),'tWKQQ':function(_0x5dfead,_0x2cd329,_0x576452){return _0x5dfead(_0x2cd329,_0x576452);},'VgRGL':_0x4a486c(0x103),'RoziP':_0x4a486c(0x121),'ekKQb':function(_0x43e11b,_0x47ceeb,_0x591f54){return _0x43e11b(_0x47ceeb,_0x591f54);},'qZTAE':function(_0x26eb00,_0x230b08){return _0x26eb00!==_0x230b08;},'sbryV':_0x4a486c(0x20e),'lStdB':_0x4a486c(0x1df),'VZWpG':function(_0x3cf5fb,_0xf32c72){return _0x3cf5fb===_0xf32c72;},'SqTbO':_0x4a486c(0x20b),'UBscT':_0x4a486c(0x118),'cWCYo':_0x4a486c(0x195),'BDUnC':function(_0x45872c,_0x1813ac,_0x465957){return _0x45872c(_0x1813ac,_0x465957);},'UHiMc':_0x4a486c(0x163),'YrtFP':function(_0x3b5475,_0x473074){return _0x3b5475(_0x473074);},'RSDzD':_0x4a486c(0x18c),'kmYhM':'fWjWT','ldJhc':function(_0x26874c,_0x17b068){return _0x26874c!==_0x17b068;},'hxTRN':_0x4a486c(0x17f),'tVUNx':_0x4a486c(0x1d1),'nXjDF':function(_0x4d759b,_0x592266){return _0x4d759b!==_0x592266;},'nBrMF':_0x4a486c(0x18a),'ssYnS':_0x4a486c(0x1ac),'YKNIT':_0x4a486c(0x15e),'FrBim':function(_0x37fa05,_0x5a6192){return _0x37fa05===_0x5a6192;},'ZycpA':_0x4a486c(0x236),'ZRbXc':'SakDL','ppRCs':function(_0x2e6869,_0x4faf94){return _0x2e6869===_0x4faf94;},'xNoyB':_0x4a486c(0x243),'iakWY':_0x4a486c(0x1da),'HxVkW':_0x4a486c(0x15b),'TCVgL':function(_0x2b7bc8,_0x13690e){return _0x2b7bc8!==_0x13690e;},'fzfWC':_0x4a486c(0x136),'RynBQ':_0x4a486c(0x223),'NgXCF':function(_0x5cdcfa,_0x5cccb5){return _0x5cdcfa*_0x5cccb5;},'hFUKu':_0x4a486c(0x1e5),'opmJi':'playwright-browserstack-sdk.config.js','SpcLN':_0x4a486c(0x116),'odIkq':'GgPLR','KQvHx':_0x4a486c(0x108),'EXkSn':_0x4a486c(0x20f),'kIZmp':'zwJlH','uqPYu':function(_0x5a678b,_0xaa45f){return _0x5a678b+_0xaa45f;},'GkWRz':_0x4a486c(0x256),'znBLR':function(_0x745315,_0x59b195){return _0x745315===_0x59b195;},'xGRpJ':_0x4a486c(0x257)};!helper[_0x4a486c(0x12e)](process[_0x4a486c(0x176)]['BROWSERSTACK_AUTOMATION'])&&(_0x4995a5['THDTy'](_0x4995a5[_0x4a486c(0x1e9)],_0x4995a5[_0x4a486c(0x1e9)])?process[_0x4a486c(0x176)][_0x4a486c(0x206)]=!![]:_0x501c43['info'](_0x4995a5[_0x4a486c(0x19e)]));process['argv'][_0x4a486c(0x1cc)](_0x4995a5[_0x4a486c(0x224)])&&(_0x4995a5[_0x4a486c(0x1e6)](_0x4995a5[_0x4a486c(0x162)],_0x4995a5[_0x4a486c(0x177)])?(process[_0x4a486c(0x176)]['BROWSERSTACK_AUTOMATION']=_0x4995a5[_0x4a486c(0x204)],_0xde0286=_0xde0286[_0x4a486c(0x252)](_0x4be28c=>_0x4be28c!==_0x4a486c(0x193))):_0x2996e8[_0x4a486c(0x196)][_0x4995a5[_0x4a486c(0x17b)]]=_0x3ab178[_0x4995a5[_0x4a486c(0x17b)]]);const _0x45bc8f=_0xde0286[_0x4a486c(0x11d)](_0x4995a5[_0x4a486c(0x1ea)]);_0x4995a5[_0x4a486c(0x181)](_0x45bc8f,0x0)&&(_0x4995a5[_0x4a486c(0x17a)](_0x4995a5['IxOSY'],_0x4995a5[_0x4a486c(0x1bf)])?_0x4fa4cb=_0x4995a5['XEVki'](_0x4a486c(0x185)+_0x1a05cc+_0x4a486c(0x23e),_0x1de8ea):(process[_0x4a486c(0x176)][_0x4a486c(0x1e2)]=_0x4995a5[_0x4a486c(0x204)],_0xde0286=_0xde0286['filter'](_0x3aea7b=>_0x3aea7b!==_0x4a486c(0x109))));if(!_0x4995a5[_0x4a486c(0x174)](isTestCommand,_0x3b6c79,_0xde0286)){if(_0x4995a5[_0x4a486c(0x1e6)](_0x4995a5['SkUWx'],_0x4995a5[_0x4a486c(0x14f)]))_0x4995a5[_0x4a486c(0x1fa)](_0x578532,_0x4995a5[_0x4a486c(0x21b)],[_0x4995a5[_0x4a486c(0x207)],..._0x4da656[_0x4a486c(0x210)](0x1)],{'shell':_0x4995a5['ViIYy'](_0xd903d8[_0x4a486c(0x146)],_0x4995a5[_0x4a486c(0x141)]),'stdio':_0x4995a5[_0x4a486c(0x149)],'cwd':_0x4a4862[_0x4a486c(0x123)]()});else{_0x4995a5[_0x4a486c(0x255)](spawnOriginalProcess,_0xde0286);return;}}const _0x3e76d3=new BrowserStackSetup(_0x3b6c79,FRAMEWORKS['PLAYWRIGHT']);if(!_0x3e76d3[_0x4a486c(0x17d)]){if(_0x4995a5['GUdbb'](_0x4995a5['SSkPN'],_0x4995a5[_0x4a486c(0x220)])){const _0x13951a={'frameworkName':_0x522eec[_0x4a486c(0x142)],'frameworkVersion':_0x4995a5[_0x4a486c(0x10f)](_0x5f3c2d,_0xb5ed86[_0x4a486c(0x142)])};_0x1bff83[_0x4a486c(0x122)](_0x13951a,_0x18aa9b,_0x3e9226);}else{logger[_0x4a486c(0x1d9)](_0x4995a5['rYgoE']);return;}}await _0x3e76d3[_0x4a486c(0x122)]();!helper[_0x4a486c(0x14b)](_0x3e76d3['cliConfig'])&&_0x3e76d3['cliConfig']['has'](_0x4995a5[_0x4a486c(0x111)])&&(_0x4995a5[_0x4a486c(0x227)](_0x4995a5['iLbNo'],_0x4995a5[_0x4a486c(0x17e)])?_0x17accd['split'](',')['map'](_0x2f93d7=>{const _0x5a66e6=_0x4a486c;_0x2221e5[_0x5a66e6(0x16b)]('('+_0x2f93d7[_0x5a66e6(0x132)]()+')');}):process[_0x4a486c(0x176)]['BROWSERSTACK_AUTOMATION']=_0x3e76d3[_0x4a486c(0x1c5)][_0x4a486c(0x180)](_0x4995a5[_0x4a486c(0x111)])||!![]);_0x4995a5[_0x4a486c(0x15a)](_0x3e76d3['config']['testObservability'],null)&&!helper[_0x4a486c(0x179)](process['env'][_0x4a486c(0x1e2)])&&(_0x4995a5[_0x4a486c(0x1e6)](_0x4995a5[_0x4a486c(0x246)],_0x4995a5['eYfuw'])?process['env'][_0x4a486c(0x1e2)]=process[_0x4a486c(0x176)][_0x4a486c(0x1e2)]||_0x3e76d3[_0x4a486c(0x17d)][_0x4a486c(0x235)]:_0x100bfe['env'][_0x4a486c(0x206)]=![]);const _0x306c7f=!helper[_0x4a486c(0x12e)](process[_0x4a486c(0x176)]['BROWSERSTACK_TEST_OBSERVABILITY']),_0x3dd39a=_0xde0286[_0x4a486c(0x1bb)](),_0x488108=await _0x4995a5[_0x4a486c(0x1c7)](getUserPlaywrightConfig,_0x3b6c79,_0xde0286);if(helper[_0x4a486c(0x14b)](_0x488108)){if(_0x4995a5[_0x4a486c(0x18f)](_0x4995a5['VgRGL'],_0x4995a5['RoziP'])){const _0x241eb8={};_0x241eb8[_0x4995a5['RLjNz']]={'connectOptions':{'wsEndpoint':_0x4995a5[_0x4a486c(0x13b)](_0x4c8b93,_0x4995a5[_0x4a486c(0x10f)](_0x78ef17,_0x282500[_0x4a486c(0x19f)](_0x5a8136)))}},_0x241eb8[_0x4995a5[_0x4a486c(0x10e)]]=_0x539a6c,_0x450f2d[_0x4995a5[_0x4a486c(0x245)]][_0x4a486c(0x16b)](_0x241eb8);}else{_0x4995a5['VXBgB'](spawnOriginalProcess,_0x3dd39a);return;}}const _0x2e4c2c={..._0x488108[_0x4a486c(0x17d)]},_0x295df9=_0x2e4c2c,_0x507044=_0x488108[_0x4a486c(0x11c)]?path[_0x4a486c(0x1ee)](_0x488108['path']):process['cwd']();if(!_0x4995a5[_0x4a486c(0x16f)](setGlobalSetup,_0x295df9,_0x507044)){if(_0x4995a5[_0x4a486c(0x1f0)](_0x4995a5[_0x4a486c(0x238)],_0x4995a5[_0x4a486c(0x1eb)])){_0x4995a5[_0x4a486c(0x255)](spawnOriginalProcess,_0x3dd39a);return;}else return _0x61a919[_0x4a486c(0x176)][_0x4a486c(0x1e2)]=![],![];}if(_0x306c7f){if(_0x4995a5['VZWpG'](_0x4995a5['SqTbO'],_0x4995a5[_0x4a486c(0x1f6)]))_0x2ed53e=_0xcbe70a;else{const _0x147871=_0x4995a5[_0x4a486c(0x192)]['split']('|');let _0x459fc9=0x0;while(!![]){switch(_0x147871[_0x459fc9++]){case'0':_0x4995a5[_0x4a486c(0x258)](initO11yCrashReporter,_0x295df9,_0x3e76d3[_0x4a486c(0x17d)]);continue;case'1':logger[_0x4a486c(0x15d)](_0x4995a5[_0x4a486c(0x254)]);continue;case'2':await _0x4995a5['AnOow'](launchO11ySession,_0x3e76d3[_0x4a486c(0x17d)]);continue;case'3':_0x4995a5[_0x4a486c(0x1d7)](handleO11yRerun,_0xde0286);continue;case'4':_0x4995a5['YrtFP'](addReporter,_0x295df9);continue;}break;}}}if(helper[_0x4a486c(0x14b)](_0x3e76d3['config'][_0x4a486c(0x202)])||_0x4995a5[_0x4a486c(0x1b5)](_0x3e76d3[_0x4a486c(0x17d)][_0x4a486c(0x202)][_0x4a486c(0x17c)],0x0)){if(_0x4995a5['qZTAE'](_0x4995a5[_0x4a486c(0x1e0)],_0x4995a5[_0x4a486c(0x1e0)])){_0x4995a5[_0x4a486c(0x130)](_0x74a217,_0x30713b);return;}else process[_0x4a486c(0x176)][_0x4a486c(0x206)]=![];}if(helper[_0x4a486c(0x179)](process[_0x4a486c(0x176)][_0x4a486c(0x206)])){if(_0x4995a5[_0x4a486c(0x1f0)](_0x4995a5[_0x4a486c(0x12b)],_0x4995a5[_0x4a486c(0x12b)])){const _0x5b8566={'PsBQO':_0x4995a5[_0x4a486c(0x1e7)],'aIcaf':function(_0x2e78ea,_0x22c0f5){const _0xeede2c=_0x4a486c;return _0x4995a5[_0xeede2c(0x13b)](_0x2e78ea,_0x22c0f5);},'BxUcv':function(_0x16f4d4,_0x555f44){const _0x4c65ad=_0x4a486c;return _0x4995a5[_0x4c65ad(0x10f)](_0x16f4d4,_0x555f44);},'gkQOG':_0x4995a5[_0x4a486c(0x10e)],'QhBjk':_0x4995a5['GblBz']};_0x5045e1[_0x4a486c(0x239)](_0x2a3742=>{const _0x4281f6=_0x4a486c,_0x2cba77={};_0x2cba77[_0x5b8566['PsBQO']]={'connectOptions':{'wsEndpoint':_0x5b8566[_0x4281f6(0x241)](_0x317b58,_0x5b8566[_0x4281f6(0x107)](_0x31b917,_0x25532a['stringify'](_0x2a3742)))}},_0x2cba77[_0x5b8566['gkQOG']]=_0x2fe351,_0x325f98[_0x5b8566[_0x4281f6(0x10c)]][_0x4281f6(0x16b)](_0x2cba77);});}else{_0x295df9[_0x4995a5[_0x4a486c(0x245)]]=[];const _0x443271=[];_0x3e76d3[_0x4a486c(0x17d)]['platforms'][_0x4a486c(0x239)]((_0x5e504a,_0x8e7e72)=>{const _0x16a368=_0x4a486c,_0x547df4={};_0x547df4[_0x16a368(0x1a9)]=_0x4995a5['rYgoE'];const _0x26b496=_0x547df4;if(_0x4995a5[_0x16a368(0x16a)](_0x4995a5[_0x16a368(0x248)],_0x4995a5[_0x16a368(0x248)]))_0x443271[_0x16a368(0x16b)](helper[_0x16a368(0x1c1)](_0x3e76d3[_0x16a368(0x17d)],_0x4995a5[_0x16a368(0x207)],_0x8e7e72));else{_0x5f125d[_0x16a368(0x1d9)](_0x26b496[_0x16a368(0x1a9)]);return;}});let _0x5bb918=[];try{if(_0x4995a5[_0x4a486c(0x1e3)](_0x4995a5['hxTRN'],_0x4995a5['hxTRN']))_0x16079f=_0x1101fa[_0x4a486c(0x128)](_0x4995a5[_0x4a486c(0x250)],_0x4995a5[_0x4a486c(0x152)]);else{const _0x6790d2=helper[_0x4a486c(0x1b0)](_0x4995a5[_0x4a486c(0x1db)]),_0x3545e0={};_0x3545e0[_0x4a486c(0x208)]=!![],_0x3545e0[_0x4a486c(0x1f5)]='',_0x3545e0[_0x4a486c(0x13d)]='',_0x3545e0[_0x4a486c(0x24a)]='';const _0x249d65={};_0x249d65[_0x4a486c(0x196)]=_0x3545e0;const _0x253c59=_0x249d65;_0x295df9[_0x4995a5[_0x4a486c(0x22a)]]&&(_0x4995a5[_0x4a486c(0x253)](_0x4995a5[_0x4a486c(0x160)],_0x4995a5[_0x4a486c(0x160)])?(_0x3b3523[_0x4a486c(0x239)](_0x3abcad=>{const _0x5d7d0c=_0x4a486c,_0x2063e7={'rAMZX':_0x4995a5[_0x5d7d0c(0x1e7)],'pFLAZ':function(_0x3360be,_0x407517){const _0xb5754d=_0x5d7d0c;return _0x4995a5[_0xb5754d(0x221)](_0x3360be,_0x407517);},'niHzN':function(_0xc04647,_0x278b5a){const _0x134ea0=_0x5d7d0c;return _0x4995a5[_0x134ea0(0x1d7)](_0xc04647,_0x278b5a);},'TJpCv':_0x4995a5['fMCDw'],'Emuyd':_0x4995a5[_0x5d7d0c(0x245)]};_0x4882f0[_0x5d7d0c(0x239)](_0x43b62a=>{const _0x208ac8=_0x5d7d0c,_0x520583={};_0x520583[_0x2063e7[_0x208ac8(0x1d5)]]={'connectOptions':{'wsEndpoint':_0x2063e7['pFLAZ'](_0xbefc25,_0x2063e7[_0x208ac8(0x1aa)](_0x2856f3,_0x1de5e0[_0x208ac8(0x19f)](_0x43b62a)))}},_0x520583[_0x2063e7['TJpCv']]=_0x3abcad,_0x575710[_0x2063e7['Emuyd']][_0x208ac8(0x16b)](_0x520583);});}),_0x2ba6c9[_0x4995a5[_0x4a486c(0x10e)]]='',_0x3a9f50[_0x4995a5[_0x4a486c(0x22a)]]=''):_0x253c59[_0x4a486c(0x196)][_0x4995a5[_0x4a486c(0x22a)]]=_0x295df9[_0x4995a5[_0x4a486c(0x22a)]]);if(_0x295df9[_0x4995a5[_0x4a486c(0x10e)]]){if(_0x4995a5[_0x4a486c(0x1e6)](_0x4995a5['ssYnS'],_0x4995a5[_0x4a486c(0x1b8)]))_0x253c59['project'][_0x4995a5[_0x4a486c(0x10e)]]=_0x295df9[_0x4995a5[_0x4a486c(0x10e)]];else{if(_0x4cd793[_0x4a486c(0x164)]){let _0x34a478;const _0x51805c=_0x252d64['resolve'](_0x562e6c,_0x5aa1f8[_0x4995a5[_0x4a486c(0x1bd)]]);if(_0x518c1a[_0x4a486c(0x197)](_0x51805c))_0x34a478=_0x51805c;else{const _0x50e2a4={};_0x50e2a4['paths']=[_0x5f3258],_0x34a478=_0xa43271['resolve'](_0x290cd9[_0x4995a5['Mbivw']],_0x50e2a4);}if(!_0x34a478)throw new _0x23dcf9(_0x4995a5[_0x4a486c(0x1a0)]);_0xb5ed41[_0x4a486c(0x176)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']=_0x34a478;}}}_0x295df9[_0x4995a5['jMVHz']]&&(_0x4995a5[_0x4a486c(0x1d8)](_0x4995a5[_0x4a486c(0x1a1)],_0x4995a5[_0x4a486c(0x124)])?(_0x336d4b[_0x4a486c(0x176)][_0x4a486c(0x206)]=_0x4995a5['VfRiA'],_0xf2eed8=_0x479b60[_0x4a486c(0x252)](_0x59b946=>_0x59b946!==_0x4a486c(0x193))):_0x253c59[_0x4a486c(0x196)][_0x4995a5[_0x4a486c(0x17b)]]=_0x295df9[_0x4995a5[_0x4a486c(0x17b)]]),_0x5bb918=await _0x6790d2[_0x4a486c(0x1b6)](_0x253c59);}}catch(_0x20bbc3){if(_0x4995a5[_0x4a486c(0x131)](_0x4995a5[_0x4a486c(0x150)],_0x4995a5[_0x4a486c(0x150)]))logger[_0x4a486c(0x22f)](_0x4995a5['iakWY']);else{_0x4995a5[_0x4a486c(0x10f)](_0x46fd99,_0x126915);return;}}if(_0x5bb918[_0x4a486c(0x17c)])_0x4995a5[_0x4a486c(0x16a)](_0x4995a5[_0x4a486c(0x21a)],_0x4995a5[_0x4a486c(0x21a)])?(_0x5bb918[_0x4a486c(0x239)](_0x305438=>{const _0xcdb3a=_0x4a486c,_0x28f4cc={'zLBla':_0x4995a5['hIxXf'],'XWOkE':_0x4995a5['RLjNz'],'jrDze':function(_0x22499a,_0x5cfc9a){const _0x24202a=a23_0x14e8;return _0x4995a5[_0x24202a(0x221)](_0x22499a,_0x5cfc9a);},'hVxMW':function(_0x2a35f0,_0xb7a82){const _0x22260b=a23_0x14e8;return _0x4995a5[_0x22260b(0x130)](_0x2a35f0,_0xb7a82);},'EezEi':_0x4995a5[_0xcdb3a(0x245)]};_0x4995a5['hEIkJ'](_0x4995a5[_0xcdb3a(0x226)],_0x4995a5[_0xcdb3a(0x219)])?_0x443271[_0xcdb3a(0x239)](_0x2a208c=>{const _0x3604d3=_0xcdb3a;if(_0x4995a5['eiTPl'](_0x4995a5[_0x3604d3(0x155)],_0x4995a5[_0x3604d3(0x1dc)]))_0x2701ca['project'][_0x28f4cc[_0x3604d3(0x1fc)]]=_0xff1695[_0x28f4cc[_0x3604d3(0x1fc)]];else{const _0x3a136e={};_0x3a136e[_0x4995a5[_0x3604d3(0x1e7)]]={'connectOptions':{'wsEndpoint':_0x4995a5[_0x3604d3(0x13b)](PLAYWRIGHT_HUB_URL,_0x4995a5[_0x3604d3(0x170)](encodeURIComponent,JSON[_0x3604d3(0x19f)](_0x2a208c)))}},_0x3a136e[_0x4995a5[_0x3604d3(0x10e)]]=_0x305438,_0x295df9[_0x4995a5['GblBz']][_0x3604d3(0x16b)](_0x3a136e);}}):_0x126ea7[_0xcdb3a(0x239)](_0x3228e2=>{const _0x10f72a=_0xcdb3a,_0x396be8={};_0x396be8[_0x28f4cc['XWOkE']]={'connectOptions':{'wsEndpoint':_0x28f4cc[_0x10f72a(0x23f)](_0x22b8d1,_0x28f4cc[_0x10f72a(0x1f1)](_0xabbe51,_0x214fa4[_0x10f72a(0x19f)](_0x3228e2)))}},_0x3c1f77[_0x28f4cc[_0x10f72a(0x1b1)]]['push'](_0x396be8);});}),_0x295df9[_0x4995a5[_0x4a486c(0x10e)]]='',_0x295df9[_0x4995a5[_0x4a486c(0x22a)]]=''):_0x1d1149[_0x4995a5[_0x4a486c(0x161)]]=[_0x1b56b1];else{if(_0x4995a5[_0x4a486c(0x1ec)](_0x4995a5[_0x4a486c(0x1dd)],_0x4995a5[_0x4a486c(0x127)]))_0x443271['forEach'](_0x37fd04=>{const _0x14e14d=_0x4a486c;if(_0x4995a5[_0x14e14d(0x233)](_0x4995a5[_0x14e14d(0x19a)],_0x4995a5[_0x14e14d(0x232)])){const _0x13f220={};_0x13f220[_0x4995a5[_0x14e14d(0x1e7)]]={'connectOptions':{'wsEndpoint':_0x4995a5[_0x14e14d(0x221)](PLAYWRIGHT_HUB_URL,_0x4995a5[_0x14e14d(0x216)](encodeURIComponent,JSON['stringify'](_0x37fd04)))}},_0x295df9[_0x4995a5[_0x14e14d(0x245)]][_0x14e14d(0x16b)](_0x13f220);}else{if(_0x4995a5[_0x14e14d(0x167)](_0x2ce8aa['length'],0x1)&&_0x4995a5['kaHnT'](_0x2fb6b5[0x1],_0x4995a5[_0x14e14d(0x20d)]))return!![];return![];}});else{const _0x525983={};_0x525983['paths']=[_0x451b06],_0x5639c8=_0x5be821[_0x4a486c(0x1ba)](_0x274371[_0x4995a5['Mbivw']],_0x525983);}}const _0x3055cc=_0x4995a5[_0x4a486c(0x217)](_0x3e76d3[_0x4a486c(0x17d)][_0x4a486c(0x202)][_0x4a486c(0x17c)]||0x1,_0x3e76d3[_0x4a486c(0x17d)]['parallelsPerPlatform']);_0x295df9[_0x4995a5[_0x4a486c(0x184)]]=_0x3055cc;}}const _0x17e7b3=path['join'](_0x488108[_0x4a486c(0x11c)]?path['dirname'](_0x488108[_0x4a486c(0x11c)]):process[_0x4a486c(0x123)](),_0x4995a5[_0x4a486c(0x1fe)]),_0x20ddae={};_0x20ddae[_0x4a486c(0x247)]=null,_0x20ddae[_0x4a486c(0x240)]=!![],_0x20ddae[_0x4a486c(0x104)]=Infinity,_0x20ddae[_0x4a486c(0x1b2)]=![];let _0x43b2a6=_0x4995a5['tWKQQ'](inspect,_0x295df9,_0x20ddae);_0x43b2a6[_0x4a486c(0x1cc)](_0x4995a5[_0x4a486c(0x250)])&&(_0x4995a5['VZWpG'](_0x4995a5[_0x4a486c(0x166)],_0x4995a5[_0x4a486c(0x137)])?_0x53b49e['push'](_0x56775d[_0x4a486c(0x1c1)](_0x33e4c6['config'],_0x4995a5[_0x4a486c(0x207)],_0x588f9d)):_0x43b2a6=_0x43b2a6[_0x4a486c(0x128)](_0x4995a5[_0x4a486c(0x250)],_0x4995a5[_0x4a486c(0x152)]));let _0x54e6bd=_0x4995a5[_0x4a486c(0x14d)];const _0x4c4e33=helper['getProxyUrl'](_0x3e76d3[_0x4a486c(0x17d)]);if(_0x4c4e33){if(_0x4995a5['VZWpG'](_0x4995a5[_0x4a486c(0x12c)],_0x4995a5[_0x4a486c(0x13e)])){const _0x4cd2c7={};_0x4cd2c7[_0x4995a5[_0x4a486c(0x1e7)]]={'connectOptions':{'wsEndpoint':_0x4995a5[_0x4a486c(0x234)](_0x9a47cf,_0x4995a5['AnOow'](_0x49dab0,_0x305b10[_0x4a486c(0x19f)](_0x2327db)))}},_0x20a358[_0x4995a5[_0x4a486c(0x245)]]['push'](_0x4cd2c7);}else _0x54e6bd=_0x4995a5['ZoKfh']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x4c4e33+_0x4a486c(0x23e),_0x54e6bd);}helper[_0x4a486c(0x188)]({},_0xde0286),fs[_0x4a486c(0x191)](_0x17e7b3,_0x4995a5[_0x4a486c(0x12f)](_0x54e6bd,_0x43b2a6));const _0x3ce381=_0x4995a5[_0x4a486c(0x1fa)](spawn,_0x4995a5[_0x4a486c(0x21b)],[_0x4995a5['IsyGR'],_0x4995a5[_0x4a486c(0x20d)],_0x4995a5[_0x4a486c(0x205)],_0x17e7b3,..._0xde0286['slice'](0x2)],{'shell':_0x4995a5['znBLR'](process[_0x4a486c(0x146)],_0x4995a5[_0x4a486c(0x141)]),'stdio':_0x4995a5['PFUoc'],'cwd':process['cwd'](),'env':{...process[_0x4a486c(0x176)],'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4a486c(0x24c)](_0x3b6c79)}});_0x3ce381['on'](_0x4995a5[_0x4a486c(0x148)],async _0xf3a509=>{const _0x4d8bf7=_0x4a486c,_0x3849aa=_0x4995a5['zSZlG'][_0x4d8bf7(0x1a5)]('|');let _0x5df257=0x0;while(!![]){switch(_0x3849aa[_0x5df257++]){case'0':process[_0x4d8bf7(0x1fb)]=_0xf3a509;continue;case'1':logger[_0x4d8bf7(0x22f)](_0x4d8bf7(0x225)+_0xf3a509);continue;case'2':logger[_0x4d8bf7(0x15d)](_0x4d8bf7(0x1bc)+_0x17e7b3);continue;case'3':fs[_0x4d8bf7(0x140)](_0x17e7b3);continue;case'4':await helper['finalExecution'](_0x3e76d3);continue;}break;}});}module[a23_0x2c6450(0x159)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a24_0x55ee59=a24_0x1196;function a24_0x1196(_0x234923,_0x488a7b){const _0x5a0fe7=a24_0x5a0f();return a24_0x1196=function(_0x1196c1,_0x4ba684){_0x1196c1=_0x1196c1-0xe0;let _0x552429=_0x5a0fe7[_0x1196c1];return _0x552429;},a24_0x1196(_0x234923,_0x488a7b);}(function(_0x2e3414,_0x416fc5){const _0x4a76a7=a24_0x1196,_0x55b030=_0x2e3414();while(!![]){try{const _0x3f6c26=-parseInt(_0x4a76a7(0x108))/0x1+parseInt(_0x4a76a7(0xe9))/0x2+-parseInt(_0x4a76a7(0xfa))/0x3+parseInt(_0x4a76a7(0xee))/0x4+parseInt(_0x4a76a7(0xfd))/0x5+-parseInt(_0x4a76a7(0x102))/0x6+parseInt(_0x4a76a7(0x10b))/0x7*(parseInt(_0x4a76a7(0xef))/0x8);if(_0x3f6c26===_0x416fc5)break;else _0x55b030['push'](_0x55b030['shift']());}catch(_0x5d50f8){_0x55b030['push'](_0x55b030['shift']());}}}(a24_0x5a0f,0x5146a));function a24_0x5a0f(){const _0x8f926f=['./reporter/pwUtils','fork','Running\x20existing\x20global\x20setup','zAgTZ','1556538EBmqGt','config','includes','1873210iDCRPV','requireModule','daQIh','OdKhw','child_process','3503796gpnmzs','resolve','Jlvkc','./mock-process.js','kMdqV','AvqDx','662261dxCVlO','sytst','exports','21007oHTQdc','iCEES','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','iFCgc','faIGf','Jjdnu','XAcEL','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','JwugZ','Mnbfk','apply','mXCea','MJNsA','252324MVZioL','function','APYSD','LjWcp','OVZPT','1335016hfgiMh','3368fMRrUb','GEFAP','compareVersions','YvYHx','../../helpers/test-observability/constants','zHpuW','UNzHn'];a24_0x5a0f=function(){return _0x8f926f;};return a24_0x5a0f();}const child_process=require(a24_0x55ee59(0x101)),{FRAMEWORKS}=require(a24_0x55ee59(0xf3)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a24_0x55ee59(0xf6));module[a24_0x55ee59(0x10a)]=async function(_0x3df8db){const _0x508b5d=a24_0x55ee59,_0x1c143b={'OdKhw':function(_0x3d491c,_0x94881d){return _0x3d491c(_0x94881d);},'Jjdnu':_0x508b5d(0x105),'mXCea':function(_0x2af9c0,_0x136fe3){return _0x2af9c0===_0x136fe3;},'OVZPT':'reWAJ','uPnZf':_0x508b5d(0xf4),'APYSD':function(_0x214851,_0x27f284){return _0x214851(_0x27f284);},'faIGf':function(_0x22ed7f){return _0x22ed7f();},'MJNsA':function(_0xa4d884,_0x24c32f){return _0xa4d884!==_0x24c32f;},'Jlvkc':'VVdlk','iCEES':'Not\x20able\x20to\x20import\x20globalSetup','Mnbfk':_0x508b5d(0xf8),'GEFAP':function(_0x389b4a,_0x25248e){return _0x389b4a===_0x25248e;},'XAcEL':'IxGLr','kMdqV':function(_0x2e47e3,_0x3b5215){return _0x2e47e3>=_0x3b5215;},'sytst':'1.33.0','JwugZ':function(_0x2bfcdb,_0x28eabd){return _0x2bfcdb===_0x28eabd;},'AvqDx':_0x508b5d(0xff),'JwBps':function(_0x1a8c5f,_0x4f4d2c,_0x175726){return _0x1a8c5f(_0x4f4d2c,_0x175726);},'GeQfX':_0x508b5d(0xea),'UNzHn':function(_0x57d2ba,_0x6b854c){return _0x57d2ba===_0x6b854c;},'iFCgc':_0x508b5d(0xf2),'zAgTZ':function(_0x30cdf6,_0xcbbc4b){return _0x30cdf6(_0xcbbc4b);}},_0x2e9903=child_process['fork'];child_process[_0x508b5d(0xf7)]=function(){const _0xb7ac01=_0x508b5d,_0x396bd1={};_0x396bd1[_0xb7ac01(0xec)]=_0x1c143b[_0xb7ac01(0xe1)];const _0x3e91e7=_0x396bd1;if(_0x1c143b[_0xb7ac01(0xe7)](_0x1c143b[_0xb7ac01(0xed)],_0x1c143b['uPnZf']))arguments[0x0]=_0x13a146[_0xb7ac01(0x103)](_0x3e91e7[_0xb7ac01(0xec)]);else return _0x1c143b[_0xb7ac01(0xeb)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0xb7ac01(0xfc)](_0x1c143b[_0xb7ac01(0xe0)](getForkProcessPath))&&(_0x1c143b[_0xb7ac01(0xe8)](_0x1c143b[_0xb7ac01(0x104)],_0x1c143b[_0xb7ac01(0x104)])?_0x1c143b[_0xb7ac01(0x100)](_0xa05a5d,_0xb7ac01(0xe3)+_0x2ed5e3['toString']()):arguments[0x0]=require[_0xb7ac01(0x103)](_0x1c143b['Jjdnu'])),_0x2e9903[_0xb7ac01(0xe6)](null,arguments);};if(process['env'][_0x508b5d(0x10d)]){_0x1c143b['APYSD'](debug,_0x1c143b[_0x508b5d(0xe5)]);try{if(_0x1c143b[_0x508b5d(0xf0)](_0x1c143b['XAcEL'],_0x1c143b[_0x508b5d(0xe2)])){const {loadGlobalHook:_0x2f60ca}=helper[_0x508b5d(0xfe)](_0x1c143b[_0x508b5d(0xe0)](getLoadUtilsPath)),_0x631839=_0x1c143b[_0x508b5d(0x100)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x5a7031=_0x3df8db;if(_0x1c143b[_0x508b5d(0x106)](helper[_0x508b5d(0xf1)](_0x631839,_0x1c143b[_0x508b5d(0x109)]),0x0)){if(_0x1c143b[_0x508b5d(0xe4)](_0x1c143b['AvqDx'],_0x1c143b[_0x508b5d(0x107)])){const _0x3c1879={};_0x3c1879[_0x508b5d(0xfb)]=_0x3df8db,_0x5a7031=_0x3c1879;}else{const _0x524d62={};_0x524d62[_0x508b5d(0xfb)]=_0x3b9d42,_0x57275d=_0x524d62;}}const _0x4251b1=await _0x1c143b['JwBps'](_0x2f60ca,_0x5a7031,process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x1c143b[_0x508b5d(0xe8)](typeof _0x4251b1,_0x1c143b['GeQfX'])){if(_0x1c143b[_0x508b5d(0xf5)](_0x1c143b[_0x508b5d(0x10e)],_0x1c143b[_0x508b5d(0x10e)]))throw new Error(_0x1c143b['iCEES']);else throw new _0x40f837(_0x1c143b[_0x508b5d(0x10c)]);}return _0x4251b1[_0x508b5d(0xe6)](null,arguments);}else return _0x1c143b['APYSD'](_0x2aeafa,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0]['includes'](_0x1c143b[_0x508b5d(0xe0)](_0x549dc7))&&(arguments[0x0]=_0x522559[_0x508b5d(0x103)](_0x1c143b['Jjdnu'])),_0x16bdab[_0x508b5d(0xe6)](null,arguments);}catch(_0x297d28){_0x1c143b[_0x508b5d(0xf9)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x297d28['toString']());}}};
|