browserstack-node-sdk 1.33.5 → 1.33.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39_0x44d233=a39_0x171f;(function(_0x3df4df,_0x4c7088){const _0x4dc7ab=a39_0x171f,_0x392f26=_0x3df4df();while(!![]){try{const _0xf9ca93=-parseInt(_0x4dc7ab(0x241))/0x1*(parseInt(_0x4dc7ab(0x1dc))/0x2)+parseInt(_0x4dc7ab(0x21a))/0x3+parseInt(_0x4dc7ab(0x248))/0x4*(parseInt(_0x4dc7ab(0x1d5))/0x5)+parseInt(_0x4dc7ab(0x208))/0x6*(parseInt(_0x4dc7ab(0x227))/0x7)+-parseInt(_0x4dc7ab(0x1de))/0x8+parseInt(_0x4dc7ab(0x212))/0x9+-parseInt(_0x4dc7ab(0x234))/0xa;if(_0xf9ca93===_0x4c7088)break;else _0x392f26['push'](_0x392f26['shift']());}catch(_0x30c29e){_0x392f26['push'](_0x392f26['shift']());}}}(a39_0x2f6c,0x9c6a2));const RequestQueueHandler=require(a39_0x44d233(0x1ed)),{calculatePerformance,getTagsFromTitle,getFailureData}=require('./pwUtils'),{v4:uuidv4}=require(a39_0x44d233(0x26d)),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a39_0x44d233(0x240)),{getGitMetaData,setLogLevel}=require(a39_0x44d233(0x27a)),TestDetails=require(a39_0x44d233(0x273)),fs=require('fs'),util=require(a39_0x44d233(0x29e)),{o11yClassErrorHandler}=require(a39_0x44d233(0x266)),PerformanceTester=require('../../../helpers/performance-tester'),{FRAMEWORKS}=require(a39_0x44d233(0x1e3)),SessionHandler=require(a39_0x44d233(0x1df)),{appendTesthubParams}=require(a39_0x44d233(0x26a)),TestHubHandler=require(a39_0x44d233(0x296));function a39_0x2f6c(){const _0x5de73=['JjuIr','sendSessionDetails','failure','message','../../../helpers/test-observability/requestQueueHandler','_testHooksMap','IoyKf','JGzqY','path','backtrace','stack','title','result','pending','NqrEn','getTestIdentifier','SHPrL','expanded','toString','getTestUUID','JrWjr','TEMGu','SIlbF','irDVg','rzwHU','sendHookRunEvent','MWnDk','startMonitoring','status','hook_run','qacZm','6417282VGUNqs','indexOf','object','PLAYWRIGHT','START_TIME','HGNjH','BROWSERSTACK_LOG_LEVEL','sendTestRunEvent','EChiz','logs','5330853bNrXQy','uCMXO','hook','vCteX','ujTFH','onTestEnd','ScyKH','vVfRp','1690770coIkJl','getHookType','splice','configureGit','steps','base64','EBGwh','errors','expectedStatus','haSIG','test_run_uuid','onStepBegin','endSession','7jMHJSB','szHxC','err','fZYQz','logLevel','needToReportStep','filter','length','javascript','ErfpX','_tests','\x20for\x20','lNKVE','8074890peUPqb','KgVCC','divuX','oPcAD','ArKJI','performance-report-reporter.json','PfPdN','QxxGw','category','file','getHierarchy','startedAt','../../../helpers/test-observability/utils','457904uDgrtl','AJrND','CNGWd','cwd','shutdown','finishedAt','xrfLk','1082332aSPyIy','toISOString','attachments','\x20is\x20triggered','feBmz','duration','push','PJEGG','setStepIdentifier','mgBKg','beforeEach\x20hook','hooks','hook_run_uuid','ECqML','rUYdL','onTestBegin','test_run','EqSUs','hIyNB','4|5|0|2|6|3|1','CWInH','VtXMC','uploadEventData','BEFORE_EACH','wFAhB','AFTER_ALL','getStepsAndLogs','dLuoS','split','failure_reason','../../../helpers/test-observability/error-handler','pqRAV','relative','getTestRunIdentifier','../../../helpers/testhub/utils','Sending\x20session\x20details\x20for\x20','error','uuid','reportLogs','FecWP','RSTnX','ztIkP','ccCwN','./test-details','\x20is\x20triggered\x20for\x20test\x20','LFaMV','\x20-\x20','afterEach\x20hook','VnxFo','zpgxk','../../../helpers/helper','yVCus','uQxlj','iCmBT','reverse','getStepIdentifier','AGbuZ','TEST_STEP','CBTSessionCreated','OGrwv','getScope','UfByv','meta','_gitConfigured','passed','gGmVF','startsWith','TestRunFinished','PmVEP','beforeAll\x20hook','vkGzy','BEFORE_ALL','getInstance','onStepEnd','root','env','Test\x20Started\x20with\x20unique\x20id\x20','IesVK','../../../helpers/testhub/testhubHandler','KtRPC','HookRunFinished','krdRr','Hook\x20Started\x20with\x20unique\x20id\x20','titlePath','event_type','skipped','util','BROWSERSTACK_O11Y_PERF_MEASUREMENT','dDMNJ','readFileSync','VWpDf','kStjC','_gitConfigPath','screenshot','qbcxI','BtcZA','onBegin','TDxHY','10kBMoBe','name','location','setup','OVMvr','startTime','fIJme','4DxBSke','retry','3221192BsqUbz','../../../helpers/test-observability/sessionHandler','dpqRG','MAmzP','UpKik','../../../helpers/test-observability/constants','zUXij','gIRfH','HookRunStarted','parent','failed'];a39_0x2f6c=function(){return _0x5de73;};return a39_0x2f6c();}function a39_0x171f(_0xb2d810,_0x364e68){const _0x2f6c16=a39_0x2f6c();return a39_0x171f=function(_0x171f4a,_0x9b2432){_0x171f4a=_0x171f4a-0x1ce;let _0x2ed733=_0x2f6c16[_0x171f4a];return _0x2ed733;},a39_0x171f(_0xb2d810,_0x364e68);}class MyReporter{constructor(_0xe36751){const _0x43693f=a39_0x44d233,_0x5301b5={'KoQvA':_0x43693f(0x25b),'zpgxk':function(_0x31aa5c,_0x2095de,_0x27ca98,_0x3ad0c5){return _0x31aa5c(_0x2095de,_0x27ca98,_0x3ad0c5);},'Inabp':_0x43693f(0x239)},_0x2b6169=_0x5301b5['KoQvA'][_0x43693f(0x264)]('|');let _0x2a1074=0x0;while(!![]){switch(_0x2b6169[_0x2a1074++]){case'0':this[_0x43693f(0x231)]={};continue;case'1':this[_0x43693f(0x1cf)]=null;continue;case'2':this[_0x43693f(0x1ee)]={};continue;case'3':this[_0x43693f(0x287)]=![];continue;case'4':const _0x4d1dcd={};_0x4d1dcd[_0x43693f(0x22b)]=process[_0x43693f(0x293)][_0x43693f(0x20e)],_0x5301b5[_0x43693f(0x279)](setLogLevel,_0x4d1dcd,new Map(),new Map());continue;case'5':process[_0x43693f(0x293)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x43693f(0x204)](_0x5301b5['Inabp']),process[_0x43693f(0x293)][_0x43693f(0x20c)]=new Date()[_0x43693f(0x249)]());continue;case'6':this['options']=_0xe36751;continue;}break;}}async[a39_0x44d233(0x1d3)](){const _0x3d60ad=a39_0x44d233;TestDetails[_0x3d60ad(0x1d8)](),await this['configureGit']();}async[a39_0x44d233(0x257)](_0xcd6fc,_0x34a2f8){const _0x4e2e4a=a39_0x44d233,_0x4cd5f6={'wFAhB':function(_0x2b430a,_0x6c1ceb){return _0x2b430a(_0x6c1ceb);},'WKZip':'TestRunStarted'},_0x119cb7=this[_0x4e2e4a(0x1f8)](_0xcd6fc);this[_0x4e2e4a(0x231)][_0x119cb7]={'uuid':TestDetails[_0x4e2e4a(0x1fc)](this['getTestRunIdentifier'](_0xcd6fc,_0x34a2f8[_0x4e2e4a(0x1dd)])),'startedAt':_0x34a2f8[_0x4e2e4a(0x1da)]},_0x4cd5f6[_0x4e2e4a(0x260)](trace,_0x4e2e4a(0x294)+_0x119cb7),await this[_0x4e2e4a(0x20f)](_0xcd6fc,_0x4cd5f6['WKZip'],_0x34a2f8);}async[a39_0x44d233(0x225)](_0x1e2d9,_0x40bf29,_0x54eec9){const _0x13f326=a39_0x44d233,_0x584ffd={'irDVg':function(_0x314837,_0x5309bf){return _0x314837(_0x5309bf);},'KtRPC':_0x13f326(0x1e6)};if(!this[_0x13f326(0x22c)](_0x54eec9,_0x1e2d9))return;const _0x109087=this[_0x13f326(0x250)](_0x1e2d9,_0x54eec9);this[_0x13f326(0x231)][_0x109087]={'uuid':TestDetails[_0x13f326(0x1fc)](_0x109087),'startedAt':_0x54eec9[_0x13f326(0x1da)][_0x13f326(0x249)]()};const _0x3f72da=this[_0x13f326(0x269)](_0x1e2d9,_0x40bf29[_0x13f326(0x1dd)]);!this[_0x13f326(0x1ee)][_0x3f72da]&&(this[_0x13f326(0x1ee)][_0x3f72da]=[]),this[_0x13f326(0x1ee)][_0x3f72da][_0x13f326(0x24e)](this[_0x13f326(0x231)][_0x109087]['uuid']),_0x584ffd[_0x13f326(0x200)](trace,_0x13f326(0x29a)+_0x109087+_0x13f326(0x274)+_0x3f72da),await this[_0x13f326(0x202)](_0x1e2d9,_0x54eec9,_0x584ffd[_0x13f326(0x297)],_0x40bf29);}async[a39_0x44d233(0x291)](_0x52552e,_0x512dde,_0x3977b2){const _0x230641=a39_0x44d233,_0xc0e6c9={'krdRr':function(_0x353f31,_0x1dcba1){return _0x353f31+_0x1dcba1;},'vkGzy':function(_0x18a3cf,_0x16edf8){return _0x18a3cf(_0x16edf8);},'KASON':_0x230641(0x298)};if(!this[_0x230641(0x22c)](_0x3977b2,_0x52552e))return;const _0x8c8741=this['getStepIdentifier'](_0x52552e,_0x3977b2);this['_tests'][_0x8c8741]={...this[_0x230641(0x231)][_0x8c8741]||{},'finishedAt':new Date(_0xc0e6c9[_0x230641(0x299)](_0x3977b2[_0x230641(0x1da)]['getTime'](),_0x3977b2[_0x230641(0x24d)]))},_0xc0e6c9[_0x230641(0x28e)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x8c8741+_0x230641(0x24b)),await this[_0x230641(0x202)](_0x52552e,_0x3977b2,_0xc0e6c9['KASON'],_0x512dde);}async['onTestEnd'](_0x2974d1,_0x19cb62){const _0x206891=a39_0x44d233,_0x2c8a59={'UNgnD':function(_0x382e3e,_0x524200){return _0x382e3e===_0x524200;},'ztIkP':_0x206891(0x1d0),'CWInH':'TEST_SCREENSHOT','feBmz':_0x206891(0x21f),'rUYdL':function(_0x257d55,_0x3ded02){return _0x257d55(_0x3ded02);},'JrWjr':_0x206891(0x28b),'ujTFH':function(_0x58e8f5,_0x40e228){return _0x58e8f5>_0x40e228;}},_0x44f623=this[_0x206891(0x1f8)](_0x2974d1),_0x3516b9=TestDetails[_0x206891(0x1fc)](this[_0x206891(0x269)](_0x2974d1,_0x19cb62[_0x206891(0x1dd)]));this[_0x206891(0x231)][_0x44f623]={...this[_0x206891(0x231)][_0x44f623]||{},'finishedAt':new Date()['toISOString']()},_0x2c8a59[_0x206891(0x256)](trace,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x44f623),await this['sendTestRunEvent'](_0x2974d1,_0x2c8a59[_0x206891(0x1fd)],_0x19cb62);const _0x2e95f7=[];_0x19cb62[_0x206891(0x24a)]&&_0x19cb62['attachments']['map'](_0x274150=>{const _0xa4c375=_0x206891;if(_0x2c8a59['UNgnD'](_0x274150[_0xa4c375(0x1d6)],_0x2c8a59[_0xa4c375(0x271)])){if(!fs['existsSync'](_0x274150[_0xa4c375(0x1f1)]))return;_0x2e95f7['push']({'test_run_uuid':_0x3516b9,'timestamp':fs['statSync'](_0x274150[_0xa4c375(0x1f1)])['mtime'],'kind':_0x2c8a59[_0xa4c375(0x25c)],'message':fs[_0xa4c375(0x2a1)](_0x274150['path'],{'encoding':_0x2c8a59[_0xa4c375(0x24c)]})});}}),_0x2c8a59[_0x206891(0x216)](_0x2e95f7['length'],0x0)&&await MyReporter[_0x206891(0x26e)](_0x2e95f7);}async['endSession'](){const _0x53dec1=a39_0x44d233;await RequestQueueHandler[_0x53dec1(0x290)]()[_0x53dec1(0x245)](),TestDetails[_0x53dec1(0x245)]();}async['onEnd'](_0x4bb360){const _0x4c7e16=a39_0x44d233,_0x39c480={'JjuIr':function(_0x2d4519){return _0x2d4519();},'VnxFo':function(_0x3422aa,_0x40e236){return _0x3422aa(_0x40e236);}};await this['endSession'](),_0x39c480[_0x4c7e16(0x1e9)](printBuildLink);try{process[_0x4c7e16(0x293)][_0x4c7e16(0x29f)]&&await _0x39c480[_0x4c7e16(0x1e9)](calculatePerformance);}catch(_0xcafe9f){_0x39c480[_0x4c7e16(0x278)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0xcafe9f[_0x4c7e16(0x1fb)]());}}static async['addTestUIDAndReportLog'](_0x63372c,_0x32f13f){const _0x2dc3a0=a39_0x44d233;_0x32f13f[_0x2dc3a0(0x224)]=TestDetails[_0x2dc3a0(0x1fc)](_0x63372c),await this[_0x2dc3a0(0x26e)]([_0x32f13f]);}static async[a39_0x44d233(0x26e)](_0x5104ab){const _0x566450=a39_0x44d233,_0x245f8b={};_0x245f8b[_0x566450(0x223)]='LogCreated';const _0x483137=_0x245f8b,_0x5aa1b3={};_0x5aa1b3[_0x566450(0x29c)]=_0x483137['haSIG'],_0x5aa1b3[_0x566450(0x211)]=_0x5104ab,await SessionHandler['uploadEventData'](_0x5aa1b3);}async[a39_0x44d233(0x202)](_0x471c12,_0x438414,_0x10cd4a,_0x2fbe49){const _0x45d78c=a39_0x44d233,_0x1c1200={'NqrEn':_0x45d78c(0x214),'Srjyw':_0x45d78c(0x22f),'KGvDC':_0x45d78c(0x1f6),'kUcQz':function(_0x1bde84,_0x1dd95a){return _0x1bde84>=_0x1dd95a;},'FecWP':function(_0x2b8932,_0x504f47){return _0x2b8932===_0x504f47;},'EqSUs':_0x45d78c(0x298),'fIJme':function(_0x421b7c,_0x27c07f){return _0x421b7c>_0x27c07f;},'ZbToF':_0x45d78c(0x1e8),'rzwHU':function(_0x3f824e,_0x4aa22b){return _0x3f824e(_0x4aa22b);},'TEMGu':function(_0x25bd80,_0x50bd45){return _0x25bd80(_0x50bd45);},'dDMNJ':function(_0x2b1e45,_0x49bb57,_0x41a4ec){return _0x2b1e45(_0x49bb57,_0x41a4ec);},'OVMvr':_0x45d78c(0x229),'lAEUU':function(_0x67e4ee,_0x3fb959){return _0x67e4ee===_0x3fb959;},'szHxC':_0x45d78c(0x288)},_0x47360a=this[_0x45d78c(0x27f)](_0x471c12,_0x438414),_0x39fea3=this[_0x45d78c(0x231)][_0x47360a],_0x424090={'uuid':_0x39fea3[_0x45d78c(0x26d)],'type':_0x1c1200[_0x45d78c(0x1f7)],'hook_type':this['getHookType'](_0x438414[_0x45d78c(0x1f4)]),'name':_0x438414[_0x45d78c(0x1f4)],'scope':this[_0x45d78c(0x284)](_0x438414),'scopes':this[_0x45d78c(0x23e)](_0x471c12),'body':{'lang':_0x1c1200['Srjyw'],'code':null},'identifier':_0x47360a,'file_name':path['relative'](process[_0x45d78c(0x244)](),_0x471c12[_0x45d78c(0x1d7)][_0x45d78c(0x23d)]),'location':path['relative'](process[_0x45d78c(0x244)](),_0x471c12[_0x45d78c(0x1d7)]['file']),'result':_0x1c1200['KGvDC'],'duration_in_ms':_0x1c1200['kUcQz'](_0x438414[_0x45d78c(0x24d)],0x0)?_0x438414[_0x45d78c(0x24d)]:undefined,'vc_filepath':this[_0x45d78c(0x1cf)]&&_0x471c12[_0x45d78c(0x1d7)][_0x45d78c(0x23d)]?path[_0x45d78c(0x268)](this['_gitConfigPath'],_0x471c12[_0x45d78c(0x1d7)][_0x45d78c(0x23d)]):undefined,'started_at':_0x39fea3['startedAt'],'finished_at':_0x39fea3[_0x45d78c(0x246)],'framework':FRAMEWORKS[_0x45d78c(0x20b)]};if(_0x1c1200[_0x45d78c(0x26f)](_0x10cd4a,_0x1c1200[_0x45d78c(0x259)])){const {steps:_0x257a9a,logs:_0x2a1ede}=this['getStepsAndLogs'](_0x438414[_0x45d78c(0x21e)],_0x39fea3[_0x45d78c(0x26d)],_0x1c1200[_0x45d78c(0x1f7)]);_0x2a1ede&&_0x1c1200[_0x45d78c(0x1db)](_0x2a1ede[_0x45d78c(0x22e)],0x0)&&await MyReporter['reportLogs'](_0x2a1ede);const _0x2dca95={};_0x2dca95['steps']=_0x257a9a,_0x424090[_0x45d78c(0x286)]=_0x2dca95;if(_0x438414[_0x45d78c(0x26c)]){_0x424090['result']=_0x1c1200['ZbToF'],_0x424090[_0x45d78c(0x265)]=_0x1c1200[_0x45d78c(0x201)](removeAnsiColors,_0x438414['error'][_0x45d78c(0x1ec)]),_0x424090['failure_type']=_0x1c1200[_0x45d78c(0x1fe)](getFailureType,_0x438414['error'][_0x45d78c(0x1ec)]);const _0x467183=_0x1c1200[_0x45d78c(0x2a0)](failureData,_0x438414[_0x45d78c(0x26c)],_0x1c1200[_0x45d78c(0x1d9)]);if(_0x467183&&_0x1c1200['lAEUU'](_0x467183[_0x45d78c(0x22e)],0x0)){const _0xf773a7={};_0xf773a7[_0x45d78c(0x1f2)]=[_0x424090[_0x45d78c(0x265)]],_0xf773a7[_0x45d78c(0x1fa)]=[],_0x467183['push'](_0xf773a7);}_0x424090[_0x45d78c(0x1eb)]=_0x467183;}else _0x424090[_0x45d78c(0x1f5)]=_0x1c1200[_0x45d78c(0x228)];}const _0x2ba1b7={};_0x2ba1b7[_0x45d78c(0x29c)]=_0x10cd4a,_0x2ba1b7[_0x45d78c(0x206)]=_0x424090;const _0x18582f=_0x2ba1b7;await SessionHandler[_0x45d78c(0x25e)](_0x18582f);}[a39_0x44d233(0x262)](_0x31b9d6,_0x54da33,_0xdadfd4){const _0x3e24b9=a39_0x44d233,_0x45659e={'CNGWd':function(_0x18b0e8,_0x33b76c){return _0x18b0e8===_0x33b76c;},'vCteX':_0x3e24b9(0x214),'IoyKf':'After\x20Hooks','iCmBT':'Before\x20Hooks','gGmVF':function(_0x2a5e8e,_0x2594e2){return _0x2a5e8e===_0x2594e2;},'ErfpX':function(_0x175f82,_0x90c6d1){return _0x175f82===_0x90c6d1;},'dpqRG':'test','PgxdE':_0x3e24b9(0x224),'BtoUg':_0x3e24b9(0x254),'oDsmO':_0x3e24b9(0x281),'wzqZa':_0x3e24b9(0x1e8),'EChiz':_0x3e24b9(0x288),'oPcAD':function(_0x533915,_0x492460){return _0x533915(_0x492460);},'PJEGG':function(_0x25ccbe){return _0x25ccbe();},'FfXXJ':function(_0x306b82,_0x5cda9d){return _0x306b82(_0x5cda9d);},'SIlbF':function(_0x165235,_0x4b7d8e,_0x398216){return _0x165235(_0x4b7d8e,_0x398216);}},_0x2e255a=[],_0x281154=[],_0x379f53=_0x31b9d6[_0x3e24b9(0x22d)](_0x372513=>{const _0x6f3876=_0x3e24b9;if(_0x45659e['CNGWd'](_0x372513[_0x6f3876(0x23c)],_0x45659e[_0x6f3876(0x215)])&&(_0x45659e[_0x6f3876(0x243)](_0x372513[_0x6f3876(0x1f4)],_0x45659e[_0x6f3876(0x1ef)])||_0x45659e['CNGWd'](_0x372513[_0x6f3876(0x1f4)],_0x45659e[_0x6f3876(0x27d)])))return![];return!![];}),_0x22bd99=(_0x67502a,_0x1cabfb=![])=>{const _0xab1f36=_0x3e24b9;if(_0x45659e[_0xab1f36(0x289)](_0x67502a[_0xab1f36(0x21e)][_0xab1f36(0x22e)],0x0)){const _0x139b07=_0x45659e[_0xab1f36(0x230)](_0xdadfd4,_0x45659e[_0xab1f36(0x1e0)])?_0x45659e['PgxdE']:_0x45659e['BtoUg'];_0x281154['push']({'kind':_0x45659e['oDsmO'],[_0x139b07]:_0x54da33,'message':_0x67502a[_0xab1f36(0x1f4)],'timestamp':_0x67502a[_0xab1f36(0x1da)][_0xab1f36(0x249)](),'level':_0x67502a['error']?_0x45659e['wzqZa']:_0x45659e[_0xab1f36(0x210)],'duration':_0x67502a['duration'],'failure':_0x67502a[_0xab1f36(0x26c)]&&_0x67502a['error'][_0xab1f36(0x1ec)]&&_0x45659e[_0xab1f36(0x237)](removeAnsiColors,_0x67502a['error'][_0xab1f36(0x1ec)]),'failure_type':_0x45659e[_0xab1f36(0x237)](getFailureType,_0x67502a[_0xab1f36(0x26c)]&&_0x67502a[_0xab1f36(0x26c)][_0xab1f36(0x1ec)])});}else{!_0x1cabfb&&_0x2e255a['push']({'id':_0x45659e[_0xab1f36(0x24f)](uuidv4),'text':_0x67502a[_0xab1f36(0x1f4)],'keyword':undefined,'started_at':_0x67502a[_0xab1f36(0x1da)][_0xab1f36(0x249)](),'duration':_0x67502a['duration'],'result':_0x67502a[_0xab1f36(0x26c)]?_0x45659e['wzqZa']:_0x45659e[_0xab1f36(0x210)],'failure':_0x67502a['error']&&_0x67502a[_0xab1f36(0x26c)]['message']&&_0x45659e[_0xab1f36(0x237)](removeAnsiColors,_0x67502a['error'][_0xab1f36(0x1ec)]),'failure_type':_0x45659e['FfXXJ'](getFailureType,_0x67502a[_0xab1f36(0x26c)]&&_0x67502a[_0xab1f36(0x26c)][_0xab1f36(0x1ec)])});for(const _0x47888c of _0x67502a[_0xab1f36(0x21e)]){_0x45659e[_0xab1f36(0x1ff)](_0x22bd99,_0x47888c,!![]);}}};for(const _0x22711a of _0x379f53){_0x45659e[_0x3e24b9(0x1ff)](_0x22bd99,_0x22711a,![]);}const _0x233bd8={};return _0x233bd8[_0x3e24b9(0x21e)]=_0x2e255a,_0x233bd8[_0x3e24b9(0x211)]=_0x281154,_0x233bd8;}async[a39_0x44d233(0x20f)](_0x231edb,_0x301bb3,_0x1ed9b4){const _0xbec740=a39_0x44d233,_0x32823d={'cRBXP':'test','fEBdM':'javascript','jehxj':'pending','IesVK':function(_0x4216a0,_0x57fa32){return _0x4216a0(_0x57fa32);},'yFeHd':function(_0x135918,_0x583acb,_0x1b29e7,_0x1d5062,_0x4789a0){return _0x135918(_0x583acb,_0x1b29e7,_0x1d5062,_0x4789a0);},'MAmzP':function(_0x2a31e0,_0x2fa899){return _0x2a31e0>_0x2fa899;},'ECqML':function(_0x194428,_0x3cafeb){return _0x194428-_0x3cafeb;},'VWpDf':function(_0x4f21fb,_0x1b4e1c){return _0x4f21fb===_0x1b4e1c;},'TDxHY':_0xbec740(0x28b),'yVCus':function(_0x313f94,_0x3662ed){return _0x313f94===_0x3662ed;},'zUXij':function(_0x4be71c,_0x3e009f){return _0x4be71c===_0x3e009f;},'fZYQz':_0xbec740(0x29d),'PmVEP':_0xbec740(0x288),'EBGwh':function(_0x57dfcf,_0x47fa05){return _0x57dfcf===_0x47fa05;},'LFaMV':_0xbec740(0x1e8),'dLuoS':function(_0x25c029,_0x3f4a67){return _0x25c029===_0x3f4a67;},'ScyKH':'timedOut','vAfYf':function(_0x2c9374,_0x2fc2e2){return _0x2c9374===_0x2fc2e2;},'KgVCC':'Expected\x20to\x20fail,\x20but\x20passed.','SHPrL':function(_0x488598,_0x37a578){return _0x488598(_0x37a578);},'OGrwv':function(_0x2e6909,_0x2ed1c3,_0x4c5259){return _0x2e6909(_0x2ed1c3,_0x4c5259);},'gIRfH':function(_0x53901a,_0x42e036){return _0x53901a===_0x42e036;},'divuX':function(_0x3e5969,_0x26c25a){return _0x3e5969>_0x26c25a;}},_0xf8a7d1=this[_0xbec740(0x1f8)](_0x231edb),_0x52b43a=this['getScope'](_0x231edb),_0x3f7d7c=this[_0xbec740(0x231)][_0xf8a7d1],_0x32a4c9=path['relative'](process[_0xbec740(0x244)](),_0x231edb[_0xbec740(0x1d7)][_0xbec740(0x23d)]);await this[_0xbec740(0x21d)]();const _0x444d06={'uuid':_0x3f7d7c['uuid'],'type':_0x32823d['cRBXP'],'name':_0x231edb[_0xbec740(0x1f4)],'body':{'lang':_0x32823d['fEBdM'],'code':_0x231edb['fn'][_0xbec740(0x1fb)]()},'scope':_0x52b43a,'scopes':this['getHierarchy'](_0x231edb),'identifier':_0xf8a7d1,'file_name':_0x32a4c9,'location':_0x32a4c9,'result':_0x32823d['jehxj'],'duration_in_ms':_0x1ed9b4&&_0x1ed9b4[_0xbec740(0x24d)]?_0x1ed9b4[_0xbec740(0x24d)]:null,'vc_filepath':this['_gitConfigPath']&&_0x231edb[_0xbec740(0x1d7)][_0xbec740(0x23d)]?path[_0xbec740(0x268)](this[_0xbec740(0x1cf)],_0x231edb[_0xbec740(0x1d7)][_0xbec740(0x23d)]):undefined,'started_at':_0x3f7d7c[_0xbec740(0x23f)],'finished_at':_0x3f7d7c[_0xbec740(0x246)],'framework':FRAMEWORKS[_0xbec740(0x20b)],'customRerunParam':{'rerun_name':_0x231edb[_0xbec740(0x29b)]()['join']('\x20')},'tags':_0x32823d[_0xbec740(0x295)](getTagsFromTitle,_0x231edb['title'])};_0x32823d['yFeHd'](appendTesthubParams,_0x444d06,_0x301bb3,_0x231edb,FRAMEWORKS[_0xbec740(0x20b)]);_0x1ed9b4&&_0x32823d[_0xbec740(0x1e1)](_0x1ed9b4['retry'],0x0)&&(_0x444d06['retry_of']=TestDetails['getTestUUID'](this['getTestRunIdentifier'](_0x231edb,_0x32823d[_0xbec740(0x255)](_0x1ed9b4['retry'],0x1))));if(_0x32823d[_0xbec740(0x2a2)](_0x301bb3,_0x32823d[_0xbec740(0x1d4)])){_0x444d06[_0xbec740(0x1f5)]=_0x1ed9b4[_0xbec740(0x205)];if(_0x32823d[_0xbec740(0x27b)](_0x1ed9b4['status'],_0x231edb[_0xbec740(0x222)]))_0x444d06[_0xbec740(0x1f5)]=_0x32823d['zUXij'](_0x1ed9b4[_0xbec740(0x205)],_0x32823d[_0xbec740(0x22a)])?_0x32823d[_0xbec740(0x22a)]:_0x32823d[_0xbec740(0x28c)];else{(_0x32823d[_0xbec740(0x1e4)](_0x444d06['result'],_0x32823d['PmVEP'])||_0x32823d[_0xbec740(0x220)](_0x444d06[_0xbec740(0x1f5)],_0x32823d['LFaMV'])||_0x32823d[_0xbec740(0x263)](_0x444d06[_0xbec740(0x1f5)],_0x32823d[_0xbec740(0x218)]))&&(_0x444d06[_0xbec740(0x1f5)]=_0x32823d[_0xbec740(0x275)]);if(_0x32823d['EBGwh'](_0x1ed9b4['status'],_0x32823d[_0xbec740(0x28c)])&&_0x32823d['vAfYf'](_0x231edb['expectedStatus'],_0x32823d[_0xbec740(0x275)])){const _0x2bc6a1={};_0x2bc6a1[_0xbec740(0x1ec)]=_0x32823d[_0xbec740(0x235)],_0x2bc6a1[_0xbec740(0x1f3)]=_0x32823d[_0xbec740(0x235)],_0x1ed9b4[_0xbec740(0x26c)]=_0x2bc6a1,_0x1ed9b4[_0xbec740(0x221)]=[_0x1ed9b4[_0xbec740(0x26c)]];}}const _0x1f2d5c=this[_0xbec740(0x269)](_0x231edb,_0x1ed9b4[_0xbec740(0x1dd)]);_0x444d06[_0xbec740(0x253)]=this[_0xbec740(0x1ee)][_0x1f2d5c];const {steps:_0x6218d4,logs:_0x36e422}=this['getStepsAndLogs'](_0x1ed9b4[_0xbec740(0x21e)],_0x3f7d7c[_0xbec740(0x26d)],_0x32823d['cRBXP']);await MyReporter[_0xbec740(0x26e)](_0x36e422);const _0x47974b={};_0x47974b[_0xbec740(0x21e)]=_0x6218d4,_0x444d06[_0xbec740(0x286)]=_0x47974b;if(_0x1ed9b4[_0xbec740(0x26c)]){_0x444d06[_0xbec740(0x265)]=_0x32823d[_0xbec740(0x1f9)](removeAnsiColors,_0x1ed9b4['error'][_0xbec740(0x1ec)]),_0x444d06['failure_type']=_0x32823d[_0xbec740(0x1f9)](getFailureType,_0x1ed9b4['error'][_0xbec740(0x1ec)]);const _0x1cc2e3={};_0x1cc2e3[_0xbec740(0x224)]=_0x3f7d7c[_0xbec740(0x26d)];const {failureData:_0x4afb83,logs:_0x585b83}=_0x32823d[_0xbec740(0x283)](getFailureData,_0x1ed9b4['errors'],_0x1cc2e3);if(_0x4afb83&&_0x32823d[_0xbec740(0x1e5)](_0x4afb83['length'],0x0)){const _0x4e9fa1={};_0x4e9fa1[_0xbec740(0x1f2)]=[_0x444d06[_0xbec740(0x265)]],_0x4e9fa1[_0xbec740(0x1fa)]=[],_0x4afb83[_0xbec740(0x24e)](_0x4e9fa1);}_0x444d06[_0xbec740(0x1eb)]=_0x4afb83,_0x585b83&&_0x32823d[_0xbec740(0x236)](_0x585b83['length'],0x0)&&await MyReporter['reportLogs'](_0x585b83);}}const _0x36ade3={};_0x36ade3['event_type']=_0x301bb3,_0x36ade3[_0xbec740(0x258)]=_0x444d06;const _0x2e354f=_0x36ade3;await SessionHandler[_0xbec740(0x25e)](_0x2e354f);}static async[a39_0x44d233(0x1ea)](_0x388fe3,_0x32d0a5){const _0x47f691=a39_0x44d233,_0x716f40={'UfByv':function(_0x23ca4c,_0x57a7ae){return _0x23ca4c(_0x57a7ae);},'MWnDk':_0x47f691(0x282)},_0x49f3ab={'uuid':TestDetails[_0x47f691(0x1fc)](_0x388fe3),'integrations':_0x32d0a5},_0x24ce7c={};_0x24ce7c['depth']=null,_0x716f40[_0x47f691(0x285)](debug,_0x47f691(0x26b)+_0x388fe3+',\x20'+util['inspect'](_0x32d0a5,_0x24ce7c));const _0x45fdd0={};_0x45fdd0[_0x47f691(0x29c)]=_0x716f40[_0x47f691(0x203)],_0x45fdd0[_0x47f691(0x258)]=_0x49f3ab,await SessionHandler[_0x47f691(0x25e)](_0x45fdd0);}async[a39_0x44d233(0x21d)](){const _0x1a2365=a39_0x44d233,_0x5a2a18={'xrfLk':function(_0x235aa5){return _0x235aa5();}};if(this[_0x1a2365(0x287)])return;const _0x413f7f=await _0x5a2a18[_0x1a2365(0x247)](getGitMetaData);_0x413f7f&&(this[_0x1a2365(0x1cf)]=_0x413f7f[_0x1a2365(0x292)]),this[_0x1a2365(0x287)]=!![];}[a39_0x44d233(0x23e)](_0x2483c0){const _0x57a5fd=a39_0x44d233,_0x4c5057={};_0x4c5057[_0x57a5fd(0x25d)]=function(_0x353d69,_0x4d07eb){return _0x353d69!==_0x4d07eb;};const _0x444102=_0x4c5057,_0x3f924e=[];if(_0x2483c0&&_0x2483c0[_0x57a5fd(0x1e7)]){let _0x121362=_0x2483c0[_0x57a5fd(0x1e7)];while(_0x121362&&_0x444102['VtXMC'](_0x121362['title'],'')){_0x3f924e[_0x57a5fd(0x24e)](_0x121362[_0x57a5fd(0x1f4)]),_0x121362=_0x121362[_0x57a5fd(0x1e7)];}}return _0x3f924e[_0x57a5fd(0x27e)]()[_0x57a5fd(0x21c)](0x0,0x2),_0x3f924e;}[a39_0x44d233(0x22c)](_0x224bcc){const _0x1ce0eb=a39_0x44d233,_0x230505={};_0x230505['JGzqY']=function(_0x3bf137,_0x33c97e){return _0x3bf137!==_0x33c97e;},_0x230505[_0x1ce0eb(0x267)]='hook',_0x230505['ccCwN']=function(_0xf6e0d9,_0x1af1c8){return _0xf6e0d9===_0x1af1c8;},_0x230505[_0x1ce0eb(0x23b)]=_0x1ce0eb(0x252),_0x230505['KlFEF']=_0x1ce0eb(0x28d),_0x230505[_0x1ce0eb(0x207)]='afterAll\x20hook',_0x230505[_0x1ce0eb(0x1e2)]=_0x1ce0eb(0x277);const _0x19d277=_0x230505;if(_0x19d277[_0x1ce0eb(0x1f0)](_0x224bcc[_0x1ce0eb(0x23c)],_0x19d277[_0x1ce0eb(0x267)]))return![];if(_0x19d277[_0x1ce0eb(0x272)]([_0x19d277[_0x1ce0eb(0x23b)],_0x19d277['KlFEF'],_0x19d277['qacZm'],_0x19d277['UpKik']][_0x1ce0eb(0x209)](_0x224bcc[_0x1ce0eb(0x1f4)]),-0x1))return![];return!![];}[a39_0x44d233(0x27f)](_0x4cac4b,_0x1959f5){const _0x599a87=a39_0x44d233,_0x2e20ab=_0x1959f5['_bs_hookIdentifier'];if(_0x2e20ab)return _0x2e20ab;return _0x1959f5[_0x599a87(0x1f4)]+_0x599a87(0x232)+this[_0x599a87(0x1f8)](_0x4cac4b);}[a39_0x44d233(0x250)](_0x3748f3,_0x3462a8){const _0x50cce8=a39_0x44d233,_0x59a05b={'ArKJI':function(_0x5d0217){return _0x5d0217();}};let _0x56553b=_0x3462a8[_0x50cce8(0x1f4)]+_0x50cce8(0x232)+this[_0x50cce8(0x1f8)](_0x3748f3);return this[_0x50cce8(0x231)][_0x56553b]&&(_0x56553b=_0x56553b+_0x50cce8(0x276)+_0x59a05b[_0x50cce8(0x238)](uuidv4)),_0x3462a8['_bs_hookIdentifier']=_0x56553b,_0x56553b;}[a39_0x44d233(0x1f8)]=_0x15d584=>{const _0x21124b=a39_0x44d233,_0x43628d={};_0x43628d['PfPdN']=function(_0x2a3fca,_0x5a665f){return _0x2a3fca+_0x5a665f;},_0x43628d[_0x21124b(0x1d1)]=function(_0x2f3cb4,_0x24f178){return _0x2f3cb4+_0x24f178;};const _0x10098f=_0x43628d;return _0x10098f[_0x21124b(0x23a)](_0x10098f[_0x21124b(0x1d1)](_0x15d584['_projectId'],'-'),_0x15d584['id']);};[a39_0x44d233(0x269)]=(_0x8871b9,_0x4ba3f7)=>{const _0xf57028=a39_0x44d233,_0xdb5dbe={};_0xdb5dbe[_0xf57028(0x270)]=function(_0x1d0f24,_0x5c2770){return _0x1d0f24+_0x5c2770;},_0xdb5dbe['AJrND']=function(_0x3238d2,_0xb1a006){return _0x3238d2+_0xb1a006;};const _0x37bb62=_0xdb5dbe;return _0x37bb62[_0xf57028(0x270)](_0x37bb62[_0xf57028(0x242)](this[_0xf57028(0x1f8)](_0x8871b9),'-'),_0x4ba3f7);};[a39_0x44d233(0x21b)]=_0x1c1631=>{const _0x5da815=a39_0x44d233,_0x25740a={};_0x25740a[_0x5da815(0x251)]='beforeEach\x20hook',_0x25740a[_0x5da815(0x25a)]=_0x5da815(0x25f),_0x25740a['kzbXg']=_0x5da815(0x28d),_0x25740a[_0x5da815(0x20d)]=_0x5da815(0x28f),_0x25740a['lNKVE']=_0x5da815(0x277),_0x25740a[_0x5da815(0x213)]='AFTER_EACH',_0x25740a[_0x5da815(0x1d2)]='afterAll\x20hook',_0x25740a[_0x5da815(0x1ce)]=_0x5da815(0x261),_0x25740a[_0x5da815(0x219)]='unknown';const _0x8e83aa=_0x25740a;if(_0x1c1631['startsWith'](_0x8e83aa[_0x5da815(0x251)]))return _0x8e83aa[_0x5da815(0x25a)];else{if(_0x1c1631[_0x5da815(0x28a)](_0x8e83aa['kzbXg']))return _0x8e83aa[_0x5da815(0x20d)];else{if(_0x1c1631[_0x5da815(0x28a)](_0x8e83aa[_0x5da815(0x233)]))return _0x8e83aa['uCMXO'];else{if(_0x1c1631[_0x5da815(0x28a)](_0x8e83aa['BtcZA']))return _0x8e83aa[_0x5da815(0x1ce)];}}}return _0x8e83aa[_0x5da815(0x219)];};[a39_0x44d233(0x284)]=_0x5d17cd=>{const _0xa5a40c=a39_0x44d233,_0x155b0c={};_0x155b0c[_0xa5a40c(0x280)]=function(_0x3962e5,_0x400d1a){return _0x3962e5===_0x400d1a;},_0x155b0c[_0xa5a40c(0x27c)]=_0xa5a40c(0x20a);const _0x537c16=_0x155b0c;let _0x41a0c7=_0x5d17cd[_0xa5a40c(0x1e7)];return _0x537c16['AGbuZ'](typeof _0x5d17cd['parent'],_0x537c16['uQxlj'])&&(_0x41a0c7=_0x41a0c7[_0xa5a40c(0x1f4)]),_0x41a0c7+_0xa5a40c(0x276)+_0x5d17cd['title'];};['printsToStdio'](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a39_0x44d233(0x1d3),a39_0x44d233(0x226),a39_0x44d233(0x257),a39_0x44d233(0x217),'onStepBegin','onStepEnd','sendSessionDetails'],'MyReporter');
|
|
1
|
+
const a39_0x3b17b6=a39_0x11fd;function a39_0x11fd(_0x5ca555,_0x4241be){const _0x556f50=a39_0x556f();return a39_0x11fd=function(_0x11fd07,_0x865587){_0x11fd07=_0x11fd07-0x85;let _0x18bcc8=_0x556f50[_0x11fd07];return _0x18bcc8;},a39_0x11fd(_0x5ca555,_0x4241be);}(function(_0x2c050a,_0x2c3fe0){const _0x565f10=a39_0x11fd,_0xe3bb8c=_0x2c050a();while(!![]){try{const _0x3e4fdf=parseInt(_0x565f10(0xc7))/0x1+-parseInt(_0x565f10(0xdc))/0x2*(-parseInt(_0x565f10(0x135))/0x3)+parseInt(_0x565f10(0xfc))/0x4+parseInt(_0x565f10(0x127))/0x5*(-parseInt(_0x565f10(0x16a))/0x6)+parseInt(_0x565f10(0xfb))/0x7+-parseInt(_0x565f10(0x161))/0x8*(parseInt(_0x565f10(0xa9))/0x9)+-parseInt(_0x565f10(0xad))/0xa*(-parseInt(_0x565f10(0x140))/0xb);if(_0x3e4fdf===_0x2c3fe0)break;else _0xe3bb8c['push'](_0xe3bb8c['shift']());}catch(_0x1b57a6){_0xe3bb8c['push'](_0xe3bb8c['shift']());}}}(a39_0x556f,0xd5f86));const RequestQueueHandler=require(a39_0x3b17b6(0xe7)),{calculatePerformance,getTagsFromTitle,getFailureData}=require('./pwUtils'),{v4:uuidv4}=require('uuid'),path=require(a39_0x3b17b6(0x14f)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a39_0x3b17b6(0x160)),{getGitMetaData,setLogLevel}=require(a39_0x3b17b6(0x13c)),TestDetails=require(a39_0x3b17b6(0x162)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require(a39_0x3b17b6(0x128)),{FRAMEWORKS}=require(a39_0x3b17b6(0xf6)),SessionHandler=require(a39_0x3b17b6(0xf7)),{appendTesthubParams}=require(a39_0x3b17b6(0x158)),TestHubHandler=require('../../../helpers/testhub/testhubHandler');function a39_0x556f(){const _0x517e6a=['filter','IORmc','PLqoS','startedAt','setup','172080keKeIh','env','_gitConfigPath','readFileSync','mrGks','getHookType','kswwO','pNFgh','MzVRg','rrGyI','needToReportStep','Test\x20Finished\x20with\x20unique\x20id\x20','getTestIdentifier','getScope','zddSn','uploadEventData','PLAYWRIGHT','setStepIdentifier','rlzWe','shutdown','cwd','204674stMJqx','retry','sendTestRunEvent','getTestUUID','passed','err','VMIjn','performance-report-reporter.json','BzrPR','beforeEach\x20hook','WgfND','../../../helpers/test-observability/requestQueueHandler','toString','_projectId','WzEac','TiALF','HVJWJ','getStepIdentifier','screenshot','existsSync','FXDiE','yWWLM','onTestBegin','inspect','Sending\x20session\x20details\x20for\x20','onStepBegin','../../../helpers/test-observability/constants','../../../helpers/test-observability/sessionHandler','WrNNV','parent','uqQIW','347711ObfHrJ','1394348nwBNSY','dbTtk','FiWER','zndPx','_bs_hookIdentifier','duration','failed','Error\x20in\x20calculating\x20performance:\x20','printsToStdio','OQqjU','skipped','zTLiF','JTIpE','getTime','izYIi','length','getHierarchy','OICYx','javascript','timedOut','_testHooksMap','After\x20Hooks','statSync','RiSuB','MyReporter','fGScE','DhsSB','reverse','name','DtDLd','REYdx','oMDjX','push','onBegin','yflDr','sendHookRunEvent','message','steps','spwjd','split','CgrSM','eeYhG','Hzuwv','5TngBxE','../../../helpers/performance-tester','pIYIa','hzhgg','mtime','configureGit','_gitConfigured','endSession','result','options','AmQhk','sendSessionDetails','root','azCYb','51OujkRx','failure','Ugpew','backtrace','RRqET','AcgyW','exports','../../../helpers/helper','stack','test_run_uuid','BROWSERSTACK_O11Y_PERF_MEASUREMENT','11qZWHNQ','BeTlx','WPWEv','YDcaf','SiOqC','error','test_run','getStepsAndLogs','afterAll\x20hook','hook_run_uuid','attachments','Hook\x20Finished\x20with\x20unique\x20id\x20','UnJNe','ewAbl','startsWith','path','uuid','Test\x20Started\x20with\x20unique\x20id\x20','Expected\x20to\x20fail,\x20but\x20passed.','XwqfU','failure_type','logs','pending','uGCkP','../../../helpers/testhub/utils','Before\x20Hooks','beforeAll\x20hook','splice','reportLogs','HRTHD','onTestEnd','retry_of','../../../helpers/test-observability/utils','328ExUWVR','./test-details','OIZmX','CBTSessionCreated','indexOf','startMonitoring','OdSJU','qlnNw','failure_reason','5324538LawLWG','EKnUN','TEST_SCREENSHOT','oXyRv','status','title','sWXZt','OGMZs','getInstance','IDVCC','getTestRunIdentifier','kAvOh','AupcV','TuYqx','CFSmj','Mzwto','kHbJb','object','event_type','\x20is\x20triggered','_tests','HookRunStarted','pDSeJ','SbETl','ChDJz','location','afterEach\x20hook','bNDYx','BEFORE_ALL','test','Hook\x20Started\x20with\x20unique\x20id\x20','meta','LogCreated','onStepEnd','AFTER_ALL','TestRunStarted','expanded','expectedStatus','lTnJz','toISOString','229545pLvDMM','depth','axqEw','opVge','4994810ZYBLSP','wbARM','SOiEU','ZLrMn','errors','logLevel','hook','\x20-\x20','\x20for\x20','KwYYj','relative','TestRunFinished','file','addTestUIDAndReportLog','titlePath','CCqql','category','LRgwF','finishedAt','BEalq','HookRunFinished'];a39_0x556f=function(){return _0x517e6a;};return a39_0x556f();}class MyReporter{constructor(_0x2b1b09){const _0x285f3e=a39_0x3b17b6,_0x4d1885={'RvTVT':'1|4|2|0|5|3|6','uGCkP':function(_0x3568cc,_0x4c1d77,_0x353354,_0x391262){return _0x3568cc(_0x4c1d77,_0x353354,_0x391262);},'geswd':_0x285f3e(0xe3)},_0x35a642=_0x4d1885['RvTVT'][_0x285f3e(0x123)]('|');let _0x2f42ee=0x0;while(!![]){switch(_0x35a642[_0x2f42ee++]){case'0':this['_testHooksMap']={};continue;case'1':const _0x5181fe={};_0x5181fe[_0x285f3e(0xb2)]=process[_0x285f3e(0xc8)]['BROWSERSTACK_LOG_LEVEL'],_0x4d1885[_0x285f3e(0x157)](setLogLevel,_0x5181fe,new Map(),new Map());continue;case'2':this[_0x285f3e(0x95)]={};continue;case'3':this[_0x285f3e(0x12d)]=![];continue;case'4':process['env'][_0x285f3e(0x13f)]&&(PerformanceTester[_0x285f3e(0x166)](_0x4d1885['geswd']),process[_0x285f3e(0xc8)]['START_TIME']=new Date()[_0x285f3e(0xa8)]());continue;case'5':this[_0x285f3e(0x130)]=_0x2b1b09;continue;case'6':this[_0x285f3e(0xc9)]=null;continue;}break;}}async['onBegin'](){const _0x56bb2e=a39_0x3b17b6;TestDetails[_0x56bb2e(0xc6)](),await this['configureGit']();}async[a39_0x3b17b6(0xf2)](_0x4aa852,_0x146655){const _0x546621=a39_0x3b17b6,_0x47f8ed={'UnJNe':function(_0x561885,_0x5bc7af){return _0x561885(_0x5bc7af);},'Hzuwv':_0x546621(0xa4)},_0x2c142a=this[_0x546621(0xd3)](_0x4aa852);this[_0x546621(0x95)][_0x2c142a]={'uuid':TestDetails[_0x546621(0xdf)](this[_0x546621(0x8b)](_0x4aa852,_0x146655['retry'])),'startedAt':_0x146655['startTime']},_0x47f8ed[_0x546621(0x14c)](trace,_0x546621(0x151)+_0x2c142a),await this['sendTestRunEvent'](_0x4aa852,_0x47f8ed[_0x546621(0x126)],_0x146655);}async[a39_0x3b17b6(0xf5)](_0x334dbc,_0x23a4b5,_0x2f9b83){const _0x4caa58=a39_0x3b17b6,_0x3f090a={'YDcaf':function(_0x24b2e8,_0x311f27){return _0x24b2e8(_0x311f27);},'HVJWJ':_0x4caa58(0x96)};if(!this['needToReportStep'](_0x2f9b83,_0x334dbc))return;const _0x4b5e15=this[_0x4caa58(0xd8)](_0x334dbc,_0x2f9b83);this[_0x4caa58(0x95)][_0x4b5e15]={'uuid':TestDetails['getTestUUID'](_0x4b5e15),'startedAt':_0x2f9b83['startTime']['toISOString']()};const _0x4c8d5a=this[_0x4caa58(0x8b)](_0x334dbc,_0x23a4b5['retry']);!this[_0x4caa58(0x110)][_0x4c8d5a]&&(this[_0x4caa58(0x110)][_0x4c8d5a]=[]),this[_0x4caa58(0x110)][_0x4c8d5a][_0x4caa58(0x11c)](this['_tests'][_0x4b5e15]['uuid']),_0x3f090a[_0x4caa58(0x143)](trace,_0x4caa58(0x9f)+_0x4b5e15+'\x20is\x20triggered\x20for\x20test\x20'+_0x4c8d5a),await this['sendHookRunEvent'](_0x334dbc,_0x2f9b83,_0x3f090a[_0x4caa58(0xec)],_0x23a4b5);}async[a39_0x3b17b6(0xa2)](_0x2e0825,_0x4ca0d3,_0x920eaf){const _0x4dc115=a39_0x3b17b6,_0xc3bb2f={'sWXZt':function(_0x25dc20,_0x49f834){return _0x25dc20+_0x49f834;},'FXDiE':function(_0x43fbe9,_0x4addd7){return _0x43fbe9(_0x4addd7);},'OQqjU':_0x4dc115(0xc1)};if(!this[_0x4dc115(0xd1)](_0x920eaf,_0x2e0825))return;const _0x4100ce=this[_0x4dc115(0xed)](_0x2e0825,_0x920eaf);this['_tests'][_0x4100ce]={...this[_0x4dc115(0x95)][_0x4100ce]||{},'finishedAt':new Date(_0xc3bb2f[_0x4dc115(0x87)](_0x920eaf['startTime'][_0x4dc115(0x109)](),_0x920eaf['duration']))},_0xc3bb2f[_0x4dc115(0xf0)](trace,_0x4dc115(0x14b)+_0x4100ce+_0x4dc115(0x94)),await this[_0x4dc115(0x11f)](_0x2e0825,_0x920eaf,_0xc3bb2f[_0x4dc115(0x105)],_0x4ca0d3);}async[a39_0x3b17b6(0x15e)](_0x3bb495,_0x2a1906){const _0xcd68f5=a39_0x3b17b6,_0x2bcdef={'KwYYj':function(_0x58b257,_0x2e6549){return _0x58b257===_0x2e6549;},'EKnUN':_0xcd68f5(0xee),'oMDjX':_0xcd68f5(0x16c),'QjOpv':'base64','yPkiC':function(_0x23cc10,_0x4a0189){return _0x23cc10(_0x4a0189);},'VMIjn':_0xcd68f5(0xb8),'tRTNq':function(_0x23d38f,_0x26cb45){return _0x23d38f>_0x26cb45;}},_0x169797=this['getTestIdentifier'](_0x3bb495),_0x343eca=TestDetails[_0xcd68f5(0xdf)](this[_0xcd68f5(0x8b)](_0x3bb495,_0x2a1906['retry']));this['_tests'][_0x169797]={...this[_0xcd68f5(0x95)][_0x169797]||{},'finishedAt':new Date()[_0xcd68f5(0xa8)]()},_0x2bcdef['yPkiC'](trace,_0xcd68f5(0xd2)+_0x169797),await this[_0xcd68f5(0xde)](_0x3bb495,_0x2bcdef[_0xcd68f5(0xe2)],_0x2a1906);const _0x2ae084=[];_0x2a1906[_0xcd68f5(0x14a)]&&_0x2a1906['attachments']['map'](_0x2e731f=>{const _0x37ed27=_0xcd68f5;if(_0x2bcdef[_0x37ed27(0xb6)](_0x2e731f[_0x37ed27(0x118)],_0x2bcdef[_0x37ed27(0x16b)])){if(!fs[_0x37ed27(0xef)](_0x2e731f[_0x37ed27(0x14f)]))return;_0x2ae084[_0x37ed27(0x11c)]({'test_run_uuid':_0x343eca,'timestamp':fs[_0x37ed27(0x112)](_0x2e731f[_0x37ed27(0x14f)])[_0x37ed27(0x12b)],'kind':_0x2bcdef[_0x37ed27(0x11b)],'message':fs[_0x37ed27(0xca)](_0x2e731f[_0x37ed27(0x14f)],{'encoding':_0x2bcdef['QjOpv']})});}}),_0x2bcdef['tRTNq'](_0x2ae084[_0xcd68f5(0x10b)],0x0)&&await MyReporter[_0xcd68f5(0x15c)](_0x2ae084);}async[a39_0x3b17b6(0x12e)](){const _0x51eced=a39_0x3b17b6;await RequestQueueHandler[_0x51eced(0x89)]()[_0x51eced(0xda)](),TestDetails[_0x51eced(0xda)]();}async['onEnd'](_0x5044d4){const _0x37fffa=a39_0x3b17b6,_0x377b25={'FiWER':function(_0x26c189){return _0x26c189();},'CFSmj':function(_0x21a2aa,_0x35b499){return _0x21a2aa(_0x35b499);}};await this[_0x37fffa(0x12e)](),_0x377b25[_0x37fffa(0xfe)](printBuildLink);try{process[_0x37fffa(0xc8)][_0x37fffa(0x13f)]&&await _0x377b25[_0x37fffa(0xfe)](calculatePerformance);}catch(_0x5d4a6f){_0x377b25[_0x37fffa(0x8f)](debug,_0x37fffa(0x103)+_0x5d4a6f[_0x37fffa(0xe8)]());}}static async[a39_0x3b17b6(0xba)](_0x1dc307,_0xd8c0ec){const _0x5994de=a39_0x3b17b6;_0xd8c0ec[_0x5994de(0x13e)]=TestDetails[_0x5994de(0xdf)](_0x1dc307),await this['reportLogs']([_0xd8c0ec]);}static async[a39_0x3b17b6(0x15c)](_0x597456){const _0x379cbe=a39_0x3b17b6,_0x5d171c={};_0x5d171c[_0x379cbe(0x11a)]=_0x379cbe(0xa1);const _0x34becf=_0x5d171c,_0x572695={};_0x572695[_0x379cbe(0x93)]=_0x34becf[_0x379cbe(0x11a)],_0x572695[_0x379cbe(0x155)]=_0x597456,await SessionHandler[_0x379cbe(0xd6)](_0x572695);}async['sendHookRunEvent'](_0x5c283d,_0x2f025f,_0x41f60b,_0x1b49f8){const _0x5cc52c=a39_0x3b17b6,_0x216f42={'QhTwL':_0x5cc52c(0xb3),'kMbpm':_0x5cc52c(0x10e),'spwjd':_0x5cc52c(0x156),'mrGks':function(_0x4d5774,_0x5bbbb2){return _0x4d5774>=_0x5bbbb2;},'RiSuB':function(_0x16cf29,_0x30a189){return _0x16cf29===_0x30a189;},'SiOqC':_0x5cc52c(0xc1),'OMbcb':function(_0x115a94,_0x5abcc7){return _0x115a94>_0x5abcc7;},'OICYx':_0x5cc52c(0x102),'fGScE':function(_0x29bd6e,_0x2773ba){return _0x29bd6e(_0x2773ba);},'zddSn':function(_0x403ea5,_0x1fd77f){return _0x403ea5(_0x1fd77f);},'OGMZs':function(_0x5a31ab,_0x5e7711,_0x2c1dc8){return _0x5a31ab(_0x5e7711,_0x2c1dc8);},'wbARM':_0x5cc52c(0xe1),'kHbJb':_0x5cc52c(0xe0)},_0x2e6d31=this[_0x5cc52c(0xed)](_0x5c283d,_0x2f025f),_0x307e54=this[_0x5cc52c(0x95)][_0x2e6d31],_0x570108={'uuid':_0x307e54[_0x5cc52c(0x150)],'type':_0x216f42['QhTwL'],'hook_type':this['getHookType'](_0x2f025f[_0x5cc52c(0x86)]),'name':_0x2f025f['title'],'scope':this[_0x5cc52c(0xd4)](_0x2f025f),'scopes':this[_0x5cc52c(0x10c)](_0x5c283d),'body':{'lang':_0x216f42['kMbpm'],'code':null},'identifier':_0x2e6d31,'file_name':path[_0x5cc52c(0xb7)](process[_0x5cc52c(0xdb)](),_0x5c283d[_0x5cc52c(0x9a)][_0x5cc52c(0xb9)]),'location':path[_0x5cc52c(0xb7)](process[_0x5cc52c(0xdb)](),_0x5c283d[_0x5cc52c(0x9a)][_0x5cc52c(0xb9)]),'result':_0x216f42[_0x5cc52c(0x122)],'duration_in_ms':_0x216f42[_0x5cc52c(0xcb)](_0x2f025f['duration'],0x0)?_0x2f025f['duration']:undefined,'vc_filepath':this[_0x5cc52c(0xc9)]&&_0x5c283d[_0x5cc52c(0x9a)][_0x5cc52c(0xb9)]?path[_0x5cc52c(0xb7)](this[_0x5cc52c(0xc9)],_0x5c283d[_0x5cc52c(0x9a)]['file']):undefined,'started_at':_0x307e54['startedAt'],'finished_at':_0x307e54[_0x5cc52c(0xbf)],'framework':FRAMEWORKS[_0x5cc52c(0xd7)]};if(_0x216f42[_0x5cc52c(0x113)](_0x41f60b,_0x216f42[_0x5cc52c(0x144)])){const {steps:_0x1b1640,logs:_0x22409b}=this[_0x5cc52c(0x147)](_0x2f025f[_0x5cc52c(0x121)],_0x307e54[_0x5cc52c(0x150)],_0x216f42['QhTwL']);_0x22409b&&_0x216f42['OMbcb'](_0x22409b[_0x5cc52c(0x10b)],0x0)&&await MyReporter['reportLogs'](_0x22409b);const _0x2b0cb0={};_0x2b0cb0[_0x5cc52c(0x121)]=_0x1b1640,_0x570108[_0x5cc52c(0xa0)]=_0x2b0cb0;if(_0x2f025f['error']){_0x570108[_0x5cc52c(0x12f)]=_0x216f42[_0x5cc52c(0x10d)],_0x570108[_0x5cc52c(0x169)]=_0x216f42[_0x5cc52c(0x115)](removeAnsiColors,_0x2f025f[_0x5cc52c(0x145)]['message']),_0x570108['failure_type']=_0x216f42[_0x5cc52c(0xd5)](getFailureType,_0x2f025f[_0x5cc52c(0x145)][_0x5cc52c(0x120)]);const _0x3203d9=_0x216f42[_0x5cc52c(0x88)](failureData,_0x2f025f[_0x5cc52c(0x145)],_0x216f42[_0x5cc52c(0xae)]);if(_0x3203d9&&_0x216f42[_0x5cc52c(0x113)](_0x3203d9[_0x5cc52c(0x10b)],0x0)){const _0x19a1b5={};_0x19a1b5[_0x5cc52c(0x138)]=[_0x570108[_0x5cc52c(0x169)]],_0x19a1b5[_0x5cc52c(0xa5)]=[],_0x3203d9[_0x5cc52c(0x11c)](_0x19a1b5);}_0x570108[_0x5cc52c(0x136)]=_0x3203d9;}else _0x570108[_0x5cc52c(0x12f)]=_0x216f42[_0x5cc52c(0x91)];}const _0x269b85={};_0x269b85[_0x5cc52c(0x93)]=_0x41f60b,_0x269b85['hook_run']=_0x570108;const _0x9f0de2=_0x269b85;await SessionHandler['uploadEventData'](_0x9f0de2);}[a39_0x3b17b6(0x147)](_0x11652b,_0x227f09,_0x300186){const _0x5d7d0b=a39_0x3b17b6,_0x129cd5={'BeTlx':function(_0x27edf4,_0x29d25f){return _0x27edf4===_0x29d25f;},'WrNNV':_0x5d7d0b(0xb3),'LRgwF':function(_0xcd051a,_0x15bf75){return _0xcd051a===_0x15bf75;},'Ugpew':_0x5d7d0b(0x111),'wESPj':_0x5d7d0b(0x159),'izYIi':function(_0x3d2d3e,_0x535f26){return _0x3d2d3e===_0x535f26;},'kswwO':_0x5d7d0b(0x9e),'yflDr':_0x5d7d0b(0x13e),'XwqfU':_0x5d7d0b(0x149),'qlnNw':'TEST_STEP','pIYIa':_0x5d7d0b(0x102),'pDSeJ':_0x5d7d0b(0xe0),'CgrSM':function(_0x5e7c2b,_0x1736ad){return _0x5e7c2b(_0x1736ad);},'zndPx':function(_0x4ad641,_0x115cb9){return _0x4ad641(_0x115cb9);},'opVge':function(_0x350274){return _0x350274();},'OdSJU':function(_0x339c9b,_0x50e02b,_0x21781e){return _0x339c9b(_0x50e02b,_0x21781e);},'IORmc':function(_0x496606,_0x3cd384,_0x37d6ac){return _0x496606(_0x3cd384,_0x37d6ac);}},_0x3f6cb1=[],_0x8e7d6e=[],_0x19fcd6=_0x11652b[_0x5d7d0b(0xc2)](_0x216f4b=>{const _0x2b5672=_0x5d7d0b;if(_0x129cd5[_0x2b5672(0x141)](_0x216f4b[_0x2b5672(0xbd)],_0x129cd5[_0x2b5672(0xf8)])&&(_0x129cd5[_0x2b5672(0xbe)](_0x216f4b[_0x2b5672(0x86)],_0x129cd5[_0x2b5672(0x137)])||_0x129cd5[_0x2b5672(0x141)](_0x216f4b['title'],_0x129cd5['wESPj'])))return![];return!![];}),_0x1b1a99=(_0x89d98f,_0x1549ba=![])=>{const _0x47617d=_0x5d7d0b;if(_0x129cd5[_0x47617d(0xbe)](_0x89d98f[_0x47617d(0x121)][_0x47617d(0x10b)],0x0)){const _0x4fa7e1=_0x129cd5[_0x47617d(0x10a)](_0x300186,_0x129cd5[_0x47617d(0xcd)])?_0x129cd5[_0x47617d(0x11e)]:_0x129cd5[_0x47617d(0x153)];_0x8e7d6e[_0x47617d(0x11c)]({'kind':_0x129cd5[_0x47617d(0x168)],[_0x4fa7e1]:_0x227f09,'message':_0x89d98f[_0x47617d(0x86)],'timestamp':_0x89d98f['startTime']['toISOString'](),'level':_0x89d98f['error']?_0x129cd5[_0x47617d(0x129)]:_0x129cd5[_0x47617d(0x97)],'duration':_0x89d98f[_0x47617d(0x101)],'failure':_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)]&&_0x129cd5[_0x47617d(0x124)](removeAnsiColors,_0x89d98f[_0x47617d(0x145)]['message']),'failure_type':_0x129cd5[_0x47617d(0xff)](getFailureType,_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)])});}else{!_0x1549ba&&_0x3f6cb1['push']({'id':_0x129cd5[_0x47617d(0xac)](uuidv4),'text':_0x89d98f['title'],'keyword':undefined,'started_at':_0x89d98f['startTime']['toISOString'](),'duration':_0x89d98f[_0x47617d(0x101)],'result':_0x89d98f[_0x47617d(0x145)]?_0x129cd5[_0x47617d(0x129)]:_0x129cd5[_0x47617d(0x97)],'failure':_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)]&&_0x129cd5[_0x47617d(0xff)](removeAnsiColors,_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)]),'failure_type':_0x129cd5[_0x47617d(0x124)](getFailureType,_0x89d98f[_0x47617d(0x145)]&&_0x89d98f[_0x47617d(0x145)][_0x47617d(0x120)])});for(const _0x402e86 of _0x89d98f[_0x47617d(0x121)]){_0x129cd5[_0x47617d(0x167)](_0x1b1a99,_0x402e86,!![]);}}};for(const _0x4aa7a7 of _0x19fcd6){_0x129cd5[_0x5d7d0b(0xc3)](_0x1b1a99,_0x4aa7a7,![]);}const _0x2a69d7={};return _0x2a69d7[_0x5d7d0b(0x121)]=_0x3f6cb1,_0x2a69d7[_0x5d7d0b(0x155)]=_0x8e7d6e,_0x2a69d7;}async[a39_0x3b17b6(0xde)](_0x573b29,_0x267ad9,_0x4af3c0){const _0x3d31ce=a39_0x3b17b6,_0x14084c={'ChDJz':_0x3d31ce(0x9e),'lTnJz':_0x3d31ce(0x10e),'PLqoS':'pending','BzrPR':function(_0xa93e42,_0x5b26da){return _0xa93e42(_0x5b26da);},'WzEac':function(_0x1513f3,_0x396a51,_0xd1d7c9,_0x2be7b9,_0x55b5cc){return _0x1513f3(_0x396a51,_0xd1d7c9,_0x2be7b9,_0x55b5cc);},'WgfND':function(_0x27db3c,_0x4e1b83){return _0x27db3c>_0x4e1b83;},'AcgyW':function(_0x4c838c,_0x23c4ad){return _0x4c838c-_0x23c4ad;},'rlzWe':function(_0x345bee,_0x1a6c07){return _0x345bee===_0x1a6c07;},'WPWEv':_0x3d31ce(0xb8),'ewAbl':_0x3d31ce(0x106),'axqEw':'passed','eeYhG':function(_0x179f33,_0x2031f7){return _0x179f33===_0x2031f7;},'Mzwto':'failed','lMKYs':function(_0x80bff1,_0x5e9228){return _0x80bff1===_0x5e9228;},'rrGyI':_0x3d31ce(0x10f),'RddKe':function(_0x2d2041,_0x49842c){return _0x2d2041===_0x49842c;},'AmQhk':_0x3d31ce(0x152),'TuYqx':function(_0x4b37ee,_0x517d92){return _0x4b37ee(_0x517d92);},'yWWLM':function(_0x21a95b,_0x37b68d,_0x4df5d6){return _0x21a95b(_0x37b68d,_0x4df5d6);},'gkXBt':function(_0x193313,_0x3dba2a){return _0x193313===_0x3dba2a;}},_0x4f03a2=this[_0x3d31ce(0xd3)](_0x573b29),_0x43c7a3=this[_0x3d31ce(0xd4)](_0x573b29),_0x26366a=this[_0x3d31ce(0x95)][_0x4f03a2],_0x1e98b9=path[_0x3d31ce(0xb7)](process['cwd'](),_0x573b29['location']['file']);await this[_0x3d31ce(0x12c)]();const _0x3e379f={'uuid':_0x26366a[_0x3d31ce(0x150)],'type':_0x14084c[_0x3d31ce(0x99)],'name':_0x573b29[_0x3d31ce(0x86)],'body':{'lang':_0x14084c[_0x3d31ce(0xa7)],'code':_0x573b29['fn'][_0x3d31ce(0xe8)]()},'scope':_0x43c7a3,'scopes':this['getHierarchy'](_0x573b29),'identifier':_0x4f03a2,'file_name':_0x1e98b9,'location':_0x1e98b9,'result':_0x14084c[_0x3d31ce(0xc4)],'duration_in_ms':_0x4af3c0&&_0x4af3c0['duration']?_0x4af3c0['duration']:null,'vc_filepath':this[_0x3d31ce(0xc9)]&&_0x573b29[_0x3d31ce(0x9a)][_0x3d31ce(0xb9)]?path['relative'](this[_0x3d31ce(0xc9)],_0x573b29['location'][_0x3d31ce(0xb9)]):undefined,'started_at':_0x26366a[_0x3d31ce(0xc5)],'finished_at':_0x26366a[_0x3d31ce(0xbf)],'framework':FRAMEWORKS['PLAYWRIGHT'],'customRerunParam':{'rerun_name':_0x573b29[_0x3d31ce(0xbb)]()['join']('\x20')},'tags':_0x14084c[_0x3d31ce(0xe4)](getTagsFromTitle,_0x573b29[_0x3d31ce(0x86)])};_0x14084c[_0x3d31ce(0xea)](appendTesthubParams,_0x3e379f,_0x267ad9,_0x573b29,FRAMEWORKS[_0x3d31ce(0xd7)]);_0x4af3c0&&_0x14084c[_0x3d31ce(0xe6)](_0x4af3c0['retry'],0x0)&&(_0x3e379f[_0x3d31ce(0x15f)]=TestDetails[_0x3d31ce(0xdf)](this['getTestRunIdentifier'](_0x573b29,_0x14084c[_0x3d31ce(0x13a)](_0x4af3c0[_0x3d31ce(0xdd)],0x1))));if(_0x14084c[_0x3d31ce(0xd9)](_0x267ad9,_0x14084c[_0x3d31ce(0x142)])){_0x3e379f[_0x3d31ce(0x12f)]=_0x4af3c0[_0x3d31ce(0x85)];if(_0x14084c['rlzWe'](_0x4af3c0['status'],_0x573b29[_0x3d31ce(0xa6)]))_0x3e379f[_0x3d31ce(0x12f)]=_0x14084c[_0x3d31ce(0xd9)](_0x4af3c0[_0x3d31ce(0x85)],_0x14084c[_0x3d31ce(0x14d)])?_0x14084c['ewAbl']:_0x14084c[_0x3d31ce(0xab)];else{(_0x14084c[_0x3d31ce(0xd9)](_0x3e379f[_0x3d31ce(0x12f)],_0x14084c[_0x3d31ce(0xab)])||_0x14084c['eeYhG'](_0x3e379f[_0x3d31ce(0x12f)],_0x14084c[_0x3d31ce(0x90)])||_0x14084c['lMKYs'](_0x3e379f[_0x3d31ce(0x12f)],_0x14084c[_0x3d31ce(0xd0)]))&&(_0x3e379f[_0x3d31ce(0x12f)]=_0x14084c[_0x3d31ce(0x90)]);if(_0x14084c[_0x3d31ce(0x125)](_0x4af3c0['status'],_0x14084c[_0x3d31ce(0xab)])&&_0x14084c['RddKe'](_0x573b29['expectedStatus'],_0x14084c[_0x3d31ce(0x90)])){const _0x2cf1fd={};_0x2cf1fd[_0x3d31ce(0x120)]=_0x14084c[_0x3d31ce(0x131)],_0x2cf1fd[_0x3d31ce(0x13d)]=_0x14084c['AmQhk'],_0x4af3c0[_0x3d31ce(0x145)]=_0x2cf1fd,_0x4af3c0['errors']=[_0x4af3c0['error']];}}const _0x8ada84=this[_0x3d31ce(0x8b)](_0x573b29,_0x4af3c0[_0x3d31ce(0xdd)]);_0x3e379f['hooks']=this[_0x3d31ce(0x110)][_0x8ada84];const {steps:_0x4e8190,logs:_0x1ac8a1}=this[_0x3d31ce(0x147)](_0x4af3c0[_0x3d31ce(0x121)],_0x26366a[_0x3d31ce(0x150)],_0x14084c[_0x3d31ce(0x99)]);await MyReporter['reportLogs'](_0x1ac8a1);const _0x55bb94={};_0x55bb94['steps']=_0x4e8190,_0x3e379f[_0x3d31ce(0xa0)]=_0x55bb94;if(_0x4af3c0[_0x3d31ce(0x145)]){_0x3e379f[_0x3d31ce(0x169)]=_0x14084c[_0x3d31ce(0x8e)](removeAnsiColors,_0x4af3c0[_0x3d31ce(0x145)][_0x3d31ce(0x120)]),_0x3e379f[_0x3d31ce(0x154)]=_0x14084c['BzrPR'](getFailureType,_0x4af3c0[_0x3d31ce(0x145)]['message']);const _0x4c7b5d={};_0x4c7b5d['test_run_uuid']=_0x26366a[_0x3d31ce(0x150)];const {failureData:_0x1529cd,logs:_0x4ae5cb}=_0x14084c[_0x3d31ce(0xf1)](getFailureData,_0x4af3c0[_0x3d31ce(0xb1)],_0x4c7b5d);if(_0x1529cd&&_0x14084c['gkXBt'](_0x1529cd[_0x3d31ce(0x10b)],0x0)){const _0x414a13={};_0x414a13[_0x3d31ce(0x138)]=[_0x3e379f['failure_reason']],_0x414a13[_0x3d31ce(0xa5)]=[],_0x1529cd[_0x3d31ce(0x11c)](_0x414a13);}_0x3e379f[_0x3d31ce(0x136)]=_0x1529cd,_0x4ae5cb&&_0x14084c['WgfND'](_0x4ae5cb[_0x3d31ce(0x10b)],0x0)&&await MyReporter['reportLogs'](_0x4ae5cb);}}const _0x32e7e6={};_0x32e7e6[_0x3d31ce(0x93)]=_0x267ad9,_0x32e7e6[_0x3d31ce(0x146)]=_0x3e379f;const _0x26451a=_0x32e7e6;await SessionHandler['uploadEventData'](_0x26451a);}static async[a39_0x3b17b6(0x132)](_0x3e62dc,_0x3402be){const _0x4b7356=a39_0x3b17b6,_0x43e351={'OIZmX':function(_0x4cc85c,_0x4295d3){return _0x4cc85c(_0x4295d3);},'MzVRg':_0x4b7356(0x164)},_0x38c9d8={'uuid':TestDetails[_0x4b7356(0xdf)](_0x3e62dc),'integrations':_0x3402be},_0x2a2370={};_0x2a2370[_0x4b7356(0xaa)]=null,_0x43e351[_0x4b7356(0x163)](debug,_0x4b7356(0xf4)+_0x3e62dc+',\x20'+util[_0x4b7356(0xf3)](_0x3402be,_0x2a2370));const _0x5b406a={};_0x5b406a[_0x4b7356(0x93)]=_0x43e351[_0x4b7356(0xcf)],_0x5b406a[_0x4b7356(0x146)]=_0x38c9d8,await SessionHandler['uploadEventData'](_0x5b406a);}async['configureGit'](){const _0x1855ce=a39_0x3b17b6,_0x41c167={'pNFgh':function(_0x4e8dac){return _0x4e8dac();}};if(this['_gitConfigured'])return;const _0x26bea5=await _0x41c167[_0x1855ce(0xce)](getGitMetaData);_0x26bea5&&(this[_0x1855ce(0xc9)]=_0x26bea5[_0x1855ce(0x133)]),this[_0x1855ce(0x12d)]=!![];}[a39_0x3b17b6(0x10c)](_0x9d7ac8){const _0x39e422=a39_0x3b17b6,_0xade6fe={};_0xade6fe[_0x39e422(0x8c)]=function(_0x2dd744,_0x4777f3){return _0x2dd744!==_0x4777f3;};const _0x19d6b3=_0xade6fe,_0x4fc232=[];if(_0x9d7ac8&&_0x9d7ac8['parent']){let _0xa90dbc=_0x9d7ac8[_0x39e422(0xf9)];while(_0xa90dbc&&_0x19d6b3[_0x39e422(0x8c)](_0xa90dbc[_0x39e422(0x86)],'')){_0x4fc232[_0x39e422(0x11c)](_0xa90dbc[_0x39e422(0x86)]),_0xa90dbc=_0xa90dbc[_0x39e422(0xf9)];}}return _0x4fc232[_0x39e422(0x117)]()[_0x39e422(0x15b)](0x0,0x2),_0x4fc232;}[a39_0x3b17b6(0xd1)](_0x5b9b72){const _0x20eac1=a39_0x3b17b6,_0x566a8f={};_0x566a8f[_0x20eac1(0x8d)]=function(_0xec9d78,_0x8ad091){return _0xec9d78!==_0x8ad091;},_0x566a8f[_0x20eac1(0x98)]=_0x20eac1(0xb3),_0x566a8f['TiALF']=function(_0xf1fd61,_0x3f4777){return _0xf1fd61===_0x3f4777;},_0x566a8f['RRqET']=_0x20eac1(0xe5),_0x566a8f[_0x20eac1(0x107)]=_0x20eac1(0x15a),_0x566a8f[_0x20eac1(0x108)]=_0x20eac1(0x148),_0x566a8f['IDVCC']='afterEach\x20hook';const _0x511d1f=_0x566a8f;if(_0x511d1f[_0x20eac1(0x8d)](_0x5b9b72[_0x20eac1(0xbd)],_0x511d1f[_0x20eac1(0x98)]))return![];if(_0x511d1f[_0x20eac1(0xeb)]([_0x511d1f[_0x20eac1(0x139)],_0x511d1f[_0x20eac1(0x107)],_0x511d1f['JTIpE'],_0x511d1f[_0x20eac1(0x8a)]][_0x20eac1(0x165)](_0x5b9b72[_0x20eac1(0x86)]),-0x1))return![];return!![];}[a39_0x3b17b6(0xed)](_0x37f1ec,_0x3bda41){const _0x3c5adf=a39_0x3b17b6,_0xf829e9=_0x3bda41[_0x3c5adf(0x100)];if(_0xf829e9)return _0xf829e9;return _0x3bda41[_0x3c5adf(0x86)]+_0x3c5adf(0xb5)+this[_0x3c5adf(0xd3)](_0x37f1ec);}[a39_0x3b17b6(0xd8)](_0x36649e,_0x2c721f){const _0x45d111=a39_0x3b17b6,_0x20b13a={'bNDYx':function(_0x38cae7){return _0x38cae7();}};let _0xadc20c=_0x2c721f['title']+_0x45d111(0xb5)+this['getTestIdentifier'](_0x36649e);return this[_0x45d111(0x95)][_0xadc20c]&&(_0xadc20c=_0xadc20c+_0x45d111(0xb4)+_0x20b13a[_0x45d111(0x9c)](uuidv4)),_0x2c721f[_0x45d111(0x100)]=_0xadc20c,_0xadc20c;}[a39_0x3b17b6(0xd3)]=_0x4463b9=>{const _0x34196d=a39_0x3b17b6,_0x458da7={};_0x458da7['GULKr']=function(_0x44347d,_0x441c21){return _0x44347d+_0x441c21;},_0x458da7[_0x34196d(0x12a)]=function(_0x1337e2,_0x40c56e){return _0x1337e2+_0x40c56e;};const _0x2a4d58=_0x458da7;return _0x2a4d58['GULKr'](_0x2a4d58[_0x34196d(0x12a)](_0x4463b9[_0x34196d(0xe9)],'-'),_0x4463b9['id']);};[a39_0x3b17b6(0x8b)]=(_0x144257,_0x5f46c3)=>{const _0x3390eb=a39_0x3b17b6,_0x7c4f68={};_0x7c4f68[_0x3390eb(0x134)]=function(_0x80e7f2,_0x421f17){return _0x80e7f2+_0x421f17;};const _0x3d4e89=_0x7c4f68;return _0x3d4e89['azCYb'](_0x3d4e89['azCYb'](this['getTestIdentifier'](_0x144257),'-'),_0x5f46c3);};[a39_0x3b17b6(0xcc)]=_0x34869a=>{const _0x25bff5=a39_0x3b17b6,_0x322f97={};_0x322f97['ZLrMn']=_0x25bff5(0xe5),_0x322f97[_0x25bff5(0xbc)]='BEFORE_EACH',_0x322f97[_0x25bff5(0x119)]='beforeAll\x20hook',_0x322f97['uqQIW']=_0x25bff5(0x9d),_0x322f97['YlgTK']=_0x25bff5(0x9b),_0x322f97[_0x25bff5(0xaf)]='AFTER_EACH',_0x322f97[_0x25bff5(0xfd)]=_0x25bff5(0x148),_0x322f97['DhsSB']=_0x25bff5(0xa3),_0x322f97['oXyRv']='unknown';const _0x54584b=_0x322f97;if(_0x34869a[_0x25bff5(0x14e)](_0x54584b[_0x25bff5(0xb0)]))return _0x54584b[_0x25bff5(0xbc)];else{if(_0x34869a[_0x25bff5(0x14e)](_0x54584b[_0x25bff5(0x119)]))return _0x54584b[_0x25bff5(0xfa)];else{if(_0x34869a[_0x25bff5(0x14e)](_0x54584b['YlgTK']))return _0x54584b[_0x25bff5(0xaf)];else{if(_0x34869a[_0x25bff5(0x14e)](_0x54584b[_0x25bff5(0xfd)]))return _0x54584b[_0x25bff5(0x116)];}}}return _0x54584b[_0x25bff5(0x16d)];};[a39_0x3b17b6(0xd4)]=_0x3c2318=>{const _0x6f828=a39_0x3b17b6,_0x3c821b={};_0x3c821b[_0x6f828(0x15d)]=function(_0x5dea07,_0x82520c){return _0x5dea07===_0x82520c;},_0x3c821b['BEalq']=_0x6f828(0x92);const _0x3a6095=_0x3c821b;let _0x58133a=_0x3c2318[_0x6f828(0xf9)];return _0x3a6095['HRTHD'](typeof _0x3c2318['parent'],_0x3a6095[_0x6f828(0xc0)])&&(_0x58133a=_0x58133a[_0x6f828(0x86)]),_0x58133a+_0x6f828(0xb4)+_0x3c2318[_0x6f828(0x86)];};[a39_0x3b17b6(0x104)](){return![];}}module[a39_0x3b17b6(0x13b)]=o11yClassErrorHandler(MyReporter,[a39_0x3b17b6(0x11d),a39_0x3b17b6(0x12e),a39_0x3b17b6(0xf2),a39_0x3b17b6(0x15e),a39_0x3b17b6(0xf5),a39_0x3b17b6(0xa2),a39_0x3b17b6(0x132)],a39_0x3b17b6(0x114));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40_0x110ce9=a40_0x348f;function a40_0x348f(_0x9c8dbe,_0x186203){const _0x194d65=a40_0x194d();return a40_0x348f=function(_0x348f5e,_0x19d18c){_0x348f5e=_0x348f5e-0xb1;let _0x2d55be=_0x194d65[_0x348f5e];return _0x2d55be;},a40_0x348f(_0x9c8dbe,_0x186203);}function a40_0x194d(){const _0x24fcfb=['tUmci','exports','parse','_projectId','force','mkdirSync','setTestDetails','pFtKJ','BS_TESTOPS_BUILD_HASHED_ID','6207327rNrSDZ','XroYn','path','getFilePath','6502mtAOHA','getAccessibilityPlatformValidation','nQGfl','readFileSync','.json','XgHao','join','197308xYSDTR','_test','35uPXBMj','tests','string','adUyw','iTXfa','ZMPXj','stringify','83Rncbfr','2401407nkgDBN','1782582SMjYXK','getTestDetails','dirPath','ZMQUk','UXaNi','testId','bJGcg','getTestRunIdFromTestInfo','PtbBO','__projectId','Teidj','uuid','getProjectIdFromTestInfo','recursive','project','HbEvw','12134792AbNfZP','cwd','env','getStoreDirName','setAccessibilityPlatformValidation','retry','toString','shutdown','rmSync','writeFileSync','existsSync','30wpIPtv','getTestIdFromTestInfo','ifjxj','4704663WgoIHW','_platformDetails.json'];a40_0x194d=function(){return _0x24fcfb;};return a40_0x194d();}(function(_0x58268d,_0x1aaf8c){const _0x6d8200=a40_0x348f,_0x1158c8=_0x58268d();while(!![]){try{const _0x34f5ae=parseInt(_0x6d8200(0xed))/0x1*(parseInt(_0x6d8200(0xdd))/0x2)+parseInt(_0x6d8200(0xce))/0x3+-parseInt(_0x6d8200(0xe4))/0x4*(-parseInt(_0x6d8200(0xe6))/0x5)+parseInt(_0x6d8200(0xef))/0x6+-parseInt(_0x6d8200(0xd9))/0x7+-parseInt(_0x6d8200(0xc0))/0x8+-parseInt(_0x6d8200(0xee))/0x9*(-parseInt(_0x6d8200(0xcb))/0xa);if(_0x34f5ae===_0x1aaf8c)break;else _0x1158c8['push'](_0x1158c8['shift']());}catch(_0x5176f1){_0x1158c8['push'](_0x1158c8['shift']());}}}(a40_0x194d,0xd62f3));const fs=require('fs'),path=require(a40_0x110ce9(0xdb)),{v4:uuidv4}=require(a40_0x110ce9(0xbb)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper');class TestDetails{static [a40_0x110ce9(0xe7)]={};static ['dirPath']=path[a40_0x110ce9(0xe3)](process[a40_0x110ce9(0xc1)](),TestDetails['getStoreDirName']());static['setup'](){const _0x5ced59=a40_0x110ce9;this['shutdown']();const _0x5ea4a8={};_0x5ea4a8[_0x5ced59(0xbd)]=!![],fs[_0x5ced59(0xd5)](this[_0x5ced59(0xb2)],_0x5ea4a8);}static[a40_0x110ce9(0xc3)](){const _0x1c665a=a40_0x110ce9,_0x407191={};_0x407191['bJGcg']=function(_0x33f424,_0x1521a6){return _0x33f424+_0x1521a6;},_0x407191[_0x1c665a(0xe2)]=function(_0x328295,_0x559e7b){return _0x328295+_0x559e7b;};const _0x8a4a8a=_0x407191;return _0x8a4a8a[_0x1c665a(0xb6)](_0x8a4a8a[_0x1c665a(0xe2)](TEMP_STORE_DIR_NAME,'-'),process[_0x1c665a(0xc2)][_0x1c665a(0xd8)]);}static['getFilePath'](_0x52b2f8){const _0x5b5619=a40_0x110ce9,_0x57e48e={};_0x57e48e['vCoGr']=function(_0x407fb6,_0x5ac304){return _0x407fb6+_0x5ac304;},_0x57e48e[_0x5b5619(0xbf)]=_0x5b5619(0xe1);const _0x34be63=_0x57e48e;return path[_0x5b5619(0xe3)](this['dirPath'],_0x34be63['vCoGr'](_0x52b2f8,_0x34be63[_0x5b5619(0xbf)]));}static[a40_0x110ce9(0xb7)](_0x28c6de){const _0x362ce5=a40_0x110ce9,_0x327a69={};_0x327a69[_0x362ce5(0xe9)]=function(_0x24716b,_0x456d45){return _0x24716b+_0x456d45;},_0x327a69[_0x362ce5(0xb3)]=function(_0x21b052,_0x3f82b2){return _0x21b052+_0x3f82b2;},_0x327a69[_0x362ce5(0xb4)]=function(_0x110189,_0x5ee162){return _0x110189+_0x5ee162;};const _0x2d18ca=_0x327a69;return _0x2d18ca[_0x362ce5(0xe9)](_0x2d18ca[_0x362ce5(0xb3)](_0x2d18ca[_0x362ce5(0xe9)](_0x2d18ca[_0x362ce5(0xb4)](this[_0x362ce5(0xbc)](_0x28c6de),'-'),this['getTestIdFromTestInfo'](_0x28c6de)),'-'),_0x28c6de[_0x362ce5(0xc5)]);}static[a40_0x110ce9(0xbc)](_0x10d2d3){const _0x5c66a2=a40_0x110ce9,_0x5342f2={'ifjxj':function(_0x1d54ee,_0x4b4508,_0x22ac3d){return _0x1d54ee(_0x4b4508,_0x22ac3d);},'PtbBO':_0x5c66a2(0xe5),'XroYn':_0x5c66a2(0xd3),'iTXfa':function(_0x3eceb3,_0x3ca1da,_0x4038e7){return _0x3eceb3(_0x3ca1da,_0x4038e7);},'tUmci':_0x5c66a2(0xbe),'ZMPXj':_0x5c66a2(0xb9)};return _0x5342f2[_0x5c66a2(0xcd)](nestedKeyValue,_0x10d2d3,[_0x5342f2[_0x5c66a2(0xb8)],_0x5342f2[_0x5c66a2(0xda)]])||_0x5342f2[_0x5c66a2(0xea)](nestedKeyValue,_0x10d2d3,[_0x5342f2[_0x5c66a2(0xd0)],_0x5342f2[_0x5c66a2(0xeb)]]);}static[a40_0x110ce9(0xcc)](_0x231474){const _0x1835dd=a40_0x110ce9,_0x275eb0={'Teidj':function(_0x3a09e4,_0x28b6a6,_0x60a9a){return _0x3a09e4(_0x28b6a6,_0x60a9a);},'eIpMR':_0x1835dd(0xe5)};return _0x275eb0[_0x1835dd(0xba)](nestedKeyValue,_0x231474,[_0x275eb0['eIpMR'],'id'])||_0x231474[_0x1835dd(0xb5)];}static['getTestUUID'](_0x36f4aa){const _0x1b9aac=a40_0x110ce9,_0x131d52={'jeXId':function(_0x58d500,_0x1bf4de){return _0x58d500===_0x1bf4de;},'pFtKJ':_0x1b9aac(0xe8),'nQGfl':function(_0x4a8d3b){return _0x4a8d3b();}};if(this[_0x1b9aac(0xe7)][_0x36f4aa]&&_0x131d52['jeXId'](typeof this[_0x1b9aac(0xe7)][_0x36f4aa]['uuid'],_0x131d52[_0x1b9aac(0xd7)]))return this[_0x1b9aac(0xe7)][_0x36f4aa][_0x1b9aac(0xbb)];const _0x2db0fb=this[_0x1b9aac(0xdc)](_0x36f4aa);if(fs['existsSync'](_0x2db0fb)){const _0x20363f=JSON['parse'](fs[_0x1b9aac(0xe0)](_0x2db0fb)['toString']());return this[_0x1b9aac(0xe7)][_0x36f4aa]=_0x20363f,this['tests'][_0x36f4aa][_0x1b9aac(0xbb)];}return this[_0x1b9aac(0xe7)][_0x36f4aa]={'uuid':_0x131d52[_0x1b9aac(0xdf)](uuidv4)},fs[_0x1b9aac(0xc9)](_0x2db0fb,JSON[_0x1b9aac(0xec)](this['tests'][_0x36f4aa])),this[_0x1b9aac(0xe7)][_0x36f4aa][_0x1b9aac(0xbb)];}static[a40_0x110ce9(0xde)](_0x43d951){const _0x4e02ab=a40_0x110ce9,_0x4115e2=path['join'](this[_0x4e02ab(0xb2)],_0x43d951+'_platformDetails.json');if(fs[_0x4e02ab(0xca)](_0x4115e2))return fs[_0x4e02ab(0xe0)](_0x4115e2)['toString']();}static[a40_0x110ce9(0xc4)](_0xa922c1,_0x36c3e9){const _0x4e69c1=a40_0x110ce9,_0x9f758b=path[_0x4e69c1(0xe3)](this[_0x4e69c1(0xb2)],_0x36c3e9+_0x4e69c1(0xcf));fs['writeFileSync'](_0x9f758b,_0xa922c1[_0x4e69c1(0xc6)]());}static[a40_0x110ce9(0xc7)](){const _0x13cbac=a40_0x110ce9,_0x64c82={};_0x64c82[_0x13cbac(0xbd)]=!![],_0x64c82[_0x13cbac(0xd4)]=!![],fs[_0x13cbac(0xc8)](this['dirPath'],_0x64c82);}static[a40_0x110ce9(0xb1)](_0x1335c2){const _0x3e064b=a40_0x110ce9;if(this['tests'][_0x1335c2])return this[_0x3e064b(0xe7)][_0x1335c2];const _0x33cf41=this[_0x3e064b(0xdc)](_0x1335c2);if(fs['existsSync'](_0x33cf41)){const _0x1bf456=JSON[_0x3e064b(0xd2)](fs['readFileSync'](_0x33cf41)[_0x3e064b(0xc6)]());return this[_0x3e064b(0xe7)][_0x1335c2]=_0x1bf456,_0x1bf456;}return{};}static[a40_0x110ce9(0xd6)](_0xf8c96,_0xb40094){const _0xe62ccc=a40_0x110ce9,_0x276c42=this['getFilePath'](_0xf8c96);if(fs['existsSync'](_0x276c42)){const _0x5d5c11=JSON[_0xe62ccc(0xd2)](fs[_0xe62ccc(0xe0)](_0x276c42)[_0xe62ccc(0xc6)]()),_0x266d86={..._0x5d5c11,..._0xb40094};this['tests'][_0xf8c96]=_0x266d86;}else this[_0xe62ccc(0xe7)][_0xf8c96]=_0xb40094;fs['writeFileSync'](_0x276c42,this[_0xe62ccc(0xe7)][_0xf8c96]);}}module[a40_0x110ce9(0xd1)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x5f4c86=a41_0x30e1;(function(_0x144f1d,_0x8080e6){const _0x33a160=a41_0x30e1,_0x44cf2e=_0x144f1d();while(!![]){try{const _0x284fa0=parseInt(_0x33a160(0x124))/0x1*(parseInt(_0x33a160(0xbe))/0x2)+parseInt(_0x33a160(0xf7))/0x3+parseInt(_0x33a160(0x116))/0x4*(parseInt(_0x33a160(0xd9))/0x5)+-parseInt(_0x33a160(0xfd))/0x6+-parseInt(_0x33a160(0x13a))/0x7+parseInt(_0x33a160(0xcd))/0x8*(parseInt(_0x33a160(0xa2))/0x9)+-parseInt(_0x33a160(0x126))/0xa*(parseInt(_0x33a160(0x11c))/0xb);if(_0x284fa0===_0x8080e6)break;else _0x44cf2e['push'](_0x44cf2e['shift']());}catch(_0x306790){_0x44cf2e['push'](_0x44cf2e['shift']());}}}(a41_0x5d73,0x44856));function a41_0x30e1(_0x143743,_0xe3750e){const _0x5d7311=a41_0x5d73();return a41_0x30e1=function(_0x30e165,_0x27da0e){_0x30e165=_0x30e165-0x9f;let _0x46a557=_0x5d7311[_0x30e165];return _0x46a557;},a41_0x30e1(_0x143743,_0xe3750e);}function a41_0x5d73(){const _0x471851=['HqjKd','format','debug','browserName','firefox','1409868gMEegz','product','FEhHR','zBUmF','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Page','path','method','ruSoO','accessibilityPlatform','prototype','automate','params','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','hnTNA','Tuach','hwyAl','channel','Connection','LQgkX','BROWSERSTACK_TEST_OBSERVABILITY','../../bin/playwright/accessibility-helper','safari','zavFT','_defaultConnectOptions','327032OqYuqU','playwright-','_connection','../../helpers/accessibility-automation/scripts','Error\x20in\x20importing\x20crConnection','__driver','550231SljUDE','lib','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','Aqybh','NSinP','uBkmY','oeBvY','_browserType','19zhKBEd','juSGc','110ffAkRd','ZaHyL','aBZAM','ilhXc','pwPage','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','xujNS','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','RoIPX','qlEjZ','__workerDetails','cTMuD','assign','_name','defineProperty','WbLso','chromium','RlgOQ','kxspw','Error\x20in\x20finding\x20platform\x20details\x20','942900TPVRwy','browser_version','zzLeO','project','Efdad','browserstack.com','local_grid','patchCRConnection','4509TVkejV','_type','capabilities','LlokL','platform_version','winstonLogger','YZvAM','fromEntries','Not\x20able\x20to\x20import\x20Connection','xzAmf','dispatch','iHoAe','sessionId','patch','RlxgN','platformDetails','browser','EZnJa','query','SlOSc','platform','connectOptions','titlePath','server','iMXsF','TisNu','jPUFD','join','24758EKxjlM','exports','Performing\x20scan\x20for\x20','TKZCT','bstackPerformA11yScan','eKlNn','CDnhh','yddkJ','currentSessionDetails','util','connection.js','toString','apply','mabrm','platformName','3416XLYjxC','chrome','CRConnection','bsSessionId','testInfo','url','use','edge','platformVersion','Failed\x20to\x20perform\x20scan\x20','sendMessageToServer','performScan','25qlxEtM','CVtRr','browserstack','isRemote','wROqG','entries','currentTest','./accessibility-helper','xSsRu','version','bsParams','toLowerCase','sessionError','includes','oQtQf','BZsZn','patchConnection','Error\x20in\x20importing\x20connection\x20','setupBrowserDetails','zTFgi','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','iYOEG','../../helpers/helper','cloudProvider','bStackParams','AnUTE','uViVX','swMdq','unknown_grid','../../helpers/accessibility-automation/helper','1027959eiOjvX'];a41_0x5d73=function(){return _0x471851;};return a41_0x5d73();}const path=require(a41_0x5f4c86(0x103)),url=require(a41_0x5f4c86(0xd2)),util=require(a41_0x5f4c86(0xc7)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a41_0x5f4c86(0xef)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x5f4c86(0xf6)),logger=require('../../helpers/logger')[a41_0x5f4c86(0xa7)],scripts=require(a41_0x5f4c86(0x119)),{browserStackExecuteDriver}=require(a41_0x5f4c86(0x112)),AccessibilityHelper=require(a41_0x5f4c86(0xe0)),getBrowserNameFromChannel=_0x560e52=>{const _0xa65fea=a41_0x5f4c86,_0x2c8400={};_0x2c8400[_0xa65fea(0xc4)]=_0xa65fea(0xce),_0x2c8400['zavFT']=_0xa65fea(0xd4),_0x2c8400[_0xa65fea(0x135)]=_0xa65fea(0xfc),_0x2c8400['EZnJa']=_0xa65fea(0x113);const _0x18f6ca=_0x2c8400;if(_0x560e52['includes'](_0x18f6ca[_0xa65fea(0xc4)]))return _0x18f6ca[_0xa65fea(0xc4)];if(_0x560e52[_0xa65fea(0xe6)](_0x18f6ca[_0xa65fea(0x114)]))return _0x18f6ca[_0xa65fea(0x114)];if(_0x560e52[_0xa65fea(0xe6)](_0x18f6ca['WbLso']))return _0x18f6ca[_0xa65fea(0x135)];if(_0x560e52[_0xa65fea(0xe6)](_0x18f6ca[_0xa65fea(0xb3)]))return _0x18f6ca[_0xa65fea(0xb3)];},getBrowserFromWSEndpoint=_0x1c33c9=>{const _0x5cf004=a41_0x5f4c86,_0x1f8bf6={'LQgkX':_0x5cf004(0xce),'yddkJ':function(_0x63983e,_0x1fcf6e){return _0x63983e(_0x1fcf6e);}};try{const _0x2b8264=url['parse'](_0x1c33c9),_0x18ced7=new URLSearchParams(_0x2b8264[_0x5cf004(0xb4)]),_0x38c661=Object[_0x5cf004(0xa9)](_0x18ced7[_0x5cf004(0xde)]()),_0x295152=JSON['parse'](_0x38c661['caps']);if(_0x295152&&(_0x295152[_0x5cf004(0xb2)]||_0x295152[_0x5cf004(0xfb)]))return _0x295152[_0x5cf004(0xb2)]||_0x295152[_0x5cf004(0xfb)];return _0x1f8bf6[_0x5cf004(0x110)];}catch(_0x52be18){_0x1f8bf6[_0x5cf004(0xc5)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x52be18[_0x5cf004(0xc9)]());}},getCloudProviderFromWsEndpoint=_0x53ee93=>{const _0x156a70=a41_0x5f4c86,_0xb3b88e={};_0xb3b88e[_0x156a70(0xec)]=_0x156a70(0x9f),_0xb3b88e['kxspw']='browserstack',_0xb3b88e[_0x156a70(0x12c)]=_0x156a70(0xf5);const _0x2c6b02=_0xb3b88e;if(_0x53ee93[_0x156a70(0xe6)](_0x2c6b02[_0x156a70(0xec)]))return _0x2c6b02[_0x156a70(0x138)];return _0x2c6b02[_0x156a70(0x12c)];},a41_0x3f46cb={};a41_0x3f46cb[a41_0x5f4c86(0xf0)]=undefined,a41_0x3f46cb[a41_0x5f4c86(0xd0)]=undefined,a41_0x3f46cb[a41_0x5f4c86(0xb2)]=undefined,a41_0x3f46cb[a41_0x5f4c86(0x13b)]=undefined,a41_0x3f46cb[a41_0x5f4c86(0xb6)]=undefined,a41_0x3f46cb[a41_0x5f4c86(0xa6)]=undefined,a41_0x3f46cb[a41_0x5f4c86(0xfe)]=undefined,a41_0x3f46cb[a41_0x5f4c86(0xa4)]={};class PlaywrightSessionDetails{static [a41_0x5f4c86(0xc6)]=a41_0x3f46cb;constructor(){const _0x5bb6d6=a41_0x5f4c86,_0x5bb1a1={};_0x5bb1a1[_0x5bb6d6(0x100)]=_0x5bb6d6(0xed);const _0x1eccde=_0x5bb1a1;throw new Error(_0x1eccde[_0x5bb6d6(0x100)]);}static ['sessionError']=null;static[a41_0x5f4c86(0xeb)](_0x1981de,_0x57da12,_0x83b593=null){const _0x5028a1=a41_0x5f4c86,_0x53fa76={'ZaHyL':_0x5028a1(0xa0),'fZAkG':function(_0x37f977,_0x244300,_0x708ec3){return _0x37f977(_0x244300,_0x708ec3);},'eKlNn':'project','xzAmf':_0x5028a1(0xd3),'wQRmO':_0x5028a1(0xb7),'ilhXc':function(_0x3575ac,_0x44c879){return _0x3575ac(_0x44c879);},'Aqybh':function(_0x42854b,_0x6a25df){return _0x42854b===_0x6a25df;},'RKkee':_0x5028a1(0xdb),'juSGc':_0x5028a1(0x108),'iMXsF':function(_0x35ceb9,_0x3da7d4){return _0x35ceb9(_0x3da7d4);},'swMdq':function(_0x438ad7,_0x4bbbd8){return _0x438ad7+_0x4bbbd8;},'psuCC':_0x5028a1(0x117),'BZsZn':function(_0x320f90){return _0x320f90();},'TisNu':function(_0x1bda96,_0x47040b,_0x6ea94a){return _0x1bda96(_0x47040b,_0x6ea94a);},'PrWpg':_0x5028a1(0xeb)},_0xe014f4=this;return _0x53fa76[_0x5028a1(0xbb)](o11yErrorHandler,async function _0x28376a(_0x4e051a,_0x2a7b79,_0x34d1a7=null){const _0x2ef841=_0x5028a1;let _0x59cb38=_0x4e051a[_0x2ef841(0x133)];const _0x57309b=_0x4e051a[_0x2ef841(0xe2)]();let _0xa57149=null,_0x358f5d=null,_0x159acf=null,_0x328406=_0x53fa76[_0x2ef841(0x127)];if(_0x4e051a[_0x2ef841(0x118)][_0x2ef841(0xdc)]()||global[_0x2ef841(0x106)]){const _0x444c28=_0x4e051a[_0x2ef841(0x123)][_0x2ef841(0x115)]||_0x53fa76['fZAkG'](nestedKeyValue,_0x2a7b79,[_0x53fa76[_0x2ef841(0xc3)],_0x53fa76[_0x2ef841(0xab)],_0x53fa76['wQRmO']]),_0x3d8042=_0x34d1a7||_0x444c28&&_0x444c28['wsEndpoint'];_0x3d8042&&(_0x328406=_0x53fa76[_0x2ef841(0x129)](getCloudProviderFromWsEndpoint,_0x3d8042),_0x53fa76[_0x2ef841(0x11f)](_0x328406,_0x53fa76['RKkee'])&&(_0x159acf=_0x53fa76[_0x2ef841(0x125)],_0x59cb38=_0x53fa76['iMXsF'](getBrowserFromWSEndpoint,_0x3d8042)||_0x59cb38,_0xa57149=_0xe014f4[_0x2ef841(0xc6)]['platform'],_0x358f5d=_0xe014f4[_0x2ef841(0xc6)][_0x2ef841(0xa6)]));}else{_0x2a7b79&&_0x2a7b79[_0x2ef841(0x13d)][_0x2ef841(0xd3)][_0x2ef841(0x10e)]?_0x59cb38=_0x53fa76[_0x2ef841(0xba)](getBrowserNameFromChannel,_0x2a7b79['project']['use'][_0x2ef841(0x10e)]):_0x59cb38=_0x53fa76[_0x2ef841(0xf4)](_0x53fa76['psuCC'],_0x59cb38[_0x2ef841(0xe4)]());const _0x3216d5=await _0x53fa76[_0x2ef841(0xe8)](getPlatformDetails);_0xa57149=_0x3216d5[_0x2ef841(0xcc)],_0x358f5d=_0x3216d5[_0x2ef841(0xd5)];}const _0x354bf4={};_0x354bf4[_0x2ef841(0xb2)]=_0x59cb38,_0x354bf4[_0x2ef841(0x13b)]=_0x57309b,_0x354bf4[_0x2ef841(0xa4)]={},_0x354bf4[_0x2ef841(0xb6)]=_0xa57149,_0x354bf4[_0x2ef841(0xa6)]=_0x358f5d,_0x354bf4['product']=_0x159acf;const _0x4f47b3=_0x354bf4,_0x4b8c28={};_0x4b8c28[_0x2ef841(0xf0)]=_0x328406,_0xe014f4[_0x2ef841(0xc6)]=Object[_0x2ef841(0x132)]({},_0xe014f4['currentSessionDetails'],_0x4b8c28,_0x4f47b3);},_0x53fa76['PrWpg'])(_0x1981de,_0x57da12,_0x83b593);}static[a41_0x5f4c86(0xaf)](){const _0x2028c6=a41_0x5f4c86;this[_0x2028c6(0xe9)](),this[_0x2028c6(0xa1)]();}static['patchConnection'](){const _0x3af3bb=a41_0x5f4c86,_0x19cfdc={'RoIPX':function(_0x36d387,_0x38f390,_0x2a4eab){return _0x36d387(_0x38f390,_0x2a4eab);},'kTQXL':_0x3af3bb(0xdf),'CVtRr':_0x3af3bb(0xd1),'ATJDg':_0x3af3bb(0xb8),'TtCkg':function(_0x372e2a,_0x4e1fda,_0x1dcf09){return _0x372e2a(_0x4e1fda,_0x1dcf09);},'hwyAl':function(_0x4f91cb,_0x5e765d,_0x2ee2bd){return _0x4f91cb(_0x5e765d,_0x2ee2bd);},'NSinP':_0x3af3bb(0x130),'Efdad':_0x3af3bb(0x12a),'RlxgN':function(_0x5d6906,_0x3126b0){return _0x5d6906===_0x3126b0;},'aBZAM':_0x3af3bb(0x102),'uBkmY':function(_0x4b1ad6,_0x21d943,_0x142f58,_0x32dffa){return _0x4b1ad6(_0x21d943,_0x142f58,_0x32dffa);},'iHoAe':function(_0x4d1feb,_0x4c04ef){return _0x4d1feb(_0x4c04ef);},'Tuach':'lib','iYOEG':'client','wROqG':_0x3af3bb(0xc8),'iqVld':_0x3af3bb(0xaa),'hrvkD':function(_0x37ea6b,_0x1c1098){return _0x37ea6b(_0x1c1098);},'oQtQf':function(_0x31e96f,_0x8fcd47){return _0x31e96f!=_0x8fcd47;},'glpee':function(_0x30011c){return _0x30011c();},'zzLeO':_0x3af3bb(0xd7),'SlOSc':function(_0x46934c,_0x40d62e){return _0x46934c(_0x40d62e);},'RlgOQ':_0x3af3bb(0xac)},_0x15fa5a=this;if(!this[_0x3af3bb(0x10f)])try{const _0x9cf9ba=path['join'](_0x19cfdc[_0x3af3bb(0x10c)],_0x19cfdc[_0x3af3bb(0xee)],_0x19cfdc[_0x3af3bb(0xdd)]),_0x458878=_0x19cfdc[_0x3af3bb(0xad)](importFileFromPWCore,_0x9cf9ba);!_0x458878?_0x19cfdc[_0x3af3bb(0xad)](debug,_0x19cfdc['iqVld']):this[_0x3af3bb(0x10f)]=_0x458878[_0x3af3bb(0x10f)];}catch(_0x263421){_0x19cfdc['hrvkD'](debug,_0x3af3bb(0xea)+_0x263421[_0x3af3bb(0xc9)]());}const _0x285554=this[_0x3af3bb(0x10f)];try{if(_0x19cfdc[_0x3af3bb(0xe7)](_0x285554,null)){const _0x4cd10b=_0x285554[_0x3af3bb(0x107)][_0x3af3bb(0xac)],_0x284a20=_0x285554['prototype']['sendMessageToServer'];_0x19cfdc['glpee'](isAccessibilityAutomationSession)&&Object[_0x3af3bb(0x134)](_0x285554[_0x3af3bb(0x107)],_0x19cfdc[_0x3af3bb(0x13c)],{'get':function(){return async function(){const _0xec8496=a41_0x30e1;try{if(!global['bstackPerformA11yScan']&&global['accessibilityPlatform']&&_0x19cfdc[_0xec8496(0x12e)](nestedKeyValue,global['__workerDetails'],[_0x19cfdc['kTQXL'],_0x19cfdc[_0xec8496(0xda)],_0x19cfdc['ATJDg']])&&_0x19cfdc['TtCkg'](shouldScanTestForAccessibility,global[_0xec8496(0x130)][_0xec8496(0xdf)][_0xec8496(0xd1)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug'](_0xec8496(0xc0)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x52a72e=_0x19cfdc[_0xec8496(0x10d)](nestedKeyValue,global,[_0x19cfdc[_0xec8496(0x120)],_0x19cfdc[_0xec8496(0x13e)]]),_0x5e1194={};_0x5e1194['method']=arguments[0x1],_0x52a72e&&logger[_0xec8496(0xfa)](util[_0xec8496(0xf9)](await AccessibilityHelper[_0xec8496(0xd8)](_0x52a72e,_0x5e1194)));if(_0x19cfdc[_0xec8496(0xb0)](arguments[0x0][_0xec8496(0xa3)],_0x19cfdc[_0xec8496(0x128)])&&global[_0xec8496(0x11b)]){const _0x3ab73e={};_0x3ab73e[_0xec8496(0x104)]=arguments[0x1],await _0x19cfdc[_0xec8496(0x121)](browserStackExecuteDriver,global[_0xec8496(0x11b)],scripts[_0xec8496(0xd8)],_0x3ab73e);}}}catch(_0x4cd65a){logger[_0xec8496(0xfa)](_0xec8496(0xd6)+util[_0xec8496(0xf9)](_0x4cd65a));}return global[_0xec8496(0xc2)]=![],_0x284a20[_0xec8496(0xca)](this,arguments);};}}),!_0x19cfdc[_0x3af3bb(0xb5)](isFalse,process['env'][_0x3af3bb(0x111)])&&Object['defineProperty'](_0x285554[_0x3af3bb(0x107)],_0x19cfdc[_0x3af3bb(0x137)],{'get':function(){return function _0x1ed61c(_0x388cc6){const _0x31bcf1=a41_0x30e1,_0x10693c=_0x388cc6&&_0x388cc6[_0x31bcf1(0x109)]&&_0x388cc6[_0x31bcf1(0x109)][_0x31bcf1(0xe3)];if(_0x10693c){const _0x545b91=_0x10693c['sessionId'],_0x5a55ee=_0x10693c[_0x31bcf1(0xb1)];_0x5a55ee&&(_0x19cfdc[_0x31bcf1(0xad)](debug,_0x31bcf1(0x12b)+_0x5a55ee[_0x31bcf1(0xc9)]()),_0x15fa5a[_0x31bcf1(0xc6)][_0x31bcf1(0xb6)]=_0x5a55ee[_0x31bcf1(0xcc)],_0x15fa5a[_0x31bcf1(0xc6)][_0x31bcf1(0xa6)]=_0x5a55ee['platformVersion']),_0x545b91&&(_0x19cfdc[_0x31bcf1(0xad)](debug,_0x31bcf1(0x101)+_0x545b91),_0x15fa5a[_0x31bcf1(0xc6)][_0x31bcf1(0xd0)]=_0x545b91);}return _0x4cd10b[_0x31bcf1(0xca)](this,arguments);};}});}}catch(_0x54b7d6){_0x19cfdc[_0x3af3bb(0xad)](debug,_0x3af3bb(0x11e)+_0x54b7d6),_0x15fa5a['sessionError']=_0x54b7d6[_0x3af3bb(0xc9)]();}}static[a41_0x5f4c86(0xa1)](){const _0xd612e4=a41_0x5f4c86,_0x14b290={'FEhHR':function(_0x293713,_0x16eb27){return _0x293713(_0x16eb27);},'hnTNA':function(_0x5de08e,_0x2d9fdd){return _0x5de08e(_0x2d9fdd);},'jPUFD':function(_0x36ecc1){return _0x36ecc1();},'xSsRu':_0xd612e4(0x11d),'TKZCT':_0xd612e4(0xb9),'HqjKd':_0xd612e4(0x136),'oeBvY':'crConnection.js','LlokL':function(_0xbe356c,_0x5e8565){return _0xbe356c(_0x5e8565);},'uViVX':function(_0x59e8cf,_0x1f9972){return _0x59e8cf(_0x1f9972);},'qlEjZ':'Not\x20able\x20to\x20import\x20crConnection','jsTuB':function(_0x1ed56b,_0x2e4890){return _0x1ed56b(_0x2e4890);},'YZvAM':_0xd612e4(0x11a),'mabrm':function(_0x4b4ca4,_0x170e88){return _0x4b4ca4!=_0x170e88;},'HNTvF':'_onMessage','ruSoO':function(_0x193ae5,_0x135c36){return _0x193ae5(_0x135c36);}},_0x333b1e=this;if(_0x14b290[_0xd612e4(0xbc)](isAccessibilityAutomationSession)){let _0x21f5ba=null;try{const _0xe8bf0a=path[_0xd612e4(0xbd)](_0x14b290[_0xd612e4(0xe1)],_0x14b290[_0xd612e4(0xc1)],_0x14b290[_0xd612e4(0xf8)],_0x14b290[_0xd612e4(0x122)]),_0x2135f7=_0x14b290[_0xd612e4(0xa5)](importFileFromPWCore,_0xe8bf0a);!_0x2135f7?_0x14b290[_0xd612e4(0xf3)](debug,_0x14b290[_0xd612e4(0x12f)]):_0x21f5ba=_0x2135f7[_0xd612e4(0xcf)];}catch(_0x36a3d5){_0x14b290['jsTuB'](debug,_0x14b290[_0xd612e4(0xa8)]);}try{if(_0x14b290[_0xd612e4(0xcb)](_0x21f5ba,null)){const _0x5452c7=_0x21f5ba[_0xd612e4(0x107)]['_onMessage'];Object[_0xd612e4(0x134)](_0x21f5ba[_0xd612e4(0x107)],_0x14b290['HNTvF'],{'get':function(){const _0x5b6208={'KGitk':function(_0x2245b1,_0x102a4a){const _0x32b049=a41_0x30e1;return _0x14b290[_0x32b049(0xff)](_0x2245b1,_0x102a4a);},'cTMuD':function(_0x20cc50,_0x476d9b){const _0x25d835=a41_0x30e1;return _0x14b290[_0x25d835(0x10b)](_0x20cc50,_0x476d9b);},'AnUTE':function(_0x690eb,_0x49af51){return _0x14b290['FEhHR'](_0x690eb,_0x49af51);}};return function _0x49a1f2(_0x359b6f){const _0x5543bd=a41_0x30e1;try{const _0x7e45df=_0x359b6f[_0x5543bd(0xf1)];if(_0x7e45df){delete _0x359b6f[_0x5543bd(0xf1)];const _0x44ca25=_0x7e45df[_0x5543bd(0xae)],_0x13990c=_0x7e45df[_0x5543bd(0xb1)];_0x13990c&&(_0x5b6208['KGitk'](debug,_0x5543bd(0x10a)+_0x13990c[_0x5543bd(0xc9)]()),_0x333b1e[_0x5543bd(0xc6)][_0x5543bd(0xb6)]=_0x13990c[_0x5543bd(0xcc)],_0x333b1e['currentSessionDetails']['platform_version']=_0x13990c['platformVersion']),_0x44ca25&&(_0x5b6208[_0x5543bd(0x131)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x44ca25),_0x333b1e[_0x5543bd(0xc6)][_0x5543bd(0xd0)]=_0x44ca25);}}catch(_0x18b669){_0x5b6208[_0x5543bd(0xf2)](debug,_0x5543bd(0x139)+_0x18b669[_0x5543bd(0xc9)]());}return _0x5452c7[_0x5543bd(0xca)](this,arguments);};}});}}catch(_0x35ba01){_0x14b290[_0xd612e4(0x105)](debug,_0xd612e4(0x12d)+_0x35ba01),_0x333b1e[_0xd612e4(0xe5)]=_0x35ba01['toString']();}}}static['getDetails'](){return this['currentSessionDetails'];}}module[a41_0x5f4c86(0xbf)]=PlaywrightSessionDetails;
|
|
1
|
+
const a41_0x5e7f00=a41_0x4d97;(function(_0x138af8,_0x59c5ba){const _0x775393=a41_0x4d97,_0x5cdcd0=_0x138af8();while(!![]){try{const _0x5bd5b1=parseInt(_0x775393(0x214))/0x1+-parseInt(_0x775393(0x236))/0x2*(parseInt(_0x775393(0x272))/0x3)+parseInt(_0x775393(0x1f0))/0x4*(parseInt(_0x775393(0x225))/0x5)+-parseInt(_0x775393(0x26e))/0x6+-parseInt(_0x775393(0x211))/0x7+parseInt(_0x775393(0x256))/0x8*(-parseInt(_0x775393(0x1e7))/0x9)+parseInt(_0x775393(0x216))/0xa;if(_0x5bd5b1===_0x59c5ba)break;else _0x5cdcd0['push'](_0x5cdcd0['shift']());}catch(_0x2ac5e8){_0x5cdcd0['push'](_0x5cdcd0['shift']());}}}(a41_0x4965,0x1c30c));const path=require('path'),url=require(a41_0x5e7f00(0x1e2)),util=require('util'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a41_0x5e7f00(0x1e0)),{o11yErrorHandler}=require(a41_0x5e7f00(0x242)),{debug,getPlatformDetails}=require(a41_0x5e7f00(0x265)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x5e7f00(0x1f4)),logger=require(a41_0x5e7f00(0x26c))[a41_0x5e7f00(0x1f3)],scripts=require(a41_0x5e7f00(0x241)),{browserStackExecuteDriver}=require(a41_0x5e7f00(0x240)),AccessibilityHelper=require(a41_0x5e7f00(0x25a)),getBrowserNameFromChannel=_0x4b7196=>{const _0x1da2b2=a41_0x5e7f00,_0x20ef98={};_0x20ef98[_0x1da2b2(0x21f)]=_0x1da2b2(0x258),_0x20ef98[_0x1da2b2(0x1dd)]='edge',_0x20ef98[_0x1da2b2(0x206)]='firefox',_0x20ef98[_0x1da2b2(0x257)]=_0x1da2b2(0x1e3);const _0x28263a=_0x20ef98;if(_0x4b7196[_0x1da2b2(0x213)](_0x28263a[_0x1da2b2(0x21f)]))return _0x28263a[_0x1da2b2(0x21f)];if(_0x4b7196['includes'](_0x28263a['Ihyvs']))return _0x28263a['Ihyvs'];if(_0x4b7196[_0x1da2b2(0x213)](_0x28263a[_0x1da2b2(0x206)]))return _0x28263a[_0x1da2b2(0x206)];if(_0x4b7196[_0x1da2b2(0x213)](_0x28263a[_0x1da2b2(0x257)]))return _0x28263a[_0x1da2b2(0x257)];},getBrowserFromWSEndpoint=_0x3d3ea0=>{const _0x39fa53=a41_0x5e7f00,_0x3228c0={'CUAFk':_0x39fa53(0x258),'wUevW':function(_0x4014f9,_0x2db35c){return _0x4014f9(_0x2db35c);}};try{const _0x3ec671=url[_0x39fa53(0x1e9)](_0x3d3ea0),_0x3b5d47=new URLSearchParams(_0x3ec671[_0x39fa53(0x1d9)]),_0x3425f3=Object['fromEntries'](_0x3b5d47[_0x39fa53(0x222)]()),_0x2ecccb=JSON[_0x39fa53(0x1e9)](_0x3425f3[_0x39fa53(0x203)]);if(_0x2ecccb&&(_0x2ecccb[_0x39fa53(0x20a)]||_0x2ecccb['browserName']))return _0x2ecccb[_0x39fa53(0x20a)]||_0x2ecccb[_0x39fa53(0x227)];return _0x3228c0['CUAFk'];}catch(_0x1da01c){_0x3228c0[_0x39fa53(0x234)](debug,_0x39fa53(0x1de)+_0x1da01c[_0x39fa53(0x202)]());}},getCloudProviderFromWsEndpoint=_0x2385f9=>{const _0x36dfdb=a41_0x5e7f00,_0x3ab682={};_0x3ab682[_0x36dfdb(0x24b)]=_0x36dfdb(0x1e8),_0x3ab682[_0x36dfdb(0x207)]=_0x36dfdb(0x262),_0x3ab682[_0x36dfdb(0x261)]=_0x36dfdb(0x23f);const _0x5186ea=_0x3ab682;if(_0x2385f9[_0x36dfdb(0x213)](_0x5186ea[_0x36dfdb(0x24b)]))return _0x5186ea[_0x36dfdb(0x207)];return _0x5186ea[_0x36dfdb(0x261)];},a41_0x2f71b2={};a41_0x2f71b2[a41_0x5e7f00(0x23d)]=undefined,a41_0x2f71b2['bsSessionId']=undefined,a41_0x2f71b2['browser']=undefined,a41_0x2f71b2['browser_version']=undefined,a41_0x2f71b2[a41_0x5e7f00(0x1d8)]=undefined,a41_0x2f71b2[a41_0x5e7f00(0x1ef)]=undefined,a41_0x2f71b2['product']=undefined,a41_0x2f71b2['capabilities']={};function a41_0x4d97(_0x24269a,_0x1831db){const _0x4965e0=a41_0x4965();return a41_0x4d97=function(_0x4d977d,_0x2c5105){_0x4d977d=_0x4d977d-0x1d5;let _0x4b67f2=_0x4965e0[_0x4d977d];return _0x4b67f2;},a41_0x4d97(_0x24269a,_0x1831db);}class PlaywrightSessionDetails{static [a41_0x5e7f00(0x1f2)]=a41_0x2f71b2;constructor(){const _0x3fdc87=a41_0x5e7f00,_0x27ec71={};_0x27ec71['MFKIe']=_0x3fdc87(0x1e4);const _0x58c2bf=_0x27ec71;throw new Error(_0x58c2bf[_0x3fdc87(0x212)]);}static [a41_0x5e7f00(0x1e6)]=null;static[a41_0x5e7f00(0x20d)](_0x3806d9,_0x71f21c,_0x19d775=null){const _0x1ee8d3=a41_0x5e7f00,_0x5b7417={'XRFpd':_0x1ee8d3(0x25c),'LwDne':function(_0x13e08c,_0x3414cb,_0x46c72c){return _0x13e08c(_0x3414cb,_0x46c72c);},'vWkux':_0x1ee8d3(0x1d7),'wpsAF':'use','yIvIM':_0x1ee8d3(0x25b),'RYgHG':function(_0x15c426,_0x311921){return _0x15c426(_0x311921);},'HvsbX':function(_0xd78ad6,_0x3ee7a7){return _0xd78ad6===_0x3ee7a7;},'sgIkR':_0x1ee8d3(0x262),'AcAFb':_0x1ee8d3(0x22f),'GcktW':function(_0x3bf0e2,_0x4a86c5){return _0x3bf0e2(_0x4a86c5);},'krtQz':function(_0x5af62a,_0x41d1cd){return _0x5af62a+_0x41d1cd;},'EtNJt':_0x1ee8d3(0x20b),'CvkbL':function(_0x276cab){return _0x276cab();},'oNkDY':_0x1ee8d3(0x20d)},_0x51b70a=this;return _0x5b7417[_0x1ee8d3(0x22c)](o11yErrorHandler,async function _0x58f35d(_0x27048e,_0x4f377a,_0x3d6068=null){const _0x3e5c9a=_0x1ee8d3;let _0x557db1=_0x27048e[_0x3e5c9a(0x201)];const _0xe6c9e7=_0x27048e[_0x3e5c9a(0x24f)]();let _0x53145f=null,_0x3da16f=null,_0x1bb6c2=null,_0x238c6f=_0x5b7417[_0x3e5c9a(0x239)];if(_0x27048e['_connection']['isRemote']()||global[_0x3e5c9a(0x1f1)]){const _0x1d4650=_0x27048e[_0x3e5c9a(0x223)][_0x3e5c9a(0x1ee)]||_0x5b7417[_0x3e5c9a(0x22c)](nestedKeyValue,_0x4f377a,[_0x5b7417[_0x3e5c9a(0x266)],_0x5b7417[_0x3e5c9a(0x221)],_0x5b7417[_0x3e5c9a(0x252)]]),_0x13d7b8=_0x3d6068||_0x1d4650&&_0x1d4650[_0x3e5c9a(0x246)];_0x13d7b8&&(_0x238c6f=_0x5b7417[_0x3e5c9a(0x21b)](getCloudProviderFromWsEndpoint,_0x13d7b8),_0x5b7417[_0x3e5c9a(0x247)](_0x238c6f,_0x5b7417[_0x3e5c9a(0x1fd)])&&(_0x1bb6c2=_0x5b7417[_0x3e5c9a(0x210)],_0x557db1=_0x5b7417[_0x3e5c9a(0x255)](getBrowserFromWSEndpoint,_0x13d7b8)||_0x557db1,_0x53145f=_0x51b70a[_0x3e5c9a(0x1f2)]['platform'],_0x3da16f=_0x51b70a[_0x3e5c9a(0x1f2)][_0x3e5c9a(0x1ef)]));}else{_0x4f377a&&_0x4f377a[_0x3e5c9a(0x1d7)][_0x3e5c9a(0x21d)][_0x3e5c9a(0x1d5)]?_0x557db1=_0x5b7417[_0x3e5c9a(0x255)](getBrowserNameFromChannel,_0x4f377a['project'][_0x3e5c9a(0x21d)][_0x3e5c9a(0x1d5)]):_0x557db1=_0x5b7417[_0x3e5c9a(0x220)](_0x5b7417[_0x3e5c9a(0x204)],_0x557db1['toLowerCase']());const _0x1621a4=await _0x5b7417[_0x3e5c9a(0x1ed)](getPlatformDetails);_0x53145f=_0x1621a4['platformName'],_0x3da16f=_0x1621a4['platformVersion'];}const _0x36f6b8={};_0x36f6b8[_0x3e5c9a(0x20a)]=_0x557db1,_0x36f6b8[_0x3e5c9a(0x219)]=_0xe6c9e7,_0x36f6b8[_0x3e5c9a(0x208)]={},_0x36f6b8['platform']=_0x53145f,_0x36f6b8[_0x3e5c9a(0x1ef)]=_0x3da16f,_0x36f6b8[_0x3e5c9a(0x26a)]=_0x1bb6c2;const _0x1c8049=_0x36f6b8,_0x55e027={};_0x55e027[_0x3e5c9a(0x23d)]=_0x238c6f,_0x51b70a[_0x3e5c9a(0x1f2)]=Object[_0x3e5c9a(0x23e)]({},_0x51b70a[_0x3e5c9a(0x1f2)],_0x55e027,_0x1c8049);},_0x5b7417[_0x1ee8d3(0x21e)])(_0x3806d9,_0x71f21c,_0x19d775);}static[a41_0x5e7f00(0x1e5)](){const _0x7345da=a41_0x5e7f00;this[_0x7345da(0x26d)](),this[_0x7345da(0x22a)]();}static[a41_0x5e7f00(0x26d)](){const _0x35e923=a41_0x5e7f00,_0x5cfa03={'bIoAK':function(_0x3176ba,_0x171687,_0x1c05b9){return _0x3176ba(_0x171687,_0x1c05b9);},'EILvx':_0x35e923(0x233),'uuqKL':'testInfo','HjIgf':_0x35e923(0x20f),'hNlAg':function(_0x4482d5,_0x1acfa7,_0x4b5ef4){return _0x4482d5(_0x1acfa7,_0x4b5ef4);},'pClTB':_0x35e923(0x254),'kjCyc':_0x35e923(0x248),'zYGMe':function(_0x402b7c,_0x1ee8c4){return _0x402b7c===_0x1ee8c4;},'aFETH':_0x35e923(0x263),'SaxVw':function(_0x583fc4,_0x1dd90b,_0x56fa53,_0x167c25){return _0x583fc4(_0x1dd90b,_0x56fa53,_0x167c25);},'VbEbB':function(_0x49674b,_0x5074c2){return _0x49674b(_0x5074c2);},'HAfbf':function(_0x37294d,_0x29d51b){return _0x37294d(_0x29d51b);},'SXBev':_0x35e923(0x228),'fTmRl':_0x35e923(0x24a),'oxzta':_0x35e923(0x1fb),'EzYEv':function(_0x578021,_0x5d448f){return _0x578021(_0x5d448f);},'neXAu':_0x35e923(0x245),'JUNgd':function(_0x599296,_0x54f053){return _0x599296!=_0x54f053;},'JGxGx':function(_0x599a76){return _0x599a76();},'uUOMb':_0x35e923(0x1ea),'MYlnu':function(_0x1e76b4,_0x488c9e){return _0x1e76b4(_0x488c9e);},'Ukmgp':_0x35e923(0x224)},_0xc01f83=this;if(!this[_0x35e923(0x1f7)])try{const _0x5da7e8=path[_0x35e923(0x259)](_0x5cfa03[_0x35e923(0x1da)],_0x5cfa03[_0x35e923(0x226)],_0x5cfa03[_0x35e923(0x1fa)]),_0x3c15bb=_0x5cfa03[_0x35e923(0x26f)](importFileFromPWCore,_0x5da7e8);!_0x3c15bb?_0x5cfa03['HAfbf'](debug,_0x5cfa03[_0x35e923(0x269)]):this[_0x35e923(0x1f7)]=_0x3c15bb['Connection'];}catch(_0x237f71){_0x5cfa03['EzYEv'](debug,_0x35e923(0x1ec)+_0x237f71['toString']());}const _0xa914d8=this[_0x35e923(0x1f7)];try{if(_0x5cfa03[_0x35e923(0x23b)](_0xa914d8,null)){const _0x1d1ff0=_0xa914d8['prototype'][_0x35e923(0x224)],_0x1f3af2=_0xa914d8['prototype'][_0x35e923(0x1ea)];_0x5cfa03['JGxGx'](isAccessibilityAutomationSession)&&Object['defineProperty'](_0xa914d8[_0x35e923(0x23c)],_0x5cfa03['uUOMb'],{'get':function(){return async function(){const _0x4052ee=a41_0x4d97;try{if(!global[_0x4052ee(0x218)]&&global[_0x4052ee(0x1f1)]&&_0x5cfa03[_0x4052ee(0x251)](nestedKeyValue,global['__workerDetails'],[_0x5cfa03[_0x4052ee(0x25d)],_0x5cfa03[_0x4052ee(0x1f9)],_0x5cfa03[_0x4052ee(0x267)]])&&_0x5cfa03[_0x4052ee(0x251)](shouldScanTestForAccessibility,global[_0x4052ee(0x254)][_0x4052ee(0x233)]['testInfo'][_0x4052ee(0x20f)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x4052ee(0x25f)](_0x4052ee(0x24d)+arguments[0x1]),global[_0x4052ee(0x218)]=!![];const _0x4a1fcb=_0x5cfa03[_0x4052ee(0x24e)](nestedKeyValue,global,[_0x5cfa03[_0x4052ee(0x209)],_0x5cfa03['kjCyc']]),_0x162667={};_0x162667[_0x4052ee(0x238)]=arguments[0x1],_0x4a1fcb&&logger[_0x4052ee(0x25f)](util[_0x4052ee(0x1f6)](await AccessibilityHelper[_0x4052ee(0x260)](_0x4a1fcb,_0x162667)));if(_0x5cfa03[_0x4052ee(0x22d)](arguments[0x0][_0x4052ee(0x215)],_0x5cfa03[_0x4052ee(0x273)])&&global[_0x4052ee(0x22b)]){const _0x57b094={};_0x57b094['method']=arguments[0x1],await _0x5cfa03[_0x4052ee(0x24c)](browserStackExecuteDriver,global[_0x4052ee(0x22b)],scripts[_0x4052ee(0x260)],_0x57b094);}}}catch(_0x31e81a){logger[_0x4052ee(0x25f)](_0x4052ee(0x20c)+util[_0x4052ee(0x1f6)](_0x31e81a));}return global[_0x4052ee(0x218)]=![],_0x1f3af2[_0x4052ee(0x200)](this,arguments);};}}),!_0x5cfa03[_0x35e923(0x21c)](isFalse,process[_0x35e923(0x271)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0xa914d8['prototype'],_0x5cfa03[_0x35e923(0x205)],{'get':function(){return function _0x1f7194(_0x596f8b){const _0x472091=a41_0x4d97,_0x3e8635=_0x596f8b&&_0x596f8b['params']&&_0x596f8b[_0x472091(0x217)][_0x472091(0x235)];if(_0x3e8635){const _0x26be5f=_0x3e8635['sessionId'],_0x181a89=_0x3e8635['platformDetails'];_0x181a89&&(_0x5cfa03[_0x472091(0x1d6)](debug,_0x472091(0x253)+_0x181a89[_0x472091(0x202)]()),_0xc01f83[_0x472091(0x1f2)][_0x472091(0x1d8)]=_0x181a89[_0x472091(0x1df)],_0xc01f83[_0x472091(0x1f2)][_0x472091(0x1ef)]=_0x181a89[_0x472091(0x1e1)]),_0x26be5f&&(_0x5cfa03['HAfbf'](debug,_0x472091(0x231)+_0x26be5f),_0xc01f83[_0x472091(0x1f2)]['bsSessionId']=_0x26be5f);}return _0x1d1ff0[_0x472091(0x200)](this,arguments);};}});}}catch(_0x59bb49){_0x5cfa03[_0x35e923(0x21c)](debug,_0x35e923(0x23a)+_0x59bb49),_0xc01f83[_0x35e923(0x1e6)]=_0x59bb49[_0x35e923(0x202)]();}}static[a41_0x5e7f00(0x22a)](){const _0x3e4e0f=a41_0x5e7f00,_0x4f8fb5={'xpjHL':function(_0x285eb9,_0x444f65){return _0x285eb9(_0x444f65);},'kBjEl':function(_0x45261f,_0x3d445e){return _0x45261f(_0x3d445e);},'Fyfmg':function(_0x151265){return _0x151265();},'WsivQ':_0x3e4e0f(0x228),'kmhLv':'server','qNhPJ':_0x3e4e0f(0x1fe),'fdIaj':'crConnection.js','qtxZF':function(_0x993f50,_0x26e54f){return _0x993f50(_0x26e54f);},'fctSd':function(_0x17a88b,_0x155d0a){return _0x17a88b(_0x155d0a);},'HvLdk':_0x3e4e0f(0x229),'vlneX':_0x3e4e0f(0x1fc),'JHXSw':function(_0xf094a0,_0x12d1f7){return _0xf094a0!=_0x12d1f7;},'fgRjN':_0x3e4e0f(0x232)},_0x1df965=this;if(_0x4f8fb5[_0x3e4e0f(0x230)](isAccessibilityAutomationSession)){let _0x16a55d=null;try{const _0xd0f17=path[_0x3e4e0f(0x259)](_0x4f8fb5[_0x3e4e0f(0x237)],_0x4f8fb5[_0x3e4e0f(0x268)],_0x4f8fb5[_0x3e4e0f(0x26b)],_0x4f8fb5[_0x3e4e0f(0x1db)]),_0x1beb6a=_0x4f8fb5['qtxZF'](importFileFromPWCore,_0xd0f17);!_0x1beb6a?_0x4f8fb5[_0x3e4e0f(0x21a)](debug,_0x4f8fb5[_0x3e4e0f(0x25e)]):_0x16a55d=_0x1beb6a[_0x3e4e0f(0x249)];}catch(_0x157b4a){_0x4f8fb5[_0x3e4e0f(0x21a)](debug,_0x4f8fb5['vlneX']);}try{if(_0x4f8fb5[_0x3e4e0f(0x1dc)](_0x16a55d,null)){const _0x44cdeb=_0x16a55d[_0x3e4e0f(0x23c)][_0x3e4e0f(0x232)];Object['defineProperty'](_0x16a55d[_0x3e4e0f(0x23c)],_0x4f8fb5[_0x3e4e0f(0x244)],{'get':function(){return function _0x3b3c97(_0x516851){const _0x4fc6f5=a41_0x4d97;try{const _0x47362c=_0x516851[_0x4fc6f5(0x1eb)];if(_0x47362c){delete _0x516851['bStackParams'];const _0xce5011=_0x47362c['sessionId'],_0x442991=_0x47362c['platformDetails'];_0x442991&&(_0x4f8fb5[_0x4fc6f5(0x250)](debug,_0x4fc6f5(0x1ff)+_0x442991[_0x4fc6f5(0x202)]()),_0x1df965[_0x4fc6f5(0x1f2)][_0x4fc6f5(0x1d8)]=_0x442991[_0x4fc6f5(0x1df)],_0x1df965[_0x4fc6f5(0x1f2)][_0x4fc6f5(0x1ef)]=_0x442991[_0x4fc6f5(0x1e1)]),_0xce5011&&(_0x4f8fb5[_0x4fc6f5(0x20e)](debug,_0x4fc6f5(0x243)+_0xce5011),_0x1df965[_0x4fc6f5(0x1f2)]['bsSessionId']=_0xce5011);}}catch(_0xb053bc){_0x4f8fb5[_0x4fc6f5(0x20e)](debug,_0x4fc6f5(0x1f5)+_0xb053bc[_0x4fc6f5(0x202)]());}return _0x44cdeb[_0x4fc6f5(0x200)](this,arguments);};}});}}catch(_0x9ab6c9){_0x4f8fb5[_0x3e4e0f(0x264)](debug,_0x3e4e0f(0x22e)+_0x9ab6c9),_0x1df965['sessionError']=_0x9ab6c9[_0x3e4e0f(0x202)]();}}}static[a41_0x5e7f00(0x270)](){const _0x39ceb0=a41_0x5e7f00;return this[_0x39ceb0(0x1f2)];}}function a41_0x4965(){const _0x31a071=['safari','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','patch','sessionError','396ZHVmSd','browserstack.com','parse','sendMessageToServer','bStackParams','Error\x20in\x20importing\x20connection\x20','CvkbL','_defaultConnectOptions','platform_version','4kGAUcK','accessibilityPlatform','currentSessionDetails','winstonLogger','../../helpers/accessibility-automation/helper','Error\x20in\x20finding\x20platform\x20details\x20','format','Connection','exports','uuqKL','oxzta','connection.js','Error\x20in\x20importing\x20crConnection','sgIkR','chromium','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','apply','_name','toString','caps','EtNJt','Ukmgp','jFsTQ','mklwq','capabilities','pClTB','browser','playwright-','Failed\x20to\x20perform\x20scan\x20','setupBrowserDetails','kBjEl','titlePath','AcAFb','1208200HwsWXw','MFKIe','includes','83533lZHehw','_type','3173560whzxqD','params','bstackPerformA11yScan','browser_version','fctSd','RYgHG','MYlnu','use','oNkDY','gKqiL','krtQz','wpsAF','entries','_browserType','dispatch','1149355zDwEAD','fTmRl','browserName','lib','Not\x20able\x20to\x20import\x20crConnection','patchCRConnection','__driver','LwDne','zYGMe','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','automate','Fyfmg','Setting\x20session\x20id\x20received\x20from\x20BS\x20','_onMessage','currentTest','wUevW','bsParams','2bklnhS','WsivQ','method','XRFpd','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','JUNgd','prototype','cloudProvider','assign','unknown_grid','../../bin/playwright/accessibility-helper','../../helpers/accessibility-automation/scripts','../../helpers/test-observability/error-handler','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','fgRjN','Not\x20able\x20to\x20import\x20Connection','wsEndpoint','HvsbX','pwPage','CRConnection','client','RJsXA','SaxVw','Performing\x20scan\x20for\x20','hNlAg','version','xpjHL','bIoAK','yIvIM','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','__workerDetails','GcktW','12016fFAAPg','ELzdY','chrome','join','./accessibility-helper','connectOptions','local_grid','EILvx','HvLdk','debug','performScan','fNbqA','browserstack','Page','qtxZF','../../helpers/test-observability/utils','vWkux','HjIgf','kmhLv','neXAu','product','qNhPJ','../../helpers/logger','patchConnection','997986gKjkZU','EzYEv','getDetails','env','330819LGzqjZ','aFETH','channel','VbEbB','project','platform','query','SXBev','fdIaj','JHXSw','Ihyvs','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','platformName','../../helpers/helper','platformVersion','url'];a41_0x4965=function(){return _0x31a071;};return a41_0x4965();}module[a41_0x5e7f00(0x1f8)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a42_0x2742f8=a42_0x5ba2;(function(_0x3e9f09,_0x2779be){const _0x64b88f=a42_0x5ba2,_0x44597f=_0x3e9f09();while(!![]){try{const _0x90aed9=-parseInt(_0x64b88f(0x1c4))/0x1*(parseInt(_0x64b88f(0x1c7))/0x2)+parseInt(_0x64b88f(0x1c5))/0x3+-parseInt(_0x64b88f(0x1c1))/0x4+-parseInt(_0x64b88f(0x1fc))/0x5*(parseInt(_0x64b88f(0x1c6))/0x6)+-parseInt(_0x64b88f(0x1e6))/0x7*(-parseInt(_0x64b88f(0x1df))/0x8)+parseInt(_0x64b88f(0x1ff))/0x9*(-parseInt(_0x64b88f(0x1da))/0xa)+parseInt(_0x64b88f(0x1d0))/0xb;if(_0x90aed9===_0x2779be)break;else _0x44597f['push'](_0x44597f['shift']());}catch(_0x20cd27){_0x44597f['push'](_0x44597f['shift']());}}}(a42_0x117a,0x894e0));function a42_0x5ba2(_0x39c8a1,_0x55869e){const _0x117a59=a42_0x117a();return a42_0x5ba2=function(_0x5ba291,_0x23712a){_0x5ba291=_0x5ba291-0x195;let _0x4f5480=_0x117a59[_0x5ba291];return _0x4f5480;},a42_0x5ba2(_0x39c8a1,_0x55869e);}const fs=require('fs'),path=require(a42_0x2742f8(0x1dc)),util=require(a42_0x2742f8(0x1f9)),{performance}=require(a42_0x2742f8(0x200)),{requireModule}=require('../helpers/helper'),helper=require(a42_0x2742f8(0x1b5)),runIntegrations=require('./integrations/command'),captureError=async(_0x3222cb,_0x24185e,_0x9f5259=null)=>{const _0x2ede7f=a42_0x2742f8,_0x2c0b18={'zumRi':function(_0x3b66e7,_0x2b6b3f,_0x2a2a50){return _0x3b66e7(_0x2b6b3f,_0x2a2a50);},'iewKa':'SDKTestSuccessful'};try{await _0x2c0b18[_0x2ede7f(0x1e5)](_0x3222cb,_0x24185e,_0x9f5259);}catch(_0x4d6c5a){process[_0x2ede7f(0x1a8)]=0x1,logger[_0x2ede7f(0x195)](util[_0x2ede7f(0x1a3)](_0x4d6c5a));const _0x5e8c53={};_0x5e8c53[_0x2ede7f(0x1c2)]=_0x4d6c5a[_0x2ede7f(0x1d1)];const _0x168261=_0x5e8c53;if(helper[_0x2ede7f(0x1b6)](global['config'])&&helper[_0x2ede7f(0x1b6)](global[_0x2ede7f(0x1ca)]))return;try{helper[_0x2ede7f(0x197)](_0x2c0b18[_0x2ede7f(0x1ac)],_0x168261,global[_0x2ede7f(0x1a4)],global[_0x2ede7f(0x1ca)]);}catch(_0x4abae7){logger['debug'](_0x2ede7f(0x1e3)+_0x4abae7);}}};try{const browserstackFolderPath=path[a42_0x2742f8(0x1fe)](helper[a42_0x2742f8(0x1e8)](),'.browserstack');if(fs[a42_0x2742f8(0x19e)](browserstackFolderPath)){const filePath=path[a42_0x2742f8(0x1fe)](browserstackFolderPath,a42_0x2742f8(0x1db));fs[a42_0x2742f8(0x19e)](filePath)&&fs[a42_0x2742f8(0x1fd)](filePath);}}catch(a42_0x13251e){logger[a42_0x2742f8(0x1eb)](a42_0x2742f8(0x1f0)+a42_0x13251e[a42_0x2742f8(0x1d1)]);}process['argv']['includes'](a42_0x2742f8(0x1be))&&(!process['argv']['includes'](a42_0x2742f8(0x1cc))&&process[a42_0x2742f8(0x1ce)][a42_0x2742f8(0x1b8)](a42_0x2742f8(0x1b4)),!process[a42_0x2742f8(0x1ce)][a42_0x2742f8(0x1f3)](a42_0x2742f8(0x1e1))&&process[a42_0x2742f8(0x1ce)][a42_0x2742f8(0x1b8)](a42_0x2742f8(0x1d8)),!process[a42_0x2742f8(0x1ce)][a42_0x2742f8(0x1f3)](a42_0x2742f8(0x1cb))&&process[a42_0x2742f8(0x1ce)][a42_0x2742f8(0x1b8)](a42_0x2742f8(0x1d2)));const yargs=require(a42_0x2742f8(0x1f4)),Constants=require(a42_0x2742f8(0x1b7)),PerformanceTester=require(a42_0x2742f8(0x1c8)),logger=require(a42_0x2742f8(0x1a9))['winstonLogger'];PerformanceTester['startMonitoring'](),performance[a42_0x2742f8(0x1ad)](a42_0x2742f8(0x1a1));const a42_0x2201f7={};function a42_0x117a(){const _0x1e526b=['iewKa','mark','../../ats/src/index','./mocha/command','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','demandCommand','CcOiI','Parsing\x20command\x20line\x20arguements','--no-opts','../helpers/helper','isUndefined','./utils/constants','push','codeceptjs','UwdBV','HST','setBrowserStackAutomationDisable','slice','mocha','playwright','hDpSO','3241248WVnbUn','globalException','PIfxi','1zobtlg','937338wMmScb','3658686KPqUBJ','1945388jsQUoi','../helpers/performance-tester','./codeceptjs/command','framework','--package','--opts','usage','argv','handler','30704806BrzxrS','message','--no-package','VANILLA','dxyKZ','./vanilla-js/command','usage:\x20$0\x20<command>\x20[args]','Xmine','--no-config','VWHRz','100WIMgsJ','.local-not-set.json','path','dot-notation','mocha/lib/cli/run.js','120XZHAvu','help','--config','fAngL','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','tyykp','zumRi','122983iKMign','cMcbC','homedir','aFaOI','cucumber-js','debug','AGyko','yxTJC','./cucumber-js/command','lWsff','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./jest/command','NIGHTWATCH','includes','yargs','TwUEO','PLAYWRIGHT','nightwatch','CUCUMBER','util','URChx','JEST','5NUUwaR','unlinkSync','join','370926KuReet','perf_hooks','mocha/lib/cli/cli.js','INFO','tvqaZ','error','INTEGRATIONS','fireFunnelTestEvent','FCLqD','HELP','bMHMS','MOCHA','jest','VERSION','existsSync','command','showHelpOnFail','sdk:setup-start','UbpoO','format','config','alias','version','BMUAX','exitCode','../helpers/logger','CODECEPTJS','wrap'];a42_0x117a=function(){return _0x1e526b;};return a42_0x117a();}a42_0x2201f7[a42_0x2742f8(0x1dd)]=![];const argv=yargs['parserConfiguration'](a42_0x2201f7)[a42_0x2742f8(0x1cd)](a42_0x2742f8(0x1d6))[a42_0x2742f8(0x1a5)]('v',a42_0x2742f8(0x1a6))['describe']('v')[a42_0x2742f8(0x1a5)]('h',a42_0x2742f8(0x1e0))[a42_0x2742f8(0x1e0)](a42_0x2742f8(0x1e0))[a42_0x2742f8(0x1a0)](!![],Constants[a42_0x2742f8(0x19d)][a42_0x2742f8(0x199)])[a42_0x2742f8(0x19f)](a42_0x2742f8(0x19c),Constants[a42_0x2742f8(0x1fb)][a42_0x2742f8(0x202)],function(_0x5a9bd8){const _0xc09073=a42_0x2742f8,_0x1285ba={'uQwyC':function(_0x52b2a6,_0x145cdd,_0x12c3ab,_0x555f87){return _0x52b2a6(_0x145cdd,_0x12c3ab,_0x555f87);},'Xmine':function(_0x528396,_0x15ba67){return _0x528396(_0x15ba67);},'prXOO':_0xc09073(0x1f1)};helper['setTestObservabilityDisable'](),helper[_0xc09073(0x1bc)]();const _0x16ab8b=process[_0xc09073(0x1ce)]['slice'](0x2);return _0x1285ba['uQwyC'](captureError,_0x1285ba[_0xc09073(0x1d7)](require,_0x1285ba['prXOO']),_0x5a9bd8[_0xc09073(0x1ce)],_0x16ab8b);})[a42_0x2742f8(0x19f)](a42_0x2742f8(0x1be),Constants[a42_0x2742f8(0x19b)]['INFO'],_0x3e3d2e=>{const _0xd96a97=a42_0x2742f8,_0x5a1208={'xVVqS':function(_0x5948f5,_0x45eeb0,_0x42b4eb){return _0x5948f5(_0x45eeb0,_0x42b4eb);},'MtYtQ':function(_0x3bba34,_0x2be23f){return _0x3bba34(_0x2be23f);},'UbpoO':_0xd96a97(0x1af),'NIlmq':_0xd96a97(0x1b3),'tvqaZ':function(_0x1f5d07,_0x35270b){return _0x1f5d07(_0x35270b);},'yxTJC':_0xd96a97(0x1de),'AGyko':'mocha/lib/cli/commands.js','bMHMS':_0xd96a97(0x201),'MpNVf':function(_0x1d3abc){return _0x1d3abc();}};logger[_0xd96a97(0x1eb)](_0x5a1208['NIlmq']);const _0x143b7=_0x5a1208[_0xd96a97(0x203)](requireModule,_0x5a1208[_0xd96a97(0x1ed)]),_0x5edd44=_0x5a1208['tvqaZ'](requireModule,_0x5a1208[_0xd96a97(0x1ec)]);process['argv']=process['argv'][_0xd96a97(0x1bd)](0x1),delete _0x143b7[_0xd96a97(0x1cf)],_0x143b7['handler']=function(_0x4c4164){const _0x305a2e=_0xd96a97;return _0x5a1208['xVVqS'](captureError,_0x5a1208['MtYtQ'](require,_0x5a1208[_0x305a2e(0x1a2)]),_0x4c4164);},_0x5edd44['run']=_0x143b7;const {main:_0x4b558a}=_0x5a1208[_0xd96a97(0x203)](requireModule,_0x5a1208[_0xd96a97(0x19a)]);_0x5a1208['MpNVf'](_0x4b558a);})['command'](a42_0x2742f8(0x1ea),Constants[a42_0x2742f8(0x1f8)][a42_0x2742f8(0x202)],function(_0x7e626e){const _0x5f16b7=a42_0x2742f8,_0x428015={'UwdBV':function(_0x12e2ba,_0xc34b32,_0x1251d7,_0x1d2c93){return _0x12e2ba(_0xc34b32,_0x1251d7,_0x1d2c93);},'URChx':function(_0x1d1b0b,_0x776d5a){return _0x1d1b0b(_0x776d5a);},'VoqEw':_0x5f16b7(0x1ee)},_0x139a8f=process[_0x5f16b7(0x1ce)][_0x5f16b7(0x1bd)](0x2);return _0x428015[_0x5f16b7(0x1ba)](captureError,_0x428015[_0x5f16b7(0x1fa)](require,_0x428015['VoqEw']),_0x7e626e[_0x5f16b7(0x1ce)],_0x139a8f);})[a42_0x2742f8(0x19f)]('node',Constants[a42_0x2742f8(0x1d3)][a42_0x2742f8(0x202)],function(_0x2eef21){const _0x3e4727=a42_0x2742f8,_0x4ffe34={'PIfxi':function(_0x1c23dd,_0x4fef77,_0xa0f12c,_0x53588e){return _0x1c23dd(_0x4fef77,_0xa0f12c,_0x53588e);},'VWHRz':function(_0x4f8be6,_0x3df350){return _0x4f8be6(_0x3df350);},'BMUAX':_0x3e4727(0x1d5)},_0x267620=process['argv'][_0x3e4727(0x1bd)](0x2);return _0x4ffe34[_0x3e4727(0x1c3)](captureError,_0x4ffe34[_0x3e4727(0x1d9)](require,_0x4ffe34[_0x3e4727(0x1a7)]),_0x2eef21[_0x3e4727(0x1ce)],_0x267620);})['command'](a42_0x2742f8(0x1f7),Constants[a42_0x2742f8(0x1f2)][a42_0x2742f8(0x202)],function(_0x290746){const _0x3a6514=a42_0x2742f8,_0x442879={'TwUEO':function(_0x341e9b,_0x4bfe0e,_0x5cbdac,_0x1bc9fe){return _0x341e9b(_0x4bfe0e,_0x5cbdac,_0x1bc9fe);},'dxyKZ':function(_0xa08138,_0x4dae81){return _0xa08138(_0x4dae81);},'FCLqD':'./nightwatch/command'},_0x10e6d2=process[_0x3a6514(0x1ce)][_0x3a6514(0x1bd)](0x2);return _0x442879[_0x3a6514(0x1f5)](captureError,_0x442879[_0x3a6514(0x1d4)](require,_0x442879[_0x3a6514(0x198)]),_0x290746[_0x3a6514(0x1ce)],_0x10e6d2);})[a42_0x2742f8(0x19f)](a42_0x2742f8(0x1b9),Constants[a42_0x2742f8(0x1aa)]['INFO'],function(_0x3d0984){const _0x45e732=a42_0x2742f8,_0x534368={'cMcbC':function(_0x2e911f,_0x32fefd,_0x5d6fc1,_0x4d9c4f){return _0x2e911f(_0x32fefd,_0x5d6fc1,_0x4d9c4f);},'hDpSO':function(_0x21822b,_0x8b3950){return _0x21822b(_0x8b3950);},'lWsff':_0x45e732(0x1c9)},_0x10b69e=process[_0x45e732(0x1ce)]['slice'](0x2);return _0x534368[_0x45e732(0x1e7)](captureError,_0x534368[_0x45e732(0x1c0)](require,_0x534368[_0x45e732(0x1ef)]),_0x3d0984['argv'],_0x10b69e);})[a42_0x2742f8(0x19f)]('ats',Constants[a42_0x2742f8(0x1bb)][a42_0x2742f8(0x202)],function(_0x411b2e){const _0x2a4b3a=a42_0x2742f8,_0x595e7e={'fAngL':function(_0xb164c5,_0x135dbe,_0x51a068){return _0xb164c5(_0x135dbe,_0x51a068);},'aFaOI':function(_0x2ef35a,_0x1f09d2){return _0x2ef35a(_0x1f09d2);},'CcOiI':_0x2a4b3a(0x1ae)},_0x4cccc4=process['argv'][_0x2a4b3a(0x1bd)](0x2);return _0x595e7e[_0x2a4b3a(0x1e2)](captureError,_0x595e7e[_0x2a4b3a(0x1e9)](require,_0x595e7e[_0x2a4b3a(0x1b2)]),_0x411b2e);})[a42_0x2742f8(0x19f)]('integrations',Constants[a42_0x2742f8(0x196)][a42_0x2742f8(0x202)],function(_0x31ed21){const _0x2855e3=a42_0x2742f8,_0x33f567={'tyykp':function(_0x1b856b,_0x26d2fd){return _0x1b856b(_0x26d2fd);}};return _0x33f567[_0x2855e3(0x1e4)](runIntegrations,_0x31ed21);})[a42_0x2742f8(0x19f)](a42_0x2742f8(0x1bf),Constants[a42_0x2742f8(0x1f6)][a42_0x2742f8(0x202)],function(_0x24f9a9){const _0x1ff7cb=a42_0x2742f8,_0x1448c2={'heHfu':function(_0x25da11,_0x487a16,_0x3b41fd,_0x5a7851){return _0x25da11(_0x487a16,_0x3b41fd,_0x5a7851);},'WCDFa':function(_0x524f4f,_0x1ef61b){return _0x524f4f(_0x1ef61b);},'uhhyN':'./playwright/command'},_0x4dbac7=process[_0x1ff7cb(0x1ce)][_0x1ff7cb(0x1bd)](0x2);return _0x1448c2['heHfu'](captureError,_0x1448c2['WCDFa'](require,_0x1448c2['uhhyN']),_0x24f9a9['argv'],_0x4dbac7);})[a42_0x2742f8(0x1b1)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a42_0x2742f8(0x1ab)](null)[a42_0x2742f8(0x1ce)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a42_0x2742f8(0x195)](a42_0x2742f8(0x1b0));
|
|
2
|
+
'use strict';const a42_0x1287b6=a42_0x44ea;(function(_0x419e31,_0x2aba67){const _0x1affda=a42_0x44ea,_0x13eb38=_0x419e31();while(!![]){try{const _0x4ac038=parseInt(_0x1affda(0x207))/0x1*(parseInt(_0x1affda(0x22e))/0x2)+-parseInt(_0x1affda(0x224))/0x3+parseInt(_0x1affda(0x25a))/0x4+-parseInt(_0x1affda(0x23b))/0x5*(-parseInt(_0x1affda(0x23f))/0x6)+parseInt(_0x1affda(0x25e))/0x7*(parseInt(_0x1affda(0x23a))/0x8)+-parseInt(_0x1affda(0x225))/0x9*(-parseInt(_0x1affda(0x24a))/0xa)+-parseInt(_0x1affda(0x233))/0xb*(parseInt(_0x1affda(0x214))/0xc);if(_0x4ac038===_0x2aba67)break;else _0x13eb38['push'](_0x13eb38['shift']());}catch(_0x26198d){_0x13eb38['push'](_0x13eb38['shift']());}}}(a42_0x3950,0x21638));const fs=require('fs'),path=require(a42_0x1287b6(0x202)),util=require(a42_0x1287b6(0x203)),{performance}=require(a42_0x1287b6(0x216)),{requireModule}=require(a42_0x1287b6(0x220)),helper=require('../helpers/helper'),runIntegrations=require(a42_0x1287b6(0x1fb)),captureError=async(_0x562b07,_0x29be57,_0x3ac86e=null)=>{const _0x5d4045=a42_0x1287b6,_0x148eef={'rnOcF':function(_0x136e35,_0x314df4,_0x3a2dd2){return _0x136e35(_0x314df4,_0x3a2dd2);},'NxWrv':_0x5d4045(0x243)};try{await _0x148eef[_0x5d4045(0x22b)](_0x562b07,_0x29be57,_0x3ac86e);}catch(_0x505ac7){process[_0x5d4045(0x240)]=0x1,logger[_0x5d4045(0x250)](util[_0x5d4045(0x1f1)](_0x505ac7));const _0x16bba1={};_0x16bba1[_0x5d4045(0x212)]=_0x505ac7['message'];const _0x534e65=_0x16bba1;if(helper[_0x5d4045(0x221)](global[_0x5d4045(0x209)])&&helper[_0x5d4045(0x221)](global[_0x5d4045(0x218)]))return;try{helper[_0x5d4045(0x229)](_0x148eef['NxWrv'],_0x534e65,global[_0x5d4045(0x209)],global[_0x5d4045(0x218)]);}catch(_0x11c35d){logger['debug'](_0x5d4045(0x21d)+_0x11c35d);}}};try{const browserstackFolderPath=path[a42_0x1287b6(0x1f4)](helper[a42_0x1287b6(0x1fc)](),'.browserstack');if(fs[a42_0x1287b6(0x236)](browserstackFolderPath)){const filePath=path[a42_0x1287b6(0x1f4)](browserstackFolderPath,a42_0x1287b6(0x205));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a42_0x2ff432){logger[a42_0x1287b6(0x22d)](a42_0x1287b6(0x213)+a42_0x2ff432['message']);}process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)](a42_0x1287b6(0x257))&&(!process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)]('--opts')&&process[a42_0x1287b6(0x249)][a42_0x1287b6(0x258)]('--no-opts'),!process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)](a42_0x1287b6(0x201))&&process[a42_0x1287b6(0x249)][a42_0x1287b6(0x258)](a42_0x1287b6(0x215)),!process[a42_0x1287b6(0x249)][a42_0x1287b6(0x24e)](a42_0x1287b6(0x24f))&&process[a42_0x1287b6(0x249)][a42_0x1287b6(0x258)](a42_0x1287b6(0x256)));const yargs=require(a42_0x1287b6(0x252)),Constants=require('./utils/constants'),PerformanceTester=require(a42_0x1287b6(0x222)),logger=require(a42_0x1287b6(0x22a))[a42_0x1287b6(0x23d)];PerformanceTester[a42_0x1287b6(0x24b)](),performance[a42_0x1287b6(0x21e)](a42_0x1287b6(0x25f));const a42_0xe0d3b3={};a42_0xe0d3b3[a42_0x1287b6(0x20a)]=![];const argv=yargs['parserConfiguration'](a42_0xe0d3b3)[a42_0x1287b6(0x21b)](a42_0x1287b6(0x223))['alias']('v',a42_0x1287b6(0x241))[a42_0x1287b6(0x235)]('v')['alias']('h','help')[a42_0x1287b6(0x238)](a42_0x1287b6(0x238))['showHelpOnFail'](!![],Constants['VERSION'][a42_0x1287b6(0x211)])[a42_0x1287b6(0x206)](a42_0x1287b6(0x254),Constants[a42_0x1287b6(0x251)][a42_0x1287b6(0x1f8)],function(_0x1501be){const _0x2b6ab4=a42_0x1287b6,_0xfded61={'WRqvo':function(_0x42465a,_0x1d2abc,_0x4676e3,_0x156a1b){return _0x42465a(_0x1d2abc,_0x4676e3,_0x156a1b);},'uMICL':function(_0xec6024,_0x33a3ca){return _0xec6024(_0x33a3ca);},'zcJWr':_0x2b6ab4(0x230)};helper[_0x2b6ab4(0x1f3)](),helper[_0x2b6ab4(0x24c)]();const _0x319436=process[_0x2b6ab4(0x249)][_0x2b6ab4(0x23e)](0x2);return _0xfded61[_0x2b6ab4(0x244)](captureError,_0xfded61[_0x2b6ab4(0x200)](require,_0xfded61[_0x2b6ab4(0x219)]),_0x1501be[_0x2b6ab4(0x249)],_0x319436);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x257),Constants[a42_0x1287b6(0x21f)][a42_0x1287b6(0x1f8)],_0x3b0aa3=>{const _0x14aba0=a42_0x1287b6,_0x3724e6={'ODHWR':function(_0x1ceec6,_0x14be9b,_0x3a15ef){return _0x1ceec6(_0x14be9b,_0x3a15ef);},'ILRvA':function(_0x5e4ff3,_0x315ec4){return _0x5e4ff3(_0x315ec4);},'miahl':_0x14aba0(0x1f2),'Qxykp':_0x14aba0(0x1ff),'ZAcDd':function(_0x1a408f,_0x71e93d){return _0x1a408f(_0x71e93d);},'KgXMI':_0x14aba0(0x226),'pJMEK':function(_0x3d6861,_0x73211b){return _0x3d6861(_0x73211b);},'KKbOA':_0x14aba0(0x25c),'QPyOE':function(_0xec401e,_0x24c432){return _0xec401e(_0x24c432);},'RPFyh':_0x14aba0(0x1f7),'snBcZ':function(_0x2a0b4e){return _0x2a0b4e();}};logger[_0x14aba0(0x22d)](_0x3724e6[_0x14aba0(0x1f6)]);const _0x581d06=_0x3724e6[_0x14aba0(0x20c)](requireModule,_0x3724e6[_0x14aba0(0x242)]),_0x53e17c=_0x3724e6['pJMEK'](requireModule,_0x3724e6['KKbOA']);process['argv']=process[_0x14aba0(0x249)][_0x14aba0(0x23e)](0x1),delete _0x581d06['handler'],_0x581d06[_0x14aba0(0x21a)]=function(_0x3801d2){const _0x5e46db=_0x14aba0;return _0x3724e6[_0x5e46db(0x21c)](captureError,_0x3724e6['ILRvA'](require,_0x3724e6[_0x5e46db(0x260)]),_0x3801d2);},_0x53e17c['run']=_0x581d06;const {main:_0x31f292}=_0x3724e6['QPyOE'](requireModule,_0x3724e6[_0x14aba0(0x248)]);_0x3724e6['snBcZ'](_0x31f292);})['command']('cucumber-js',Constants['CUCUMBER'][a42_0x1287b6(0x1f8)],function(_0x4a616d){const _0x1b4b8d=a42_0x1287b6,_0x4eb2a9={'iUWPK':function(_0x1892ee,_0x344ab1,_0xea49b0,_0x121c1e){return _0x1892ee(_0x344ab1,_0xea49b0,_0x121c1e);},'jBhMh':function(_0x4bc4e2,_0x484b0c){return _0x4bc4e2(_0x484b0c);},'sAwHv':'./cucumber-js/command'},_0x1deca1=process['argv'][_0x1b4b8d(0x23e)](0x2);return _0x4eb2a9['iUWPK'](captureError,_0x4eb2a9['jBhMh'](require,_0x4eb2a9[_0x1b4b8d(0x20b)]),_0x4a616d[_0x1b4b8d(0x249)],_0x1deca1);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x239),Constants[a42_0x1287b6(0x255)][a42_0x1287b6(0x1f8)],function(_0x291867){const _0x168f2a=a42_0x1287b6,_0x306f7e={'izHRH':function(_0x58dbc2,_0x54624b,_0x2bd16e,_0xa0a76c){return _0x58dbc2(_0x54624b,_0x2bd16e,_0xa0a76c);},'Pwjjx':function(_0x5822ff,_0x3328ef){return _0x5822ff(_0x3328ef);},'jFHiQ':_0x168f2a(0x1fa)},_0x3bc003=process['argv'][_0x168f2a(0x23e)](0x2);return _0x306f7e[_0x168f2a(0x23c)](captureError,_0x306f7e[_0x168f2a(0x245)](require,_0x306f7e[_0x168f2a(0x204)]),_0x291867['argv'],_0x3bc003);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x217),Constants[a42_0x1287b6(0x247)][a42_0x1287b6(0x1f8)],function(_0x1fed6b){const _0x4c685e=a42_0x1287b6,_0x202a6e={'ekPvU':function(_0x924bb3,_0x3c34bb,_0x32320e,_0x39f68d){return _0x924bb3(_0x3c34bb,_0x32320e,_0x39f68d);},'Qzhyn':function(_0x1b9b06,_0x16a7d3){return _0x1b9b06(_0x16a7d3);},'hFdHO':_0x4c685e(0x20f)},_0x35460c=process['argv'][_0x4c685e(0x23e)](0x2);return _0x202a6e['ekPvU'](captureError,_0x202a6e[_0x4c685e(0x237)](require,_0x202a6e[_0x4c685e(0x25b)]),_0x1fed6b[_0x4c685e(0x249)],_0x35460c);})['command'](a42_0x1287b6(0x259),Constants[a42_0x1287b6(0x20d)][a42_0x1287b6(0x1f8)],function(_0x3641c6){const _0x1b7481=a42_0x1287b6,_0x13452a={'GBTZV':function(_0x3929ff,_0xc269f3,_0x47f61d,_0x4b0d39){return _0x3929ff(_0xc269f3,_0x47f61d,_0x4b0d39);},'IXFlB':function(_0x4e80c0,_0x4513e3){return _0x4e80c0(_0x4513e3);},'pGdWx':_0x1b7481(0x232)},_0x32b56a=process[_0x1b7481(0x249)][_0x1b7481(0x23e)](0x2);return _0x13452a[_0x1b7481(0x253)](captureError,_0x13452a['IXFlB'](require,_0x13452a['pGdWx']),_0x3641c6[_0x1b7481(0x249)],_0x32b56a);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x231),Constants[a42_0x1287b6(0x1f5)][a42_0x1287b6(0x1f8)],function(_0x554c4e){const _0x590b93=a42_0x1287b6,_0x27fa0e={'yObOC':function(_0x3e77d4,_0x39f98a,_0x3bd9e1){return _0x3e77d4(_0x39f98a,_0x3bd9e1);},'RqrBi':function(_0x457939,_0x2063b0){return _0x457939(_0x2063b0);},'lDLpt':_0x590b93(0x25d)},_0x4d342a=process[_0x590b93(0x249)][_0x590b93(0x23e)](0x2);return _0x27fa0e[_0x590b93(0x208)](captureError,_0x27fa0e[_0x590b93(0x210)](require,_0x27fa0e[_0x590b93(0x246)]),_0x554c4e);})[a42_0x1287b6(0x206)](a42_0x1287b6(0x234),Constants[a42_0x1287b6(0x1fd)]['INFO'],function(_0x309336){const _0x24d4c1=a42_0x1287b6,_0x2896bc={'GpjPG':function(_0x1912e9,_0x373ad8){return _0x1912e9(_0x373ad8);}};return _0x2896bc[_0x24d4c1(0x1fe)](runIntegrations,_0x309336);})['command'](a42_0x1287b6(0x228),Constants[a42_0x1287b6(0x22c)]['INFO'],function(_0x5b9396){const _0x41aa36=a42_0x1287b6,_0x38cbcd={'NVGFJ':function(_0x57d434,_0x32c72f,_0x5cdf5c,_0x3b335e){return _0x57d434(_0x32c72f,_0x5cdf5c,_0x3b335e);},'ysYoM':function(_0x11e6be,_0x4a3be1){return _0x11e6be(_0x4a3be1);},'xbbhI':'./playwright/command'},_0x34fb51=process[_0x41aa36(0x249)]['slice'](0x2);return _0x38cbcd[_0x41aa36(0x22f)](captureError,_0x38cbcd[_0x41aa36(0x20e)](require,_0x38cbcd[_0x41aa36(0x227)]),_0x5b9396[_0x41aa36(0x249)],_0x34fb51);})[a42_0x1287b6(0x1f9)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a42_0x1287b6(0x24d)](null)[a42_0x1287b6(0x249)];function a42_0x3950(){const _0xed4bdb=['miahl','format','./mocha/command','setTestObservabilityDisable','join','HST','Qxykp','mocha/lib/cli/cli.js','INFO','demandCommand','./vanilla-js/command','./integrations/command','homedir','INTEGRATIONS','GpjPG','Parsing\x20command\x20line\x20arguements','uMICL','--config','path','util','jFHiQ','.local-not-set.json','command','1kBtktK','yObOC','config','dot-notation','sAwHv','ZAcDd','CODECEPTJS','ysYoM','./nightwatch/command','RqrBi','HELP','globalException','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','375324dMbMVF','--no-config','perf_hooks','nightwatch','framework','zcJWr','handler','usage','ODHWR','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','mark','MOCHA','../helpers/helper','isUndefined','../helpers/performance-tester','usage:\x20$0\x20<command>\x20[args]','456063klSHnA','351ztwCEt','mocha/lib/cli/run.js','xbbhI','playwright','fireFunnelTestEvent','../helpers/logger','rnOcF','PLAYWRIGHT','debug','543106lOugqD','NVGFJ','./jest/command','ats','./codeceptjs/command','154FJyBfS','integrations','describe','existsSync','Qzhyn','help','node','8svaXpy','495bRZJoX','izHRH','winstonLogger','slice','516bjnRer','exitCode','version','KgXMI','SDKTestSuccessful','WRqvo','Pwjjx','lDLpt','NIGHTWATCH','RPFyh','argv','33070yoTTls','startMonitoring','setBrowserStackAutomationDisable','wrap','includes','--package','error','JEST','yargs','GBTZV','jest','VANILLA','--no-package','mocha','push','codeceptjs','811144QgJXEG','hFdHO','mocha/lib/cli/commands.js','../../ats/src/index','803831WxkhAt','sdk:setup-start'];a42_0x3950=function(){return _0xed4bdb;};return a42_0x3950();}function a42_0x44ea(_0x59d1d2,_0x1f2009){const _0x39506d=a42_0x3950();return a42_0x44ea=function(_0x44ea23,_0xd92ee9){_0x44ea23=_0x44ea23-0x1f1;let _0x138e3d=_0x39506d[_0x44ea23];return _0x138e3d;},a42_0x44ea(_0x59d1d2,_0x1f2009);}!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a42_0x1287b6(0x250)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a43_0x272fa3=a43_0x5ac0;(function(_0x526233,_0x3d9428){const _0x5582c2=a43_0x5ac0,_0x5f1a13=_0x526233();while(!![]){try{const _0x4f8e20=-parseInt(_0x5582c2(0x1c1))/0x1*(parseInt(_0x5582c2(0x1d4))/0x2)+-parseInt(_0x5582c2(0x1f4))/0x3*(parseInt(_0x5582c2(0x1ee))/0x4)+parseInt(_0x5582c2(0x1e5))/0x5+-parseInt(_0x5582c2(0x1af))/0x6+parseInt(_0x5582c2(0x1e6))/0x7+-parseInt(_0x5582c2(0x1c8))/0x8*(-parseInt(_0x5582c2(0x1cf))/0x9)+-parseInt(_0x5582c2(0x1c4))/0xa;if(_0x4f8e20===_0x3d9428)break;else _0x5f1a13['push'](_0x5f1a13['shift']());}catch(_0x3cc919){_0x5f1a13['push'](_0x5f1a13['shift']());}}}(a43_0x45c3,0xcbca5));function a43_0x45c3(){const _0x5a3fb1=['browserstack-node-sdk\x20','uixdt','includes','55305LXkrRV','-browserstack','uuyzL','splice','pUEBW','275524ufCYVE','Setup\x20completed','asAzE','KoaGX','stringify','Vsqgg','length','YOUR_ACCESS_KEY','playwright','mocha','xOVOL','/../../browserstack.yml.sample','node','isUndefined','browserstack-node-sdk','indexOf','readFileSync','6118640zHflfk','10327191LEqcFZ','nightwatch','entries','JrcYd','cucumber-js','argv','split','emZWr','4lcktbq','postinstall','Adding\x20new\x20script(s)\x20in\x20package.json...','/package.json','UKUNR','SDKSetup','4897119WrzuPn','jest','VDMqD','info','hMxlk','source','cwd','2605740QuTlvZ','MGlns','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','utf8','../helpers/logger','username','../helpers/helper','js-yaml','debug','naCPT','push','replace','YOUR_USERNAME','\x20&&\x20npm\x20update\x20browserstack-node-sdk','/../../browserstack.pw.yml.sample','winstonLogger','TfDBE','writeFileSync','9cjNmcZ','key','vrtNQ','2108000AcKBPy','parse','fireFunnelTestEvent','yargs','2152elwjSc','error','node-setup','scripts'];a43_0x45c3=function(){return _0x5a3fb1;};return a43_0x45c3();}const fs=require('fs'),helper=require(a43_0x272fa3(0x1b5)),yaml=require(a43_0x272fa3(0x1b6)),yargs=require(a43_0x272fa3(0x1c7)),logger=require(a43_0x272fa3(0x1b3))[a43_0x272fa3(0x1be)],configFileTemplate=__dirname+a43_0x272fa3(0x1df),configFileTemplatePW=__dirname+a43_0x272fa3(0x1bd),configFile=process['cwd']()+'/browserstack.yml',packageFile=process[a43_0x272fa3(0x1ae)]()+a43_0x272fa3(0x1f1),frameworks=[a43_0x272fa3(0x1dd),a43_0x272fa3(0x1f5),a43_0x272fa3(0x1ea),a43_0x272fa3(0x1e0),a43_0x272fa3(0x1e7),'codeceptjs','playwright'];let config;logger[a43_0x272fa3(0x1ab)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a43_0x272fa3(0x1eb)][a43_0x272fa3(0x1b4)],yargs[a43_0x272fa3(0x1eb)][a43_0x272fa3(0x1c2)],yargs[a43_0x272fa3(0x1eb)][a43_0x272fa3(0x1dc)]);try{sdkSetup();}catch(a43_0x332726){logger[a43_0x272fa3(0x1b7)](a43_0x272fa3(0x1b1)+a43_0x332726);}addScriptInPackageJson();function createConfigurationFile(_0x463648,_0x335fc8,_0x4de6ad=![]){const _0x4d0383=a43_0x272fa3,_0x5ed41d={};_0x5ed41d[_0x4d0383(0x1cd)]=_0x4d0383(0x1b2),_0x5ed41d[_0x4d0383(0x1d1)]=_0x4d0383(0x1bb),_0x5ed41d[_0x4d0383(0x1d9)]=_0x4d0383(0x1db);const _0x2b2a0b=_0x5ed41d;try{let _0x58e694=fs[_0x4d0383(0x1e4)](_0x4de6ad?configFileTemplatePW:configFileTemplate,_0x2b2a0b[_0x4d0383(0x1cd)]);_0x463648&&(_0x58e694=_0x58e694[_0x4d0383(0x1ba)](_0x2b2a0b[_0x4d0383(0x1d1)],_0x463648)),_0x335fc8&&(_0x58e694=_0x58e694[_0x4d0383(0x1ba)](_0x2b2a0b[_0x4d0383(0x1d9)],_0x335fc8)),config=yaml['load'](_0x58e694),fs[_0x4d0383(0x1c0)](configFile,_0x58e694,_0x2ea697=>{const _0x11bb17=_0x4d0383;_0x2ea697&&logger[_0x11bb17(0x1c9)](_0x2ea697);});}catch(_0x3971a9){logger['error'](_0x3971a9);}}function a43_0x5ac0(_0xed62de,_0x5f22e4){const _0x45c38a=a43_0x45c3();return a43_0x5ac0=function(_0x5ac066,_0x4b6647){_0x5ac066=_0x5ac066-0x1ab;let _0x5ae26b=_0x45c38a[_0x5ac066];return _0x5ae26b;},a43_0x5ac0(_0xed62de,_0x5f22e4);}function addPostInstallScript(_0x5d1283,_0x2821e4){const _0x24205f=a43_0x272fa3,_0x23d74d={};_0x23d74d[_0x24205f(0x1b0)]=_0x24205f(0x1ef),_0x23d74d[_0x24205f(0x1f6)]='npm\x20update\x20browserstack-node-sdk',_0x23d74d['hMxlk']=_0x24205f(0x1bc);const _0x32193c=_0x23d74d;let _0xec7d6f=_0x5d1283[_0x32193c[_0x24205f(0x1b0)]];if(_0xec7d6f&&_0xec7d6f[_0x24205f(0x1ce)](_0x32193c[_0x24205f(0x1f6)]))return;!_0xec7d6f?_0xec7d6f=_0x32193c[_0x24205f(0x1f6)]:_0xec7d6f+=_0x32193c[_0x24205f(0x1ac)],_0x2821e4[_0x24205f(0x1b9)]([_0x32193c['MGlns'],_0xec7d6f]);}function addScriptInPackageJson(){const _0x18b6bf=a43_0x272fa3,_0x2eba4e={'dPGiu':_0x18b6bf(0x1b2),'vrtNQ':function(_0x429025,_0x27de62){return _0x429025<_0x27de62;},'pUEBW':function(_0xf07c4f,_0x52cc3b,_0x2345cb){return _0xf07c4f(_0x52cc3b,_0x2345cb);},'WDglP':function(_0x2e1cc5,_0x4f8ffd,_0x924809){return _0x2e1cc5(_0x4f8ffd,_0x924809);},'UKUNR':function(_0x304f8a,_0x36e08f){return _0x304f8a!==_0x36e08f;},'naCPT':_0x18b6bf(0x1f0)},_0x109649=JSON[_0x18b6bf(0x1c5)](fs[_0x18b6bf(0x1e4)](packageFile,_0x2eba4e['dPGiu'])),_0x5d6371=[];for(let _0x501103=0x0;_0x2eba4e[_0x18b6bf(0x1c3)](_0x501103,frameworks['length']);_0x501103+=0x1){const _0x30a71e=_0x2eba4e[_0x18b6bf(0x1d3)](findScriptsWithFramework,_0x109649['scripts'],frameworks[_0x501103]);for(let _0x4b04cf=0x0;_0x2eba4e[_0x18b6bf(0x1c3)](_0x4b04cf,_0x30a71e[_0x18b6bf(0x1da)]);_0x4b04cf+=0x1){_0x5d6371['push'](_0x2eba4e['WDglP'](getUpdatedCommand,_0x109649['scripts'],_0x30a71e[_0x4b04cf]));}_0x2eba4e[_0x18b6bf(0x1d3)](addPostInstallScript,_0x109649[_0x18b6bf(0x1cb)],_0x5d6371);}const _0x1e5eb6={..._0x109649['scripts']},_0x55b398=_0x1e5eb6;for(let _0x5098e0=0x0;_0x2eba4e[_0x18b6bf(0x1c3)](_0x5098e0,_0x5d6371[_0x18b6bf(0x1da)]);_0x5098e0+=0x1){_0x55b398[_0x5d6371[_0x5098e0][0x0]]=_0x5d6371[_0x5098e0][0x1];}_0x2eba4e[_0x18b6bf(0x1f2)](JSON['stringify'](_0x109649['scripts']),JSON['stringify'](_0x55b398))&&(logger[_0x18b6bf(0x1ab)](_0x2eba4e[_0x18b6bf(0x1b8)]),_0x109649[_0x18b6bf(0x1cb)]=_0x55b398,fs['writeFileSync'](packageFile,JSON[_0x18b6bf(0x1d8)](_0x109649,null,0x2),_0x3202c6=>{const _0x5e0540=_0x18b6bf;_0x3202c6&&logger[_0x5e0540(0x1c9)](_0x3202c6);}));};function findScriptsWithFramework(_0x4d8b70,_0x49e055){const _0x1431c2=a43_0x272fa3,_0x170fdf={};_0x170fdf[_0x1431c2(0x1d6)]=function(_0x24b032,_0x5b59fe){return _0x24b032<_0x5b59fe;},_0x170fdf[_0x1431c2(0x1ed)]=_0x1431c2(0x1e2);const _0x1bc19a=_0x170fdf,_0x55d800=[],_0x5b3731=Object[_0x1431c2(0x1e8)](_0x4d8b70);for(let _0x59f167=0x0;_0x1bc19a['asAzE'](_0x59f167,_0x5b3731[_0x1431c2(0x1da)]);_0x59f167+=0x1){_0x5b3731[_0x59f167][0x1][_0x1431c2(0x1ce)](_0x49e055)&&!_0x5b3731[_0x59f167][0x1]['includes'](_0x1bc19a[_0x1431c2(0x1ed)])&&_0x55d800['push'](_0x5b3731[_0x59f167][0x0]);}return _0x55d800;}function getUpdatedCommand(_0x35272d,_0x39415b){const _0x48f7e8=a43_0x272fa3,_0x7173e7={};_0x7173e7['Ybkas']=function(_0x5e5538,_0x3e42f7){return _0x5e5538!==_0x3e42f7;},_0x7173e7[_0x48f7e8(0x1de)]=_0x48f7e8(0x1e2),_0x7173e7['JrcYd']=function(_0x1480f8,_0x3430da){return _0x1480f8===_0x3430da;};const _0x2de8ea=_0x7173e7,_0x1d3189=_0x39415b+_0x48f7e8(0x1d0),_0x414c13=_0x35272d[_0x39415b],_0x45ec40=_0x414c13[_0x48f7e8(0x1ec)]('\x20');for(const _0x3ee4fb of frameworks){if(_0x2de8ea['Ybkas'](_0x45ec40[_0x48f7e8(0x1e3)](_0x3ee4fb),-0x1)){_0x45ec40[_0x48f7e8(0x1d2)](_0x45ec40['indexOf'](_0x3ee4fb),0x0,_0x2de8ea[_0x48f7e8(0x1de)]);break;}}let _0x206589=_0x45ec40['join']('\x20');return _0x2de8ea[_0x48f7e8(0x1e9)](_0x206589,_0x414c13)&&(_0x206589=_0x48f7e8(0x1cc)+_0x414c13),[_0x1d3189,_0x206589];}function sdkSetup(){const _0x2c504a=a43_0x272fa3,_0x2e48db={};_0x2e48db[_0x2c504a(0x1bf)]=_0x2c504a(0x1ca),_0x2e48db[_0x2c504a(0x1d7)]=_0x2c504a(0x1f3);const _0x141fb3=_0x2e48db;if(helper[_0x2c504a(0x1e1)](config))return;config[_0x2c504a(0x1ad)]=_0x141fb3['TfDBE'];try{helper[_0x2c504a(0x1c6)](_0x141fb3['KoaGX'],{},config,'');}catch(_0x1ac9f2){logger[_0x2c504a(0x1b7)](_0x2c504a(0x1b1)+_0x1ac9f2);}}logger[a43_0x272fa3(0x1ab)](a43_0x272fa3(0x1d5));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a44_0xf95c(){const _0x3e792b=['LaGCm','FwsjL','478900dsspEs','KFImd','platform','log','debug','Worker','241738tWcnta','bWccj','getWorkers','../../helpers/test-observability/sessionHandler','p-limit','SZHnN','yfkux','89340SDJAcQ','32720PEosMy','platform-run-failure','jest-worker','vENzA','ZqROV','pipe','vvjFs','all','test-file-failure','stderr','lHKHD','getStdout','KQYWy','muIEk','../../helpers/accessibility-automation/helper','vanillaWorker','../../helpers/test-observability/utils','platform-run-start','eGPWW','IPzla','waitForExit','52952xHyQwK','failureCount','emittery','launchBuild','fRBEw','end','map','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','./testWorker.js','kwSeE','SiIdH','ybAoA','send','ugvQd','336zDwiOD','resolve','platform-run-success','getStderr','json','cucumberWorker','ontQx','parallelTestRun','pztRI','gFGGE','Workers\x20failed\x20to\x20exit\x20gracefully','SFYYq','winstonLogger','Jdfbu','info','SbjIC','parallelCucumberRun','hUQSS','test-file-success','cgPaz','fFXgQ','BMrvU','length','config','parallelVanillaRun','vcxCk','error','5719fENXBx','YVhgh','results','_workerPool','mLZJE','push','configuration','stdout','gUvOl','MOCHA','forEach','\x20for','exitCode','emit','then','_child','../../helpers/testhub/testhubHandler','JUIYq','lOwAP','369IfDnkI','../../helpers/test-observability/constants','yYyOx','24ujXZqT','REbOH','298768RmgJJp'];a44_0xf95c=function(){return _0x3e792b;};return a44_0xf95c();}const a44_0x495e45=a44_0x2a6c;(function(_0x50fdf,_0x10b2d4){const _0x2301fc=a44_0x2a6c,_0x2de364=_0x50fdf();while(!![]){try{const _0x38d7f8=-parseInt(_0x2301fc(0x14e))/0x1+parseInt(_0x2301fc(0x16b))/0x2*(parseInt(_0x2301fc(0x143))/0x3)+-parseInt(_0x2301fc(0x148))/0x4+-parseInt(_0x2301fc(0x156))/0x5+parseInt(_0x2301fc(0x179))/0x6*(-parseInt(_0x2301fc(0x194))/0x7)+-parseInt(_0x2301fc(0x145))/0x8+parseInt(_0x2301fc(0x140))/0x9*(parseInt(_0x2301fc(0x155))/0xa);if(_0x38d7f8===_0x10b2d4)break;else _0x2de364['push'](_0x2de364['shift']());}catch(_0xc4fb04){_0x2de364['push'](_0x2de364['shift']());}}}(a44_0xf95c,0x1f015));const Worker=require(a44_0x495e45(0x158))[a44_0x495e45(0x14d)],Emittery=require(a44_0x495e45(0x16d)),pLimit=require(a44_0x495e45(0x152)),util=require('util'),logger=require('../../helpers/logger')[a44_0x495e45(0x185)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a44_0x495e45(0x164)),SessionHandler=require(a44_0x495e45(0x151)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a44_0x495e45(0x166)),TestHubHandler=require(a44_0x495e45(0x13d)),{FRAMEWORKS}=require(a44_0x495e45(0x141)),checkAccessibility=_0x5c237c=>{const _0x5133d8=a44_0x495e45,_0x417e58={};_0x417e58['FwsjL']=function(_0x152408,_0x40ac91){return _0x152408===_0x40ac91;};const _0x5c29c1=_0x417e58;let _0x318c32=![];try{_0x5c237c['platforms'][_0x5133d8(0x137)](_0x17e668=>{const _0x55eb35=_0x5133d8;if(_0x5c29c1[_0x55eb35(0x147)](_0x17e668['accessibility'],!![]))return _0x318c32=!![],!![];});}catch(_0x3530a0){logger[_0x5133d8(0x14c)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x3530a0);}return _0x318c32;};function a44_0x2a6c(_0x24cb80,_0x24cccf){const _0xf95c1=a44_0xf95c();return a44_0x2a6c=function(_0x2a6c1f,_0x44b1b0){_0x2a6c1f=_0x2a6c1f-0x133;let _0x50df75=_0xf95c1[_0x2a6c1f];return _0x50df75;},a44_0x2a6c(_0x24cb80,_0x24cccf);}exports[a44_0x495e45(0x180)]=(_0x1df278,_0x3b2ff8,_0x4a60a8)=>new Promise(async _0x255e4e=>{const _0x2f8d25=a44_0x495e45,_0x33cbbf={'bWccj':_0x2f8d25(0x16c),'KFImd':function(_0x1d6ced,_0x258bc3){return _0x1d6ced+_0x258bc3;},'gFGGE':_0x2f8d25(0x196),'ugvQd':'Workers\x20failed\x20to\x20exit\x20gracefully','vvjFs':function(_0x73ed33,_0x296ed5){return _0x73ed33(_0x296ed5);},'muIEk':'test-file-start','yfkux':_0x2f8d25(0x173),'KTZuy':'worker','mLZJE':_0x2f8d25(0x17d),'pztRI':_0x2f8d25(0x15b),'cgPaz':function(_0x42535c,_0x53a56d){return _0x42535c*_0x53a56d;},'IPzla':'test-file-success','hUQSS':_0x2f8d25(0x15e),'yYyOx':function(_0x35c285,_0x4434c6){return _0x35c285(_0x4434c6);},'KQYWy':function(_0x4d0042,_0x3e3375){return _0x4d0042*_0x3e3375;}},_0x27ca4b=_0x4a60a8[_0x2f8d25(0x190)],_0xbba084={},_0x14b13f=await TestHubHandler[_0x2f8d25(0x16e)](FRAMEWORKS[_0x2f8d25(0x136)],_0x4a60a8),_0x264e0c=new Worker(require[_0x2f8d25(0x17a)](_0x33cbbf[_0x2f8d25(0x154)]),{'exposedMethods':[_0x33cbbf['KTZuy']],'forkOptions':{'serialization':_0x33cbbf[_0x2f8d25(0x198)],'stdio':_0x33cbbf[_0x2f8d25(0x181)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x33cbbf[_0x2f8d25(0x18c)](_0x3b2ff8,0x1),'enableWorkerThreads':!![]}),_0x55aac0=new Emittery();_0x55aac0['on'](_0x33cbbf[_0x2f8d25(0x169)],_0xfe5fc0=>{const _0x384cfb=_0x2f8d25;_0xbba084[_0xfe5fc0[0x0]]?(_0xbba084[_0xfe5fc0[0x0]][_0x33cbbf[_0x384cfb(0x14f)]]=_0x33cbbf[_0x384cfb(0x149)](_0xbba084[_0xfe5fc0[0x0]][_0x33cbbf[_0x384cfb(0x14f)]],_0xfe5fc0[0x1][_0x33cbbf[_0x384cfb(0x14f)]]),_0xbba084[_0xfe5fc0[0x0]][_0x33cbbf['gFGGE']]=[..._0xbba084[_0xfe5fc0[0x0]][_0x33cbbf[_0x384cfb(0x182)]],..._0xfe5fc0[0x1][_0x33cbbf['gFGGE']]]):_0xbba084[_0xfe5fc0[0x0]]={'failureCount':_0xfe5fc0[0x1][_0x33cbbf[_0x384cfb(0x14f)]],'results':[..._0xfe5fc0[0x1][_0x33cbbf[_0x384cfb(0x182)]]]};}),_0x55aac0['on'](_0x33cbbf[_0x2f8d25(0x18a)],_0x625a2e=>console[_0x2f8d25(0x14b)](_0x625a2e[0x1]));_0x264e0c[_0x2f8d25(0x161)]()&&_0x264e0c[_0x2f8d25(0x161)]()[_0x2f8d25(0x15b)](process[_0x2f8d25(0x134)]);_0x264e0c[_0x2f8d25(0x17c)]()&&_0x264e0c[_0x2f8d25(0x17c)]()[_0x2f8d25(0x15b)](process['stderr']);const _0x201c4e=async()=>{const _0x1923c1=_0x2f8d25,{forceExited:_0x3b011a}=await _0x264e0c[_0x1923c1(0x170)]();_0x3b011a&&console[_0x1923c1(0x193)](_0x33cbbf[_0x1923c1(0x178)]);try{await TestHubHandler['stop']();}catch(_0x3ef9cf){_0x33cbbf[_0x1923c1(0x15c)](debug,_0x1923c1(0x172)+_0x3ef9cf);}_0x33cbbf[_0x1923c1(0x15c)](_0x255e4e,_0xbba084);},_0xeea854=_0x33cbbf[_0x2f8d25(0x142)](pLimit,_0x33cbbf[_0x2f8d25(0x162)](_0x3b2ff8,0x1)),_0x398b28=_0x1367da=>_0xeea854(async()=>{const _0x55d518=_0x2f8d25;return await _0x55aac0[_0x55d518(0x13a)](_0x33cbbf[_0x55d518(0x163)],_0x1367da),_0x264e0c['worker'](_0x1367da,_0x27ca4b);});Promise[_0x2f8d25(0x15d)](_0x1df278[_0x2f8d25(0x171)](_0x117739=>_0x398b28(_0x117739)['then'](_0x3b63de=>_0x55aac0['emit'](_0x2f8d25(0x18b),[_0x117739[_0x2f8d25(0x133)][_0x2f8d25(0x14a)],_0x3b63de]),_0x105ef5=>_0x55aac0['emit']('test-file-failure',[_0x117739,_0x105ef5]))))['then'](_0x201c4e,_0x201c4e);}),exports[a44_0x495e45(0x189)]=(_0x33cd4d,_0x257b50,_0x91848b,_0x232ce7,_0x4902d8)=>{const _0x1e05b9=a44_0x495e45,_0x4ec5b2={'ontQx':_0x1e05b9(0x167),'kwSeE':_0x1e05b9(0x183),'SFYYq':function(_0x8b906a,_0x13c8f0){return _0x8b906a(_0x13c8f0);},'REbOH':_0x1e05b9(0x173),'dMnOS':_0x1e05b9(0x17e),'SbjIC':_0x1e05b9(0x17d),'lHKHD':'pipe','fRBEw':_0x1e05b9(0x17b),'eGPWW':_0x1e05b9(0x157),'MtJyC':function(_0x58b153,_0x1ca535){return _0x58b153(_0x1ca535);}};return new Promise(_0x55ef93=>{const _0x5af2d3=_0x1e05b9,_0x3191b9={'LaGCm':_0x4ec5b2[_0x5af2d3(0x174)],'SZHnN':function(_0x41b60a,_0x1d4106){const _0x917b00=_0x5af2d3;return _0x4ec5b2[_0x917b00(0x184)](_0x41b60a,_0x1d4106);}},_0x2ba542=[],_0x4511db=new Worker(require[_0x5af2d3(0x17a)](_0x4ec5b2[_0x5af2d3(0x144)]),{'exposedMethods':[_0x4ec5b2['dMnOS']],'forkOptions':{'serialization':_0x4ec5b2[_0x5af2d3(0x188)],'stdio':_0x4ec5b2[_0x5af2d3(0x160)]},'numWorkers':_0x33cd4d[_0x5af2d3(0x18f)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x3c2e1c=new Emittery();_0x3c2e1c['on'](_0x4ec5b2[_0x5af2d3(0x16f)],_0x81e855=>{const _0x1cd542=_0x5af2d3;_0x2ba542[_0x1cd542(0x199)]([_0x81e855[0x0],_0x81e855[0x1]]);}),_0x3c2e1c['on'](_0x4ec5b2[_0x5af2d3(0x168)],_0x28ba2d=>console[_0x5af2d3(0x14b)](_0x28ba2d[0x1]));_0x4511db[_0x5af2d3(0x161)]()&&_0x4511db[_0x5af2d3(0x161)]()[_0x5af2d3(0x15b)](process[_0x5af2d3(0x134)]);_0x4511db[_0x5af2d3(0x17c)]()&&_0x4511db[_0x5af2d3(0x17c)]()[_0x5af2d3(0x15b)](process[_0x5af2d3(0x15f)]);const _0x3f2031=async()=>{const _0x5af5a5=_0x5af2d3,{forceExited:_0x401d62}=await _0x4511db[_0x5af5a5(0x170)]();_0x401d62&&console[_0x5af5a5(0x193)](_0x3191b9[_0x5af5a5(0x146)]),_0x3191b9[_0x5af5a5(0x153)](_0x55ef93,_0x2ba542);},_0x308916=_0x4ec5b2['MtJyC'](pLimit,_0x33cd4d[_0x5af2d3(0x18f)]||0x1),_0x56c97e=(_0x34e630,_0x2e11e3)=>_0x308916(async()=>{const _0x2c52de=_0x5af2d3;return await _0x3c2e1c['emit'](_0x4ec5b2[_0x2c52de(0x17f)],_0x34e630),_0x257b50['platformCaps']=_0x91848b['platforms'][_0x2e11e3],_0x4511db[_0x2c52de(0x17e)](_0x34e630,_0x257b50,_0x91848b,_0x232ce7,_0x4902d8);});Promise[_0x5af2d3(0x15d)](_0x33cd4d[_0x5af2d3(0x171)]((_0x3bc497,_0x4a89ba)=>_0x56c97e(_0x3bc497,_0x4a89ba)['then'](_0x1d0e1f=>_0x3c2e1c[_0x5af2d3(0x13a)](_0x5af2d3(0x17b),[_0x3bc497,_0x1d0e1f]),_0x529ce9=>_0x3c2e1c[_0x5af2d3(0x13a)](_0x5af2d3(0x157),[_0x3bc497,_0x529ce9]))))[_0x5af2d3(0x13b)](_0x3f2031,_0x3f2031);});},exports[a44_0x495e45(0x191)]=(_0x19ff83,_0x26bf92)=>new Promise(_0x18835a=>{const _0x479d73=a44_0x495e45,_0xc89fad={'gUvOl':'exit','cfQur':function(_0x48dbe4,_0x31ec34){return _0x48dbe4===_0x31ec34;},'vENzA':function(_0xd748cd,_0x46e7c1){return _0xd748cd!==_0x46e7c1;},'vcxCk':_0x479d73(0x183),'GpHeA':function(_0x3da515,_0x2b0ef7){return _0x3da515(_0x2b0ef7);},'fFXgQ':_0x479d73(0x173),'BMrvU':_0x479d73(0x165),'ybAoA':_0x479d73(0x17d),'ZqROV':_0x479d73(0x15b),'Jdfbu':'test-file-success','YVhgh':'test-file-failure','lOwAP':function(_0x15ec19,_0x496406){return _0x15ec19(_0x496406);}},_0x236582={},_0xbe3ff5=new Worker(require['resolve'](_0xc89fad[_0x479d73(0x18d)]),{'exposedMethods':[_0xc89fad[_0x479d73(0x18e)]],'forkOptions':{'serialization':_0xc89fad[_0x479d73(0x176)],'stdio':_0xc89fad[_0x479d73(0x15a)]},'numWorkers':_0x26bf92,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x52557c=new Emittery();_0x52557c['on'](_0xc89fad[_0x479d73(0x186)],_0x4d123a=>{const _0xc4f3a=_0x479d73;_0x4d123a[0x0]&&logger[_0xc4f3a(0x187)]('Running\x20'+_0x4d123a[0x1]+_0xc4f3a(0x138),_0x4d123a[0x0]);}),_0x52557c['on'](_0xc89fad[_0x479d73(0x195)],_0x155313=>{const _0x575262=_0x479d73;process[_0x575262(0x139)]=0x1;});_0xbe3ff5[_0x479d73(0x161)]()&&_0xbe3ff5[_0x479d73(0x161)]()[_0x479d73(0x15b)](process['stdout']);_0xbe3ff5['getStderr']()&&_0xbe3ff5[_0x479d73(0x17c)]()[_0x479d73(0x15b)](process[_0x479d73(0x15f)]);const _0x427ae6=async()=>{const _0x33a019=_0x479d73,_0x3fcb3d={'JUIYq':function(_0x42c59a,_0x5b15ad){return _0xc89fad['cfQur'](_0x42c59a,_0x5b15ad);},'SiIdH':function(_0x252679,_0x3026bd){const _0xc5b151=a44_0x2a6c;return _0xc89fad[_0xc5b151(0x159)](_0x252679,_0x3026bd);}};let _0xd81168=0x0;const _0x50be4c=_0xbe3ff5[_0x33a019(0x197)][_0x33a019(0x150)](),_0x4056d1=()=>{},_0x18d3d2=_0x50be4c[_0x33a019(0x171)](async _0x391eb4=>{const _0x436438=_0x33a019;_0x391eb4[_0x436438(0x177)]([0x2,![]],_0x4056d1,_0x4056d1,_0x4056d1),_0x391eb4[_0x436438(0x13c)]['on'](_0xc89fad[_0x436438(0x135)],_0x180bf7=>{const _0x4215a7=_0x436438;_0x3fcb3d[_0x4215a7(0x13e)](_0xd81168,0x0)&&_0x3fcb3d[_0x4215a7(0x175)](_0x180bf7,0x0)&&(_0xd81168=_0x180bf7);}),await _0x391eb4[_0x436438(0x16a)]();});await Promise['all'](_0x18d3d2),process[_0x33a019(0x139)]=_0xd81168;const {forceExited:_0xefb775}=await _0xbe3ff5['end']();_0xefb775&&console[_0x33a019(0x193)](_0xc89fad[_0x33a019(0x192)]),_0xc89fad['GpHeA'](_0x18835a,_0x236582);},_0x185fd8=_0xc89fad[_0x479d73(0x13f)](pLimit,_0x26bf92),_0x44cb8f=_0x649e95=>_0x185fd8(async()=>{return _0xbe3ff5['vanillaWorker'](_0x649e95);});Promise['all'](_0x19ff83[_0x479d73(0x171)](_0x10d443=>_0x44cb8f(_0x10d443)[_0x479d73(0x13b)](_0xb69edb=>_0x52557c['emit'](_0x479d73(0x18b),[_0x10d443['configuration'][_0x479d73(0x14a)],_0x10d443[_0x479d73(0x133)]['file']]),_0x3e915d=>_0x52557c[_0x479d73(0x13a)]('test-file-failure',[_0x10d443,_0x3e915d]))))['then'](_0x427ae6,_0x427ae6);});
|
|
1
|
+
const a44_0x4268a0=a44_0x1d50;(function(_0x1f6a51,_0x82dd20){const _0xd30a6b=a44_0x1d50,_0x426104=_0x1f6a51();while(!![]){try{const _0x58087d=-parseInt(_0xd30a6b(0x19b))/0x1+-parseInt(_0xd30a6b(0x17e))/0x2+-parseInt(_0xd30a6b(0x16e))/0x3+-parseInt(_0xd30a6b(0x1a9))/0x4*(parseInt(_0xd30a6b(0x191))/0x5)+parseInt(_0xd30a6b(0x179))/0x6*(parseInt(_0xd30a6b(0x18f))/0x7)+parseInt(_0xd30a6b(0x199))/0x8*(-parseInt(_0xd30a6b(0x1b2))/0x9)+-parseInt(_0xd30a6b(0x18d))/0xa*(-parseInt(_0xd30a6b(0x15e))/0xb);if(_0x58087d===_0x82dd20)break;else _0x426104['push'](_0x426104['shift']());}catch(_0x5bc3fe){_0x426104['push'](_0x426104['shift']());}}}(a44_0x2218,0x43c2e));function a44_0x2218(){const _0x2c76be=['../../helpers/test-observability/utils','forEach','AazJe','yTdRz','platform-run-start','../../helpers/testhub/testhubHandler','log','472740AEJUEx','all','UaMzJ','GNFuk','length','mOxlH','../../helpers/logger','QLxty','_workerPool','9mmBbVY','exit','OFDrl','pGpYK','info','jest-worker','platforms','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','emit','getStderr','KnTWU','umJtd','debug','push','882717AGPLaQ','fEOIN','_child','stdout','exitCode','worker','uqUzM','send','rLWuW','test-file-failure','oCIKT','resolve','MOCHA','rEegL','configuration','Kcplr','44895BCsKFi','getStdout','../../helpers/test-observability/sessionHandler','KQBHR','platform','SUkQA','rkTAQ','zBkQE','vanillaWorker','accessibility','map','24qhfAJn','../../helpers/test-observability/constants','config','test-file-start','stop','72680FIyhRo','nBlEt','LYVQB','file','test-file-success','end','gRRuk','aPVod','./testWorker.js','stderr','pipe','rDxLT','json','Worker','platform-run-failure','100NjtpKx','then','285761nMAuKQ','ucTzj','5dTlFIY','parallelCucumberRun','cucumberWorker','error','kjWSH','Workers\x20failed\x20to\x20exit\x20gracefully','waitForExit','winstonLogger','3197864BBDaBl','dcZme','118989myTmQg','Hwcar','util','uqadh','RLcag','Wqjsx','platform-run-success'];a44_0x2218=function(){return _0x2c76be;};return a44_0x2218();}const Worker=require(a44_0x4268a0(0x1b7))[a44_0x4268a0(0x18b)],Emittery=require('emittery'),pLimit=require('p-limit'),util=require(a44_0x4268a0(0x19d)),logger=require(a44_0x4268a0(0x1af))[a44_0x4268a0(0x198)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),SessionHandler=require(a44_0x4268a0(0x170)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a44_0x4268a0(0x1a2)),TestHubHandler=require(a44_0x4268a0(0x1a7)),{FRAMEWORKS}=require(a44_0x4268a0(0x17a)),checkAccessibility=_0x36c83d=>{const _0x22d9b8=a44_0x4268a0,_0x4d7588={};_0x4d7588['Wqjsx']=function(_0x4e6814,_0x43e5ff){return _0x4e6814===_0x43e5ff;};const _0x4a7578=_0x4d7588;let _0xf1698=![];try{_0x36c83d[_0x22d9b8(0x1b8)][_0x22d9b8(0x1a3)](_0x3456e6=>{const _0x80a30c=_0x22d9b8;if(_0x4a7578[_0x80a30c(0x1a0)](_0x3456e6[_0x80a30c(0x177)],!![]))return _0xf1698=!![],!![];});}catch(_0x2c215d){logger[_0x22d9b8(0x15c)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x2c215d);}return _0xf1698;};function a44_0x1d50(_0x21a3fb,_0x100c0d){const _0x221855=a44_0x2218();return a44_0x1d50=function(_0x1d50b9,_0x5c05b8){_0x1d50b9=_0x1d50b9-0x15a;let _0x17ebbe=_0x221855[_0x1d50b9];return _0x17ebbe;},a44_0x1d50(_0x21a3fb,_0x100c0d);}exports['parallelTestRun']=(_0x259da6,_0x519892,_0x51b731)=>new Promise(async _0x27912d=>{const _0x465d4e=a44_0x4268a0,_0x179b74={'aPVod':'failureCount','GNFuk':function(_0x313f27,_0x40bc47){return _0x313f27+_0x40bc47;},'UaMzJ':'results','yTdRz':'Workers\x20failed\x20to\x20exit\x20gracefully','uqUzM':function(_0x8ffbc2,_0x5e776f){return _0x8ffbc2(_0x5e776f);},'AazJe':function(_0x5706a0,_0x53e726){return _0x5706a0(_0x53e726);},'uqadh':_0x465d4e(0x17c),'ogkKf':_0x465d4e(0x186),'rLWuW':'worker','KnTWU':_0x465d4e(0x18a),'Hwcar':_0x465d4e(0x188),'nBlEt':function(_0x2f8610,_0x1a1b95){return _0x2f8610*_0x1a1b95;},'rEegL':_0x465d4e(0x182),'ucTzj':_0x465d4e(0x167),'QLxty':function(_0x163f44,_0x2e61a9){return _0x163f44*_0x2e61a9;}},_0x19a896=_0x51b731[_0x465d4e(0x17b)],_0x1386d2={},_0x514497=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x465d4e(0x16a)],_0x51b731),_0x37f103=new Worker(require['resolve'](_0x179b74['ogkKf']),{'exposedMethods':[_0x179b74[_0x465d4e(0x166)]],'forkOptions':{'serialization':_0x179b74[_0x465d4e(0x15a)],'stdio':_0x179b74[_0x465d4e(0x19c)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x179b74[_0x465d4e(0x17f)](_0x519892,0x1),'enableWorkerThreads':!![]}),_0xe5182b=new Emittery();_0xe5182b['on'](_0x179b74[_0x465d4e(0x16b)],_0x1eb0a6=>{const _0x302d69=_0x465d4e;_0x1386d2[_0x1eb0a6[0x0]]?(_0x1386d2[_0x1eb0a6[0x0]][_0x179b74[_0x302d69(0x185)]]=_0x179b74[_0x302d69(0x1ac)](_0x1386d2[_0x1eb0a6[0x0]][_0x179b74[_0x302d69(0x185)]],_0x1eb0a6[0x1][_0x179b74['aPVod']]),_0x1386d2[_0x1eb0a6[0x0]][_0x179b74[_0x302d69(0x1ab)]]=[..._0x1386d2[_0x1eb0a6[0x0]][_0x179b74[_0x302d69(0x1ab)]],..._0x1eb0a6[0x1][_0x179b74[_0x302d69(0x1ab)]]]):_0x1386d2[_0x1eb0a6[0x0]]={'failureCount':_0x1eb0a6[0x1][_0x179b74[_0x302d69(0x185)]],'results':[..._0x1eb0a6[0x1][_0x179b74[_0x302d69(0x1ab)]]]};}),_0xe5182b['on'](_0x179b74[_0x465d4e(0x190)],_0x1bb850=>console[_0x465d4e(0x1a8)](_0x1bb850[0x1]));_0x37f103[_0x465d4e(0x16f)]()&&_0x37f103[_0x465d4e(0x16f)]()[_0x465d4e(0x188)](process[_0x465d4e(0x161)]);_0x37f103['getStderr']()&&_0x37f103[_0x465d4e(0x1bb)]()[_0x465d4e(0x188)](process[_0x465d4e(0x187)]);const _0x3e12ed=async()=>{const _0x3835be=_0x465d4e,{forceExited:_0x310e4d}=await _0x37f103['end']();_0x310e4d&&console[_0x3835be(0x194)](_0x179b74[_0x3835be(0x1a5)]);try{await TestHubHandler[_0x3835be(0x17d)]();}catch(_0x4d7d36){_0x179b74[_0x3835be(0x164)](debug,_0x3835be(0x1b9)+_0x4d7d36);}_0x179b74[_0x3835be(0x1a4)](_0x27912d,_0x1386d2);},_0x473c1c=_0x179b74[_0x465d4e(0x164)](pLimit,_0x179b74[_0x465d4e(0x1b0)](_0x519892,0x1)),_0xc85150=_0xe895e6=>_0x473c1c(async()=>{const _0x37c4e3=_0x465d4e;return await _0xe5182b[_0x37c4e3(0x1ba)](_0x179b74[_0x37c4e3(0x19e)],_0xe895e6),_0x37f103[_0x37c4e3(0x163)](_0xe895e6,_0x19a896);});Promise[_0x465d4e(0x1aa)](_0x259da6[_0x465d4e(0x178)](_0x4a517d=>_0xc85150(_0x4a517d)['then'](_0x54a887=>_0xe5182b[_0x465d4e(0x1ba)](_0x465d4e(0x182),[_0x4a517d[_0x465d4e(0x16c)][_0x465d4e(0x172)],_0x54a887]),_0x5611c4=>_0xe5182b[_0x465d4e(0x1ba)](_0x465d4e(0x167),[_0x4a517d,_0x5611c4]))))[_0x465d4e(0x18e)](_0x3e12ed,_0x3e12ed);}),exports[a44_0x4268a0(0x192)]=(_0x5163e2,_0x139998,_0x1e6ac4,_0x336166,_0x48c756)=>{const _0x122bcd=a44_0x4268a0,_0x5d57fb={'KQBHR':_0x122bcd(0x196),'OFDrl':function(_0x3df11d,_0x553241){return _0x3df11d(_0x553241);},'SUkQA':_0x122bcd(0x1a6),'pGpYK':_0x122bcd(0x186),'rkTAQ':_0x122bcd(0x193),'fEOIN':_0x122bcd(0x18a),'kjWSH':_0x122bcd(0x188),'RLcag':_0x122bcd(0x1a1),'oCIKT':_0x122bcd(0x18c),'UejUQ':function(_0xe495c2,_0x23912d){return _0xe495c2(_0x23912d);}};return new Promise(_0x60d7e1=>{const _0x4415bf=_0x122bcd,_0xeca58c=[],_0x39c96b=new Worker(require[_0x4415bf(0x169)](_0x5d57fb[_0x4415bf(0x1b5)]),{'exposedMethods':[_0x5d57fb[_0x4415bf(0x174)]],'forkOptions':{'serialization':_0x5d57fb[_0x4415bf(0x15f)],'stdio':_0x5d57fb[_0x4415bf(0x195)]},'numWorkers':_0x5163e2[_0x4415bf(0x1ad)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x49fd57=new Emittery();_0x49fd57['on'](_0x5d57fb[_0x4415bf(0x19f)],_0x41ef41=>{const _0x28c885=_0x4415bf;_0xeca58c[_0x28c885(0x15d)]([_0x41ef41[0x0],_0x41ef41[0x1]]);}),_0x49fd57['on'](_0x5d57fb[_0x4415bf(0x168)],_0x3e9e87=>console[_0x4415bf(0x1a8)](_0x3e9e87[0x1]));_0x39c96b[_0x4415bf(0x16f)]()&&_0x39c96b[_0x4415bf(0x16f)]()[_0x4415bf(0x188)](process[_0x4415bf(0x161)]);_0x39c96b[_0x4415bf(0x1bb)]()&&_0x39c96b['getStderr']()[_0x4415bf(0x188)](process[_0x4415bf(0x187)]);const _0x40e85a=async()=>{const _0xcc1aa2=_0x4415bf,{forceExited:_0x5ca87b}=await _0x39c96b[_0xcc1aa2(0x183)]();_0x5ca87b&&console[_0xcc1aa2(0x194)](_0x5d57fb[_0xcc1aa2(0x171)]),_0x5d57fb[_0xcc1aa2(0x1b4)](_0x60d7e1,_0xeca58c);},_0x4d2c97=_0x5d57fb['UejUQ'](pLimit,_0x5163e2[_0x4415bf(0x1ad)]||0x1),_0x9258ed=(_0x15c464,_0xa7d638)=>_0x4d2c97(async()=>{const _0x4d75c2=_0x4415bf;return await _0x49fd57['emit'](_0x5d57fb[_0x4d75c2(0x173)],_0x15c464),_0x139998['platformCaps']=_0x1e6ac4['platforms'][_0xa7d638],_0x39c96b[_0x4d75c2(0x193)](_0x15c464,_0x139998,_0x1e6ac4,_0x336166,_0x48c756);});Promise[_0x4415bf(0x1aa)](_0x5163e2[_0x4415bf(0x178)]((_0x19268c,_0x487eae)=>_0x9258ed(_0x19268c,_0x487eae)['then'](_0x42b127=>_0x49fd57[_0x4415bf(0x1ba)](_0x4415bf(0x1a1),[_0x19268c,_0x42b127]),_0x18f392=>_0x49fd57['emit'](_0x4415bf(0x18c),[_0x19268c,_0x18f392]))))[_0x4415bf(0x18e)](_0x40e85a,_0x40e85a);});},exports['parallelVanillaRun']=(_0x39a79f,_0x1a3977)=>new Promise(_0x47e507=>{const _0x323fd3=a44_0x4268a0,_0x5c63ed={'mOxlH':function(_0x51cd31,_0x5a4ca4){return _0x51cd31===_0x5a4ca4;},'okBMc':function(_0x23c856,_0x56c4c8){return _0x23c856!==_0x56c4c8;},'WHuTj':_0x323fd3(0x1b3),'LYVQB':_0x323fd3(0x196),'gRRuk':function(_0x3e77f8,_0x560a36){return _0x3e77f8(_0x560a36);},'zBkQE':_0x323fd3(0x186),'IcITk':_0x323fd3(0x176),'VHXGT':_0x323fd3(0x18a),'bEpZF':'pipe','liRnu':'test-file-success','umJtd':_0x323fd3(0x167),'Kcplr':function(_0x4f6f21,_0x83ef8a){return _0x4f6f21(_0x83ef8a);}},_0x302230={},_0x543f5b=new Worker(require[_0x323fd3(0x169)](_0x5c63ed[_0x323fd3(0x175)]),{'exposedMethods':[_0x5c63ed['IcITk']],'forkOptions':{'serialization':_0x5c63ed['VHXGT'],'stdio':_0x5c63ed['bEpZF']},'numWorkers':_0x1a3977,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x253a6b=new Emittery();_0x253a6b['on'](_0x5c63ed['liRnu'],_0x1fa3e3=>{const _0x32079f=_0x323fd3;_0x1fa3e3[0x0]&&logger[_0x32079f(0x1b6)]('Running\x20'+_0x1fa3e3[0x1]+'\x20for',_0x1fa3e3[0x0]);}),_0x253a6b['on'](_0x5c63ed[_0x323fd3(0x15b)],_0x4a35fb=>{process['exitCode']=0x1;});_0x543f5b[_0x323fd3(0x16f)]()&&_0x543f5b[_0x323fd3(0x16f)]()[_0x323fd3(0x188)](process['stdout']);_0x543f5b[_0x323fd3(0x1bb)]()&&_0x543f5b[_0x323fd3(0x1bb)]()['pipe'](process[_0x323fd3(0x187)]);const _0x59e944=async()=>{const _0x35a34a=_0x323fd3;let _0x1c877a=0x0;const _0x2ad9d2=_0x543f5b[_0x35a34a(0x1b1)]['getWorkers'](),_0x460af0=()=>{},_0x233b47=_0x2ad9d2[_0x35a34a(0x178)](async _0xb4904b=>{const _0x4487bf=_0x35a34a,_0x29fabb={'dcZme':function(_0x4693ef,_0xa6f878){const _0x4bc28f=a44_0x1d50;return _0x5c63ed[_0x4bc28f(0x1ae)](_0x4693ef,_0xa6f878);},'rDxLT':function(_0x648b55,_0x32789f){return _0x5c63ed['okBMc'](_0x648b55,_0x32789f);}};_0xb4904b[_0x4487bf(0x165)]([0x2,![]],_0x460af0,_0x460af0,_0x460af0),_0xb4904b[_0x4487bf(0x160)]['on'](_0x5c63ed['WHuTj'],_0x5db978=>{const _0x207edc=_0x4487bf;_0x29fabb[_0x207edc(0x19a)](_0x1c877a,0x0)&&_0x29fabb[_0x207edc(0x189)](_0x5db978,0x0)&&(_0x1c877a=_0x5db978);}),await _0xb4904b[_0x4487bf(0x197)]();});await Promise[_0x35a34a(0x1aa)](_0x233b47),process[_0x35a34a(0x162)]=_0x1c877a;const {forceExited:_0x26e26f}=await _0x543f5b[_0x35a34a(0x183)]();_0x26e26f&&console['error'](_0x5c63ed[_0x35a34a(0x180)]),_0x5c63ed[_0x35a34a(0x184)](_0x47e507,_0x302230);},_0x33051b=_0x5c63ed[_0x323fd3(0x16d)](pLimit,_0x1a3977),_0x5c9930=_0x4f3b20=>_0x33051b(async()=>{return _0x543f5b['vanillaWorker'](_0x4f3b20);});Promise[_0x323fd3(0x1aa)](_0x39a79f[_0x323fd3(0x178)](_0x1408c6=>_0x5c9930(_0x1408c6)[_0x323fd3(0x18e)](_0x2ec477=>_0x253a6b['emit']('test-file-success',[_0x1408c6[_0x323fd3(0x16c)][_0x323fd3(0x172)],_0x1408c6[_0x323fd3(0x16c)][_0x323fd3(0x181)]]),_0x53a9a7=>_0x253a6b[_0x323fd3(0x1ba)](_0x323fd3(0x167),[_0x1408c6,_0x53a9a7]))))[_0x323fd3(0x18e)](_0x59e944,_0x59e944);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a45_0x30f6f3=a45_0x1c99;(function(_0x2d1137,_0x56417d){const _0x5d65b6=a45_0x1c99,_0x25181d=_0x2d1137();while(!![]){try{const _0xeb8534=-parseInt(_0x5d65b6(0xcd))/0x1*(parseInt(_0x5d65b6(0xdf))/0x2)+-parseInt(_0x5d65b6(0xde))/0x3*(-parseInt(_0x5d65b6(0xe3))/0x4)+parseInt(_0x5d65b6(0xd4))/0x5+-parseInt(_0x5d65b6(0xd0))/0x6+parseInt(_0x5d65b6(0xd3))/0x7*(-parseInt(_0x5d65b6(0xce))/0x8)+-parseInt(_0x5d65b6(0xd5))/0x9+parseInt(_0x5d65b6(0xe1))/0xa;if(_0xeb8534===_0x56417d)break;else _0x25181d['push'](_0x25181d['shift']());}catch(_0x4167ef){_0x25181d['push'](_0x25181d['shift']());}}}(a45_0x5923,0x5043c),exports[a45_0x30f6f3(0xd9)]=async(_0x483e7c,_0xd32eb5)=>{const _0x5b03ce=a45_0x30f6f3,_0x413ea8={'NZxYh':function(_0x487b50,_0x66f1b0){return _0x487b50(_0x66f1b0);},'LTqaZ':_0x5b03ce(0xd7),'ICTLe':_0x5b03ce(0xd6)},_0x31aade=_0x413ea8['NZxYh'](require,_0x413ea8[_0x5b03ce(0xdc)]),_0x4fccbc=new _0x31aade(_0x413ea8[_0x5b03ce(0xdb)],_0x483e7c,_0xd32eb5);return await _0x4fccbc[_0x5b03ce(0xd2)]();},exports[a45_0x30f6f3(0xe5)]=async(_0x2d2884,_0x49e1ec,_0x2a6978,_0x1050da,_0x1380b1)=>{const _0x517b9a=a45_0x30f6f3,_0x56dea6={'SBhmY':function(_0x4814df,_0x2eeb3c){return _0x4814df(_0x2eeb3c);},'HUEKZ':_0x517b9a(0xd7),'QAvZS':_0x517b9a(0xd8)},_0xae7b00={'capability':_0x2d2884,..._0x49e1ec},_0x17f514={};_0x17f514[_0x517b9a(0xdd)]=_0xae7b00,_0x17f514[_0x517b9a(0xe0)]=_0x1380b1;const _0x2a3fe7=_0x17f514,_0x1bfd10=_0x56dea6[_0x517b9a(0xcf)](require,_0x56dea6[_0x517b9a(0xe4)]),_0x3575af=new _0x1bfd10(_0x56dea6['QAvZS'],_0x2a3fe7,_0x2a6978,_0x1050da);return await _0x3575af[_0x517b9a(0xd2)]();},exports[a45_0x30f6f3(0xda)]=async _0x3a8f2b=>{const _0x530c21=a45_0x30f6f3,_0x14bb06={'rcRjU':function(_0x380174,_0xd88b0){return _0x380174(_0xd88b0);},'nbPod':_0x530c21(0xd7),'YcCSc':_0x530c21(0xd1)},_0xeac617=_0x14bb06['rcRjU'](require,_0x14bb06['nbPod']),_0x24df51=new _0xeac617(_0x14bb06[_0x530c21(0xe2)],_0x3a8f2b);return await _0x24df51[_0x530c21(0xd2)]();});function a45_0x1c99(_0x3bcf11,_0x585913){const _0x5923e9=a45_0x5923();return a45_0x1c99=function(_0x1c99d2,_0x40b192){_0x1c99d2=_0x1c99d2-0xcd;let _0x37d9d7=_0x5923e9[_0x1c99d2];return _0x37d9d7;},a45_0x1c99(_0x3bcf11,_0x585913);}function a45_0x5923(){const _0x2f1fa9=['mocha','../launcher/launcher','cucumber-js','runTest','runVanillaTest','ICTLe','LTqaZ','configuration','188541qzoSfU','14nnfnno','formatter','6437510xOTzXC','YcCSc','28vIqLCy','HUEKZ','runCucumberTest','50835VIKvcP','2656OSjgwy','SBhmY','2092434BovWgV','vanilla','run','12747Tzyovj','2938510IgOlew','301158oEMbzS'];a45_0x5923=function(){return _0x2f1fa9;};return a45_0x5923();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a46_0x18e0(){const _0x45673d=['3384KJXWEx','6741845wQHUiG','9879gbraia','AWbtk','12rgRFtX','fdlUU','173231wiVRah','cucumberWorker','zwafU','worker','400qEctXa','./runTest','10uddlJS','142HBJajT','2276487kSDbtn','891107KWmXup','61832qgmtwa'];a46_0x18e0=function(){return _0x45673d;};return a46_0x18e0();}const a46_0x26c623=a46_0x1b58;(function(_0x2fa531,_0x3964f3){const _0x4338a8=a46_0x1b58,_0x51dd83=_0x2fa531();while(!![]){try{const _0x3e48f7=-parseInt(_0x4338a8(0x1dc))/0x1+-parseInt(_0x4338a8(0x1e3))/0x2*(parseInt(_0x4338a8(0x1d8))/0x3)+-parseInt(_0x4338a8(0x1d6))/0x4*(parseInt(_0x4338a8(0x1e0))/0x5)+parseInt(_0x4338a8(0x1da))/0x6*(-parseInt(_0x4338a8(0x1d4))/0x7)+parseInt(_0x4338a8(0x1d5))/0x8+parseInt(_0x4338a8(0x1e4))/0x9+parseInt(_0x4338a8(0x1e2))/0xa*(parseInt(_0x4338a8(0x1d7))/0xb);if(_0x3e48f7===_0x3964f3)break;else _0x51dd83['push'](_0x51dd83['shift']());}catch(_0x46d91d){_0x51dd83['push'](_0x51dd83['shift']());}}}(a46_0x18e0,0x2337b));const {runTest,runCucumberTest,runVanillaTest}=require(a46_0x26c623(0x1e1));function a46_0x1b58(_0x451685,_0x570c92){const _0x18e01e=a46_0x18e0();return a46_0x1b58=function(_0x1b580e,_0x4fc377){_0x1b580e=_0x1b580e-0x1d4;let _0x42df51=_0x18e01e[_0x1b580e];return _0x42df51;},a46_0x1b58(_0x451685,_0x570c92);}exports[a46_0x26c623(0x1df)]=async(_0x179968,_0x321e21)=>{const _0x2ac856=a46_0x26c623,_0x328fcc={'zwafU':function(_0x378cb1,_0x5ef2d6,_0x98ce67){return _0x378cb1(_0x5ef2d6,_0x98ce67);}};return await _0x328fcc[_0x2ac856(0x1de)](runTest,_0x179968,_0x321e21);},exports[a46_0x26c623(0x1dd)]=async(_0x18104a,_0x597ef5,_0x81c74b,_0x10caea,_0x3499bb)=>{const _0x2d126=a46_0x26c623,_0x100aa2={'AWbtk':function(_0x57a30a,_0xa749dc,_0x17a01d,_0x2de041,_0x1040de,_0x4dab8f){return _0x57a30a(_0xa749dc,_0x17a01d,_0x2de041,_0x1040de,_0x4dab8f);}};return await _0x100aa2[_0x2d126(0x1d9)](runCucumberTest,_0x18104a,_0x597ef5,_0x81c74b,_0x10caea,_0x3499bb);},exports['vanillaWorker']=async _0x2d73c7=>{const _0x81e7d4=a46_0x26c623,_0x1e05e9={'fdlUU':function(_0x415151,_0x46955c){return _0x415151(_0x46955c);}};return await _0x1e05e9[_0x81e7d4(0x1db)](runVanillaTest,_0x2d73c7);};
|