browserstack-node-sdk 1.34.33 → 1.34.34
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/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.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/patchHelper.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/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41_0x4bb999=a41_0x159f;(function(_0x1d7162,_0x19493c){const _0x50c045=a41_0x159f,_0x3868f6=_0x1d7162();while(!![]){try{const _0x4b2028=-parseInt(_0x50c045(0x1b8))/0x1*(-parseInt(_0x50c045(0x212))/0x2)+-parseInt(_0x50c045(0x227))/0x3*(-parseInt(_0x50c045(0x240))/0x4)+-parseInt(_0x50c045(0x276))/0x5+-parseInt(_0x50c045(0x241))/0x6*(parseInt(_0x50c045(0x25a))/0x7)+parseInt(_0x50c045(0x1b5))/0x8*(-parseInt(_0x50c045(0x24d))/0x9)+parseInt(_0x50c045(0x253))/0xa+parseInt(_0x50c045(0x254))/0xb;if(_0x4b2028===_0x19493c)break;else _0x3868f6['push'](_0x3868f6['shift']());}catch(_0x444f92){_0x3868f6['push'](_0x3868f6['shift']());}}}(a41_0x32c9,0x6e8ce));const RequestQueueHandler=require(a41_0x4bb999(0x252)),{calculatePerformance,getTestTags,getFailureData}=require(a41_0x4bb999(0x269)),{v4:uuidv4}=require(a41_0x4bb999(0x220)),path=require(a41_0x4bb999(0x21a)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x4bb999(0x26e)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x4bb999(0x1e5)),fs=require('fs'),util=require(a41_0x4bb999(0x1b1)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a41_0x4bb999(0x282)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x4bb999(0x1c1));function a41_0x32c9(){const _0x29795c=['map','rrYAi','mtime','TEST_SCREENSHOT','dBqGj','sendHookRunEvent','VPfED','backtrace','filter','mrZPe','hSfQY','finishedAt','ohBBv','nGqpO','_bs_hookIdentifier','indexOf','6gNKLcC','Hduxw','CUGSK','afterAll\x20hook','splice','MTdAH','ReXiB','HookRunFinished','path','getTestUUID','readFileSync','nzUsa','hook','printsToStdio','uuid','2|6|3|0|4|5|1','_tests','errors','status','shutdown','sFfDF','597elgoXn','pending','psXlH','gRcbT','getTime','bEQpT','PLAYWRIGHT','\x20is\x20triggered\x20for\x20test\x20','getInstance','_gitConfigured','reportLogs','getScope','message','MyReporter','bMuvo','addTestUIDAndReportLog','test_run','configureGit','startedAt','Hook\x20Started\x20with\x20unique\x20id\x20','javascript','file','screenshot','failure','AFTER_EACH','12152xXtKZB','3048ewSzaj','\x20for\x20','PKyEH','exports','\x20is\x20triggered','pblTI','LogCreated','tNUoC','Before\x20Hooks','onTestBegin','failure_type','existsSync','9cYRcUM','toISOString','EozKI','Hook\x20Finished\x20with\x20unique\x20id\x20','eqDhL','../../../helpers/test-observability/requestQueueHandler','1709580flwQvK','16124119JKVvAw','category','Bdjim','getHookType','logs','JwHtT','12187ojuemq','startsWith','getCustomRerunParam','hUEag','inspect','logLevel','title','startMonitoring','onStepBegin','duration','_projectId','cwd','sendTestRunEvent','tJQYe','toString','./pwUtils','onTestEnd','BLgKe','passed','beforeAll\x20hook','../../../helpers/test-observability/utils','getHierarchy','vlDGW','relative','QamdD','base64','TestRunStarted','tFZsx','3937275HeVeRE','rYVUx','TyVWl','result','uploadEventData','SxyGP','skipped','afterEach\x20hook','OaMZB','LlmQK','retry','TestRunFinished','../../../helpers/test-observability/sessionHandler','jGUkI','fCjfW','HookRunStarted','onBegin','VrduG','leYuf','err','AreqC','retry_of','neDlX','setStepIdentifier','util','hook_run','wzMBp','reverse','7185432nBZGeO','jtprT','failure_reason','260509umxNjR','zTJeR','meta','XVJpC','parent','options','CQksm','kpDMS','statSync','../../../helpers/testhub/testhubHandler','toZus','test','yOdXi','unknown','PxHkt','BIPAy','FfOoZ','startTime','AtQHm','timedOut','CehxP','titlePath','push','ccEHg','bWjNl','qOxxt','koqyN','steps','attachments','_gitConfigPath','WyUhS','expanded','sendSessionDetails','error','endSession','UBpvv','RFTuT','_testHooksMap','split','_tags','LIkZW','ivloX','env','pNnnm','XTSLu','./test-details','getStepIdentifier','test_run_uuid','depth','CBTSessionCreated','needToReportStep','object','beforeEach\x20hook','join','BEFORE_ALL','location','length','onStepEnd','getStepsAndLogs','vIMxc','onEnd','After\x20Hooks','name','xvbXX','vvXxR','getTestRunIdentifier','Sending\x20session\x20details\x20for\x20','Expected\x20to\x20fail,\x20but\x20passed.','LcYew','xHZMu','getTestIdentifier','xKdwD','DHQlx','failed'];a41_0x32c9=function(){return _0x29795c;};return a41_0x32c9();}function a41_0x159f(_0xb7943f,_0x16a9bc){const _0x32c959=a41_0x32c9();return a41_0x159f=function(_0x159f2d,_0x3adea5){_0x159f2d=_0x159f2d-0x1aa;let _0x30a300=_0x32c959[_0x159f2d];return _0x30a300;},a41_0x159f(_0xb7943f,_0x16a9bc);}class MyReporter{constructor(_0x3be87b){const _0x5c824a=a41_0x4bb999,_0x1e13c3={'JwHtT':_0x5c824a(0x221),'psXlH':function(_0x5ac982,_0x3194cd,_0x259a1e,_0x5912b0){return _0x5ac982(_0x3194cd,_0x259a1e,_0x5912b0);},'rrYAi':'performance-report-reporter.json'},_0x45eb86=_0x1e13c3[_0x5c824a(0x259)][_0x5c824a(0x1de)]('|');let _0x197cca=0x0;while(!![]){switch(_0x45eb86[_0x197cca++]){case'0':this[_0x5c824a(0x1dd)]={};continue;case'1':this[_0x5c824a(0x1d5)]=null;continue;case'2':const _0x386977={};_0x386977[_0x5c824a(0x25f)]=process[_0x5c824a(0x1e2)]['BROWSERSTACK_LOG_LEVEL'],_0x1e13c3[_0x5c824a(0x229)](setLogLevel,_0x386977,new Map(),new Map());continue;case'3':this[_0x5c824a(0x222)]={};continue;case'4':this[_0x5c824a(0x1bd)]=_0x3be87b;continue;case'5':this[_0x5c824a(0x230)]=![];continue;case'6':process[_0x5c824a(0x1e2)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(PerformanceTester[_0x5c824a(0x261)](_0x1e13c3[_0x5c824a(0x203)]),process[_0x5c824a(0x1e2)]['START_TIME']=new Date()[_0x5c824a(0x24e)]());continue;}break;}}async[a41_0x4bb999(0x286)](){const _0x1b169f=a41_0x4bb999;TestDetails['setup'](),await this[_0x1b169f(0x238)]();}async[a41_0x4bb999(0x24a)](_0x4335f6,_0x2db7c9){const _0x197dd2=a41_0x4bb999,_0x716251={'fCjfW':function(_0x132a45,_0x65fd8a){return _0x132a45(_0x65fd8a);},'zTJeR':_0x197dd2(0x274)},_0x413418=this[_0x197dd2(0x1fe)](_0x4335f6);this['_tests'][_0x413418]={'uuid':TestDetails[_0x197dd2(0x21b)](this[_0x197dd2(0x1f9)](_0x4335f6,_0x2db7c9[_0x197dd2(0x280)])),'startedAt':_0x2db7c9[_0x197dd2(0x1c9)]},_0x716251[_0x197dd2(0x284)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x413418),await this['sendTestRunEvent'](_0x4335f6,_0x716251[_0x197dd2(0x1b9)],_0x2db7c9);}async[a41_0x4bb999(0x262)](_0x4ce116,_0x40ddf3,_0x4bad8d){const _0x284308=a41_0x4bb999,_0x16a76f={'neDlX':function(_0x3e9db4,_0x2424fd){return _0x3e9db4(_0x2424fd);},'Hduxw':_0x284308(0x285)};if(!this[_0x284308(0x1ea)](_0x4bad8d,_0x4ce116))return;const _0x2ba999=this[_0x284308(0x1b0)](_0x4ce116,_0x4bad8d);this[_0x284308(0x222)][_0x2ba999]={'uuid':TestDetails[_0x284308(0x21b)](_0x2ba999),'startedAt':_0x4bad8d[_0x284308(0x1c9)]['toISOString']()};const _0x2428e0=this[_0x284308(0x1f9)](_0x4ce116,_0x40ddf3[_0x284308(0x280)]);!this[_0x284308(0x1dd)][_0x2428e0]&&(this[_0x284308(0x1dd)][_0x2428e0]=[]),this['_testHooksMap'][_0x2428e0][_0x284308(0x1ce)](this['_tests'][_0x2ba999][_0x284308(0x220)]),_0x16a76f[_0x284308(0x1af)](trace,_0x284308(0x23a)+_0x2ba999+_0x284308(0x22e)+_0x2428e0),await this['sendHookRunEvent'](_0x4ce116,_0x4bad8d,_0x16a76f[_0x284308(0x213)],_0x40ddf3);}async[a41_0x4bb999(0x1f1)](_0x5c8b1f,_0x982330,_0x548195){const _0x258b4c=a41_0x4bb999,_0x32abf5={'wzMBp':function(_0x2f7ecd,_0xebe4b){return _0x2f7ecd+_0xebe4b;},'dMQlS':function(_0x2924d3,_0x41ddba){return _0x2924d3(_0x41ddba);},'mrZPe':_0x258b4c(0x219)};if(!this[_0x258b4c(0x1ea)](_0x548195,_0x5c8b1f))return;const _0x58fd86=this[_0x258b4c(0x1e6)](_0x5c8b1f,_0x548195);this[_0x258b4c(0x222)][_0x58fd86]={...this[_0x258b4c(0x222)][_0x58fd86]||{},'finishedAt':new Date(_0x32abf5[_0x258b4c(0x1b3)](_0x548195[_0x258b4c(0x1c9)][_0x258b4c(0x22b)](),_0x548195['duration']))},_0x32abf5['dMQlS'](trace,_0x258b4c(0x250)+_0x58fd86+_0x258b4c(0x245)),await this[_0x258b4c(0x207)](_0x5c8b1f,_0x548195,_0x32abf5[_0x258b4c(0x20b)],_0x982330);}async[a41_0x4bb999(0x26a)](_0x5b623d,_0x32ae71){const _0x3786cd=a41_0x4bb999,_0x34c310={'CehxP':function(_0x3a0b13,_0x48c22e){return _0x3a0b13===_0x48c22e;},'yrSKb':_0x3786cd(0x23d),'CUGSK':_0x3786cd(0x205),'RXJAP':_0x3786cd(0x273),'ZhCzg':function(_0x147e30,_0x574472){return _0x147e30(_0x574472);},'gUMqh':_0x3786cd(0x281),'ohBBv':function(_0x3753c6,_0x26abbc){return _0x3753c6>_0x26abbc;}},_0x448004=this[_0x3786cd(0x1fe)](_0x5b623d),_0x319f2c=TestDetails[_0x3786cd(0x21b)](this['getTestRunIdentifier'](_0x5b623d,_0x32ae71[_0x3786cd(0x280)]));this[_0x3786cd(0x222)][_0x448004]={...this[_0x3786cd(0x222)][_0x448004]||{},'finishedAt':new Date()[_0x3786cd(0x24e)]()},_0x34c310['ZhCzg'](trace,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x448004),await this[_0x3786cd(0x266)](_0x5b623d,_0x34c310['gUMqh'],_0x32ae71);const _0x4e95c5=[];_0x32ae71[_0x3786cd(0x1d4)]&&_0x32ae71['attachments'][_0x3786cd(0x202)](_0x182a0b=>{const _0x25ca59=_0x3786cd;if(_0x34c310[_0x25ca59(0x1cc)](_0x182a0b[_0x25ca59(0x1f6)],_0x34c310['yrSKb'])){if(!fs[_0x25ca59(0x24c)](_0x182a0b[_0x25ca59(0x21a)]))return;_0x4e95c5['push']({'test_run_uuid':_0x319f2c,'timestamp':fs[_0x25ca59(0x1c0)](_0x182a0b['path'])[_0x25ca59(0x204)],'kind':_0x34c310[_0x25ca59(0x214)],'message':fs[_0x25ca59(0x21c)](_0x182a0b[_0x25ca59(0x21a)],{'encoding':_0x34c310['RXJAP']})});}}),_0x34c310[_0x3786cd(0x20e)](_0x4e95c5['length'],0x0)&&await MyReporter[_0x3786cd(0x231)](_0x4e95c5);}async[a41_0x4bb999(0x1da)](){const _0x517d50=a41_0x4bb999;await RequestQueueHandler[_0x517d50(0x22f)]()[_0x517d50(0x225)](),TestDetails[_0x517d50(0x225)]();}async[a41_0x4bb999(0x1f4)](_0x39044a){const _0x1ee353=a41_0x4bb999,_0x2849ff={'jGUkI':function(_0x33ab9a){return _0x33ab9a();},'rMIFS':function(_0x5ea37f){return _0x5ea37f();},'dBqGj':function(_0x2c664a,_0x255aa9){return _0x2c664a(_0x255aa9);}};await this[_0x1ee353(0x1da)](),_0x2849ff[_0x1ee353(0x283)](printBuildLink);try{process[_0x1ee353(0x1e2)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x2849ff['rMIFS'](calculatePerformance);}catch(_0x3c15f6){_0x2849ff[_0x1ee353(0x206)](debug,'Error\x20in\x20calculating\x20performance:\x20'+_0x3c15f6[_0x1ee353(0x268)]());}}static async[a41_0x4bb999(0x236)](_0x270186,_0x46352e){const _0x5e028e=a41_0x4bb999;_0x46352e[_0x5e028e(0x1e7)]=TestDetails[_0x5e028e(0x21b)](_0x270186),await this[_0x5e028e(0x231)]([_0x46352e]);}static async[a41_0x4bb999(0x231)](_0x7fd295){const _0x464a2b=a41_0x4bb999,_0x2239d1={};_0x2239d1[_0x464a2b(0x1cf)]=_0x464a2b(0x247);const _0x5dba70=_0x2239d1,_0x4f0958={};_0x4f0958['event_type']=_0x5dba70[_0x464a2b(0x1cf)],_0x4f0958['logs']=_0x7fd295,await SessionHandler[_0x464a2b(0x27a)](_0x4f0958);}async['sendHookRunEvent'](_0x53e0b2,_0x49b34f,_0x214edd,_0x571857){const _0x5e3670=a41_0x4bb999,_0xb8be20={'xKdwD':'hook','DHQlx':_0x5e3670(0x23b),'qmrvg':_0x5e3670(0x228),'KXuZf':function(_0x2022c8,_0x47516e){return _0x2022c8>=_0x47516e;},'YszeS':function(_0x167255,_0x2414e4){return _0x167255===_0x2414e4;},'vZZhv':_0x5e3670(0x219),'rTVaB':function(_0x1e1512,_0x1735c2){return _0x1e1512>_0x1735c2;},'yGVZT':'failed','MTdAH':function(_0x3dd5b2,_0x811e3e){return _0x3dd5b2(_0x811e3e);},'fsVaO':function(_0x19dacf,_0x1183e9,_0x39fcc0){return _0x19dacf(_0x1183e9,_0x39fcc0);},'toZus':_0x5e3670(0x1ac),'XTSLu':function(_0x34af76,_0x498f9d){return _0x34af76===_0x498f9d;},'VJuVj':'passed'},_0x43eed1=this[_0x5e3670(0x1e6)](_0x53e0b2,_0x49b34f),_0x539a00=this[_0x5e3670(0x222)][_0x43eed1],_0x26953f={'uuid':_0x539a00[_0x5e3670(0x220)],'type':_0xb8be20[_0x5e3670(0x1ff)],'hook_type':this[_0x5e3670(0x257)](_0x49b34f['title']),'name':_0x49b34f[_0x5e3670(0x260)],'scope':this[_0x5e3670(0x232)](_0x49b34f),'scopes':this[_0x5e3670(0x26f)](_0x53e0b2),'body':{'lang':_0xb8be20[_0x5e3670(0x200)],'code':null},'identifier':_0x43eed1,'file_name':path[_0x5e3670(0x271)](process['cwd'](),_0x53e0b2[_0x5e3670(0x1ef)][_0x5e3670(0x23c)]),'location':path['relative'](process[_0x5e3670(0x265)](),_0x53e0b2[_0x5e3670(0x1ef)][_0x5e3670(0x23c)]),'result':_0xb8be20['qmrvg'],'duration_in_ms':_0xb8be20['KXuZf'](_0x49b34f[_0x5e3670(0x263)],0x0)?_0x49b34f[_0x5e3670(0x263)]:undefined,'vc_filepath':this['_gitConfigPath']&&_0x53e0b2['location']['file']?path['relative'](this[_0x5e3670(0x1d5)],_0x53e0b2['location'][_0x5e3670(0x23c)]):undefined,'started_at':_0x539a00[_0x5e3670(0x239)],'finished_at':_0x539a00[_0x5e3670(0x20d)],'framework':FRAMEWORKS['PLAYWRIGHT']};if(_0xb8be20['YszeS'](_0x214edd,_0xb8be20['vZZhv'])){const {steps:_0x486d0b,logs:_0x34ff19}=this[_0x5e3670(0x1f2)](_0x49b34f[_0x5e3670(0x1d3)],_0x539a00['uuid'],_0xb8be20[_0x5e3670(0x1ff)]);_0x34ff19&&_0xb8be20['rTVaB'](_0x34ff19[_0x5e3670(0x1f0)],0x0)&&await MyReporter[_0x5e3670(0x231)](_0x34ff19);const _0x5894db={};_0x5894db[_0x5e3670(0x1d3)]=_0x486d0b,_0x26953f[_0x5e3670(0x1ba)]=_0x5894db;if(_0x49b34f[_0x5e3670(0x1d9)]){_0x26953f[_0x5e3670(0x279)]=_0xb8be20['yGVZT'],_0x26953f[_0x5e3670(0x1b7)]=_0xb8be20[_0x5e3670(0x217)](removeAnsiColors,_0x49b34f['error'][_0x5e3670(0x233)]),_0x26953f[_0x5e3670(0x24b)]=_0xb8be20['MTdAH'](getFailureType,_0x49b34f[_0x5e3670(0x1d9)][_0x5e3670(0x233)]);const _0x58587c=_0xb8be20['fsVaO'](failureData,_0x49b34f['error'],_0xb8be20[_0x5e3670(0x1c2)]);if(_0x58587c&&_0xb8be20[_0x5e3670(0x1e4)](_0x58587c['length'],0x0)){const _0x402cde={};_0x402cde[_0x5e3670(0x209)]=[_0x26953f['failure_reason']],_0x402cde[_0x5e3670(0x1d7)]=[],_0x58587c[_0x5e3670(0x1ce)](_0x402cde);}_0x26953f[_0x5e3670(0x23e)]=_0x58587c;}else _0x26953f[_0x5e3670(0x279)]=_0xb8be20['VJuVj'];}const _0x1c3e25={};_0x1c3e25['event_type']=_0x214edd,_0x1c3e25[_0x5e3670(0x1b2)]=_0x26953f;const _0x48d549=_0x1c3e25;await SessionHandler[_0x5e3670(0x27a)](_0x48d549);}[a41_0x4bb999(0x1f2)](_0x2fc1c8,_0x146282,_0x51226b){const _0x3cdd15=a41_0x4bb999,_0x11df7a={'AreqC':function(_0x33cfb9,_0x4db160){return _0x33cfb9===_0x4db160;},'PxHkt':_0x3cdd15(0x21e),'Bdjim':function(_0x421b81,_0x1ac0e0){return _0x421b81===_0x1ac0e0;},'yFFwa':_0x3cdd15(0x1f5),'VPfED':_0x3cdd15(0x249),'ZeHOl':function(_0xaaf0fe,_0x1c8663){return _0xaaf0fe===_0x1c8663;},'bWjNl':_0x3cdd15(0x1c3),'UBpvv':'test_run_uuid','bMuvo':'hook_run_uuid','LIkZW':'TEST_STEP','LlmQK':_0x3cdd15(0x201),'VrduG':_0x3cdd15(0x26c),'AtQHm':function(_0x372750,_0x43f4e8){return _0x372750(_0x43f4e8);},'DzNMH':function(_0x1bd094){return _0x1bd094();},'hUEag':function(_0x24aea6,_0x2a6ccb,_0x5d12a3){return _0x24aea6(_0x2a6ccb,_0x5d12a3);},'EozKI':function(_0x3b4530,_0x5da3c4,_0x321f93){return _0x3b4530(_0x5da3c4,_0x321f93);}},_0x91dadc=[],_0x5a5c53=[],_0xf0439e=_0x2fc1c8[_0x3cdd15(0x20a)](_0x29ba35=>{const _0x47ee76=_0x3cdd15;if(_0x11df7a[_0x47ee76(0x1ad)](_0x29ba35[_0x47ee76(0x255)],_0x11df7a[_0x47ee76(0x1c6)])&&(_0x11df7a[_0x47ee76(0x256)](_0x29ba35[_0x47ee76(0x260)],_0x11df7a['yFFwa'])||_0x11df7a[_0x47ee76(0x256)](_0x29ba35[_0x47ee76(0x260)],_0x11df7a[_0x47ee76(0x208)])))return![];return!![];}),_0x41b57d=(_0xcec704,_0x5174b7=![])=>{const _0xf70ddb=_0x3cdd15;if(_0x11df7a['ZeHOl'](_0xcec704[_0xf70ddb(0x1d3)]['length'],0x0)){const _0x108d13=_0x11df7a[_0xf70ddb(0x256)](_0x51226b,_0x11df7a[_0xf70ddb(0x1d0)])?_0x11df7a[_0xf70ddb(0x1db)]:_0x11df7a[_0xf70ddb(0x235)];_0x5a5c53[_0xf70ddb(0x1ce)]({'kind':_0x11df7a[_0xf70ddb(0x1e0)],[_0x108d13]:_0x146282,'message':_0xcec704[_0xf70ddb(0x260)],'timestamp':_0xcec704[_0xf70ddb(0x1c9)][_0xf70ddb(0x24e)](),'level':_0xcec704[_0xf70ddb(0x1d9)]?_0x11df7a[_0xf70ddb(0x27f)]:_0x11df7a['VrduG'],'duration':_0xcec704['duration'],'failure':_0xcec704[_0xf70ddb(0x1d9)]&&_0xcec704[_0xf70ddb(0x1d9)]['message']&&_0x11df7a[_0xf70ddb(0x1ca)](removeAnsiColors,_0xcec704['error'][_0xf70ddb(0x233)]),'failure_type':_0x11df7a['AtQHm'](getFailureType,_0xcec704[_0xf70ddb(0x1d9)]&&_0xcec704[_0xf70ddb(0x1d9)][_0xf70ddb(0x233)])});}else{!_0x5174b7&&_0x91dadc[_0xf70ddb(0x1ce)]({'id':_0x11df7a['DzNMH'](uuidv4),'text':_0xcec704[_0xf70ddb(0x260)],'keyword':undefined,'started_at':_0xcec704[_0xf70ddb(0x1c9)][_0xf70ddb(0x24e)](),'duration':_0xcec704[_0xf70ddb(0x263)],'result':_0xcec704[_0xf70ddb(0x1d9)]?_0x11df7a[_0xf70ddb(0x27f)]:_0x11df7a[_0xf70ddb(0x1aa)],'failure':_0xcec704[_0xf70ddb(0x1d9)]&&_0xcec704[_0xf70ddb(0x1d9)]['message']&&_0x11df7a[_0xf70ddb(0x1ca)](removeAnsiColors,_0xcec704[_0xf70ddb(0x1d9)][_0xf70ddb(0x233)]),'failure_type':_0x11df7a['AtQHm'](getFailureType,_0xcec704[_0xf70ddb(0x1d9)]&&_0xcec704[_0xf70ddb(0x1d9)][_0xf70ddb(0x233)])});for(const _0x38e0df of _0xcec704[_0xf70ddb(0x1d3)]){_0x11df7a[_0xf70ddb(0x25d)](_0x41b57d,_0x38e0df,!![]);}}};for(const _0x4efac4 of _0xf0439e){_0x11df7a[_0x3cdd15(0x24f)](_0x41b57d,_0x4efac4,![]);}const _0x5a9503={};return _0x5a9503[_0x3cdd15(0x1d3)]=_0x91dadc,_0x5a9503[_0x3cdd15(0x258)]=_0x5a5c53,_0x5a9503;}async[a41_0x4bb999(0x266)](_0x1b2c9d,_0x25a506,_0x55e865){const _0x423643=a41_0x4bb999,_0x49edb1={'srSel':'test','nzUsa':_0x423643(0x23b),'IjDOK':_0x423643(0x228),'koqyN':function(_0x4aebed,_0x2cd44d){return _0x4aebed(_0x2cd44d);},'pblTI':function(_0x229c51,_0xb61edc,_0x43e24f,_0x436368,_0x5a31eb){return _0x229c51(_0xb61edc,_0x43e24f,_0x436368,_0x5a31eb);},'xvbXX':function(_0x14f525,_0x414fb9){return _0x14f525>_0x414fb9;},'PKyEH':function(_0x3a2695,_0x2893b9){return _0x3a2695-_0x2893b9;},'kpDMS':function(_0x2463b9,_0x133d0a){return _0x2463b9===_0x133d0a;},'FfOoZ':_0x423643(0x281),'SxyGP':_0x423643(0x27c),'BIPAy':_0x423643(0x26c),'ivloX':function(_0x2af2aa,_0x46598e){return _0x2af2aa===_0x46598e;},'TyVWl':_0x423643(0x201),'cCqfn':_0x423643(0x1cb),'LcYew':_0x423643(0x1fb),'EGrIe':function(_0x149cd5,_0x40d5d4){return _0x149cd5(_0x40d5d4);},'jttpo':function(_0x5bca43,_0x3a39e9,_0x4a9896){return _0x5bca43(_0x3a39e9,_0x4a9896);},'leYuf':function(_0x4e6770,_0x5bddf){return _0x4e6770===_0x5bddf;}},_0x9d865=this[_0x423643(0x1fe)](_0x1b2c9d),_0x39b9b6=this[_0x423643(0x232)](_0x1b2c9d),_0x594fab=this[_0x423643(0x222)][_0x9d865],_0x81a02b=path[_0x423643(0x271)](process[_0x423643(0x265)](),_0x1b2c9d[_0x423643(0x1ef)][_0x423643(0x23c)]);await this[_0x423643(0x238)]();const _0x135737={'uuid':_0x594fab[_0x423643(0x220)],'type':_0x49edb1['srSel'],'name':_0x1b2c9d['title'],'body':{'lang':_0x49edb1[_0x423643(0x21d)],'code':_0x1b2c9d['fn'][_0x423643(0x268)]()},'scope':_0x39b9b6,'scopes':this[_0x423643(0x26f)](_0x1b2c9d),'identifier':_0x9d865,'file_name':_0x81a02b,'location':_0x81a02b,'result':_0x49edb1['IjDOK'],'duration_in_ms':_0x55e865&&_0x55e865[_0x423643(0x263)]?_0x55e865[_0x423643(0x263)]:null,'vc_filepath':this[_0x423643(0x1d5)]&&_0x1b2c9d[_0x423643(0x1ef)]['file']?path[_0x423643(0x271)](this[_0x423643(0x1d5)],_0x1b2c9d[_0x423643(0x1ef)]['file']):undefined,'started_at':_0x594fab[_0x423643(0x239)],'finished_at':_0x594fab[_0x423643(0x20d)],'framework':FRAMEWORKS[_0x423643(0x22d)],'customRerunParam':{'rerun_name':this[_0x423643(0x25c)](_0x1b2c9d)},'tags':_0x49edb1[_0x423643(0x1d2)](getTestTags,_0x1b2c9d)};_0x49edb1[_0x423643(0x246)](appendTesthubParams,_0x135737,_0x25a506,_0x1b2c9d,FRAMEWORKS[_0x423643(0x22d)]);_0x55e865&&_0x49edb1[_0x423643(0x1f7)](_0x55e865['retry'],0x0)&&(_0x135737[_0x423643(0x1ae)]=TestDetails['getTestUUID'](this[_0x423643(0x1f9)](_0x1b2c9d,_0x49edb1[_0x423643(0x243)](_0x55e865['retry'],0x1))));if(_0x49edb1['kpDMS'](_0x25a506,_0x49edb1[_0x423643(0x1c8)])){_0x135737[_0x423643(0x279)]=_0x55e865[_0x423643(0x224)];if(_0x49edb1[_0x423643(0x1bf)](_0x55e865[_0x423643(0x224)],_0x1b2c9d['expectedStatus']))_0x135737[_0x423643(0x279)]=_0x49edb1[_0x423643(0x1bf)](_0x55e865[_0x423643(0x224)],_0x49edb1[_0x423643(0x27b)])?_0x49edb1[_0x423643(0x27b)]:_0x49edb1['BIPAy'];else{(_0x49edb1[_0x423643(0x1bf)](_0x135737[_0x423643(0x279)],_0x49edb1[_0x423643(0x1c7)])||_0x49edb1[_0x423643(0x1e1)](_0x135737['result'],_0x49edb1[_0x423643(0x278)])||_0x49edb1[_0x423643(0x1e1)](_0x135737[_0x423643(0x279)],_0x49edb1['cCqfn']))&&(_0x135737[_0x423643(0x279)]=_0x49edb1['TyVWl']);if(_0x49edb1['ivloX'](_0x55e865[_0x423643(0x224)],_0x49edb1[_0x423643(0x1c7)])&&_0x49edb1['kpDMS'](_0x1b2c9d['expectedStatus'],_0x49edb1['TyVWl'])){const _0x475a7f={};_0x475a7f[_0x423643(0x233)]=_0x49edb1[_0x423643(0x1fc)],_0x475a7f['stack']=_0x49edb1[_0x423643(0x1fc)],_0x55e865[_0x423643(0x1d9)]=_0x475a7f,_0x55e865[_0x423643(0x223)]=[_0x55e865['error']];}}const _0x4b2696=this[_0x423643(0x1f9)](_0x1b2c9d,_0x55e865[_0x423643(0x280)]);_0x135737['hooks']=this[_0x423643(0x1dd)][_0x4b2696];const {steps:_0xce6e57,logs:_0x1646d0}=this['getStepsAndLogs'](_0x55e865['steps'],_0x594fab[_0x423643(0x220)],_0x49edb1['srSel']);await MyReporter[_0x423643(0x231)](_0x1646d0);const _0x55b447={};_0x55b447[_0x423643(0x1d3)]=_0xce6e57,_0x135737[_0x423643(0x1ba)]=_0x55b447;if(_0x55e865[_0x423643(0x1d9)]){_0x135737[_0x423643(0x1b7)]=_0x49edb1['koqyN'](removeAnsiColors,_0x55e865['error'][_0x423643(0x233)]),_0x135737['failure_type']=_0x49edb1['EGrIe'](getFailureType,_0x55e865[_0x423643(0x1d9)][_0x423643(0x233)]);const _0x3840c3={};_0x3840c3[_0x423643(0x1e7)]=_0x594fab[_0x423643(0x220)];const {failureData:_0x76160c,logs:_0x1ee390}=_0x49edb1['jttpo'](getFailureData,_0x55e865[_0x423643(0x223)],_0x3840c3);if(_0x76160c&&_0x49edb1[_0x423643(0x1ab)](_0x76160c[_0x423643(0x1f0)],0x0)){const _0x2d65ec={};_0x2d65ec[_0x423643(0x209)]=[_0x135737[_0x423643(0x1b7)]],_0x2d65ec['expanded']=[],_0x76160c[_0x423643(0x1ce)](_0x2d65ec);}_0x135737[_0x423643(0x23e)]=_0x76160c,_0x1ee390&&_0x49edb1[_0x423643(0x1f7)](_0x1ee390[_0x423643(0x1f0)],0x0)&&await MyReporter[_0x423643(0x231)](_0x1ee390);}}const _0x24f297={};_0x24f297['event_type']=_0x25a506,_0x24f297[_0x423643(0x237)]=_0x135737;const _0x1c82bc=_0x24f297;await SessionHandler[_0x423643(0x27a)](_0x1c82bc);}[a41_0x4bb999(0x25c)](_0x75152e){const _0x27a3cc=a41_0x4bb999,_0x59fe5c={};_0x59fe5c[_0x27a3cc(0x218)]=function(_0x50344f,_0x25decc){return _0x50344f===_0x25decc;},_0x59fe5c['sUOEg']=function(_0x13335e,_0x4105fa){return _0x13335e>_0x4105fa;},_0x59fe5c[_0x27a3cc(0x1fd)]=function(_0x404058,_0xe8aa00){return _0x404058+_0xe8aa00;},_0x59fe5c['gRcbT']=function(_0x2dbe44,_0x3d2f34){return _0x2dbe44+_0x3d2f34;};const _0x509de4=_0x59fe5c,_0xb3d038=_0x75152e[_0x27a3cc(0x1cd)]()[_0x27a3cc(0x202)](_0x3df3a7=>{const _0x49f9e8=_0x27a3cc;if(_0x75152e[_0x49f9e8(0x1bc)]&&_0x509de4[_0x49f9e8(0x218)](_0x3df3a7,_0x75152e[_0x49f9e8(0x1bc)][_0x49f9e8(0x260)])&&_0x509de4['sUOEg'](_0x75152e['parent'][_0x49f9e8(0x1df)][_0x49f9e8(0x1f0)],0x0))return _0x509de4[_0x49f9e8(0x1fd)](_0x509de4['xHZMu'](_0x3df3a7,'\x20'),_0x75152e[_0x49f9e8(0x1bc)][_0x49f9e8(0x1df)][_0x49f9e8(0x1ed)]('\x20'));if(_0x509de4[_0x49f9e8(0x218)](_0x3df3a7,_0x75152e['title'])&&_0x509de4['sUOEg'](_0x75152e[_0x49f9e8(0x1df)]['length'],0x0))return _0x509de4[_0x49f9e8(0x1fd)](_0x509de4[_0x49f9e8(0x22a)](_0x3df3a7,'\x20'),_0x75152e['_tags'][_0x49f9e8(0x1ed)]('\x20'));return _0x3df3a7;})[_0x27a3cc(0x1ed)]('\x20');return _0xb3d038;}static async[a41_0x4bb999(0x1d8)](_0x17c127,_0x16d022){const _0x3d1e50=a41_0x4bb999,_0x16a5f6={'kjGXh':function(_0x69bb12,_0x45332c){return _0x69bb12(_0x45332c);},'BLgKe':_0x3d1e50(0x1e9)},_0x425a14={'uuid':TestDetails['getTestUUID'](_0x17c127),'integrations':_0x16d022},_0x139c39={};_0x139c39[_0x3d1e50(0x1e8)]=null,_0x16a5f6['kjGXh'](debug,_0x3d1e50(0x1fa)+_0x17c127+',\x20'+util[_0x3d1e50(0x25e)](_0x16d022,_0x139c39));const _0x5d1a61={};_0x5d1a61['event_type']=_0x16a5f6[_0x3d1e50(0x26b)],_0x5d1a61[_0x3d1e50(0x237)]=_0x425a14,await SessionHandler[_0x3d1e50(0x27a)](_0x5d1a61);}async[a41_0x4bb999(0x238)](){const _0x15c78a=a41_0x4bb999,_0x337bd5={'jtprT':function(_0x5716ec){return _0x5716ec();}};if(this['_gitConfigured'])return;const _0x51a4de=await _0x337bd5[_0x15c78a(0x1b6)](getGitMetaData);_0x51a4de&&(this[_0x15c78a(0x1d5)]=_0x51a4de['root']),this[_0x15c78a(0x230)]=!![];}['getHierarchy'](_0x22d11c){const _0x2a3b56=a41_0x4bb999,_0x50842a={};_0x50842a[_0x2a3b56(0x270)]=function(_0x358c96,_0x31ef52){return _0x358c96!==_0x31ef52;};const _0x380730=_0x50842a,_0x51847e=[];if(_0x22d11c&&_0x22d11c[_0x2a3b56(0x1bc)]){let _0x1d2764=_0x22d11c[_0x2a3b56(0x1bc)];while(_0x1d2764&&_0x380730[_0x2a3b56(0x270)](_0x1d2764[_0x2a3b56(0x260)],'')){_0x51847e[_0x2a3b56(0x1ce)](_0x1d2764[_0x2a3b56(0x260)]),_0x1d2764=_0x1d2764['parent'];}}return _0x51847e[_0x2a3b56(0x1b4)]()[_0x2a3b56(0x216)](0x0,0x2),_0x51847e;}[a41_0x4bb999(0x1ea)](_0x2722ec){const _0x13cefd=a41_0x4bb999,_0x24e26a={};_0x24e26a[_0x13cefd(0x20f)]=function(_0x866df8,_0x20d13a){return _0x866df8!==_0x20d13a;},_0x24e26a[_0x13cefd(0x275)]=_0x13cefd(0x21e),_0x24e26a[_0x13cefd(0x1c4)]=function(_0x5b2678,_0x44c037){return _0x5b2678===_0x44c037;},_0x24e26a[_0x13cefd(0x1d6)]=_0x13cefd(0x1ec),_0x24e26a[_0x13cefd(0x272)]=_0x13cefd(0x26d),_0x24e26a[_0x13cefd(0x1e3)]='afterAll\x20hook',_0x24e26a['qOxxt']=_0x13cefd(0x27d);const _0x21a04c=_0x24e26a;if(_0x21a04c[_0x13cefd(0x20f)](_0x2722ec['category'],_0x21a04c[_0x13cefd(0x275)]))return![];if(_0x21a04c[_0x13cefd(0x1c4)]([_0x21a04c['WyUhS'],_0x21a04c[_0x13cefd(0x272)],_0x21a04c[_0x13cefd(0x1e3)],_0x21a04c[_0x13cefd(0x1d1)]][_0x13cefd(0x211)](_0x2722ec[_0x13cefd(0x260)]),-0x1))return![];return!![];}['getStepIdentifier'](_0x4191ed,_0x24edd1){const _0x22c640=a41_0x4bb999,_0x3382ec=_0x24edd1['_bs_hookIdentifier'];if(_0x3382ec)return _0x3382ec;return _0x24edd1['title']+_0x22c640(0x242)+this[_0x22c640(0x1fe)](_0x4191ed);}[a41_0x4bb999(0x1b0)](_0x26970c,_0x18616d){const _0x49b46e=a41_0x4bb999,_0x2bb383={'jIBXi':function(_0x5caa39){return _0x5caa39();}};let _0x1c9cc5=_0x18616d['title']+_0x49b46e(0x242)+this['getTestIdentifier'](_0x26970c);return this[_0x49b46e(0x222)][_0x1c9cc5]&&(_0x1c9cc5=_0x1c9cc5+'\x20-\x20'+_0x2bb383['jIBXi'](uuidv4)),_0x18616d[_0x49b46e(0x210)]=_0x1c9cc5,_0x1c9cc5;}['getTestIdentifier']=_0x21a374=>{const _0x46b59d=a41_0x4bb999,_0x644c4f={};_0x644c4f[_0x46b59d(0x226)]=function(_0x53df0d,_0x197c3e){return _0x53df0d+_0x197c3e;};const _0x488af5=_0x644c4f;return _0x488af5[_0x46b59d(0x226)](_0x488af5[_0x46b59d(0x226)](_0x21a374[_0x46b59d(0x264)],'-'),_0x21a374['id']);};['getTestRunIdentifier']=(_0x72bf8e,_0xb00beb)=>{const _0x5acd57=a41_0x4bb999,_0x52d874={};_0x52d874[_0x5acd57(0x1f3)]=function(_0x7aa05c,_0x31070e){return _0x7aa05c+_0x31070e;};const _0x4939cb=_0x52d874;return _0x4939cb['vIMxc'](_0x4939cb['vIMxc'](this[_0x5acd57(0x1fe)](_0x72bf8e),'-'),_0xb00beb);};[a41_0x4bb999(0x257)]=_0x35d867=>{const _0x1c8dd5=a41_0x4bb999,_0x34df8c={};_0x34df8c[_0x1c8dd5(0x251)]='beforeEach\x20hook',_0x34df8c['bEQpT']='BEFORE_EACH',_0x34df8c[_0x1c8dd5(0x248)]=_0x1c8dd5(0x26d),_0x34df8c[_0x1c8dd5(0x1f8)]=_0x1c8dd5(0x1ee),_0x34df8c[_0x1c8dd5(0x277)]=_0x1c8dd5(0x27d),_0x34df8c['RFTuT']=_0x1c8dd5(0x23f),_0x34df8c[_0x1c8dd5(0x1bb)]=_0x1c8dd5(0x215),_0x34df8c[_0x1c8dd5(0x267)]='AFTER_ALL',_0x34df8c[_0x1c8dd5(0x20c)]=_0x1c8dd5(0x1c5);const _0x20bb68=_0x34df8c;if(_0x35d867[_0x1c8dd5(0x25b)](_0x20bb68[_0x1c8dd5(0x251)]))return _0x20bb68[_0x1c8dd5(0x22c)];else{if(_0x35d867[_0x1c8dd5(0x25b)](_0x20bb68['tNUoC']))return _0x20bb68[_0x1c8dd5(0x1f8)];else{if(_0x35d867[_0x1c8dd5(0x25b)](_0x20bb68[_0x1c8dd5(0x277)]))return _0x20bb68[_0x1c8dd5(0x1dc)];else{if(_0x35d867[_0x1c8dd5(0x25b)](_0x20bb68[_0x1c8dd5(0x1bb)]))return _0x20bb68[_0x1c8dd5(0x267)];}}}return _0x20bb68[_0x1c8dd5(0x20c)];};['getScope']=_0x44fdeb=>{const _0x3db51a=a41_0x4bb999,_0x4a4319={};_0x4a4319[_0x3db51a(0x1be)]=function(_0xfb4606,_0x361f31){return _0xfb4606===_0x361f31;},_0x4a4319[_0x3db51a(0x27e)]=_0x3db51a(0x1eb);const _0x3dba48=_0x4a4319;let _0xc6ac7f=_0x44fdeb[_0x3db51a(0x1bc)];return _0x3dba48[_0x3db51a(0x1be)](typeof _0x44fdeb[_0x3db51a(0x1bc)],_0x3dba48[_0x3db51a(0x27e)])&&(_0xc6ac7f=_0xc6ac7f['title']),_0xc6ac7f+'\x20-\x20'+_0x44fdeb[_0x3db51a(0x260)];};[a41_0x4bb999(0x21f)](){return![];}}module[a41_0x4bb999(0x244)]=o11yClassErrorHandler(MyReporter,['onBegin',a41_0x4bb999(0x1da),'onTestBegin',a41_0x4bb999(0x26a),'onStepBegin','onStepEnd',a41_0x4bb999(0x1d8)],a41_0x4bb999(0x234));
|
|
1
|
+
const a41_0x5ab077=a41_0x1859;function a41_0x1859(_0x52823b,_0x27dfbf){const _0x4c3ce8=a41_0x4c3c();return a41_0x1859=function(_0x185978,_0x17fe33){_0x185978=_0x185978-0x1e4;let _0xac0a64=_0x4c3ce8[_0x185978];return _0xac0a64;},a41_0x1859(_0x52823b,_0x27dfbf);}(function(_0x31bfaf,_0x405618){const _0x241434=a41_0x1859,_0x1fe323=_0x31bfaf();while(!![]){try{const _0x192a0f=parseInt(_0x241434(0x293))/0x1+-parseInt(_0x241434(0x277))/0x2*(parseInt(_0x241434(0x271))/0x3)+-parseInt(_0x241434(0x264))/0x4*(parseInt(_0x241434(0x24a))/0x5)+-parseInt(_0x241434(0x25b))/0x6+-parseInt(_0x241434(0x2c9))/0x7*(-parseInt(_0x241434(0x2c3))/0x8)+-parseInt(_0x241434(0x206))/0x9+parseInt(_0x241434(0x1f1))/0xa;if(_0x192a0f===_0x405618)break;else _0x1fe323['push'](_0x1fe323['shift']());}catch(_0x16a9ff){_0x1fe323['push'](_0x1fe323['shift']());}}}(a41_0x4c3c,0x60847));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData}=require(a41_0x5ab077(0x289)),{v4:uuidv4}=require(a41_0x5ab077(0x1f0)),path=require(a41_0x5ab077(0x1ec)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x5ab077(0x2b4)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x5ab077(0x234)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a41_0x5ab077(0x208)),PerformanceTester=require(a41_0x5ab077(0x23b)),{FRAMEWORKS}=require(a41_0x5ab077(0x1ed)),SessionHandler=require(a41_0x5ab077(0x26b)),{appendTesthubParams}=require(a41_0x5ab077(0x2c6)),TestHubHandler=require(a41_0x5ab077(0x2ab));function a41_0x4c3c(){const _0x44705f=['addTestUIDAndReportLog','_projectId','NajQb','LqqWv','./pwUtils','configureGit','startMonitoring','setup','FPqFL','hook','getStepsAndLogs','err','toString','dmbQv','352751ZzWISJ','ebDlp','getTestUUID','dXTAP','_testHooksMap','_gitConfigured','dnWZo','BEFORE_EACH','Hook\x20Started\x20with\x20unique\x20id\x20','test','inspect','dYuwA','zPYmT','status','HkmUH','ysjoa','pending','lVtzr','GYevL','shutdown','hQRyP','TestRunFinished','\x20for\x20','title','../../../helpers/testhub/testhubHandler','Before\x20Hooks','sendHookRunEvent','BROWSERSTACK_LOG_LEVEL','IcdDT','utngH','sbHMb','error','push','../../../helpers/test-observability/utils','Dndri','pRzQU','passed','dFFUY','LKgAZ','test_run_uuid','MVGoV','cwd','_bs_hookIdentifier','jkzUY','pVVJP','root','errors','MOCfd','273368TkEndR','XELqV','depth','../../../helpers/testhub/utils','onStepBegin','ElHCf','49kUakKH','performance-report-reporter.json','HookRunStarted','statSync','After\x20Hooks','ZDcdD','meta','message','START_TIME','onTestEnd','BROWSERSTACK_O11Y_PERF_MEASUREMENT','dGtrc','xlZkc','path','../../../helpers/test-observability/constants','UIDTh','sendTestRunEvent','uuid','14490620IutLIT','PyLnN','UiagG','getCustomRerunParam','sendSessionDetails','TEST_SCREENSHOT','uXqyl','_gitConfigPath','stRLD','expanded','test_run','gkRKY','startedAt','setStepIdentifier','SJtiq','onStepEnd','duration','getTime','afterEach\x20hook','existsSync','retry_of','1821807BScetU','logLevel','../../../helpers/test-observability/error-handler','PedOg','EDYJI','mtime','KEbvU','tyHvD','gSdIq','getScope','RvBLY','toISOString','NBgnc','qwHLG','IkRTH','failed','YBELT','_tags','\x20-\x20','join','event_type','attachments','nMWnw','timedOut','beforeAll\x20hook','retry','startTime','tRTfW','unknown','map','JSAdv','env','category','xpzmy','result','getTestRunIdentifier','dAIpt','hook_run','failure','Kbpts','name','relative','BiCoI','PMcGV','ZDKdK','BEFORE_ALL','./test-details','needToReportStep','AFTER_ALL','CBTSessionCreated','onTestBegin','kQLYf','MPDVE','../../../helpers/performance/performance-tester','file','ISdPv','BHMYi','gPNmU','PLAYWRIGHT','getTestIdentifier','getStepIdentifier','dmMPE','printsToStdio','Error\x20in\x20calculating\x20performance:\x20','UfPbS','QPvBp','4|3|5|1|6|0|2','lFbKJ','362975lWLIeH','tGOuh','VISgM','titlePath','uploadEventData','splice','location','lurwH','beforeEach\x20hook','failure_type','AFTER_EACH','Hook\x20Finished\x20with\x20unique\x20id\x20','getInstance','startsWith','zqJve','logs','afterAll\x20hook','1019364PDCmPr','length','cqtox','reportLogs','_tests','parent','getHierarchy','xtRSt','expectedStatus','36MZsoqQ','HookRunFinished','stack','YHkgM','Sending\x20session\x20details\x20for\x20','javascript','XDclo','../../../helpers/test-observability/sessionHandler','pASWg','failure_reason','tPtVi','cddZl','Test\x20Finished\x20with\x20unique\x20id\x20','1860009MHlxiP','endSession','BYsLY','\x20is\x20triggered\x20for\x20test\x20','pANeB','KGCDU','2RANTRs','gZhgr','VwHjp','getHookType','RzfMI','onBegin','gWOaw','wrpZp','Oiqft','Glgjq','steps','Qaotn','nvINt','finishedAt'];a41_0x4c3c=function(){return _0x44705f;};return a41_0x4c3c();}class MyReporter{constructor(_0x21f858){const _0x223dd=a41_0x5ab077,_0x598ad0={'aDReW':_0x223dd(0x248),'sbHMb':_0x223dd(0x2ca),'RtDFh':function(_0x41d2e1,_0x205382,_0x20316a,_0x32d0ab){return _0x41d2e1(_0x205382,_0x20316a,_0x32d0ab);}},_0x1e0d2c=_0x598ad0['aDReW']['split']('|');let _0x194a78=0x0;while(!![]){switch(_0x1e0d2c[_0x194a78++]){case'0':this[_0x223dd(0x298)]=![];continue;case'1':this['_testHooksMap']={};continue;case'2':this[_0x223dd(0x1f8)]=null;continue;case'3':process[_0x223dd(0x225)][_0x223dd(0x1e9)]&&(PerformanceTester[_0x223dd(0x28b)](_0x598ad0[_0x223dd(0x2b1)]),process['env'][_0x223dd(0x1e7)]=new Date()[_0x223dd(0x211)]());continue;case'4':const _0x3b7df5={};_0x3b7df5[_0x223dd(0x207)]=process[_0x223dd(0x225)][_0x223dd(0x2ae)],_0x598ad0['RtDFh'](setLogLevel,_0x3b7df5,new Map(),new Map());continue;case'5':this[_0x223dd(0x25f)]={};continue;case'6':this['options']=_0x21f858;continue;}break;}}async[a41_0x5ab077(0x27c)](){const _0x1c4288=a41_0x5ab077;TestDetails[_0x1c4288(0x28c)](),await this[_0x1c4288(0x28a)]();}async[a41_0x5ab077(0x238)](_0x51dc6c,_0x29bd9a){const _0x2d36f7=a41_0x5ab077,_0x4eeca3={'KGCDU':function(_0x5b38c5,_0x5112dd){return _0x5b38c5(_0x5112dd);},'BHMYi':'TestRunStarted'},_0x16fa5b=this[_0x2d36f7(0x241)](_0x51dc6c);this[_0x2d36f7(0x25f)][_0x16fa5b]={'uuid':TestDetails[_0x2d36f7(0x295)](this[_0x2d36f7(0x229)](_0x51dc6c,_0x29bd9a[_0x2d36f7(0x21f)])),'startedAt':_0x29bd9a['startTime']},_0x4eeca3[_0x2d36f7(0x276)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x16fa5b),await this[_0x2d36f7(0x1ef)](_0x51dc6c,_0x4eeca3[_0x2d36f7(0x23e)],_0x29bd9a);}async['onStepBegin'](_0x1f452d,_0x388c1d,_0xdfbd64){const _0x2c5c1a=a41_0x5ab077,_0x591467={'gSdIq':function(_0x2df261,_0x277337){return _0x2df261(_0x277337);},'LKgAZ':_0x2c5c1a(0x2cb)};if(!this[_0x2c5c1a(0x235)](_0xdfbd64,_0x1f452d))return;const _0x128b91=this[_0x2c5c1a(0x1fe)](_0x1f452d,_0xdfbd64);this['_tests'][_0x128b91]={'uuid':TestDetails[_0x2c5c1a(0x295)](_0x128b91),'startedAt':_0xdfbd64['startTime'][_0x2c5c1a(0x211)]()};const _0x4de6ba=this[_0x2c5c1a(0x229)](_0x1f452d,_0x388c1d[_0x2c5c1a(0x21f)]);!this[_0x2c5c1a(0x297)][_0x4de6ba]&&(this[_0x2c5c1a(0x297)][_0x4de6ba]=[]),this['_testHooksMap'][_0x4de6ba][_0x2c5c1a(0x2b3)](this[_0x2c5c1a(0x25f)][_0x128b91][_0x2c5c1a(0x1f0)]),_0x591467[_0x2c5c1a(0x20e)](trace,_0x2c5c1a(0x29b)+_0x128b91+_0x2c5c1a(0x274)+_0x4de6ba),await this[_0x2c5c1a(0x2ad)](_0x1f452d,_0xdfbd64,_0x591467[_0x2c5c1a(0x2b9)],_0x388c1d);}async[a41_0x5ab077(0x200)](_0x1487ea,_0x3630ae,_0x1ba67f){const _0x1e6669=a41_0x5ab077,_0x547fa7={'tyHvD':function(_0x563945,_0x4388f0){return _0x563945+_0x4388f0;},'LOmXi':function(_0x186030,_0x4d2426){return _0x186030(_0x4d2426);},'uXqyl':_0x1e6669(0x265)};if(!this['needToReportStep'](_0x1ba67f,_0x1487ea))return;const _0xfc8e81=this[_0x1e6669(0x242)](_0x1487ea,_0x1ba67f);this[_0x1e6669(0x25f)][_0xfc8e81]={...this[_0x1e6669(0x25f)][_0xfc8e81]||{},'finishedAt':new Date(_0x547fa7[_0x1e6669(0x20d)](_0x1ba67f[_0x1e6669(0x220)][_0x1e6669(0x202)](),_0x1ba67f[_0x1e6669(0x201)]))},_0x547fa7['LOmXi'](trace,_0x1e6669(0x255)+_0xfc8e81+'\x20is\x20triggered'),await this[_0x1e6669(0x2ad)](_0x1487ea,_0x1ba67f,_0x547fa7[_0x1e6669(0x1f7)],_0x3630ae);}async[a41_0x5ab077(0x1e8)](_0x51f9ad,_0x1e2081){const _0x1f135c=a41_0x5ab077,_0x1bdaa1={'dYuwA':function(_0xe893e5,_0x3326da){return _0xe893e5===_0x3326da;},'Qaotn':'screenshot','MOCfd':_0x1f135c(0x1f6),'hQRyP':'base64','lurwH':function(_0x4eac4f,_0x24331e){return _0x4eac4f(_0x24331e);},'lFbKJ':_0x1f135c(0x2a8),'IkRTH':function(_0x26fca5,_0x54080a){return _0x26fca5>_0x54080a;}},_0x2cc0cf=this[_0x1f135c(0x241)](_0x51f9ad),_0x3aa78a=TestDetails[_0x1f135c(0x295)](this[_0x1f135c(0x229)](_0x51f9ad,_0x1e2081[_0x1f135c(0x21f)]));this[_0x1f135c(0x25f)][_0x2cc0cf]={...this['_tests'][_0x2cc0cf]||{},'finishedAt':new Date()[_0x1f135c(0x211)]()},_0x1bdaa1[_0x1f135c(0x251)](trace,_0x1f135c(0x270)+_0x2cc0cf),await this[_0x1f135c(0x1ef)](_0x51f9ad,_0x1bdaa1[_0x1f135c(0x249)],_0x1e2081);const _0x34d6a9=[];_0x1e2081[_0x1f135c(0x21b)]&&_0x1e2081[_0x1f135c(0x21b)][_0x1f135c(0x223)](_0xe9518d=>{const _0x328b4c=_0x1f135c;if(_0x1bdaa1[_0x328b4c(0x29e)](_0xe9518d[_0x328b4c(0x22e)],_0x1bdaa1[_0x328b4c(0x282)])){if(!fs[_0x328b4c(0x204)](_0xe9518d[_0x328b4c(0x1ec)]))return;_0x34d6a9[_0x328b4c(0x2b3)]({'test_run_uuid':_0x3aa78a,'timestamp':fs[_0x328b4c(0x2cc)](_0xe9518d[_0x328b4c(0x1ec)])[_0x328b4c(0x20b)],'kind':_0x1bdaa1[_0x328b4c(0x2c2)],'message':fs['readFileSync'](_0xe9518d[_0x328b4c(0x1ec)],{'encoding':_0x1bdaa1[_0x328b4c(0x2a7)]})});}}),_0x1bdaa1[_0x1f135c(0x214)](_0x34d6a9[_0x1f135c(0x25c)],0x0)&&await MyReporter[_0x1f135c(0x25e)](_0x34d6a9);}async[a41_0x5ab077(0x272)](){const _0x82709=a41_0x5ab077;await RequestQueueHandler[_0x82709(0x256)]()[_0x82709(0x2a6)](),TestDetails['shutdown']();}async['onEnd'](_0x320816){const _0x1b999c=a41_0x5ab077,_0x330678={'xpzmy':function(_0x35c37d){return _0x35c37d();},'SKFQU':function(_0x1320f2){return _0x1320f2();},'dnWZo':function(_0x48026d,_0x40d257){return _0x48026d(_0x40d257);}};await this[_0x1b999c(0x272)](),_0x330678[_0x1b999c(0x227)](printBuildLink);try{process[_0x1b999c(0x225)][_0x1b999c(0x1e9)]&&await _0x330678['SKFQU'](calculatePerformance);}catch(_0x19a316){_0x330678[_0x1b999c(0x299)](debug,_0x1b999c(0x245)+_0x19a316[_0x1b999c(0x291)]());}}static async[a41_0x5ab077(0x285)](_0x321074,_0x152527){const _0x46e98c=a41_0x5ab077;_0x152527[_0x46e98c(0x2ba)]=TestDetails['getTestUUID'](_0x321074),await this[_0x46e98c(0x25e)]([_0x152527]);}static async[a41_0x5ab077(0x25e)](_0x286b0c){const _0x42f5c7=a41_0x5ab077,_0x15603d={};_0x15603d[_0x42f5c7(0x2c4)]='LogCreated';const _0x427669=_0x15603d,_0x1f737e={};_0x1f737e[_0x42f5c7(0x21a)]=_0x427669[_0x42f5c7(0x2c4)],_0x1f737e[_0x42f5c7(0x259)]=_0x286b0c,await SessionHandler[_0x42f5c7(0x24e)](_0x1f737e);}async[a41_0x5ab077(0x2ad)](_0x1209b4,_0x352c0f,_0x4b5721,_0x40b3f7){const _0x32f037=a41_0x5ab077,_0x1292f1={'gWOaw':'hook','zqJve':_0x32f037(0x269),'NBgnc':_0x32f037(0x2a3),'pxpuc':function(_0x48dd23,_0x4dacc8){return _0x48dd23>=_0x4dacc8;},'UIDTh':function(_0xb28ee0,_0x4fd66e){return _0xb28ee0===_0x4fd66e;},'utngH':_0x32f037(0x265),'PyLnN':function(_0x5994f4,_0x220eb8){return _0x5994f4>_0x220eb8;},'zickJ':_0x32f037(0x215),'ysjoa':function(_0x93c18a,_0x6a785d){return _0x93c18a(_0x6a785d);},'zPYmT':function(_0x44b458,_0x2a4e5a,_0x1099cb){return _0x44b458(_0x2a4e5a,_0x1099cb);},'bfTva':_0x32f037(0x290),'BiCoI':function(_0x9d2b4e,_0x3556c2){return _0x9d2b4e===_0x3556c2;},'IcdDT':_0x32f037(0x2b7)},_0x1ac4df=this[_0x32f037(0x242)](_0x1209b4,_0x352c0f),_0x48aa56=this[_0x32f037(0x25f)][_0x1ac4df],_0x83681f={'uuid':_0x48aa56[_0x32f037(0x1f0)],'type':_0x1292f1['gWOaw'],'hook_type':this[_0x32f037(0x27a)](_0x352c0f['title']),'name':_0x352c0f['title'],'scope':this[_0x32f037(0x20f)](_0x352c0f),'scopes':this['getHierarchy'](_0x1209b4),'body':{'lang':_0x1292f1[_0x32f037(0x258)],'code':null},'identifier':_0x1ac4df,'file_name':path[_0x32f037(0x22f)](process[_0x32f037(0x2bc)](),_0x1209b4[_0x32f037(0x250)][_0x32f037(0x23c)]),'location':path[_0x32f037(0x22f)](process[_0x32f037(0x2bc)](),_0x1209b4[_0x32f037(0x250)][_0x32f037(0x23c)]),'result':_0x1292f1[_0x32f037(0x212)],'duration_in_ms':_0x1292f1['pxpuc'](_0x352c0f[_0x32f037(0x201)],0x0)?_0x352c0f[_0x32f037(0x201)]:undefined,'vc_filepath':this[_0x32f037(0x1f8)]&&_0x1209b4['location']['file']?path[_0x32f037(0x22f)](this[_0x32f037(0x1f8)],_0x1209b4[_0x32f037(0x250)][_0x32f037(0x23c)]):undefined,'started_at':_0x48aa56[_0x32f037(0x1fd)],'finished_at':_0x48aa56[_0x32f037(0x284)],'framework':FRAMEWORKS[_0x32f037(0x240)]};if(_0x1292f1[_0x32f037(0x1ee)](_0x4b5721,_0x1292f1[_0x32f037(0x2b0)])){const {steps:_0x4e6199,logs:_0x35402a}=this[_0x32f037(0x28f)](_0x352c0f['steps'],_0x48aa56['uuid'],_0x1292f1[_0x32f037(0x27d)]);_0x35402a&&_0x1292f1[_0x32f037(0x1f2)](_0x35402a[_0x32f037(0x25c)],0x0)&&await MyReporter[_0x32f037(0x25e)](_0x35402a);const _0x511f6f={};_0x511f6f[_0x32f037(0x281)]=_0x4e6199,_0x83681f['meta']=_0x511f6f;if(_0x352c0f[_0x32f037(0x2b2)]){_0x83681f[_0x32f037(0x228)]=_0x1292f1['zickJ'],_0x83681f[_0x32f037(0x26d)]=_0x1292f1['ysjoa'](removeAnsiColors,_0x352c0f[_0x32f037(0x2b2)]['message']),_0x83681f['failure_type']=_0x1292f1[_0x32f037(0x2a2)](getFailureType,_0x352c0f[_0x32f037(0x2b2)]['message']);const _0x476727=_0x1292f1[_0x32f037(0x29f)](failureData,_0x352c0f[_0x32f037(0x2b2)],_0x1292f1['bfTva']);if(_0x476727&&_0x1292f1[_0x32f037(0x230)](_0x476727[_0x32f037(0x25c)],0x0)){const _0x507be7={};_0x507be7['backtrace']=[_0x83681f[_0x32f037(0x26d)]],_0x507be7[_0x32f037(0x1fa)]=[],_0x476727[_0x32f037(0x2b3)](_0x507be7);}_0x83681f['failure']=_0x476727;}else _0x83681f[_0x32f037(0x228)]=_0x1292f1[_0x32f037(0x2af)];}const _0x1c85a4={};_0x1c85a4[_0x32f037(0x21a)]=_0x4b5721,_0x1c85a4[_0x32f037(0x22b)]=_0x83681f;const _0x3a2058=_0x1c85a4;await SessionHandler[_0x32f037(0x24e)](_0x3a2058);}[a41_0x5ab077(0x28f)](_0x21b053,_0x501750,_0x5272b4){const _0x15e987=a41_0x5ab077,_0x16de69={'PMcGV':function(_0x20bf8a,_0x5894f8){return _0x20bf8a===_0x5894f8;},'YBELT':_0x15e987(0x28e),'ElHCf':_0x15e987(0x2cd),'FPqFL':function(_0x4d1adb,_0x214b08){return _0x4d1adb===_0x214b08;},'xlZkc':_0x15e987(0x2ac),'GYevL':function(_0xbc2c60,_0x2c5ad5){return _0xbc2c60===_0x2c5ad5;},'XDclo':_0x15e987(0x29c),'gPNmU':_0x15e987(0x2ba),'ctxuU':'hook_run_uuid','cqtox':'TEST_STEP','stRLD':_0x15e987(0x215),'dmMPE':_0x15e987(0x2b7),'SJtiq':function(_0x508ed8,_0x173af9){return _0x508ed8(_0x173af9);},'pASWg':function(_0xab1b78){return _0xab1b78();},'jkzUY':function(_0x32ed04,_0x152d94){return _0x32ed04(_0x152d94);},'KEbvU':function(_0x349037,_0x11125e){return _0x349037(_0x11125e);},'VwHjp':function(_0x54f148,_0x315e84,_0x526dc2){return _0x54f148(_0x315e84,_0x526dc2);},'pRzQU':function(_0x54ec60,_0x51fba3,_0x84c032){return _0x54ec60(_0x51fba3,_0x84c032);}},_0x10e64c=[],_0x5cc75e=[],_0x3074d1=_0x21b053['filter'](_0x1e5731=>{const _0x1ee85a=_0x15e987;if(_0x16de69['PMcGV'](_0x1e5731[_0x1ee85a(0x226)],_0x16de69[_0x1ee85a(0x216)])&&(_0x16de69[_0x1ee85a(0x231)](_0x1e5731[_0x1ee85a(0x2aa)],_0x16de69[_0x1ee85a(0x2c8)])||_0x16de69[_0x1ee85a(0x28d)](_0x1e5731[_0x1ee85a(0x2aa)],_0x16de69[_0x1ee85a(0x1eb)])))return![];return!![];}),_0x5eaedb=(_0x4a8aad,_0x375115=![])=>{const _0x140edd=_0x15e987;if(_0x16de69[_0x140edd(0x231)](_0x4a8aad['steps'][_0x140edd(0x25c)],0x0)){const _0x4a9099=_0x16de69[_0x140edd(0x2a5)](_0x5272b4,_0x16de69[_0x140edd(0x26a)])?_0x16de69[_0x140edd(0x23f)]:_0x16de69['ctxuU'];_0x5cc75e[_0x140edd(0x2b3)]({'kind':_0x16de69[_0x140edd(0x25d)],[_0x4a9099]:_0x501750,'message':_0x4a8aad[_0x140edd(0x2aa)],'timestamp':_0x4a8aad['startTime'][_0x140edd(0x211)](),'level':_0x4a8aad['error']?_0x16de69[_0x140edd(0x1f9)]:_0x16de69['dmMPE'],'duration':_0x4a8aad[_0x140edd(0x201)],'failure':_0x4a8aad[_0x140edd(0x2b2)]&&_0x4a8aad['error']['message']&&_0x16de69[_0x140edd(0x1ff)](removeAnsiColors,_0x4a8aad[_0x140edd(0x2b2)][_0x140edd(0x1e6)]),'failure_type':_0x16de69[_0x140edd(0x1ff)](getFailureType,_0x4a8aad[_0x140edd(0x2b2)]&&_0x4a8aad[_0x140edd(0x2b2)][_0x140edd(0x1e6)])});}else{!_0x375115&&_0x10e64c['push']({'id':_0x16de69[_0x140edd(0x26c)](uuidv4),'text':_0x4a8aad[_0x140edd(0x2aa)],'keyword':undefined,'started_at':_0x4a8aad['startTime'][_0x140edd(0x211)](),'duration':_0x4a8aad[_0x140edd(0x201)],'result':_0x4a8aad['error']?_0x16de69[_0x140edd(0x1f9)]:_0x16de69[_0x140edd(0x243)],'failure':_0x4a8aad[_0x140edd(0x2b2)]&&_0x4a8aad[_0x140edd(0x2b2)][_0x140edd(0x1e6)]&&_0x16de69[_0x140edd(0x2be)](removeAnsiColors,_0x4a8aad[_0x140edd(0x2b2)][_0x140edd(0x1e6)]),'failure_type':_0x16de69[_0x140edd(0x20c)](getFailureType,_0x4a8aad[_0x140edd(0x2b2)]&&_0x4a8aad['error']['message'])});for(const _0x3b011f of _0x4a8aad[_0x140edd(0x281)]){_0x16de69[_0x140edd(0x279)](_0x5eaedb,_0x3b011f,!![]);}}};for(const _0xa2469f of _0x3074d1){_0x16de69[_0x15e987(0x2b6)](_0x5eaedb,_0xa2469f,![]);}const _0x58e5fe={};return _0x58e5fe[_0x15e987(0x281)]=_0x10e64c,_0x58e5fe['logs']=_0x5cc75e,_0x58e5fe;}async[a41_0x5ab077(0x1ef)](_0x203c3c,_0x177263,_0x44219d){const _0x3b8624=a41_0x5ab077,_0x2106b7={'dXTAP':_0x3b8624(0x29c),'dFFUY':_0x3b8624(0x269),'tRTfW':_0x3b8624(0x2a3),'reVpG':function(_0x3dab84,_0x2706bc){return _0x3dab84(_0x2706bc);},'khFgc':function(_0xd66c50,_0x2b56e2,_0x13873d,_0x43a1b8,_0x48ed8b){return _0xd66c50(_0x2b56e2,_0x13873d,_0x43a1b8,_0x48ed8b);},'pVVJP':function(_0x583652,_0x297306){return _0x583652>_0x297306;},'LqqWv':function(_0x8f5523,_0x2ebfda){return _0x8f5523-_0x2ebfda;},'gZhgr':function(_0x3d7762,_0x394b1b){return _0x3d7762===_0x394b1b;},'dGtrc':'TestRunFinished','omZJQ':function(_0x3fd938,_0x3e1eb2){return _0x3fd938===_0x3e1eb2;},'Kbpts':'skipped','wrpZp':_0x3b8624(0x2b7),'UfPbS':function(_0x3fe206,_0x472cdc){return _0x3fe206===_0x472cdc;},'WzELK':function(_0x9f41bf,_0x116e94){return _0x9f41bf===_0x116e94;},'MPDVE':_0x3b8624(0x215),'Glgjq':function(_0x4210fb,_0x2c8c1e){return _0x4210fb===_0x2c8c1e;},'HkmUH':_0x3b8624(0x21d),'BYsLY':'Expected\x20to\x20fail,\x20but\x20passed.','RzfMI':function(_0x5488af,_0x4a10){return _0x5488af(_0x4a10);},'lVtzr':function(_0x5d8bcf,_0x4b616b){return _0x5d8bcf(_0x4b616b);},'DflqT':function(_0x4309c6,_0x585c52,_0x274841){return _0x4309c6(_0x585c52,_0x274841);},'kKfEl':function(_0x52626a,_0x29909a){return _0x52626a===_0x29909a;},'cjyqI':function(_0x86ab59,_0x4216b7){return _0x86ab59>_0x4216b7;}},_0x11c8c1=this['getTestIdentifier'](_0x203c3c),_0x46ef7e=this[_0x3b8624(0x20f)](_0x203c3c),_0x406a9b=this[_0x3b8624(0x25f)][_0x11c8c1],_0x5de47e=path['relative'](process[_0x3b8624(0x2bc)](),_0x203c3c[_0x3b8624(0x250)][_0x3b8624(0x23c)]);await this[_0x3b8624(0x28a)]();const _0x427fd3={'uuid':_0x406a9b[_0x3b8624(0x1f0)],'type':_0x2106b7[_0x3b8624(0x296)],'name':_0x203c3c[_0x3b8624(0x2aa)],'body':{'lang':_0x2106b7[_0x3b8624(0x2b8)],'code':_0x203c3c['fn']['toString']()},'scope':_0x46ef7e,'scopes':this[_0x3b8624(0x261)](_0x203c3c),'identifier':_0x11c8c1,'file_name':_0x5de47e,'location':_0x5de47e,'result':_0x2106b7[_0x3b8624(0x221)],'duration_in_ms':_0x44219d&&_0x44219d[_0x3b8624(0x201)]?_0x44219d[_0x3b8624(0x201)]:null,'vc_filepath':this[_0x3b8624(0x1f8)]&&_0x203c3c['location'][_0x3b8624(0x23c)]?path[_0x3b8624(0x22f)](this[_0x3b8624(0x1f8)],_0x203c3c[_0x3b8624(0x250)][_0x3b8624(0x23c)]):undefined,'started_at':_0x406a9b['startedAt'],'finished_at':_0x406a9b['finishedAt'],'framework':FRAMEWORKS[_0x3b8624(0x240)],'customRerunParam':{'rerun_name':this[_0x3b8624(0x1f4)](_0x203c3c)},'tags':_0x2106b7['reVpG'](getTestTags,_0x203c3c)};_0x2106b7['khFgc'](appendTesthubParams,_0x427fd3,_0x177263,_0x203c3c,FRAMEWORKS[_0x3b8624(0x240)]);_0x44219d&&_0x2106b7[_0x3b8624(0x2bf)](_0x44219d['retry'],0x0)&&(_0x427fd3[_0x3b8624(0x205)]=TestDetails[_0x3b8624(0x295)](this[_0x3b8624(0x229)](_0x203c3c,_0x2106b7[_0x3b8624(0x288)](_0x44219d[_0x3b8624(0x21f)],0x1))));if(_0x2106b7['gZhgr'](_0x177263,_0x2106b7[_0x3b8624(0x1ea)])){_0x427fd3['result']=_0x44219d[_0x3b8624(0x2a0)];if(_0x2106b7[_0x3b8624(0x278)](_0x44219d['status'],_0x203c3c['expectedStatus']))_0x427fd3[_0x3b8624(0x228)]=_0x2106b7['omZJQ'](_0x44219d['status'],_0x2106b7[_0x3b8624(0x22d)])?_0x2106b7['Kbpts']:_0x2106b7['wrpZp'];else{(_0x2106b7[_0x3b8624(0x246)](_0x427fd3['result'],_0x2106b7[_0x3b8624(0x27e)])||_0x2106b7['WzELK'](_0x427fd3[_0x3b8624(0x228)],_0x2106b7[_0x3b8624(0x23a)])||_0x2106b7[_0x3b8624(0x280)](_0x427fd3[_0x3b8624(0x228)],_0x2106b7[_0x3b8624(0x2a1)]))&&(_0x427fd3[_0x3b8624(0x228)]=_0x2106b7[_0x3b8624(0x23a)]);if(_0x2106b7['WzELK'](_0x44219d[_0x3b8624(0x2a0)],_0x2106b7[_0x3b8624(0x27e)])&&_0x2106b7[_0x3b8624(0x280)](_0x203c3c[_0x3b8624(0x263)],_0x2106b7['MPDVE'])){const _0x3487f0={};_0x3487f0['message']=_0x2106b7[_0x3b8624(0x273)],_0x3487f0[_0x3b8624(0x266)]=_0x2106b7[_0x3b8624(0x273)],_0x44219d[_0x3b8624(0x2b2)]=_0x3487f0,_0x44219d[_0x3b8624(0x2c1)]=[_0x44219d['error']];}}const _0x312b4f=this[_0x3b8624(0x229)](_0x203c3c,_0x44219d[_0x3b8624(0x21f)]);_0x427fd3['hooks']=this[_0x3b8624(0x297)][_0x312b4f];const {steps:_0x12beaa,logs:_0x222a00}=this[_0x3b8624(0x28f)](_0x44219d[_0x3b8624(0x281)],_0x406a9b[_0x3b8624(0x1f0)],_0x2106b7[_0x3b8624(0x296)]);await MyReporter[_0x3b8624(0x25e)](_0x222a00);const _0x1efeae={};_0x1efeae[_0x3b8624(0x281)]=_0x12beaa,_0x427fd3[_0x3b8624(0x1e5)]=_0x1efeae;if(_0x44219d['error']){_0x427fd3[_0x3b8624(0x26d)]=_0x2106b7[_0x3b8624(0x27b)](removeAnsiColors,_0x44219d[_0x3b8624(0x2b2)][_0x3b8624(0x1e6)]),_0x427fd3[_0x3b8624(0x253)]=_0x2106b7[_0x3b8624(0x2a4)](getFailureType,_0x44219d[_0x3b8624(0x2b2)][_0x3b8624(0x1e6)]);const _0x234ee1={};_0x234ee1[_0x3b8624(0x2ba)]=_0x406a9b[_0x3b8624(0x1f0)];const {failureData:_0x4c5c4f,logs:_0x38e08a}=_0x2106b7['DflqT'](getFailureData,_0x44219d[_0x3b8624(0x2c1)],_0x234ee1);if(_0x4c5c4f&&_0x2106b7['kKfEl'](_0x4c5c4f[_0x3b8624(0x25c)],0x0)){const _0x23f715={};_0x23f715['backtrace']=[_0x427fd3[_0x3b8624(0x26d)]],_0x23f715['expanded']=[],_0x4c5c4f[_0x3b8624(0x2b3)](_0x23f715);}_0x427fd3[_0x3b8624(0x22c)]=_0x4c5c4f,_0x38e08a&&_0x2106b7['cjyqI'](_0x38e08a[_0x3b8624(0x25c)],0x0)&&await MyReporter['reportLogs'](_0x38e08a);}}const _0x27b61d={};_0x27b61d[_0x3b8624(0x21a)]=_0x177263,_0x27b61d[_0x3b8624(0x1fb)]=_0x427fd3;const _0x2426bc=_0x27b61d;await SessionHandler[_0x3b8624(0x24e)](_0x2426bc);}[a41_0x5ab077(0x1f4)](_0x4a6476){const _0x4b1a62=a41_0x5ab077,_0x576dd1={};_0x576dd1['ISdPv']=function(_0x221ea2,_0x24912c){return _0x221ea2===_0x24912c;},_0x576dd1[_0x4b1a62(0x287)]=function(_0x5795ef,_0x2c4f8b){return _0x5795ef>_0x2c4f8b;},_0x576dd1[_0x4b1a62(0x262)]=function(_0x199983,_0xc02c04){return _0x199983+_0xc02c04;},_0x576dd1[_0x4b1a62(0x224)]=function(_0x49e707,_0x2d4fad){return _0x49e707+_0x2d4fad;},_0x576dd1['OxKxb']=function(_0x58f0dd,_0x5165f3){return _0x58f0dd===_0x5165f3;},_0x576dd1[_0x4b1a62(0x24b)]=function(_0x12f383,_0x1f2393){return _0x12f383>_0x1f2393;};const _0x3daafd=_0x576dd1,_0x2cfe61=_0x4a6476[_0x4b1a62(0x24d)]()[_0x4b1a62(0x223)](_0x1d362f=>{const _0x4cb844=_0x4b1a62;if(_0x4a6476[_0x4cb844(0x260)]&&_0x3daafd[_0x4cb844(0x23d)](_0x1d362f,_0x4a6476[_0x4cb844(0x260)][_0x4cb844(0x2aa)])&&_0x3daafd['NajQb'](_0x4a6476[_0x4cb844(0x260)]['_tags'][_0x4cb844(0x25c)],0x0))return _0x3daafd[_0x4cb844(0x262)](_0x3daafd['JSAdv'](_0x1d362f,'\x20'),_0x4a6476['parent'][_0x4cb844(0x217)]['join']('\x20'));if(_0x3daafd['OxKxb'](_0x1d362f,_0x4a6476['title'])&&_0x3daafd[_0x4cb844(0x24b)](_0x4a6476[_0x4cb844(0x217)]['length'],0x0))return _0x3daafd[_0x4cb844(0x224)](_0x3daafd[_0x4cb844(0x224)](_0x1d362f,'\x20'),_0x4a6476[_0x4cb844(0x217)]['join']('\x20'));return _0x1d362f;})[_0x4b1a62(0x219)]('\x20');return _0x2cfe61;}static async[a41_0x5ab077(0x1f5)](_0x2a15f6,_0x2b9f33){const _0xbd54fd=a41_0x5ab077,_0x21b8ff={'YHkgM':function(_0x428d09,_0x198740){return _0x428d09(_0x198740);},'RvBLY':_0xbd54fd(0x237)},_0x5139f6={'uuid':TestDetails[_0xbd54fd(0x295)](_0x2a15f6),'integrations':_0x2b9f33},_0x1678f7={};_0x1678f7[_0xbd54fd(0x2c5)]=null,_0x21b8ff[_0xbd54fd(0x267)](debug,_0xbd54fd(0x268)+_0x2a15f6+',\x20'+util[_0xbd54fd(0x29d)](_0x2b9f33,_0x1678f7));const _0x1cdc5f={};_0x1cdc5f[_0xbd54fd(0x21a)]=_0x21b8ff[_0xbd54fd(0x210)],_0x1cdc5f[_0xbd54fd(0x1fb)]=_0x5139f6,await SessionHandler[_0xbd54fd(0x24e)](_0x1cdc5f);}async[a41_0x5ab077(0x28a)](){const _0x49ebdb=a41_0x5ab077,_0x1caaa2={'Oiqft':function(_0x37f36d){return _0x37f36d();}};if(this['_gitConfigured'])return;const _0x147603=await _0x1caaa2[_0x49ebdb(0x27f)](getGitMetaData);_0x147603&&(this[_0x49ebdb(0x1f8)]=_0x147603[_0x49ebdb(0x2c0)]),this[_0x49ebdb(0x298)]=!![];}[a41_0x5ab077(0x261)](_0x39f087){const _0x5acb01=a41_0x5ab077,_0x24f1c0={};_0x24f1c0[_0x5acb01(0x294)]=function(_0x3de74f,_0x4ec0dc){return _0x3de74f!==_0x4ec0dc;};const _0x2e29c1=_0x24f1c0,_0x4d428b=[];if(_0x39f087&&_0x39f087[_0x5acb01(0x260)]){let _0x20fff5=_0x39f087['parent'];while(_0x20fff5&&_0x2e29c1[_0x5acb01(0x294)](_0x20fff5[_0x5acb01(0x2aa)],'')){_0x4d428b[_0x5acb01(0x2b3)](_0x20fff5[_0x5acb01(0x2aa)]),_0x20fff5=_0x20fff5[_0x5acb01(0x260)];}}return _0x4d428b['reverse']()[_0x5acb01(0x24f)](0x0,0x2),_0x4d428b;}[a41_0x5ab077(0x235)](_0x4820a7){const _0x20b618=a41_0x5ab077,_0x52bd2c={};_0x52bd2c['EhoYI']=function(_0x13ae4f,_0x1ae91d){return _0x13ae4f!==_0x1ae91d;},_0x52bd2c['EDYJI']=_0x20b618(0x28e),_0x52bd2c[_0x20b618(0x232)]=function(_0x9df97,_0xa0a049){return _0x9df97===_0xa0a049;},_0x52bd2c[_0x20b618(0x24c)]=_0x20b618(0x252),_0x52bd2c[_0x20b618(0x1e4)]=_0x20b618(0x21e),_0x52bd2c[_0x20b618(0x26e)]=_0x20b618(0x25a),_0x52bd2c[_0x20b618(0x26f)]=_0x20b618(0x203);const _0x1c5607=_0x52bd2c;if(_0x1c5607['EhoYI'](_0x4820a7['category'],_0x1c5607[_0x20b618(0x20a)]))return![];if(_0x1c5607['ZDKdK']([_0x1c5607['VISgM'],_0x1c5607[_0x20b618(0x1e4)],_0x1c5607[_0x20b618(0x26e)],_0x1c5607[_0x20b618(0x26f)]]['indexOf'](_0x4820a7[_0x20b618(0x2aa)]),-0x1))return![];return!![];}['getStepIdentifier'](_0x59f949,_0x2a3741){const _0x2bc402=a41_0x5ab077,_0x293adf=_0x2a3741[_0x2bc402(0x2bd)];if(_0x293adf)return _0x293adf;return _0x2a3741[_0x2bc402(0x2aa)]+_0x2bc402(0x2a9)+this[_0x2bc402(0x241)](_0x59f949);}['setStepIdentifier'](_0x389811,_0x361224){const _0x299257=a41_0x5ab077,_0x4e78f8={'mInJX':function(_0x2f23b9){return _0x2f23b9();}};let _0x5a854f=_0x361224[_0x299257(0x2aa)]+'\x20for\x20'+this[_0x299257(0x241)](_0x389811);return this['_tests'][_0x5a854f]&&(_0x5a854f=_0x5a854f+'\x20-\x20'+_0x4e78f8['mInJX'](uuidv4)),_0x361224['_bs_hookIdentifier']=_0x5a854f,_0x5a854f;}[a41_0x5ab077(0x241)]=_0x1ec8ee=>{const _0x5eb96d=a41_0x5ab077,_0x70f535={};_0x70f535[_0x5eb96d(0x21c)]=function(_0x323fc0,_0x41a6ab){return _0x323fc0+_0x41a6ab;};const _0x1d6dc7=_0x70f535;return _0x1d6dc7[_0x5eb96d(0x21c)](_0x1d6dc7[_0x5eb96d(0x21c)](_0x1ec8ee[_0x5eb96d(0x286)],'-'),_0x1ec8ee['id']);};[a41_0x5ab077(0x229)]=(_0x4cafbb,_0x159a61)=>{const _0x396a01=a41_0x5ab077,_0x39e47b={};_0x39e47b['dAIpt']=function(_0x361559,_0x978dff){return _0x361559+_0x978dff;};const _0x42e6b1=_0x39e47b;return _0x42e6b1[_0x396a01(0x22a)](_0x42e6b1[_0x396a01(0x22a)](this[_0x396a01(0x241)](_0x4cafbb),'-'),_0x159a61);};[a41_0x5ab077(0x27a)]=_0x2bdcff=>{const _0x21b1ec=a41_0x5ab077,_0x550f84={};_0x550f84[_0x21b1ec(0x1fc)]=_0x21b1ec(0x252),_0x550f84[_0x21b1ec(0x2bb)]=_0x21b1ec(0x29a),_0x550f84[_0x21b1ec(0x213)]='beforeAll\x20hook',_0x550f84[_0x21b1ec(0x2b5)]=_0x21b1ec(0x233),_0x550f84[_0x21b1ec(0x275)]=_0x21b1ec(0x203),_0x550f84[_0x21b1ec(0x239)]=_0x21b1ec(0x254),_0x550f84[_0x21b1ec(0x247)]='afterAll\x20hook',_0x550f84[_0x21b1ec(0x292)]=_0x21b1ec(0x236),_0x550f84[_0x21b1ec(0x1f3)]=_0x21b1ec(0x222);const _0x58149f=_0x550f84;if(_0x2bdcff[_0x21b1ec(0x257)](_0x58149f['gkRKY']))return _0x58149f[_0x21b1ec(0x2bb)];else{if(_0x2bdcff[_0x21b1ec(0x257)](_0x58149f[_0x21b1ec(0x213)]))return _0x58149f[_0x21b1ec(0x2b5)];else{if(_0x2bdcff[_0x21b1ec(0x257)](_0x58149f[_0x21b1ec(0x275)]))return _0x58149f[_0x21b1ec(0x239)];else{if(_0x2bdcff[_0x21b1ec(0x257)](_0x58149f[_0x21b1ec(0x247)]))return _0x58149f[_0x21b1ec(0x292)];}}}return _0x58149f[_0x21b1ec(0x1f3)];};[a41_0x5ab077(0x20f)]=_0x154ae0=>{const _0x40c7f8=a41_0x5ab077,_0x22026f={};_0x22026f[_0x40c7f8(0x209)]=function(_0x5ec4e1,_0x42f2a5){return _0x5ec4e1===_0x42f2a5;},_0x22026f[_0x40c7f8(0x283)]='object';const _0x64d031=_0x22026f;let _0x13958f=_0x154ae0[_0x40c7f8(0x260)];return _0x64d031[_0x40c7f8(0x209)](typeof _0x154ae0[_0x40c7f8(0x260)],_0x64d031[_0x40c7f8(0x283)])&&(_0x13958f=_0x13958f[_0x40c7f8(0x2aa)]),_0x13958f+_0x40c7f8(0x218)+_0x154ae0['title'];};[a41_0x5ab077(0x244)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a41_0x5ab077(0x27c),a41_0x5ab077(0x272),'onTestBegin',a41_0x5ab077(0x1e8),a41_0x5ab077(0x2c7),a41_0x5ab077(0x200),a41_0x5ab077(0x1f5)],'MyReporter');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42_0x3b861b=a42_0x154c;(function(_0x28850a,_0x5ed243){const _0x5f150c=a42_0x154c,_0x5e441f=_0x28850a();while(!![]){try{const _0x38f979=-parseInt(_0x5f150c(0x1f3))/0x1*(parseInt(_0x5f150c(0x210))/0x2)+parseInt(_0x5f150c(0x203))/0x3*(parseInt(_0x5f150c(0x209))/0x4)+-parseInt(_0x5f150c(0x21b))/0x5+-parseInt(_0x5f150c(0x1f9))/0x6+parseInt(_0x5f150c(0x211))/0x7*(parseInt(_0x5f150c(0x1f2))/0x8)+parseInt(_0x5f150c(0x20c))/0x9*(-parseInt(_0x5f150c(0x21a))/0xa)+parseInt(_0x5f150c(0x202))/0xb*(parseInt(_0x5f150c(0x214))/0xc);if(_0x38f979===_0x5ed243)break;else _0x5e441f['push'](_0x5e441f['shift']());}catch(_0x32c286){_0x5e441f['push'](_0x5e441f['shift']());}}}(a42_0x4a6f,0x1a21b));const fs=require('fs'),path=require(a42_0x3b861b(0x21f)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a42_0x3b861b(0x20d));class TestDetails{static ['tests']={};static [a42_0x3b861b(0x20f)]=path[a42_0x3b861b(0x227)](process[a42_0x3b861b(0x212)](),TestDetails[a42_0x3b861b(0x1fc)]());static[a42_0x3b861b(0x1f7)](){const _0x442928=a42_0x3b861b;this['dirPath']=path['join'](process[_0x442928(0x212)](),TestDetails[_0x442928(0x1fc)]()),this[_0x442928(0x216)]();const _0x4a6eb9={};_0x4a6eb9['recursive']=!![],fs[_0x442928(0x208)](this[_0x442928(0x20f)],_0x4a6eb9);}static[a42_0x3b861b(0x1fc)](){const _0x132db3=a42_0x3b861b,_0x41ff73={};_0x41ff73[_0x132db3(0x218)]=function(_0xf71890,_0xb2714e){return _0xf71890+_0xb2714e;},_0x41ff73[_0x132db3(0x21e)]=function(_0x43e154,_0x3a9304){return _0x43e154+_0x3a9304;};const _0x1b539e=_0x41ff73;return _0x1b539e['vvpJq'](_0x1b539e[_0x132db3(0x21e)](TEMP_STORE_DIR_NAME,'-'),process[_0x132db3(0x1ec)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a42_0x3b861b(0x1fb)](_0x9f9bba){const _0x375bc4=a42_0x3b861b,_0x31d588={};_0x31d588[_0x375bc4(0x1ff)]=function(_0x2bf4fd,_0xa083fe){return _0x2bf4fd+_0xa083fe;},_0x31d588[_0x375bc4(0x221)]='.json';const _0x43cdac=_0x31d588;return path['join'](this['dirPath'],_0x43cdac[_0x375bc4(0x1ff)](_0x9f9bba,_0x43cdac[_0x375bc4(0x221)]));}static[a42_0x3b861b(0x205)](_0x4b50d7){const _0xbce8b2=a42_0x3b861b,_0x265878={};_0x265878['UMSRr']=function(_0x1abfeb,_0x47a63a){return _0x1abfeb+_0x47a63a;},_0x265878['jayZr']=function(_0x5e3fae,_0xb63d5a){return _0x5e3fae+_0xb63d5a;},_0x265878[_0xbce8b2(0x1fa)]=function(_0x58f24b,_0x3fc1a6){return _0x58f24b+_0x3fc1a6;},_0x265878[_0xbce8b2(0x224)]=function(_0x4f597d,_0x45fbc5){return _0x4f597d+_0x45fbc5;};const _0x565977=_0x265878;return _0x565977['UMSRr'](_0x565977[_0xbce8b2(0x204)](_0x565977[_0xbce8b2(0x1fa)](_0x565977[_0xbce8b2(0x224)](this['getProjectIdFromTestInfo'](_0x4b50d7),'-'),this['getTestIdFromTestInfo'](_0x4b50d7)),'-'),_0x4b50d7['retry']);}static[a42_0x3b861b(0x1f5)](_0x5d9540){const _0xd7fd2=a42_0x3b861b,_0x2b8efb={'RtdIc':function(_0x1b94a5,_0x208ab6,_0x19e274){return _0x1b94a5(_0x208ab6,_0x19e274);},'UKjLQ':_0xd7fd2(0x1ef),'LLgXo':_0xd7fd2(0x1fd),'TxNvX':_0xd7fd2(0x220),'ISFoS':_0xd7fd2(0x1fe)};return _0x2b8efb[_0xd7fd2(0x20a)](nestedKeyValue,_0x5d9540,[_0x2b8efb[_0xd7fd2(0x217)],_0x2b8efb[_0xd7fd2(0x225)]])||_0x2b8efb[_0xd7fd2(0x20a)](nestedKeyValue,_0x5d9540,[_0x2b8efb[_0xd7fd2(0x213)],_0x2b8efb['ISFoS']]);}static['getTestIdFromTestInfo'](_0x206c05){const _0x11c60f=a42_0x3b861b,_0x416a7e={'GMkXL':function(_0x56fb5f,_0x1cc97b,_0x240b8){return _0x56fb5f(_0x1cc97b,_0x240b8);},'NRiHr':_0x11c60f(0x1ef)};return _0x416a7e[_0x11c60f(0x21d)](nestedKeyValue,_0x206c05,[_0x416a7e[_0x11c60f(0x200)],'id'])||_0x206c05[_0x11c60f(0x226)];}static[a42_0x3b861b(0x1f6)](_0x584009){const _0x2c76d5=a42_0x3b861b,_0x42e11f={'beFyp':function(_0xf7e55b,_0x15443d){return _0xf7e55b===_0x15443d;},'wmhMj':_0x2c76d5(0x223),'LSrHP':function(_0x169462){return _0x169462();}};if(this[_0x2c76d5(0x215)][_0x584009]&&_0x42e11f['beFyp'](typeof this[_0x2c76d5(0x215)][_0x584009]['uuid'],_0x42e11f[_0x2c76d5(0x20e)]))return this[_0x2c76d5(0x215)][_0x584009][_0x2c76d5(0x201)];const _0x1eeeaf=this[_0x2c76d5(0x1fb)](_0x584009);if(fs[_0x2c76d5(0x219)](_0x1eeeaf)){const _0x2abf6d=JSON['parse'](fs[_0x2c76d5(0x1f0)](_0x1eeeaf)[_0x2c76d5(0x207)]());return this[_0x2c76d5(0x215)][_0x584009]=_0x2abf6d,this['tests'][_0x584009][_0x2c76d5(0x201)];}return this[_0x2c76d5(0x215)][_0x584009]={'uuid':_0x42e11f['LSrHP'](uuidv4)},fs['writeFileSync'](_0x1eeeaf,JSON[_0x2c76d5(0x222)](this[_0x2c76d5(0x215)][_0x584009])),this[_0x2c76d5(0x215)][_0x584009][_0x2c76d5(0x201)];}static[a42_0x3b861b(0x1ee)](_0x5d5821){const _0x33128b=a42_0x3b861b,_0x2a2a95=path[_0x33128b(0x227)](this[_0x33128b(0x20f)],_0x5d5821+_0x33128b(0x1f4));if(fs[_0x33128b(0x219)](_0x2a2a95))return fs[_0x33128b(0x1f0)](_0x2a2a95)[_0x33128b(0x207)]();}static[a42_0x3b861b(0x20b)](_0x5c20c0,_0x1317dd){const _0x1c7e77=a42_0x3b861b,_0x3869e8=path['join'](this[_0x1c7e77(0x20f)],_0x1317dd+_0x1c7e77(0x1f4));fs[_0x1c7e77(0x229)](_0x3869e8,_0x5c20c0['toString']());}static['shutdown'](){const _0x1715df=a42_0x3b861b,_0x16b9c0={};_0x16b9c0[_0x1715df(0x1ed)]=!![],_0x16b9c0[_0x1715df(0x1f8)]=!![],fs[_0x1715df(0x1f1)](this['dirPath'],_0x16b9c0);}static['getTestDetails'](_0x9d2b57){const _0x51f3c5=a42_0x3b861b;if(this[_0x51f3c5(0x215)][_0x9d2b57])return this[_0x51f3c5(0x215)][_0x9d2b57];const _0x57c9bd=this[_0x51f3c5(0x1fb)](_0x9d2b57);if(fs['existsSync'](_0x57c9bd)){const _0x312cc9=JSON[_0x51f3c5(0x228)](fs[_0x51f3c5(0x1f0)](_0x57c9bd)['toString']());return this[_0x51f3c5(0x215)][_0x9d2b57]=_0x312cc9,_0x312cc9;}return{};}static[a42_0x3b861b(0x21c)](_0x58c120,_0x26173d){const _0x3e9066=a42_0x3b861b,_0x45a2cc=this[_0x3e9066(0x1fb)](_0x58c120);if(fs[_0x3e9066(0x219)](_0x45a2cc)){const _0x3b5502=JSON[_0x3e9066(0x228)](fs['readFileSync'](_0x45a2cc)[_0x3e9066(0x207)]()),_0x1fe907={..._0x3b5502,..._0x26173d};this['tests'][_0x58c120]=_0x1fe907;}else this[_0x3e9066(0x215)][_0x58c120]=_0x26173d;fs[_0x3e9066(0x229)](_0x45a2cc,this[_0x3e9066(0x215)][_0x58c120]);}}function a42_0x4a6f(){const _0x5cc568=['12708Iaoubx','RtdIc','setAccessibilityPlatformValidation','5337wTRAkz','../../../helpers/helper','wmhMj','dirPath','7094CxjIIZ','525JSbeNs','cwd','TxNvX','179364ACxNzH','tests','shutdown','UKjLQ','vvpJq','existsSync','3290rOJYNi','1038975DlgNav','setTestDetails','GMkXL','lTgjh','path','project','ndadx','stringify','string','AXKvE','LLgXo','testId','join','parse','writeFileSync','env','recursive','getAccessibilityPlatformValidation','_test','readFileSync','rmSync','20840EngofX','7xvrvaQ','_platformDetails.json','getProjectIdFromTestInfo','getTestUUID','setup','force','636384CGHCHg','DYTuh','getFilePath','getStoreDirName','_projectId','__projectId','fOErO','NRiHr','uuid','253paonoL','96zotbqH','jayZr','getTestRunIdFromTestInfo','exports','toString','mkdirSync'];a42_0x4a6f=function(){return _0x5cc568;};return a42_0x4a6f();}function a42_0x154c(_0x2e464e,_0x24c001){const _0x4a6fec=a42_0x4a6f();return a42_0x154c=function(_0x154c1a,_0x3a0930){_0x154c1a=_0x154c1a-0x1ec;let _0x53f481=_0x4a6fec[_0x154c1a];return _0x53f481;},a42_0x154c(_0x2e464e,_0x24c001);}module[a42_0x3b861b(0x206)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0x55075b=a43_0x15f7;(function(_0x1a3218,_0x315bc4){const _0x393988=a43_0x15f7,_0x4d58a3=_0x1a3218();while(!![]){try{const _0x2cd6e9=-parseInt(_0x393988(0x181))/0x1*(-parseInt(_0x393988(0x19b))/0x2)+-parseInt(_0x393988(0x200))/0x3*(parseInt(_0x393988(0x1a3))/0x4)+parseInt(_0x393988(0x1c9))/0x5*(-parseInt(_0x393988(0x183))/0x6)+-parseInt(_0x393988(0x171))/0x7*(-parseInt(_0x393988(0x17c))/0x8)+parseInt(_0x393988(0x1fb))/0x9*(-parseInt(_0x393988(0x1e3))/0xa)+parseInt(_0x393988(0x196))/0xb+-parseInt(_0x393988(0x203))/0xc*(-parseInt(_0x393988(0x1c8))/0xd);if(_0x2cd6e9===_0x315bc4)break;else _0x4d58a3['push'](_0x4d58a3['shift']());}catch(_0x267e27){_0x4d58a3['push'](_0x4d58a3['shift']());}}}(a43_0x404f,0x3c2a6));const path=require(a43_0x55075b(0x17a)),url=require(a43_0x55075b(0x1d4)),util=require(a43_0x55075b(0x1ef)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a43_0x55075b(0x18f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x55075b(0x15d)),logger=require(a43_0x55075b(0x1c7))[a43_0x55075b(0x1af)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a43_0x55075b(0x19d)),AccessibilityHelper=require(a43_0x55075b(0x1dd)),constants=require('../utils/constants'),getBrowserNameFromChannel=_0x1d5305=>{const _0xa4227e=a43_0x55075b,_0x34ffae={};_0x34ffae[_0xa4227e(0x202)]=_0xa4227e(0x15c),_0x34ffae[_0xa4227e(0x1d0)]=_0xa4227e(0x1b9),_0x34ffae[_0xa4227e(0x188)]='firefox',_0x34ffae[_0xa4227e(0x162)]=_0xa4227e(0x176);const _0x3e4c8f=_0x34ffae;if(_0x1d5305['includes'](_0x3e4c8f['wglwR']))return _0x3e4c8f[_0xa4227e(0x202)];if(_0x1d5305[_0xa4227e(0x18d)](_0x3e4c8f[_0xa4227e(0x1d0)]))return _0x3e4c8f[_0xa4227e(0x1d0)];if(_0x1d5305['includes'](_0x3e4c8f['GaXnq']))return _0x3e4c8f[_0xa4227e(0x188)];if(_0x1d5305[_0xa4227e(0x18d)](_0x3e4c8f['RLysk']))return _0x3e4c8f[_0xa4227e(0x162)];},getBrowserFromWSEndpoint=_0x5c2533=>{const _0x8f91e=a43_0x55075b,_0x21ba32={'nrOgJ':_0x8f91e(0x15c),'sKZih':function(_0xb0392c,_0x25ec31){return _0xb0392c(_0x25ec31);}};try{const _0x301d91=url['parse'](_0x5c2533),_0x1dfb84=new URLSearchParams(_0x301d91[_0x8f91e(0x1d3)]),_0x916426=Object[_0x8f91e(0x169)](_0x1dfb84[_0x8f91e(0x1fd)]()),_0x20f23e=JSON['parse'](_0x916426[_0x8f91e(0x1c5)]);if(_0x20f23e&&(_0x20f23e[_0x8f91e(0x1a5)]||_0x20f23e[_0x8f91e(0x190)]))return _0x20f23e[_0x8f91e(0x1a5)]||_0x20f23e[_0x8f91e(0x190)];return _0x21ba32[_0x8f91e(0x1e0)];}catch(_0x2d2527){_0x21ba32[_0x8f91e(0x1fc)](debug,_0x8f91e(0x182)+_0x2d2527[_0x8f91e(0x1cc)]());}},getCloudProviderFromWsEndpoint=_0x546656=>{const _0x5eb0e9=a43_0x55075b,_0x5ad4ef={};_0x5ad4ef[_0x5eb0e9(0x165)]=_0x5eb0e9(0x1fa),_0x5ad4ef[_0x5eb0e9(0x1ad)]='browserstack-ats.com',_0x5ad4ef['ZozOU']=_0x5eb0e9(0x16c),_0x5ad4ef[_0x5eb0e9(0x1f5)]=_0x5eb0e9(0x1ea);const _0x3c2e72=_0x5ad4ef;if(_0x546656[_0x5eb0e9(0x18d)](_0x3c2e72[_0x5eb0e9(0x165)])||_0x546656[_0x5eb0e9(0x18d)](_0x3c2e72[_0x5eb0e9(0x1ad)]))return _0x3c2e72['ZozOU'];return _0x3c2e72[_0x5eb0e9(0x1f5)];},a43_0x3d3495={};function a43_0x404f(){const _0x38e139=['format','browserstack','VhjDP','_connection','performScan','Performing\x20scan\x20for\x20','7fROyfe','chromium','prototype','ZACBw','BROWSERSTACK_TEST_OBSERVABILITY','safari','sendMessageToServer','titlePath','eLAgX','path','aXfRP','619296VqRVEs','zLFBP','_type','capabilities','Not\x20able\x20to\x20import\x20crConnection','38mDUWLW','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','1317714ekCaWD','TlyaR','playwright-','bstackPerformA11yScan','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','GaXnq','exports','_onMessage','channel','qTDdn','includes','project','../../helpers/test-observability/utils','browserName','product','setupBrowserDetails','JAFpa','lib','platformDetails','3872429bitZpQ','tjPDm','platformName','Setting\x20session\x20id\x20received\x20from\x20BS\x20','version','176XsVrlb','CTiii','../../bin/playwright/accessibility-helper','UNXfg','hifjD','shouldWrapCommand','Failed\x20to\x20perform\x20scan\x20','BCvYA','22460VPaTpj','HtzrX','browser','client','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','patchCRConnection','YwBII','test','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','accessibilityPlatform','PPRZr','YJgeN','winstonLogger','platform','cMKuN','MBTkR','cloudProvider','Not\x20able\x20to\x20import\x20Connection','_name','__driver','IHQOO','ATS_WSS_URL_REGEX','edge','Error\x20in\x20importing\x20connection\x20','nyDDL','sessionError','NlRpw','testInfo','Device\x20Model\x20is\x20not\x20available','qqOOx','vnbDH','pPybE','bsSessionId','Error\x20in\x20finding\x20platform\x20details\x20','caps','toLowerCase','../../helpers/logger','40209aCLYQu','5ALBlOd','cxVHV','lwGZN','toString','debug','TwOFa','MNOrQ','tiFCx','tUnvK','CRConnection','query','url','Xqcsy','patchConnection','Connection','deviceModel','method','env','apply','ifxyO','./accessibility-helper','patch','assign','nrOgJ','currentSessionDetails','__workerDetails','7630lSTxQG','pJnBH','bHUxF','VWBBz','Error\x20in\x20importing\x20crConnection','AAVhm','kyoPu','unknown_grid','crConnection.js','Page','lzRoe','sessionId','util','uMGoJ','lwIdT','bhikT','HHWaJ','gqRqp','jccwW','join','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','turboscale','browserstack.com','4419GnUpaA','sKZih','entries','params','browser_version','63eHpbSR','connection.js','wglwR','2040ratAIt','use','qxPTo','connectOptions','QKWTW','bStackParams','automate','chrome','../../helpers/accessibility-automation/helper','model','tKsgZ','_defaultConnectOptions','BtxsR','RLysk','platformVersion','function','wScpk','defineProperty','platform_version','bsParams','fromEntries','dispatch'];a43_0x404f=function(){return _0x38e139;};return a43_0x404f();}a43_0x3d3495[a43_0x55075b(0x1b3)]=undefined,a43_0x3d3495[a43_0x55075b(0x1c3)]=undefined,a43_0x3d3495['browser']=undefined,a43_0x3d3495[a43_0x55075b(0x1ff)]=undefined,a43_0x3d3495[a43_0x55075b(0x1b0)]=undefined,a43_0x3d3495[a43_0x55075b(0x167)]=undefined,a43_0x3d3495[a43_0x55075b(0x191)]=undefined,a43_0x3d3495[a43_0x55075b(0x17f)]={};class PlaywrightSessionDetails{static [a43_0x55075b(0x1e1)]=a43_0x3d3495;constructor(){const _0x378686=a43_0x55075b,_0x3ab548={};_0x3ab548[_0x378686(0x1f3)]=_0x378686(0x1f7);const _0x4bb4ba=_0x3ab548;throw new Error(_0x4bb4ba[_0x378686(0x1f3)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x656aef,_0x2f2461,_0xcfc88d=null){const _0x36a378=a43_0x55075b,_0x230d45={'VWBBz':function(_0x1594c2,_0x275345){return _0x1594c2===_0x275345;},'qxPTo':_0x36a378(0x164),'lzRoe':_0x36a378(0x187),'TwOFa':_0x36a378(0x1bf),'vJzPf':'local_grid','UNXfg':function(_0x1f7468,_0x450183,_0xeca874){return _0x1f7468(_0x450183,_0xeca874);},'bhikT':'_browserType','BCvYA':_0x36a378(0x160),'aXfRP':function(_0x4e68d5,_0xa282e3,_0x5adfaf){return _0x4e68d5(_0xa282e3,_0x5adfaf);},'iKaBV':_0x36a378(0x18e),'lwIdT':_0x36a378(0x156),'ifxyO':_0x36a378(0x158),'LgRLM':function(_0x49e4ed,_0x4670f6){return _0x49e4ed(_0x4670f6);},'qTDdn':function(_0x1ee8cf,_0x1e5afe){return _0x1ee8cf===_0x1e5afe;},'hifjD':'browserstack','QNpbE':_0x36a378(0x1f9),'ziQrm':_0x36a378(0x15b),'uwdET':function(_0x574b57,_0xc583ee){return _0x574b57(_0xc583ee);},'YJgeN':function(_0x226694,_0x5098c8){return _0x226694+_0x5098c8;},'TNllC':_0x36a378(0x185),'BtxsR':function(_0x3bec25){return _0x3bec25();},'bHUxF':_0x36a378(0x192)},_0x92eeb9=this;return _0x230d45[_0x36a378(0x19e)](o11yErrorHandler,async function _0x5c249c(_0x3cdcfc,_0x1d9ec1,_0x14d8b5=null){const _0x523f79=_0x36a378;let _0x1b78ce=_0x3cdcfc[_0x523f79(0x1b5)],_0x97feb7=null;_0x3cdcfc&&_0x230d45[_0x523f79(0x1e6)](typeof _0x3cdcfc[_0x523f79(0x19a)],_0x230d45[_0x523f79(0x157)])?_0x97feb7=_0x3cdcfc[_0x523f79(0x19a)]():logger[_0x523f79(0x1cd)](_0x230d45[_0x523f79(0x1ed)]);let _0x1d78f8=null;_0x3cdcfc&&_0x230d45['VWBBz'](typeof _0x3cdcfc[_0x523f79(0x15e)],_0x230d45[_0x523f79(0x157)])?_0x1d78f8=_0x3cdcfc[_0x523f79(0x15e)]():logger['debug'](_0x230d45[_0x523f79(0x1ce)]);let _0x11ff53=null,_0x104721=null,_0x1ff4ef=null,_0x41d5d8=_0x230d45['vJzPf'];if(_0x3cdcfc[_0x523f79(0x16e)]['isRemote']()||global[_0x523f79(0x1ac)]){let _0x52aeac=null;_0x230d45[_0x523f79(0x19e)](nestedKeyValue,_0x3cdcfc,[_0x230d45[_0x523f79(0x1f2)],_0x230d45[_0x523f79(0x1a2)]])?_0x52aeac=_0x3cdcfc['_browserType']['_defaultConnectOptions']:_0x52aeac=_0x230d45[_0x523f79(0x17b)](nestedKeyValue,_0x1d9ec1,[_0x230d45['iKaBV'],_0x230d45[_0x523f79(0x1f1)],_0x230d45[_0x523f79(0x1dc)]]);const _0x5dd93e=_0x14d8b5||_0x52aeac&&_0x52aeac['wsEndpoint'];_0x5dd93e&&(_0x41d5d8=_0x230d45['LgRLM'](getCloudProviderFromWsEndpoint,_0x5dd93e),_0x230d45[_0x523f79(0x18c)](_0x41d5d8,_0x230d45[_0x523f79(0x19f)])&&(_0x1ff4ef=constants[_0x523f79(0x1b8)][_0x523f79(0x1aa)](_0x5dd93e)?_0x230d45['QNpbE']:_0x230d45['ziQrm'],_0x1b78ce=_0x230d45['uwdET'](getBrowserFromWSEndpoint,_0x5dd93e)||_0x1b78ce,_0x11ff53=_0x92eeb9[_0x523f79(0x1e1)][_0x523f79(0x1b0)],_0x104721=_0x92eeb9['currentSessionDetails'][_0x523f79(0x167)]));}else{_0x1d9ec1&&_0x1d9ec1[_0x523f79(0x18e)][_0x523f79(0x156)][_0x523f79(0x18b)]?_0x1b78ce=_0x230d45['uwdET'](getBrowserNameFromChannel,_0x1d9ec1[_0x523f79(0x18e)]['use']['channel']):_0x1b78ce=_0x230d45[_0x523f79(0x1ae)](_0x230d45['TNllC'],_0x1b78ce[_0x523f79(0x1c6)]());const _0x5ac5d3=await _0x230d45[_0x523f79(0x161)](getPlatformDetails);_0x11ff53=_0x5ac5d3[_0x523f79(0x198)],_0x104721=_0x5ac5d3[_0x523f79(0x163)];}const _0x1b3bbb={};_0x1b3bbb[_0x523f79(0x1a5)]=_0x1b78ce,_0x1b3bbb[_0x523f79(0x1ff)]=_0x97feb7,_0x1b3bbb[_0x523f79(0x17f)]={},_0x1b3bbb[_0x523f79(0x1b0)]=_0x11ff53,_0x1b3bbb[_0x523f79(0x167)]=_0x104721,_0x1b3bbb[_0x523f79(0x191)]=_0x1ff4ef;const _0x311218=_0x1b3bbb;_0x1d78f8&&(_0x311218[_0x523f79(0x17f)][_0x523f79(0x1d8)]=_0x1d78f8);const _0x3aa9a1={};_0x3aa9a1[_0x523f79(0x1b3)]=_0x41d5d8,_0x92eeb9[_0x523f79(0x1e1)]=Object[_0x523f79(0x1df)]({},_0x92eeb9[_0x523f79(0x1e1)],_0x3aa9a1,_0x311218);},_0x230d45[_0x36a378(0x1e5)])(_0x656aef,_0x2f2461,_0xcfc88d);}static[a43_0x55075b(0x1de)](){const _0x5000c0=a43_0x55075b;this[_0x5000c0(0x1d6)](),this['patchCRConnection']();}static[a43_0x55075b(0x1d6)](){const _0x48e3dc=a43_0x55075b,_0xb4dee3={'tjPDm':function(_0x1f9868,_0x4db505,_0xde91b2){return _0x1f9868(_0x4db505,_0xde91b2);},'zLFBP':'currentTest','ZVgnH':_0x48e3dc(0x1be),'MBTkR':_0x48e3dc(0x178),'wJZQR':_0x48e3dc(0x1e2),'pJnBH':'pwPage','kyoPu':function(_0x37931a,_0x4970c0){return _0x37931a===_0x4970c0;},'MNOrQ':_0x48e3dc(0x1ec),'nyDDL':function(_0x3cfbb1,_0x5f02df,_0x16a1cb,_0x3bce45){return _0x3cfbb1(_0x5f02df,_0x16a1cb,_0x3bce45);},'HtzrX':function(_0x2b0744,_0x837fa3){return _0x2b0744(_0x837fa3);},'IHQOO':_0x48e3dc(0x194),'oEZWq':_0x48e3dc(0x1a6),'tUnvK':_0x48e3dc(0x201),'lwGZN':function(_0x590e1e,_0x43ddee){return _0x590e1e(_0x43ddee);},'VhjDP':function(_0x43a825,_0x375122){return _0x43a825(_0x375122);},'cMKuN':_0x48e3dc(0x1b4),'yklmF':function(_0xb0cc9e,_0x34f9d6){return _0xb0cc9e(_0x34f9d6);},'pPybE':function(_0x760d59,_0x78c0a1){return _0x760d59!=_0x78c0a1;},'NlRpw':function(_0x4019d7){return _0x4019d7();},'JAFpa':_0x48e3dc(0x177),'vnbDH':_0x48e3dc(0x16a)},_0x5969e4=this;if(!this[_0x48e3dc(0x1d7)])try{const _0x3a78e3=path[_0x48e3dc(0x1f6)](_0xb4dee3[_0x48e3dc(0x1b7)],_0xb4dee3['oEZWq'],_0xb4dee3[_0x48e3dc(0x1d1)]),_0x3e60de=_0xb4dee3[_0x48e3dc(0x1cb)](importFileFromPWCore,_0x3a78e3);!_0x3e60de?_0xb4dee3[_0x48e3dc(0x16d)](debug,_0xb4dee3[_0x48e3dc(0x1b1)]):this[_0x48e3dc(0x1d7)]=_0x3e60de[_0x48e3dc(0x1d7)];}catch(_0xae896a){_0xb4dee3['yklmF'](debug,_0x48e3dc(0x1ba)+_0xae896a[_0x48e3dc(0x1cc)]());}const _0x1e8361=this['Connection'];try{if(_0xb4dee3[_0x48e3dc(0x1c2)](_0x1e8361,null)){const _0x3147b1=_0x1e8361['prototype']['dispatch'],_0x203c37=_0x1e8361['prototype']['sendMessageToServer'];_0xb4dee3[_0x48e3dc(0x1bd)](isAccessibilityAutomationSession)&&Object[_0x48e3dc(0x166)](_0x1e8361[_0x48e3dc(0x173)],_0xb4dee3[_0x48e3dc(0x193)],{'get':function(){return async function(){const _0x3cf3b4=a43_0x15f7;try{if(!global['bstackPerformA11yScan']&&global[_0x3cf3b4(0x1ac)]&&_0xb4dee3[_0x3cf3b4(0x197)](nestedKeyValue,global['__workerDetails'],[_0xb4dee3[_0x3cf3b4(0x17d)],_0xb4dee3['ZVgnH'],_0xb4dee3[_0x3cf3b4(0x1b2)]])&&_0xb4dee3['tjPDm'](shouldScanTestForAccessibility,global[_0x3cf3b4(0x1e2)]['currentTest'][_0x3cf3b4(0x1be)]['titlePath'],!![])&&scripts[_0x3cf3b4(0x1a0)](arguments[0x1])){logger['debug'](_0x3cf3b4(0x170)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x1566b4=_0xb4dee3[_0x3cf3b4(0x197)](nestedKeyValue,global,[_0xb4dee3['wJZQR'],_0xb4dee3[_0x3cf3b4(0x1e4)]]),_0x45103d={};_0x45103d[_0x3cf3b4(0x1d9)]=arguments[0x1],_0x1566b4&&logger[_0x3cf3b4(0x1cd)](util[_0x3cf3b4(0x16b)](await AccessibilityHelper[_0x3cf3b4(0x16f)](_0x1566b4,_0x45103d)));if(_0xb4dee3[_0x3cf3b4(0x1e9)](arguments[0x0][_0x3cf3b4(0x17e)],_0xb4dee3[_0x3cf3b4(0x1cf)])&&global[_0x3cf3b4(0x1b6)]){const _0x523d77={};_0x523d77[_0x3cf3b4(0x1d9)]=arguments[0x1],await _0xb4dee3[_0x3cf3b4(0x1bb)](browserStackExecuteDriver,global['__driver'],scripts[_0x3cf3b4(0x16f)],_0x523d77);}}}catch(_0x2366a9){logger['debug'](_0x3cf3b4(0x1a1)+util[_0x3cf3b4(0x16b)](_0x2366a9));}return global[_0x3cf3b4(0x186)]=![],_0x203c37[_0x3cf3b4(0x1db)](this,arguments);};}}),!_0xb4dee3[_0x48e3dc(0x16d)](isFalse,process[_0x48e3dc(0x1da)][_0x48e3dc(0x175)])&&Object[_0x48e3dc(0x166)](_0x1e8361[_0x48e3dc(0x173)],_0xb4dee3[_0x48e3dc(0x1c1)],{'get':function(){const _0x43c348={'bpWKr':function(_0x3431bf,_0x886c56){const _0x2d3fa5=a43_0x15f7;return _0xb4dee3[_0x2d3fa5(0x1a4)](_0x3431bf,_0x886c56);},'TlyaR':function(_0x40259b,_0x145214){const _0xbd5858=a43_0x15f7;return _0xb4dee3[_0xbd5858(0x1a4)](_0x40259b,_0x145214);}};return function _0x2312e8(_0x1664c2){const _0x1557d5=a43_0x15f7,_0x412ab7=_0x1664c2&&_0x1664c2[_0x1557d5(0x1fe)]&&_0x1664c2['params'][_0x1557d5(0x168)];if(_0x412ab7){const _0x106dc9=_0x412ab7[_0x1557d5(0x1ee)],_0x47f520=_0x412ab7[_0x1557d5(0x195)];_0x47f520&&(_0x43c348['bpWKr'](debug,_0x1557d5(0x1f8)+_0x47f520[_0x1557d5(0x1cc)]()),_0x5969e4[_0x1557d5(0x1e1)][_0x1557d5(0x1b0)]=_0x47f520[_0x1557d5(0x198)],_0x5969e4['currentSessionDetails'][_0x1557d5(0x167)]=_0x47f520[_0x1557d5(0x163)]),_0x106dc9&&(_0x43c348[_0x1557d5(0x184)](debug,_0x1557d5(0x199)+_0x106dc9),_0x5969e4['currentSessionDetails'][_0x1557d5(0x1c3)]=_0x106dc9);}return _0x3147b1[_0x1557d5(0x1db)](this,arguments);};}});}}catch(_0x37d8b2){_0xb4dee3[_0x48e3dc(0x1a4)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x37d8b2),_0x5969e4[_0x48e3dc(0x1bc)]=_0x37d8b2[_0x48e3dc(0x1cc)]();}}static[a43_0x55075b(0x1a8)](){const _0x219f78=a43_0x55075b,_0x1bf6bd={'YwBII':function(_0x474869,_0x5d0144){return _0x474869(_0x5d0144);},'gqRqp':function(_0x5daffc,_0x3ad57a){return _0x5daffc(_0x3ad57a);},'eLAgX':function(_0x2552b3){return _0x2552b3();},'QKWTW':_0x219f78(0x194),'Xqcsy':'server','GZsPh':_0x219f78(0x172),'qqOOx':_0x219f78(0x1eb),'CTiii':function(_0x327608,_0x1c4dab){return _0x327608(_0x1c4dab);},'uMGoJ':function(_0x80f5f1,_0x213a6f){return _0x80f5f1(_0x213a6f);},'tKsgZ':_0x219f78(0x180),'ZACBw':_0x219f78(0x1e7),'cxVHV':function(_0x2f9120,_0x50d4fe){return _0x2f9120!=_0x50d4fe;},'AAVhm':_0x219f78(0x18a)},_0x271e15=this;if(_0x1bf6bd[_0x219f78(0x179)](isAccessibilityAutomationSession)){let _0x9d8cd3=null;try{const _0x44f75d=path[_0x219f78(0x1f6)](_0x1bf6bd[_0x219f78(0x159)],_0x1bf6bd[_0x219f78(0x1d5)],_0x1bf6bd['GZsPh'],_0x1bf6bd[_0x219f78(0x1c0)]),_0x34ca7b=_0x1bf6bd[_0x219f78(0x19c)](importFileFromPWCore,_0x44f75d);!_0x34ca7b?_0x1bf6bd['uMGoJ'](debug,_0x1bf6bd[_0x219f78(0x15f)]):_0x9d8cd3=_0x34ca7b[_0x219f78(0x1d2)];}catch(_0x3099fa){_0x1bf6bd[_0x219f78(0x1f0)](debug,_0x1bf6bd[_0x219f78(0x174)]);}try{if(_0x1bf6bd[_0x219f78(0x1ca)](_0x9d8cd3,null)){const _0x579e95=_0x9d8cd3['prototype'][_0x219f78(0x18a)];Object[_0x219f78(0x166)](_0x9d8cd3['prototype'],_0x1bf6bd[_0x219f78(0x1e8)],{'get':function(){return function _0x5cd741(_0x38802b){const _0x24c4c9=a43_0x15f7;try{const _0x1729e5=_0x38802b[_0x24c4c9(0x15a)];if(_0x1729e5){delete _0x38802b[_0x24c4c9(0x15a)];const _0x1ec2ac=_0x1729e5['sessionId'],_0x128131=_0x1729e5[_0x24c4c9(0x195)];_0x128131&&(_0x1bf6bd[_0x24c4c9(0x1a9)](debug,_0x24c4c9(0x1a7)+_0x128131[_0x24c4c9(0x1cc)]()),_0x271e15['currentSessionDetails'][_0x24c4c9(0x1b0)]=_0x128131[_0x24c4c9(0x198)],_0x271e15['currentSessionDetails'][_0x24c4c9(0x167)]=_0x128131[_0x24c4c9(0x163)]),_0x1ec2ac&&(_0x1bf6bd[_0x24c4c9(0x1a9)](debug,_0x24c4c9(0x1ab)+_0x1ec2ac),_0x271e15[_0x24c4c9(0x1e1)][_0x24c4c9(0x1c3)]=_0x1ec2ac);}}catch(_0x49e717){_0x1bf6bd[_0x24c4c9(0x1f4)](debug,_0x24c4c9(0x1c4)+_0x49e717[_0x24c4c9(0x1cc)]());}return _0x579e95[_0x24c4c9(0x1db)](this,arguments);};}});}}catch(_0x4eebcf){_0x1bf6bd[_0x219f78(0x1f0)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x4eebcf),_0x271e15[_0x219f78(0x1bc)]=_0x4eebcf[_0x219f78(0x1cc)]();}}}static['getDetails'](){return this['currentSessionDetails'];}}function a43_0x15f7(_0xb0a2e5,_0xb20fbf){const _0x404fda=a43_0x404f();return a43_0x15f7=function(_0x15f72d,_0x8c4528){_0x15f72d=_0x15f72d-0x156;let _0x2d3269=_0x404fda[_0x15f72d];return _0x2d3269;},a43_0x15f7(_0xb0a2e5,_0xb20fbf);}module[a43_0x55075b(0x189)]=PlaywrightSessionDetails;
|
|
1
|
+
function a43_0x312a(_0x5780f7,_0xc3366c){const _0x5204ee=a43_0x5204();return a43_0x312a=function(_0x312a10,_0x3e603d){_0x312a10=_0x312a10-0x18b;let _0x550a12=_0x5204ee[_0x312a10];return _0x550a12;},a43_0x312a(_0x5780f7,_0xc3366c);}const a43_0x471f0c=a43_0x312a;(function(_0x339147,_0x108a82){const _0x161bd9=a43_0x312a,_0x51d4eb=_0x339147();while(!![]){try{const _0x129f9f=-parseInt(_0x161bd9(0x193))/0x1+parseInt(_0x161bd9(0x1a0))/0x2*(parseInt(_0x161bd9(0x1fa))/0x3)+-parseInt(_0x161bd9(0x190))/0x4*(-parseInt(_0x161bd9(0x22f))/0x5)+-parseInt(_0x161bd9(0x202))/0x6*(parseInt(_0x161bd9(0x1ca))/0x7)+parseInt(_0x161bd9(0x1c8))/0x8+parseInt(_0x161bd9(0x20a))/0x9*(-parseInt(_0x161bd9(0x211))/0xa)+parseInt(_0x161bd9(0x1a9))/0xb;if(_0x129f9f===_0x108a82)break;else _0x51d4eb['push'](_0x51d4eb['shift']());}catch(_0x3edab8){_0x51d4eb['push'](_0x51d4eb['shift']());}}}(a43_0x5204,0x87100));const path=require('path'),url=require(a43_0x471f0c(0x237)),util=require(a43_0x471f0c(0x1dd)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x471f0c(0x1af)),{o11yErrorHandler}=require(a43_0x471f0c(0x210)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x471f0c(0x1de)),logger=require(a43_0x471f0c(0x19c))[a43_0x471f0c(0x226)],scripts=require(a43_0x471f0c(0x219)),{browserStackExecuteDriver}=require(a43_0x471f0c(0x1b9)),AccessibilityHelper=require(a43_0x471f0c(0x221)),constants=require(a43_0x471f0c(0x1bf)),getBrowserNameFromChannel=_0x1a11e6=>{const _0x5a126f=a43_0x471f0c,_0x40c7f6={};_0x40c7f6[_0x5a126f(0x233)]='chrome',_0x40c7f6['FDMQv']='edge',_0x40c7f6[_0x5a126f(0x1f8)]=_0x5a126f(0x1aa),_0x40c7f6[_0x5a126f(0x225)]=_0x5a126f(0x1f2);const _0x17f5c7=_0x40c7f6;if(_0x1a11e6[_0x5a126f(0x1bd)](_0x17f5c7[_0x5a126f(0x233)]))return _0x17f5c7[_0x5a126f(0x233)];if(_0x1a11e6[_0x5a126f(0x1bd)](_0x17f5c7['FDMQv']))return _0x17f5c7[_0x5a126f(0x201)];if(_0x1a11e6[_0x5a126f(0x1bd)](_0x17f5c7[_0x5a126f(0x1f8)]))return _0x17f5c7[_0x5a126f(0x1f8)];if(_0x1a11e6['includes'](_0x17f5c7[_0x5a126f(0x225)]))return _0x17f5c7['wvsCO'];},getBrowserFromWSEndpoint=_0x28bedc=>{const _0x49e2c9=a43_0x471f0c,_0xefbdb3={'vRciy':_0x49e2c9(0x1c9),'XYUqp':function(_0x31d8e5,_0x49eb52){return _0x31d8e5(_0x49eb52);}};try{const _0xc5be6f=url[_0x49e2c9(0x1d1)](_0x28bedc),_0x25f6c2=new URLSearchParams(_0xc5be6f['query']),_0x3dceb=Object[_0x49e2c9(0x1f3)](_0x25f6c2[_0x49e2c9(0x20b)]()),_0x3978f7=JSON['parse'](_0x3dceb[_0x49e2c9(0x20e)]);if(_0x3978f7&&(_0x3978f7[_0x49e2c9(0x1bb)]||_0x3978f7[_0x49e2c9(0x1e5)]))return _0x3978f7['browser']||_0x3978f7['browserName'];return _0xefbdb3[_0x49e2c9(0x1b2)];}catch(_0x413fe0){_0xefbdb3['XYUqp'](debug,_0x49e2c9(0x1fe)+_0x413fe0[_0x49e2c9(0x20c)]());}},getCloudProviderFromWsEndpoint=_0x45a40d=>{const _0x84d3b4=a43_0x471f0c,_0x548cfa={};_0x548cfa[_0x84d3b4(0x21a)]=_0x84d3b4(0x216),_0x548cfa['UbyQw']=_0x84d3b4(0x1ab),_0x548cfa['soIPN']=_0x84d3b4(0x1cb),_0x548cfa['eTIlD']=_0x84d3b4(0x1ee);const _0x1b81e5=_0x548cfa;if(_0x45a40d[_0x84d3b4(0x1bd)](_0x1b81e5[_0x84d3b4(0x21a)])||_0x45a40d['includes'](_0x1b81e5['UbyQw']))return _0x1b81e5[_0x84d3b4(0x1a3)];return _0x1b81e5[_0x84d3b4(0x1ac)];},a43_0x55a4ec={};function a43_0x5204(){const _0x49a34d=['OBvJj','Error\x20in\x20importing\x20connection\x20','prototype','AfjaF','itbrU','Performing\x20scan\x20for\x20','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','1589720TceVFG','chrome','7ouhcvu','browserstack','turboscale','function','RBaKX','ybuOD','patchCRConnection','parse','eWtpp','CRConnection','version','cloudProvider','crConnection.js','mznHH','connection.js','LSfgZ','mqtFs','Device\x20Model\x20is\x20not\x20available','sessionError','util','../../helpers/accessibility-automation/helper','setupBrowserDetails','vFGGS','Error\x20in\x20importing\x20crConnection','ejXJj','patchConnection','GrYxf','browserName','product','ABGJl','sTbgw','params','sendMessageToServer','EhUGA','currentTest','VydfM','unknown_grid','dispatch','client','iQtBF','safari','fromEntries','playwright-','browser_version','Not\x20able\x20to\x20import\x20crConnection','WMmDo','PEzGg','format','246ZonwLL','WeNiG','_onMessage','chromium','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','channel','bstackPerformA11yScan','FDMQv','5961396NVDuMI','apply','wsEndpoint','__driver','patch','VBkrC','_browserType','FZWQc','76581mEwsbf','entries','toString','server','caps','OByfT','../../helpers/test-observability/error-handler','1030lBsqyh','hFzJU','MQPqm','assign','bsSessionId','browserstack.com','isRemote','FBxKb','../../helpers/accessibility-automation/scripts','uAGgP','FIDVM','wYcGF','xOFSw','getDetails','platformDetails','dZyVI','./accessibility-helper','use','lib','attzs','wvsCO','winstonLogger','NdZcl','Page','DslGE','gFcVv','hCZYO','defineProperty','exports','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','235KKurHg','Connection','atbgb','capabilities','wubzc','platform_version','xQfCP','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','url','lUVhY','Setting\x20session\x20id\x20received\x20from\x20BS\x20','UxyZg','test','debug','yznJD','kigje','titlePath','rbKdy','platformVersion','zOnAI','39740UQmXey','sessionId','connectOptions','1074002lohIfX','bStackParams','KOVsc','QSIKs','hOksb','method','deviceModel','uDOtL','accessibilityPlatform','../../helpers/logger','__workerDetails','bZyUh','XpdTR','16970rgplpn','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','currentSessionDetails','soIPN','pwPage','testInfo','env','hQGIE','FRBrl','23493591zVRuWU','firefox','browserstack-ats.com','eTIlD','join','model','../../helpers/helper','bsParams','platform','vRciy','bwykJ','SSJNU','platformName','_connection','XuVWS','lcfDe','../../bin/playwright/accessibility-helper','project','browser','performScan','includes','_defaultConnectOptions','../utils/constants','UViuj'];a43_0x5204=function(){return _0x49a34d;};return a43_0x5204();}a43_0x55a4ec[a43_0x471f0c(0x1d5)]=undefined,a43_0x55a4ec[a43_0x471f0c(0x215)]=undefined,a43_0x55a4ec[a43_0x471f0c(0x1bb)]=undefined,a43_0x55a4ec[a43_0x471f0c(0x1f5)]=undefined,a43_0x55a4ec[a43_0x471f0c(0x1b1)]=undefined,a43_0x55a4ec[a43_0x471f0c(0x234)]=undefined,a43_0x55a4ec[a43_0x471f0c(0x1e6)]=undefined,a43_0x55a4ec[a43_0x471f0c(0x232)]={};class PlaywrightSessionDetails{static [a43_0x471f0c(0x1a2)]=a43_0x55a4ec;constructor(){const _0x598b36=a43_0x471f0c,_0x311725={};_0x311725[_0x598b36(0x207)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x1d6fef=_0x311725;throw new Error(_0x1d6fef[_0x598b36(0x207)]);}static ['sessionError']=null;static[a43_0x471f0c(0x1df)](_0x269616,_0x2c86d7,_0x19cee3=null){const _0x16da02=a43_0x471f0c,_0x298ea4={'FBxKb':function(_0x19d129,_0x41aab4){return _0x19d129===_0x41aab4;},'hOksb':_0x16da02(0x1cd),'sTbgw':_0x16da02(0x1c7),'lUVhY':function(_0x35f1d3,_0x52b8e6){return _0x35f1d3===_0x52b8e6;},'uVMMi':_0x16da02(0x1db),'attzs':'local_grid','itbrU':function(_0x4937e1,_0xa8e0dc,_0x2a3c92){return _0x4937e1(_0xa8e0dc,_0x2a3c92);},'UxyZg':_0x16da02(0x208),'WeNiG':'_defaultConnectOptions','hQGIE':_0x16da02(0x1ba),'rbKdy':'use','AfjaF':_0x16da02(0x192),'SSJNU':function(_0xe0d0a9,_0x4db86c){return _0xe0d0a9(_0x4db86c);},'lcfDe':function(_0x25972f,_0x2c538e){return _0x25972f===_0x2c538e;},'gHkta':_0x16da02(0x1cb),'DIAcl':_0x16da02(0x1cc),'mqtFs':'automate','ybuOD':function(_0x43959e,_0x2c0656){return _0x43959e(_0x2c0656);},'OByfT':function(_0x4c14dd,_0x4f88ee){return _0x4c14dd+_0x4f88ee;},'WMmDo':_0x16da02(0x1f4),'NdZcl':function(_0x5debcb){return _0x5debcb();},'hFzJU':function(_0x5e713e,_0x1e8b14,_0x887098){return _0x5e713e(_0x1e8b14,_0x887098);},'ejXJj':'setupBrowserDetails'},_0x4ef2b3=this;return _0x298ea4[_0x16da02(0x212)](o11yErrorHandler,async function _0x4049c4(_0x2be32c,_0x3ee5fd,_0x225bd7=null){const _0x4cf34c=_0x16da02;let _0x20c5f8=_0x2be32c['_name'],_0x27fab3=null;_0x2be32c&&_0x298ea4[_0x4cf34c(0x218)](typeof _0x2be32c[_0x4cf34c(0x1d4)],_0x298ea4[_0x4cf34c(0x197)])?_0x27fab3=_0x2be32c[_0x4cf34c(0x1d4)]():logger[_0x4cf34c(0x23c)](_0x298ea4[_0x4cf34c(0x1e8)]);let _0x1a31ff=null;_0x2be32c&&_0x298ea4[_0x4cf34c(0x238)](typeof _0x2be32c[_0x4cf34c(0x1ae)],_0x298ea4[_0x4cf34c(0x197)])?_0x1a31ff=_0x2be32c[_0x4cf34c(0x1ae)]():logger[_0x4cf34c(0x23c)](_0x298ea4['uVMMi']);let _0x32db74=null,_0xa027e9=null,_0x28b01a=null,_0x47a37c=_0x298ea4[_0x4cf34c(0x224)];if(_0x2be32c[_0x4cf34c(0x1b6)][_0x4cf34c(0x217)]()||global[_0x4cf34c(0x19b)]){let _0x1900cf=null;_0x298ea4[_0x4cf34c(0x1c5)](nestedKeyValue,_0x2be32c,[_0x298ea4[_0x4cf34c(0x23a)],_0x298ea4[_0x4cf34c(0x1fb)]])?_0x1900cf=_0x2be32c[_0x4cf34c(0x208)][_0x4cf34c(0x1be)]:_0x1900cf=_0x298ea4['itbrU'](nestedKeyValue,_0x3ee5fd,[_0x298ea4[_0x4cf34c(0x1a7)],_0x298ea4[_0x4cf34c(0x18d)],_0x298ea4[_0x4cf34c(0x1c4)]]);const _0x1c7549=_0x225bd7||_0x1900cf&&_0x1900cf[_0x4cf34c(0x204)];_0x1c7549&&(_0x47a37c=_0x298ea4['SSJNU'](getCloudProviderFromWsEndpoint,_0x1c7549),_0x298ea4[_0x4cf34c(0x1b8)](_0x47a37c,_0x298ea4['gHkta'])&&(_0x28b01a=constants['ATS_WSS_URL_REGEX'][_0x4cf34c(0x23b)](_0x1c7549)?_0x298ea4['DIAcl']:_0x298ea4[_0x4cf34c(0x1da)],_0x20c5f8=_0x298ea4[_0x4cf34c(0x1b4)](getBrowserFromWSEndpoint,_0x1c7549)||_0x20c5f8,_0x32db74=_0x4ef2b3[_0x4cf34c(0x1a2)]['platform'],_0xa027e9=_0x4ef2b3[_0x4cf34c(0x1a2)][_0x4cf34c(0x234)]));}else{_0x3ee5fd&&_0x3ee5fd[_0x4cf34c(0x1ba)][_0x4cf34c(0x222)]['channel']?_0x20c5f8=_0x298ea4[_0x4cf34c(0x1cf)](getBrowserNameFromChannel,_0x3ee5fd[_0x4cf34c(0x1ba)][_0x4cf34c(0x222)][_0x4cf34c(0x1ff)]):_0x20c5f8=_0x298ea4[_0x4cf34c(0x20f)](_0x298ea4[_0x4cf34c(0x1f7)],_0x20c5f8['toLowerCase']());const _0x48402d=await _0x298ea4[_0x4cf34c(0x227)](getPlatformDetails);_0x32db74=_0x48402d[_0x4cf34c(0x1b5)],_0xa027e9=_0x48402d['platformVersion'];}const _0xf24ecd={};_0xf24ecd[_0x4cf34c(0x1bb)]=_0x20c5f8,_0xf24ecd[_0x4cf34c(0x1f5)]=_0x27fab3,_0xf24ecd[_0x4cf34c(0x232)]={},_0xf24ecd[_0x4cf34c(0x1b1)]=_0x32db74,_0xf24ecd['platform_version']=_0xa027e9,_0xf24ecd[_0x4cf34c(0x1e6)]=_0x28b01a;const _0x3c08c5=_0xf24ecd;_0x1a31ff&&(_0x3c08c5[_0x4cf34c(0x232)][_0x4cf34c(0x199)]=_0x1a31ff);const _0x29c7cf={};_0x29c7cf[_0x4cf34c(0x1d5)]=_0x47a37c,_0x4ef2b3[_0x4cf34c(0x1a2)]=Object[_0x4cf34c(0x214)]({},_0x4ef2b3[_0x4cf34c(0x1a2)],_0x29c7cf,_0x3c08c5);},_0x298ea4[_0x16da02(0x1e2)])(_0x269616,_0x2c86d7,_0x19cee3);}static[a43_0x471f0c(0x206)](){const _0x86bb85=a43_0x471f0c;this[_0x86bb85(0x1e3)](),this[_0x86bb85(0x1d0)]();}static[a43_0x471f0c(0x1e3)](){const _0x26f6c4=a43_0x471f0c,_0x23df11={'OYoaX':function(_0x3f5eae,_0x5d9a86,_0x5574c9){return _0x3f5eae(_0x5d9a86,_0x5574c9);},'zOnAI':_0x26f6c4(0x1ec),'VTrNX':_0x26f6c4(0x1a5),'vFGGS':'titlePath','EhUGA':function(_0x5cf8fc,_0x49987e,_0x5c0193){return _0x5cf8fc(_0x49987e,_0x5c0193);},'QSIKs':_0x26f6c4(0x19d),'cVBaK':_0x26f6c4(0x1a4),'UViuj':function(_0x4a0715,_0x1ee200){return _0x4a0715===_0x1ee200;},'OBvJj':_0x26f6c4(0x228),'GrYxf':function(_0x3de495,_0x22b42f,_0x3eae22,_0x2e1d99){return _0x3de495(_0x22b42f,_0x3eae22,_0x2e1d99);},'eWtpp':function(_0xc2092c,_0x75beee){return _0xc2092c(_0x75beee);},'KOVsc':_0x26f6c4(0x223),'LSfgZ':_0x26f6c4(0x1f0),'xOFSw':_0x26f6c4(0x1d8),'wYcGF':function(_0x5a663f,_0x360786){return _0x5a663f(_0x360786);},'bwykJ':'Not\x20able\x20to\x20import\x20Connection','FRBrl':function(_0x246c40,_0x4be184){return _0x246c40!=_0x4be184;},'BlSjJ':function(_0x4d42c7){return _0x4d42c7();},'dZyVI':'sendMessageToServer','yznJD':_0x26f6c4(0x1ef),'VydfM':function(_0x31a096,_0x3067cf){return _0x31a096(_0x3067cf);}},_0x537cc7=this;if(!this[_0x26f6c4(0x230)])try{const _0x2fdf99=path[_0x26f6c4(0x1ad)](_0x23df11[_0x26f6c4(0x195)],_0x23df11[_0x26f6c4(0x1d9)],_0x23df11[_0x26f6c4(0x21d)]),_0x35148f=_0x23df11[_0x26f6c4(0x1d2)](importFileFromPWCore,_0x2fdf99);!_0x35148f?_0x23df11[_0x26f6c4(0x21c)](debug,_0x23df11[_0x26f6c4(0x1b3)]):this['Connection']=_0x35148f[_0x26f6c4(0x230)];}catch(_0x564295){_0x23df11[_0x26f6c4(0x1d2)](debug,_0x26f6c4(0x1c2)+_0x564295['toString']());}const _0x237eda=this[_0x26f6c4(0x230)];try{if(_0x23df11[_0x26f6c4(0x1a8)](_0x237eda,null)){const _0x3f23bf=_0x237eda['prototype'][_0x26f6c4(0x1ef)],_0x130d7d=_0x237eda[_0x26f6c4(0x1c3)][_0x26f6c4(0x1ea)];_0x23df11['BlSjJ'](isAccessibilityAutomationSession)&&Object[_0x26f6c4(0x22c)](_0x237eda[_0x26f6c4(0x1c3)],_0x23df11[_0x26f6c4(0x220)],{'get':function(){return async function(){const _0x4b0117=a43_0x312a;try{if(!global[_0x4b0117(0x200)]&&global[_0x4b0117(0x19b)]&&_0x23df11['OYoaX'](nestedKeyValue,global[_0x4b0117(0x19d)],[_0x23df11[_0x4b0117(0x18f)],_0x23df11['VTrNX'],_0x23df11[_0x4b0117(0x1e0)]])&&_0x23df11[_0x4b0117(0x1eb)](shouldScanTestForAccessibility,global[_0x4b0117(0x19d)][_0x4b0117(0x1ec)][_0x4b0117(0x1a5)][_0x4b0117(0x18c)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x4b0117(0x23c)](_0x4b0117(0x1c6)+arguments[0x1]),global[_0x4b0117(0x200)]=!![];const _0x32554e=_0x23df11['EhUGA'](nestedKeyValue,global,[_0x23df11[_0x4b0117(0x196)],_0x23df11['cVBaK']]),_0x151a35={};_0x151a35[_0x4b0117(0x198)]=arguments[0x1],_0x32554e&&logger['debug'](util[_0x4b0117(0x1f9)](await AccessibilityHelper['performScan'](_0x32554e,_0x151a35)));if(_0x23df11[_0x4b0117(0x1c0)](arguments[0x0]['_type'],_0x23df11[_0x4b0117(0x1c1)])&&global[_0x4b0117(0x205)]){const _0xf7c1f7={};_0xf7c1f7['method']=arguments[0x1],await _0x23df11[_0x4b0117(0x1e4)](browserStackExecuteDriver,global[_0x4b0117(0x205)],scripts[_0x4b0117(0x1bc)],_0xf7c1f7);}}}catch(_0x47854e){logger[_0x4b0117(0x23c)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x4b0117(0x1f9)](_0x47854e));}return global[_0x4b0117(0x200)]=![],_0x130d7d[_0x4b0117(0x203)](this,arguments);};}}),!_0x23df11[_0x26f6c4(0x1d2)](isFalse,process[_0x26f6c4(0x1a6)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x26f6c4(0x22c)](_0x237eda[_0x26f6c4(0x1c3)],_0x23df11[_0x26f6c4(0x23d)],{'get':function(){const _0x5d13ae={'atbgb':function(_0x1e342c,_0x5c0896){const _0x59881f=a43_0x312a;return _0x23df11[_0x59881f(0x1d2)](_0x1e342c,_0x5c0896);},'hCZYO':function(_0x502a3e,_0x5f4cfc){const _0x99c287=a43_0x312a;return _0x23df11[_0x99c287(0x1d2)](_0x502a3e,_0x5f4cfc);}};return function _0x590009(_0x28e1f4){const _0x3b3821=a43_0x312a,_0x11a1f7=_0x28e1f4&&_0x28e1f4[_0x3b3821(0x1e9)]&&_0x28e1f4[_0x3b3821(0x1e9)][_0x3b3821(0x1b0)];if(_0x11a1f7){const _0x24c8bd=_0x11a1f7[_0x3b3821(0x191)],_0x16e6cd=_0x11a1f7[_0x3b3821(0x21f)];_0x16e6cd&&(_0x5d13ae[_0x3b3821(0x231)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x16e6cd['toString']()),_0x537cc7[_0x3b3821(0x1a2)][_0x3b3821(0x1b1)]=_0x16e6cd['platformName'],_0x537cc7[_0x3b3821(0x1a2)]['platform_version']=_0x16e6cd[_0x3b3821(0x18e)]),_0x24c8bd&&(_0x5d13ae[_0x3b3821(0x22b)](debug,_0x3b3821(0x239)+_0x24c8bd),_0x537cc7[_0x3b3821(0x1a2)][_0x3b3821(0x215)]=_0x24c8bd);}return _0x3f23bf['apply'](this,arguments);};}});}}catch(_0x4e850a){_0x23df11[_0x26f6c4(0x1ed)](debug,_0x26f6c4(0x236)+_0x4e850a),_0x537cc7[_0x26f6c4(0x1dc)]=_0x4e850a[_0x26f6c4(0x20c)]();}}static[a43_0x471f0c(0x1d0)](){const _0xa9a221=a43_0x471f0c,_0x1b951d={'xQfCP':function(_0x649cad,_0x5a0909){return _0x649cad(_0x5a0909);},'mznHH':function(_0x5bd7a7,_0x3569dd){return _0x5bd7a7(_0x3569dd);},'bZyUh':function(_0x11fb1c,_0x400fd5){return _0x11fb1c(_0x400fd5);},'gFcVv':function(_0x47b556){return _0x47b556();},'FZWQc':_0xa9a221(0x223),'kigje':_0xa9a221(0x20d),'FIDVM':_0xa9a221(0x1fd),'ThPGp':_0xa9a221(0x1d6),'MQPqm':function(_0x42aba0,_0x344c24){return _0x42aba0(_0x344c24);},'iQtBF':function(_0xe99b57,_0x42a92f){return _0xe99b57(_0x42a92f);},'uDOtL':_0xa9a221(0x1f6),'RBaKX':function(_0x3e1915,_0x3fa504){return _0x3e1915(_0x3fa504);},'DslGE':_0xa9a221(0x1e1),'hoioE':function(_0x5ee21b,_0x588f03){return _0x5ee21b!=_0x588f03;},'OrNXM':_0xa9a221(0x1fc)},_0xd8173=this;if(_0x1b951d[_0xa9a221(0x22a)](isAccessibilityAutomationSession)){let _0x5a411c=null;try{const _0x5586c6=path[_0xa9a221(0x1ad)](_0x1b951d[_0xa9a221(0x209)],_0x1b951d[_0xa9a221(0x18b)],_0x1b951d[_0xa9a221(0x21b)],_0x1b951d['ThPGp']),_0x43f31e=_0x1b951d[_0xa9a221(0x213)](importFileFromPWCore,_0x5586c6);!_0x43f31e?_0x1b951d[_0xa9a221(0x1f1)](debug,_0x1b951d[_0xa9a221(0x19a)]):_0x5a411c=_0x43f31e[_0xa9a221(0x1d3)];}catch(_0x5ea028){_0x1b951d[_0xa9a221(0x1ce)](debug,_0x1b951d[_0xa9a221(0x229)]);}try{if(_0x1b951d['hoioE'](_0x5a411c,null)){const _0x5a1431=_0x5a411c[_0xa9a221(0x1c3)][_0xa9a221(0x1fc)];Object[_0xa9a221(0x22c)](_0x5a411c[_0xa9a221(0x1c3)],_0x1b951d['OrNXM'],{'get':function(){const _0x197c6f={'XuVWS':function(_0x5b9560,_0x15d598){const _0xd62ebb=a43_0x312a;return _0x1b951d[_0xd62ebb(0x235)](_0x5b9560,_0x15d598);},'XpdTR':function(_0x29076e,_0x227412){const _0x1a1bfa=a43_0x312a;return _0x1b951d[_0x1a1bfa(0x1d7)](_0x29076e,_0x227412);},'ABGJl':function(_0x584d3f,_0x48c2e6){const _0x1e0b76=a43_0x312a;return _0x1b951d[_0x1e0b76(0x19e)](_0x584d3f,_0x48c2e6);}};return function _0xe0cb09(_0x29bdbe){const _0x2ee211=a43_0x312a;try{const _0x28f4aa=_0x29bdbe[_0x2ee211(0x194)];if(_0x28f4aa){delete _0x29bdbe['bStackParams'];const _0x1f50e3=_0x28f4aa[_0x2ee211(0x191)],_0x30134f=_0x28f4aa[_0x2ee211(0x21f)];_0x30134f&&(_0x197c6f[_0x2ee211(0x1b7)](debug,_0x2ee211(0x22e)+_0x30134f[_0x2ee211(0x20c)]()),_0xd8173[_0x2ee211(0x1a2)][_0x2ee211(0x1b1)]=_0x30134f['platformName'],_0xd8173['currentSessionDetails'][_0x2ee211(0x234)]=_0x30134f[_0x2ee211(0x18e)]),_0x1f50e3&&(_0x197c6f[_0x2ee211(0x19f)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x1f50e3),_0xd8173[_0x2ee211(0x1a2)][_0x2ee211(0x215)]=_0x1f50e3);}}catch(_0x56e04b){_0x197c6f[_0x2ee211(0x1e7)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x56e04b[_0x2ee211(0x20c)]());}return _0x5a1431['apply'](this,arguments);};}});}}catch(_0x54841a){_0x1b951d[_0xa9a221(0x1ce)](debug,_0xa9a221(0x1a1)+_0x54841a),_0xd8173[_0xa9a221(0x1dc)]=_0x54841a[_0xa9a221(0x20c)]();}}}static[a43_0x471f0c(0x21e)](){const _0x55c9e1=a43_0x471f0c;return this[_0x55c9e1(0x1a2)];}}module[a43_0x471f0c(0x22d)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x521247=a44_0x25c8;function a44_0x3d45(){const _0x1a9a50=['mAMAz','./vanilla-js/command','node','.local-not-set.json','./codeceptjs/command','7erGMUS','globalException','gywjZ','1835788qSpDtc','alias','message','--config','--no-config','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','codeceptjs','VTSjC','HvnkC','XBJiD','command','RFznU','PLAYWRIGHT','mocha','11531620ujauxR','./playwright/command','help','run','MOCHA','pDhHm','JEST','MxqWy','113196ANxQMi','sXfLd','uwShX','integrations','--package','error','gmxcm','start','HST','existsSync','demandCommand','iAMFU','framework','yargs','fhXJw','wElEA','debug','homedir','5018250XWNytB','EVENTS','end','Mdhns','unlinkSync','ZIgFG','usage:\x20$0\x20<command>\x20[args]','26dZwmNG','MZhtS','ovUtv','183777lMoPmF','util','Mdczj','ats','setTestObservabilityDisable','Parsing\x20command\x20line\x20arguements','ctxTJ','isUndefined','HscXI','./utils/constants','.browserstack','includes','join','../helpers/utilities','dot-notation','mgUiu','9ijtZbz','--no-package','VANILLA','path','ozQRQ','HELP','NIGHTWATCH','mocha/lib/cli/cli.js','qTQhZ','VERSION','startMonitoring','nightwatch','format','findAndReplace','./integrations/command','../helpers/logger','ciApU','5866312bEzIFK','SDK_SETUP','describe','UukjN','INFO','stack','../helpers/performance/performance-tester','mocha/lib/cli/run.js','push','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','1749epIahl','cucumber-js','config','winstonLogger','usage','wrap','./mocha/command','handler','slice','mocha/lib/cli/commands.js','--no-opts','159427XnHqzf','xrURW','argv','exitCode','5NPiCVQ','SDK_CLEANUP','--mochaRequire','eYOZg'];a44_0x3d45=function(){return _0x1a9a50;};return a44_0x3d45();}(function(_0x491f8b,_0x3e5312){const _0x137a57=a44_0x25c8,_0x5f0dd4=_0x491f8b();while(!![]){try{const _0x34b098=-parseInt(_0x137a57(0xf6))/0x1+parseInt(_0x137a57(0x135))/0x2*(-parseInt(_0x137a57(0x138))/0x3)+-parseInt(_0x137a57(0x106))/0x4*(-parseInt(_0x137a57(0xfa))/0x5)+-parseInt(_0x137a57(0x12e))/0x6+-parseInt(_0x137a57(0x103))/0x7*(parseInt(_0x137a57(0xe1))/0x8)+parseInt(_0x137a57(0xd0))/0x9*(parseInt(_0x137a57(0x114))/0xa)+-parseInt(_0x137a57(0xeb))/0xb*(-parseInt(_0x137a57(0x11c))/0xc);if(_0x34b098===_0x3e5312)break;else _0x5f0dd4['push'](_0x5f0dd4['shift']());}catch(_0x3aea87){_0x5f0dd4['push'](_0x5f0dd4['shift']());}}}(a44_0x3d45,0x8f302));function a44_0x25c8(_0x16554e,_0x46a716){const _0x3d45f3=a44_0x3d45();return a44_0x25c8=function(_0x25c84b,_0x520e85){_0x25c84b=_0x25c84b-0xcb;let _0x111929=_0x3d45f3[_0x25c84b];return _0x111929;},a44_0x25c8(_0x16554e,_0x46a716);}const fs=require('fs'),path=require(a44_0x521247(0xd3)),util=require(a44_0x521247(0x139)),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a44_0x521247(0xe7)),PerformanceEvents=require('../helpers/performance/constants')[a44_0x521247(0x12f)],helper=require('../helpers/helper'),utilities=require(a44_0x521247(0xcd)),runIntegrations=require(a44_0x521247(0xde)),captureError=async(_0x2ecda8,_0x269819,_0x424815=null)=>{const _0x230c57=a44_0x521247,_0x287279={'MZhtS':function(_0x5b9445,_0x41e7fe,_0x112cff){return _0x5b9445(_0x41e7fe,_0x112cff);},'wElEA':'SDKTestSuccessful'};try{await _0x287279[_0x230c57(0x136)](_0x2ecda8,_0x269819,_0x424815);}catch(_0x7078ed){process[_0x230c57(0xf9)]=0x1,logger['error'](util['format'](_0x7078ed));const _0x3dc146={};_0x3dc146[_0x230c57(0x104)]=_0x7078ed[_0x230c57(0x108)];const _0x4396a7=_0x3dc146;PerformanceTester[_0x230c57(0x130)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x7078ed));if(helper[_0x230c57(0x13f)](global[_0x230c57(0xed)])&&helper['isUndefined'](global['framework']))return;try{utilities['fireFunnelTestEvent'](_0x287279[_0x230c57(0x12b)],_0x4396a7,global['config'],global[_0x230c57(0x128)]);}catch(_0x41c612){logger[_0x230c57(0x12c)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x41c612[_0x230c57(0xe6)]);}PerformanceTester[_0x230c57(0x130)](PerformanceEvents[_0x230c57(0xe2)],![],util[_0x230c57(0xdc)](_0x7078ed));}finally{PerformanceTester[_0x230c57(0x123)](PerformanceEvents[_0x230c57(0xfb)]);}};try{const browserstackFolderPath=path[a44_0x521247(0xcc)](helper[a44_0x521247(0x12d)](),a44_0x521247(0x142));if(fs[a44_0x521247(0x125)](browserstackFolderPath)){const filePath=path[a44_0x521247(0xcc)](browserstackFolderPath,a44_0x521247(0x101));fs['existsSync'](filePath)&&fs[a44_0x521247(0x132)](filePath);}}catch(a44_0x35b6fb){logger[a44_0x521247(0x12c)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a44_0x35b6fb[a44_0x521247(0x108)]);}process[a44_0x521247(0xf8)]['includes'](a44_0x521247(0x113))&&(!process[a44_0x521247(0xf8)]['includes']('--opts')&&process[a44_0x521247(0xf8)][a44_0x521247(0xe9)](a44_0x521247(0xf5)),!process[a44_0x521247(0xf8)][a44_0x521247(0xcb)](a44_0x521247(0x109))&&process[a44_0x521247(0xf8)][a44_0x521247(0xe9)](a44_0x521247(0x10a)),!process[a44_0x521247(0xf8)]['includes'](a44_0x521247(0x120))&&process['argv'][a44_0x521247(0xe9)](a44_0x521247(0xd1)),helper[a44_0x521247(0xdd)](process[a44_0x521247(0xf8)],'--require',a44_0x521247(0xfc)));const yargs=require(a44_0x521247(0x129)),Constants=require(a44_0x521247(0x141)),logger=require(a44_0x521247(0xdf))[a44_0x521247(0xee)];PerformanceTester[a44_0x521247(0xda)](),PerformanceTester['start'](PerformanceEvents[a44_0x521247(0xe2)]);const a44_0x5a255d={};a44_0x5a255d[a44_0x521247(0xce)]=![];const argv=yargs['parserConfiguration'](a44_0x5a255d)[a44_0x521247(0xef)](a44_0x521247(0x134))[a44_0x521247(0x107)]('v','version')[a44_0x521247(0xe3)]('v')[a44_0x521247(0x107)]('h',a44_0x521247(0x116))['help'](a44_0x521247(0x116))['showHelpOnFail'](!![],Constants[a44_0x521247(0xd9)][a44_0x521247(0xd5)])['command']('jest',Constants[a44_0x521247(0x11a)][a44_0x521247(0xe5)],function(_0x42d12a){const _0x230a1f=a44_0x521247,_0x1151c5={'iAMFU':function(_0x581eb4,_0x3048b3,_0x17ab69,_0x53dc53){return _0x581eb4(_0x3048b3,_0x17ab69,_0x53dc53);},'qTQhZ':function(_0x4311be,_0x246e7b){return _0x4311be(_0x246e7b);},'uwShX':'./jest/command'};helper[_0x230a1f(0x13c)](),helper['setBrowserStackAutomationDisable']();const _0x8be77d=process[_0x230a1f(0xf8)][_0x230a1f(0xf3)](0x2);return _0x1151c5[_0x230a1f(0x127)](captureError,_0x1151c5[_0x230a1f(0xd8)](require,_0x1151c5[_0x230a1f(0x11e)]),_0x42d12a['argv'],_0x8be77d);})[a44_0x521247(0x110)](a44_0x521247(0x113),Constants[a44_0x521247(0x118)]['INFO'],_0x561633=>{const _0x267529=a44_0x521247,_0x1dc7a4={'pDhHm':function(_0x2b3d7f,_0x4aeae2,_0x385179){return _0x2b3d7f(_0x4aeae2,_0x385179);},'xrURW':function(_0x28e841,_0x2f6794){return _0x28e841(_0x2f6794);},'sXfLd':_0x267529(0xf1),'MxqWy':_0x267529(0x13d),'VTSjC':_0x267529(0xe8),'ovUtv':_0x267529(0x113),'zCcNP':function(_0x5096c4,_0x5918e1,_0x4a0d9a){return _0x5096c4(_0x5918e1,_0x4a0d9a);},'gnoCD':_0x267529(0xf4),'fhXJw':_0x267529(0xd7),'Njqdg':function(_0x583573){return _0x583573();}};logger['debug'](_0x1dc7a4[_0x267529(0x11b)]);const _0x4707a9=_0x1dc7a4['pDhHm'](requireModule,_0x1dc7a4[_0x267529(0x10d)],_0x1dc7a4['ovUtv']),_0x1a291b=_0x1dc7a4['zCcNP'](requireModule,_0x1dc7a4['gnoCD'],_0x1dc7a4[_0x267529(0x137)]);process[_0x267529(0xf8)]=process[_0x267529(0xf8)]['slice'](0x1),delete _0x4707a9[_0x267529(0xf2)],_0x4707a9[_0x267529(0xf2)]=function(_0x24f1a9){const _0x2b8e5e=_0x267529;return _0x1dc7a4[_0x2b8e5e(0x119)](captureError,_0x1dc7a4[_0x2b8e5e(0xf7)](require,_0x1dc7a4[_0x2b8e5e(0x11d)]),_0x24f1a9);},_0x1a291b[_0x267529(0x117)]=_0x4707a9;const {main:_0x59dbe5}=_0x1dc7a4['pDhHm'](requireModule,_0x1dc7a4[_0x267529(0x12a)],_0x1dc7a4['ovUtv']);_0x1dc7a4['Njqdg'](_0x59dbe5);})[a44_0x521247(0x110)](a44_0x521247(0xec),Constants['CUCUMBER'][a44_0x521247(0xe5)],function(_0xc8c4fe){const _0x36a35a=a44_0x521247,_0x23b343={'Mdczj':function(_0x3f0a34,_0x20e47e,_0x237586,_0x8bda8b){return _0x3f0a34(_0x20e47e,_0x237586,_0x8bda8b);},'Mdhns':function(_0x59fc22,_0x219343){return _0x59fc22(_0x219343);},'ciApU':'./cucumber-js/command'},_0x364600=process[_0x36a35a(0xf8)][_0x36a35a(0xf3)](0x2);return _0x23b343[_0x36a35a(0x13a)](captureError,_0x23b343[_0x36a35a(0x131)](require,_0x23b343[_0x36a35a(0xe0)]),_0xc8c4fe[_0x36a35a(0xf8)],_0x364600);})['command'](a44_0x521247(0x100),Constants[a44_0x521247(0xd2)][a44_0x521247(0xe5)],function(_0x16fd28){const _0x1e894a=a44_0x521247,_0xe3a532={'XBJiD':function(_0x229a71,_0x296974,_0x542941,_0x3c8d43){return _0x229a71(_0x296974,_0x542941,_0x3c8d43);},'WPTWb':function(_0x2d5f70,_0x271bbb){return _0x2d5f70(_0x271bbb);},'tiYMu':_0x1e894a(0xff)},_0x190fc1=process[_0x1e894a(0xf8)][_0x1e894a(0xf3)](0x2);return _0xe3a532[_0x1e894a(0x10f)](captureError,_0xe3a532['WPTWb'](require,_0xe3a532['tiYMu']),_0x16fd28[_0x1e894a(0xf8)],_0x190fc1);})['command'](a44_0x521247(0xdb),Constants[a44_0x521247(0xd6)][a44_0x521247(0xe5)],function(_0x4fe620){const _0x626587=a44_0x521247,_0x5f4bcd={'gywjZ':function(_0x278a32,_0x3ec58c,_0x49b520,_0x3e40a5){return _0x278a32(_0x3ec58c,_0x49b520,_0x3e40a5);},'ctxTJ':function(_0x22af9d,_0x9b6e38){return _0x22af9d(_0x9b6e38);},'mgUiu':'./nightwatch/command'},_0x4fb719=process[_0x626587(0xf8)][_0x626587(0xf3)](0x2);return _0x5f4bcd[_0x626587(0x105)](captureError,_0x5f4bcd[_0x626587(0x13e)](require,_0x5f4bcd[_0x626587(0xcf)]),_0x4fe620['argv'],_0x4fb719);})[a44_0x521247(0x110)](a44_0x521247(0x10c),Constants['CODECEPTJS']['INFO'],function(_0x369b46){const _0x290364=a44_0x521247,_0x8af78e={'gmxcm':function(_0x314e9c,_0x49be37,_0x5c9cbf,_0x55f056){return _0x314e9c(_0x49be37,_0x5c9cbf,_0x55f056);},'mAMAz':function(_0x1d564e,_0x163001){return _0x1d564e(_0x163001);},'eZrSk':_0x290364(0x102)},_0x28d7f8=process['argv'][_0x290364(0xf3)](0x2);return _0x8af78e[_0x290364(0x122)](captureError,_0x8af78e[_0x290364(0xfe)](require,_0x8af78e['eZrSk']),_0x369b46[_0x290364(0xf8)],_0x28d7f8);})['command']('ats',Constants[a44_0x521247(0x124)][a44_0x521247(0xe5)],function(_0x4c824c){const _0x51c206=a44_0x521247,_0xa3a194={'RFznU':function(_0x1ee2f6,_0x34a516,_0x4a9462){return _0x1ee2f6(_0x34a516,_0x4a9462);},'ozQRQ':function(_0x12fc1b,_0x4a830c){return _0x12fc1b(_0x4a830c);},'eYOZg':'../../ats/src/index'},_0x58c48a=process[_0x51c206(0xf8)][_0x51c206(0xf3)](0x2);return _0xa3a194[_0x51c206(0x111)](captureError,_0xa3a194[_0x51c206(0xd4)](require,_0xa3a194[_0x51c206(0xfd)]),_0x4c824c);})[a44_0x521247(0x110)](a44_0x521247(0x11f),Constants['INTEGRATIONS'][a44_0x521247(0xe5)],function(_0x17c6e5){const _0x3957b6=a44_0x521247,_0x4f7d22={'UukjN':function(_0xae2168,_0x4b5993){return _0xae2168(_0x4b5993);}};return _0x4f7d22[_0x3957b6(0xe4)](runIntegrations,_0x17c6e5);})['command']('playwright',Constants[a44_0x521247(0x112)][a44_0x521247(0xe5)],function(_0x4ad3b0){const _0x39a2a6=a44_0x521247,_0x135cb2={'HvnkC':function(_0x406432,_0x1a57eb,_0x41b8af,_0x5e4825){return _0x406432(_0x1a57eb,_0x41b8af,_0x5e4825);},'HscXI':function(_0x4dd0be,_0x2ee2b7){return _0x4dd0be(_0x2ee2b7);},'ZIgFG':_0x39a2a6(0x115)},_0x3afd6e=process['argv'][_0x39a2a6(0xf3)](0x2);return _0x135cb2[_0x39a2a6(0x10e)](captureError,_0x135cb2[_0x39a2a6(0x140)](require,_0x135cb2[_0x39a2a6(0x133)]),_0x4ad3b0[_0x39a2a6(0xf8)],_0x3afd6e);})[a44_0x521247(0x126)](0x1,a44_0x521247(0x10b))[a44_0x521247(0xf0)](null)[a44_0x521247(0xf8)];!helper[a44_0x521247(0x13f)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x521247(0x13b)&&console[a44_0x521247(0x121)](a44_0x521247(0xea));
|
|
2
|
+
'use strict';const a44_0x18cb16=a44_0x5bf5;(function(_0x19b7a7,_0x24a183){const _0xbe26ab=a44_0x5bf5,_0x5e2e77=_0x19b7a7();while(!![]){try{const _0x23628c=-parseInt(_0xbe26ab(0x98))/0x1*(parseInt(_0xbe26ab(0xfd))/0x2)+-parseInt(_0xbe26ab(0xd6))/0x3*(parseInt(_0xbe26ab(0x9f))/0x4)+-parseInt(_0xbe26ab(0xd3))/0x5+parseInt(_0xbe26ab(0xc7))/0x6+-parseInt(_0xbe26ab(0xd4))/0x7*(-parseInt(_0xbe26ab(0xb5))/0x8)+parseInt(_0xbe26ab(0xcb))/0x9*(-parseInt(_0xbe26ab(0xe7))/0xa)+-parseInt(_0xbe26ab(0xa5))/0xb*(-parseInt(_0xbe26ab(0xd1))/0xc);if(_0x23628c===_0x24a183)break;else _0x5e2e77['push'](_0x5e2e77['shift']());}catch(_0x45e5bc){_0x5e2e77['push'](_0x5e2e77['shift']());}}}(a44_0x446d,0xa5f16));const fs=require('fs'),path=require(a44_0x18cb16(0xa7)),util=require('util'),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a44_0x18cb16(0xe2)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require(a44_0x18cb16(0x105)),utilities=require(a44_0x18cb16(0xc8)),runIntegrations=require('./integrations/command'),captureError=async(_0x4f2083,_0x4d09e1,_0x207809=null)=>{const _0x59824e=a44_0x18cb16,_0xd8d07f={'qtiGQ':function(_0x1ca3ae,_0x6c2fb9,_0x4d190e){return _0x1ca3ae(_0x6c2fb9,_0x4d190e);},'UYLBN':'SDKTestSuccessful'};try{await _0xd8d07f['qtiGQ'](_0x4f2083,_0x4d09e1,_0x207809);}catch(_0x1a47ee){process[_0x59824e(0xa8)]=0x1,logger['error'](util[_0x59824e(0xc2)](_0x1a47ee));const _0x3c88fc={};_0x3c88fc['globalException']=_0x1a47ee[_0x59824e(0x93)];const _0x37d8b6=_0x3c88fc;PerformanceTester[_0x59824e(0xa0)](PerformanceEvents[_0x59824e(0xd2)],![],util['format'](_0x1a47ee));if(helper[_0x59824e(0xee)](global[_0x59824e(0xd9)])&&helper[_0x59824e(0xee)](global[_0x59824e(0xc9)]))return;try{utilities[_0x59824e(0xe5)](_0xd8d07f[_0x59824e(0xce)],_0x37d8b6,global[_0x59824e(0xd9)],global[_0x59824e(0xc9)]);}catch(_0x7da84c){logger[_0x59824e(0xb7)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x7da84c['stack']);}PerformanceTester[_0x59824e(0xa0)](PerformanceEvents[_0x59824e(0xd2)],![],util[_0x59824e(0xc2)](_0x1a47ee));}finally{PerformanceTester[_0x59824e(0xd8)](PerformanceEvents[_0x59824e(0xfb)]);}};try{const browserstackFolderPath=path[a44_0x18cb16(0xfc)](helper['homedir'](),a44_0x18cb16(0xe4));if(fs[a44_0x18cb16(0xf2)](browserstackFolderPath)){const filePath=path[a44_0x18cb16(0xfc)](browserstackFolderPath,a44_0x18cb16(0xa1));fs[a44_0x18cb16(0xf2)](filePath)&&fs[a44_0x18cb16(0xb6)](filePath);}}catch(a44_0x4e296d){logger['debug'](a44_0x18cb16(0xd0)+a44_0x4e296d[a44_0x18cb16(0x93)]);}process[a44_0x18cb16(0x9e)][a44_0x18cb16(0xac)](a44_0x18cb16(0x94))&&(!process[a44_0x18cb16(0x9e)][a44_0x18cb16(0xac)](a44_0x18cb16(0x9d))&&process[a44_0x18cb16(0x9e)]['push'](a44_0x18cb16(0xb3)),!process[a44_0x18cb16(0x9e)][a44_0x18cb16(0xac)](a44_0x18cb16(0x9b))&&process[a44_0x18cb16(0x9e)]['push'](a44_0x18cb16(0x95)),!process[a44_0x18cb16(0x9e)][a44_0x18cb16(0xac)](a44_0x18cb16(0xa4))&&process[a44_0x18cb16(0x9e)]['push'](a44_0x18cb16(0xb2)),helper[a44_0x18cb16(0xef)](process[a44_0x18cb16(0x9e)],'--require',a44_0x18cb16(0xde)));function a44_0x5bf5(_0x4a7874,_0xfd09af){const _0x446dfc=a44_0x446d();return a44_0x5bf5=function(_0x5bf54c,_0x308725){_0x5bf54c=_0x5bf54c-0x93;let _0x1ee67f=_0x446dfc[_0x5bf54c];return _0x1ee67f;},a44_0x5bf5(_0x4a7874,_0xfd09af);}const yargs=require('yargs'),Constants=require(a44_0x18cb16(0xbb)),logger=require(a44_0x18cb16(0xdd))[a44_0x18cb16(0xed)];PerformanceTester[a44_0x18cb16(0xf0)](),PerformanceTester[a44_0x18cb16(0xd8)](PerformanceEvents[a44_0x18cb16(0xd2)]);function a44_0x446d(){const _0x2af481=['jest','hAtGz','./utils/constants','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','usage:\x20$0\x20<command>\x20[args]','qNNmX','parserConfiguration','mocha/lib/cli/run.js','help','format','PAJmk','QgjBb','setBrowserStackAutomationDisable','PLAYWRIGHT','5149644Ftycdp','../helpers/utilities','framework','mocha/lib/cli/commands.js','18sprYfk','demandCommand','XXRmX','UYLBN','hIhnG','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','1140gfLotA','SDK_SETUP','6174870TtAPxc','3528805tXPXSM','HELP','1522092bSzreS','lCFWK','start','config','wrap','bDIzw','showHelpOnFail','../helpers/logger','--mochaRequire','./playwright/command','JVwRK','DpuuS','../helpers/performance/performance-tester','ulsCq','.browserstack','fireFunnelTestEvent','MOCHA','4445440lOhuaN','ZcBcp','tUygB','ats','ZThaE','handler','winstonLogger','isUndefined','findAndReplace','startMonitoring','emJYS','existsSync','INTEGRATIONS','JEST','integrations','ACdfa','dot-notation','XuVra','HST','KjgpP','SDK_CLEANUP','join','64166qVkIfX','alias','usage','./jest/command','slice','./mocha/command','XZpuE','kHKCv','../helpers/helper','nightwatch','ipxBq','message','mocha','--no-config','uJoWk','./cucumber-js/command','29MiKTyz','command','JOjXj','--config','mocha/lib/cli/cli.js','--opts','argv','8HQKQjW','end','.local-not-set.json','playwright','describe','--package','333751IzHVgN','node','path','exitCode','ueHeh','NIGHTWATCH','zhgjS','includes','abnfJ','../../ats/src/index','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','QFGIY','VERSION','--no-package','--no-opts','INFO','16mQJjYN','unlinkSync','debug','Parsing\x20command\x20line\x20arguements'];a44_0x446d=function(){return _0x2af481;};return a44_0x446d();}const a44_0x166166={};a44_0x166166[a44_0x18cb16(0xf7)]=![];const argv=yargs[a44_0x18cb16(0xbf)](a44_0x166166)[a44_0x18cb16(0xff)](a44_0x18cb16(0xbd))[a44_0x18cb16(0xfe)]('v','version')[a44_0x18cb16(0xa3)]('v')[a44_0x18cb16(0xfe)]('h',a44_0x18cb16(0xc1))['help']('help')[a44_0x18cb16(0xdc)](!![],Constants[a44_0x18cb16(0xb1)][a44_0x18cb16(0xd5)])[a44_0x18cb16(0x99)](a44_0x18cb16(0xb9),Constants[a44_0x18cb16(0xf4)][a44_0x18cb16(0xb4)],function(_0x3386b3){const _0x3a1802=a44_0x18cb16,_0x197993={'kHKCv':function(_0x24a665,_0x100588,_0xfd3eae,_0x347294){return _0x24a665(_0x100588,_0xfd3eae,_0x347294);},'nExSF':function(_0x55eb0e,_0x38ed34){return _0x55eb0e(_0x38ed34);},'uJoWk':_0x3a1802(0x100)};helper['setTestObservabilityDisable'](),helper[_0x3a1802(0xc5)]();const _0x3483de=process[_0x3a1802(0x9e)][_0x3a1802(0x101)](0x2);return _0x197993[_0x3a1802(0x104)](captureError,_0x197993['nExSF'](require,_0x197993[_0x3a1802(0x96)]),_0x3386b3[_0x3a1802(0x9e)],_0x3483de);})['command'](a44_0x18cb16(0x94),Constants[a44_0x18cb16(0xe6)][a44_0x18cb16(0xb4)],_0x254015=>{const _0x372dc8=a44_0x18cb16,_0x256a12={'XuVra':function(_0x54fe95,_0x256664,_0x27c75b){return _0x54fe95(_0x256664,_0x27c75b);},'bDIzw':function(_0x1edc6a,_0x166039){return _0x1edc6a(_0x166039);},'ZThaE':_0x372dc8(0x102),'jgEuK':_0x372dc8(0xb8),'lCFWK':_0x372dc8(0xc0),'ueHeh':_0x372dc8(0x94),'DpuuS':_0x372dc8(0xca),'QFGIY':function(_0x58d1e6,_0x69015d,_0x372e91){return _0x58d1e6(_0x69015d,_0x372e91);},'hIhnG':_0x372dc8(0x9c),'PAJmk':function(_0x1f3fe7){return _0x1f3fe7();}};logger[_0x372dc8(0xb7)](_0x256a12['jgEuK']);const _0x4774f8=_0x256a12[_0x372dc8(0xf8)](requireModule,_0x256a12[_0x372dc8(0xd7)],_0x256a12[_0x372dc8(0xa9)]),_0x46248a=_0x256a12[_0x372dc8(0xf8)](requireModule,_0x256a12[_0x372dc8(0xe1)],_0x256a12['ueHeh']);process[_0x372dc8(0x9e)]=process[_0x372dc8(0x9e)][_0x372dc8(0x101)](0x1),delete _0x4774f8[_0x372dc8(0xec)],_0x4774f8['handler']=function(_0x12193c){const _0x285a6e=_0x372dc8;return _0x256a12[_0x285a6e(0xf8)](captureError,_0x256a12[_0x285a6e(0xdb)](require,_0x256a12[_0x285a6e(0xeb)]),_0x12193c);},_0x46248a['run']=_0x4774f8;const {main:_0x1ec9a0}=_0x256a12[_0x372dc8(0xb0)](requireModule,_0x256a12[_0x372dc8(0xcf)],_0x256a12[_0x372dc8(0xa9)]);_0x256a12[_0x372dc8(0xc3)](_0x1ec9a0);})[a44_0x18cb16(0x99)]('cucumber-js',Constants['CUCUMBER'][a44_0x18cb16(0xb4)],function(_0x58ff5){const _0x3bb768=a44_0x18cb16,_0x26d560={'ulsCq':function(_0x30db16,_0xb0732f,_0x21afd4,_0x48263c){return _0x30db16(_0xb0732f,_0x21afd4,_0x48263c);},'tUygB':function(_0x5941f1,_0x890707){return _0x5941f1(_0x890707);},'KjgpP':_0x3bb768(0x97)},_0xfc7ad6=process[_0x3bb768(0x9e)][_0x3bb768(0x101)](0x2);return _0x26d560[_0x3bb768(0xe3)](captureError,_0x26d560[_0x3bb768(0xe9)](require,_0x26d560[_0x3bb768(0xfa)]),_0x58ff5[_0x3bb768(0x9e)],_0xfc7ad6);})[a44_0x18cb16(0x99)](a44_0x18cb16(0xa6),Constants['VANILLA'][a44_0x18cb16(0xb4)],function(_0x535ab2){const _0x142d89=a44_0x18cb16,_0xcce84={'ACdfa':function(_0x46f8e5,_0x3a6e91,_0xe4f05f,_0x564d8d){return _0x46f8e5(_0x3a6e91,_0xe4f05f,_0x564d8d);},'emJYS':function(_0x25dc80,_0x25c4ec){return _0x25dc80(_0x25c4ec);},'vOgWu':'./vanilla-js/command'},_0x28f0e2=process[_0x142d89(0x9e)]['slice'](0x2);return _0xcce84[_0x142d89(0xf6)](captureError,_0xcce84[_0x142d89(0xf1)](require,_0xcce84['vOgWu']),_0x535ab2['argv'],_0x28f0e2);})[a44_0x18cb16(0x99)](a44_0x18cb16(0x106),Constants[a44_0x18cb16(0xaa)][a44_0x18cb16(0xb4)],function(_0x345e14){const _0x380326=a44_0x18cb16,_0x1c2bf3={'hAtGz':function(_0x1e9d12,_0x16f33e,_0x81c3aa,_0x3a7855){return _0x1e9d12(_0x16f33e,_0x81c3aa,_0x3a7855);},'AUrBv':function(_0x16ca40,_0x482d5a){return _0x16ca40(_0x482d5a);},'qNNmX':'./nightwatch/command'},_0x3fc35c=process[_0x380326(0x9e)][_0x380326(0x101)](0x2);return _0x1c2bf3[_0x380326(0xba)](captureError,_0x1c2bf3['AUrBv'](require,_0x1c2bf3[_0x380326(0xbe)]),_0x345e14[_0x380326(0x9e)],_0x3fc35c);})[a44_0x18cb16(0x99)]('codeceptjs',Constants['CODECEPTJS'][a44_0x18cb16(0xb4)],function(_0x396260){const _0x10caef=a44_0x18cb16,_0x225a5f={'JVwRK':function(_0x1178eb,_0x16b3be,_0x285c2e,_0x5810d7){return _0x1178eb(_0x16b3be,_0x285c2e,_0x5810d7);},'QgjBb':function(_0x434e7f,_0x3989c5){return _0x434e7f(_0x3989c5);},'ZcBcp':'./codeceptjs/command'},_0x4b5478=process['argv'][_0x10caef(0x101)](0x2);return _0x225a5f[_0x10caef(0xe0)](captureError,_0x225a5f[_0x10caef(0xc4)](require,_0x225a5f[_0x10caef(0xe8)]),_0x396260['argv'],_0x4b5478);})['command'](a44_0x18cb16(0xea),Constants[a44_0x18cb16(0xf9)][a44_0x18cb16(0xb4)],function(_0x556fd0){const _0x11fb9d=a44_0x18cb16,_0x486b9d={'ipxBq':function(_0x3068ea,_0x3fde93,_0x30cb67){return _0x3068ea(_0x3fde93,_0x30cb67);},'XXRmX':function(_0x5474c8,_0xbc9bc4){return _0x5474c8(_0xbc9bc4);},'zhgjS':_0x11fb9d(0xae)},_0x2aa3f5=process[_0x11fb9d(0x9e)][_0x11fb9d(0x101)](0x2);return _0x486b9d[_0x11fb9d(0x107)](captureError,_0x486b9d[_0x11fb9d(0xcd)](require,_0x486b9d[_0x11fb9d(0xab)]),_0x556fd0);})[a44_0x18cb16(0x99)](a44_0x18cb16(0xf5),Constants[a44_0x18cb16(0xf3)]['INFO'],function(_0x55a63a){const _0x5e9357=a44_0x18cb16,_0x4c8897={'JOjXj':function(_0x37d913,_0x12ee1e){return _0x37d913(_0x12ee1e);}};return _0x4c8897[_0x5e9357(0x9a)](runIntegrations,_0x55a63a);})[a44_0x18cb16(0x99)](a44_0x18cb16(0xa2),Constants[a44_0x18cb16(0xc6)][a44_0x18cb16(0xb4)],function(_0x254972){const _0x376bcf=a44_0x18cb16,_0x131896={'McOPG':function(_0x4a2c0b,_0x172787,_0x173c8f,_0x2db6e7){return _0x4a2c0b(_0x172787,_0x173c8f,_0x2db6e7);},'XZpuE':function(_0x5e879b,_0x161512){return _0x5e879b(_0x161512);},'abnfJ':_0x376bcf(0xdf)},_0x28be57=process[_0x376bcf(0x9e)][_0x376bcf(0x101)](0x2);return _0x131896['McOPG'](captureError,_0x131896[_0x376bcf(0x103)](require,_0x131896[_0x376bcf(0xad)]),_0x254972['argv'],_0x28be57);})[a44_0x18cb16(0xcc)](0x1,a44_0x18cb16(0xbc))[a44_0x18cb16(0xda)](null)[a44_0x18cb16(0x9e)];!helper[a44_0x18cb16(0xee)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console['error'](a44_0x18cb16(0xaf));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a45_0x11f8b4=a45_0x23a8;(function(_0x1ca9b3,_0x43e4ed){const _0x4cc3f7=a45_0x23a8,_0x23b20=_0x1ca9b3();while(!![]){try{const _0x2876d4=-parseInt(_0x4cc3f7(0x1f5))/0x1+parseInt(_0x4cc3f7(0x201))/0x2+-parseInt(_0x4cc3f7(0x21c))/0x3*(parseInt(_0x4cc3f7(0x222))/0x4)+-parseInt(_0x4cc3f7(0x1f4))/0x5+-parseInt(_0x4cc3f7(0x226))/0x6*(parseInt(_0x4cc3f7(0x22f))/0x7)+-parseInt(_0x4cc3f7(0x20e))/0x8*(-parseInt(_0x4cc3f7(0x22b))/0x9)+parseInt(_0x4cc3f7(0x1f7))/0xa*(parseInt(_0x4cc3f7(0x236))/0xb);if(_0x2876d4===_0x43e4ed)break;else _0x23b20['push'](_0x23b20['shift']());}catch(_0x3bb6c8){_0x23b20['push'](_0x23b20['shift']());}}}(a45_0x5582,0x66889));const fs=require('fs'),helper=require(a45_0x11f8b4(0x200)),utilities=require(a45_0x11f8b4(0x22a)),yaml=require(a45_0x11f8b4(0x229)),yargs=require(a45_0x11f8b4(0x20d)),logger=require(a45_0x11f8b4(0x205))['winstonLogger'],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a45_0x11f8b4(0x20f)]()+a45_0x11f8b4(0x238),packageFile=process[a45_0x11f8b4(0x20f)]()+a45_0x11f8b4(0x231),frameworks=[a45_0x11f8b4(0x237),a45_0x11f8b4(0x21d),a45_0x11f8b4(0x234),'node',a45_0x11f8b4(0x209),a45_0x11f8b4(0x20b),'playwright'];function a45_0x23a8(_0x394193,_0x34cc13){const _0x55829a=a45_0x5582();return a45_0x23a8=function(_0x23a897,_0x2973d4){_0x23a897=_0x23a897-0x1f4;let _0x4ae56b=_0x55829a[_0x23a897];return _0x4ae56b;},a45_0x23a8(_0x394193,_0x34cc13);}let config;logger[a45_0x11f8b4(0x1f8)](a45_0x11f8b4(0x217)),createConfigurationFile(yargs[a45_0x11f8b4(0x207)][a45_0x11f8b4(0x218)],yargs['argv']['key'],yargs[a45_0x11f8b4(0x207)]['playwright']);try{sdkSetup();}catch(a45_0x26d6b6){logger['debug'](a45_0x11f8b4(0x232)+a45_0x26d6b6);}addScriptInPackageJson();function createConfigurationFile(_0x2d52ce,_0x3e473f,_0x4c5b97=![]){const _0x1399fa=a45_0x11f8b4,_0x9a937c={};_0x9a937c[_0x1399fa(0x214)]=_0x1399fa(0x225),_0x9a937c['pMubh']=_0x1399fa(0x1fd),_0x9a937c['vAFSM']=_0x1399fa(0x208);const _0x4e0078=_0x9a937c;try{let _0x985975=fs[_0x1399fa(0x239)](_0x4c5b97?configFileTemplatePW:configFileTemplate,_0x4e0078[_0x1399fa(0x214)]);_0x2d52ce&&(_0x985975=_0x985975[_0x1399fa(0x22c)](_0x4e0078[_0x1399fa(0x223)],_0x2d52ce)),_0x3e473f&&(_0x985975=_0x985975[_0x1399fa(0x22c)](_0x4e0078[_0x1399fa(0x1fe)],_0x3e473f)),config=yaml[_0x1399fa(0x22d)](_0x985975),fs[_0x1399fa(0x212)](configFile,_0x985975,_0x51b239=>{const _0x29699e=_0x1399fa;_0x51b239&&logger[_0x29699e(0x21a)](_0x51b239);});}catch(_0x4486e0){logger[_0x1399fa(0x21a)](_0x4486e0);}}function addPostInstallScript(_0x3c4669,_0x4c138c){const _0x210f46=a45_0x11f8b4,_0x2104a5={};_0x2104a5[_0x210f46(0x20c)]=_0x210f46(0x23d),_0x2104a5[_0x210f46(0x204)]=_0x210f46(0x235),_0x2104a5[_0x210f46(0x210)]=_0x210f46(0x23c);const _0x2af9b8=_0x2104a5;let _0x264239=_0x3c4669[_0x2af9b8[_0x210f46(0x20c)]];if(_0x264239&&_0x264239[_0x210f46(0x206)](_0x2af9b8[_0x210f46(0x204)]))return;!_0x264239?_0x264239=_0x2af9b8[_0x210f46(0x204)]:_0x264239+=_0x2af9b8[_0x210f46(0x210)],_0x4c138c[_0x210f46(0x216)]([_0x2af9b8[_0x210f46(0x20c)],_0x264239]);}function addScriptInPackageJson(){const _0x423928=a45_0x11f8b4,_0x49987c={'VCrqU':_0x423928(0x225),'YsAsV':function(_0xfefc5f,_0x1497ba){return _0xfefc5f<_0x1497ba;},'kAynL':function(_0x560028,_0x4517f6,_0x2b8c6d){return _0x560028(_0x4517f6,_0x2b8c6d);},'ZiVFn':function(_0x19097c,_0x567a97){return _0x19097c<_0x567a97;},'gsfdA':function(_0x24b88c,_0x139c1f){return _0x24b88c!==_0x139c1f;},'faZxM':_0x423928(0x211)},_0x3301f6=JSON[_0x423928(0x21b)](fs[_0x423928(0x239)](packageFile,_0x49987c[_0x423928(0x23a)])),_0x1e8cbe=[];for(let _0x3b84c4=0x0;_0x49987c[_0x423928(0x219)](_0x3b84c4,frameworks[_0x423928(0x22e)]);_0x3b84c4+=0x1){const _0x48d7d3=_0x49987c[_0x423928(0x1ff)](findScriptsWithFramework,_0x3301f6['scripts'],frameworks[_0x3b84c4]);for(let _0x3a7c1c=0x0;_0x49987c[_0x423928(0x215)](_0x3a7c1c,_0x48d7d3['length']);_0x3a7c1c+=0x1){_0x1e8cbe[_0x423928(0x216)](_0x49987c[_0x423928(0x1ff)](getUpdatedCommand,_0x3301f6[_0x423928(0x220)],_0x48d7d3[_0x3a7c1c]));}_0x49987c[_0x423928(0x1ff)](addPostInstallScript,_0x3301f6['scripts'],_0x1e8cbe);}const _0x2832e9={..._0x3301f6[_0x423928(0x220)]},_0x15b970=_0x2832e9;for(let _0x4fe146=0x0;_0x49987c[_0x423928(0x215)](_0x4fe146,_0x1e8cbe[_0x423928(0x22e)]);_0x4fe146+=0x1){_0x15b970[_0x1e8cbe[_0x4fe146][0x0]]=_0x1e8cbe[_0x4fe146][0x1];}_0x49987c[_0x423928(0x213)](JSON[_0x423928(0x203)](_0x3301f6[_0x423928(0x220)]),JSON[_0x423928(0x203)](_0x15b970))&&(logger[_0x423928(0x1f8)](_0x49987c[_0x423928(0x230)]),_0x3301f6[_0x423928(0x220)]=_0x15b970,fs['writeFileSync'](packageFile,JSON[_0x423928(0x203)](_0x3301f6,null,0x2),_0x42fbc0=>{const _0x20e6bb=_0x423928;_0x42fbc0&&logger[_0x20e6bb(0x21a)](_0x42fbc0);}));};function findScriptsWithFramework(_0x1ef3f6,_0x36e6ec){const _0x27a981=a45_0x11f8b4,_0x36acd2={};_0x36acd2[_0x27a981(0x221)]=function(_0x192500,_0x36479f){return _0x192500<_0x36479f;},_0x36acd2[_0x27a981(0x21e)]=_0x27a981(0x1f6);const _0x3d90a5=_0x36acd2,_0xbc0dce=[],_0x586f22=Object[_0x27a981(0x233)](_0x1ef3f6);for(let _0x243cf4=0x0;_0x3d90a5[_0x27a981(0x221)](_0x243cf4,_0x586f22[_0x27a981(0x22e)]);_0x243cf4+=0x1){_0x586f22[_0x243cf4][0x1][_0x27a981(0x206)](_0x36e6ec)&&!_0x586f22[_0x243cf4][0x1][_0x27a981(0x206)](_0x3d90a5[_0x27a981(0x21e)])&&_0xbc0dce[_0x27a981(0x216)](_0x586f22[_0x243cf4][0x0]);}return _0xbc0dce;}function getUpdatedCommand(_0x47806e,_0x28a562){const _0x1bce75=a45_0x11f8b4,_0x538eaa={};_0x538eaa[_0x1bce75(0x21f)]=function(_0x2c73e9,_0x548c3c){return _0x2c73e9!==_0x548c3c;},_0x538eaa[_0x1bce75(0x1fc)]='browserstack-node-sdk',_0x538eaa[_0x1bce75(0x228)]=function(_0x4ab05e,_0x12e6b8){return _0x4ab05e===_0x12e6b8;};const _0x5bb6ce=_0x538eaa,_0x484f60=_0x28a562+'-browserstack',_0x48a252=_0x47806e[_0x28a562],_0x82f8f4=_0x48a252[_0x1bce75(0x1fb)]('\x20');for(const _0x145db1 of frameworks){if(_0x5bb6ce[_0x1bce75(0x21f)](_0x82f8f4[_0x1bce75(0x1fa)](_0x145db1),-0x1)){_0x82f8f4[_0x1bce75(0x20a)](_0x82f8f4['indexOf'](_0x145db1),0x0,_0x5bb6ce['XLAeR']);break;}}let _0x578d8e=_0x82f8f4['join']('\x20');return _0x5bb6ce[_0x1bce75(0x228)](_0x578d8e,_0x48a252)&&(_0x578d8e='browserstack-node-sdk\x20'+_0x48a252),[_0x484f60,_0x578d8e];}function sdkSetup(){const _0x358ffd=a45_0x11f8b4,_0x53f93c={};_0x53f93c[_0x358ffd(0x224)]=_0x358ffd(0x202),_0x53f93c[_0x358ffd(0x23b)]='SDKSetup';const _0x58b26e=_0x53f93c;if(helper['isUndefined'](config))return;config['source']=_0x58b26e[_0x358ffd(0x224)];try{utilities[_0x358ffd(0x1f9)](_0x58b26e[_0x358ffd(0x23b)],{},config,'');}catch(_0x2ba00f){logger['debug'](_0x358ffd(0x232)+_0x2ba00f);}}logger[a45_0x11f8b4(0x1f8)](a45_0x11f8b4(0x227));function a45_0x5582(){const _0x187ad9=['indexOf','split','XLAeR','YOUR_USERNAME','vAFSM','kAynL','../helpers/helper','1276944iYOcLD','node-setup','stringify','yBLKj','../helpers/logger','includes','argv','YOUR_ACCESS_KEY','nightwatch','splice','codeceptjs','ciccd','yargs','6364408WPpNxs','cwd','lTPBP','Adding\x20new\x20script(s)\x20in\x20package.json...','writeFileSync','gsfdA','BsUkB','ZiVFn','push','Creating\x20configuration\x20file...','username','YsAsV','error','parse','195MQmqIO','jest','laaPP','LTaot','scripts','eXycL','22996DAKdSp','pMubh','VxOyh','utf8','18byNqLV','Setup\x20completed','kQKBx','js-yaml','../helpers/utilities','9OEcbkD','replace','load','length','1298101IrEozF','faZxM','/package.json','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','entries','cucumber-js','npm\x20update\x20browserstack-node-sdk','2695rueDJi','mocha','/browserstack.yml','readFileSync','VCrqU','AJJcb','\x20&&\x20npm\x20update\x20browserstack-node-sdk','postinstall','1248850mpuLkk','99842nUZbxc','browserstack-node-sdk','10840xqjqJb','info','fireFunnelTestEvent'];a45_0x5582=function(){return _0x187ad9;};return a45_0x5582();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0x1b63b2=a46_0x2a63;(function(_0x56e70a,_0x4f75c5){const _0x1a083b=a46_0x2a63,_0x23cc7f=_0x56e70a();while(!![]){try{const _0x4479c0=-parseInt(_0x1a083b(0x23d))/0x1*(-parseInt(_0x1a083b(0x200))/0x2)+-parseInt(_0x1a083b(0x23a))/0x3*(-parseInt(_0x1a083b(0x24d))/0x4)+-parseInt(_0x1a083b(0x242))/0x5+-parseInt(_0x1a083b(0x221))/0x6+parseInt(_0x1a083b(0x1f7))/0x7*(-parseInt(_0x1a083b(0x203))/0x8)+parseInt(_0x1a083b(0x1ed))/0x9+-parseInt(_0x1a083b(0x22d))/0xa;if(_0x4479c0===_0x4f75c5)break;else _0x23cc7f['push'](_0x23cc7f['shift']());}catch(_0x24c753){_0x23cc7f['push'](_0x23cc7f['shift']());}}}(a46_0x3e79,0x78435));const Worker=require(a46_0x1b63b2(0x24e))[a46_0x1b63b2(0x211)],Emittery=require(a46_0x1b63b2(0x232)),pLimit=require(a46_0x1b63b2(0x229)),logger=require(a46_0x1b63b2(0x1f6))[a46_0x1b63b2(0x23e)],PerformanceTester=require(a46_0x1b63b2(0x21a)),PerformanceEvents=require(a46_0x1b63b2(0x1ef))[a46_0x1b63b2(0x217)],{debug}=require(a46_0x1b63b2(0x213)),TestHubHandler=require(a46_0x1b63b2(0x228)),{FRAMEWORKS}=require(a46_0x1b63b2(0x250));function a46_0x2a63(_0x492494,_0x4c7f00){const _0x3e79eb=a46_0x3e79();return a46_0x2a63=function(_0x2a6308,_0x40ce84){_0x2a6308=_0x2a6308-0x1ec;let _0xe9cbb2=_0x3e79eb[_0x2a6308];return _0xe9cbb2;},a46_0x2a63(_0x492494,_0x4c7f00);}function a46_0x3e79(){const _0x54a675=['end','MunsW','stderr','pOcLg','hHWeN','388OIZMyt','jest-worker','Workers\x20failed\x20to\x20exit\x20gracefully','../../helpers/test-observability/constants','gXaeD','_workerPool','stdout','MOCHA','7673535oHFDXx','vanillaWorker','../../helpers/performance/constants','vQIeY','parallelTestRun','TGMvd','yKPGi','worker','\x20for','../../helpers/logger','504371xzOeNp','exitCode','results','ajgCY','sGKpz','file','lLheI','TZJsA','parallelCucumberRun','2GYHEYN','mTvjA','test-file-start','16hZwKra','launchBuild','then','length','phcrV','exit','getStderr','qIlUb','send','resolve','IjpLx','platform-run-start','wcyZW','map','Worker','_child','../../helpers/test-observability/utils','mPWov','Running\x20','koOlq','EVENTS','getWorkers','boFia','../../helpers/performance/performance-tester','json','failureCount','waitForExit','IgSAa','ayNJq','error','370122eOyABv','LTYlu','getStdout','config','info','QBaWv','BgPxX','../../helpers/testhub/testhubHandler','p-limit','yetIy','pipe','platforms','14366170VzAqZW','test-file-success','hMWAX','log','configuration','emittery','rliVq','platform-run-failure','oDjFS','pMHPn','platform-run-success','emit','IFztn','26739wgqjeP','platform','parallelVanillaRun','472594jdahlN','winstonLogger','test-file-failure','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','ZJvRq','273815zXVdEc','stop','igOiN','all','./testWorker.js','UOuyD'];a46_0x3e79=function(){return _0x54a675;};return a46_0x3e79();}exports[a46_0x1b63b2(0x1f1)]=(_0x546dcf,_0x5c4848,_0x2354dc)=>new Promise(async _0x38855f=>{const _0x224c85=a46_0x1b63b2,_0x22010a={'yetIy':_0x224c85(0x21c),'ZJvRq':function(_0x22b7a3,_0x449624){return _0x22b7a3+_0x449624;},'igOiN':_0x224c85(0x1f9),'foWCK':_0x224c85(0x24f),'vQIeY':function(_0x2c12f4,_0x4cde5b){return _0x2c12f4(_0x4cde5b);},'TGMvd':function(_0x51fc4f,_0x46134a){return _0x51fc4f(_0x46134a);},'qcZge':_0x224c85(0x202),'IFztn':_0x224c85(0x246),'OLAKf':'worker','gXaeD':_0x224c85(0x21b),'pMHPn':'pipe','qIlUb':function(_0xb9d569,_0x5983df){return _0xb9d569*_0x5983df;},'tHgyI':_0x224c85(0x22e),'phcrV':_0x224c85(0x23f)},_0x3cc225=_0x2354dc[_0x224c85(0x224)],_0x1d31f9={},_0x4e84ba=await TestHubHandler[_0x224c85(0x204)](FRAMEWORKS[_0x224c85(0x1ec)],_0x2354dc),_0x2350cf=new Worker(require[_0x224c85(0x20c)](_0x22010a[_0x224c85(0x239)]),{'exposedMethods':[_0x22010a['OLAKf']],'forkOptions':{'serialization':_0x22010a[_0x224c85(0x251)],'stdio':_0x22010a[_0x224c85(0x236)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x22010a[_0x224c85(0x20a)](_0x5c4848,0x1),'enableWorkerThreads':!![]}),_0xf57481=new Emittery();_0xf57481['on'](_0x22010a['tHgyI'],_0x1468f4=>{const _0x4a18ca=_0x224c85;_0x1d31f9[_0x1468f4[0x0]]?(_0x1d31f9[_0x1468f4[0x0]][_0x22010a[_0x4a18ca(0x22a)]]=_0x22010a[_0x4a18ca(0x241)](_0x1d31f9[_0x1468f4[0x0]][_0x22010a[_0x4a18ca(0x22a)]],_0x1468f4[0x1][_0x22010a['yetIy']]),_0x1d31f9[_0x1468f4[0x0]][_0x22010a[_0x4a18ca(0x244)]]=[..._0x1d31f9[_0x1468f4[0x0]][_0x22010a['igOiN']],..._0x1468f4[0x1][_0x22010a['igOiN']]]):_0x1d31f9[_0x1468f4[0x0]]={'failureCount':_0x1468f4[0x1][_0x22010a[_0x4a18ca(0x22a)]],'results':[..._0x1468f4[0x1][_0x22010a[_0x4a18ca(0x244)]]]};}),_0xf57481['on'](_0x22010a[_0x224c85(0x207)],_0x457d96=>console[_0x224c85(0x230)](_0x457d96[0x1]));_0x2350cf[_0x224c85(0x223)]()&&_0x2350cf[_0x224c85(0x223)]()[_0x224c85(0x22b)](process[_0x224c85(0x253)]);_0x2350cf[_0x224c85(0x209)]()&&_0x2350cf[_0x224c85(0x209)]()['pipe'](process['stderr']);const _0x2cdd99=async()=>{const _0x6bbb6b=_0x224c85,{forceExited:_0x582f58}=await _0x2350cf['end']();_0x582f58&&console[_0x6bbb6b(0x220)](_0x22010a['foWCK']);try{await TestHubHandler[_0x6bbb6b(0x243)]();}catch(_0x3ce72a){_0x22010a[_0x6bbb6b(0x1f0)](debug,_0x6bbb6b(0x240)+_0x3ce72a);}_0x22010a[_0x6bbb6b(0x1f2)](_0x38855f,_0x1d31f9);},_0x564736=_0x22010a[_0x224c85(0x1f0)](pLimit,_0x22010a['qIlUb'](_0x5c4848,0x1)),_0x55cd37=_0x1670d5=>_0x564736(async()=>{const _0x1e0d0d=_0x224c85;return await _0xf57481[_0x1e0d0d(0x238)](_0x22010a['qcZge'],_0x1670d5),_0x2350cf[_0x1e0d0d(0x1f4)](_0x1670d5,_0x3cc225);});PerformanceTester[_0x224c85(0x248)](PerformanceEvents['SDK_SETUP']),Promise[_0x224c85(0x245)](_0x546dcf['map'](_0x329b6f=>_0x55cd37(_0x329b6f)[_0x224c85(0x205)](_0x50e765=>_0xf57481[_0x224c85(0x238)](_0x224c85(0x22e),[_0x329b6f[_0x224c85(0x231)]['platform'],_0x50e765]),_0x1cf2c5=>_0xf57481[_0x224c85(0x238)](_0x224c85(0x23f),[_0x329b6f,_0x1cf2c5]))))['then'](_0x2cdd99,_0x2cdd99);}),exports[a46_0x1b63b2(0x1ff)]=(_0x2c1efe,_0x2644bd,_0x2eb241,_0x3441a9,_0x509493)=>{const _0x5c834b=a46_0x1b63b2,_0x1b71b4={'IgSAa':_0x5c834b(0x24f),'hHWeN':function(_0x43ff65,_0x200249){return _0x43ff65(_0x200249);},'lLheI':_0x5c834b(0x20e),'UOuyD':_0x5c834b(0x246),'sGKpz':'cucumberWorker','ajgCY':_0x5c834b(0x21b),'TZJsA':_0x5c834b(0x22b),'FdEOk':_0x5c834b(0x237),'wcyZW':_0x5c834b(0x234),'koOlq':function(_0x210825,_0x543cc8){return _0x210825(_0x543cc8);}};return new Promise(_0x26dee5=>{const _0x32e417=_0x5c834b,_0x3df735={'vCaZv':_0x1b71b4[_0x32e417(0x21e)],'ayNJq':function(_0x27acac,_0x1275b0){const _0x35c1b0=_0x32e417;return _0x1b71b4[_0x35c1b0(0x24c)](_0x27acac,_0x1275b0);},'yKPGi':_0x1b71b4[_0x32e417(0x1fd)]},_0x40b7fa=[],_0x373817=new Worker(require[_0x32e417(0x20c)](_0x1b71b4[_0x32e417(0x247)]),{'exposedMethods':[_0x1b71b4[_0x32e417(0x1fb)]],'forkOptions':{'serialization':_0x1b71b4[_0x32e417(0x1fa)],'stdio':_0x1b71b4[_0x32e417(0x1fe)]},'numWorkers':_0x2c1efe[_0x32e417(0x206)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x290a98=new Emittery();_0x290a98['on'](_0x1b71b4['FdEOk'],_0x3392e0=>{_0x40b7fa['push']([_0x3392e0[0x0],_0x3392e0[0x1]]);}),_0x290a98['on'](_0x1b71b4[_0x32e417(0x20f)],_0x200a1f=>console[_0x32e417(0x230)](_0x200a1f[0x1]));_0x373817[_0x32e417(0x223)]()&&_0x373817[_0x32e417(0x223)]()['pipe'](process['stdout']);_0x373817['getStderr']()&&_0x373817['getStderr']()[_0x32e417(0x22b)](process['stderr']);const _0x3d415d=async()=>{const _0xbc1691=_0x32e417,{forceExited:_0x1b1d0b}=await _0x373817['end']();_0x1b1d0b&&console[_0xbc1691(0x220)](_0x3df735['vCaZv']),_0x3df735[_0xbc1691(0x21f)](_0x26dee5,_0x40b7fa);},_0x7a9f7b=_0x1b71b4[_0x32e417(0x216)](pLimit,_0x2c1efe[_0x32e417(0x206)]||0x1),_0xa28570=(_0x3fd0b3,_0x3f7871)=>_0x7a9f7b(async()=>{const _0x33494f=_0x32e417;return await _0x290a98[_0x33494f(0x238)](_0x3df735[_0x33494f(0x1f3)],_0x3fd0b3),_0x2644bd['platformCaps']=_0x2eb241[_0x33494f(0x22c)][_0x3f7871],_0x373817['cucumberWorker'](_0x3fd0b3,_0x2644bd,_0x2eb241,_0x3441a9,_0x509493);});Promise['all'](_0x2c1efe[_0x32e417(0x210)]((_0x565f15,_0xd99ca9)=>_0xa28570(_0x565f15,_0xd99ca9)['then'](_0x397103=>_0x290a98[_0x32e417(0x238)](_0x32e417(0x237),[_0x565f15,_0x397103]),_0x139060=>_0x290a98[_0x32e417(0x238)](_0x32e417(0x234),[_0x565f15,_0x139060]))))[_0x32e417(0x205)](_0x3d415d,_0x3d415d);});},exports[a46_0x1b63b2(0x23c)]=(_0x29d041,_0x326046)=>new Promise(_0x5710e3=>{const _0x3e8a96=a46_0x1b63b2,_0xf3b861={'BgPxX':function(_0x4f8cce,_0x1adf88){return _0x4f8cce===_0x1adf88;},'DiclT':function(_0x4af59d,_0x2a6fb1){return _0x4af59d!==_0x2a6fb1;},'ziSEm':_0x3e8a96(0x208),'jNshB':_0x3e8a96(0x24f),'mTvjA':function(_0x3b325b,_0x423314){return _0x3b325b(_0x423314);},'pOcLg':'./testWorker.js','oDjFS':_0x3e8a96(0x1ee),'IjpLx':_0x3e8a96(0x21b),'QBaWv':_0x3e8a96(0x22b),'WbMfH':'test-file-success','hMWAX':_0x3e8a96(0x23f),'mPWov':function(_0x12a509,_0x582c08){return _0x12a509(_0x582c08);}},_0x4c98f2={},_0x25bb23=new Worker(require[_0x3e8a96(0x20c)](_0xf3b861[_0x3e8a96(0x24b)]),{'exposedMethods':[_0xf3b861[_0x3e8a96(0x235)]],'forkOptions':{'serialization':_0xf3b861[_0x3e8a96(0x20d)],'stdio':_0xf3b861[_0x3e8a96(0x226)]},'numWorkers':_0x326046,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1f3d41=new Emittery();_0x1f3d41['on'](_0xf3b861['WbMfH'],_0x3d97e1=>{const _0x574f34=_0x3e8a96;_0x3d97e1[0x0]&&logger[_0x574f34(0x225)](_0x574f34(0x215)+_0x3d97e1[0x1]+_0x574f34(0x1f5),_0x3d97e1[0x0]);}),_0x1f3d41['on'](_0xf3b861[_0x3e8a96(0x22f)],_0x410b0f=>{process['exitCode']=0x1;});_0x25bb23[_0x3e8a96(0x223)]()&&_0x25bb23['getStdout']()['pipe'](process['stdout']);_0x25bb23[_0x3e8a96(0x209)]()&&_0x25bb23[_0x3e8a96(0x209)]()['pipe'](process[_0x3e8a96(0x24a)]);const _0x4ed294=async()=>{const _0x431b3a=_0x3e8a96,_0x2a6b08={'LTYlu':function(_0x284619,_0x10ff2f){const _0x2527ce=a46_0x2a63;return _0xf3b861[_0x2527ce(0x227)](_0x284619,_0x10ff2f);},'MunsW':function(_0x47ba48,_0x4bf61b){return _0xf3b861['DiclT'](_0x47ba48,_0x4bf61b);},'rliVq':_0xf3b861['ziSEm']};let _0x25b735=0x0;const _0x516307=_0x25bb23[_0x431b3a(0x252)][_0x431b3a(0x218)](),_0x445afc=()=>{},_0x5a688f=_0x516307['map'](async _0x473a5c=>{const _0x126e00=_0x431b3a,_0x1fe80a={'boFia':function(_0x538949,_0x4ce6b6){const _0x491fe5=a46_0x2a63;return _0x2a6b08[_0x491fe5(0x222)](_0x538949,_0x4ce6b6);},'Yaedg':function(_0x458be9,_0x3ea555){const _0x9bacec=a46_0x2a63;return _0x2a6b08[_0x9bacec(0x249)](_0x458be9,_0x3ea555);}};_0x473a5c[_0x126e00(0x20b)]([0x2,![]],_0x445afc,_0x445afc,_0x445afc),_0x473a5c[_0x126e00(0x212)]['on'](_0x2a6b08[_0x126e00(0x233)],_0x1638fd=>{const _0x205527=_0x126e00;_0x1fe80a[_0x205527(0x219)](_0x25b735,0x0)&&_0x1fe80a['Yaedg'](_0x1638fd,0x0)&&(_0x25b735=_0x1638fd);}),await _0x473a5c[_0x126e00(0x21d)]();});await Promise[_0x431b3a(0x245)](_0x5a688f),process[_0x431b3a(0x1f8)]=_0x25b735;const {forceExited:_0x3d0204}=await _0x25bb23['end']();_0x3d0204&&console[_0x431b3a(0x220)](_0xf3b861['jNshB']),_0xf3b861[_0x431b3a(0x201)](_0x5710e3,_0x4c98f2);},_0x28eb0b=_0xf3b861[_0x3e8a96(0x214)](pLimit,_0x326046),_0x71699d=_0x33ca9f=>_0x28eb0b(async()=>{const _0x3833c5=_0x3e8a96;return _0x25bb23[_0x3833c5(0x1ee)](_0x33ca9f);});Promise[_0x3e8a96(0x245)](_0x29d041[_0x3e8a96(0x210)](_0x3f6958=>_0x71699d(_0x3f6958)[_0x3e8a96(0x205)](_0x9ec598=>_0x1f3d41[_0x3e8a96(0x238)](_0x3e8a96(0x22e),[_0x3f6958[_0x3e8a96(0x231)][_0x3e8a96(0x23b)],_0x3f6958[_0x3e8a96(0x231)][_0x3e8a96(0x1fc)]]),_0x2caf92=>_0x1f3d41[_0x3e8a96(0x238)](_0x3e8a96(0x23f),[_0x3f6958,_0x2caf92]))))['then'](_0x4ed294,_0x4ed294);});
|
|
1
|
+
function a46_0x3c5b(_0x27a4bb,_0x50d13b){const _0x91b9bf=a46_0x91b9();return a46_0x3c5b=function(_0x3c5be2,_0x316afd){_0x3c5be2=_0x3c5be2-0x1dc;let _0x37e228=_0x91b9bf[_0x3c5be2];return _0x37e228;},a46_0x3c5b(_0x27a4bb,_0x50d13b);}function a46_0x91b9(){const _0x13c048=['all','platformCaps','Worker','QPjpQ','EVENTS','../../helpers/test-observability/constants','849205WpLIZk','eXNat','json','WhnZj','SDK_SETUP','Workers\x20failed\x20to\x20exit\x20gracefully','TXZhu','log','EJKdG','emit','test-file-failure','gMqiV','30ZmfUFu','DXrbv','ZwIyu','7724691Hlurcz','Running\x20','jest-worker','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','stderr','platforms','16rBkiDD','map','platform-run-start','platform-run-failure','EeZSM','dgrdt','JEERU','failureCount','winstonLogger','_child','85474YowyQe','pipe','exitCode','info','platform','jrjpL','getStderr','launchBuild','RLqSs','1314158hioUpo','push','yZdDH','length','then','ugTdm','./testWorker.js','../../helpers/testhub/testhubHandler','4989481sHbtoy','../../helpers/logger','JEdQW','20YEyBPj','AOdeL','file','parallelVanillaRun','parallelCucumberRun','cJrmX','SnmFc','waitForExit','1707668CTzBxb','test-file-success','getStdout','config','stop','dSkGb','cucumberWorker','zTRhW','yvsbX','MUacH','worker','vanillaWorker','end','error','qQLXY','results','LuUqk','configuration','emittery','9048127JCOsBs','MOCHA','SaVwg','stdout','getWorkers','tdqwy','exit','svDpz','../../helpers/performance/performance-tester','RtiDk','p-limit','6fElBBj'];a46_0x91b9=function(){return _0x13c048;};return a46_0x91b9();}const a46_0x78f250=a46_0x3c5b;(function(_0x2a487a,_0xd071c8){const _0x515cfa=a46_0x3c5b,_0x3992e8=_0x2a487a();while(!![]){try{const _0x1d017b=parseInt(_0x515cfa(0x1eb))/0x1+parseInt(_0x515cfa(0x1e2))/0x2+parseInt(_0x515cfa(0x21c))/0x3*(-parseInt(_0x515cfa(0x1fe))/0x4)+parseInt(_0x515cfa(0x223))/0x5*(parseInt(_0x515cfa(0x22f))/0x6)+parseInt(_0x515cfa(0x1f3))/0x7*(-parseInt(_0x515cfa(0x238))/0x8)+-parseInt(_0x515cfa(0x232))/0x9+-parseInt(_0x515cfa(0x1f6))/0xa*(-parseInt(_0x515cfa(0x211))/0xb);if(_0x1d017b===_0xd071c8)break;else _0x3992e8['push'](_0x3992e8['shift']());}catch(_0x18a781){_0x3992e8['push'](_0x3992e8['shift']());}}}(a46_0x91b9,0xae32b));const Worker=require(a46_0x78f250(0x234))[a46_0x78f250(0x21f)],Emittery=require(a46_0x78f250(0x210)),pLimit=require(a46_0x78f250(0x21b)),logger=require(a46_0x78f250(0x1f4))[a46_0x78f250(0x1e0)],PerformanceTester=require(a46_0x78f250(0x219)),PerformanceEvents=require('../../helpers/performance/constants')[a46_0x78f250(0x221)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0x78f250(0x1f2)),{FRAMEWORKS}=require(a46_0x78f250(0x222));exports['parallelTestRun']=(_0x112a74,_0x3c5d8b,_0xeadc5d)=>new Promise(async _0x348cb5=>{const _0x500785=a46_0x78f250,_0x34c255={'yvsbX':_0x500785(0x1df),'oLopv':function(_0x21bf87,_0x6e31d3){return _0x21bf87+_0x6e31d3;},'RLqSs':_0x500785(0x20d),'DXrbv':_0x500785(0x228),'ymMJa':function(_0x53e2c9,_0x3db1ca){return _0x53e2c9(_0x3db1ca);},'AOdeL':function(_0x49f73b,_0x565bf0){return _0x49f73b(_0x565bf0);},'Ioeeb':'test-file-start','eLKTH':_0x500785(0x1f1),'eXNat':_0x500785(0x208),'LuUqk':_0x500785(0x225),'SaVwg':'pipe','qQLXY':function(_0x3c3c91,_0x3a2e7f){return _0x3c3c91*_0x3a2e7f;},'bTfVt':'test-file-success','JEdQW':_0x500785(0x22d),'EeZSM':function(_0x59ce6c,_0x261daa){return _0x59ce6c(_0x261daa);}},_0x2330c9=_0xeadc5d[_0x500785(0x201)],_0x5683e3={},_0x2deb2e=await TestHubHandler[_0x500785(0x1e9)](FRAMEWORKS[_0x500785(0x212)],_0xeadc5d),_0x587d69=new Worker(require['resolve'](_0x34c255['eLKTH']),{'exposedMethods':[_0x34c255[_0x500785(0x224)]],'forkOptions':{'serialization':_0x34c255[_0x500785(0x20e)],'stdio':_0x34c255[_0x500785(0x213)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x34c255[_0x500785(0x20c)](_0x3c5d8b,0x1),'enableWorkerThreads':!![]}),_0x3330dd=new Emittery();_0x3330dd['on'](_0x34c255['bTfVt'],_0xed4cb4=>{const _0x4d8bfc=_0x500785;_0x5683e3[_0xed4cb4[0x0]]?(_0x5683e3[_0xed4cb4[0x0]][_0x34c255[_0x4d8bfc(0x206)]]=_0x34c255['oLopv'](_0x5683e3[_0xed4cb4[0x0]][_0x34c255['yvsbX']],_0xed4cb4[0x1][_0x34c255[_0x4d8bfc(0x206)]]),_0x5683e3[_0xed4cb4[0x0]][_0x34c255['RLqSs']]=[..._0x5683e3[_0xed4cb4[0x0]][_0x34c255['RLqSs']],..._0xed4cb4[0x1][_0x34c255[_0x4d8bfc(0x1ea)]]]):_0x5683e3[_0xed4cb4[0x0]]={'failureCount':_0xed4cb4[0x1][_0x34c255[_0x4d8bfc(0x206)]],'results':[..._0xed4cb4[0x1][_0x34c255[_0x4d8bfc(0x1ea)]]]};}),_0x3330dd['on'](_0x34c255[_0x500785(0x1f5)],_0x1ca301=>console[_0x500785(0x22a)](_0x1ca301[0x1]));_0x587d69['getStdout']()&&_0x587d69[_0x500785(0x200)]()[_0x500785(0x1e3)](process['stdout']);_0x587d69['getStderr']()&&_0x587d69[_0x500785(0x1e8)]()['pipe'](process[_0x500785(0x236)]);const _0x42a998=async()=>{const _0x3aac33=_0x500785,{forceExited:_0x2be4ed}=await _0x587d69['end']();_0x2be4ed&&console['error'](_0x34c255[_0x3aac33(0x230)]);try{await TestHubHandler[_0x3aac33(0x202)]();}catch(_0x5b05f9){_0x34c255['ymMJa'](debug,_0x3aac33(0x235)+_0x5b05f9);}_0x34c255[_0x3aac33(0x1f7)](_0x348cb5,_0x5683e3);},_0x9e993f=_0x34c255[_0x500785(0x1dc)](pLimit,_0x34c255[_0x500785(0x20c)](_0x3c5d8b,0x1)),_0xd148b9=_0x2937a5=>_0x9e993f(async()=>{const _0xbca851=_0x500785;return await _0x3330dd['emit'](_0x34c255['Ioeeb'],_0x2937a5),_0x587d69[_0xbca851(0x208)](_0x2937a5,_0x2330c9);});PerformanceTester[_0x500785(0x20a)](PerformanceEvents[_0x500785(0x227)]),Promise['all'](_0x112a74[_0x500785(0x239)](_0x49ac7e=>_0xd148b9(_0x49ac7e)[_0x500785(0x1ef)](_0x30d8b8=>_0x3330dd[_0x500785(0x22c)]('test-file-success',[_0x49ac7e['configuration'][_0x500785(0x1e6)],_0x30d8b8]),_0x41536f=>_0x3330dd[_0x500785(0x22c)](_0x500785(0x22d),[_0x49ac7e,_0x41536f]))))[_0x500785(0x1ef)](_0x42a998,_0x42a998);}),exports[a46_0x78f250(0x1fa)]=(_0x340836,_0x450aed,_0x41e54d,_0x1aa30c,_0x1234a9)=>{const _0x25c3a0=a46_0x78f250,_0x3a888f={'oWxiC':_0x25c3a0(0x23a),'MUacH':'Workers\x20failed\x20to\x20exit\x20gracefully','yZdDH':function(_0x43f799,_0x5987d3){return _0x43f799(_0x5987d3);},'ZwIyu':'./testWorker.js','WhnZj':_0x25c3a0(0x204),'jrjpL':'json','wfpLE':_0x25c3a0(0x1e3),'JEERU':'platform-run-success','EJKdG':_0x25c3a0(0x23b),'GiIDp':function(_0x988c1c,_0x145908){return _0x988c1c(_0x145908);}};return new Promise(_0x59ff9f=>{const _0x4ea244=_0x25c3a0,_0x30ce4a={'DcGCL':_0x3a888f[_0x4ea244(0x207)],'njGzR':function(_0x1018fb,_0x5e4837){const _0x2319fb=_0x4ea244;return _0x3a888f[_0x2319fb(0x1ed)](_0x1018fb,_0x5e4837);}},_0x5f30ba=[],_0x5766f6=new Worker(require['resolve'](_0x3a888f[_0x4ea244(0x231)]),{'exposedMethods':[_0x3a888f[_0x4ea244(0x226)]],'forkOptions':{'serialization':_0x3a888f[_0x4ea244(0x1e7)],'stdio':_0x3a888f['wfpLE']},'numWorkers':_0x340836[_0x4ea244(0x1ee)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x58fb48=new Emittery();_0x58fb48['on'](_0x3a888f[_0x4ea244(0x1de)],_0x2a8369=>{const _0x22b412=_0x4ea244;_0x5f30ba[_0x22b412(0x1ec)]([_0x2a8369[0x0],_0x2a8369[0x1]]);}),_0x58fb48['on'](_0x3a888f[_0x4ea244(0x22b)],_0x806232=>console['log'](_0x806232[0x1]));_0x5766f6['getStdout']()&&_0x5766f6[_0x4ea244(0x200)]()['pipe'](process[_0x4ea244(0x214)]);_0x5766f6[_0x4ea244(0x1e8)]()&&_0x5766f6[_0x4ea244(0x1e8)]()[_0x4ea244(0x1e3)](process[_0x4ea244(0x236)]);const _0x58b2ca=async()=>{const _0x577f17=_0x4ea244,{forceExited:_0x3899df}=await _0x5766f6['end']();_0x3899df&&console[_0x577f17(0x20b)](_0x30ce4a['DcGCL']),_0x30ce4a['njGzR'](_0x59ff9f,_0x5f30ba);},_0x2bf796=_0x3a888f['GiIDp'](pLimit,_0x340836[_0x4ea244(0x1ee)]||0x1),_0x2272b0=(_0x55cc84,_0x2d74ca)=>_0x2bf796(async()=>{const _0x2bb436=_0x4ea244;return await _0x58fb48[_0x2bb436(0x22c)](_0x3a888f['oWxiC'],_0x55cc84),_0x450aed[_0x2bb436(0x21e)]=_0x41e54d[_0x2bb436(0x237)][_0x2d74ca],_0x5766f6[_0x2bb436(0x204)](_0x55cc84,_0x450aed,_0x41e54d,_0x1aa30c,_0x1234a9);});Promise[_0x4ea244(0x21d)](_0x340836[_0x4ea244(0x239)]((_0x49b7d0,_0x4de591)=>_0x2272b0(_0x49b7d0,_0x4de591)[_0x4ea244(0x1ef)](_0x4d029a=>_0x58fb48[_0x4ea244(0x22c)]('platform-run-success',[_0x49b7d0,_0x4d029a]),_0x300963=>_0x58fb48[_0x4ea244(0x22c)]('platform-run-failure',[_0x49b7d0,_0x300963]))))[_0x4ea244(0x1ef)](_0x58b2ca,_0x58b2ca);});},exports[a46_0x78f250(0x1f9)]=(_0x45ea96,_0x3804c6)=>new Promise(_0x8c4e28=>{const _0x3b4aa5=a46_0x78f250,_0x213685={'zTRhW':function(_0x187607,_0x5c6d39){return _0x187607===_0x5c6d39;},'XuTMX':function(_0x8aefe8,_0x389bf9){return _0x8aefe8!==_0x389bf9;},'TXZhu':_0x3b4aa5(0x217),'gMqiV':_0x3b4aa5(0x228),'dgrdt':function(_0x2ba368,_0x513406){return _0x2ba368(_0x513406);},'cJrmX':_0x3b4aa5(0x1f1),'QPjpQ':_0x3b4aa5(0x209),'svDpz':'json','JVaoS':_0x3b4aa5(0x1e3),'ugTdm':_0x3b4aa5(0x1ff),'dSkGb':_0x3b4aa5(0x22d),'SnmFc':function(_0x185fa7,_0x3fcbb3){return _0x185fa7(_0x3fcbb3);}},_0x4e1e84={},_0x1857ba=new Worker(require['resolve'](_0x213685[_0x3b4aa5(0x1fb)]),{'exposedMethods':[_0x213685[_0x3b4aa5(0x220)]],'forkOptions':{'serialization':_0x213685[_0x3b4aa5(0x218)],'stdio':_0x213685['JVaoS']},'numWorkers':_0x3804c6,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x18c90d=new Emittery();_0x18c90d['on'](_0x213685[_0x3b4aa5(0x1f0)],_0x2f441f=>{const _0x55dda4=_0x3b4aa5;_0x2f441f[0x0]&&logger[_0x55dda4(0x1e5)](_0x55dda4(0x233)+_0x2f441f[0x1]+'\x20for',_0x2f441f[0x0]);}),_0x18c90d['on'](_0x213685[_0x3b4aa5(0x203)],_0x576846=>{const _0x5e9f1e=_0x3b4aa5;process[_0x5e9f1e(0x1e4)]=0x1;});_0x1857ba[_0x3b4aa5(0x200)]()&&_0x1857ba[_0x3b4aa5(0x200)]()[_0x3b4aa5(0x1e3)](process[_0x3b4aa5(0x214)]);_0x1857ba[_0x3b4aa5(0x1e8)]()&&_0x1857ba[_0x3b4aa5(0x1e8)]()[_0x3b4aa5(0x1e3)](process['stderr']);const _0x35af1b=async()=>{const _0x522d60=_0x3b4aa5,_0x55dcd7={'erdyS':function(_0x450694,_0x3d164d){const _0x28ea8c=a46_0x3c5b;return _0x213685[_0x28ea8c(0x205)](_0x450694,_0x3d164d);},'tdqwy':function(_0x349ced,_0x223395){return _0x213685['XuTMX'](_0x349ced,_0x223395);},'RtiDk':_0x213685[_0x522d60(0x229)]};let _0x243201=0x0;const _0x3a8867=_0x1857ba['_workerPool'][_0x522d60(0x215)](),_0x57524a=()=>{},_0x5196d6=_0x3a8867[_0x522d60(0x239)](async _0x1317ea=>{const _0x53d403=_0x522d60;_0x1317ea['send']([0x2,![]],_0x57524a,_0x57524a,_0x57524a),_0x1317ea[_0x53d403(0x1e1)]['on'](_0x55dcd7[_0x53d403(0x21a)],_0x1fc707=>{const _0x126a70=_0x53d403;_0x55dcd7['erdyS'](_0x243201,0x0)&&_0x55dcd7[_0x126a70(0x216)](_0x1fc707,0x0)&&(_0x243201=_0x1fc707);}),await _0x1317ea[_0x53d403(0x1fd)]();});await Promise['all'](_0x5196d6),process[_0x522d60(0x1e4)]=_0x243201;const {forceExited:_0x2e311e}=await _0x1857ba['end']();_0x2e311e&&console[_0x522d60(0x20b)](_0x213685[_0x522d60(0x22e)]),_0x213685[_0x522d60(0x1dd)](_0x8c4e28,_0x4e1e84);},_0x43e4a3=_0x213685[_0x3b4aa5(0x1fc)](pLimit,_0x3804c6),_0x1ae50e=_0xba4832=>_0x43e4a3(async()=>{const _0x3a353f=_0x3b4aa5;return _0x1857ba[_0x3a353f(0x209)](_0xba4832);});Promise[_0x3b4aa5(0x21d)](_0x45ea96[_0x3b4aa5(0x239)](_0x45dd32=>_0x1ae50e(_0x45dd32)['then'](_0x193387=>_0x18c90d[_0x3b4aa5(0x22c)](_0x3b4aa5(0x1ff),[_0x45dd32[_0x3b4aa5(0x20f)]['platform'],_0x45dd32[_0x3b4aa5(0x20f)][_0x3b4aa5(0x1f8)]]),_0x31454b=>_0x18c90d['emit']('test-file-failure',[_0x45dd32,_0x31454b]))))[_0x3b4aa5(0x1ef)](_0x35af1b,_0x35af1b);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a47_0x131e55=a47_0x3bed;(function(_0x55dd4a,_0x14ce35){const _0xce8f8a=a47_0x3bed,_0xfe8049=_0x55dd4a();while(!![]){try{const _0x4f983a=-parseInt(_0xce8f8a(0x103))/0x1*(parseInt(_0xce8f8a(0xfe))/0x2)+parseInt(_0xce8f8a(0xff))/0x3*(-parseInt(_0xce8f8a(0xfd))/0x4)+parseInt(_0xce8f8a(0xf5))/0x5+-parseInt(_0xce8f8a(0x104))/0x6+-parseInt(_0xce8f8a(0x110))/0x7+parseInt(_0xce8f8a(0x10b))/0x8*(-parseInt(_0xce8f8a(0x108))/0x9)+parseInt(_0xce8f8a(0x111))/0xa;if(_0x4f983a===_0x14ce35)break;else _0xfe8049['push'](_0xfe8049['shift']());}catch(_0x270b0c){_0xfe8049['push'](_0xfe8049['shift']());}}}(a47_0x125f,0x8eb73));const PerformanceEvents=require('../../helpers/performance/constants')[a47_0x131e55(0x107)],PerformanceTester=require(a47_0x131e55(0x10e)),{sleep}=require(a47_0x131e55(0x105));function a47_0x125f(){const _0x1a3cdb=['cucumber-js','end','sEqWy','run','614715jevXeE','../launcher/launcher','fDWuI','runCucumberTest','startMonitoring','fzyWm','formatter','PUVCu','8hMnoyz','4DKxslr','1130223sFtNFs','stopMonitoring','mocha','runTest','414338UEANGf','1421640jmWdMl','../../helpers/test-observability/utils','pNkPF','EVENTS','4090167qZBXdZ','runVanillaTest','configuration','8oSpVuT','vanilla','RainY','../../helpers/performance/performance-tester','SDK_POST_TEST','7699146dareae','38350590tIpsMq'];a47_0x125f=function(){return _0x1a3cdb;};return a47_0x125f();}function a47_0x3bed(_0xe3d93c,_0x34658a){const _0x125ff1=a47_0x125f();return a47_0x3bed=function(_0x3bed52,_0x391909){_0x3bed52=_0x3bed52-0xf2;let _0x3940a3=_0x125ff1[_0x3bed52];return _0x3940a3;},a47_0x3bed(_0xe3d93c,_0x34658a);}exports[a47_0x131e55(0x102)]=async(_0x134a90,_0x229cc9)=>{const _0x3606ea=a47_0x131e55,_0x2dd5b6={'RainY':function(_0x3c96c1,_0x4802ab){return _0x3c96c1(_0x4802ab);},'zdqgm':_0x3606ea(0xf6),'fDWuI':_0x3606ea(0x101)};PerformanceTester[_0x3606ea(0xf9)]();const _0x4f035b=_0x2dd5b6[_0x3606ea(0x10d)](require,_0x2dd5b6['zdqgm']),_0x17dd9d=new _0x4f035b(_0x2dd5b6[_0x3606ea(0xf7)],_0x134a90,_0x229cc9),_0x38c827=await _0x17dd9d['run']();return PerformanceTester[_0x3606ea(0xf2)](PerformanceEvents[_0x3606ea(0x10f)]),await _0x2dd5b6[_0x3606ea(0x10d)](sleep,0x3e8),PerformanceTester[_0x3606ea(0x100)](),_0x38c827;},exports[a47_0x131e55(0xf8)]=async(_0x3d971b,_0x45dbf6,_0x54a3b7,_0x7a12c,_0x18d3b0)=>{const _0x72d09d=a47_0x131e55,_0x1dc6b9={'SjRZb':function(_0x1f9f5b,_0x525a83){return _0x1f9f5b(_0x525a83);},'remmy':'../launcher/launcher','pNkPF':_0x72d09d(0x112)},_0x4834ba={'capability':_0x3d971b,..._0x45dbf6},_0x58304b={};_0x58304b[_0x72d09d(0x10a)]=_0x4834ba,_0x58304b[_0x72d09d(0xfb)]=_0x18d3b0;const _0x4cf432=_0x58304b,_0x31e06b=_0x1dc6b9['SjRZb'](require,_0x1dc6b9['remmy']),_0x1c7e11=new _0x31e06b(_0x1dc6b9[_0x72d09d(0x106)],_0x4cf432,_0x54a3b7,_0x7a12c);return await _0x1c7e11[_0x72d09d(0xf4)]();},exports[a47_0x131e55(0x109)]=async _0x249805=>{const _0x56561a=a47_0x131e55,_0x3c9bd4={'PUVCu':function(_0x1ae8d9,_0x551385){return _0x1ae8d9(_0x551385);},'sEqWy':_0x56561a(0xf6),'fzyWm':_0x56561a(0x10c)},_0x3f9b42=_0x3c9bd4[_0x56561a(0xfc)](require,_0x3c9bd4[_0x56561a(0xf3)]),_0x450093=new _0x3f9b42(_0x3c9bd4[_0x56561a(0xfa)],_0x249805);return await _0x450093[_0x56561a(0xf4)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a48_0x553c19=a48_0x42a6;(function(_0x56bf25,_0x172b9d){const _0x5dc571=a48_0x42a6,_0x566308=_0x56bf25();while(!![]){try{const _0x354c18=parseInt(_0x5dc571(0xfa))/0x1+parseInt(_0x5dc571(0xff))/0x2+-parseInt(_0x5dc571(0x108))/0x3+-parseInt(_0x5dc571(0x100))/0x4*(parseInt(_0x5dc571(0xfe))/0x5)+parseInt(_0x5dc571(0x107))/0x6*(parseInt(_0x5dc571(0xfd))/0x7)+parseInt(_0x5dc571(0xfc))/0x8*(parseInt(_0x5dc571(0x104))/0x9)+-parseInt(_0x5dc571(0x106))/0xa;if(_0x354c18===_0x172b9d)break;else _0x566308['push'](_0x566308['shift']());}catch(_0x1d7c5b){_0x566308['push'](_0x566308['shift']());}}}(a48_0x54c4,0x85ae8));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');function a48_0x54c4(){const _0x41b6e1=['ZQWhK','vanillaWorker','cucumberWorker','21285ANCiYo','kjIyZ','23284260FqHoQP','23514dzgSYl','1862247ycxHYd','959396rKzlpf','Zvxiy','3704DhZEFs','1799kYIYgp','3095EcZFTS','1447230jftpVh','1864tEotUr'];a48_0x54c4=function(){return _0x41b6e1;};return a48_0x54c4();}function a48_0x42a6(_0x44d3ce,_0x158254){const _0x54c4e5=a48_0x54c4();return a48_0x42a6=function(_0x42a613,_0x4b1b53){_0x42a613=_0x42a613-0xfa;let _0x16808c=_0x54c4e5[_0x42a613];return _0x16808c;},a48_0x42a6(_0x44d3ce,_0x158254);}exports['worker']=async(_0x229a11,_0x19fcf6)=>{const _0x165861=a48_0x42a6,_0x3861ac={'Zvxiy':function(_0x305137,_0x28c27d,_0x361d5d){return _0x305137(_0x28c27d,_0x361d5d);}};return await _0x3861ac[_0x165861(0xfb)](runTest,_0x229a11,_0x19fcf6);},exports[a48_0x553c19(0x103)]=async(_0x1d0aed,_0x2fa528,_0x12a0e1,_0x366421,_0x383930)=>{const _0x13092d=a48_0x553c19,_0x5c0575={'kjIyZ':function(_0x1d848b,_0x9f828b,_0x553309,_0x147567,_0x513f5a,_0x1fd647){return _0x1d848b(_0x9f828b,_0x553309,_0x147567,_0x513f5a,_0x1fd647);}};return await _0x5c0575[_0x13092d(0x105)](runCucumberTest,_0x1d0aed,_0x2fa528,_0x12a0e1,_0x366421,_0x383930);},exports[a48_0x553c19(0x102)]=async _0x287732=>{const _0x53789e=a48_0x553c19,_0x1fcd33={'ZQWhK':function(_0x4f67be,_0x4ecfcd){return _0x4f67be(_0x4ecfcd);}};return await _0x1fcd33[_0x53789e(0x101)](runVanillaTest,_0x287732);};
|