browserstack-node-sdk 1.34.11 → 1.34.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +2 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a30_0x4ee9(_0x23cb01,_0x7d4ad3){const _0xd8def4=a30_0xd8de();return a30_0x4ee9=function(_0x4ee951,_0x2995e5){_0x4ee951=_0x4ee951-0xfb;let _0x3c416a=_0xd8def4[_0x4ee951];return _0x3c416a;},a30_0x4ee9(_0x23cb01,_0x7d4ad3);}const a30_0x189019=a30_0x4ee9;(function(_0x263aa6,_0x1389c6){const _0x424081=a30_0x4ee9,_0x981b5b=_0x263aa6();while(!![]){try{const _0x2dc987=-parseInt(_0x424081(0x101))/0x1+parseInt(_0x424081(0xfe))/0x2*(-parseInt(_0x424081(0x102))/0x3)+parseInt(_0x424081(0x108))/0x4*(-parseInt(_0x424081(0xfd))/0x5)+-parseInt(_0x424081(0x100))/0x6*(parseInt(_0x424081(0x10a))/0x7)+parseInt(_0x424081(0x103))/0x8+-parseInt(_0x424081(0x105))/0x9+parseInt(_0x424081(0x10b))/0xa*(parseInt(_0x424081(0xfb))/0xb);if(_0x2dc987===_0x1389c6)break;else _0x981b5b['push'](_0x981b5b['shift']());}catch(_0x4b918e){_0x981b5b['push'](_0x981b5b['shift']());}}}(a30_0xd8de,0x4aa83));function a30_0xd8de(){const _0x3ad3c1=['2972iycQXs','restore','7KaJtJw','2890LNyauQ','45496gKhxKU','../../../bin/utils/constants','3265lJvUIR','2evFfiC','../../../helpers/request-spy','1124238meoDIv','77081kMRfNh','612345jfnkBP','1768872qUtewi','mochaHooks','1411830wxMqAM','../../../helpers/test-observability/utils','jtqWJ'];a30_0xd8de=function(){return _0x3ad3c1;};return a30_0xd8de();}const requestSpy=require(a30_0x189019(0xff)),constants=require(a30_0x189019(0xfc)),{addRequestSpy}=require(a30_0x189019(0x106));exports[a30_0x189019(0x104)]={'beforeAll'(){const _0x1a2bdc=a30_0x189019,_0x3e49d1={'jtqWJ':function(_0x42633e){return _0x42633e();}},_0x2cf5db='browserstack internal helper hook';_0x3e49d1[_0x1a2bdc(0x107)](addRequestSpy);},'afterAll'(){const _0x58021a=a30_0x189019,_0x3b41ac='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x58021a(0x109)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x5883(){const _0x3133cb=['4798ztiDyf','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','ZMYBQ','uuid','passed','split','_beforeAll','230czFzct','moKyk','failed','nnQSe','lqwWj','../../../helpers/helper','indexOf','getHookDetails','fQixg','getBrowserVersion','getPlatform','HMaAB','Wsalo','ucmZK','suites','mlFdi','toISOString','5SHmDxJ','kNhfi','toJSON','hook','ZyZVx','vyATZ','xbbwa','concat','forEach','SjXys','_afterEach','468402lDjOIy','_beforeEach','1922152baPLMn','state','markedStatus','js-','tests','pending','getCapabilities','_afterAll','YsVfa','unknown_grid','getHooksForTest','XCukQ','uUSmt','__cloud_provider___','push','KJjRl','getHookSkippedTests','slice','getSession','bs:addPlatformDetails:','map_','150hhDquv','bWXrk','getBrowserName','6437772OOsYeh','reduce','string','parent','hook:','GvMec','pid','SAANr','emit','../../../helpers/test-observability/constants','IkdjX','qmMcE','VWFBd','JGtzf','247049VfVbQF','filter','TEST_PLATFORM','browserstack','../../utils/logPatcher','157808rTvCAA','914336ABPzdK','sendPlatformDetails','keys','substring','KIXSE','mapTestHooks','ZMLmB','hookAnalyticsId','63MuDDRq','../../../helpers/testhub/utils','Oygih'];a31_0x5883=function(){return _0x3133cb;};return a31_0x5883();}const a31_0x57515b=a31_0x164f;(function(_0x2c66aa,_0x326086){const _0x144541=a31_0x164f,_0x52870f=_0x2c66aa();while(!![]){try{const _0x34ff9d=-parseInt(_0x144541(0x148))/0x1*(parseInt(_0x144541(0x14b))/0x2)+-parseInt(_0x144541(0x16e))/0x3+-parseInt(_0x144541(0x170))/0x4*(-parseInt(_0x144541(0x163))/0x5)+parseInt(_0x144541(0x185))/0x6*(parseInt(_0x144541(0x13f))/0x7)+-parseInt(_0x144541(0x140))/0x8+-parseInt(_0x144541(0x12c))/0x9+-parseInt(_0x144541(0x152))/0xa*(-parseInt(_0x144541(0x13a))/0xb);if(_0x34ff9d===_0x326086)break;else _0x52870f['push'](_0x52870f['shift']());}catch(_0x60fcc1){_0x52870f['push'](_0x52870f['shift']());}}}(a31_0x5883,0x67790));function a31_0x164f(_0x16bf6c,_0x320f15){const _0x58833f=a31_0x5883();return a31_0x164f=function(_0x164f36,_0x5e6e7){_0x164f36=_0x164f36-0x12a;let _0x28b3ee=_0x58833f[_0x164f36];return _0x28b3ee;},a31_0x164f(_0x16bf6c,_0x320f15);}const {v4:uuidv4}=require(a31_0x57515b(0x14e)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x57515b(0x13e)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x57515b(0x135)),{getPlatformVersion}=require(a31_0x57515b(0x157)),{shouldProcessEventForTesthub}=require(a31_0x57515b(0x149));console={},Object[a31_0x57515b(0x142)](consoleHolder)[a31_0x57515b(0x16b)](_0x33f970=>{console[_0x33f970]=(..._0x891438)=>{BSTestOpsPatcher[_0x33f970](..._0x891438);};}),exports['getTestEnv']=()=>{const _0x4731bf=a31_0x57515b,_0x1ef0fa={'ZMLmB':'generic','ucmZK':function(_0x33ef5b){return _0x33ef5b();}};return{'ci':_0x1ef0fa[_0x4731bf(0x146)],'key':_0x1ef0fa[_0x4731bf(0x15f)](uuidv4),'version':version,'collector':_0x4731bf(0x173)+name};},exports[a31_0x57515b(0x159)]=_0x555773=>{const _0x4f1fb6=a31_0x57515b,_0x5b058e={};_0x5b058e[_0x4f1fb6(0x139)]=function(_0x1be4e1,_0x4f0d88){return _0x1be4e1!==_0x4f0d88;},_0x5b058e['Oygih']=_0x4f1fb6(0x12e),_0x5b058e[_0x4f1fb6(0x17c)]=function(_0x5df7d8,_0x1574f4){return _0x5df7d8!==_0x1574f4;},_0x5b058e['GvMec']=_0x4f1fb6(0x130),_0x5b058e[_0x4f1fb6(0x15e)]=function(_0x2a63ae,_0x3f0347){return _0x2a63ae!==_0x3f0347;},_0x5b058e[_0x4f1fb6(0x167)]='hook';const _0x34f4e6=_0x5b058e;if(!_0x555773||_0x34f4e6['JGtzf'](typeof _0x555773,_0x34f4e6[_0x4f1fb6(0x14a)]))return[null,null];if(_0x34f4e6[_0x4f1fb6(0x17c)](_0x555773[_0x4f1fb6(0x158)](_0x34f4e6[_0x4f1fb6(0x131)]),-0x1)){const _0x4391de=_0x555773[_0x4f1fb6(0x150)](_0x34f4e6[_0x4f1fb6(0x131)]);return[_0x4391de[0x0][_0x4f1fb6(0x181)](0x0,-0x1)[_0x4f1fb6(0x150)]('\x22')[0x1],_0x4391de[0x1][_0x4f1fb6(0x143)](0x1)];}else{if(_0x34f4e6[_0x4f1fb6(0x15e)](_0x555773[_0x4f1fb6(0x158)](_0x34f4e6[_0x4f1fb6(0x167)]),-0x1)){const _0x28c821=_0x555773[_0x4f1fb6(0x150)](_0x34f4e6[_0x4f1fb6(0x167)]);return[_0x28c821[0x0][_0x4f1fb6(0x181)](0x0,-0x1)[_0x4f1fb6(0x150)]('\x22')[0x1],_0x555773];}}return[null,null];},exports[a31_0x57515b(0x17a)]=_0x5bc520=>{const _0x464abf=a31_0x57515b,_0x371c33={'KIXSE':function(_0x51ab7c,_0x42626d){return _0x51ab7c(_0x42626d);},'xbbwa':'_beforeAll','HMaAB':_0x464abf(0x177),'kNhfi':_0x464abf(0x16f),'nnQSe':_0x464abf(0x16d)};if(!_0x5bc520||!_0x5bc520[_0x464abf(0x12f)])return[];const _0x24985e=[];return[_0x371c33[_0x464abf(0x169)],_0x371c33[_0x464abf(0x15d)],_0x371c33[_0x464abf(0x164)],_0x371c33[_0x464abf(0x155)]][_0x464abf(0x16b)](_0xdf154c=>{const _0x16dd75=_0x464abf,_0x3e6581=_0x5bc520[_0x16dd75(0x12f)][_0xdf154c]||[];_0x3e6581[_0x16dd75(0x16b)](_0x4e6a23=>{const _0x1f618b=_0x16dd75;_0x4e6a23[_0x1f618b(0x147)]&&!_0x371c33[_0x1f618b(0x144)](isInternalHook,_0x4e6a23['fn'])&&_0x24985e[_0x1f618b(0x17e)](_0x4e6a23[_0x1f618b(0x147)]);});}),[..._0x24985e,...exports[_0x464abf(0x17a)](_0x5bc520['parent'])];},exports[a31_0x57515b(0x145)]=_0x30f421=>{const _0x5a0948=a31_0x57515b,_0x2c2341={'YsVfa':function(_0x3307e4){return _0x3307e4();},'buApJ':function(_0x300870,_0x551784){return _0x300870===_0x551784;},'KJjRl':_0x5a0948(0x16d),'SAANr':_0x5a0948(0x151),'mlFdi':_0x5a0948(0x177),'VWFBd':'_beforeEach'};if(!_0x30f421||!_0x30f421['parent'])return;[_0x2c2341[_0x5a0948(0x133)],_0x2c2341[_0x5a0948(0x161)],_0x2c2341[_0x5a0948(0x138)],_0x2c2341[_0x5a0948(0x17f)]][_0x5a0948(0x16b)](_0x3f0f66=>{const _0x4d4acd=_0x5a0948,_0x5ceb1d={'lqwWj':function(_0x48b1dc){const _0x1c3e43=a31_0x164f;return _0x2c2341[_0x1c3e43(0x178)](_0x48b1dc);},'IkdjX':function(_0x2ab545,_0x183eb1){return _0x2c2341['buApJ'](_0x2ab545,_0x183eb1);},'FcUGn':_0x2c2341[_0x4d4acd(0x17f)]},_0x420edc=_0x30f421['parent'][_0x3f0f66]||[];_0x420edc['forEach'](_0x116d85=>{const _0x5b1fd2=_0x4d4acd;if(!_0x116d85['hookAnalyticsId'])_0x116d85['hookAnalyticsId']=_0x5ceb1d[_0x5b1fd2(0x156)](uuidv4);else _0x116d85[_0x5b1fd2(0x172)]&&_0x5ceb1d[_0x5b1fd2(0x136)](_0x3f0f66,_0x5ceb1d['FcUGn'])&&(_0x116d85[_0x5b1fd2(0x147)]=_0x5ceb1d[_0x5b1fd2(0x156)](uuidv4),delete _0x116d85[_0x5b1fd2(0x172)]);});}),exports[_0x5a0948(0x145)](_0x30f421['parent']);},exports[a31_0x57515b(0x141)]=async(_0x2f3e13,_0x47200b)=>{const _0x1f39ff=a31_0x57515b,_0x339e91={'ZMYBQ':function(_0x4c3b0a){return _0x4c3b0a();},'SjXys':function(_0x40d3ce,_0x5e0f28){return _0x40d3ce(_0x5e0f28);},'lbUHg':function(_0x3d0e62,_0x3608d5){return _0x3d0e62(_0x3608d5);},'vyATZ':function(_0x2feebd,_0x1860fd){return _0x2feebd===_0x1860fd;},'mGZuB':_0x1f39ff(0x13d),'qmMcE':_0x1f39ff(0x179),'FtlNV':_0x1f39ff(0x13c),'FCUQX':function(_0x2e96c0,_0x3734df){return _0x2e96c0(_0x3734df);}};try{if(!_0x339e91[_0x1f39ff(0x14d)](shouldProcessEventForTesthub))return;const _0x597732=await _0x2f3e13[_0x1f39ff(0x176)](),_0x2e0c7d=await _0x2f3e13[_0x1f39ff(0x182)](),_0x3d0393={},_0x423f89=Object['fromEntries'](_0x2e0c7d[_0x1f39ff(0x176)]()[_0x1f39ff(0x184)]),_0x3f3aeb={'product':_0x339e91[_0x1f39ff(0x16c)](getObservabilityLinkedProductName,_0x423f89),'capabilities':_0x423f89,'platform':_0x597732[_0x1f39ff(0x15c)](),'platform_version':_0x339e91['lbUHg'](getPlatformVersion,_0x339e91[_0x1f39ff(0x168)](global['__cloud_provider___'],_0x339e91['mGZuB'])),'browser':_0x597732[_0x1f39ff(0x12b)](),'browser_version':_0x597732[_0x1f39ff(0x15b)](),'session_id':_0x2e0c7d[_0x1f39ff(0x165)]()};global[_0x1f39ff(0x17d)]?_0x3d0393[global[_0x1f39ff(0x17d)]]=_0x3f3aeb:_0x3d0393[_0x339e91[_0x1f39ff(0x137)]]=_0x3f3aeb,process[_0x1f39ff(0x134)](_0x1f39ff(0x183)+process[_0x1f39ff(0x132)],{'timestamp':new Date()[_0x1f39ff(0x162)](),'level':null,'message':null,'kind':_0x339e91['FtlNV'],'http_response':_0x3d0393,'uuid':_0x47200b});}catch(_0x5dc0c9){_0x339e91['FCUQX'](debug,_0x1f39ff(0x14c)+_0x5dc0c9);}},exports['getHookSkippedTests']=_0x3cbc63=>{const _0x499cd7=a31_0x57515b,_0xf003ea={};_0xf003ea[_0x499cd7(0x15a)]=function(_0x323866,_0x2bf2d3){return _0x323866!==_0x2bf2d3;},_0xf003ea[_0x499cd7(0x17b)]=_0x499cd7(0x166),_0xf003ea[_0x499cd7(0x12a)]=_0x499cd7(0x14f),_0xf003ea['moKyk']=_0x499cd7(0x154);const _0x5a1555=_0xf003ea,_0x356667=_0x3cbc63[_0x499cd7(0x160)][_0x499cd7(0x12d)]((_0x54bb4a,_0x566d9d)=>{const _0x321a19=_0x499cd7,_0x8a9c78=exports[_0x321a19(0x180)](_0x566d9d);return _0x8a9c78&&(_0x54bb4a=_0x54bb4a[_0x321a19(0x16a)](_0x8a9c78)),_0x54bb4a;},[]),_0x4c1ca1=_0x3cbc63[_0x499cd7(0x174)][_0x499cd7(0x13b)](_0x2c17c5=>{const _0xaea96e=_0x499cd7,_0x45ff3a=_0x5a1555[_0xaea96e(0x15a)](_0x2c17c5['type'],_0x5a1555['XCukQ'])&&!_0x2c17c5[_0xaea96e(0x172)]&&_0x5a1555[_0xaea96e(0x15a)](_0x2c17c5['state'],_0x5a1555[_0xaea96e(0x12a)])&&_0x5a1555['fQixg'](_0x2c17c5[_0xaea96e(0x171)],_0x5a1555[_0xaea96e(0x153)])&&!_0x2c17c5[_0xaea96e(0x175)];return _0x45ff3a;});return _0x4c1ca1[_0x499cd7(0x16a)](_0x356667);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a32_0xde5c(){const _0x53de06=['dwOFf','OVXot','JNunk','executeAsyncScript','env','616548UKhIQe','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/testhub/utils','https:','XgARw','\x20-\x20','testAnalyticsId','egyyx','length','sessionNameSet__','Performing\x20scan\x20before\x20saving\x20results','gpxIm','5zWcfyC','thTestRunUuid','suHaA','../../helpers/accessibility-automation/helper','then','app','KZvIO','5221024vzZqUW','isAccessibilityPlatform','AbOCV','gEuMa','startMonitoring','OhTgW','fSayN','cZsVs','MXMMe','__error_messages__','saveTestResults','failed','__drivers','join','52238eLWgKz',',\x22level\x22:\x20\x22','quitCount_','qICfq','timeout','napXZ','passed','sOSha','../../helpers/globals','http:','getCurrentUrl','kgzBp','format','UHcTn','BjXFO','26qyXPPW','7548336zBgcNP','UfFDh','../../helpers/testhub/constants','browserstackSessionName','NIveI','percyCaptureMode','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','PnHeN','../../helpers/logger','wmWyu','pCmGx','../../helpers/accessibility-automation/scripts','FnYFb','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','thBuildUuid','mochaHooks','getGlobal','ENV_VAR','kncvT','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Failed\x20to\x20store\x20session\x20name:\x20','titlePath','2982472DzwudW','WzQtZ','245EtOMck','protocol','currentTest','shift','OYsWi','dyAyk','__sessionFailed','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','fypRM','debug','6666PKtFVg','err','capabilities','xDFcE','aCvuY','Passed','setGlobal','sMNWp','accessibilityScanStarted','stringify','mXikx','shouldScanTestForAccessibility','performScan','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','driverCleanup','session_','push','./test-observability/mochaUtils','OWISs','SeleF','../../helpers/performance-tester','TJbWp','isArray','negzv','error','32800hkVkHC','message','glwhe','info','135144JbwkCY','winstonLogger'];a32_0xde5c=function(){return _0x53de06;};return a32_0xde5c();}function a32_0x3813(_0x5b1461,_0x522561){const _0xde5ccf=a32_0xde5c();return a32_0x3813=function(_0x3813da,_0xf3673b){_0x3813da=_0x3813da-0x160;let _0x49a381=_0xde5ccf[_0x3813da];return _0x49a381;},a32_0x3813(_0x5b1461,_0x522561);}const a32_0x4225dc=a32_0x3813;(function(_0x2aff75,_0x2e16a4){const _0x4bf0fe=a32_0x3813,_0xac682a=_0x2aff75();while(!![]){try{const _0x5ea755=parseInt(_0x4bf0fe(0x1d6))/0x1*(-parseInt(_0x4bf0fe(0x16e))/0x2)+parseInt(_0x4bf0fe(0x1b5))/0x3+-parseInt(_0x4bf0fe(0x185))/0x4*(-parseInt(_0x4bf0fe(0x1c1))/0x5)+-parseInt(_0x4bf0fe(0x1ae))/0x6*(-parseInt(_0x4bf0fe(0x187))/0x7)+parseInt(_0x4bf0fe(0x1c8))/0x8+parseInt(_0x4bf0fe(0x16f))/0x9+-parseInt(_0x4bf0fe(0x1aa))/0xa*(parseInt(_0x4bf0fe(0x191))/0xb);if(_0x5ea755===_0x2e16a4)break;else _0xac682a['push'](_0xac682a['shift']());}catch(_0x463fe2){_0xac682a['push'](_0xac682a['shift']());}}}(a32_0xde5c,0x89b40));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x4225dc(0x1c4)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x4225dc(0x1a2)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require(a32_0x4225dc(0x1a5)),scripts=require(a32_0x4225dc(0x17a)),globals=require(a32_0x4225dc(0x167)),logger=require(a32_0x4225dc(0x177))[a32_0x4225dc(0x1af)],{shouldProcessEventForTesthub}=require(a32_0x4225dc(0x1b7)),testHubConstants=require(a32_0x4225dc(0x171));exports[a32_0x4225dc(0x17e)]={'beforeAll'(){const _0x4fd344=a32_0x4225dc,_0x417bb6={'uClvZ':function(_0x3193d2,_0x18f4f4,_0xac363f,_0x28e065){return _0x3193d2(_0x18f4f4,_0xac363f,_0x28e065);},'mXikx':_0x4fd344(0x1d3),'MXMMe':'\x20|\x20','KZvIO':function(_0x57146e,_0x56d6ff,_0x4bd770){return _0x57146e(_0x56d6ff,_0x4bd770);},'UHcTn':_0x4fd344(0x165),'egyyx':function(_0x592901){return _0x592901();},'dyAyk':function(_0x341f64,_0x413447,_0x47f65a){return _0x341f64(_0x413447,_0x47f65a);}};PerformanceTester[_0x4fd344(0x1cc)]();const _0xac1820='browserstack internal helper hook';global[_0x4fd344(0x1d1)]=[],global[_0x4fd344(0x18d)]=![],global[_0x4fd344(0x19f)]=async()=>{const _0x492435=_0x4fd344;let _0x1ac751=![];try{await global[_0x492435(0x1d4)][0x0]['session_'],_0x1ac751=!![],global[_0x492435(0x18d)]?await _0x417bb6['uClvZ'](markSessionStatus,global['__drivers'][0x0],_0x417bb6[_0x492435(0x19b)],global[_0x492435(0x1d1)][_0x492435(0x1d5)](_0x417bb6[_0x492435(0x1d0)])):await _0x417bb6[_0x492435(0x1c7)](markSessionStatus,global[_0x492435(0x1d4)][0x0],_0x417bb6[_0x492435(0x16c)]);}catch(_0x16c407){}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x1ac751)try{try{_0x417bb6[_0x492435(0x1bc)](shouldProcessEventForTesthub)&&(global[_0x492435(0x1d4)][0x0]&&await _0x417bb6[_0x492435(0x18c)](sendPlatformDetails,global[_0x492435(0x1d4)][0x0],this[_0x492435(0x189)]?this[_0x492435(0x189)][_0x492435(0x1bb)]:null));}catch{}await global[_0x492435(0x1d4)][0x0]['initQuit']();}catch(_0x38ac13){}};},'beforeEach'(_0x35ec8b){const _0x4ec501=a32_0x4225dc,_0x1b7a41={'OWISs':function(_0x1eb667,_0x378668){return _0x1eb667>_0x378668;},'kgzBp':_0x4ec501(0x1ba),'SeleF':function(_0x4e3763,_0xd0ea20,_0x1a2718){return _0x4e3763(_0xd0ea20,_0x1a2718);},'qICfq':'bstackA11yShouldScan','hixtC':function(_0x1b0fdb){return _0x1b0fdb();},'UOnHp':function(_0x4f6ca9,_0x88fbd2){return _0x4f6ca9>_0x88fbd2;},'PnHeN':_0x4ec501(0x1c9),'XgARw':function(_0x400522,_0x8a1fb6){return _0x400522===_0x8a1fb6;},'cZsVs':_0x4ec501(0x168),'TJbWp':_0x4ec501(0x1b8),'aCvuY':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AbOCV':'Automate\x20test\x20case\x20execution\x20has\x20started.','gEuMa':function(_0x17bf2e){return _0x17bf2e();}};new Promise(async _0x4015ee=>{const _0x1c7cbc=_0x4ec501,_0x22dda6='browserstack internal helper hook';let _0x59838b=!![];try{_0x1b7a41[_0x1c7cbc(0x1a3)](global[_0x1c7cbc(0x1d4)][_0x1c7cbc(0x1bd)],0x1)&&(await global[_0x1c7cbc(0x19f)](),global[_0x1c7cbc(0x1d4)][_0x1c7cbc(0x18a)]()),_0x1b7a41[_0x1c7cbc(0x1a3)](global['__drivers'][0x0][_0x1c7cbc(0x161)],0x0)&&(_0x59838b=![],await global['driverCleanup']());}catch{}try{Array[_0x1c7cbc(0x1a7)](global[_0x1c7cbc(0x1d4)])&&global[_0x1c7cbc(0x1d4)][0x0]&&(global[_0x1c7cbc(0x1d4)][0x0][_0x1c7cbc(0x172)]=this[_0x1c7cbc(0x189)][_0x1c7cbc(0x184)]()[_0x1c7cbc(0x1d5)](_0x1b7a41[_0x1c7cbc(0x16a)])),global[_0x1c7cbc(0x172)]=this[_0x1c7cbc(0x189)]['titlePath']()[_0x1c7cbc(0x1d5)](_0x1b7a41['kgzBp']);}catch(_0x3e8aa0){logger[_0x1c7cbc(0x190)](_0x1c7cbc(0x183)+_0x3e8aa0);}this[_0x1c7cbc(0x189)]['shouldScanTestForAccessibility']=_0x1b7a41[_0x1c7cbc(0x1a4)](shouldScanTestForAccessibility,this[_0x1c7cbc(0x189)][_0x1c7cbc(0x184)](),!![]),globals[_0x1c7cbc(0x197)](_0x1b7a41[_0x1c7cbc(0x162)],this[_0x1c7cbc(0x189)][_0x1c7cbc(0x19c)]),this[_0x1c7cbc(0x189)][_0x1c7cbc(0x199)]=!![];if(_0x1b7a41['hixtC'](isAccessibilityAutomationSession)&&_0x59838b&&Array[_0x1c7cbc(0x1a7)](global['__drivers'])&&_0x1b7a41['UOnHp'](global[_0x1c7cbc(0x1d4)][_0x1c7cbc(0x1bd)],0x0)&&globals[_0x1c7cbc(0x17f)](_0x1b7a41[_0x1c7cbc(0x176)]))try{const _0x477065=await global[_0x1c7cbc(0x1d4)][0x0][_0x1c7cbc(0x1a0)];if(_0x477065){let _0x1b675a=!![];const _0x228bc6=await global[_0x1c7cbc(0x1d4)][0x0][_0x1c7cbc(0x169)]();let _0x1b3292;try{_0x1b3292=new URL(_0x228bc6);}catch(_0x2e350f){_0x1b675a=![];}_0x1b675a=_0x1b7a41[_0x1c7cbc(0x1b9)](_0x1b3292['protocol'],_0x1b7a41[_0x1c7cbc(0x1cf)])||_0x1b7a41[_0x1c7cbc(0x1b9)](_0x1b3292[_0x1c7cbc(0x188)],_0x1b7a41[_0x1c7cbc(0x1a6)]),_0x1b675a&&(this[_0x1c7cbc(0x189)][_0x1c7cbc(0x19c)]&&logger[_0x1c7cbc(0x1ad)](_0x1b7a41[_0x1c7cbc(0x195)])),this[_0x1c7cbc(0x189)][_0x1c7cbc(0x199)]=this[_0x1c7cbc(0x189)]['shouldScanTestForAccessibility'],this[_0x1c7cbc(0x189)][_0x1c7cbc(0x19c)]&&logger[_0x1c7cbc(0x1ad)](_0x1b7a41[_0x1c7cbc(0x1ca)]);}}catch(_0x4bb104){logger['error'](_0x1c7cbc(0x17c)+util[_0x1c7cbc(0x16b)](_0x4bb104));}_0x1b7a41[_0x1c7cbc(0x1cb)](_0x4015ee);})[_0x4ec501(0x1c5)](_0x35ec8b);},'afterEach'(_0x533d8c){const _0x1cabfc=a32_0x4225dc,_0x466b1a={'pCmGx':function(_0x4c711f,_0x1c522f){return _0x4c711f>_0x1c522f;},'OVXot':function(_0x22dbef,_0xe31ff3){return _0x22dbef===_0xe31ff3;},'fypRM':'testcase','UfFDh':'appium:app','sOSha':function(_0x5b7c1e,_0x33f05a,_0x56e277,_0x2652bd){return _0x5b7c1e(_0x33f05a,_0x56e277,_0x2652bd);},'NIveI':_0x1cabfc(0x1ba),'suHaA':function(_0x582d06,_0x2bce38){return _0x582d06!==_0x2bce38;},'napXZ':'passed','kncvT':function(_0x4ca139,_0x42ea75,_0x285208){return _0x4ca139(_0x42ea75,_0x285208);},'fSayN':function(_0x2d9943,_0xba9d5c){return _0x2d9943+_0xba9d5c;},'jmoCs':'Failed:\x20','sMNWp':_0x1cabfc(0x1a9),'gpxIm':function(_0x564e6a,_0xf38de6,_0x5c50af){return _0x564e6a(_0xf38de6,_0x5c50af);},'BjXFO':_0x1cabfc(0x196),'FgKiO':_0x1cabfc(0x1ad),'xDFcE':_0x1cabfc(0x1c9),'dyWmJ':'bstackA11yShouldScan','dwOFf':_0x1cabfc(0x182),'OYsWi':_0x1cabfc(0x1bf),'glwhe':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OhTgW':function(_0x5973af){return _0x5973af();},'negzv':function(_0x1ed7c2,_0x3a288c,_0x32e962){return _0x1ed7c2(_0x3a288c,_0x32e962);},'FnYFb':_0x1cabfc(0x190),'wmWyu':function(_0x4794ca,_0x2341c4){return _0x4794ca>_0x2341c4;},'JNunk':function(_0x2bf050){return _0x2bf050();}},_0x5bf9da='browserstack internal helper hook';this[_0x1cabfc(0x163)](0xfde8);const _0x279489=async(_0x14c412,_0x1eed62)=>{const _0x31dcfa=_0x1cabfc;await global[_0x31dcfa(0x1d4)][0x0]['executeScript'](_0x31dcfa(0x1b6)+_0x14c412+_0x31dcfa(0x160)+_0x1eed62+'\x22}}');};new Promise(async _0x809b21=>{const _0x6c050f=_0x1cabfc;try{_0x466b1a[_0x6c050f(0x179)](global['__drivers'][_0x6c050f(0x1bd)],0x1)&&(await global['driverCleanup'](),global[_0x6c050f(0x1d4)]['shift'](),global['__error_messages__']=[],global[_0x6c050f(0x18d)]=![]);try{if(global['percy']&&_0x466b1a[_0x6c050f(0x1b1)](global[_0x6c050f(0x174)],_0x466b1a[_0x6c050f(0x18f)])&&global[_0x6c050f(0x1d4)][0x0]){const _0x512e3d=_0x466b1a['pCmGx'](global[_0x6c050f(0x193)]['length'],0x0)?!!global[_0x6c050f(0x193)][0x0][_0x6c050f(0x1c6)]||!!global[_0x6c050f(0x193)][0x0][_0x466b1a[_0x6c050f(0x170)]]:![],_0x33da74={};_0x33da74['app']=_0x512e3d,await _0x466b1a[_0x6c050f(0x166)](percyAutoCapture,global['__drivers'][0x0],_0x466b1a[_0x6c050f(0x18f)],_0x33da74);}}catch(_0x1af058){}!global['__skipSessionName']&&(await global['__drivers'][0x0]['executeScript'](_0x6c050f(0x175)+JSON[_0x6c050f(0x19a)](this[_0x6c050f(0x189)]['titlePath']()[_0x6c050f(0x1d5)](_0x466b1a[_0x6c050f(0x173)]))+'}}'),global['__drivers'][0x0][_0x6c050f(0x1be)]=!![]);const _0x41443f=_0x466b1a[_0x6c050f(0x1c3)](this[_0x6c050f(0x189)]['state'],_0x466b1a[_0x6c050f(0x164)]);_0x41443f?(global['__sessionFailed']=!![],global['__error_messages__'][_0x6c050f(0x1a1)](this[_0x6c050f(0x189)][_0x6c050f(0x192)][_0x6c050f(0x1ab)]),await _0x466b1a[_0x6c050f(0x181)](_0x279489,JSON['stringify'](_0x466b1a[_0x6c050f(0x1ce)](_0x466b1a['jmoCs'],this[_0x6c050f(0x189)][_0x6c050f(0x192)][_0x6c050f(0x1ab)])),_0x466b1a[_0x6c050f(0x198)])):await _0x466b1a[_0x6c050f(0x1c0)](_0x279489,JSON['stringify'](_0x466b1a[_0x6c050f(0x16d)]),_0x466b1a['FgKiO']);}catch(_0x3be3a0){}try{if(this[_0x6c050f(0x189)]['accessibilityScanStarted']&&globals[_0x6c050f(0x17f)](_0x466b1a[_0x6c050f(0x194)])&&globals['getGlobal'](_0x466b1a['dyWmJ'])){logger[_0x6c050f(0x1ad)](_0x466b1a[_0x6c050f(0x1b0)]);const _0x1df29b={};_0x1df29b[_0x6c050f(0x1c2)]=this[_0x6c050f(0x189)]['testAnalyticsId'],_0x1df29b[_0x6c050f(0x17d)]=process[_0x6c050f(0x1b4)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x1df29b['thJwtToken']=process[_0x6c050f(0x1b4)][testHubConstants[_0x6c050f(0x180)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5e5511=_0x1df29b;logger[_0x6c050f(0x190)](_0x6c050f(0x19e)+JSON[_0x6c050f(0x19a)](_0x5e5511)),logger[_0x6c050f(0x190)](_0x466b1a[_0x6c050f(0x18b)]),logger[_0x6c050f(0x190)](util[_0x6c050f(0x16b)](await global[_0x6c050f(0x1d4)][0x0]['executeAsyncScript'](scripts[_0x6c050f(0x19d)],{'method':global[_0x6c050f(0x172)]}))),await global[_0x6c050f(0x1d4)][0x0][_0x6c050f(0x1b3)](scripts[_0x6c050f(0x1d2)],_0x5e5511),logger['info'](_0x466b1a[_0x6c050f(0x1ac)]);}}catch(_0x1e40b6){logger[_0x6c050f(0x1a9)](_0x6c050f(0x18e)+this[_0x6c050f(0x189)][_0x6c050f(0x184)]()+'.\x20Error\x20:',_0x1e40b6);}try{try{if(_0x466b1a[_0x6c050f(0x1cd)](shouldProcessEventForTesthub)){global[_0x6c050f(0x1d4)][0x0]&&await _0x466b1a['negzv'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this['currentTest'][_0x6c050f(0x1bb)]:null);if(_0x466b1a[_0x6c050f(0x1cd)](isBrowserstackInfra)){const _0x14e2b2='ObservabilitySync:'+Date['now']();await _0x466b1a[_0x6c050f(0x1a8)](_0x279489,JSON[_0x6c050f(0x19a)](_0x14e2b2),_0x466b1a[_0x6c050f(0x17b)]);}}}catch{}_0x466b1a[_0x6c050f(0x178)](global[_0x6c050f(0x1d4)][0x0][_0x6c050f(0x161)],0x0)&&await global[_0x6c050f(0x19f)]();}catch(_0x22e0e0){}_0x466b1a[_0x6c050f(0x1b2)](_0x809b21);})[_0x1cabfc(0x1c5)](()=>_0x533d8c());},'afterAll'(_0x4b1a77){const _0x53fc94=a32_0x4225dc,_0x4ee680={'WzQtZ':function(_0x579b53){return _0x579b53();}},_0x3a78e9='browserstack internal helper hook';this[_0x53fc94(0x163)](0xfde8),new Promise(async _0x205126=>{const _0x174d85=_0x53fc94;PerformanceTester['stopMonitoring'](),await global[_0x174d85(0x19f)](),_0x4ee680[_0x174d85(0x186)](_0x205126);})[_0x53fc94(0x1c5)](()=>_0x4b1a77());}};
|
|
1
|
+
const a32_0x47175e=a32_0x3d8e;function a32_0x3d8e(_0x4c815c,_0x4e7489){const _0x3cdae0=a32_0x3cda();return a32_0x3d8e=function(_0x3d8eb1,_0x128192){_0x3d8eb1=_0x3d8eb1-0x78;let _0x19914f=_0x3cdae0[_0x3d8eb1];return _0x19914f;},a32_0x3d8e(_0x4c815c,_0x4e7489);}(function(_0xc6b8bd,_0x9114ca){const _0x1addc3=a32_0x3d8e,_0xdfded2=_0xc6b8bd();while(!![]){try{const _0x1deb3c=-parseInt(_0x1addc3(0xa5))/0x1+-parseInt(_0x1addc3(0xe2))/0x2+parseInt(_0x1addc3(0xb0))/0x3+parseInt(_0x1addc3(0xe0))/0x4*(parseInt(_0x1addc3(0xf2))/0x5)+-parseInt(_0x1addc3(0xe5))/0x6*(parseInt(_0x1addc3(0x8d))/0x7)+-parseInt(_0x1addc3(0xab))/0x8+parseInt(_0x1addc3(0x80))/0x9;if(_0x1deb3c===_0x9114ca)break;else _0xdfded2['push'](_0xdfded2['shift']());}catch(_0x5a5e72){_0xdfded2['push'](_0xdfded2['shift']());}}}(a32_0x3cda,0x3f4aa));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x47175e(0xac)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x47175e(0xed)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x47175e(0xa6)),PerformanceTester=require(a32_0x47175e(0xf3)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x47175e(0xcc)),logger=require(a32_0x47175e(0xa7))[a32_0x47175e(0x78)],{shouldProcessEventForTesthub}=require(a32_0x47175e(0xbc)),testHubConstants=require(a32_0x47175e(0xbf));function a32_0x3cda(){const _0x3fa2c1=['HoLBp','./test-observability/mochaUtils','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','JIUFQ','lwPdk','performScan','470090VLMpDR','../../helpers/performance-tester','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','vcREb','\x22}}','winstonLogger','saveTestResults','ywrgn','iRjwI','thJwtToken','.\x20Error\x20:','hqwun','ASgsw','13369032dMGqZy','stringify','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','setGlobal','shouldScanTestForAccessibility','appium:app','QdUkk','browserstackSessionName','session_','capabilities','stopMonitoring','pLTGP','getCurrentUrl','49FEancY','__error_messages__','quitCount_','eqfdn','then','EWeqb','Passed','DMSpx','fKewn','KwnkH','push','__drivers','azdxB','bPDXn','VCaPW','mochaHooks','ObservabilitySync:','GfoHu','executeScript','app','debug','PHaZa','err','eAiwo','169522CnPCBL','../../helpers/helper','../../helpers/logger','protocol','error','failed','1844312fpsdGs','../../helpers/accessibility-automation/helper','ShMvB','timeout','testAnalyticsId','48384CivxtV','cBuNB','join','uZjRT',',\x22level\x22:\x20\x22','driverCleanup','sessionNameSet__','titlePath','http:','passed','nGTBw','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/testhub/utils','percy','ZuQkl','../../helpers/testhub/constants','UEVbG','env','shift','executeAsyncScript','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','\x20-\x20','Performing\x20scan\x20before\x20saving\x20results','accessibilityScanStarted','uqwSW','KHUHN','__sessionFailed','thBuildUuid','../../helpers/globals','initQuit','testcase','okIJw','startMonitoring','bstackA11yShouldScan','BROWSERSTACK_TESTHUB_JWT','getGlobal','length','RvBFe','thTestRunUuid','nbysV','BROWSERSTACK_TESTHUB_UUID','pEiXJ','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','isAccessibilityPlatform','ENV_VAR','currentTest','McCvt','info','8uyIKvS','message','1036560XIPUhU','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','438882iyzrqF','state','__skipSessionName','\x20|\x20','fQOXJ','format','pXMgf'];a32_0x3cda=function(){return _0x3fa2c1;};return a32_0x3cda();}exports[a32_0x47175e(0x9c)]={'beforeAll'(){const _0x3f10e2=a32_0x47175e,_0x4010a1={'eqfdn':function(_0x297a89,_0x5a77f6,_0x169d25,_0x5946ae){return _0x297a89(_0x5a77f6,_0x169d25,_0x5946ae);},'ASgsw':_0x3f10e2(0xaa),'kCXaJ':_0x3f10e2(0xe8),'HoLBp':function(_0x2a74e9,_0xe2dd2f,_0x531fac){return _0x2a74e9(_0xe2dd2f,_0x531fac);},'pEiXJ':'passed','bPDXn':function(_0x177ecb){return _0x177ecb();}};PerformanceTester[_0x3f10e2(0xd0)]();const _0xbf4d8b='browserstack internal helper hook';global['__error_messages__']=[],global[_0x3f10e2(0xca)]=![],global[_0x3f10e2(0xb5)]=async()=>{const _0x40b1e7=_0x3f10e2;let _0x36e612=![];try{await global[_0x40b1e7(0x98)][0x0]['session_'],_0x36e612=!![],global[_0x40b1e7(0xca)]?await _0x4010a1[_0x40b1e7(0x90)](markSessionStatus,global[_0x40b1e7(0x98)][0x0],_0x4010a1[_0x40b1e7(0x7f)],global['__error_messages__']['join'](_0x4010a1['kCXaJ'])):await _0x4010a1[_0x40b1e7(0xec)](markSessionStatus,global['__drivers'][0x0],_0x4010a1[_0x40b1e7(0xd9)]);}catch(_0x24a10e){}global[_0x40b1e7(0x8e)]=[],global[_0x40b1e7(0xca)]=![];if(_0x36e612)try{try{_0x4010a1[_0x40b1e7(0x9a)](shouldProcessEventForTesthub)&&(global[_0x40b1e7(0x98)][0x0]&&await _0x4010a1[_0x40b1e7(0xec)](sendPlatformDetails,global[_0x40b1e7(0x98)][0x0],this[_0x40b1e7(0xdd)]?this[_0x40b1e7(0xdd)][_0x40b1e7(0xaf)]:null));}catch{}await global[_0x40b1e7(0x98)][0x0][_0x40b1e7(0xcd)]();}catch(_0x31cdbd){}};},'beforeEach'(_0x315195){const _0x42181e=a32_0x47175e,_0x52f239={'GfoHu':function(_0x2390fd,_0x542fb6){return _0x2390fd>_0x542fb6;},'VCaPW':function(_0x528668,_0x2dda8d){return _0x528668>_0x2dda8d;},'lwPdk':'\x20-\x20','azdxB':function(_0x1a9f64,_0x4093f9,_0x4826af){return _0x1a9f64(_0x4093f9,_0x4826af);},'DMSpx':_0x42181e(0xd1),'uZjRT':function(_0x5a27c7){return _0x5a27c7();},'EWeqb':function(_0x50454b,_0x1fcca9){return _0x50454b>_0x1fcca9;},'ywrgn':_0x42181e(0xdb),'ShMvB':function(_0x2c5577,_0x10a2da){return _0x2c5577===_0x10a2da;},'pLTGP':_0x42181e(0xb8),'PHaZa':function(_0x5212e3,_0x1e790c){return _0x5212e3===_0x1e790c;},'nPCQB':'https:','QdUkk':_0x42181e(0x82),'hqwun':_0x42181e(0xbb)};new Promise(async _0x2a42fd=>{const _0x18f3b7=_0x42181e,_0x7530e2='browserstack internal helper hook';let _0x2ac050=!![];try{_0x52f239[_0x18f3b7(0x9e)](global[_0x18f3b7(0x98)][_0x18f3b7(0xd4)],0x1)&&(await global[_0x18f3b7(0xb5)](),global[_0x18f3b7(0x98)][_0x18f3b7(0xc2)]()),_0x52f239[_0x18f3b7(0x9b)](global[_0x18f3b7(0x98)][0x0][_0x18f3b7(0x8f)],0x0)&&(_0x2ac050=![],await global[_0x18f3b7(0xb5)]());}catch{}try{Array['isArray'](global[_0x18f3b7(0x98)])&&global[_0x18f3b7(0x98)][0x0]&&(global[_0x18f3b7(0x98)][0x0][_0x18f3b7(0x87)]=this[_0x18f3b7(0xdd)][_0x18f3b7(0xb7)]()['join'](_0x52f239[_0x18f3b7(0xf0)])),global[_0x18f3b7(0x87)]=this['currentTest']['titlePath']()[_0x18f3b7(0xb2)](_0x52f239[_0x18f3b7(0xf0)]);}catch(_0x2081a8){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x2081a8);}this[_0x18f3b7(0xdd)][_0x18f3b7(0x84)]=_0x52f239[_0x18f3b7(0x99)](shouldScanTestForAccessibility,this[_0x18f3b7(0xdd)][_0x18f3b7(0xb7)](),!![]),globals[_0x18f3b7(0x83)](_0x52f239[_0x18f3b7(0x94)],this[_0x18f3b7(0xdd)]['shouldScanTestForAccessibility']),this[_0x18f3b7(0xdd)][_0x18f3b7(0xc7)]=!![];if(_0x52f239['uZjRT'](isAccessibilityAutomationSession)&&_0x2ac050&&Array['isArray'](global['__drivers'])&&_0x52f239[_0x18f3b7(0x92)](global[_0x18f3b7(0x98)][_0x18f3b7(0xd4)],0x0)&&globals[_0x18f3b7(0xd3)](_0x52f239[_0x18f3b7(0x7a)]))try{const _0x2a8d52=await global[_0x18f3b7(0x98)][0x0][_0x18f3b7(0x88)];if(_0x2a8d52){let _0x11f1e0=!![];const _0x58a2ca=await global['__drivers'][0x0][_0x18f3b7(0x8c)]();let _0x368bb4;try{_0x368bb4=new URL(_0x58a2ca);}catch(_0x4494bd){_0x11f1e0=![];}_0x11f1e0=_0x52f239[_0x18f3b7(0xad)](_0x368bb4[_0x18f3b7(0xa8)],_0x52f239[_0x18f3b7(0x8b)])||_0x52f239[_0x18f3b7(0xa2)](_0x368bb4[_0x18f3b7(0xa8)],_0x52f239['nPCQB']),_0x11f1e0&&(this[_0x18f3b7(0xdd)][_0x18f3b7(0x84)]&&logger[_0x18f3b7(0xdf)](_0x52f239[_0x18f3b7(0x86)])),this[_0x18f3b7(0xdd)][_0x18f3b7(0xc7)]=this[_0x18f3b7(0xdd)][_0x18f3b7(0x84)],this['currentTest'][_0x18f3b7(0x84)]&&logger[_0x18f3b7(0xdf)](_0x52f239[_0x18f3b7(0x7e)]);}}catch(_0x2ecff6){logger[_0x18f3b7(0xa9)](_0x18f3b7(0xe3)+util[_0x18f3b7(0xea)](_0x2ecff6));}_0x52f239[_0x18f3b7(0xb3)](_0x2a42fd);})['then'](_0x315195);},'afterEach'(_0x1414bb){const _0x2f0020=a32_0x47175e,_0x32b8ce={'iRjwI':function(_0x1da610,_0x518204){return _0x1da610>_0x518204;},'vcREb':function(_0x529d94,_0x5dc6ce){return _0x529d94===_0x5dc6ce;},'RvBFe':_0x2f0020(0xce),'oleiP':_0x2f0020(0x85),'hSpDF':function(_0x534860,_0x5302dd,_0x376f1a,_0x2a04e5){return _0x534860(_0x5302dd,_0x376f1a,_0x2a04e5);},'cbMDq':_0x2f0020(0xc5),'dKKsX':function(_0x486638,_0x96b92){return _0x486638!==_0x96b92;},'KHUHN':_0x2f0020(0xb9),'ZczFU':function(_0x5526e4,_0x45e9db,_0x359817){return _0x5526e4(_0x45e9db,_0x359817);},'pXMgf':function(_0x2aaacb,_0x25b218){return _0x2aaacb+_0x25b218;},'cBuNB':'Failed:\x20','JIUFQ':_0x2f0020(0xa9),'fQOXJ':function(_0x1fed19,_0x699b66,_0xd12cbb){return _0x1fed19(_0x699b66,_0xd12cbb);},'nbysV':_0x2f0020(0x93),'fKewn':_0x2f0020(0xdf),'uqwSW':_0x2f0020(0xdb),'fjuZX':'bstackA11yShouldScan','UEVbG':_0x2f0020(0xc4),'KwnkH':_0x2f0020(0xc6),'eAiwo':_0x2f0020(0xee),'ZuQkl':function(_0x2bbb97){return _0x2bbb97();},'dPPSW':function(_0x331c15,_0x1a5973,_0x3077db){return _0x331c15(_0x1a5973,_0x3077db);},'okIJw':function(_0x364908){return _0x364908();},'McCvt':'debug'},_0x362207='browserstack internal helper hook';this[_0x2f0020(0xae)](0xfde8);const _0x4cb727=async(_0x7de85e,_0x1bcb77)=>{const _0x179778=_0x2f0020;await global[_0x179778(0x98)][0x0][_0x179778(0x9f)](_0x179778(0xf4)+_0x7de85e+_0x179778(0xb4)+_0x1bcb77+_0x179778(0xf6));};new Promise(async _0x244330=>{const _0x47d8e7=_0x2f0020;try{_0x32b8ce[_0x47d8e7(0x7b)](global['__drivers']['length'],0x1)&&(await global[_0x47d8e7(0xb5)](),global['__drivers'][_0x47d8e7(0xc2)](),global[_0x47d8e7(0x8e)]=[],global['__sessionFailed']=![]);try{if(global[_0x47d8e7(0xbd)]&&_0x32b8ce[_0x47d8e7(0xf5)](global['percyCaptureMode'],_0x32b8ce[_0x47d8e7(0xd5)])&&global[_0x47d8e7(0x98)][0x0]){const _0x2af6b7=_0x32b8ce[_0x47d8e7(0x7b)](global[_0x47d8e7(0x89)][_0x47d8e7(0xd4)],0x0)?!!global[_0x47d8e7(0x89)][0x0]['app']||!!global[_0x47d8e7(0x89)][0x0][_0x32b8ce['oleiP']]:![],_0x40791f={};_0x40791f[_0x47d8e7(0xa0)]=_0x2af6b7,await _0x32b8ce['hSpDF'](percyAutoCapture,global[_0x47d8e7(0x98)][0x0],_0x32b8ce[_0x47d8e7(0xd5)],_0x40791f);}}catch(_0x5362f5){}!global[_0x47d8e7(0xe7)]&&(await global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0x9f)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0x47d8e7(0xdd)][_0x47d8e7(0xb7)]()[_0x47d8e7(0xb2)](_0x32b8ce['cbMDq']))+'}}'),global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0xb6)]=!![]);const _0x2655dd=_0x32b8ce['dKKsX'](this[_0x47d8e7(0xdd)][_0x47d8e7(0xe6)],_0x32b8ce[_0x47d8e7(0xc9)]);_0x2655dd?(global['__sessionFailed']=!![],global['__error_messages__'][_0x47d8e7(0x97)](this[_0x47d8e7(0xdd)][_0x47d8e7(0xa3)][_0x47d8e7(0xe1)]),await _0x32b8ce['ZczFU'](_0x4cb727,JSON[_0x47d8e7(0x81)](_0x32b8ce[_0x47d8e7(0xeb)](_0x32b8ce[_0x47d8e7(0xb1)],this[_0x47d8e7(0xdd)]['err'][_0x47d8e7(0xe1)])),_0x32b8ce[_0x47d8e7(0xef)])):await _0x32b8ce[_0x47d8e7(0xe9)](_0x4cb727,JSON[_0x47d8e7(0x81)](_0x32b8ce[_0x47d8e7(0xd7)]),_0x32b8ce[_0x47d8e7(0x95)]);}catch(_0x55c39d){}try{if(this[_0x47d8e7(0xdd)]['accessibilityScanStarted']&&globals['getGlobal'](_0x32b8ce[_0x47d8e7(0xc8)])&&globals[_0x47d8e7(0xd3)](_0x32b8ce['fjuZX'])){logger['info'](_0x32b8ce[_0x47d8e7(0xc0)]);const _0x5a68bd={};_0x5a68bd[_0x47d8e7(0xd6)]=this[_0x47d8e7(0xdd)][_0x47d8e7(0xaf)],_0x5a68bd[_0x47d8e7(0xcb)]=process[_0x47d8e7(0xc1)][testHubConstants[_0x47d8e7(0xdc)][_0x47d8e7(0xd8)]],_0x5a68bd[_0x47d8e7(0x7c)]=process[_0x47d8e7(0xc1)][testHubConstants[_0x47d8e7(0xdc)][_0x47d8e7(0xd2)]];const _0x36f109=_0x5a68bd;logger[_0x47d8e7(0xa1)](_0x47d8e7(0xe4)+JSON['stringify'](_0x36f109)),logger[_0x47d8e7(0xa1)](_0x32b8ce[_0x47d8e7(0x96)]),logger[_0x47d8e7(0xa1)](util['format'](await global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0xc3)](scripts[_0x47d8e7(0xf1)],{'method':global['browserstackSessionName']}))),await global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0xc3)](scripts[_0x47d8e7(0x79)],_0x36f109),logger['info'](_0x32b8ce[_0x47d8e7(0xa4)]);}}catch(_0x122f4b){logger['error'](_0x47d8e7(0xda)+this[_0x47d8e7(0xdd)][_0x47d8e7(0xb7)]()+_0x47d8e7(0x7d),_0x122f4b);}try{try{if(_0x32b8ce[_0x47d8e7(0xbe)](shouldProcessEventForTesthub)){global[_0x47d8e7(0x98)][0x0]&&await _0x32b8ce['dPPSW'](sendPlatformDetails,global[_0x47d8e7(0x98)][0x0],this['currentTest']?this[_0x47d8e7(0xdd)][_0x47d8e7(0xaf)]:null);if(_0x32b8ce[_0x47d8e7(0xcf)](isBrowserstackInfra)){const _0x46c74e=_0x47d8e7(0x9d)+Date['now']();await _0x32b8ce['fQOXJ'](_0x4cb727,JSON[_0x47d8e7(0x81)](_0x46c74e),_0x32b8ce[_0x47d8e7(0xde)]);}}}catch{}_0x32b8ce[_0x47d8e7(0x7b)](global[_0x47d8e7(0x98)][0x0][_0x47d8e7(0x8f)],0x0)&&await global[_0x47d8e7(0xb5)]();}catch(_0x324325){}_0x32b8ce[_0x47d8e7(0xcf)](_0x244330);})[_0x2f0020(0x91)](()=>_0x1414bb());},'afterAll'(_0x4dde2e){const _0x13f862=a32_0x47175e,_0x2ae11a={'nGTBw':function(_0x373916){return _0x373916();}},_0x3360a0='browserstack internal helper hook';this[_0x13f862(0xae)](0xfde8),new Promise(async _0x4bb307=>{const _0xeb48d2=_0x13f862;PerformanceTester[_0xeb48d2(0x8a)](),await global[_0xeb48d2(0xb5)](),_0x2ae11a[_0xeb48d2(0xba)](_0x4bb307);})['then'](()=>_0x4dde2e());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';function a33_0x3c62(_0x553263,_0x7b3b2a){const _0x29d9c8=a33_0x29d9();return a33_0x3c62=function(_0x3c62d6,_0x1a5bc8){_0x3c62d6=_0x3c62d6-0x120;let _0x22843f=_0x29d9c8[_0x3c62d6];return _0x22843f;},a33_0x3c62(_0x553263,_0x7b3b2a);}function a33_0x29d9(){const _0x504961=['biPuP','171568SzjXov','path','split','existsSync','llhqf','join','1205559ddRYVx','389406yPavkT','Deleting\x20','EAtLS','port','findIndex','splice','close','debug','modifyBrowserStackW3CCaps','platforms','start_process','zwNqj','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','writeFileSync','inherit','exports','nightwatch.cmd','XTKAu','../utils/constants','1043240wzkWPW','test','mergeDeep','info','--config','--env','EaNQj','XlelJ','2468730HsfpAc','filter','126qJBstH','nightwatch-browserstack.json','bTdCk','forEach','useW3C','RFUcP','AxgRo','UxBui','../../helpers/logger','MhfRI','modifyBrowserStackCaps','unlinkSync','webdriver','cwd','getPlatformName','6jEMHSo','odymB','../../helpers/BrowserStackSetup','FEZuN','gESep','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','50wifNXd','nightwatch.json','config','child_process','map','push','2LeoIqa','iWeMc','486675nRjbcs','winstonLogger','env','test_settings','nightwatch.conf.js','isUndefined','trim','desiredCapabilities','623102AIxPwB'];a33_0x29d9=function(){return _0x504961;};return a33_0x29d9();}const a33_0x5d10a1=a33_0x3c62;(function(_0x5d3239,_0x1578d9){const _0x1dbfe6=a33_0x3c62,_0x22af56=_0x5d3239();while(!![]){try{const _0x2d58d6=parseInt(_0x1dbfe6(0x14d))/0x1*(parseInt(_0x1dbfe6(0x157))/0x2)+parseInt(_0x1dbfe6(0x160))/0x3+parseInt(_0x1dbfe6(0x128))/0x4+parseInt(_0x1dbfe6(0x14f))/0x5*(-parseInt(_0x1dbfe6(0x141))/0x6)+-parseInt(_0x1dbfe6(0x132))/0x7*(-parseInt(_0x1dbfe6(0x159))/0x8)+parseInt(_0x1dbfe6(0x15f))/0x9*(-parseInt(_0x1dbfe6(0x147))/0xa)+-parseInt(_0x1dbfe6(0x130))/0xb;if(_0x2d58d6===_0x1578d9)break;else _0x22af56['push'](_0x22af56['shift']());}catch(_0x58c769){_0x22af56['push'](_0x22af56['shift']());}}}(a33_0x29d9,0x63a9e));const fs=require('fs'),path=require(a33_0x5d10a1(0x15a)),{spawn}=require(a33_0x5d10a1(0x14a)),logger=require(a33_0x5d10a1(0x13a))[a33_0x5d10a1(0x150)],{default:BrowserStackSetup}=require(a33_0x5d10a1(0x143)),helper=require('../../helpers/helper'),constants=require(a33_0x5d10a1(0x127)),getUserNightwatchConfigs=(_0x41c7a3,_0x7a1e0e)=>{const _0x11005c=a33_0x5d10a1,_0x26b5fa={'bTdCk':_0x11005c(0x153),'UxBui':_0x11005c(0x148),'iWeMc':function(_0x53af84,_0xa99142){return _0x53af84(_0xa99142);},'XLcEG':_0x11005c(0x121)};let _0x3ed4d0=null,_0xfc2c0b={};const _0x4e5bc7=_0x7a1e0e[_0x11005c(0x164)](_0x4af6c3=>_0x4af6c3===_0x11005c(0x12c));if(!helper[_0x11005c(0x154)](_0x41c7a3[_0x11005c(0x149)])&&fs[_0x11005c(0x15c)](path['join'](process['cwd'](),_0x41c7a3['config'])))_0x3ed4d0=path['join'](process[_0x11005c(0x13f)](),_0x41c7a3[_0x11005c(0x149)]),_0x7a1e0e[_0x11005c(0x165)](_0x4e5bc7,0x2);else{if(fs['existsSync'](path['join'](process[_0x11005c(0x13f)](),_0x26b5fa[_0x11005c(0x134)])))_0x3ed4d0=path[_0x11005c(0x15e)](process[_0x11005c(0x13f)](),_0x26b5fa['bTdCk']);else fs[_0x11005c(0x15c)](path[_0x11005c(0x15e)](process[_0x11005c(0x13f)](),_0x26b5fa[_0x11005c(0x139)]))&&(_0x3ed4d0=path[_0x11005c(0x15e)](process[_0x11005c(0x13f)](),_0x26b5fa[_0x11005c(0x139)]));}return _0x3ed4d0?(logger[_0x11005c(0x12b)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x3ed4d0),_0xfc2c0b=_0x26b5fa[_0x11005c(0x14e)](require,_0x3ed4d0)):logger[_0x11005c(0x12b)](_0x26b5fa['XLcEG']),_0xfc2c0b;},removeExistingEnvs=_0x141a08=>{const _0x4ba6b4=a33_0x5d10a1,_0x35fafc={};_0x35fafc['llhqf']=function(_0x1e3b70,_0x756bf4){return _0x1e3b70>_0x756bf4;};const _0x258785=_0x35fafc;let _0x570986=_0x141a08[_0x4ba6b4(0x164)](_0x338046=>_0x338046===_0x4ba6b4(0x12d));_0x258785[_0x4ba6b4(0x15d)](_0x570986,-0x1)&&_0x141a08['splice'](_0x570986,0x2),_0x570986=_0x141a08[_0x4ba6b4(0x164)](_0x35186e=>_0x35186e==='-e'),_0x258785[_0x4ba6b4(0x15d)](_0x570986,-0x1)&&_0x141a08[_0x4ba6b4(0x165)](_0x570986,0x2);};function run(_0x108fa5,_0x13e27c){const _0x54e198=a33_0x5d10a1,_0x3acda4={'biPuP':'nightwatch','FEZuN':function(_0x1ad292,_0x135f86){return _0x1ad292+_0x135f86;},'hwojv':_0x54e198(0x152),'odymB':function(_0x51d5b9,_0x364637,_0x2ce27a){return _0x51d5b9(_0x364637,_0x2ce27a);},'nOlul':'hub.browserstack.com','gESep':_0x54e198(0x146),'EAtLS':function(_0x51098d,_0x4cd30a){return _0x51098d===_0x4cd30a;},'XlelJ':_0x54e198(0x133),'AxgRo':function(_0x2befe8,_0x2b97cd){return _0x2befe8(_0x2b97cd);},'EaNQj':function(_0x2940f5,_0xb84917,_0x517ea3,_0x1b4fd1){return _0x2940f5(_0xb84917,_0x517ea3,_0x1b4fd1);},'MhfRI':_0x54e198(0x125),'mkvTU':'--config','KJDQp':'--env','iuoPd':_0x54e198(0x123),'XTKAu':_0x54e198(0x166)},_0x30bcdc=new BrowserStackSetup(_0x108fa5);if(!_0x30bcdc[_0x54e198(0x149)])return;const _0x4cca46=_0x3acda4[_0x54e198(0x142)](getUserNightwatchConfigs,_0x108fa5,_0x13e27c),_0x2eaf5b={};_0x2eaf5b[_0x54e198(0x16a)]=![];const _0xa71831={};_0xa71831['host']=_0x3acda4['nOlul'],_0xa71831[_0x54e198(0x163)]=0x1bb;const _0x14759d={};_0x14759d[_0x54e198(0x13e)]=_0x2eaf5b,_0x14759d['selenium']=_0xa71831;const _0x4cbbf6=_0x14759d;logger[_0x54e198(0x12b)](_0x3acda4[_0x54e198(0x145)]);const _0x4663af={..._0x4cca46},_0x3277bb=_0x4663af,_0x1b294f=helper[_0x54e198(0x136)](_0x30bcdc[_0x54e198(0x149)]),_0x99a8a8=[];_0x30bcdc[_0x54e198(0x149)][_0x54e198(0x169)][_0x54e198(0x135)]((_0x316647,_0x3de0f4)=>{const _0x3e1465=_0x54e198;_0x1b294f?_0x99a8a8[_0x3e1465(0x14c)](helper[_0x3e1465(0x168)](_0x30bcdc['config'],_0x3acda4[_0x3e1465(0x158)],_0x3de0f4)):_0x99a8a8[_0x3e1465(0x14c)](helper[_0x3e1465(0x13c)](_0x30bcdc[_0x3e1465(0x149)],_0x3acda4[_0x3e1465(0x158)],_0x3de0f4));});const _0x457fad={},_0xe8c4a6=[];_0x108fa5[_0x54e198(0x151)]=_0x108fa5[_0x54e198(0x151)]||_0x108fa5['e'];const _0x36e47a=_0x108fa5[_0x54e198(0x151)]?_0x108fa5[_0x54e198(0x151)][_0x54e198(0x155)]()[_0x54e198(0x15b)](',')[_0x54e198(0x14b)](_0x58b162=>_0x58b162[_0x54e198(0x155)]())[_0x54e198(0x131)](_0x5032fb=>_0x5032fb!==''):[''];_0x3acda4[_0x54e198(0x162)](_0x36e47a['length'],0x0)&&_0x36e47a[_0x54e198(0x14c)]('');_0x36e47a['forEach'](_0x20ff71=>{const _0x2edd46=_0x54e198,_0x59dce1={'RFUcP':function(_0x40ffd1,_0x1bd6dd){const _0x8e8cd5=a33_0x3c62;return _0x3acda4[_0x8e8cd5(0x144)](_0x40ffd1,_0x1bd6dd);},'zwNqj':_0x3acda4['hwojv']};_0x99a8a8[_0x2edd46(0x135)](_0x55c76f=>{const _0x3f8ad2=_0x2edd46;let _0x1403b7=_0x59dce1[_0x3f8ad2(0x137)](helper[_0x3f8ad2(0x140)](_0x55c76f,'_'),'_'+Date['now']());_0x20ff71&&(_0x1403b7+='_'+_0x20ff71);if(_0x20ff71&&(!_0x4cca46[_0x59dce1[_0x3f8ad2(0x120)]]||!_0x4cca46[_0x59dce1[_0x3f8ad2(0x120)]][_0x20ff71]))return;const _0x508cd6={..._0x4cbbf6};_0x508cd6[_0x3f8ad2(0x156)]=_0x55c76f;const _0x485f9d=_0x508cd6;_0x457fad[_0x1403b7]=_0x20ff71?helper[_0x3f8ad2(0x12a)](_0x4cca46[_0x59dce1['zwNqj']][_0x20ff71],_0x485f9d):_0x485f9d,_0xe8c4a6[_0x3f8ad2(0x14c)](_0x1403b7);});});!_0x3277bb['test_settings']&&(_0x3277bb[_0x54e198(0x152)]={});_0x3277bb[_0x54e198(0x152)]={..._0x3277bb['test_settings'],..._0x457fad};const _0xbb708b=path[_0x54e198(0x15e)](__dirname,_0x3acda4[_0x54e198(0x12f)]);fs[_0x54e198(0x122)](_0xbb708b,JSON['stringify'](_0x3277bb)),_0x3acda4[_0x54e198(0x138)](removeExistingEnvs,_0x13e27c);const _0x58cc03=_0x3acda4[_0x54e198(0x12e)](spawn,/^win/[_0x54e198(0x129)](process['platform'])?_0x3acda4[_0x54e198(0x13b)]:_0x3acda4[_0x54e198(0x158)],[_0x3acda4['mkvTU'],_0xbb708b,..._0x13e27c['slice'](0x1),_0x3acda4['KJDQp'],_0xe8c4a6[_0x54e198(0x15e)](',')],{'stdio':_0x3acda4['iuoPd']});_0x58cc03['on'](_0x3acda4[_0x54e198(0x126)],async _0x4ecdc2=>{const _0x329de2=_0x54e198;logger[_0x329de2(0x167)]('child\x20process\x20exited\x20with\x20code\x20'+_0x4ecdc2),logger['info'](_0x329de2(0x161)+_0xbb708b),fs[_0x329de2(0x13d)](_0xbb708b);});}module[a33_0x5d10a1(0x124)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a34_0x2e0a(_0xb14f23,_0x13a36b){const _0x2f0be5=a34_0x2f0b();return a34_0x2e0a=function(_0x2e0a04,_0x1a80cd){_0x2e0a04=_0x2e0a04-0x1ab;let _0x35286f=_0x2f0be5[_0x2e0a04];return _0x35286f;},a34_0x2e0a(_0xb14f23,_0x13a36b);}const a34_0x20a2d8=a34_0x2e0a;(function(_0x49d883,_0x3b48aa){const _0x37e69a=a34_0x2e0a,_0x5d0e49=_0x49d883();while(!![]){try{const _0x10ae04=-parseInt(_0x37e69a(0x1da))/0x1+-parseInt(_0x37e69a(0x1b8))/0x2*(parseInt(_0x37e69a(0x20a))/0x3)+parseInt(_0x37e69a(0x1fa))/0x4+parseInt(_0x37e69a(0x1ed))/0x5+parseInt(_0x37e69a(0x1f1))/0x6+-parseInt(_0x37e69a(0x1cf))/0x7*(parseInt(_0x37e69a(0x1d0))/0x8)+parseInt(_0x37e69a(0x1b5))/0x9*(parseInt(_0x37e69a(0x1e3))/0xa);if(_0x10ae04===_0x3b48aa)break;else _0x5d0e49['push'](_0x5d0e49['shift']());}catch(_0x3dcfa9){_0x5d0e49['push'](_0x5d0e49['shift']());}}}(a34_0x2f0b,0x94b48));function a34_0x2f0b(){const _0x23b1d1=['platformValidation','xNlWl','Mmkmh','getAccessibilityResultsSummary','debug','3499024uJTrPT','CRbrO','browserstack.accessibility','sRxMH','../../helpers/accessibility-automation/helper','accessibilityOptions.authToken','deviceName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','name','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','hRbNC','WebDriver','browserStackEvaluate','chrome','executeScript','No\x20summaryResults\x20found.','2727krBDmi','dysHm','error','rXNWT','workerInfo','warn','poNIA','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','util','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wchrs','Nphbt','MrNPY','TQDcH','../../helpers/helper','wcagVersion','method','latest','accessibilityOptions.scannerProcessingTimeout','bstackSdkArgs','scannerProcessingTimeout','qVnoU','format','winstonLogger','Playwright','browserStackExecuteDriver','scannerVersion','mqVcX','45ihxzHu','executeAsyncScript','zNkJs','138sFqcEo','testInfo','uIWfi','KoPpg','currentTest','includeIssueType','env','browserName','playwright-chromium','xQqGl','stringify','setAccessibilityCapabilities','bmZeD','iPjZT','LYPpg','atefq','replace','CPqMC','parse','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','No\x20accessibility\x20results\x20were\x20found.','KKKjS','7707308FixDuw','8abbZvw','dqaPc','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','dQzfm','connectOptions','../../helpers/accessibility-automation/scripts','project','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityOptions.scannerVersion','accessibilityOptions','687348hOrGci','MxlYp','needsReview','mPPzg','constructor','zufcL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','yhfKs','BS_A11Y_JWT','50550cdxINC','kRyJd','iUPFz','wsEndpoint','use','ytwRv','VWnLU','fFHuk','processAccessibilityCaps','accessibilityOptions.includeIssueType.needsReview','5631485qXzzDl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','getAccessibilityResults','IByDL','2603286yXrCWP','evaluate','browser_version','accessibilityPlatform'];a34_0x2f0b=function(){return _0x23b1d1;};return a34_0x2f0b();}const util=require(a34_0x20a2d8(0x212)),logger=require('../../helpers/logger')[a34_0x20a2d8(0x1b0)],{isAccessibilityAutomationSession}=require(a34_0x20a2d8(0x1fe)),{isUndefined}=require(a34_0x20a2d8(0x218)),scripts=require(a34_0x20a2d8(0x1d5));exports[a34_0x20a2d8(0x206)]=async(_0x47f173,_0x4f1de3,_0xf1778d={})=>{const _0x4b5b3e=a34_0x20a2d8,_0x53a0f9={};_0x53a0f9[_0x4b5b3e(0x214)]=_0x4b5b3e(0x1ac);const _0x3ee16d=_0x53a0f9;return await _0x47f173[_0x4b5b3e(0x1f2)](_0x4b5b3e(0x1d2)+_0x4f1de3[_0x4b5b3e(0x1c8)](/arguments/g,_0x3ee16d[_0x4b5b3e(0x214)])+_0x4b5b3e(0x203)+JSON['stringify'](_0xf1778d)+')');},exports[a34_0x20a2d8(0x1b2)]=async(_0x1e4e48,_0x196c9c,_0x2f38cc={})=>{const _0x12dfaa=a34_0x20a2d8,_0x2069ad={};_0x2069ad['mqVcX']=function(_0x109fa0,_0x22252e){return _0x109fa0===_0x22252e;},_0x2069ad[_0x12dfaa(0x1b7)]=_0x12dfaa(0x205),_0x2069ad[_0x12dfaa(0x1e8)]=function(_0x35eab8,_0x2020ee){return _0x35eab8===_0x2020ee;},_0x2069ad[_0x12dfaa(0x1f7)]=_0x12dfaa(0x1b1),_0x2069ad[_0x12dfaa(0x1f0)]=_0x12dfaa(0x1ac);const _0xfe29b8=_0x2069ad;if(_0xfe29b8[_0x12dfaa(0x1b4)](_0x1e4e48[_0x12dfaa(0x1de)][_0x12dfaa(0x202)],_0xfe29b8[_0x12dfaa(0x1b7)]))return await _0x1e4e48[_0x12dfaa(0x1b6)](_0x196c9c,_0x2f38cc);else{if(_0xfe29b8[_0x12dfaa(0x1e8)](_0x1e4e48[_0x12dfaa(0x1de)][_0x12dfaa(0x202)],_0xfe29b8[_0x12dfaa(0x1f7)]))return await _0x1e4e48[_0x12dfaa(0x208)](_0x12dfaa(0x1cc)+_0x196c9c[_0x12dfaa(0x1c8)](/arguments/g,_0xfe29b8[_0x12dfaa(0x1f0)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x12dfaa(0x1c2)](_0x2f38cc)+')');}},exports[a34_0x20a2d8(0x1c3)]=async _0x1efc3a=>{const _0x39fcae=a34_0x20a2d8,_0x2705ba={};_0x2705ba[_0x39fcae(0x20b)]='accessibilityOptions.wcagVersion',_0x2705ba[_0x39fcae(0x1c1)]=_0x39fcae(0x1ab),_0x2705ba[_0x39fcae(0x1fb)]='accessibilityOptions.includeIssueType.bestPractice',_0x2705ba[_0x39fcae(0x1d3)]=_0x39fcae(0x1ec),_0x2705ba[_0x39fcae(0x1e1)]=_0x39fcae(0x1ff),_0x2705ba[_0x39fcae(0x1ba)]=_0x39fcae(0x1d8);const _0x354f84=_0x2705ba;_0x1efc3a['accessibilityOptions']&&(_0x1efc3a['accessibilityOptions'][_0x39fcae(0x219)]&&(_0x1efc3a[_0x354f84['dysHm']]=_0x1efc3a['accessibilityOptions'][_0x39fcae(0x219)]),_0x1efc3a[_0x39fcae(0x1d9)][_0x39fcae(0x1ad)]&&(_0x1efc3a[_0x354f84[_0x39fcae(0x1c1)]]=_0x1efc3a[_0x39fcae(0x1d9)][_0x39fcae(0x1ad)]),_0x1efc3a['accessibilityOptions'][_0x39fcae(0x1bd)]&&(_0x1efc3a[_0x354f84[_0x39fcae(0x1fb)]]=_0x1efc3a[_0x39fcae(0x1d9)][_0x39fcae(0x1bd)]['bestPractice'],_0x1efc3a[_0x354f84[_0x39fcae(0x1d3)]]=_0x1efc3a[_0x39fcae(0x1d9)][_0x39fcae(0x1bd)][_0x39fcae(0x1dc)]));const _0xd2f56e=JSON[_0x39fcae(0x1ca)](process['env'][_0x39fcae(0x213)])[_0x39fcae(0x1b3)];_0x1efc3a[_0x354f84[_0x39fcae(0x1e1)]]=process[_0x39fcae(0x1be)][_0x39fcae(0x1e2)],_0x1efc3a[_0x354f84[_0x39fcae(0x1ba)]]=_0xd2f56e,delete _0x1efc3a[_0x39fcae(0x1d9)];},exports[a34_0x20a2d8(0x1ef)]=async _0x437a9b=>{const _0x542435=a34_0x20a2d8,_0x586031={};_0x586031[_0x542435(0x1c9)]=_0x542435(0x1cd),_0x586031[_0x542435(0x1c5)]=_0x542435(0x201);const _0x3e20b8=_0x586031;if(global[_0x542435(0x1f4)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x437a9b,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x437a9b,scripts.getResults);return res;}catch{return logger[_0x542435(0x20c)](_0x3e20b8[_0x542435(0x1c9)]),[];}else return logger['warn'](_0x3e20b8[_0x542435(0x1c5)]),[];},exports['performScan']=async(_0x5685fb,_0x2a5dc6='')=>{const _0x453928=a34_0x20a2d8;if(global[_0x453928(0x1f4)]){const _0x5c7135={};return _0x5c7135[_0x453928(0x21a)]=_0x2a5dc6,await exports[_0x453928(0x206)](_0x5685fb,scripts['performScan'],_0x5c7135);}},exports[a34_0x20a2d8(0x1f8)]=async _0x34f79b=>{const _0x5182d8=a34_0x20a2d8,_0x182916={};_0x182916['rXNWT']=_0x5182d8(0x209),_0x182916[_0x5182d8(0x1bb)]=_0x5182d8(0x211);const _0x5ba21a=_0x182916;if(global[_0x5182d8(0x1f4)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x34f79b,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x34f79b,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5182d8(0x1f9)](_0x5ba21a[_0x5182d8(0x20d)]),{};}else return logger['warn'](_0x5ba21a[_0x5182d8(0x1bb)]),{};},exports[a34_0x20a2d8(0x1f5)]=async _0x15fedc=>{const _0x2b51b6=a34_0x20a2d8,_0x501ae9={'sRxMH':function(_0x53e832,_0x12b239){return _0x53e832!==_0x12b239;},'MxlYp':_0x2b51b6(0x1d7),'fFHuk':function(_0x5bf94d,_0x4ccfe0){return _0x5bf94d===_0x4ccfe0;},'bmZeD':'chrome','VwhwT':function(_0x3fd063,_0x7652ce){return _0x3fd063===_0x7652ce;},'qVnoU':_0x2b51b6(0x1c0),'GDDql':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','poNIA':function(_0x38e5f2,_0x1d6ef3){return _0x38e5f2(_0x1d6ef3);},'Nphbt':_0x2b51b6(0x21b),'LYPpg':function(_0xd7de52,_0xca2913){return _0xd7de52>_0xca2913;},'hRbNC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x501ae9[_0x2b51b6(0x1fd)](_0x15fedc[_0x2b51b6(0x200)],''))return logger[_0x2b51b6(0x20f)](_0x501ae9[_0x2b51b6(0x1db)]),![];const _0x3285c3=_0x15fedc['browser'];if(!(_0x501ae9[_0x2b51b6(0x1ea)](_0x3285c3,_0x501ae9[_0x2b51b6(0x1c4)])||_0x501ae9['VwhwT'](_0x3285c3,_0x501ae9[_0x2b51b6(0x1ae)])))return logger[_0x2b51b6(0x20f)](_0x501ae9['GDDql']),![];const _0x5f53d8=_0x501ae9[_0x2b51b6(0x210)](parseInt,_0x15fedc['browser_version']);if(!(_0x501ae9[_0x2b51b6(0x1ea)](_0x5f53d8,_0x501ae9[_0x2b51b6(0x215)])||_0x501ae9[_0x2b51b6(0x1c6)](_0x5f53d8,0x5e)))return logger[_0x2b51b6(0x20f)](_0x501ae9[_0x2b51b6(0x204)]),![];}catch(_0x16b420){logger['debug'](_0x2b51b6(0x1cb)+util[_0x2b51b6(0x1af)](_0x16b420));}return!![];},exports[a34_0x20a2d8(0x1eb)]=(_0x3f09d6,_0x35e132,_0x3952e7)=>{const _0x40209a=a34_0x20a2d8,_0xc48195={'iUPFz':function(_0x4e9766){return _0x4e9766();},'KKKjS':_0x40209a(0x1fc),'VWnLU':function(_0x1fc782,_0x3c5ec8){return _0x1fc782===_0x3c5ec8;},'MrNPY':_0x40209a(0x207),'HIzSV':_0x40209a(0x1c0),'zufcL':_0x40209a(0x1e0),'VIYOu':_0x40209a(0x21b),'mPPzg':function(_0x1fb1f1,_0x273961){return _0x1fb1f1>_0x273961;},'atefq':_0x40209a(0x1ee),'xNlWl':function(_0x57700a,_0x2f2b33){return _0x57700a(_0x2f2b33);},'kRyJd':_0x40209a(0x1d7),'dqaPc':function(_0x5a4795,_0x26ff2a){return _0x5a4795+_0x26ff2a;},'TQDcH':function(_0x50c7e3,_0x9ee209){return _0x50c7e3(_0x9ee209);}};try{if(_0xc48195[_0x40209a(0x1e5)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x3f09d6[_0xc48195[_0x40209a(0x1ce)]]&&(global[_0x40209a(0x1f4)]=![]);!(_0xc48195[_0x40209a(0x1e9)](_0x3f09d6[_0x40209a(0x1bf)],_0xc48195[_0x40209a(0x216)])||_0xc48195['VWnLU'](_0x3f09d6[_0x40209a(0x1bf)],_0xc48195['HIzSV']))&&(logger[_0x40209a(0x20f)](_0xc48195[_0x40209a(0x1df)]),global['accessibilityPlatform']=![]);!(_0xc48195[_0x40209a(0x1e9)](_0x3f09d6['browser_version'],_0xc48195['VIYOu'])||_0xc48195[_0x40209a(0x1dd)](_0x3f09d6[_0x40209a(0x1f3)],0x5e))&&(logger[_0x40209a(0x20f)](_0xc48195[_0x40209a(0x1c7)]),global[_0x40209a(0x1f4)]=![]);!_0xc48195[_0x40209a(0x1f6)](isUndefined,_0x3f09d6[_0x40209a(0x200)])&&(logger[_0x40209a(0x20f)](_0xc48195[_0x40209a(0x1e4)]),global[_0x40209a(0x1f4)]=![]);if(!global[_0x40209a(0x1f4)]){_0x3f09d6[_0xc48195[_0x40209a(0x1ce)]]=![];const _0x519888=_0xc48195[_0x40209a(0x1d1)](_0x35e132,_0xc48195[_0x40209a(0x217)](encodeURIComponent,JSON['stringify'](_0x3f09d6)));_0x3952e7&&(_0x3952e7[_0x40209a(0x1bc)][_0x40209a(0x1b9)][_0x40209a(0x1d6)][_0x40209a(0x1e7)]['connectOptions'][_0x40209a(0x1e6)]=_0x519888,_0x3952e7[_0x40209a(0x20e)]['project']['use'][_0x40209a(0x1d4)][_0x40209a(0x1e6)]=_0x519888);}}}catch(_0x4c8a93){logger[_0x40209a(0x1f9)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x40209a(0x1af)](_0x4c8a93));}};
|
|
1
|
+
const a34_0x1d0f78=a34_0x1057;(function(_0x3569f0,_0x191c67){const _0x4df83c=a34_0x1057,_0x5db2f4=_0x3569f0();while(!![]){try{const _0x35349e=-parseInt(_0x4df83c(0x1ff))/0x1+parseInt(_0x4df83c(0x223))/0x2*(-parseInt(_0x4df83c(0x225))/0x3)+-parseInt(_0x4df83c(0x1f9))/0x4*(parseInt(_0x4df83c(0x1e7))/0x5)+-parseInt(_0x4df83c(0x221))/0x6+parseInt(_0x4df83c(0x21d))/0x7*(-parseInt(_0x4df83c(0x226))/0x8)+parseInt(_0x4df83c(0x247))/0x9*(parseInt(_0x4df83c(0x233))/0xa)+parseInt(_0x4df83c(0x23d))/0xb;if(_0x35349e===_0x191c67)break;else _0x5db2f4['push'](_0x5db2f4['shift']());}catch(_0x5462a9){_0x5db2f4['push'](_0x5db2f4['shift']());}}}(a34_0x3d10,0x413dd));const util=require('util'),logger=require('../../helpers/logger')[a34_0x1d0f78(0x1fe)],{isAccessibilityAutomationSession}=require(a34_0x1d0f78(0x240)),{isUndefined}=require(a34_0x1d0f78(0x1f1)),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x1d0f78(0x1f7)]=async(_0x36b758,_0x5aa11b,_0x577425={})=>{const _0x2dcdd6=a34_0x1d0f78,_0xcc1203={};_0xcc1203[_0x2dcdd6(0x220)]=_0x2dcdd6(0x20d);const _0x54a8fa=_0xcc1203;return await _0x36b758[_0x2dcdd6(0x21f)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x5aa11b['replace'](/arguments/g,_0x54a8fa['iGqbc'])+_0x2dcdd6(0x229)+JSON[_0x2dcdd6(0x22e)](_0x577425)+')');},exports[a34_0x1d0f78(0x1e6)]=async(_0x80ea03,_0x5cdbd9,_0x2fdc85={})=>{const _0x1dc918=a34_0x1d0f78,_0x17bbb3={};_0x17bbb3[_0x1dc918(0x1e4)]=function(_0x2fec8a,_0x539da0){return _0x2fec8a===_0x539da0;},_0x17bbb3[_0x1dc918(0x1e3)]=_0x1dc918(0x1f8),_0x17bbb3[_0x1dc918(0x235)]=function(_0x22ab8f,_0x147629){return _0x22ab8f===_0x147629;},_0x17bbb3[_0x1dc918(0x222)]=_0x1dc918(0x214),_0x17bbb3[_0x1dc918(0x1dd)]=_0x1dc918(0x20d);const _0x4a2c1c=_0x17bbb3;if(_0x4a2c1c[_0x1dc918(0x1e4)](_0x80ea03[_0x1dc918(0x1fa)][_0x1dc918(0x1f0)],_0x4a2c1c[_0x1dc918(0x1e3)]))return await _0x80ea03[_0x1dc918(0x23e)](_0x5cdbd9,_0x2fdc85);else{if(_0x4a2c1c[_0x1dc918(0x235)](_0x80ea03[_0x1dc918(0x1fa)]['name'],_0x4a2c1c['LcYcu']))return await _0x80ea03[_0x1dc918(0x1fd)](_0x1dc918(0x1e1)+_0x5cdbd9[_0x1dc918(0x22a)](/arguments/g,_0x4a2c1c[_0x1dc918(0x1dd)])+_0x1dc918(0x1ef)+JSON['stringify'](_0x2fdc85)+')');}},exports['setAccessibilityCapabilities']=async _0x19841c=>{const _0x58ad12=a34_0x1d0f78,_0x52403c={};_0x52403c[_0x58ad12(0x242)]=_0x58ad12(0x206),_0x52403c[_0x58ad12(0x1ec)]=_0x58ad12(0x201),_0x52403c[_0x58ad12(0x1fb)]='accessibilityOptions.includeIssueType.bestPractice',_0x52403c[_0x58ad12(0x207)]=_0x58ad12(0x1f5),_0x52403c[_0x58ad12(0x211)]=_0x58ad12(0x22f),_0x52403c[_0x58ad12(0x215)]='accessibilityOptions.scannerVersion';const _0x4c1cea=_0x52403c;_0x19841c[_0x58ad12(0x1de)]&&(_0x19841c[_0x58ad12(0x1de)][_0x58ad12(0x200)]&&(_0x19841c[_0x4c1cea[_0x58ad12(0x242)]]=_0x19841c['accessibilityOptions']['wcagVersion']),_0x19841c[_0x58ad12(0x1de)][_0x58ad12(0x20b)]&&(_0x19841c[_0x4c1cea[_0x58ad12(0x1ec)]]=_0x19841c[_0x58ad12(0x1de)]['scannerProcessingTimeout']),_0x19841c['accessibilityOptions'][_0x58ad12(0x1f4)]&&(_0x19841c[_0x4c1cea[_0x58ad12(0x1fb)]]=_0x19841c[_0x58ad12(0x1de)][_0x58ad12(0x1f4)][_0x58ad12(0x237)],_0x19841c[_0x4c1cea[_0x58ad12(0x207)]]=_0x19841c['accessibilityOptions'][_0x58ad12(0x1f4)][_0x58ad12(0x1dc)]));const _0x576632=JSON[_0x58ad12(0x21a)](process[_0x58ad12(0x208)][_0x58ad12(0x1ed)])['scannerVersion'];_0x19841c[_0x4c1cea[_0x58ad12(0x211)]]=process[_0x58ad12(0x208)]['BS_A11Y_JWT'],_0x19841c[_0x4c1cea[_0x58ad12(0x215)]]=_0x576632,delete _0x19841c[_0x58ad12(0x1de)];},exports[a34_0x1d0f78(0x1ea)]=async _0x4a7fc4=>{const _0x27fa12=a34_0x1d0f78,_0x1fe02e={};_0x1fe02e[_0x27fa12(0x227)]=_0x27fa12(0x204),_0x1fe02e[_0x27fa12(0x224)]=_0x27fa12(0x219);const _0x2564ab=_0x1fe02e;if(global[_0x27fa12(0x1eb)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4a7fc4,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4a7fc4,scripts.getResults);return res;}catch{return logger[_0x27fa12(0x241)](_0x2564ab[_0x27fa12(0x227)]),[];}else return logger[_0x27fa12(0x20f)](_0x2564ab[_0x27fa12(0x224)]),[];},exports[a34_0x1d0f78(0x1fc)]=async(_0x10391c,_0x493f4a='')=>{const _0xb928ba=a34_0x1d0f78;if(global[_0xb928ba(0x1eb)]){const _0xd2d561={};return _0xd2d561[_0xb928ba(0x1f2)]=_0x493f4a,await exports[_0xb928ba(0x1f7)](_0x10391c,scripts[_0xb928ba(0x1fc)],_0xd2d561);}},exports[a34_0x1d0f78(0x239)]=async _0x1e5d3c=>{const _0x176ec2=a34_0x1d0f78,_0x41a097={};_0x41a097[_0x176ec2(0x212)]=_0x176ec2(0x23b),_0x41a097[_0x176ec2(0x213)]=_0x176ec2(0x21c);const _0x5de61b=_0x41a097;if(global[_0x176ec2(0x1eb)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e5d3c,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1e5d3c,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x176ec2(0x1df)](_0x5de61b[_0x176ec2(0x212)]),{};}else return logger[_0x176ec2(0x20f)](_0x5de61b[_0x176ec2(0x213)]),{};},exports[a34_0x1d0f78(0x244)]=async _0x1747cf=>{const _0x22ce4=a34_0x1d0f78,_0xbf3e60={'AeLxT':function(_0x4edfcc,_0x40c09f){return _0x4edfcc!==_0x40c09f;},'GCsTz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ftsyk':function(_0x37b913,_0x5e553c){return _0x37b913===_0x5e553c;},'QJUbS':_0x22ce4(0x234),'Dxgfx':function(_0x5a8807,_0x1e9b1c){return _0x5a8807===_0x1e9b1c;},'BgOEQ':_0x22ce4(0x23c),'wgETz':_0x22ce4(0x217),'jVxEp':function(_0x95731c,_0x3f0ae7){return _0x95731c(_0x3f0ae7);},'meuPb':_0x22ce4(0x23f),'WQbbQ':function(_0x357ded,_0x299fea){return _0x357ded>_0x299fea;},'dpjeL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0xbf3e60[_0x22ce4(0x20e)](_0x1747cf['deviceName'],''))return logger[_0x22ce4(0x20f)](_0xbf3e60[_0x22ce4(0x1e5)]),![];const _0x421cc4=_0x1747cf['browser'];if(!(_0xbf3e60[_0x22ce4(0x209)](_0x421cc4,_0xbf3e60[_0x22ce4(0x1e0)])||_0xbf3e60['Dxgfx'](_0x421cc4,_0xbf3e60['BgOEQ'])))return logger[_0x22ce4(0x20f)](_0xbf3e60[_0x22ce4(0x230)]),![];const _0xfeff62=_0xbf3e60['jVxEp'](parseInt,_0x1747cf['browser_version']);if(!(_0xbf3e60[_0x22ce4(0x1e8)](_0xfeff62,_0xbf3e60[_0x22ce4(0x1f3)])||_0xbf3e60['WQbbQ'](_0xfeff62,0x5e)))return logger[_0x22ce4(0x20f)](_0xbf3e60[_0x22ce4(0x236)]),![];}catch(_0x1c6f27){logger[_0x22ce4(0x1df)](_0x22ce4(0x203)+util[_0x22ce4(0x23a)](_0x1c6f27));}return!![];},exports[a34_0x1d0f78(0x1ee)]=(_0x1d6741,_0xd137b1,_0x201f2b)=>{const _0x35d499=a34_0x1d0f78,_0x3b180e={'SxOAt':function(_0x52aecd){return _0x52aecd();},'VnKsu':_0x35d499(0x205),'QmfCe':function(_0x493b65,_0x3b768d){return _0x493b65===_0x3b768d;},'SrbfY':_0x35d499(0x234),'OrzcD':function(_0x25a477,_0x497715){return _0x25a477===_0x497715;},'BDpuj':'playwright-chromium','JcQVF':_0x35d499(0x217),'BZsqU':function(_0x56460b,_0x3729ad){return _0x56460b===_0x3729ad;},'tlNis':'latest','FZxJK':function(_0x2a7340,_0x443e24){return _0x2a7340>_0x443e24;},'qScap':_0x35d499(0x243),'KqDcf':function(_0x536c5b,_0x50c28f){return _0x536c5b(_0x50c28f);},'FaxQb':_0x35d499(0x216),'TbtFD':function(_0x452332,_0x1949c6){return _0x452332+_0x1949c6;},'BMoGb':function(_0x550c08,_0x1c5cec){return _0x550c08(_0x1c5cec);}};try{if(_0x3b180e['SxOAt'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x1d6741[_0x3b180e[_0x35d499(0x245)]]&&(global[_0x35d499(0x1eb)]=![]);!(_0x3b180e[_0x35d499(0x202)](_0x1d6741[_0x35d499(0x238)],_0x3b180e[_0x35d499(0x1e2)])||_0x3b180e[_0x35d499(0x22c)](_0x1d6741[_0x35d499(0x238)],_0x3b180e[_0x35d499(0x20a)]))&&(logger[_0x35d499(0x20f)](_0x3b180e['JcQVF']),global['accessibilityPlatform']=![]);!(_0x3b180e[_0x35d499(0x1f6)](_0x1d6741[_0x35d499(0x246)],_0x3b180e[_0x35d499(0x1e9)])||_0x3b180e['FZxJK'](_0x1d6741[_0x35d499(0x246)],0x5e))&&(logger[_0x35d499(0x20f)](_0x3b180e['qScap']),global[_0x35d499(0x1eb)]=![]);!_0x3b180e[_0x35d499(0x20c)](isUndefined,_0x1d6741[_0x35d499(0x228)])&&(logger[_0x35d499(0x20f)](_0x3b180e[_0x35d499(0x210)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x1d6741[_0x3b180e[_0x35d499(0x245)]]=![];const _0xa15063=_0x3b180e['TbtFD'](_0xd137b1,_0x3b180e[_0x35d499(0x22d)](encodeURIComponent,JSON['stringify'](_0x1d6741)));_0x201f2b&&(_0x201f2b[_0x35d499(0x218)][_0x35d499(0x231)]['project'][_0x35d499(0x21e)]['connectOptions'][_0x35d499(0x21b)]=_0xa15063,_0x201f2b['workerInfo'][_0x35d499(0x232)][_0x35d499(0x21e)][_0x35d499(0x22b)][_0x35d499(0x21b)]=_0xa15063);}}}catch(_0x3dafb5){logger[_0x35d499(0x1df)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x35d499(0x23a)](_0x3dafb5));}};function a34_0x1057(_0x4ff8fe,_0x1cbc8a){const _0x3d10ff=a34_0x3d10();return a34_0x1057=function(_0x105721,_0x511e1f){_0x105721=_0x105721-0x1dc;let _0x2a9986=_0x3d10ff[_0x105721];return _0x2a9986;},a34_0x1057(_0x4ff8fe,_0x1cbc8a);}function a34_0x3d10(){const _0x44b75e=['GCsTz','browserStackExecuteDriver','5kfrjtF','Dxgfx','tlNis','getAccessibilityResults','accessibilityPlatform','QpwBx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','processAccessibilityCaps','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','name','../../helpers/helper','method','meuPb','includeIssueType','accessibilityOptions.includeIssueType.needsReview','BZsqU','browserStackEvaluate','WebDriver','124856sINpcS','constructor','LBbJG','performScan','executeScript','winstonLogger','146145jSyzGC','wcagVersion','accessibilityOptions.scannerProcessingTimeout','QmfCe','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','No\x20accessibility\x20results\x20were\x20found.','browserstack.accessibility','accessibilityOptions.wcagVersion','NdKRO','env','ftsyk','BDpuj','scannerProcessingTimeout','KqDcf','bstackSdkArgs','AeLxT','warn','FaxQb','ncCwS','pnjuM','JEMgg','Playwright','WTKSi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','currentTest','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','parse','wsEndpoint','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','105vxdpUA','use','evaluate','iGqbc','34974smNzun','LcYcu','18ompYtD','UgOTS','61389ZFZXst','152232QQMQrh','QBHJr','deviceName','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','replace','connectOptions','OrzcD','BMoGb','stringify','accessibilityOptions.authToken','wgETz','testInfo','project','50TUDaor','chrome','JfESf','dpjeL','bestPractice','browserName','getAccessibilityResultsSummary','format','No\x20summaryResults\x20found.','playwright-chromium','9361154sMPzOh','executeAsyncScript','latest','../../helpers/accessibility-automation/helper','error','UTMRH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','platformValidation','VnKsu','browser_version','124209iHfAXw','needsReview','fNFFG','accessibilityOptions','debug','QJUbS','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','SrbfY','xbazH','WQSYF'];a34_0x3d10=function(){return _0x44b75e;};return a34_0x3d10();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a35_0x3d3a09=a35_0x5606;(function(_0x40ef89,_0x169573){const _0x23eeeb=a35_0x5606,_0x3b239a=_0x40ef89();while(!![]){try{const _0x115ebc=-parseInt(_0x23eeeb(0x188))/0x1*(parseInt(_0x23eeeb(0x1ae))/0x2)+-parseInt(_0x23eeeb(0x1a4))/0x3+-parseInt(_0x23eeeb(0x1dc))/0x4+-parseInt(_0x23eeeb(0x21b))/0x5*(parseInt(_0x23eeeb(0x1f1))/0x6)+parseInt(_0x23eeeb(0x1e1))/0x7+-parseInt(_0x23eeeb(0x19b))/0x8*(-parseInt(_0x23eeeb(0x1ce))/0x9)+parseInt(_0x23eeeb(0x1e7))/0xa*(parseInt(_0x23eeeb(0x1fd))/0xb);if(_0x115ebc===_0x169573)break;else _0x3b239a['push'](_0x3b239a['shift']());}catch(_0x5d3c13){_0x3b239a['push'](_0x3b239a['shift']());}}}(a35_0x5e06,0xcf49b));const fs=require('fs'),path=require(a35_0x3d3a09(0x1d8)),{spawn}=require(a35_0x3d3a09(0x1d6)),{format}=require(a35_0x3d3a09(0x1e8)),logger=require(a35_0x3d3a09(0x1d3))[a35_0x3d3a09(0x207)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a35_0x3d3a09(0x1b1)),constants=require(a35_0x3d3a09(0x18d)),{FRAMEWORKS}=require(a35_0x3d3a09(0x192)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a35_0x3d3a09(0x20a)),{checkAccessibilityPlatformConfig}=require(a35_0x3d3a09(0x1df)),{setAccessibilityCapabilities}=require(a35_0x3d3a09(0x212)),TestHubHandler=require(a35_0x3d3a09(0x1ad)),{shouldProcessEventForTesthub}=require(a35_0x3d3a09(0x1c0)),getUserPlaywrightConfig=async(_0x414f5e,_0x45eacb)=>{const _0x5b9c6a=a35_0x3d3a09,_0x308dab={'xXAcW':function(_0x21d9d4){return _0x21d9d4();},'ylkNA':function(_0x57bb2e,_0x5101c7){return _0x57bb2e(_0x5101c7);},'HWCCK':_0x5b9c6a(0x1a2),'sGTZg':_0x5b9c6a(0x219)},_0x378be8=!helper['isUndefined'](_0x414f5e['config']),_0x43222b=_0x378be8?path[_0x5b9c6a(0x1a8)](process['cwd'](),_0x414f5e[_0x5b9c6a(0x18b)]):process[_0x5b9c6a(0x213)](),{resolveConfigFile:_0x1c0910,resolveConfigLocation:_0x2629d4}=helper[_0x5b9c6a(0x1f2)][_0x5b9c6a(0x20c)](null,_0x308dab['xXAcW'](getConfigLoaderPath)),_0x1b651c=_0x1c0910?_0x308dab[_0x5b9c6a(0x20f)](_0x1c0910,_0x43222b):helper[_0x5b9c6a(0x1ed)](_0x308dab[_0x5b9c6a(0x20f)](_0x2629d4,_0x43222b),[_0x308dab[_0x5b9c6a(0x1d9)]]),_0x639eaf={};if(_0x378be8){const _0x4a5a33=_0x45eacb[_0x5b9c6a(0x18c)](_0x3707b6=>_0x3707b6===_0x5b9c6a(0x1e6)||_0x3707b6==='-c'||_0x3707b6['startsWith'](_0x5b9c6a(0x219)));_0x45eacb[_0x5b9c6a(0x1ab)](_0x4a5a33,_0x45eacb[_0x4a5a33][_0x5b9c6a(0x1e0)](_0x308dab['sGTZg'])?0x1:0x2);}const _0x529ded={};return _0x529ded[_0x5b9c6a(0x1d8)]=_0x1b651c,_0x529ded['config']=_0x639eaf,_0x529ded;},handleO11yRerun=_0x2e8919=>{const _0x541c11=a35_0x3d3a09,_0x15ea8a={};_0x15ea8a['nUNaM']=function(_0x24dcbd,_0x2a31d8){return _0x24dcbd!==_0x2a31d8;},_0x15ea8a[_0x541c11(0x1ee)]=_0x541c11(0x1bc),_0x15ea8a['pIPnh']='--grep';const _0x249ccd=_0x15ea8a,_0x4711a9=helper[_0x541c11(0x1a3)](process[_0x541c11(0x1f8)]['BROWSERSTACK_RERUN']);if(_0x4711a9){const _0x36b86a=process[_0x541c11(0x1f8)][_0x541c11(0x18e)],_0x12b2cc=[];if(_0x249ccd['nUNaM'](_0x36b86a,_0x249ccd[_0x541c11(0x1ee)])&&!helper[_0x541c11(0x196)](_0x36b86a)){_0x36b86a['split'](',')[_0x541c11(0x21a)](_0x4a6542=>{const _0x47ace3=_0x541c11;_0x12b2cc[_0x47ace3(0x197)]('('+_0x4a6542[_0x47ace3(0x21f)]()+')');});const _0x4d583d='^'+_0x12b2cc[_0x541c11(0x1d1)]('|')+'$';_0x2e8919['push'](_0x249ccd[_0x541c11(0x220)],_0x4d583d);}}},spawnOriginalProcess=_0x4985c1=>{const _0x3c05c2=a35_0x3d3a09,_0x1d1e2e={'atGuc':function(_0x5f096d,_0xf35fa2,_0x13b781,_0x52432f){return _0x5f096d(_0xf35fa2,_0x13b781,_0x52432f);},'hzbrl':_0x3c05c2(0x1fe),'fVEtq':_0x3c05c2(0x202),'DPmjT':function(_0xf400f5,_0x58e044){return _0xf400f5===_0x58e044;},'hGjtB':_0x3c05c2(0x1c8),'XqJMg':_0x3c05c2(0x1b5)};_0x1d1e2e[_0x3c05c2(0x1e2)](spawn,_0x1d1e2e['hzbrl'],[_0x1d1e2e['fVEtq'],..._0x4985c1[_0x3c05c2(0x209)](0x1)],{'shell':_0x1d1e2e[_0x3c05c2(0x1f7)](process['platform'],_0x1d1e2e[_0x3c05c2(0x1be)]),'stdio':_0x1d1e2e[_0x3c05c2(0x217)],'cwd':process[_0x3c05c2(0x213)]()});},isTestCommand=(_0x5024ca,_0x1976a8)=>{const _0x3aad99=a35_0x3d3a09,_0x216c34={};_0x216c34[_0x3aad99(0x1f0)]=function(_0xba7483,_0x47461a){return _0xba7483>_0x47461a;},_0x216c34[_0x3aad99(0x1ac)]=function(_0x596156,_0x48f9ee){return _0x596156===_0x48f9ee;},_0x216c34['roJPq']='test';const _0x2ff9f2=_0x216c34;if(_0x2ff9f2[_0x3aad99(0x1f0)](_0x1976a8[_0x3aad99(0x18a)],0x1)&&_0x2ff9f2[_0x3aad99(0x1ac)](_0x1976a8[0x1],_0x2ff9f2[_0x3aad99(0x218)]))return!![];return![];};function a35_0x5606(_0x3bf11c,_0x117496){const _0x5e0678=a35_0x5e06();return a35_0x5606=function(_0x5606f1,_0x3e9393){_0x5606f1=_0x5606f1-0x187;let _0x37cd05=_0x5e0678[_0x5606f1];return _0x37cd05;},a35_0x5606(_0x3bf11c,_0x117496);}async function run(_0x546afd,_0x46a666){const _0x4ff71a=a35_0x3d3a09,_0x54fcf1={'YqEKx':_0x4ff71a(0x199),'KJuSU':'pw_result.json','PrPOE':function(_0x369eb3,_0x559685){return _0x369eb3+_0x559685;},'LJXJE':_0x4ff71a(0x1c3),'bjzIE':_0x4ff71a(0x1c9),'sWUSL':function(_0x25cc5a){return _0x25cc5a();},'CsMFX':function(_0x5ea367,_0x5e8908){return _0x5ea367+_0x5e8908;},'zwXSx':_0x4ff71a(0x194),'jkMnv':'--disable-browserstack-automation','MESAS':'false','ohPzz':_0x4ff71a(0x1a9),'ucjdW':function(_0x468940,_0x525119){return _0x468940>=_0x525119;},'UjzcX':function(_0x2ed42b,_0x4e510a){return _0x2ed42b+_0x4e510a;},'ZRdzS':'Error\x20in\x20deleting\x20playwright\x20results','PImMV':function(_0x35eb79,_0x2028bd,_0x3ab016){return _0x35eb79(_0x2028bd,_0x3ab016);},'wiByJ':function(_0x957f12,_0x56e46d){return _0x957f12(_0x56e46d);},'OgGuf':_0x4ff71a(0x1e3),'EINBc':'automation','rQuPu':function(_0x4abe4c,_0x54d6eb){return _0x4abe4c!=_0x54d6eb;},'eRcaF':function(_0x125253,_0x4f4c9c){return _0x125253===_0x4f4c9c;},'AkXAc':_0x4ff71a(0x216),'tgLqX':function(_0x381150,_0x21af46){return _0x381150(_0x21af46);},'BpeFN':function(_0x5714f3,_0x40d449){return _0x5714f3(_0x40d449);},'jJYOq':'browserstackSetupConfig.json','Fvxiv':_0x4ff71a(0x1c2),'aqZBz':_0x4ff71a(0x1c7),'lXRvX':function(_0x7e855d,_0x260e7f){return _0x7e855d-_0x260e7f;},'vNZWi':_0x4ff71a(0x1a7),'FTekH':function(_0xc11dd7,_0x3b943d){return _0xc11dd7>_0x3b943d;},'ntdMP':function(_0x701906,_0xa53ffa,_0x35b921,_0x3caf3a){return _0x701906(_0xa53ffa,_0x35b921,_0x3caf3a);},'sKSVr':_0x4ff71a(0x1fe),'DkxhG':_0x4ff71a(0x202),'WQdIe':_0x4ff71a(0x1af),'MCxTR':_0x4ff71a(0x1e6),'ymgfh':function(_0x2bcf1b,_0x5e491f){return _0x2bcf1b===_0x5e491f;},'SwzaA':_0x4ff71a(0x1c8),'gzEKX':_0x4ff71a(0x1b5),'OmxDN':_0x4ff71a(0x1b7)};!helper[_0x4ff71a(0x20d)](process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1c6)])&&(process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1c6)]=!![]);process['argv'][_0x4ff71a(0x1fb)](_0x54fcf1[_0x4ff71a(0x1bf)])&&(process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1c6)]=_0x54fcf1[_0x4ff71a(0x1e9)],_0x46a666=_0x46a666[_0x4ff71a(0x1a6)](_0x256e90=>_0x256e90!==_0x4ff71a(0x215)));const _0x2ae0b8=_0x46a666[_0x4ff71a(0x20b)](_0x54fcf1[_0x4ff71a(0x1dd)]);_0x54fcf1[_0x4ff71a(0x1cf)](_0x2ae0b8,0x0)&&(process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1e5)]=_0x54fcf1[_0x4ff71a(0x1e9)],_0x46a666=_0x46a666[_0x4ff71a(0x1a6)](_0x22a0c0=>_0x22a0c0!==_0x4ff71a(0x1a9)));try{const _0x4e1710=path[_0x4ff71a(0x1d1)](helper[_0x4ff71a(0x21c)](),_0x54fcf1[_0x4ff71a(0x1a0)],_0x54fcf1[_0x4ff71a(0x1c5)]);fs['existsSync'](_0x4e1710)&&fs[_0x4ff71a(0x1d7)](_0x4e1710);}catch(_0x1cf4b3){logger['debug'](_0x54fcf1[_0x4ff71a(0x204)](_0x54fcf1[_0x4ff71a(0x198)],_0x1cf4b3));}if(!_0x54fcf1['PImMV'](isTestCommand,_0x546afd,_0x46a666)){_0x54fcf1[_0x4ff71a(0x214)](spawnOriginalProcess,_0x46a666);return;}const _0x44cd5f=new BrowserStackSetup(_0x546afd,FRAMEWORKS[_0x4ff71a(0x19e)]);if(!_0x44cd5f['config']){logger['error'](_0x54fcf1[_0x4ff71a(0x1b8)]);return;}await _0x44cd5f[_0x4ff71a(0x1d0)]();!helper[_0x4ff71a(0x196)](_0x44cd5f['cliConfig'])&&_0x44cd5f[_0x4ff71a(0x1f9)][_0x4ff71a(0x1cb)](_0x54fcf1[_0x4ff71a(0x200)])&&(process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1c6)]=_0x44cd5f['cliConfig'][_0x4ff71a(0x1b2)](_0x54fcf1[_0x4ff71a(0x200)])||!![]);_0x54fcf1[_0x4ff71a(0x1e4)](_0x44cd5f['config'][_0x4ff71a(0x1de)],null)&&!helper[_0x4ff71a(0x1a3)](process['env'][_0x4ff71a(0x1e5)])&&(process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1e5)]=process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1e5)]||_0x44cd5f[_0x4ff71a(0x18b)][_0x4ff71a(0x1de)]);const _0x39acdd=!helper[_0x4ff71a(0x20d)](process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1e5)]);let _0x587b18=![];_0x44cd5f['config'][_0x4ff71a(0x1bd)]&&(_0x587b18=!![],process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1cc)]=_0x44cd5f[_0x4ff71a(0x18b)][_0x4ff71a(0x1bd)]);_0x44cd5f[_0x4ff71a(0x18b)]['accessibilityOptions']&&(process[_0x4ff71a(0x1f8)][_0x4ff71a(0x1ba)]=JSON[_0x4ff71a(0x21d)](_0x44cd5f['config']['accessibilityOptions']));const _0x1804d6=_0x46a666[_0x4ff71a(0x1ef)](),_0x47e2a6=await _0x54fcf1[_0x4ff71a(0x1ff)](getUserPlaywrightConfig,_0x546afd,_0x46a666);if(helper[_0x4ff71a(0x196)](_0x47e2a6)){_0x54fcf1[_0x4ff71a(0x214)](spawnOriginalProcess,_0x1804d6);return;}const _0x3a6426=_0x47e2a6[_0x4ff71a(0x1d8)]?path[_0x4ff71a(0x1fa)](_0x47e2a6[_0x4ff71a(0x1d8)]):process[_0x4ff71a(0x213)]();process[_0x4ff71a(0x1f8)][_0x4ff71a(0x189)]=_0x3a6426,await TestHubHandler[_0x4ff71a(0x191)](FRAMEWORKS[_0x4ff71a(0x19e)],_0x44cd5f);_0x39acdd&&_0x54fcf1[_0x4ff71a(0x214)](handleO11yRerun,_0x46a666);let _0x244cb9=_0x54fcf1['eRcaF'](process[_0x4ff71a(0x1f8)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x54fcf1[_0x4ff71a(0x1bb)]);_0x244cb9=_0x244cb9||_0x54fcf1[_0x4ff71a(0x19f)](checkAccessibilityPlatformConfig,_0x44cd5f[_0x4ff71a(0x18b)]),process[_0x4ff71a(0x1f8)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x244cb9;_0x244cb9&&_0x54fcf1['BpeFN'](setAccessibilityCapabilities,_0x44cd5f[_0x4ff71a(0x18b)]);const _0x1cce90=path[_0x4ff71a(0x1d1)](_0x47e2a6[_0x4ff71a(0x1d8)]?path[_0x4ff71a(0x1fa)](_0x47e2a6[_0x4ff71a(0x1d8)]):process[_0x4ff71a(0x213)](),_0x54fcf1[_0x4ff71a(0x1b3)]);fs[_0x4ff71a(0x1c1)](_0x1cce90,helper[_0x4ff71a(0x1ea)](_0x44cd5f[_0x4ff71a(0x18b)])),process[_0x4ff71a(0x1f8)][_0x4ff71a(0x206)]=_0x1cce90,helper[_0x4ff71a(0x1f5)]();let _0xb91e2e='';_0x54fcf1['eRcaF'](helper[_0x4ff71a(0x1b9)](),constants[_0x4ff71a(0x1f3)][_0x4ff71a(0x208)])?_0xb91e2e=_0x54fcf1[_0x4ff71a(0x190)]:_0xb91e2e=_0x54fcf1[_0x4ff71a(0x203)];let _0x2b5fff='';if(helper['isTypescriptProject'](_0x47e2a6[_0x4ff71a(0x1d8)])){_0x2b5fff='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x2887ff=_0xb91e2e[_0x4ff71a(0x1c4)]('.');_0x2887ff[_0x54fcf1['lXRvX'](_0x2887ff['length'],0x1)]='ts',_0xb91e2e=_0x2887ff[_0x4ff71a(0x1d1)]('.'),logger[_0x4ff71a(0x1a1)](_0x54fcf1[_0x4ff71a(0x210)](_0x54fcf1['vNZWi'],_0xb91e2e));}else _0x2b5fff='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x35f89f=path[_0x4ff71a(0x1d1)](_0x47e2a6['path']?path[_0x4ff71a(0x1fa)](_0x47e2a6[_0x4ff71a(0x1d8)]):process['cwd'](),_0xb91e2e);let _0x4e9ee3=_0x47e2a6['path']?_0x47e2a6[_0x4ff71a(0x1d8)]:'';_0x4e9ee3=_0x54fcf1['FTekH'](_0x4e9ee3[_0x4ff71a(0x18a)],0x0)?path[_0x4ff71a(0x1a8)](_0x4e9ee3):'',process['env'][_0x4ff71a(0x211)]=_0x4e9ee3;const _0x1f8d84=helper[_0x4ff71a(0x1aa)](_0x44cd5f[_0x4ff71a(0x18b)]);_0x1f8d84&&(_0x2b5fff=_0x54fcf1['CsMFX'](_0x4ff71a(0x193)+_0x1f8d84+_0x4ff71a(0x21e),_0x2b5fff));helper[_0x4ff71a(0x1eb)]({},_0x46a666),fs[_0x4ff71a(0x1c1)](_0x35f89f,_0x2b5fff),helper[_0x4ff71a(0x1b6)]();const _0x28bffb=_0x54fcf1[_0x4ff71a(0x1d2)](spawn,_0x54fcf1[_0x4ff71a(0x1da)],[_0x54fcf1[_0x4ff71a(0x195)],_0x54fcf1[_0x4ff71a(0x187)],_0x54fcf1[_0x4ff71a(0x1d4)],_0x35f89f,..._0x46a666[_0x4ff71a(0x209)](0x2)],{'shell':_0x54fcf1[_0x4ff71a(0x1fc)](process[_0x4ff71a(0x20e)],_0x54fcf1[_0x4ff71a(0x1d5)]),'stdio':_0x54fcf1[_0x4ff71a(0x1b0)],'cwd':process[_0x4ff71a(0x213)](),'env':Object[_0x4ff71a(0x1ec)]({},process[_0x4ff71a(0x1f8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4ff71a(0x18f)](_0x546afd),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x44cd5f['config'][_0x4ff71a(0x201)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x44cd5f[_0x4ff71a(0x18b)][_0x4ff71a(0x201)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x44cd5f[_0x4ff71a(0x18b)][_0x4ff71a(0x19c)]})}),_0x169bdc=()=>{const _0x2363dc=_0x4ff71a;try{const _0x519e0f=path[_0x2363dc(0x1d1)](helper['homedir'](),_0x54fcf1['YqEKx'],_0x54fcf1['KJuSU']);if(fs['existsSync'](_0x519e0f)){let _0x59d361=fs[_0x2363dc(0x19a)](_0x519e0f);_0x59d361=JSON['parse'](_0x59d361),_0x44cd5f[_0x2363dc(0x1cd)]=_0x59d361,fs[_0x2363dc(0x1d7)](_0x519e0f);}}catch(_0x3b7987){logger[_0x2363dc(0x1a1)](_0x54fcf1[_0x2363dc(0x1f6)](_0x54fcf1[_0x2363dc(0x1a5)],_0x3b7987));}};_0x28bffb['on'](_0x54fcf1['OmxDN'],async _0x272bd5=>{const _0x2798f1=_0x4ff71a;try{const _0x28f663=_0x54fcf1[_0x2798f1(0x1f4)][_0x2798f1(0x1c4)]('|');let _0x24013c=0x0;while(!![]){switch(_0x28f663[_0x24013c++]){case'0':process['exitCode']=_0x272bd5;continue;case'1':_0x54fcf1[_0x2798f1(0x1db)](_0x169bdc);continue;case'2':await TestHubHandler[_0x2798f1(0x19d)]();continue;case'3':fs[_0x2798f1(0x1d7)](_0x35f89f);continue;case'4':await utilities[_0x2798f1(0x1ca)](_0x44cd5f);continue;case'5':fs['unlinkSync'](_0x1cce90);continue;case'6':logger['info'](_0x2798f1(0x1b4)+_0x35f89f);continue;case'7':logger[_0x2798f1(0x1a1)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x272bd5);continue;case'8':logger[_0x2798f1(0x1a1)]('Deleting\x20'+_0x1cce90);continue;}break;}}catch(_0x2477bb){logger[_0x2798f1(0x1a1)](_0x54fcf1[_0x2798f1(0x210)](_0x54fcf1['zwXSx'],_0x2477bb));}});}function a35_0x5e06(){const _0x2d1b17=['BrowserStack\x20config\x20file\x20not\x20found.','rQuPu','BROWSERSTACK_TEST_OBSERVABILITY','--config','42945380cGsupq','util','MESAS','serializeToYamlString','filterBrowserstackArgs','assign','nestedKeyValue','ErpXf','concat','lnjos','1602QRyECp','requirePWModule','PACKAGE_TYPE','bjzIE','clearTempPWConfig','PrPOE','DPmjT','env','cliConfig','dirname','includes','ymgfh','11UgeOdb','npx','PImMV','EINBc','testContextOptions','playwright','aqZBz','UjzcX','exports','BROWSERSTACK_SETUP_CONFIG_PATH','winstonLogger','MODULE','slice','../../helpers/test-observability/utils','indexOf','apply','isFalse','platform','ylkNA','CsMFX','USER_CONFIG_DETAILS_PATH','./accessibility-helper','cwd','wiByJ','--disable-browserstack-automation','true','XqJMg','roJPq','--config=','map','13675BGsqPf','homedir','stringify','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\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\x20bootstrap();','trim','pIPnh','WQdIe','1011331TdTUmU','BROWSERSTACK_PW_CONFIG_DIR','length','config','findIndex','../utils/constants','BROWSERSTACK_RERUN_TESTS','getConfigPath','Fvxiv','launchBuild','../../helpers/test-observability/constants','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Error\x20in\x20closing\x20playwright','DkxhG','isUndefined','push','ZRdzS','.browserstack','readFileSync','16GaPMAU','logLevel','stop','PLAYWRIGHT','tgLqX','YqEKx','debug','resolvedConfigFile','isTrue','4085631CAtWVQ','LJXJE','filter','Updated\x20config\x20file\x20name\x20to\x20-\x20','resolve','--disable-test-observability','getProxyUrl','splice','ykkWT','../../helpers/testhub/testhubHandler','2WbYxPQ','test','gzEKX','../../helpers/utilities','get','jJYOq','Deleting\x20','inherit','markSDKSetupComplete','close','OgGuf','getPackageType','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','AkXAc','null','accessibility','hGjtB','jkMnv','../../helpers/testhub/utils','writeFileSync','playwright-browserstack-sdk.config.cjs','Error\x20in\x20getting\x20funnel\x20data\x20results','split','KJuSU','BROWSERSTACK_AUTOMATION','playwright-browserstack-sdk.config.js','win32','1|2|4|0|7|6|3|8|5','finalExecution','has','BROWSERSTACK_TEST_ACCESSIBILITY_YML','errorMessage','1261773ZSKvoz','ucjdW','initialize','join','ntdMP','../../helpers/logger','MCxTR','SwzaA','child_process','unlinkSync','path','HWCCK','sKSVr','sWUSL','3550928xjgIEn','ohPzz','testObservability','../../helpers/accessibility-automation/helper','startsWith','1857128FRrzXl','atGuc'];a35_0x5e06=function(){return _0x2d1b17;};return a35_0x5e06();}module[a35_0x3d3a09(0x205)]=run;
|
|
2
|
+
'use strict';function a35_0x5b6e(_0x3312ec,_0x1acba1){const _0x249ed0=a35_0x249e();return a35_0x5b6e=function(_0x5b6e1d,_0x3888ed){_0x5b6e1d=_0x5b6e1d-0x1df;let _0x25e71e=_0x249ed0[_0x5b6e1d];return _0x25e71e;},a35_0x5b6e(_0x3312ec,_0x1acba1);}const a35_0x4e6473=a35_0x5b6e;(function(_0x430219,_0x5524a3){const _0xf60a9=a35_0x5b6e,_0x3bfc92=_0x430219();while(!![]){try{const _0x374cb8=parseInt(_0xf60a9(0x24e))/0x1+parseInt(_0xf60a9(0x210))/0x2*(-parseInt(_0xf60a9(0x258))/0x3)+parseInt(_0xf60a9(0x205))/0x4*(-parseInt(_0xf60a9(0x243))/0x5)+parseInt(_0xf60a9(0x237))/0x6+parseInt(_0xf60a9(0x1e9))/0x7+-parseInt(_0xf60a9(0x256))/0x8+parseInt(_0xf60a9(0x276))/0x9*(parseInt(_0xf60a9(0x22a))/0xa);if(_0x374cb8===_0x5524a3)break;else _0x3bfc92['push'](_0x3bfc92['shift']());}catch(_0x28e76b){_0x3bfc92['push'](_0x3bfc92['shift']());}}}(a35_0x249e,0x60013));const fs=require('fs'),path=require(a35_0x4e6473(0x267)),{spawn}=require(a35_0x4e6473(0x21c)),{format}=require(a35_0x4e6473(0x262)),logger=require(a35_0x4e6473(0x223))[a35_0x4e6473(0x23a)],{default:BrowserStackSetup}=require(a35_0x4e6473(0x257)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a35_0x4e6473(0x20d)),{FRAMEWORKS}=require(a35_0x4e6473(0x269)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x4e6473(0x236)),{CrashReporter}=require(a35_0x4e6473(0x26d)),{getFrameworkVersion}=require(a35_0x4e6473(0x1f4)),{checkAccessibilityPlatformConfig}=require(a35_0x4e6473(0x1ea)),{setAccessibilityCapabilities}=require(a35_0x4e6473(0x1e6)),TestHubHandler=require(a35_0x4e6473(0x255)),{shouldProcessEventForTesthub}=require(a35_0x4e6473(0x261)),getUserPlaywrightConfig=async(_0x2f4527,_0x54b26c)=>{const _0x59b2a0=a35_0x4e6473,_0x39fd4f={'jkdio':function(_0x5b92c7){return _0x5b92c7();},'PTiEY':function(_0x58735b,_0x24c30a){return _0x58735b(_0x24c30a);},'wQXrV':function(_0x19bbe1,_0x271ccd){return _0x19bbe1(_0x271ccd);},'PBoQC':_0x59b2a0(0x220),'wxyHd':_0x59b2a0(0x1e3)},_0x26fcb4=!helper[_0x59b2a0(0x25e)](_0x2f4527[_0x59b2a0(0x20f)]),_0x8a80a9=_0x26fcb4?path[_0x59b2a0(0x202)](process[_0x59b2a0(0x272)](),_0x2f4527[_0x59b2a0(0x20f)]):process[_0x59b2a0(0x272)](),{resolveConfigFile:_0x103645,resolveConfigLocation:_0x353b8c}=helper['requirePWModule'][_0x59b2a0(0x274)](null,_0x39fd4f['jkdio'](getConfigLoaderPath)),_0x1aa558=_0x103645?_0x39fd4f[_0x59b2a0(0x1fa)](_0x103645,_0x8a80a9):helper[_0x59b2a0(0x278)](_0x39fd4f[_0x59b2a0(0x249)](_0x353b8c,_0x8a80a9),[_0x39fd4f['PBoQC']]),_0x5cb82b={};if(_0x26fcb4){const _0x24f1eb=_0x54b26c[_0x59b2a0(0x23d)](_0x57c3fc=>_0x57c3fc===_0x59b2a0(0x209)||_0x57c3fc==='-c'||_0x57c3fc[_0x59b2a0(0x212)]('--config='));_0x54b26c[_0x59b2a0(0x1fe)](_0x24f1eb,_0x54b26c[_0x24f1eb][_0x59b2a0(0x212)](_0x39fd4f[_0x59b2a0(0x275)])?0x1:0x2);}const _0x3bbcb8={};return _0x3bbcb8[_0x59b2a0(0x267)]=_0x1aa558,_0x3bbcb8['config']=_0x5cb82b,_0x3bbcb8;},handleO11yRerun=_0xe9bce7=>{const _0x4a7042=a35_0x4e6473,_0x3f48be={};_0x3f48be[_0x4a7042(0x264)]=function(_0x1ab385,_0x291c95){return _0x1ab385!==_0x291c95;},_0x3f48be['PEwIS']='null',_0x3f48be[_0x4a7042(0x250)]=_0x4a7042(0x201);const _0x43a9df=_0x3f48be,_0xe6f572=helper[_0x4a7042(0x1e1)](process[_0x4a7042(0x1f3)][_0x4a7042(0x25c)]);if(_0xe6f572){const _0x5adf74=process[_0x4a7042(0x1f3)][_0x4a7042(0x216)],_0x9adbd4=[];if(_0x43a9df[_0x4a7042(0x264)](_0x5adf74,_0x43a9df[_0x4a7042(0x25f)])&&!helper['isUndefined'](_0x5adf74)){_0x5adf74[_0x4a7042(0x1f8)](',')[_0x4a7042(0x27f)](_0x3d9db4=>{const _0x8a3e10=_0x4a7042;_0x9adbd4[_0x8a3e10(0x21e)]('('+_0x3d9db4['trim']()+')');});const _0x5da896='^'+_0x9adbd4[_0x4a7042(0x1fd)]('|')+'$';_0xe9bce7['push'](_0x43a9df[_0x4a7042(0x250)],_0x5da896);}}},spawnOriginalProcess=_0x5b1739=>{const _0x1a9dd8=a35_0x4e6473,_0x32fede={'QXbJk':function(_0x3003a3,_0x49f4ab,_0x4c0dda,_0x1bac1e){return _0x3003a3(_0x49f4ab,_0x4c0dda,_0x1bac1e);},'UqCJQ':_0x1a9dd8(0x27d),'ZlGgI':_0x1a9dd8(0x265),'yMOIM':function(_0x3a7b15,_0x172ba2){return _0x3a7b15===_0x172ba2;},'xTWXo':_0x1a9dd8(0x200),'bUpJe':_0x1a9dd8(0x266)};_0x32fede[_0x1a9dd8(0x23f)](spawn,_0x32fede[_0x1a9dd8(0x1ec)],[_0x32fede[_0x1a9dd8(0x26a)],..._0x5b1739['slice'](0x1)],{'shell':_0x32fede[_0x1a9dd8(0x22f)](process[_0x1a9dd8(0x1e8)],_0x32fede[_0x1a9dd8(0x23c)]),'stdio':_0x32fede['bUpJe'],'cwd':process[_0x1a9dd8(0x272)]()});},isTestCommand=(_0x5ce03c,_0x1b02a7)=>{const _0x48113e=a35_0x4e6473,_0x4a7326={};_0x4a7326[_0x48113e(0x1f1)]=function(_0x1a0430,_0x59fb7b){return _0x1a0430>_0x59fb7b;},_0x4a7326['RfZnz']=function(_0x3f6eed,_0x12d632){return _0x3f6eed===_0x12d632;},_0x4a7326[_0x48113e(0x233)]='test';const _0x55d3e1=_0x4a7326;if(_0x55d3e1[_0x48113e(0x1f1)](_0x1b02a7[_0x48113e(0x252)],0x1)&&_0x55d3e1['RfZnz'](_0x1b02a7[0x1],_0x55d3e1[_0x48113e(0x233)]))return!![];return![];};async function run(_0x57045d,_0xba8e9d){const _0x3aed2b=a35_0x4e6473,_0x152e7b={'JRVwk':'.browserstack','LBvmr':_0x3aed2b(0x239),'unSTS':function(_0x1f58e2,_0x529470){return _0x1f58e2+_0x529470;},'DMmbb':'Error\x20in\x20getting\x20funnel\x20data\x20results','fwpUh':_0x3aed2b(0x21d),'GUbCA':function(_0x483d49){return _0x483d49();},'eIKfj':function(_0x5ead76,_0x5c51c1){return _0x5ead76+_0x5c51c1;},'ipIra':_0x3aed2b(0x224),'WcBvU':'--disable-browserstack-automation','xoVBf':_0x3aed2b(0x214),'bJGJD':'--disable-test-observability','TXhkT':function(_0x2991a5,_0x5633e6){return _0x2991a5>=_0x5633e6;},'zSBMB':_0x3aed2b(0x24a),'NuBZq':function(_0x5100f0,_0x25d343,_0x4efb85){return _0x5100f0(_0x25d343,_0x4efb85);},'hpPrp':function(_0x490829,_0x59cfed){return _0x490829(_0x59cfed);},'czfHF':'BrowserStack\x20config\x20file\x20not\x20found.','Bvlmx':_0x3aed2b(0x1f7),'tJnrr':function(_0x315ef7,_0x2377b4){return _0x315ef7!=_0x2377b4;},'VumKO':function(_0x48e5c0,_0x4c929e,_0x5d40bc){return _0x48e5c0(_0x4c929e,_0x5d40bc);},'qgvFI':function(_0x269369,_0x4a715a){return _0x269369(_0x4a715a);},'RRRrg':function(_0x340de1,_0x22ee5a){return _0x340de1===_0x22ee5a;},'Mumzh':_0x3aed2b(0x22c),'aThol':function(_0x49a2b2,_0x2da761){return _0x49a2b2(_0x2da761);},'LhsMh':function(_0x4295ae,_0x20aa68){return _0x4295ae(_0x20aa68);},'hKCHF':_0x3aed2b(0x221),'vHACy':function(_0x1a8a9a,_0x157dfc){return _0x1a8a9a===_0x157dfc;},'HoJrP':_0x3aed2b(0x1fb),'NpiPt':_0x3aed2b(0x26f),'ossoN':function(_0xe5737b,_0x1e6797){return _0xe5737b-_0x1e6797;},'EikZy':_0x3aed2b(0x25a),'NGCGG':function(_0x243f16,_0x3f2216){return _0x243f16>_0x3f2216;},'NJGkA':function(_0x14f66d,_0x467ba9){return _0x14f66d+_0x467ba9;},'WPGOP':function(_0x2bd2eb,_0x456e95,_0xa30178,_0x1f0f90){return _0x2bd2eb(_0x456e95,_0xa30178,_0x1f0f90);},'rjQVY':_0x3aed2b(0x27d),'ZSWEW':_0x3aed2b(0x265),'iDwKT':_0x3aed2b(0x227),'ySveQ':_0x3aed2b(0x209),'AJKay':_0x3aed2b(0x200),'lIqBI':'inherit','ZYOLy':'close'};!helper[_0x3aed2b(0x20a)](process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)]=!![]);process[_0x3aed2b(0x20c)][_0x3aed2b(0x222)](_0x152e7b[_0x3aed2b(0x271)])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)]=_0x152e7b[_0x3aed2b(0x1e2)],_0xba8e9d=_0xba8e9d['filter'](_0x3118a8=>_0x3118a8!==_0x3aed2b(0x241)));const _0x101bb7=_0xba8e9d[_0x3aed2b(0x20b)](_0x152e7b[_0x3aed2b(0x244)]);_0x152e7b[_0x3aed2b(0x242)](_0x101bb7,0x0)&&(process['env'][_0x3aed2b(0x235)]=_0x152e7b['xoVBf'],_0xba8e9d=_0xba8e9d[_0x3aed2b(0x218)](_0x413595=>_0x413595!=='--disable-test-observability'));try{const _0x536cd4=path['join'](helper[_0x3aed2b(0x24f)](),_0x152e7b['JRVwk'],_0x152e7b[_0x3aed2b(0x27a)]);fs[_0x3aed2b(0x21f)](_0x536cd4)&&fs[_0x3aed2b(0x207)](_0x536cd4);}catch(_0x2223fa){logger[_0x3aed2b(0x24b)](_0x152e7b[_0x3aed2b(0x203)](_0x152e7b['zSBMB'],_0x2223fa));}if(!_0x152e7b[_0x3aed2b(0x270)](isTestCommand,_0x57045d,_0xba8e9d)){_0x152e7b[_0x3aed2b(0x22e)](spawnOriginalProcess,_0xba8e9d);return;}const _0x1fe9c5=new BrowserStackSetup(_0x57045d,FRAMEWORKS[_0x3aed2b(0x24c)]);if(!_0x1fe9c5[_0x3aed2b(0x20f)]){logger[_0x3aed2b(0x251)](_0x152e7b[_0x3aed2b(0x20e)]);return;}await _0x1fe9c5['initialize']();!helper['isUndefined'](_0x1fe9c5[_0x3aed2b(0x260)])&&_0x1fe9c5[_0x3aed2b(0x260)]['has'](_0x152e7b['Bvlmx'])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x217)]=_0x1fe9c5[_0x3aed2b(0x260)][_0x3aed2b(0x248)](_0x152e7b[_0x3aed2b(0x204)])||!![]);_0x152e7b[_0x3aed2b(0x230)](_0x1fe9c5[_0x3aed2b(0x20f)]['testObservability'],null)&&!helper['isTrue'](process['env'][_0x3aed2b(0x235)])&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x235)]=process[_0x3aed2b(0x1f3)][_0x3aed2b(0x235)]||_0x1fe9c5[_0x3aed2b(0x20f)]['testObservability']);const _0x23cf01=!helper['isFalse'](process['env'][_0x3aed2b(0x235)]);let _0x3ba3db=![];_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x1e5)]&&(_0x3ba3db=!![],process[_0x3aed2b(0x1f3)][_0x3aed2b(0x1f6)]=_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x1e5)]);_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x27b)]&&(process[_0x3aed2b(0x1f3)][_0x3aed2b(0x240)]=JSON[_0x3aed2b(0x22d)](_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x27b)]));const _0x1281d9=_0xba8e9d[_0x3aed2b(0x245)](),_0x442d2f=await _0x152e7b['VumKO'](getUserPlaywrightConfig,_0x57045d,_0xba8e9d);if(helper[_0x3aed2b(0x25e)](_0x442d2f)){_0x152e7b[_0x3aed2b(0x1e0)](spawnOriginalProcess,_0x1281d9);return;}const _0x31fd32=_0x442d2f[_0x3aed2b(0x267)]?path['dirname'](_0x442d2f[_0x3aed2b(0x267)]):process['cwd']();process['env']['BROWSERSTACK_PW_CONFIG_DIR']=_0x31fd32,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3aed2b(0x24c)],_0x1fe9c5);_0x23cf01&&_0x152e7b[_0x3aed2b(0x22e)](handleO11yRerun,_0xba8e9d);let _0x4fdb33=_0x152e7b[_0x3aed2b(0x229)](process[_0x3aed2b(0x1f3)][_0x3aed2b(0x1f6)],_0x152e7b['Mumzh']);_0x4fdb33=_0x4fdb33||_0x152e7b[_0x3aed2b(0x268)](checkAccessibilityPlatformConfig,_0x1fe9c5['config']),process[_0x3aed2b(0x1f3)][_0x3aed2b(0x1f6)]=_0x4fdb33;_0x4fdb33&&_0x152e7b[_0x3aed2b(0x253)](setAccessibilityCapabilities,_0x1fe9c5[_0x3aed2b(0x20f)]);const _0x15964c=path['join'](_0x442d2f[_0x3aed2b(0x267)]?path[_0x3aed2b(0x219)](_0x442d2f[_0x3aed2b(0x267)]):process['cwd'](),_0x152e7b[_0x3aed2b(0x215)]);fs[_0x3aed2b(0x1f0)](_0x15964c,helper[_0x3aed2b(0x26c)](_0x1fe9c5[_0x3aed2b(0x20f)])),process[_0x3aed2b(0x1f3)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x15964c,helper[_0x3aed2b(0x232)]();let _0x19158b='';_0x152e7b[_0x3aed2b(0x247)](helper['getPackageType'](),constants[_0x3aed2b(0x1f5)]['MODULE'])?_0x19158b=_0x152e7b[_0x3aed2b(0x21a)]:_0x19158b=_0x152e7b[_0x3aed2b(0x22b)];let _0x5e0d20='';if(helper[_0x3aed2b(0x23b)](_0x442d2f[_0x3aed2b(0x267)])){_0x5e0d20=_0x3aed2b(0x259);const _0x4f3c9d=_0x19158b[_0x3aed2b(0x1f8)]('.');_0x4f3c9d[_0x152e7b[_0x3aed2b(0x1e7)](_0x4f3c9d[_0x3aed2b(0x252)],0x1)]='ts',_0x19158b=_0x4f3c9d[_0x3aed2b(0x1fd)]('.'),logger[_0x3aed2b(0x24b)](_0x152e7b[_0x3aed2b(0x21b)](_0x152e7b[_0x3aed2b(0x1ef)],_0x19158b));}else _0x5e0d20=_0x3aed2b(0x27c);const _0x50d0cd=path['join'](_0x442d2f[_0x3aed2b(0x267)]?path[_0x3aed2b(0x219)](_0x442d2f['path']):process[_0x3aed2b(0x272)](),_0x19158b);let _0x258216=_0x442d2f['path']?_0x442d2f[_0x3aed2b(0x267)]:'';_0x258216=_0x152e7b[_0x3aed2b(0x277)](_0x258216[_0x3aed2b(0x252)],0x0)?path[_0x3aed2b(0x202)](_0x258216):'',process[_0x3aed2b(0x1f3)]['USER_CONFIG_DETAILS_PATH']=_0x258216;const _0xad2bb0=helper[_0x3aed2b(0x1e4)](_0x1fe9c5['config']);_0xad2bb0&&(_0x5e0d20=_0x152e7b[_0x3aed2b(0x1f2)](_0x3aed2b(0x225)+_0xad2bb0+_0x3aed2b(0x279),_0x5e0d20));helper[_0x3aed2b(0x228)]({},_0xba8e9d),fs[_0x3aed2b(0x1f0)](_0x50d0cd,_0x5e0d20),helper[_0x3aed2b(0x1ff)]();const _0x4aa7e6=_0x152e7b[_0x3aed2b(0x26e)](spawn,_0x152e7b['rjQVY'],[_0x152e7b[_0x3aed2b(0x1df)],_0x152e7b[_0x3aed2b(0x263)],_0x152e7b[_0x3aed2b(0x25d)],_0x50d0cd,..._0xba8e9d[_0x3aed2b(0x213)](0x2)],{'shell':_0x152e7b['vHACy'](process[_0x3aed2b(0x1e8)],_0x152e7b['AJKay']),'stdio':_0x152e7b[_0x3aed2b(0x1eb)],'cwd':process[_0x3aed2b(0x272)](),'env':Object[_0x3aed2b(0x23e)]({},process[_0x3aed2b(0x1f3)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3aed2b(0x26b)](_0x57045d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1fe9c5[_0x3aed2b(0x20f)][_0x3aed2b(0x27e)][_0x3aed2b(0x24d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1fe9c5[_0x3aed2b(0x20f)]['testContextOptions'][_0x3aed2b(0x1f9)],'BROWSERSTACK_LOG_LEVEL':_0x1fe9c5['config'][_0x3aed2b(0x208)]})}),_0x1b12ae=()=>{const _0x17636b=_0x3aed2b;try{const _0x914b25=path[_0x17636b(0x1fd)](helper[_0x17636b(0x24f)](),_0x152e7b['JRVwk'],_0x152e7b[_0x17636b(0x27a)]);if(fs[_0x17636b(0x21f)](_0x914b25)){let _0x343aa2=fs[_0x17636b(0x246)](_0x914b25);_0x343aa2=JSON[_0x17636b(0x206)](_0x343aa2),_0x1fe9c5[_0x17636b(0x211)]=_0x343aa2,fs['unlinkSync'](_0x914b25);}}catch(_0x2d7389){logger[_0x17636b(0x24b)](_0x152e7b[_0x17636b(0x21b)](_0x152e7b['DMmbb'],_0x2d7389));}};_0x4aa7e6['on'](_0x152e7b[_0x3aed2b(0x231)],async _0x260f68=>{const _0x2b3844=_0x3aed2b;try{const _0x35db06=_0x152e7b[_0x2b3844(0x234)][_0x2b3844(0x1f8)]('|');let _0x393eaf=0x0;while(!![]){switch(_0x35db06[_0x393eaf++]){case'0':fs[_0x2b3844(0x207)](_0x15964c);continue;case'1':process[_0x2b3844(0x1ed)]=_0x260f68;continue;case'2':await utilities['finalExecution'](_0x1fe9c5);continue;case'3':_0x152e7b[_0x2b3844(0x238)](_0x1b12ae);continue;case'4':fs[_0x2b3844(0x207)](_0x50d0cd);continue;case'5':logger['debug'](_0x2b3844(0x1fc)+_0x15964c);continue;case'6':await TestHubHandler[_0x2b3844(0x273)]();continue;case'7':logger[_0x2b3844(0x226)](_0x2b3844(0x1fc)+_0x50d0cd);continue;case'8':logger[_0x2b3844(0x24b)](_0x2b3844(0x25b)+_0x260f68);continue;}break;}}catch(_0x22e9ee){logger[_0x2b3844(0x24b)](_0x152e7b[_0x2b3844(0x203)](_0x152e7b[_0x2b3844(0x1ee)],_0x22e9ee));}});}module[a35_0x4e6473(0x254)]=run;function a35_0x249e(){const _0x368d3e=['playwright-browserstack-sdk.config.cjs','Deleting\x20','join','splice','markSDKSetupComplete','win32','--grep','resolve','eIKfj','Bvlmx','456ivSZrA','parse','unlinkSync','logLevel','--config','isFalse','indexOf','argv','../utils/constants','czfHF','config','2NdFqxT','errorMessage','startsWith','slice','false','hKCHF','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_AUTOMATION','filter','dirname','HoJrP','unSTS','child_process','3|6|2|1|8|7|4|5|0','push','existsSync','resolvedConfigFile','browserstackSetupConfig.json','includes','../../helpers/logger','Error\x20in\x20closing\x20playwright','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','info','test','filterBrowserstackArgs','RRRrg','10IvDkVv','NpiPt','true','stringify','hpPrp','yMOIM','tJnrr','ZYOLy','clearTempPWConfig','wEttH','fwpUh','BROWSERSTACK_TEST_OBSERVABILITY','./reporter/pwUtils','350604eMewfA','GUbCA','pw_result.json','winstonLogger','isTypescriptProject','xTWXo','findIndex','assign','QXbJk','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','--disable-browserstack-automation','TXhkT','25125QtyKHE','bJGJD','concat','readFileSync','vHACy','get','wQXrV','Error\x20in\x20deleting\x20playwright\x20results','debug','PLAYWRIGHT','skipSessionStatus','714390chavDQ','homedir','LnjDY','error','length','LhsMh','exports','../../helpers/testhub/testhubHandler','4887384CTHiVK','../../helpers/BrowserStackSetup','1518717XBZMhu','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','Updated\x20config\x20file\x20name\x20to\x20-\x20','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_RERUN','ySveQ','isUndefined','PEwIS','cliConfig','../../helpers/testhub/utils','util','iDwKT','DJuVt','playwright','inherit','path','aThol','../../helpers/test-observability/constants','ZlGgI','getConfigPath','serializeToYamlString','../../helpers/test-observability/error-handler','WPGOP','playwright-browserstack-sdk.config.js','NuBZq','WcBvU','cwd','stop','apply','wxyHd','7246683cqsFtW','NGCGG','nestedKeyValue','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\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\x20bootstrap();','LBvmr','accessibilityOptions','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','npx','testContextOptions','map','ZSWEW','qgvFI','isTrue','xoVBf','--config=','getProxyUrl','accessibility','./accessibility-helper','ossoN','platform','3536652mVsCdN','../../helpers/accessibility-automation/helper','lIqBI','UqCJQ','exitCode','ipIra','EikZy','writeFileSync','lVWMz','NJGkA','env','../../helpers/test-observability/utils','PACKAGE_TYPE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','automation','split','skipSessionName','PTiEY'];a35_0x249e=function(){return _0x368d3e;};return a35_0x249e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a36_0x27bd8f=a36_0x1499;function a36_0x1fbe(){const _0x41fdda=['46556azgAGB','child_process','../../helpers/helper','./patches','Running\x20existing\x20global\x20setup','4012400PcoNLZ','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','env','277365qUltLK','format','xpupz','apply','toString','UXUcV','Call\x20to\x20child\x20fork\x20with\x20args\x20','Path\x20','./mock-process.js','requirePWModule','resolve','2048550LeHZgv','42456ziPVhd','../../helpers/test-observability/constants','41OWUcxJ','./reporter/pwUtils','110AEAxZr','pJbEw','rarmu','fork','config','error','includes','219ToUxZC','Not\x20able\x20to\x20import\x20globalSetup','util','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','SIVUr','NvqPv','566658sgOwVX','../../helpers/logger','rZdqF','\x20is\x20not\x20found','debug','ezuRu','pzaly','exports','104wnhIpW','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','2773074hiJLhj'];a36_0x1fbe=function(){return _0x41fdda;};return a36_0x1fbe();}(function(_0x4eb8d3,_0x3081a6){const _0x367b0b=a36_0x1499,_0x15424e=_0x4eb8d3();while(!![]){try{const _0x1d9352=parseInt(_0x367b0b(0xda))/0x1*(parseInt(_0x367b0b(0xf4))/0x2)+parseInt(_0x367b0b(0xe3))/0x3*(parseInt(_0x367b0b(0xd8))/0x4)+parseInt(_0x367b0b(0xd7))/0x5+-parseInt(_0x367b0b(0xf3))/0x6+-parseInt(_0x367b0b(0xf9))/0x7+parseInt(_0x367b0b(0xf1))/0x8*(-parseInt(_0x367b0b(0xe9))/0x9)+parseInt(_0x367b0b(0xdc))/0xa*(parseInt(_0x367b0b(0xcc))/0xb);if(_0x1d9352===_0x3081a6)break;else _0x15424e['push'](_0x15424e['shift']());}catch(_0x38bac5){_0x15424e['push'](_0x15424e['shift']());}}}(a36_0x1fbe,0x894ea));const util=require(a36_0x27bd8f(0xe5)),child_process=require(a36_0x27bd8f(0xf5)),{FRAMEWORKS}=require(a36_0x27bd8f(0xd9)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x27bd8f(0xf6)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x27bd8f(0xdb)),{mockIsWorkerRedundant}=require(a36_0x27bd8f(0xf7)),logger=require(a36_0x27bd8f(0xea))['winstonLogger'];function a36_0x1499(_0x48a7b0,_0x5a0a93){const _0x1fbe37=a36_0x1fbe();return a36_0x1499=function(_0x149942,_0x1393c1){_0x149942=_0x149942-0xcb;let _0x25fd4e=_0x1fbe37[_0x149942];return _0x25fd4e;},a36_0x1499(_0x48a7b0,_0x5a0a93);}module[a36_0x27bd8f(0xf0)]=async function(_0xd0f57c){const _0x32c959=a36_0x27bd8f,_0x1e6f9b={'pzaly':function(_0x364809,_0x1d83a0){return _0x364809(_0x1d83a0);},'rarmu':function(_0x5708d7){return _0x5708d7();},'pJbEw':_0x32c959(0xd4),'cnzGW':function(_0xd20800){return _0xd20800();},'xpupz':function(_0x36990f){return _0x36990f();},'fgItF':_0x32c959(0xf8),'ezuRu':function(_0x1ec17b){return _0x1ec17b();},'nREgu':function(_0x54eb4e,_0x11a7f7){return _0x54eb4e(_0x11a7f7);},'SIVUr':function(_0xbb5b97,_0x221961){return _0xbb5b97>=_0x221961;},'NvqPv':'1.33.0','cIoMa':function(_0x55ea17,_0xcc38bd,_0x1778b9){return _0x55ea17(_0xcc38bd,_0x1778b9);},'rZdqF':function(_0x4e8710,_0x186a42){return _0x4e8710!==_0x186a42;},'AfMpB':'function','UXUcV':_0x32c959(0xe4)},_0x4392e0=child_process[_0x32c959(0xdf)];if(helper['isHandlePWErrorSet']())try{_0x1e6f9b[_0x32c959(0xce)](mockIsWorkerRedundant);}catch(_0x41b996){logger[_0x32c959(0xed)](_0x32c959(0xfa)+util[_0x32c959(0xcd)](_0x41b996));}child_process[_0x32c959(0xdf)]=function(){const _0x2f81e3=_0x32c959;return _0x1e6f9b[_0x2f81e3(0xef)](debug,_0x2f81e3(0xd2)+arguments[0x0]),arguments[0x0][_0x2f81e3(0xe2)](_0x1e6f9b[_0x2f81e3(0xde)](getForkProcessPath))?arguments[0x0]=require[_0x2f81e3(0xd6)](_0x1e6f9b[_0x2f81e3(0xdd)]):logger[_0x2f81e3(0xe1)](_0x2f81e3(0xd3)+_0x1e6f9b['cnzGW'](getForkProcessPath)+_0x2f81e3(0xec)),_0x4392e0[_0x2f81e3(0xcf)](null,arguments);};if(process['env'][_0x32c959(0xf2)]){_0x1e6f9b[_0x32c959(0xef)](debug,_0x1e6f9b['fgItF']);try{const {loadGlobalHook:_0x5b8a10}=helper[_0x32c959(0xd5)][_0x32c959(0xcf)](null,_0x1e6f9b[_0x32c959(0xee)](getLoadUtilsPath)),_0x3a0230=_0x1e6f9b['nREgu'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x90841b=_0xd0f57c;if(_0x1e6f9b[_0x32c959(0xe7)](helper['compareVersions'](_0x3a0230,_0x1e6f9b[_0x32c959(0xe8)]),0x0)){const _0x41a877={};_0x41a877[_0x32c959(0xe0)]=_0xd0f57c,_0x90841b=_0x41a877;}const _0x63fc98=await _0x1e6f9b['cIoMa'](_0x5b8a10,_0x90841b,process[_0x32c959(0xcb)][_0x32c959(0xf2)]);if(_0x1e6f9b[_0x32c959(0xeb)](typeof _0x63fc98,_0x1e6f9b['AfMpB']))throw new Error(_0x1e6f9b[_0x32c959(0xd1)]);return _0x63fc98['apply'](null,arguments);}catch(_0x74e870){_0x1e6f9b[_0x32c959(0xef)](debug,_0x32c959(0xe6)+_0x74e870[_0x32c959(0xd0)]());}}};
|